* [gentoo-commits] repo/gentoo:master commit in: net-dns/maradns/files/
@ 2016-04-28 23:44 Austin English
0 siblings, 0 replies; 3+ messages in thread
From: Austin English @ 2016-04-28 23:44 UTC (permalink / raw
To: gentoo-commits
commit: 354597dde07e9de89f121f06b9ef6e2c449dc349
Author: Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 28 22:09:32 2016 +0000
Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Thu Apr 28 22:09:32 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=354597dd
net-dns/maradns: remove unused init scripts
net-dns/maradns/files/maradns.rc6 | 23 -----------------------
net-dns/maradns/files/zoneserver.rc6 | 21 ---------------------
2 files changed, 44 deletions(-)
diff --git a/net-dns/maradns/files/maradns.rc6 b/net-dns/maradns/files/maradns.rc6
deleted file mode 100644
index 32db2e4..0000000
--- a/net-dns/maradns/files/maradns.rc6
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-depend() {
- need net
- provide dns
-}
-
-start() {
- ebegin "Starting maradns"
- start-stop-daemon --start --quiet --name maradns \
- --exec /usr/bin/duende /usr/sbin/maradns
- eend $?
-}
-
-stop() {
- ebegin "Stopping maradns"
- start-stop-daemon --stop --quiet --name maradns \
- --exec /usr/sbin/duende
- eend $?
-}
diff --git a/net-dns/maradns/files/zoneserver.rc6 b/net-dns/maradns/files/zoneserver.rc6
deleted file mode 100644
index 9d175a6..0000000
--- a/net-dns/maradns/files/zoneserver.rc6
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-depend() {
- need net
-}
-
-start() {
- ebegin "Starting zoneserver"
- start-stop-daemon --start --quiet --name zoneserver \
- --exec /usr/bin/duende /usr/sbin/zoneserver
- eend $?
-}
-
-stop() {
- ebegin "Stopping zoneserver"
- start-stop-daemon --stop --quiet --name zoneserver
- eend $?
-}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-dns/maradns/files/
@ 2020-07-03 23:22 Aaron Bauman
0 siblings, 0 replies; 3+ messages in thread
From: Aaron Bauman @ 2020-07-03 23:22 UTC (permalink / raw
To: gentoo-commits
commit: bfea4b6b34134ffc494362c742c01c01c638004a
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Thu Jul 2 17:37:27 2020 +0000
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Fri Jul 3 23:22:31 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfea4b6b
net-dns/maradns: remove unused patches
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/16543
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
.../maradns/files/maradns-2.0.06-askmara-tcp.patch | 251 ---------------------
.../maradns/files/maradns-2.0.06-duende-man.patch | 109 ---------
net-dns/maradns/files/maradns-2.0.09-build.patch | 43 ----
3 files changed, 403 deletions(-)
diff --git a/net-dns/maradns/files/maradns-2.0.06-askmara-tcp.patch b/net-dns/maradns/files/maradns-2.0.06-askmara-tcp.patch
deleted file mode 100644
index 107097159c8..00000000000
--- a/net-dns/maradns/files/maradns-2.0.06-askmara-tcp.patch
+++ /dev/null
@@ -1,251 +0,0 @@
-Author: Nicholas Bamber <nicholas@periapt.co.uk>
-Subject: askmara-tcp lazily copies askmara usage and man page
-Last-Updated: 2011-09-21
-Forwarded: no
---- a/tools/askmara_labels_en.h
-+++ b/tools/askmara_labels_en.h
-@@ -1,11 +1,12 @@
- /* Placed in the public domain 2001 by Sam Trenholme */
-
--/* All of the labels for replies used in askmara */
-+/* All of the labels for replies used in askmara(-tcp) */
-
- #define L_NEWLINE "\n"
- #define L_HARD_ERROR "Hard Error: "
- #define L_QUERYING "Querying the server with the IP "
- #define L_USAGE "Usage: askmara [-n] [-v | -t timeout] Query [server]\n#Example: askmara Ayahoo.com."
-+#define L_USAGE_TCP "Usage: askmara-tcp [-n] [-v | -t timeout] Query [server]\n#Example: askmara-tcp Ayahoo.com."
- #define L_JS_CREATE_INDATA "js_create with indata"
- #define L_JS_CREATE_UINDATA "js_create with uindata"
- #define L_JS_CREATE_OUTDATA "js_create with outdata"
---- a/tools/askmara-tcp.c
-+++ b/tools/askmara-tcp.c
-@@ -190,7 +190,7 @@
- nrd = 1;
- else if(argv[0][0] == '-' && argv[0][1] == 'p') {
- if(argc < 2) {
-- harderror(L_USAGE);
-+ harderror(L_USAGE_TCP);
- }
- argc--;
- argv++;
-@@ -201,7 +201,7 @@
- }
- else if(argv[0][0] == '-' && argv[0][1] == 't') {
- if(argc < 2) {
-- harderror(L_USAGE);
-+ harderror(L_USAGE_TCP);
- }
- argc--;
- argv++;
-@@ -213,14 +213,14 @@
- else if (argv[0][0] != '-')
- break;
- else
-- harderror(L_USAGE);
-+ harderror(L_USAGE_TCP);
- argc--;
- argv++;
- }
-
- /* we expect now the query string and possibly the server */
- if(argc<1)
-- harderror(L_USAGE);
-+ harderror(L_USAGE_TCP);
-
- /* Determine what IP address to connect to */
- if(argc>1)
---- /dev/null
-+++ b/doc/en/man/askmara-tcp.1
-@@ -0,0 +1,191 @@
-+.\" Do *not* edit this file; it was automatically generated by ej2man
-+.\" Look for a name.ej file with the same name as this filename
-+.\"
-+.\" Process this file with the following
-+.\" nroff -man -Tutf8 maradns.8 | tr '\020' ' '
-+.\"
-+.\" Last updated Mon Sep 27 15:36:06 2010
-+.\"
-+.TH ASKMARA-TCP 1 "askmara-tcp" "January 2002" "askmara-tcp"
-+.\" We don't want hyphenation (it's too ugly)
-+.\" We also disable justification when using nroff
-+.\" Due to the way the -mandoc macro works, this needs to be placed
-+.\" after the .TH heading
-+.hy 0
-+.if n .na
-+.\"
-+.\" We need the following stuff so that we can have single quotes
-+.\" In both groff and other UNIX *roff processors
-+.if \n(.g .mso www.tmac
-+.ds aq \(aq
-+.if !\n(.g .if '\(aq'' .ds aq \'
-+
-+.SH "NAME"
-+.PP
-+askmara-tcp \- do simple dns queries over TCP
-+.SH "DESCRIPTION"
-+.PP
-+.B "askmara-tcp"
-+queries the user-specified dns server for records, and
-+outputs the reply in a csv2-compatible format (csv2 is the format of
-+zone
-+files that
-+.B "maradns"
-+uses). However unlike
-+.B "askmara"
-+it uses TCP rather than UDP.
-+.SH "USAGE"
-+.PP
-+.B "askmara-tcp"
-+.RB [ -n ]
-+.RB [ -v | -t
-+.IR timeout ]
-+.I query
-+.RI [ server ]
-+.SH "OPTIONS"
-+.PP
-+.TP 4
-+.BI -t
-+If this is present, the following argument is the askmara-tcp
-+.IR timeout ,
-+in seconds. Note that
-+.B "askmara-tcp"
-+can not both have a user-defined
-+timeout and verbose output.
-+.TP 4
-+.BI -v
-+If this is set,
-+.B "askmara-tcp"
-+will verbosely output the complete reply that the server sent. Note
-+that this verbose output is not csv2-compatible.
-+.TP 4
-+.BI -n
-+If this is set,
-+.BR "askmara-tcp" ","
-+when sending out a query, will not
-+request DNS recursion; in other words, askmara-tcp will request that the
-+remote DNS server not contact other DNS servers to answer the query in
-+question.
-+.TP 4
-+.I query
-+dns record to be queried. The query has two sections:
-+The type of record we desire, and the hostname we want this record for.
-+.PP
-+The type of query can have two forms: A one-letter mnemonic, or a
-+numeric rtype followed by a colon. This is immediately concatenated by
-+the full name of the host name we wish to look up.
-+.PP
-+For example, to ask for the IP of \(aqexample.com.\(aq, we can use the
-+one-letter
-+mnemonic, in the form \(aqAexample.com.\(aq, or we can use the numeric
-+RR followed
-+by a colon, giving the query \(aq1:example.com.\(aq (since A has the
-+record type
-+of one). Note that the query name needs the trailing dot at the end.
-+.PP
-+Askmara supports a handful one-letter mnemonics, as follows:
-+.PP
-+.B "A"
-+signifies a request for an A (ipv4 address) RR
-+.PP
-+.B "N"
-+signifies a NS RR
-+.PP
-+.B "C"
-+signifies that we are asking for a CNAME RR
-+.PP
-+.B "S"
-+signifies that we want a SOA RR
-+.PP
-+.B "P"
-+signifies that we want a PTR RR
-+.PP
-+.B "@"
-+signifies that we mant a MX RR
-+.PP
-+.B "T"
-+signifies that we want a TXT RR
-+.PP
-+.B "Z"
-+signifies that we want to ask for all RRs.
-+.TP 4
-+.I server
-+IP address of the dns server to be queried. If no server is given,
-+askmara-tcp will query 127.0.0.1.
-+.PP
-+.SH "EXAMPLES"
-+.PP
-+Asking the server with the ip 127.0.0.1 for the IP address of
-+example.com:
-+
-+.nf
-+askmara-tcp Aexample.com.
-+.fi
-+
-+Asking the server with the ip 198.41.0.4 for the IP address of
-+example.com:
-+
-+.nf
-+askmara-tcp Aexample.com. 198.41.0.4
-+.fi
-+
-+Asking the server with the ip address 127.0.0.1 for the IP address of
-+example.com, using the rr_number:query format:
-+
-+.nf
-+askmara-tcp 1:example.com.
-+.fi
-+
-+Asking the server with the ip address 127.0.0.1 for a SRV record. In
-+particular, we ask for the "http over tcp" service for example.net.
-+Since askmara-tcp doesn\(aqt have a mnemonic for SRV record types, we
-+use the numeric code (33 for SRV):
-+
-+.nf
-+askmara-tcp 33:_http._tcp.example.net.
-+.fi
-+
-+Asking the server with the ip address 127.0.0.1 for the AAAA (ipv6 ip)
-+record for example.net:
-+
-+.nf
-+askmara-tcp 28:example.net.
-+.fi
-+
-+Note that the output will be a raw DNS packet in both the SRV
-+and AAAA examples.
-+.SH "BUGS"
-+.PP
-+When askmara-tcp is asked for an SOA record, the output of
-+.B "askmara-tcp"
-+closely resembles the format of a csv2 file, but can not be parsed as a
-+csv2 file without modification.
-+.PP
-+askmara-tcp outputs multi-chunk ("character-string") TXT
-+records incorrectly (it only outputs the first chunk).
-+.SH "SEE ALSO"
-+.PP
-+.B maradns(8),
-+.B askmara(1)
-+
-+.br
-+http://www.maradns.org
-+.SH "LEGAL DISCLAIMER"
-+.PP
-+THIS SOFTWARE IS PROVIDED BY THE AUTHORS \(aq\(aqAS IS\(aq\(aq AND ANY
-+EXPRESS
-+OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-+ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE
-+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
-+BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-+WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
-+OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-+.SH "AUTHOR"
-+.PP
-+MaraDNS is written by Sam Trenholme. Jaakko Niemi used 5 minutes
-+to roll this manpage together, which Sam has subsequently revised.
-+
diff --git a/net-dns/maradns/files/maradns-2.0.06-duende-man.patch b/net-dns/maradns/files/maradns-2.0.06-duende-man.patch
deleted file mode 100644
index 8e9283bc080..00000000000
--- a/net-dns/maradns/files/maradns-2.0.06-duende-man.patch
+++ /dev/null
@@ -1,109 +0,0 @@
-Author: Nicholas Bamber <nicholas@periapt.co.uk>
-Subject: Duende man page
- We have made various changes to the duende executable and these need to
- be reflected in the Debian man page.
-Forwarded: yes
-Last-Update: 2011-07-18
---- a/doc/en/man/duende.8
-+++ b/doc/en/man/duende.8
-@@ -29,11 +29,12 @@
- makes a given child process a daemon. The standard output
- and standard error
- of the child process is logged via syslog() with a priority of
--LOG_INFO.
-+LOG_ALERT.
- .SH "USAGE"
- .PP
- .B "duende"
--child_process [ all subsequent arguments passed on to child ]
-+.RB [ options ]
-+child_process [ arguments passed onto child ]
- .SH "DETAILS"
- .PP
- When
-@@ -76,48 +77,52 @@
- duende uses a setuid() call to change the user ID of the logging
- process
- to the user with ID 66.
-+.SH "OPTIONS"
-+.PP
-+Most of the above behaviour can be configured by command line arguments.
-+.TP 4
-+.BI -c | --chroot " directory"
-+The log helper process will change its directory and root to this location.
-+This defaults to
-+.B /etc/maradns/logger "."
-+.TP 4
-+.BI -i | --ident " string"
-+The log helper process will use this string to identify the process when
-+sending messages to syslog.
-+This defaults to
-+.B log-help "."
-+.TP 4
-+.BI -p | --pid " filename"
-+If this argument is present, the duende parent process will store its pid in
-+this file.
-+.TP 4
-+.BI -u | --uid " integer"
-+The log helper process will drop its user id to this. This value defaults to
-+66.
-+.TP 4
-+.BI -g | --gid " integer"
-+The log helper process will drop its group id to this. This value defaults to
-+66.
-+.TP 4
-+.BI -r | --restart_on " integer"
-+The log helper process will restart the child process if it exists with this
-+status code. This defaults to 8.
- .SH "LOGGING"
- .PP
- .B "duende"
- uses the syslog() facility to log the standard output of the
- program that it invokes. The name of the program (in other words, the
--"ident" given to openlog()) is the full path of the first argument
--given
--to
--.BR "duende" "."
-+"ident" given to openlog()) defaults to
-+.BR "log-helper"
-+but can be overridden with the
-+.RB "--ident"
-+argument.
- All messages created by the child process are sent
--to syslog() with a priority of LOG_INFO and a "facility"
--of LOG_DAEMON (daemon.info in /etc/syslog.conf); since daemon.info
--messages are not logged by default in FreeBSD, on FreeBSD systems
--messages generated by the child process are logged with a priority of
--LOG_ALERT and a "facility" of LOG_DAEMON (daemon.alert in
--/etc/syslog.conf).
-+to syslog() with a priority of LOG_ALERT and a "facility"
-+of LOG_DAEMON (daemon.info in /etc/syslog.conf).
- Should duende itself encounter an error, it will send
- messages to syslog() with a priority of LOG_ALERT.
- .PP
--For example, suppose one invokes duende thusly:
--
--.nf
-- duende /usr/local/sbin/maradns
--.fi
--
--If invoked thusly, duende will log all messages with the "ident"
--(program
--name) of "/usr/local/sbin/maradns". If this is not desired, invoke
--duende
--with something like:
--
--.nf
-- export PATH=$PATH:/usr/local/sbin
-- duende maradns
--.fi
--
--This will log messages with a (more sensible) "ident" of maradns.
--.PP
--Note: If a non-POSIX Bourne shell (such as csh, es, rc, or fish) is
--used to
--invoke MaraDNS, the above syntax needs to be changed.
--.PP
- Also, the directory /etc/maradns/logger, while used by duende, is not
- used
- to store any log messages. That is unless, for some reason, one
diff --git a/net-dns/maradns/files/maradns-2.0.09-build.patch b/net-dns/maradns/files/maradns-2.0.09-build.patch
deleted file mode 100644
index 33622b9bc87..00000000000
--- a/net-dns/maradns/files/maradns-2.0.09-build.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-Index: maradns-2.0.09/build/Makefile.linux
-===================================================================
---- maradns-2.0.09.orig/build/Makefile.linux
-+++ maradns-2.0.09/build/Makefile.linux
-@@ -10,7 +10,7 @@ POBJECTS=parse/ParseMaraRc.o parse/Parse
- DOBJECTS=dns/Queries.o dns/Compress.o dns/bobbit.o
- # Secure random number generator objects
- ROBJECTS=rng/rng-api-fst.o rng/rng-alg-fst.o
--OBJECTS=$(JOBJS) $(MHOBJS) $(SOBJECTS) $(DOBJECTS) $(POBJECTS) $(DOBJECTS) $(ROBJECTS)
-+OBJECTS=$(JOBJS) $(MHOBJS) $(SOBJECTS) $(DOBJECTS) $(POBJECTS) $(DOBJECTS) $(ROBJECTS) -lrt
- EXECS=server/maradns
-
- # Uncomment the following three lines to get this to compile on Solaris
-@@ -28,19 +28,21 @@ Q="DEFINES=-DSELECT_PROBLEM"
-
- # Debug
-
--FLAGS = -O2 -Wall -DSELECT_PROBLEM
-+FLAGS=$(CFLAGS) $(LDFLAGS) -Wall -DSELECT_PROBLEM
- M="CC=$(CC) $(FLAGS)"
- D="CC=$(CC) $(FLAGS) -DDEBUG -DTHREADS"
- #FLAGS = -g
-
- all:
-- cd libs ; make $(M) ; cd ../dns ; make $(M) ; \
-- cd ../rng ; make $(M) ; cd ../parse ; make $(M) ; \
-- cd ../qual ; make $(M) ; cd ../server ; \
-- make $(M) $(V) COMPILED=\"$(COMPILED)\" ; \
-- cd ../tools ; make $(M) ; \
-- cd ../deadwood-*/src/ ; make FLAGS=-O2 ; \
-- cd ../../tcp ; make $(M) $(V) ; cat ../00README.FIRST
-+ $(MAKE) -C libs $(M)
-+ $(MAKE) -C dns $(M)
-+ $(MAKE) -C rng $(M)
-+ $(MAKE) -C parse $(M)
-+ $(MAKE_ -C qual $(M)
-+ $(MAKE) -C server $(M) $(V) COMPILED=\"$(COMPILED)\"
-+ $(MAKE) -C tools $(M)
-+ $(MAKE) -C deadwood-*/src $(M)
-+ $(MAKE) -C tcp $(M) $(V)
-
- debug:
- cd libs ; make $(D) DEBUG="-DDEBUG -DTHREADS" ; \
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-dns/maradns/files/
@ 2022-09-09 6:20 Joonas Niilola
0 siblings, 0 replies; 3+ messages in thread
From: Joonas Niilola @ 2022-09-09 6:20 UTC (permalink / raw
To: gentoo-commits
commit: 2e4ebfb0c5c6c4068fb007e2106813087bb7d9e8
Author: Victor Kustov <ktrace <AT> yandex <DOT> ru>
AuthorDate: Wed Aug 24 17:24:20 2022 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Sep 9 06:20:48 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e4ebfb0
net-dns/maradns: fix CFLAGS for Deadwood
Closes: https://bugs.gentoo.org/865643
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Victor Kustov <ktrace <AT> yandex.ru>
Closes: https://github.com/gentoo/gentoo/pull/27003
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
net-dns/maradns/files/maradns-3.5.0022-flags.patch | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-dns/maradns/files/maradns-3.5.0022-flags.patch b/net-dns/maradns/files/maradns-3.5.0022-flags.patch
index 9f6b81addfca..9f01795fd2bb 100644
--- a/net-dns/maradns/files/maradns-3.5.0022-flags.patch
+++ b/net-dns/maradns/files/maradns-3.5.0022-flags.patch
@@ -40,14 +40,14 @@ index 965c7fb..572dccc 100644
+ cd ../qual ; $(MAKE) $(M) ; cd ../server ; \
+ $(MAKE) $(M) $(V) COMPILED=\"$(COMPILED)\" ; \
+ cd ../tools ; $(MAKE) $(M) ; \
-+ cd ../deadwood-*/src/ ; $(MAKE) FLAGS=-O2 ; \
++ cd ../deadwood-*/src/ ; $(MAKE) $(M) ; \
+ cd ../../tcp ; $(MAKE) $(M) $(V) ; cat ../00README.FIRST
debug:
- cd libs ; make $(D) DEBUG="-DDEBUG -DTHREADS" ; \
- cd ../dns ; make $(D) ; cd ../rng ; make $(D) ; \
- cd ../parse ; make $(D) ; cd ../qual ; make $(D) ; \
-+ cd libs ; $(MAKE) $(D) DEBUG="-DDEBUG -DTHREADS" ; \
++ cd libs ; $(MAKE) $(D) ; \
+ cd ../dns ; $(MAKE) $(D) ; cd ../rng ; $(MAKE) $(D) ; \
+ cd ../parse ; $(MAKE) $(D) ; cd ../qual ; $(MAKE) $(D) ; \
cd ../server ; \
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-09-09 6:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-03 23:22 [gentoo-commits] repo/gentoo:master commit in: net-dns/maradns/files/ Aaron Bauman
-- strict thread matches above, loose matches on Subject: below --
2022-09-09 6:20 Joonas Niilola
2016-04-28 23:44 Austin English
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox