2009-12-19 22:44:23 +01:00
|
|
|
# $NetBSD: Makefile,v 1.18 2009/12/19 21:44:23 pettai Exp $
|
2009-09-27 01:46:33 +02:00
|
|
|
#
|
|
|
|
|
2009-10-02 23:29:02 +02:00
|
|
|
DISTNAME= opendnssec-${VERSION}
|
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
|
|
|
|
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
|
|
|
|
VERSION= 1.0.0rc2
|
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}
|
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"
|