aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/bacula-server/Makefile
diff options
context:
space:
mode:
authorrm <rm@FreeBSD.org>2013-07-19 20:08:01 +0800
committerrm <rm@FreeBSD.org>2013-07-19 20:08:01 +0800
commitd7e22fed708f85f9167a784cb54bbe59c38ecfd0 (patch)
treeb56055b18068979849f58eac8c01203b8c3c0ddc /sysutils/bacula-server/Makefile
parent21d43d1f855bf2a72d3e198709ee8a63e929c39e (diff)
downloadfreebsd-ports-gnome-d7e22fed708f85f9167a784cb54bbe59c38ecfd0.tar.gz
freebsd-ports-gnome-d7e22fed708f85f9167a784cb54bbe59c38ecfd0.tar.zst
freebsd-ports-gnome-d7e22fed708f85f9167a784cb54bbe59c38ecfd0.zip
- add dependency on archivers/lzo2 to enable lzo compression
(just replace compression=GZIP with compression=LZO in Options) [1] - replace rmdir with ${RMDIR} added in previous commit (portlint warning) - correct bacula UPDATING entry [2] PR: 178691 Submitted by: Oleg Ginzburg <olevole@olevole.ru> [1] Reported by: kwm [2] Approved by: Dan Langille <dan.langille@gmail.com> (maintainer, by mail)
Diffstat (limited to 'sysutils/bacula-server/Makefile')
-rw-r--r--sysutils/bacula-server/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/sysutils/bacula-server/Makefile b/sysutils/bacula-server/Makefile
index c1bc9a2fa631..e27fce450bfa 100644
--- a/sysutils/bacula-server/Makefile
+++ b/sysutils/bacula-server/Makefile
@@ -3,7 +3,7 @@
PORTNAME= bacula
DISTVERSION= 5.2.12
-PORTREVISION?= 1
+PORTREVISION?= 2
CATEGORIES?= sysutils
MASTER_SITES= SF/bacula/bacula/${PORTVERSION}
PKGNAMEPREFIX?= #
@@ -12,6 +12,8 @@ PKGNAMESUFFIX?= -server
MAINTAINER= dan@langille.org
COMMENT?= Network backup solution (server)
+LIB_DEPENDS+= lzo2:${PORTSDIR}/archivers/lzo2
+
UNIQUENAME?= ${PORTNAME}${PKGNAMESUFFIX}
USERS= bacula
@@ -241,7 +243,7 @@ post-install:
${ECHO_CMD} "etc/bacula/bacula-barcodes.samples" >> ${TMPPLIST}; \
fi
# Add configuration files directory to packing list
- ${ECHO_CMD} "@unexec rmdir %D/etc/bacula 2>/dev/null || true" >> ${TMPPLIST}
+ ${ECHO_CMD} "@unexec ${RMDIR} %D/etc/bacula 2>/dev/null || true" >> ${TMPPLIST}
# chmod of bsmtp program so bacula can use it with dropped down permissions
${CHMOD} o+x ${PREFIX}/sbin/bsmtp
${CHOWN} -R bacula:bacula ${PREFIX}/share/bacula
@@ -267,7 +269,7 @@ post-install:
done
# Add configuration files directory to packing list
- ${ECHO_CMD} "@unexec rmdir %D/etc/bacula 2>/dev/null || true" >> ${TMPPLIST}
+ ${ECHO_CMD} "@unexec ${RMDIR} %D/etc/bacula 2>/dev/null || true" >> ${TMPPLIST}
${CHGRP} wheel ${PREFIX}/etc