Date: Sat, 25 Nov 2000 12:05:28 +0800 (CST) From: Foxfair Hu <foxfair@intra.nextnode.com> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/23087: Upgrade AMANDA from 2.3.0 to 2.3.0.4 Message-ID: <200011250405.eAP45Sj41334@intra.nextnode.com>
next in thread | raw e-mail | index | archive | help
>Number: 23087 >Category: ports >Synopsis: Amanda port upgrade request.(2.3.0->2.3.0.4) >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Nov 24 20:20:00 PST 2000 >Closed-Date: >Last-Modified: >Originator: Foxfair Hu >Release: FreeBSD 4.1.1-STABLE i386 >Organization: >Environment: FreeBSD 4.1.1-STABLE >Description: Upgrade AMANDA port version from 2.3.0 to 2.3.0.4 >How-To-Repeat: Apply the following patch, please review it. >Fix: diff -ruN amanda.org/Makefile amanda/Makefile --- amanda.org/Makefile Fri Nov 24 14:14:29 2000 +++ amanda/Makefile Fri Nov 24 14:14:59 2000 @@ -6,45 +6,39 @@ # PORTNAME= amanda -PORTVERSION= 2.3.0 +PORTVERSION= 2.3.0.4 CATEGORIES= misc MASTER_SITES= ftp://ftp.cs.umd.edu/pub/amanda/old-versions/ MAINTAINER= ports@FreeBSD.org +GNU_CONFIGURE=yes +CONFIGURE_ARGS+=--with-dbdir=/var/log/amanda --with-logdir=/var/log/amanda \ + --libexecdir=${PREFIX}/libexec/amanda --with-bsd-security \ + --with-mmap + MAN8= amadmin.8 amanda.8 amcheck.8 amcleanup.8 amdump.8 amflush.8 \ - amlabel.8 amrestore.8 amtape.8 + amlabel.8 amplot.8 amrecover.8 amrestore.8 amrmtape.8 amtape.8 \ + amtoc.8 + +LIBEXEC_BIN= amandad amcat.awk amgetidx amidxtaped amindexd amplot.awk \ + amplot.g amplot.gp amtrmidx calcsize chg-generic \ + createindex-dump createindex-gnutar driver dumper getconf \ + hp-changer no-changer patch-system planner reporter \ + rth-changer rundump runtar selfcheck sendbackup-dump \ + sendbackup-gnutar sendindex sendsize taper versionsuffix + +BIN_BIN= amadmin amcheck amcheckdb amcleanup amdump amflush amlabel \ + amoverview amplot amrecover amrestore amrmtape amtape amtoc \ + amverify -LIBEXEC_BIN= amandad calcsize driver dumper getconf planner reporter \ - runtar selfcheck sendbackup-dump sendbackup-gnutar sendsize \ - taper -SBIN_BIN= amadmin amcheck amflush amlabel amrestore amtape - -post-patch: - @${LN} -sf config.h-freebsd2 ${WRKSRC}/config/config.h - @${SED} -e 's:%%CC%%:${CC}:g' \ - -e 's:%%CFLAGS%%:${CFLAGS}:g' \ - -e 's:%%INSTALL%%:${INSTALL}:g' \ - -e 's:%%PREFIX%%:${PREFIX}:g' \ - ${WRKSRC}/config/options.h-vanilla > ${WRKSRC}/config/options.h -.for file in amanda.8 amcleanup.8 amflush.8 amlabel.8 - @cd ${WRKSRC}/man/; ${MV} ${file} ${file}.in; \ - ${SED} -e 's:%%PREFIX%%:${PREFIX}:g' ${file}.in > ${file} -.endfor +INSTALL_DATA= amanda.conf chg-generic.conf disklist post-install: -.for file in ${LIBEXEC_BIN} - @if [ -f ${PREFIX}/libexec/amanda/${file} ]; then \ - strip ${PREFIX}/libexec/amanda/${file}; \ - fi -.endfor -.for file in ${SBIN_BIN} - @if [ -f ${PREFIX}/sbin/${file} ]; then \ - strip ${PREFIX}/sbin/${file}; \ - fi -.endfor @${MKDIR} ${PREFIX}/share/examples/amanda - ${INSTALL_DATA} ${WRKSRC}/example/* ${PREFIX}/share/examples/amanda + ${INSTALL_DATA} ${WRKSRC}/example/amanda.conf ${PREFIX}/share/examples/amanda + ${INSTALL_DATA} ${WRKSRC}/example/chg-generic.conf ${PREFIX}/share/examples/amanda + ${INSTALL_DATA} ${WRKSRC}/example/disklist ${PREFIX}/share/examples/amanda @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL .include <bsd.port.mk> diff -ruN amanda.org/distinfo amanda/distinfo --- amanda.org/distinfo Fri Nov 24 14:14:29 2000 +++ amanda/distinfo Fri Nov 24 14:14:59 2000 @@ -1 +1 @@ -MD5 (amanda-2.3.0.tar.gz) = fabe173c0b507633d8b7eb081acd8174 +MD5 (amanda-2.3.0.4.tar.gz) = ec8fdad27b3f0ea2a09ac0b1639c7fab diff -ruN amanda.org/files/patch-ah amanda/files/patch-ah --- amanda.org/files/patch-ah Thu Jan 1 08:00:00 1970 +++ amanda/files/patch-ah Fri Nov 24 14:14:59 2000 @@ -0,0 +1,11 @@ +--- common-src/amanda.h.orig Fri Nov 24 11:33:22 2000 ++++ common-src/amanda.h Fri Nov 24 11:33:33 2000 +@@ -421,7 +421,7 @@ + #endif + + #ifndef HAVE_INITGROUPS_DECL +-extern int initgroups P((const char *name, gid_t basegid)); ++/* extern int initgroups P((const char *name, gid_t basegid)); */ + #endif + + #ifndef HAVE_LISTEN_DECL diff -ruN amanda.org/pkg-plist amanda/pkg-plist --- amanda.org/pkg-plist Fri Nov 24 14:14:29 2000 +++ amanda/pkg-plist Fri Nov 24 14:14:59 2000 @@ -1,25 +1,44 @@ libexec/amanda/amandad +libexec/amanda/amgetidx +libexec/amanda/amidxtaped +libexec/amanda/amindexd +libexec/amanda/amtrmidx libexec/amanda/calcsize libexec/amanda/chg-generic +libexec/amanda/createindex-dump +libexec/amanda/createindex-gnutar libexec/amanda/driver libexec/amanda/dumper libexec/amanda/getconf +libexec/amanda/hp-changer +libexec/amanda/no-changer +libexec/amanda/patch-system libexec/amanda/planner libexec/amanda/reporter +libexec/amanda/rth-changer +libexec/amanda/rundump libexec/amanda/runtar libexec/amanda/selfcheck libexec/amanda/sendbackup-dump -libexec/amanda/sendbackup-gnutar +libexec/amanda/sendbackup-gnutar +libexec/amanda/sendindex libexec/amanda/sendsize libexec/amanda/taper -sbin/amadmin -sbin/amcheck -sbin/amcleanup -sbin/amdump -sbin/amflush -sbin/amlabel -sbin/amrestore -sbin/amtape +libexec/amanda/versionsuffix +bin/amadmin +bin/amcheck +bin/amcheckdb +bin/amcleanup +bin/amdump +bin/amflush +bin/amlabel +bin/amoverview +bin/amrecover +bin/amrestore +bin/amrmtape +bin/amtape +bin/amtoc +bin/amverify share/examples/amanda/amanda.conf share/examples/amanda/chg-generic.conf share/examples/amanda/disklist >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011250405.eAP45Sj41334>