mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
Update to 2.0.13.
PR: 203810 Sponsored by: Absolight
This commit is contained in:
parent
4b85a5030b
commit
204d9a6d6f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=399477
@ -2,7 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= maradns
|
||||
PORTVERSION= 2.0.12
|
||||
PORTVERSION= 2.0.13
|
||||
CATEGORIES= dns
|
||||
MASTER_SITES= http://maradns.samiam.org/download/2.0/${PORTVERSION}/\
|
||||
SF/${PORTNAME}/MaraDNS/${PORTVERSION}/
|
||||
@ -13,7 +13,7 @@ COMMENT= DNS server with focus on security and simplicity
|
||||
LICENSE= BSD2CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
DEADWOOD_VER= 3.2.08
|
||||
DEADWOOD_VER= 3.2.09
|
||||
|
||||
REINPLACE_ARGS= -i ""
|
||||
MAKE_ENV= FLAGS="${CFLAGS}"
|
||||
@ -21,57 +21,57 @@ CONFIGURE_ENV= LANG=
|
||||
|
||||
HAS_CONFIGURE= yes
|
||||
USE_RC_SUBR= ${PORTNAME} zoneserver Deadwood
|
||||
USES= tar:bz2
|
||||
USES= tar:bz2 shebangfix
|
||||
USERS= bind
|
||||
GROUPS= bind
|
||||
INSTALL_TARGET= install PREFIX=${STAGEDIR}${PREFIX}
|
||||
SHEBANG_FILES= ${WRKSRC}/tools/bind2csv2.py
|
||||
|
||||
OPTIONS_DEFINE= IPV6 DOCS EXAMPLES
|
||||
OPTIONS_DEFINE= IPV6 DOCS EXAMPLES CONV
|
||||
OPTIONS_SUB= yes
|
||||
CONV_DESC= Install bind2csv2 tool (needs python)
|
||||
|
||||
IPV6_CONFIGURE_ON= --ipv6
|
||||
CONV_USES= python:run
|
||||
|
||||
PORTDOCS= *
|
||||
PORTEXAMPLES= *
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|cc|${CC}|' ${WRKSRC}/build/Makefile.freebsd
|
||||
@${REINPLACE_CMD} -e 's|\<cc\>|${CC}|' ${WRKSRC}/build/Makefile.freebsd
|
||||
@${FIND} ${WRKSRC} -type f ! -name "*.orig" | ${XARGS} ${REINPLACE_CMD} -e \
|
||||
's|/etc/maradns|${ETCDIR}|g; s|/etc/mararc|${ETCDIR}|g' -e\
|
||||
's|/etc/deadwood|${ETCDIR}|g' -e\
|
||||
's| = 99| = 53|g'
|
||||
's|/etc/maradns|${ETCDIR}|g; s|/etc/mararc|${ETCDIR}|g; \
|
||||
s|/etc/deadwood|${ETCDIR}|g; s| = 99| = 53|g'
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/deadwood-${DEADWOOD_VER}/src/Deadwood ${STAGEDIR}${PREFIX}/sbin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/server/maradns ${STAGEDIR}${PREFIX}/sbin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/tcp/getzone ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/tcp/fetchzone ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/tcp/getzone ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/tcp/zoneserver ${STAGEDIR}${PREFIX}/sbin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/tools/askmara ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/tools/duende ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/tools/misc/mqhash ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/tools/bind2csv2.py ${STAGEDIR}${PREFIX}/bin/bind2csv2
|
||||
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/en/man/askmara.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/en/man/getzone.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/en/man/fetchzone.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/en/man/maradns.8 ${STAGEDIR}${MANPREFIX}/man/man8
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/en/man/zoneserver.8 ${STAGEDIR}${MANPREFIX}/man/man8
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/en/man/duende.8 ${STAGEDIR}${MANPREFIX}/man/man8
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/en/man/mararc.5 ${STAGEDIR}${MANPREFIX}/man/man5
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/en/man/csv1.5 ${STAGEDIR}${MANPREFIX}/man/man5
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/en/man/csv2.5 ${STAGEDIR}${MANPREFIX}/man/man5
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/en/man/csv2_txt.5 ${STAGEDIR}${MANPREFIX}/man/man5
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/en/man/Deadwood.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/en/man/*.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/en/man/*.8 ${STAGEDIR}${MANPREFIX}/man/man8
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/en/man/*.5 ${STAGEDIR}${MANPREFIX}/man/man5
|
||||
|
||||
@${MKDIR} ${STAGEDIR}${ETCDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/en/examples/example_full_mararc ${STAGEDIR}${ETCDIR}/mararc.sample
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/en/examples/example_csv2 ${STAGEDIR}${ETCDIR}/csv2.sample
|
||||
${INSTALL_DATA} ${WRKSRC}/deadwood-${DEADWOOD_VER}/doc/dwood3rc ${STAGEDIR}${ETCDIR}/dwood3rc.sample
|
||||
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
cd ${WRKSRC}/doc/en && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
|
||||
@${RM} -rf ${STAGEDIR}${DOCSDIR}/man \
|
||||
${STAGEDIR}${DOCSDIR}/source \
|
||||
${STAGEDIR}${DOCSDIR}/pdf
|
||||
@${FIND} ${STAGEDIR}${DOCSDIR} -name Makefile -delete
|
||||
|
||||
post-install-EXAMPLES-on:
|
||||
${MV} ${STAGEDIR}${DOCSDIR}/examples ${STAGEDIR}${EXAMPLESDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (maradns-2.0.12.tar.bz2) = a7683749d312f469e7f42d0f9b74588eb207bfa69391a9f2364b67af83d32ebc
|
||||
SIZE (maradns-2.0.12.tar.bz2) = 1159457
|
||||
SHA256 (maradns-2.0.13.tar.bz2) = 661ea06fb18df6d2469b2bf824ffd93545a091af185362cbc738d1aa408210c3
|
||||
SIZE (maradns-2.0.13.tar.bz2) = 1148494
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- ./MaraDns.h.orig 2014-02-12 08:17:18.000000000 +0000
|
||||
+++ ./MaraDns.h 2014-02-20 15:23:22.000000000 +0000
|
||||
@@ -77,21 +77,21 @@
|
||||
--- MaraDns.h.orig 2015-09-26 05:35:18 UTC
|
||||
+++ MaraDns.h
|
||||
@@ -71,21 +71,21 @@
|
||||
line to point to Bash
|
||||
*/
|
||||
|
||||
|
12
dns/maradns/files/patch-build_Makefile.freebsd
Normal file
12
dns/maradns/files/patch-build_Makefile.freebsd
Normal file
@ -0,0 +1,12 @@
|
||||
--- build/Makefile.freebsd.orig 2012-02-12 06:04:11 UTC
|
||||
+++ build/Makefile.freebsd
|
||||
@@ -47,7 +47,8 @@ all:
|
||||
cd ../qual ; make $(M) ; cd ../server ; \
|
||||
make $(M) $(Q) COMPILED=\"$(COMPILED)\" $(V) ; \
|
||||
cd ../tools ; make $(M) ; \
|
||||
- cd ../deadwood-*/src/ ; make FLAGS="-O2"; \
|
||||
+ cd misc ; make $(M) ; \
|
||||
+ cd ../../deadwood-*/src/ ; make FLAGS="-O2"; \
|
||||
cd ../../tcp ; make $(M) $(V) ; cat ../00README.FIRST
|
||||
|
||||
debug:
|
@ -1,14 +1,18 @@
|
||||
bin/askmara
|
||||
%%CONV%%bin/bind2csv2
|
||||
bin/duende
|
||||
bin/fetchzone
|
||||
bin/getzone
|
||||
bin/mqhash
|
||||
@sample %%ETCDIR%%/csv2.sample
|
||||
@sample %%ETCDIR%%/dwood3rc.sample
|
||||
@sample %%ETCDIR%%/mararc.sample
|
||||
man/man1/Deadwood.1.gz
|
||||
man/man1/askmara.1.gz
|
||||
man/man1/bind2csv2.1.gz
|
||||
man/man1/fetchzone.1.gz
|
||||
man/man1/getzone.1.gz
|
||||
man/man1/mqhash.1.gz
|
||||
man/man5/csv1.5.gz
|
||||
man/man5/csv2.5.gz
|
||||
man/man5/csv2_txt.5.gz
|
||||
|
Loading…
Reference in New Issue
Block a user