Netatalk 3.1.11 SRPM for Fedora and CentOS
(→Samba) |
(→Samba) |
||
Line 322: | Line 322: | ||
Use "<tt>hide files</tt>", not "<tt>veto files</tt>". | Use "<tt>hide files</tt>", not "<tt>veto files</tt>". | ||
− | If you use Fedora 24, | + | If you use Fedora 24, EL6 or EL7, don't use "<tt>fruit:locking = netatalk</tt>" because it has [https://lists.samba.org/archive/samba/2015-December/196828.html a bug]. This bug is fixed on Fedora 25 and later (Samba 4.5.8). |
<tt>[My Time Machine Volume]</tt> is commented out because Time Machine feature can not be used via SMB. | <tt>[My Time Machine Volume]</tt> is commented out because Time Machine feature can not be used via SMB. |
Revision as of 13:16, 6 April 2017
Contents |
Overview
See koji site and git repositories site. Official netatalk package retired because there were no longer packagers.
This page introduces a SRPM of netatalk.
This SRPM is tested on:
- Fedora 27 x86_64 (rawhide 2017/03/15)
- Fedora 26 Server x86_64 alpha
- Fedora 25 Server x86_64
- Fedora 24 Server x86_64
- CentOS 7 x86_64
- CentOS 6 i686
SRPM
Download netatalk-3.1.11-0.1.1.fc27.src.rpm
Build
At least, "rpm-build", "gcc" and "make" packages are needed. In case of Fedora, use "dnf" command. In case of CentOS, use "yum" command.
# dnf install rpm-build gcc makeor
# yum install rpm-build gcc make
Install the SRPM.
$ rpm -ivh netatalk-X.X.X-XXX.XXX.src.rpm
The following messages don't have a problem.
warning: group hat does not exist - using root warning: user hat does not exist - using root
Build by using "rpmbuild" command.
If "error: Failed build dependencies: zzz" is displayed, execute "dnf install zzz" or "yum install zzz".
$ cd ~/rpmbuild/SPECS/ $ rpmbuild -bb netatalk.spec
Install
The RPM package is generated into "~/rpmbuild/RPMS/XXX/" directory already.
$ cd ~/rpmbuild/RPMS/XXX/
Install by using "dnf install'" or "yum install'" command.
# dnf install netatalk-X.X.X-XXX.XXX.XXX.rpm
or
# yum install netatalk-X.X.X-XXX.XXX.XXX.rpm
Check
Check features and paths, using "netatalk -V" and "afpd -V".
$ /usr/sbin/netatalk -V netatalk 3.1.11 - Netatalk AFP server service controller daemon This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. Please see the file COPYING for further information and details. netatalk has been compiled with support for these features: Zeroconf support: Avahi Spotlight support: Yes afpd: /usr/sbin/afpd cnid_metad: /usr/sbin/cnid_metad tracker manager: /usr/bin/tracker daemon dbus-daemon: /usr/bin/dbus-daemon afp.conf: /etc/netatalk//afp.conf dbus-session.conf: /etc/netatalk//dbus-session.conf netatalk lock file: /var/lock/netatalk
$ /usr/sbin/afpd -V afpd 3.1.11 - Apple Filing Protocol (AFP) daemon of Netatalk This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. Please see the file COPYING for further information and details. afpd has been compiled with support for these features: AFP versions: 2.2 3.0 3.1 3.2 3.3 3.4 CNID backends: dbd last tdb mysql Zeroconf support: Avahi TCP wrappers support: Yes Quota support: Yes Admin group support: Yes Valid shell checks: Yes cracklib support: Yes EA support: ad | sys ACL support: Yes LDAP support: Yes D-Bus support: Yes Spotlight support: Yes DTrace probes: Yes afp.conf: /etc/netatalk//afp.conf extmap.conf: /etc/netatalk//extmap.conf state directory: /var/lib/netatalk/ afp_signature.conf: /var/lib/netatalk/afp_signature.conf afp_voluuid.conf: /var/lib/netatalk/afp_voluuid.conf UAM search path: /usr/lib64/netatalk// Server messages path: /var/lib/netatalk/msg/
In case of EL6, Spotlight is not supported.
Setting Up
Edit "/etc/netatalk/afp.conf".
Ex:
[Global] [Homes] basedir regex = /home [Test Volume] path = /export/test1 [My Time Machine Volume] path = /export/timemachine time machine = yes
If you use ext2, ext3 or ext4, it's recommended to enable extended attributes of filesystem. You can check it by "getfattr" and "setfattr" commands.
If you use ACL, you shoud check it by "getfacl" and "setfacl" commands.
If these are disabled on ext2, ext3 or ext4, use "tune2fs" command or edit "/etc/fstab" file.
Ex:
/dev/sdc2 /mountpoint ext4 defaults,user_xattr,acl 0 2
You should check firewall. AFP's port number is 548. Zeroconf's port number is 5353.
You also should check SELinux. SELinux may interfere with operation of D-Bus.
Enabling and Starting
You must run Avahi ahead of Netatalk.
Fedora and EL7
# systemctl enable avahi-daemon # systemctl enable netatalk # systemctl start avahi-daemon # systemctl start netatalk
EL6
# chkconfig avahi-daemon on # chkconfig netatalk on # service avahi-daemon start # service netatalk start
Spotlight Feature
The Spotlight Feature can be used for Fedora and EL7. It can not be used for EL6 because there is no Tracker package.
If you use Spotlight feature, read Spotlight section in Netatalk Manual.
Set "spotlight = yes".
Set "spotlight = no" for Time Machine's volume. The mining for sparsebundle is wasteful.
Ex:
[Global] spotlight = yes [Homes] basedir regex = /home [Test Volume] path = /export/test1 [My Time Machine Volume] path = /export/timemachine time machine = yes spotlight = no
There is a bug.
- Bug#543 Spotlight cannot search in user homes
- Spotlight: searching in user homes, bug #543 by hat001 · Pull Request #7 · Netatalk/Netatalk
Interoperation with Samba
Recent Netatalk and Samba can store metadata in the compatible format.
Using this way, the following access becomes possible.
- from Mac to Netatalk
- from Mac to Samba
- from Windows to Samba
This feature can be used for Fedora and EL7. It can not be used for EL6 because Samba of EL6 does not include vfs_fruit module.
Netatalk
Using "vol preset" option, the same configuration is set for all volumes.
Using "ea = samba", Extended Attributes become compatible with Samba.
Edit "/etc/netatalk/afp.conf".
Ex:
[Global] vol preset = my default values [my default values] ea = samba [Homes] basedir regex = /home [Test Volume] path = /export/test1 [My Time Machine Volume] path = /export/timemachine time machine = yes
Samba
Setting various options in [global], the same configuration is set for all shares.
Three vfs objects (catia, fruit and streams_xattr) provide enhanced compatibility with Apple SMB clients and interoperability with a Netatalk.
Using "hide files", the invisible files created via Netatalk are hidden from Windows. Use "hide files", not "veto files".
If you use Fedora 24, EL6 or EL7, don't use "fruit:locking = netatalk" because it has a bug. This bug is fixed on Fedora 25 and later (Samba 4.5.8).
[My Time Machine Volume] is commented out because Time Machine feature can not be used via SMB.
Edit "/etc/samba/smb.conf".
Ex:
[global] foo = bar baz = qux ea support = Yes vfs objects = catia fruit streams_xattr fruit:locking = netatalk fruit:encoding = native streams_xattr:prefix = user. streams_xattr:store_stream_type = no hide files = /.DS_Store/Network Trash Folder/TheFindByContentFolder/TheVolumeSettingsFolder/Temporary Items/.TemporaryItems/.VolumeIcon.icns/Icon?/.FBCIndex/.FBCLockFolder/ read only = No [homes] [Test Volume] path = /export/test1 ;[My Time Machine Volume] ; path = /export/timemachine
Changelog
2017.04.06
- tested on Fedora 26 Server x86_64 alpha
2017.03.15 (5:3.1.11-0.1.1)
- Upstream update to 3.1.11
2017.03.10 (5:3.1.10-0.1.4)
2017.01.02 (5:3.1.10-0.1.2)
- fix multilib conflict of tracker-devel (BUG#637)
2016.11.23
- tested on Fedora 25 Server x86_64
2016.11.08
- add "Interoperation with Samba"
2016.09.12 (5:3.1.10-0.1.1)
- Upstream update to 3.1.10
2016.09.02
- tested on Fedora 25 alpha Server x86_64 and Fedora 26 (rawhide)
2016.07.27 (5:3.1.9-0.1.2)
- Two manpages weren't updated.
2016.07.20 (5:3.1.9-0.1.1)
- Upstream update to 3.1.9
2016.06.23
- tested on Fedora 24 Server x86_64
2016.04.30 (5:3.1.8-0.1.5)
- use "tracker daemon" command instead of "tracker-control" command if Gnome Tracker is the recent version.
2015.12.30 (5:3.1.8-0.1.4)
- listening on IPv6 wildcard address may fail if IPv6 is disabled (BUG#606)
2015.12.29 (5:3.1.8-0.1.2)
- Update to 3.1.8
2015.11.07
- tested on Fedora 23 Server x86_64
2015.08.05 (5:3.1.7-1.2)
- move *.conf to /var/lib/netatalk, not /var/netatalk (RHBZ#1246547)
2015.08.04 (5:3.1.7-1.1)
- based on netatalk-3.1.7-1.fc24
- pam_ck_connector.so isn't always installed (RHBZ#1246465)
- move afp_signature.conf and afp_voluuid.conf to /var/netatalk (RHBZ#1246547)
- require dconf package (RHBZ#1248157)
- define with_ldap (RHBZ#1249403)
- The UAM path should be netatalk, not atalk (RHBZ#1249404)
- If el, use "make %%{?_smp_mflags}", not "%%make_build" macro
- If el6, disable tracker
- If el6, use db4-devel, not libdb-devel
- If el6, use bundled libevent2, not libevent1 package
- If el6, use procps, not procps-nt
2015.05.27
- tested on Fedora 22 Server x86_64
2015.04.22
- tested on Fedora 22-Beta Server x86_64
2014.12.02 (4:3.1.7-0.1)
- upstream: netatalk-3.1.7
2014.10.30 (4:3.1.6-0.0.4)
- netatalk-3.1.6-0.0.4.fc21.src.rpm is tested on Fedora 21 Alpha
2014.08.27 (4:3.1.6-0.0.1)
- upstream: netatalk-3.1.6
2014.08.12 (4:3.1.5-0.0.1)
- upstream: netatalk-3.1.5
2014.08.07 (4:3.1.4-0.0.1)
- upstream: netatalk-3.1.4
2014.07.08
- netatalk-3.1.3-0.0.1.fc20.src.rpm is tested on CentOS 7
2014.07.03 (4:3.1.3-0.0.1)
- upstream: netatalk-3.1.3
2014.06.04 (4:3.1.2-0.0.1)
- upstream: netatalk-3.1.2
2014.05.07
- netatalk-3.1.1-0.0.7.fc20.src.rpm is tested on Red Hat Enterprise Linux 7 RC Desktop
2014.04.23 (4:3.1.1-0.0.7)
- Improve reliability of afpd child handler
- add pwent->pw_dir to logmessage. inspired by Bug #557
- Remove tracker miner code. Bug #558 (fc only)
- Only run dbus-daemon if Spotlight is enabled, bug #556 (fc only)
2014.04.04 (4:3.1.1-0.0.6)
- workaround for Bug #558 - tracker_miner_manager_new_full() does not finish (Fedora only)
2014.04.02 (4:3.1.1-0.0.5)
- Spotlight: file modification date, bug #545 (Fedora only)
- workaround for Bug #543 - Spotlight cannot search in user homes (Fedora only)
2014.03.23 (4:3.1.1-0.0.4)
- workaround for Bug #545 - Modify Date Change by opening Document (Fedora only)
2014.03.23 (4:3.1.1-0.0.3)
- Option "vol dbpath" was broken in 3.1.1
- Fix typo and remove unused variables
- Add missing parenthesis
2014.03.18 (4:3.1.1-0.0.2)
- enable mysql CNID backend
2014.03.13 (4:3.1.1-0.0.1)
- upstream: netatalk-3.1.1
- update netatalk.pam-system-auth. pam_ck_connector.so is not indispensable. (Fedora only)
2014.01.11 (4:3.1.0-0.0.1)
- upstream: netatalk-3.1.0
2013.12.27 (4:3.0.6-0.0.2)
- add netatalk-3.0.6-avahi-workaround.patch (Fedora)
2013.12.17
- rebuild on Fedora 20
2013.10.26 (4:3.0.6-0.0.1)
- upstream: netatalk-3.0.6
2013.08.29 (4:3.0.5-0.0.2)
- FIX: charset conversion failed when copying from Mac OS 9. Bug #523.
2013.08.14 (4:3.0.5-0.0.1)
- upstream: netatalk-3.0.5
2013.07.02
- rebuild on Fedora 19
2013.05.26 (4:3.0.4-0.0.3)
- upstream: netatalk-3.0.4
2013.03.26 (4:3.0.3-0.0.7)
- upstream: netatalk-3.0.3
2013.03.01 (4:3.0.2-0.0.3)
- upstream: netatalk-3.0.2 (EL)
2013.02.28 (4:3.0.2-0.0.3)
- remove useless flags (Fedora)
2013.02.27 (4:3.0.2-0.0.2)
- krbV-uam was missing (Fedora)
2013.01.22 (4:3.0.2-0.0.1)
- upstream: netatalk-3.0.2 (Fedora)
2013.01.15
- rebuild stable 2.2.4-0.0.1 on Fedora 18
- unstable package and spec file for netatalk 3.0.1
2012.10.19 (4:2.2.4-0.0.1)
- upstream: netatalk-2.2.4
2012.07.30
- Fedora 18 package is released at koji site
2012.07.19 (4:2.2.3-2.3)
- Based on official netatalk-2.2.2-3.fc17 (Fedora Only)
2012.07.02 (4:2.2.3-2.2)
- Bug #835714 (Fedora Only)
2012.06.05
- Fedora 18 package is released at koji site
2012.05.23 (4:2.2.3)
- upstream: netatalk-2.2.3
2012.01.16 (4:2.2.2)
- upstream: netatalk-2.2.2
- CentOS/Scientific package 2.2.2-0.1.1
- Fedora 17 package is released at koji site
2011.12.02
- Fedora 17 package is released at koji site
2011.09.07 (4:2.2.1-0.1.5)
- upstream: netatalk-2.2.1
2011.08.24 (4:2.2.1-0.1.4.git)
- git (Tue, 23 Aug 2011 12:38:38 +0000)
2011.08.03 (4:2.2.1-0.1.3.git)
- git (Tue, 2 Aug 2011 08:29:08 +0000)
2011.07.30 (4:2.2.1-0.1.2.git)
- git (Fri, 29 Jul 2011 13:25:30 +0000)
2011.07.28 (4:2.2.1-0.1.1.git)
- git (Wed, 27 Jul 2011 15:08:29 +0000)
2011.07.20 (4:2.2-0.1.2.git)
- git (Wed, 20 Jul 2011 13:50:15 +0000)
2011.07.12 (4:2.2-0.1.1.git)
- latest git (Sat, 18 Jun 2011 10:42:53 +0000)
2010.05.15
- FREEZE. Official 2.1 package is released.
2010.04.27 (4:2.1-0.1.82)
- upstream: netatalk-2.1
(4:2.1.0-0.1.81.CVS_HEAD)
- CVS (Mon Apr 26 UTC 2010)
- Adjust cachedump LOG message
- Add DEBUG macro protected cache debugging to UUID cache
- Those damn linked lists: fix cache expiration bug. Also fixed: LDAP connection retry.
- s/CVS/git/g
- Set version to 2.1
(4:2.1.0-0.1.80.CVS_HEAD)
- CVS (Thu Apr 22 14:49:05 UTC 2010)
- usage of dbd cleanup option -c
- Fix LDAP search scope and timeout behaviour
- LDAP reconnect fixes
- manpages of AppleVolumes.default, AppleVolumes.system, AppleVolumes and afpd
(4:2.1.0-0.1.79.CVS_HEAD)
- CVS (Sun Apr 18 11:12:48 UTC 2010)
- Check for volume specific CNID config before LOGging it
- Overwriting EAs with ea ad module did not work
- Help in CVS to git transition, add .gitignore to .cvsignore
(4:2.1.0-0.1.78.CVS_HEAD)
- CVS (Tue Apr 13 08:05:06 UTC 2010)
- New volume option volsizelimit for limitting TM backup size. From Data Robotics
- New cleanup option -c
- Integrate downstream NetBSD patches
- default is DEFAULT, not DEFAULTS
- Deal with pathologic idiosyncrasies, every OS return a different errno for o_nofollow in open
2010.04.09 (4:2.1.0-0.1.77.beta2)
- upstream: netatalk-2.1beta2
(4:2.1.0-0.1.76.CVS_HEAD)
- CVS (Wed Apr 08 17:14:15 UTC 2010)
- Log error if open of EA content file fails
- Rev versions to 2.1beta2, checkin changed manpages
- Set DEFAULTS for volumes upriv and usedots
(4:2.1.0-0.1.75.CVS_HEAD)
- CVS (Sat Apr 03 07:11:36 UTC 2010)
- Prevent security attack guessing valid server accounts
- Allow opening symlinks r/w, but don't actually allow writing. Fixes test426
- clustering support: new per volume option cnidserver
- etc.
(4:2.1.0-0.1.74.CVS_HEAD)
- remove netatalk-random-signature.patch.bz2
- CVS (Mon Mar 29 15:22:57 UTC 2010)
- New AFP signature algorithm, from HAT
(4:2.1.0-0.1.73.CVS_HEAD)
- apply netatalk-random-signature.patch.bz2
(4:2.1.0-0.1.72.CVS_HEAD)
- CVS (Fri Mar 12 15:16:49 UTC 2010)
- Convert afp_moveandrename and all called funcs to XXXat semantics if available
(4:2.1.0-0.1.71.CVS_HEAD)
- CVS (Tue Mar 09 06:55:12 UTC 2010)
- Default type/creator. From HAT
- getforkparms: lstat the symlink not /dev/null
- lock don't call fcntl if fd == 0, it's a symlink
- ad_size: if it's a symlink don't use fstat
- lchdir: use chdir + getcwd
- create_special_folder: cosmetic, replace ad_open with ad_open_metadata
- ad_open: unset O_TRUNC and O_CREAT in adf_flags if the resource fork is already open
- streamline deletefile, open the resource fork only once
- cosmetic: use ad_close_metadata after ad_metadata
- ad_metadata don't try to open adouble file read write if ADFLAGS_CREATE is not set
- acltoownermode: check if UUID support is on
- Initialize AFPobj for AFP over AT too
(4:2.1.0-0.1.70.CVS_HEAD)
- CVS (Fri Feb 19 11:29:52 UTC 2010)
- Make LOG macro fast again
- Fix some uninitialized warnings
- remove a gcc warning: 'static' is not at beginning of declaration
- use the right test for noadouble volumes
- remove a gcc warning: 'suggest parentheses around assignment used as truth value'
- in setfilparam when switching to a symlink use of_stat rathert than lstat, of_stat also set path->errno
- log type_configs data is used by uams modules, define it as UAM_MODULE_EXPORT
- keep the source file open when parsing parameters in afp_copyfile. Really return an error if dest dir is not a dir, AFAIK this parameter is always empty
- OSX return AFPERR_NOOBJ rather than AFPERR_PARAM
- move static variables only used in catsearch inside the function, test for chdir return code, we have to use symlink safe chdir here
- use volume real path for chdir
- Remove v_realpath from struct dir, normalize v_path instead
- Move lchdir() to libatalk/util/unix.c and use that in catsearch.c.
2010.02.15 (4:2.1.0-0.1.69.beta1)
- upstream: netatalk-2.1beta1
(4:2.1.0-0.1.68.CVS_HEAD)
- CVS (Sun Feb 14 11:18:38 UTC 2010)
- TODO2.1: Update
- Last manpage checkin from XML sources before 2.1beta1 release
2010.02.12 (4:2.1.0-0.1.67.CVS_HEAD)
- CVS (Thu Feb 11 16:01:18 UTC 2010)
- Remove volume option debugfile
- SIGINT enables max_debug logging to /tmp/afpd.PID.XXXXXX
- tdb CNID backend must be enabled by default
- Show CNID defaults in configure --help
- Merge symlink branch
- NEWS: Some stuff was missing
2010.02.07 (4:2.1.0-0.1.66.CVS_HEAD)
- CVS (Sat Feb 06 09:53:02 UTC 2010)
- VERSION: 2.1beta1
- Show msg dir in afpd -V
- volume option debugfile
- gcrypt version is a string
2010.01.29 (4:2.1.0-0.1.65.dev)
- CVS (Wed Jan 27 21:27:53 UTC 2010)
- megatron, fix errors introduced in Sun Feb 6 10:16:00 2005 commit, 'replace a wrong test for protecting against buffers underflow by ... a buffer underflow, always' .
2010.01.27 (4:2.1.0-0.1.64.dev)
- CVS (Wed Jan 27 12:36:42 UTC 2010)
- don't send a server notification on volume time modification if AFP > 3.1, client able to speak 3.2 are now smart enough
- return the right error code when deleting afp current directory if it's already been deleted by another afpd process
- Remove mtab CNID backend
- use the right test for file/dir invisible attribute bit modification and parent directory modification date update
- remove a 'discard const ...' warning in papd cups
- use open and fchdir rather than getcwd in catsearch
- etc.
2010.01.24 (4:2.1.0-0.1.63.dev)
- CVS (Sat Jan 23 14:54:43 UTC 2010)
- try to get the directory's cnid from the adouble header when adding it to the cache, from Frank
- afpd set the logger default to log_info and move some log msgs to log_debug
- add/remove comment: test parent directory perms for volumes with unix priv too
- afp_util.c: Missing error codes
- ea_sys.c: Return correct error if EA already exists
- etc.
2010.01.20 (4:2.1.0-0.1.62.dev)
- CVS (Tue Jan 19 14:57:11 UTC 2010)
- Fix for type (file/dir) mismatch in dbd_lookup. Also fixes:
- db_strerror was called several times with the wrong variable
- factorize some functions, thereby also
- hide/encapsulate the problem of relative pathnames for logfiles and in check_upgrade
- etc.
2010.01.18 (4:2.1.0-0.1.61.dev)
- CVS (Mon Jan 18 12:55:28 UTC 2010)
- Remove struct dir.d_uname_len and its dependencies. It is now evaluated in the hash function itself.
- pam-check.m4: Dont install PAM stuff if not requested
- rc.atalk.redhat.tmpl: Output of service atalk status was wrong
- apple_dump: readbility, newer FinderInfo, warn and exit if both .AppleDouble/FILE and ._FILE exist., dump EAs from HAT
- Enumeration didn't write CNID data to adouble file when creating
- etc.
2010.01.07 (4:2.1.0-0.1.60.dev)
- CVS (Wed Jan 06 15:37:01 UTC 2010)
- Substitute ADFLAGS_NOADOUBLE with ADVOL_NOADOUBLE
- ad_open.c: ADVOL_NOADOUBLE check. It prevented creation of .AppleDouble dirs
- directories cache, update d_u_name_len when d_u_name is modified
- Reintroduce adouble file creation on enumeration
- Forgot test for noadbouble vol in ad_metadata in previous commit
- Only update adouble file with CNID on mismatch.
- etc.
2010.01.04 (4:2.1.0-0.1.59.dev)
- CVS (Mon Jan 04 10:04:52 UTC 2010)
- Rename asaddump to apple_dump. Lots of improvements. From HAT
- Remove db3 and hash files. For clarity: these are now still avaialable: "last mtab cdb dbd tdb"
2009.12.25 (4:2.1.0-0.1.58.dev)
- CVS (Thu Dec 24 08:05:40 UTC 2009)
- cmd_dbd_scanvol.c: Distinguish between intra-share and extra-share symlinks
- cmd_dbd.c: Change logging
- cmd_dbd_scanvol.c: Completely ignore symlinks
- volinfo.c: Add all EA opts to volinfo
- cmd_dbd_scanvol.c: Add debug log messages
- ad_attr.c: Remove bogus checks
- ad_attr.c: Check if entries are present before using them
- macusers.in: Support long usernames. From Alain Richard.
- asaddump: dump AppleSingle/Double files. From HAT.
- Checkin all manpages freshly from XML for 2.1beta. Merry christmas!
- etc.
2009.12.21 (4:2.1.0-0.1.57.dev)
- CVS (Mon Dec 21 09:35:55 UTC 2009)
- dbif.c: Logfile removal was not working
- cmd_dbd: Set cachesize for rebuild db
- cmd_dbd: logger: write to fd 1 directly instead of /dev/tty. The latter cant be redirected
- cmd_dbd_scanvol.c: symlink support
- etc.
(4:2.1.0-0.1.56.dev)
- CVS (Sun Dec 20 14:17:23 UTC 2009)
- cmd_dbd.c: Raise bdb cache size to 64 MB
2009.12.19 (4:2.1.0-0.1.55.dev)
- CVS (Fri Dec 18 19:18:40 UTC 2009)
- AppleVolumes.default.tmpl: Some options where listed under options: options wrongly. Missing #. Realign for 80 character terminals. From HAT.
- Removed nu. Use macusers instead
- Fix EA support detection. New ea option values none and auto
2009.12.17 (4:2.1.0-0.1.54.dev)
- CVS (Thu Dec 17 09:25:40 UTC 2009)
- srvloc.m4: Update slp macro, default is disabled now
- db3-check.m4:Fix searching for lib on 64bit platforms
- uams_dhx2_pam.c: Remove spurious log message
- volume.c: Fix ea:sys check
(4:2.1.0-0.1.53.dev)
- CVS (Sun Dec 13 03:19:05 UTC 2009)
- atalkd: don't dump core if there's no zone for on a seeded interface
- atalkd: split horizon on router tables, wihout it poisoned routes are never deleted
- atalkd the function as_timer is way to big, use longer lines
- atalkd don't spam syslog if an interface is down, XXX atalkd still advertise routes to it
- AppleVolumes.default.tmpl: update config template with new options - caseinsensitive
- add a draft for 2.1 release note/TODO
(4:2.1.0-0.1.52.dev)
- CVS (Fri Dec 11 13:26:44 UTC 2009)
- atalkd workaround for Linux 2.6 AT kmodule bug
- don't spam the log with 'Invalid cnid, corrupted DB?' msg if cnid functions retun 0 \(CNID_INVALID\)
- Adjust dbd to use the same fixup logic as afpd ie call dbd_lookup with hint
- dbd: Add support for ea:ad volumes
- New default for ea volume option is "sys". Fallback to "ad" if volume doesn't support EAs. Checked at volume mount time.
- etc.
(4:2.1.0-0.1.51.dev)
- CVS (Fri Dec 04 10:26:10 UTC 2009)
- cmd_dbd: New option -n for scanning with -s: dont open CNID database, only scan filesystem.
- cmd_dbd: Usage summary specified the -u option wrong
- cmd_dbd: Usage description with -f was outdated
- cmd_dbd: Error message when volinfo file is not found
- Implement VFS chaining, EA VFS rm/mv
- EA VFS: FPCopyFile support
- VFS EA: chown
- use pselect and a better timeout in cnid_dbd
- cnid_metad don't drop the slot if it's outside the respawn window, reuse it
- use pselect and no timeout in cnid_metad
- use min(512, number of FD in a select set) for per/db default number of connections
- do some sanity checks on dbd params read from config file
- cnid dbd don't fall back to 1 sec timeout after an idle timer if active connections
- DESTDIR was expanded twice. Thanks to HAT and Jonas Smedegaard.
- Install initscript into DESTDIR, no sysconfdir
- Include NetBSD downstream patches. From HAT.
- more descriptive name fors LOG macro parameters and missing void in log_close function declaration
- logger use the same order for parameters in static functions than in public ones
- afpd dbd, don't use select but setsockopt timeout
- dsi, when reading functions' packet try to do it with one read call rather than two
- check the return value of nprintf functions
- logger, test return code for seteuid
- Dont duplicate CFLAGS in AM_CFLAGS. Inspired by Jonas Smedegaard.
- logger, if filename is empty use syslog, make cnid_metad syslog work again
- EA VFS: chmod for files and directorires
- Default and empty FinderInfo for dirs are not all 0 like files are
- afp_dsi.c: don't reset timer each time afpd get a request
- ad_lock.c: ad_lock rename user --> fork, this code is confusing enough
- ad_lock.c: lock use F_GETLK for testing lock
- factorize lock test (fewer fcntl calls)
- Convert EA names from UTF8-MAC to volcharset with CONV_ESCAPEHEX
- dsi: remove the need for blocking SIGALRM (still need to deal with attention volumes changed)
- dsi: remove SIGHUP from the list of blocked signals when writing to the client
- dsi: remove SIGUSR2 (message) from the list of blocked signals when writing to the client, move readmessage outside the signal handler and exit if it can't seteuid back to the suser
- Private Webmin installation with our netatalk.wbm module
- ad_open mask out O_EXCL with O_CREAT
- afp_delete don't call deletefile if we already know that there's no file from cname()
- on linux put sendfile back
- use off_t rather than size_t for read/write_count, doesn't overflow at 4GB, yes moving more than 4GB of data over asp is a bad idea
- IPv6 support for afpd and cnid_metad
- add native xattr, from Samba code
- New util netacnv for testing libunicode
- Use way faster hashing algorithm for dirs
- Rename ldap.conf stuff to afp_ldap.conf. Kudos to HAT.
- Return the right AFP version info. From HAT.
- Return sane AFP version info in apf -V. From HAT.
- Deactivate CNID backends db3 and last. Conditionally compile backends. Default backend: dbd.
- Install better PAM config file
- Dont activate RH/FC initscript by default, only install it. From HAT.
- disable slp advertising by default, change noslp option to slp
- enable sendfile by default on linux
- Remove apple_cleanup and cnid_maint
- Fix NFSv4 ACL VFS integration
- Fix CNID fixup regression, test235. Disable reading of CNID from adouble file
- New option for logger setup 'console' where we don't write the message details stuff
- guard against confused DB returning junk values
- Wireshark dissector for dbd 'wire protocol', in lua
- in volparam attribute only set bits defined in AFP version used by the client, cf debian bug #442228
- dbd must call ad_setfuid(0) in order to inherit perms correctly
- Write EA mode to volinfo file
- cmd_dbd_scanvol.c: Dont just exit, use longjmp to exit with cleanup
- Return right error for requested but non-existing EA. Thanks to Stephan Budach for reporting this.
- etc.
(4:2.1.0-0.1.50.dev)
- CVS (Fri Oct 02 14:57:57 UTC 2009)
- AFP_LOGINCONT was missing in AFP cmdcode stringizer
- Fix for possible NULL pointer passing to LOG if KRB5_KTNAME is not set in the process environment
- Extended Attributes support via files in .AppleDouble.
- Extended VFS stack, so apps linking libatalk can also actually use adouble and EA code.
- Missing: EA integration into AFP rm, cp, mv.
- etc.
2009.09.25 (4:2.1.0-0.1.49.dev)
- CVS (Mon Sep 21 12:35:05 UTC 2009)
- Fix warnings
- Changing UNIX privs doesn't require adouble access. Fixes #2863424
- etc.
2009.09.12 (4:2.1.0-0.1.48.dev)
- CVS (Fri Sep 11 13:26:05 UTC 2009)
- distrib/initscripts/Makefile.am was using absolute paths which broke make distcheck. Merge from 2-0 (CVS)
- Time Machine support. Merge from branch-2-0 (CVS)
2009.09.05 (4:2.1.0-0.1.47.dev)
- CVS (Fri Sep 04 15:27:21 UTC 2009)
- Support for BerkeleyDB lib updates. BerkeleyDB cursors API requires db >= 4.6. (CVS HEAD only)
- Remove --with-logfile configure option. It was obsolete and broken anyway. (CVS HEAD only)
- Add ad.1 manpage (CVS HEAD only)
- Enable CNID caching/backup in AppleDouble files by default. (CVS HEAD only)
- New voloption nocnidcache disables it. (CVS HEAD only)
- Disable DDP, atalk and papd by default. From HAT (CVS HEAD only)
2009.09.02 (4:2.1.0-0.1.46.dev)
- CVS (Tue Sep 01 14:28:07 UTC 2009)
- Fix access check bug for Netatalk private folders and vetoed folders.
- New utility: ad
2009.08.25 (4:2.1.0-0.1.45.dev)
- check BDB version >= 4.4
- CVS (Tue Aug 25 09:40:24 UTC 2009)
- Fix uniconv -d option. Merge from branch-2-0 (CVS)
2009.07.22 (4:2.1.0-0.1.44.dev)
- CVS (Tue Jul 21 13:41:16 UTC 2009)
- remove trivial warnings (CVS)
2009.07.21 (4:2.1.0-0.1.43.dev)
- CVS (Mon Jul 20 23:23:02 UTC 2009)
- .AppleDxxx folders were user accessible if option 'usedots' was set (CVS)
- remove ads adouble format (CVS)
- cnid_resolve: can't return '..' as a valid name, could be use to escape the volume root folder, unsure if it's really doable (CVS)
2009.07.20 (4:2.1.0-0.1.42.dev)
- CVS (Mon Jul 20 09:06:03 UTC 2009)
- Remove variable expansion for BSD printers. Fixes CVE-2008-5718. (CVS)
2009.07.12 (4:2.1.0-0.1.41.dev)
- CVS (Sun Jul 12 09:21:34 UTC 2009)
- CNID updating logic in case of inode reusage. (CVS)
- etc (CVS)
2009.07.03 (4:2.1.0-0.1.40.dev)
- enable quota
- CVS (Thu Jul 02 17:53:52 UTC 2009)
- Adjust loglevel and message when using default CNID backend. From HAT (CVS)
2009.06.23 (4:2.1.0-0.1.39.dev)
- use bootstrap script to generate configure script
- CVS (Tue Jun 23 10:12:17 UTC 2009)
- The "shared" and "invisible" attributes are opaque and stored and retrieved from the FinderFlags. This fixes Bug #2802236 (CVS)
- Also changed: move all ATTRBIT_XXX defines to adouble.h. (CVS)
- SHIFT_JIS is not needed because current netatalk has already supported MAC_JAPANESE. From HAT. (CVS)
- remove autogen.sh. We're bootstrapping from now on (CVS)
- Fix 0 byte ad-files as reported <ttp://article.gmane.org/gmane.network.netatalk.devel/8818>. (CVS)
- AppleVolumes.system: Comment out all mappings. They're unmaintained, possibly wrong and do not fit for OS X. From HAT. (CVS)
2009.06.09 (4:2.1.0-0.1.38.dev)
- Upgrade for Fedora 11
- remove netatalk-2.1dev-dhx2conf.patch
- rename ldap.conf to afp_ldap.conf according to current netatalk-doc
- CVS (Tue Jun 09 13:18 UTC 2009)
- New utility to maintain dbd databases: dbd. Also replaces cnid_index. (CVS HEAD Only)
- dbd: Fixes a serious error in the way recovery was run on db_env opening. (CVS HEAD Only)
- Overhaul CNID dbd backend, make it default, txn only... See #2724774 (CVS HEAD Only)
- Add cnid_dbd logging option to netatalk.conf and to all startup scripts. Also deactivate atalkd in netatalk.conf (AT will be gone in 10.6 anyway!) (CVS HEAD Only)
- Implement runtime logging config option to cnid dbd backend. See #2721956. (CVS HEAD Only)
- New option: -l <logconfig>. cnid_metad passed that to cnid_dbd ! (CVS HEAD Only)
- Force LOG message for every AFP call at beginning and end if loglevel>=debug (CVS HEAD Only)
- -setuplog can now be called multiple times. (CVS HEAD Only)
- Align cnid_[metad|dbd] default logging with apfd: log_note (CVS HEAD Only)
- logger: Change time format to also output microseconds (CVS HEAD Only)
- Consistently set default UAMs to DHX,DHX2. From HAT. (CVS)
- put volume case insensitive option back (CVS HEAD Only)
- Rename cleanupappledouble to apple_cleanup (CVS HEAD Only)
- etc. (CVS)
2009.03.28 (4:2.1.0-0.1.37.dev)
- remove netatalk-2.1dev-rpmbuild.patch.bz2
- CVS (Sat Mar 28 08:05 UTC 2009)
- Volname mangling. Fixes bug #2611981, from HAT. (CVS HEAD only)
- New volume options allow_hosts/denied hosts. See #2690844. From Tim Nowaczyk (CVS)
- Remove timeout. See bug #2683367 (CVS)
- Removed acleandir, dead end. (CVS HEAD only)
- add new logger doc to afpd.conf.tmpl (CVS HEAD only)
- FPSyncDir VFS indirection. See #2641106 (CVS HEAD only)
- autoconf option --enable-debugging to disable SIGALRM. See #2694606 (CVS HEAD only)
- Fix BDB_CFLAGS path twist (CVS)
- etc. (CVS)
2009.03.11 (4:2.1.0-0.1.36.dev)
- remove netatalk-2.0.3-maxsrv.patch
- rename ldap.conf to afpd_ldap.conf because man page is conflicts with OpenLDAP's
- CVS (Wed Mar 11 13:22 UTC 2009)
- perm options aren't 'options:' paramters (CVS)
- Add FPSyncFork, set command 76 to afp_null, move everything from switch.c to auth.c (CVS HEAD only)
- define a afp_null_nolog function for cmd 76 (spotlight undocumented command) and use define for cmd name in auth.c (CVS HEAD only)
- Reworked logger (CVS HEAD only)
- Initial checkin of ACLs patch (CVS HEAD only)
- Extended Attributes Support on Solaris with ZFS (CVS HEAD only)
- papd better parsing of postscript requests (CVS)
- Don't wait five second after the first error when speaking to the dbd backend, from Tsiyon Sadiky exanet (CVS)
- New bdb check. Uses LD_LIBRARY_PATH for configure time checks and relies on autoconf/libtool for runtime. (CVS)
- increase number of cnid_dbd slots to 512 (CVS)
- etc. (CVS)
2009.02.01 (4:2.1.0-0.1.35.dev)
- CVS (Sun Feb 01 09:32 UTC 2009)
- fix dperm and fperm options, from Frank Lahm (CVS)
- disable papd by default (CVS)
- AppleVolumes add \ line continuation (CVS HEAD only)
- etc. (CVS)
2009.01.30 (4:2.1.0-0.1.34.dev)
- CVS (Fri Jan 30 13:30 UTC 2009)
- etc/papd/lp.c: Expand list of shell metacharacters to escape in variable substitution. Courtesty of Nico Golde. (CVS)
- add dperm and fperm permissions default (CVS)
- etc. (CVS)
2009.01.23 (4:2.1.0-0.1.33.dev)
- CVS (Fri Jan 23 13:01 UTC 2009)
- Allow line continuation using \ in afpd.conf. Courtesy of Frank Lahm. (CVS)
- afp_config.c: test for line continuation only if line length > 1 (CVS)
- remove signed/unsigned gcc warning (CVS)
- remove bogus default ppd _PATH_PAPDPPDFILE, from Olaf Hering (CVS)
- dhx2 logincont packet size, from Frank Lahm (CVS)
- add make-precompose.h.pl (unicode precomposition) script, from HAT (CVS)
- precompose script, exclude U2000-U2FFF and UFE30-UFE4F ranges from the precompose table (CVS)
- replace Xorg precompose.h with the output of make-precompose.h.pl. U2000-U2FFF and UFE30-UFE4F are not in theses tables, remove the test in decompose_w (CVS)
- etc. (CVS)
2009.01.13 (4:2.1.0-0.1.32.dev)
- remove netatalk-2.0.3-db4_5.patch
- CVS (Tue Jan 13 13:49 UTC 2009)
- remove compiler warnings (CVS)
- dhx_pam add openssl err.h include for ERR_xxx functions (CVS)
- proper configure log output if --with-libgcrypt-dir=no (CVS)
- add a missing call to closedir in afp_syncdir, spotted by Stephen J. Butler (CVS)
- afp_resolveid return the same error code as OSX if it's a directory, from HAT (slightly modified) (CVS)
- Add cups.m4 and libgcrypt.m4 to the macro file list, for "make dist" output. (CVS)
- etc. (CVS)
2008.11.30 (4:2.1.0-0.1.31.dev)
- enable quota
- replace netatalk-2.1dev-db4_7.patch with netatalk-2.0.3-db4_5.patch of Fedora 10
- add netatalk-2.1dev-dhx2conf.patch
2008.11.26 (4:2.1.0-0.1.30.dev)
- Upgrade for Fedora 10
- replace netatalk-2.0.3-db4_5.patch with netatalk-2.1dev-db4_7.patch
- CVS (Wed Nov 26 12:54 UTC 2008)
- DHX2, remove some gcc warnings, from Frank Lahm (CVS)
- DHX2, remove last gcc warnings (CVS)
- dhx2 pam, add a missing *rbulen=0, from Frank Lahm (CVS)
2008.11.22 (4:2.1.0-0.1.29.dev)
- netatalk-2.0.3-maxsrv.patch changes MAXSRV from 128 into 512
- CVS (Sat Nov 22 15:58 UTC 2008)
- permission testing tool, from Frank Lahm (CVS)
- cnid_metad, add ioctl.h for TIOCNOTTY (CVS)
- remove case insensitive option (CVS)
- not all man pages are generated, update /etc/man/man[1|8]/.cvsignore, from Frank Lahm (CVS)
- replace remaining %m printf glibc extension with %s strerror(errno) (CVS)
- libgcrypt and DHX2 uam from Frank Lahm (CVS)
2008.08.19 (4:2.1.0-0.1.28.dev)
- CVS (Tue Aug 19 15:23 UTC 2008)
- etc/afpd/ofork.c: compilation error if DEBUG1 is defined, from Frank Lahm (CVS)
- etc/papd/headers.c: ps comments don't always use "(" (CVS)
- etc/papd/lp.c: var use % not $ (CVS)
- etc/papd/lp.c: quote chars in popen variables expansion (CVS)
- macros/tcp-wrappers.m4: sometime tcp-wrappers uses NIS (libnsl) (CVS)
2008.08.07 (4:2.1.0-0.1.27.dev)
- CVS (Thu Aug 07 12:47 UTC 2008)
- remove DB_VERB_CHKPOINT, it's gone. From Adam Goode (CVS)
- papd -d doesn't write to stderr. From Martin Nagy (CVS)
- Fix a problem of chkconfig when uninstalling
- /etc/services is not edited
- without PGP UAM
- server message dir is not set as configure option
- logfile is not set as configure option
- not require tetex-dvips(texlive-dvips) and groff-perl
- Fix: tcp_wrappers was not included
2008.05.23 (4:2.1.0-0.1.26.dev)
- CVS (Fri May 23 17:10 UTC 2008)
- First implementation of AFP3.2 FPSyncDir for timeMachine support, from Bolke de Bruin (CVS HEAD only)
2008.05.16 (4:2.1.0-0.1.25.dev)
- Packager change from Atsushi Okawa to HAT
- Upgrade for Fedora 9
- Update to CVS (Fri May 16 16:17 UTC 2008)
- Remove netatalk-2.0.3-type_creator.patch.bz2
- Don't require OpenSLP
- disable a2boot and timelord