* 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
This commit is contained in:
James E. Housley 2003-11-15 16:58:45 +00:00
parent 9de301d562
commit 98d7918807
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=94023
8 changed files with 20 additions and 4 deletions

View file

@ -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)

View file

@ -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}

View file

@ -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)

View file

@ -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}

View file

@ -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)

View file

@ -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}

View file

@ -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)

View file

@ -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}