pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/bind8 Add DragonFly and FreeBSD (the latter untest...
details: https://anonhg.NetBSD.org/pkgsrc/rev/8f7b1186e440
branches: trunk
changeset: 510017:8f7b1186e440
user: joerg <joerg%pkgsrc.org@localhost>
date: Wed Mar 22 18:33:57 2006 +0000
description:
Add DragonFly and FreeBSD (the latter untested) support.
diffstat:
net/bind8/Makefile | 3 ++-
net/bind8/PLIST.DragonFly | 2 ++
net/bind8/PLIST.FreeBSD | 2 ++
net/bind8/distinfo | 6 +++++-
net/bind8/patches/patch-ak | 22 ++++++++++++++++++++++
net/bind8/patches/patch-al | 22 ++++++++++++++++++++++
net/bind8/patches/patch-am | 13 +++++++++++++
net/bind8/patches/patch-an | 24 ++++++++++++++++++++++++
8 files changed, 92 insertions(+), 2 deletions(-)
diffs (143 lines):
diff -r 4d71b76f7d73 -r 8f7b1186e440 net/bind8/Makefile
--- a/net/bind8/Makefile Wed Mar 22 17:43:32 2006 +0000
+++ b/net/bind8/Makefile Wed Mar 22 18:33:57 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2006/03/04 21:30:17 jlam Exp $
+# $NetBSD: Makefile,v 1.36 2006/03/22 18:33:57 joerg Exp $
DISTNAME= bind-${BIND_VERSION}
PKGREVISION= 1
@@ -33,6 +33,7 @@
post-extract:
cd ${WRKSRC}/doc/man && ${RM} -f *.lst* *~ *.BAK *.CKP *.orig
+ ${LN} -s freebsd ${WRKSRC}/src/port/dragonfly
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/bind8
diff -r 4d71b76f7d73 -r 8f7b1186e440 net/bind8/PLIST.DragonFly
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/bind8/PLIST.DragonFly Wed Mar 22 18:33:57 2006 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST.DragonFly,v 1.1 2006/03/22 18:33:57 joerg Exp $
+include/bind/sys/bitypes.h
diff -r 4d71b76f7d73 -r 8f7b1186e440 net/bind8/PLIST.FreeBSD
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/bind8/PLIST.FreeBSD Wed Mar 22 18:33:57 2006 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST.FreeBSD,v 1.1 2006/03/22 18:33:57 joerg Exp $
+include/bind/sys/bitypes.h
diff -r 4d71b76f7d73 -r 8f7b1186e440 net/bind8/distinfo
--- a/net/bind8/distinfo Wed Mar 22 17:43:32 2006 +0000
+++ b/net/bind8/distinfo Wed Mar 22 18:33:57 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.19 2005/11/04 19:36:01 rillig Exp $
+$NetBSD: distinfo,v 1.20 2006/03/22 18:33:57 joerg Exp $
SHA1 (bind/8.4.6/bind-src.tar.gz) = 8ecf19aa013f548ecb79ff14ccdbc8ec530e4d8b
RMD160 (bind/8.4.6/bind-src.tar.gz) = a91e3f6adbb57141e0764dd65651c0a8172a8c6d
@@ -15,3 +15,7 @@
SHA1 (patch-ah) = 154d3ab6a388a51dbfc1351a7d21e9436f5efa92
SHA1 (patch-ai) = 85f20cf82cb109b73a5344d5e5d3ff1acce8507a
SHA1 (patch-aj) = 6a812ee56aad252c44b7fd0eb839d9d382f1ef6a
+SHA1 (patch-ak) = db59ad1cda56adfffb75336781c4bd1ad1c79733
+SHA1 (patch-al) = f03b3b5480d9294673cdb86cf0f45f48ce9ea895
+SHA1 (patch-am) = 7acd974e10388dba0dcb44c28f2f03e18b7a1c28
+SHA1 (patch-an) = 41b63a50756d9f73152fc8a48dbf93657064e90f
diff -r 4d71b76f7d73 -r 8f7b1186e440 net/bind8/patches/patch-ak
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/bind8/patches/patch-ak Wed Mar 22 18:33:57 2006 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-ak,v 1.1 2006/03/22 18:33:57 joerg Exp $
+
+--- src/port/freebsd/include/port_after.h.orig 2006-03-22 17:10:51.000000000 +0000
++++ src/port/freebsd/include/port_after.h
+@@ -11,7 +11,7 @@
+ #define USE_LOG_CONS
+ #define HAVE_CHROOT
+ #define CAN_CHANGE_ID
+-#if __FreeBSD_version >= 330000
++#if defined(__DragonFly__) || __FreeBSD_version >= 330000
+ #define HAVE_STRLCPY
+ #define HAVE_STRLCAT
+ #endif
+@@ -35,7 +35,7 @@
+ #else
+ #define NEED_PSELECT
+ #endif
+-#if defined(__FreeBSD_version) && __FreeBSD_version >= 400021
++#if defined(__DragonFly__) || defined(__FreeBSD_version) && __FreeBSD_version >= 400021
+ #define HAVE_GETIFADDRS
+ #include <ifaddrs.h>
+ #endif
diff -r 4d71b76f7d73 -r 8f7b1186e440 net/bind8/patches/patch-al
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/bind8/patches/patch-al Wed Mar 22 18:33:57 2006 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-al,v 1.1 2006/03/22 18:33:57 joerg Exp $
+
+--- src/port/freebsd/include/port_before.h.orig 2006-03-22 17:11:36.000000000 +0000
++++ src/port/freebsd/include/port_before.h
+@@ -11,7 +11,7 @@
+ #define DO_PTHREADS
+ #endif
+
+-#if defined (__FreeBSD__) && __FreeBSD__>=3
++#if defined(__DragonFly__) || defined (__FreeBSD__) && __FreeBSD__>=3
+ #define SETPWENT_VOID
+ #endif
+
+@@ -27,7 +27,7 @@
+ #define GROUP_R_ENT_ARGS void
+ #define GROUP_R_OK (*result = gptr, 0)
+ #define GROUP_R_BAD ((ge == NULL) ? (*result = NULL, 0) : errno)
+-#if defined(__FreeBSD_version) && __FreeBSD_version >= 500030
++#if defined(__DragonFly__) || defined(__FreeBSD_version) && __FreeBSD_version >= 500030
+ #define GETGROUPLIST_ARGS const char *name, gid_t basegid, gid_t *groups, \
+ int *ngroups
+ #else
diff -r 4d71b76f7d73 -r 8f7b1186e440 net/bind8/patches/patch-am
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/bind8/patches/patch-am Wed Mar 22 18:33:57 2006 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-am,v 1.1 2006/03/22 18:33:57 joerg Exp $
+
+--- src/port/freebsd/probe.orig 2006-03-22 17:12:05.000000000 +0000
++++ src/port/freebsd/probe
+@@ -4,7 +4,7 @@ uname=/usr/bin/uname
+
+ if [ -f $uname ]; then
+ case `$uname -s` in
+- FreeBSD) exit 0 ;;
++ FreeBSD|DragonFly) exit 0 ;;
+ esac
+ fi
+
diff -r 4d71b76f7d73 -r 8f7b1186e440 net/bind8/patches/patch-an
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/bind8/patches/patch-an Wed Mar 22 18:33:57 2006 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-an,v 1.1 2006/03/22 18:33:57 joerg Exp $
+
+--- src/port/freebsd/Makefile.set.orig 2006-03-22 17:41:15.000000000 +0000
++++ src/port/freebsd/Makefile.set
+@@ -1,11 +1,13 @@
+ 'CC=cc'
+ 'CDEBUG=-O2 -g -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat'
+-'DESTBIN=/usr/bin'
+-'DESTSBIN=/usr/sbin'
+-'DESTEXEC=/usr/libexec'
+-'DESTMAN=/usr/share/man'
+-'DESTHELP=/usr/share/misc'
+-'DESTETC=/etc'
++'DESTBIN=${PREFIX}/bin'
++'DESTLIB=${PREFIX}/lib'
++'DESTINC=${PREFIX}/include/bind'
++'DESTSBIN=${PREFIX}/sbin'
++'DESTEXEC=${PREFIX}/libexec'
++'DESTMAN=${PREFIX}/${PKGMANDIR}'
++'DESTHELP=${PREFIX}/share/doc/bind8'
++'DESTETC=${PKG_SYSCONFDIR}'
+ 'DESTRUN=/var/run'
+ 'LEX=lex -I'
+ 'YACC=yacc -d'
Home |
Main Index |
Thread Index |
Old Index