diff options
author | kuriyama <kuriyama@FreeBSD.org> | 2011-11-19 15:05:21 +0800 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 2011-11-19 15:05:21 +0800 |
commit | cc08fb8b424d5cbfe4b903ab424d91a9f6b75b92 (patch) | |
tree | 86637ec8e0f4b01320916bf295b4459503e228ed /misc/amanda-server | |
parent | 6a35ef78454f672d85cbf430628a8963a35c515e (diff) | |
download | freebsd-ports-gnome-cc08fb8b424d5cbfe4b903ab424d91a9f6b75b92.tar.gz freebsd-ports-gnome-cc08fb8b424d5cbfe4b903ab424d91a9f6b75b92.tar.zst freebsd-ports-gnome-cc08fb8b424d5cbfe4b903ab424d91a9f6b75b92.zip |
- Upgrade to 3.2.3.
- Change amanda user's homedir to /var/db/amanda [1].
- Make amanda user added into operator group by default for dumping
disks.
- Remove deprecation messages of old variables.
PR: ports/155987 [1]
Submitted by: Goran Lowkrantz <goran.lowkrantz@ismobile.com> [1]
Feature safe: yes
Diffstat (limited to 'misc/amanda-server')
-rw-r--r-- | misc/amanda-server/Makefile | 32 | ||||
-rw-r--r-- | misc/amanda-server/distinfo | 4 |
2 files changed, 10 insertions, 26 deletions
diff --git a/misc/amanda-server/Makefile b/misc/amanda-server/Makefile index ec7963bdbb54..f209ed2af0ce 100644 --- a/misc/amanda-server/Makefile +++ b/misc/amanda-server/Makefile @@ -6,7 +6,7 @@ # PORTNAME= amanda -PORTVERSION= 3.2.2 +PORTVERSION= 3.2.3 PORTEPOCH= 1 CATEGORIES= misc MASTER_SITES= SF/amanda/amanda%20-%20stable/${PORTVERSION} @@ -34,7 +34,7 @@ CONFIGURE_ARGS= --libexecdir=${PREFIX}/libexec/amanda \ --with-dump-honor-nodump \ --prefix=${PREFIX} \ --disable-glibtest \ - --with-user=${USERS} --with-group=${GROUPS} \ + --with-user=${USERS} --with-group=${AMANDA_GROUP} \ --with-bsdtcp-security --with-bsdudp-security \ --with-ssh-security CONFIGURE_ENV= PERL=${LOCALBASE}/bin/perl-amanda @@ -51,11 +51,11 @@ USERS= ${AMANDA_USER} .else USERS?= amanda .endif -.if defined(AMANDA_GROUP) -GROUPS= ${AMANDA_GROUP} -.else -GROUPS?= amanda +.if !defined(AMANDA_GROUP) +AMANDA_GROUP= amanda .endif +GROUPS?= operator amanda + AMANDA_GNUTAR_LISTDIR?= ${PREFIX}/var/amanda/gnutar-lists AMANDA_DATES?= ${PREFIX}/var/amanda/amandates PLIST_SUB= SHLIBVER=${PORTVERSION} AMANDA_DATES=${AMANDA_DATES} @@ -79,16 +79,6 @@ RUN_DEPENDS+= gtar:${PORTSDIR}/archivers/gtar SUB_FILES+= pkg-install pkg-deinstall SUB_LIST+= PERL=${PERL} SITE_PERL_REL=${SITE_PERL_REL} -pre-everything:: -.if defined(AMANDA_TAPE) - @${ECHO} "Use of \$AMANDA_TAPE is deprecated. Specify it in amanda.conf." - exit 1 -.endif -.if defined(AMANDA_CONFIG) - @${ECHO} "Use of \$AMANDA_CONFIG is deprecated. Specify it in amanda.conf." - exit 1 -.endif - pre-fetch: @${ECHO} "" @${ECHO} "You may use the following build options:" @@ -165,12 +155,6 @@ post-install: # amanda-client part .else -pre-everything:: -.if defined(AMANDA_CONFIG) - @${ECHO} "Use of \$AMANDA_CONFIG is deprecated. Specify it in amanda.conf." - exit 1 -.endif - pre-fetch: @${ECHO} "" @${ECHO} "You may use the following build options:" @@ -215,9 +199,9 @@ MAN8= amanda.8 \ post-install: ${MKDIR} ${AMANDA_GNUTAR_LISTDIR} - ${CHOWN} ${USERS}:${GROUPS} ${AMANDA_GNUTAR_LISTDIR} + ${CHOWN} ${USERS}:${AMANDA_GROUP} ${AMANDA_GNUTAR_LISTDIR} ${TOUCH} ${AMANDA_DATES} - ${CHOWN} ${USERS}:${GROUPS} ${AMANDA_DATES} + ${CHOWN} ${USERS}:${AMANDA_GROUP} ${AMANDA_DATES} ${CAT} ${PKGMESSAGE} .endif diff --git a/misc/amanda-server/distinfo b/misc/amanda-server/distinfo index 5db6f282e614..d098fe5653d9 100644 --- a/misc/amanda-server/distinfo +++ b/misc/amanda-server/distinfo @@ -1,2 +1,2 @@ -SHA256 (amanda-3.2.2.tar.gz) = 6bf8e3e39a55e877d8cbe75b927b985b9316654af26a3bd47022a2a2c99b3bac -SIZE (amanda-3.2.2.tar.gz) = 4120254 +SHA256 (amanda-3.2.3.tar.gz) = 8ac37cc82add71ffd009fa4ea8763c633037277e15d51d28aefb8cb4c0b6a7fd +SIZE (amanda-3.2.3.tar.gz) = 4125405 |