summaryrefslogtreecommitdiff
path: root/net/netatalk-asun/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'net/netatalk-asun/patches/patch-aa')
-rw-r--r--net/netatalk-asun/patches/patch-aa77
1 files changed, 65 insertions, 12 deletions
diff --git a/net/netatalk-asun/patches/patch-aa b/net/netatalk-asun/patches/patch-aa
index 4dc9f917b1e..e086b1dc25e 100644
--- a/net/netatalk-asun/patches/patch-aa
+++ b/net/netatalk-asun/patches/patch-aa
@@ -1,13 +1,66 @@
-$NetBSD: patch-aa,v 1.2 2000/07/31 18:33:48 abs Exp $
+$NetBSD: patch-aa,v 1.3 2000/08/15 14:48:23 abs Exp $
---- include/atalk/atp.h.orig Wed May 28 16:22:52 1997
-+++ include/atalk/atp.h Mon Jul 31 18:53:04 2000
-@@ -84,7 +84,7 @@
-
- struct atpbuf {
- struct atpbuf *atpbuf_next; /* next buffer in chain */
-- short atpbuf_dlen; /* data length <= ATP_BUFSIZ */
-+ unsigned short atpbuf_dlen; /* data length <= ATP_BUFSIZ */
- struct sockaddr_at atpbuf_addr; /* net address sent/recvd */
- union {
- char atpbuf_data[ ATP_BUFSIZ ]; /* the data */
+--- Makefile.orig Sun Feb 7 11:15:46 1999
++++ Makefile
+@@ -1,22 +1,27 @@
+ # Root of installation. Subdirectories will be ${DESTDIR}/etc,
+ # ${DESTDIR}/bin, and ${DESTDIR}/lib.
+-DESTDIR=/usr/local/atalk
++DESTDIR=${PREFIX}
+
+ # for system-level binaries
+-SBINDIR=$(DESTDIR)/etc
++SBINDIR=$(DESTDIR)/sbin
++LIBEXECDIR=$(DESTDIR)/libexec
+ # for user-level binaries
+ BINDIR=$(DESTDIR)/bin
+ # for program libraries (*.a)
+ LIBDIR=$(DESTDIR)/lib
+ # for machine-independent resources (pagecount.ps, etc.)
+-RESDIR=$(DESTDIR)/etc
++RESDIR=$(DESTDIR)/share
+ # for configuration files (AppleVolumes.system, etc.)
+-ETCDIR=$(DESTDIR)/etc
++ETCDIR=/etc/netatalk
++# for startup script
++RCDIR=$(DESTDIR)/etc/rc.d
+ # for include files
+ INCDIR=$(DESTDIR)/include
+ # Root of man pages. Subdirectories will be
+ # ${MANDIR}/man1, ${MANDIR}/man4, and ${MANDIR}/man8.
+ MANDIR=$(DESTDIR)/man
++# for example config files
++EXAMPLEDIR=$(DESTDIR)/share/examples/netatalk
+
+ #SBINDIR=/usr/sbin
+ #BINDIR=/usr/bin
+@@ -32,7 +37,7 @@
+ # Location of the DES library and include files. Comment this out if you
+ # don't want Randnum Exchange and 2-Way Randnum Exchange as allowable UAMs
+ # for afpd. We expect libdes.a in $DESDIR/lib and des.h in $DESDIR/include.
+-DESDIR=/usr/local
++#DESDIR=/usr/local
+
+ # Location of the tcp wrapper library and include files. Comment this out
+ # if you don't want tcp wrapper support. having tcp wrapper support is
+@@ -41,7 +46,7 @@
+
+ # Location of PAM support library and include files. Comment this out
+ # if you don't want to enable PAM support
+-PAMDIR=/usr
++#PAMDIR=/usr
+
+
+ # Location of the AFS and Kerberos libraries and include files. Uncomment
+@@ -73,9 +78,10 @@
+ esac; \
+ echo "Making $@ for $$ARCH..."; \
+ cd sys/$$ARCH && ${MAKE} ${MFLAGS} \
++ LIBEXECDIR="${LIBEXECDIR}" EXAMPLEDIR="${EXAMPLEDIR}" \
+ SBINDIR="${SBINDIR}" BINDIR="${BINDIR}" RESDIR="${RESDIR}"\
+ ETCDIR="${ETCDIR}" LIBDIR="${LIBDIR}" INCDIR="${INCDIR}" \
+- DESTDIR="${DESTDIR}" MANDIR="${MANDIR}" \
++ RCDIR="${RCDIR}" DESTDIR="${DESTDIR}" MANDIR="${MANDIR}" \
+ TCPWRAPDIR="${TCPWRAPDIR}" PAMDIR="${PAMDIR}" DB2DIR="${DB2DIR}" \
+ AFSDIR="${AFSDIR}" KRBDIR="${KRBDIR}" DESDIR="${DESDIR}" $@
+