1
0
فهرست منبع

package/pdnsd: update to version 1.2.9a

Originally, there was a problem compiling the old one (better: one of
it's custom patches) with IPv6 support enabled. But while at it,
updating it shouldn't hurt.
Phil Sutter 10 سال پیش
والد
کامیت
0a4c30ca27
3فایلهای تغییر یافته به همراه5 افزوده شده و 28 حذف شده
  1. 5 5
      package/pdnsd/Makefile
  2. 0 11
      package/pdnsd/patches/patch-src_Makefile_in
  3. 0 12
      package/pdnsd/patches/patch-src_dns_query_c

+ 5 - 5
package/pdnsd/Makefile

@@ -4,14 +4,14 @@
 include $(ADK_TOPDIR)/rules.mk
 
 PKG_NAME:=		pdnsd
-PKG_VERSION:=		1.2.7
-PKG_RELEASE:=		3
-PKG_HASH:=		2777d7317509df7c75c90bcfd7f9ceaec9ea2db164bf00eb797fa54e0b476a00
+PKG_VERSION:=		1.2.9a
+PKG_RELEASE:=		1
+PKG_HASH:=		bb5835d0caa8c4b31679d6fd6a1a090b71bdf70950db3b1d0cea9cf9cb7e2a7b
 PKG_DESCR:=		proxy dns server
 PKG_SECTION:=		net/dns
 PKG_DEPENDS:=		libpthread
-PKG_URL:=		http://www.phys.uu.nl/~rombouts/pdnsd.html
-PKG_SITES:=		http://www.phys.uu.nl/~rombouts/pdnsd/releases/
+PKG_URL:=		http://members.home.nl/p.a.rombouts/pdnsd/index.html
+PKG_SITES:=		http://members.home.nl/p.a.rombouts/pdnsd/releases/
 
 PKG_FLAVOURS_PDNSD:=	WITH_IPV6
 PKGFD_WITH_IPV6:=	enable IPv6 support

+ 0 - 11
package/pdnsd/patches/patch-src_Makefile_in

@@ -1,11 +0,0 @@
---- pdnsd-1.2.7.orig/src/Makefile.in	2008-09-04 18:20:37.000000000 +0200
-+++ pdnsd-1.2.7/src/Makefile.in	2010-05-29 17:45:45.937500000 +0200
-@@ -171,7 +171,7 @@ pdnsd_SOURCES = conf-parser.c conff.c co
- 	rr_types.h servers.h status.h thread.h cache.h hash.h pdnsd_assert.h \
- 	freebsd_netinet_ip_icmp.h
- 
--SUBDIRS = pdnsd-ctl rc test
-+SUBDIRS = pdnsd-ctl rc
- all: all-recursive
- 
- .SUFFIXES:

+ 0 - 12
package/pdnsd/patches/patch-src_dns_query_c

@@ -1,12 +0,0 @@
-use the temporary port, not always the global one over and over again
---- pdnsd-1.2.7.orig/src/dns_query.c	2008-09-01 15:56:51.000000000 +0200
-+++ pdnsd-1.2.7/src/dns_query.c	2010-03-19 21:44:38.837858828 +0100
-@@ -650,7 +650,7 @@ static int bind_socket(int s)
- 				ELSE_IPV6 {
- 					memset(&sin.sin6,0,sizeof(struct sockaddr_in6));
- 					sin.sin6.sin6_family=AF_INET6;
--					sin.sin6.sin6_port=htons(global.port);
-+					sin.sin6.sin6_port=htons(prt);
- 					sin.sin6.sin6_flowinfo=IPV6_FLOWINFO;
- 					SET_SOCKA_LEN6(sin.sin6);
- 					sinl=sizeof(struct sockaddr_in6);