1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/net/netatalk-asun/files/patch-ah
Stefan Bethke 4fe21ce59c - obey CFLAGS
- put pid files in /var/run
- make start-up script work on different PREFIX
1998-11-24 14:13:47 +00:00

34 lines
1004 B
Plaintext

--- include/atalk/paths.h.orig Fri Aug 15 07:25:58 1997
+++ include/atalk/paths.h Tue Nov 24 13:14:14 1998
@@ -17,7 +17,7 @@
#ifdef linux
#define _PATH_LOCKDIR "/var/lock/"
#else
-#define _PATH_LOCKDIR "/var/spool/locks/"
+#define _PATH_LOCKDIR "/var/run/"
#endif /* linux */
#endif /* BSD4_4 */
#endif
@@ -42,18 +42,18 @@
*/
#define _PATH_ATALKDEBUG "/tmp/atalkd.debug"
#define _PATH_ATALKDTMP "atalkd.tmp"
-#define _PATH_ATALKDLOCK ATALKPATHCAT(_PATH_LOCKDIR,"atalkd")
+#define _PATH_ATALKDLOCK ATALKPATHCAT(_PATH_LOCKDIR,"atalkd.pid")
/*
* psorder paths
*/
#define _PATH_TMPPAGEORDER "/tmp/psorderXXXXXX"
-#define _PATH_PAPDLOCK ATALKPATHCAT(_PATH_LOCKDIR,"papd")
+#define _PATH_PAPDLOCK ATALKPATHCAT(_PATH_LOCKDIR,"papd.pid")
/*
* afpd paths
*/
#define _PATH_AFPTKT "/tmp/AFPtktXXXXXX"
-#define _PATH_AFPDLOCK ATALKPATHCAT(_PATH_LOCKDIR,"afpd")
+#define _PATH_AFPDLOCK ATALKPATHCAT(_PATH_LOCKDIR,"afpd.pid")
#endif /* atalk/paths.h */