diff options
author | scheidell <scheidell@FreeBSD.org> | 2012-07-08 20:39:15 +0800 |
---|---|---|
committer | scheidell <scheidell@FreeBSD.org> | 2012-07-08 20:39:15 +0800 |
commit | 0eb9b78a2c9caa90a0d7c4eafb0577c735464191 (patch) | |
tree | 51234a15e623ceb8575591870ab369f46d8bc065 | |
parent | 023488c07fdef0247830a5e048d3e4a791590b95 (diff) | |
download | freebsd-ports-gnome-0eb9b78a2c9caa90a0d7c4eafb0577c735464191.tar.gz freebsd-ports-gnome-0eb9b78a2c9caa90a0d7c4eafb0577c735464191.tar.zst freebsd-ports-gnome-0eb9b78a2c9caa90a0d7c4eafb0577c735464191.zip |
- Update to 1.3.9
- Add GIDs/UIDs 215
PR: ports/169646
Submitted by: Jaap Akkerhuis <jaap@NLnetLabs.nl> (maintainer)
-rw-r--r-- | GIDs | 1 | ||||
-rw-r--r-- | UIDs | 1 | ||||
-rw-r--r-- | dns/opendnssec/Makefile | 14 | ||||
-rw-r--r-- | dns/opendnssec/distinfo | 4 | ||||
-rw-r--r-- | dns/opendnssec/files/opendnssec.in | 3 | ||||
-rw-r--r-- | dns/opendnssec/files/patch-conf__Makefile.in | 20 | ||||
-rw-r--r-- | dns/opendnssec/pkg-plist | 10 |
7 files changed, 24 insertions, 29 deletions
@@ -107,6 +107,7 @@ shoutcast:*:210: git:*:211: hg:*:212: drizzle:*:213: +opendnssec:*:215: bs:*:220: postgrey:*:225: sqlgrey:*:226: @@ -114,6 +114,7 @@ shoutcast:*:210:210::0:0:Shoutcast sandbox:/nonexistent:/bin/sh git:*:211:211::0:0:gitosis user:/usr/local/git:/bin/sh hg:*:212:212::0:0:mercurial-server user:/usr/local/hg:/bin/sh drizzle:*:213:213::0:0:Drizzle daemon:/var/db/drizzle:/usr/sbin/nologin +opendnssec:*:215:215::0:0:Opendnssec Pseudo User:/nonexistent:/usr/sbin/nologin bs:*:220:220::0:0:Big Sister:/usr/local/bigsister:/bin/sh postgrey:*:225:225::0:0:Postgrey Owner:/nonexistent:/usr/sbin/nologin sqlgrey:*:226:226::0:0:SQLgrey Owner:/nonexistent:/usr/sbin/nologin diff --git a/dns/opendnssec/Makefile b/dns/opendnssec/Makefile index fa70e6a8ff0d..745eb2148ba8 100644 --- a/dns/opendnssec/Makefile +++ b/dns/opendnssec/Makefile @@ -6,9 +6,10 @@ # PORTNAME= opendnssec -PORTVERSION= 1.3.7 +PORTVERSION= 1.3.9 CATEGORIES= dns -MASTER_SITES= http://www.opendnssec.org/files/source/ +MASTER_SITES= http://www.opendnssec.org/files/source/ \ + http://dist.opendnssec.org/source/ MAINTAINER= jaap@NLnetLabs.nl COMMENT= Tool suite for maintaining DNSSEC @@ -23,6 +24,9 @@ USE_PERL5= yes USE_OPENSSL= yes USE_LDCONFIG= yes +USERS= ${PORTNAME} +GROUPS= ${PORTNAME} + MAN1= ods-hsmspeed.1 ods-hsmutil.1 ods-ksmutil.1 MAN5= ods-timing.5 MAN7= opendnssec.7 @@ -66,10 +70,16 @@ RUN_DEPENDS+= softhsm>=1.2.0:${PORTSDIR}/security/softhsm PKGMESSAGE= ${WRKSRC}/MIGRATION +pre-install: +.if defined(WITH_MYSQL) + @${REINPLACE_CMD} -e '/REQUIRE:/ s|$$| mysql|' ${WRKDIR}/opendnssec +.endif + post-install: .if !defined(BATCH) @${CAT} ${PKGMESSAGE} .endif + ${CHOWN} -R ${USERS}:${GROUPS} ${PREFIX}/var/opendnssec .include <bsd.port.pre.mk> .if defined(WITH_AUDITOR) && ${RUBY_VER} == 1.9 diff --git a/dns/opendnssec/distinfo b/dns/opendnssec/distinfo index f92f8b33c70d..409e3dc20fed 100644 --- a/dns/opendnssec/distinfo +++ b/dns/opendnssec/distinfo @@ -1,2 +1,2 @@ -SHA256 (opendnssec-1.3.7.tar.gz) = 04893a8a92537c9e7b52fb2d6e84e724aa31df7cf8194922248fa46886d0afd1 -SIZE (opendnssec-1.3.7.tar.gz) = 1085010 +SHA256 (opendnssec-1.3.9.tar.gz) = 64c1b86c8a873409c32a90470914705c5562e81cc642e0355f4e655f2ef54968 +SIZE (opendnssec-1.3.9.tar.gz) = 1153929 diff --git a/dns/opendnssec/files/opendnssec.in b/dns/opendnssec/files/opendnssec.in index f7554411550b..63320707366d 100644 --- a/dns/opendnssec/files/opendnssec.in +++ b/dns/opendnssec/files/opendnssec.in @@ -3,8 +3,7 @@ # $FreeBSD$ # # PROVIDE: opendnssec -# REQUIRE: LOGIN -# REQUIRE: DAEMON +# REQUIRE: LOGIN DAEMON # KEYWORD: shutdown # # Add the following line to /etc/rc.conf to enable opendnssec: diff --git a/dns/opendnssec/files/patch-conf__Makefile.in b/dns/opendnssec/files/patch-conf__Makefile.in deleted file mode 100644 index 271abf45079e..000000000000 --- a/dns/opendnssec/files/patch-conf__Makefile.in +++ /dev/null @@ -1,20 +0,0 @@ ---- ./conf/Makefile.in.orig 2011-03-20 23:41:56.000000000 +0100 -+++ ./conf/Makefile.in 2011-03-20 23:42:26.000000000 +0100 -@@ -531,17 +531,9 @@ - - install-data-hook: - test -d ${DESTDIR}${sysconfdir} || mkdir -p ${DESTDIR}${sysconfdir} -- test -f ${DESTDIR}${sysconfdir}/conf.xml || \ -- ${INSTALL_DATA} -m 0640 conf.xml ${DESTDIR}${sysconfdir} - ${INSTALL_DATA} -m 640 conf.xml ${DESTDIR}${sysconfdir}/conf.xml.sample -- test -f ${DESTDIR}${sysconfdir}/zonelist.xml || \ -- ${INSTALL_DATA} zonelist.xml ${DESTDIR}${sysconfdir} - ${INSTALL_DATA} zonelist.xml ${DESTDIR}${sysconfdir}/zonelist.xml.sample -- test -f ${DESTDIR}${sysconfdir}/zonefetch.xml || \ -- ${INSTALL_DATA} -m 0640 zonefetch.xml ${DESTDIR}${sysconfdir} - ${INSTALL_DATA} -m 640 zonefetch.xml ${DESTDIR}${sysconfdir}/zonefetch.xml.sample -- test -f ${DESTDIR}${sysconfdir}/kasp.xml || \ -- ${INSTALL_DATA} kasp.xml ${DESTDIR}${sysconfdir} - ${INSTALL_DATA} kasp.xml ${DESTDIR}${sysconfdir}/kasp.xml.sample - # Tell versions [3.59,3.63) of GNU make to not export all variables. - # Otherwise a system limit (for SysV at least) may be exceeded. diff --git a/dns/opendnssec/pkg-plist b/dns/opendnssec/pkg-plist index 1924745c96ce..b774565b6295 100644 --- a/dns/opendnssec/pkg-plist +++ b/dns/opendnssec/pkg-plist @@ -4,9 +4,13 @@ bin/ods-hsmutil bin/ods-ksmutil %%AUDITOR%%bin/ods-kaspcheck bin/ods-kasp2html +@unexec if cmp -s %D/etc/opendnssec/conf.xml %D/etc/opendnssec/conf.xml.sample; then rm -f %D/etc/opendnssec/conf.xml; fi %%ETCDIR%%/conf.xml.sample +@unexec if cmp -s %D/etc/opendnssec/kasp.xml %D/etc/opendnssec/kasp.xml.sample; then rm -f %D/etc/opendnssec/kasp.xml; fi %%ETCDIR%%/kasp.xml.sample +@unexec if cmp -s %D/etc/opendnssec/zonefetch.xml %D/etc/opendnssec/zonefetch.xml.sample; then rm -f %D/etc/opendnssec/zonefetch.xml; fi %%ETCDIR%%/zonefetch.xml.sample +@unexec if cmp -s %D/etc/opendnssec/zonelist.xml %D/etc/opendnssec/zonelist.xml.sample; then rm -f %D/etc/opendnssec/zonelist.xml; fi %%ETCDIR%%/zonelist.xml.sample %%AUDITOR%%lib/opendnssec/kasp_auditor/auditor.rb %%AUDITOR%%lib/opendnssec/kasp_auditor/changed_config.rb @@ -36,14 +40,11 @@ sbin/ods-signerd %%DATADIR%%/zonefetch.rng %%DATADIR%%/zonelist.rnc %%DATADIR%%/zonelist.rng -@dirrm var/run/opendnssec -@dirrm var/run @dirrm var/opendnssec/unsigned @dirrm var/opendnssec/tmp @dirrm var/opendnssec/signed @dirrm var/opendnssec/signconf @dirrm var/opendnssec -@dirrm var @dirrm %%DATADIR%% @dirrm lib/opendnssec/kasp_auditor @dirrm lib/opendnssec @@ -53,3 +54,6 @@ sbin/ods-signerd @exec mkdir -p %D/var/opendnssec/tmp @exec mkdir -p %D/var/opendnssec/signed @exec mkdir -p %D/var/opendnssec/signconf +@dirrmtry var/run/opendnssec +@dirrmtry var/run +@dirrmtry var |