]> arthur.barton.de Git - netatalk.git/commitdiff
Merge remote-tracking branch 'origin/branch-netatalk-3-0' into develop
authorRalph Boehme <sloowfranklin@gmail.com>
Sun, 15 Sep 2013 15:21:23 +0000 (17:21 +0200)
committerRalph Boehme <sloowfranklin@gmail.com>
Sun, 15 Sep 2013 15:21:23 +0000 (17:21 +0200)
Conflicts:
NEWS
VERSION
doc/manpages/man5/afp.conf.5.xml
doc/www/ReleaseNotes
libatalk/util/netatalk_conf.c
macros/summary.m4
man/man5/afp.conf.5.in

12 files changed:
1  2 
NEWS
bin/ad/ad_util.c
configure.ac
doc/manpages/man5/afp.conf.5.xml
doc/www/ReleaseNotes
etc/afpd/file.c
include/atalk/globals.h
include/atalk/volume.h
libatalk/util/netatalk_conf.c
macros/netatalk.m4
macros/summary.m4
man/man5/afp.conf.5.in

diff --cc NEWS
index 5ab6e8a9a3df4690a9191bb1171ca50878a728ad,b932367d9bf190362ac0fa071279e4896b4a895b..9fe7aef13eb8258ddd227bedbfcda515fb94f499
--- 1/NEWS
--- 2/NEWS
+++ b/NEWS
@@@ -1,14 -1,11 +1,22 @@@
 +Changes in 3.1.0
 +================
 +* NEW: AFP Spotlight support with Gnome Tracker
 +* NEW: New option "spotlight" (G/V)
 +* NEW: Configure option --with-tracker-pkgconfig-version
 +* NEW: Configure option --with-tracker-prefix
 +* NEW: If Spotlight is enabled, launch our own dbus instance
 +* NEW: New option "dbus daemon" (G)
 +* UPD: Add configure option --with-afpstats for overriding the
 +       result of autodetecting dbus-glib presence
 +
+ Changes in 3.0.6
+ ================
+ * FIX: charset conversion failed when copying from Mac OS 9. Bug #523.
+ * UPD: Don't force S_ISGID for directories on FreeBSD. Bug #525.
+ * NEW: Add support for ZFS ACLs on FreeBSD with libsunacl. From FR#83.
+ * FIX: Active Directory LDAP queries for ACL support with new options
+        "ldap user filter" and "ldap group filter". Bug #526.
  Changes in 3.0.5
  ================
  * FIX: Fix a crash when using pam_winbind. Fixes bug #516.
Simple merge
diff --cc configure.ac
Simple merge
index f346e37165173ced446896b41b19de932363a46d,e17dcc474f1641e5bf4eeb44e4c322dfef7c0c92..4b1b14d6fab43cd9b191b1fd3caebc233809664f
            </listitem>
          </varlistentry>
  
 +        <varlistentry>
 +          <term>spotlight =
 +          <replaceable>BOOLEAN</replaceable> (default:
 +          <emphasis>no</emphasis>) <type>(G)/(V)</type></term>
 +
 +          <listitem>
 +            <para>Whether to enable Spotlight searches. Note: once the global
 +            option is enabled, any volume that is not enabled won't be
 +            searchable at all.</para>
 +          </listitem>
 +        </varlistentry>
 +
+         <varlistentry>
+           <term>veto message = <replaceable>BOOLEAN</replaceable> (default:
+           <emphasis>no</emphasis>) <type>(G)</type></term>
+           <listitem>
+             <para>Send optional AFP messages for vetoed files. Then whenever a
+             client tries to access any file or directory with a vetoed name,
+             it will be sent an AFP message indicating the name and the
+             directory.</para>
+           </listitem>
+         </varlistentry>
          <varlistentry>
            <term>vol dbpath = <replaceable>path</replaceable>
            <type>(G)</type></term>
index 07674bf8a8e4bc917f335e04d0c44370c3266280,850be9eadea0428c7814604bdb43439644b86efa..49e9b8c76aaf385e0f76a56c330b1ecab1b5dcda
@@@ -41,25 -41,26 +41,43 @@@ Netatalk is a Free/Open Source Softwar
  the GNU General Public License (GPLv2).  The full license text is available
  at:
  
 -  http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
 +http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
 +
 +Changes in 3.1-beta1
 +~~~~~~~~~~~~~~~~~~~~
 +* REM: Remove support for Tracker versions < 0.7
 +* UPD: Add support for additional Spotlight RPC calls
 +
 +Changes in 3.1-alpha1
 +~~~~~~~~~~~~~~~~~~~~~
 +* NEW: AFP Spotlight support with Gnome Tracker
 +* NEW: New option "spotlight" (G/V)
 +* NEW: Configure option --with-tracker-pkgconfig-version
 +* NEW: Configure option --with-tracker-prefix
 +* NEW: If Spotlight is enabled, launch our own dbus instance
 +* NEW: New option "dbus daemon" (G)
 +* UPD: Add configure option --with-afpstats for overriding the
 +       result of autodetecting dbus-glib presence
 +
  
+ Changes in 3.0.5
+ ~~~~~~~~~~~~~~~~
+ * FIX: Fix a crash when using pam_winbind. Fixes bug #516.
+ * NEW: New global/volume option "ignored attributes"
+ * FIX: "afp listen" option failed to take IPv6 addresses. Bug #515.
+ * FIX: Fix a possible crash in set_groups. Bug #518.
+ * NEW: Send optional AFP messages for vetoed files, new option
+        "veto messages" can be used to enable sending messages.
+        Then whenever a client tries to access any file or directory
+        with a vetoed name, it will be sent an AFP message indicating
+        the name and the directory. From FR #81.
+ * NEW: New boolean volume option "delete veto files". If this option is
+        set to yes, then Netatalk will attempt to recursively delete any
+        vetoed files and directories. FR #82.
+ * UPD: systemd unit dir is /usr/lib/systemd/system .
+ * FIX: Saving files from application like MS Word may result in the file
+        loosing metadata like the Finder label. Bug #521.
  Changes in 3.0.4
  ~~~~~~~~~~~~~~~~
  * FIX: Opening files without metadata EA may result in an invalid
diff --cc etc/afpd/file.c
Simple merge
Simple merge
Simple merge
index e1dec578911292b6afd588ab02651d1392c85700,4860cd8240d7dbeada16c7dcf9dac45f92cd32cb..d6fb4a17c03a8a681e3644a558bc8b687cd18dac
@@@ -772,10 -772,8 +772,12 @@@ static struct vol *creatvol(AFPObj *obj
          volume->v_flags |= AFPVOL_NOV2TOEACONV;
      if (getoption_bool(obj->iniconfig, section, "follow symlinks", preset, 0))
          volume->v_flags |= AFPVOL_FOLLOWSYM;
 +    if (getoption_bool(obj->iniconfig, section, "spotlight", preset, obj->options.flags & OPTION_SPOTLIGHT_VOL)) {
 +        volume->v_flags |= AFPVOL_SPOTLIGHT;
 +        obj->options.flags |= OPTION_SPOTLIGHT;
 +    }
+     if (getoption_bool(obj->iniconfig, section, "delete veto files", preset, 0))
+         volume->v_flags |= AFPVOL_DELVETO;
  
      if (getoption_bool(obj->iniconfig, section, "preexec close", preset, 0))
          volume->v_preexec_close = 1;
@@@ -1763,8 -1758,8 +1765,10 @@@ int afp_config_parse(AFPObj *AFPObj, ch
          options->flags |= OPTION_DBUS_AFPSTATS;
      if (atalk_iniparser_getboolean(config, INISEC_GLOBAL, "afp read locks", 0))
          options->flags |= OPTION_AFP_READ_LOCK;
 +    if (atalk_iniparser_getboolean(config, INISEC_GLOBAL, "spotlight", 0))
 +        options->flags |= OPTION_SPOTLIGHT_VOL;
+     if (atalk_iniparser_getboolean(config, INISEC_GLOBAL, "veto message", 0))
+         options->flags |= OPTION_VETOMSG;
      if (!atalk_iniparser_getboolean(config, INISEC_GLOBAL, "save password", 1))
          options->passwdbits |= PASSWD_NOSAVE;
      if (atalk_iniparser_getboolean(config, INISEC_GLOBAL, "set password", 0))
Simple merge
index e64debfd19cc631e5f265a36eda38ec6250c7948,0f8193fbf109f7a3782ea29b614e496edd3c6eb7..e72fb6a2310f32ba75c9ba9e53513339042b1a32
@@@ -11,8 -11,7 +11,8 @@@ AC_DEFUN([AC_NETATALK_CONFIG_SUMMARY], 
        fi
        AC_MSG_RESULT([    AFP:])
        AC_MSG_RESULT([         Extended Attributes: $neta_cv_eas])
-       AC_MSG_RESULT([         ACL support: $with_acl_support])
+       AC_MSG_RESULT([         ACL support: $ac_cv_have_acls])
 +      AC_MSG_RESULT([         Spotlight: $ac_cv_have_tracker])
        AC_MSG_RESULT([    CNID:])
        AC_MSG_RESULT([         backends: $compiled_backends])
        AC_MSG_RESULT([    UAMS:])
index f8ade925c8ac010a387258399c5ebbcb61914f57,9389328676df6d91d353f2a30d065bad8f7b98d7..b6d250c5a6d8b98430d0ea47ed42dc31e201c95c
@@@ -595,11 -595,13 +595,18 @@@ solaris share reservations = \fIBOOLEAN
  Use share reservations on Solaris\&. Solaris CIFS server uses this too, so this makes a lock coherent multi protocol server\&.
  .RE
  .PP
 +spotlight = \fIBOOLEAN\fR (default: \fIno\fR) \fB(G)/(V)\fR
 +.RS 4
 +Whether to enable Spotlight searches\&. Note: once the global option is enabled, any volume that is not enabled won\*(Aqt be searchable at all\&.
 +.RE
 +.PP
+ veto message = \fIBOOLEAN\fR (default: \fIno\fR) \fB(G)\fR
+ .RS 4
+ Use section
+ \fBname\fR
+ as option preset for all volumes (when set in the [Global] section) or for one volume (when set in that volume\*(Aqs section)\&.
+ .RE
+ .PP
  vol dbpath = \fIpath\fR \fB(G)\fR
  .RS 4
  Sets the database information to be stored in path\&. You have to specify a writable location, even if the volume is read only\&. The default is