mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-22 20:41:26 +00:00
Update to latest cvs version which allows removal of local patches
Take out perl RE for startup script as it isn't required. Use AUTOCONF because it now searches for passwd Add LDAP and CUPS support Fix description in pkg-descr
This commit is contained in:
parent
c0470b1fd3
commit
a8f6e685cb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=59118
@ -1,4 +1,4 @@
|
||||
# New ports collection makefile for: samba
|
||||
# New ports collection makefile for: samba-tng
|
||||
# Date created: 11th May 2002
|
||||
# Whom: dwcjr
|
||||
#
|
||||
@ -6,10 +6,9 @@
|
||||
#
|
||||
|
||||
PORTNAME= samba-tng
|
||||
PORTVERSION= 2.6.1c20020507
|
||||
PORTVERSION= 2.6.1c20020514
|
||||
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,}
|
||||
|
||||
@ -18,6 +17,8 @@ MAINTAINER= dwcjr@FreeBSD.org
|
||||
GNU_CONFIGURE= YES
|
||||
INSTALLS_SHLIB= YES
|
||||
USE_GMAKE= YES
|
||||
USE_BZIP2= YES
|
||||
USE_AUTOCONF= YES
|
||||
WRKSRC= ${WRKDIR}/tng-clean/source
|
||||
|
||||
# directories
|
||||
@ -29,7 +30,7 @@ SAMBA_CONFDIR= ${PREFIX}/etc
|
||||
|
||||
CONFIGURE_ARGS= --localstatedir=${VARDIR}/lock \
|
||||
--with-privatedir=${SAMBA_PRIVATE} --with-pam \
|
||||
--with-logdir=${VARDIR}/log --with-tmpdir=${VARDIR}/run
|
||||
--with-logdir=${VARDIR}/log --with-tmpdir=${VARDIR}/run/samba-tng
|
||||
|
||||
MAN1= debug2html.1 make_smbcodepage.1 nmblookup.1 \
|
||||
regedit.1 rpcclient.1 smbclient.1 smbrun.1 \
|
||||
@ -56,8 +57,24 @@ CONFIGURE_ARGS+= --with-syslog
|
||||
CONFIGURE_ARGS+= --with-msdfs
|
||||
.endif
|
||||
|
||||
.if defined(WITH_LDAP)
|
||||
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap2
|
||||
CONFIGURE_ARGS+= --with-ldapsam
|
||||
CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include \
|
||||
LDFLAGS=-L${LOCALBASE}/lib
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_CUPS)
|
||||
WITH_CUPS= yes
|
||||
.endif
|
||||
|
||||
.if defined(WITH_CUPS)
|
||||
LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-base
|
||||
CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include \
|
||||
LDFLAGS=-L${LOCALBASE}/lib
|
||||
.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>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (samba-tng_0.2.6.1cvs20020507.tar.gz) = ee0f2f020d2087e937a8e8fb0d6aa464
|
||||
MD5 (samba-tng_0.2.6.1cvs20020514.tar.bz2) = 1b02926b9af8e749357090f9db056555
|
||||
|
@ -1,24 +0,0 @@
|
||||
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
|
@ -4,7 +4,5 @@ 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/
|
||||
|
Loading…
Reference in New Issue
Block a user