diff options
Diffstat (limited to 'net/netatalk-devel/files')
-rw-r--r-- | net/netatalk-devel/files/patch-aa | 30 | ||||
-rw-r--r-- | net/netatalk-devel/files/patch-ab | 32 | ||||
-rw-r--r-- | net/netatalk-devel/files/patch-ac | 43 | ||||
-rw-r--r-- | net/netatalk-devel/files/patch-ad | 48 | ||||
-rw-r--r-- | net/netatalk-devel/files/patch-ae | 45 | ||||
-rw-r--r-- | net/netatalk-devel/files/patch-af | 12 | ||||
-rw-r--r-- | net/netatalk-devel/files/patch-ag | 14 | ||||
-rw-r--r-- | net/netatalk-devel/files/patch-ah | 11 | ||||
-rw-r--r-- | net/netatalk-devel/files/patch-ai | 8 | ||||
-rw-r--r-- | net/netatalk-devel/files/patch-aj | 11 | ||||
-rw-r--r-- | net/netatalk-devel/files/patch-ak | 20 |
11 files changed, 0 insertions, 274 deletions
diff --git a/net/netatalk-devel/files/patch-aa b/net/netatalk-devel/files/patch-aa deleted file mode 100644 index ae3c38bf154b..000000000000 --- a/net/netatalk-devel/files/patch-aa +++ /dev/null @@ -1,30 +0,0 @@ ---- Makefile.old Wed Sep 9 02:42:06 1998 -+++ Makefile Wed Sep 9 02:42:37 1998 -@@ -1,15 +1,15 @@ - # 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)/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 - # for include files -@@ -54,7 +54,7 @@ - SBINDIR="${SBINDIR}" BINDIR="${BINDIR}" RESDIR="${RESDIR}"\ - ETCDIR="${ETCDIR}" LIBDIR="${LIBDIR}" INCDIR="${INCDIR}" \ - DESTDIR="${DESTDIR}" MANDIR="${MANDIR}" \ -- AFSDIR="${AFSDIR}" KRBDIR="${KRBDIR}" $@ -+ AFSDIR="${AFSDIR}" KRBDIR="${KRBDIR}" OPTOPTS="${CFLAGS}" $@ - - FRC: - diff --git a/net/netatalk-devel/files/patch-ab b/net/netatalk-devel/files/patch-ab deleted file mode 100644 index 4c760c2adbbd..000000000000 --- a/net/netatalk-devel/files/patch-ab +++ /dev/null @@ -1,32 +0,0 @@ -diff -crP ../netatalk-1.4b2/rc.atalk.freebsd ./rc.atalk.freebsd -*** ../netatalk-1.4b2/rc.atalk.freebsd Thu Jan 1 01:00:00 1970 ---- ./rc.atalk.freebsd Thu Jul 24 02:14:39 1997 -*************** -*** 0 **** ---- 1,26 ---- -+ # -+ # AppleTalk daemons. Make sure not to start atalkd in the background: -+ # its data structures must have time to stablize before running the -+ # other processes. -+ # -+ PREFIX=/`expr $0 : '/\(.*\)/etc/rc.d/netatalk.sh'` -+ if [ "x${PREFIX}" = "x/" ]; then -+ printf "\nnetatalk: Cannot determine PREFIX.\n" >&2 -+ exit 64 -+ fi -+ HOSTNAME=`hostname|sed 's/\..*$//'` -+ -+ case $1 in -+ start) echo -n ' netatalk' -+ ${PREFIX}/libexec/atalkd -+ ${PREFIX}/bin/nbprgstr -p 4 ${HOSTNAME}:Workstation & -+ ${PREFIX}/bin/nbprgstr -p 4 ${HOSTNAME}:netatalk & -+ ${PREFIX}/libexec/papd -+ ${PREFIX}/libexec/afpd -s ${PREFIX}/etc/AppleVolumes.system \ -+ -f ${PREFIX}/etc/AppleVolumes.default -+ ;; -+ stop) killall afpd -+ killall papd -+ killall atalkd -+ ;; -+ esac diff --git a/net/netatalk-devel/files/patch-ac b/net/netatalk-devel/files/patch-ac deleted file mode 100644 index e6ec20e0ab56..000000000000 --- a/net/netatalk-devel/files/patch-ac +++ /dev/null @@ -1,43 +0,0 @@ ---- sys/freebsd/Makefile.orig Tue Oct 22 23:31:01 1996 -+++ sys/freebsd/Makefile Wed Sep 9 02:09:02 1998 -@@ -1,6 +1,5 @@ - # FreeBSD specific defines, passed to subdirectories. - DEFS= -DBSD4_4 --OPTOPTS= -O2 - CC= gcc - INSTALL= install - ADDLIBS= -lcrypt -@@ -21,7 +20,8 @@ - FRC: - - install : -- -mkdir ${DESTDIR} ${SBINDIR} ${BINDIR} ${ETCDIR} ${LIBDIR} -+ -mkdir ${DESTDIR} ${SBINDIR} ${BINDIR} ${ETCDIR} ${LIBDIR} \ -+ ${ETCDIR}/rc.d ${RESDIR}/examples/netatalk - for i in ${ALL}; \ - do (cd $$i; ${MAKE} ${MFLAGS} CC="${CC}" \ - ADDLIBS="${ADDLIBS}" DEFS="${DEFS}" OPTOPTS="${OPTOPTS}" \ -@@ -30,17 +30,16 @@ - AFSDIR="${AFSDIR}" KRBDIR="${KRBDIR}" \ - INSTALL="${INSTALL}" $@); \ - done -- rm -f ${ETCDIR}/rc.atalk - sed -e s@:DESTDIR:@${DESTDIR}@ -e s@:SBINDIR:@${SBINDIR}@ \ - -e s@:BINDIR:@${BINDIR}@ -e s@:RESDIR:@${RESDIR}@ \ - -e s@:ETCDIR:@${ETCDIR}@ -e s@:LIBDIR:@${LIBDIR}@ \ - -e s@:INCDIR:@${INCDIR}@ \ -- < ../../rc.atalk.bsd > ${ETCDIR}/rc.atalk -- @echo -- @echo "Install is done. Don't forget to add lines from" -- @echo "services.atalk to /etc/services and to call rc.atalk" -- @echo "in /etc/rc. See README and README.FREEBSD for more" -- @echo "information." -+ < ../../rc.atalk.freebsd > ${ETCDIR}/rc.d/netatalk.sh -+ chmod +x ${ETCDIR}/rc.d/netatalk.sh -+ cp ../../config/AppleVolumes.default ${ETCDIR}/AppleVolumes.default.dist -+ cp ../../config/AppleVolumes.system ${ETCDIR}/AppleVolumes.system.dist -+ cp ../../config/atalkd.conf ../../config/papd.conf \ -+ ${RESDIR}/examples/netatalk - - clean : - for i in ${ALL}; \ diff --git a/net/netatalk-devel/files/patch-ad b/net/netatalk-devel/files/patch-ad deleted file mode 100644 index b7b1bf86c691..000000000000 --- a/net/netatalk-devel/files/patch-ad +++ /dev/null @@ -1,48 +0,0 @@ -*** etc/atalkd/main.c.orig Tue Oct 22 00:45:03 1996 ---- etc/atalkd/main.c Wed Feb 25 02:39:21 1998 -*************** -*** 19,24 **** ---- 19,35 ---- - #include <net/if.h> - #include <net/route.h> - -+ #if __FreeBSD__ >= 2 -+ # include <osreldate.h> -+ # if __FreeBSD_version >= 300000 -+ # define __FreeBSD_CURRENT -+ # endif -+ #endif -+ -+ #ifdef __FreeBSD_CURRENT -+ #include <net/if_dl.h> -+ #endif -+ - #include <signal.h> - #include <syslog.h> - #include <stdio.h> -*************** -*** 1150,1158 **** ---- 1161,1183 ---- - } - } else { - /* configure multicast for this interface */ -+ #ifdef __FreeBSD_CURRENT -+ struct sockaddr_dl *sdl = (struct sockaddr_dl *)&sa; -+ bzero( sdl, sizeof( struct sockaddr )); -+ sdl->sdl_family = AF_LINK; -+ sdl->sdl_nlen = 0 /* strlen(iface->i_name)*/; -+ /*strncpy(sdl->sdl_data, iface->i_name, sdl->sdl_nlen);*/ -+ bcopy( ethermulti, LLADDR(sdl), sizeof( ethermulti )); -+ sdl->sdl_alen = sizeof( ethermulti ); -+ sdl->sdl_len = sizeof(*sdl); -+ /* (sdl->sdl_data + sdl->sdl_alen + sdl->sdl_nlen) -+ - (char *)sdl; */ -+ if ( ifconfig( iface->i_name, SIOCADDMULTI, sdl )) { -+ #else - bzero( &sa, sizeof( struct sockaddr )); - bcopy( ethermulti, sa.sa_data, sizeof( ethermulti )); - if ( ifconfig( iface->i_name, SIOCADDMULTI, &sa )) { -+ #endif - syslog( LOG_ERR, "addmulti: %m" ); - exit( 1 ); - } diff --git a/net/netatalk-devel/files/patch-ae b/net/netatalk-devel/files/patch-ae deleted file mode 100644 index ccb04e77d285..000000000000 --- a/net/netatalk-devel/files/patch-ae +++ /dev/null @@ -1,45 +0,0 @@ -*** etc/atalkd/nbp.c.orig Sat Oct 5 17:17:53 1996 ---- etc/atalkd/nbp.c Wed Feb 25 18:24:50 1998 -*************** -*** 7,13 **** ---- 7,26 ---- - #include <sys/types.h> - #include <sys/socket.h> - #include <sys/ioctl.h> -+ #include <sys/time.h> - #include <net/if.h> -+ -+ #if __FreeBSD__ >= 2 -+ # include <osreldate.h> -+ # if __FreeBSD_version >= 300000 -+ # define __FreeBSD_CURRENT -+ # endif -+ #endif -+ -+ #ifdef __FreeBSD_CURRENT -+ #include <net/if_dl.h> -+ #endif -+ - #include <netatalk/at.h> - #include <atalk/ddp.h> - #include <atalk/nbp.h> -*************** -*** 185,190 **** ---- 198,214 ---- - for ( l = iface->i_rt->rt_zt; l; l = l->l_next ) { - if ( zt == (struct ziptab *)l->l_data ) { - /* add multicast */ -+ #ifdef __FreeBSD_CURRENT -+ struct sockaddr_dl *sdl = (struct sockaddr_dl *)&sa; -+ sdl->sdl_family = AF_LINK; -+ sdl->sdl_nlen = 0; -+ bcopy( zt->zt_bcast, sdl->sdl_data, sizeof(ethermulti)); -+ sdl->sdl_alen = sizeof(ethermulti); -+ sdl->sdl_len = sizeof (*sdl); -+ /* (sdl->sdl_data -+ + sdl->sdl_alen + sdl->sdl_nlen) -+ - (char *)sdl; */ -+ #endif - if ( ifconfig( iface->i_name, SIOCADDMULTI, &sa )) { - syslog( LOG_ERR, "addmulti: %m" ); - exit( 1 ); diff --git a/net/netatalk-devel/files/patch-af b/net/netatalk-devel/files/patch-af deleted file mode 100644 index 9aabbf3a0648..000000000000 --- a/net/netatalk-devel/files/patch-af +++ /dev/null @@ -1,12 +0,0 @@ -*** etc/atalkd/rtmp.c.orig Wed Feb 25 18:28:16 1998 ---- etc/atalkd/rtmp.c Wed Feb 25 18:28:29 1998 -*************** -*** 7,12 **** ---- 7,13 ---- - #include <sys/types.h> - #include <sys/socket.h> - #include <sys/ioctl.h> -+ #include <sys/time.h> - #include <net/if.h> - #include <net/route.h> - #include <netatalk/endian.h> diff --git a/net/netatalk-devel/files/patch-ag b/net/netatalk-devel/files/patch-ag deleted file mode 100644 index 4ce2b52d6ee1..000000000000 --- a/net/netatalk-devel/files/patch-ag +++ /dev/null @@ -1,14 +0,0 @@ ---- libatalk/asp/asp_getsess.c.orig Tue Aug 25 21:50:54 1998 -+++ libatalk/asp/asp_getsess.c Tue Aug 25 21:51:05 1998 -@@ -3,10 +3,10 @@ - * All Rights Reserved. See COPYRIGHT. - */ - -+#include <sys/types.h> - #include <sys/errno.h> - #include <sys/signal.h> - #include <sys/time.h> --#include <sys/types.h> - #include <sys/uio.h> - #include <sys/wait.h> - #include <sys/syslog.h> diff --git a/net/netatalk-devel/files/patch-ah b/net/netatalk-devel/files/patch-ah deleted file mode 100644 index 30164e7616fc..000000000000 --- a/net/netatalk-devel/files/patch-ah +++ /dev/null @@ -1,11 +0,0 @@ ---- etc/afpd/desktop.c.orig Tue Aug 25 21:59:28 1998 -+++ etc/afpd/desktop.c Tue Aug 25 22:00:23 1998 -@@ -429,7 +429,7 @@ - m = mpath; - u = upath; - while ( *m != '\0' ) { -- if ( !isascii( *m ) || *m == '/' || ( i == 0 && *m == '.' )) { -+ if ( !isprint( (unsigned char)*m ) || *m == '/' || ( i == 0 && *m == '.' )) { - *u++ = ':'; - *u++ = hexdig[ ( *m & 0xf0 ) >> 4 ]; - *u++ = hexdig[ *m & 0x0f ]; diff --git a/net/netatalk-devel/files/patch-ai b/net/netatalk-devel/files/patch-ai deleted file mode 100644 index d0c82037f226..000000000000 --- a/net/netatalk-devel/files/patch-ai +++ /dev/null @@ -1,8 +0,0 @@ ---- Makefile.orig Tue Feb 20 17:38:02 1996 -+++ Makefile Mon Sep 7 22:23:04 1998 -@@ -1,4 +1,4 @@ --TARGETS= atalk netatalk -+TARGETS= atalk - - INSTALL= install - diff --git a/net/netatalk-devel/files/patch-aj b/net/netatalk-devel/files/patch-aj deleted file mode 100644 index 869cb02661a6..000000000000 --- a/net/netatalk-devel/files/patch-aj +++ /dev/null @@ -1,11 +0,0 @@ ---- man/man1/Makefile.orig Tue Feb 20 18:16:24 1996 -+++ man/man1/Makefile Tue Sep 8 23:40:31 1998 -@@ -1,6 +1,5 @@ --SRC= aecho.1 getzones.1 nbp.1 nbplkup.1 nbprgstr.1 nbplkup.1 \ -- pap.1 papstatus.1 psorder.1 megatron.1 unhex.1 unbin.1 \ -- unsingle.1 macbinary.1 hqx2bin.1 single2bin.1 -+SRC= aecho.1 getzones.1 nbp.1 \ -+ pap.1 psorder.1 megatron.1 - - INCPATH= - CFLAGS= diff --git a/net/netatalk-devel/files/patch-ak b/net/netatalk-devel/files/patch-ak deleted file mode 100644 index 96e4fb1be152..000000000000 --- a/net/netatalk-devel/files/patch-ak +++ /dev/null @@ -1,20 +0,0 @@ ---- etc/psf/Makefile.orig Thu Apr 18 23:53:09 1996 -+++ etc/psf/Makefile Sat Oct 10 01:33:08 1998 -@@ -32,14 +32,14 @@ - - install : all - -mkdir ${RESDIR} -- -mkdir ${RESDIR}/filters -+ -mkdir ${SBINDIR}/filters - ${INSTALL} -c psa ${SBINDIR} - ${INSTALL} -c etc2ps.sh ${SBINDIR}/etc2ps - ${INSTALL} -c pagecount.ps ${RESDIR} - ${INSTALL} -c psf ${SBINDIR} - for i in ${LINKS} ; do \ -- rm -f ${RESDIR}/filters/$$i; \ -- ln -s ${SBINDIR}/psf ${RESDIR}/filters/$$i; \ -+ rm -f ${SBINDIR}/filters/$$i; \ -+ ln -s ${SBINDIR}/psf ${SBINDIR}/filters/$$i; \ - done - - clean : |