View | Details | Raw Unified | Return to bug 102713
Collapse All | Expand All

(-)Makefile (-3 / +11 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=		samba4wins
8
PORTNAME=		samba4wins
9
PORTVERSION=		1.0.3.r1
9
PORTVERSION=		1.0.4.r1
10
CATEGORIES=		net
10
CATEGORIES=		net
11
MASTER_SITES=		http://ftp.sernet.de/pub/samba4WINS/debian/pool/
11
MASTER_SITES=		http://ftp.sernet.de/pub/samba4WINS/debian/pool/
12
DISTNAME=		${PORTNAME}_${PORTVERSION:S/.r/-/}
12
DISTNAME=		${PORTNAME}_${PORTVERSION:S/.r/-/}
Lines 16-28 Link Here
16
16
17
CONFLICTS=		ja-samba-2.* ja-samba-4.* samba-2.* samba-4.* sharity-light-1.*
17
CONFLICTS=		ja-samba-2.* ja-samba-4.* samba-2.* samba-4.* sharity-light-1.*
18
18
19
USE_ICONV=		yes
19
USE_PERL5=		yes
20
USE_PERL5=		yes
20
GNU_CONFIGURE=		yes
21
GNU_CONFIGURE=		yes
22
USE_AUTOTOOLS=		autoconf:259 autoheader:259
21
23
22
WRKSRC=			${WRKDIR}/${PORTNAME}/source
24
WRKSRC=			${WRKDIR}/${PORTNAME}/source
23
25
24
# directories
26
# directories
25
VARDIR=			${DESTDIR}/var
27
VARDIR?=		${DESTDIR}/var
26
S4W_DATADIR=		${PREFIX}/share/${PORTNAME}
28
S4W_DATADIR=		${PREFIX}/share/${PORTNAME}
27
S4W_LOGDIR=		${VARDIR}/log/${PORTNAME}
29
S4W_LOGDIR=		${VARDIR}/log/${PORTNAME}
28
S4W_RUNDIR=		${VARDIR}/run
30
S4W_RUNDIR=		${VARDIR}/run
Lines 48-59 Link Here
48
			--with-libiconv=${LOCALBASE} --without-sqlite3 \
50
			--with-libiconv=${LOCALBASE} --without-sqlite3 \
49
			--without-pthreads --without-python
51
			--without-pthreads --without-python
50
52
51
USE_RC_SUBR=		smbd4wins.sh
53
USE_RC_SUBR=		smbd4wins
52
SUB_LIST+=		S4W_RUNDIR=${S4W_RUNDIR}
54
SUB_LIST+=		S4W_RUNDIR=${S4W_RUNDIR}
53
55
54
PLIST_SUB+=		S4W_LOGDIR=${S4W_LOGDIR} \
56
PLIST_SUB+=		S4W_LOGDIR=${S4W_LOGDIR} \
55
			S4W_LOCKDIR=${S4W_LOCKDIR}
57
			S4W_LOCKDIR=${S4W_LOCKDIR}
56
58
59
pre-install:
60
			@for f in ${WRKSRC}/scripting/bin/*; do \
61
			    ${REINPLACE_CMD} -e 's|smbscript|${PREFIX}/bin/smbscript4|' \
62
				$${f} && ${MV} $${f} $${f}4; \
63
			done
64
57
post-install:
65
post-install:
58
			@${MKDIR} ${S4W_CONFDIR}
66
			@${MKDIR} ${S4W_CONFDIR}
59
			${INSTALL_DATA} ${FILESDIR}/samba4wins.conf.sample ${S4W_CONFDIR}
67
			${INSTALL_DATA} ${FILESDIR}/samba4wins.conf.sample ${S4W_CONFDIR}
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (samba4wins_1.0.3-1.tar.gz) = 97d3de004859230c7550ed8858d356ea
1
MD5 (samba4wins_1.0.4-1.tar.gz) = 01c4bcc09b63d2da33e199ffc5cccafd
2
SHA256 (samba4wins_1.0.3-1.tar.gz) = 8613e61093d078de3b1c19de1bc242ded4f6a0502e4b44c5ef9077f1028a9c54
2
SHA256 (samba4wins_1.0.4-1.tar.gz) = d5b7eff16a76c0812f6d5389cf5621de3114e9d987ba83e265ce69df7d02c07a
3
SIZE (samba4wins_1.0.3-1.tar.gz) = 18788362
3
SIZE (samba4wins_1.0.4-1.tar.gz) = 7230074
(-)pkg-descr (-3 / +3 lines)
Lines 1-6 Link Here
1
The Samba4WINS project provides a full featured replicating WINS server
1
The Samba4WINS project provides a full featured replicating WINS server
2
for UNIX. It is a spinoff of the Samba 4 project, the upcoming version
2
for UNIX. It is a spinoff of the Samba4 project, the upcoming version of
3
of the Samba software suite and will also be available as part of the
3
the Samba software suite and will also be available as part of the Samba
4
Samba suite as soon as Samba 4 is released.
4
suite as soon as Samba4 is released.
5
5
6
WWW: http://enterprisesamba.org/index.php?id=88
6
WWW: http://enterprisesamba.org/index.php?id=88
(-)pkg-plist (-16 / +15 lines)
Lines 1-18 Link Here
1
@unexec %D/etc/rc.d/samba4wins.sh forcestop 2>/dev/null || true
2
etc/samba4wins.conf.sample
1
etc/samba4wins.conf.sample
3
bin/nmblookup4
2
bin/nmblookup4
4
bin/ldbadd
3
bin/ldbadd4
5
bin/ldbdel
4
bin/ldbdel4
6
bin/ldbedit
5
bin/ldbedit4
7
bin/ldbmodify
6
bin/ldbmodify4
8
bin/ldbrename
7
bin/ldbrename4
9
bin/ldbsearch
8
bin/ldbsearch4
10
bin/samba3dump
9
bin/samba3dump4
11
bin/smbscript
10
bin/smbscript4
12
bin/smbstatus
11
bin/smbstatus4
13
bin/smbtorture
12
bin/smbtorture4
14
bin/testparm
13
bin/testparm4
15
bin/winreg
14
bin/winreg4
16
sbin/smbd4wins
15
sbin/smbd4wins
17
lib/samba4wins/lowcase.dat
16
lib/samba4wins/lowcase.dat
18
lib/samba4wins/upcase.dat
17
lib/samba4wins/upcase.dat
Lines 21-26 Link Here
21
%%PORTDOCS%%%%DOCSDIR%%/NEWS.txt
20
%%PORTDOCS%%%%DOCSDIR%%/NEWS.txt
22
%%PORTDOCS%%%%DOCSDIR%%/README.txt
21
%%PORTDOCS%%%%DOCSDIR%%/README.txt
23
%%PORTDOCS%%%%DOCSDIR%%/TODO.txt
22
%%PORTDOCS%%%%DOCSDIR%%/TODO.txt
23
%%PORTDOCS%%@dirrm %%DOCSDIR%%
24
%%DATADIR%%/js/auth.js
24
%%DATADIR%%/js/auth.js
25
%%DATADIR%%/js/base.js
25
%%DATADIR%%/js/base.js
26
%%DATADIR%%/js/encoder.js
26
%%DATADIR%%/js/encoder.js
Lines 40-51 Link Here
40
%%DATADIR%%/setup/provision_users.ldif
40
%%DATADIR%%/setup/provision_users.ldif
41
%%DATADIR%%/setup/schema.ldif
41
%%DATADIR%%/setup/schema.ldif
42
%%DATADIR%%/setup/secrets.ldif
42
%%DATADIR%%/setup/secrets.ldif
43
@dirrmtry lib/samba4wins/pkgconfig
44
@dirrmtry private/tls
45
%%PORTDOCS%%@dirrm %%DOCSDIR%%
46
@dirrm %%DATADIR%%/setup
43
@dirrm %%DATADIR%%/setup
47
@dirrm %%DATADIR%%/js
44
@dirrm %%DATADIR%%/js
48
@dirrm %%DATADIR%%
45
@dirrm %%DATADIR%%
46
@dirrmtry lib/samba4wins/pkgconfig
49
@dirrm lib/samba4wins
47
@dirrm lib/samba4wins
50
@unexec echo "Warning: If you will *NOT* use this package anymore, please remove %%S4W_LOCKDIR%%/* manually."
48
@unexec echo "Warning: If you will *NOT* use this package anymore, please remove %%S4W_LOCKDIR%%/* manually."
51
@unexec echo "Warning: If you will *NOT* use this package anymore, please remove %%S4W_LOGDIR%%/* manually."
49
@unexec echo "Warning: If you will *NOT* use this package anymore, please remove %%S4W_LOGDIR%%/* manually."
50
@unexec %D/etc/rc.d/samba4wins.sh forcestop 2>/dev/null || true
(-)files/patch-lib_ldb_config.mk (+56 lines)
Added Link Here
1
--- lib/ldb/config.mk.orig	Mon Aug 28 04:22:54 2006
2
+++ lib/ldb/config.mk	Mon Aug 28 04:23:33 2006
3
@@ -179,7 +179,7 @@
4
 
5
 ################################################
6
 # Start BINARY ldbadd
7
-[BINARY::ldbadd]
8
+[BINARY::ldbadd4]
9
 INSTALLDIR = BINDIR
10
 OBJ_FILES = \
11
 		tools/ldbadd.o
12
@@ -191,7 +191,7 @@
13
 
14
 ################################################
15
 # Start BINARY ldbdel
16
-[BINARY::ldbdel]
17
+[BINARY::ldbdel4]
18
 INSTALLDIR = BINDIR
19
 OBJ_FILES= \
20
 		tools/ldbdel.o
21
@@ -203,7 +203,7 @@
22
 
23
 ################################################
24
 # Start BINARY ldbmodify
25
-[BINARY::ldbmodify]
26
+[BINARY::ldbmodify4]
27
 INSTALLDIR = BINDIR
28
 OBJ_FILES= \
29
 		tools/ldbmodify.o
30
@@ -215,7 +215,7 @@
31
 
32
 ################################################
33
 # Start BINARY ldbsearch
34
-[BINARY::ldbsearch]
35
+[BINARY::ldbsearch4]
36
 INSTALLDIR = BINDIR
37
 OBJ_FILES= \
38
 		tools/ldbsearch.o
39
@@ -227,7 +227,7 @@
40
 
41
 ################################################
42
 # Start BINARY ldbedit
43
-[BINARY::ldbedit]
44
+[BINARY::ldbedit4]
45
 INSTALLDIR = BINDIR
46
 OBJ_FILES= \
47
 		tools/ldbedit.o
48
@@ -239,7 +239,7 @@
49
 
50
 ################################################
51
 # Start BINARY ldbrename
52
-[BINARY::ldbrename]
53
+[BINARY::ldbrename4]
54
 INSTALLDIR = BINDIR
55
 OBJ_FILES= \
56
 		tools/ldbrename.o
(-)files/patch-scripting_ejs_config.mk (+11 lines)
Added Link Here
1
--- scripting/ejs/config.mk.orig	Tue Aug 29 01:37:15 2006
2
+++ scripting/ejs/config.mk	Tue Aug 29 01:37:25 2006
3
@@ -37,7 +37,7 @@
4
 
5
 #######################
6
 # Start BINARY SMBSCRIPT
7
-[BINARY::smbscript]
8
+[BINARY::smbscript4]
9
 INSTALLDIR = BINDIR
10
 OBJ_FILES = \
11
 		smbscript.o
(-)files/patch-torture_config.mk (+11 lines)
Added Link Here
1
--- torture/config.mk.orig	Mon Aug 28 23:34:14 2006
2
+++ torture/config.mk	Mon Aug 28 23:34:27 2006
3
@@ -198,7 +198,7 @@
4
 
5
 #################################
6
 # Start BINARY smbtorture
7
-[BINARY::smbtorture]
8
+[BINARY::smbtorture4]
9
 INSTALLDIR = BINDIR
10
 PRIVATE_PROTO_HEADER = torture.h
11
 OBJ_FILES = \
(-)files/patch-utils_config.mk (-2 / +11 lines)
Lines 1-5 Link Here
1
--- utils/config.mk.orig	Sun Apr  9 23:55:42 2006
1
--- utils/config.mk.orig	Mon Jul  3 09:48:15 2006
2
+++ utils/config.mk	Sun Apr  9 23:56:16 2006
2
+++ utils/config.mk	Mon Aug 28 02:13:42 2006
3
@@ -77,7 +77,7 @@
3
@@ -77,7 +77,7 @@
4
 
4
 
5
 #################################
5
 #################################
Lines 9-11 Link Here
9
 INSTALLDIR = BINDIR
9
 INSTALLDIR = BINDIR
10
 OBJ_FILES = \
10
 OBJ_FILES = \
11
 		nmblookup.o
11
 		nmblookup.o
12
@@ -92,7 +92,7 @@
13
 
14
 #################################
15
 # Start BINARY testparm
16
-[BINARY::testparm]
17
+[BINARY::testparm4]
18
 INSTALLDIR = BINDIR
19
 OBJ_FILES = \
20
 		testparm.o
(-)files/smbd4wins.in (+25 lines)
Added Link Here
1
#!/bin/sh
2
#
3
# $FreeBSD$
4
#
5
6
# PROVIDE: smbd4wins
7
# REQUIRE: NETWORKING SERVERS named ldconfig
8
# BEFORE: DAEMON
9
# KEYWORD: shutdown
10
11
#
12
# Add the following lines to /etc/rc.conf to enable smbd:
13
#
14
#smbd4wins_enable="YES"
15
#
16
17
. %%RC_SUBR%%
18
19
name="smbd4wins"
20
rcvar=`set_rcvar`
21
command="%%PREFIX%%/sbin/${name}"
22
pidfile="%%S4W_RUNDIR%%/${name}.pid"
23
24
load_rc_config $name
25
run_rc_command "$1"
(-)files/smbd4wins.sh.in (-25 lines)
Removed Link Here
1
#!/bin/sh
2
#
3
# $FreeBSD: ports/net/samba4wins/files/smbd4wins.sh.in,v 1.1 2006/04/18 13:05:06 sem Exp $
4
#
5
6
# PROVIDE: smbd2wins
7
# REQUIRE: NETWORKING SERVERS named ldconfig
8
# BEFORE: DAEMON
9
# KEYWORD: shutdown
10
11
#
12
# Add the following lines to /etc/rc.conf to enable smbd:
13
#
14
#smbd4wins_enable="YES"
15
#
16
17
. %%RC_SUBR%%
18
19
name="smbd4wins"
20
rcvar=`set_rcvar`
21
command="%%PREFIX%%/sbin/${name}"
22
pidfile="%%S4W_RUNDIR%%/${name}.pid"
23
24
load_rc_config $name
25
run_rc_command "$1"

Return to bug 102713