aboutsummaryrefslogtreecommitdiffstats
path: root/net/py-samba
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-05-10 04:34:40 +0800
committerpav <pav@FreeBSD.org>2004-05-10 04:34:40 +0800
commit423fedb206894f930d4383acd9d57792c2b723d9 (patch)
tree2072f3ab7d9b069ddc2395a466a19c286c1d6540 /net/py-samba
parentba1a1357d240888c6863598d8299d51544a93ede (diff)
downloadfreebsd-ports-gnome-423fedb206894f930d4383acd9d57792c2b723d9.tar.gz
freebsd-ports-gnome-423fedb206894f930d4383acd9d57792c2b723d9.tar.zst
freebsd-ports-gnome-423fedb206894f930d4383acd9d57792c2b723d9.zip
- Update to 3.0.3.r1
- Rewrite libsmbclient port to not conflict with samba port, stop installing libsmbclient in samba port - Split out python extensions into standalone port PR: ports/65976 Submitted by: Timur I. Bakeyev <timur@gnu.org> (samba-devel maintainer) Approved by: Koop Mast (samba-libsmbclient maintainer)
Diffstat (limited to 'net/py-samba')
-rw-r--r--net/py-samba/Makefile46
-rw-r--r--net/py-samba/pkg-descr4
-rw-r--r--net/py-samba/pkg-plist25
3 files changed, 75 insertions, 0 deletions
diff --git a/net/py-samba/Makefile b/net/py-samba/Makefile
new file mode 100644
index 000000000000..7047d267e91c
--- /dev/null
+++ b/net/py-samba/Makefile
@@ -0,0 +1,46 @@
+# New ports collection makefile for: samba-python
+# Date created: 01 May 2004
+# Whom: Timur Bakeyev <timur@gnu.org>
+#
+# $FreeBSD$
+#
+
+PORTREVISION= 0
+PORTEPOCH= 0
+CATEGORIES= net python
+PKGNAMEPREFIX= py-
+
+COMMENT= Python bindings for Samba
+
+CONFLICTS=
+
+SAMBA_PORT= samba-devel
+SAMBA_SUBPORT= yes
+
+MASTERDIR= ${.CURDIR}/../${SAMBA_PORT}
+PKGDIR= ${.CURDIR}
+
+USE_PYTHON= 2.1+
+USE_PYDISTUTILS= yes
+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
+
+do-build:
+ cd ${WRKSRC} && ${MAKE} proto
+ cd ${WRKSRC} && ${MAKE} python_ext
+
+post-install:
+ -@${MKDIR} ${EXAMPLESDIR}
+ @${CP} -Rp ${WRKSRC}/python/examples/* ${EXAMPLESDIR}
+
+.include "${MASTERDIR}/Makefile"
diff --git a/net/py-samba/pkg-descr b/net/py-samba/pkg-descr
new file mode 100644
index 000000000000..548ea1ab7e3d
--- /dev/null
+++ b/net/py-samba/pkg-descr
@@ -0,0 +1,4 @@
+This are the Python bindings for Samba port. They let Python programs to
+use the SMB protocol.
+
+WWW: http://www.samba.org/
diff --git a/net/py-samba/pkg-plist b/net/py-samba/pkg-plist
new file mode 100644
index 000000000000..ab27da1021f3
--- /dev/null
+++ b/net/py-samba/pkg-plist
@@ -0,0 +1,25 @@
+%%PYTHON_SITELIBDIR%%/samba/__init__.py
+%%PYTHON_SITELIBDIR%%/samba/__init__.pyc
+%%PYTHON_SITELIBDIR%%/samba/__init__.pyo
+%%PYTHON_SITELIBDIR%%/samba/lsa.so
+%%PYTHON_SITELIBDIR%%/samba/printerdata.py
+%%PYTHON_SITELIBDIR%%/samba/printerdata.pyc
+%%PYTHON_SITELIBDIR%%/samba/printerdata.pyo
+%%PYTHON_SITELIBDIR%%/samba/samr.so
+%%PYTHON_SITELIBDIR%%/samba/smb.so
+%%PYTHON_SITELIBDIR%%/samba/spoolss.so
+%%PYTHON_SITELIBDIR%%/samba/srvsvc.so
+%%PYTHON_SITELIBDIR%%/samba/tdb.so
+%%PYTHON_SITELIBDIR%%/samba/tdbpack.so
+%%PYTHON_SITELIBDIR%%/samba/winbind.so
+%%PYTHON_SITELIBDIR%%/samba/winreg.so
+%%EXAMPLESDIR%%/spoolss/changeid.py
+%%EXAMPLESDIR%%/spoolss/enumprinters.py
+%%EXAMPLESDIR%%/spoolss/psec.py
+%%EXAMPLESDIR%%/tdbpack/oldtdbutil.py
+%%EXAMPLESDIR%%/tdbpack/tdbtimetrial.py
+%%EXAMPLESDIR%%/tdbpack/test_tdbpack.py
+@dirrm %%PYTHON_SITELIBDIR%%/samba
+@dirrm %%EXAMPLESDIR%%/spoolss
+@dirrm %%EXAMPLESDIR%%/tdbpack
+@dirrm %%EXAMPLESDIR%%