Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Jan 2006 22:14:49 +0100
From:      "Timur I. Bakeyev" <timur@gnu.org>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/91530: [MAINTAINER] Update for net/samba-libsmbclient and net/py-samba ports
Message-ID:  <1136754889.15218@timur.home.bat.ru>
Resent-Message-ID: <200601082120.k08LK5dW010932@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         91530
>Category:       ports
>Synopsis:       [MAINTAINER] Update for net/samba-libsmbclient and net/py-samba ports
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 08 21:20:05 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Timur I. Bakeyev
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
>Environment:


System: FreeBSD 6.0-STABLE #2: Sun Jan  8 03:29:17 CET 2006
    root@timur.home.bat.ru:/usr/src/sys/i386/compile/COMMON



>Description:


These are updates for subports of net/samba3, net/samba-libsmbclient and net/py-samba


>How-To-Repeat:


-


>Fix:


net/samba-libsmbclient

--- samba-libsmbclient.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/samba-libsmbclient/Makefile,v
retrieving revision 1.20
diff -u -r1.20 Makefile
--- Makefile	11 Sep 2005 19:46:55 -0000	1.20
+++ Makefile	4 Jan 2006 18:13:13 -0000
@@ -5,11 +5,11 @@
 # $FreeBSD: ports/net/samba-libsmbclient/Makefile,v 1.20 2005/09/11 19:46:55 vsevolod Exp $
 #
 
-PORTREVISION=		2
+PORTREVISION=		0
 PORTEPOCH=		0
 PKGNAMESUFFIX=		-libsmbclient
 
-COMMENT=		The shared lib from the samba packages
+COMMENT=		Shared libs from the samba package
 
 CONFLICTS=
 
@@ -21,39 +21,60 @@
 
 INSTALLS_SHLIB=		yes
 
-# We WANT libsmbclient support :)
+# We WANT shared libs
 CONFIGURE_ARGS+=	--with-libsmbclient
-# This is taken from SAMBA_PORT(grep without)
-CONFIGURE_ARGS+=	--disable-cups
-CONFIGURE_ARGS+=	--without-python
-CONFIGURE_ARGS+=	--without-syslog
-CONFIGURE_ARGS+=	--without-quotas
-CONFIGURE_ARGS+=	--without-utmp
-CONFIGURE_ARGS+=	--without-winbind
-CONFIGURE_ARGS+=	--without-ldapsam
-CONFIGURE_ARGS+=	--without-pam_smbpass
+SAMBA_INSTALL_LIBS=	libsmbclient
 
-CONFIGURE_ARGS+=	--without-krb5
-CONFIGURE_ARGS+=	--without-ads
+.if defined(WITH_SHAREMODES)
+CONFIGURE_ARGS+=	--with-libsmbsharemodes
+SAMBA_INSTALL_LIBS+=	libsmbsharemodes
+PLIST_SUB+=		SHAREMODES=""
+.else
+PLIST_SUB+=		SHAREMODES="@comment "
+.endif
+
+.if defined(WITH_MSRPC)
+CONFIGURE_ARGS+=	--with-libmsrpc
+SAMBA_INSTALL_LIBS+=	libmsrpc
+PLIST_SUB+=		MSRPC=""
+.else
+PLIST_SUB+=		MSRPC="@comment "
+.endif
+# Don't check for python presence
+CONFIGURE_ARGS+=	--without-python
 
-MAN8=			libsmbclient.8
+MAN7=			libsmbclient.7
 
 do-build:
 	cd ${WRKSRC} && ${MAKE} proto
 	cd ${WRKSRC} && ${MAKE} libsmbclient
+.if defined(WITH_SHAREMODES)
+	cd ${WRKSRC} && ${MAKE} libsmbsharemodes
+.endif
+.if defined(WITH_MSRPC)
+	cd ${WRKSRC} && ${MAKE} cac
+.endif
 
 do-install:
-	-@${MKDIR} ${MAN8PREFIX}/man/man8
-.for man in ${MAN8}
-	${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/docs/manpages/${man} ${MAN8PREFIX}/man/man8
+	-@${MKDIR} ${MAN8PREFIX}/man/man7
+.for man in ${MAN7}
+	${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/docs/manpages/${man} ${MAN7PREFIX}/man/man7
 .endfor
 	-@${MKDIR} ${PREFIX}/include
 	${INSTALL_DATA} ${WRKSRC}/include/libsmbclient.h ${PREFIX}/include
+.if defined(WITH_MSRPC)
+	${INSTALL_DATA} ${WRKSRC}/include/libmsrpc.h ${PREFIX}/include
+.endif
 	-@${MKDIR} ${PREFIX}/lib
-	${INSTALL_SCRIPT} ${WRKSRC}/bin/libsmbclient.a ${PREFIX}/lib
-	${INSTALL_SCRIPT} ${WRKSRC}/bin/libsmbclient.so.0 ${PREFIX}/lib
-	${LN} -snf libsmbclient.so.0 ${PREFIX}/lib/libsmbclient.so
+.for lib in ${SAMBA_INSTALL_LIBS}
+	${INSTALL_SCRIPT} ${WRKSRC}/bin/${lib}.a ${PREFIX}/lib
+	${INSTALL_SCRIPT} ${WRKSRC}/bin/${lib}.so ${PREFIX}/lib/${lib}.so.0
+	${LN} -snf ${lib}.so.0 ${PREFIX}/lib/${lib}.so
+.endfor
 	-@${MKDIR} ${EXAMPLESDIR}
-	@${CP} -Rp ${WRKDIR}/${DISTNAME}/examples/libsmbclient/* ${EXAMPLESDIR}
+	@${CP} -Rp ${WRKDIR}/${DISTNAME}/examples/libsmbclient ${EXAMPLESDIR}
+.if defined(WITH_MSRPC)
+	@${CP} -Rp ${WRKDIR}/${DISTNAME}/examples/libmsrpc ${EXAMPLESDIR}
+.endif
 
 .include "${MASTERDIR}/Makefile"
Index: pkg-descr
===================================================================
RCS file: /home/ncvs/ports/net/samba-libsmbclient/pkg-descr,v
retrieving revision 1.3
diff -u -r1.3 pkg-descr
--- pkg-descr	9 May 2004 20:34:40 -0000	1.3
+++ pkg-descr	4 Jan 2006 14:12:31 -0000
@@ -1,4 +1,4 @@
-This is the shared library from the Samba port. It lets other programs
-to use the SMB protocol.
+This is the set of shared libraries from the Samba port. It lets other
+programs to utialize various aspects of the SMB protocol.
 
 WWW: http://www.samba.org/
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/net/samba-libsmbclient/pkg-plist,v
retrieving revision 1.4
diff -u -r1.4 pkg-plist
--- pkg-plist	11 Sep 2005 19:46:55 -0000	1.4
+++ pkg-plist	4 Jan 2006 18:10:51 -0000
@@ -1,27 +1,83 @@
 include/libsmbclient.h
+%%MSRPC%%include/libmsrpc.h
 lib/libsmbclient.a
 lib/libsmbclient.so
 lib/libsmbclient.so.0
-%%EXAMPLESDIR%%/get_auth_data_fn.h
-%%EXAMPLESDIR%%/smbwrapper/Makefile
-%%EXAMPLESDIR%%/smbwrapper/README
-%%EXAMPLESDIR%%/smbwrapper/opendir_smbsh.c
-%%EXAMPLESDIR%%/smbwrapper/select.c
-%%EXAMPLESDIR%%/smbwrapper/smbsh.c
-%%EXAMPLESDIR%%/smbwrapper/smbw.c
-%%EXAMPLESDIR%%/smbwrapper/smbw.h
-%%EXAMPLESDIR%%/smbwrapper/smbw_dir.c
-%%EXAMPLESDIR%%/smbwrapper/smbw_stat.c
-%%EXAMPLESDIR%%/smbwrapper/wrapper.c
-%%EXAMPLESDIR%%/smbwrapper/wrapper.h
-%%EXAMPLESDIR%%/Makefile
-%%EXAMPLESDIR%%/README
-%%EXAMPLESDIR%%/testacl.c
-%%EXAMPLESDIR%%/testbrowse.c
-%%EXAMPLESDIR%%/testchmod.c
-%%EXAMPLESDIR%%/testsmbc.c
-%%EXAMPLESDIR%%/teststat.c
-%%EXAMPLESDIR%%/testutime.c
-%%EXAMPLESDIR%%/tree.c
-@dirrm %%EXAMPLESDIR%%/smbwrapper
+%%MSRPC%%lib/libmsrpc.a
+%%MSRPC%%lib/libmsrpc.so
+%%MSRPC%%lib/libmsrpc.so.0
+%%SHAREMODES%%lib/libsmbsharemodes.a
+%%SHAREMODES%%lib/libsmbsharemodes.so
+%%SHAREMODES%%lib/libsmbsharemodes.so.0
+%%MSRPC%%%%EXAMPLESDIR%%/libmsrpc/cacusermgr/Makefile
+%%MSRPC%%%%EXAMPLESDIR%%/libmsrpc/cacusermgr/cacusermgr.c
+%%MSRPC%%%%EXAMPLESDIR%%/libmsrpc/cacusermgr/cacusermgr.h
+%%MSRPC%%%%EXAMPLESDIR%%/libmsrpc/cacusermgr/mgr_group.c
+%%MSRPC%%%%EXAMPLESDIR%%/libmsrpc/cacusermgr/mgr_user.c
+%%MSRPC%%%%EXAMPLESDIR%%/libmsrpc/cacusermgr/util.c
+%%MSRPC%%%%EXAMPLESDIR%%/libmsrpc/test/Makefile
+%%MSRPC%%%%EXAMPLESDIR%%/libmsrpc/test/README
+%%MSRPC%%%%EXAMPLESDIR%%/libmsrpc/test/lsa/ear.c
+%%MSRPC%%%%EXAMPLESDIR%%/libmsrpc/test/lsa/lsaenum.c
+%%MSRPC%%%%EXAMPLESDIR%%/libmsrpc/test/lsa/lsaenumprivs.c
+%%MSRPC%%%%EXAMPLESDIR%%/libmsrpc/test/lsa/lsapol.c
+%%MSRPC%%%%EXAMPLESDIR%%/libmsrpc/test/lsa/lsapriv.c
+%%MSRPC%%%%EXAMPLESDIR%%/libmsrpc/test/lsa/lsaq.c
+%%MSRPC%%%%EXAMPLESDIR%%/libmsrpc/test/lsa/lsatrust.c
+%%MSRPC%%%%EXAMPLESDIR%%/libmsrpc/test/reg/regdelete.c
+%%MSRPC%%%%EXAMPLESDIR%%/libmsrpc/test/reg/regkey.c
+%%MSRPC%%%%EXAMPLESDIR%%/libmsrpc/test/reg/regkeycreate.c
+%%MSRPC%%%%EXAMPLESDIR%%/libmsrpc/test/reg/regkeyenum.c
+%%MSRPC%%%%EXAMPLESDIR%%/libmsrpc/test/reg/regopen.c
+%%MSRPC%%%%EXAMPLESDIR%%/libmsrpc/test/reg/regopenkey.c
+%%MSRPC%%%%EXAMPLESDIR%%/libmsrpc/test/reg/regqueryval.c
+%%MSRPC%%%%EXAMPLESDIR%%/libmsrpc/test/reg/regsetval.c
+%%MSRPC%%%%EXAMPLESDIR%%/libmsrpc/test/reg/regvalenum.c
+%%MSRPC%%%%EXAMPLESDIR%%/libmsrpc/test/reg/security.c
+%%MSRPC%%%%EXAMPLESDIR%%/libmsrpc/test/reg/shutdown.c
+%%MSRPC%%%%EXAMPLESDIR%%/libmsrpc/test/sam/adduser.c
+%%MSRPC%%%%EXAMPLESDIR%%/libmsrpc/test/sam/disable.c
+%%MSRPC%%%%EXAMPLESDIR%%/libmsrpc/test/sam/dominfo.c
+%%MSRPC%%%%EXAMPLESDIR%%/libmsrpc/test/sam/enable.c
+%%MSRPC%%%%EXAMPLESDIR%%/libmsrpc/test/sam/samenum.c
+%%MSRPC%%%%EXAMPLESDIR%%/libmsrpc/test/sam/samgroup.c
+%%MSRPC%%%%EXAMPLESDIR%%/libmsrpc/test/sam/samlookup.c
+%%MSRPC%%%%EXAMPLESDIR%%/libmsrpc/test/sam/samuser.c
+%%MSRPC%%%%EXAMPLESDIR%%/libmsrpc/test/smbc_test/smbc.c
+%%MSRPC%%%%EXAMPLESDIR%%/libmsrpc/test/svcctl/svc.c
+%%MSRPC%%%%EXAMPLESDIR%%/libmsrpc/test/test_util.c
+%%MSRPC%%%%EXAMPLESDIR%%/libmsrpc/test/test_util.h
+%%EXAMPLESDIR%%/libsmbclient/Makefile
+%%EXAMPLESDIR%%/libsmbclient/README
+%%EXAMPLESDIR%%/libsmbclient/get_auth_data_fn.h
+%%EXAMPLESDIR%%/libsmbclient/smbwrapper/Makefile
+%%EXAMPLESDIR%%/libsmbclient/smbwrapper/README
+%%EXAMPLESDIR%%/libsmbclient/smbwrapper/opendir_smbsh.c
+%%EXAMPLESDIR%%/libsmbclient/smbwrapper/select.c
+%%EXAMPLESDIR%%/libsmbclient/smbwrapper/smbsh.c
+%%EXAMPLESDIR%%/libsmbclient/smbwrapper/smbw.c
+%%EXAMPLESDIR%%/libsmbclient/smbwrapper/smbw.h
+%%EXAMPLESDIR%%/libsmbclient/smbwrapper/smbw_dir.c
+%%EXAMPLESDIR%%/libsmbclient/smbwrapper/smbw_stat.c
+%%EXAMPLESDIR%%/libsmbclient/smbwrapper/wrapper.c
+%%EXAMPLESDIR%%/libsmbclient/smbwrapper/wrapper.h
+%%EXAMPLESDIR%%/libsmbclient/testacl.c
+%%EXAMPLESDIR%%/libsmbclient/testbrowse.c
+%%EXAMPLESDIR%%/libsmbclient/testbrowse2.c
+%%EXAMPLESDIR%%/libsmbclient/testchmod.c
+%%EXAMPLESDIR%%/libsmbclient/testread.c
+%%EXAMPLESDIR%%/libsmbclient/testsmbc.c
+%%EXAMPLESDIR%%/libsmbclient/teststat.c
+%%EXAMPLESDIR%%/libsmbclient/testutime.c
+%%EXAMPLESDIR%%/libsmbclient/tree.c
+@dirrm %%EXAMPLESDIR%%/libsmbclient/smbwrapper
+@dirrm %%EXAMPLESDIR%%/libsmbclient
+%%MSRPC%%@dirrm %%EXAMPLESDIR%%/libmsrpc/test/svcctl
+%%MSRPC%%@dirrm %%EXAMPLESDIR%%/libmsrpc/test/smbc_test
+%%MSRPC%%@dirrm %%EXAMPLESDIR%%/libmsrpc/test/sam
+%%MSRPC%%@dirrm %%EXAMPLESDIR%%/libmsrpc/test/reg
+%%MSRPC%%@dirrm %%EXAMPLESDIR%%/libmsrpc/test/lsa
+%%MSRPC%%@dirrm %%EXAMPLESDIR%%/libmsrpc/test
+%%MSRPC%%@dirrm %%EXAMPLESDIR%%/libmsrpc/cacusermgr
+%%MSRPC%%@dirrm %%EXAMPLESDIR%%/libmsrpc
 @dirrm %%EXAMPLESDIR%%
--- samba-libsmbclient.diff ends here ---



net/py-samba

--- py-samba.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/py-samba/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile	11 Sep 2005 19:44:52 -0000	1.5
+++ Makefile	4 Jan 2006 14:34:11 -0000
@@ -25,18 +25,6 @@
 PYSETUP=		python/setup.py
 
 CONFIGURE_ARGS+=	--with-python
-# This is taken from SAMBA_PORT(grep without)
-CONFIGURE_ARGS+=	--disable-cups
-CONFIGURE_ARGS+=	--without-libsmbclient
-CONFIGURE_ARGS+=	--without-syslog
-CONFIGURE_ARGS+=	--without-quotas
-CONFIGURE_ARGS+=	--without-utmp
-CONFIGURE_ARGS+=	--without-winbind
-CONFIGURE_ARGS+=	--without-ldapsam
-CONFIGURE_ARGS+=	--without-pam_smbpass
-
-CONFIGURE_ARGS+=--without-krb5
-CONFIGURE_ARGS+=--without-ads
 
 do-build:
 	cd ${WRKSRC} && ${MAKE} proto
@@ -45,6 +33,7 @@
 post-install:
 	-@${MKDIR} ${EXAMPLESDIR}
 	@${CP} -Rp ${WRKSRC}/python/examples/* ${EXAMPLESDIR}
-	@${CP} -Rp ${WRKDIR}/${DISTNAME}/examples/scripts/shares/python/* ${EXAMPLESDIR}
+	@${CP} -Rp ${WRKDIR}/${DISTNAME}/examples/scripts/shares/python/* \
+	    ${EXAMPLESDIR}
 
 .include "${MASTERDIR}/Makefile"
--- py-samba.diff ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1136754889.15218>