freebsd-ports/dns/opendnssec/Makefile
Tobias C. Berner 17e77c6b82 dns/opendnssec: adding EOL message to opendnssec-1.4.14
The upstream has declared this soon to be EOL. The port is now updated accordingly.

End-of-life announcement: https://www.opendnssec.org/2019/10/

OpenDNSSEC 2.1 was released in February 2017, and in the past
two-and-half year it has proven itself to be stable and viable
upgrade of 1.4, and has additional features and improvements.

Therefore we announce end-of-life of OpenDNSSEC 1.4. One of the steps
towards future releases with better experience and shorter cycles.

Starting today, October 8, 2019, in accordance with our policies,
we will only provide essential fixes and support until 9 October 2020,
after which support will no longer be available. We feel confident
that existing installations can upgrade without much hassle and offer
support to our customers in doing so.

OpenDNSSEC 2.1.4 [1] serves as the replacement for the 1.4 LTS.
The current version is 2.1.6. There is a migration step necessary,
for which you can find a good breakdown at the migration page. [2]

[1] https://svnweb.freebsd.org/ports/head/dns/opendnssec2
[2] https://www.opendnssec.org/migration-from-1-4-to-2-1/

PR:		244610
Submitted by:	Jaap Akkerhuis <jaap@NLnetLabs.nl> (maintainer)
2020-03-08 13:55:05 +00:00

94 lines
2.3 KiB
Makefile

# Created by: Jaap Akkerhuis <jaap@NLnetLabs.nl>
# $FreeBSD$
PORTNAME= opendnssec
PORTVERSION= 1.4.14
PORTREVISION= 3
CATEGORIES= dns
MASTER_SITES= http://dist.opendnssec.org/source/
MAINTAINER= jaap@NLnetLabs.nl
COMMENT= Tool suite for maintaining DNSSEC
LICENSE= BSD3CLAUSE
DEPRECATED= EOLed by upstream
EXPIRATION_DATE= 2020-10-09
BUILD_DEPENDS= ldns>=1.6.16:dns/ldns
LIB_DEPENDS= libldns.so:dns/ldns
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir="${PREFIX}/var"
USE_RC_SUBR= opendnssec
USE_GNOME= libxml2
USES= compiler:c11 gnome perl5 ssl
USE_LDCONFIG= yes
CONFLICTS= opendnssec-1.[0-3]* opendnssec2-[0-9]*
USERS= opendnssec
GROUPS= opendnssec
PORTDOCS= KNOWN_ISSUES MIGRATION NEWS README.md
OPTIONS_DEFINE= SOFTHSM DOCS
OPTIONS_SUB= yes
OPTIONS_SINGLE= DB
OPTIONS_SINGLE_DB= MYSQL SQLITE
OPTIONS_DEFAULT= MYSQL
SOFTHSM_DESC= SoftHSM cryptographic store for PKCS \#11 interface
MYSQL_DESC= Use MYSQL backend
SQLITE_DESC= Use SQLite backend
SQLITE_USE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MMYSQL}
CONFIGURE_ARGS+= --with-database-backend=mysql
USES+= mysql
SCRIPTDATA= migrate_adapters_1.mysql migrate_keyshare_mysql.pl \
migrate_zone_delete.mysql migrate_id_mysql.pl \
migrate_to_ng_mysql.pl migrate_1_4_8.mysql
.endif
.if ${PORT_OPTIONS:MSQLITE}
CONFIGURE_ARGS+= --with-sqlite3=${LOCALBASE}
CONFIGURE_ARGS+= --with-database-backend=sqlite3
BUILD_DEPENDS+= sqlite3>=3.3.9:databases/sqlite3
SCRIPTDATA= database_create.sqlite3 migrate_keyshare_sqlite3.pl \
migrate_adapters_1.sqlite3 migrate_to_ng_sqlite.pl \
migrate_1_4_8.sqlite3
.endif
.if ${PORT_OPTIONS:MSOFTHSM}
CONFIGURE_ARGS+= --with-pkcs11-softhsm=${LOCALBASE}/lib/softhsm/libsofthsm2.so
RUN_DEPENDS+= softhsm2>=2.5.0:security/softhsm2
.endif
SCRIPTDATA+= convert_database.pl
PKGMESSAGE= ${WRKSRC}/MIGRATION
post-patch:
${REINPLACE_CMD} -e "s|\(-lcrypto\)|-L${OPENSSLLIB} \1|g" \
${WRKSRC}/configure
pre-install:
.if ${PORT_OPTIONS:MMYSQL}
@${REINPLACE_CMD} -e '/REQUIRE:/ s|$$| mysql|' ${WRKDIR}/opendnssec
.endif
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.endif
${INSTALL_DATA} ${SCRIPTDATA:S|^|${WRKSRC}/enforcer/utils/|} ${STAGEDIR}${DATADIR}
# ${CHOWN} -R ${USERS}:${GROUPS} ${PREFIX}/var/opendnssec
.include <bsd.port.mk>