summaryrefslogtreecommitdiffstats
path: root/net/samba4wins
diff options
context:
space:
mode:
Diffstat (limited to 'net/samba4wins')
-rw-r--r--net/samba4wins/Makefile73
-rw-r--r--net/samba4wins/distinfo2
-rw-r--r--net/samba4wins/files/patch-heimdal_build__config.h19
-rw-r--r--net/samba4wins/files/patch-lib__ldb__config.mk56
-rw-r--r--net/samba4wins/files/patch-scripting__ejs__config.mk11
-rw-r--r--net/samba4wins/files/patch-torture__config.mk11
-rw-r--r--net/samba4wins/files/patch-utils__config.mk20
-rw-r--r--net/samba4wins/files/samba4wins.conf.sample29
-rw-r--r--net/samba4wins/files/smbd4wins.in25
-rw-r--r--net/samba4wins/pkg-descr6
-rw-r--r--net/samba4wins/pkg-plist50
11 files changed, 0 insertions, 302 deletions
diff --git a/net/samba4wins/Makefile b/net/samba4wins/Makefile
deleted file mode 100644
index 3a919fd..0000000
--- a/net/samba4wins/Makefile
+++ /dev/null
@@ -1,73 +0,0 @@
-# Created by: Timur I. Bakeyev <timur@gnu.org>
-# $FreeBSD$
-
-PORTNAME= samba4wins
-PORTVERSION= 1.0.8
-PORTREVISION= 0
-CATEGORIES= net
-MASTER_SITES= http://ftp.sernet.de/pub/samba4WINS/debian/pool/
-DISTNAME= ${PORTNAME}_${PORTVERSION}-2
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Full featured replicating WINS server for UNIX
-
-CONFLICTS= ja-samba-2.* ja-samba-4.* samba-2.* samba-4.* sharity-light-1.*
-
-MAKE_JOBS_UNSAFE= yes
-USES= iconv perl5
-GNU_CONFIGURE= yes
-USE_AUTOTOOLS= autoconf autoheader
-
-WRKSRC= ${WRKDIR}/${PORTNAME}/source
-
-# directories
-VARDIR?= /var
-S4W_DATADIR= ${PREFIX}/share/${PORTNAME}
-S4W_LOGDIR= ${VARDIR}/log/${PORTNAME}
-S4W_RUNDIR= ${VARDIR}/run
-S4W_LOCKDIR= ${VARDIR}/db/${PORTNAME}
-S4W_PRIVATE= ${S4W_LOCKDIR}/private
-S4W_CONFDIR= ${PREFIX}/etc
-S4W_LIBDIR= ${PREFIX}/lib/${PORTNAME}
-S4W_CONFIG= ${S4W_CONFDIR}/samba4wins.conf
-
-CONFIGURE_ARGS+= --exec-prefix=${PREFIX} \
- --datadir=${S4W_DATADIR} \
- --libdir=${S4W_LIBDIR} \
- --localstatedir=${VARDIR} \
- --with-privatedir=${S4W_PRIVATE} \
- --with-lockdir=${S4W_LOCKDIR} \
- --with-piddir=${S4W_RUNDIR} \
- --with-logfilebase=${S4W_LOGDIR}
-
-CONFIGURE_ARGS+= --disable-reg-gconf --disable-socket-wrapper \
- --with-readline=/usr --with-included-popt \
- ${ICONV_CONFIGURE_BASE} --without-sqlite3 \
- --without-pthreads --without-python
-
-USE_RC_SUBR= smbd4wins
-SUB_LIST+= S4W_RUNDIR=${S4W_RUNDIR}
-
-PLIST_SUB+= S4W_LOGDIR=${S4W_LOGDIR} \
- S4W_LOCKDIR=${S4W_LOCKDIR}
-
-INSTALL_TARGET= showlayout installbin installdat installmisc installlib installpc
-
-NO_STAGE= yes
-post-build:
- @for f in ${WRKSRC}/scripting/bin/*; do \
- ${REINPLACE_CMD} -i '' -e 's|smbscript|${PREFIX}/bin/smbscript4|' \
- $${f} && ${MV} $${f} $${f}4; \
- done
-
-post-install:
- @${MKDIR} ${S4W_CONFDIR}
- ${INSTALL_DATA} ${FILESDIR}/samba4wins.conf.sample ${S4W_CONFDIR}
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
-. for d in HOWTO.txt NEWS.txt README.txt TODO.txt
- ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/${PORTNAME}-${d} ${DOCSDIR}/${d}
-. endfor
-.endif
-
-.include <bsd.port.mk>
diff --git a/net/samba4wins/distinfo b/net/samba4wins/distinfo
deleted file mode 100644
index 21755fc..0000000
--- a/net/samba4wins/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (samba4wins_1.0.8-2.tar.gz) = c2953979f1bbc1a097768d8859c570507ce5678ef364ec8f637b660a17dcce30
-SIZE (samba4wins_1.0.8-2.tar.gz) = 7287878
diff --git a/net/samba4wins/files/patch-heimdal_build__config.h b/net/samba4wins/files/patch-heimdal_build__config.h
deleted file mode 100644
index 2014841..0000000
--- a/net/samba4wins/files/patch-heimdal_build__config.h
+++ /dev/null
@@ -1,19 +0,0 @@
---- ./heimdal_build/config.h.orig 2009-01-19 03:15:19.000000000 +0000
-+++ ./heimdal_build/config.h 2009-01-19 04:55:23.000000000 +0000
-@@ -58,6 +58,16 @@
- #define OPENLOG_PROTO_COMPATIBLE
- #define GETSOCKNAME_PROTO_COMPATIBLE
-
-+#ifndef HAVE_GETPROGNAME
-+#define HAVE_GETPROGNAME
-+#endif
-+#ifndef HAVE_SETPROGNAME
-+#define HAVE_SETPROGNAME
-+#endif
-+#ifndef HAVE___PROGNAME
-+#define HAVE___PROGNAME
-+#endif
-+
- #ifndef HAVE_SOCKLEN_T
- #define HAVE_SOCKLEN_T
- #endif
diff --git a/net/samba4wins/files/patch-lib__ldb__config.mk b/net/samba4wins/files/patch-lib__ldb__config.mk
deleted file mode 100644
index ebe5b57..0000000
--- a/net/samba4wins/files/patch-lib__ldb__config.mk
+++ /dev/null
@@ -1,56 +0,0 @@
---- ./lib/ldb/config.mk.orig 2009-01-14 08:31:07.000000000 +0000
-+++ ./lib/ldb/config.mk 2009-01-19 02:13:34.000000000 +0000
-@@ -179,7 +179,7 @@
-
- ################################################
- # Start BINARY ldbadd
--[BINARY::ldbadd]
-+[BINARY::ldbadd4]
- INSTALLDIR = BINDIR
- OBJ_FILES = \
- tools/ldbadd.o
-@@ -191,7 +191,7 @@
-
- ################################################
- # Start BINARY ldbdel
--[BINARY::ldbdel]
-+[BINARY::ldbdel4]
- INSTALLDIR = BINDIR
- OBJ_FILES= \
- tools/ldbdel.o
-@@ -203,7 +203,7 @@
-
- ################################################
- # Start BINARY ldbmodify
--[BINARY::ldbmodify]
-+[BINARY::ldbmodify4]
- INSTALLDIR = BINDIR
- OBJ_FILES= \
- tools/ldbmodify.o
-@@ -215,7 +215,7 @@
-
- ################################################
- # Start BINARY ldbsearch
--[BINARY::ldbsearch]
-+[BINARY::ldbsearch4]
- INSTALLDIR = BINDIR
- OBJ_FILES= \
- tools/ldbsearch.o
-@@ -227,7 +227,7 @@
-
- ################################################
- # Start BINARY ldbedit
--[BINARY::ldbedit]
-+[BINARY::ldbedit4]
- INSTALLDIR = BINDIR
- OBJ_FILES= \
- tools/ldbedit.o
-@@ -239,7 +239,7 @@
-
- ################################################
- # Start BINARY ldbrename
--[BINARY::ldbrename]
-+[BINARY::ldbrename4]
- INSTALLDIR = BINDIR
- OBJ_FILES= \
- tools/ldbrename.o
diff --git a/net/samba4wins/files/patch-scripting__ejs__config.mk b/net/samba4wins/files/patch-scripting__ejs__config.mk
deleted file mode 100644
index afdb586..0000000
--- a/net/samba4wins/files/patch-scripting__ejs__config.mk
+++ /dev/null
@@ -1,11 +0,0 @@
---- ./scripting/ejs/config.mk.orig 2005-12-31 12:13:44.000000000 +0000
-+++ ./scripting/ejs/config.mk 2009-01-19 02:13:34.000000000 +0000
-@@ -37,7 +37,7 @@
-
- #######################
- # Start BINARY SMBSCRIPT
--[BINARY::smbscript]
-+[BINARY::smbscript4]
- INSTALLDIR = BINDIR
- OBJ_FILES = \
- smbscript.o
diff --git a/net/samba4wins/files/patch-torture__config.mk b/net/samba4wins/files/patch-torture__config.mk
deleted file mode 100644
index 03c35e1..0000000
--- a/net/samba4wins/files/patch-torture__config.mk
+++ /dev/null
@@ -1,11 +0,0 @@
---- ./torture/config.mk.orig 2009-01-14 08:31:07.000000000 +0000
-+++ ./torture/config.mk 2009-01-19 02:13:34.000000000 +0000
-@@ -198,7 +198,7 @@
-
- #################################
- # Start BINARY smbtorture
--[BINARY::smbtorture]
-+[BINARY::smbtorture4]
- INSTALLDIR = BINDIR
- PRIVATE_PROTO_HEADER = torture.h
- OBJ_FILES = \
diff --git a/net/samba4wins/files/patch-utils__config.mk b/net/samba4wins/files/patch-utils__config.mk
deleted file mode 100644
index 3c3019f..0000000
--- a/net/samba4wins/files/patch-utils__config.mk
+++ /dev/null
@@ -1,20 +0,0 @@
---- ./utils/config.mk.orig 2009-01-14 08:31:07.000000000 +0000
-+++ ./utils/config.mk 2009-01-19 02:13:34.000000000 +0000
-@@ -77,7 +77,7 @@
-
- #################################
- # Start BINARY nmblookup
--[BINARY::nmblookup]
-+[BINARY::nmblookup4]
- INSTALLDIR = BINDIR
- OBJ_FILES = \
- nmblookup.o
-@@ -92,7 +92,7 @@
-
- #################################
- # Start BINARY testparm
--[BINARY::testparm]
-+[BINARY::testparm4]
- INSTALLDIR = BINDIR
- OBJ_FILES = \
- testparm.o
diff --git a/net/samba4wins/files/samba4wins.conf.sample b/net/samba4wins/files/samba4wins.conf.sample
deleted file mode 100644
index d4f52ea..0000000
--- a/net/samba4wins/files/samba4wins.conf.sample
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# /usr/local/etc/samba4wins.conf
-#
-# Please read the following files carefully!
-#
-# /usr/local/share/doc/samba4wins/:
-# README.txt
-# NEWS.txt
-# HOWTO.txt
-# TODO.txt
-#
-
-[globals]
- # it's important that this netbios name is different from
- # the one that's used for samba3!
- ###netbios name = SERVER1-WINS
- # only use the given interfaces
- ###bind interfaces only = yes
- # this is the unicast address
- ###interfaces = 192.168.9.2
- # samba4wins is only a wins server,
- # and broadcasts are handled by samba3
- # so disable listening on the broadcast address
- ###nbtd:disable_broadcast = yes
-
- # as we want to ourself as wins server
- # and don't listen on 127.0.0.1
- # we need to explicit set the wins server here
- ###wins server = 192.168.9.2
diff --git a/net/samba4wins/files/smbd4wins.in b/net/samba4wins/files/smbd4wins.in
deleted file mode 100644
index 68d813c..0000000
--- a/net/samba4wins/files/smbd4wins.in
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-
-# PROVIDE: smbd4wins
-# REQUIRE: NETWORKING SERVERS named ldconfig
-# BEFORE: DAEMON
-# KEYWORD: shutdown
-
-#
-# Add the following lines to /etc/rc.conf to enable smbd:
-#
-#smbd4wins_enable="YES"
-#
-
-. /etc/rc.subr
-
-name="smbd4wins"
-rcvar=smbd4wins_enable
-command="%%PREFIX%%/sbin/${name}"
-pidfile="%%S4W_RUNDIR%%/${name}.pid"
-
-load_rc_config $name
-run_rc_command "$1"
diff --git a/net/samba4wins/pkg-descr b/net/samba4wins/pkg-descr
deleted file mode 100644
index 5591251..0000000
--- a/net/samba4wins/pkg-descr
+++ /dev/null
@@ -1,6 +0,0 @@
-The Samba4WINS project provides a full featured replicating WINS server
-for UNIX. It is a spinoff of the Samba4 project, the upcoming version of
-the Samba software suite and will also be available as part of the Samba
-suite as soon as Samba4 is released.
-
-WWW: http://enterprisesamba.org/index.php?id=88
diff --git a/net/samba4wins/pkg-plist b/net/samba4wins/pkg-plist
deleted file mode 100644
index a84f499..0000000
--- a/net/samba4wins/pkg-plist
+++ /dev/null
@@ -1,50 +0,0 @@
-etc/samba4wins.conf.sample
-bin/nmblookup4
-bin/ldbadd4
-bin/ldbdel4
-bin/ldbedit4
-bin/ldbmodify4
-bin/ldbrename4
-bin/ldbsearch4
-bin/samba3dump4
-bin/smbscript4
-bin/smbstatus4
-bin/smbtorture4
-bin/testparm4
-bin/winreg4
-sbin/smbd4wins
-lib/samba4wins/lowcase.dat
-lib/samba4wins/upcase.dat
-lib/samba4wins/valid.dat
-%%PORTDOCS%%%%DOCSDIR%%/HOWTO.txt
-%%PORTDOCS%%%%DOCSDIR%%/NEWS.txt
-%%PORTDOCS%%%%DOCSDIR%%/README.txt
-%%PORTDOCS%%%%DOCSDIR%%/TODO.txt
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
-%%DATADIR%%/js/auth.js
-%%DATADIR%%/js/base.js
-%%DATADIR%%/js/encoder.js
-%%DATADIR%%/js/management.js
-%%DATADIR%%/js/provision.js
-%%DATADIR%%/js/samr.js
-%%DATADIR%%/js/server_call.js
-%%DATADIR%%/js/upgrade.js
-%%DATADIR%%/js/winreg.js
-%%DATADIR%%/setup/display_specifiers.ldif
-%%DATADIR%%/setup/hklm.ldif
-%%DATADIR%%/setup/provision.ldif
-%%DATADIR%%/setup/provision.smb.conf
-%%DATADIR%%/setup/provision.zone
-%%DATADIR%%/setup/provision_init.ldif
-%%DATADIR%%/setup/provision_templates.ldif
-%%DATADIR%%/setup/provision_users.ldif
-%%DATADIR%%/setup/schema.ldif
-%%DATADIR%%/setup/secrets.ldif
-@dirrm %%DATADIR%%/setup
-@dirrm %%DATADIR%%/js
-@dirrm %%DATADIR%%
-@dirrmtry lib/samba4wins/pkgconfig
-@dirrm lib/samba4wins
-@unexec echo "Warning: If you will *NOT* use this package anymore, please remove %%S4W_LOCKDIR%%/* manually."
-@unexec echo "Warning: If you will *NOT* use this package anymore, please remove %%S4W_LOGDIR%%/* manually."
-@unexec %D/etc/rc.d/samba4wins.sh forcestop 2>/dev/null || true
OpenPOWER on IntegriCloud