Commit graph

166 commits

Author SHA1 Message Date
markd
556eb15ecc Correct the fix to missing first arg of of_filename(). Fixes afpd segfault
on moving files.  Bump PKGREVISION.
2014-01-14 08:45:58 +00:00
wiz
e03c03b6dc Recursive PKGREVISION bump for libgcrypt-1.6.0 shlib major bump. 2014-01-01 11:52:02 +00:00
hauke
86a6ea57ac Update net/netatalk to v2.2.5
Changes in 2.2.5
================
* FIX: Fix errors searching volumes
* NEW: Configurable symlink handling with a new volume option
       'followsymlinks'. Setting the option causes afpd to follow
       symlinks on the server side.
* UPD: Reload groups when reloading volumes. FR #71.
* FIX: Fix a possible crash in cname() where cname_mtouname calls
       dirlookup() where the curdir is freed because the dircache
       detected a dev/inode cache difference and evicted the object
       from the cache. Fixes bug #498.
* FIX: Change default FinderInfo for directories to be all 0, fixes
       bug 514.
2013-07-23 13:28:17 +00:00
fhajny
51eb5370e8 Fix build on SunOS by disabling the isainfo bitness check (patch lost
in previous package update).
2013-07-16 22:38:32 +00:00
wiz
d2ca14a3f1 Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.
2013-05-31 12:39:57 +00:00
hauke
a618ecf8cf Untangle the m0nster patch to configure. To the quota experts: Please
check all the bells and whistles are still in place, and functional.

While here, update to Netatalk 2.2.4. Note that we will ship Netatalk
2 as long as NetBSD ships ddp ("netatalk") support, so v3 is not a
replacement.


Changes to package setup:

Set PLIST_VARS.{ea,acl} so that the package builds on Ubuntu Linux 10
LTS. I guess there are version and file-system dependencies?

Add dnssd option for mDNSResponder ("zeroconf") support.


Remaining (upstream) issues:

dbd(8) breaks with a less-than-helpful error message, see end of
PR pkg/47578

afpd(8) mis-maps user IDs -- a security issue


Upstream changes:

Changes in 2.2.4
================

* FIX: Missing UAM links
* FIX: Lockup in AFP logout on Fedora 17
* FIX: Reset signal handlers and alarm timer after successfull PAM
       authentication. Fixes a problem with AFP disconnects caused
       by pam_smbpass.so messing with our handlers and timer.
* FIX: afpd: Fix a possible problem with sendfile on Solaris derived
       platforms

Changes in 2.2.3
================

* NEW: afpd: support for mdnsresponder
* NEW: afpd: new LDAP config option ldap_uuid_string
* UPD: based on Unicode 6.1.0
* UPD: experimental systemd service files: always run both afpd and cnid_metad
* UPD: afpd: Ensure our umask is not altered by eg pam_umask
* UPD: afpd: Use GSS_C_NO_NAME as server principal when Kerberos options -fqdn
       and -krb5service are not set, from Jamie Gilbertson
* UPD: afpd: Changed behaviour for TimeMachine volumes in case there's a problem
       talking to the CNID daemons. Previously the volume was flagged read-only
       and an AFP message was sent to the client. As this might result in
       TimeMachine assuming the backup sparse bundle is damaged, we now just
       switch the CNID database to an in-memory tdb without the additional stuff.
* FIX: afpd: sendfile() on FreeBSD was broken, courtesy of Denis Ahrens
* FIX: afpd: Dont use searchdb when doing partial name search
* FIX: afpd: Fix a possible bug handling disconnected sessions,
       NetAFP Bug ID #16
* FIX: afpd: Close IPC fds in afpd session child inherited from the afpd
       master process
* FIX: dbd: Don't remove BerkeleyDB if it's still in use by eg cnid_dbd, fixes
       bug introduced in 2.2.2
* FIX: debian initscript: start avahi-daemon (if available) before atalkd
* FIX: Zeroconf could not advertise non-ASCII time machine volume name

Changes in 2.2.2
================

* NEW: afpd: New option "adminauthuser". Specifying eg "-adminauthuser root"
       whenever a normal user login fails, afpd tries to authenticate as
       the specified adminauthuser. If this succeeds, a normal session is
       created for the original connecting user. Said differently: if you
       know the password of adminauthuser, you can authenticate as any other
       user.
* NEW: configure option "--enable-suse-systemd" for openSUSE12.1 and later.
       "--enable-redhat-systemd" and "--enable-suse-systemd" are same as
       "--enable-systemd".
       "--enable-suse" is renamed "--enable-suse-sysv".
* NEW: experimental systemd service files in distrib/systemd/
* UPD: afpd: Enhanced POSIX ACL mapping semantics, from Laura Mueller
* UPD: afpd: Reset options every time a :DEFAULT: line is found in a
       AppleVolumes file
* UPD: afpd: Convert passwords from legacy encoding (wire format) to host
       encoding, NetAFP Bug ID #14
* UPD: afpd: Don't set ATTRBIT_SHARED flag for directories
* UPD: afpd: Use sendfile() on Solaris and FreeBSD for sending data
* UPD: afpd: Faster volume used size calculation for "volsizelimit" option,
       cf man AppleVolume.default for details
* FIX: afpd: ACL access checking
* FIX: afpd: Fix an error when duplicating files that lacked an AppleDouble
       file which lead to a possible Finder crash
* FIX: afpd: Read-only filesystems lead to afpd processes running as root
* FIX: afpd: Fix for filesystem without NFSv4 ACL support on Solaris
* FIX: afpd: Fix catsearch bug, NetAFP Bug ID #12
* FIX: afpd: Fix dircache bug, NetAFP Bug ID #13
* FIX: dbd: Better checking for duplicated or bogus CNIDs from AppleDouble
       files
* FIX: dbd: Remove BerkeleyDB database environment after running `dbd`. This
       is crucial for the automatic BerkeleyDB database upgrade feature which
       is built into cnid_dbd and dbd.
* FIX: Fix compilation error when AppleTalk support is disabled
* FIX: Portability fixes
* FIX: search of surrogate pair
2013-04-30 15:43:30 +00:00
hauke
ec53c330d1 Fix the fix:
No Extendes Attributes for NetBSD < 6.99.*, so ad(1) does not get
built, and should not appear in PLIST.
2013-04-06 12:45:05 +00:00
sborrill
6d3247b122 Fix build on older NetBSD. (hi joerg!) 2013-04-06 10:04:13 +00:00
joerg
710e212fc1 Fix build on newer NetBSD. 2013-03-28 21:36:21 +00:00
markd
1969c33a19 Dont override the value of GSS_C_NT_HOSTBASED_SERVICE that recent
Heimdal's set.
2013-02-22 22:41:32 +00:00
wiz
d1b820f37b Recursive bump for png-1.6. 2013-02-16 11:18:58 +00:00
jperkin
becd113253 PKGREVISION bumps for the security/openssl 1.0.1d update. 2013-02-06 23:20:50 +00:00
adam
f4c3b89da7 Revbump after graphics/jpeg and textproc/icu 2013-01-26 21:36:13 +00:00
obache
64deda1dc9 recursive bump from cyrus-sasl libsasl2 shlib major bump. 2012-12-16 01:51:57 +00:00
asau
e059e7e469 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-23 17:18:07 +00:00
wiz
8b5d49eb78 Bump all packages that use perl, or depend on a p5-* package, or
are called p5-*.

I hope that's all of them.
2012-10-03 21:53:53 +00:00
manu
3c3c4ee484 Add LDAP option for Netatalk 2012-09-11 00:30:13 +00:00
fhajny
4ebe928bfc Fix 32bit build on SunOS by relying on MACHINE_ARCH instead of isainfo. 2012-07-25 11:33:49 +00:00
obache
cbb4936739 treat a extra conf file for ACL. 2012-06-13 12:38:35 +00:00
obache
df17b62f1c afp_ldap.conf will be installed for platfoms having ACL support.
PR 46597.
XXX: please update the condition if it is not adapted to your platforms.
2012-06-13 07:18:19 +00:00
obache
b0866d27f5 merge PLIST condition for DragonFly with PLIST_VARS. 2012-06-13 06:57:59 +00:00
fhajny
422e98dd81 Init scripts are only built on NetBSD.
Stop a silent dependency on LDAP if such is found.
2012-06-11 13:19:20 +00:00
marino
a2af8f5ecd net/netatalk: Fix PLIST for DragonFly 2012-05-22 06:14:44 +00:00
hauke
f4e4997178 Avoid a SIGSEGV, when AFPConfigInit() runs into a problem parsing
afpd.conf and returns NULL.
2012-05-16 14:03:08 +00:00
hauke
9e9e3ecb8d Add a 'debug' option for building the package with debug switches on. 2012-05-16 12:11:17 +00:00
dholland
d473661fd0 PR 46072: netatalk broken with netbsd-6 quotas
Add support for the new libquota. Drop support for the proplib
libquota; it's not worth the configure-time hassle.

Fix some moderately serious bugs in the original/previous libquota
patches; it's clear for example they were never tested with group
quotas.
2012-05-12 21:53:19 +00:00
dholland
7e751949e4 Set BUILDLINK_ABI_DEPENDS correctly (with +=, not ?=)
It turns out there were a lot of these.
2012-05-07 01:53:12 +00:00
hauke
7a93a7183c As a workaround to PR pkg/46072, build Netatalk explicitely without
quota support for NetBSD 5.99.62 and newer, until we have patches
supporting the new quota interface.
2012-04-17 16:14:54 +00:00
wiz
5a1e8b0499 Revbump for
a) tiff update to 4.0 (shlib major change)
b) glib2 update 2.30.2 (adds libffi dependency to buildlink3.mk)

Enjoy.
2012-02-06 12:40:37 +00:00
adam
a770b740d8 Revbump after db5 update 2012-01-18 14:44:36 +00:00
dholland
eaff33246f Somebody sent patches upstream to use the -current prerelease libquota API
(such as it is) -- correct it for necessary changes. Closes PR 45714.

Note: this will break again in a few days when that API is removed...
2011-12-16 05:21:37 +00:00
bouyer
d1662e7bae Add missing files to PLIST
Fix quota support in configure: for some reasons, configure thinks that
quota support should be disabled if one of
rpc/rpc.h rpc/pmap_prot.h rpcsvc/rquota.h
is missing or unusable, while the code compiles file with one of
them missing, at last on NetBSD.
bump PKGREVISION
2011-11-29 19:26:28 +00:00
marino
771e08f0f4 pkg/44990 (net/netatalk): Fix afpd startup script
Adds command_args to startup script to write the pid file to /var/run
as intended.  Apparently the lack of a pid file  did not affect NetBSD's
ability to stop the daemon, but it did prevent it on DragonFly BSD.
2011-10-30 10:08:22 +00:00
christos
f83a3bbe9e update to 2.2.1, see:
http://netatalk.sourceforge.net/2.2/ReleaseNotes2.2.1.html
2011-09-22 01:20:20 +00:00
bouyer
462c7f4626 PR pkg/45300 net/netatalk patch-at seems broken
Don't seteuid() to a gid. Always pass the uid in addition to the quota id
to getfreespace() so we can properly seteuid().
bump PKGREVISION
2011-08-30 15:09:22 +00:00
obache
1d9df3258a recursive bump from gettext-lib shlib bump. 2011-04-22 13:41:54 +00:00
markd
7cbc267cf6 Fix build on DragonFlyBSD. PR pkg/44832. 2011-04-11 20:22:59 +00:00
bouyer
c439c0e63b Add CVS Id where missing
Fix patch to quota-check.m4 so that the autoconf'ed configure will
  define HAVE_LIBQUOTA too
Use QL_STATUS(quota_check_limit()) instead of quota_check_limit(). This is
 the only visible change in binaries.

Do not bump PKGREVISION as the previous code has been there for only a few
hours.
2011-03-26 18:45:51 +00:00
bouyer
5440752390 Make netatalk build again on NetBSD current:
check for getfsquota() in libquota. If it's there, use getfsquota() and
quota_check_limit() from libquota instead of local getnfsquota or direct
calls to quotactl().
Tested on NetBSD-current and NetBSD 5.1. OK agc@
2011-03-26 13:46:19 +00:00
hauke
46554e865b Applying net/netatalk update from pkg/44474
Changes in 2.1.5
================

* UPD: afpd: support newlines in -loginmesg with \n escaping syntax
* UPD: afpd: support for changed chmod semantics on ZFS with ACLs
       in onnv145+
* FIX: afpd: fix leaking ressource when moving objects on the server
* FIX: afpd: backport Solaris 10 compatibilty fix from 2.2: don't use
       SO_SNDTIMEO/SO_RCVTIMEO, use non-blocking IO and select instead.
* FIX: afpd: misaligned memory access on Sparc in ad_setattr, fixes
       bug 3110004.
* FIX: cnid_dbd: backport Solaris 10 compatibilty fix from 2.2: don't
       use SO_SNDTIMEO/SO_RCVTIMEO, use non-blocking IO and select instead.
2011-01-27 13:40:30 +00:00
wiz
4a85d9393e png shlib name changed for png>=1.5.0, so bump PKGREVISIONs. 2011-01-13 13:53:23 +00:00
hauke
83f24f1be8 Update Netatalk to 2.1.4
Changes in 2.1.4
 ~~~~~~~~~~~~~~~~
 * FIX: afpd: Downstream fix for FreeBSD PR 148022
 * FIX: afpd: Fixes for bugs 3074077 and 3074078
 * FIX: afpd: Better handling of symlinks in combination with ACLs and EAs.
        Fixes bug 3074076.
 * FIX: dbd: Adding a file with the CNID from it's adouble file did
        not work in case that CNID was alread occupied in the database
 * FIX: macusers: add support for Solaris
 * NEW: cnid_metad: use a PID lockfile
 * NEW: afpd: prevent log flooding
 * UPD: dbd: ignore ".zfs" snapshot directories
 * UPD: dbd: support interrupting -re mode

Does not fix pkg/43953, unfortunately.
2010-10-17 14:12:10 +00:00
adam
6109aa350c Revbump after updating databases/db5 2010-09-16 08:04:14 +00:00
adam
74d1dbbffe PkgSrc:
- added support for db5
- removed shells/rc dependency
- clean-ups
2010-07-20 06:47:37 +00:00
markd
829d7b73f4 Update to netatalk 2.1.3
Changes in 2.1.3
================

* FIX: afpd: fix a serious error in networking IO code
* FIX: afpd: Solaris 10 compatibilty fix: don't use SO_SNDTIMEO, use
       non-blocking IO and select instead for writing/sending data.
* UPD: Support for BerkeleyDB 5.0.

Changes in 2.1.2
================

* FIX: afpd: fix for possible crash in case more then one server is
       configured in afpd.conf.
* FIX: afpd: ExtendedAttributes in FreeBSD
* FIX: afpd: sharing home folders corrupted the per volume umask.
* UPD: afpd: umask for home folders is no longer taken from startup umask.
* UPD: afpd: dont and permissions with parent folder when creating new
       directories on "upriv" volumes.
* UPD: afpd: use 'afpserver@fqdn' instead of 'afpserver/fqdn@realm'.
       Prevents a crash in older GNU GSSAPI libs on eg. CentOS 5.x.

Changes in 2.1.1
================

* UPD: fallback to a temporary in memory tdb CNID database if the volume
       database can't be opened now works with the default backend "dbd" too.
* FIX: afpd: afp_ldap.conf was missing from tarball. This only effected
       [Open]Solaris.
* FIX: afpd: Check if options->server is set in set_signature, preventing
       SIGSEGV.
* FIX: afpd: server signature wasn't initialized in some cases
* FIX: DESTDIR support: DESTDIR was expanded twice
* FIX: Fix for compilation error if header files of an older Netatalk
       version are installed.

Changes in 2.1-release
======================

* NEW: afpd: new volume option "volsizelimit" for limitting reported volume
       size. Useful for limitting TM backup size.
* UPD: dbd: -c option for rebuilding volumes which prevents the creation
       of .AppleDouble stuff, only removes orphaned files.

Changes in 2.1-beta2
====================
* NEW: afpd: static generated AFP signature stored in afp_signature.conf,
       cf man 5 afp_signature.conf
* NEW: afpd: clustering support: new per volume option "cnidserver".
* UPD: afpd: set volume defaults options "upriv" and "usedots" in the
       volume config file AppleVolumes.default. This will only affect
       new installations, but not upgrades.
* FIX: afpd: prevent security attack guessing valid server accounts. afpd
       now returns error -5023 for unknown users, as does AppleFileServer.

Changes in 2.1-beta1
====================

* NEW: afpd: AFP 3.2 support
* NEW: afpd: Extended Attributes support using native attributes or
       using files inside .AppleDouble directories.
* NEW: afpd: ACL support with ZFS
* NEW: cnid_metad: options -l and -f to configure logging
* NEW: IPv6 support
* NEW: AppleDouble compatible UNIX files utility suite `ad ...`.
       With 2.1 only `ad ls`.
* NEW: CNID database maintanance utility dbd
* NEW: support BerkeleyDB upgrade. Starting with the next release
       after 2.1 in case of BerkeleyDB library updates, Netatalk
       will be able to upgrade the CNID databases.
* NEW: afpd: store and read CNIDs to/from AppleDouble files by default.
       This is used as a cache and as a backup in case the database
       is deleted or corrupted. It can be disabled with a new volume
       option "nocnidcache".
* NEW: afpd: sending SIGINT to a child afpd process enables debug logging
       to /tmp/afpd.PID.XXXXXX.
* NEW: configure args to download and install a "private" Webmin instance
       including only basic Webmin modules plus our netatalk.wbm.
* NEW: fallback to a temporary in memory tdb CNID database if the volume
       database can't be opened.
* NEW: support for Unicode characters in the range above U+010000 using
       internal surrogate pairs
* NEW: apple_dump: utility to dump AppleSingle and AppleDouble files
* NEW: afpldaptest: utility to check afp_ldap.conf.
* UPD: atalkd and papd are now disabled by default. AppleTalk is legacy.
* UPD: slp advertisement is now disabled by default. server option -slp
       SRVLOC is legacy.
* UPD: cdb/dbd CNID backend requires BerkeleyDB >= 4.6
* UPD: afpd: default CNID backend is "dbd"
* UPD: afpd: try to install PAM config that pulls in system|common auth
* UPD: afpd: symlink handling: never followed server side, client resolves
       them, so it's safe to use them now.
* UPD: afpd: Comment out all extension->type/creator mappings in
       AppleVolumes.system. They're unmaintained, possibly wrong and
       do not fit for OS X.
* FIX: rewritten logger
* FIX: afpd: UNIX permissions handling
* FIX: cnid_dbd: always use BerkeleyDB transactions
* FIX: initscripts installation now correctly uses autoconf paths,
       ie they're installed to --sysconfdir.
* FIX: UTF-8 volume name length
* FIX: atalkd: workaround for broken Linux 2.6 AT kernel module:
       Linux 2.6 sends broadcast queries to the first available socket
       which is in our case the last configured one. atalkd now tries to
       find the right one.
       Note: now a misconfigured or plugged router can broadcast a wrong route !
* REM: afpd: removed CNID backends "db3", "hash" and "mtab"
* REM: cnid_maint: use dbd
* REM: cleanappledouble.pl: use dbd
* REM: nu: use `macusers` instead
2010-07-19 21:21:25 +00:00
markd
e1724491cf Fix loading of pam modules on older versions on NetBSD, where
the dependency of the module on libpam was not explicit.
2010-05-05 12:15:30 +00:00
schwarz
66dcaf5bf4 added a patch from Macports in order to make Netatalk 2.0.X compile on MacOS X 2010-01-30 17:50:03 +00:00
wiz
579796a3e5 Recursive PKGREVISION bump for jpeg update to 8. 2010-01-17 12:02:03 +00:00
markd
546539e14c update netatalk to 2.0.5
NEW: afpd: Time Machine support with new volume option "tm".
FIX: papd: Remove variable expansion for BSD printers. Fixes
     CVE-2008-5718.
FIX: afpd: .AppleDxxx folders were user accessible if option 'usedots'
     was set
FIX: afpd: vetoed files/dirs where still accessible
FIX: afpd: cnid_resolve: don't return '..' as a valid name.
FIX: uniconv: -d option wasn't working
2010-01-17 11:48:03 +00:00
sno
6f7368d4db bump revision because of graphics/jpeg update 2009-08-26 19:56:37 +00:00