diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2008-07-24 23:27:50 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2008-07-24 23:27:50 +0000 |
commit | b9074b86bfaa8a354a45f0fa293f808408b38ded (patch) | |
tree | 545697b3d23f303119846aa698003431dd0ec75c /misc/amanda25-server/Makefile | |
parent | d2ddcad204a4fb96b2bbe54a069411888a82718a (diff) | |
download | ports-b9074b86bfaa8a354a45f0fa293f808408b38ded.tar.gz ports-b9074b86bfaa8a354a45f0fa293f808408b38ded.zip |
Notes
Diffstat (limited to 'misc/amanda25-server/Makefile')
-rw-r--r-- | misc/amanda25-server/Makefile | 29 |
1 files changed, 20 insertions, 9 deletions
diff --git a/misc/amanda25-server/Makefile b/misc/amanda25-server/Makefile index ea2b4014a716..bad68ecf2c3e 100644 --- a/misc/amanda25-server/Makefile +++ b/misc/amanda25-server/Makefile @@ -7,7 +7,7 @@ PORTNAME= amanda PORTVERSION= 2.5.1p3 -PORTREVISION?= 4 +PORTREVISION?= 5 PKGNAMESUFFIX?= -server PORTEPOCH= 1 CATEGORIES= misc @@ -20,9 +20,10 @@ COMMENT?= The Advanced Maryland Automatic Network Disk Archiver (server) WRKSRC= ${WRKDIR}/amanda-${PORTVERSION} SLAVEDIRS= misc/amanda-client -NO_LATEST_LINK= yes +LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX} USE_AUTOTOOLS= autoconf:261 USE_GMAKE= yes +USE_OPENSSL= yes PATCH_STRIP= CONFIGURE_ARGS= --libexecdir=${PREFIX}/libexec/amanda \ --with-amandahosts --with-fqdn \ @@ -32,7 +33,8 @@ CONFIGURE_ARGS= --libexecdir=${PREFIX}/libexec/amanda \ USE_LDCONFIG= yes WANT_PERL= yes -OPTIONS= GNUTAR "use GNU tar" on +OPTIONS= GNUTAR "use GNU tar" on \ + SSH "enable ssh-auth" off .include <bsd.port.pre.mk> @@ -57,6 +59,10 @@ CONFIGURE_ARGS+= --with-config=${AMANDA_CONFIG} CONFIGURE_ARGS+= --with-udpportrange=${AMANDA_UDPPORTRANGE} .endif +.if defined (WITH_SSH) +CONFIGURE_ARGS+= --with-ssh-security +.endif + # AMANDA_PORTRANGE is obsoleted. Use AMANDA_TCPPORTRANGE instead. .if defined (AMANDA_PORTRANGE) AMANDA_TCPPORTRANGE= ${AMANDA_PORTRANGE} @@ -99,6 +105,12 @@ pre-fetch: @${ECHO} " The default is no restriction on UDP ports." @${ECHO} "" +post-patch: + @${REINPLACE_CMD} \ + -e 's|^OPENSSL=.*$$|OPENSSL=${OPENSSLBASE}/bin/openssl|' \ + ${WRKSRC}/server-src/amcrypt-ossl.sh.in \ + ${WRKSRC}/server-src/amcrypt-ossl-asym.sh.in + USE_PERL5= yes BUILD_DEPENDS+= ${LOCALBASE}/sbin/amrecover:${PORTSDIR}/misc/amanda-client @@ -116,8 +128,7 @@ MAN8= amadmin.8 amaespipe.8 amcheck.8 \ OPTIONS+= PLOT "enable ploting, requires X11 libraries" off\ SAMBA "enable the use of smbclient" off \ MTX "enable the use of mtx changer scripts" off \ - AESPIPE "enable encryption. Needed by amcrypt" off \ - SSH "enable ssh-auth" off + AESPIPE "enable encryption. Needed by amcrypt" off .if defined (WITH_PLOT) BUILD_DEPENDS+= gnuplot:${PORTSDIR}/math/gnuplot @@ -143,10 +154,6 @@ RUN_DEPENDS+= mtx:${PORTSDIR}/misc/mtx RUN_DEPENDS+= aespipe:${PORTSDIR}/security/aespipe .endif -.if defined (WITH_SSL) -CONFIGURE_ARGS+= --with-ssh-security -.endif - .if defined (AMANDA_TAPE) CONFIGURE_ARGS+= --with-tape-device=${AMANDA_TAPE} .endif @@ -214,4 +221,8 @@ EXTRA_PATCHES= ${FILESDIR}/extra-patch-sendbackup-dump.c .endif +# Maintainer TODO: +# o amanda-server installs lib/libamandad.a which should be handled by +# amanda-client only. + .include <bsd.port.post.mk> |