diff options
author | marino <marino@pkgsrc.org> | 2011-10-30 10:08:22 +0000 |
---|---|---|
committer | marino <marino@pkgsrc.org> | 2011-10-30 10:08:22 +0000 |
commit | b50b1a4f7a030545352cf0cb16bb6e6f09c25651 (patch) | |
tree | 27e4d94928792f8db4f59d1816d20b2d2e52925d /net/netatalk | |
parent | 2fa37a2f9ff0b4dd4177c66d57b27c913602d9c8 (diff) | |
download | pkgsrc-b50b1a4f7a030545352cf0cb16bb6e6f09c25651.tar.gz |
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.
Diffstat (limited to 'net/netatalk')
-rw-r--r-- | net/netatalk/distinfo | 3 | ||||
-rw-r--r-- | net/netatalk/patches/patch-bk | 12 |
2 files changed, 14 insertions, 1 deletions
diff --git a/net/netatalk/distinfo b/net/netatalk/distinfo index 92346576153..227384f0a92 100644 --- a/net/netatalk/distinfo +++ b/net/netatalk/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.41 2011/09/22 01:20:20 christos Exp $ +$NetBSD: distinfo,v 1.42 2011/10/30 10:08:22 marino Exp $ SHA1 (netatalk-2.2.1.tar.bz2) = e588b89eced7769f65e213bc4b1b1e4f8035c8b3 RMD160 (netatalk-2.2.1.tar.bz2) = bc55a591fe134d3bf05ca442aa5b5246fd766b8c @@ -16,3 +16,4 @@ SHA1 (patch-aq) = 0793cf5ec158aa27c42b5d8a96651307d7c7c8b6 SHA1 (patch-ar) = 8c6c6169496b9b2cdec6049d2ee45884d5513d11 SHA1 (patch-au) = 8505351fee21ac1effa4dc620b8006c572b913c1 SHA1 (patch-bj) = abbc2809b6b7fe75ec2d2f8f2fa8d6cd9d6de7b0 +SHA1 (patch-bk) = c3fb7c3a42f148171fa99b6121b099dd4998947a diff --git a/net/netatalk/patches/patch-bk b/net/netatalk/patches/patch-bk new file mode 100644 index 00000000000..21c778938d5 --- /dev/null +++ b/net/netatalk/patches/patch-bk @@ -0,0 +1,12 @@ +$NetBSD: patch-bk,v 1.1 2011/10/30 10:08:22 marino Exp $ + +--- distrib/initscripts/rc.afpd.netbsd.tmpl.orig 2011-08-31 06:10:48.000000000 +0000 ++++ distrib/initscripts/rc.afpd.netbsd.tmpl +@@ -17,6 +17,7 @@ rcvar=$name + command=":SBINDIR:/afpd" + etcdir=":ETCDIR:" + pidfile="/var/run/${name}.pid" ++command_args="-P ${pidfile}" + required_files="$etcdir/afpd.conf $etcdir/AppleVolumes.default $etcdir/AppleVolumes.system" + + load_rc_config $name |