1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

- 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)
This commit is contained in:
Ruslan Makhmatkhanov 2013-07-19 12:08:01 +00:00
parent 58694b4634
commit 24b384172a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=323281
2 changed files with 6 additions and 4 deletions

View File

@ -9,7 +9,7 @@ you update your ports collection, before attempting any port upgrades.
AFFECTS: users of sysutils/bacula-server, sysutils/bacula-client, sysutils/bacula-bat
AUTHOR: dvl@FreeBSD.org
The configuration files for bacula have been moved to PREFIX/bacula.
The configuration files for bacula have been moved to PREFIX/etc/bacula.
Moveyour existing configuration files to this directory after
upgrading.

View File

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