diff options
author | markd <markd@pkgsrc.org> | 2002-05-25 12:55:24 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2002-05-25 12:55:24 +0000 |
commit | c8883be2d51f9880ef01f56780b96f188345361c (patch) | |
tree | d89700a257810f14ca12fcfba18dd2ad4e2495f3 /net/netatalk/INSTALL | |
parent | 7cee8966bef3499e5cb5d6ac21f404c856cf5e9b (diff) | |
download | pkgsrc-c8883be2d51f9880ef01f56780b96f188345361c.tar.gz |
Update netatalk to version 1.5.3.1.
Update supplied by David Rankin (to version 1.5.2) in pkg/15642
further updated to 1.5.3.1 by me.
Changes since the old umich version (and netatalk-asun) are numerous
bug fixes, cleanups and new features and its actively being maintained.
Diffstat (limited to 'net/netatalk/INSTALL')
-rw-r--r-- | net/netatalk/INSTALL | 67 |
1 files changed, 18 insertions, 49 deletions
diff --git a/net/netatalk/INSTALL b/net/netatalk/INSTALL index 305df6e231c..e8a97fb5a6d 100644 --- a/net/netatalk/INSTALL +++ b/net/netatalk/INSTALL @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: INSTALL,v 1.1 2001/10/31 22:56:34 zuntum Exp $ +# $NetBSD: INSTALL,v 1.2 2002/05/25 12:55:24 markd Exp $ PKGNAME=$1 STAGE=$2 @@ -9,57 +9,26 @@ case ${STAGE} in PRE-INSTALL) ;; POST-INSTALL) - ETCDIR=/etc/netatalk + ETCDIR=@PKG_SYSCONFDIR@/netatalk mkdir -p ${ETCDIR} - # The idea is to copy old config files over to the new location if - # they exist. Otherwise, copy the default config from the examples - # directory. - # - if [ -f ${PKG_PREFIX}/etc/atalkd.conf ] - then - for file in \ - AppleVolumes.default \ - AppleVolumes.system \ - atalkd.conf \ - papd.conf - do - if [ ! -f ${ETCDIR}/${file} -a -f ${PKG_PREFIX}/etc/${file} ] - then - echo " ${ETCDIR}/${file}" - cp ${PKG_PREFIX}/etc/${file} ${ETCDIR}/${file} - chmod 644 ${ETCDIR}/${file} - fi - done - echo "done." - cat << EOF -=========================================================================== -Old configuration files were copied from ${PKG_PREFIX}/etc to -${ETCDIR}. You may want to remove the old files as they are no -longer necessary. -=========================================================================== -EOF - else - echo "Installing configuration files:" - for file in \ - AppleVolumes.default \ - AppleVolumes.system \ - atalkd.conf \ - papd.conf - do - if [ -f ${ETCDIR}/${file} ] - then - echo " ${ETCDIR}/${file} already exists" - else - echo " ${ETCDIR}/${file}" - cp ${PKG_PREFIX}/share/examples/netatalk/${file} \ - ${ETCDIR}/${file} - chmod 644 ${ETCDIR}/${file} - fi - done - echo "done." - fi + echo "Installing configuration files:" + for file in \ + AppleVolumes.default AppleVolumes.system afpd.conf \ + atalkd.conf netatalk.conf papd.conf + do + if [ -f ${ETCDIR}/${file} ] + then + echo " ${ETCDIR}/${file} already exists" + else + echo " ${ETCDIR}/${file}" + cp ${PKG_PREFIX}/share/examples/netatalk/${file} \ + ${ETCDIR}/${file} + chmod 644 ${ETCDIR}/${file} + fi + done + echo "done." ;; *) echo "Unexpected argument: ${STAGE}" |