mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
Make GnuPG support for sa-update optional.
PR: 105692 Submitted by: shaun
This commit is contained in:
parent
378c1ed875
commit
f64eca9ca0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=180702
@ -22,8 +22,7 @@ BUILD_DEPENDS= p5-Net-DNS>=0.53:${PORTSDIR}/dns/p5-Net-DNS \
|
||||
${SITE_PERL}/Mail/Internet.pm:${PORTSDIR}/mail/p5-Mail-Tools
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS} \
|
||||
${SITE_PERL}/Bundle/LWP.pm:${PORTSDIR}/www/p5-libwww \
|
||||
${SITE_PERL}/Archive/Tar.pm:${PORTSDIR}/archivers/p5-Archive-Tar \
|
||||
gpgv:${PORTSDIR}/security/gnupg1
|
||||
${SITE_PERL}/Archive/Tar.pm:${PORTSDIR}/archivers/p5-Archive-Tar
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= SYSCONFDIR="${PREFIX}/etc" \
|
||||
@ -36,6 +35,7 @@ CONTACT_ADDRESS?= The administrator of that system
|
||||
OPTIONS= AS_ROOT "Run spamd as root (recommended)" on \
|
||||
DOMAINKEYS "DomainKeys support" off \
|
||||
SSL "Build with SSL support for spamd/spamc" on \
|
||||
GNUPG "Install GnuPG (for sa-update)" on \
|
||||
MYSQL "Add MySQL support" off \
|
||||
PGSQL "Add PostreSQL support" off \
|
||||
RAZOR "Add Vipul's Razor support" on \
|
||||
@ -60,6 +60,10 @@ CONFIGURE_ARGS+= ENABLE_SSL=yes
|
||||
CONFIGURE_ARGS+= ENABLE_SSL=no
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_GNUPG)
|
||||
RUN_DEPENDS+= gpgv:${PORTSDIR}/security/gnupg1
|
||||
.endif
|
||||
|
||||
.if defined(WITH_MYSQL)
|
||||
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user