From 51117538d8b327775baa3818def21abe5969a369 Mon Sep 17 00:00:00 2001 From: srittau Date: Sun, 18 Nov 2001 14:22:33 +0000 Subject: [PATCH] Updated to current Debian work-in-progress. --- distrib/debian/README.Debian | 42 +++++++++++++++++++++++++ distrib/debian/changelog | 32 ++++++++++++++++++- distrib/debian/control | 4 +-- distrib/debian/logcheck/ignore.d.server | 4 +-- distrib/debian/netatalk.docs | 1 + distrib/debian/rules | 20 ++++++++---- 6 files changed, 92 insertions(+), 11 deletions(-) create mode 100644 distrib/debian/README.Debian diff --git a/distrib/debian/README.Debian b/distrib/debian/README.Debian new file mode 100644 index 00000000..c51ccce3 --- /dev/null +++ b/distrib/debian/README.Debian @@ -0,0 +1,42 @@ +This is the pre-packaged Debian version of the Netatalk protocol suite. +To find out more about netatalk, visit http://netatalk.sourceforge.net/ + +This package was originally put together by Klee Dienes +and was later maintained by late Joel Klecker and +David Huggins-Daines . It was repackaged by its current +maintainer Sebastian Rittau . + + OpenSSL + ======= + +Netatalk supports OpenSSL to provide a secure means for authentication. +Unfortunately it's currently not possible for Debian to distribute +Netatalk with SSL support enabled, since OpenSSL's license is incompatible +with the GPL used by Netatalk. + +But it's possible to build Netatalk with SSL support locally: + +1. Make sure that the package libssl-dev is installed: + + apt-get install libssl-dev + +2. Make sure all other build dependencies are fulfilled: + + apt-get build-dep netatalk + +3. Download the Netatalk sources: + + apt-get source netatalk + +4. Edit the rules file to enable SSL compilation: + + cd netatalk-1.5pre8 && \ + cp debian/rules debian/rules.bak && \ + sed -e 's/^#USE_SSL=yes/USE_SSL=yes/' debian/rules.bak >debian/rules + + (You may need to substitute the directory name netatalk-1.5pre8 with the + proper one.) + +5. Build the package: + + dpkg-buildpackage -rfakeroot diff --git a/distrib/debian/changelog b/distrib/debian/changelog index 92ac4e67..de160057 100644 --- a/distrib/debian/changelog +++ b/distrib/debian/changelog @@ -5,10 +5,40 @@ netatalk (1.5pre8cvs-0) unstable; urgency=low * Upstream does now have manpages for apple_cp(1), apple_mv(1), and apple_rm(1), written by Lance Levsen . Removed the links to undocumented(7). + + -- Sebastian Rittau Sun, 18 Nov 2001 15:14:40 +0100 + +netatalk (1.5pre8-5) unstable; urgency=low + + * Appletalk -> AppleTalk in package short descriptions. Thanks to Matt + Zimmerman and his spell checking effort for pointing this out. + * Really install README.Debian this time. * Removed afppasswd and afppasswd(1) from Debian distribution, since they are of no use when SSL support is not compiled in. - -- Sebastian Rittau Thu, 25 Oct 2001 23:00:02 +0200 + -- Sebastian Rittau Sun, 18 Nov 2001 15:13:53 +0100 + +netatalk (1.5pre8-4) unstable; urgency=low + + * Fixed uams_pam.so. (Closes: #118889) + * Explain why we don't link against OpenSSL in README.Debian. + * Modified debian/rules so that setting a variable called USE_SSL to + "yes" enables SSL support. This should ease the local compilation of + SSL-enabled netatalk packages. + + -- Sebastian Rittau Sat, 10 Nov 2001 19:05:12 +0100 + +netatalk (1.5pre8-3) unstable; urgency=low + + * Corrected upstream version number (pre8 instead of pre7). This corrects + afpd -v and similar commands. + * Raised default number of allowed afpd clients. Suggestion by Jonas + Smedegaard. + * Small logcheck fix by Jonas. + * Removed ATALK_BACKGROUND description from netatalk.conf(5). + * Removed obsolete --with-config-dir configure option. + + -- Sebastian Rittau Sat, 27 Oct 2001 15:36:30 +0200 netatalk (1.5pre8-2) unstable; urgency=low diff --git a/distrib/debian/control b/distrib/debian/control index e126733f..fa3de944 100644 --- a/distrib/debian/control +++ b/distrib/debian/control @@ -12,7 +12,7 @@ Recommends: lsof, libpam-cracklib Suggests: tetex-base, quota Conflicts: netatalk-asun, libatalk14g, libatalk1 Replaces: netatalk-asun, libatalk14, libatalk1 -Description: Appletalk user binaries +Description: AppleTalk user binaries Netatalk is an implementation of the AppleTalk Protocol Suite for BSD-derived systems. The current release contains support for EtherTalk Phase I and II, DDP, RTMP, NBP, ZIP, AEP, ATP, PAP, ASP, and @@ -23,7 +23,7 @@ Architecture: any Depends: netatalk (>= 1.5) Conflicts: netatalk (<< 1.5pre7-2), libatalk14g-dev, libatalk14-dev, netatalk-asun, libatalk1-dev Replaces: netatalk (<< 1.5pre7-2), libatalk14g-dev, libatalk14-dev, netatalk-asun, libatalk1-dev -Description: Appletalk library and development files +Description: AppleTalk library and development files Netatalk is an implementation of the AppleTalk Protocol Suite for BSD-derived systems. The current release contains support for EtherTalk Phase I and II, DDP, RTMP, NBP, ZIP, AEP, ATP, PAP, ASP, and diff --git a/distrib/debian/logcheck/ignore.d.server b/distrib/debian/logcheck/ignore.d.server index 90543d3c..3e3ce37e 100644 --- a/distrib/debian/logcheck/ignore.d.server +++ b/distrib/debian/logcheck/ignore.d.server @@ -20,7 +20,7 @@ afpd\[.*\]: session from [\.:[:digit:]]+ on [\.:[:digit:]]+ afpd\[.*\]: uams_dhx_pam.c :PAM: PAM (Auth OK!|Success -- Success) afpd\[.*\]: using codepage directory: /etc/netatalk/nls/maccode\.[\.[:alnum:]-]+ atalkd\[.*\]: .*: Network is unreachable -atalkd\[.*\]: zip gnireply from [\.[:digit:] \(.* [[:digit:]]\) +atalkd\[.*\]: zip gnireply from [\.[:digit:]]+ \(.* [[:digit:]]\) atalkd\[.*\]: zip ignoring gnireply -papd\[.*\]: child [[:digit:]]+ for ".+" from [\.[:digit:]+]] +papd\[.*\]: child [[:digit:]]+ for ".+" from [\.[:digit:]]+ papd\[.*\]: child [[:digit:]]+ done diff --git a/distrib/debian/netatalk.docs b/distrib/debian/netatalk.docs index 14ccaeb2..c8a19c91 100644 --- a/distrib/debian/netatalk.docs +++ b/distrib/debian/netatalk.docs @@ -4,4 +4,5 @@ CONTRIBUTORS TODO doc/CONFIGURE doc/FAQ +doc/README.hidden-items doc/README.platforms diff --git a/distrib/debian/rules b/distrib/debian/rules index 4e364658..42a24ec4 100755 --- a/distrib/debian/rules +++ b/distrib/debian/rules @@ -1,5 +1,8 @@ #! /usr/bin/make -f +# Uncomment the following line to enable OpenSSL support. (If it's installed.) +#USE_SSL=yes + # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 @@ -16,15 +19,20 @@ endif export CFLAGS export LDFLAGS +CONFIGURE_FLAGS = \ + --with-shadow --enable-fhs --sysconfdir=/etc/netatalk \ + --with-tcp-wrappers --mandir=/usr/share/man --prefix=/usr \ + --enable-timelord --with-did=last --enable-overwrite \ + --with-cracklib=/var/cache/cracklib/cracklib_dict +ifneq "x$(USE_SSL)" "xyes" +CONFIGURE_FLAGS += --without-ssl-dir +endif + configure: configure-stamp configure-stamp: dh_testdir - ./configure --with-shadow --enable-fhs \ - --sysconfdir=/etc/netatalk --with-config-dir=/etc/netatalk \ - --with-tcp-wrappers --mandir=/usr/share/man --prefix=/usr \ - --enable-timelord --with-did=last --without-ssl-dir \ - --with-cracklib=/var/cache/cracklib/cracklib_dict \ - --enable-overwrite + + ./configure $(CONFIGURE_FLAGS) touch configure-stamp -- 2.39.2