maradns: removed

This commit is contained in:
Juergen Daubert 2018-05-22 12:53:20 +02:00
parent 8154c2554b
commit 74970eaddf
7 changed files with 0 additions and 173 deletions

View File

@ -1,31 +0,0 @@
drwxr-xr-x root/root etc/
drwxr-xr-x root/root etc/maradns/
-rw-r--r-- root/root etc/maradns/db.example.net
-rw-r--r-- root/root etc/maradns/db.localhost
drwxr-xr-x root/root etc/maradns/logger/
-rw-r--r-- root/root etc/mararc
-rw-r--r-- root/root etc/mararc.sample
drwxr-xr-x root/root etc/rc.d/
-rwxr-xr-x root/root etc/rc.d/maradns
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/askmara
-rwxr-xr-x root/root usr/bin/fetchzone
-rwxr-xr-x root/root usr/bin/getzone
drwxr-xr-x root/root usr/sbin/
-rwxr-xr-x root/root usr/sbin/maradns
-rwxr-xr-x root/root usr/sbin/zoneserver
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man1/
-rw-r--r-- root/root usr/share/man/man1/askmara.1.gz
-rw-r--r-- root/root usr/share/man/man1/fetchzone.1.gz
-rw-r--r-- root/root usr/share/man/man1/getzone.1.gz
drwxr-xr-x root/root usr/share/man/man5/
-rw-r--r-- root/root usr/share/man/man5/csv1.5.gz
-rw-r--r-- root/root usr/share/man/man5/csv2.5.gz
-rw-r--r-- root/root usr/share/man/man5/csv2_txt.5.gz
-rw-r--r-- root/root usr/share/man/man5/mararc.5.gz
drwxr-xr-x root/root usr/share/man/man8/
-rw-r--r-- root/root usr/share/man/man8/maradns.8.gz
-rw-r--r-- root/root usr/share/man/man8/zoneserver.8.gz

View File

@ -1,4 +0,0 @@
6e2f5cfb258b8955fa345a2070b6c4b0 db.localhost
e752122d3f1beb32ba0ebd3738c1071e maradns
8df40c835d82dfaa5b4fd84ed9617680 maradns-2.0.15.tar.bz2
8205d9a6cdeba454d173847fd44168a3 mararc

View File

@ -1,8 +0,0 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/Vzz4KIduNyGPRp/MohGCN0UifTCJbYa2xqbhq35NPA0ywjlMWs9YNbnXYnDHa6ooJmSJ2V+eZd7JWo3qUbvMQU=
SHA256 (Pkgfile) = 606952870c950635cea5bac4e029baf93356c722e90cf0aa625688b4eed71646
SHA256 (.footprint) = 5a05ccb9b87167d86e461961de65a9faa670f4a9be19fe5fd1d74fb6485e1221
SHA256 (maradns-2.0.15.tar.bz2) = 2c20588dc9a79492aca94a477864c59ac28ec7ae4715046022311e9cefe332b2
SHA256 (mararc) = 090d5cdd0c388206357ab14e6f03f4cf64dbb8e2580f7342d3fd6d047a1e651d
SHA256 (maradns) = fe2f36ef23a530784df4574c52b335c97863fe49dff5d22c19076dd32d5858af
SHA256 (db.localhost) = 9ce7256594f978142df749abeaf1b5983921b2415cdd730b3696919d9ba426ed

View File

@ -1,41 +0,0 @@
# Description: A authoritative only DNS server that strives to be secure and fast
# URL: http://www.maradns.org/
# Maintainer: Juergen Daubert, jue at crux dot nu
name=maradns
version=2.0.15
release=1
source=(http://maradns.samiam.org/download/2.0/$version/$name-$version.tar.bz2 \
mararc maradns db.localhost)
build () {
cd maradns-$version
install -d $PKG/usr/{bin,sbin,man/man{1,5,8},share}
install -d $PKG/etc/{rc.d,maradns}
sed -i "/^FLAGS/s/-O2/$CFLAGS/" build/Makefile.linux
./configure
make -j1
make PREFIX=$PKG/usr RPM_BUILD_ROOT=$PKG install
# remove deadwood
rm $PKG/usr/sbin/Deadwood
rm $PKG/usr/man/man1/Deadwood.1
rm $PKG/etc/dwood3rc
# remove duende
rm $PKG/usr/bin/duende
rm $PKG/usr/man/man8/duende.8
# move man-pages
mv $PKG/usr/man/ $PKG/usr/share/man
rm -r $PKG/usr/doc
mv $PKG/etc/mararc $PKG/etc/mararc.sample
install -m 644 $SRC/mararc $PKG/etc
install -m 644 $SRC/db.* $PKG/etc/maradns
install -m 755 $SRC/maradns $PKG/etc/rc.d
}

View File

@ -1,14 +0,0 @@
#
# /etc/maradns/db.localhost
#
# SOA
% SOA localhost. root@localhost. 1 7200 3600 604800 1800
# NS
% NS localhost.
# FQDN4
% FQDN4 127.0.0.1
# End of file

View File

@ -1,40 +0,0 @@
#!/bin/sh
#
# /etc/rc.d/deadwood: start/stop deadwood DNS resolver
#
SSD=/sbin/start-stop-daemon
PROG=/usr/sbin/maradns
PID=/var/run/maradns.pid
LOG=/var/log/maradns.log
case $1 in
start)
$SSD --start -bmC --pidfile $PID --exec $PROG >> $LOG 2>&1
RETVAL=$?
;;
stop)
$SSD --stop --remove-pidfile --retry 10 --pidfile $PID
RETVAL=$?
;;
restart)
$0 stop
$0 start
;;
status)
$SSD --status --pidfile $PID
case $? in
0) echo "$PROG is running with pid $(cat $PID)" ;;
1) echo "$PROG is not running but the pid file $PID exists" ;;
3) echo "$PROG is not running" ;;
4) echo "Unable to determine the program status" ;;
esac
;;
*)
echo "usage: $0 [start|stop|restart|status]"
;;
esac
exit $RETVAL
# End of file

View File

@ -1,35 +0,0 @@
#
# /etc/mararc
#
# Base settings
hide_disclaimer = "YES"
chroot_dir = "/etc/maradns"
maradns_uid = 99
maradns_gid = 99
random_seed_file = "/dev/urandom"
# Timing and size settings
maximum_cache_elements = 2048
maxprocs = 96
timeout_seconds = 5
# Logging and debug settings
timestamp_type = 4
verbose_level = 3
debug_msg_level = 3
# The addresses mara bind to
ipv4_bind_addresses = "127.0.0.1"
# The various zones we support
csv2 = {}
csv2["localhost."] = "db.localhost"
# csv2["example.net."] = "db.example.net"
# ACL for localhost
ipv4_alias = {}
ipv4_alias["localhost"] = "127.0.0.0/8"
admin_acl = "localhost"
# End of file