head	1.11;
access;
symbols
	pkgsrc-2014Q1:1.10.0.30
	pkgsrc-2014Q1-base:1.10
	pkgsrc-2013Q4:1.10.0.28
	pkgsrc-2013Q4-base:1.10
	pkgsrc-2013Q3:1.10.0.26
	pkgsrc-2013Q3-base:1.10
	pkgsrc-2013Q2:1.10.0.24
	pkgsrc-2013Q2-base:1.10
	pkgsrc-2013Q1:1.10.0.22
	pkgsrc-2013Q1-base:1.10
	pkgsrc-2012Q4:1.10.0.20
	pkgsrc-2012Q4-base:1.10
	pkgsrc-2012Q3:1.10.0.18
	pkgsrc-2012Q3-base:1.10
	pkgsrc-2012Q2:1.10.0.16
	pkgsrc-2012Q2-base:1.10
	pkgsrc-2012Q1:1.10.0.14
	pkgsrc-2012Q1-base:1.10
	pkgsrc-2011Q4:1.10.0.12
	pkgsrc-2011Q4-base:1.10
	pkgsrc-2011Q3:1.10.0.10
	pkgsrc-2011Q3-base:1.10
	pkgsrc-2011Q2:1.10.0.8
	pkgsrc-2011Q2-base:1.10
	pkgsrc-2011Q1:1.10.0.6
	pkgsrc-2011Q1-base:1.10
	pkgsrc-2010Q4:1.10.0.4
	pkgsrc-2010Q4-base:1.10
	pkgsrc-2010Q3:1.10.0.2
	pkgsrc-2010Q3-base:1.10
	pkgsrc-2010Q2:1.9.0.10
	pkgsrc-2010Q2-base:1.9
	pkgsrc-2010Q1:1.9.0.8
	pkgsrc-2010Q1-base:1.9
	pkgsrc-2009Q4:1.9.0.6
	pkgsrc-2009Q4-base:1.9
	pkgsrc-2009Q3:1.9.0.4
	pkgsrc-2009Q3-base:1.9
	pkgsrc-2009Q2:1.9.0.2
	pkgsrc-2009Q2-base:1.9
	pkgsrc-2009Q1:1.8.0.32
	pkgsrc-2009Q1-base:1.8
	pkgsrc-2008Q4:1.8.0.30
	pkgsrc-2008Q4-base:1.8
	pkgsrc-2008Q3:1.8.0.28
	pkgsrc-2008Q3-base:1.8
	cube-native-xorg:1.8.0.26
	cube-native-xorg-base:1.8
	pkgsrc-2008Q2:1.8.0.24
	pkgsrc-2008Q2-base:1.8
	cwrapper:1.8.0.22
	pkgsrc-2008Q1:1.8.0.20
	pkgsrc-2008Q1-base:1.8
	pkgsrc-2007Q4:1.8.0.18
	pkgsrc-2007Q4-base:1.8
	pkgsrc-2007Q3:1.8.0.16
	pkgsrc-2007Q3-base:1.8
	pkgsrc-2007Q2:1.8.0.14
	pkgsrc-2007Q2-base:1.8
	pkgsrc-2007Q1:1.8.0.12
	pkgsrc-2007Q1-base:1.8
	pkgsrc-2006Q4:1.8.0.10
	pkgsrc-2006Q4-base:1.8
	pkgsrc-2006Q3:1.8.0.8
	pkgsrc-2006Q3-base:1.8
	pkgsrc-2006Q2:1.8.0.6
	pkgsrc-2006Q2-base:1.8
	pkgsrc-2006Q1:1.8.0.4
	pkgsrc-2006Q1-base:1.8
	pkgsrc-2005Q4:1.8.0.2
	pkgsrc-2005Q4-base:1.8
	pkgsrc-2005Q3:1.7.0.16
	pkgsrc-2005Q3-base:1.7
	pkgsrc-2005Q2:1.7.0.14
	pkgsrc-2005Q2-base:1.7
	pkgsrc-2005Q1:1.7.0.12
	pkgsrc-2005Q1-base:1.7
	pkgsrc-2004Q4:1.7.0.10
	pkgsrc-2004Q4-base:1.7
	pkgsrc-2004Q3:1.7.0.8
	pkgsrc-2004Q3-base:1.7
	pkgsrc-2004Q2:1.7.0.6
	pkgsrc-2004Q2-base:1.7
	pkgsrc-2004Q1:1.7.0.4
	pkgsrc-2004Q1-base:1.7
	pkgsrc-2003Q4:1.7.0.2
	pkgsrc-2003Q4-base:1.7
	netbsd-1-6-1:1.6.0.2
	netbsd-1-6-1-base:1.6
	netbsd-1-6:1.3.0.6
	netbsd-1-6-RELEASE-base:1.3
	pkgviews:1.3.0.2
	pkgviews-base:1.3
	buildlink2:1.2.0.2
	buildlink2-base:1.3
	netbsd-1-5-PATCH003:1.2
	netbsd-1-5-PATCH001:1.2
	netbsd-1-5-RELEASE:1.2
	netbsd-1-4-PATCH003:1.2
	netbsd-1-4-PATCH002:1.2
	comdex-fall-1999:1.2
	netbsd-1-4-PATCH001:1.1.1.1
	netbsd-1-4-RELEASE:1.1.1.1
	pkgsrc-base:1.1.1.1
	TNF:1.1.1;
locks; strict;
comment	@# @;


1.11
date	2014.06.11.11.03.56;	author hauke;	state dead;
branches;
next	1.10;
commitid	2Q8IGfQDXWRnT5Ex;

1.10
date	2010.07.19.21.21.25;	author markd;	state Exp;
branches;
next	1.9;

1.9
date	2009.06.09.13.57.56;	author taca;	state Exp;
branches;
next	1.8;

1.8
date	2005.10.07.12.18.19;	author rillig;	state Exp;
branches;
next	1.7;

1.7
date	2003.02.15.20.01.07;	author fredb;	state Exp;
branches;
next	1.6;

1.6
date	2002.09.30.09.25.24;	author abs;	state Exp;
branches;
next	1.5;

1.5
date	2002.09.02.11.52.59;	author abs;	state Exp;
branches;
next	1.4;

1.4
date	2002.09.02.11.43.39;	author abs;	state Exp;
branches;
next	1.3;

1.3
date	2002.05.25.12.55.25;	author markd;	state Exp;
branches;
next	1.2;

1.2
date	99.08.31.22.09.42;	author wrstuden;	state Exp;
branches
	1.2.2.1;
next	1.1;

1.1
date	98.12.26.22.09.27;	author agc;	state Exp;
branches
	1.1.1.1;
next	;

1.2.2.1
date	2002.06.23.18.55.59;	author jlam;	state Exp;
branches;
next	;

1.1.1.1
date	98.12.26.22.09.27;	author agc;	state Exp;
branches;
next	;


desc
@@


1.11
log
@Rename net/netatalk to net/netatalk22. This is the last version to
support the AppleTalk ddp protocol, and here to stay while NetBSD
ships with AppleTalk support.

Add Netatalk 3.0.8 wip package as net/netatalk30.

"Netatalk 3 is a freely-available implementation of the Apple
Filesharing Protocol Suite (AFP) over TCP/IP.

Using Netatalk's AFP 3.1 compliant file-server leads to significantly
higher transmissions speeds compared with Macs accessing a server via
SMB or NFS, while providing clients with the best user experience (full
support for Macintosh metadata, flawlessly supporting mixed
environments of classic MacOS and MacOS X clients)."
@
text
@$NetBSD: patch-ac,v 1.10 2010/07/19 21:21:25 markd Exp $

The original commit message for this patch:

    http://mail-index.netbsd.org/source-changes/1999/09/17/0023.html

    Patch from Juergen Hannken-Illjes, which should solve PR#8308 (net 0 is
    reserved for lo0, it can't be used on other interfaces).

Here is PR #8308:

    http://www.NetBSD.org/cgi-bin/query-pr-single.pl?number=8308

and also the change that exposed the bug:

    http://mail-index.netbsd.org/source-changes/1999/08/24/0035.html

and finally, the discussion referred to in the above change:

    http://mail-index.netbsd.org/tech-net/1999/06/30/0002.html
    http://mail-index.netbsd.org/tech-net/1999/07/01/0005.html
    http://mail-index.netbsd.org/tech-net/1999/07/01/0007.html
    http://mail-index.netbsd.org/tech-net/1999/07/02/0003.html
    http://mail-index.netbsd.org/tech-net/1999/07/02/0016.html
    http://mail-index.netbsd.org/tech-net/1999/07/02/0017.html
    http://mail-index.netbsd.org/tech-net/1999/07/02/0018.html
    http://mail-index.netbsd.org/tech-net/1999/07/02/0020.html
    http://mail-index.netbsd.org/tech-net/1999/07/02/0022.html
    http://mail-index.netbsd.org/tech-net/1999/07/03/0004.html

--- etc/atalkd/main.c.orig	2009-12-13 02:21:47.000000000 +0000
+++ etc/atalkd/main.c
@@@@ -296,10 +296,10 @@@@ static void as_timer(int sig _U_)
 		    LOG(log_info, logtype_atalkd, "config for no router" );
 		      
 		    if ( iface->i_flags & IFACE_PHASE2 ) {
-			iface->i_rt->rt_firstnet = 0;
+			iface->i_rt->rt_firstnet = htons(1);
 			iface->i_rt->rt_lastnet = htons( STARTUP_LASTNET );
 			setaddr( iface, IFACE_PHASE2, iface->i_addr.sat_addr.s_net, iface->i_addr.sat_addr.s_node,
-				0, htons( STARTUP_LASTNET ));
+				htons(1), htons( STARTUP_LASTNET ));
 		    }
 		    if ( looproute( iface, RTMP_ADD ) ) { /* -1 or 1 */
 			LOG(log_error, logtype_atalkd, "as_timer: can't route %u.%u to loopback: %s",
@


1.10
log
@Update to netatalk 2.1.3

Changes in 2.1.3
================

* FIX: afpd: fix a serious error in networking IO code
* FIX: afpd: Solaris 10 compatibilty fix: don't use SO_SNDTIMEO, use
       non-blocking IO and select instead for writing/sending data.
* UPD: Support for BerkeleyDB 5.0.

Changes in 2.1.2
================

* FIX: afpd: fix for possible crash in case more then one server is
       configured in afpd.conf.
* FIX: afpd: ExtendedAttributes in FreeBSD
* FIX: afpd: sharing home folders corrupted the per volume umask.
* UPD: afpd: umask for home folders is no longer taken from startup umask.
* UPD: afpd: dont and permissions with parent folder when creating new
       directories on "upriv" volumes.
* UPD: afpd: use 'afpserver@@fqdn' instead of 'afpserver/fqdn@@realm'.
       Prevents a crash in older GNU GSSAPI libs on eg. CentOS 5.x.

Changes in 2.1.1
================

* UPD: fallback to a temporary in memory tdb CNID database if the volume
       database can't be opened now works with the default backend "dbd" too.
* FIX: afpd: afp_ldap.conf was missing from tarball. This only effected
       [Open]Solaris.
* FIX: afpd: Check if options->server is set in set_signature, preventing
       SIGSEGV.
* FIX: afpd: server signature wasn't initialized in some cases
* FIX: DESTDIR support: DESTDIR was expanded twice
* FIX: Fix for compilation error if header files of an older Netatalk
       version are installed.

Changes in 2.1-release
======================

* NEW: afpd: new volume option "volsizelimit" for limitting reported volume
       size. Useful for limitting TM backup size.
* UPD: dbd: -c option for rebuilding volumes which prevents the creation
       of .AppleDouble stuff, only removes orphaned files.

Changes in 2.1-beta2
====================
* NEW: afpd: static generated AFP signature stored in afp_signature.conf,
       cf man 5 afp_signature.conf
* NEW: afpd: clustering support: new per volume option "cnidserver".
* UPD: afpd: set volume defaults options "upriv" and "usedots" in the
       volume config file AppleVolumes.default. This will only affect
       new installations, but not upgrades.
* FIX: afpd: prevent security attack guessing valid server accounts. afpd
       now returns error -5023 for unknown users, as does AppleFileServer.

Changes in 2.1-beta1
====================

* NEW: afpd: AFP 3.2 support
* NEW: afpd: Extended Attributes support using native attributes or
       using files inside .AppleDouble directories.
* NEW: afpd: ACL support with ZFS
* NEW: cnid_metad: options -l and -f to configure logging
* NEW: IPv6 support
* NEW: AppleDouble compatible UNIX files utility suite `ad ...`.
       With 2.1 only `ad ls`.
* NEW: CNID database maintanance utility dbd
* NEW: support BerkeleyDB upgrade. Starting with the next release
       after 2.1 in case of BerkeleyDB library updates, Netatalk
       will be able to upgrade the CNID databases.
* NEW: afpd: store and read CNIDs to/from AppleDouble files by default.
       This is used as a cache and as a backup in case the database
       is deleted or corrupted. It can be disabled with a new volume
       option "nocnidcache".
* NEW: afpd: sending SIGINT to a child afpd process enables debug logging
       to /tmp/afpd.PID.XXXXXX.
* NEW: configure args to download and install a "private" Webmin instance
       including only basic Webmin modules plus our netatalk.wbm.
* NEW: fallback to a temporary in memory tdb CNID database if the volume
       database can't be opened.
* NEW: support for Unicode characters in the range above U+010000 using
       internal surrogate pairs
* NEW: apple_dump: utility to dump AppleSingle and AppleDouble files
* NEW: afpldaptest: utility to check afp_ldap.conf.
* UPD: atalkd and papd are now disabled by default. AppleTalk is legacy.
* UPD: slp advertisement is now disabled by default. server option -slp
       SRVLOC is legacy.
* UPD: cdb/dbd CNID backend requires BerkeleyDB >= 4.6
* UPD: afpd: default CNID backend is "dbd"
* UPD: afpd: try to install PAM config that pulls in system|common auth
* UPD: afpd: symlink handling: never followed server side, client resolves
       them, so it's safe to use them now.
* UPD: afpd: Comment out all extension->type/creator mappings in
       AppleVolumes.system. They're unmaintained, possibly wrong and
       do not fit for OS X.
* FIX: rewritten logger
* FIX: afpd: UNIX permissions handling
* FIX: cnid_dbd: always use BerkeleyDB transactions
* FIX: initscripts installation now correctly uses autoconf paths,
       ie they're installed to --sysconfdir.
* FIX: UTF-8 volume name length
* FIX: atalkd: workaround for broken Linux 2.6 AT kernel module:
       Linux 2.6 sends broadcast queries to the first available socket
       which is in our case the last configured one. atalkd now tries to
       find the right one.
       Note: now a misconfigured or plugged router can broadcast a wrong route !
* REM: afpd: removed CNID backends "db3", "hash" and "mtab"
* REM: cnid_maint: use dbd
* REM: cleanappledouble.pl: use dbd
* REM: nu: use `macusers` instead
@
text
@d1 1
a1 1
$NetBSD: patch-ac,v 1.9 2009/06/09 13:57:56 taca Exp $
@


1.9
log
@Update netatalk package to 2.0.4.

pkgsrc changs:

* Add LICENSE.
* Fix some pkglint warnings.
* cjk patch was incorporated and cjk PKG_OPTION was removed.


Changes in 2.0.4
================

* REM: remove timeout
* NEW: afpd: DHX2 uams using GNU libgcrypt.
* NEW: afpd: volume options 'illegalseq', 'perm' and 'invisibledots'
       'ilegalseq'  encode illegal sequence in filename asis, ex "\217-", which is not
       a valid SHIFT-JIS char, is encoded  as U\217 -.
       'perm' value OR with the client requested permissions. (help with OSX 10.5
       strange permissions).
       Make dot files visible by default with 'usedots', use 'invisibledots'
       for keeping the old behavior, ie for OS9 (OSX hide dot files on its
       own).
* NEW: afpd: volume options allow_hosts/denied hosts
* NEW: afpd: volume options dperm/fperm default directory and file
       permissions or with server requests.
* NEW: afpd: afpd.conf, allow line continuation with \
* NEW: afpd: AppleVolumes.default allow line continuation with \
* NEW: afpd: Mac greek encoding.
* NEW: afpd: CJK encoding.
* UPD: afpd: Default UAMs: DHX + DHX2
* FIX: afpd: return the right error in createfile and copyfile if the disk
       is full.
* FIX: afpd: resolveid return the same error code than OSX if it's a directory
* FIX: afpd: server name check, test for the whole loopback subnet
       not only 127.0.0.1.
* UPD: afpd: limit comments size to 128 bytes, (workaround for Adobe CS2 bug).
* UPD: afpd: no more daemon icon.
* UPD: usedots, return an invalide name only for .Applexxx files used by netatalk not
       all files starting with .apple.
* UPD: cnid: increase the number of cnid_dbd slots to 512.
* FIX: cnid: dbd detach the daemon from the control terminal.
* UPD: cnid: never ending Berkeley API changes...
* UPD: cnid: dbd add a timeout when reading data from afpd client.
* UPD: cnid: Don't wait five second after the first error when speaking to the dbd
       backend.
* FIX: papd: vars use % not $
* FIX: papd: quote chars in popen variables expansion. security fix.
* FIX: papd: papd -d didn't write to stderr.
* FIX: papd: ps comments don't always use ()
* FIX: many compilation errors (solaris, AFS, Tru64, xfs quota...).
@
text
@d1 1
a1 1
$NetBSD: patch-ac,v 1.8 2005/10/07 12:18:19 rillig Exp $
d31 1
a31 1
--- etc/atalkd/main.c.orig	2009-03-29 16:23:22.000000000 +0900
d33 1
a33 1
@@@@ -280,12 +280,12 @@@@ static void as_timer(int sig _U_)
d40 1
a40 3
 			setaddr( iface, IFACE_PHASE2,
 				iface->i_addr.sat_addr.s_net,
 				iface->i_addr.sat_addr.s_node,
d45 1
a45 1
 			LOG(log_error, logtype_atalkd,
@


1.8
log
@Fixed pkglint warnings.
@
text
@d1 1
a1 1
$NetBSD: patch-ac,v 1.7 2003/02/15 20:01:07 fredb Exp $
d31 1
a31 1
--- etc/atalkd/main.c.orig	Sat Oct  5 08:20:13 2002
d33 1
a33 1
@@@@ -278,12 +278,12 @@@@ static void as_timer(int sig)
@


1.7
log
@Update netatalk to 1.6.0. Significant changes since 1.5.5, from "NEWS":

Changes in 1.6.0
================

* FIX: pap looks at the STDOUT file descriptor to see if it's connected to
       a tty, instead of STDIN.

Changes in 1.6pre2
==================

* UPD: Removed --with-catsearch option from configure and enable FPCatSearch
       by default.
* UPD: The dbpath argument does now support variable substitution.
* FIX: Build fix for non-GNU-C compilers in libatalk/util/logger.c.
* FIX: Two directories with the same name but different case confused the
       Mac Finder.
* FIX: The ROOT_PARENT directory could get invalidated.

Changes in 1.6pre1
====================

* NEW: Long file name mangling support.
* NEW: Improved log file support.
* NEW: Server-side find capability ("FPCatSearch")
* NEW: Concurrent datastore (CDB) is now the default CNID datastore.  This
       should be heavily tested in a multiuser environment.
* NEW: Variable substitution support has been added for the dbpath AppleVolume
       option.
* UPD: CNID DID handling is now enabled by default.
* FIX: Various bug and build fixes as well as code cleanups.

*******************************************************************************
Changes to the package:

- Now use buildlink2.
- Drop --with-flock for now, as it's currently broken.
- Add (heretofore) missing dependendency on "devel/rx".
- Add --with-did=last, to avoid having to create a dependendency on db3.
   --with-did=last was the default with netatalk 1.5.5.
@
text
@d1 2
a30 3

$NetBSD: patch-ac,v 1.6 2002/09/30 09:25:24 abs Exp $

@


1.6
log
@Update netatalk to 1.5.5
	Neither the Changelog nor CHANGES files list the changes from 1.5.3.1
@
text
@d1 1
a1 1
$NetBSD$
d3 30
a32 1
--- etc/atalkd/main.c.orig	Wed Mar 13 20:50:26 2002
d34 2
a35 2
@@@@ -274,12 +274,12 @@@@ void as_timer(void)
 		    syslog( LOG_INFO, "config for no router" );
d48 1
a48 1
 			syslog( LOG_ERR,
@


1.5
log
@adjust last
@
text
@d1 1
a1 1
$NetBSD: patch-ac,v 1.4 2002/09/02 11:43:39 abs Exp $
d3 17
a19 27
--- etc/afpd/ofork.c.orig	Thu Feb  7 23:57:27 2002
+++ etc/afpd/ofork.c
@@@@ -14,6 +14,7 @@@@
 #include <string.h>
 #include <sys/stat.h> /* works around a bug */
 #include <sys/param.h>
+#include <sys/resource.h>
 #include <syslog.h>
 #include <errno.h>
 
@@@@ -146,7 +147,15 @@@@ struct adouble      *ad;
     int			i;
 
     if (!oforks) {
-        nforks = (getdtablesize() - 10) / 2;
+	struct rlimit rlp;
+
+	getrlimit(RLIMIT_NOFILE, &rlp);
+	if (rlp.rlim_cur < 256)
+	    rlp.rlim_cur = 256;
+	setrlimit(RLIMIT_NOFILE, &rlp);
+	getrlimit(RLIMIT_NOFILE, &rlp);
+
+        nforks = (rlp.rlim_cur - 10) / 2;
         oforks = (struct ofork **) calloc(nforks, sizeof(struct ofork *));
         if (!oforks)
             return NULL;
@


1.4
log
@Updated netatalk to 1.5.3.1nb2:
	Use getrlimit() and setrlimit() to attempt to set the open
	filedescriptor to a sane value. Avoids afpd running out of
	fork slots when serving MacOS 10.2 clients. Patch sent back
	to maintainers.
@
text
@d1 1
a1 1
$NetBSD$
d21 2
a22 2
+	if (rlp.rlim_cur < 128)
+	    rlp.rlim_cur = 128;
@


1.3
log
@Update netatalk to version 1.5.3.1.

Update supplied by David Rankin (to version 1.5.2) in pkg/15642
further updated to 1.5.3.1 by me.

Changes since the old umich version (and netatalk-asun) are numerous
bug fixes, cleanups and new features and its actively being maintained.
@
text
@d3 27
a29 17
--- etc/atalkd/main.c.orig	Mon Dec 31 15:05:20 2001
+++ etc/atalkd/main.c	Mon Jan 14 21:59:05 2002
@@@@ -276,12 +276,12 @@@@
 		    syslog( LOG_INFO, "config for no router" );
 		      
 		    if ( iface->i_flags & IFACE_PHASE2 ) {
-			iface->i_rt->rt_firstnet = 0;
+			iface->i_rt->rt_firstnet = htons(1);
 			iface->i_rt->rt_lastnet = htons( STARTUP_LASTNET );
 			setaddr( iface, IFACE_PHASE2,
 				iface->i_addr.sat_addr.s_net,
 				iface->i_addr.sat_addr.s_node,
-				0, htons( STARTUP_LASTNET ));
+				htons(1), htons( STARTUP_LASTNET ));
 		    }
 		    if ( looproute( iface, RTMP_ADD ) ) { /* -1 or 1 */
 			syslog( LOG_ERR,
@


1.2
log
@Fix two PRs on this package, and make it compile on macppc.

Sample files are installed in pkg/share/examples/netatalk, addressing
PR 7920 by rnestor@@metronet.com.

Now include elf support, addressing PR 8125 by Takahiro Kambe,
<taca@@sky.yamashina.kyoto.jp> with slight changes by me.

Cleaned up some lint warnings and fixed an unsigned character comparison
problem with assistance from cgd@@netbsd.org.

Disabled building of libatalk_p.a (profiling libatalk) as not all ports
support it which will generate plist errors.
@
text
@d1 1
a1 1
$NetBSD: $
d3 17
a19 20
--- etc/Makefile	Tue Feb 20 08:37:56 1996
+++ etc/Makefile	Mon Aug 30 06:47:41 1999
@@@@ -10,7 +10,7 @@@@
 	    ADDLIBS="${ADDLIBS}" DEFS="${DEFS}" OPTOPTS="${OPTOPTS}" \
 	    SBINDIR="${SBINDIR}" BINDIR="${BINDIR}" RESDIR="${RESDIR}" \
 	    ETCDIR="${ETCDIR}" LIBDIR="${LIBDIR}" INCDIR="${INCDIR}" \
-	    DESTDIR="${DESTDIR}" AFSDIR="${AFSDIR}" KRBDIR="${KRBDIR}"
+	    ATALK_DESTDIR="${ATALK_DESTDIR}" AFSDIR="${AFSDIR}" KRBDIR="${KRBDIR}"
 
 FRC:
 
@@@@ -27,7 +27,7 @@@@
 		ADDLIBS="${ADDLIBS}" DEFS="${DEFS}" OPTOPTS="${OPTOPTS}" \
 	        SBINDIR="${SBINDIR}" BINDIR="${BINDIR}" RESDIR="${RESDIR}" \
 	        ETCDIR="${ETCDIR}" LIBDIR="${LIBDIR}" INCDIR="${INCDIR}" \
-		DESTDIR="${DESTDIR}" AFSDIR="${AFSDIR}" KRBDIR="${KRBDIR}" \
+		ATALK_DESTDIR="${ATALK_DESTDIR}" AFSDIR="${AFSDIR}" KRBDIR="${KRBDIR}" \
 		INSTALL="${INSTALL}" install); \
 	done
 
@


1.2.2.1
log
@Merge from pkgsrc-current to buildlink2 branch.
@
text
@d1 1
a1 1
$NetBSD: patch-ac,v 1.3 2002/05/25 12:55:25 markd Exp $
d3 20
a22 17
--- etc/atalkd/main.c.orig	Mon Dec 31 15:05:20 2001
+++ etc/atalkd/main.c	Mon Jan 14 21:59:05 2002
@@@@ -276,12 +276,12 @@@@
 		    syslog( LOG_INFO, "config for no router" );
 		      
 		    if ( iface->i_flags & IFACE_PHASE2 ) {
-			iface->i_rt->rt_firstnet = 0;
+			iface->i_rt->rt_firstnet = htons(1);
 			iface->i_rt->rt_lastnet = htons( STARTUP_LASTNET );
 			setaddr( iface, IFACE_PHASE2,
 				iface->i_addr.sat_addr.s_net,
 				iface->i_addr.sat_addr.s_node,
-				0, htons( STARTUP_LASTNET ));
+				htons(1), htons( STARTUP_LASTNET ));
 		    }
 		    if ( looproute( iface, RTMP_ADD ) ) { /* -1 or 1 */
 			syslog( LOG_ERR,
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
$NetBSD$
d3 3
a5 13
Pass ATALK_DESTDIR down, rather than DESTDIR, so we don't trigger DESTDIR
rules in <bsd.sys.mk> governing nostdinc and idirafter

--- sys/netbsd/Makefile.orig	Thu Oct  1 18:46:49 1998
+++ sys/netbsd/Makefile	Sat Sep 26 10:50:25 1998
@@@@ -1,6 +1,5 @@@@
 # NetBSD specific defines, passed to subdirectories.
 DEFS=	-DBSD4_4
-OPTOPTS=	-O2
 CC=	gcc -Werror -I../../sys/netbsd/
 INSTALL=	install
 ADDLIBS=	-lcrypt
@@@@ -16,12 +15,13 @@@@
d9 2
a10 2
-	    DESTDIR="${DESTDIR}" AFSDIR="${AFSDIR}" KRBDIR="${KRBDIR}" all
+	    ATALK_DESTDIR="${ATALK_DESTDIR}" AFSDIR="${AFSDIR}" KRBDIR="${KRBDIR}" all
d14 1
a14 6
 install :
-	-mkdir ${DESTDIR} ${SBINDIR} ${BINDIR} ${ETCDIR} ${LIBDIR}
+	-mkdir ${ATALK_DESTDIR} ${SBINDIR} ${BINDIR} ${ETCDIR}
+	-mkdir ${LIBDIR} ${LIBEXECDIR} ${RESDIR}
 	for i in ${ALL}; \
 	    do (cd $$i; ${MAKE} ${MFLAGS} CC="${CC}" \
d16 5
a20 2
@@@@ -31,7 +31,7 @@@@
 		INSTALL="${INSTALL}" $@@); \
d22 1
a22 6
 	rm -f ${ETCDIR}/rc.atalk
-	sed -e s@@:DESTDIR:@@${DESTDIR}@@ -e s@@:SBINDIR:@@${SBINDIR}@@ \
+	sed -e s@@:DESTDIR:@@${ATALK_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}@@ \
@


1.1.1.1
log
@Initial import of the University of Michigan version of Netatalk. 
(userland tools and utilities for AppleTalk interworking).  This is
the standard, reference version.  Lacks AppleshareIP support.

Package done by Bill Studenmund (wrstuden@@netbsd.org), munged about
a bit by myself. This is the 19981109 version of the sources.
@
text
@@
