pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/netatalk pkg/44990 (net/netatalk): Fix afpd startu...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3625c7a7501d
branches:  trunk
changeset: 594521:3625c7a7501d
user:      marino <marino%pkgsrc.org@localhost>
date:      Sun Oct 30 10:08:22 2011 +0000

description:
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:

 net/netatalk/distinfo         |   3 ++-
 net/netatalk/patches/patch-bk |  12 ++++++++++++
 2 files changed, 14 insertions(+), 1 deletions(-)

diffs (30 lines):

diff -r 4394605a4389 -r 3625c7a7501d net/netatalk/distinfo
--- a/net/netatalk/distinfo     Sun Oct 30 05:28:13 2011 +0000
+++ b/net/netatalk/distinfo     Sun Oct 30 10:08:22 2011 +0000
@@ -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-ar) = 8c6c6169496b9b2cdec6049d2ee45884d5513d11
 SHA1 (patch-au) = 8505351fee21ac1effa4dc620b8006c572b913c1
 SHA1 (patch-bj) = abbc2809b6b7fe75ec2d2f8f2fa8d6cd9d6de7b0
+SHA1 (patch-bk) = c3fb7c3a42f148171fa99b6121b099dd4998947a
diff -r 4394605a4389 -r 3625c7a7501d net/netatalk/patches/patch-bk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/netatalk/patches/patch-bk     Sun Oct 30 10:08:22 2011 +0000
@@ -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



Home | Main Index | Thread Index | Old Index