--- netatalk-2.0.3.orig/debian/netatalk.docs +++ netatalk-2.0.3/debian/netatalk.docs @@ -0,0 +1,7 @@ +CONTRIBUTORS +NEWS +TODO +doc/FAQ +doc/README.hidden-items +doc/README.ids +doc/README.platforms --- netatalk-2.0.3.orig/debian/TODO.Debian +++ netatalk-2.0.3/debian/TODO.Debian @@ -0,0 +1,6 @@ + * Make sure all of debian/copyright_hints is also in debian/copyright. + +When (if ever?) OpenSSL issues are resolved: + * Build-depend on libssl-dev. + * Unconditionally enable ssl-related stuff + * Close bug#190417 and Bug#191790 --- netatalk-2.0.3.orig/debian/netatalk.pam +++ netatalk-2.0.3/debian/netatalk.pam @@ -0,0 +1,5 @@ +#%PAM-1.0 + +@include common-auth +@include common-account +@include common-session --- netatalk-2.0.3.orig/debian/README.cdbs-tweaks +++ netatalk-2.0.3/debian/README.cdbs-tweaks @@ -0,0 +1,113 @@ +CDBS tweak +========== + +CDBS is great. In some corner cases, however, some parts of CDBS +sometimes needs a few tweaks to work optimally. + +This is a collection of such tweaks. The goal is for these tweaks to be +absorbed into upstream CDBS. We just haven't found time yet to discuss +them at the CDBS developers' mailinglist. And possible we do not all +agree that the tweaks are so great - therefore this "staging area". + +If you found this file below debian/ subdir in a source package, most +probably only a subset of the below mentioned tweaks are relevant and +have been shipped with the package. The repository of all these tweaks +is here: svn://svn.debian.org/build-common/people/js/overlay/ + +Web access: http://svn.debian.org/wsvn/build-common/people/js/overlay/ + + + +Improved support for cdbs-autoupdate +------------------------------------ + +CDBS invented a cool way to help keep build-dependencies up-to-date. + +It is disabled by default, as messing with debian/rules at build time +violates Debian Policy: A build must not change conditions for building. + +Some consider this CDBS feature evil. + +Some enable the feature within a package, and gets smacked by ftp-master +or others (there's even a lintian check to complain about it now). + +This tweak enables the feature when the build environment contains the +non-default hint "cdbs-autoupdate" in the DEB_BUILD_OPTIONS variable. + + + +New buildinfo rule +------------------ + +See package description for "buildinfo" for more info. + + + +Improved support for multiple compilations +------------------------------------------ + +Create and clean builddir _after_ resolving per-package DEB_BUILDDIR. + +Honour per-package DEB_BUILDDIR in makefile class. + + + +Various improvements to python-distutils class +---------------------------------------------- + +Use full path to python interpreter (Python Policy section 1.3.2). + +Add CDBS_BUILD_DEPENDS to old policy method. + +Fix CDBS_BUILD_DEPENDS in new policy methods to only depend on debhelper +when actually used. + +Fix DEB_PYTHON_SIMPLE_PACKAGES sometimes installed twice (and only one +of them honouring DEB_PYTHON_COMPILE_VERSION). + +Unify install path using new DEB_PYTHON_DESTDIR. + +Quote install path. + + + +New copyright-check rule +------------------------ + +Refuse to build if the source is found to contain different copyright +info than earlier builds. + + + +New kernelpatches rule +---------------------- + +Small wrapper around dh-kpatches, taking care of build-dependencies too. + + + +New routines for handling upstream tarball +------------------------------------------ + +Rules and variables to help downloading, validating and repackaging +upstream tarball. + +Implements the rules print-version and get-orig-source commonly used +for group-maintained packages with Debian-specific patches maintained in +SVN or some other VCS, and automated fetching virgin upstream tarball +(possibly massaged after download e.g. to strip non-DFSG material). + + + +Support for custom BTS info +--------------------------- + +Include BTS control info found in debian/*.bts files, or alternatively +redirect bug reports to the email address defined in DEB_BTS_EMAIL. + + + +New dict class +-------------- + +Rules for packaging ispell, aspell, myspell and wordlist dictionaries. --- netatalk-2.0.3.orig/debian/netatalk.pam-ssl +++ netatalk-2.0.3/debian/netatalk.pam-ssl @@ -0,0 +1,11 @@ +#%PAM-1.0 + +@include common-auth +@include common-account + +# Override common password routine (doesn't use cracklib by default) +#@include common-password +password required pam_cracklib.so +password required pam_unix.so use_authtok + +@include common-session --- netatalk-2.0.3.orig/debian/rules +++ netatalk-2.0.3/debian/rules @@ -0,0 +1,95 @@ +#!/usr/bin/make -f + +# NB! Local CDBS tweaks in use. More info in README.cdbs-tweaks +include debian/cdbs/1/rules/buildcore.mk +include debian/cdbs/1/rules/upstream-tarball.mk +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk +include debian/cdbs/1/rules/buildinfo.mk +include debian/cdbs/1/rules/copyright-check.mk + +DEB_UPSTREAM_URL = http://downloads.sourceforge.net/netatalk +DEB_UPSTREAM_TARBALL_MD5 = 17917abd7d255d231cc0c6188ccd27fb + +DEB_UPDATE_RCD_PARAMS := defaults 50 + +DEB_CONFIGURE_EXTRA_FLAGS := \ + --with-shadow --enable-fhs \ + --with-tcp-wrappers --with-mangling \ + --enable-timelord --enable-overwrite \ + --with-pkgconfdir=/etc/netatalk \ + --with-nls-dir=/usr/share/netatalk/nls \ + --disable-logger --enable-srvloc \ + --enable-pgp-uam --enable-krb4-uam --enable-krbV-uam \ + --enable-debian + +DEB_INSTALL_EXAMPLES_netatalk = debian/examples/* + +ssl_build_depends = libssl-dev, cracklib-dev + +# Conditionally avoid or include ssl-related options +ifneq (,$(findstring ssl,$(DEB_BUILD_OPTIONS))) +CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), $(ssl_build_depends) +DEB_CONFIGURE_EXTRA_FLAGS += --with-ssl-dir \ + --with-cracklib=/var/cache/cracklib/cracklib_dict +DEB_DH_GENCONTROL_ARGS := -- -Vssl:Recommends=", cracklib-runtime, libpam-cracklib" +uamlist = uams_dhx.so,uams_clrtxt.so,uams_randnum.so +pamfile = netatalk.pam-ssl +else +DEB_CONFIGURE_EXTRA_FLAGS += --without-ssl-dir +uamlist = uams_clrtxt.so,uams_randnum.so +pamfile = netatalk.pam +endif + +# Refuse non-ssl build with ssl build-dependencies included +ifeq (,$(findstring ssl,$(DEB_BUILD_OPTIONS))) +post-patches:: + if egrep -i '^Build-Depends.*$(ssl_build_depends)' debian/control; then \ + echo 'ERROR: ssl-related build-dependencies found in non-ssl build!'; \ + exit 1; \ + fi +endif + +# Re-install initscript with debhelper to add pre- and postinst routines +install/netatalk:: + mv debian/netatalk/etc/init.d/netatalk debian/netatalk.init + +clean:: + rm -f debian/netatalk.init + +# Move master config file (Debian Policy 9.3.2) +binary-post-install/netatalk:: + mv debian/netatalk/etc/netatalk/netatalk.conf debian/netatalk/etc/default/netatalk + +# Rename manpages because of namespace conflicts +binary-post-install/netatalk:: + mv debian/netatalk/usr/share/man/man1/uniconv.1 debian/netatalk/usr/share/man/man1/netatalk-uniconv.1 + mv debian/netatalk/usr/share/man/man1/afile.1 debian/netatalk/usr/share/man/man1/apple_file.1 + mv debian/netatalk/usr/share/man/man1/achfile.1 debian/netatalk/usr/share/man/man1/apple_chfile.1 + +# Adjust PAM modules and UAMs loaded by default, depending on ssl support +binary-post-install/netatalk:: + install -m 644 debian/$(pamfile) debian/netatalk/etc/pam.d/netatalk + perl -i -pe 's/^#AFPD_UAMLIST=.*/#AFPD_UAMLIST="-U $(uamlist)"/' debian/netatalk/etc/default/netatalk + perl -i -pe 's/^AFPD_UAMLIST=.*/AFPD_UAMLIST="-U $(uamlist)"/' debian/netatalk/etc/init.d/netatalk + +# Remove unnecessary files +binary-post-install/netatalk:: + rm debian/netatalk/usr/bin/netatalk-config + rm debian/netatalk/usr/bin/timeout + rm debian/netatalk/usr/lib/libatalk.* + rm debian/netatalk/usr/share/man/man1/timeout.1 + rm debian/netatalk/usr/share/man/man1/afppasswd.1 + rm -r debian/netatalk/usr/include + rm -r debian/netatalk/usr/share/aclocal + rm -r debian/netatalk/var + +# Needed for by upstream build process +CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), libdb4.2-dev, libwrap0-dev, libpam0g-dev, libslp-dev, libcupsys2-dev, heimdal-dev + +# Needed for our packaging routines +CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), d-shlibs (>> 0.19) + +# Fix double cdbs build-dependencies +CDBS_BUILD_DEPENDS := $(shell echo '$(CDBS_BUILD_DEPENDS)' | sed 's/cdbs (>= 0.4.23-1.1) *, *\(.*\), *cdbs (>= 0.4.27-1)/cdbs (>= 0.4.27-1), \1/') --- netatalk-2.0.3.orig/debian/cdbs/1/rules/buildinfo.mk +++ netatalk-2.0.3/debian/cdbs/1/rules/buildinfo.mk @@ -0,0 +1,40 @@ +# -*- mode: makefile; coding: utf-8 -*- +# Copyright © 2004-2006 Jonas Smedegaard +# Description: Generate and include build information +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2, or (at +# your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +# 02111-1307 USA. + +_cdbs_scripts_path ?= /usr/lib/cdbs +_cdbs_rules_path ?= /usr/share/cdbs/1/rules +_cdbs_class_path ?= /usr/share/cdbs/1/class + +ifndef _cdbs_rules_buildinfo +_cdbs_rules_buildinfo = 1 + +include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix) + +CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), dh-buildinfo + +common-install-arch common-install-indep:: debian/stamp-buildinfo + +debian/stamp-buildinfo: + dh_buildinfo + touch debian/stamp-buildinfo + +clean:: + rm -f debian/stamp-buildinfo + +endif --- netatalk-2.0.3.orig/debian/cdbs/1/rules/copyright-check.mk +++ netatalk-2.0.3/debian/cdbs/1/rules/copyright-check.mk @@ -0,0 +1,69 @@ +# -*- mode: makefile; coding: utf-8 -*- +# Copyright © 2005-2007 Jonas Smedegaard +# Description: Check for changes to copyright notices in source +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2, or (at +# your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +# 02111-1307 USA. + +# TODO: Save scan as "file: match" (needs rewrite of main loop in perl) + +# TODO: Save scan as "file (license): match" (needs /usr/bin/licensecheck from kdesdk-scripts) + +_cdbs_scripts_path ?= /usr/lib/cdbs +_cdbs_rules_path ?= /usr/share/cdbs/1/rules +_cdbs_class_path ?= /usr/share/cdbs/1/class + +ifndef _cdbs_rules_copyright-check +_cdbs_rules_copyright-check := 1 + +include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix) + +cdbs_copyright-check_find_opts := -not -regex 'debian/.*' -not -regex '\(.*/\)?config\.\(guess\|sub\|rpath\)\(\..*\)?' +cdbs_copyright-check_egrep_opts := --text -rih '(copyright|\(c\) ).*[0-9]{4}' + +pre-build:: debian/stamp-copyright-check + +debian/stamp-copyright-check: + @echo 'Scanning upstream source for new/changed copyright notices (except debian subdir!)...' + find * -type f $(cdbs_copyright-check_find_opts) -exec cat '{}' ';' \ + | tr '\r' '\n' \ + | LC_ALL=C sed -e 's/[^[:print:]]//g' \ + | egrep $(cdbs_copyright-check_egrep_opts) \ + | sed -e 's/^[[:space:]*#]*//' -e 's/[[:space:]]*$$//' \ + | LC_ALL=C sort -u \ + > debian/copyright_newhints + @if [ ! -f debian/copyright_hints ]; then touch debian/copyright_hints; fi + @newstrings=`diff -u debian/copyright_hints debian/copyright_newhints | sed '1,2d' | egrep '^\+' | sed 's/^\+//'`; \ + if [ -n "$$newstrings" ]; then \ + echo "Error: The following new or changed copyright notices discovered:"; \ + echo "$$newstrings"; \ + echo "Trying to locate the files containing the new/changed copyright notices..."; \ + echo "(Strings part of binary data you need to resolve yourself)"; \ + find * -type f $(cdbs_copyright-check_find_opts) -exec grep -F -l -e "$$newstrings" '{}' ';'; \ + echo; \ + echo "To fix the situation please do the following:"; \ + echo " 1) Investigate the above changes and update debian/copyright as needed"; \ + echo " 2) Replace debian/copyright_hints with debian/copyright_newhints"; \ + exit 1; \ + fi + + @echo 'No new copyright notices found - assuming no news is good news...' + rm -f debian/copyright_newhints + touch $@ + +clean:: + rm -f debian/stamp-copyright-check + +endif --- netatalk-2.0.3.orig/debian/cdbs/1/rules/buildcore.mk +++ netatalk-2.0.3/debian/cdbs/1/rules/buildcore.mk @@ -0,0 +1,30 @@ +# -*- mode: makefile; coding: utf-8 -*- +# Copyright © 2006 Jonas Smedegaard +# Description: Check for cdbs-autoupdate in DEB_BUILD_OPTIONS +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2, or (at +# your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +# 02111-1307 USA. + +_cdbs_scripts_path ?= /usr/lib/cdbs +_cdbs_rules_path ?= /usr/share/cdbs/1/rules +_cdbs_class_path ?= /usr/share/cdbs/1/class + +include $(_cdbs_rules_path)/buildvars.mk$(_cdbs_makefile_suffix) + +ifneq (,$(findstring cdbs-autoupdate,$(DEB_BUILD_OPTIONS))) +DEB_AUTO_UPDATE_DEBIAN_CONTROL = yes +endif + +include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix) --- netatalk-2.0.3.orig/debian/cdbs/1/rules/upstream-tarball.mk +++ netatalk-2.0.3/debian/cdbs/1/rules/upstream-tarball.mk @@ -0,0 +1,113 @@ +# -*- mode: makefile; coding: utf-8 -*- +# Copyright © 2007 Jonas Smedegaard +# Description: Convenience rules for dealing with upstream tarballs +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2, or (at +# your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +# 02111-1307 USA. + +_cdbs_scripts_path ?= /usr/lib/cdbs +_cdbs_rules_path ?= /usr/share/cdbs/1/rules +_cdbs_class_path ?= /usr/share/cdbs/1/class + +ifndef _cdbs_rules_upstream_tarball +_cdbs_rules_upstream_tarball := 1 + +include $(_cdbs_rules_path)/buildvars.mk$(_cdbs_makefile_suffix) + +# Prefix for upstream location of all upstream tarballs (mandatory!) +#DEB_UPSTREAM_URL = +DEB_UPSTREAM_PACKAGE = $(DEB_SOURCE_PACKAGE) +DEB_UPSTREAM_TARBALL_VERSION = $(if $(strip $(DEB_UPSTREAM_REPACKAGE_EXCLUDE)),$(DEB_UPSTREAM_VERSION:.$(DEB_UPSTREAM_REPACKAGE_TAG)=),$(DEB_UPSTREAM_VERSION)) +DEB_UPSTREAM_TARBALL_BASENAME = $(DEB_UPSTREAM_PACKAGE)-$(DEB_UPSTREAM_TARBALL_VERSION) +DEB_UPSTREAM_TARBALL_EXTENSION = tar.gz +# Checksum to ensure integrity of downloadeds using get-orig-source (optional) +#DEB_UPSTREAM_TARBALL_MD5 = + +DEB_UPSTREAM_WORKDIR = ../tarballs + +# Base directory within tarball +DEB_UPSTREAM_TARBALL_SRCDIR = $(DEB_UPSTREAM_PACKAGE)-$(DEB_UPSTREAM_TARBALL_VERSION) + +# Space-delimited list of directories and files to strip (optional) +#DEB_UPSTREAM_REPACKAGE_EXCLUDE = CVS .cvsignore doc/rfc*.txt doc/draft*.txt +DEB_UPSTREAM_REPACKAGE_TAG = dfsg + +cdbs_upstream_tarball = $(DEB_UPSTREAM_TARBALL_BASENAME).$(DEB_UPSTREAM_TARBALL_EXTENSION) +cdbs_upstream_local_tarball = $(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_TARBALL_VERSION).orig.$(if $(findstring $(DEB_UPSTREAM_TARBALL_EXTENSION),tgz),tar.gz,$(DEB_UPSTREAM_TARBALL_EXTENSION)) +cdbs_upstream_repackaged_tarball = $(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_TARBALL_VERSION).$(DEB_UPSTREAM_REPACKAGE_TAG).orig.tar.gz +cdbs_upstream_uncompressed_tarball = $(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_TARBALL_VERSION).orig.tar + +# # These variables are deprecated +_cdbs_deprecated_vars += DEB_UPSTREAM_TARBALL DEB_UPSTREAM_LOCAL_TARBALL DEB_UPSTREAM_REPACKAGE_TARBALL +_cdbs_deprecated_vars += DEB_UPSTREAM_REPACKAGE_EXCLUDES +DEB_UPSTREAM_REPACKAGE_EXCLUDE += $(DEB_UPSTREAM_REPACKAGE_EXCLUDES) + +print-version: + @@echo "Debian version: $(DEB_VERSION)" + @@echo "Upstream version: $(DEB_UPSTREAM_TARBALL_VERSION)" + +get-orig-source: + @@dh_testdir + @@mkdir -p "$(DEB_UPSTREAM_WORKDIR)" + + @if [ ! -s "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_local_tarball)" ] ; then \ + if [ -f "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_local_tarball)" ] ; then \ + rm "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_local_tarball)" ; \ + fi ; \ + echo "Downloading $(cdbs_upstream_local_tarball) from $(DEB_UPSTREAM_URL)/$(cdbs_upstream_tarball) ..." ; \ + wget -N -nv -T10 -t3 -O "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_local_tarball)" "$(DEB_UPSTREAM_URL)/$(cdbs_upstream_tarball)" ; \ + else \ + echo "Upstream source tarball have been already downloaded: $(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_local_tarball)" ; \ + fi + + @md5current=`md5sum "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_local_tarball)" | sed -e 's/ .*//'`; \ + if [ -n "$(DEB_UPSTREAM_TARBALL_MD5)" ] ; then \ + if [ "$$md5current" != "$(DEB_UPSTREAM_TARBALL_MD5)" ] ; then \ + echo "Expecting upstream tarball md5sum $(DEB_UPSTREAM_TARBALL_MD5), but $$md5current found" ; \ + echo "Upstream tarball md5sum is NOT trusted! Possible upstream tarball forge!" ; \ + echo "Purging downloaded file. Try new download." ; \ + rm -f "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_local_tarball)" ; \ + false ; \ + else \ + echo "Upstream tarball is trusted!" ; \ + fi; \ + else \ + echo "Upstream tarball NOT trusted (current md5sum is $$md5current)!" ; \ + fi + + @case "$(cdbs_upstream_local_tarball)" in \ + *.tar.gz) unpack="gunzip -c";; \ + *.tar.bz2) unpack="bunzip2 -c"; uncompress="bunzip2";; \ + *.tar.Z) unpack="uncompress -c"; uncompress="uncompress";; \ + *.tar) unpack="cat"; uncompress="true";; \ + *) echo "Unknown extension for upstream tarball $(cdbs_upstream_local_tarball)"; false;; \ + esac && \ + if [ -n "$(strip $(DEB_UPSTREAM_REPACKAGE_EXCLUDE))" ]; then \ + echo "Repackaging tarball ..." && \ + mkdir -p "$(DEB_UPSTREAM_WORKDIR)/$(DEB_UPSTREAM_REPACKAGE_TAG)" && \ + $$unpack "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_local_tarball)" \ + | tar -x -C "$(DEB_UPSTREAM_WORKDIR)/$(DEB_UPSTREAM_REPACKAGE_TAG)" $(patsubst %,--exclude='%',$(DEB_UPSTREAM_REPACKAGE_EXCLUDE)) && \ + GZIP=-9 tar -b1 -czf "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_repackaged_tarball)" -C "$(DEB_UPSTREAM_WORKDIR)/$(DEB_UPSTREAM_REPACKAGE_TAG)" $(DEB_UPSTREAM_TARBALL_SRCDIR) && \ + echo "Cleaning up" && \ + rm -rf "$(DEB_UPSTREAM_WORKDIR)/$(DEB_UPSTREAM_REPACKAGE_TAG)"; \ + elif [ -n "$$uncompress" ]; then \ + echo "Recompressing tarball ..." && \ + $$uncompress "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_local_tarball)"; \ + bzip -9 "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_uncompressed_tarball)"; \ + fi + +DEB_PHONY_RULES += print-version get-orig-source + +endif --- netatalk-2.0.3.orig/debian/netatalk.logcheck.violations.ignore +++ netatalk-2.0.3/debian/netatalk.logcheck.violations.ignore @@ -0,0 +1,4 @@ +afpd\[[0-9]+\]: afp_die: asp_shutdown: Connection timed out$ +afpd\[[0-9]+\]: afp_getsrvrparms: stat /[^/]+/: Permission denied$ +afpd\[[0-9]+\]: (afp_flushfork|afp_read|getforkparms): (ad_refresh|of_find): Permission denied$ +afpd\[[0-9]+\]: dsi_stream_read\(0\): Permission denied$ --- netatalk-2.0.3.orig/debian/netatalk.logcheck.ignore.server +++ netatalk-2.0.3/debian/netatalk.logcheck.ignore.server @@ -0,0 +1,28 @@ +afpd\[[0-9]+\]: ((dhx|cleartext|randnum/rand2num) )?login: [[:alnum:]]+$ +afpd\[[0-9]+\]: (afp_flushfork|afp_read|getforkparms): (ad_refresh|of_find): (No such file or directory|No such process|Permission denied)$ +afpd\[[0-9]+\]: dsi_stream_read\(0\): (No such file or directory|No such process|Permission denied)$ +afpd\[[0-9]+\]: (atp_rresp|afp_die: asp_shutdown): Connection timed out$ +afpd\[[0-9]+\]: (registering [[:alnum:]]+ \(uid [0-9]+\) on [\.0-9]+ as|removed) /[^[:space:]]+/net[\.0-9]+node[0-9]+$ +afpd\[[0-9]+\]: (server_child\[[0-9]+\] [0-9]+ )?(done|exited 1)$ +afpd\[[0-9]+\]: ASIP session:[0-9]+\([0-9]+\) from [\.:0-9]+\([0-9]+\)$ +afpd\[[0-9]+\]: CNID DB initialized using Sleepycat Software: Berkeley DB( [\.0-9]+: \([^\(]+\))?$ +afpd\[[0-9]+\]: Connection terminated$ +afpd\[[0-9]+\]: [\.[:alnum:]]+ read, [\.[:alnum:]]+ written$ +afpd\[[0-9]+\]: [_[:alnum:]]+(\(-?[0-9]+\))?: stat [^:]+: (No such file or directory|Permission denied)$ +afpd\[[0-9]+\]: afp_alarm: child timed out$ +atalkd\[[0-9]+\]: as_timer sendto: Network is unreachable $ +afpd\[[0-9]+\]: asp_alrm: [0-9]+ timed out$ +afpd\[[0-9]+\]: dsi_stream_(read\(-1\)|write): Connection reset by peer$ +afpd\[[0-9]+\]: dsi_stream_read\(0\): Success$ +afpd\[[0-9]+\]: error stat'ing /[^[:space:]]+/net[\.0-9]+node[0-9]+: No such file or directory$ +afpd\[[0-9]+\]: login [[:alnum:]]+ \(uid [0-9]+, gid [0-9]+\)( AFP2\.2)?$ +afpd\[[0-9]+\]: login noauth$ +afpd\[[0-9]+\]: logout [[:alnum:]]+$ +afpd\[[0-9]+\]: session from [\.:0-9]+ on [\.:0-9]+$ +afpd\[[0-9]+\]: uams_dhx_pam.c :PAM: PAM (Auth OK!|Success -- Success)$ +afpd\[[0-9]+\]: using codepage directory: /etc/netatalk/nls/maccode\.[\.a-z0-9-]+$ +atalkd\[[0-9]+\]: zip (ignoring gnireply|gnireply from [\.0-9]+ \([[:alnum:]]+ [[:alnum:]]+\)) $ +atalkd\[[0-9]+\]: \[rtmp\.c:[0-9]+\]: I:ATalkDaemon: rtmp_replace [0-9]+-[0-9]+$ +atalkd\[[0-9]+\]: \[rtmp\.c:[0-9]+\]: I:ATalkDaemon: rtmp_free [0-9]+-[0-9]+$ +papd\[[0-9]+\]: child [0-9]+ done$ +papd\[[0-9]+\]: child [0-9]+ for "[^[:space:]]+" from [\.0-9]+$ --- netatalk-2.0.3.orig/debian/changelog +++ netatalk-2.0.3/debian/changelog @@ -0,0 +1,1134 @@ +netatalk (2.0.3-6) unstable; urgency=low + + * Update CDBS tweaks: + + Replace auto-update.mk with overloading buildcore.mk. + + Add debian/README.cdbs-tweaks and advertise it in debian/rules. + + Fix applying buildinfo only once. + + Fix race condition: check copyright strings in pre-build target + (not clean target). + + Add upstream-tarball.mk to implement get-orig-source target. + * Declare (and cleanup) build-dependencies in debian/rules. + * Semi-auto-update debian/control: + DEB_BUILD_OPTIONS=cdbs-autoupdate fakeroot debian/rules pre-build + * Add patch 212 to disable cnid_metad by default. This was the only + major change in -5 initscript and thus hopefully closes: bug#384276. + + -- Jonas Smedegaard Sun, 12 Aug 2007 22:59:12 +0200 + +netatalk (2.0.3-5) unstable; urgency=low + + * Change back to unversioned build-dependency on heimdal-dev again + (it was only a temporary need, and prevented backporting to sarge). + * Add patches to fix a few missed sed replacements: + + 101_fix_manpage_sed_replacements.patch + + 208_fix_manpage_sed_replacements_for_automade_file.patch + * Add patches to make upstream sysv init-file behave sanely: + + 102_rename_initscript.patch + + 103_initscript_background_off_by_default.patch + + 104_initscript_load_module_only_if_intended.patch + + 105_initscript_config_in_etc-default.patch + + 106_papd_needs_atalk_and_fix_bashism.patch + + 209_rename_initscript_for_automade_file.patch + + 210_avoid_update-rc-d.patch + + 211_avoid_update-rc-d_for_automade_file.patch + * Add debian/patches/README explaining the patch numbering scheme. + * Enable the use of upstream Debian-compliant init-file: + + SysV daemons honours locale defaults. + + SysV script handles new cnid daemon. + * Have debhelper reinstall init-file, adding maintainer script hooks. + * Rename NEWS.Debian to NEWS in source to get recognized by debhelper + (yes, seems odd, but that's how it works). + * Recommend procps, needed by macusers. + * Fix default UAM list (upstream assumes openssl is compiled in). + * Improve use of cdbs: + + Add local snippet copyright-check.mk: Scan source for (c) changes. + + Add local snippet auto-update.mk: auto-update build-dependencies. + (enabled only when environment includes DEB_BUILD_OPTIONS=update). + + Add local snippet buildinfo.mk: Include env info with binary pkgs + + (instead of invoking buildinfo directly within debian/rules). + + Switch to using patchsys-quilt (instead of simple-patchsys). + * Add comments documenting the various parts of debian/rules, and + avoid indentation, to not show them during build. + * Fix my entry as package uploader. + * Add netatalk_update.sh (found on upstream wiki) as example script. + * Support autobuilding of ssl-enabled packages when DEB_BUILD_OPTIONS + contains "ssl": + + Include ssl-related build-dependencies with cdbs auto-update (when + environment contains DEB_BUILD_OPTIONS=update,ssl or similar). + + Extend default UAM list handling to toggle SSL-enabled UAMs. + + Safety-check: Refuse to build if build-depending on "libssl" but + without "ssl" included in DEB_BUILD_OPTIONS (if auto-updated to + use ssl but later incosistently built without it enabled). + * Update note in README.Debian about unofficial ssl-enabled packages + to refer to new netatalk-only repository: + deb http://debian.jones.dk/ $DIST/netatalk main + * Bump up standards-version to 3.7.2 (no changes needed). + * Drop no longer relevant (pre-potato) dependencies: + - Depended on libpam-runtime (>= 0.76-14). + - Conflicted with libatalk1 and netatalk-dev. + - Replaced libatalk1. + + -- Jonas Smedegaard Sun, 13 Aug 2006 04:22:26 +0200 + +netatalk (2.0.3-4) unstable; urgency=low + + * Start cnid_metad when requested by user. (Patch stolen from Ubuntu.) + + debian/netatalk.init: Run cnid_metad. + + Closes: #308828 "cnid_metad doesn't run on startup" + * debian/control: Bump heimdal-dev dependency to >= 0.7.1-3 to prevent + build problems on mips/-el. + + -- Sebastian Rittau Sat, 14 Jan 2006 09:26:43 +0100 + +netatalk (2.0.3-3) unstable; urgency=low + + * debian/netatalk.dirs: Add var/spool/netatalk. + + Partly addresses bug #336495. + * debian/control: Build-depend on heimdal-dev >= 0.7.0. + * Fixed namespace conflict with bigloo by renaming afile and achfile. + + Closes: #132054 "Should not conflict with bigloo" + + Closes: #145482 "netatalk conflicts with bigloo" + + debian/patches/207_afile_namespace_conflict.diff: Rename afile to + apple_file and achfile to apple_chfile. + + debian/rules: Manually rename afile.1 to apple_file.1 and achfile.1 to + apple_chfile.1. + + debian/control: Removed conflict with bigloo. + * debian/patches/203_amd64_fixes.diff: Removed, obsolete. + + -- Sebastian Rittau Thu, 29 Dec 2005 19:45:54 +0100 + +netatalk (2.0.3-2) unstable; urgency=low + + * Fixed namespace conflict with yudit by renaming uniconv to + netatalk-uniconv. (Closes: #306385, #306279) + + debian/patches/204_uniconv_namespace_conflict.diff: Rename uniconv + to netatalk-uniconv. Adapt the man page accordingly. + + debian/rules: Manually rename uniconv.1 to netatalk-uniconv.1. + + debian/control: Removed conflict with yudit. + + -- Sebastian Rittau Wed, 13 Jul 2005 16:10:59 +0200 + +netatalk (2.0.3-1) unstable; urgency=low + + * New upstream version. + + -- Sebastian Rittau Sun, 26 Jun 2005 06:09:33 +0200 + +netatalk (2.0.2-5) unstable; urgency=low + + * Recompile against unstable libc6 and CUPS. (Closes: #312963) + * Policy version 3.6.2. (No changes required.) + + -- Sebastian Rittau Sun, 26 Jun 2005 05:53:52 +0200 + +netatalk (2.0.2-4) unstable; urgency=low + + * debian/README.Debian: Fixed typos, removed my homepage as alternate + download location for SSL enabled packages for now. + * Added conflict with yudit. Partly addresses bugs #306279 and #306385. + + -- Sebastian Rittau Tue, 7 Jun 2005 12:54:23 +0200 + +netatalk (2.0.2-3) unstable; urgency=low + + * Fixed build problem on amd64. + + debian/patches/203_amd64_fixes.diff: New patch (thanks, Andreas + Jochens). + + Closes: #300354 "FTBFS (amd64/gcc-4.0): static declaration of 'ucreator' + follows non-static declaration" + + -- Sebastian Rittau Sat, 19 Mar 2005 12:54:12 +0100 + +netatalk (2.0.2-2) unstable; urgency=low + + * debian/control: Added homepage URL to the long description. + * debian/control: Added missing build dependency on heimdal-dev. + + Closes: #300106 "FTBFS: missing build-depends?" + + -- Sebastian Rittau Thu, 17 Mar 2005 23:35:56 +0100 + +netatalk (2.0.2-1) unstable; urgency=low + + * New upstream version. + + debian/patches/100_psf_path.diff: Removed, integrated upstream. + + debian/patches/200_netatalk_conf_defaults.diff: Updated. + + debian/patches/202_psf_8_paths.diff: Updated. + + debian/patches/203_add_netatalk_printer_paths.diff: Removed. + + debian/patches/205_applevolumes_default_homedir.diff: Updated. + + debian/netatalk.examples: Removed. + + debian/netatalk.install: Removed obsolete stuff. + + Closes: #277176 "Please package version 2.0" + * Removed useless netatalk-dev package. + + debian/control: Removed the netatalk-dev package. Make netatalk conflict + with netatalk-dev. + + debian/rules: Don't call d-devlibdeps. Installation directory is now + debian/netatalk instead of debian/tmp. Remove unneeded files from the + installation directory. + + debian/netatalk.install: Removed. + + debian/netatalk-dev.docs: Removed. + + debian/netatalk-dev.install: Removed. + * debian/control: Fix recommends on db4.2-util. + + Closes: #288318 "Recommends non-existent package db4.2-utils" + * New features: CUPS support, PGP and Kerberos UAMs. + + debian/control: Added libcupsys2-dev and heimdal-dev to the build + dependencies. + + debian/rules: Added --enable-pgp-uam, --enablekrb4-uam and + --enable-krbV-uam configure flags. + * Documentation update: + + debian/netatalk.docs: Removed doc/CONFIGURE, added doc/README.ids. + + debian/netatalk-dev.docs: Added doc/README.logger. + + -- Sebastian Rittau Wed, 16 Mar 2005 00:52:28 +0100 + +netatalk (1.6.4a-1) unstable; urgency=high + + * New upstream release. Security fix: insecure tempfile handling + (CAN-2004-0974). Closes: bug#278396 (thanks to Joey Hess + ). + * Recommend db4.2-utils and add new patch 206 adapting hardcoded paths + in cnid_maint to Debian location of helper binaries. Closes: + Bug#239347 (thanks to Rory Campbell-Lange + ). + * Improve init script: + + Timelord requires Appletalk, so load only when ATALKD_ON=yes. + + Use && instead of test -a (it is apparently not POSIX compliant). + * Cleaned up debian/copyright: + + Mention "GNU systems" (instead of only GNU/Linux). + + Drop info contained in changelog. + + Refer only to upstream source. Closes: Bug#260703 (thanks to Adam + Glasgall ). + + Use simpler upstream source URL: http://netatalk.sourceforge.net/. + * Improve README.Debian section on SSL being disabled: + + Rephrase to describe only _current_ state (NEWS.Debian is the + place for _change_ of state). + + Rephrase to clarify the FSF and Debian as _interpreting_ the + conflict between licenses (could be seen as FSF and Debian being + the authors of OpenSSL license). + + Clarify the FSF abbreviation. + + Describe how to rebuild locally with SSL support. + + Add another possible source of SSL-enabled packages, and clarify + that both sources are only unofficial _suggestions_. Closes (also) + bug#260703 (thanks to Adam Glasgall ). + * Set urgency=high to get this bugfix release into sarge ASAP. + + -- Jonas Smedegaard Sun, 31 Oct 2004 20:50:17 +0100 + +netatalk (1.6.4-2) unstable; urgency=low + + * The following changes from Jonas (thanks!): + + Tighten netatalk-dev dependency on exact same version of netatalk. + + Bump up dependency on libpam-runtime to 0.76-14 (reflecting a recent + update to Debian-PAM-MiniPolicy). + + Drop patch no longer needed: 204_netatalk_pamd_enable_password.diff. + + Enable SRVLOC support, recommend slpd and build-depend on + libslp-dev. + + Use (and build-depend on) d-devlibdeps. + + Use (and build-depend on) dh-buildinfo. + + Move around logcheck files to be recognized by dh_installlogcheck, + and tighten build-dependencies of debhelper and cdbs. + + Remove cracklib-related (build-)dependencies (they are only used + when compiled with ssl support). + + Support enabling ssl-related options simply by setting + "DEB_BUILD_OPTIONS=ssl" at build time. + - Include cracklib-support to PAM config on ssl build. + - Only enable DHX plugin on ssl build. + + Add TODO with notes on things to (re)add when (if ever?) ssl support + is enabled again by default. + * Use Berkeley DB 4.2. + + debian/control: Changed build-dependencies accordingly. + + debian/NEWS.Debian: Updated. + + debian/README.Debian: Updated. + + -- Sebastian Rittau Mon, 19 Jan 2004 12:43:49 +0100 + +netatalk (1.6.4-1) unstable; urgency=medium + + * New upstream release. + + debian/patches/100_psf_path.diff: Updated. + * debian/control: Build-Depend on libdb4.1-dev. [Suggested by Jonas + Smedegaard] + * Describe problems with upgrading from older BDB using versions of + Netatalk to newer versions. [Problem tracked down by Jonas] + + debian/README.Debian: Added note about upgrading issues with libdb. + + debian/NEWS.Debian: Added another note and refer to README.Debian. + + -- Sebastian Rittau Sun, 7 Dec 2003 15:30:18 +0100 + +netatalk (1.6.3-4) unstable; urgency=low + + * debian/logcheck/ignore.d.server: Patch by David Sewell to suppress + rtmp_replace and rtmp_free to be displayed by logcheck. + + Closes: #193304 "Suggested addition to logcheck ignore file for netatalk" + * debian/control: Standards-Version 3.6.1 (no changes required) + * Use common PAM files: + + debian/control: Depend on libpam-runtime (>= 0.76-13.1). + + debian/netatalk.install: Don't install upstream's PAM file. + + debian/netatalk.pam: Custom PAM file. + + debian/rules: Install debian/netatalk.pam into debian/netatalk/etc/pam.d. + + -- Sebastian Rittau Sat, 23 Aug 2003 14:40:08 +0200 + +netatalk (1.6.3-3) unstable; urgency=low + + * Fix upload. + * debian/rules: Set variables after including makefile fragment. + (Closes: #198244) + * debian/rules: Put source package in section net. + + -- Sebastian Rittau Sun, 22 Jun 2003 23:22:22 +0200 + +netatalk (1.6.3-2) unstable; urgency=low + + * Not a Debian native package anymore. (Bug introduced into 1.6.3-1.) + + -- Sebastian Rittau Fri, 20 Jun 2003 13:39:21 +0200 + +netatalk (1.6.3-1) unstable; urgency=low + + * New upstream release. + + debian/patches/000_netatalk_conf_typo.diff: Removed. + + debian/patches/007_include_fixes.diff: Removed. + * Remove adv1tov2 since it's obsolete: + + debian/netatalk.install: Removed debian/tmp/usr/bin/adv1tov2. + + debian/netatalk.ignore: Added usr/bin/adv1tov2. + * New patch naming scheme: + + 0xx: Bug fixes the need to go upstream. + + 1xx: Feature addition/changes that should go upstream. + + 2xx: Debian-specific patches. + * debian/rules: Add --disable-logger to the configure options. Suggestion + by Thomas Kaiser. + + -- Sebastian Rittau Thu, 19 Jun 2003 20:33:32 +0200 + +netatalk (1.6.2-3) unstable; urgency=low + + * debian/rules: Correct path to NLS directory. + * debian/rules: Set DEB_UPDATE_RCD_PARAMS. + * debian/control: Build-Depend on cdbs >= 0.4.0.1 to ensure the availability + of DEB_UPDATE_RCD_PARAMS. + * debian/control: Suggest tetex-bin instead of tetex-base. + * debian/patches/008_psf_path.diff: Place psf etc. in libexecdir instead + of sbindir. + * debian/netatalk.install: Filters are now in debian/tmp/usr/lib/netatalk + instead of debian/tmp/usr/sbin. + + -- Sebastian Rittau Sun, 8 Jun 2003 16:46:42 +0200 + +netatalk (1.6.2-2) unstable; urgency=low + + * debian/netatalk.init: Don't redirect messages on force-reload. + + Closes: #151050 "bad messages for restart" + * debian/README.Debian: Document OpenSSL issues. + * debian/control: Conforms to Debian policy 3.5.10. + * debian/control: Build-Depend on libdb4.0-dev instead of libdb3-dev. + * debian/control: Package netatalk depends on libdb4.0-util. (Pointed out + by Nigel Pegram.) + * Use CDBS: + + debian/rules: Use cdbs. + + debian/control: Build-Depend on cdbs and debhelper >= 4.1.0. + + debian/patches/001_netatalk_conf_defaults.diff + + debian/patches/002_etc2ps_paths.diff + + debian/patches/003_psf_8_paths.diff + + debian/patches/004_add_netatalk_printer_paths.diff + + debian/patches/005_netatalk_pamd_enable_password.diff + + debian/patches/006_applevolumes_default_homedir.diff + * debian/patches/000_netatalk_conf_typo.diff: Fixed typo in comment. + + Closes: #151051 "typo" + * debian/patches/007_include_fixes.diff: Correct include paths. + + -- Sebastian Rittau Fri, 6 Jun 2003 18:43:54 +0200 + +netatalk (1.6.2-1) unstable; urgency=low + + * New upstream version. + * Put Debhelper compatibility level into debian/compat, use level 4. + * Added dependencies on ${shlibs:Depends} and ${misc:Depends}. + * Conforms to Debian policy 3.5.9. + * Put netatalk in main. + * Don't link against libssl for now. Also, don't install afppasswd and + manual page. + + -- Sebastian Rittau Sun, 4 May 2003 00:24:25 +0200 + +netatalk (1.6.1-1) unstable; urgency=low + + * New upstream version. + * Corrected the download location in debian/copyright. + * Removed links to undocumented(7). + * Put filters in /usr/sbin (as per the upstream package) instead of + /usr/lib/atalk. Should probably be changed upstream to be LIBEXECDIR + instead of SBINDIR. + * Removed some Debian patches, incorporated upstream. + + -- Sebastian Rittau Sun, 23 Feb 2003 03:59:19 +0100 + +netatalk (1.6.0-5) unstable; urgency=low + + * Fixes a build problem on HPPA. (Closes: #178693) + + -- Sebastian Rittau Tue, 28 Jan 2003 15:58:16 +0100 + +netatalk (1.6.0-4) unstable; urgency=low + + * Reupload to non-US. + * Added Jonas Smedegaard to the uploaders field. + + -- Sebastian Rittau Mon, 30 Dec 2002 10:49:02 +0100 + +netatalk (1.6.0-3) unstable; urgency=low + + * Enable long file name support. + * Patches by Jonas Smedegaard: + + Improved logcheck files + + Remove deprecated logcheck symlinks + + Macusers: strip GECOS field (committed upstream as well) + + Macusers: recognize unresolved IP numbers (ditto) + + Remove --list-missing option on dh_install for now + + -- Sebastian Rittau Sun, 8 Dec 2002 17:40:44 +0100 + +netatalk (1.6.0-2) unstable; urgency=low + + * Use dh_install instead of dh_movefiles. Bump build-dependency on debhelper + to >= 4.0.0. + * Distribute /usr/bin/cnid_maint in package netatalk. + * Distribute /usr/include/atalk/{boolean,logger}.h in package + netatalk-dev. + + -- Sebastian Rittau Sun, 1 Dec 2002 02:04:07 +0100 + +netatalk (1.6.0-1) unstable; urgency=low + + * New upstream version. + * Removed --with-did=cnid configure option, since it's now default. + * pap.8 no longer exists. + * CHANGES document no longer exists. + * Complies with policy version 3.5.8. + * Changed dependency on timeout to a suggests, since the printing + script ensures the existance of timeout before using it. + * Recommend rc instead of just suggesting it, since it's needed by + acleandir.rc. + * Fixed the init.d script to allow host names with spaces. (Pointed out + and solution provided by Thomas Kaiser.) + * Fixed download location in copyright file. + + -- Sebastian Rittau Sun, 1 Dec 2002 01:25:52 +0100 + +netatalk (1.5.5-1) unstable; urgency=low + + * New upstream version. + * Compile with debug symbols by default, support for noopt in + DEB_BUILD_OPTIONS. + * Complies with policy version 3.5.7. + * Add a note to README.Debian about problems with MacOS X and DDP and + how to resolve them. Thanks to Nigel Pegram for pointing this out. + * Removed espy's e-mail address, since I doubt that e-mail will still + reach him. Instead, added his IRC nick to his name. + + -- Sebastian Rittau Tue, 24 Sep 2002 23:54:51 +0200 + +netatalk (1.5.4.1-2) unstable; urgency=medium + + * Use CNID as DID scheme. This may prevent data loss. + + -- Sebastian Rittau Fri, 16 Aug 2002 11:15:36 +0200 + +netatalk (1.5.4.1-1) unstable; urgency=low + + * New upstream version. + + -- Sebastian Rittau Tue, 30 Jul 2002 23:08:26 +0200 + +netatalk (1.5.3.1-1) unstable; urgency=low + + * New upstream version. + * Put afpd NLS file into /usr/share/nls/netatalk. (Rationale: They are + generated binary files and not really meant for changing anyways - a + mapping is a mapping is a mapping.) + * debian/netatalk.docs: removed file BUGS. + + -- Sebastian Rittau Tue, 9 Apr 2002 00:08:12 +0200 + +netatalk (1.5.2-1) unstable; urgency=low + + * New upstream version. + * Install acleandir.rc and link to undocumented(7). + * Suggest rc (for acleandir.rc). + * Added package specific paragraphs to Netatalk's package descriptions. + (Closes: #135523) + * Added --with-nlsdir (and --with-pkgconfdir) configure option. + * Added /usr/bin/afppasswd and correspoding man page. (Closes: #137963) + + -- Sebastian Rittau Tue, 12 Mar 2002 09:34:21 +0100 + +netatalk (1.5.1.1-4) unstable; urgency=low + + * Use uams_dhx.so and uams_randnom.so. This will enable SSL support by + default. + * Fixed wrong line breaks in AppleVolumes.system. Pointed out by Jonas. + + -- Sebastian Rittau Sat, 9 Feb 2002 15:47:21 +0100 + +netatalk (1.5.1.1-3) unstable; urgency=low + + * Offically re-enabled OpenSSL support. Rationale: In the OpenSSL FAQ[1] + it says: + + 2. Can I use OpenSSL with GPL software? + + On many systems including the major Linux and BSD distributions, yes (the + GPL does not place restrictions on using libraries that are part of the + normal operating system distribution). + + Also, Debian does not infringe on the copyright of the Netatalk team, + since we (the Netatalk team) clearly intend Netatalk to be linked + against OpenSSL. (OpenSSL support is on by default.) + + OpenSSL support was on by accident since a few version back anyways. + Now removed the part about enabling OpenSSL support from README.Debian + and added appropriate build dependencies. + + [1] http://www.openssl.org/support/faq.html + + -- Sebastian Rittau Tue, 5 Feb 2002 01:04:02 +0100 + +netatalk (1.5.1.1-2) unstable; urgency=low + + * Added conflict with bigloo for now. This partly addresses bug + #132041. (Both, netatalk and bigloo contain a binary with the name + afile.) We need to fix this properly by ending the ugly name space + pollution of afile. + + -- Sebastian Rittau Sun, 3 Feb 2002 13:35:20 +0100 + +netatalk (1.5.1.1-1) unstable; urgency=low + + * New upstream version. + * Added -q flag to grep call in init file to suppress spurious output. + (Suggestion by Aubin Paul.) + * The init script is now able to start AppleTalk daemons in the background. + (See /etc/default/netatalk.) This was a much-requested feature and we + can also remove the patches to netatalk.conf and its man page. And - + most importantly - it fixes a four-figure and a "wontfix" wishlist bug! + (Closes: #7683, #95942) + + -- Sebastian Rittau Wed, 23 Jan 2002 01:08:39 +0100 + +netatalk (1.5.0-1) unstable; urgency=low + + * New upstream version "New Year's Eve Release". Final 1.5.0 version. + * Removed the PowerPC segfault patch as it was included upstream. + * Distribute new file NEWS. + + -- Sebastian Rittau Sun, 30 Dec 2001 03:00:25 +0100 + +netatalk (1.5rc2-1) unstable; urgency=medium + + * New upstream version. + * Patches from Jonas: + + 004_logcheck_zip_gnireply_anything + Logcheck fix. + + 005_visible_home_dir_in_config_(again!_and_with_comments_this_time...) + Make home directory visible again. This issue is still not resolved + upstream. I will bring it up on the netatalk-devel mailing list and + hope that Jonas' patch can go upstream. + + 014_--sysconfdir_is_included_with_--enable-fhs + Remove --sysconfdir from ./configure flags. + * Fix segfault at startup on PowerPC. Thanks to David D. Kilzer for the + analysis and fix. (Closes: #123951) + + -- Sebastian Rittau Sat, 29 Dec 2001 03:48:41 +0100 + +netatalk (1.5rc1-1) unstable; urgency=medium + + * New upstream version. Some Debian patches were integrated upstream. + * Correct included docs, since all platform specific docs were merged. + * 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). + * Don't supply --with-did=last anymore, since this is now the default. + * Removed code to work around an upstream packaging problem. This is fixed + with the new release. + + -- Sebastian Rittau Sat, 15 Dec 2001 14:23:56 +0100 + +netatalk (1.5pre8-6) unstable; urgency=low + + * More patches by Jonas Smedegaard + + 001_make_sure_replaced_files_are_executable + + 002_randnum.so_is_only_for_encryption-enabled_builds + Removed uams_randnum.so from config files. + + 003_bring_init_and_conf_in_sync_and_support_zone + Set AFPD_MAX_CLIENTS to 50 in netatalk.init, too. + New variable: ATALK_ZONE for configuration. + + 012_logcheck_corrections + * Also "fixed" uams_dhx_pam.so. (Closes: #120360) + * Removed the USE_SSL variable from debian/rules. Instead, document the + use of --with-ssl-dir in README.Debian. + + -- Sebastian Rittau Sun, 2 Dec 2001 06:50:21 +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 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 + + * Work around the fact that upstream includes sym-links to mkinstalldirs and + missing instead of verbatim copies. We do that by including our own copies + in debian and copy them before running the build. (Closes: #114915) + + -- Sebastian Rittau Wed, 10 Oct 2001 14:03:34 +0200 + +netatalk (1.5pre8-1) unstable; urgency=low + + * New upstream version, containing most Debian patches. + * Added a patch to configure.in that fixes PAM detection and compilation. + + -- Sebastian Rittau Sun, 7 Oct 2001 12:46:15 +0200 + +netatalk (1.5pre7-5) unstable; urgency=low + + * More patches by Jonas Smedegaard : + + 001_logcheck_fix_typo_and_optimize... + Logcheck fixes and improvements. (Closes: #114448) + + 005_visible_home_dir_in_config_(again!) + Name user home directories "Home Directory" by default to make them + appear in the MacOS chooser. (Patch had already been applied in + 1.5pre7-2, but had been lost since.) + + Jonas made more patches, which I haven't applied yet, but either + committed upstream or sent upstream for discussion. + + -- Sebastian Rittau Thu, 4 Oct 2001 22:31:50 +0200 + +netatalk (1.5pre7-4) unstable; urgency=low + + * Fixed Build-Dependencies. (pam-cracklib -> cracklib2-dev) (Closes: #113356) + * Restored symlinks in /usr/lib/atalk/filters and other directories. + (Closes: #113746) + * Patches by Jonas Smedegaard : + + 002_correctly_calculate_perl_depends + + 003_remove_cap_line_from_logcheck + Small logcheck change. + + 004_add_misc_logcheck_lines + Another logcheck change. + + 011_strip_pam_paths + Not applied, but patched config/netatalk.pamd to strip /lib/security + from its path. + + -- Sebastian Rittau Mon, 1 Oct 2001 08:30:17 +0200 + +netatalk (1.5pre7-3) unstable; urgency=low + + * Fixed a stupid typo I made in the new init script. + * Put add_netatalk_printer and netatalkshorternamelinks.pl in the + examples directory instead of /usr/bin. Suggestion from Jonas + Smedegaard. + + -- Sebastian Rittau Sun, 23 Sep 2001 19:08:43 +0200 + +netatalk (1.5pre7-2) unstable; urgency=low + + * Integrated a lot of patches by Jonas Smedegaard : + + 001_etc2ps paths + Correct paths in etc2ps and suggest tetex-base. + + 005_visible_home_dir_in_config + Name user home directories "Home Directory" by default to make them + appear in the MacOS chooser. + + 007_logcheck + Support for the logcheck log file checking package. + + 011_avoid_symlinks_and_force_using_autoconf_2.50 + Partly applied: Patch configure.in so that the use of autoconf 2.50 + is forced. (Debian autoconf hack workaround.) + + 012_netatalk.conf + Improved init script. Also, make use of netatalk.conf again. + I patched the patch so that netatalk.conf is placed in /etc/default. + + 015_recommend_lsof_(for_macusers)_and_suggest_quota + Recommend lsof and suggest quota. + + 021_enable_ssl_and_cracklib_and_correct_pam_paths + Partly applied: Enable cracklib support. + * Fixed paths in add_netatalk_printer. + * Removed lp2pap.sh since it's of no use on Debian systems. + * Removed test_parse_mtab and afpd-mtab.pl because we are not using + the mtab DID scheme. + * Comparison operator is '=', not '==' in the 'test' command. Fixed + my patch. + * Removed netatalk.conf.5 as well, since we don't install netatalk.conf + anymore. + * Removed superfluous file /etc/netatalk/netatalk.pamd. + * Moved all *.la and *.a files to netatalk-dev. Added appropriate + conflicts and replaces. + * debian/rules: Do not copy files to package build directories instead of + removing them afterwards. + + -- Sebastian Rittau Sun, 23 Sep 2001 14:04:06 +0200 + +netatalk (1.5pre7-1) unstable; urgency=medium + + * New upstream version. Most patches were applied upstream. + * This release uses libtool for UAM stuff. Also, the correct flag + for dynamic linking is supplied, so the problems with unresolved + symbols should be gone now. (Closes: #95399) + * Non-DSFG free code was removed. Copyright notice was changed accordingly. + * Use ./configure --sysconfdir instead of --with-config-dir. + * Upstream package does now install PAM file in the correct directory. + Removed rule, correcting this from Debian rules file. + * Added man pages for netatalk-config(1) and timelord(8). (Upstream + does now also include a man page for timeout(1), but since we're not + distributing it anymore, we don't care.) + * Some doc files were removed, others were added. + * Use debhelper compatibility level 3 and performed general packaging + cleanups at the same time. + * Standards-Version 3.5.6.0. No changes needed. + * Netatalk is now GPL'ed. Added a note stating that to copyright. + Also, we can't link against libssl anymore. Removed SSL stuff. + I had to patch configure.in to do that. + * Removed emacs stuff from changelog. + * Applied a patch to getiface.c for a problem that could lead to + segfaults. Thanks to Kai Henningsen + for actually being affected by this bug, and - more importantly - + finding the problem. (Closes: #109310) + + -- Sebastian Rittau Thu, 30 Aug 2001 02:02:17 +0200 + +netatalk (1.5pre6-7) unstable; urgency=low + + * Cleaned up CFLAGS handling in ./configure call. + * Updated config.{sub,guess} again, just to make sure ... + * Depend on the timeout package from tct. Also, don't distribute + /usr/bin/timeout and remove the timeout(1) link to undocumented(7). + Make preparations to remove the proper timeout(1) man page that will + get distributed with netatalk 1.5pre7. + + -- Sebastian Rittau Sun, 19 Aug 2001 18:05:55 +0200 + +netatalk (1.5pre6-6) unstable; urgency=medium + + * ./configure --with-did=last + This should fix errors with MacOS X. + * Fixed typo in add_netatalk_printer. (Closes: #104192) + * Removed /etc/netatalk/netatalk.conf, since it's not used by Debian's + init script. (Closes: #103539) + * Disabled pam_guest module by default. (Closes: #106637) + + -- Sebastian Rittau Sat, 28 Jul 2001 14:49:15 +0200 + +netatalk (1.5pre6-5) unstable; urgency=low + + * Removed --without-ssl option from ./configure invocation. Not + that it had any effect before. + * Updated config.{sub,guess} (manually for now). I will switch to + dh_autotools if and when this is available. (Closes: #102861) + + -- Sebastian Rittau Fri, 6 Jul 2001 00:46:18 +0200 + +netatalk (1.5pre6-4) unstable; urgency=low + + * Changed section of netatalk-dev to non-US, too. + * Make netatalk-dev depend on netatalk. + + -- Sebastian Rittau Tue, 19 Jun 2001 01:40:07 +0200 + +netatalk (1.5pre6-3) unstable; urgency=low + + * Thanks to my former sponsor Michael 'grisu' Bramer for his efforts. + * Changed maintainer address to . + * Moved to section non-US and link against libssl. Changed Build-Depends + accordingly. + * Link against libdb3 instead of libdb2. Changed Build-Depends + accordingly. + * Sources were not obtained from CVS, and are available by HTTP. + * Removed patch to contrib/Makefile.* to enable compilation of timelord. + Instead, use configure option --with-timelord. + * Added symlinks to megatron. Use patch from upstream CVS. (Closes: #95944) + * Clean up patch for etc/psf/Makefile.am. + * Added DEB_BUILD_OPTIONS handling. (Closes: #99705) + * Added links to undocumented(7) from binheader(1) and nadheader(1). + * Standards-Version: 3.5.5.0. + + -- Sebastian Rittau Sun, 17 Jun 2001 15:50:13 +0200 + +netatalk (1.5pre6-2) unstable; urgency=low + + * This version will hopefully clean up the version mess, I created. + * Conforms to standards-version 3.5.3.0 (no changes needed). + * Link cleanappledouble.pl(1) to undocumented(7). + * Removed all hand-crafted {pre,post}{inst,rm} files. + * Give files in /etc/netatalk/nls a mode of 0644, instead of 0755. Fixes + lintian warnings. + * Build-Depends on libdb2-dev do exist since -1. (Closes: #92774) + * Distribute missing pagecount.ps. (Closes: #95117) + * Compile timelord. + * Use --enable-fhs instead of --with-fhs. Should fix some paths. + * Compile with shadow support. (Closes: #95186) + * Use the pam_unix.so module instead of pam_pwdb.so in /etc/pam.d/netatalk. + + -- Sebastian Rittau Tue, 1 May 2001 03:38:57 +0200 + +netatalk (1.5pre6-1) unstable; urgency=low + + * New upstream release. + * Re-added changes made in 1.4b2+asun2.1.3-8. + * Added --prefix=/usr to ./configure options. + + -- Sebastian Rittau Fri, 13 Apr 2001 00:27:47 +0200 + +netatalk (1.5pre5-3) unstable; urgency=low + + * Re-added changes made in 1.4b2+asun2.1.3-8. + + -- Sebastian Rittau Fri, 6 Apr 2001 23:44:47 +0200 + +netatalk (1.5pre5-2) unstable; urgency=low + + * Added copyright of University of Newcastle upon Tyne to debian/copyright. + * Removed patches/uams_dhx_pam.c.patch as it was applied upstream. + * Some documentation files were moved into the doc subdirectory. + * Added more documentation files. + * Added some temporary build fixes. + + -- Sebastian Rittau Wed, 8 Mar 2001 00:03:30 +0100 + +netatalk (1.5pre5-1) unstable; urgency=low + + * New upstream version. + + -- Sebastian Rittau Fri, 23 Feb 2001 21:07:18 +0100 + +netatalk (1.5pre4-1) unstable; urgency=low + + * New upstream version. + * Some reorganisations to allow building directly from CVS. + * Debian packaging is now included in upstream CVS. + * Modified debian/copyright to include CVS instructions. + * Call ./configure with --with-fhs and removed --with-uams-path option. + * Removed patches/paths.h.patch as this is now supported by --with-fhs. + * Removed various build patches now included upstream. + * Use dh_installman from debhelper v3. Updated build dependencies + accordingly. + * Removed comment about Debian specific changes from debian/copyright. + * Build with libssl support. (Closes: #48871) + * Added libssl096-dev to Build-Depends. + * Ship FAQ in /usr/share/doc/netatalk + + -- Sebastian Rittau Thu, 22 Feb 2001 20:44:41 +0100 + +netatalk (1.5pre3-1) unstable; urgency=low + + * New upstream version from netatalk.sourceforge.net. + (Closes: #69232, #78781) + * Repackaged using debhelper. + * Conforms to policy version 3.5.1.0. + * Removed some Debian specific patches integrated upstream. + * Updated debian/copyright. + * Changed priority from optional to extra. + + -- Sebastian Rittau Thu, 22 Feb 2001 10:18:07 +0100 + +netatalk (1.4b2+asun2.1.3-8) unstable; urgency=low + + * Added libdb2-dev to build-depends. (Closes: #92774) + * Complies with Debian policy version 3.5.2.0. + * Added netatalk homepage and current maintainer to debian/copyright. + + -- Sebastian Rittau Tue, 3 Apr 2001 23:59:38 +0200 + +netatalk (1.4b2+asun2.1.3-7) unstable; urgency=low + + * New maintainer. (Closes: #82386) + * Fixed a build problem. + * Strip .note and .comment sections from /usr/lib/atalk/psa. + * Added debhelper as build-dependency. + * Complies with Debian policy version 3.2.1.0. + + -- Sebastian Rittau Sun, 21 Jan 2001 15:49:11 +0100 + +netatalk (1.4b2+asun2.1.3-6) unstable; urgency=low + + * The "looks like I picked the wrong week to quit sniffing glue" release. + * Update the maintainer name in the control file. + * Move psa and etc2ps to /usr/lib/atalk, as they are not user binaries + (this also shuts lintian up). + + -- David Huggins-Daines Fri, 14 Jan 2000 21:04:24 -0500 + +netatalk (1.4b2+asun2.1.3-5) unstable; urgency=low + + * New maintainer. + * Compensate for stupid new 'install -s' behaviour. (closes:Bug#51423) + * Fix psf(8) manpage. (closes:Bug#30839) + * Updated Standards-Version. + * Fixed symlinks to be relative, as per lintian's warnings. + * Added /usr/doc symlinks in the postinst/prerm. + + -- David Huggins-Daines Wed, 22 Dec 1999 20:24:26 -0500 + +netatalk (1.4b2+asun2.1.3-4) unstable; urgency=low + + * Fix init script to always kill papd even if ENABLE_PAP=no (closes:Bug#48783). + + -- Joel Klecker Sun, 31 Oct 1999 07:43:29 -0800 + +netatalk (1.4b2+asun2.1.3-3) unstable; urgency=low + + * Remove libatalk1 and libatalk1-dev (I think it is a mistake to "fork" a + shared version of a library in Debian, if the library is static upstream + then upstream isn't gonna be careful with the ABI). + * Create netatalk-dev. + * netatalk.init: Use $() instead of ``. + Use /bin/hostname explicitly. + s/daemons/Daemons/g. + Remove module fiddling (closes:Bug#44767,#43319). + * Remove "glibc 2.1 fix" it's no longer needed. + * Compile with sendfile support. + * Use /usr/share/doc. + * Cleanup bashisms in debian/rules. + + -- Joel Klecker Sat, 23 Oct 1999 20:59:24 -0700 + +netatalk (1.4b2+asun2.1.3-2) unstable; urgency=low + + * (netatalk): Make /etc/netatalk/afpd.conf a conffile (closes:Bug#37628). + + -- Joel Klecker Thu, 13 May 1999 10:54:37 -0700 + +netatalk (1.4b2+asun2.1.3-1) unstable; urgency=low + + * New upstream release (closes:Bug#33982). + * Correct paths in psf.8 (closes:Bug#30839). + * There is now a different way to control CRLF translation on a + per-volume basis upstream so I have removed the patch that + provides the -e option to afpd. + * (netatalk): Depend on libpam-modules. + * Put man pages in /usr/share/man. + + -- Joel Klecker Tue, 30 Mar 1999 12:17:36 -0800 + +netatalk (1.4b2+asun2.1.1-2) frozen unstable; urgency=low + + * Incorporated glibc 2.1 fixes from Christian Meder. + * Remove explicit add-log-mailing-address from debian/changelog. + + -- Joel Klecker Fri, 15 Jan 1999 07:28:11 -0800 + +netatalk (1.4b2+asun2.1.1-1.1) frozen unstable; urgency=low + + * non maintainer, sparc only upload + * fix #includes for glibc2.1 + + -- Christian Meder Mon, 4 Jan 1999 12:37:13 +0100 + +netatalk (1.4b2+asun2.1.1-1) frozen unstable; urgency=low + + * New upstream bugfix release. + * Recompile against libc6 2.0.7u-7 to get rid of versioned + libc6 dependency. + + -- Joel Klecker Thu, 3 Dec 1998 07:45:42 -0800 + +netatalk (1.4b2+asun2.1.0-5) frozen unstable; urgency=high + + * [libatalk/atp/atp_rsel.c] Minor change for libnatali compatibility + (closes:Bug#30092). + * Rebuild with libc6 2.0.7u-6 for i386. + + -- Joel Klecker Fri, 27 Nov 1998 22:58:11 -0800 + +netatalk (1.4b2+asun2.1.0-4) frozen unstable; urgency=low + + * binary-arch target now depends on pre-binary (closes:Bug#29508) + + -- Joel Klecker Tue, 17 Nov 1998 04:46:50 -0800 + +netatalk (1.4b2+asun2.1.0-3) frozen unstable; urgency=low + + * Now installs /usr/lib/atalk/pagecount.ps (closes:Bug#29323) + + -- Joel Klecker Thu, 12 Nov 1998 00:30:53 -0800 + +netatalk (1.4b2+asun2.1.0-2) frozen unstable; urgency=low + + * Should build from freshly unpacked source now (Bug#28810) + + -- Joel Klecker Sun, 1 Nov 1998 19:34:52 -0800 + +netatalk (1.4b2+asun2.1.0-1) unstable; urgency=low + + * New upstream release. + * Incorporate megatron patch from Rob Browning (Bug#25598). + * Don't install /usr/include/netatalk on glibc 2.1 architectures. + * Fix paths in /etc/pam.d/netatalk file. + + -- Joel Klecker Thu, 29 Oct 1998 23:54:13 -0800 + +netatalk (1.4b2+asun2.0a18.2-1) frozen unstable; urgency=low + + * New "upstream" release. + * This does add new features, however, it also fixes at + least one nasty bug (Bug#13973). + * Applied patch which adds a command-line option to disable + CR/LF translation (thanks to Davide Welton and Jon Nelson). + (Note to release manager: this patch is applied so this + package has the exact functionality of netatalk-asun) + * Renamed libatalk-dev to libatalk1-dev. + * Symlinked /usr/man/man1/nbpunrgstr.1.gz to /usr/man/man1/nbprgstr.1.gz + to keep lintian happy. + * Changed the "lock directory" to /var/run and the names of the "lock files" to .pid, + since what the source calls locks are really the same as the .pid files other daemons + put in /var/run. + * This package provides all the functionality of netatalk-asun, and + it will replace netatalk-asun in the distribution. + + -- Joel Klecker Tue, 12 May 1998 19:31:54 -0700 + +netatalk (1.4b2-5) frozen unstable; urgency=low + + * New Maintainer (I can finally close bugs + I fixed in previous releases ;). + * Changed library package names again. + * Upgraded to Debian Policy 2.4.0.0. + * Moved conffiles to /etc/netatalk. + * Fixes almost all lintian warnings/errors. + * Cleaned up changelog. + + -- Joel Klecker Sun, 22 Mar 1998 21:50:00 -0800 + +netatalk (1.4b2-4.5) unstable; urgency=low + + * Non-maintainer release (again :>) + * Made libatalk14g-dev conflict with libc5-dev to fix overlap + (Bug:#17848) + + -- Joel Klecker Thu, 5 Feb 1998 20:42:51 -0800 + +netatalk (1.4b2-4.4) unstable; urgency=low + + * Yet Another non-maintainer release. + * Added patch to fix "dancing icon" problems with Macs running Mac OS 8. + * Changed comment in /etc/AppleVolumes.default (Bug:#15279) + * Implemented variable for "server name" in init script + (as suggested in Bug:#12024) + * Added a kluge to /etc/init.d/netatalk to remove kernel appletalk + module (if there is one) at stop and reinsert it at start, this + is needed or else netatalk will not start once stopped (Bug:#12142,11349) + + -- Joel Klecker Fri, 30 Jan 1998 07:50:00 -0800 + +netatalk (1.4b2-4.3) unstable; urgency=low + + * Non-maintainer release. + * Fixed dependencies. + + -- Joel Klecker Thu, 8 Jan 1998 16:14:17 -0800 + +netatalk (1.4b2-4.2) unstable; urgency=low + + * Non-maintainer release. + * Changed library package names. + + -- Joel Klecker Wed, 7 Jan 1998 00:00:00 -0800 + +netatalk (1.4b2-4.1) unstable; urgency=low + + * Non-maintainer libc6 compile. + + -- Joel Klecker Tue, 6 Jan 1998 00:00:00 -0800 + +netatalk (1.4b2-4) unstable; urgency=low + + * Recompiled against newer PAM libraries. + * Added /etc/pam.d/samba. + + -- Klee Dienes Sat, 8 Mar 1997 01:17:09 -0500 + +netatalk (1.4b2-3) unstable; urgency=low + + * Added PAM support. + * Split into libatalk, libatalk-dev, and netatalk. + * Added patch from Randy Gobbel to allow case + translation to be specified at config-time rather than compile time. + Note that configuration files that make use of this feature may not + work with other releases of netatalk, and that this feature may be + removed in the future if UMich rejects the patch or implements it + differently. + * Startup messages now conform to 'Standard for Console Messages' (fixes + #5399). + * No longer creates new subdirectories (to appease dpkg-buildpackage). + + -- Klee Dienes Wed, 26 Feb 1997 21:02:02 -0500 + +netatalk (1.4b2-2) unstable; urgency=low + + * Resend_request made external for libnatali. + * Added shared libraries. + * Next revision will split into libatalk, libatalk-dev, and netatalk. + + -- Klee Dienes Fri, 24 Jan 1997 22:37:22 -0500 + +netatalk (1.4b2-1) unstable; urgency=low + + * Updated to upstream version 1.4b2. + * Added preliminary PAM support (currently disabled). + * Made /etc/init.d/netatalk a conffile. + * Changed /etc/init.d/netatalk to complete only once appletalk services + are running. Configurating an Appletalk interface can take many (> 15) + seconds, so the previous version would fork a process to configure the + interface and then start up the other Appletalk services. Although + possibly controversial, this change is necessary so that packages like + ppr can be ensured that netatalk will be started before they run + without undue complication. + + -- Klee Dienes Sat, 2 Nov 1996 19:42:04 -0700 + +netatalk (1.4b1-1) unstable; urgency=low + + * Updated to new upstream version. + * Updated to new packaging format. + + -- Klee Dienes Wed, 2 Oct 1996 10:18:14 -0700 + +netatalk (1.3.3-3); + + * Fixed location of include files. + + -- Klee Dienes Mon Jan 8 10:46:52 MST 1996 + +netatalk (1.3.3-2); + + * Fixed bug in postrm script. + + -- Klee Dienes Thu Dec 21 08:22:24 MST 1995 + +netatalk (1.3.3-1); + + * Initial Release. + + -- Klee Dienes Wed Dec 13 22:58:31 MST 1995 --- netatalk-2.0.3.orig/debian/copyright +++ netatalk-2.0.3/debian/copyright @@ -0,0 +1,57 @@ +This is Netatalk packaged for Debian GNU systems. + +Upstream source: http://netatalk.sourceforge.net/ + +The following copyrights/licenses apply to this software: + +The GNU General Public License (GPL). See /usr/share/common-licenses/GPL +for more information. + +This software includes software developed by the University of Michigan. + +Copyright (c) 1990,1996 Regents of The University of Michigan. +All Rights Reserved. + + Permission to use, copy, modify, and distribute this software and + its documentation for any purpose and without fee is hereby granted, + provided that the above copyright notice appears in all copies and + that both that copyright notice and this permission notice appear + in supporting documentation, and that the name of The University + of Michigan not be used in advertising or publicity pertaining to + distribution of the software without specific, written prior + permission. This software is supplied as is without expressed or + implied warranties of any kind. + +This product includes software developed by the University of +California, Berkeley and its contributors. + +Solaris code is encumbered by the following: + Copyright (C) 1996 by Sun Microsystems Computer Co. + + Permission to use, copy, modify, and distribute this software and + its documentation for any purpose and without fee is hereby + granted, provided that the above copyright notice appear in all + copies and that both that copyright notice and this permission + notice appear in supporting documentation. This software is + provided "as is" without express or implied warranty. + +Modifications for Appleshare IP and other files copyrighted by Adrian +Sun are under the following copyright: + + Copyright (c) 1997,1998,1999,2000 Adrian Sun (asun@cobalt.com) + All Rights Reserved. + + Permission to use, copy, modify, and distribute this software and + its documentation for any purpose and without fee is hereby granted, + provided that the above copyright notice appears in all copies and + that both that copyright notice and this permission notice appear + in supporting documentation. This software is supplied as is + without expressed or implied warranties of any kind. + +Research Systems Unix Group +The University of Michigan +c/o Wesley Craig +535 W. William Street +Ann Arbor, Michigan ++1-313-764-2278 +netatalk@umich.edu --- netatalk-2.0.3.orig/debian/compat +++ netatalk-2.0.3/debian/compat @@ -0,0 +1 @@ +4 --- netatalk-2.0.3.orig/debian/patches/212_disable_cnid_metad_by_default.patch +++ netatalk-2.0.3/debian/patches/212_disable_cnid_metad_by_default.patch @@ -0,0 +1,24 @@ +diff -ruN netatalk-2.0.3.orig/config/netatalk.conf netatalk-2.0.3/config/netatalk.conf +--- netatalk-2.0.3.orig/config/netatalk.conf 2007-08-12 23:53:44.000000000 +0200 ++++ netatalk-2.0.3/config/netatalk.conf 2007-08-12 23:56:14.000000000 +0200 +@@ -31,7 +31,7 @@ + # Set which daemons to run (papd is dependent upon atalkd): + ATALKD_RUN=yes + PAPD_RUN=yes +-CNID_METAD_RUN=yes ++CNID_METAD_RUN=no + AFPD_RUN=yes + TIMELORD_RUN=no + A2BOOT_RUN=no +diff -ruN netatalk-2.0.3.orig/distrib/initscripts/rc.atalk.debian.tmpl netatalk-2.0.3/distrib/initscripts/rc.atalk.debian.tmpl +--- netatalk-2.0.3.orig/distrib/initscripts/rc.atalk.debian.tmpl 2007-08-12 23:53:44.000000000 +0200 ++++ netatalk-2.0.3/distrib/initscripts/rc.atalk.debian.tmpl 2007-08-12 23:54:33.000000000 +0200 +@@ -23,7 +23,7 @@ + ATALK_ZONE= + ATALK_NAME=`/bin/hostname --short` + ATALK_BGROUND=no +-CNID_METAD_RUN=yes ++CNID_METAD_RUN=no + ATALK_MAC_CHARSET='MAC_ROMAN' + ATALK_UNIX_CHARSET='LOCALE' + --- netatalk-2.0.3.orig/debian/patches/105_initscript_config_in_etc-default.patch +++ netatalk-2.0.3/debian/patches/105_initscript_config_in_etc-default.patch @@ -0,0 +1,22 @@ +--- netatalk/distrib/initscripts/rc.atalk.debian.tmpl.old ++++ netatalk/distrib/initscripts/rc.atalk.debian.tmpl +@@ -16,7 +16,7 @@ + # Guard to prevent execution if netatalk was removed. + test -x :SBINDIR:/atalkd || exit 0 + +-# Set defaults. Please change these options in :ETCDIR:/netatalk.conf. ++# Set defaults. Please change these options in /etc/default/netatalk. + AFPD_UAMLIST="-U uams_dhx.so,uams_clrtxt.so" + AFPD_GUEST=nobody + AFPD_MAX_CLIENTS=50 +@@ -28,8 +28,8 @@ + ATALK_UNIX_CHARSET='LOCALE' + + # Read in netatalk configuration. +-if [ -f :ETCDIR:/netatalk.conf ]; then +- . :ETCDIR:/netatalk.conf ++if [ -f /etc/default/netatalk ]; then ++ . /etc/default/netatalk + fi + + # Start Netatalk servers. --- netatalk-2.0.3.orig/debian/patches/104_initscript_load_module_only_if_intended.patch +++ netatalk-2.0.3/debian/patches/104_initscript_load_module_only_if_intended.patch @@ -0,0 +1,14 @@ +--- netatalk/distrib/initscripts/rc.atalk.debian.tmpl.old ++++ netatalk/distrib/initscripts/rc.atalk.debian.tmpl +@@ -36,8 +36,10 @@ + atalk_startup() { + if [ "x$ATALKD_RUN" = "xyes" ]; then + +- # Try to load the AppleTalk kernel module ++ # Try to load the AppleTalk kernel module if it was intended. ++ if grep -q '^appletalk$' /etc/modules; then + /sbin/modprobe appletalk || echo "[could not load appletalk module]" ++ fi + + # Start atalkd server. + :SBINDIR:/atalkd --- netatalk-2.0.3.orig/debian/patches/201_etc2ps_paths.diff +++ netatalk-2.0.3/debian/patches/201_etc2ps_paths.diff @@ -0,0 +1,17 @@ +--- netatalk/etc/psf/etc2ps.sh.old 2003-06-06 18:27:06.000000000 +0200 ++++ netatalk/etc/psf/etc2ps.sh 2003-06-06 18:27:43.000000000 +0200 +@@ -9,11 +9,11 @@ + # tag in the case. + # + +-DVIPSPATH=/usr/local/tex/bin +-DVIPS=/usr/local/tex/bin/dvips ++DVIPSPATH=/usr/bin ++DVIPS=/usr/bin/dvips + DVIPSARGS="-f -q" + +-TROFF2PS=/usr/local/psroff/troff2/troff2ps ++TROFF2PS=/usr/bin/troff2ps + TROFF2PSARGS="-Z -O-.10" + + PATH=/usr/bin:$DVIPSPATH; export PATH --- netatalk-2.0.3.orig/debian/patches/200_netatalk_conf_defaults.diff +++ netatalk-2.0.3/debian/patches/200_netatalk_conf_defaults.diff @@ -0,0 +1,11 @@ +--- netatalk/config/netatalk.conf.old 2005-03-15 12:47:46.160398959 +0100 ++++ netatalk/config/netatalk.conf 2005-03-15 12:48:12.387463653 +0100 +@@ -14,7 +14,7 @@ + # quotes here if the zone name contains spaces. + # + #ATALK_ZONE="@some zone" +-ATALK_NAME=`echo ${HOSTNAME}|cut -d. -f1` ++ATALK_NAME=`/bin/hostname --short` + + # specify the Mac and unix charsets to be used + ATALK_MAC_CHARSET='MAC_ROMAN' --- netatalk-2.0.3.orig/debian/patches/202_psf_8_paths.diff +++ netatalk-2.0.3/debian/patches/202_psf_8_paths.diff @@ -0,0 +1,15 @@ +--- netatalk/man/man8/psf.8.tmpl.old 2005-03-15 12:50:30.080552653 +0100 ++++ netatalk/man/man8/psf.8.tmpl 2005-03-15 12:50:50.525351065 +0100 +@@ -44,9 +44,9 @@ + .nf + + laser|lp|LaserWriter Plus on AppleTalk:\\ +- :sd=/usr/spool/lpd/laser:\\ +- :lp=/usr/spool/lpd/laser/null:\\ +- :lf=/var/adm/lpd\-errs:pw#80:hl:\\ ++ :sd=/var/spool/lpd/laser:\\ ++ :lp=/var/spool/lpd/laser/null:\\ ++ :lf=/var/log/lpd\-errs:pw#80:hl:\\ + :of=:LIBEXECDIR:/ofpap:\\ + :if=:LIBEXECDIR:/ifpaprev:\\ + :tf=:LIBEXECDIR:/tfpaprev:\\ --- netatalk-2.0.3.orig/debian/patches/204_uniconv_namespace_conflict.diff +++ netatalk-2.0.3/debian/patches/204_uniconv_namespace_conflict.diff @@ -0,0 +1,438 @@ +--- netatalk/bin/uniconv/Makefile.am.old 2005-07-13 15:14:58.769900582 +0200 ++++ netatalk/bin/uniconv/Makefile.am 2005-07-13 15:16:02.381823878 +0200 +@@ -2,7 +2,7 @@ + + INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/sys + +-bin_PROGRAMS = uniconv ++sbin_PROGRAMS = netatalk-uniconv + +-uniconv_SOURCES = uniconv.c iso8859_1_adapted.c +-uniconv_LDADD = $(top_builddir)/libatalk/cnid/libcnid.la $(top_builddir)/libatalk/libatalk.la ++netatalk_uniconv_SOURCES = uniconv.c iso8859_1_adapted.c ++netatalk_uniconv_LDADD = $(top_builddir)/libatalk/cnid/libcnid.la $(top_builddir)/libatalk/libatalk.la +--- netatalk/man/man1/uniconv.1.tmpl.old 2005-07-13 15:17:08.883737627 +0200 ++++ netatalk/man/man1/uniconv.1.tmpl 2005-07-13 15:24:37.281120223 +0200 +@@ -1,10 +1,10 @@ +-.TH uniconv 1 "24 Jun 2004" 2.0.3 Netatalk ++.TH netatalk-uniconv 1 "24 Jun 2004" 2.0.3 Netatalk + .SH NAME +-uniconv \- convert Netatalk volume encoding ++netatalk-uniconv \- convert Netatalk volume encoding + .SH SYNOPSIS +-\fBuniconv\fR [\-ndv] \-c \fBcnidbackend\fR \-f \fBfromcode\fR \-t \fBtocode\fR [\-m \fBmaccode\fR] \fBvolumepath\fR ++\fBnetatalk-uniconv\fR [\-ndv] \-c \fBcnidbackend\fR \-f \fBfromcode\fR \-t \fBtocode\fR [\-m \fBmaccode\fR] \fBvolumepath\fR + .SH DESCRIPTION +-uniconv converts the volume encoding of ++netatalk-uniconv converts the volume encoding of + \fIvolumepath\fR from the \fIfromcode\fR + to the \fItocode\fR encoding. + .SH OPTIONS +@@ -60,7 +60,7 @@ + and CAP. If you want to use other charsets, they must be provided by + \fBiconv\fR(1) + .PP +-uniconv also knows iso\-8859.adapted, an old style ++netatalk-uniconv also knows iso\-8859.adapted, an old style + 1.x NLS widely used. This is only intended for upgrading old volumes, + \fBafpd\fR(8) + cannot handle iso\-8859.adapted anymore. +@@ -75,49 +75,53 @@ + .PP + If you change a lot of filenames at once, chances are higher that + the afpds fallback mechanisms fail, i.e. files will be assigned new IDs, +-even though the file hasn't changed. uniconv ++even though the file hasn't changed. netatalk-uniconv + therefore updates the CNID entry for each file/directory directly after it + changes the name to avoid inconsistencies. The two supported backends for + volumes, dbd and cdb, use the same CNID db format. Therefore, you +-\fIcould\fR use uniconv with cdb and ++\fIcould\fR use netatalk-uniconv with cdb and + afpd with dbd later. + .PP + \fBWarning\fR: There must not be two + processes opening the CNID database using different backends at once! If a + volume is still opened with dbd (cnid_metad/cnid_dbd) and you start +-uniconv with cdb, the result will be a corrupted CNID ++netatalk-uniconv with cdb, the result will be a corrupted CNID + database, as the two backends use different locking schemes. You might run + into additional problems, e.g. if dbd is compiled with transactions, cdb + will not update the transaction logs. + .PP + In general, it is recommended to use the same backend for +-uniconv you are using with ++netatalk-uniconv you are using with + \fBafpd\fR(8). + .SH EXAMPLES + convert 1.x CAP encoded volume to UTF\-8, clients used MacRoman + codepage, cnidscheme is dbd: + .PP + .nf +-example%\fB uniconv \-c dbd \-f ASCII \-t UTF8 \-m MAC_ROMAN /path/to/share\fR ++example%\fB netatalk-uniconv \-c dbd \-f ASCII \-t UTF8 \-m MAC_ROMAN /path/to/share\fR + .fi + .PP + convert iso8859\-1 volume to UTF\-8, cnidscheme is cdb: + .PP + .nf +-example%\fB uniconv \-c cdb \-f ISO\-8859\-1 \-t UTF8 \-m MAC_ROMAN /path/to/share\fR ++example%\fB netatalk-uniconv \-c cdb \-f ISO\-8859\-1 \-t UTF8 \-m MAC_ROMAN /path/to/share\fR + .fi + .PP + convert 1.x volume using iso8859\-1 adapted NLS to CAP encoding: + .PP + .nf +-example%\fB uniconv \-f ISO\-8859\-ADAPTED \-t ASCII \-m MAC_ROMAN/path/to/share\fR ++example%\fB netatalk-uniconv \-f ISO\-8859\-ADAPTED \-t ASCII \-m MAC_ROMAN/path/to/share\fR + .fi + .PP + convert UTF\-8 volume to CAP, for MacCyrillic clients: + .PP + .nf +-example%\fB uniconv \-f UTF8 \-t ASCII \-m MAC_CYRILLIC /path/to/share\fR ++example%\fB netatalk-uniconv \-f UTF8 \-t ASCII \-m MAC_CYRILLIC /path/to/share\fR + .fi ++.SH "DEBIAN NOTES" ++\fInetatalk-uniconv\fR is the Debian version of upstream's \fIuniconv\fR ++program. This rename was necessary to avoid naming conflicts with other ++packages. Apart from the name the program works identical. + .SH "SEE ALSO" + \fBAppleVolumes.default\fR(5),\fBafpd\fR(8),\fBiconv\fR(1),\fBcnid_metad\fR(8),\fBcnid_dbd\fR(8) + +--- netatalk/bin/uniconv/Makefile.in.old 2005-05-18 00:14:04.000000000 +0200 ++++ netatalk/bin/uniconv/Makefile.in 2005-07-13 15:35:00.082096270 +0200 +@@ -1,4 +1,4 @@ +-# Makefile.in generated by automake 1.7.5 from Makefile.am. ++# Makefile.in generated by automake 1.7.9 from Makefile.am. + # @configure_input@ + + # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 +@@ -41,21 +41,14 @@ + host_triplet = @host@ + target_triplet = @target@ + ACLOCAL = @ACLOCAL@ +-AFS_CFLAGS = @AFS_CFLAGS@ +-AFS_LIBS = @AFS_LIBS@ + AMDEP_FALSE = @AMDEP_FALSE@ + AMDEP_TRUE = @AMDEP_TRUE@ + AMTAR = @AMTAR@ ++AR = @AR@ + AUTOCONF = @AUTOCONF@ + AUTOHEADER = @AUTOHEADER@ + AUTOMAKE = @AUTOMAKE@ + AWK = @AWK@ +-BDB_BIN = @BDB_BIN@ +-BDB_CFLAGS = @BDB_CFLAGS@ +-BDB_LIBS = @BDB_LIBS@ +-BDB_PATH = @BDB_PATH@ +-BUILD_DBD_DAEMON_FALSE = @BUILD_DBD_DAEMON_FALSE@ +-BUILD_DBD_DAEMON_TRUE = @BUILD_DBD_DAEMON_TRUE@ + BUILD_PAM_FALSE = @BUILD_PAM_FALSE@ + BUILD_PAM_TRUE = @BUILD_PAM_TRUE@ + CC = @CC@ +@@ -69,13 +62,11 @@ + COMPILE_TIMELORD_TRUE = @COMPILE_TIMELORD_TRUE@ + CPP = @CPP@ + CPPFLAGS = @CPPFLAGS@ +-CRYPT_LIBS = @CRYPT_LIBS@ +-CUPS_CFLAGS = @CUPS_CFLAGS@ +-CUPS_CONFIG = @CUPS_CONFIG@ +-CUPS_LDFLAGS = @CUPS_LDFLAGS@ +-CUPS_LIBS = @CUPS_LIBS@ ++CXX = @CXX@ ++CXXCPP = @CXXCPP@ ++CXXDEPMODE = @CXXDEPMODE@ ++CXXFLAGS = @CXXFLAGS@ + CYGPATH_W = @CYGPATH_W@ +-DEFAULT_CNID_SCHEME = @DEFAULT_CNID_SCHEME@ + DEFS = @DEFS@ + DEPDIR = @DEPDIR@ + ECHO = @ECHO@ +@@ -84,18 +75,14 @@ + ECHO_T = @ECHO_T@ + EGREP = @EGREP@ + EXEEXT = @EXEEXT@ +-GREP = @GREP@ +-GSSAPI_CFLAGS = @GSSAPI_CFLAGS@ +-GSSAPI_LIBS = @GSSAPI_LIBS@ +-ICONV_CFLAGS = @ICONV_CFLAGS@ +-ICONV_LIBS = @ICONV_LIBS@ ++F77 = @F77@ ++FFLAGS = @FFLAGS@ + INSTALL_DATA = @INSTALL_DATA@ + INSTALL_PROGRAM = @INSTALL_PROGRAM@ + INSTALL_SCRIPT = @INSTALL_SCRIPT@ + INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ + KCFLAGS = @KCFLAGS@ + KLDFLAGS = @KLDFLAGS@ +-KRB5_CONFIG = @KRB5_CONFIG@ + LDFLAGS = @LDFLAGS@ + LIBADD_DL = @LIBADD_DL@ + LIBOBJS = @LIBOBJS@ +@@ -113,25 +100,12 @@ + PACKAGE_STRING = @PACKAGE_STRING@ + PACKAGE_TARNAME = @PACKAGE_TARNAME@ + PACKAGE_VERSION = @PACKAGE_VERSION@ +-PAMDIR = @PAMDIR@ +-PAM_CFLAGS = @PAM_CFLAGS@ +-PAM_LIBS = @PAM_LIBS@ + PATH_SEPARATOR = @PATH_SEPARATOR@ +-PERL = @PERL@ +-PKGCONFDIR = @PKGCONFDIR@ +-PS = @PS@ +-QUOTA_LIBS = @QUOTA_LIBS@ + RANLIB = @RANLIB@ +-SERVERTEXT = @SERVERTEXT@ + SET_MAKE = @SET_MAKE@ + SHELL = @SHELL@ +-SLP_CFLAGS = @SLP_CFLAGS@ +-SLP_LIBS = @SLP_LIBS@ + SOLARIS_MODULE_FALSE = @SOLARIS_MODULE_FALSE@ + SOLARIS_MODULE_TRUE = @SOLARIS_MODULE_TRUE@ +-SPOOLDIR = @SPOOLDIR@ +-SSL_CFLAGS = @SSL_CFLAGS@ +-SSL_LIBS = @SSL_LIBS@ + STRIP = @STRIP@ + UAMS_PATH = @UAMS_PATH@ + USE_COBALT_FALSE = @USE_COBALT_FALSE@ +@@ -160,8 +134,6 @@ + USE_SHADOWPW_TRUE = @USE_SHADOWPW_TRUE@ + USE_SOLARIS_FALSE = @USE_SOLARIS_FALSE@ + USE_SOLARIS_TRUE = @USE_SOLARIS_TRUE@ +-USE_SPOOLDIR_FALSE = @USE_SPOOLDIR_FALSE@ +-USE_SPOOLDIR_TRUE = @USE_SPOOLDIR_TRUE@ + USE_SUSE_FALSE = @USE_SUSE_FALSE@ + USE_SUSE_TRUE = @USE_SUSE_TRUE@ + USE_TRU64_FALSE = @USE_TRU64_FALSE@ +@@ -169,12 +141,16 @@ + USE_UNDEF_FALSE = @USE_UNDEF_FALSE@ + USE_UNDEF_TRUE = @USE_UNDEF_TRUE@ + VERSION = @VERSION@ +-WRAP_LIBS = @WRAP_LIBS@ ++ac_ct_AR = @ac_ct_AR@ + ac_ct_CC = @ac_ct_CC@ ++ac_ct_CXX = @ac_ct_CXX@ ++ac_ct_F77 = @ac_ct_F77@ + ac_ct_RANLIB = @ac_ct_RANLIB@ + ac_ct_STRIP = @ac_ct_STRIP@ + am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ + am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ ++am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ ++am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ + am__include = @am__include@ + am__leading_dot = @am__leading_dot@ + am__quote = @am__quote@ +@@ -184,7 +160,6 @@ + build_cpu = @build_cpu@ + build_os = @build_os@ + build_vendor = @build_vendor@ +-compiled_backends = @compiled_backends@ + datadir = @datadir@ + exec_prefix = @exec_prefix@ + host = @host@ +@@ -213,23 +188,24 @@ + + INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/sys + +-bin_PROGRAMS = uniconv ++sbin_PROGRAMS = netatalk-uniconv + +-uniconv_SOURCES = uniconv.c iso8859_1_adapted.c +-uniconv_LDADD = $(top_builddir)/libatalk/cnid/libcnid.la $(top_builddir)/libatalk/libatalk.la ++netatalk_uniconv_SOURCES = uniconv.c iso8859_1_adapted.c ++netatalk_uniconv_LDADD = $(top_builddir)/libatalk/cnid/libcnid.la $(top_builddir)/libatalk/libatalk.la + subdir = bin/uniconv + ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 + mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs + CONFIG_HEADER = $(top_builddir)/config.h + CONFIG_CLEAN_FILES = +-bin_PROGRAMS = uniconv$(EXEEXT) +-PROGRAMS = $(bin_PROGRAMS) ++sbin_PROGRAMS = netatalk-uniconv$(EXEEXT) ++PROGRAMS = $(sbin_PROGRAMS) + +-am_uniconv_OBJECTS = uniconv.$(OBJEXT) iso8859_1_adapted.$(OBJEXT) +-uniconv_OBJECTS = $(am_uniconv_OBJECTS) +-uniconv_DEPENDENCIES = $(top_builddir)/libatalk/cnid/libcnid.la \ ++am_netatalk_uniconv_OBJECTS = uniconv.$(OBJEXT) \ ++ iso8859_1_adapted.$(OBJEXT) ++netatalk_uniconv_OBJECTS = $(am_netatalk_uniconv_OBJECTS) ++netatalk_uniconv_DEPENDENCIES = $(top_builddir)/libatalk/cnid/libcnid.la \ + $(top_builddir)/libatalk/libatalk.la +-uniconv_LDFLAGS = ++netatalk_uniconv_LDFLAGS = + + DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) + depcomp = $(SHELL) $(top_srcdir)/depcomp +@@ -243,9 +219,9 @@ + CCLD = $(CC) + LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +-DIST_SOURCES = $(uniconv_SOURCES) +-DIST_COMMON = Makefile.am Makefile.in +-SOURCES = $(uniconv_SOURCES) ++DIST_SOURCES = $(netatalk_uniconv_SOURCES) ++DIST_COMMON = $(srcdir)/Makefile.in Makefile.am ++SOURCES = $(netatalk_uniconv_SOURCES) + + all: all-am + +@@ -253,41 +229,41 @@ + .SUFFIXES: .c .lo .o .obj + $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) + cd $(top_srcdir) && \ +- $(AUTOMAKE) --foreign bin/uniconv/Makefile ++ $(AUTOMAKE) --gnu bin/uniconv/Makefile + Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe) +-binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) +-install-binPROGRAMS: $(bin_PROGRAMS) ++sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM) ++install-sbinPROGRAMS: $(sbin_PROGRAMS) + @$(NORMAL_INSTALL) +- $(mkinstalldirs) $(DESTDIR)$(bindir) +- @list='$(bin_PROGRAMS)'; for p in $$list; do \ ++ $(mkinstalldirs) $(DESTDIR)$(sbindir) ++ @list='$(sbin_PROGRAMS)'; for p in $$list; do \ + p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ + if test -f $$p \ + || test -f $$p1 \ + ; then \ + f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ +- echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \ +- $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \ ++ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f"; \ ++ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f || exit 1; \ + else :; fi; \ + done + +-uninstall-binPROGRAMS: ++uninstall-sbinPROGRAMS: + @$(NORMAL_UNINSTALL) +- @list='$(bin_PROGRAMS)'; for p in $$list; do \ ++ @list='$(sbin_PROGRAMS)'; for p in $$list; do \ + f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ +- echo " rm -f $(DESTDIR)$(bindir)/$$f"; \ +- rm -f $(DESTDIR)$(bindir)/$$f; \ ++ echo " rm -f $(DESTDIR)$(sbindir)/$$f"; \ ++ rm -f $(DESTDIR)$(sbindir)/$$f; \ + done + +-clean-binPROGRAMS: +- @list='$(bin_PROGRAMS)'; for p in $$list; do \ ++clean-sbinPROGRAMS: ++ @list='$(sbin_PROGRAMS)'; for p in $$list; do \ + f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ + echo " rm -f $$p $$f"; \ + rm -f $$p $$f ; \ + done +-uniconv$(EXEEXT): $(uniconv_OBJECTS) $(uniconv_DEPENDENCIES) +- @rm -f uniconv$(EXEEXT) +- $(LINK) $(uniconv_LDFLAGS) $(uniconv_OBJECTS) $(uniconv_LDADD) $(LIBS) ++netatalk-uniconv$(EXEEXT): $(netatalk_uniconv_OBJECTS) $(netatalk_uniconv_DEPENDENCIES) ++ @rm -f netatalk-uniconv$(EXEEXT) ++ $(LINK) $(netatalk_uniconv_LDFLAGS) $(netatalk_uniconv_OBJECTS) $(netatalk_uniconv_LDADD) $(LIBS) + + mostlyclean-compile: + -rm -f *.$(OBJEXT) core *.core +@@ -298,9 +274,6 @@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/iso8859_1_adapted.Po@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/uniconv.Po@am__quote@ + +-distclean-depend: +- -rm -rf ./$(DEPDIR) +- + .c.o: + @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ + @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ +@@ -434,7 +407,7 @@ + all-am: Makefile $(PROGRAMS) + + installdirs: +- $(mkinstalldirs) $(DESTDIR)$(bindir) ++ $(mkinstalldirs) $(DESTDIR)$(sbindir) + install: install-am + install-exec: install-exec-am + install-data: install-data-am +@@ -446,7 +419,7 @@ + installcheck: installcheck-am + install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ +- INSTALL_STRIP_FLAG=-s \ ++ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + mostlyclean-generic: +@@ -454,19 +427,20 @@ + clean-generic: + + distclean-generic: +- -rm -f Makefile $(CONFIG_CLEAN_FILES) ++ -rm -f $(CONFIG_CLEAN_FILES) + + maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." + clean: clean-am + +-clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am ++clean-am: clean-generic clean-libtool clean-sbinPROGRAMS mostlyclean-am + + distclean: distclean-am +- +-distclean-am: clean-am distclean-compile distclean-depend \ +- distclean-generic distclean-libtool distclean-tags ++ -rm -rf ./$(DEPDIR) ++ -rm -f Makefile ++distclean-am: clean-am distclean-compile distclean-generic \ ++ distclean-libtool distclean-tags + + dvi: dvi-am + +@@ -478,7 +452,7 @@ + + install-data-am: + +-install-exec-am: install-binPROGRAMS ++install-exec-am: install-sbinPROGRAMS + + install-info: install-info-am + +@@ -487,7 +461,8 @@ + installcheck-am: + + maintainer-clean: maintainer-clean-am +- ++ -rm -rf ./$(DEPDIR) ++ -rm -f Makefile + maintainer-clean-am: distclean-am maintainer-clean-generic + + mostlyclean: mostlyclean-am +@@ -503,19 +478,19 @@ + + ps-am: + +-uninstall-am: uninstall-binPROGRAMS uninstall-info-am ++uninstall-am: uninstall-info-am uninstall-sbinPROGRAMS + +-.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \ +- clean-generic clean-libtool ctags distclean distclean-compile \ +- distclean-depend distclean-generic distclean-libtool \ ++.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ ++ clean-libtool clean-sbinPROGRAMS ctags distclean \ ++ distclean-compile distclean-generic distclean-libtool \ + distclean-tags distdir dvi dvi-am info info-am install \ +- install-am install-binPROGRAMS install-data install-data-am \ +- install-exec install-exec-am install-info install-info-am \ +- install-man install-strip installcheck installcheck-am \ ++ install-am install-data install-data-am install-exec \ ++ install-exec-am install-info install-info-am install-man \ ++ install-sbinPROGRAMS install-strip installcheck installcheck-am \ + installdirs maintainer-clean maintainer-clean-generic \ + mostlyclean mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \ +- uninstall-am uninstall-binPROGRAMS uninstall-info-am ++ uninstall-am uninstall-info-am uninstall-sbinPROGRAMS + + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. --- netatalk-2.0.3.orig/debian/patches/103_initscript_background_off_by_default.patch +++ netatalk-2.0.3/debian/patches/103_initscript_background_off_by_default.patch @@ -0,0 +1,11 @@ +--- netatalk/distrib/initscripts/rc.atalk.debian.tmpl.old ++++ netatalk/distrib/initscripts/rc.atalk.debian.tmpl +@@ -22,7 +22,7 @@ + AFPD_MAX_CLIENTS=50 + ATALK_ZONE= + ATALK_NAME=`/bin/hostname --short` +-ATALK_BGROUND=yes ++ATALK_BGROUND=no + CNID_METAD_RUN=yes + ATALK_MAC_CHARSET='MAC_ROMAN' + ATALK_UNIX_CHARSET='LOCALE' --- netatalk-2.0.3.orig/debian/patches/205_applevolumes_default_homedir.diff +++ netatalk-2.0.3/debian/patches/205_applevolumes_default_homedir.diff @@ -0,0 +1,20 @@ +--- netatalk/config/AppleVolumes.default.tmpl.old 2005-03-15 12:55:26.970845044 +0100 ++++ netatalk/config/AppleVolumes.default.tmpl 2005-03-15 12:57:48.186659354 +0100 +@@ -1,7 +1,3 @@ +-# This file looks empty when viewed with "vi". In fact, there is one +-# '~', so users with no AppleVolumes file in their home directory get +-# their home directory by default. +-# + # volume format: + # :DEFAULT: [all of the default options except volume name] + # path [name] [casefold:x] [options:z,l,j] \ +@@ -97,7 +93,5 @@ + # cnidscheme:scheme -> set the cnid scheme for the volume, default is [:DEFAULT_CNID_SCHEME:] + # available schemes: [:COMPILED_BACKENDS:] + # +-# The "~" below indicates that Home directories are visible by default. +-# If you do not wish to have people accessing their Home directories, +-# please put a pound sign in front of the tilde or delete it. +-~ ++# By default all users have access to their home directories. ++~/ "Home Directory" --- netatalk-2.0.3.orig/debian/patches/README +++ netatalk-2.0.3/debian/patches/README @@ -0,0 +1,3 @@ +0xx: Backports from newer upstream CVS. +1xx: Possibly relevant for upstream adoption. +2xx: Only relevant for official Debian release. --- netatalk-2.0.3.orig/debian/patches/210_avoid_update-rc-d.patch +++ netatalk-2.0.3/debian/patches/210_avoid_update-rc-d.patch @@ -0,0 +1,17 @@ +--- netatalk/distrib/initscripts/Makefile.am.old ++++ netatalk/distrib/initscripts/Makefile.am +@@ -229,11 +229,11 @@ + chmod a+x atalk + + install-data-hook: +- update-rc.d netatalk defaults 90 10 ++ #update-rc.d netatalk defaults 90 10 + + uninstall-startup: +- rm -f /etc/init.d/netatalk +- update-rc.d netatalk remove ++ #rm -f /etc/init.d/netatalk ++ #update-rc.d netatalk remove + + endif + --- netatalk-2.0.3.orig/debian/patches/211_avoid_update-rc-d_for_automade_file.patch +++ netatalk-2.0.3/debian/patches/211_avoid_update-rc-d_for_automade_file.patch @@ -0,0 +1,17 @@ +--- netatalk/distrib/initscripts/Makefile.in.old ++++ netatalk/distrib/initscripts/Makefile.in +@@ -584,11 +584,11 @@ + @USE_DEBIAN_TRUE@ chmod a+x atalk + + @USE_DEBIAN_TRUE@install-data-hook: +-@USE_DEBIAN_TRUE@ update-rc.d netatalk defaults 90 10 ++@USE_DEBIAN_TRUE@ #update-rc.d netatalk defaults 90 10 + + @USE_DEBIAN_TRUE@uninstall-startup: +-@USE_DEBIAN_TRUE@ rm -f /etc/init.d/netatalk +-@USE_DEBIAN_TRUE@ update-rc.d netatalk remove ++@USE_DEBIAN_TRUE@ #rm -f /etc/init.d/netatalk ++@USE_DEBIAN_TRUE@ #update-rc.d netatalk remove + + # + # defaults, no init scripts installed --- netatalk-2.0.3.orig/debian/patches/series +++ netatalk-2.0.3/debian/patches/series @@ -0,0 +1,18 @@ +101_fix_manpage_sed_replacements.patch +102_rename_initscript.patch +103_initscript_background_off_by_default.patch +104_initscript_load_module_only_if_intended.patch +105_initscript_config_in_etc-default.patch +106_papd_needs_atalk_and_fix_bashism.patch +200_netatalk_conf_defaults.diff +201_etc2ps_paths.diff +202_psf_8_paths.diff +204_uniconv_namespace_conflict.diff +205_applevolumes_default_homedir.diff +206_fix_cnid_maint_paths.diff +207_afile_namespace_conflict.diff +208_fix_manpage_sed_replacements_for_automade_file.patch +209_rename_initscript_for_automade_file.patch +210_avoid_update-rc-d.patch +211_avoid_update-rc-d_for_automade_file.patch +212_disable_cnid_metad_by_default.patch --- netatalk-2.0.3.orig/debian/patches/102_rename_initscript.patch +++ netatalk-2.0.3/debian/patches/102_rename_initscript.patch @@ -0,0 +1,48 @@ +--- netatalk/distrib/initscripts/Makefile.am.old ++++ netatalk/distrib/initscripts/Makefile.am +@@ -42,7 +42,7 @@ + rc.atalk.gentoo.tmpl \ + rc.atalk.debian.tmpl + +-CLEANFILES = $(GENERATED_FILES) atalk afpd atalkd papd timelord ++CLEANFILES = $(GENERATED_FILES) atalk netatalk afpd atalkd papd timelord + EXTRA_DIST = $(TEMPLATES) rc.atalk.cobalt + + # overwrite automake uninstall +@@ -222,18 +222,18 @@ + if USE_DEBIAN + + sysvdir = /etc/init.d +-sysv_SCRIPTS = atalk ++sysv_SCRIPTS = netatalk + +-atalk: rc.atalk.debian +- cp -f rc.atalk.debian atalk +- chmod a+x atalk ++netatalk: rc.atalk.debian ++ cp -f rc.atalk.debian netatalk ++ chmod a+x netatalk + + install-data-hook: +- update-rc.d atalk defaults 90 10 ++ update-rc.d netatalk defaults 90 10 + + uninstall-startup: +- rm -f /etc/init.d/atalk +- update-rc.d atalk remove ++ rm -f /etc/init.d/netatalk ++ update-rc.d netatalk remove + + endif + +--- netatalk/distrib/initscripts/rc.atalk.debian.tmpl.old ++++ netatalk/distrib/initscripts/rc.atalk.debian.tmpl +@@ -10,7 +10,7 @@ + + PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin + DESC="Netatalk" +-NAME=atalk ++NAME=netatalk + SCRIPTNAME=/etc/init.d/$NAME + + # Guard to prevent execution if netatalk was removed. --- netatalk-2.0.3.orig/debian/patches/101_fix_manpage_sed_replacements.patch +++ netatalk-2.0.3/debian/patches/101_fix_manpage_sed_replacements.patch @@ -0,0 +1,11 @@ +--- netatalk/man/man5/Makefile.am.old ++++ netatalk/man/man5/Makefile.am +@@ -9,6 +9,8 @@ + -e s@:BINDIR:@${bindir}@ \ + -e s@:ETCDIR:@${pkgconfdir}@ \ + -e s@:LIBDIR:@${libdir}@ \ ++ -e s@:DEFAULT_CNID_SCHEME:@${default_cnid_scheme}@ \ ++ -e 's@:COMPILED_BACKENDS:@${compiled_backends}@' \ + <$< >$@ + + man_MANS = AppleVolumes.default.5 afpd.conf.5 \ --- netatalk-2.0.3.orig/debian/patches/209_rename_initscript_for_automade_file.patch +++ netatalk-2.0.3/debian/patches/209_rename_initscript_for_automade_file.patch @@ -0,0 +1,42 @@ +--- netatalk/distrib/initscripts/Makefile.in.old ++++ netatalk/distrib/initscripts/Makefile.in +@@ -243,7 +243,7 @@ + rc.atalk.debian.tmpl + + +-CLEANFILES = $(GENERATED_FILES) atalk afpd atalkd papd timelord ++CLEANFILES = $(GENERATED_FILES) atalk netatalk afpd atalkd papd timelord + EXTRA_DIST = $(TEMPLATES) rc.atalk.cobalt + + +@@ -298,7 +298,7 @@ + @USE_GENTOO_TRUE@sysv_SCRIPTS = atalk + @USE_REDHAT_TRUE@sysv_SCRIPTS = atalk + @USE_COBALT_TRUE@sysv_SCRIPTS = atalk +-@USE_DEBIAN_TRUE@sysv_SCRIPTS = atalk ++@USE_DEBIAN_TRUE@sysv_SCRIPTS = netatalk + @USE_TRU64_TRUE@sysv_SCRIPTS = atalk + @USE_SOLARIS_TRUE@sysv_SCRIPTS = atalk + subdir = distrib/initscripts +@@ -580,15 +580,15 @@ + @USE_GENTOO_TRUE@ rm -f /etc/init.d/atalk + +-@USE_DEBIAN_TRUE@atalk: rc.atalk.debian +-@USE_DEBIAN_TRUE@ cp -f rc.atalk.debian atalk +-@USE_DEBIAN_TRUE@ chmod a+x atalk ++@USE_DEBIAN_TRUE@netatalk: rc.atalk.debian ++@USE_DEBIAN_TRUE@ cp -f rc.atalk.debian netatalk ++@USE_DEBIAN_TRUE@ chmod a+x netatalk + + @USE_DEBIAN_TRUE@install-data-hook: +-@USE_DEBIAN_TRUE@ update-rc.d atalk defaults 90 10 ++@USE_DEBIAN_TRUE@ update-rc.d netatalk defaults 90 10 + + @USE_DEBIAN_TRUE@uninstall-startup: +-@USE_DEBIAN_TRUE@ rm -f /etc/init.d/atalk +-@USE_DEBIAN_TRUE@ update-rc.d atalk remove ++@USE_DEBIAN_TRUE@ rm -f /etc/init.d/netatalk ++@USE_DEBIAN_TRUE@ update-rc.d netatalk remove + + # + # defaults, no init scripts installed --- netatalk-2.0.3.orig/debian/patches/208_fix_manpage_sed_replacements_for_automade_file.patch +++ netatalk-2.0.3/debian/patches/208_fix_manpage_sed_replacements_for_automade_file.patch @@ -0,0 +1,11 @@ +--- netatalk/man/man5/Makefile.in.old ++++ netatalk/man/man5/Makefile.in +@@ -433,6 +433,8 @@ + -e s@:BINDIR:@${bindir}@ \ + -e s@:ETCDIR:@${pkgconfdir}@ \ + -e s@:LIBDIR:@${libdir}@ \ ++ -e s@:DEFAULT_CNID_SCHEME:@${default_cnid_scheme}@ \ ++ -e 's@:COMPILED_BACKENDS:@${compiled_backends}@' \ + <$< >$@ + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. --- netatalk-2.0.3.orig/debian/patches/207_afile_namespace_conflict.diff +++ netatalk-2.0.3/debian/patches/207_afile_namespace_conflict.diff @@ -0,0 +1,269 @@ +--- netatalk/bin/afile/Makefile.am.old 2005-12-29 18:41:20.478636301 +0100 ++++ netatalk/bin/afile/Makefile.am 2005-12-29 18:45:05.053933780 +0100 +@@ -2,10 +2,10 @@ + + INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/sys + +-bin_PROGRAMS = afile achfile ++bin_PROGRAMS = apple_file apple_chfile + bin_SCRIPTS = acleandir.rc + +-afile_SOURCES = afile.c common.c common.h +-achfile_SOURCES = achfile.c common.c common.h ++apple_file_SOURCES = afile.c common.c common.h ++apple_chfile_SOURCES = achfile.c common.c common.h + + EXTRA_DIST = acleandir.rc +--- netatalk/bin/afile/Makefile.in.old 2005-12-29 18:41:30.019573890 +0100 ++++ netatalk/bin/afile/Makefile.in 2005-12-29 18:45:08.718598501 +0100 +@@ -1,4 +1,4 @@ +-# Makefile.in generated by automake 1.7.5 from Makefile.am. ++# Makefile.in generated by automake 1.7.9 from Makefile.am. + # @configure_input@ + + # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 +@@ -213,11 +213,11 @@ + + INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/sys + +-bin_PROGRAMS = afile achfile ++bin_PROGRAMS = apple_file apple_chfile + bin_SCRIPTS = acleandir.rc + +-afile_SOURCES = afile.c common.c common.h +-achfile_SOURCES = achfile.c common.c common.h ++apple_file_SOURCES = afile.c common.c common.h ++apple_chfile_SOURCES = achfile.c common.c common.h + + EXTRA_DIST = acleandir.rc + subdir = bin/afile +@@ -225,19 +225,19 @@ + mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs + CONFIG_HEADER = $(top_builddir)/config.h + CONFIG_CLEAN_FILES = +-bin_PROGRAMS = afile$(EXEEXT) achfile$(EXEEXT) ++bin_PROGRAMS = apple_file$(EXEEXT) apple_chfile$(EXEEXT) + PROGRAMS = $(bin_PROGRAMS) + +-am_achfile_OBJECTS = achfile.$(OBJEXT) common.$(OBJEXT) +-achfile_OBJECTS = $(am_achfile_OBJECTS) +-achfile_LDADD = $(LDADD) +-achfile_DEPENDENCIES = +-achfile_LDFLAGS = +-am_afile_OBJECTS = afile.$(OBJEXT) common.$(OBJEXT) +-afile_OBJECTS = $(am_afile_OBJECTS) +-afile_LDADD = $(LDADD) +-afile_DEPENDENCIES = +-afile_LDFLAGS = ++am_apple_chfile_OBJECTS = achfile.$(OBJEXT) common.$(OBJEXT) ++apple_chfile_OBJECTS = $(am_apple_chfile_OBJECTS) ++apple_chfile_LDADD = $(LDADD) ++apple_chfile_DEPENDENCIES = ++apple_chfile_LDFLAGS = ++am_apple_file_OBJECTS = afile.$(OBJEXT) common.$(OBJEXT) ++apple_file_OBJECTS = $(am_apple_file_OBJECTS) ++apple_file_LDADD = $(LDADD) ++apple_file_DEPENDENCIES = ++apple_file_LDFLAGS = + SCRIPTS = $(bin_SCRIPTS) + + +@@ -253,9 +253,9 @@ + CCLD = $(CC) + LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +-DIST_SOURCES = $(achfile_SOURCES) $(afile_SOURCES) +-DIST_COMMON = Makefile.am Makefile.in +-SOURCES = $(achfile_SOURCES) $(afile_SOURCES) ++DIST_SOURCES = $(apple_chfile_SOURCES) $(apple_file_SOURCES) ++DIST_COMMON = $(srcdir)/Makefile.in Makefile.am ++SOURCES = $(apple_chfile_SOURCES) $(apple_file_SOURCES) + + all: all-am + +@@ -263,7 +263,7 @@ + .SUFFIXES: .c .lo .o .obj + $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) + cd $(top_srcdir) && \ +- $(AUTOMAKE) --foreign bin/afile/Makefile ++ $(AUTOMAKE) --gnu bin/afile/Makefile + Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe) + binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) +@@ -295,12 +295,12 @@ + echo " rm -f $$p $$f"; \ + rm -f $$p $$f ; \ + done +-achfile$(EXEEXT): $(achfile_OBJECTS) $(achfile_DEPENDENCIES) +- @rm -f achfile$(EXEEXT) +- $(LINK) $(achfile_LDFLAGS) $(achfile_OBJECTS) $(achfile_LDADD) $(LIBS) +-afile$(EXEEXT): $(afile_OBJECTS) $(afile_DEPENDENCIES) +- @rm -f afile$(EXEEXT) +- $(LINK) $(afile_LDFLAGS) $(afile_OBJECTS) $(afile_LDADD) $(LIBS) ++apple_chfile$(EXEEXT): $(apple_chfile_OBJECTS) $(apple_chfile_DEPENDENCIES) ++ @rm -f apple_chfile$(EXEEXT) ++ $(LINK) $(apple_chfile_LDFLAGS) $(apple_chfile_OBJECTS) $(apple_chfile_LDADD) $(LIBS) ++apple_file$(EXEEXT): $(apple_file_OBJECTS) $(apple_file_DEPENDENCIES) ++ @rm -f apple_file$(EXEEXT) ++ $(LINK) $(apple_file_LDFLAGS) $(apple_file_OBJECTS) $(apple_file_LDADD) $(LIBS) + binSCRIPT_INSTALL = $(INSTALL_SCRIPT) + install-binSCRIPTS: $(bin_SCRIPTS) + @$(NORMAL_INSTALL) +@@ -332,9 +332,6 @@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/afile.Po@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/common.Po@am__quote@ + +-distclean-depend: +- -rm -rf ./$(DEPDIR) +- + .c.o: + @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ + @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ +@@ -480,7 +477,7 @@ + installcheck: installcheck-am + install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ +- INSTALL_STRIP_FLAG=-s \ ++ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + mostlyclean-generic: +@@ -488,7 +485,7 @@ + clean-generic: + + distclean-generic: +- -rm -f Makefile $(CONFIG_CLEAN_FILES) ++ -rm -f $(CONFIG_CLEAN_FILES) + + maintainer-clean-generic: + @echo "This command is intended for maintainers to use" +@@ -498,9 +495,10 @@ + clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am + + distclean: distclean-am +- +-distclean-am: clean-am distclean-compile distclean-depend \ +- distclean-generic distclean-libtool distclean-tags ++ -rm -rf ./$(DEPDIR) ++ -rm -f Makefile ++distclean-am: clean-am distclean-compile distclean-generic \ ++ distclean-libtool distclean-tags + + dvi: dvi-am + +@@ -521,7 +519,8 @@ + installcheck-am: + + maintainer-clean: maintainer-clean-am +- ++ -rm -rf ./$(DEPDIR) ++ -rm -f Makefile + maintainer-clean-am: distclean-am maintainer-clean-generic + + mostlyclean: mostlyclean-am +@@ -542,16 +541,15 @@ + + .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \ + clean-generic clean-libtool ctags distclean distclean-compile \ +- distclean-depend distclean-generic distclean-libtool \ +- distclean-tags distdir dvi dvi-am info info-am install \ +- install-am install-binPROGRAMS install-binSCRIPTS install-data \ +- install-data-am install-exec install-exec-am install-info \ +- install-info-am install-man install-strip installcheck \ +- installcheck-am installdirs maintainer-clean \ +- maintainer-clean-generic mostlyclean mostlyclean-compile \ +- mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ +- tags uninstall uninstall-am uninstall-binPROGRAMS \ +- uninstall-binSCRIPTS uninstall-info-am ++ distclean-generic distclean-libtool distclean-tags distdir dvi \ ++ dvi-am info info-am install install-am install-binPROGRAMS \ ++ install-binSCRIPTS install-data install-data-am install-exec \ ++ install-exec-am install-info install-info-am install-man \ ++ install-strip installcheck installcheck-am installdirs \ ++ maintainer-clean maintainer-clean-generic mostlyclean \ ++ mostlyclean-compile mostlyclean-generic mostlyclean-libtool pdf \ ++ pdf-am ps ps-am tags uninstall uninstall-am \ ++ uninstall-binPROGRAMS uninstall-binSCRIPTS uninstall-info-am + + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. +--- netatalk/man/man1/afile.1.old 2005-12-29 18:50:58.959272188 +0100 ++++ netatalk/man/man1/afile.1 2005-12-29 18:51:51.649585375 +0100 +@@ -1,18 +1,18 @@ +-.TH afile 1 "26 Feb 1998" 2.0.3 Netatalk ++.TH apple_file 1 "26 Feb 1998" 2.0.3 Netatalk + .SH NAME +-afile \- display type and creator of Apple Macintosh files (netatalk format) ++apple_file \- display type and creator of Apple Macintosh files (netatalk format) + .SH SYNOPSIS +-\fBafile\fR [\-a] \fBfile\fR \&... ++\fBapple_file\fR [\-a] \fBfile\fR \&... + .sp 1 + .SH DESCRIPTION +-afile displays the name and Macintosh type and ++apple_file displays the name and Macintosh type and + creator of the \fIfile\fR arguments. Tests + whether the file is an AppleDouble header, in which case it checks the + corresponding data fork exists, or assumes it is a data fork in which case + it looks for the corresponding AppleDouble to find the type/creator + information. + .PP +-afile does not look at any of the extension ++apple_file does not look at any of the extension + mapping files such as AppleVolumes.system. + .SH OPTIONS + .TP +@@ -43,6 +43,6 @@ + .PP + 9 bad magic in AppleDouble + .SH "SEE ALSO" +-\fBachfile\fR(1), ++\fBapple_chfile\fR(1), + \fBafpd\fR(8) + +--- netatalk/man/man1/achfile.1.old 2005-12-29 18:52:46.341353898 +0100 ++++ netatalk/man/man1/achfile.1 2005-12-29 18:53:09.446154302 +0100 +@@ -1,10 +1,10 @@ +-.TH achfile 1 "26 Feb 1998" 2.0.3 Netatalk ++.TH apple_chfile 1 "26 Feb 1998" 2.0.3 Netatalk + .SH NAME +-achfile \- change type and/or creator of Apple Macintosh files (netatalk format) ++apple_chfile \- change type and/or creator of Apple Macintosh files (netatalk format) + .SH SYNOPSIS +-\fBachfile\fR [ \-t \fBtype\fR ] [ \-c \fBcreator\fR ] \fBfile\fR \&... ++\fBapple_chfile\fR [ \-t \fBtype\fR ] [ \-c \fBcreator\fR ] \fBfile\fR \&... + .SH DESCRIPTION +-achfile changes the Macintosh type and/or creator ++apple_chfile changes the Macintosh type and/or creator + of the \fIfile\fR arguments which have a + corresponding .AppleDouble file. + .SH OPTIONS +@@ -15,6 +15,6 @@ + .SH DIAGNOSTICS + returns exit status 0 if all files changed successfully + .SH "SEE ALSO" +-\fBafile\fR(1), ++\fBapple_file\fR(1), + \fBafpd\fR(8) + +--- netatalk/bin/afile/acleandir.rc.old 2005-12-29 19:01:03.359755410 +0100 ++++ netatalk/bin/afile/acleandir.rc 2005-12-29 19:01:16.417250024 +0100 +@@ -42,7 +42,7 @@ + # now look at the .AppleDouble dir + # + emptydir $AD || for (i in $AD/*) { +- if (~ $aopt 1 || ! afile $i >/dev/null >[2=1] ) { ++ if (~ $aopt 1 || ! apple_file $i >/dev/null >[2=1] ) { + sizemess = () + size = `{wc -c $i} + ! ~ $size(1) 589 && sizemess = 'size='^$size(1) +--- netatalk/man/man1/acleandir.1.old 2005-12-29 19:10:45.810277957 +0100 ++++ netatalk/man/man1/acleandir.1 2005-12-29 19:10:54.312460226 +0100 +@@ -44,6 +44,6 @@ + returns exit status 0 unless bad options are provided or a directory + is not given on the command line. + .SH "SEE ALSO" +-\fBafile\fR(1), ++\fBapple_file\fR(1), + \fBafpd\fR(8) + --- netatalk-2.0.3.orig/debian/patches/106_papd_needs_atalk_and_fix_bashism.patch +++ netatalk-2.0.3/debian/patches/106_papd_needs_atalk_and_fix_bashism.patch @@ -0,0 +1,37 @@ +--- netatalk/distrib/initscripts/rc.atalk.debian.tmpl.old ++++ netatalk/distrib/initscripts/rc.atalk.debian.tmpl +@@ -52,7 +52,7 @@ + fi + + # prepare startup of file services +- if [ "x${CNID_METAD_RUN}" = "xyes" -a -x :SBINDIR:/cnid_metad ] ; then ++ if [ "x$CNID_METAD_RUN" = "xyes" -a -x :SBINDIR:/cnid_metad ] ; then + echo -n " cnid_metad" + :SBINDIR:/cnid_metad + fi +@@ -63,7 +63,9 @@ + echo -n " afpd" + fi + +- if [ "x$ATALKD_RUN" = "xyes" -a "x$PAPD_RUN" = "xyes" ]; then ++ if [ "x$ATALKD_RUN" = "xyes" ]; then ++ ++ if [ "x$PAPD_RUN" = "xyes" ]; then + :SBINDIR:/papd + echo -n " papd" + fi +@@ -72,11 +74,13 @@ + :SBINDIR:/timelord + echo -n " timelord" + fi ++ ++ fi + } + + case "$1" in + start) +- if test "x${ATALK_BGROUND}" = "xyes"; then ++ if [ "x$ATALK_BGROUND" = "xyes" ]; then + echo "Starting Netatalk services in the background." + atalk_startup >/dev/null & + else --- netatalk-2.0.3.orig/debian/patches/206_fix_cnid_maint_paths.diff +++ netatalk-2.0.3/debian/patches/206_fix_cnid_maint_paths.diff @@ -0,0 +1,25 @@ +--- netatalk/bin/cnid/cnid_maint.in.old 2003-02-17 03:32:45.000000000 +0100 ++++ netatalk/bin/cnid/cnid_maint.in 2004-08-27 17:10:34.748613050 +0200 +@@ -24,17 +24,17 @@ + ); + + ## Edit ME +-$STOP_CMD = '/usr/local/etc/rc.d/netatalk.sh stop'; +-$START_CMD = '/usr/local/etc/rc.d/netatalk.sh start'; ++$STOP_CMD = '/etc/init.d/netatalk stop'; ++$START_CMD = '/etc/init.d/netatalk start'; + + # This ps command needs to output the following fields in the following order: + # USER,PID,PPID,COMMAND + # Below is the example of a BSD ps. A SYSV example is: + # /bin/ps -eflouid,pid,ppid,comm + $PS_CMD = '@PS@ -axouser,pid,ppid,command'; +-$DB_STAT = '@BDB_BIN@/db_stat'; +-$DB_RECOVER = '@BDB_BIN@/db_recover'; +-$DB_VERIFY = '@BDB_BIN@/db_verify'; ++$DB_STAT = '@BDB_BIN@/db4.2_stat'; ++$DB_RECOVER = '@BDB_BIN@/db4.2_recover'; ++$DB_VERIFY = '@BDB_BIN@/db4.2_verify'; + $APPLE_VOLUMES_FILE = '@PKGCONFDIR@/AppleVolumes.default'; + ## End edit section + --- netatalk-2.0.3.orig/debian/NEWS +++ netatalk-2.0.3/debian/NEWS @@ -0,0 +1,16 @@ +netatalk (1.6.3-5) unstable; urgency=low + + * This version of Netatalk switches to Berkeley DB 4.2. During the + development process of Debian 3.1 (sarge) earlier versions of BDB + (3.0 and 4.0) were used. As Netatalk does not automatically update + its database, you may experience problems like those described in + bug #200373: no files showing up in your folders. This problem + should not concern you if you are upgrading from Debian 3.0 (woody). + + If you have such problems, please refer to + + /usr/share/doc/netatalk/README.Debian + + for information on how to fix them. + + -- Sebastian Rittau Mon, 25 Aug 2003 17:44:29 +0200 --- netatalk-2.0.3.orig/debian/control +++ netatalk-2.0.3/debian/control @@ -0,0 +1,24 @@ +Source: netatalk +Section: net +Priority: extra +Maintainer: Sebastian Rittau +Build-Depends: cdbs (>= 0.4.27-1), autotools-dev, debhelper (>= 4.2.0), quilt, patchutils (>= 0.2.25), dh-buildinfo, libdb4.2-dev, libwrap0-dev, libpam0g-dev, libslp-dev, libcupsys2-dev, heimdal-dev, d-shlibs (>> 0.19) +Uploaders: Sebastian Rittau , Jonas Smedegaard +Standards-Version: 3.7.2 + +Package: netatalk +Section: net +Architecture: any +Depends: netbase, libpam-modules, ${shlibs:Depends}, ${perl:Depends}, ${misc:Depends} +Recommends: lsof, rc, slpd, db4.2-util, procps, ${ssl:Recommends} +Suggests: tetex-bin, quota, timeout +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 + AFP. + . + This package contains all daemon and utility programs as well as Netatalk's + static libraries. + . + Homepage: http://netatalk.sourceforge.net/ --- netatalk-2.0.3.orig/debian/control.in +++ netatalk-2.0.3/debian/control.in @@ -0,0 +1,24 @@ +Source: netatalk +Section: net +Priority: extra +Maintainer: Sebastian Rittau +Build-Depends: @cdbs@ +Uploaders: Sebastian Rittau , Jonas Smedegaard +Standards-Version: 3.7.2 + +Package: netatalk +Section: net +Architecture: any +Depends: netbase, libpam-modules, ${shlibs:Depends}, ${perl:Depends}, ${misc:Depends} +Recommends: lsof, rc, slpd, db4.2-util, procps, ${ssl:Recommends} +Suggests: tetex-bin, quota, timeout +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 + AFP. + . + This package contains all daemon and utility programs as well as Netatalk's + static libraries. + . + Homepage: http://netatalk.sourceforge.net/ --- netatalk-2.0.3.orig/debian/netatalk.ignore +++ netatalk-2.0.3/debian/netatalk.ignore @@ -0,0 +1,8 @@ +usr/bin/add_netatalk_printer +usr/bin/adv1tov2 +usr/bin/afpd-mtab.pl +usr/bin/lp2pap.sh +usr/bin/netatalkshorternamelinks.pl +usr/bin/timeout +usr/include/netatalk/at.h +usr/share/man/man1/timeout.1 --- netatalk-2.0.3.orig/debian/examples/netatalk_update.sh +++ netatalk-2.0.3/debian/examples/netatalk_update.sh @@ -0,0 +1,73 @@ +#!/bin/bash + +# This script was found here: +# http://netatalk.sourceforge.net/wiki/index.php/DebianUpgradeto2 + +DIR="$1" +NEWDIR="${DIR}/.AppleDB" + +# Name binaries +DBDUMPORIG=/usr/bin/db4.1_dump +DBDUMPNEW=/usr/bin/db4.2_dump +DBLOADNEW=/usr/bin/db4.2_load +CNIDCREATOR=/usr/bin/cnid2_create + +( [ -d "${DIR}" ] || [ -d "${NEWDIR}" ] ) || { + echo 'Directory not supplied or does not exist. Aborting' + exit 1 +} + +([ -x ${DBDUMPORIG} ] && [ -x ${DBDUMPNEW} ] && [ -x ${DBLOADNEW} ] && [ -x ${CNIDCREATOR} ]) || { + echo 'Could not find database binaries. Aborting' + exit 1 +} + +echo "About to process \"${DIR}\"" +echo -n "Press ^C to abort " + +for ii in [ 0..6 ]; do + echo -n "." + sleep 1 +done +echo "." + +echo "Changing to \"${NEWDIR}\" directory ..." +cd "${NEWDIR}" + +echo -n "Current directory " +pwd + +sleep 2 +echo "------------------------------------------------------------------" + +echo "Dumping cnid.db ..." +${DBDUMPORIG} -f cnid.dump cnid.db + +echo "Dumping didname.db ..." +${DBDUMPORIG} -f didname.dump didname.db + +echo "Making new cnid2 database ..." +${CNIDCREATOR} ../ + +echo "Deleting old log and info files ..." +rm -f __db.* log.* + +echo "Zipping original cnid.db and cnid.dump files." +echo "(This avoids uniconv failing on finding a version 1 cnid database)" +gzip cnid.db +gzip cnid.dump + +echo + +echo "Loading new cnid2 database ..." +${DBLOADNEW} -f cnid2.dump cnid2.db + +echo +echo "------------------------------------------------------------------" +echo "Done." +echo + +echo "Please now check the permissions of the cnid2.db file." +echo "The cnid2.db must have the same uid:gid as the volume owner." + +exit 0 --- netatalk-2.0.3.orig/debian/netatalk.dirs +++ netatalk-2.0.3/debian/netatalk.dirs @@ -0,0 +1,5 @@ +etc/default +etc/logcheck/ignore.d.server +etc/logcheck/ignore.d.workstation +etc/logcheck/violations.ignore.d +var/spool/netatalk --- netatalk-2.0.3.orig/debian/copyright_hints +++ netatalk-2.0.3/debian/copyright_hints @@ -0,0 +1,142 @@ +(c) 2001 (see COPYING) ++ Copyright (c) 2004 Didier Gautheron ++ Copyright (c) 2004 Didier Gautheron ++ * Copyright (C) Alexander Bokovoy, 2002-2003 ++ * Copyright (C) Didier Gautheron 2004 ++ * Copyright (C) Stefan (metze) Metzmacher, 2003 ++ * Copyright (C) TAKAHASHI Motonobu (monyo), 2003 ++ * Copyright (C) Tim Potter, 1999-2000 +/* Copyright (C) 1999-2000 Free Software Foundation, Inc. +/* Copyright (c) 1999 Adrian Sun (asun@zoology.washington.edu) +AppleVolumes.default

Name

AppleVolumes.default — Configuration file used by afpd(8) to +Chapter1.Introduction to Netatalk

Chapter1.Introduction to Netatalk

Netatalk is an OpenSource software package, that can be used to turn +Chapter2.Installation

Chapter2.Installation

Warning

If you have previously used an older version of Netatalk, please +Chapter3.Setting up Netatalk

Chapter3.Setting up Netatalk

Appletalk

AppleTalk, the network protocol family founded by Apple, contains +Chapter4.Upgrading from a previous version of Netatalk

Chapter4.Upgrading from a previous version of Netatalk

Jrg Lenneis

initial version

26 June, 2004

Table of Contents

Overview
Volumes and filenames
How to upgrade a volume to 2.0
How to use a 1.x CAP encoded volume with 2.0
How to use a 1.x NLS volume with 2.0
Choosing a CNID storage scheme
How to upgrade if no persistent CNID storage was used
How to upgrade if a persistent CNID storage scheme was +Chapter5.Manual Pages

Chapter5.Manual Pages

Table of Contents

achfile - change type and/or creator of Apple Macintosh files (netatalk +Index

Index

Symbols

2-Way Randnum exchange
"2-Way Randnum exchange" UAM, UAMs supported by Netatalk

A

achfile, achfile
acleandir, acleandir
ADv1
AppleDouble v1, Volumes and filenames
ADv2
AppleDouble v2, CNID backends, Volumes and filenames
aecho, aecho
AEP
Apple Echo Protocol, aecho, atalkd
afile, afile
AFP
Apple Filing Protocol, File Services
afpd, Starting and stopping Netatalk, afpd
afpd.conf, afpd.conf
AFPD_GUEST, netatalk.conf
AFPD_MAX_CLIENTS, netatalk.conf
AFPD_RUN, netatalk.conf
AFPD_UAM_LIST, netatalk.conf
afppasswd, afppasswd
AFS Kerberos
"AFS Kerberos" UAM (Kerberos IV), UAMs supported by Netatalk
ALLMULTI
NIC multicast settings, atalkd.conf
AppleDB
.AppleDB CNID database store, How to upgrade if no persistent CNID storage was used
CNID database folder, CNID backends
AppleShare
Synonym for an AFP server, Setting up the AFP file server
Appletalk
The AppleTalk protocol suite, Appletalk
AppleVolumes.default, AppleVolumes.default
apple_cp, apple_cp
apple_mv, apple_mv
apple_rm, apple_rm
ASCII
afpd's unixcodepage setting, afpd and character sets
afpd's volcharset setting, Compatibility with earlier versions
American Standard Code for Information +Legal Notice

Legal Notice

+Netatalk 2.0 Manual

Netatalk 2.0 Manual

2.0.3


Table of Contents

Legal Notice
1. Introduction to Netatalk
2. Installation
How to obtain Netatalk
Binary packages
Source packages
Compiling Netatalk
Prerequisites
Compiling Netatalk
Compiling a new Berkeley DB for Netatalk
3. Setting up Netatalk
Appletalk
To use AppleTalk or not
No AppleTalk routing
atalkd acting as an AppleTalk router
File Services
Setting up the AFP file server
CNID backends
Charsets/Unicode
Authentication
Printing
Setting up the PAP print server
Using AppleTalk printers
Time Services
Using Netatalk as a time server for Macintoshes
Starting and stopping Netatalk
4. Upgrading from a previous version of Netatalk
Overview
Volumes and filenames
How to upgrade a volume to 2.0
How to use a 1.x CAP encoded volume with 2.0
How to use a 1.x NLS volume with 2.0
Choosing a CNID storage scheme
How to upgrade if no persistent CNID storage was used
How to upgrade if a persistent CNID storage scheme was +Netatalk 2.0 Manual

Netatalk 2.0 Manual

2.0.3


Table of Contents

Legal Notice
1. Introduction to Netatalk
2. Installation
How to obtain Netatalk
Binary packages
Source packages
Compiling Netatalk
Prerequisites
Compiling Netatalk
Compiling a new Berkeley DB for Netatalk
3. Setting up Netatalk
Appletalk
To use AppleTalk or not
No AppleTalk routing
atalkd acting as an AppleTalk router
File Services
Setting up the AFP file server
CNID backends
Charsets/Unicode
Authentication
Printing
Setting up the PAP print server
Using AppleTalk printers
Time Services
Using Netatalk as a time server for Macintoshes
Starting and stopping Netatalk
4. Upgrading from a previous version of Netatalk
Overview
Volumes and filenames
How to upgrade a volume to 2.0
How to use a 1.x CAP encoded volume with 2.0
How to use a 1.x NLS volume with 2.0
Choosing a CNID storage scheme
How to upgrade if no persistent CNID storage was used
How to upgrade if a persistent CNID storage scheme was +achfile

Name

achfile — change type and/or creator of Apple Macintosh files (netatalk +acleandir

Name

acleandir — clean up a directory containing netatalk Apple Macintosh files

Synopsis

acleandir [-rnvi] dirname

DESCRIPTION

acleandir cleans up the directory dirname. By default it simply removes +aecho

Name

aecho — send AppleTalk Echo Protocol packets to network hosts

Synopsis

aecho [ -c count +afile

Name

afile — display type and creator of Apple Macintosh files (netatalk +afpd.conf

Name

afpd.conf — Configuration file used by afpd(8) to determine the setup of +afpd

Name

afpd — AppleTalk Filing Protocol daemon

Synopsis

afpd [-duptDTvI] [-f defaultvolumes] [-s systemvolumes] [-n nbpname] [-c maxconnections] [-g guest] [-P pidfile] [-S port] [-L message] [-F config] [-U uamsv] [-m umask]

Description

afpd provides an AppleTalk Filing Protocol (AFP) +afppasswd

Name

afppasswd — netatalk password maintenance utility

Synopsis

afppasswd [-acfn] [ -p +apple_cp

Name

apple_cp — Do an apple copy, copying file metadata and the resource fork as well

Synopsis

/usr/bin/apple_cp SOURCE +apple_mv

Name

apple_mv — Do an apple move, moving metadata and the resource fork as well

Synopsis

/usr/bin/apple_mv SOURCE +apple_rm

Name

apple_rm — Do an apple remove, remove metadata and resource fork as +asip-status.pl

Name

asip-status.pl — Queries AFP servers for their capabilities

Synopsis

/usr/bin/asip-status.pl ADDRESS:PORT...

DESCRIPTION

asip-status.pl is a perl script that +atalk

Name

atalk — AppleTalk protocol family

Synopsis

#include <sys/types.h>
+atalk_aton

Name

atalk_aton — AppleTalk address parsing

Synopsis

#include <sys/types.h>
+atalkd.conf

Name

atalkd.conf — Configuration file used by atalkd(8) to determine the +atalkd

Name

atalkd — AppleTalk RTMP, NBP, ZIP, and AEP manager

Synopsis

atalkd [-f configfile] [-1] [-2]

Description

atalkd is responsible for all user level +cnid_dbd

Name

cnid_dbd — implement access to CNID databases through a dedicated daemon +cnid_index

Name

cnid_index — check and repair Netatalk CNID database indexes

Synopsis

cnid_index dbdir

DESCRIPTION

cnid_index is a utility to check CNID databases +cnid_metad

Name

cnid_metad — start cnid_dbd daemons on request

Synopsis

cnid_metad [-d] [ -h hostname ] [ -p port ] [ -u user ] [ -g group ] [ -s cnid_dbdpathname ]

DESCRIPTION

cnid_metad waits for requests from afpd to start up instances of the cnid_dbd +getzones

Name

getzones — list AppleTalk zone names

Synopsis

getzones [ -m | -l ] [address]

DESCRIPTION

Getzones is used to obtain a list of +megatron

Name

megatron, unhex, unbin, unsingle, hqx2bin, single2bin, macbinary — Macintosh file format transformer

Synopsis

megatron [sourcefile...]

unbin [sourcefile...]

unhex [sourcefile...]

unsingle [sourcefile...]

hqx2bin [sourcefile...]

single2bin [sourcefile...]

macbinary [sourcefile...]

DESCRIPTION

megatron is used to transform files from BinHex, +nbp

Name

nbplkup, nbprgstr, nbpunrgstr — access NBP database

Synopsis

nbplkup [-r maxresponses] [-A address] [-m maccodepage] nbpname

nbprgstr [-A address] [-p port] [-m maccodepage] nbpname

nbpunrgstr [-A address] [-m maccodepage] nbpname

Description

nbprgstr registers nbpname +nbp_name

Name

nbp_name — NBP name parsing

Synopsis

int nbp_name(name,
obj,
type,
zone);
char *name;
char **obj;
char **type;
char **zone;

DESCRIPTION

nbp_name() parses user supplied names into +netatalk-config

Name

netatalk-config — script to get information about the installed version of +netatalk.conf

Name

netatalk.conf — Configuration file used by netatalk(8) to determine its +pap

Name

pap — client interface to remote printers using Printer Access +papd.conf

Name

papd.conf — Configuration file used by papd(8) to determine the +papd

Name

papd — AppleTalk print server daemon

Synopsis

papd [-d] [-f configfile] [-p printcap]

Description

papd is the AppleTalk printer daemon. This daemon +papstatus

Name

papstatus — get the status of an AppleTalk-connected printer

Synopsis

/usr/sbin/papstatus [-d] [ -p printer ] [retrytime]

DESCRIPTION

papstatus is used to obtain the +psf

Name

psf — PostScript filter

Synopsis

psf [ -n name ] [ -h host ] [ -w width ] [ -l length ] [ -i indent ] [-c]

DESCRIPTION

psf is an lpd +psorder

Name

psorder — PostScript pageorder filter

Synopsis

psorder [-duf] sourcefile

DESCRIPTION

psorder is a filter that re-orders the pages of a +timelord

Name

timelord — Macintosh time server daemon

Synopsis

SYNTAX

timelord [-d] [-n filename]

DESCRIPTION

timelord is a simple time server for +timeout

Name

timeout — Send a signal to a program after a certain time

SYNTAX

timeout [-s signal] seconds program [args]

DESCRIPTION

timeout executes a program (with arguments args) +uniconv

Name

uniconv — convert Netatalk volume encoding

Synopsis

uniconv [-ndv] -c cnidbackend -f fromcode -t tocode [-m maccode] volumepath

Description

uniconv converts the volume encoding of +Copyright 1998 Owen Taylor +Copyright (C) 1989, 1991 Free Software Foundation, Inc. +Copyright (C) 1990, 1993 Regents of The University of Michigan +Copyright (C) 1994 X Consortium +Copyright (C) 1994, 1996, 1997 Free Software Foundation, Inc. +Copyright (C) 1996 by Sun Microsystems Computer Co. +Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 +Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002 +Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 +Copyright (C) 1996, 1997, 1999, 2000, 2002 Free Software Foundation, Inc. +Copyright (C) 1996-2000 Free Software Foundation, Inc. +Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. +Copyright (C) 1999-2001 Free Software Foundation, Inc. +Copyright (C) 2001 Heath Kehoe +Copyright (C) 2001 Sebastian Rittau. +Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. +Copyright (C) 2003 Free Software Foundation, Inc. +Copyright (C) Andrew Tridgell 1999-2000 +Copyright (C) Andrew Tridgell 1992-1998 +Copyright (C) Andrew Tridgell 1999 +Copyright (C) Andrew Tridgell 2001 +Copyright (C) Anton Blanchard 2001 +Copyright (C) Bjoern Fernhomberg 2002,2003 +Copyright (C) Bjoern Fernhomberg 2004 +Copyright (C) Igor Vergeichik 2001 +Copyright (C) Jelmer Vernooij 2002,2003 +Copyright (C) Jeremy Allison 2000-2003 +Copyright (C) Jeremy Allison 2002. +Copyright (C) Joerg Lenneis 2003 +Copyright (C) Luke Kenneth Casson Leighton 2000 +Copyright (C) Martin Pool 2003 +Copyright (C) Paul `Rusty' Russell 2000 +Copyright (C) Simo Sorce 2001 +Copyright (c) 1980, 1990 Regents of the University of California. All +Copyright (c) 1980, 1990, 1993 +Copyright (c) 1983 Regents of the University of California. +Copyright (c) 1985 Regents of the University of California. +Copyright (c) 1987 Regents of the University of California. +Copyright (c) 1988 Regents of the University of California. +Copyright (c) 1990 The Regents of the University of California. +Copyright (c) 1990, The University of Melbourne. +Copyright (c) 1990,1991 Regents of The University of Michigan. +Copyright (c) 1990,1992 Regents of The University of Michigan. +Copyright (c) 1990,1993 Regents of The University of Michigan. +Copyright (c) 1990,1994 Regents of The University of Michigan. +Copyright (c) 1990,1995 Regents of The University of Michigan. +Copyright (c) 1990,1996 Regents of The University of Michigan. +Copyright (c) 1990,1997 Regents of The University of Michigan. +Copyright (c) 1995 Regents of The University of Michigan. +Copyright (c) 1996 Regents of The University of Michigan. +Copyright (c) 1996-2001 SuSE GmbH Nuernberg, Germany. All rights reserved. +Copyright (c) 1997 Adrian Sun (asun@zoology.washington.edu) +Copyright (c) 1997, 1998 Adrian Sun (asun@zoology.washington.edu) +Copyright (c) 1997,1998,1999,2000 Adrian Sun (asun@cobalt.com) +Copyright (c) 1998 Adrian Sun (asun@zoology.washington.edu) +Copyright (c) 1998,1999 Adrian Sun (asun@zoology.washington.edu) +Copyright (c) 1999 Adrian Sun (asun@u.washington.edu) +Copyright (c) 1999 Adrian Sun (asun@zoology.washington.edu) +Copyright (c) 1999-2000 Adrian Sun. +Copyright (c) 1999. Adrian Sun (asun@zoology.washington.edu) +Copyright (c) 2002 netatalk +Copyright (c) 2002. Joe Marcus Clarke (marcus@marcuscom.com) +Copyright (c) 2003 Rafal Lewczuk +Copyright (c) 2003 The Reed Institute +Copyright (c) 2003 the Netatalk Team +Copyright (c) 2004 Bjoern Fernhomberg +Copyright 1987, 1988 by the Massachusetts Institute of Technology. +Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 +Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 +Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 +Copyright 1994-2000 Patrick Powell, San Diego, CA +Copyright 1996, 1997, 1998, 1999, 2000, 2001 +Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc. +Copyright 1997, 1999, 2000, 2001 Free Software Foundation, Inc. +Copyright 1997, 2000, 2001 Free Software Foundation, Inc. +Copyright 1999 (c) Adrian Sun (asun@u.washington.edu) +Copyright 1999, 2000 Free Software Foundation, Inc. +Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc. +Copyright 1999-2003 by Michael R Sweet. +Copyright 2001 Free Software Foundation, Inc. +Copyright 2001, 2002 Free Software Foundation, Inc. +Copyright 2002 Free Software Foundation, Inc. +Copyright 2004 Bjoern Fernhomberg. +Copyright \(co 1998 Owen Taylor +copyright Bjoern Fernhomberg, 2004 +distributed with CAP, Copyright (c) 1990, The University of +option must be specified before any --libs or --cflags options.

COPYRIGHT

Copyright 1998 Owen Taylor

Permission to use, copy, modify, and distribute this software and +option must be specified before any --libs or --cflags options.

COPYRIGHT

Copyright 1998 Owen Taylor

Permission to use, copy, modify, and distribute this software and +static char *const _id = "plp_snprintf V98.12.21 Copyright Patrick Powell 1988-2000 " --- netatalk-2.0.3.orig/debian/README.Debian +++ netatalk-2.0.3/debian/README.Debian @@ -0,0 +1,71 @@ +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 'espy' Klecker and David Huggins-Daines +. It was repackaged by its current maintainer Sebastian Rittau +. + + +Notes about OpenSSL +=================== + +OpenSSL support is currently disabled, because of licensing issues: The Free +Software Foundation and Debian consider the GNU General Public License (GPL) +under which Netatalk is licensed to be incompatible with the OpenSSL license. + +Until a final solution is found you can either rebuild the package with the +command 'DEB_BUILD_OPTIONS=update,ssl debuild' (or similarly with whatever +build command you prefer) or use an unofficial(!) precompiled binary package: + +deb http://debian.jones.dk/ $DIST netatalk + + +MacOS X Specific Notes +====================== + +There were problems reported with MacOS X clients and DDP connection. +The symptom of is the lack of the server name in the chooser of MacOS X +clients. To work around this problem, you have to insert the server's +hostname and IP addresses into the file /etc/hosts. Supposing the server +is called foo.bar.com and the IP addresses are 192.168.1.1 and 192.168.55.23 +this will look like this: + +192.168.1.1 foo.bar.com foo +102.168.55.23 foo.bar.com foo + + +Upgrading Problems +================== + +This version of Netatalk switches to Berkeley DB 4.2. During the development +process of Debian 3.1 (sarge) earlier versions of BDB (3.0 and 4.0) were used. +As Netatalk does not automatically update its database, you may experience +problems like those described in bug #200373: no files showing up in your +folders. This problem should not concern you if you are upgrading from Debian +3.0 (woody). + +If you have such problems, you may try to upgrade the database manually by +running the following commands (please set APPLE_DIR to the path to your +shared files): + + For upgrading from Netatalk 1.6.2-1 or below (you need the packages + libdb3-util and db4.1-util installed): + + for db in `find $APPLE_DIR -name ".AppleDB/*.db"`; do \ + db3_dump -f $db.data $db; \ + mv $db $db.old; \ + db4.0_load -f $db.data $db; \ + done + + For upgrading from Netatalk 1.6.2-2 or up (you need the packages + libdb4.0-util and db4.1-util installed): + + for db in `find $APPLE_DIR -name ".AppleDB/*.db"`; do \ + db3_dump -f $db.data $db; \ + mv $db $db.old; \ + db4.0_load -f $db.data $db; \ + done + +If this does not work, you can just delete the database files, but please note +that this will destroy all stored meta information about these files!