FreeBSD Bugzilla – Attachment 48318 Details for
Bug 73956
amanda-server port contains erroneous hardcoded username
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.85 KB, created by
Phil Homewood
on 2004-11-15 02:30:25 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Phil Homewood
Created:
2004-11-15 02:30:25 UTC
Size:
1.85 KB
patch
obsolete
>Index: misc/amanda-server/Makefile >=================================================================== >RCS file: /cvs/FreeBSD/ports/misc/amanda-server/Makefile,v >retrieving revision 1.77 >diff -u -r1.77 Makefile >--- misc/amanda-server/Makefile 9 Nov 2004 10:56:40 -0000 1.77 >+++ misc/amanda-server/Makefile 15 Nov 2004 02:24:14 -0000 >@@ -112,17 +112,11 @@ > CONFIGURE_ARGS+= --with-config=${AMANDA_CONFIG} > .endif > >-.if defined (AMANDA_USER) >-CONFIGURE_ARGS+= --with-user=${AMANDA_USER} >-.else >-CONFIGURE_ARGS+= --with-user=operator >-.endif >+AMANDA_USER?= operator >+AMANDA_GROUP?= operator > >-.if defined (AMANDA_GROUP) >+CONFIGURE_ARGS+= --with-user=${AMANDA_USER} > CONFIGURE_ARGS+= --with-group=${AMANDA_GROUP} >-.else >-CONFIGURE_ARGS+= --with-group=operator >-.endif > > .if defined (AMANDA_UDPPORTRANGE) > CONFIGURE_ARGS+= --with-udpportrange=${AMANDA_UDPPORTRANGE} >@@ -191,9 +185,9 @@ > ${WRKSRC}/example/disklist \ > ${PREFIX}/share/examples/amanda > ${MKDIR} ${PREFIX}/var/amanda/gnutar-lists >- ${CHOWN} operator:operator ${PREFIX}/var/amanda/gnutar-lists >+ ${CHOWN} ${AMANDA_USER}:${AMANDA_GROUP} ${PREFIX}/var/amanda/gnutar-lists > ${TOUCH} /etc/amandates >- ${CHOWN} operator:operator /etc/amandates >+ ${CHOWN} ${AMANDA_USER}:${AMANDA_GROUP} /etc/amandates > > .if defined (AMANDA_SERVER) > CONFIGURE_ARGS+= --with-index-server=${AMANDA_SERVER} >@@ -208,17 +202,11 @@ > CONFIGURE_ARGS+= --with-gnutar-listdir=${AMANDA_GNUTAR_LISTDIR} > .endif > >-.if defined (AMANDA_USER) >-CONFIGURE_ARGS+= --with-user=${AMANDA_USER} >-.else >-CONFIGURE_ARGS+= --with-user=operator >-.endif >+AMANDA_USER?= operator >+AMANDA_GROUP?= operator > >-.if defined (AMANDA_GROUP) >+CONFIGURE_ARGS+= --with-user=${AMANDA_USER} > CONFIGURE_ARGS+= --with-group=${AMANDA_GROUP} >-.else >-CONFIGURE_ARGS+= --with-group=operator >-.endif > > .if defined (AMANDA_UDPPORTRANGE) > CONFIGURE_ARGS+= --with-udpportrange=${AMANDA_UDPPORTRANGE}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 73956
: 48318