FreeBSD Bugzilla – Attachment 203789 Details for
Bug 234494
dns/maradns: Memory exhaustion crash with default config
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
maradns-2.0.17.patch
maradns-2.0.17.patch (text/plain), 2.76 KB, created by
takefu
on 2019-04-19 08:15:41 UTC
(
hide
)
Description:
maradns-2.0.17.patch
Filename:
MIME Type:
Creator:
takefu
Created:
2019-04-19 08:15:41 UTC
Size:
2.76 KB
patch
obsolete
>diff -udprN /usr/ports/dns/maradns/distinfo ./distinfo >--- /usr/ports/dns/maradns/distinfo 2018-05-03 14:05:55.000000000 +0000 >+++ ./distinfo 2019-04-19 07:52:30.736871000 +0000 >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1524796813 >-SHA256 (maradns-2.0.15.tar.bz2) = 2c20588dc9a79492aca94a477864c59ac28ec7ae4715046022311e9cefe332b2 >-SIZE (maradns-2.0.15.tar.bz2) = 1166133 >+TIMESTAMP = 1555660350 >+SHA256 (maradns-2.0.17.tar.bz2) = 5ab6a6c226fb5614922147f11fd414871118f5ded7287d34b325787d0159fa6c >+SIZE (maradns-2.0.17.tar.bz2) = 1135103 >diff -udprN /usr/ports/dns/maradns/files/patch-build_Makefile.freebsd ./files/patch-build_Makefile.freebsd >--- /usr/ports/dns/maradns/files/patch-build_Makefile.freebsd 2015-10-16 14:19:00.000000000 +0000 >+++ ./files/patch-build_Makefile.freebsd 2019-01-07 06:11:37.030064000 +0000 >@@ -1,5 +1,16 @@ > --- build/Makefile.freebsd.orig 2012-02-12 06:04:11 UTC > +++ build/Makefile.freebsd >+@@ -31,8 +31,8 @@ M="VERSION=$(VERSION)" >+ Q="DEFINES=-DSELECT_PROBLEM" >+ >+ # FreeBSD needs some special flags to compile MaraDNS >+-CC="cc -O2 -Wall -pipe -D_THREAD_SAFE -pthread" >+-M=CC=$(CC) >++#CC="cc -O2 -Wall -pipe -D_THREAD_SAFE -pthread" >++M=CC="$(CC) -O2 -Wall -pipe -D_THREAD_SAFE -pthread" >+ V="VERSION=$(VERSION)" >+ >+ # Debug > @@ -47,7 +47,8 @@ all: > cd ../qual ; make $(M) ; cd ../server ; \ > make $(M) $(Q) COMPILED=\"$(COMPILED)\" $(V) ; \ >diff -udprN /usr/ports/dns/maradns/Makefile ./Makefile >--- /usr/ports/dns/maradns/Makefile 2018-05-03 14:05:55.000000000 +0000 >+++ ./Makefile 2019-04-19 08:02:03.704380000 +0000 >@@ -1,18 +1,18 @@ >-# Created by: Anders Nordby <anders@fix.no> > # $FreeBSD: head/dns/maradns/Makefile 468929 2018-05-03 14:05:55Z mat $ > > PORTNAME= maradns >-PORTVERSION= 2.0.15 >+PORTVERSION= 2.0.17 > CATEGORIES= dns > MASTER_SITES= http://maradns.samiam.org/download/2.0/${PORTVERSION}/ > >-MAINTAINER= je3kmz@FreeBSD.org >+MAINTAINER= takefu@airport.fm > COMMENT= DNS server with focus on security and simplicity > > LICENSE= BSD2CLAUSE > LICENSE_FILE= ${WRKSRC}/COPYING > > USES= tar:bz2 >+ > USE_RC_SUBR= ${PORTNAME} zoneserver Deadwood > USERS= bind > GROUPS= bind >@@ -30,7 +30,16 @@ CONV_USES= python:2.7,run shebangfix > PORTDOCS= * > PORTEXAMPLES= * > REINPLACE_ARGS= -i "" >-DEADWOOD_VER= 3.2.11 >+DEADWOOD_VER= 3.2.14 >+ >+pre-patch: >+ @${ECHO_MSG} max_mem = 0 >> ${WRKSRC}/doc/en/examples/example_full_mararc >+ @${ECHO_MSG} hide_disclaimer = \"YES\" >> ${WRKSRC}/doc/en/examples/example_full_mararc >+ >+pre-patch-IPV6-on: >+ @${ECHO_MSG} ipv6_bind_address = \"::1\" >> ${WRKSRC}/doc/en/examples/example_full_mararc >+ @${REINPLACE_CMD} -e 's|bind_address=\"127.0.0.1|bind_address=\"127.0.0.1,\ ::1|'\ >+ -e 's|127.0.0.1/16|127.0.0.1/16,\ ::1/128|' ${WRKSRC}/deadwood-${DEADWOOD_VER}/doc/dwood3rc > > post-patch: > @${REINPLACE_CMD} -e 's|make |\$$\{MAKE\} |' ${WRKSRC}/build/Makefile.freebsd
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 234494
:
200858
|
201702
| 203789