summaryrefslogtreecommitdiff
path: root/net/samba-devel/files
diff options
context:
space:
mode:
authorDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2001-10-17 01:39:24 +0000
committerDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2001-10-17 01:39:24 +0000
commit3f01585109647efecb61966491887f78d1945d3c (patch)
treed92fb297a923736fbbd815d59bdea02fa81d3b73 /net/samba-devel/files
parentupdate MASTER_SITES (diff)
Update samba to 2.2.2 which includes the winbindd server
Submitted by: ianjhart@ntlworld.com
Notes
Notes: svn path=/head/; revision=48854
Diffstat (limited to 'net/samba-devel/files')
-rw-r--r--net/samba-devel/files/patch-aa14
-rw-r--r--net/samba-devel/files/patch-ab18
-rw-r--r--net/samba-devel/files/patch-ac6
-rw-r--r--net/samba-devel/files/patch-ae4
-rw-r--r--net/samba-devel/files/patch-ah4
-rw-r--r--net/samba-devel/files/patch-aj9
-rw-r--r--net/samba-devel/files/patch-ba47
-rw-r--r--net/samba-devel/files/patch-bb10
8 files changed, 62 insertions, 50 deletions
diff --git a/net/samba-devel/files/patch-aa b/net/samba-devel/files/patch-aa
index af170104b851..b0024a08bcfa 100644
--- a/net/samba-devel/files/patch-aa
+++ b/net/samba-devel/files/patch-aa
@@ -1,6 +1,6 @@
---- Makefile.in.orig Fri Mar 23 16:38:06 2001
-+++ Makefile.in Fri Mar 23 18:12:53 2001
-@@ -43,11 +43,11 @@
+--- Makefile.in.orig Sat Oct 13 22:09:06 2001
++++ Makefile.in Tue Oct 16 17:15:15 2001
+@@ -46,11 +46,11 @@
# set these to where to find various files
# These can be overridden by command line switches (see smbd(8))
# or in smb.conf (see smb.conf(5))
@@ -14,16 +14,16 @@
# This is where smbpasswd et al go
PRIVATEDIR = @privatedir@
-@@ -60,6 +60,9 @@
+@@ -63,6 +63,9 @@
# the directory where lock files go
LOCKDIR = @lockdir@
+# the directory where pid files go
+PIDFILEDIR = $(VARDIR)/run
+
- # The directory where code page definition files go
- CODEPAGEDIR = @codepagedir@
-
+ # libsmbclient support here
+ BLDSHARED = @BLDSHARED@
+ LIBSMBCLIENT_MAJOR=0
@@ -78,7 +81,7 @@
PASSWD_FLAGS = -DPASSWD_PROGRAM=\"$(PASSWD_PROGRAM)\" -DSMB_PASSWD_FILE=\"$(SMB_PASSWD_FILE)\" -DTDB_PASSWD_FILE=\"$(TDB_PASSWD_FILE)\"
FLAGS1 = $(CFLAGS) -Iinclude -I$(srcdir)/include -I$(srcdir)/ubiqx -I$(srcdir)/smbwrapper $(CPPFLAGS) -DLOGFILEBASE=\"$(LOGFILEBASE)\"
diff --git a/net/samba-devel/files/patch-ab b/net/samba-devel/files/patch-ab
index 7cc000262680..b1383c6ae2e3 100644
--- a/net/samba-devel/files/patch-ab
+++ b/net/samba-devel/files/patch-ab
@@ -1,23 +1,23 @@
---- param/loadparm.c.orig Fri Feb 2 00:42:53 2001
-+++ param/loadparm.c Fri Feb 2 00:45:23 2001
-@@ -108,6 +108,7 @@
- char *szAddPrinterCommand;
+--- param/loadparm.c.orig Sat Oct 13 22:09:31 2001
++++ param/loadparm.c Tue Oct 16 17:16:46 2001
+@@ -107,6 +107,7 @@
char *szDeletePrinterCommand;
+ char *szOs2DriverMap;
char *szLockDir;
+ char *szPidDir;
char *szRootdir;
char *szDefaultService;
char *szDfree;
-@@ -948,6 +949,8 @@
+@@ -986,6 +987,8 @@
{"auto services", P_STRING, P_GLOBAL, &Globals.szAutoServices, NULL, NULL, FLAG_DOS_STRING},
{"lock dir", P_STRING, P_GLOBAL, &Globals.szLockDir, NULL, NULL, 0},
{"lock directory", P_STRING, P_GLOBAL, &Globals.szLockDir, NULL, NULL, 0},
+ {"pidfile dir", P_STRING, P_GLOBAL, &Globals.szPidDir, NULL, NULL, 0},
+ {"pidfile directory", P_STRING, P_GLOBAL, &Globals.szPidDir, NULL, NULL, 0},
#ifdef WITH_UTMP
- {"utmp dir", P_STRING, P_GLOBAL, &Globals.szUtmpDir, NULL, NULL, 0},
{"utmp directory", P_STRING, P_GLOBAL, &Globals.szUtmpDir, NULL, NULL, 0},
-@@ -1171,6 +1174,7 @@
+ {"wtmp directory", P_STRING, P_GLOBAL, &Globals.szWtmpDir, NULL, NULL, 0},
+@@ -1220,6 +1223,7 @@
string_set(&Globals.szPasswdProgram, PASSWD_PROGRAM);
string_set(&Globals.szPrintcapname, PRINTCAP_NAME);
string_set(&Globals.szLockDir, LOCKDIR);
@@ -25,9 +25,9 @@
#ifdef WITH_UTMP
string_set(&Globals.szUtmpDir, "");
string_set(&Globals.szWtmpDir, "");
-@@ -1403,6 +1407,7 @@
- FN_GLOBAL_STRING(lp_addprinter_cmd, &Globals.szAddPrinterCommand)
+@@ -1469,6 +1473,7 @@
FN_GLOBAL_STRING(lp_deleteprinter_cmd, &Globals.szDeletePrinterCommand)
+ FN_GLOBAL_STRING(lp_os2_driver_map, &Globals.szOs2DriverMap)
FN_GLOBAL_STRING(lp_lockdir, &Globals.szLockDir)
+FN_GLOBAL_STRING(lp_piddir, &Globals.szPidDir)
#ifdef WITH_UTMP
diff --git a/net/samba-devel/files/patch-ac b/net/samba-devel/files/patch-ac
index 0527cb5a32f8..8fbd726ae435 100644
--- a/net/samba-devel/files/patch-ac
+++ b/net/samba-devel/files/patch-ac
@@ -1,5 +1,5 @@
---- lib/pidfile.c.orig Fri Feb 2 00:38:09 2001
-+++ lib/pidfile.c Fri Feb 2 00:38:26 2001
+--- lib/pidfile.c.orig Sat Oct 13 22:09:24 2001
++++ lib/pidfile.c Tue Oct 16 17:17:51 2001
@@ -39,7 +39,7 @@
unsigned ret;
pstring pidFile;
@@ -7,7 +7,7 @@
- slprintf(pidFile, sizeof(pidFile)-1, "%s/%s.pid", lp_lockdir(), name);
+ slprintf(pidFile, sizeof(pidFile)-1, "%s/%s.pid", lp_piddir(), name);
- fd = sys_open(pidFile, O_NONBLOCK | O_RDWR, 0644);
+ fd = sys_open(pidFile, O_NONBLOCK | O_RDONLY, 0644);
if (fd == -1) {
@@ -80,7 +80,7 @@
pstring pidFile;
diff --git a/net/samba-devel/files/patch-ae b/net/samba-devel/files/patch-ae
index 252ac19c8e63..e735b5794be1 100644
--- a/net/samba-devel/files/patch-ae
+++ b/net/samba-devel/files/patch-ae
@@ -1,5 +1,5 @@
---- script/convert_smbpasswd.orig Thu Nov 5 11:50:17 1998
-+++ script/convert_smbpasswd Wed Feb 10 00:02:01 1999
+--- script/convert_smbpasswd.orig Thu Nov 5 02:50:17 1998
++++ script/convert_smbpasswd Tue Oct 16 17:19:10 2001
@@ -7,7 +7,7 @@
# with trying to work out how to get the seconds since 1970
# in awk or the shell. JRA.
diff --git a/net/samba-devel/files/patch-ah b/net/samba-devel/files/patch-ah
index e97b12388c05..319dc96d7944 100644
--- a/net/samba-devel/files/patch-ah
+++ b/net/samba-devel/files/patch-ah
@@ -1,5 +1,5 @@
---- lib/util_sock.c.orig Fri Feb 2 12:09:17 2001
-+++ lib/util_sock.c Fri Feb 2 12:09:36 2001
+--- lib/util_sock.c.orig Sat Oct 13 22:09:26 2001
++++ lib/util_sock.c Tue Oct 16 17:19:38 2001
@@ -28,6 +28,9 @@
extern int sslFd;
#endif /* WITH_SSL */
diff --git a/net/samba-devel/files/patch-aj b/net/samba-devel/files/patch-aj
index ad93c26811da..8804493c38df 100644
--- a/net/samba-devel/files/patch-aj
+++ b/net/samba-devel/files/patch-aj
@@ -1,6 +1,6 @@
---- include/local.h.orig Thu Nov 11 03:36:00 1999
-+++ include/local.h Fri Feb 4 11:33:01 2000
-@@ -171,9 +171,9 @@
+--- include/local.h.orig Fri Jul 6 03:01:26 2001
++++ include/local.h Tue Oct 16 17:20:36 2001
+@@ -176,10 +176,10 @@
* Default passwd chat script.
*/
@@ -11,4 +11,5 @@
-#define MINPASSWDLENGTH 5
+#define MINPASSWDLENGTH 6
- #endif
+ /* maximum ID number used for session control. This cannot be larger
+ than 62*62 for the current code */
diff --git a/net/samba-devel/files/patch-ba b/net/samba-devel/files/patch-ba
index 14c0d89b492a..b6f5a757140d 100644
--- a/net/samba-devel/files/patch-ba
+++ b/net/samba-devel/files/patch-ba
@@ -1,28 +1,41 @@
---- configure.in.orig Tue Apr 17 19:00:52 2001
-+++ configure.in Thu Jun 7 13:49:53 2001
-@@ -234,9 +234,6 @@
- AC_CHECK_TYPE(offset_t,loff_t)
+--- configure.in.orig Sat Oct 13 22:09:16 2001
++++ configure.in Tue Oct 16 17:21:21 2001
+@@ -406,21 +406,6 @@
AC_CHECK_TYPE(ssize_t, int)
+ AC_CHECK_TYPE(wchar_t, unsigned short)
--# we need libcups for CUPS support...
+-############################################
+-# for cups support we need libcups, and a handful of header files
+-
-AC_CHECK_LIB(cups,httpConnect)
-
- # we need libdl for PAM and the new VFS code
- AC_CHECK_LIB(dl,main)
+-# I wonder if there is a nicer way of doing this?
+-
+-if test x"$ac_cv_lib_cups_httpConnect" = x"yes"; then
+- AC_CHECK_HEADERS(cups/cups.h cups/language.h)
+- if test x"$ac_cv_header_cups_cups_h" = x"yes"; then
+- if test x"$ac_cv_header_cups_language_h" = x"yes"; then
+- AC_DEFINE(HAVE_CUPS)
+- fi
+- fi
+-fi
-@@ -1258,7 +1255,7 @@
- --without-krb5 Don't include Kerberos 5 support (default)],
- [ AC_MSG_RESULT(yes)
+ ############################################
+ # we need libdl for PAM and the new VFS code
+@@ -1622,7 +1607,7 @@
+ yes)
+ AC_MSG_RESULT(yes)
AC_DEFINE(KRB5_AUTH)
- LIBS="$LIBS -ldes425 -lkrb5 -lcrypto -lcom_err"
+ LIBS="$LIBS -ldes425 -lkrb5 -lk5crypto -lcom_err"
CFLAGS="$CFLAGS -I$withval/include"
- LDFLAGS="$LDFLAGS -L$withval/lib"],
- AC_MSG_RESULT(no)
-@@ -1486,6 +1483,21 @@
+ LDFLAGS="$LDFLAGS -L$withval/lib"
+ ;;
+@@ -1961,6 +1946,20 @@
+ ;;
esac ],
AC_MSG_RESULT(no)
- )
++)
+
+#################################################
+# check for CUPS printing support
@@ -36,8 +49,6 @@
+ LDFLAGS="$LDFLAGS -L$withval/lib"
+ AC_CHECK_LIB(cups,httpConnect)],
+ AC_MSG_RESULT(no)
-+)
-+
+ )
+
- #################################################
- # check for experimental disk-quotas support
diff --git a/net/samba-devel/files/patch-bb b/net/samba-devel/files/patch-bb
index 0f70c69c78f4..5b14f2131b03 100644
--- a/net/samba-devel/files/patch-bb
+++ b/net/samba-devel/files/patch-bb
@@ -1,10 +1,10 @@
---- include/proto.h.orig Fri Feb 2 15:34:50 2001
-+++ include/proto.h Fri Feb 2 16:13:03 2001
-@@ -1420,6 +1420,7 @@
- char *lp_addprinter_cmd(void);
+--- include/proto.h.orig Sat Oct 13 22:09:22 2001
++++ include/proto.h Tue Oct 16 17:21:53 2001
+@@ -1733,6 +1733,7 @@
char *lp_deleteprinter_cmd(void);
+ char *lp_os2_driver_map(void);
char *lp_lockdir(void);
+char *lp_piddir(void);
char *lp_utmpdir(void);
char *lp_wtmpdir(void);
- char *lp_utmp_hostname(void);
+ BOOL lp_utmp(void);