View | Details | Raw Unified | Return to bug 234494 | Differences between
and this patch

Collapse All | Expand All

(-)./distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1524796813
1
TIMESTAMP = 1546826906
2
SHA256 (maradns-2.0.15.tar.bz2) = 2c20588dc9a79492aca94a477864c59ac28ec7ae4715046022311e9cefe332b2
2
SHA256 (maradns-2.0.16.tar.bz2) = 8a33c232f96ce1c2e1832ad34edde11a67f83264fe9529de8107326ffd86e2c6
3
SIZE (maradns-2.0.15.tar.bz2) = 1166133
3
SIZE (maradns-2.0.16.tar.bz2) = 1127504
(-)./files/patch-build_Makefile.freebsd (+11 lines)
Lines 1-5 Link Here
1
--- build/Makefile.freebsd.orig	2012-02-12 06:04:11 UTC
1
--- build/Makefile.freebsd.orig	2012-02-12 06:04:11 UTC
2
+++ build/Makefile.freebsd
2
+++ build/Makefile.freebsd
3
@@ -31,8 +31,8 @@ M="VERSION=$(VERSION)"
4
 Q="DEFINES=-DSELECT_PROBLEM"
5
 
6
 # FreeBSD needs some special flags to compile MaraDNS
7
-CC="cc -O2 -Wall -pipe -D_THREAD_SAFE -pthread"
8
-M=CC=$(CC) 
9
+#CC="cc -O2 -Wall -pipe -D_THREAD_SAFE -pthread"
10
+M=CC="$(CC) -O2 -Wall -pipe -D_THREAD_SAFE -pthread"
11
 V="VERSION=$(VERSION)"
12
 
13
 # Debug
3
@@ -47,7 +47,8 @@ all: 
14
@@ -47,7 +47,8 @@ all: 
4
 	cd ../qual ; make $(M) ; cd ../server ; \
15
 	cd ../qual ; make $(M) ; cd ../server ; \
5
 	make $(M) $(Q) COMPILED=\"$(COMPILED)\" $(V) ; \
16
 	make $(M) $(Q) COMPILED=\"$(COMPILED)\" $(V) ; \
(-)./Makefile (-2 / +12 lines)
Lines 2-8 Link Here
2
# $FreeBSD: head/dns/maradns/Makefile 468929 2018-05-03 14:05:55Z mat $
2
# $FreeBSD: head/dns/maradns/Makefile 468929 2018-05-03 14:05:55Z mat $
3
3
4
PORTNAME=	maradns
4
PORTNAME=	maradns
5
PORTVERSION=	2.0.15
5
PORTVERSION=	2.0.16
6
CATEGORIES=	dns
6
CATEGORIES=	dns
7
MASTER_SITES=	http://maradns.samiam.org/download/2.0/${PORTVERSION}/
7
MASTER_SITES=	http://maradns.samiam.org/download/2.0/${PORTVERSION}/
8
8
Lines 13-18 LICENSE= BSD2CLAUSE Link Here
13
LICENSE_FILE=	${WRKSRC}/COPYING
13
LICENSE_FILE=	${WRKSRC}/COPYING
14
14
15
USES=		tar:bz2
15
USES=		tar:bz2
16
16
USE_RC_SUBR=	${PORTNAME} zoneserver Deadwood
17
USE_RC_SUBR=	${PORTNAME} zoneserver Deadwood
17
USERS=		bind
18
USERS=		bind
18
GROUPS=		bind
19
GROUPS=		bind
Lines 30-36 CONV_USES= python:2.7,run shebangfix Link Here
30
PORTDOCS=	*
31
PORTDOCS=	*
31
PORTEXAMPLES=	*
32
PORTEXAMPLES=	*
32
REINPLACE_ARGS=	-i ""
33
REINPLACE_ARGS=	-i ""
33
DEADWOOD_VER=	3.2.11
34
DEADWOOD_VER=	3.2.12
35
36
pre-patch:
37
	@${ECHO_MSG} hide_disclaimer = \"YES\" >> ${WRKSRC}/doc/en/examples/example_full_mararc
38
	${REINPLACE_CMD} -e 's|262144|2621440|g' ${WRKSRC}/server/MaraDNS.c
39
40
pre-patch-IPV6-on:
41
	@${ECHO_MSG} ipv6_bind_address = \"::1\" >> ${WRKSRC}/doc/en/examples/example_full_mararc
42
	${REINPLACE_CMD} -e 's|bind_address=\"127.0.0.1|bind_address=\"127.0.0.1,\ ::1|'\
43
		-e 's|127.0.0.1/16|127.0.0.1/16,\ ::1/128|' ${WRKSRC}/deadwood-${DEADWOOD_VER}/doc/dwood3rc
34
44
35
post-patch:
45
post-patch:
36
	@${REINPLACE_CMD} -e 's|make |\$$\{MAKE\} |' ${WRKSRC}/build/Makefile.freebsd
46
	@${REINPLACE_CMD} -e 's|make |\$$\{MAKE\} |' ${WRKSRC}/build/Makefile.freebsd

Return to bug 234494