aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordwcjr <dwcjr@FreeBSD.org>2002-05-15 04:13:05 +0800
committerdwcjr <dwcjr@FreeBSD.org>2002-05-15 04:13:05 +0800
commitb7495075a0bb0413652953d8c6d927a40aba266c (patch)
tree1198a95798f7671c335db2cc8a485c3f9969af5b
parenta1e37d6b1d1c733efbdad7c1a91d197117205173 (diff)
downloadfreebsd-ports-gnome-b7495075a0bb0413652953d8c6d927a40aba266c.tar.gz
freebsd-ports-gnome-b7495075a0bb0413652953d8c6d927a40aba266c.tar.zst
freebsd-ports-gnome-b7495075a0bb0413652953d8c6d927a40aba266c.zip
Add samba-tng whose goal is to provide the complete functionality of
a Windows NT domain controller
-rw-r--r--net/Makefile1
-rw-r--r--net/samba-tng/Makefile64
-rw-r--r--net/samba-tng/distinfo1
-rw-r--r--net/samba-tng/files/patch-aa24
-rw-r--r--net/samba-tng/pkg-comment1
-rw-r--r--net/samba-tng/pkg-descr10
-rw-r--r--net/samba-tng/pkg-plist92
7 files changed, 193 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 25621e65f86e..29b933663b5e 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -434,6 +434,7 @@
SUBDIR += rwhois
SUBDIR += samba
SUBDIR += samba-devel
+ SUBDIR += samba-tng
SUBDIR += sambasentinel
SUBDIR += samplicator
SUBDIR += satellite
diff --git a/net/samba-tng/Makefile b/net/samba-tng/Makefile
new file mode 100644
index 000000000000..b8e88ef4caa7
--- /dev/null
+++ b/net/samba-tng/Makefile
@@ -0,0 +1,64 @@
+# New ports collection makefile for: samba
+# Date created: 11th May 2002
+# Whom: dwcjr
+#
+# $FreeBSD$
+#
+
+PORTNAME= samba-tng
+PORTVERSION= 2.6.1c20020507
+CATEGORIES= net
+MASTER_SITES= http://www.samba-tng.org/download/tng/ \
+ http://samba.cadcamlab.org/debian/woody/ \
+ http://something.inethouston.net/~poseiden/
+DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}_0.${PORTVERSION:S,c,cvs,}
+
+MAINTAINER= dwcjr@FreeBSD.org
+
+GNU_CONFIGURE= YES
+INSTALLS_SHLIB= YES
+USE_GMAKE= YES
+WRKSRC= ${WRKDIR}/tng-clean/source
+
+# directories
+VARDIR= /var
+SAMBA_SPOOL= ${VARDIR}/spool/samba
+SAMBA_LOGDIR= ${VARDIR}/log
+SAMBA_PRIVATE= ${PREFIX}/private
+SAMBA_CONFDIR= ${PREFIX}/etc
+
+CONFIGURE_ARGS= --libdir=${PREFIX}/lib \
+ --localstatedir=${VARDIR}/lock \
+ --with-privatedir=${SAMBA_PRIVATE} --with-pam \
+ --with-logdir=${VARDIR}/log --with-tmpdir=${VARDIR}/run
+
+MAN1= debug2html.1 make_smbcodepage.1 nmblookup.1 \
+ regedit.1 rpcclient.1 smbclient.1 smbrun.1 \
+ smbstatus.1 smbtar.1 testparm.1 testprns.1 \
+ wbinfo.1
+
+MAN5= lmhosts.5 smb.conf.5 smbpasswd.5
+
+MAN7= samba.7
+
+MAN8= browserd.8 lsarpcd.8 netlogond.8 nmbd.8 rpcclient.8 \
+ samedit.8 samrd.8 smbd.8 smbmnt.8 smbmount.8 \
+ smbpasswd.8 smbspool.8 smbumount.8 spoolssd.8 \
+ srvsvcd.8 svcctld.8 swat.8 winbindd.8 winregd.8 \
+ wkssvcd.8
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_SYSLOG)
+CONFIGURE_ARGS+= --with-syslog
+.endif
+
+.if defined(WITH_MSDFS)
+CONFIGURE_ARGS+= --with-msdfs
+.endif
+
+post-install:
+ @${INSTALL_SCRIPT} ${WRKSRC}/script/samba-init.d ${SAMBA_CONFDIR}/rc.d/samba-tng.sh.sample
+ @${PERL} -pi.fbsd -e 's|tmpdir=/tmp|tmpdir=/var/run/samba-tng|g' ${SAMBA_CONFDIR}/rc.d/samba-tng.sh.sample
+
+.include <bsd.port.post.mk>
diff --git a/net/samba-tng/distinfo b/net/samba-tng/distinfo
new file mode 100644
index 000000000000..1f279c71f1ca
--- /dev/null
+++ b/net/samba-tng/distinfo
@@ -0,0 +1 @@
+MD5 (samba-tng_0.2.6.1cvs20020507.tar.gz) = ee0f2f020d2087e937a8e8fb0d6aa464
diff --git a/net/samba-tng/files/patch-aa b/net/samba-tng/files/patch-aa
new file mode 100644
index 000000000000..5e464fbdb59e
--- /dev/null
+++ b/net/samba-tng/files/patch-aa
@@ -0,0 +1,24 @@
+Index: Makefile.in
+===================================================================
+RCS file: /home/cvsroot/dcerpc/tng/source/Makefile.in,v
+retrieving revision 1.67
+diff -u -p -r1.67 Makefile.in
+--- Makefile.in 7 May 2002 22:18:50 -0000 1.67
++++ Makefile.in 14 May 2002 15:58:10 -0000
+@@ -43,6 +43,7 @@ RUNTESTDEFAULTFLAGS = --srcdir @srcdir@/
+ INSTALL = @INSTALL@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
++INSTALL_SCRIPT = @INSTALL_SCRIPT@
+
+ VPATH=@srcdir@
+ srcdir=@srcdir@
+@@ -1189,7 +1190,7 @@ installscripts: installdirs
+ @set -e; for f in $(SCRIPTS); do \
+ basename=`echo $$f | sed 's,.*/,,'`; \
+ echo Installing $(BINDIR)/$$basename; \
+- $(INSTALL_PROGRAM) $$f $(DESTDIR)$(BINDIR)/$$basename; \
++ $(INSTALL_SCRIPT) $$f $(DESTDIR)$(BINDIR)/$$basename; \
+ done
+
+ installcp: installdirs $(BUILDBINDIR)/make_smbcodepage $(BUILDBINDIR)/make_unicodemap
diff --git a/net/samba-tng/pkg-comment b/net/samba-tng/pkg-comment
new file mode 100644
index 000000000000..21f25f97e695
--- /dev/null
+++ b/net/samba-tng/pkg-comment
@@ -0,0 +1 @@
+A free SMB and CIFS client and server for UNIX
diff --git a/net/samba-tng/pkg-descr b/net/samba-tng/pkg-descr
new file mode 100644
index 000000000000..f1bd2107c1a6
--- /dev/null
+++ b/net/samba-tng/pkg-descr
@@ -0,0 +1,10 @@
+Samba-TNG (i.e. The Next Generation) is a fork of the Samba codebase
+whose goal is to provide the complete functionality of a Windows NT
+domain controller. Like Samba, Samba-TNG can also act as a file and
+print server for LanManager clients such as MS-DOS, OS/2, MS-Windows,
+Windows NT and Windows 2000, and as a WINS (Windows Internet Name
+Service) server.
+.
+This is needed by both the client and server portions of Samba-TNG.
+
+WWW: http://www.samba-tng.org/
diff --git a/net/samba-tng/pkg-plist b/net/samba-tng/pkg-plist
new file mode 100644
index 000000000000..5290c8445e0b
--- /dev/null
+++ b/net/samba-tng/pkg-plist
@@ -0,0 +1,92 @@
+bin/smbclient
+bin/testparm
+bin/testprns
+bin/smbrun
+bin/smbstatus
+bin/rpcclient
+bin/make_smbcodepage
+bin/make_unicodemap
+bin/regedit
+bin/samedit
+bin/net
+bin/svccontrol
+bin/cmdat
+bin/ntspool
+bin/nmblookup
+bin/make_printerdef
+bin/tdbimport
+bin/tdbexport
+bin/tdbtool
+bin/smbtar
+bin/addtosmbpass
+bin/convert_smbpasswd
+lib/codepages/codepage.1251
+lib/codepages/codepage.437
+lib/codepages/codepage.737
+lib/codepages/codepage.775
+lib/codepages/codepage.850
+lib/codepages/codepage.852
+lib/codepages/codepage.857
+lib/codepages/codepage.861
+lib/codepages/codepage.866
+lib/codepages/codepage.932
+lib/codepages/codepage.936
+lib/codepages/codepage.949
+lib/codepages/codepage.950
+lib/codepages/unicode_map.437
+lib/codepages/unicode_map.737
+lib/codepages/unicode_map.775
+lib/codepages/unicode_map.850
+lib/codepages/unicode_map.852
+lib/codepages/unicode_map.857
+lib/codepages/unicode_map.861
+lib/codepages/unicode_map.866
+lib/codepages/unicode_map.932
+lib/codepages/unicode_map.936
+lib/codepages/unicode_map.949
+lib/codepages/unicode_map.950
+lib/codepages/unicode_map.ISO8859-1
+lib/codepages/unicode_map.ISO8859-13
+lib/codepages/unicode_map.ISO8859-15
+lib/codepages/unicode_map.ISO8859-2
+lib/codepages/unicode_map.ISO8859-5
+lib/codepages/unicode_map.ISO8859-7
+lib/codepages/unicode_map.ISO8859-9
+lib/codepages/unicode_map.KOI8-R
+etc/rc.d/samba-tng.sh.sample
+lib/libmsrpc.so.0
+lib/libmsrpc.so
+lib/libmsrpc.la
+lib/libsmb.so.0
+lib/libsmb.so
+lib/libsmb.la
+lib/libnmb.so.0
+lib/libnmb.so
+lib/libnmb.la
+lib/libsamba.so.0
+lib/libsamba.so
+lib/libsamba.la
+lib/libsmbpw.so.0
+lib/libsmbpw.so
+lib/libsmbpw.la
+lib/libubiqx.so.0
+lib/libubiqx.so
+lib/libubiqx.la
+lib/libsamrpass.so.0
+lib/libsamrpass.so
+lib/libsamrpass.la
+lib/libsurs.so.0
+lib/libsurs.so
+lib/libsurs.la
+sbin/smbd
+sbin/lsarpcd
+sbin/svcctld
+sbin/spoolssd
+sbin/samrd
+sbin/srvsvcd
+sbin/wkssvcd
+sbin/browserd
+sbin/netlogond
+sbin/winregd
+sbin/nmbd
+@dirrm lib/codepages