2010-02-10 13:56:31 +01:00
|
|
|
# $NetBSD: Makefile,v 1.23 2010/02/10 12:56:31 pettai Exp $
|
2009-09-27 01:46:33 +02:00
|
|
|
#
|
|
|
|
|
2009-10-02 23:29:02 +02:00
|
|
|
DISTNAME= opendnssec-${VERSION}
|
OpenDNSSEC 1.0.0rc4 - 2010-02-02
* Added manual pages for ods-auditor(1), ods-control(8), ods-enforcerd(8),
ods-signerd(8), ods-signer(8), ods-hsmpseed(1), ods-hsmutil(1),
ods-kaspcheck(1), ods-ksmutil(1), ods-timing(5), opendnssec(7).
* Move ods-control & ods-signer from PREFIX/bin to PREFIX/sbin.
* Dnsruby-1.43 is now required
2010-02-04 00:25:34 +01:00
|
|
|
#PKGREVISION= 1
|
2009-09-29 23:54:44 +02:00
|
|
|
CATEGORIES= net security
|
2009-12-19 22:44:23 +01:00
|
|
|
MASTER_SITES= http://www.opendnssec.org/files/source/
|
2009-09-27 01:46:33 +02:00
|
|
|
|
|
|
|
MAINTAINER= pettai@nordu.net
|
|
|
|
HOMEPAGE= http://www.opendnssec.org/
|
|
|
|
COMMENT= OSS for a fast and easy DNSSEC deployment
|
2009-09-29 10:14:37 +02:00
|
|
|
LICENSE= iis-license
|
2009-09-27 01:46:33 +02:00
|
|
|
|
2009-11-08 01:08:24 +01:00
|
|
|
DEPENDS+= ${PYPKGPREFIX}-4Suite-[0-9]*:../../wip/py-4Suite
|
2010-01-26 08:47:34 +01:00
|
|
|
DEPENDS+= ldns>=1.6.4:../../net/ldns
|
OpenDNSSEC 1.0.0rc4 - 2010-02-02
* Added manual pages for ods-auditor(1), ods-control(8), ods-enforcerd(8),
ods-signerd(8), ods-signer(8), ods-hsmpseed(1), ods-hsmutil(1),
ods-kaspcheck(1), ods-ksmutil(1), ods-timing(5), opendnssec(7).
* Move ods-control & ods-signer from PREFIX/bin to PREFIX/sbin.
* Dnsruby-1.43 is now required
2010-02-04 00:25:34 +01:00
|
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-dnsruby>=1.43:../../wip/ruby-dnsruby
|
2009-11-08 01:08:24 +01:00
|
|
|
BUILD_DEPENDS+= CUnit-[0-9]*:../../devel/cunit
|
2009-10-11 21:21:16 +02:00
|
|
|
|
2009-09-29 10:14:37 +02:00
|
|
|
LICENSE_FILE= ${FILESDIR}/iis-license
|
2009-09-27 01:46:33 +02:00
|
|
|
|
2009-12-19 22:44:23 +01:00
|
|
|
#SVN_REPOSITORIES= opendnssec
|
|
|
|
#SVN_ROOT.opendnssec= http://svn.opendnssec.org/tags/OpenDNSSEC-${VERSION}
|
|
|
|
#SVN_MODULE.opendnssec= OpenDNSSEC
|
|
|
|
#NO_CHECKSUM= yes
|
2010-02-10 13:56:31 +01:00
|
|
|
VERSION= 1.0.0
|
2009-09-27 01:46:33 +02:00
|
|
|
|
2009-12-19 22:44:23 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
#PKG_INSTALLATION_TYPES= overwrite pkgviews
|
2009-09-29 10:14:37 +02:00
|
|
|
|
2009-09-29 17:10:19 +02:00
|
|
|
# XXX: Others might work
|
2009-10-11 21:21:16 +02:00
|
|
|
#ONLY_FOR_PLATFORM= NetBSD-*-* Darwin-*-*
|
2009-09-29 17:10:19 +02:00
|
|
|
|
|
|
|
BUILD_DEFS+= VARBASE
|
|
|
|
|
2009-12-19 22:44:23 +01:00
|
|
|
#USE_TOOLS+= aclocal autoconf automake autoheader gmake gm4 perl
|
|
|
|
USE_TOOLS+= bash gmake gm4 perl
|
|
|
|
CONFIG_SHELL= ${BASH}
|
|
|
|
USE_JAVA= build
|
2009-09-27 01:46:33 +02:00
|
|
|
USE_LANGUAGES= c c++
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
|
2009-09-29 23:54:44 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2009-09-27 01:46:33 +02:00
|
|
|
CONFIGURE_ARGS+= --prefix=${PREFIX:Q}
|
2009-09-29 23:54:44 +02:00
|
|
|
CONFIGURE_ARGS+= --localstatedir=${VARBASE}
|
2010-01-04 13:46:48 +01:00
|
|
|
CONFIGURE_ENV+= RUBY=${RUBY}
|
2009-09-27 01:46:33 +02:00
|
|
|
|
2009-12-19 22:44:23 +01:00
|
|
|
#WRKSRC= ${WRKDIR}/OpenDNSSEC
|
2009-10-24 22:49:36 +02:00
|
|
|
EGDIR= ${PREFIX}/share/examples/opendnssec
|
2009-12-19 22:44:23 +01:00
|
|
|
ODS_SYSCONFDIR= ${PKG_SYSCONFDIR}/opendnssec
|
2009-09-27 01:46:33 +02:00
|
|
|
|
2009-12-19 22:44:23 +01:00
|
|
|
SUBST_CLASSES+= paths
|
|
|
|
SUBST_FILES.paths= ${WRKSRC}/conf/Makefile.in
|
|
|
|
SUBST_STAGE.paths= post-patch
|
|
|
|
SUBST_SED.paths= -e 's,@EGDIR@,${EGDIR},'
|
2009-10-26 23:23:09 +01:00
|
|
|
|
2009-09-27 01:46:33 +02:00
|
|
|
CXXFLAGS.NetBSD+= -D_NETBSD_SOURCE
|
|
|
|
|
2009-10-24 22:49:36 +02:00
|
|
|
CONF_FILES= ${EGDIR}/conf.xml.sample \
|
2009-12-19 22:44:23 +01:00
|
|
|
${ODS_SYSCONFDIR}/conf.xml
|
2009-10-24 22:49:36 +02:00
|
|
|
CONF_FILES+= ${EGDIR}/kasp.xml.sample \
|
2009-12-19 22:44:23 +01:00
|
|
|
${ODS_SYSCONFDIR}/kasp.xml
|
2009-10-24 22:49:36 +02:00
|
|
|
CONF_FILES+= ${EGDIR}/zonefetch.xml.sample \
|
2009-12-19 22:44:23 +01:00
|
|
|
${ODS_SYSCONFDIR}/zonefetch.xml
|
2009-10-24 22:49:36 +02:00
|
|
|
CONF_FILES+= ${EGDIR}/zonelist.xml.sample \
|
2009-12-19 22:44:23 +01:00
|
|
|
${ODS_SYSCONFDIR}/zonelist.xml
|
2009-10-24 22:49:36 +02:00
|
|
|
|
2009-12-19 22:44:23 +01:00
|
|
|
INSTALLATION_DIRS= ${EGDIR} ${ODS_SYSCONFDIR}
|
2009-11-08 01:08:24 +01:00
|
|
|
INSTALLATION_DIRS+= share/opendnssec
|
|
|
|
INSTALLATION_DIRS+= lib/opendnssec
|
|
|
|
INSTALLATION_DIRS+= lib/opendnssec/signer
|
|
|
|
INSTALLATION_DIRS+= lib/opendnssec/kasp_auditor
|
2009-10-26 23:23:09 +01:00
|
|
|
INSTALLATION_DIRS+= ${VARBASE}/opendnssec
|
|
|
|
INSTALLATION_DIRS+= ${VARBASE}/opendnssec/tmp
|
2009-10-24 22:49:36 +02:00
|
|
|
INSTALLATION_DIRS+= ${VARBASE}/opendnssec/signconf
|
|
|
|
INSTALLATION_DIRS+= ${VARBASE}/opendnssec/signed
|
|
|
|
INSTALLATION_DIRS+= ${VARBASE}/opendnssec/unsigned
|
|
|
|
|
2009-12-19 22:44:23 +01:00
|
|
|
.include "options.mk"
|
|
|
|
|
|
|
|
.if ${OPSYS} == "NetBSD"
|
|
|
|
#PKG_JVMS_ACCEPTED= sun-jdk6 sun-jdk15 sun-jdk14
|
|
|
|
.include "../../mk/java-vm.mk"
|
|
|
|
.endif
|
|
|
|
|
|
|
|
#pre-configure:
|
|
|
|
# ${CHMOD} u+x ${WRKSRC}/autogen.sh
|
|
|
|
# cd ${WRKSRC} && ./autogen.sh
|
2009-09-27 01:46:33 +02:00
|
|
|
|
2009-11-02 00:35:40 +01:00
|
|
|
pre-install:
|
|
|
|
${MKDIR} ${PKG_SYSCONFDIR}/opendnssec
|
|
|
|
|
2009-09-28 23:36:19 +02:00
|
|
|
.include "../../lang/python/application.mk"
|
2009-11-08 01:08:24 +01:00
|
|
|
#.include "../../devel/cunit/buildlink3.mk"
|
2009-09-27 01:46:33 +02:00
|
|
|
.include "../../textproc/libxml2/buildlink3.mk"
|
|
|
|
.include "../../net/ldns/buildlink3.mk"
|
|
|
|
.include "../../databases/sqlite3/buildlink3.mk"
|
2009-12-19 22:44:23 +01:00
|
|
|
#.include "../../databases/mysql5-client/buildlink3.mk"
|
|
|
|
#.include "../../wip/mk/svn-package.mk"
|
2009-09-27 01:46:33 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|