|
Lines 9-15
Link Here
|
| 9 |
MASTER_SITES= SF/amanda/amanda%20-%20stable/${PORTVERSION} |
9 |
MASTER_SITES= SF/amanda/amanda%20-%20stable/${PORTVERSION} |
| 10 |
PKGNAMESUFFIX?= -server |
10 |
PKGNAMESUFFIX?= -server |
| 11 |
|
11 |
|
| 12 |
MAINTAINER= ports@FreeBSD.org |
12 |
MAINTAINER= fbsd@dylanleigh.net |
| 13 |
COMMENT?= The Advanced Maryland Automatic Network Disk Archiver (server) |
13 |
COMMENT?= The Advanced Maryland Automatic Network Disk Archiver (server) |
| 14 |
|
14 |
|
| 15 |
RUN_DEPENDS= perl-amanda:${PORTSDIR}/misc/amanda-perl-wrapper |
15 |
RUN_DEPENDS= perl-amanda:${PORTSDIR}/misc/amanda-perl-wrapper |
|
Lines 18-23
Link Here
|
| 18 |
WRKSRC= ${WRKDIR}/amanda-${PORTVERSION} |
18 |
WRKSRC= ${WRKDIR}/amanda-${PORTVERSION} |
| 19 |
SLAVEDIRS= misc/amanda-client |
19 |
SLAVEDIRS= misc/amanda-client |
| 20 |
|
20 |
|
|
|
21 |
# XXX: Required because the port's own install-hook sets setuid when it |
| 22 |
# installs into stage. This could probably be fixed with a patch. |
| 23 |
NEED_ROOT=yes |
| 24 |
|
| 21 |
GNU_CONFIGURE= yes |
25 |
GNU_CONFIGURE= yes |
| 22 |
USES= gmake pkgconfig perl5 |
26 |
USES= gmake pkgconfig perl5 |
| 23 |
USE_GNOME= glib20 |
27 |
USE_GNOME= glib20 |
|
Lines 27-33
Link Here
|
| 27 |
--without-amlibexecdir \ |
31 |
--without-amlibexecdir \ |
| 28 |
--with-amandahosts --with-fqdn \ |
32 |
--with-amandahosts --with-fqdn \ |
| 29 |
--with-dump-honor-nodump \ |
33 |
--with-dump-honor-nodump \ |
| 30 |
--prefix=${PREFIX} \ |
34 |
--prefix=${STAGEDIR}/${PREFIX} \ |
| 31 |
--disable-glibtest \ |
35 |
--disable-glibtest \ |
| 32 |
--with-user=${USERS} --with-group=${AMANDA_GROUP} \ |
36 |
--with-user=${USERS} --with-group=${AMANDA_GROUP} \ |
| 33 |
--with-bsdtcp-security --with-bsdudp-security \ |
37 |
--with-bsdtcp-security --with-bsdudp-security \ |
|
Lines 51-58
Link Here
|
| 51 |
.endif |
55 |
.endif |
| 52 |
GROUPS?= operator amanda |
56 |
GROUPS?= operator amanda |
| 53 |
|
57 |
|
| 54 |
AMANDA_GNUTAR_LISTDIR?= ${PREFIX}/var/amanda/gnutar-lists |
58 |
AMANDA_GNUTAR_LISTDIR?= ${STAGEDIR}/${PREFIX}/var/amanda/gnutar-lists |
| 55 |
AMANDA_DATES?= ${PREFIX}/var/amanda/amandates |
59 |
AMANDA_DATES?= ${STAGEDIR}/${PREFIX}/var/amanda/amandates |
| 56 |
PLIST_SUB= SHLIBVER=${PORTVERSION} AMANDA_DATES=${AMANDA_DATES} |
60 |
PLIST_SUB= SHLIBVER=${PORTVERSION} AMANDA_DATES=${AMANDA_DATES} |
| 57 |
|
61 |
|
| 58 |
# amanda-server/amanda-client common part |
62 |
# amanda-server/amanda-client common part |
|
Lines 68-74
Link Here
|
| 68 |
S3_DESC= Enable Amazon S3 device support |
72 |
S3_DESC= Enable Amazon S3 device support |
| 69 |
.endif |
73 |
.endif |
| 70 |
|
74 |
|
| 71 |
NO_STAGE= yes |
|
|
| 72 |
.include <bsd.port.options.mk> |
75 |
.include <bsd.port.options.mk> |
| 73 |
|
76 |
|
| 74 |
.if ${PORT_OPTIONS:MGNUTAR} |
77 |
.if ${PORT_OPTIONS:MGNUTAR} |
|
Lines 104-133
Link Here
|
| 104 |
|
107 |
|
| 105 |
CONFIGURE_ARGS+=--without-client |
108 |
CONFIGURE_ARGS+=--without-client |
| 106 |
|
109 |
|
| 107 |
MAN5= disklist.5 \ |
|
|
| 108 |
tapelist.5 |
| 109 |
MAN7= amanda-changers.7 \ |
| 110 |
amanda-compatibility.7 \ |
| 111 |
amanda-devices.7 \ |
| 112 |
amanda-interactivity.7 \ |
| 113 |
amanda-taperscan.7 |
| 114 |
MAN8= amaddclient.8 amadmin.8 amaespipe.8 amcheck.8 \ |
| 115 |
amcheckdb.8 amcheckdump.8 \ |
| 116 |
amcleanup.8 \ |
| 117 |
amcleanupdisk.8 \ |
| 118 |
amcrypt.8 amcryptsimple.8 amcrypt-ossl-asym.8 amcrypt-ossl.8 \ |
| 119 |
amdevcheck.8 \ |
| 120 |
amdump.8 amfetchdump.8 amflush.8 amgetconf.8 amgpgcrypt.8 \ |
| 121 |
amlabel.8 \ |
| 122 |
amoverview.8 amreport.8 amrestore.8 amrmtape.8 \ |
| 123 |
amserverconfig.8 amstatus.8 \ |
| 124 |
amtape.8 amtoc.8 amtapetype.8 \ |
| 125 |
amvault.8 |
| 126 |
|
| 127 |
.if ${PORT_OPTIONS:MPLOT} |
110 |
.if ${PORT_OPTIONS:MPLOT} |
| 128 |
BUILD_DEPENDS+= gnuplot:${PORTSDIR}/math/gnuplot |
111 |
BUILD_DEPENDS+= gnuplot:${PORTSDIR}/math/gnuplot |
| 129 |
RUN_DEPENDS+= gnuplot:${PORTSDIR}/math/gnuplot |
112 |
RUN_DEPENDS+= gnuplot:${PORTSDIR}/math/gnuplot |
| 130 |
MAN8+= amplot.8 |
|
|
| 131 |
PLIST_SUB+= PLOT='' |
113 |
PLIST_SUB+= PLOT='' |
| 132 |
CONFIGURE_ARGS+= --with-gnuplot=${LOCALBASE}/bin/gnuplot |
114 |
CONFIGURE_ARGS+= --with-gnuplot=${LOCALBASE}/bin/gnuplot |
| 133 |
.else |
115 |
.else |
|
Lines 153-160
Link Here
|
| 153 |
.endif |
135 |
.endif |
| 154 |
|
136 |
|
| 155 |
post-install: |
137 |
post-install: |
| 156 |
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL |
138 |
@${SETENV} PKG_PREFIX=${STAGEDIR}/${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL |
| 157 |
@${CAT} ${PKGMESSAGE} |
|
|
| 158 |
|
139 |
|
| 159 |
# amanda-client part |
140 |
# amanda-client part |
| 160 |
.else |
141 |
.else |
|
Lines 181-214
Link Here
|
| 181 |
CFLAGS= -DFreeBSD_NO_SNAPSHOT_DUMP=t |
162 |
CFLAGS= -DFreeBSD_NO_SNAPSHOT_DUMP=t |
| 182 |
.endif |
163 |
.endif |
| 183 |
|
164 |
|
| 184 |
MAN5= amanda-archive-format.5 \ |
|
|
| 185 |
amanda-client.conf.5 \ |
| 186 |
amanda.conf.5 |
| 187 |
MAN7= amanda-applications.7 \ |
| 188 |
amanda-auth.7 \ |
| 189 |
amanda-match.7 \ |
| 190 |
amanda-scripts.7 |
| 191 |
MAN8= amanda.8 \ |
| 192 |
amarchiver.8 \ |
| 193 |
amdump_client.8 \ |
| 194 |
amgtar.8 \ |
| 195 |
ampgsql.8 \ |
| 196 |
amraw.8 \ |
| 197 |
amrecover.8 \ |
| 198 |
amsamba.8 \ |
| 199 |
amservice.8 \ |
| 200 |
amstar.8 \ |
| 201 |
amsuntar.8 \ |
| 202 |
amzfs-sendrecv.8 \ |
| 203 |
amzfs-snapshot.8 \ |
| 204 |
script-email.8 |
| 205 |
|
| 206 |
post-install: |
165 |
post-install: |
| 207 |
${MKDIR} ${AMANDA_GNUTAR_LISTDIR} |
166 |
${MKDIR} ${AMANDA_GNUTAR_LISTDIR} |
| 208 |
${CHOWN} ${USERS}:${AMANDA_GROUP} ${AMANDA_GNUTAR_LISTDIR} |
167 |
${CHOWN} ${USERS}:${AMANDA_GROUP} ${AMANDA_GNUTAR_LISTDIR} |
| 209 |
${TOUCH} ${AMANDA_DATES} |
168 |
${TOUCH} ${AMANDA_DATES} |
| 210 |
${CHOWN} ${USERS}:${AMANDA_GROUP} ${AMANDA_DATES} |
169 |
${CHOWN} ${USERS}:${AMANDA_GROUP} ${AMANDA_DATES} |
| 211 |
${CAT} ${PKGMESSAGE} |
|
|
| 212 |
|
170 |
|
| 213 |
.endif |
171 |
.endif |
| 214 |
|
172 |
|