summaryrefslogtreecommitdiffstats
path: root/openwrt/package/maradns
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/maradns')
-rw-r--r--openwrt/package/maradns/Config.in9
-rw-r--r--openwrt/package/maradns/Makefile52
-rw-r--r--openwrt/package/maradns/files/maradns.init5
-rw-r--r--openwrt/package/maradns/files/mararc9
-rw-r--r--openwrt/package/maradns/ipkg/maradns.conffiles1
-rw-r--r--openwrt/package/maradns/ipkg/maradns.control8
-rw-r--r--openwrt/package/maradns/patches/cross-compile-fix.patch12
7 files changed, 0 insertions, 96 deletions
diff --git a/openwrt/package/maradns/Config.in b/openwrt/package/maradns/Config.in
deleted file mode 100644
index 7c6974c86..000000000
--- a/openwrt/package/maradns/Config.in
+++ /dev/null
@@ -1,9 +0,0 @@
-config BR2_PACKAGE_MARADNS
- prompt "maradns........................... Small and secure DNS Server"
- tristate
- default m if CONFIG_DEVEL
- help
- A small and secure DNS server
-
- http://www.maradns.org/
-
diff --git a/openwrt/package/maradns/Makefile b/openwrt/package/maradns/Makefile
deleted file mode 100644
index 3af835065..000000000
--- a/openwrt/package/maradns/Makefile
+++ /dev/null
@@ -1,52 +0,0 @@
-# $Id$
-
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:=maradns
-PKG_VERSION:=1.2.07.2
-PKG_RELEASE:=1
-PKG_MD5SUM:=dc67f6a496e668127871382a40367733
-
-PKG_SOURCE_URL:=http://www.maradns.org/download/1.2/1.2.07.2/
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
-PKG_CAT:=bzcat
-
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
-
-include $(TOPDIR)/package/rules.mk
-
-$(eval $(call PKG_template,MARADNS,maradns,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
-
-$(PKG_BUILD_DIR)/.configured:
- (cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
- $(TARGET_CONFIGURE_OPTS) \
- ./configure \
- );
- touch $@
-
-$(PKG_BUILD_DIR)/.built:
- $(MAKE) -C $(PKG_BUILD_DIR) \
- CFLAGS="$(TARGET_CFLAGS)" \
- FLAGS="$(TARGET_CFLAGS)" \
- CC=$(TARGET_CC) \
- HOSTCC="$(HOSTCC)"
- mkdir -p $(PKG_INSTALL_DIR)/usr/{bin,sbin}
- mkdir -p $(PKG_INSTALL_DIR)/usr/man/man{1,5,8}
- $(MAKE) -C $(PKG_BUILD_DIR) \
- PREFIX="$(PKG_INSTALL_DIR)/usr" \
- RPM_BUILD_ROOT="$(PKG_INSTALL_DIR)" \
- install
- touch $@
-
-$(IPKG_MARADNS):
- install -d -m0755 $(IDIR_MARADNS)/etc
- install -m0644 ./files/mararc $(IDIR_MARADNS)/etc/mararc
- install -d -m0755 $(IDIR_MARADNS)/etc/init.d
- install -m0755 ./files/maradns.init $(IDIR_MARADNS)/etc/init.d/S60maradns
- install -d -m0755 $(IDIR_MARADNS)/usr/bin
- $(CP) $(PKG_INSTALL_DIR)/usr/bin/{askmara,getzone,fetchzone,duende} $(IDIR_MARADNS)/usr/bin/
- install -d -m0755 $(IDIR_MARADNS)/usr/sbin
- $(CP) $(PKG_INSTALL_DIR)/usr/sbin/{maradns,zoneserver} $(IDIR_MARADNS)/usr/sbin/
- $(RSTRIP) $(IDIR_MARADNS)
- $(IPKG_BUILD) $(IDIR_MARADNS) $(PACKAGE_DIR)
diff --git a/openwrt/package/maradns/files/maradns.init b/openwrt/package/maradns/files/maradns.init
deleted file mode 100644
index 1b3df1f35..000000000
--- a/openwrt/package/maradns/files/maradns.init
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-[ -d /etc/maradns ] || mkdir -p /etc/maradns
-[ -d /etc/maradns/logger ] || mkdir -p /etc/maradns/logger
-duende /usr/sbin/maradns
-duende /usr/sbin/zoneserver
diff --git a/openwrt/package/maradns/files/mararc b/openwrt/package/maradns/files/mararc
deleted file mode 100644
index e67ee9959..000000000
--- a/openwrt/package/maradns/files/mararc
+++ /dev/null
@@ -1,9 +0,0 @@
-hide_disclaimer="YES"
-chroot_dir="/etc/maradns"
-bind_address="0.0.0.0"
-maradns_uid=65534
-maxprocs=10
-random_seed_file="/dev/urandom"
-recursive_acl="192.168.1.0/24"
-root_servers={}
-root_servers["."]="198.41.0.4,128.9.0.107,192.33.4.12,128.8.10.90,192.203.230.10,192.5.5.241,192.112.36.4,128.63.2.53,192.36.148.17,192.58.128.30,193.0.14.129,198.32.64.12,202.12.27.33"
diff --git a/openwrt/package/maradns/ipkg/maradns.conffiles b/openwrt/package/maradns/ipkg/maradns.conffiles
deleted file mode 100644
index 53fcab8e5..000000000
--- a/openwrt/package/maradns/ipkg/maradns.conffiles
+++ /dev/null
@@ -1 +0,0 @@
-/etc/mararc \ No newline at end of file
diff --git a/openwrt/package/maradns/ipkg/maradns.control b/openwrt/package/maradns/ipkg/maradns.control
deleted file mode 100644
index 5db7497f4..000000000
--- a/openwrt/package/maradns/ipkg/maradns.control
+++ /dev/null
@@ -1,8 +0,0 @@
-Package: maradns
-Section: net
-Priority: optional
-Depends: libpthread
-Description: MaraDNS is a small, secure DNS Server
- MaraDNS is intended for environments where a DNS
- server must be secure and where the server must use
- the absolute minimum number of resources possible.
diff --git a/openwrt/package/maradns/patches/cross-compile-fix.patch b/openwrt/package/maradns/patches/cross-compile-fix.patch
deleted file mode 100644
index d8ee0e051..000000000
--- a/openwrt/package/maradns/patches/cross-compile-fix.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -urN maradns-1.0.26.old/rng/Makefile maradns-1.0.26.dev/rng/Makefile
---- maradns-1.0.26.old/rng/Makefile 2003-08-02 21:39:36.000000000 +0200
-+++ maradns-1.0.26.dev/rng/Makefile 2005-04-30 23:29:30.000000000 +0200
-@@ -20,7 +20,7 @@
- $(CC) -c $(FLAGS) -o rng-api-fst.o rng-api-fst.c
-
- make_32bit_tables: make_32bit_tables.c
-- $(CC) -o make_32bit_tables make_32bit_tables.c
-+ $(HOSTCC) -o make_32bit_tables make_32bit_tables.c
-
- rng-32bit-tables.h: make_32bit_tables
- ./make_32bit_tables > rng-32bit-tables.h