Modify

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#511 closed enhancement (fixed)

maradns upgrade to version 1.2.07.2

Reported by: MichaHahn2@… Owned by: developers
Priority: normal Milestone: 0.9/rc6
Component: packages Version:
Keywords: maradns Cc: MichaHahn@…

Description

Hallo,
i upgraded the package maradns to its current stable version 1.2.07.2. Here is the patch:

diff -ruN package/maradns.orig/files/maradns.init package/maradns/files/maradns.init
--- package/maradns.orig/files/maradns.init	2006-04-21 17:14:20.000000000 +0200
+++ package/maradns/files/maradns.init	2006-04-21 11:21:29.000000000 +0200
@@ -1,3 +1,5 @@
 #!/bin/sh
 [ -d /etc/maradns ] || mkdir -p /etc/maradns
-/usr/sbin/maradns >/dev/null 2>&1 &
+[ -d /etc/maradns/logger ] || mkdir -p /etc/maradns/logger
+duende /usr/sbin/maradns
+duende /usr/sbin/zoneserver
diff -ruN package/maradns.orig/Makefile package/maradns/Makefile
--- package/maradns.orig/Makefile	2006-04-21 17:14:20.000000000 +0200
+++ package/maradns/Makefile	2006-04-21 11:14:37.000000000 +0200
@@ -3,11 +3,11 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=maradns
-PKG_VERSION:=1.0.26
+PKG_VERSION:=1.2.07.2
 PKG_RELEASE:=1
-PKG_MD5SUM:=b3180ad1f250a4e3820613e711ae159b
+PKG_MD5SUM:=dc67f6a496e668127871382a40367733
 
-PKG_SOURCE_URL:=http://www.maradns.org/download
+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
 
@@ -22,27 +22,6 @@
 	(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
 		$(TARGET_CONFIGURE_OPTS) \
 		./configure \
-		--target=$(GNU_TARGET_NAME) \
-		--host=$(GNU_TARGET_NAME) \
-		--build=$(GNU_HOST_NAME) \
-		--program-prefix="" \
-		--program-suffix="" \
-		--prefix=/usr \
-		--exec-prefix=/usr \
-		--bindir=/usr/bin \
-		--datadir=/usr/share \
-		--includedir=/usr/include \
-		--infodir=/usr/share/info \
-		--libdir=/usr/lib \
-		--libexecdir=/usr/lib \
-		--localstatedir=/var \
-		--mandir=/usr/share/man \
-		--sbindir=/usr/sbin \
-		--sysconfdir=/etc \
-		  $(DISABLE_LARGEFILE) \
-		  $(DISABLE_NLS) \
-		  --enable-shared \
-		  --disable-static \
 	);
 	touch $@
 
@@ -66,7 +45,7 @@
 	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 -fpR $(PKG_INSTALL_DIR)/usr/bin/{askmara,getzone} $(IDIR_MARADNS)/usr/bin/
+	cp -fpR $(PKG_INSTALL_DIR)/usr/bin/{askmara,getzone,fetchzone,duende} $(IDIR_MARADNS)/usr/bin/
 	install -d -m0755 $(IDIR_MARADNS)/usr/sbin
 	cp -fpR $(PKG_INSTALL_DIR)/usr/sbin/{maradns,zoneserver} $(IDIR_MARADNS)/usr/sbin/
 	$(RSTRIP) $(IDIR_MARADNS)

It works fine for me and I would be glad to see the updated package within the next OpenWRT release. The main advantage over the MaraDNS 1.0 branch is for me the full support for processing DNS records over ipv4 TCP. Using this package it is poosible to set up my DynDNS router at home as second NS server for my domains.

Micha

Attachments (1)

maradns-1.2.07.2.patch (2.2 KB) - added by MichaHahn2@… 12 years ago.

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by MichaHahn2@…

comment:1 Changed 12 years ago by nbd

  • Resolution set to fixed
  • Status changed from new to closed

Added in [3919]

comment:2 Changed 12 years ago by mbm

  • Milestone set to 1.0-rc6

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.