netatalk 1.4b2 port; ianm@cit.nepean.uws.edu.au
This commit is contained in:
parent
95222be495
commit
2255080328
39
net/netatalk/Makefile
Normal file
39
net/netatalk/Makefile
Normal file
@ -0,0 +1,39 @@
|
||||
# New OpenBSD Ports collection makefile for: netatalk
|
||||
#
|
||||
# Version required: 1.4b2
|
||||
# Date created: 8th January 1999
|
||||
#
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 1999/01/19 04:40:13 marc Exp $
|
||||
|
||||
DISTNAME= netatalk-1.4b2
|
||||
CATEGORIES= net print
|
||||
MASTER_SITES= ftp://terminator.rs.itd.umich.edu/unix/netatalk/
|
||||
EXTRACT_SUFX= .tar.gz
|
||||
|
||||
MAINTAINER= ianm@cit.nepean.uws.edu.au
|
||||
|
||||
# NOTES:
|
||||
# Will compile with kerberos support in apfd and papd.
|
||||
# Haven't tested kerberos support as there is no MacOS
|
||||
# support for kerberos outside the US, so your on your
|
||||
# own. Still need to add support for AFS. Will update
|
||||
# the Port shortly. 1999/01/08. ianm@cit.nepean.uws.edu.au
|
||||
|
||||
pre-configure:
|
||||
@mkdir -p ${WRKSRC}/sys/openbsd
|
||||
@cp ${FILESDIR}/sys-OpenBSD-Makefile ${WRKSRC}/sys/openbsd/Makefile
|
||||
|
||||
# This may cause problems if you don't have source installed. I'm
|
||||
# just lazy and didn't want to patch most of netatalk's makefiles, .c
|
||||
# and .h files. There's heaps that need fixing Maybe I will in the future.
|
||||
|
||||
@rm -rf ${WRKSRC}/include/netatalk
|
||||
@ln -s /sys/netatalk ${WRKSRC}/include/netatalk
|
||||
@rm -f ${WRKSRC}/sys/netatalk/*.h
|
||||
|
||||
post-install:
|
||||
@cp ${WRKSRC}/config/AppleVolumes.system /etc/netatalk
|
||||
@cp ${WRKSRC}/config/AppleVolumes.default /etc/netatalk
|
||||
@chmod 750 /etc/netatalk
|
||||
|
||||
.include <bsd.port.mk>
|
1
net/netatalk/files/md5
Normal file
1
net/netatalk/files/md5
Normal file
@ -0,0 +1 @@
|
||||
MD5 (netatalk-1.4b2.tar.gz) = b7541838044e167405bb33236faf4ce7
|
58
net/netatalk/files/sys-OpenBSD-Makefile
Normal file
58
net/netatalk/files/sys-OpenBSD-Makefile
Normal file
@ -0,0 +1,58 @@
|
||||
# OpenBSD specific defines, passed to subdirectories.
|
||||
DEFS= -DBSD4_4
|
||||
OPTOPTS= -O
|
||||
CC= gcc
|
||||
INSTALL= install
|
||||
ADDLIBS=
|
||||
|
||||
ALL= ../../libatalk ../../include ../../bin ../../etc ../../man
|
||||
|
||||
all: ${ALL}
|
||||
|
||||
../../bin ../../etc: ../../libatalk
|
||||
|
||||
${ALL}: FRC
|
||||
cd $@; ${MAKE} ${MFLAGS} CC="${CC}" \
|
||||
ADDLIBS="${ADDLIBS}" DEFS="${DEFS}" OPTOPTS="${OPTOPTS}" \
|
||||
SBINDIR="${SBINDIR}" BINDIR="${BINDIR}" RESDIR="${RESDIR}" \
|
||||
ETCDIR="${ETCDIR}" LIBDIR="${LIBDIR}" INCDIR="${INCDIR}" \
|
||||
DESTDIR="${DESTDIR}" AFSDIR="${AFSDIR}" KRBDIR="${KRBDIR}" all
|
||||
|
||||
FRC:
|
||||
|
||||
install :
|
||||
-mkdir ${DESTDIR} ${SBINDIR} ${BINDIR} ${ETCDIR} ${LIBDIR}
|
||||
for i in ${ALL}; \
|
||||
do (cd $$i; ${MAKE} ${MFLAGS} CC="${CC}" \
|
||||
ADDLIBS="${ADDLIBS}" DEFS="${DEFS}" OPTOPTS="${OPTOPTS}" \
|
||||
SBINDIR="${SBINDIR}" BINDIR="${BINDIR}" RESDIR="${RESDIR}" \
|
||||
ETCDIR="${ETCDIR}" LIBDIR="${LIBDIR}" INCDIR="${INCDIR}" \
|
||||
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 call /etc/netatalk/rc.atalk"
|
||||
@echo "in /etc/rc.local. Example:-"
|
||||
@echo "# Netatalk stuff"
|
||||
@echo ". /etc/netatalk/rc.atalk"
|
||||
@echo "See README and README.FREEBSD for more"
|
||||
@echo "information."
|
||||
|
||||
clean :
|
||||
for i in ${ALL}; \
|
||||
do (cd $$i; ${MAKE} ${MFLAGS} clean); \
|
||||
done
|
||||
|
||||
depend :
|
||||
for i in ${ALL}; \
|
||||
do (cd $$i; ${MAKE} ${MFLAGS} DEFS=${DEFS} depend); \
|
||||
done
|
||||
|
||||
# DO NOT DELETE THIS LINE
|
||||
|
44
net/netatalk/patches/patch-aa
Normal file
44
net/netatalk/patches/patch-aa
Normal file
@ -0,0 +1,44 @@
|
||||
--- Makefile.orig Thu Oct 10 04:14:20 1996
|
||||
+++ Makefile Fri Jan 8 18:14:07 1999
|
||||
@@ -1,17 +1,17 @@
|
||||
# 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
|
||||
+ETCDIR=/etc/netatalk
|
||||
# for include files
|
||||
INCDIR=$(DESTDIR)/include
|
||||
# Root of man pages. Subdirectories will be
|
||||
@@ -29,8 +29,8 @@
|
||||
# Location of the AFS and Kerberos libraries and include files. Uncomment
|
||||
# and edit these if you want to include AFS or Kerberos support in afpd
|
||||
# or Kerberos support in papd.
|
||||
-#AFSDIR=/usr/local/afs
|
||||
-#KRBDIR=/usr/local/kerberos
|
||||
+#AFSDIR=/usr
|
||||
+KRBDIR=/usr
|
||||
|
||||
##########################################################################
|
||||
|
||||
@@ -45,6 +45,8 @@
|
||||
Linux*) ARCH=linux \
|
||||
;; \
|
||||
FreeBSD*) ARCH=freebsd \
|
||||
+ ;; \
|
||||
+ OpenBSD*) ARCH=openbsd \
|
||||
;; \
|
||||
*) echo "Unknown machine type..."; exit 1 \
|
||||
;; \
|
13
net/netatalk/patches/patch-ab
Normal file
13
net/netatalk/patches/patch-ab
Normal file
@ -0,0 +1,13 @@
|
||||
--- include/atalk/compat.h.orig Thu Mar 26 23:48:33 1998
|
||||
+++ include/atalk/compat.h Thu Mar 26 23:50:32 1998
|
||||
@@ -45,3 +45,9 @@
|
||||
#ifdef __FreeBSD__
|
||||
#define SA_INTERRUPT 0
|
||||
#endif __FreeBSD__
|
||||
+
|
||||
+#ifdef __OpenBSD__
|
||||
+#ifndef SA_INTERRUPT
|
||||
+#define SA_INTERRUPT 0
|
||||
+#endif SA_INTERRUPT
|
||||
+#endif __OpenBSD__
|
||||
|
29
net/netatalk/patches/patch-ac
Normal file
29
net/netatalk/patches/patch-ac
Normal file
@ -0,0 +1,29 @@
|
||||
--- etc/afpd/unix.c.orig Fri Mar 27 00:00:03 1998
|
||||
+++ etc/afpd/unix.c Fri Mar 27 00:14:18 1998
|
||||
@@ -37,14 +37,14 @@
|
||||
#include <sys/mnttab.h>
|
||||
#endif __svr4__
|
||||
|
||||
-#ifdef __FreeBSD__
|
||||
+#if defined( __FreeBSD__ ) || defined( __OpenBSD__ )
|
||||
#include <ufs/ufs/quota.h>
|
||||
#include <sys/mount.h>
|
||||
#define dqb_btimelimit dqb_btime
|
||||
-#endif __FreeBSD__
|
||||
+#endif __FreeBSD__ __OpenBSD__
|
||||
|
||||
#if !defined( linux ) && !defined( ultrix ) && !defined( __svr4__ ) && \
|
||||
- !defined( __FreeBSD__ )
|
||||
+ !defined( __FreeBSD__ ) && !defined( __OpenBSD__ )
|
||||
#include <ufs/quota.h>
|
||||
#include <mntent.h>
|
||||
#endif linux ultrix __svr4__
|
||||
@@ -169,7 +169,7 @@
|
||||
}
|
||||
|
||||
#else ultrix
|
||||
-#ifdef __FreeBSD__
|
||||
+#if defined ( __FreeBSD__ ) || ( __OpenBSD__ )
|
||||
|
||||
char *
|
||||
special( file )
|
32
net/netatalk/patches/patch-ad
Normal file
32
net/netatalk/patches/patch-ad
Normal file
@ -0,0 +1,32 @@
|
||||
--- rc.atalk.bsd.orig Fri Jan 8 18:23:55 1999
|
||||
+++ rc.atalk.bsd Fri Jan 8 18:25:27 1999
|
||||
@@ -15,11 +15,11 @@
|
||||
|
||||
echo -n 'starting appletalk daemons:'
|
||||
if [ -f :SBINDIR:/atalkd ]; then
|
||||
- :SBINDIR:/atalkd; echo -n ' atalkd'
|
||||
+ :SBINDIR:/atalkd -f /etc/netatalk/atalk.conf; echo -n ' atalkd'
|
||||
fi
|
||||
|
||||
if [ -f :BINDIR:/nbprgstr ]; then
|
||||
- :BINDIR:/nbprgstr -p 4 `hostname|sed 's/\..*$//'`:Workstation
|
||||
+ :BINDIR:/nbprgstr -p 4 `hostname|sed 's/\..*$//'`:Server
|
||||
:BINDIR:/nbprgstr -p 4 `hostname|sed 's/\..*$//'`:netatalk
|
||||
echo -n ' nbprgstr'
|
||||
fi
|
||||
@@ -29,11 +29,11 @@
|
||||
fi
|
||||
|
||||
if [ -f :SBINDIR:/afpd ]; then
|
||||
- :SBINDIR:/afpd; echo -n ' afpd'
|
||||
+ :SBINDIR:/afpd -f /etc/netatalk/AppleVolumes.default; echo -n ' afpd'
|
||||
fi
|
||||
|
||||
-if [ -f :SBINDIR:/timelord ]; then
|
||||
- :SBINDIR:/timelord; echo -n ' timelord'
|
||||
-fi
|
||||
+#if [ -f :SBINDIR:/timelord ]; then
|
||||
+# :SBINDIR:/timelord; echo -n ' timelord'
|
||||
+#fi
|
||||
|
||||
echo '.'
|
66
net/netatalk/patches/patch-ae
Normal file
66
net/netatalk/patches/patch-ae
Normal file
@ -0,0 +1,66 @@
|
||||
*** etc/afpd/unix.c- Tue Oct 1 15:26:52 1996
|
||||
--- etc/afpd/unix.c Mon Aug 18 21:32:59 1997
|
||||
***************
|
||||
*** 77,100 ****
|
||||
#else ultrix
|
||||
struct statfs sfs;
|
||||
#endif ultrix
|
||||
|
||||
if ( statfs( vol->v_path, &sfs ) < 0 ) {
|
||||
return( AFPERR_PARAM );
|
||||
}
|
||||
-
|
||||
#ifdef ultrix
|
||||
! *bfree = sfs.fd_req.bfreen * 1024;
|
||||
#else
|
||||
! *bfree = sfs.f_bavail * sfs.f_frsize;
|
||||
#endif ultrix
|
||||
|
||||
#ifdef ultrix
|
||||
! *btotal = ( sfs.fd_req.btot - ( sfs.fd_req.bfree - sfs.fd_req.bfreen )) *
|
||||
! 1024;
|
||||
#else ultrix
|
||||
! *btotal = ( sfs.f_blocks - ( sfs.f_bfree - sfs.f_bavail )) * sfs.f_frsize;
|
||||
#endif ultrix
|
||||
|
||||
return( AFP_OK );
|
||||
}
|
||||
|
||||
--- 78,114 ----
|
||||
#else ultrix
|
||||
struct statfs sfs;
|
||||
#endif ultrix
|
||||
+ u_long multi;
|
||||
|
||||
if ( statfs( vol->v_path, &sfs ) < 0 ) {
|
||||
return( AFPERR_PARAM );
|
||||
}
|
||||
#ifdef ultrix
|
||||
! multi = 1024;
|
||||
! *bfree = sfs.fd_req.bfreen;
|
||||
#else
|
||||
! multi = sfs.f_frsize;
|
||||
! *bfree = sfs.f_bavail;
|
||||
#endif ultrix
|
||||
|
||||
+ if ( *bfree > 0x7fffffff / multi ) {
|
||||
+ *bfree = 0x7fffffff;
|
||||
+ } else {
|
||||
+ *bfree *= multi;
|
||||
+ }
|
||||
+
|
||||
#ifdef ultrix
|
||||
! *btotal = sfs.fd_req.btot - ( sfs.fd_req.bfree - sfs.fd_req.bfreen );
|
||||
#else ultrix
|
||||
! *btotal = sfs.f_blocks - ( sfs.f_bfree - sfs.f_bavail );
|
||||
#endif ultrix
|
||||
|
||||
+ if ( *btotal > 0x7fffffff / multi ) {
|
||||
+ *btotal = 0x7fffffff;
|
||||
+ } else {
|
||||
+ *btotal *= multi;
|
||||
+ }
|
||||
+
|
||||
return( AFP_OK );
|
||||
}
|
||||
|
175
net/netatalk/patches/patch-af
Normal file
175
net/netatalk/patches/patch-af
Normal file
@ -0,0 +1,175 @@
|
||||
*** etc/afpd/file.c- 1997/08/17 00:01:46
|
||||
--- etc/afpd/file.c 1997/08/20 22:39:08
|
||||
***************
|
||||
*** 125,139 ****
|
||||
break;
|
||||
|
||||
case FILPBIT_FINFO :
|
||||
! if ( !isad ||
|
||||
! bcmp( ad_entry( &ad, ADEID_FINDERI ), ufinderi, 8 ) == 0 ) {
|
||||
bcopy( ufinderi, data, 32 );
|
||||
- if (( em = getextmap( path )) != NULL ) {
|
||||
- bcopy( em->em_type, data, sizeof( em->em_type ));
|
||||
- bcopy( em->em_creator, data + 4, sizeof( em->em_creator ));
|
||||
- }
|
||||
} else {
|
||||
bcopy( ad_entry( &ad, ADEID_FINDERI ), data, 32 );
|
||||
}
|
||||
data += 32;
|
||||
break;
|
||||
--- 125,139 ----
|
||||
break;
|
||||
|
||||
case FILPBIT_FINFO :
|
||||
! if ( !isad ) {
|
||||
bcopy( ufinderi, data, 32 );
|
||||
} else {
|
||||
bcopy( ad_entry( &ad, ADEID_FINDERI ), data, 32 );
|
||||
+ }
|
||||
+ if ( bcmp( data, ufinderi, 8 ) == 0 &&
|
||||
+ ( em = getextmap( path )) != NULL ) {
|
||||
+ bcopy( em->em_type, data, sizeof( em->em_type ));
|
||||
+ bcopy( em->em_creator, data + 4, sizeof( em->em_creator ));
|
||||
}
|
||||
data += 32;
|
||||
break;
|
||||
*** etc/afpd/fork.c- 1997/08/17 00:01:46
|
||||
--- etc/afpd/fork.c 1997/08/26 03:50:24
|
||||
***************
|
||||
*** 95,108 ****
|
||||
|
||||
if ( ad_open( mtoupath( path ), adflags, oflags, 0,
|
||||
&ofork->of_ad ) < 0 ) {
|
||||
! if ( errno == ENOENT && adflags != ADFLAGS_HF ) {
|
||||
ad_close( &ofork->of_ad, adflags );
|
||||
! if ( ad_open( mtoupath( path ), ADFLAGS_DF, oflags, 0,
|
||||
! &ofork->of_ad ) < 0 ) {
|
||||
! ad_close( &ofork->of_ad, ADFLAGS_DF );
|
||||
! of_dealloc( ofork );
|
||||
! *rbuflen = 0;
|
||||
! return( AFPERR_NOOBJ );
|
||||
}
|
||||
} else {
|
||||
of_dealloc( ofork );
|
||||
--- 95,110 ----
|
||||
|
||||
if ( ad_open( mtoupath( path ), adflags, oflags, 0,
|
||||
&ofork->of_ad ) < 0 ) {
|
||||
! if ( errno == ENOENT ) {
|
||||
ad_close( &ofork->of_ad, adflags );
|
||||
! if ( adflags != ADFLAGS_HF ) {
|
||||
! if ( ad_open( mtoupath( path ), ADFLAGS_DF, oflags, 0,
|
||||
! &ofork->of_ad ) < 0 ) {
|
||||
! ad_close( &ofork->of_ad, ADFLAGS_DF );
|
||||
! of_dealloc( ofork );
|
||||
! *rbuflen = 0;
|
||||
! return( AFPERR_NOOBJ );
|
||||
! }
|
||||
}
|
||||
} else {
|
||||
of_dealloc( ofork );
|
||||
***************
|
||||
*** 171,176 ****
|
||||
--- 173,181 ----
|
||||
lockfd = ad_dfileno( &ofork->of_ad );
|
||||
} else {
|
||||
lockfd = ad_hfileno( &ofork->of_ad );
|
||||
+ if ( lockfd == -1 ) {
|
||||
+ lockop = 0;
|
||||
+ }
|
||||
}
|
||||
if ( lockop && flock( lockfd, lockop|LOCK_NB ) < 0 ) {
|
||||
ret = errno;
|
||||
***************
|
||||
*** 318,325 ****
|
||||
|
||||
if ( ad_dfileno( &ofork->of_ad ) != -1 ) {
|
||||
eid = ADEID_DFORK;
|
||||
! } else {
|
||||
eid = ADEID_RFORK;
|
||||
}
|
||||
|
||||
if ( reqcount < 0 ) {
|
||||
--- 323,333 ----
|
||||
|
||||
if ( ad_dfileno( &ofork->of_ad ) != -1 ) {
|
||||
eid = ADEID_DFORK;
|
||||
! } else if ( ad_hfileno( &ofork->of_ad ) != -1 ) {
|
||||
eid = ADEID_RFORK;
|
||||
+ } else {
|
||||
+ *rbuflen = 0;
|
||||
+ return( AFPERR_EOF );
|
||||
}
|
||||
|
||||
if ( reqcount < 0 ) {
|
||||
***************
|
||||
*** 548,555 ****
|
||||
*rbuflen = 0;
|
||||
return( AFPERR_DFULL );
|
||||
default :
|
||||
- syslog( LOG_ERR, "afp_write: ad_write: %m" );
|
||||
*rbuflen = 0;
|
||||
return( AFPERR_PARAM );
|
||||
}
|
||||
}
|
||||
--- 556,563 ----
|
||||
*rbuflen = 0;
|
||||
return( AFPERR_DFULL );
|
||||
default :
|
||||
*rbuflen = 0;
|
||||
+ syslog( LOG_ERR, "afp_write: ad_write: %m" );
|
||||
return( AFPERR_PARAM );
|
||||
}
|
||||
}
|
||||
***************
|
||||
*** 642,649 ****
|
||||
}
|
||||
if ( bitmap & ( 1<<FILPBIT_DFLEN | 1<<FILPBIT_FNUM )) {
|
||||
if ( ad_dfileno( &ofork->of_ad ) == -1 ) {
|
||||
! if ( fstat( ad_hfileno( &ofork->of_ad ), &st ) < 0 ) {
|
||||
! return( AFPERR_BITMAP );
|
||||
}
|
||||
} else {
|
||||
if ( fstat( ad_dfileno( &ofork->of_ad ), &st ) < 0 ) {
|
||||
--- 650,657 ----
|
||||
}
|
||||
if ( bitmap & ( 1<<FILPBIT_DFLEN | 1<<FILPBIT_FNUM )) {
|
||||
if ( ad_dfileno( &ofork->of_ad ) == -1 ) {
|
||||
! if ( stat( mtoupath( ofork->of_name ), &st ) < 0 ) {
|
||||
! return( AFPERR_NOOBJ );
|
||||
}
|
||||
} else {
|
||||
if ( fstat( ad_dfileno( &ofork->of_ad ), &st ) < 0 ) {
|
||||
***************
|
||||
*** 710,724 ****
|
||||
break;
|
||||
|
||||
case FILPBIT_FINFO :
|
||||
! if ( !isad || bcmp( ad_entry( &ofork->of_ad, ADEID_FINDERI ),
|
||||
! ufinderi, 8 ) == 0 ) {
|
||||
bcopy( ufinderi, data, 32 );
|
||||
- if (( em = getextmap( ofork->of_name )) != NULL ) {
|
||||
- bcopy( em->em_type, data, sizeof( em->em_type ));
|
||||
- bcopy( em->em_creator, data + 4, sizeof( em->em_creator ));
|
||||
- }
|
||||
} else {
|
||||
bcopy( ad_entry( &ofork->of_ad, ADEID_FINDERI ), data, 32 );
|
||||
}
|
||||
data += 32;
|
||||
break;
|
||||
--- 718,732 ----
|
||||
break;
|
||||
|
||||
case FILPBIT_FINFO :
|
||||
! if ( !isad ) {
|
||||
bcopy( ufinderi, data, 32 );
|
||||
} else {
|
||||
bcopy( ad_entry( &ofork->of_ad, ADEID_FINDERI ), data, 32 );
|
||||
+ }
|
||||
+ if ( bcmp( data, ufinderi, 8 ) == 0 &&
|
||||
+ ( em = getextmap( ofork->of_name )) != NULL ) {
|
||||
+ bcopy( em->em_type, data, sizeof( em->em_type ));
|
||||
+ bcopy( em->em_creator, data + 4, sizeof( em->em_creator ));
|
||||
}
|
||||
data += 32;
|
||||
break;
|
11
net/netatalk/patches/patch-ag
Normal file
11
net/netatalk/patches/patch-ag
Normal file
@ -0,0 +1,11 @@
|
||||
--- etc/afpd/Makefile.orig Fri Jan 8 19:06:13 1999
|
||||
+++ etc/afpd/Makefile Fri Jan 8 19:06:31 1999
|
||||
@@ -21,7 +21,7 @@
|
||||
if [ x"${KRBDIR}" != x ]; then \
|
||||
KRBLIBS="-lkrb -ldes"; \
|
||||
KRBLIBDIRS="-L${KRBDIR}/lib"; \
|
||||
- KRBINCPATH="-I${KRBDIR}/include"; \
|
||||
+ KRBINCPATH="-I${KRBDIR}/include/kerberosIV"; \
|
||||
KRBDEFS="-DKRB"; \
|
||||
fi; \
|
||||
if [ x"${AFSDIR}" != x ]; then \
|
11
net/netatalk/patches/patch-ah
Normal file
11
net/netatalk/patches/patch-ah
Normal file
@ -0,0 +1,11 @@
|
||||
--- etc/papd/Makefile.orig Fri Jan 8 19:13:41 1999
|
||||
+++ etc/papd/Makefile Fri Jan 8 19:13:57 1999
|
||||
@@ -15,7 +15,7 @@
|
||||
if [ x"${KRBDIR}" != x ]; then \
|
||||
KRBLIBS="-lkrb -ldes"; \
|
||||
KRBLIBDIRS="-L${KRBDIR}/lib"; \
|
||||
- KRBINCPATH="-I${KRBDIR}/include"; \
|
||||
+ KRBINCPATH="-I${KRBDIR}/include/kerberosIV"; \
|
||||
KRBDEFS="-DKRB"; \
|
||||
fi; \
|
||||
${MAKE} ${MFLAGS} CC="${CC}" ADDLIBS="${ADDLIBS}" DEFS="${DEFS}" \
|
11
net/netatalk/patches/patch-ai
Normal file
11
net/netatalk/patches/patch-ai
Normal file
@ -0,0 +1,11 @@
|
||||
--- etc/afpd/auth.c.orig Sun Jan 10 21:57:06 1999
|
||||
+++ etc/afpd/auth.c Sun Jan 10 22:00:21 1999
|
||||
@@ -39,7 +39,7 @@
|
||||
#if defined( KRB ) || defined( UAM_AFSKRB )
|
||||
#include <krb.h>
|
||||
#include <des.h>
|
||||
-#include <prot.h>
|
||||
+
|
||||
|
||||
C_Block seskey;
|
||||
Key_schedule seskeysched;
|
154
net/netatalk/patches/patch-aj
Normal file
154
net/netatalk/patches/patch-aj
Normal file
@ -0,0 +1,154 @@
|
||||
--- config/AppleVolumes.system.orig Sun Jan 10 22:08:17 1999
|
||||
+++ config/AppleVolumes.system Sun Jan 10 23:09:19 1999
|
||||
@@ -7,43 +7,135 @@
|
||||
# files of type TEXT. The first line turns off translation for files of
|
||||
# unknown type, the second turns this translation on.
|
||||
. BINA UNIX
|
||||
-# . TEXT UNIX
|
||||
+#. TEXT UNIX
|
||||
+#. TEXT ttxt
|
||||
|
||||
# sounds
|
||||
+.aif AIFF SNdm
|
||||
+.aifc AIFF SNdm
|
||||
+.aiff AIFF SNdm
|
||||
+.au ULAW SNdm
|
||||
+.med STrk STrk
|
||||
.mod STrk STrk
|
||||
.mid Midi ttxt
|
||||
-.aiff AIFF SNdm
|
||||
+.svx SVXB BSnd
|
||||
+.voc ovc BSnd
|
||||
.wav WAVE SNdm
|
||||
-.au ULAW SNdm
|
||||
|
||||
# video
|
||||
+.avi BINA AVIC
|
||||
+.fli FLI AnVw
|
||||
+.gl BINA AnVw
|
||||
.moov MooV mMPG
|
||||
.mov MooV mMPG
|
||||
+.mpe MPEG mMPG
|
||||
.mpg MPEG mMPG
|
||||
.mpeg MPEG mMPG
|
||||
+.qt MooV ttxt
|
||||
|
||||
# formatted text
|
||||
+.asc TEXT ttxt
|
||||
+.ascii TEXT ttxt
|
||||
+.bat TEXT ttxt
|
||||
+.bok FBok Fra5
|
||||
+.book FBok Fra5
|
||||
+.c TEXT MMCC
|
||||
+.cp TEXT MMCC
|
||||
+.cpp TEXT MMCC
|
||||
+.dbf COMP FOX
|
||||
+.doc WDBN MSWD
|
||||
+.dvi ODVI OTEX
|
||||
+.evy ENYD ENVY
|
||||
+.eps EPSF vgrd
|
||||
+.epsf EPSF vgrd
|
||||
+.etx TEXT R*ch
|
||||
+.faq TEXT ttxt
|
||||
+.fm FMPR FMPR
|
||||
+.fm5 FASL Fra5
|
||||
+.h TEXT MMCC
|
||||
+.hp TEXT MMCC
|
||||
+.hpp TEXT MMCC
|
||||
+.htm TEXT MOS!
|
||||
.html TEXT MOS!
|
||||
+.java TEXT ALFA
|
||||
+.latex TEXT OTEX
|
||||
+.mif TEXT Fram
|
||||
+.mswd WDBN MSWD
|
||||
+.mw WORD MWII
|
||||
+.mwii WORD MWII
|
||||
+.oda ODIF ODA
|
||||
+.p TEXT MWPS
|
||||
+.pas TEXT MWPS
|
||||
+.ps TEXT vgrd
|
||||
+.pdf PDF CARO
|
||||
+.pl TEXT McPL
|
||||
+.pm4 ALB4 ALD4
|
||||
+.ppd SLD3 PPT3
|
||||
+.readme TEXT R*ch
|
||||
.rtf TEXT MSWD
|
||||
-.doc WDBN MSWD
|
||||
+.rpl FRL! REP!
|
||||
+.rtx TEXT R*ch
|
||||
+.sylk TEXT XCEL
|
||||
+.syk TEXT XCEL
|
||||
+.tex TEXT OTEX
|
||||
+.texi TEXT OTEX
|
||||
+.texinfo TEXT OTEX
|
||||
+.tsv TEXT R*ch
|
||||
+.txt TEXT MSWD
|
||||
+.url AURL Arch
|
||||
+.wk1 TEXT XCEL
|
||||
+.wks TEXT XCEL
|
||||
+.w51 WPPC WPC2
|
||||
+.wp5 WPPC WPC2
|
||||
+.wp WPPC WPC2
|
||||
+.xl XLS4 XCEL
|
||||
+.xlc XLC4 XCEL
|
||||
+.xlm XLM4 XCEL
|
||||
+.xls XLS4 XCEL
|
||||
|
||||
# compressed archives
|
||||
-.bin BINA MB2P
|
||||
-.zip ZIP ZIP
|
||||
-.tar TARF TAR!
|
||||
-.gz Gzip Gzip
|
||||
-.Z ZIVM LZIV
|
||||
-.sea ???? SITx
|
||||
+.arc BINA arc=A9
|
||||
+.bar BARF S6+1
|
||||
+.bin BINA SITx
|
||||
.cpt PACT CPCT
|
||||
-.sit SIT! SIT!
|
||||
+.gz Gzip Gzip
|
||||
.hqx TEXT SITx
|
||||
+.lha LHA LARC
|
||||
+.lzh LHA LARC
|
||||
+.pit PIT SITx
|
||||
+.sea APPL ????
|
||||
+.sit SIT! SIT!
|
||||
+.sithqx TEXT SITx
|
||||
+.tar TARF TAR!
|
||||
+#.tar TARF S6+1
|
||||
+.taz ZIVM SITx
|
||||
+.tgz Gzip SITx
|
||||
+.uu TEXT uuUN
|
||||
+.uue TEXT uuUN
|
||||
+.zip ZIP ZIP
|
||||
+.Z ZIVM LZIV
|
||||
|
||||
# graphics
|
||||
-.tiff TIFF JVWR
|
||||
-.tif TIFF JVWR
|
||||
.bmp BMPp JVWR
|
||||
-.pct PICT ttxt
|
||||
-.pict PICT ttxt
|
||||
+.gif GIFf JVWR
|
||||
+.ief IEF GKON
|
||||
.jpeg JPEG JVWR
|
||||
+.jpe JPEG JVWM
|
||||
.jpg JPEG JVWR
|
||||
-.gif GIFf JVWR
|
||||
+.pbm PPGM GKON
|
||||
+.pgm PPGM GKON
|
||||
+.pct PICT ttxt
|
||||
+.pict PICT ttxt
|
||||
+.ppm PPGM GKON
|
||||
+.psd 8BPS 8BIM
|
||||
+.rle RLE GKON
|
||||
+.tiff TIFF JVWR
|
||||
+.tif TIFF JVWR
|
||||
+.xbm XBM GKON
|
||||
+
|
||||
+#Misc Binary Files
|
||||
+.com PCFA PCXT
|
||||
+.dll PCFL PCXT
|
||||
+.exe PCFA PCXT
|
||||
+.obj PCFL PCXT
|
||||
+.ovl PCFL PCXT
|
1
net/netatalk/pkg/COMMENT
Normal file
1
net/netatalk/pkg/COMMENT
Normal file
@ -0,0 +1 @@
|
||||
File and Print Services for AppleTalk Networks
|
22
net/netatalk/pkg/DESCR
Normal file
22
net/netatalk/pkg/DESCR
Normal file
@ -0,0 +1,22 @@
|
||||
netatalk - File and Print Server for AppleTalk networks
|
||||
|
||||
netatalk is a server software for AppleTalk networks. Features include:
|
||||
|
||||
o Access to the UNIX file system for Macintosh and other systems with
|
||||
AppleShare client software.
|
||||
|
||||
o Spool PostScript print jobs to the lpd(8) spool system via Printer Access
|
||||
Protocol (PAP).
|
||||
|
||||
o Output PostScript print jobs from the lpd(8) spool system via Printer
|
||||
Access Protocol (PAP).
|
||||
|
||||
o Filter PostScript, ASCII, and various other formats to PostScript,
|
||||
including banner pages and page reversal.
|
||||
|
||||
o Route AppleTalk between multiple Ethernet interfaces.
|
||||
|
||||
Requires AppleTalk support in the kernel (OpenBSD 2.2 or newer).
|
||||
Compile a kernel with option NETATALK
|
||||
|
||||
See http://www.umich.edu/~rsug/netatalk/ for further information.
|
93
net/netatalk/pkg/PLIST
Normal file
93
net/netatalk/pkg/PLIST
Normal file
@ -0,0 +1,93 @@
|
||||
bin/aecho
|
||||
bin/getzones
|
||||
bin/hqx2bin
|
||||
bin/macbinary
|
||||
bin/megatron
|
||||
bin/nbplkup
|
||||
bin/nbprgstr
|
||||
bin/nbpunrgstr
|
||||
bin/pap
|
||||
bin/papstatus
|
||||
bin/psorder
|
||||
bin/single2bin
|
||||
bin/unbin
|
||||
bin/unhex
|
||||
bin/unsingle
|
||||
include/atalk/adouble.h
|
||||
include/atalk/aep.h
|
||||
include/atalk/afp.h
|
||||
include/atalk/asp.h
|
||||
include/atalk/atp.h
|
||||
include/atalk/compat.h
|
||||
include/atalk/ddp.h
|
||||
include/atalk/nbp.h
|
||||
include/atalk/pap.h
|
||||
include/atalk/paths.h
|
||||
include/atalk/rtmp.h
|
||||
include/atalk/zip.h
|
||||
include/netatalk/aarp.h
|
||||
include/netatalk/at.h
|
||||
include/netatalk/at_extern.h
|
||||
include/netatalk/at_var.h
|
||||
include/netatalk/ddp.h
|
||||
include/netatalk/ddp_var.h
|
||||
include/netatalk/endian.h
|
||||
include/netatalk/phase2.h
|
||||
lib/libatalk.a
|
||||
lib/libatalk_p.a
|
||||
libexec/afpd
|
||||
libexec/atalkd
|
||||
libexec/etc2ps
|
||||
libexec/papd
|
||||
libexec/psa
|
||||
libexec/psf
|
||||
man/man1/aecho.1
|
||||
man/man1/getzones.1
|
||||
man/man1/hqx2bin.1
|
||||
man/man1/macbinary.1
|
||||
man/man1/megatron.1
|
||||
man/man1/nbp.1
|
||||
man/man1/nbplkup.1
|
||||
man/man1/nbprgstr.1
|
||||
man/man1/pap.1
|
||||
man/man1/papstatus.1
|
||||
man/man1/psorder.1
|
||||
man/man1/single2bin.1
|
||||
man/man1/unbin.1
|
||||
man/man1/unhex.1
|
||||
man/man1/unsingle.1
|
||||
man/man3/atalk_aton.3
|
||||
man/man3/nbp_name.3
|
||||
man/man4/atalk.4
|
||||
man/man8/afpd.8
|
||||
man/man8/atalkd.8
|
||||
man/man8/papd.8
|
||||
man/man8/psf.8
|
||||
share/filters/ifmpap
|
||||
share/filters/ifmpaprev
|
||||
share/filters/ifpap
|
||||
share/filters/ifpaprev
|
||||
share/filters/ifwmpap
|
||||
share/filters/ifwmpaprev
|
||||
share/filters/ifwpap
|
||||
share/filters/ifwpaprev
|
||||
share/filters/ofmpap
|
||||
share/filters/ofpap
|
||||
share/filters/ofwmpap
|
||||
share/filters/ofwpap
|
||||
share/filters/tfmpap
|
||||
share/filters/tfmpaprev
|
||||
share/filters/tfpap
|
||||
share/filters/tfpaprev
|
||||
share/filters/tfwmpap
|
||||
share/filters/tfwmpaprev
|
||||
share/filters/tfwpap
|
||||
share/filters/tfwpaprev
|
||||
share/pagecount.ps
|
||||
@dirrm include/atalk
|
||||
@dirrm include/netatalk
|
||||
@dirrm share/filters
|
||||
@unexec echo ""
|
||||
@unexec echo "** remove the directory /etc/netatalk (and its contents)"
|
||||
@unexec echo "** to completely delete this package"
|
||||
@unexec echo ""
|
Loading…
x
Reference in New Issue
Block a user