diff options
author | joerg <joerg> | 2006-03-22 18:33:57 +0000 |
---|---|---|
committer | joerg <joerg> | 2006-03-22 18:33:57 +0000 |
commit | 9e2a9e5eb90a7db49d126e6ea81d7b23c6e805bf (patch) | |
tree | c5ce2a4bc27153e551d1037de726853e1aa686e6 /net/bind8 | |
parent | 4b4c58efda5621c560be14a426baaaf5a4a9ebac (diff) | |
download | pkgsrc-9e2a9e5eb90a7db49d126e6ea81d7b23c6e805bf.tar.gz |
Add DragonFly and FreeBSD (the latter untested) support.
Diffstat (limited to 'net/bind8')
-rw-r--r-- | net/bind8/Makefile | 3 | ||||
-rw-r--r-- | net/bind8/PLIST.DragonFly | 2 | ||||
-rw-r--r-- | net/bind8/PLIST.FreeBSD | 2 | ||||
-rw-r--r-- | net/bind8/distinfo | 6 | ||||
-rw-r--r-- | net/bind8/patches/patch-ak | 22 | ||||
-rw-r--r-- | net/bind8/patches/patch-al | 22 | ||||
-rw-r--r-- | net/bind8/patches/patch-am | 13 | ||||
-rw-r--r-- | net/bind8/patches/patch-an | 24 |
8 files changed, 92 insertions, 2 deletions
diff --git a/net/bind8/Makefile b/net/bind8/Makefile index 5ad007768bd..f0e099e309a 100644 --- a/net/bind8/Makefile +++ b/net/bind8/Makefile @@ -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 @@ MAKE_FLAGS+= INSTALL_LIB=-o\ ${LIBOWN}\ -g\ ${LIBGRP} 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 --git a/net/bind8/PLIST.DragonFly b/net/bind8/PLIST.DragonFly new file mode 100644 index 00000000000..fd95c131edb --- /dev/null +++ b/net/bind8/PLIST.DragonFly @@ -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 --git a/net/bind8/PLIST.FreeBSD b/net/bind8/PLIST.FreeBSD new file mode 100644 index 00000000000..3462fca4af8 --- /dev/null +++ b/net/bind8/PLIST.FreeBSD @@ -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 --git a/net/bind8/distinfo b/net/bind8/distinfo index ce9d674c550..80e612154f2 100644 --- a/net/bind8/distinfo +++ b/net/bind8/distinfo @@ -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-ag) = 399938ee154d671232b87371d8cc7d3b2c419cd7 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 --git a/net/bind8/patches/patch-ak b/net/bind8/patches/patch-ak new file mode 100644 index 00000000000..bae46990e16 --- /dev/null +++ b/net/bind8/patches/patch-ak @@ -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 --git a/net/bind8/patches/patch-al b/net/bind8/patches/patch-al new file mode 100644 index 00000000000..5b93fbd8a63 --- /dev/null +++ b/net/bind8/patches/patch-al @@ -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 --git a/net/bind8/patches/patch-am b/net/bind8/patches/patch-am new file mode 100644 index 00000000000..42ed0ff0c37 --- /dev/null +++ b/net/bind8/patches/patch-am @@ -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 --git a/net/bind8/patches/patch-an b/net/bind8/patches/patch-an new file mode 100644 index 00000000000..35a60a76f8f --- /dev/null +++ b/net/bind8/patches/patch-an @@ -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' |