From 98d7918807e47a088113368fba2a6ad2c1a2b096 Mon Sep 17 00:00:00 2001 From: "James E. Housley" Date: Sat, 15 Nov 2003 16:58:45 +0000 Subject: * Create the directory ${PREFIX}/var/amanda/gnutar-lists and make operator own it * Crate /etc/amandates and have operator own it. This is hard coded at compile time and can't easily be made ${PREFIX} safe. PR: 59302 Submitted by: Matthias Andree --- misc/amanda-client/Makefile | 2 +- misc/amanda-server/Makefile | 4 ++++ misc/amanda25-client/Makefile | 2 +- misc/amanda25-server/Makefile | 4 ++++ misc/amanda26-client/Makefile | 2 +- misc/amanda26-server/Makefile | 4 ++++ misc/amanda32-client/Makefile | 2 +- misc/amanda32-server/Makefile | 4 ++++ 8 files changed, 20 insertions(+), 4 deletions(-) diff --git a/misc/amanda-client/Makefile b/misc/amanda-client/Makefile index 231ee1b83e8b..187bccf91d60 100644 --- a/misc/amanda-client/Makefile +++ b/misc/amanda-client/Makefile @@ -6,7 +6,7 @@ # PORTNAME= ${MASTERPORTNAME:S/-server/-client/g} -PORTREVISION= 1 +PORTREVISION= 2 MASTERDIR= ${.CURDIR}/../amanda-server COMMENT= The Advanced Maryland Automatic Network Disk Archiver (client) diff --git a/misc/amanda-server/Makefile b/misc/amanda-server/Makefile index 757e5218cbd3..9fb139bec897 100644 --- a/misc/amanda-server/Makefile +++ b/misc/amanda-server/Makefile @@ -185,6 +185,10 @@ post-install: ${WRKSRC}/example/chg-scsi.conf \ ${WRKSRC}/example/disklist \ ${PREFIX}/share/examples/amanda + ${MKDIR} ${PREFIX}/var/amanda/gnutar-lists + ${CHOWN} operator:operator ${PREFIX}/var/amanda/gnutar-lists + ${MKDIR} /etc/amandates + ${CHOWN} operator:operator /etc/amandates .if defined (AMANDA_SERVER) CONFIGURE_ARGS+= --with-index-server=${AMANDA_SERVER} diff --git a/misc/amanda25-client/Makefile b/misc/amanda25-client/Makefile index 231ee1b83e8b..187bccf91d60 100644 --- a/misc/amanda25-client/Makefile +++ b/misc/amanda25-client/Makefile @@ -6,7 +6,7 @@ # PORTNAME= ${MASTERPORTNAME:S/-server/-client/g} -PORTREVISION= 1 +PORTREVISION= 2 MASTERDIR= ${.CURDIR}/../amanda-server COMMENT= The Advanced Maryland Automatic Network Disk Archiver (client) diff --git a/misc/amanda25-server/Makefile b/misc/amanda25-server/Makefile index 757e5218cbd3..9fb139bec897 100644 --- a/misc/amanda25-server/Makefile +++ b/misc/amanda25-server/Makefile @@ -185,6 +185,10 @@ post-install: ${WRKSRC}/example/chg-scsi.conf \ ${WRKSRC}/example/disklist \ ${PREFIX}/share/examples/amanda + ${MKDIR} ${PREFIX}/var/amanda/gnutar-lists + ${CHOWN} operator:operator ${PREFIX}/var/amanda/gnutar-lists + ${MKDIR} /etc/amandates + ${CHOWN} operator:operator /etc/amandates .if defined (AMANDA_SERVER) CONFIGURE_ARGS+= --with-index-server=${AMANDA_SERVER} diff --git a/misc/amanda26-client/Makefile b/misc/amanda26-client/Makefile index 231ee1b83e8b..187bccf91d60 100644 --- a/misc/amanda26-client/Makefile +++ b/misc/amanda26-client/Makefile @@ -6,7 +6,7 @@ # PORTNAME= ${MASTERPORTNAME:S/-server/-client/g} -PORTREVISION= 1 +PORTREVISION= 2 MASTERDIR= ${.CURDIR}/../amanda-server COMMENT= The Advanced Maryland Automatic Network Disk Archiver (client) diff --git a/misc/amanda26-server/Makefile b/misc/amanda26-server/Makefile index 757e5218cbd3..9fb139bec897 100644 --- a/misc/amanda26-server/Makefile +++ b/misc/amanda26-server/Makefile @@ -185,6 +185,10 @@ post-install: ${WRKSRC}/example/chg-scsi.conf \ ${WRKSRC}/example/disklist \ ${PREFIX}/share/examples/amanda + ${MKDIR} ${PREFIX}/var/amanda/gnutar-lists + ${CHOWN} operator:operator ${PREFIX}/var/amanda/gnutar-lists + ${MKDIR} /etc/amandates + ${CHOWN} operator:operator /etc/amandates .if defined (AMANDA_SERVER) CONFIGURE_ARGS+= --with-index-server=${AMANDA_SERVER} diff --git a/misc/amanda32-client/Makefile b/misc/amanda32-client/Makefile index 231ee1b83e8b..187bccf91d60 100644 --- a/misc/amanda32-client/Makefile +++ b/misc/amanda32-client/Makefile @@ -6,7 +6,7 @@ # PORTNAME= ${MASTERPORTNAME:S/-server/-client/g} -PORTREVISION= 1 +PORTREVISION= 2 MASTERDIR= ${.CURDIR}/../amanda-server COMMENT= The Advanced Maryland Automatic Network Disk Archiver (client) diff --git a/misc/amanda32-server/Makefile b/misc/amanda32-server/Makefile index 757e5218cbd3..9fb139bec897 100644 --- a/misc/amanda32-server/Makefile +++ b/misc/amanda32-server/Makefile @@ -185,6 +185,10 @@ post-install: ${WRKSRC}/example/chg-scsi.conf \ ${WRKSRC}/example/disklist \ ${PREFIX}/share/examples/amanda + ${MKDIR} ${PREFIX}/var/amanda/gnutar-lists + ${CHOWN} operator:operator ${PREFIX}/var/amanda/gnutar-lists + ${MKDIR} /etc/amandates + ${CHOWN} operator:operator /etc/amandates .if defined (AMANDA_SERVER) CONFIGURE_ARGS+= --with-index-server=${AMANDA_SERVER} -- cgit v1.2.3