pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/samba Add patches for support DragonFly.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a943968ed4c0
branches:  trunk
changeset: 495233:a943968ed4c0
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Jun 05 14:17:53 2005 +0000

description:
Add patches for support DragonFly.

- DragonFly dosen't support NSS currently.
- Fix some typo in congigure scripts.

Provided by Joerg Sonnenberger by private mail.

Bump PKGREVISION.

diffstat:

 net/samba/Makefile         |   3 ++-
 net/samba/distinfo         |   4 +++-
 net/samba/options.mk       |   5 ++++-
 net/samba/patches/patch-at |  31 +++++++++++++++++++++++++++++++
 net/samba/patches/patch-au |  31 +++++++++++++++++++++++++++++++
 5 files changed, 71 insertions(+), 3 deletions(-)

diffs (116 lines):

diff -r 466993509840 -r a943968ed4c0 net/samba/Makefile
--- a/net/samba/Makefile        Sun Jun 05 13:14:59 2005 +0000
+++ b/net/samba/Makefile        Sun Jun 05 14:17:53 2005 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.143 2005/06/05 13:13:05 taca Exp $
+# $NetBSD: Makefile,v 1.144 2005/06/05 14:17:53 taca Exp $
 
 DISTNAME=              samba-3.0.14a
+PKGREVISION=           1
 CATEGORIES=            net
 MASTER_SITES=          ftp://ftp.samba.org/pub/samba/old-versions/ \
                        ftp://ring.asahi-net.or.jp/pub/net/samba/old-versions/ \
diff -r 466993509840 -r a943968ed4c0 net/samba/distinfo
--- a/net/samba/distinfo        Sun Jun 05 13:14:59 2005 +0000
+++ b/net/samba/distinfo        Sun Jun 05 14:17:53 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.43 2005/06/05 13:13:05 taca Exp $
+$NetBSD: distinfo,v 1.44 2005/06/05 14:17:53 taca Exp $
 
 SHA1 (samba-3.0.14a.tar.gz) = 978ff392d575c717069c66e918f6bbbf815b84b1
 RMD160 (samba-3.0.14a.tar.gz) = 69993b25fc5d4d172fc70e26b9e5e4b5b9ab0c0f
@@ -9,3 +9,5 @@
 SHA1 (patch-ad) = 8a99e5f898eb3c466b07b5bbb9f0c7e28e385ea0
 SHA1 (patch-af) = bc0cead8f8350001e5291443821e875bab540fc3
 SHA1 (patch-ag) = cce908577cf4007bb00b15f6dd7eee7d549ac5b0
+SHA1 (patch-at) = 13e27003bb00f9fc14494075970f52f1ca91e12b
+SHA1 (patch-au) = 001d33683c0d0e0122a864cc2b374d37eef7f2f6
diff -r 466993509840 -r a943968ed4c0 net/samba/options.mk
--- a/net/samba/options.mk      Sun Jun 05 13:14:59 2005 +0000
+++ b/net/samba/options.mk      Sun Jun 05 14:17:53 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.7 2005/06/05 13:13:05 taca Exp $
+# $NetBSD: options.mk,v 1.8 2005/06/05 14:17:53 taca Exp $
 
 # Global and legacy options
 
@@ -81,6 +81,9 @@
 NSS_WINBIND.AIX=        WINBIND
 NSS_WINS.AIX=           # empty
 
+NSS_WINBIND.DragonFly= # empty
+NSS_WINS.DragonFly=    # empty
+
 NSS_WINBIND.IRIX=       libns_winbind.so
 NSS_WINS.IRIX=          libns_wins.so
 
diff -r 466993509840 -r a943968ed4c0 net/samba/patches/patch-at
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/samba/patches/patch-at        Sun Jun 05 14:17:53 2005 +0000
@@ -0,0 +1,31 @@
+$NetBSD: patch-at,v 1.1 2005/06/05 14:17:53 taca Exp $
+
+--- configure.orig     2005-06-02 23:09:21.000000000 +0200
++++ configure
+@@ -3991,7 +3991,7 @@ cat >>confdefs.h <<\_ACEOF
+ _ACEOF
+ 
+               ;;
+-      *freebsd*|*DragonFly*)
++      *freebsd*|*dragonfly*)
+ 
+ cat >>confdefs.h <<\_ACEOF
+ #define FREEBSD 1
+@@ -21611,7 +21611,7 @@ cat >>confdefs.h <<\_ACEOF
+ _ACEOF
+ 
+                       ;;
+-              *netbsd* | *freebsd* | *DragonFly* )
++              *netbsd* | *freebsd* | *dragonfly* )
+                       BLDSHARED="true"
+                       LDSHFLAGS="-shared"
+                       DYNEXP="-Wl,--export-dynamic"
+@@ -37195,7 +37195,7 @@ echo "${ECHO_T}no" >&6;
+       fi
+ 
+       ;;
+-      *freebsd* | *DragonFly* )
++      *freebsd* | *dragonfly* )
+               echo "$as_me:$LINENO: checking for freebsd sendfile support" >&5
+ echo $ECHO_N "checking for freebsd sendfile support... $ECHO_C" >&6
+ if test "${samba_cv_HAVE_SENDFILE+set}" = set; then
diff -r 466993509840 -r a943968ed4c0 net/samba/patches/patch-au
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/samba/patches/patch-au        Sun Jun 05 14:17:53 2005 +0000
@@ -0,0 +1,31 @@
+$NetBSD: patch-au,v 1.1 2005/06/05 14:17:53 taca Exp $
+
+--- configure.in.orig  2005-06-02 23:10:03.000000000 +0200
++++ configure.in
+@@ -514,7 +514,7 @@ case "$host_os" in
+       *irix*)
+               AC_DEFINE(SYSV, 1, [Whether to enable System V compatibility])
+               ;;
+-      *freebsd*|*DragonFly*)
++      *freebsd*|*dragonfly*)
+               AC_DEFINE(FREEBSD, 1, [Whether the host os is FreeBSD])
+               ;;
+ #
+@@ -1203,7 +1203,7 @@ if test "$enable_shared" = "yes"; then
+                       AC_DEFINE(STAT_ST_BLOCKSIZE,512)
+                       AC_DEFINE(BROKEN_GETGRNAM,1,[Does getgrnam work correctly])
+                       ;;
+-              *netbsd* | *freebsd* | *DragonFly* )  
++              *netbsd* | *freebsd* | *dragonfly* )
+                       BLDSHARED="true"
+                       LDSHFLAGS="-shared"
+                       DYNEXP="-Wl,--export-dynamic"
+@@ -4090,7 +4090,7 @@ samba_cv_HAVE_BROKEN_LINUX_SENDFILE=yes,
+       fi
+ 
+       ;;
+-      *freebsd* | *DragonFly* )
++      *freebsd* | *dragonfly* )
+               AC_CACHE_CHECK([for freebsd sendfile support],samba_cv_HAVE_SENDFILE,[
+               AC_TRY_LINK([\
+ #include <sys/types.h>



Home | Main Index | Thread Index | Old Index