diff options
author | rene <rene@FreeBSD.org> | 2016-03-02 20:26:59 +0000 |
---|---|---|
committer | rene <rene@FreeBSD.org> | 2016-03-02 20:26:59 +0000 |
commit | 359dff81194fcc0785f2bf748dc9569603eeecbd (patch) | |
tree | 93de251f0313baac7fb99383a55e7775a0f19b12 | |
parent | 524e1a56210cae35ed72cc7946ed659f5a193e8f (diff) | |
download | FreeBSD-ports-359dff81194fcc0785f2bf748dc9569603eeecbd.zip FreeBSD-ports-359dff81194fcc0785f2bf748dc9569603eeecbd.tar.gz |
Remove expired ports:
2016-03-01 net/samba4: not supported by the upstream
2016-03-01 net/isc-dhcp42-client: isc-dhcp 4.2 is End of Life
2016-03-01 net/isc-dhcp41-relay: isc-dhcp 4.1 is now End of Life
2016-03-01 net/isc-dhcp42-relay: isc-dhcp 4.2 is End of Life
2016-03-01 net/isc-dhcp41-client: isc-dhcp 4.1 is now End of Life
2016-03-01 net/isc-dhcp42-server: isc-dhcp 4.2 is End of Life
2016-03-01 devel/pear-IO_Bit: Unsupported upstream
2016-03-01 graphics/pear-IO_SWF: Unsupported upstream
82 files changed, 8 insertions, 5642 deletions
@@ -8210,3 +8210,11 @@ net/ntopng||2016-02-29|Has expired: Broken for more than 6 months audio/rezound||2016-02-29|Has expired: Broken for more than 6 months net/rubygem-amqp067|net/rubygem-bunny|2016-02-29|Has expired: Upstream prefers net/rubygem-bunny devel/py-unittestplus||2016-02-29|Has expired: Tarballs and upstream website disappeared +net/samba4||2016-03-02|Has expired: not supported by the upstream +net/isc-dhcp42-client|net/isc-dhcp43-client|2016-03-02|Has expired: isc-dhcp 4.2 is End of Life +net/isc-dhcp41-relay|net/isc-dhcp43-relay|2016-03-02|Has expired: isc-dhcp 4.1 is now End of Life +net/isc-dhcp42-relay|net/isc-dhcp43-relay|2016-03-02|Has expired: isc-dhcp 4.2 is End of Life +net/isc-dhcp41-client|net/isc-dhcp43-cliet|2016-03-02|Has expired: isc-dhcp 4.1 is now End of Life +net/isc-dhcp42-server|net/isc-dhcp43-server|2016-03-02|Has expired: isc-dhcp 4.2 is End of Life +devel/pear-IO_Bit||2016-03-02|Has expired: Unsupported upstream +graphics/pear-IO_SWF||2016-03-02|Has expired: Unsupported upstream diff --git a/devel/Makefile b/devel/Makefile index 550054b..815eeaa 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -3590,7 +3590,6 @@ SUBDIR += pear-Horde_Util SUBDIR += pear-Horde_View SUBDIR += pear-I18N - SUBDIR += pear-IO_Bit SUBDIR += pear-Math_Fraction SUBDIR += pear-Net_Gearman SUBDIR += pear-OLE diff --git a/devel/pear-IO_Bit/Makefile b/devel/pear-IO_Bit/Makefile deleted file mode 100644 index 2f29003..0000000 --- a/devel/pear-IO_Bit/Makefile +++ /dev/null @@ -1,27 +0,0 @@ -# Created by: TAKATSU Tomonari <tota@FreeBSD.org> -# $FreeBSD$ - -PORTNAME= IO_Bit -PORTVERSION= 2.1.1 -CATEGORIES= devel pear -MASTER_SITES= http://openpear.org/get/ \ - LOCAL/tota/${PKGNAMEPREFIX}${PORTNAME} -PKGNAMEPREFIX= pear- - -MAINTAINER= yoya@awm.jp -COMMENT= PEAR bit utility - -LICENSE= MIT - -BUILD_DEPENDS= ${PEARDIR}/.channels/openpear.org.reg:${PORTSDIR}/devel/pear-channel-openpear -RUN_DEPENDS= ${PEARDIR}/.channels/openpear.org.reg:${PORTSDIR}/devel/pear-channel-openpear - -BROKEN= unfetchable -DEPRECATED= Unsupported upstream -EXPIRATION_DATE= 2016-03-01 - -USES= pear -USE_PHP= yes -PEAR_CHANNEL= openpear - -.include <bsd.port.mk> diff --git a/devel/pear-IO_Bit/distinfo b/devel/pear-IO_Bit/distinfo deleted file mode 100644 index 2d64bd6..0000000 --- a/devel/pear-IO_Bit/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (PEAR/IO_Bit-2.1.1.tgz) = 8c4e7461c914b7ab23603d8c0c08952742f1bd6a99451ed718713e17be556369 -SIZE (PEAR/IO_Bit-2.1.1.tgz) = 4110 diff --git a/devel/pear-IO_Bit/pkg-descr b/devel/pear-IO_Bit/pkg-descr deleted file mode 100644 index 972d0cb..0000000 --- a/devel/pear-IO_Bit/pkg-descr +++ /dev/null @@ -1,3 +0,0 @@ -PEAR bit utility - -WWW: http://openpear.org/package/IO_Bit diff --git a/graphics/Makefile b/graphics/Makefile index 695933f7..d1d27c4 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -739,7 +739,6 @@ SUBDIR += partio SUBDIR += pdf2svg SUBDIR += pear-Horde_Image - SUBDIR += pear-IO_SWF SUBDIR += pear-Image_3D SUBDIR += pear-Image_Barcode SUBDIR += pear-Image_Barcode2 diff --git a/graphics/pear-IO_SWF/Makefile b/graphics/pear-IO_SWF/Makefile deleted file mode 100644 index c9a5496..0000000 --- a/graphics/pear-IO_SWF/Makefile +++ /dev/null @@ -1,27 +0,0 @@ -# Created by: TAKATSU Tomonari <tota@FreeBSD.org> -# $FreeBSD$ - -PORTNAME= IO_SWF -PORTVERSION= 2.2.6 -CATEGORIES= graphics www pear -MASTER_SITES= http://openpear.org/get/ \ - LOCAL/tota/${PKGNAMEPREFIX}${PORTNAME} -PKGNAMEPREFIX= pear- - -MAINTAINER= yoya@awm.jp -COMMENT= PEAR library for reading/writing SWF binary - -LICENSE= MIT - -RUN_DEPENDS= pear-IO_Bit>0:${PORTSDIR}/devel/pear-IO_Bit \ - ${PEARDIR}/.channels/openpear.org.reg:${PORTSDIR}/devel/pear-channel-openpear - -BROKEN= unfetchable -DEPRECATED= Unsupported upstream -EXPIRATION_DATE= 2016-03-01 - -USE_PHP= yes -PEAR_CHANNEL= openpear -USES= pear - -.include <bsd.port.mk> diff --git a/graphics/pear-IO_SWF/distinfo b/graphics/pear-IO_SWF/distinfo deleted file mode 100644 index 7d57e69..0000000 --- a/graphics/pear-IO_SWF/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (PEAR/IO_SWF-2.2.6.tgz) = 09aedb086cf8262c110b1fb5230b11c32dd0f391cb98efba5396ad988ce12c35 -SIZE (PEAR/IO_SWF-2.2.6.tgz) = 51136 diff --git a/graphics/pear-IO_SWF/pkg-descr b/graphics/pear-IO_SWF/pkg-descr deleted file mode 100644 index 4c8c883..0000000 --- a/graphics/pear-IO_SWF/pkg-descr +++ /dev/null @@ -1,3 +0,0 @@ -PEAR library for reading/writing SWF binary - -WWW: http://openpear.org/package/IO_SWF diff --git a/net/Makefile b/net/Makefile index 887abb1..a48451d 100644 --- a/net/Makefile +++ b/net/Makefile @@ -256,12 +256,7 @@ SUBDIR += ipxe SUBDIR += irrd SUBDIR += isboot-kmod - SUBDIR += isc-dhcp41-client - SUBDIR += isc-dhcp41-relay SUBDIR += isc-dhcp41-server - SUBDIR += isc-dhcp42-client - SUBDIR += isc-dhcp42-relay - SUBDIR += isc-dhcp42-server SUBDIR += isc-dhcp43-client SUBDIR += isc-dhcp43-relay SUBDIR += isc-dhcp43-server @@ -1168,7 +1163,6 @@ SUBDIR += samba-nmblookup SUBDIR += samba-smbclient SUBDIR += samba36 - SUBDIR += samba4 SUBDIR += samba41 SUBDIR += samba42 SUBDIR += samba43 diff --git a/net/isc-dhcp41-client/Makefile b/net/isc-dhcp41-client/Makefile deleted file mode 100644 index ab7ebe5..0000000 --- a/net/isc-dhcp41-client/Makefile +++ /dev/null @@ -1,8 +0,0 @@ -# $FreeBSD$ - -COMMENT= The ISC Dynamic Host Configuration Protocol client - -SUBSYS= client -MASTERDIR= ${.CURDIR}/../isc-dhcp41-server - -.include "${MASTERDIR}/Makefile" diff --git a/net/isc-dhcp41-client/pkg-descr b/net/isc-dhcp41-client/pkg-descr deleted file mode 100644 index 0ebf230..0000000 --- a/net/isc-dhcp41-client/pkg-descr +++ /dev/null @@ -1,9 +0,0 @@ -The ISC Dynamic Host Configuration Protocol Distribution provides a -freely redistributable reference implementation of all aspects of the -DHCP protocol, through a suite of DHCP tools: - - * A DHCP server - * A DHCP client (this port) - * A DHCP relay agent - -WWW: http://www.isc.org/products/DHCP/ diff --git a/net/isc-dhcp41-client/pkg-message b/net/isc-dhcp41-client/pkg-message deleted file mode 100644 index d42690b..0000000 --- a/net/isc-dhcp41-client/pkg-message +++ /dev/null @@ -1,10 +0,0 @@ -**** To setup dhclient, you may need to edit /etc/rc.conf to replace the - base system dhclient, such as: - - dhclient_program="%%PREFIX%%/sbin/dhclient" - dhclient_flags="-q" - - See dhclient(8), using the following command, for details about other - possible options: - - MANPATH=%%MAN1PREFIX%%/man man 8 dhclient diff --git a/net/isc-dhcp41-client/pkg-plist b/net/isc-dhcp41-client/pkg-plist deleted file mode 100644 index b776bed..0000000 --- a/net/isc-dhcp41-client/pkg-plist +++ /dev/null @@ -1,9 +0,0 @@ -sbin/dhclient -sbin/dhclient-script -man/man5/dhclient.conf.5.gz -man/man5/dhclient.leases.5.gz -man/man8/dhclient.8.gz -man/man8/dhclient-script.8.gz -@sample etc/dhclient.conf.sample -@exec [ -f /var/run/dhclient.leases ] || touch /var/run/dhclient.leases -@unexec [ -s /var/run/dhclient.leases ] || rm -f /var/run/dhclient.leases diff --git a/net/isc-dhcp41-relay/Makefile b/net/isc-dhcp41-relay/Makefile deleted file mode 100644 index e4f9c40..0000000 --- a/net/isc-dhcp41-relay/Makefile +++ /dev/null @@ -1,8 +0,0 @@ -# $FreeBSD$ - -COMMENT= The ISC Dynamic Host Configuration Protocol relay - -SUBSYS= relay -MASTERDIR= ${.CURDIR}/../isc-dhcp41-server - -.include "${MASTERDIR}/Makefile" diff --git a/net/isc-dhcp41-relay/pkg-descr b/net/isc-dhcp41-relay/pkg-descr deleted file mode 100644 index b48f75a..0000000 --- a/net/isc-dhcp41-relay/pkg-descr +++ /dev/null @@ -1,9 +0,0 @@ -The ISC Dynamic Host Configuration Protocol Distribution provides a -freely redistributable reference implementation of all aspects of the -DHCP protocol, through a suite of DHCP tools: - - * A DHCP server - * A DHCP client - * A DHCP relay agent (this port) - -WWW: http://www.isc.org/products/DHCP/ diff --git a/net/isc-dhcp41-relay/pkg-message b/net/isc-dhcp41-relay/pkg-message deleted file mode 100644 index 161fed5..0000000 --- a/net/isc-dhcp41-relay/pkg-message +++ /dev/null @@ -1,8 +0,0 @@ -**** This port installs dhcp relay daemon, but doesn't invoke dhcrelay by - default. If you want to invoke dhcrelay at startup, put these lines - into /etc/rc.conf. - - dhcrelay_enable="YES" - dhcrelay_flags="" # command option(s) - dhcrelay_servers="" # dhcrelay server(s) - dhcrelay_ifaces="" # ethernet interface(s) diff --git a/net/isc-dhcp41-relay/pkg-plist b/net/isc-dhcp41-relay/pkg-plist deleted file mode 100644 index deb1c2c..0000000 --- a/net/isc-dhcp41-relay/pkg-plist +++ /dev/null @@ -1,6 +0,0 @@ -@unexec %D/etc/rc.d/isc-dhcrelay.sh forcestop 2>/dev/null || true -@unexec %D/etc/rc.d/isc-dhcrelay forcestop 2>/dev/null || true -%%IPV6%%@unexec %D/etc/rc.d/isc-dhcrelay6 forcestop 2>/dev/null || true -%%IPV6%%etc/rc.d/isc-dhcrelay6 -sbin/dhcrelay -man/man8/dhcrelay.8.gz diff --git a/net/isc-dhcp42-client/Makefile b/net/isc-dhcp42-client/Makefile deleted file mode 100644 index a230abc..0000000 --- a/net/isc-dhcp42-client/Makefile +++ /dev/null @@ -1,9 +0,0 @@ -# Created by: Ryan Steinmetz <rpsfa@rit.edu> -# $FreeBSD$ - -COMMENT= The ISC Dynamic Host Configuration Protocol client - -SUBSYS= client -MASTERDIR= ${.CURDIR}/../isc-dhcp42-server - -.include "${MASTERDIR}/Makefile" diff --git a/net/isc-dhcp42-client/pkg-descr b/net/isc-dhcp42-client/pkg-descr deleted file mode 100644 index f7aff7b..0000000 --- a/net/isc-dhcp42-client/pkg-descr +++ /dev/null @@ -1,9 +0,0 @@ -The ISC Dynamic Host Configuration Protocol Distribution provides a -freely redistributable reference implementation of all aspects of the -DHCP protocol, through a suite of DHCP tools: - - * A DHCP server - * A DHCP client (this port) - * A DHCP relay agent - -WWW: https://www.isc.org/products/DHCP/ diff --git a/net/isc-dhcp42-client/pkg-message b/net/isc-dhcp42-client/pkg-message deleted file mode 100644 index 0fe9a2b..0000000 --- a/net/isc-dhcp42-client/pkg-message +++ /dev/null @@ -1,10 +0,0 @@ -**** To setup dhclient, you may need to edit /etc/rc.conf to replace the - base system dhclient as follows: - - dhclient_program="%%PREFIX%%/sbin/dhclient" - dhclient_flags="-q" - - See dhclient(8), using the following command, for details about other - possible options: - - MANPATH=%%MAN1PREFIX%%/man man 8 dhclient diff --git a/net/isc-dhcp42-client/pkg-plist b/net/isc-dhcp42-client/pkg-plist deleted file mode 100644 index 4eb1147..0000000 --- a/net/isc-dhcp42-client/pkg-plist +++ /dev/null @@ -1,11 +0,0 @@ -sbin/dhclient -sbin/dhclient-script -man/man5/dhclient.conf.5.gz -man/man5/dhclient.leases.5.gz -man/man8/dhclient.8.gz -man/man8/dhclient-script.8.gz -@unexec if cmp -s %D/etc/dhclient.conf.example %D/etc/dhclient.conf; then rm -f %D/etc/dhclient.conf; fi -etc/dhclient.conf.example -@exec if [ ! -f %D/etc/dhclient.conf ] ; then cp -p %D/%F %B/dhclient.conf; fi -@exec [ -f /var/run/dhclient.leases ] || touch /var/run/dhclient.leases -@unexec [ -s /var/run/dhclient.leases ] || rm -f /var/run/dhclient.leases diff --git a/net/isc-dhcp42-relay/Makefile b/net/isc-dhcp42-relay/Makefile deleted file mode 100644 index e26a0adc..0000000 --- a/net/isc-dhcp42-relay/Makefile +++ /dev/null @@ -1,9 +0,0 @@ -# Created by: Ryan Steinmetz <rpsfa@rit.edu> -# $FreeBSD$ - -COMMENT= The ISC Dynamic Host Configuration Protocol relay - -SUBSYS= relay -MASTERDIR= ${.CURDIR}/../isc-dhcp42-server - -.include "${MASTERDIR}/Makefile" diff --git a/net/isc-dhcp42-relay/pkg-descr b/net/isc-dhcp42-relay/pkg-descr deleted file mode 100644 index 13a4d86..0000000 --- a/net/isc-dhcp42-relay/pkg-descr +++ /dev/null @@ -1,9 +0,0 @@ -The ISC Dynamic Host Configuration Protocol Distribution provides a -freely redistributable reference implementation of all aspects of the -DHCP protocol, through a suite of DHCP tools: - - * A DHCP server - * A DHCP client - * A DHCP relay agent (this port) - -WWW: https://www.isc.org/products/DHCP/ diff --git a/net/isc-dhcp42-relay/pkg-message b/net/isc-dhcp42-relay/pkg-message deleted file mode 100644 index 3b246d6..0000000 --- a/net/isc-dhcp42-relay/pkg-message +++ /dev/null @@ -1,8 +0,0 @@ -**** This port installs the dhcp relay daemon, but doesn't invoke dhcrelay by - default. If you want to invoke dhcrelay at startup, add the following - lines to /etc/rc.conf: - - dhcrelay_enable="YES" - dhcrelay_flags="" # command option(s) - dhcrelay_servers="" # dhcrelay server(s) - dhcrelay_ifaces="" # ethernet interface(s) diff --git a/net/isc-dhcp42-relay/pkg-plist b/net/isc-dhcp42-relay/pkg-plist deleted file mode 100644 index deb1c2c..0000000 --- a/net/isc-dhcp42-relay/pkg-plist +++ /dev/null @@ -1,6 +0,0 @@ -@unexec %D/etc/rc.d/isc-dhcrelay.sh forcestop 2>/dev/null || true -@unexec %D/etc/rc.d/isc-dhcrelay forcestop 2>/dev/null || true -%%IPV6%%@unexec %D/etc/rc.d/isc-dhcrelay6 forcestop 2>/dev/null || true -%%IPV6%%etc/rc.d/isc-dhcrelay6 -sbin/dhcrelay -man/man8/dhcrelay.8.gz diff --git a/net/isc-dhcp42-server/Makefile b/net/isc-dhcp42-server/Makefile deleted file mode 100644 index 0ba9cfe..0000000 --- a/net/isc-dhcp42-server/Makefile +++ /dev/null @@ -1,183 +0,0 @@ -# Created by: Ryan Steinmetz <rpsfa@rit.edu> -# $FreeBSD$ - -PORTNAME= dhcp -DISTVERSION= 4.2.8 -PORTREVISION= ${DHCP_PORTREVISION} -CATEGORIES= net -MASTER_SITES= ISC/${PORTNAME}/${DISTVERSION} -PKGNAMEPREFIX= isc- -PKGNAMESUFFIX= 42-${SUBSYS} -#DISTNAME= ${PORTNAME}-${DISTVERSION}-${PATCHLEVEL} - -MAINTAINER= zi@FreeBSD.org -COMMENT?= ISC Dynamic Host Configuration Protocol server - -LICENSE= ISCL - -USES= gmake - -PATCHLEVEL= P1 -PORTREVISION_SERVER= 1 -PORTREVISION_CLIENT= 0 -PORTREVISION_RELAY= 0 - -DEPRECATED= isc-dhcp 4.2 is End of Life -EXPIRATION_DATE= 2016-03-01 - -SUBSYS?= server -#WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}-${PATCHLEVEL} - -OPTIONS_DEFINE= IPV6 -OPTIONS_DEFAULT=IPV6 - -.if ${SUBSYS} == server -OPTIONS_DEFINE+= PARANOIA LDAP LDAP_SSL BIND_SYMBOLS -OPTIONS_DEFAULT+= PARANOIA LDAP_SSL -PARANOIA_DESC= Enable support for chroot -LDAP_SSL_DESC= Support LDAP over SSL/TLS -BIND_SYMBOLS_DESC= Enable BIND internal symbol table -.endif - -# PORTREVISION and CONFLICTS handling -.if ${SUBSYS} == client -CONFLICTS= isc-dhcp3?-client-[0-9]* isc-dhcp4[13]-client-[0-9]* -DHCP_PORTREVISION= ${PORTREVISION_CLIENT} -.elif ${SUBSYS} == relay -CONFLICTS= isc-dhcp3?-relay-[0-9]* isc-dhcp4[13]-relay-[0-9]* -DHCP_PORTREVISION= ${PORTREVISION_RELAY} -.else -CONFLICTS= isc-dhcp3?-server-[0-9]* isc-dhcp4[13]-server-[0-9]* -DHCP_PORTREVISION= ${PORTREVISION_SERVER} -MAKE_JOBS_UNSAFE= yes -.endif - -.if ${SUBSYS} == server -USERS= dhcpd -GROUPS= dhcpd -.endif - -MAN_COMPRESSED= no -GNU_CONFIGURE= yes -CPPFLAGS+= -D_PATH_DHCLIENT_SCRIPT='\"${PREFIX}/sbin/dhclient-script\"' -D_PATH_DHCLIENT_CONF='\"${PREFIX}/etc/dhclient.conf\"' -D_PATH_DHCPD_CONF='\"${PREFIX}/etc/dhcpd.conf\"' -SCRIPTS_ENV+= PKG_PREFIX=${PREFIX} - -.include <bsd.port.options.mk> - -.if ${SUBSYS} == server -CONFIGURE_ARGS+=--localstatedir=/var -CFLAGS+= -fPIC -.endif - -DESCR= ${.CURDIR}/pkg-descr -PLIST= ${.CURDIR}/pkg-plist - -.if ${SUBSYS} == server -USE_RC_SUBR= isc-dhcpd -.elif ${SUBSYS} == relay -USE_RC_SUBR= isc-dhcrelay -.endif - -SCHEMA_DIR= ${PREFIX}/share/${PKGBASE} -DOCSDIR= ${PREFIX}/share/doc/${PKGBASE} -DATADIR= /var/db - -MSG_FILE= ${.CURDIR}/pkg-message -PKGMESSAGE= ${WRKDIR}/pkg-message - -REINPLACE_SUB= PREFIX="${PREFIX}" -PKGMESSAGE_SUB= PREFIX="${PREFIX}" MAN1PREFIX="${MAN1PREFIX}" \ - DOCSDIR="${DOCSDIR}" - -.if ${PORT_OPTIONS:MPARANOIA} -CONFIGURE_ARGS+=--enable-paranoia --enable-early-chroot -SUB_LIST+= PARANOIA="yes" -.else -SUB_LIST+= PARANOIA="no" -.endif - -.if ${PORT_OPTIONS:MLDAP} -CONFIGURE_ARGS+=--with-ldap -USE_OPENLDAP= yes -LDAP_SCRIPT= ${WRKSRC}/contrib/ldap/dhcpd-conf-to-ldap -LDAP_SCHEMA= ${WRKSRC}/contrib/ldap/dhcp.schema -LDAP_README= ${WRKSRC}/contrib/ldap/README.ldap -CPPFLAGS+= -I${LOCALBASE}/include -LIBS+= -L${LOCALBASE}/lib -PORTDOCS+= README.ldap -PLIST_SUB+= SCHEMA_DIR="${SCHEMA_DIR:S,^${PREFIX}/,,}" LDAP="" -USES+= shebangfix -SHEBANG_FILES= contrib/ldap/dhcpd-conf-to-ldap -.else -PLIST_SUB+= LDAP="@comment " -.endif - -.if ${PORT_OPTIONS:MLDAP_SSL} && ${PORT_OPTIONS:MLDAP} -USE_OPENSSL= yes -CONFIGURE_ARGS+=--with-ldapcrypto -LIBS+= -lssl -.include "${PORTSDIR}/Mk/bsd.openssl.mk" -.endif - -.if ${PORT_OPTIONS:MIPV6} -CONFIGURE_ARGS+=--enable-dhcpv6 -PLIST_SUB+= IPV6="" -.else -CONFIGURE_ARGS+=--disable-dhcpv6 -PLIST_SUB+= IPV6="@comment " -.endif - -.if ${PORT_OPTIONS:MBIND_SYMBOLS} -USES+= perl5 -.else -EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-bind__Makefile -.endif - -post-patch: - @${SED} ${PKGMESSAGE_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ - ${MSG_FILE} > ${PKGMESSAGE} - @${REINPLACE_CMD} -e 's|/usr/local||g' \ - ${WRKSRC}/doc/examples/dhcpd-dhcpv6.conf - @${REINPLACE_CMD} ${REINPLACE_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ - ${WRKSRC}/client/dhclient.conf.example - -do-install: - ${SETENV} DESTDIR=${STAGEDIR} ${MAKE} -C ${WRKSRC}/${SUBSYS} install -.if ${SUBSYS} == server - ${SETENV} DESTDIR=${STAGEDIR} ${MAKE} -C ${WRKSRC}/dhcpctl install - ${SETENV} DESTDIR=${STAGEDIR} ${MAKE} -C ${WRKSRC}/dst install - ${SETENV} DESTDIR=${STAGEDIR} ${MAKE} -C ${WRKSRC}/omapip install - ${SETENV} DESTDIR=${STAGEDIR} ${MAKE} -C ${WRKSRC}/includes install - ${SETENV} DESTDIR=${STAGEDIR} ${MAKE} -C ${WRKSRC}/common install - ${INSTALL_DATA} ${WRKSRC}/dhcpctl/dhcpctl.h ${STAGEDIR}${PREFIX}/include -.if ${PORT_OPTIONS:MIPV6} - ${INSTALL_DATA} ${WRKSRC}/doc/examples/dhcpd-dhcpv6.conf \ - ${STAGEDIR}${PREFIX}/etc/dhcpd6.conf.example -.endif -.if ${PORT_OPTIONS:MLDAP} - @${MKDIR} ${STAGEDIR}${SCHEMA_DIR} - ${INSTALL_DATA} ${LDAP_SCHEMA} ${STAGEDIR}${SCHEMA_DIR} - ${INSTALL_SCRIPT} ${LDAP_SCRIPT} ${STAGEDIR}${PREFIX}/bin -.endif -.if ${PORT_OPTIONS:MLDAP} - ${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_MAN} ${LDAP_README} ${STAGEDIR}${DOCSDIR} -.endif -.endif - -post-install: -.if ${SUBSYS} == client - ${INSTALL_SCRIPT} ${WRKSRC}/client/scripts/freebsd ${STAGEDIR}${PREFIX}/sbin/dhclient-script -.elif ${SUBSYS} == server -.if ${PORT_OPTIONS:MIPV6} - @${LN} -sf isc-dhcpd ${STAGEDIR}${PREFIX}/etc/rc.d/isc-dhcpd6 -.endif -.elif ${SUBSYS} == relay -.if ${PORT_OPTIONS:MIPV6} - @${LN} -sf isc-dhcrelay ${STAGEDIR}${PREFIX}/etc/rc.d/isc-dhcrelay6 -.endif -.endif - @${SED} ${PKGMESSAGE_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ - ${MSG_FILE} > ${PKGMESSAGE} - -.include <bsd.port.mk> diff --git a/net/isc-dhcp42-server/distinfo b/net/isc-dhcp42-server/distinfo deleted file mode 100644 index cae7f4c..0000000 --- a/net/isc-dhcp42-server/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (dhcp-4.2.8.tar.gz) = 8503088f25c98cd084992424d3b6fc5d18e6321ade6a573233562c4b9077fa3d -SIZE (dhcp-4.2.8.tar.gz) = 9181269 diff --git a/net/isc-dhcp42-server/files/extra-patch-bind__Makefile b/net/isc-dhcp42-server/files/extra-patch-bind__Makefile deleted file mode 100644 index ac25594..0000000 --- a/net/isc-dhcp42-server/files/extra-patch-bind__Makefile +++ /dev/null @@ -1,11 +0,0 @@ ---- ./bind/Makefile.orig 2012-06-05 20:35:33.000000000 -0400 -+++ ./bind/Makefile 2012-06-05 20:35:41.000000000 -0400 -@@ -52,7 +52,7 @@ - else \ - echo Configuring BIND Export libraries for DHCP. ; \ - rm -rf ./lib ./include ./configure.log ./build.log ./install.log ; \ -- (cd ${bindsrcdir} && ./configure --disable-kqueue --disable-epoll --disable-devpoll --without-openssl --without-libxml2 --enable-exportlib --enable-threads=no --with-export-includedir=${binddir}/include --with-export-libdir=${binddir}/lib --with-gssapi=no > ${binddir}/configure.log); \ -+ (cd ${bindsrcdir} && ./configure --disable-symtable --disable-kqueue --disable-epoll --disable-devpoll --without-openssl --without-libxml2 --enable-exportlib --enable-threads=no --with-export-includedir=${binddir}/include --with-export-libdir=${binddir}/lib --with-gssapi=no > ${binddir}/configure.log); \ - fi - - # Build and install the export libraries diff --git a/net/isc-dhcp42-server/files/isc-dhcpd.in b/net/isc-dhcp42-server/files/isc-dhcpd.in deleted file mode 100644 index 66a2a9c..0000000 --- a/net/isc-dhcp42-server/files/isc-dhcpd.in +++ /dev/null @@ -1,526 +0,0 @@ -#! /bin/sh - -# $FreeBSD$ -# -# PROVIDE: dhcpd -# REQUIRE: DAEMON -# BEFORE: LOGIN -# KEYWORD: shutdown -# -# Add the following line to /etc/rc.conf to enable dhcpd: -# -# dhcpd_enable="YES" - -. /etc/rc.subr - -case $0 in -/etc/rc*) - # during boot (shutdown) $0 is /etc/rc (/etc/rc.shutdown), - # so get the name of the script from $_file - name=$_file - ;; -*) - name=$0 - ;; -esac - -name=${name##*/isc-} -paranoia=%%PARANOIA%% # compiled in paranoia? - -load_rc_config ${name} - -# override these variables in /etc/rc.conf -eval ": \${${name}_enable:=\"NO\"}" -# dhcpd_flags="" # -q -early_chroot # command option(s) -# dhcpd_ifaces="" # ethernet interface(s) -eval ": \${${name}_conf:=%%PREFIX%%/etc/${name}.conf}" # configuration file -eval ": \${${name}_withumask:=022}" # file creation mask - -eval ": \${${name}_chuser_enable:=\"%%PARANOIA%%\"}" # runs w/o privileges? -eval ": \${${name}_withuser:=dhcpd}" # user name to run as -eval ": \${${name}_withgroup:=dhcpd}" # group name to run as - -eval ": \${${name}_chroot_enable:=\"NO\"}" # runs chrooted? -eval ": \${${name}_devfs_enable:=\"YES\"}" # devfs if available? -eval ": \${${name}_rootdir:=/var/db/${name}}" # directory to run in -# dhcpd_includedir="" # directory for included config files - -safe_run () # rc command [args...] -{ - local _rc - - _rc=$1 - shift - - if [ "${_rc}" -eq 0 ]; then - debug safe_run: "$@" - "$@" || _rc=1 - else - warn safe_run: "$@" - fi - return ${_rc} -} - -precious () # entry... -{ - local _entry _rc - - _rc=0 - for _entry; do - # do nothing if /dev, /var/run or /var/db - echo ${_entry} | egrep -q '^//*(dev|var//*(run|db))?/*$' || _rc=1 - done - debug precious: "$@" rc=${_rc} - return ${_rc} -} - -lsmod () # user group file... -{ - local _entry _user _group _rc - - _user=$1 _group=$2 - shift 2 - - _rc=0 - for _entry; do - ls -ld ${_entry} 2> /dev/null | - awk -v u=${_user} -v g=${_group} '{ - exit ((u && $3 != u) || (g && $4 != g)) - }' || _rc=1 - done - debug lsmod: "$@" rc=${_rc} - return ${_rc} -} - -safe_chmog () # entry... -{ - local _entry _user _group _usergroup _rc - - eval "_user=\${${name}_withuser}" - eval "_group=\${${name}_withgroup}" - - _rc=0 - if [ -n "${_user}" -o -n "${_group}" ]; then - _usergroup=${_user}${_group:+:${_group}} - for _entry; do - if [ -d ${_entry} ] && mounted ${_entry}; then - continue - fi - if [ -e ${_entry} ] && - ! precious ${_entry} && - ! lsmod ${_user} ${_group} ${_entry} && - ! safe_run ${_rc} chown ${_usergroup} ${_entry}; then - warn "unable to change permissions of ${_entry}" - _rc=1 - fi - done - fi - return ${_rc} -} - -safe_mkdir () # dir... -{ - local _dir _rc - - _rc=0 - for _dir; do - if [ ! -d ${_dir} ] && - ! precious ${_dir} && - ! safe_run ${_rc} mkdir -p ${_dir}; then - err 1 "unable to create directory ${_dir}" - _rc=1 - fi - done - safe_run ${_rc} safe_chmog "$@" || _rc=1 - return ${_rc} -} - -safe_rmdir () # dir... -{ - local _dir _rc - - _rc=0 - for _dir; do - if [ -d ${_dir} ] && - ! precious ${_dir} && - ! mounted ${_dir}; then - if safe_run ${_rc} rmdir ${_dir}; then - safe_run ${_rc} safe_rmdir ${_dir%/*} || _rc=1 - else - warn "unable to remove directory ${_dir}" - _rc=1 - fi - fi - done - return ${_rc} -} - -safe_touch () # file... -{ - local _file _rc - - _rc=0 - for _file; do - if [ ! -e ${_file} ] && - ! safe_run ${_rc} touch ${_file}; then - err 1 "unable to create file ${_file}" - _rc=1 - fi - done - safe_run ${_rc} safe_chmog "$@" || _rc=1 - return ${_rc} -} - -safe_remove () # entry... -{ - local _entry _rc - - _rc=0 - for _entry; do - if [ -f ${_entry} ]; then - if ! safe_run ${_rc} rm -f ${_entry}; then - warn "unable to remove file ${_entry}" - _rc=1 - fi - elif [ -d ${_entry} ] && - ! precious ${_entry} && - ! mounted ${_entry}; then - if ! safe_run ${_rc} rm -rf ${_entry}; then - warn "unable to remove directory ${_entry}" - _rc=1 - fi - fi - done - return ${_rc} -} - -safe_copy () # src dst -{ - local _src _dst _rc - - _src=$1 _dst=$2 - - _rc=0 - if [ -f ${_src} ]; then - if ! safe_run ${_rc} safe_remove ${_dst} || - ! safe_run ${_rc} cp -p ${_src} ${_dst}; then - err 1 "unable to copy file ${_src} to ${_dst}" - _rc=1 - fi - safe_run ${_rc} safe_chmog ${_dst} || _rc=1 - elif [ -d ${_src} ] && - ! precious ${_dst} && - ! mounted ${_dst}; then - if ! safe_run ${_rc} pax -rw -pe -ts "|^${_src}||" \ - ${_src} ${_dst}; then - err 1 "unable to copy directory ${_src} to ${_dst}" - _rc=1 - fi - else - err 1 "unable to copy ${_src} to ${_dst}" \ - "-- not a file or a directory" - _rc=1 - fi - return ${_rc} -} - -mounted () # dir... -{ - local _rc - - _rc=1 - if checkyesno ${name}_devfs_enable; then - mount -t devfs | awk ' - BEGIN { n = ARGC; ARGC = 2 } - { for (i = 2; i != n; i++) if ($3 == ARGV[i]) exit 1 } - ' - "$@" || _rc=0 - fi - debug mounted: "$@" rc=${_rc} - return ${_rc} -} - -safe_mount () # dir -{ - local _dir _rc - - _dir=$1 - - _rc=0 - if checkyesno ${name}_devfs_enable && - ! mounted ${_dir} && - ! safe_run ${_rc} mount -t devfs devfs ${_dir}; then - err 1 "unable to mount ${_dir}" - _rc=1 - fi - return ${_rc} -} - -safe_umount () # dir -{ - local _dir _rc - - _dir=$1 - - _rc=0 - if checkyesno ${name}_devfs_enable && - mounted ${_dir} && - ! safe_run ${_rc} umount ${_dir}; then - warn "unable to unmount ${_dir}" - _rc=1 - fi - return ${_rc} -} - -check_chuser () -{ - if checkyesno paranoia; then - if checkyesno ${name}_chuser_enable && - eval "[ -z \"\${${name}_withuser}\" -a -z \"\${${name}_withgroup}\" ]"; then - err 1 "one of ${name}_withuser and ${name}_withgroup" \ - "must be set if ${name}_chuser_enable is enabled" - fi - else - if checkyesno ${name}_chuser_enable; then - warn "${name}_chuser_enable disabled -- not compiled in" - eval "${name}_chuser_enable=NO" - fi - fi -} - -check_chroot () -{ - if checkyesno paranoia; then - if checkyesno ${name}_chroot_enable; then - if eval "[ -z \"\${${name}_rootdir}\" ]"; then - err 1 "${name}_rootdir must be set" \ - "if ${name}_chroot_enable is enabled" - fi - else - eval "${name}_devfs_enable=NO" - fi - else - if checkyesno ${name}_chroot_enable; then - warn "${name}_chroot_enable disabled -- not compiled in" - eval "${name}_chroot_enable=NO" - fi - eval "${name}_devfs_enable=NO" - fi -} - -rcvar_chuser () -{ - if checkyesno paranoia && checkyesno ${name}_chuser_enable; then - eval "${name}_piddir=\${__dhcpd_piddir}/\${name}" - eval "${name}_leasesdir=\${__dhcpd_leasesdir}/\${name}" - else - eval unset "${name}_withuser= ${name}_withgroup=" - fi -} - -rcvar_chroot () -{ - if ! checkyesno paranoia || ! checkyesno ${name}_chroot_enable; then - eval "${name}_rootdir=" - elif checkyesno paranoia && checkyesno ${name}_chroot_enable; then - eval "${name}_devdir=\${__dhcpd_devdir}" - eval "${name}_etcdir=\${__dhcpd_etcdir}" - fi -} - -rcvar_pidnleases () -{ - if ! checkyesno ${name}_chuser_enable; then - eval "${name}_piddir=\${__dhcpd_piddir}" - eval "${name}_leasesdir=\${__dhcpd_leasesdir}" - fi - eval "${name}_pidfile=\${${name}_piddir}/\${name}.pid" - eval "${name}_leasesfile=\${${name}_leasesdir}/\${name}.leases" - eval "${name}_conffile=\${${name}_conf}" # for convenience only - eval "${name}_confdir=\$(dirname \${${name}_conffile})" -} - -rcvar_rooted () -{ - eval "_dhcpd_rootdir=\${${name}_rootdir}" - eval "_dhcpd_devdir=\${${name}_rootdir}\${${name}_devdir}" - eval "_dhcpd_etcdir=\${${name}_rootdir}\${${name}_etcdir}" - eval "_dhcpd_confdir=\${${name}_rootdir}\${${name}_confdir}" - eval "_dhcpd_includedir=\${${name}_rootdir}\${${name}_includedir}" - eval "_dhcpd_piddir=\${${name}_rootdir}\${${name}_piddir}" - eval "_dhcpd_leasesdir=\${${name}_rootdir}\${${name}_leasesdir}" - eval "_dhcpd_conffile=\${${name}_rootdir}\${${name}_conffile}" - eval "_dhcpd_pidfile=\${${name}_rootdir}\${${name}_pidfile}" - eval "_dhcpd_leasesfile=\${${name}_rootdir}\${${name}_leasesfile}" -} - -setup_umask () -{ - if eval "[ -n \"\${${name}_withumask}\" ]"; then - eval "umask \${${name}_withumask}" - fi -} - -setup_chroot () -{ - local _hconf _hosts _ltime _rconf - - _hconf=host.conf - _hosts=hosts - _ltime=localtime - _rconf=resolv.conf - - if checkyesno paranoia && checkyesno ${name}_chroot_enable; then - if ! mounted ${_dhcpd_devdir}; then - safe_mkdir ${_dhcpd_devdir}/_ - # XXX /_ hack! so, .../dev is root owned. - fi - safe_mkdir ${_dhcpd_rootdir} ${_dhcpd_etcdir}/_ ${_dhcpd_confdir} - # XXX /_ hack! so, .../etc is root owned. - if checkyesno ${name}_devfs_enable; then - safe_mount ${_dhcpd_devdir} - else - eval "safe_copy \${${name}_devdir} \${_dhcpd_devdir}" - fi - eval "safe_copy \${${name}_conffile} \${_dhcpd_conffile}" - eval "safe_copy \${${name}_etcdir}/\$_hconf \${_dhcpd_etcdir}/\$_hconf" - eval "safe_copy \${${name}_etcdir}/\$_hosts \${_dhcpd_etcdir}/\$_hosts" - # copy localtime only if it exists - if eval "[ -f \"\${${name}_etcdir}/\$_ltime\" ]"; then - eval "safe_copy \${${name}_etcdir}/\$_ltime \${_dhcpd_etcdir}/\$_ltime" - fi - eval "safe_copy \${${name}_etcdir}/\$_rconf \${_dhcpd_etcdir}/\$_rconf" - # copy dhcpd_includedir if defined and available - if eval "[ -d \"\${${name}_includedir}\" ]"; then - safe_mkdir ${_dhcpd_includedir} - eval "safe_copy \${${name}_includedir} \${_dhcpd_includedir}" - fi - fi -} - -setup_chuser () -{ - if checkyesno paranoia && { - checkyesno ${name}_chuser_enable || checkyesno ${name}_chroot_enable - }; then - safe_mkdir ${_dhcpd_piddir} ${_dhcpd_leasesdir} - fi -} - -setup_leases () -{ - safe_touch ${_dhcpd_leasesfile} -} - -setup_flags () -{ - if [ "${name}" = "dhcpd6" ]; then - rc_flags="${rc_flags} -6" - fi - if eval "[ -n \"\${${name}_conf}\" ]"; then - eval "rc_flags=\"\${rc_flags} -cf \${${name}_conf}\"" - fi - if eval "[ -n \"\${${name}_leasesfile}\" ]"; then - eval "rc_flags=\"\${rc_flags} -lf \${${name}_leasesfile}\"" - fi - if eval "[ -n \"\${${name}_pidfile}\" ]"; then - eval "rc_flags=\"\${rc_flags} -pf \${${name}_pidfile}\"" - fi - if eval "[ -n \"\${${name}_withuser}\" ]"; then - eval "rc_flags=\"\${rc_flags} -user \${${name}_withuser}\"" - fi - if eval "[ -n \"\${${name}_withgroup}\" ]"; then - eval "rc_flags=\"\${rc_flags} -group \${${name}_withgroup}\"" - fi - if eval "[ -n \"\${${name}_rootdir}\" ]"; then - eval "rc_flags=\"\${rc_flags} -chroot \${${name}_rootdir}\"" - fi - eval "rc_flags=\"\${rc_flags} \${${name}_ifaces}\"" -} - -cleanup_chroot () -{ - if checkyesno paranoia && checkyesno ${name}_chroot_enable; then - safe_umount ${_dhcpd_devdir} - fi -} - -dhcpd_stop () -{ - if sh $0 forcestatus; then - sh $0 forcestop - fi -} - -dhcpd_check () -{ - check_chuser - check_chroot -} - -dhcpd_rcvar () -{ - rcvar_chuser - rcvar_chroot - rcvar_pidnleases - rcvar_rooted -} - -dhcpd_precmd () -{ - setup_umask - setup_chroot - setup_chuser - setup_leases - setup_flags -} - -dhcpd_postcmd () -{ - cleanup_chroot -} - -dhcpd_restartprecmd () -{ - setup_chroot - setup_flags - dhcpd_checkconfig -} - -dhcpd_checkconfig () -{ - local rc_flags_mod - setup_flags - rc_flags_mod="$rc_flags" - # Eliminate '-q' flag if it is present - case "$rc_flags" in - *-q*) rc_flags_mod=`echo "${rc_flags}" | sed -Ee 's/(^-q | -q | -q$)//'` ;; - esac - if ! ${command} -t -q ${rc_flags_mod}; then - err 1 "`${command} -t ${rc_flags_mod}` Configuration file sanity check failed" - fi -} - -rcvar=${name}_enable -load_rc_config ${name} - -__dhcpd_uninstall="NO" # internal use only -__dhcpd_devdir=/dev # devices directory -__dhcpd_etcdir=/etc # etc directory -__dhcpd_piddir=/var/run # pid file directory -__dhcpd_leasesdir=/var/db # leases file directory -#__dhcpd_rootdir=/var/db/${name} # root directory - -dhcpd_check -dhcpd_rcvar - -command=%%PREFIX%%/sbin/dhcpd -pidfile=${_dhcpd_pidfile} -eval "required_files=\${${name}_conf}" -start_precmd=dhcpd_precmd -stop_postcmd=dhcpd_postcmd -restart_precmd="dhcpd_restartprecmd" -uninstall_cmd=dhcpd_uninstall -configtest_cmd="dhcpd_restartprecmd" -extra_commands="uninstall configtest" - -run_rc_command "$1" diff --git a/net/isc-dhcp42-server/files/isc-dhcrelay.in b/net/isc-dhcp42-server/files/isc-dhcrelay.in deleted file mode 100644 index f629350..0000000 --- a/net/isc-dhcp42-server/files/isc-dhcrelay.in +++ /dev/null @@ -1,101 +0,0 @@ -#!/bin/sh - -# $FreeBSD$ -# -# PROVIDE: dhcrelay -# REQUIRE: DAEMON -# KEYWORD: shutdown -# -# Add the following line to /etc/rc.conf to enable dhcrelay: -# -# dhcrelay_enable="YES" - -# override these variables in /etc/rc.conf -dhcrelay_enable=${dhcrelay_enable:-"NO"} -dhcrelay6_enable=${dhcrelay6_enable:-"NO"} -# dhcrelay_flags="" # command option(s) -# dhcrelay_servers="" # v4 dhcrelay server(s) -# dhcrelay_ifaces="" # v4 ethernet interface(s) -# dhcrelay6_lowers="" # v6 "lower" network interface(s) -# dhcrelay6_uppers="" # v6 "upper" network interface(s) - - -case $0 in -/etc/rc*) - # during boot (shutdown) $0 is /etc/rc (/etc/rc.shutdown), - # so get the name of the script from $_file - name=$_file - ;; -*) - name=$0 - ;; -esac - -name=${name##*/isc-} - -case ${name} in -*6) - ipversion=-6 - ;; -*) - ipversion=-4 - ;; -esac - -dhcrelay_precmd () -{ - local ifaces _servers _ifaces - - eval "_servers=\${${name}_servers}" - eval "_ifaces=\${${name}_ifaces}" - - if [ -z "${_servers}" ]; then - err 1 "no ${name} server(s) configured." - fi - - ifaces= - for iface in ${_ifaces}; do - ifaces="${ifaces} -i ${iface}" - done - - rc_flags="${rc_flags} ${ipversion} ${ifaces} ${_servers}" -} - -dhcrelay6_precmd () -{ - local lowers _lowers uppers _uppers - - eval "_lowers=\${${name}_lowers}" - eval "_uppers=\${${name}_uppers}" - - if [ -z "${_lowers}" ]; then - err 1 "no ${name} lower(s) configured." - fi - - if [ -z "${_uppers}" ]; then - err 1 "no ${name} upper(s) configured." - fi - - lowers= - for lower in ${_lowers}; do - lowers="${lowers} -l ${lower}" - done - - uppers= - for upper in ${_uppers}; do - uppers="${uppers} -u ${upper}" - done - - rc_flags="${rc_flags} ${ipversion} ${lowers} ${uppers}" -} - -. /etc/rc.subr - -rcvar=${name}_enable - -command=%%PREFIX%%/sbin/dhcrelay -pidfile=/var/run/${name}.pid -start_precmd=${name}_precmd - -load_rc_config ${name} -run_rc_command "$1" diff --git a/net/isc-dhcp42-server/files/patch-client__dhclient.conf.example b/net/isc-dhcp42-server/files/patch-client__dhclient.conf.example deleted file mode 100644 index 3a5622e..0000000 --- a/net/isc-dhcp42-server/files/patch-client__dhclient.conf.example +++ /dev/null @@ -1,11 +0,0 @@ ---- ./client/dhclient.conf.example.orig 2013-01-25 20:26:40.000000000 -0500 -+++ ./client/dhclient.conf.example 2013-01-25 20:26:53.000000000 -0500 -@@ -11,7 +11,7 @@ - reboot 10; - select-timeout 5; - initial-interval 2; --script "/etc/dhclient-script"; -+script "%%PREFIX%%/sbin/dhclient-script"; - media "-link0 -link1 -link2", "link0 link1"; - reject 192.33.137.209; - diff --git a/net/isc-dhcp42-server/files/patch-server_confpars.c b/net/isc-dhcp42-server/files/patch-server_confpars.c deleted file mode 100644 index a60f41c..0000000 --- a/net/isc-dhcp42-server/files/patch-server_confpars.c +++ /dev/null @@ -1,43 +0,0 @@ ---- server/confpars.c.orig 2015-02-27 13:42:45 UTC -+++ server/confpars.c -@@ -3926,28 +3926,10 @@ parse_prefix6(struct parse *cfile, struc - return; - } - -- /* Make sure starting prefix is within the subnet */ -- if (!addr_eq(group->subnet->net, -- subnet_number(lo, group->subnet->netmask))) { -- parse_warn(cfile, "prefix6 start prefix" -- " is outside the subnet"); -- skip_to_semi(cfile); -- return; -- } -- - if (!parse_ip6_addr(cfile, &hi)) { - return; - } - -- /* Make sure ending prefix is within the subnet */ -- if (!addr_eq(group->subnet->net, -- subnet_number(hi, group->subnet->netmask))) { -- parse_warn(cfile, "prefix6 end prefix" -- " is outside the subnet"); -- skip_to_semi(cfile); -- return; -- } -- - /* - * Next is '/' number ';'. - */ -@@ -3970,11 +3952,6 @@ parse_prefix6(struct parse *cfile, struc - parse_warn(cfile, "networks have 0 to 128 bits (exclusive)"); - return; - } -- if (bits < group->subnet->prefix_len) { -- parse_warn(cfile, "network mask smaller than subnet mask"); -- skip_to_semi(cfile); -- return; -- } - if (!is_cidr_mask_valid(&lo, bits) || - !is_cidr_mask_valid(&hi, bits)) { - parse_warn(cfile, "network mask too short"); diff --git a/net/isc-dhcp42-server/pkg-descr b/net/isc-dhcp42-server/pkg-descr deleted file mode 100644 index 54058e9..0000000 --- a/net/isc-dhcp42-server/pkg-descr +++ /dev/null @@ -1,9 +0,0 @@ -The ISC Dynamic Host Configuration Protocol Distribution provides a -freely redistributable reference implementation of all aspects of the -DHCP protocol, through a suite of DHCP tools: - - * A DHCP server (this port) - * A DHCP client - * A DHCP relay agent - -WWW: https://www.isc.org/products/DHCP/ diff --git a/net/isc-dhcp42-server/pkg-message b/net/isc-dhcp42-server/pkg-message deleted file mode 100644 index a481bc1..0000000 --- a/net/isc-dhcp42-server/pkg-message +++ /dev/null @@ -1,26 +0,0 @@ -**** To setup dhcpd, please edit %%PREFIX%%/etc/dhcpd.conf. - -**** This port installs the dhcp daemon, but doesn't invoke dhcpd by default. - If you want to invoke dhcpd at startup, add these lines to /etc/rc.conf: - - dhcpd_enable="YES" # dhcpd enabled? - dhcpd_flags="-q" # command option(s) - dhcpd_conf="%%PREFIX%%/etc/dhcpd.conf" # configuration file - dhcpd_ifaces="" # ethernet interface(s) - dhcpd_withumask="022" # file creation mask - -**** If compiled with paranoia support (the default), the following rc.conf - options are also supported: - - dhcpd_chuser_enable="YES" # runs w/o privileges? - dhcpd_withuser="dhcpd" # user name to run as - dhcpd_withgroup="dhcpd" # group name to run as - dhcpd_chroot_enable="YES" # runs chrooted? - dhcpd_devfs_enable="YES" # use devfs if available? - dhcpd_rootdir="/var/db/dhcpd" # directory to run in - dhcpd_includedir="<some_dir>" # directory with config- - files to include - -**** WARNING: never edit the chrooted or jailed dhcpd.conf file but - %%PREFIX%%/etc/dhcpd.conf instead which is always copied where - needed upon startup. diff --git a/net/isc-dhcp42-server/pkg-plist b/net/isc-dhcp42-server/pkg-plist deleted file mode 100644 index d090f66..0000000 --- a/net/isc-dhcp42-server/pkg-plist +++ /dev/null @@ -1,34 +0,0 @@ -@unexec echo "You should stop the dhcpd and dhcpd6 daemons if you are permanently removing this port." -@unexec if cmp -s %D/etc/dhcpd.conf.example %D/etc/dhcpd.conf; then rm -f %D/etc/dhcpd.conf; fi -etc/dhcpd.conf.example -@exec if [ ! -f %D/etc/dhcpd.conf ] ; then cp -p %D/%F %B/dhcpd.conf; fi -%%IPV6%%@unexec if cmp -s %D/etc/dhcpd6.conf.example %D/etc/dhcpd6.conf; then rm -f %D/etc/dhcpd6.conf; fi -%%IPV6%%etc/dhcpd6.conf.example -%%IPV6%%@exec if [ ! -f %D/etc/dhcpd6.conf ] ; then cp -p %D/%F %B/dhcpd6.conf; fi -%%IPV6%%etc/rc.d/isc-dhcpd6 -sbin/dhcpd -bin/omshell -%%LDAP%%bin/dhcpd-conf-to-ldap -man/man1/omshell.1.gz -man/man3/dhcpctl.3.gz -man/man3/omapi.3.gz -man/man5/dhcpd.conf.5.gz -man/man5/dhcpd.leases.5.gz -man/man5/dhcp-eval.5.gz -man/man5/dhcp-options.5.gz -man/man8/dhcpd.8.gz -include/dhcpctl.h -include/isc-dhcp/dst.h -include/omapip/alloc.h -include/omapip/buffer.h -include/omapip/omapip.h -include/omapip/omapip_p.h -include/omapip/hash.h -include/omapip/trace.h -include/omapip/convert.h -include/omapip/isclib.h -include/omapip/result.h -lib/libdhcpctl.a -lib/libomapi.a -lib/libdst.a -%%LDAP%%%%SCHEMA_DIR%%/dhcp.schema diff --git a/net/samba4/Makefile b/net/samba4/Makefile deleted file mode 100644 index 9c9fe54..0000000 --- a/net/samba4/Makefile +++ /dev/null @@ -1,530 +0,0 @@ -# Created by: timur@FreeBSD.org -# $FreeBSD$ - -PORTNAME?= ${SAMBA4_BASENAME}4 -PORTVERSION?= ${SAMBA4_VERSION} -PORTREVISION?= 4 -CATEGORIES?= net -MASTER_SITES= SAMBA/samba/stable SAMBA/samba/rc -DISTNAME= ${SAMBA4_DISTNAME} - -MAINTAINER?= timur@FreeBSD.org -COMMENT?= Free SMB/CIFS and AD/DC server and client for Unix - -LICENSE= GPLv3 - -CONFLICTS?= *samba3[2-6]-3.* samba4[1-3]-4.[1-3].* p5-Parse-Pidl-[0-9]* - -DEPRECATED= not supported by the upstream -EXPIRATION_DATE= 2016-03-01 - -SAMBA4_BASENAME= samba -SAMBA4_PORTNAME= ${SAMBA4_BASENAME}4 -SAMBA4_VERSION= 4.0.26 -SAMBA4_DISTNAME= ${SAMBA4_BASENAME}-${SAMBA4_VERSION:S|.p|pre|:S|.r|rc|:S|.t|tp|:S|.a|alpha|} - -WRKSRC?= ${WRKDIR}/${DISTNAME} - -.if !defined(SAMBA4_SUBPORT) -CPE_VENDOR= samba -CPE_PRODUCT= samba -# Directories -VARDIR= ${DESTDIR}/var -SAMBA4_RUNDIR= ${VARDIR}/run/${SAMBA4_PORTNAME} -SAMBA4_LOGDIR= ${VARDIR}/log/${SAMBA4_PORTNAME} -SAMBA4_LOCKDIR= ${VARDIR}/db/${SAMBA4_PORTNAME} -SAMBA4_PRIVATEDIR= ${SAMBA4_LOCKDIR}/private -SAMBA4_LIBDIR= ${PREFIX}/lib -SAMBA4_MODULEDIR= ${SAMBA4_LIBDIR}/shared-modules -SAMBA4_INCLUDEDIR= ${PREFIX}/include/${SAMBA4_PORTNAME} -SAMBA4_CONFDIR= ${PREFIX}/etc -SAMBA4_CONFIG= smb4.conf - -CONFIGURE_ARGS+= --exec-prefix="${PREFIX}" \ - --mandir="${MANPREFIX}/man" \ - --sysconfdir="${SAMBA4_CONFDIR}" \ - --includedir="${SAMBA4_INCLUDEDIR}" \ - --datadir="${DATADIR}" \ - --libdir="${SAMBA4_LIBDIR}" \ - --with-pammodulesdir="${SAMBA4_LIBDIR}" \ - --with-privatelibdir="${SAMBA4_LIBDIR}/samba" \ - --with-modulesdir="${SAMBA4_MODULEDIR}" \ - --with-pkgconfigdir="${PKGCONFIGDIR}" \ - --localstatedir="${VARDIR}" \ - --with-piddir="${SAMBA4_RUNDIR}" \ - --with-sockets-dir="${SAMBA4_RUNDIR}" \ - --with-privileged-socket-dir="${SAMBA4_RUNDIR}" \ - --with-lockdir="${SAMBA4_LOCKDIR}" \ - --with-statedir="${SAMBA4_LOCKDIR}" \ - --with-cachedir="${SAMBA4_LOCKDIR}" \ - --with-privatedir="${SAMBA4_PRIVATEDIR}" \ - --with-logfilebase="${SAMBA4_LOGDIR}" -# Flags -CONFIGURE_ENV+= PTHREAD_LDFLAGS="-lpthread" - -USES= cpe compiler waf pkgconfig perl5 python:2 \ - execinfo readline iconv shebangfix -USE_PERL5= build -USE_LDCONFIG= ${SAMBA4_LIBDIR} -WAF_CMD= buildtools/bin/waf -CONFIGURE_LOG= bin/config.log - -PKGCONFIGDIR?= ${PREFIX}/libdata/pkgconfig -PLIST_SUB+= PKGCONFIGDIR=${PKGCONFIGDIR:S;${PREFIX}/;;} -# XXX: Unconditional dependencies which can't be switched off (if present -# in the system) -# popt -LIB_DEPENDS+= libpopt.so:${PORTSDIR}/devel/popt -# inotify -LIB_DEPENDS+= libinotify.so:${PORTSDIR}/devel/libinotify -# SASL -LIB_DEPENDS+= libsasl2.so:${PORTSDIR}/security/cyrus-sasl2 -# GNUTLS -LIB_DEPENDS+= libgcrypt.so:${PORTSDIR}/security/libgcrypt -LIB_DEPENDS+= libgnutls.so:${PORTSDIR}/security/gnutls -# NFS4 ACL glue -LIB_DEPENDS+= libsunacl.so:${PORTSDIR}/sysutils/libsunacl -# External Samba dependencies -# -BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dnspython>=1.9.4:${PORTSDIR}/dns/py-dnspython -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dnspython>=1.9.4:${PORTSDIR}/dns/py-dnspython -PLIST_SUB+= PY_DNSPYTHON="@comment " -# talloc -BUILD_DEPENDS+= talloc>=2.1.5:${PORTSDIR}/devel/talloc -RUN_DEPENDS+= talloc>=2.1.5:${PORTSDIR}/devel/talloc -SAMBA4_BUNDLED_LIBS+= !talloc -# tevent -BUILD_DEPENDS+= tevent>=0.9.25:${PORTSDIR}/devel/tevent -RUN_DEPENDS+= tevent>=0.9.25:${PORTSDIR}/devel/tevent -SAMBA4_BUNDLED_LIBS+= !tevent -# tdb -BUILD_DEPENDS+= tdb>=1.3.8:${PORTSDIR}/databases/tdb -RUN_DEPENDS+= tdb>=1.3.8:${PORTSDIR}/databases/tdb -SAMBA4_BUNDLED_LIBS+= !tdb -# ldb -BUILD_DEPENDS+= ldb>=1.1.23:${PORTSDIR}/databases/ldb -RUN_DEPENDS+= ldb>=1.1.23:${PORTSDIR}/databases/ldb -SAMBA4_BUNDLED_LIBS+= !ldb -# Don't use external libcom_err -SAMBA4_BUNDLED_LIBS+= com_err -############################################################################## -# Options -OPTIONS_DEFINE= ACL_SUPPORT AD_DC ADS AIO_SUPPORT CUPS DEBUG \ - DNSUPDATE DOCS FAM LDAP PAM_SMBPASS \ - PTHREADPOOL QUOTAS SWAT SYSLOG UTMP - -OPTIONS_DEFAULT= ACL_SUPPORT AD_DC ADS AIO_SUPPORT DEBUG \ - DNSUPDATE DOCS FAM LDAP PAM_SMBPASS \ - PTHREADPOOL QUOTAS SWAT SYSLOG UTMP - -ACL_SUPPORT_DESC= File system ACL support -AD_DC_DESC= Active Directory Domain Controller support -ADS_DESC= Active Directory client support -AIO_SUPPORT_DESC= Asynchronous IO support -DNSUPDATE_DESC= Dynamic DNS update (requires ADS) -EXP_MODULES_DESC= Experimental modules -DEBUG_DESC= With debug information in the binaries -LDAP_DESC= LDAP client support -PAM_SMBPASS_DESC= PAM authentication via passdb backends -PTHREADPOOL_DESC= Pthread pool -QUOTAS_DESC= Disk quota support -SWAT_DESC= SWAT WebGUI -UTMP_DESC= UTMP accounting support -############################################################################## -OPTIONS_DEFINE+= DEVELOPER MANPAGES EXP_MODULES - -DEVELOPER_DESC= With development support -MANPAGES_DESC= Build manpages from DOCBOOK templates - -OPTIONS_RADIO= DNS ZEROCONF -OPTIONS_RADIO_DNS= NSUPDATE BIND99 BIND910 -OPTIONS_RADIO_ZEROCONF= AVAHI MDNSRESPONDER - -BIND99_DESC= Use bind99 as AD DC DNS server frontend -BIND910_DESC= Use bind910 as AD DC DNS server frontend -NSUPDATE_DESC= Use samba NSUPDATE utility for AD DC - -.include <bsd.port.options.mk> - -CONFIGURE_ARGS+= \ - --with-pam \ - --with-iconv \ - --with-winbind \ - --without-gettext \ - --with-sendfile-support \ - --builtin-libraries=smbclient \ - ${ICONV_CONFIGURE_BASE} - -# for libexecinfo: (so that __builtin_frame_address() finds the top of the stack) -.if ${ARCH} == "amd64" -CFLAGS+= -fno-omit-frame-pointer -.endif - -.if ${PORT_OPTIONS:MBIND99} -RUN_DEPENDS+= bind99>=9.9.0.0:${PORTSDIR}/dns/bind99 -SUB_LIST+= NSUPDATE="@comment " -.elif ${PORT_OPTIONS:MBIND910} -RUN_DEPENDS+= bind910>=9.10.0.0:${PORTSDIR}/dns/bind910 -SUB_LIST+= NSUPDATE="@comment " -.elif ${PORT_OPTIONS:MNSUPDATE} -RUN_DEPENDS+= samba-nsupdate:${PORTSDIR}/dns/samba-nsupdate -SUB_LIST+= NSUPDATE="" -.endif - -.if ${PORT_OPTIONS:MDEBUG} -WITH_DEBUG= yes -CONFIGURE_ARGS+= --verbose -MAKE_ARGS+= --verbose -CONFIGURE_ARGS+= --enable-debug -.endif - -# https://bugzilla.samba.org/show_bug.cgi?id=8969 -.if ${PORT_OPTIONS:MDEVELOPER} -#GDB_CMD?= gdb79 -# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194046 -# XXX: Still may break, if the link isn't installed - blame devel/gdb maintainer then. -GDB_CMD?= ${LOCALBASE}/bin/gdb -BUILD_DEPENDS+= ${GDB_CMD}:${PORTSDIR}/devel/gdb -RUN_DEPENDS+= ${GDB_CMD}:${PORTSDIR}/devel/gdb -SAMBA4_MODULES+= auth_skel perfcount_test pdb_test vfs_shadow_copy_test vfs_skel_opaque vfs_skel_transparent vfs_fake_acls -CONFIGURE_ARGS+= --enable-developer --enable-socket-wrapper --enable-nss-wrapper --enable-selftest -PLIST_SUB+= DEVELOPER="" -.else -GDB_CMD= true -PLIST_SUB+= DEVELOPER="@comment " -.endif -############################################################################## -# XXX: That will blow up your installation -# https://bugzilla.samba.org/show_bug.cgi?id=9302 -.if defined(CRAZY) -WANT_EXP_MODULES= auth_samba4 auth_script auth_skel auth_unix auth_wbc \ - gpext_registry gpext_scripts gpext_security idmap_ad \ - idmap_autorid idmap_hash idmap_ldap idmap_passdb \ - idmap_rid idmap_tdb idmap_tdb2 idmap_nss nss_info_template \ - pdb_ldap pdb_samba_dsdb pdb_smbpasswd pdb_tdbsam \ - pdb_test pdb_wbc_sam perfcount_test vfs_acl_tdb \ - vfs_acl_xattr vfs_aio_fork vfs_aio_posix \ - vfs_aio_pthread vfs_audit vfs_cacheprime vfs_cap \ - vfs_catia vfs_commit vfs_crossrename vfs_default_quota \ - vfs_dfs_samba4 vfs_dirsort vfs_expand_msdfs vfs_extd_audit \ - vfs_fake_acls vfs_fake_perms vfs_full_audit vfs_media_harmony \ - vfs_netatalk vfs_posix_eadb vfs_preopen vfs_readahead \ - vfs_readonly vfs_recycle vfs_scannedonly vfs_shadow_copy \ - vfs_shadow_copy2 vfs_shadow_copy_test vfs_skel_opaque \ - vfs_skel_transparent vfs_smb_traffic_analyzer vfs_streams_depot \ - vfs_streams_xattr vfs_syncops vfs_time_audit \ - vfs_xattr_tdb vfs_zfsacl -.endif - -.if ${PORT_OPTIONS:MEXP_MODULES} -. if !defined(WANT_EXP_MODULES) || empty(WANT_EXP_MODULES) -WANT_EXP_MODULES= vfs_cacheprime gpext_scripts gpext_security gpext_registry -. endif -.endif - -.if ${PORT_OPTIONS:MACL_SUPPORT} -LIB_DEPENDS+= libsunacl.so:${PORTSDIR}/sysutils/libsunacl -WANT_EXP_MODULES+= vfs_zfsacl -SAMBA4_MODULES+= vfs_zfsacl -CONFIGURE_ARGS+= --with-acl-support -.else -CONFIGURE_ARGS+= --without-acl-support -.endif - -.if ! ${PORT_OPTIONS:MAD_DC} -CONFIGURE_ARGS+= --without-ad-dc -PLIST_SUB+= AD_DC="@comment " -.else -PLIST_SUB+= AD_DC="" -.endif - -.if ${PORT_OPTIONS:MADS} -SAMBA4_WANT_ADS= yes -SAMBA4_WANT_LDAP= yes -# List of extra modules taken from RHEL build -# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197320 -SAMBA4_MODULES+= idmap_rid idmap_ad idmap_hash idmap_adex idmap_tdb2 -.endif - -.if ${PORT_OPTIONS:MAIO_SUPPORT} -CONFIGURE_ARGS+= --with-aio-support -SAMBA4_MODULES+= vfs_aio_posix -.else -CONFIGURE_ARGS+= --without-aio-support -.endif - -.if ${PORT_OPTIONS:MAVAHI} -LIB_DEPENDS+= libavahi-client.so:${PORTSDIR}/net/avahi-app -CONFIGURE_ARGS+= --enable-avahi -.else -CONFIGURE_ARGS+= --disable-avahi -.endif - -.if ${PORT_OPTIONS:MMDNSRESPONDER} -LIB_DEPENDS+= libdns_sd.so:${PORTSDIR}/net/mDNSResponder -CONFIGURE_ARGS+= --enable-dnssd -.else -CONFIGURE_ARGS+= --disable-dnssd -.endif - -.if ${PORT_OPTIONS:MCUPS} -LIB_DEPENDS+= libcups.so:${PORTSDIR}/print/cups-client -CONFIGURE_ARGS+= --enable-cups --enable-iprint -.else -CONFIGURE_ARGS+= --disable-cups --disable-iprint -.endif - -.if ${PORT_OPTIONS:MDNSUPDATE} -SAMBA_WANT_ADS= yes -CONFIGURE_ARGS+= --with-dnsupdate -.else -CONFIGURE_ARGS+= --without-dnsupdate -.endif - -# https://bugzilla.samba.org/show_bug.cgi?id=9545 -.if ${PORT_OPTIONS:MFAM} -USES+= fam -CONFIGURE_ARGS+= --with-fam -WANT_EXP_MODULES+= vfs_notify_fam -SAMBA4_MODULES+= vfs_notify_fam -.else -CONFIGURE_ARGS+= --without-fam -.endif - -.if ${PORT_OPTIONS:MLDAP} -SAMBA4_WANT_LDAP= yes -.endif - -.if ${PORT_OPTIONS:MPAM_SMBPASS} -CONFIGURE_ARGS+= --with-pam_smbpass -PLIST_SUB+= SMBPASS="" -.else -CONFIGURE_ARGS+= --without-pam_smbpass -PLIST_SUB+= SMBPASS="@comment " -.endif - -.if ${PORT_OPTIONS:MPTHREADPOOL} -CONFIGURE_ARGS+= --enable-pthreadpool -SAMBA4_MODULES+= vfs_aio_pthread -.else -CONFIGURE_ARGS+= --disable-pthreadpool -.endif - -.if ${PORT_OPTIONS:MQUOTAS} -CONFIGURE_ARGS+= --with-quotas -.else -CONFIGURE_ARGS+= --without-quotas -.endif - -.if ${PORT_OPTIONS:MSYSLOG} -CONFIGURE_ARGS+= --with-syslog -.else -CONFIGURE_ARGS+= --without-syslog -.endif - -.if ${PORT_OPTIONS:MSWAT} -CONFIGURE_ARGS+= --with-swat -PLIST_SUB+= SWAT="" -.else -CONFIGURE_ARGS+= --without-swat -PLIST_SUB+= SWAT="@comment " -.endif - -.if ${PORT_OPTIONS:MUTMP} -CONFIGURE_ARGS+= --with-utmp -.else -CONFIGURE_ARGS+= --without-utmp -.endif - -.if defined(SAMBA4_WANT_ADS) -CONFIGURE_ARGS+= --with-ads -.else -CONFIGURE_ARGS+= --without-ads -.endif - -.if defined(SAMBA4_WANT_LDAP) -USE_OPENLDAP= yes -#WANT_OPENLDAP_SASL= yes -CONFIGURE_ARGS+= --with-ldap -PLIST_SUB+= LDAP="" -.else -CONFIGURE_ARGS+= --without-ldap -PLIST_SUB+= LDAP="@comment " -.endif - -.if ! ${PORT_OPTIONS:MMANPAGES} -CONFIGURE_ENV+= XSLTPROC="true" -.else -BUILD_DEPENDS+= ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl \ - xsltproc:${PORTSDIR}/textproc/libxslt -.endif - -.if defined(SAMBA4_BUNDLED_LIBS) && !empty(SAMBA4_BUNDLED_LIBS) -CONFIGURE_ARGS+= --bundled-libraries="${SAMBA4_BUNDLED_LIBS:Q:C|(\\\\ )+|,|g:S|\\||g}" -.endif - -.if defined(WANT_EXP_MODULES) && !empty(WANT_EXP_MODULES) -SAMBA4_MODULES+= ${WANT_EXP_MODULES} -.endif - -.if defined(SAMBA4_MODULES) && !empty(SAMBA4_MODULES) -CONFIGURE_ARGS+= --with-shared-modules="${SAMBA4_MODULES:Q:C|(\\\\ )+|,|g:S|\\||g}" -.endif -# XXX: Dirty -.for module in auth_samba4 auth_skel auth_unix auth_wbc gpext_registry gpext_scripts \ - gpext_security idmap_ad idmap_ldap idmap_nss idmap_passdb idmap_tdb \ - nss_info_template pdb_ldap pdb_samba_dsdb pdb_smbpasswd pdb_tdbsam \ - pdb_test pdb_wbc_sam perfcount_test vfs_aio_posix vfs_aio_pthread \ - vfs_cacheprime vfs_dfs_samba4 vfs_fake_acls vfs_notify_fam \ - vfs_shadow_copy_test vfs_skel_opaque vfs_skel_transparent -. if !empty(SAMBA4_MODULES) && ${SAMBA4_MODULES:M${module}} -PLIST_SUB+= MODULE_${module:tu}="" -. else -PLIST_SUB+= MODULE_${module:tu}="@comment " -. endif -.endfor -############################################################################## -# !SAMBA4_SUBPORT -.endif - -.include <bsd.port.pre.mk> - -.if !defined(SAMBA4_SUBPORT) - -SAMBA4_SUB= SAMBA4_LOGDIR="${SAMBA4_LOGDIR}" \ - SAMBA4_RUNDIR="${SAMBA4_RUNDIR}" \ - SAMBA4_LOCKDIR="${SAMBA4_LOCKDIR}" \ - SAMBA4_MODULEDIR="${SAMBA4_MODULEDIR}" \ - SAMBA4_PRIVATEDIR="${SAMBA4_PRIVATEDIR}" \ - SAMBA4_CONFDIR="${SAMBA4_CONFDIR}" \ - SAMBA4_CONFIG="${SAMBA4_CONFIG}" - -PLIST_SUB+= ${SAMBA4_SUB} -SUB_LIST+= ${SAMBA4_SUB} - -USE_RC_SUBR= samba_server -SUB_FILES= pkg-message README.FreeBSD -# Make sure that the right version of Python is used by the tools -# https://bugzilla.samba.org/show_bug.cgi?id=7305 -SHEBANG_FILES= ${PATCH_WRKSRC}/source4/scripting/bin/* -# No fancy color error messages -.if ${COMPILER_TYPE} == "clang" -CFLAGS+= -fno-color-diagnostics -.endif -CONFIGURE_ENV+= NOCOLOR=yes -MAKE_ENV+= NOCOLOR=yes - -SAMBA_MAN1+= dbwrap_tool.1 findsmb.1 gentest.1 locktest.1 \ - log2pcap.1 masktest.1 ndrdump.1 nmblookup.1 \ - nmblookup4.1 ntlm_auth.1 oLschema2ldif.1 \ - profiles.1 regdiff.1 regpatch.1 regshell.1 \ - regtree.1 rpcclient.1 sharesec.1 smbcacls.1 \ - smbclient.1 smbcontrol.1 smbcquotas.1 smbget.1 \ - smbstatus.1 smbtar.1 smbtorture.1 smbtree.1 \ - testparm.1 vfstest.1 wbinfo.1 - -SAMBA_MAN5+= lmhosts.5 smbgetrc.5 smbpasswd.5 pam_winbind.conf.5 \ - smb.conf.5 - -SAMBA_MAN7+= samba.7 winbind_krb5_locator.7 - -SAMBA_MAN8+= eventlogadm.8 idmap_ad.8 idmap_autorid.8 idmap_hash.8 \ - idmap_ldap.8 idmap_nss.8 idmap_rid.8 idmap_tdb.8 \ - idmap_tdb2.8 net.8 nmbd.8 pam_winbind.8 pdbedit.8 \ - samba-tool.8 samba.8 smbd.8 smbpasswd.8 smbspool.8 \ - smbta-util.8 swat.8 vfs_acl_tdb.8 vfs_acl_xattr.8 \ - vfs_aio_fork.8 vfs_aio_linux.8 vfs_aio_pthread.8 \ - vfs_audit.8 vfs_cacheprime.8 vfs_cap.8 vfs_catia.8 \ - vfs_commit.8 vfs_crossrename.8 vfs_default_quota.8 \ - vfs_dirsort.8 vfs_extd_audit.8 vfs_fake_perms.8 vfs_fileid.8 \ - vfs_full_audit.8 vfs_gpfs.8 vfs_media_harmony.8 \ - vfs_netatalk.8 vfs_notify_fam.8 vfs_prealloc.8 \ - vfs_preopen.8 vfs_readahead.8 vfs_readonly.8 \ - vfs_recycle.8 vfs_scannedonly.8 vfs_shadow_copy.8 \ - vfs_shadow_copy2.8 vfs_smb_traffic_analyzer.8 \ - vfs_streams_depot.8 vfs_streams_xattr.8 vfs_time_audit.8 \ - vfs_tsmsm.8 vfs_xattr_tdb.8 winbindd.8 - -PORTDOCS= README.FreeBSD - -IGNORE_NONTHREAD_PYTHON=needs port lang/python${PYTHON_SUFFIX} to be build with THREADS support - -#post-extract: -# @${RM} -rf ${WRKSRC}/pidl - -post-patch: - @${REINPLACE_CMD} -e 's|$${PKGCONFIGDIR}|${PKGCONFIGDIR}|g' \ - ${PATCH_WRKSRC}/buildtools/wafsamba/pkgconfig.py - @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ - ${PATCH_WRKSRC}/buildtools/wafsamba/samba_pidl.py \ - ${PATCH_WRKSRC}/buildtools/wafsamba/wafsamba.py - @${REINPLACE_CMD} -e 's|%%GDB_CMD%%|${GDB_CMD}|g' \ - ${PATCH_WRKSRC}/buildtools/scripts/abi_gen.sh - @${REINPLACE_CMD} -e 's|%%SAMBA4_CONFIG%%|${SAMBA4_CONFIG}|g' \ - ${PATCH_WRKSRC}/dynconfig/wscript - -# Use threading (or multiprocessing) but not thread (renamed in python 3+). -pre-configure: - @if ! ${PYTHON_CMD} -c "import multiprocessing;" 2>/dev/null; then \ - ${ECHO_CMD}; \ - ${ECHO_MSG} "===> ${PKGNAME} "${IGNORE_NONTHREAD_PYTHON:Q}.; \ - ${ECHO_CMD}; \ - ${FALSE}; \ - fi - -# XXX: Gross hack to allow build newer Samba while old one is installed. -# This implies that LINKFLAGS_PYEMBED contains flags which are already -# used in other parts of LINKFLAGS, namely -L$(LOCALBASE)/lib and -pthread -post-configure: - -${REINPLACE_CMD} -e 's|LINKFLAGS_PYEMBED.*|LINKFLAGS_PYEMBED = []|' \ - ${CONFIGURE_WRKSRC}/bin/c4che/default.cache.py - -pre-build: -.if ! ${PORT_OPTIONS:MMANPAGES} -. for man in libcli/nbt/man/nmblookup4.1 \ - librpc/tools/ndrdump.1 \ - source4/lib/registry/man/regdiff.1 \ - source4/lib/registry/man/regpatch.1 \ - source4/lib/registry/man/regshell.1 \ - source4/lib/registry/man/regtree.1 \ - source4/torture/man/gentest.1 \ - source4/torture/man/locktest.1 \ - source4/torture/man/masktest.1 \ - source4/torture/man/smbtorture.1 \ - source4/utils/man/ntlm_auth4.1 \ - source4/utils/man/oLschema2ldif.1 - -@${MKDIR} `dirname ${BUILD_WRKSRC}/bin/default/${man}` - ${INSTALL_MAN} ${FILESDIR}/man/`basename ${man}` ${BUILD_WRKSRC}/bin/default/${man} -. endfor - -@${MKDIR} ${BUILD_WRKSRC}/bin/default/docs-xml/manpages -. for man in ${SAMBA_MAN1} ${SAMBA_MAN5} ${SAMBA_MAN7} ${SAMBA_MAN8} - -${INSTALL_MAN} ${BUILD_WRKSRC}/docs/manpages/${man} ${BUILD_WRKSRC}/bin/default/docs-xml/manpages -. endfor -.endif - -post-install: - @${LN} -sf smb.conf.5.gz ${STAGEDIR}${PREFIX}/man/man5/smb4.conf.5.gz -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${STAGEDIR}${DOCSDIR} -. for doc in ${PORTDOCS} - ${INSTALL_DATA} ${WRKDIR}/${doc} ${STAGEDIR}${DOCSDIR} -. endfor -.endif -# Run post-install script -.for dir in ${SAMBA4_LOGDIR} ${SAMBA4_RUNDIR} ${SAMBA4_LOCKDIR} ${SAMBA4_MODULEDIR} - @${INSTALL} -d -m 0755 "${STAGEDIR}${dir}" -.endfor - @${INSTALL} -d -m 0700 "${STAGEDIR}${SAMBA4_PRIVATEDIR}" -.for dir in auth bind9 gensec gpext idmap ldb nss_info pdb perfcount process_model service vfs - @${MKDIR} "${STAGEDIR}${SAMBA4_MODULEDIR}/${dir}" -.endfor - -.if ${PORT_OPTIONS:MDEVELOPER} -test: build - @(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${INSTALL_WRKSRC}/${WAF_CMD} ${MAKE_ARGS} $@) -.endif - -# !SAMBA4_SUBPORT -.endif - -.include <bsd.port.post.mk> diff --git a/net/samba4/distinfo b/net/samba4/distinfo deleted file mode 100644 index 3c64c24..0000000 --- a/net/samba4/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (samba-4.0.26.tar.gz) = ce2441992c6d18950d752edb2d1274b3f7e056b2e2e8516fc42e408e4a25894a -SIZE (samba-4.0.26.tar.gz) = 22155521 diff --git a/net/samba4/files/README.FreeBSD.in b/net/samba4/files/README.FreeBSD.in deleted file mode 100644 index b40faa7..0000000 --- a/net/samba4/files/README.FreeBSD.in +++ /dev/null @@ -1,99 +0,0 @@ - - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !!! Please read before runing any tools !!! - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - -Documentation -============= - - o https://wiki.samba.org/index.php/Samba4/HOWTO - - o https://wiki.samba.org/index.php/Samba_AD_DC_HOWTO - - o https://wiki.samba.org/index.php/Samba4/samba-tool/domain/classicupgrade/HOWTO - -FreeBSD specific information -============================ - -* Your configuration is in: %%SAMBA4_CONFDIR%%/%%SAMBA4_CONFIG%% - -* All the logs are under: %%SAMBA4_LOGDIR%% - -* All the relevant databases are under: %%SAMBA4_LOCKDIR%% - -* Provisioning script is: %%PREFIX%%/bin/samba-tool - -Samba4 provisioning requires file system(s) with POSIX ACLs support. At -the moment that is UFS2 only. You have to add 'acls' option to the mount -flags to get things working. - -It is known that ZFS-only installations don't work out of the box with -Samba4. In partucular, s3fs service requires POSIX ACLs during provi- -sioning. It is possible to work around that requirement by specifying: - - # samba-tool domain provision --interactive --use-xattrs=no --use-ntvfs - -And removing later in '%%SAMBA4_CONFIG%%' options like: - - 'server services', 'dcerpc endpoint servers', 'posix:eadb' - -and adding 'vfs objects = zfsacl' as well. Still this isn't supported -and tested configuration, so use it at your own risk. - -You may find this tutorial useful, if you happen to run Samba4 on -ZFS-root: - - o http://glsan.com/community/samba4 - -To run this port you need to perform the following steps: ---------------------------------------------------------- - -0. If you had Samba3 port installed before, please, *take backups* of -all the relevant files. That includes 'smb.conf' file and all the -content of the '/var/db/samba/' directory. - -If you had Samba4-devel installation before to my knowledge the best -option would be to start from scratch. - -1a. Create new '%%SAMBA4_CONFDIR%%/%%SAMBA4_CONFIG%%' file by running: - - # samba-tool domain provision - -1b. Or upgrade from the Samba3 'smb.conf' file by running: - - # samba-tool domain classicupgrade - -%%NSUPDATE%%1c. You will need to specify location of the 'nsupdate' command in the -%%NSUPDATE%%'%%SAMBA4_CONFIG%%' file: -%%NSUPDATE%% -%%NSUPDATE%% nsupdate command = %%PREFIX%%/bin/samba-nsupdate -g -%%NSUPDATE%% -2. Put string 'samba_server_enable="YES"' into your /etc/rc.conf. - -3. Make sure that your server doesn't run Samba3, OpenLDAP and named. -Stop them, if necessary. - -4. Run '%%PREFIX%%/etc/rc.d/samba_server start' or reboot. - -WARNING! This port is still experimental and if you need any asistance, -please, check archives of samba@lists.samba.org and ask there for help. - - https://lists.samba.org/archive/samba/ - -In case you found a bug which is clearly not related to the port build -process itself, plese file a bug report at: - - https://bugzilla.samba.org/ - -And add me to CC list. - -You may find those tools helpful: ---------------------------------- - -Microsoft Remote Server Administration Tools (RSAT) for: - -* Vista: http://www.microsoft.com/en-us/download/details.aspx?id=21090 -* Windows 7: http://www.microsoft.com/en-us/download/details.aspx?id=7887 - - -FreeBSD Samba4 port maintainer: Timur I. Bakeyev <timur@FreeBSD.org> diff --git a/net/samba4/files/man/gentest.1 b/net/samba4/files/man/gentest.1 deleted file mode 100644 index 2804db8..0000000 --- a/net/samba4/files/man/gentest.1 +++ /dev/null @@ -1,133 +0,0 @@ -'\" t -.\" Title: gentest -.\" Author: [see the "AUTHOR" section] -.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/> -.\" Date: 02/03/2013 -.\" Manual: Test Suite -.\" Source: Samba 4.0 -.\" Language: English -.\" -.TH "GENTEST" "1" "02/03/2013" "Samba 4\&.0" "Test Suite" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -gentest \- Run random generic SMB operations against two SMB servers and show the differences in behavior -.SH "SYNOPSIS" -.HP \w'\fBgentest\fR\ 'u -\fBgentest\fR {//server1/share1} {//server2/share2} {\-U\ user%pass} {\-U\ user%pass} [\-s\ seed] [\-o\ numops] [\-a] [\-A] [\-i\ FILE] [\-O] [\-S\ FILE] [\-L] [\-F] [\-C] [\-X] -.SH "DESCRIPTION" -.PP -gentest -is a utility for detecting differences in behaviour between SMB servers\&. It will run a random set of generic operations against -\fI//server1/share1\fR -and then the same random set against -\fI//server2/share2\fR -and display the differences in the responses it gets\&. -.PP -This utility is used by the Samba team to find differences in behaviour between Samba and Windows servers\&. -.SH "OPTIONS" -.PP -\-U user%pass -.RS 4 -Specify the user and password to use when logging on on the shares\&. This parameter is mandatory and has to be specified twice\&. -.RE -.PP -\-s seed -.RS 4 -Seed the random number generator with the specified value\&. -.RE -.PP -\-o numops -.RS 4 -Set the number of operations to perform\&. -.RE -.PP -\-a -.RS 4 -Print the operations that are performed\&. -.RE -.PP -\-A -.RS 4 -Backtrack to find minimal number of operations required to make the response to a certain call differ\&. -.RE -.PP -\-i FILE -.RS 4 -Specify a file containing the names of fields that have to be ignored (such as time fields)\&. See below for a description of the file format\&. -.RE -.PP -\-O -.RS 4 -Enable oplocks\&. -.RE -.PP -\-S FILE -.RS 4 -Set preset seeds file\&. The default is -gentest_seeds\&.dat\&. -.RE -.PP -\-L -.RS 4 -Use preset seeds -.RE -.PP -\-F -.RS 4 -Fast reconnect (just close files) -.RE -.PP -\-C -.RS 4 -Continuous analysis mode -.RE -.PP -\-X -.RS 4 -Analyse even when the test succeeded\&. -.RE -.SH "VERSION" -.PP -This man page is correct for version 4\&.0 of the Samba suite\&. -.SH "SEE ALSO" -.PP -Samba -.SH "AUTHOR" -.PP -This utility is part of the -\m[blue]\fBSamba\fR\m[]\&\s-2\u[1]\d\s+2 -suite, which is developed by the global -\m[blue]\fBSamba Team\fR\m[]\&\s-2\u[2]\d\s+2\&. -.PP -gentest was written by Andrew Tridgell\&. -.PP -This manpage was written by Jelmer Vernooij\&. -.SH "NOTES" -.IP " 1." 4 -Samba -.RS 4 -\%http://www.samba.org/ -.RE -.IP " 2." 4 -Samba Team -.RS 4 -\%http://www.samba.org/samba/team/ -.RE diff --git a/net/samba4/files/man/locktest.1 b/net/samba4/files/man/locktest.1 deleted file mode 100644 index 20c6da1..0000000 --- a/net/samba4/files/man/locktest.1 +++ /dev/null @@ -1,137 +0,0 @@ -'\" t -.\" Title: locktest -.\" Author: [see the "AUTHOR" section] -.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/> -.\" Date: 02/03/2013 -.\" Manual: Test Suite -.\" Source: Samba 4.0 -.\" Language: English -.\" -.TH "LOCKTEST" "1" "02/03/2013" "Samba 4\&.0" "Test Suite" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -locktest \- Find differences in locking between two SMB servers -.SH "SYNOPSIS" -.HP \w'\fBlocktest\fR\ 'u -\fBlocktest\fR {//server1/share1} {//server2/share2} [\-U\ user%pass] [\-U\ user%pass] [\-s\ seed] [\-o\ numops] [\-a] [\-O] [\-E] [\-Z] [\-R\ range] [\-B\ base] [\-M\ min] -.SH "DESCRIPTION" -.PP -locktest -is a utility for detecting differences in behaviour in locking between SMB servers\&. It will run a random set of locking operations against -\fI//server1/share1\fR -and then the same random set against -\fI//server2/share2\fR -and display the differences in the responses it gets\&. -.PP -This utility is used by the Samba team to find differences in behaviour between Samba and Windows servers\&. -.SH "OPTIONS" -.PP -\-U user%pass -.RS 4 -Specify the user and password to use when logging on on the shares\&. This parameter can be specified twice (once for the first server, once for the second)\&. -.RE -.PP -\-s seed -.RS 4 -Seed the random number generator with the specified value\&. -.RE -.PP -\-o numops -.RS 4 -Set the number of operations to perform\&. -.RE -.PP -\-a -.RS 4 -Print the operations that are performed\&. -.RE -.PP -\-A -.RS 4 -Backtrack to find minimal number of operations required to make the response to a certain call differ\&. -.RE -.PP -\-O -.RS 4 -Enable oplocks\&. -.RE -.PP -\-u -.RS 4 -Hide unlock fails\&. -.RE -.PP -\-E -.RS 4 -enable exact error code checking -.RE -.PP -\-Z -.RS 4 -enable the zero/zero lock -.RE -.PP -\-R range -.RS 4 -set lock range -.RE -.PP -\-B base -.RS 4 -set lock base -.RE -.PP -\-M min -.RS 4 -set min lock length -.RE -.PP -\-k -.RS 4 -Use kerberos -.RE -.SH "VERSION" -.PP -This man page is correct for version 4\&.0 of the Samba suite\&. -.SH "SEE ALSO" -.PP -Samba -.SH "AUTHOR" -.PP -This utility is part of the -\m[blue]\fBSamba\fR\m[]\&\s-2\u[1]\d\s+2 -suite, which is developed by the global -\m[blue]\fBSamba Team\fR\m[]\&\s-2\u[2]\d\s+2\&. -.PP -locktest was written by Andrew Tridgell\&. -.PP -This manpage was written by Jelmer Vernooij\&. -.SH "NOTES" -.IP " 1." 4 -Samba -.RS 4 -\%http://www.samba.org/ -.RE -.IP " 2." 4 -Samba Team -.RS 4 -\%http://www.samba.org/samba/team/ -.RE diff --git a/net/samba4/files/man/masktest.1 b/net/samba4/files/man/masktest.1 deleted file mode 100644 index 9451edd..0000000 --- a/net/samba4/files/man/masktest.1 +++ /dev/null @@ -1,113 +0,0 @@ -'\" t -.\" Title: masktest -.\" Author: [see the "AUTHOR" section] -.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/> -.\" Date: 02/03/2013 -.\" Manual: Test Suite -.\" Source: Samba 4.0 -.\" Language: English -.\" -.TH "MASKTEST" "1" "02/03/2013" "Samba 4\&.0" "Test Suite" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -masktest \- Find differences in wildcard matching between Samba\*(Aqs implementation and that of a remote server\&. -.SH "SYNOPSIS" -.HP \w'\fBmasktest\fR\ 'u -\fBmasktest\fR {//server/share} [\-U\ user%pass] [\-d\ debuglevel] [\-W\ workgroup] [\-n\ numloops] [\-s\ seed] [\-a] [\-E] [\-M\ max\ protocol] [\-f\ filechars] [\-m\ maskchars] [\-v] -.SH "DESCRIPTION" -.PP -masktest -is a utility for detecting differences in behaviour between Samba\*(Aqs own implementation and that of a remote server\&. It will run generate random filenames/masks and check if these match the same files they do on the remote file as they do on the local server\&. It will display any differences it finds\&. -.PP -This utility is used by the Samba team to find differences in behaviour between Samba and Windows servers\&. -.SH "OPTIONS" -.PP -\-U user%pass -.RS 4 -Specify the user and password to use when logging on on the shares\&. This parameter can be specified twice (once for the first server, once for the second)\&. -.RE -.PP -\-s seed -.RS 4 -Seed the random number generator with the specified value\&. -.RE -.PP -\-n numops -.RS 4 -Set the number of operations to perform\&. -.RE -.PP -\-a -.RS 4 -Print the operations that are performed\&. -.RE -.PP -\-M max_protocol -.RS 4 -Maximum protocol to use\&. -.RE -.PP -\-f -.RS 4 -Specify characters that can be used when generating file names\&. Default: abcdefghijklm\&. -.RE -.PP -\-E -.RS 4 -Abort when difference in behaviour is found\&. -.RE -.PP -\-m maskchars -.RS 4 -Specify characters used for wildcards\&. -.RE -.PP -\-v -.RS 4 -Be verbose -.RE -.SH "VERSION" -.PP -This man page is correct for version 4\&.0 of the Samba suite\&. -.SH "SEE ALSO" -.PP -Samba -.SH "AUTHOR" -.PP -This utility is part of the -\m[blue]\fBSamba\fR\m[]\&\s-2\u[1]\d\s+2 -suite, which is developed by the global -\m[blue]\fBSamba Team\fR\m[]\&\s-2\u[2]\d\s+2\&. -.PP -masktest was written by Andrew Tridgell\&. -.PP -This manpage was written by Jelmer Vernooij\&. -.SH "NOTES" -.IP " 1." 4 -Samba -.RS 4 -\%http://www.samba.org/ -.RE -.IP " 2." 4 -Samba Team -.RS 4 -\%http://www.samba.org/samba/team/ -.RE diff --git a/net/samba4/files/man/ndrdump.1 b/net/samba4/files/man/ndrdump.1 deleted file mode 100644 index c0515bfe..0000000 --- a/net/samba4/files/man/ndrdump.1 +++ /dev/null @@ -1,83 +0,0 @@ -'\" t -.\" Title: ndrdump -.\" Author: [see the "AUTHOR" section] -.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/> -.\" Date: 02/03/2013 -.\" Manual: System Administration tools -.\" Source: Samba 4.0 -.\" Language: English -.\" -.TH "NDRDUMP" "1" "02/03/2013" "Samba 4\&.0" "System Administration tools" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -ndrdump \- DCE/RPC Packet Parser and Dumper -.SH "SYNOPSIS" -.HP \w'\fBndrdump\fR\ 'u -\fBndrdump\fR [\-c\ context] {pipe} {function} {in|out} {filename} -.HP \w'\fBndrdump\fR\ 'u -\fBndrdump\fR [pipe] -.HP \w'\fBndrdump\fR\ 'u -\fBndrdump\fR -.SH "DESCRIPTION" -.PP -ndrdump tries to parse the specified -\fIfilename\fR -using Samba\*(Aqs parser for the specified pipe and function\&. The third argument should be either -\fIin\fR -or -\fIout\fR, depending on whether the data should be parsed as a request or a reply\&. -.PP -Running ndrdump without arguments will list the pipes for which parsers are available\&. -.PP -Running ndrdump with one argument will list the functions that Samba can parse for the specified pipe\&. -.PP -The primary function of ndrdump is debugging Samba\*(Aqs internal DCE/RPC parsing functions\&. The file being parsed is usually one exported by wiresharks -\(lqExport selected packet bytes\(rq -function\&. -.PP -The context argument can be used to load context data from the request packet when parsing reply packets (such as array lengths)\&. -.SH "VERSION" -.PP -This man page is correct for version 4\&.0 of the Samba suite\&. -.SH "SEE ALSO" -.PP -wireshark, pidl -.SH "AUTHOR" -.PP -This utility is part of the -\m[blue]\fBSamba\fR\m[]\&\s-2\u[1]\d\s+2 -suite, which is developed by the global -\m[blue]\fBSamba Team\fR\m[]\&\s-2\u[2]\d\s+2\&. -.PP -ndrdump was written by Andrew Tridgell\&. -.PP -This manpage was written by Jelmer Vernooij\&. -.SH "NOTES" -.IP " 1." 4 -Samba -.RS 4 -\%http://www.samba.org/ -.RE -.IP " 2." 4 -Samba Team -.RS 4 -\%http://www.samba.org/samba/team/ -.RE diff --git a/net/samba4/files/man/nmblookup4.1 b/net/samba4/files/man/nmblookup4.1 deleted file mode 100644 index e10d2ea..0000000 --- a/net/samba4/files/man/nmblookup4.1 +++ /dev/null @@ -1,157 +0,0 @@ -'\" t -.\" Title: nmblookup4 -.\" Author: [see the "AUTHOR" section] -.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/> -.\" Date: 02/03/2013 -.\" Manual: User Commands -.\" Source: Samba 3.2 -.\" Language: English -.\" -.TH "NMBLOOKUP4" "1" "02/03/2013" "Samba 3\&.2" "User Commands" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -nmblookup4 \- NetBIOS over TCP/IP client used to lookup NetBIOS names -.SH "SYNOPSIS" -.HP \w'\fBnmblookup4\fR\ 'u -\fBnmblookup4\fR [\-M] [\-R] [\-S] [\-r] [\-A] [\-h] [\-B\ <broadcast\ address>] [\-U\ <unicast\ address>] [\-d\ <debug\ level>] [\-s\ <smb\ config\ file>] [\-i\ <NetBIOS\ scope>] [\-T] [\-f] {name} -.SH "DESCRIPTION" -.PP -This tool is part of the -\fBsamba\fR(7) -suite\&. -.PP -\fBnmblookup4\fR -is used to query NetBIOS names and map them to IP addresses in a network using NetBIOS over TCP/IP queries\&. The options allow the name queries to be directed at a particular IP broadcast area or to a particular machine\&. All queries are done over UDP\&. -.SH "OPTIONS" -.PP -\-M -.RS 4 -Searches for a master browser by looking up the NetBIOS name -\fIname\fR -with a type of -\fB0x1d\fR\&. If -\fI name\fR -is "\-" then it does a lookup on the special name -\fB__MSBROWSE__\fR\&. Please note that in order to use the name "\-", you need to make sure "\-" isn\*(Aqt parsed as an argument, e\&.g\&. use : -\fBnmblookup4 \-M \-\- \-\fR\&. -.RE -.PP -\-R -.RS 4 -Set the recursion desired bit in the packet to do a recursive lookup\&. This is used when sending a name query to a machine running a WINS server and the user wishes to query the names in the WINS server\&. If this bit is unset the normal (broadcast responding) NetBIOS processing code on a machine is used instead\&. See RFC1001, RFC1002 for details\&. -.RE -.PP -\-S -.RS 4 -Once the name query has returned an IP address then do a node status query as well\&. A node status query returns the NetBIOS names registered by a host\&. -.RE -.PP -\-r -.RS 4 -Try and bind to UDP port 137 to send and receive UDP datagrams\&. The reason for this option is a bug in Windows 95 where it ignores the source port of the requesting packet and only replies to UDP port 137\&. Unfortunately, on most UNIX systems root privilege is needed to bind to this port, and in addition, if the -\fBnmbd\fR(8) -daemon is running on this machine it also binds to this port\&. -.RE -.PP -\-A -.RS 4 -Interpret -\fIname\fR -as an IP Address and do a node status query on this address\&. -.RE -.PP -\-B <broadcast address> -.RS 4 -Send the query to the given broadcast address\&. Without this option the default behavior of nmblookup4 is to send the query to the broadcast address of the network interfaces as either auto\-detected or defined in the -\m[blue]\fB\fIinterfaces\fR\fR\m[]\&\s-2\u[1]\d\s+2 -parameter of the -\fBsmb.conf\fR(5) -file\&. -.RE -.PP -\-U <unicast address> -.RS 4 -Do a unicast query to the specified address or host -\fIunicast address\fR\&. This option (along with the -\fI\-R\fR -option) is needed to query a WINS server\&. -.RE -.PP -\-T -.RS 4 -This causes any IP addresses found in the lookup to be looked up via a reverse DNS lookup into a DNS name, and printed out before each -.sp -\fIIP address \&.\&.\&.\&. NetBIOS name\fR -.sp -pair that is the normal output\&. -.RE -.PP -\-f -.RS 4 -Show which flags apply to the name that has been looked up\&. Possible answers are zero or more of: Response, Authoritative, Truncated, Recursion_Desired, Recursion_Available, Broadcast\&. -.RE -.PP -name -.RS 4 -This is the NetBIOS name being queried\&. Depending upon the previous options this may be a NetBIOS name or IP address\&. If a NetBIOS name then the different name types may be specified by appending \*(Aq#<type>\*(Aq to the name\&. This name may also be \*(Aq*\*(Aq, which will return all registered names within a broadcast area\&. -.RE -.SH "EXAMPLES" -.PP -\fBnmblookup4\fR -can be used to query a WINS server (in the same way -\fBnslookup\fR -is used to query DNS servers)\&. To query a WINS server, -\fBnmblookup4\fR -must be called like this: -.PP -\fBnmblookup4 \-U server \-R \*(Aqname\*(Aq\fR -.PP -For example, running : -.PP -\fBnmblookup4 \-U samba\&.org \-R \*(AqIRIX#1B\*(Aq\fR -.PP -would query the WINS server samba\&.org for the domain master browser (1B name type) for the IRIX workgroup\&. -.SH "VERSION" -.PP -This man page is correct for version 3 of the Samba suite\&. -.SH "SEE ALSO" -.PP -\fBnmbd\fR(8), -\fBsamba\fR(7), and -\fBsmb.conf\fR(5)\&. -.SH "AUTHOR" -.PP -The original Samba software and related utilities were created by Andrew Tridgell\&. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed\&. -.PP -The original Samba man pages were written by Karl Auer\&. The man page sources were converted to YODL format (another excellent piece of Open Source software, available at -\m[blue]\fBftp://ftp\&.icce\&.rug\&.nl/pub/unix/\fR\m[]\&\s-2\u[2]\d\s+2) and updated for the Samba 2\&.0 release by Jeremy Allison\&. The conversion to DocBook for Samba 2\&.2 was done by Gerald Carter\&. The conversion to DocBook XML 4\&.2 for Samba 3\&.0 was done by Alexander Bokovoy\&. -.SH "NOTES" -.IP " 1." 4 -\fIinterfaces\fR - -.RS 4 -\%[set $man.base.url.for.relative.links]/smb.conf.5.html#INTERFACES -.RE -.IP " 2." 4 -ftp://ftp.icce.rug.nl/pub/unix/ -.RS 4 -\%ftp://ftp.icce.rug.nl/pub/unix/ -.RE diff --git a/net/samba4/files/man/ntlm_auth4.1 b/net/samba4/files/man/ntlm_auth4.1 deleted file mode 100644 index 0b2500a..0000000 --- a/net/samba4/files/man/ntlm_auth4.1 +++ /dev/null @@ -1,378 +0,0 @@ -'\" t -.\" Title: ntlm_auth -.\" Author: [see the "AUTHOR" section] -.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/> -.\" Date: 02/04/2013 -.\" Manual: User Commands -.\" Source: Samba 4.0 -.\" Language: English -.\" -.TH "NTLM_AUTH" "1" "02/04/2013" "Samba 4\&.0" "User Commands" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -ntlm_auth \- tool to allow external access to Winbind\*(Aqs NTLM authentication function -.SH "SYNOPSIS" -.HP \w'\ 'u -ntlm_auth [\-d\ debuglevel] [\-l\ logdir] [\-s\ <smb\ config\ file>] -.SH "DESCRIPTION" -.PP -This tool is part of the -\fBsamba\fR(7) -suite\&. -.PP -ntlm_auth -is a helper utility that authenticates users using NT/LM authentication\&. It returns 0 if the users is authenticated successfully and 1 if access was denied\&. ntlm_auth uses winbind to access the user and authentication data for a domain\&. This utility is only intended to be used by other programs (currently -Squid -and -mod_ntlm_winbind) -.SH "OPERATIONAL REQUIREMENTS" -.PP -The -\fBwinbindd\fR(8) -daemon must be operational for many of these commands to function\&. -.PP -Some of these commands also require access to the directory -winbindd_privileged -in -$LOCKDIR\&. This should be done either by running this command as root or providing group access to the -winbindd_privileged -directory\&. For security reasons, this directory should not be world\-accessable\&. -.SH "OPTIONS" -.PP -\-\-helper\-protocol=PROTO -.RS 4 -Operate as a stdio\-based helper\&. Valid helper protocols are: -.PP -squid\-2\&.4\-basic -.RS 4 -Server\-side helper for use with Squid 2\&.4\*(Aqs basic (plaintext) authentication\&. -.RE -.PP -squid\-2\&.5\-basic -.RS 4 -Server\-side helper for use with Squid 2\&.5\*(Aqs basic (plaintext) authentication\&. -.RE -.PP -squid\-2\&.5\-ntlmssp -.RS 4 -Server\-side helper for use with Squid 2\&.5\*(Aqs NTLMSSP authentication\&. -.sp -Requires access to the directory -winbindd_privileged -in -$LOCKDIR\&. The protocol used is described here: -http://devel\&.squid\-cache\&.org/ntlm/squid_helper_protocol\&.html\&. This protocol has been extended to allow the NTLMSSP Negotiate packet to be included as an argument to the -YR -command\&. (Thus avoiding loss of information in the protocol exchange)\&. -.RE -.PP -ntlmssp\-client\-1 -.RS 4 -Client\-side helper for use with arbitrary external programs that may wish to use Samba\*(Aqs NTLMSSP authentication knowledge\&. -.sp -This helper is a client, and as such may be run by any user\&. The protocol used is effectively the reverse of the previous protocol\&. A -YR -command (without any arguments) starts the authentication exchange\&. -.RE -.PP -gss\-spnego -.RS 4 -Server\-side helper that implements GSS\-SPNEGO\&. This uses a protocol that is almost the same as -squid\-2\&.5\-ntlmssp, but has some subtle differences that are undocumented outside the source at this stage\&. -.sp -Requires access to the directory -winbindd_privileged -in -$LOCKDIR\&. -.RE -.PP -gss\-spnego\-client -.RS 4 -Client\-side helper that implements GSS\-SPNEGO\&. This also uses a protocol similar to the above helpers, but is currently undocumented\&. -.RE -.PP -ntlm\-server\-1 -.RS 4 -Server\-side helper protocol, intended for use by a RADIUS server or the \*(Aqwinbind\*(Aq plugin for pppd, for the provision of MSCHAP and MSCHAPv2 authentication\&. -.sp -This protocol consists of lines in the form: -Parameter: value -and -Parameter:: Base64\-encode value\&. The presence of a single period -\&. -indicates that one side has finished supplying data to the other\&. (Which in turn could cause the helper to authenticate the user)\&. -.sp -Currently implemented parameters from the external program to the helper are: -.PP -Username -.RS 4 -The username, expected to be in Samba\*(Aqs -\m[blue]\fBunix charset\fR\m[]\&. -.PP \fBExample\ \&1.\ \&\fR Username: bob -.PP \fBExample\ \&2.\ \&\fR Username:: Ym9i -.RE -.PP -NT\-Domain -.RS 4 -The user\*(Aqs domain, expected to be in Samba\*(Aqs -\m[blue]\fBunix charset\fR\m[]\&. -.PP \fBExample\ \&3.\ \&\fR NT\-Domain: WORKGROUP -.PP \fBExample\ \&4.\ \&\fR NT\-Domain:: V09SS0dST1VQ -.RE -.PP -Full\-Username -.RS 4 -The fully qualified username, expected to be in Samba\*(Aqs -\m[blue]\fBunix charset\fR\m[] -and qualified with the -\m[blue]\fBwinbind separator\fR\m[]\&. -.PP \fBExample\ \&5.\ \&\fR Full\-Username: WORKGROUP\ebob -.PP \fBExample\ \&6.\ \&\fR Full\-Username:: V09SS0dST1VQYm9i -.RE -.PP -LANMAN\-Challenge -.RS 4 -The 8 byte -LANMAN Challenge -value, generated randomly by the server, or (in cases such as MSCHAPv2) generated in some way by both the server and the client\&. -.PP \fBExample\ \&7.\ \&\fR LANMAN\-Challenge: 0102030405060708 -.RE -.PP -LANMAN\-Response -.RS 4 -The 24 byte -LANMAN Response -value, calculated from the user\*(Aqs password and the supplied -LANMAN Challenge\&. Typically, this is provided over the network by a client wishing to authenticate\&. -.PP \fBExample\ \&8.\ \&\fR LANMAN\-Response: 0102030405060708090A0B0C0D0E0F101112131415161718 -.RE -.PP -NT\-Response -.RS 4 -The >= 24 byte -NT Response -calculated from the user\*(Aqs password and the supplied -LANMAN Challenge\&. Typically, this is provided over the network by a client wishing to authenticate\&. -.PP \fBExample\ \&9.\ \&\fR NT\-Response: 0102030405060708090A0B0C0D0E0F101112131415161718 -.RE -.PP -Password -.RS 4 -The user\*(Aqs password\&. This would be provided by a network client, if the helper is being used in a legacy situation that exposes plaintext passwords in this way\&. -.PP \fBExample\ \&10.\ \&\fR Password: samba2 -.PP \fBExample\ \&11.\ \&\fR Password:: c2FtYmEy -.RE -.PP -Request\-User\-Session\-Key -.RS 4 -Upon successful authenticaiton, return the user session key associated with the login\&. -.PP \fBExample\ \&12.\ \&\fR Request\-User\-Session\-Key: Yes -.RE -.PP -Request\-LanMan\-Session\-Key -.RS 4 -Upon successful authenticaiton, return the LANMAN session key associated with the login\&. -.PP \fBExample\ \&13.\ \&\fR Request\-LanMan\-Session\-Key: Yes -.RE -.if n \{\ -.sp -.\} -.RS 4 -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.ps +1 -\fBWarning\fR -.ps -1 -.br -Implementers should take care to base64 encode - any data (such as usernames/passwords) that may contain malicous user data, such as - a newline\&. They may also need to decode strings from - the helper, which likewise may have been base64 encoded\&..sp .5v -.RE -.RE -.RE -.PP -\-\-username=USERNAME -.RS 4 -Specify username of user to authenticate -.RE -.PP -\-\-domain=DOMAIN -.RS 4 -Specify domain of user to authenticate -.RE -.PP -\-\-workstation=WORKSTATION -.RS 4 -Specify the workstation the user authenticated from -.RE -.PP -\-\-challenge=STRING -.RS 4 -NTLM challenge (in HEXADECIMAL) -.RE -.PP -\-\-lm\-response=RESPONSE -.RS 4 -LM Response to the challenge (in HEXADECIMAL) -.RE -.PP -\-\-nt\-response=RESPONSE -.RS 4 -NT or NTLMv2 Response to the challenge (in HEXADECIMAL) -.RE -.PP -\-\-password=PASSWORD -.RS 4 -User\*(Aqs plaintext password -.sp -If not specified on the command line, this is prompted for when required\&. -.sp -For the NTLMSSP based server roles, this parameter specifies the expected password, allowing testing without winbindd operational\&. -.RE -.PP -\-\-request\-lm\-key -.RS 4 -Retrieve LM session key -.RE -.PP -\-\-request\-nt\-key -.RS 4 -Request NT key -.RE -.PP -\-\-diagnostics -.RS 4 -Perform Diagnostics on the authentication chain\&. Uses the password from -\-\-password -or prompts for one\&. -.RE -.PP -\-\-require\-membership\-of={SID|Name} -.RS 4 -Require that a user be a member of specified group (either name or SID) for authentication to succeed\&. -.RE -.PP -\-d|\-\-debuglevel=level -.RS 4 -\fIlevel\fR -is an integer from 0 to 10\&. The default value if this parameter is not specified is 0\&. -.sp -The higher this value, the more detail will be logged to the log files about the activities of the server\&. At level 0, only critical errors and serious warnings will be logged\&. Level 1 is a reasonable level for day\-to\-day running \- it generates a small amount of information about operations carried out\&. -.sp -Levels above 1 will generate considerable amounts of log data, and should only be used when investigating a problem\&. Levels above 3 are designed for use only by developers and generate HUGE amounts of log data, most of which is extremely cryptic\&. -.sp -Note that specifying this parameter here will override the -\m[blue]\fBlog level\fR\m[] -parameter in the -smb\&.conf -file\&. -.RE -.PP -\-V|\-\-version -.RS 4 -Prints the program version number\&. -.RE -.PP -\-s|\-\-configfile <configuration file> -.RS 4 -The file specified contains the configuration details required by the server\&. The information in this file includes server\-specific information such as what printcap file to use, as well as descriptions of all the services that the server is to provide\&. See -smb\&.conf -for more information\&. The default configuration file name is determined at compile time\&. -.RE -.PP -\-l|\-\-log\-basename=logdirectory -.RS 4 -Base directory name for log/debug files\&. The extension -\fB"\&.progname"\fR -will be appended (e\&.g\&. log\&.smbclient, log\&.smbd, etc\&.\&.\&.)\&. The log file is never removed by the client\&. -.RE -.PP -\-?|\-\-help -.RS 4 -Print a summary of command line options\&. -.RE -.SH "EXAMPLE SETUP" -.PP -To setup ntlm_auth for use by squid 2\&.5, with both basic and NTLMSSP authentication, the following should be placed in the -squid\&.conf -file\&. -.sp -.if n \{\ -.RS 4 -.\} -.nf -auth_param ntlm program ntlm_auth \-\-helper\-protocol=squid\-2\&.5\-ntlmssp -auth_param basic program ntlm_auth \-\-helper\-protocol=squid\-2\&.5\-basic -auth_param basic children 5 -auth_param basic realm Squid proxy\-caching web server -auth_param basic credentialsttl 2 hours -.fi -.if n \{\ -.RE -.\} -.if n \{\ -.sp -.\} -.RS 4 -.it 1 an-trap -.nr an-no-space-flag 1 -.nr an-break-flag 1 -.br -.ps +1 -\fBNote\fR -.ps -1 -.br -.PP -This example assumes that ntlm_auth has been installed into your path, and that the group permissions on -winbindd_privileged -are as described above\&. -.sp .5v -.RE -.PP -To setup ntlm_auth for use by squid 2\&.5 with group limitation in addition to the above example, the following should be added to the -squid\&.conf -file\&. -.sp -.if n \{\ -.RS 4 -.\} -.nf -auth_param ntlm program ntlm_auth \-\-helper\-protocol=squid\-2\&.5\-ntlmssp \-\-require\-membership\-of=\*(AqWORKGROUP\eDomain Users\*(Aq -auth_param basic program ntlm_auth \-\-helper\-protocol=squid\-2\&.5\-basic \-\-require\-membership\-of=\*(AqWORKGROUP\eDomain Users\*(Aq -.fi -.if n \{\ -.RE -.\} -.SH "TROUBLESHOOTING" -.PP -If you\*(Aqre experiencing problems with authenticating Internet Explorer running under MS Windows 9X or Millennium Edition against ntlm_auth\*(Aqs NTLMSSP authentication helper (\-\-helper\-protocol=squid\-2\&.5\-ntlmssp), then please read -the Microsoft Knowledge Base article #239869 and follow instructions described there\&. -.SH "VERSION" -.PP -This man page is correct for version 3 of the Samba suite\&. -.SH "AUTHOR" -.PP -The original Samba software and related utilities were created by Andrew Tridgell\&. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed\&. -.PP -The ntlm_auth manpage was written by Jelmer Vernooij and Andrew Bartlett\&. diff --git a/net/samba4/files/man/oLschema2ldif.1 b/net/samba4/files/man/oLschema2ldif.1 deleted file mode 100644 index cc026d1..0000000 --- a/net/samba4/files/man/oLschema2ldif.1 +++ /dev/null @@ -1,74 +0,0 @@ -'\" t -.\" Title: oLschema2ldif -.\" Author: [see the "AUTHOR" section] -.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/> -.\" Date: 02/03/2013 -.\" Manual: System Administration tools -.\" Source: Samba 4.0 -.\" Language: English -.\" -.TH "OLSCHEMA2LDIF" "1" "02/03/2013" "Samba 4\&.0" "System Administration tools" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -oLschema2ldif \- Converts LDAP schema\*(Aqs to LDB\-compatible LDIF -.SH "SYNOPSIS" -.HP \w'\fBoLschema2ldif\fR\ 'u -\fBoLschema2ldif\fR [\-I\ INPUT\-FILE] [\-O\ OUTPUT\-FILE] -.SH "DESCRIPTION" -.PP -oLschema2ldif is a simple tool that converts standard OpenLDAP schema files to a LDIF format that is understood by LDB\&. -.SH "OPTIONS" -.PP -\-I input\-file -.RS 4 -OpenLDAP schema to read\&. If none are specified, the schema file will be read from standard input\&. -.RE -.PP -\-O output\-file -.RS 4 -File to write ldif version of schema to\&. -.RE -.SH "VERSION" -.PP -This man page is correct for version 4\&.0 of the Samba suite\&. -.SH "SEE ALSO" -.PP -ldb(7), ldbmodify, ldbdel, ldif(5) -.SH "AUTHOR" -.PP -ldb was written by -\m[blue]\fBAndrew Tridgell\fR\m[]\&\s-2\u[1]\d\s+2\&. oLschema2ldif was written by -\m[blue]\fBSimo Sorce\fR\m[]\&\s-2\u[2]\d\s+2\&. -.PP -If you wish to report a problem or make a suggestion then please see the -\m[blue]\fB\%http://ldb.samba.org/\fR\m[] -web site for current contact and maintainer information\&. -.SH "NOTES" -.IP " 1." 4 -Andrew Tridgell -.RS 4 -\%http://samba.org/~tridge/ -.RE -.IP " 2." 4 -Simo Sorce -.RS 4 -\%mailto:idra@samba.org -.RE diff --git a/net/samba4/files/man/regdiff.1 b/net/samba4/files/man/regdiff.1 deleted file mode 100644 index 45a7742..0000000 --- a/net/samba4/files/man/regdiff.1 +++ /dev/null @@ -1,87 +0,0 @@ -'\" t -.\" Title: regdiff -.\" Author: [see the "AUTHOR" section] -.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/> -.\" Date: 02/03/2013 -.\" Manual: System Administration tools -.\" Source: Samba 4.0 -.\" Language: English -.\" -.TH "REGDIFF" "1" "02/03/2013" "Samba 4\&.0" "System Administration tools" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -regdiff \- Diff program for Windows registry files -.SH "SYNOPSIS" -.HP \w'\fBregdiff\fR\ 'u -\fBregdiff\fR [\-\-help] [\-\-backend=BACKEND] [\-\-backend=BACKEND] [\-\-credentials=CREDENTIALS] [\-\-credentials=CREDENTIALS] [location] [location] -.SH "DESCRIPTION" -.PP -regdiff compares two Windows registry files key by key and value by value and generates a text file that contains the differences between the two files\&. -.PP -A file generated by regdiff can later be applied to a registry file by the regpatch utility\&. -.PP -regdiff and regpatch use the same file format as the regedit32\&.exe utility from Windows\&. -.SH "OPTIONS" -.PP -\-\-help -.RS 4 -Show list of available options\&. -.RE -.PP -\-\-backend BACKEND -.RS 4 -Name of backend to load\&. Possible values are: creg, regf, dir and rpc\&. The default is -\fIdir\fR\&. -.sp -This argument can be specified twice: once for the first registry file and once for the second\&. -.RE -.PP -\-\-credentials=CREDENTIALS -.RS 4 -Credentials to use, if any\&. Password should be separated from user name by a percent sign\&. -.sp -This argument can be specified twice: once for the first registry file and once for the second\&. -.RE -.SH "VERSION" -.PP -This man page is correct for version 4\&.0 of the Samba suite\&. -.SH "SEE ALSO" -.PP -gregedit, regshell, regpatch, regtree, samba, patch, diff -.SH "AUTHOR" -.PP -This utility is part of the -\m[blue]\fBSamba\fR\m[]\&\s-2\u[1]\d\s+2 -suite, which is developed by the global -\m[blue]\fBSamba Team\fR\m[]\&\s-2\u[2]\d\s+2\&. -.PP -This manpage and regdiff were written by Jelmer Vernooij\&. -.SH "NOTES" -.IP " 1." 4 -Samba -.RS 4 -\%http://www.samba.org/ -.RE -.IP " 2." 4 -Samba Team -.RS 4 -\%http://www.samba.org/samba/team/ -.RE diff --git a/net/samba4/files/man/regpatch.1 b/net/samba4/files/man/regpatch.1 deleted file mode 100644 index 68c371a..0000000 --- a/net/samba4/files/man/regpatch.1 +++ /dev/null @@ -1,81 +0,0 @@ -'\" t -.\" Title: regpatch -.\" Author: [see the "AUTHOR" section] -.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/> -.\" Date: 02/03/2013 -.\" Manual: System Administration tools -.\" Source: Samba 4.0 -.\" Language: English -.\" -.TH "REGPATCH" "1" "02/03/2013" "Samba 4\&.0" "System Administration tools" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -regpatch \- Applies registry patches to registry files -.SH "SYNOPSIS" -.HP \w'\fBregpatch\fR\ 'u -\fBregpatch\fR [\-\-help] [\-\-backend=BACKEND] [\-\-credentials=CREDENTIALS] [location] [patch\-file] -.SH "DESCRIPTION" -.PP -The regpatch utility applies registry patches to Windows registry files\&. The patch files should have the same format as is being used by the regdiff utility and regedit32\&.exe from Windows\&. -.PP -If no patch file is specified on the command line, regpatch attempts to read it from standard input\&. -.SH "OPTIONS" -.PP -\-\-help -.RS 4 -Show list of available options\&. -.RE -.PP -\-\-backend BACKEND -.RS 4 -Name of backend to load\&. Possible values are: creg, regf, dir and rpc\&. The default is -\fIdir\fR\&. -.RE -.PP -\-\-credentials=CREDENTIALS -.RS 4 -Credentials to use, if any\&. Password should be separated from user name by a percent sign\&. -.RE -.SH "VERSION" -.PP -This man page is correct for version 4\&.0 of the Samba suite\&. -.SH "SEE ALSO" -.PP -regdiff, regtree, regshell, gregedit, samba, diff, patch -.SH "AUTHOR" -.PP -This utility is part of the -\m[blue]\fBSamba\fR\m[]\&\s-2\u[1]\d\s+2 -suite, which is developed by the global -\m[blue]\fBSamba Team\fR\m[]\&\s-2\u[2]\d\s+2\&. -.PP -This manpage and regpatch were written by Jelmer Vernooij\&. -.SH "NOTES" -.IP " 1." 4 -Samba -.RS 4 -\%http://www.samba.org/ -.RE -.IP " 2." 4 -Samba Team -.RS 4 -\%http://www.samba.org/samba/team/ -.RE diff --git a/net/samba4/files/man/regshell.1 b/net/samba4/files/man/regshell.1 deleted file mode 100644 index f7f11ee..0000000 --- a/net/samba4/files/man/regshell.1 +++ /dev/null @@ -1,177 +0,0 @@ -'\" t -.\" Title: regshell -.\" Author: [see the "AUTHOR" section] -.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/> -.\" Date: 02/03/2013 -.\" Manual: System Administration tools -.\" Source: Samba 4.0 -.\" Language: English -.\" -.TH "REGSHELL" "1" "02/03/2013" "Samba 4\&.0" "System Administration tools" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -regshell \- Windows registry file browser using readline -.SH "SYNOPSIS" -.HP \w'\fBregshell\fR\ 'u -\fBregshell\fR [\-\-help] [\-\-backend=BACKEND] [\-\-credentials=CREDENTIALS] [location] -.SH "DESCRIPTION" -.PP -regshell is a utility that lets you browse thru a Windows registry file as if you were using a regular unix shell to browse thru a file system\&. -.SH "OPTIONS" -.PP -\-\-help -.RS 4 -Show list of available options\&. -.RE -.PP -\-\-backend BACKEND -.RS 4 -Name of backend to load\&. Possible values are: creg, regf, dir and rpc\&. The default is -\fIdir\fR\&. -.RE -.PP -\-\-credentials=CREDENTIALS -.RS 4 -Credentials to use, if any\&. Password should be separated from user name by a percent sign\&. -.RE -.SH "COMMANDS" -.PP -ck|cd <keyname> -.RS 4 -Go to the specified subkey\&. -.RE -.PP -ch|predef [predefined\-key\-name] -.RS 4 -Go to the specified predefined key\&. -.RE -.PP -list|ls -.RS 4 -List subkeys and values of the current key\&. -.RE -.PP -mkkey|mkdir <keyname> -.RS 4 -Create a key with the specified -\fIkeyname\fR -as a subkey of the current key\&. -.RE -.PP -rmval|rm <valname> -.RS 4 -Delete the specified value\&. -.RE -.PP -rmkey|rmdir <keyname> -.RS 4 -Delete the specified subkey recursively\&. -.RE -.PP -pwd|pwk -.RS 4 -Print the full name of the current key\&. -.RE -.PP -set|update -.RS 4 -Update the value of a key value\&. Not implemented at the moment\&. -.RE -.PP -help|? -.RS 4 -Print a list of available commands\&. -.RE -.PP -exit|quit -.RS 4 -Leave regshell\&. -.RE -.SH "EXAMPLES" -.PP -Browsing thru a nt4 registry file -.sp -.if n \{\ -.RS 4 -.\} -.nf -\fBregshell \-b nt4 NTUSER\&.DAT\fR -$$$PROTO\&.HIV> \fBls\fR -K AppEvents -K Console -K Control Panel -K Environment -K Identities -K Keyboard Layout -K Network -K Printers -K Software -K UNICODE Program Groups -K Windows 3\&.1 Migration Status -$$$PROTO\&.HIV> \fBexit\fR -.fi -.if n \{\ -.RE -.\} -.PP -Listing the subkeys of HKEY_CURRENT_USER\eAppEvents on a remote computer: -.sp -.if n \{\ -.RS 4 -.\} -.nf -\fBregshell \-\-remote=ncacn_np:aurelia \-c "jelmer%secret"\fR -HKEY_CURRENT_MACHINE> \fBpredef HKEY_CURRENT_USER\fR -HKEY_CURRENT_USER> \fBcd AppEvents\fR -Current path is: HKEY_CURRENT_USER\eAppEvents -HKEY_CURRENT_USER\eAppEvents> \fBls\fR -K EventLabels -K Schemes -HKEY_CURRENT_USER\eAppEvents> \fBexit\fR -.fi -.if n \{\ -.RE -.\} -.SH "VERSION" -.PP -This man page is correct for version 4\&.0 of the Samba suite\&. -.SH "SEE ALSO" -.PP -regtree, regdiff, regpatch, gregedit, samba -.SH "AUTHOR" -.PP -This utility is part of the -\m[blue]\fBSamba\fR\m[]\&\s-2\u[1]\d\s+2 -suite, which is developed by the global -\m[blue]\fBSamba Team\fR\m[]\&\s-2\u[2]\d\s+2\&. -.PP -This manpage and regshell were written by Jelmer Vernooij\&. -.SH "NOTES" -.IP " 1." 4 -Samba -.RS 4 -\%http://www.samba.org/ -.RE -.IP " 2." 4 -Samba Team -.RS 4 -\%http://www.samba.org/samba/team/ -.RE diff --git a/net/samba4/files/man/regtree.1 b/net/samba4/files/man/regtree.1 deleted file mode 100644 index ab02f5f..0000000 --- a/net/samba4/files/man/regtree.1 +++ /dev/null @@ -1,89 +0,0 @@ -'\" t -.\" Title: regtree -.\" Author: [see the "AUTHOR" section] -.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/> -.\" Date: 02/03/2013 -.\" Manual: System Administration tools -.\" Source: Samba 4.0 -.\" Language: English -.\" -.TH "REGTREE" "1" "02/03/2013" "Samba 4\&.0" "System Administration tools" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -regtree \- Text\-mode registry viewer -.SH "SYNOPSIS" -.HP \w'\fBregtree\fR\ 'u -\fBregtree\fR [\-\-help] [\-\-backend=BACKEND] [\-\-fullpath] [\-\-no\-values] [\-\-credentials=CREDENTIALS] [location] -.SH "DESCRIPTION" -.PP -The regtree utility prints out all the contents of a Windows registry file\&. Subkeys are printed with one level more indentation than their parents\&. -.SH "OPTIONS" -.PP -\-\-help -.RS 4 -Show list of available options\&. -.RE -.PP -\-\-backend BACKEND -.RS 4 -Name of backend to load\&. Possible values are: creg, regf, dir and rpc\&. The default is -\fIdir\fR\&. -.RE -.PP -\-\-credentials=CREDENTIALS -.RS 4 -Credentials to use, if any\&. Password should be separated from user name by a percent sign\&. -.RE -.PP -\-\-fullpath -.RS 4 -Print the full path to each key instead of only its name\&. -.RE -.PP -\-\-no\-values -.RS 4 -Don\*(Aqt print values, just keys\&. -.RE -.SH "VERSION" -.PP -This man page is correct for version 4\&.0 of the Samba suite\&. -.SH "SEE ALSO" -.PP -gregedit, regshell, regdiff, regpatch, samba -.SH "AUTHOR" -.PP -This utility is part of the -\m[blue]\fBSamba\fR\m[]\&\s-2\u[1]\d\s+2 -suite, which is developed by the global -\m[blue]\fBSamba Team\fR\m[]\&\s-2\u[2]\d\s+2\&. -.PP -This manpage and regtree were written by Jelmer Vernooij\&. -.SH "NOTES" -.IP " 1." 4 -Samba -.RS 4 -\%http://www.samba.org/ -.RE -.IP " 2." 4 -Samba Team -.RS 4 -\%http://www.samba.org/samba/team/ -.RE diff --git a/net/samba4/files/man/smbtorture.1 b/net/samba4/files/man/smbtorture.1 deleted file mode 100644 index b71f2d0..0000000 --- a/net/samba4/files/man/smbtorture.1 +++ /dev/null @@ -1,369 +0,0 @@ -'\" t -.\" Title: smbtorture -.\" Author: [see the "AUTHOR" section] -.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/> -.\" Date: 02/03/2013 -.\" Manual: Test Suite -.\" Source: Samba 4.0 -.\" Language: English -.\" -.TH "SMBTORTURE" "1" "02/03/2013" "Samba 4\&.0" "Test Suite" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -smbtorture \- Run a series of tests against a SMB server -.SH "SYNOPSIS" -.HP \w'\fBsmbtorture\fR\ 'u -\fBsmbtorture\fR -.HP \w'\fBsmbtorture\fR\ 'u -\fBsmbtorture\fR {//server/share} [\-d\ debuglevel] [\-U\ user%pass] [\-k] [\-N\ numprocs] [\-n\ netbios_name] [\-W\ workgroup] [\-o\ num_operations] [\-e\ num\ files(entries)] [\-O\ socket_options] [\-m\ maximum_protocol] [\-L] [\-c\ CLIENT\&.TXT] [\-t\ timelimit] [\-C\ filename] [\-A] [\-p\ port] [\-s\ seed] [\-f\ max_failures] [\-X] {BINDING\-STRING|UNC} {TEST1} [TEST2] [\&.\&.\&.] -.SH "DESCRIPTION" -.PP -smbtorture is a testsuite that runs several tests against a SMB server\&. All tests are known to succeed against a Windows 2003 server (?)\&. Smbtorture\*(Aqs primary goal is finding differences in implementations of the SMB protocol and testing SMB servers\&. -.PP -Any number of tests can be specified on the command\-line\&. If no tests are specified, all tests are run\&. -.PP -If no arguments are specified at all, all available options and tests are listed\&. -.SS "Binding string format" -.PP -The binding string format is: -.PP -TRANSPORT:host[flags] -.PP -Where TRANSPORT is either ncacn_np for SMB, ncacn_ip_tcp for RPC/TCP or ncalrpc for local connections\&. -.PP -\*(Aqhost\*(Aq is an IP or hostname or netbios name\&. If the binding string identifies the server side of an endpoint, \*(Aqhost\*(Aq may be an empty string\&. -.PP -\*(Aqflags\*(Aq can include a SMB pipe name if using the ncacn_np transport or a TCP port number if using the ncacn_ip_tcp transport, otherwise they will be auto\-determined\&. -.PP -other recognised flags are: -.PP -sign -.RS 4 -enable ntlmssp signing -.RE -.PP -seal -.RS 4 -enable ntlmssp sealing -.RE -.PP -connect -.RS 4 -enable rpc connect level auth (auth, but no sign or seal) -.RE -.PP -validate -.RS 4 -enable the NDR validator -.RE -.PP -print -.RS 4 -enable debugging of the packets -.RE -.PP -bigendian -.RS 4 -use bigendian RPC -.RE -.PP -padcheck -.RS 4 -check reply data for non\-zero pad bytes -.RE -.PP -For example, these all connect to the samr pipe: -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -ncacn_np:myserver -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -ncacn_np:myserver[samr] -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -ncacn_np:myserver[\e\epipe\e\esamr] -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -ncacn_np:myserver[/pipe/samr] -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -ncacn_np:myserver[samr,sign,print] -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -ncacn_np:myserver[\e\epipe\e\esamr,sign,seal,bigendian] -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -ncacn_np:myserver[/pipe/samr,seal,validate] -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -ncacn_np: -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -ncacn_np:[/pipe/samr] -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -ncacn_ip_tcp:myserver -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -ncacn_ip_tcp:myserver[1024] -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -ncacn_ip_tcp:myserver[1024,sign,seal] -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -ncalrpc: -.RE -.SS "UNC Format" -.PP -The UNC format is: -.PP -//server/share -.SH "OPTIONS" -.PP -\-d debuglevel -.RS 4 -Use the specified Samba debug level\&. A higher debug level means more output\&. -.RE -.PP -\-U user%pass -.RS 4 -Use the specified username/password combination when logging in to a remote server\&. -.RE -.PP -\-k -.RS 4 -Use kerberos when authenticating\&. -.RE -.PP -\-W workgroup -.RS 4 -Use specified name as our workgroup name\&. -.RE -.PP -\-n netbios_name -.RS 4 -Use specified name as our NetBIOS name\&. -.RE -.PP -\-O socket_options -.RS 4 -Use specified socket options, equivalent of the smb\&.conf option -\(lqsocket options\(rq\&. See the smb\&.conf(5) manpage for details\&. -.RE -.PP -\-m max_protocol -.RS 4 -Specify the maximum SMB dialect that should be used\&. Possible values are: CORE, COREPLUS, LANMAN1, LANMAN2, NT1 -.RE -.PP -\-s seed -.RS 4 -Initialize the randomizer using -\fIseed\fR -as seed\&. -.RE -.PP -\-L -.RS 4 -Use oplocks\&. -.RE -.PP -\-X -.RS 4 -Enable dangerous tests\&. Use with care! This might crash your server\&.\&.\&. -.RE -.PP -\-t timelimit -.RS 4 -Specify the NBENCH time limit in seconds\&. Defaults to 600\&. -.RE -.PP -\-p ports -.RS 4 -Specify ports to connect to\&. -.RE -.PP -\-c file -.RS 4 -Read NBENCH commands from -\fIfile\fR -instead of from CLIENT\&.TXT\&. -.RE -.PP -\-A -.RS 4 -Show not just OK or FAILED but more detailed output\&. Used only by DENY test at the moment\&. -.RE -.PP -\-C filename -.RS 4 -Load a list of UNC names from the specified filename\&. Smbtorture instances will connect to a random host from this list\&. -.RE -.PP -\-N numprocs -.RS 4 -Specify number of smbtorture processes to launch\&. -.RE -.PP -\-o num_operations -.RS 4 -Number of times some operations should be tried before assuming they\*(Aqre output is consistent (default:100)\&. -.RE -.PP -\-e num_files -.RS 4 -Number of entries to use in certain tests (such as creating X files) (default: 1000)\&. -.RE -.PP -\-f max_failures -.RS 4 -Number of failures before aborting a test (default: 1)\&. -.RE -.SH "VERSION" -.PP -This man page is correct for version 4\&.0 of the Samba suite\&. -.SH "SEE ALSO" -.PP -Samba -.SH "AUTHOR" -.PP -This utility is part of the -\m[blue]\fBSamba\fR\m[]\&\s-2\u[1]\d\s+2 -suite, which is developed by the global -\m[blue]\fBSamba Team\fR\m[]\&\s-2\u[2]\d\s+2\&. -.PP -smbtorture was written by Andrew Tridgell\&. -.PP -This manpage was written by Jelmer Vernooij\&. -.SH "NOTES" -.IP " 1." 4 -Samba -.RS 4 -\%http://www.samba.org/ -.RE -.IP " 2." 4 -Samba Team -.RS 4 -\%http://www.samba.org/samba/team/ -.RE diff --git a/net/samba4/files/patch-buildtools__scripts__abi_gen.sh b/net/samba4/files/patch-buildtools__scripts__abi_gen.sh deleted file mode 100644 index b8ffd04..0000000 --- a/net/samba4/files/patch-buildtools__scripts__abi_gen.sh +++ /dev/null @@ -1,17 +0,0 @@ ---- ./buildtools/scripts/abi_gen.sh.orig 2013-02-10 00:47:43.199878737 +0000 -+++ ./buildtools/scripts/abi_gen.sh 2013-02-10 00:47:55.789877693 +0000 -@@ -9,6 +9,7 @@ - cat <<EOF - set height 0 - set width 0 -+set print sevenbit-strings on - EOF - nm "$SHAREDLIB" | cut -d' ' -f2- | egrep '^[BDGTRVWS]' | grep -v @ | egrep -v ' (__bss_start|_edata|_init|_fini|_end)' | cut -c3- | sort | while read s; do - echo "echo $s: " -@@ -17,5 +17,5 @@ - ) > $GDBSCRIPT - - # forcing the terminal avoids a problem on Fedora12 --TERM=none gdb -batch -x $GDBSCRIPT "$SHAREDLIB" < /dev/null -+TERM=none %%GDB_CMD%% -batch -x $GDBSCRIPT "$SHAREDLIB" < /dev/null - rm -f $GDBSCRIPT diff --git a/net/samba4/files/patch-buildtools__wafsamba__samba_install.py b/net/samba4/files/patch-buildtools__wafsamba__samba_install.py deleted file mode 100644 index 061202f..0000000 --- a/net/samba4/files/patch-buildtools__wafsamba__samba_install.py +++ /dev/null @@ -1,11 +0,0 @@ ---- ./buildtools/wafsamba/samba_install.py.orig 2012-11-13 08:03:38.000000000 +0000 -+++ ./buildtools/wafsamba/samba_install.py 2013-01-27 01:44:15.919866417 +0000 -@@ -111,7 +111,7 @@ - inst_name = bld.make_libname(t.target) - elif self.vnum: - vnum_base = self.vnum.split('.')[0] -- install_name = bld.make_libname(target_name, version=self.vnum) -+ install_name = bld.make_libname(target_name, version=vnum_base) - install_link = bld.make_libname(target_name, version=vnum_base) - inst_name = bld.make_libname(t.target) - if not self.private_library: diff --git a/net/samba4/files/patch-buildtools__wafsamba__wafsamba.py b/net/samba4/files/patch-buildtools__wafsamba__wafsamba.py deleted file mode 100644 index 73ab8df..0000000 --- a/net/samba4/files/patch-buildtools__wafsamba__wafsamba.py +++ /dev/null @@ -1,11 +0,0 @@ ---- ./buildtools/wafsamba/wafsamba.py.orig 2013-02-05 12:25:25.000000000 +0000 -+++ ./buildtools/wafsamba/wafsamba.py 2013-02-06 02:15:45.969880485 +0000 -@@ -790,7 +790,7 @@ - '''build and install manual pages''' - bld.env.SAMBA_EXPAND_XSL = bld.srcnode.abspath() + '/docs-xml/xslt/expand-sambadoc.xsl' - bld.env.SAMBA_MAN_XSL = bld.srcnode.abspath() + '/docs-xml/xslt/man.xsl' -- bld.env.SAMBA_CATALOGS = 'file:///etc/xml/catalog file:///usr/local/share/xml/catalog file://' + bld.srcnode.abspath() + '/bin/default/docs-xml/build/catalog.xml' -+ bld.env.SAMBA_CATALOGS = 'file://%%LOCALBASE%%/share/xml/catalog file://' + bld.srcnode.abspath() + '/bin/default/docs-xml/build/catalog.xml' - - for m in manpages.split(): - source = m + '.xml' diff --git a/net/samba4/files/patch-docs-xml__wscript_build b/net/samba4/files/patch-docs-xml__wscript_build deleted file mode 100644 index 5f68097..0000000 --- a/net/samba4/files/patch-docs-xml__wscript_build +++ /dev/null @@ -1,10 +0,0 @@ ---- ./docs-xml/wscript_build.orig 2013-02-05 02:34:14.929894486 +0000 -+++ ./docs-xml/wscript_build 2013-02-05 02:34:33.030266035 +0000 -@@ -3,7 +3,6 @@ - manpages=''' - manpages/eventlogadm.8 - manpages/findsmb.1 -- manpages/libsmbclient.7 - manpages/lmhosts.5 - manpages/log2pcap.1 - manpages/idmap_ad.8 diff --git a/net/samba4/files/patch-dynconfig__config.m4 b/net/samba4/files/patch-dynconfig__config.m4 deleted file mode 100644 index 9f0b9d5..0000000 --- a/net/samba4/files/patch-dynconfig__config.m4 +++ /dev/null @@ -1,34 +0,0 @@ ---- ./dynconfig/config.m4.orig 2012-10-02 08:38:44.000000000 +0000 -+++ ./dynconfig/config.m4 2013-01-27 07:13:46.156404375 +0000 -@@ -60,6 +60,22 @@ - PRIVILEGED_SOCKET_DIR="\${localstatedir}/lib/samba" - fi - -+AC_ARG_WITH(pkgconfigdir, -+[AS_HELP_STRING([--with-pkgconfigdir=DIR], -+ [Which directory to use for .pc files ($libdir/pkgconfig)])], -+[ case "$withval" in -+ yes|no) -+ # -+ # Just in case anybody calls it without argument -+ # -+ AC_MSG_WARN([--with-pkgconfigdir called without argument - will use default]) -+ ;; -+ * ) -+ PKGCONFIGDIR="$withval" -+ ;; -+ esac]) -+ -+ - AC_ARG_WITH(modulesdir, - [AS_HELP_STRING([--with-modulesdir=DIR], - [Which directory to use for modules ($exec_prefix/modules)])], -@@ -261,7 +277,7 @@ - NMBDSOCKETDIR="${SOCKET_DIR}/nmbd" - NTP_SIGND_SOCKET_DIR="${SOCKET_DIR}/ntp_signd" - NCALRPCDIR="${SOCKET_DIR}/ncalrpc" --CONFIGFILE="${CONFIGDIR}/smb.conf" -+CONFIGFILE="${CONFIGDIR}/%%SAMBA4_CONFIG%%" - LMHOSTSFILE="${CONFIGDIR}/lmhosts" - SMB_PASSWD_FILE="${PRIVATE_DIR}/smbpasswd" - diff --git a/net/samba4/files/patch-dynconfig__wscript b/net/samba4/files/patch-dynconfig__wscript deleted file mode 100644 index 7130659..0000000 --- a/net/samba4/files/patch-dynconfig__wscript +++ /dev/null @@ -1,32 +0,0 @@ ---- ./dynconfig/wscript.orig 2012-11-13 08:03:38.000000000 +0000 -+++ ./dynconfig/wscript 2013-01-29 19:43:57.489880918 +0000 -@@ -127,6 +127,8 @@ - 'PKGCONFIGDIR' : { - 'STD-PATH': '${LIBDIR}/pkgconfig', - 'FHS-PATH': '${LIBDIR}/pkgconfig', -+ 'OPTION': '--with-pkgconfigdir', -+ 'HELPTEXT': 'Where to put .pc files', - }, - 'SWATDIR' : { - 'STD-PATH': '${DATADIR}/swat', -@@ -236,8 +238,8 @@ - 'DELAY': True, - }, - 'CONFIGFILE' : { -- 'STD-PATH': '${CONFIGDIR}/smb.conf', -- 'FHS-PATH': '${CONFIGDIR}/smb.conf', -+ 'STD-PATH': '${CONFIGDIR}/%%SAMBA4_CONFIG%%', -+ 'FHS-PATH': '${CONFIGDIR}/%%SAMBA4_CONFIG%%', - 'DELAY': True, - }, - 'LMHOSTSFILE' : { -@@ -294,9 +296,6 @@ - flavor = 'FHS-PATH' - else: - flavor = 'STD-PATH' -- if conf.env.PREFIX == '/usr' or conf.env.PREFIX == '/usr/local': -- Logs.error("Don't install directly under /usr or /usr/local without using the FHS option (--enable-fhs)") -- raise Utils.WafError("ERROR: invalid --prefix=%s value" % (conf.env.PREFIX)) - - explicit_set ={} - diff --git a/net/samba4/files/patch-lib__replace__wscript b/net/samba4/files/patch-lib__replace__wscript deleted file mode 100644 index 86eebb5..0000000 --- a/net/samba4/files/patch-lib__replace__wscript +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/replace/wscript.orig 2013-09-06 09:39:57.000000000 +0000 -+++ lib/replace/wscript 2013-10-15 15:11:25.307472084 +0000 -@@ -398,8 +398,6 @@ - 'it with --with-gettext=</path/to/gettext> or ' + - '--without-gettext to build without''') - -- conf.CHECK_FUNCS_IN('pthread_create', 'pthread', checklibc=True, headers='pthread.h') -- - conf.CHECK_FUNCS_IN('crypt', 'crypt', checklibc=True) - - conf.CHECK_VARIABLE('rl_event_hook', define='HAVE_DECL_RL_EVENT_HOOK', always=True, diff --git a/net/samba4/files/patch-lib__replace__xattr.c b/net/samba4/files/patch-lib__replace__xattr.c deleted file mode 100644 index 6bbf74b..0000000 --- a/net/samba4/files/patch-lib__replace__xattr.c +++ /dev/null @@ -1,10 +0,0 @@ ---- lib/replace/xattr.c.orig 2013-11-19 12:05:06.297639060 +0000 -+++ lib/replace/xattr.c 2013-11-19 12:05:15.450326063 +0000 -@@ -25,6 +25,7 @@ - License along with this library; if not, see <http://www.gnu.org/licenses/>. - */ - -+#define UID_WRAPPER_NOT_REPLACE - #include "replace.h" - #include "system/filesys.h" - #include "system/dir.h" diff --git a/net/samba4/files/patch-nsswitch__winbind_nss_freebsd.c b/net/samba4/files/patch-nsswitch__winbind_nss_freebsd.c deleted file mode 100644 index 9882268..0000000 --- a/net/samba4/files/patch-nsswitch__winbind_nss_freebsd.c +++ /dev/null @@ -1,125 +0,0 @@ ---- ./nsswitch/winbind_nss_freebsd.c.orig 2012-10-02 08:24:41.000000000 +0000 -+++ ./nsswitch/winbind_nss_freebsd.c 2013-07-03 01:27:00.339935089 +0000 -@@ -5,6 +5,7 @@ - routines against Samba winbind/Windows NT Domain - - Copyright (C) Aaron Collins 2003 -+ Copyright (C) Timur I. Bakeyev 2013 - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public -@@ -23,7 +24,6 @@ - #include "winbind_client.h" - - /* Make sure that the module gets registered needed by freebsd 5.1 */ -- - extern enum nss_status _nss_winbind_getgrent_r(struct group *, char *, size_t, - int *); - extern enum nss_status _nss_winbind_getgrnam_r(const char *, struct group *, -@@ -32,6 +32,8 @@ - size_t, int *); - extern enum nss_status _nss_winbind_setgrent(void); - extern enum nss_status _nss_winbind_endgrent(void); -+extern enum nss_status _nss_winbind_initgroups_dyn(char *, gid_t, long int *, -+ long int *, gid_t **, long int , int *); - - extern enum nss_status _nss_winbind_getpwent_r(struct passwd *, char *, size_t, - int *); -@@ -41,6 +43,7 @@ - size_t, int *); - extern enum nss_status _nss_winbind_setpwent(void); - extern enum nss_status _nss_winbind_endpwent(void); -+ns_mtab *nss_module_register(const char *, unsigned int *, nss_module_unregister_fn *); - - NSS_METHOD_PROTOTYPE(__nss_compat_getgrnam_r); - NSS_METHOD_PROTOTYPE(__nss_compat_getgrgid_r); -@@ -53,6 +56,9 @@ - NSS_METHOD_PROTOTYPE(__nss_compat_getpwent_r); - NSS_METHOD_PROTOTYPE(__nss_compat_setpwent); - NSS_METHOD_PROTOTYPE(__nss_compat_endpwent); -+NSS_METHOD_PROTOTYPE(__nss_compat_endpwent); -+ -+NSS_METHOD_PROTOTYPE(__freebsd_getgroupmembership); - - static ns_mtab methods[] = { - { NSDB_GROUP, "getgrnam_r", __nss_compat_getgrnam_r, _nss_winbind_getgrnam_r }, -@@ -60,6 +66,7 @@ - { NSDB_GROUP, "getgrent_r", __nss_compat_getgrent_r, _nss_winbind_getgrent_r }, - { NSDB_GROUP, "setgrent", __nss_compat_setgrent, _nss_winbind_setgrent }, - { NSDB_GROUP, "endgrent", __nss_compat_endgrent, _nss_winbind_endgrent }, -+{ NSDB_GROUP, "getgroupmembership", __freebsd_getgroupmembership, NULL }, - - { NSDB_PASSWD, "getpwnam_r", __nss_compat_getpwnam_r, _nss_winbind_getpwnam_r }, - { NSDB_PASSWD, "getpwuid_r", __nss_compat_getpwuid_r, _nss_winbind_getpwuid_r }, -@@ -69,6 +76,71 @@ - - }; - -+/* Taken from libc */ -+static int -+gr_addgid(gid_t gid, gid_t *groups, int maxgrp, int *grpcnt) -+{ -+ int ret, dupc; -+ -+ /* skip duplicates */ -+ for (dupc = 0; dupc < MIN(maxgrp, *grpcnt); dupc++) { -+ if (groups[dupc] == gid) -+ return 1; -+ } -+ -+ ret = 1; -+ if (*grpcnt < maxgrp) /* add this gid */ -+ groups[*grpcnt] = gid; -+ else -+ ret = 0; -+ -+ (*grpcnt)++; -+ -+ return ret; -+} -+ -+/* -+ rv = _nsdispatch(NULL, dtab, NSDB_GROUP, "getgroupmembership", -+ defaultsrc, uname, agroup, groups, maxgrp, grpcnt); -+*/ -+ -+int -+__freebsd_getgroupmembership(void *retval, void *mdata, va_list ap) -+{ -+ const char *uname = va_arg(ap, const char *); -+ gid_t group = va_arg(ap, gid_t); -+ gid_t *groups = va_arg(ap, gid_t *); -+ int maxgrp = va_arg(ap, int); -+ int *groupc = va_arg(ap, int *); -+ -+ NSS_STATUS ret; -+ long int lcount, lsize; -+ int i, errnop; -+ gid_t *tmpgroups; -+ -+ /* Can be realloc() inside _nss_winbind_initgroups_dyn() */ -+ if ((tmpgroups=calloc(maxgrp, sizeof(gid_t))) == NULL) { -+ errno = ENOMEM; -+ return NS_TRYAGAIN; -+ } -+ -+ lcount = 0; -+ lsize = maxgrp; -+ /* insert primary membership(possibly already there) */ -+ gr_addgid(group, groups, maxgrp, groupc); -+ /* Don't limit number of groups, we want to know total size */ -+ ret = _nss_winbind_initgroups_dyn(uname, group, &lcount, &lsize, -+ &tmpgroups, 0, &errnop); -+ if (ret == NSS_STATUS_SUCCESS) { -+ /* lcount potentially can be bigger than maxgrp, so would groupc */ -+ for (i = 0; i < lcount; i++) -+ gr_addgid(tmpgroups[i], groups, maxgrp, groupc); -+ } -+ free(tmpgroups); -+ /* Let following nsswitch backend(s) add more groups(?) */ -+ return NSS_STATUS_NOTFOUND; -+} -+ - ns_mtab * - nss_module_register(const char *source, unsigned int *mtabsize, - nss_module_unregister_fn *unreg) diff --git a/net/samba4/files/patch-nsswitch__wins_freebsd.c b/net/samba4/files/patch-nsswitch__wins_freebsd.c deleted file mode 100644 index 1b47c70..0000000 --- a/net/samba4/files/patch-nsswitch__wins_freebsd.c +++ /dev/null @@ -1,84 +0,0 @@ ---- ./nsswitch/wins_freebsd.c.orig 2013-07-03 01:06:20.689871582 +0000 -+++ ./nsswitch/wins_freebsd.c 2013-07-03 01:33:02.779873084 +0000 -@@ -0,0 +1,81 @@ -+/* -+ Unix SMB/CIFS implementation. -+ -+ Copyright (C) Timur I. Bakeyev 2007 -+ -+ This library is free software; you can redistribute it and/or -+ modify it under the terms of the GNU Library General Public -+ License as published by the Free Software Foundation; either -+ version 2 of the License, or (at your option) any later version. -+ -+ This library is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -+ Library General Public License for more details. -+ -+ You should have received a copy of the GNU Library General Public -+ License along with this library; if not, write to the -+ Free Software Foundation, Inc., 59 Temple Place - Suite 330, -+ Boston, MA 02111-1307, USA. -+*/ -+ -+#include "winbind_client.h" -+ -+extern enum nss_status _nss_wins_gethostbyname2_r(const char *name, int af, struct hostent *he, -+ char *buffer, size_t buflen, int *h_errnop); -+ -+ns_mtab *nss_module_register(const char *source, unsigned int *, nss_module_unregister_fn *); -+ -+NSS_METHOD_PROTOTYPE(__nss_wins_freebsd_gethostbyname2_r); -+ -+static ns_mtab methods[] = -+{ -+ { NSDB_HOSTS, "getaddrinfo", NULL, NULL }, -+ { NSDB_HOSTS, "ghbyname", NULL, NULL }, -+ { NSDB_HOSTS, "ghbyaddr", NULL, NULL }, -+ { NSDB_HOSTS, "gethostbyaddr_r", NULL, NULL }, -+ { NSDB_HOSTS, "gethostbyname2_r", __nss_wins_freebsd_gethostbyname2_r, _nss_wins_gethostbyname2_r }, -+ { NSDB_HOSTS, "getnetbyname_r", NULL, NULL }, -+ { NSDB_HOSTS, "getnetbyaddr_r", NULL, NULL }, -+ { NSDB_HOSTS, "gethostbyname", NULL, NULL }, -+ { NSDB_HOSTS, "gethostbyaddr", NULL, NULL }, -+ { NSDB_HOSTS, "getnetbyname", NULL, NULL }, -+ { NSDB_HOSTS, "getnetbyaddr", NULL, NULL } -+}; -+ -+int -+__nss_wins_freebsd_gethostbyname2_r(void *retval, void *mdata, va_list ap) -+{ -+ int (*fn)(const char *, int, struct hostent *, char *, size_t, int *); -+ const char *hostname; -+ int af; -+ struct hostent *he; -+ char *buffer; -+ size_t buflen; -+ int *h_errnop; -+ enum nss_status status; -+ -+ fn = mdata; -+ hostname = va_arg(ap, const char *); -+ af = va_arg(ap, int); -+ he = va_arg(ap, struct hostent *); -+ buffer = va_arg(ap, char *); -+ buflen = va_arg(ap, size_t); -+ h_errnop = va_arg(ap, int *); -+ -+ status = fn(hostname, af, he, buffer, buflen, h_errnop); -+ status = __nss_compat_result(status, *h_errnop); -+ if (status == NS_SUCCESS) -+ *(struct hostent **)retval = he; -+ -+ return (status); -+} -+ -+ns_mtab * -+nss_module_register(const char *source __unused, unsigned int *mtabsize, -+ nss_module_unregister_fn *unreg) -+{ -+ *mtabsize = sizeof(methods) / sizeof(methods[0]); -+ *unreg = NULL; -+ return (methods); -+} diff --git a/net/samba4/files/patch-nsswitch__wscript_build b/net/samba4/files/patch-nsswitch__wscript_build deleted file mode 100644 index 8efdb86..0000000 --- a/net/samba4/files/patch-nsswitch__wscript_build +++ /dev/null @@ -1,15 +0,0 @@ ---- nsswitch/wscript_build.orig 2015-01-15 23:07:01.654902807 +0000 -+++ nsswitch/wscript_build 2015-01-15 23:11:43.587388779 +0000 -@@ -57,6 +57,12 @@ - realname='nss_winbind.so.1', - vnum='1') - -+ bld.SAMBA3_LIBRARY('nss_wins', -+ source='wins.c wins_freebsd.c', -+ deps='''param libsmb LIBTSOCKET''', -+ realname='nss_wins.so.1', -+ vnum='1') -+ - elif (host_os.rfind('netbsd') > -1): - # NetBSD winbind client is implemented as a wrapper - # around the Linux version. It needs getpwent_r() to diff --git a/net/samba4/files/patch-pidl__lib__Parse__Pidl__ODL.pm b/net/samba4/files/patch-pidl__lib__Parse__Pidl__ODL.pm deleted file mode 100644 index 0d7e18f..0000000 --- a/net/samba4/files/patch-pidl__lib__Parse__Pidl__ODL.pm +++ /dev/null @@ -1,11 +0,0 @@ ---- pidl/lib/Parse/Pidl/ODL.pm.orig 2012-10-02 08:24:41.000000000 +0000 -+++ pidl/lib/Parse/Pidl/ODL.pm 2013-06-13 09:21:02.000000000 +0000 -@@ -70,7 +70,7 @@ - next; - } - my $podl = Parse::Pidl::IDL::parse_file($idl_path, $opt_incdirs); -- if (defined(@$podl)) { -+ if (defined($podl)) { - require Parse::Pidl::Typelist; - my $basename = basename($idl_path, ".idl"); - diff --git a/net/samba4/files/patch-pidl__pidl b/net/samba4/files/patch-pidl__pidl deleted file mode 100644 index d8359de..0000000 --- a/net/samba4/files/patch-pidl__pidl +++ /dev/null @@ -1,11 +0,0 @@ ---- pidl/pidl.orig 2015-12-17 22:15:54.056094416 +0000 -+++ pidl/pidl 2015-12-17 22:16:11.261480226 +0000 -@@ -604,7 +604,7 @@ - require Parse::Pidl::IDL; - - $pidl = Parse::Pidl::IDL::parse_file($idl_file, \@opt_incdirs); -- defined @$pidl || die "Failed to parse $idl_file"; -+ defined $pidl || die "Failed to parse $idl_file"; - } - - require Parse::Pidl::Typelist; diff --git a/net/samba4/files/patch-source3__client__dnsbrowse.c b/net/samba4/files/patch-source3__client__dnsbrowse.c deleted file mode 100644 index 83f2dd7..0000000 --- a/net/samba4/files/patch-source3__client__dnsbrowse.c +++ /dev/null @@ -1,11 +0,0 @@ ---- source3/client/dnsbrowse.c.orig 2013-11-12 10:20:03.145351798 +0100 -+++ source3/client/dnsbrowse.c 2013-11-12 10:20:11.762761273 +0100 -@@ -91,7 +91,7 @@ - } - } - -- TALLOC_FREE(fdset); -+ TALLOC_FREE(ctx); - DNSServiceRefDeallocate(mdns_conn_sdref); - } - diff --git a/net/samba4/files/patch-source3__lib__sysquotas_nfs.c b/net/samba4/files/patch-source3__lib__sysquotas_nfs.c deleted file mode 100644 index e22d874..0000000 --- a/net/samba4/files/patch-source3__lib__sysquotas_nfs.c +++ /dev/null @@ -1,11 +0,0 @@ ---- source3/lib/sysquotas_nfs.c.orig 2013-11-05 12:08:05.568859038 +0000 -+++ source3/lib/sysquotas_nfs.c 2013-11-05 12:08:28.560058330 +0000 -@@ -154,7 +154,7 @@ - gq_args.gqa_uid = id.uid; - - DEBUG(10, ("sys_get_nfs_quotas: Asking for quota of path '%s' on " -- "host '%s', rpcprog '%i', rpcvers '%i', network '%s'\n", -+ "host '%s', rpcprog '%li', rpcvers '%li', network '%s'\n", - host, testpath+1, RQUOTAPROG, RQUOTAVERS, "udp")); - - clnt = clnt_create(host, RQUOTAPROG, RQUOTAVERS, "udp"); diff --git a/net/samba4/files/patch-source3__modules__vfs_zfsacl.c b/net/samba4/files/patch-source3__modules__vfs_zfsacl.c deleted file mode 100644 index 8021ca7..0000000 --- a/net/samba4/files/patch-source3__modules__vfs_zfsacl.c +++ /dev/null @@ -1,19 +0,0 @@ ---- ./source3/modules/vfs_zfsacl.c.orig 2013-02-05 12:25:25.000000000 +0000 -+++ ./source3/modules/vfs_zfsacl.c 2013-02-06 02:16:53.149872040 +0000 -@@ -269,13 +269,14 @@ - - static SMB_ACL_T zfsacl_fail__sys_acl_get_file(vfs_handle_struct *handle, - const char *path_p, -- SMB_ACL_TYPE_T type) -+ SMB_ACL_TYPE_T type, -+ TALLOC_CTX *mem_ctx) - { - return (SMB_ACL_T)NULL; - } - - static SMB_ACL_T zfsacl_fail__sys_acl_get_fd(vfs_handle_struct *handle, -- files_struct *fsp) -+ files_struct *fsp, TALLOC_CTX *mem_ctx) - { - return (SMB_ACL_T)NULL; - } diff --git a/net/samba4/files/patch-source3__smbd__quotas.c b/net/samba4/files/patch-source3__smbd__quotas.c deleted file mode 100644 index 0708b8b..0000000 --- a/net/samba4/files/patch-source3__smbd__quotas.c +++ /dev/null @@ -1,19 +0,0 @@ ---- ./source3/smbd/quotas.c.orig 2012-10-02 08:24:45.000000000 +0000 -+++ ./source3/smbd/quotas.c 2013-11-18 22:45:12.800444516 +0000 -@@ -144,6 +144,7 @@ - if (!cutstr) - return False; - -+ memset(&D, '\0', sizeof(D)); - memset(cutstr, '\0', len+1); - host = strncat(cutstr,mnttype, sizeof(char) * len ); - DEBUG(5,("nfs_quotas: looking for mount on \"%s\"\n", cutstr)); -@@ -152,7 +153,7 @@ - args.gqa_pathp = testpath+1; - args.gqa_uid = uid; - -- DEBUG(5,("nfs_quotas: Asking for host \"%s\" rpcprog \"%i\" rpcvers \"%i\" network \"%s\"\n", host, RQUOTAPROG, RQUOTAVERS, "udp")); -+ DEBUG(5,("nfs_quotas: Asking for host \"%s\" rpcprog \"%lu\" rpcvers \"%lu\" network \"%s\"\n", host, RQUOTAPROG, RQUOTAVERS, "udp")); - - if ((clnt = clnt_create(host, RQUOTAPROG, RQUOTAVERS, "udp")) == NULL) { - ret = False; diff --git a/net/samba4/files/patch-source3__utils__net.c b/net/samba4/files/patch-source3__utils__net.c deleted file mode 100644 index aa4853a..0000000 --- a/net/samba4/files/patch-source3__utils__net.c +++ /dev/null @@ -1,18 +0,0 @@ ---- ./source3/utils/net.c.orig 2013-01-29 08:49:31.000000000 +0000 -+++ ./source3/utils/net.c 2013-01-31 15:04:24.069877314 +0000 -@@ -898,8 +898,13 @@ - set_global_myname(c->opt_requester_name); - } - -- if (!c->opt_user_name && getenv("LOGNAME")) { -- c->opt_user_name = getenv("LOGNAME"); -+ if (!c->opt_user_name) { -+ if(getenv("LOGNAME")) -+ c->opt_user_name = getenv("LOGNAME"); -+ else -+ d_fprintf(stderr, -+ _("Environment LOGNAME is not defined." -+ " Trying anonymous access.\n")); - } - - if (!c->opt_workgroup) { diff --git a/net/samba4/files/patch-source3__utils__net_lookup.c b/net/samba4/files/patch-source3__utils__net_lookup.c deleted file mode 100644 index 5e4e300..0000000 --- a/net/samba4/files/patch-source3__utils__net_lookup.c +++ /dev/null @@ -1,11 +0,0 @@ ---- ./source3/utils/net_lookup.c.orig 2013-11-18 23:13:25.859884543 +0000 -+++ ./source3/utils/net_lookup.c 2013-11-18 23:21:48.283312520 +0000 -@@ -321,7 +321,7 @@ - - print_sockaddr(addr, sizeof(addr), &kdcs[i].ss); - -- d_printf("%s:%hd\n", addr, kdcs[i].port); -+ d_printf("%s:%u\n", addr, kdcs[i].port); - } - - return 0; diff --git a/net/samba4/files/patch-source3__utils__net_time.c b/net/samba4/files/patch-source3__utils__net_time.c deleted file mode 100644 index 6c6ce76..0000000 --- a/net/samba4/files/patch-source3__utils__net_time.c +++ /dev/null @@ -1,19 +0,0 @@ ---- ./source3/utils/net_time.c.orig 2010-04-01 15:26:22.000000000 +0200 -+++ ./source3/utils/net_time.c 2010-04-23 01:08:35.000000000 +0200 -@@ -87,10 +87,15 @@ - if (!tm) { - return "unknown"; - } -- -+#if defined(FREEBSD) -+ return talloc_asprintf(talloc_tos(), "%02d%02d%02d%02d%02d.%02d", -+ tm->tm_year + 1900, tm->tm_mon+1, tm->tm_mday, -+ tm->tm_hour, tm->tm_min, tm->tm_sec); -+#else - return talloc_asprintf(talloc_tos(), "%02d%02d%02d%02d%04d.%02d", - tm->tm_mon+1, tm->tm_mday, tm->tm_hour, - tm->tm_min, tm->tm_year + 1900, tm->tm_sec); -+#endif - } - - int net_time_usage(struct net_context *c, int argc, const char **argv) diff --git a/net/samba4/files/patch-source3__winbindd__wscript_build b/net/samba4/files/patch-source3__winbindd__wscript_build deleted file mode 100644 index 5e1fc53..0000000 --- a/net/samba4/files/patch-source3__winbindd__wscript_build +++ /dev/null @@ -1,55 +0,0 @@ ---- ./source3/winbindd/wscript_build.orig 2013-02-05 12:25:26.000000000 +0000 -+++ ./source3/winbindd/wscript_build 2013-02-08 11:47:42.280566856 +0000 -@@ -18,9 +18,9 @@ - - bld.SAMBA3_LIBRARY('idmap', - source=IDMAP_SRC, -- deps='samba-util', -- vars=locals(), -+ deps='samba-util pdb', - allow_undefined_symbols=True, -+ vars=locals(), - private_library=True) - - bld.SAMBA3_SUBSYSTEM('IDMAP_HASH', -@@ -36,9 +36,9 @@ - - bld.SAMBA3_MODULE('idmap_ad', - subsystem='idmap', -- allow_undefined_symbols=True, - source='', - deps='IDMAP_AD', -+ allow_undefined_symbols=True, - init_function='', - internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_ad'), - enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_ad') and bld.CONFIG_SET("HAVE_LDAP")) -@@ -80,6 +80,7 @@ - subsystem='idmap', - source=IDMAP_TDB_SRC, - deps='samba-util tdb', -+ allow_undefined_symbols=True, - init_function='', - internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_tdb'), - enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_tdb')) -@@ -87,7 +88,7 @@ - bld.SAMBA3_MODULE('idmap_tdb2', - subsystem='idmap', - source=IDMAP_TDB2_SRC, -- deps='samba-util tdb', -+ deps='samba-util tdb param', - init_function='', - internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_tdb2'), - enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_tdb2')) -@@ -105,10 +106,10 @@ - subsystem='idmap', - source=IDMAP_AUTORID_SRC, - deps='samba-util tdb', -+ allow_undefined_symbols=True, - init_function='', - internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_autorid'), -- enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_autorid'), -- allow_undefined_symbols=True) -+ enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_autorid')) - - - NSS_INFO_TEMPLATE_SRC = 'nss_info_template.c' diff --git a/net/samba4/files/patch-source3__wscript b/net/samba4/files/patch-source3__wscript deleted file mode 100644 index 40d2350..0000000 --- a/net/samba4/files/patch-source3__wscript +++ /dev/null @@ -1,105 +0,0 @@ ---- ./source3/wscript.orig 2013-10-07 08:49:10.000000000 +0000 -+++ ./source3/wscript 2013-11-18 22:45:12.808702339 +0000 -@@ -35,6 +35,7 @@ - opt.SAMBA3_ADD_OPTION('utmp') - opt.SAMBA3_ADD_OPTION('pthreadpool', with_name="enable", without_name="disable", default=True) - opt.SAMBA3_ADD_OPTION('avahi', with_name="enable", without_name="disable") -+ opt.SAMBA3_ADD_OPTION('dnssd', with_name="enable", without_name="disable") - opt.SAMBA3_ADD_OPTION('iconv') - opt.SAMBA3_ADD_OPTION('acl-support') - opt.SAMBA3_ADD_OPTION('dnsupdate') -@@ -312,7 +312,9 @@ - - # Check if the compiler will optimize out functions - conf.CHECK_CODE(''' --if (0) { -+char s = "string"; -+int len = 6; -+if (sizeof(s) != len && sizeof(s) != sizeof(char *)) { - this_function_does_not_exist(); - } else { - return 1; -@@ -502,7 +504,7 @@ - conf.CHECK_CODE('struct aiocb a; return aio_return(&a);', 'HAVE_AIO_RETURN', msg='Checking for aio_return', headers='aio.h', lib='aio rt') - conf.CHECK_CODE('struct aiocb a; return aio_error(&a);', 'HAVE_AIO_ERROR', msg='Checking for aio_error', headers='aio.h', lib='aio rt') - conf.CHECK_CODE('struct aiocb a; return aio_cancel(1, &a);', 'HAVE_AIO_CANCEL', msg='Checking for aio_cancel', headers='aio.h', lib='aio rt') -- conf.CHECK_CODE('struct aiocb a; struct timespec t; return aio_suspend(&a, 1, &t);', 'HAVE_AIO_SUSPEND', msg='Checking for aio_suspend', headers='aio.h', lib='aio rt') -+ conf.CHECK_CODE('const struct aiocb * const a[1]; struct timespec t; return aio_suspend(a, 1, &t);', 'HAVE_AIO_SUSPEND', msg='Checking for aio_suspend', headers='aio.h', lib='aio rt') - if not conf.CONFIG_SET('HAVE_AIO'): - conf.DEFINE('HAVE_NO_AIO', '1') - else: -@@ -812,6 +813,17 @@ - conf.SET_TARGET_TYPE('avahi-common', 'EMPTY') - conf.SET_TARGET_TYPE('avahi-client', 'EMPTY') - -+ if Options.options.with_dnssd: -+ conf.env.with_dnssd = True -+ if not conf.CHECK_HEADERS('dns_sd.h'): -+ conf.env.with_dnssd = False -+ if not conf.CHECK_FUNCS_IN('DNSServiceRegister', 'dns_sd'): -+ conf.env.with_dnssd = False -+ if conf.env.with_dnssd: -+ conf.DEFINE('WITH_DNSSD_SUPPORT', 1) -+ else: -+ conf.SET_TARGET_TYPE('dns_sd', 'EMPTY') -+ - if Options.options.with_iconv: - conf.env.with_iconv = True - if not conf.CHECK_FUNCS_IN('iconv_open', 'iconv', headers='iconv.h'): -@@ -1670,26 +1670,8 @@ - - if PTHREAD_LDFLAGS == 'error': - if conf.CHECK_FUNCS_IN('pthread_attr_init', 'pthread'): -- PTHREAD_CFLAGS='-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS' -- PTHREAD_LDFLAGS='-lpthread' -- if PTHREAD_LDFLAGS == 'error': -- if conf.CHECK_FUNCS_IN('pthread_attr_init', 'pthreads'): -- PTHREAD_CFLAGS='-D_THREAD_SAFE' -- PTHREAD_LDFLAGS='-lpthreads' -- if PTHREAD_LDFLAGS == 'error': -- if conf.CHECK_FUNCS_IN('pthread_attr_init', 'c_r'): -- PTHREAD_CFLAGS='-D_THREAD_SAFE -pthread' -+ PTHREAD_CFLAGS='-pthread' - PTHREAD_LDFLAGS='-pthread' -- if PTHREAD_LDFLAGS == 'error': -- if conf.CHECK_FUNCS('pthread_attr_init'): -- PTHREAD_CFLAGS='-D_REENTRANT' -- PTHREAD_LDFLAGS='-lpthread' -- # especially for HP-UX, where the CHECK_FUNC macro fails to test for -- # pthread_attr_init. On pthread_mutex_lock it works there... -- if PTHREAD_LDFLAGS == 'error': -- if conf.CHECK_FUNCS_IN('pthread_mutex_lock', 'pthread'): -- PTHREAD_CFLAGS='-D_REENTRANT' -- PTHREAD_LDFLAGS='-lpthread' - - if PTHREAD_CFLAGS != 'error' and PTHREAD_LDFLAGS != 'error': - conf.ADD_CFLAGS(PTHREAD_CFLAGS) -@@ -1719,8 +1701,8 @@ - auth_script vfs_readahead vfs_xattr_tdb vfs_posix_eadb - vfs_streams_xattr vfs_streams_depot vfs_acl_xattr vfs_acl_tdb - vfs_smb_traffic_analyzer vfs_preopen vfs_catia vfs_scannedonly -- vfs_media_harmony -- vfs_commit -+ vfs_media_harmony -+ vfs_commit - vfs_crossrename vfs_linux_xfs_sgid - vfs_time_audit idmap_autorid idmap_tdb2 - idmap_rid idmap_hash''')) -@@ -1733,7 +1715,7 @@ - - if Options.options.enable_selftest or Options.options.developer: - default_shared_modules.extend(TO_LIST('vfs_fake_acls')) -- -+ - - if conf.CONFIG_SET('AD_DC_BUILD_IS_ENABLED'): - default_static_modules.extend(TO_LIST('pdb_samba_dsdb auth_samba4 vfs_dfs_samba4')) -@@ -1766,7 +1748,7 @@ - default_static_modules.extend(TO_LIST('charset_macosxfs')) - - if conf.CONFIG_SET('HAVE_GPFS'): -- default_shared_modules.extend(TO_LIST('vfs_gpfs')) -+ default_shared_modules.extend(TO_LIST('vfs_gpfs')) - - if conf.CONFIG_SET('SAMBA_FAM_LIBS'): - default_shared_modules.extend(TO_LIST('vfs_notify_fam')) diff --git a/net/samba4/files/patch-source3__wscript_build b/net/samba4/files/patch-source3__wscript_build deleted file mode 100644 index 691a1dc..0000000 --- a/net/samba4/files/patch-source3__wscript_build +++ /dev/null @@ -1,33 +0,0 @@ ---- source3/wscript_build.orig 2015-05-06 19:07:37.000000000 +0000 -+++ source3/wscript_build 2015-05-21 22:03:55.321652920 +0000 -@@ -968,10 +968,12 @@ - LIBAFS_SETTOKEN - RPC_SERVER - NDR_SMBXSRV -- LIBASYS -+ LIBASYS - ccan-hash - NDR_SMB_ACL - netapi -+ inotify -+ dns_sd - ''' + bld.env['dmapi_lib'], - private_library=True, - vars=locals()) -@@ -1277,6 +1279,7 @@ - libsmb - msrpc3 - RPC_NDR_SRVSVC -+ dns_sd - cli_smb_common''') - - bld.SAMBA3_BINARY('net', -@@ -1629,7 +1632,7 @@ - - bld.SAMBA3_PYTHON('pylibsmb', - source='libsmb/pylibsmb.c', -- deps='smbclient samba-credentials', -+ deps='smbclient samba-credentials libsmb errors', - realname='samba/samba3/libsmb_samba_internal.so' - ) - diff --git a/net/samba4/files/patch-source4__dns_server__dns_crypto.c b/net/samba4/files/patch-source4__dns_server__dns_crypto.c deleted file mode 100644 index 96a6d38..0000000 --- a/net/samba4/files/patch-source4__dns_server__dns_crypto.c +++ /dev/null @@ -1,77 +0,0 @@ -From 27b732f6bfcdcd96fd76e89c624f5f18ca944531 Mon Sep 17 00:00:00 2001 -From: Guenter Kukkukk <kukks@samba.org> -Date: Sat, 16 Feb 2013 16:53:16 +0100 -Subject: [PATCH] Fix internal DNS dyn. update, seen as: ; TSIG error with server: tsig verify failure - -The dns update signed response must be handled differently than the TKEY response - -Signed-off-by: Guenter Kukkukk <kukks@samba.org> ---- - source4/dns_server/dns_crypto.c | 44 ++++++++++++++++++++++++++++++++------ - 1 files changed, 37 insertions(+), 7 deletions(-) - -diff --git a/source4/dns_server/dns_crypto.c b/source4/dns_server/dns_crypto.c -index 7604a05..71adf68 100644 ---- ./source4/dns_server/dns_crypto.c.orig 2012-10-02 08:24:46.000000000 +0000 -+++ ./source4/dns_server/dns_crypto.c 2013-11-18 22:45:12.818702284 +0000 -@@ -244,6 +244,8 @@ - DATA_BLOB packet_blob, tsig_blob, sig; - uint8_t *buffer = NULL; - size_t buffer_len = 0; -+ size_t miclen_bytes = 0; -+ size_t mic_size = 0; - struct dns_server_tkey * tkey = NULL; - struct dns_res_rec *tsig = talloc_zero(mem_ctx, struct dns_res_rec); - -@@ -298,16 +300,44 @@ - return DNS_ERR(SERVER_FAILURE); - } - -- buffer_len = packet_blob.length + tsig_blob.length; -- buffer = talloc_zero_array(mem_ctx, uint8_t, buffer_len); -- if (buffer == NULL) { -- return WERR_NOMEM; -- } -+ /* DNS update must be handled differently than the TKEY case */ -+ if ((packet->operation & DNS_OPCODE) == DNS_OPCODE_UPDATE) { -+ /* Here the request MIC must be placed in front of the buffer. -+ Calculate the length of the buffer used for the request MIC: -+ 2 bytes (sizeof uint16_t) for the length itself -+ length bytes of the MIC (here 16 + 12 = 28 bytes) */ -+ miclen_bytes = sizeof(state->tsig->rdata.tsig_record.mac_size); -+ mic_size = miclen_bytes + state->tsig->rdata.tsig_record.mac_size; - -- memcpy(buffer, packet_blob.data, packet_blob.length); -- memcpy(buffer+packet_blob.length, tsig_blob.data, tsig_blob.length); -+ buffer_len = mic_size + packet_blob.length + tsig_blob.length; -+ buffer = talloc_zero_array(mem_ctx, uint8_t, buffer_len); -+ if (buffer == NULL) { -+ return WERR_NOMEM; -+ } - -+ /* copy the 2 length bytes of request MIC in big-endian order */ -+ RSSVAL(buffer,0,state->tsig->rdata.tsig_record.mac_size); -+ -+ /* copy the request MIC itself */ -+ memcpy(buffer + miclen_bytes, state->tsig->rdata.tsig_record.mac, -+ state->tsig->rdata.tsig_record.mac_size); -+ -+ /* copy the remaining data */ -+ memcpy(buffer + mic_size, packet_blob.data, packet_blob.length); -+ memcpy(buffer + mic_size + packet_blob.length, tsig_blob.data, tsig_blob.length); -+ } else { -+ buffer_len = packet_blob.length + tsig_blob.length; -+ buffer = talloc_zero_array(mem_ctx, uint8_t, buffer_len); -+ if (buffer == NULL) { -+ return WERR_NOMEM; -+ } - -+ memcpy(buffer, packet_blob.data, packet_blob.length); -+ memcpy(buffer+packet_blob.length, tsig_blob.data, tsig_blob.length); -+ } -+ -+ /* FIXME: as in the verify case, some padding is wrong */ -+ buffer_len -=2; - status = gensec_sign_packet(tkey->gensec, mem_ctx, buffer, buffer_len, - buffer, buffer_len, &sig); - if (!NT_STATUS_IS_OK(status)) { diff --git a/net/samba4/files/patch-source4__heimdal__lib__roken__rkpty.c b/net/samba4/files/patch-source4__heimdal__lib__roken__rkpty.c deleted file mode 100644 index 7e45b1f..0000000 --- a/net/samba4/files/patch-source4__heimdal__lib__roken__rkpty.c +++ /dev/null @@ -1,11 +0,0 @@ ---- source4/heimdal/lib/roken/rkpty.c.orig 2013-11-05 12:05:01.120532069 +0000 -+++ source4/heimdal/lib/roken/rkpty.c 2013-11-05 12:05:17.764730404 +0000 -@@ -232,7 +232,7 @@ - errx(1, "timeout waiting for %s (line %u)", - c->str, c->lineno); - else if (alarmset) -- errx(1, "got a signal %d waiting for %s (line %u)", -+ errx(1, "got a signal %ld waiting for %s (line %u)", - alarmset, c->str, c->lineno); - if (sret <= 0) - errx(1, "end command while waiting for %s (line %u)", diff --git a/net/samba4/files/patch-source4__ntvfs__sysdep__wscript_build b/net/samba4/files/patch-source4__ntvfs__sysdep__wscript_build deleted file mode 100644 index a147d65..0000000 --- a/net/samba4/files/patch-source4__ntvfs__sysdep__wscript_build +++ /dev/null @@ -1,11 +0,0 @@ ---- ./source4/ntvfs/sysdep/wscript_build.orig 2012-10-02 08:24:48.000000000 +0000 -+++ ./source4/ntvfs/sysdep/wscript_build 2013-02-05 04:12:51.899867297 +0000 -@@ -4,7 +4,7 @@ - source='inotify.c', - subsystem='sys_notify', - init_function='sys_notify_inotify_init', -- deps='events', -+ deps='events inotify', - enabled = bld.CONFIG_SET('HAVE_LINUX_INOTIFY') - ) - diff --git a/net/samba4/files/patch-source4__ntvfs__sysdep__wscript_configure b/net/samba4/files/patch-source4__ntvfs__sysdep__wscript_configure deleted file mode 100644 index bdd6c62..0000000 --- a/net/samba4/files/patch-source4__ntvfs__sysdep__wscript_configure +++ /dev/null @@ -1,11 +0,0 @@ ---- ./source4/ntvfs/sysdep/wscript_configure.orig 2012-10-02 08:24:48.000000000 +0000 -+++ ./source4/ntvfs/sysdep/wscript_configure 2013-02-05 04:12:51.909866322 +0000 -@@ -5,5 +5,8 @@ - conf.CHECK_DECLS('F_SETLEASE', headers='linux/fcntl.h', reverse=True) - conf.CHECK_DECLS('SA_SIGINFO', headers='signal.h', reverse=True) - -+conf.SET_TARGET_TYPE('inotify', 'EMPTY') -+conf.CHECK_FUNCS_IN('inotify_init', 'inotify', checklibc=True, headers='sys/inotify.h') -+ - if (conf.CONFIG_SET('HAVE_SYS_INOTIFY_H')): - conf.DEFINE('HAVE_LINUX_INOTIFY', 1) diff --git a/net/samba4/files/pkg-message.in b/net/samba4/files/pkg-message.in deleted file mode 100644 index 6cdc13d..0000000 --- a/net/samba4/files/pkg-message.in +++ /dev/null @@ -1,22 +0,0 @@ -=============================================================================== - -How to start: http://wiki.samba.org/index.php/Samba4/HOWTO - -* Your configuration is: %%SAMBA4_CONFDIR%%/%%SAMBA4_CONFIG%% - -* All the relevant databases are under: %%SAMBA4_LOCKDIR%% - -* All the logs are under: %%SAMBA4_LOGDIR%% - -* Provisioning script is: %%PREFIX%%/bin/samba-tool - -%%NSUPDATE%%You will need to specify location of the 'nsupdate' command in the -%%NSUPDATE%%%%SAMBA4_CONFIG%% file: -%%NSUPDATE%% -%%NSUPDATE%% nsupdate command = %%PREFIX%%/bin/samba-nsupdate -g -%%NSUPDATE%% -For additional documentation check: http://wiki.samba.org/index.php/Samba4 - -Bug reports should go to the: https://bugzilla.samba.org/ - -=============================================================================== diff --git a/net/samba4/files/samba_server.in b/net/samba4/files/samba_server.in deleted file mode 100644 index ea9cbad..0000000 --- a/net/samba4/files/samba_server.in +++ /dev/null @@ -1,202 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -# PROVIDE: samba_server -# REQUIRE: NETWORKING SERVERS DAEMON ldconfig resolv ntpd -# BEFORE: LOGIN -# KEYWORD: shutdown -# -# Add the following lines to /etc/rc.conf.local or /etc/rc.conf -# to enable this service: -# -#samba_server_enable="YES" -# -# You can disable/enable any of the Samba daemons by specifying: -#samba_enable="NO" -#nmbd_enable="NO" -#smbd_enable="NO" -# You need to enable winbindd separately, by adding: -#winbindd_enable="YES" -# Configuration file can be set with: -#samba_server_config="%%SAMBA4_CONFDIR%%/%%SAMBA4_CONFIG%%" -# - -. /etc/rc.subr - -name="samba_server" -rcvar=${name}_enable -# Defaults -samba_server_config_default="%%SAMBA4_CONFDIR%%/%%SAMBA4_CONFIG%%" -smbcontrol_command="%%PREFIX%%/bin/smbcontrol" -# Custom commands -extra_commands="reload status" - -start_precmd="samba_server_prestart" -restart_precmd="samba_server_checkconfig" -reload_precmd="samba_server_checkconfig" -start_cmd="samba_server_cmd" -stop_cmd="samba_server_cmd" -status_cmd="samba_server_cmd" -reload_cmd="samba_server_reload_cmd" -rcvar_cmd="samba_server_rcvar_cmd" - -samba_server_checkconfig() { - echo -n "Performing sanity check on Samba configuration: " - if ${testparm_command} >/dev/null 2>&1; then - echo "OK" - else - echo "FAILED" - return 1 - fi -} - -samba_server_prestart() { - # Make sure we have our RUNDIR, even if it's on a tmpfs - if [ -d "${samba_server_piddir}" -o ! -e "${samba_server_piddir}" ]; then - install -d -m 0755 "${samba_server_piddir}" - fi - # https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200186 - if [ -d "${samba_server_privatedir}" -o ! -e "${samba_server_privatedir}" ]; then - install -d -m 0700 "${samba_server_privatedir}" - fi -# # Remove smbd.pid before starting up samba(needed for s3fs) -# if [ -e "${samba_server_piddir}/smbd.pid" ] ; then -# rm -f "${samba_server_piddir}/smbd.pid" -# fi - samba_server_checkconfig -} - -samba_server_rcvar_cmd() { - local name rcvar - rcvar=${name}_enable - # Prevent recursive calling - unset "${rc_arg}_cmd" "${rc_arg}_precmd" "${rc_arg}_postcmd" - # Check master variable - run_rc_command "${_rc_prefix}${rc_arg}" ${rc_extra_args} - # Check dependent variables - for name in ${samba_daemons}; do - # XXX - rcvars=''; v='' - rcvar=${name}_enable - run_rc_command "${_rc_prefix}${rc_arg}" ${rc_extra_args} - done -} - -samba_server_reload_cmd() { - local name rcvar command pidfile force_run - # Prevent recursive calling - unset "${rc_arg}_cmd" "${rc_arg}_precmd" "${rc_arg}_postcmd" - # Ignore rcvar and run command - if [ -n "${_rc_prefix}" -a "${_rc_prefix}" = "one" ] || [ -n "${rc_force}" ] || [ -n "${rc_fast}" ]; then - force_run=yes - fi - # Apply to all daemons - for name in ${samba_daemons}; do - rcvar=${name}_enable - command="%%PREFIX%%/sbin/${name}" - pidfile="${samba_server_piddir}/${name}.pid" - # Daemon should be enabled and running - if ( [ -n "${rcvar}" ] && checkyesno "${rcvar}" ) || [ -n "$force_run" ]; then - if [ -n "$(check_pidfile "${pidfile}" "${command}")" ]; then - debug "reloading ${name} configuration" - echo "Reloading ${name}." - ${smbcontrol_command} "${name}" 'reload-config' ${command_args} >/dev/null 2>&1 - fi - fi - done -} - -samba_server_cmd() { - local name rcvar rcvars v command pidfile samba_daemons result force_run - # Prevent recursive calling - unset "${rc_arg}_cmd" "${rc_arg}_precmd" "${rc_arg}_postcmd" - # Stop processes in the reverse order - if [ "${rc_arg}" = "stop" ] ; then - samba_daemons=$(reverse_list ${samba_daemons}) - fi - # Ignore rcvar and run command - if [ -n "${_rc_prefix}" -a "${_rc_prefix}" = "one" ] || [ -n "${rc_force}" ] || [ -n "${rc_fast}" ]; then - force_run=yes - fi - # Assume success - result=0 - # Apply to all daemons - for name in ${samba_daemons}; do - # XXX - rcvars=''; v='' - rcvar=${name}_enable - command="%%PREFIX%%/sbin/${name}" - pidfile="${samba_server_piddir}/${name}.pid" - # Daemon should be enabled and running - if ( [ -n "${rcvar}" ] && checkyesno "${rcvar}" ) || [ -n "$force_run" ]; then - run_rc_command "${_rc_prefix}${rc_arg}" ${rc_extra_args} - # If any of the commands failed, take it as a global result - result=$((${result} || $?)) - fi - done - return ${result} -} - -samba_server_config_init() { - local name - # Load configuration - load_rc_config "${name}" - # Defaults - samba_server_enable=${samba_server_enable:=NO} - samba_server_config=${samba_server_config=${samba_server_config_default}} - samba_server_configfile_arg=${samba_server_config:+--configfile="${samba_server_config}"} #" - #testparm_command="%%PREFIX%%/bin/samba-tool testparm --suppress-prompt --verbose ${samba_server_configfile_arg}" - testparm_command="%%PREFIX%%/bin/testparm --suppress-prompt --verbose ${samba_server_config}" - # Determine what daemons are necessary to run Samba in the current role - samba_server_role=$(${testparm_command} --parameter-name='server role' 2>/dev/null) - case "${samba_server_role}" in - active\ directory\ domain\ controller) - samba_daemons="samba" - ;; - auto|*) - samba_daemons="nmbd smbd winbindd" - ;; - esac - # Load daemons configuration - for name in ${samba_daemons}; do - load_rc_config "${name}" - # If samba_server_enable is 'YES' - if [ -n "${rcvar}" ] && checkyesno "${rcvar}"; then - if [ "${name}" != "winbindd" ]; then - # Set variable to 'YES' only if it is unset - eval ${name}_enable=\${${name}_enable-YES} - else - # Winbindd - samba_server_idmap=$(${testparm_command} --parameter-name='idmap uid' 2>/dev/null) - if [ -n "${samba_server_idmap}" ]; then - winbindd_enable="YES" - fi - fi - fi - # If variable is empty, set it to 'NO' - eval ${name}_enable=\${${name}_enable:-NO} - done - # Fetch parameters from configuration file - samba_server_lockdir="$(${testparm_command} --parameter-name='lock directory' 2>/dev/null)" - samba_server_lockdir=${samba_server_lockdir:=%%SAMBA4_LOCKDIR%%} - samba_server_piddir="$(${testparm_command} --parameter-name='pid directory' 2>/dev/null)" - samba_server_piddir=${samba_server_piddir:=%%SAMBA4_RUNDIR%%} - samba_server_privatedir="$(${testparm_command} --parameter-name='private dir' 2>/dev/null)" - samba_server_privatedir=${samba_server_privatedir:=%%SAMBA4_PRIVATEDIR%%} -} - -# Load configuration variables -samba_server_config_init -# Common flags -command_args=${samba_server_configfile_arg} -samba_flags=${samba_flags="--daemon"} -nmbd_flags=${nmbd_flags="--daemon"} -smbd_flags=${smbd_flags="--daemon"} -winbindd_flags=${winbindd_flags="--daemon"} -# Requirements -required_files="${samba_server_config}" -required_dirs="${samba_server_lockdir}" - -run_rc_command "$1" diff --git a/net/samba4/pkg-descr b/net/samba4/pkg-descr deleted file mode 100644 index 6fd81ae..0000000 --- a/net/samba4/pkg-descr +++ /dev/null @@ -1,8 +0,0 @@ -Samba4 is an attempt to implement an Active Directory compatible Domain -Controller. - -In short, you can join a WinNT, Win2000, WinXP or Win2003 member server -to a Samba4 domain, and it will behave much as it does in AD, including -Kerberos domain logins where applicable. - -WWW: http://www.samba.org/ diff --git a/net/samba4/pkg-plist b/net/samba4/pkg-plist deleted file mode 100644 index 04e1eb3..0000000 --- a/net/samba4/pkg-plist +++ /dev/null @@ -1,952 +0,0 @@ -bin/cifsdd -bin/dbwrap_tool -bin/eventlogadm -bin/gentest -bin/locktest -bin/masktest -bin/ndrdump -bin/net -bin/nmblookup -bin/nmblookup4 -bin/ntlm_auth -bin/oLschema2ldif -bin/pdbedit -bin/profiles -bin/regdiff -bin/regpatch -bin/regshell -bin/regtree -bin/rpcclient -%%AD_DC%%bin/samba-tool -bin/sharesec -bin/smbcacls -bin/smbclient -bin/smbclient4 -bin/smbcontrol -bin/smbcquotas -bin/smbget -bin/smbpasswd -bin/smbspool -bin/smbstatus -bin/smbta-util -bin/smbtorture -bin/smbtar -bin/smbtree -bin/testparm -bin/wbinfo -sbin/nmbd -%%AD_DC%%sbin/samba -%%AD_DC%%sbin/samba_dnsupdate -%%AD_DC%%sbin/samba_kcc -%%AD_DC%%sbin/samba_spnupdate -%%AD_DC%%sbin/samba_upgradedns -sbin/smbd -%%SWAT%%sbin/swat -sbin/winbindd -include/samba4/charset.h -include/samba4/core/doserr.h -include/samba4/core/error.h -include/samba4/core/ntstatus.h -include/samba4/core/werror.h -include/samba4/credentials.h -include/samba4/dcerpc.h -%%AD_DC%%include/samba4/dcerpc_server.h -include/samba4/dlinklist.h -include/samba4/domain_credentials.h -include/samba4/gen_ndr/atsvc.h -include/samba4/gen_ndr/auth.h -include/samba4/gen_ndr/dcerpc.h -include/samba4/gen_ndr/drsblobs.h -include/samba4/gen_ndr/drsuapi.h -include/samba4/gen_ndr/epmapper.h -include/samba4/gen_ndr/krb5pac.h -include/samba4/gen_ndr/lsa.h -include/samba4/gen_ndr/mgmt.h -include/samba4/gen_ndr/misc.h -include/samba4/gen_ndr/nbt.h -include/samba4/gen_ndr/ndr_atsvc.h -include/samba4/gen_ndr/ndr_atsvc_c.h -include/samba4/gen_ndr/ndr_dcerpc.h -include/samba4/gen_ndr/ndr_drsblobs.h -include/samba4/gen_ndr/ndr_drsuapi.h -include/samba4/gen_ndr/ndr_epmapper.h -include/samba4/gen_ndr/ndr_epmapper_c.h -include/samba4/gen_ndr/ndr_krb5pac.h -include/samba4/gen_ndr/ndr_mgmt.h -include/samba4/gen_ndr/ndr_mgmt_c.h -include/samba4/gen_ndr/ndr_misc.h -include/samba4/gen_ndr/ndr_nbt.h -include/samba4/gen_ndr/ndr_samr.h -include/samba4/gen_ndr/ndr_samr_c.h -include/samba4/gen_ndr/ndr_svcctl.h -include/samba4/gen_ndr/ndr_svcctl_c.h -include/samba4/gen_ndr/netlogon.h -include/samba4/gen_ndr/samr.h -include/samba4/gen_ndr/security.h -include/samba4/gen_ndr/server_id.h -include/samba4/gen_ndr/svcctl.h -include/samba4/gensec.h -include/samba4/ldap-util.h -include/samba4/ldap_errors.h -include/samba4/ldap_message.h -include/samba4/ldap_ndr.h -include/samba4/ldb_wrap.h -include/samba4/libsmbclient.h -include/samba4/lookup_sid.h -include/samba4/machine_sid.h -include/samba4/ndr.h -include/samba4/ndr/ndr_drsblobs.h -include/samba4/ndr/ndr_drsuapi.h -include/samba4/ndr/ndr_nbt.h -include/samba4/ndr/ndr_svcctl.h -include/samba4/netapi.h -include/samba4/param.h -include/samba4/passdb.h -include/samba4/policy.h -include/samba4/read_smb.h -include/samba4/registry.h -include/samba4/roles.h -include/samba4/rpc_common.h -include/samba4/samba/session.h -include/samba4/samba/version.h -include/samba4/samba_util.h -include/samba4/share.h -include/samba4/smb2.h -include/samba4/smb2_constants.h -include/samba4/smb2_create_blob.h -include/samba4/smb2_signing.h -include/samba4/smb_cli.h -include/samba4/smb_cliraw.h -include/samba4/smb_common.h -include/samba4/smb_composite.h -include/samba4/smb_constants.h -%%LDAP%%include/samba4/smb_ldap.h -include/samba4/smb_raw.h -include/samba4/smb_raw_interfaces.h -include/samba4/smb_raw_signing.h -include/samba4/smb_raw_trans2.h -include/samba4/smb_request.h -include/samba4/smb_seal.h -include/samba4/smb_share_modes.h -include/samba4/smb_signing.h -include/samba4/smb_unix_ext.h -include/samba4/smb_util.h -include/samba4/smbconf.h -%%LDAP%%include/samba4/smbldap.h -include/samba4/tdr.h -include/samba4/torture.h -include/samba4/tsocket.h -include/samba4/tsocket_internal.h -include/samba4/util/attr.h -include/samba4/util/byteorder.h -include/samba4/util/data_blob.h -include/samba4/util/debug.h -include/samba4/util/memory.h -include/samba4/util/safe_string.h -include/samba4/util/string_wrappers.h -include/samba4/util/talloc_stack.h -include/samba4/util/tevent_ntstatus.h -include/samba4/util/tevent_unix.h -include/samba4/util/tevent_werror.h -include/samba4/util/time.h -include/samba4/util/xfile.h -include/samba4/util_ldb.h -include/samba4/wbclient.h -lib/libdcerpc-atsvc.so -lib/libdcerpc-atsvc.so.0 -lib/libdcerpc-binding.so -lib/libdcerpc-binding.so.0 -lib/libdcerpc-samr.so -lib/libdcerpc-samr.so.0 -%%AD_DC%%lib/libdcerpc-server.so -%%AD_DC%%lib/libdcerpc-server.so.0 -lib/libdcerpc.so -lib/libdcerpc.so.0 -lib/libgensec.so -lib/libgensec.so.0 -lib/libndr-krb5pac.so -lib/libndr-krb5pac.so.0 -lib/libndr-nbt.so -lib/libndr-nbt.so.0 -lib/libndr-standard.so -lib/libndr-standard.so.0 -lib/libndr.so -lib/libndr.so.0 -lib/libnetapi.so -lib/libnetapi.so.0 -lib/libpdb.so -lib/libpdb.so.0 -lib/libregistry.so -lib/libregistry.so.0 -lib/libsamba-credentials.so -lib/libsamba-credentials.so.0 -lib/libsamba-hostconfig.so -lib/libsamba-hostconfig.so.0 -lib/libsamba-policy.so -lib/libsamba-policy.so.0 -lib/libsamba-util.so -lib/libsamba-util.so.0 -lib/libsamdb.so -lib/libsamdb.so.0 -lib/libsmbclient-raw.so -lib/libsmbclient-raw.so.0 -lib/libsmbconf.so -lib/libsmbconf.so.0 -%%LDAP%%lib/libsmbldap.so -%%LDAP%%lib/libsmbldap.so.0 -lib/libsmbsharemodes.so -lib/libsmbsharemodes.so.0 -lib/libtevent-util.so -lib/libtevent-util.so.0 -lib/libtorture.so -lib/libtorture.so.0 -lib/libwbclient.so -lib/libwbclient.so.0 -lib/mit_samba.so -lib/nss_winbind.so.1 -lib/nss_wins.so.1 -%%SMBPASS%%lib/pam_smbpass.so -lib/pam_winbind.so -lib/winbind_krb5_locator.so -lib/samba/libCHARSET3.so -lib/samba/libHDB_SAMBA4.so -lib/samba/libLIBWBCLIENT_OLD.so -lib/samba/libMESSAGING.so -lib/samba/libaddns.so -lib/samba/libads.so -lib/samba/libasn1-samba4.so.8 -lib/samba/libasn1util.so -lib/samba/libauth.so -lib/samba/libauth4.so -lib/samba/libauth_sam_reply.so -lib/samba/libauth_unix_token.so -lib/samba/libauthkrb5.so -lib/samba/libccan.so -lib/samba/libcli-ldap-common.so -lib/samba/libcli-ldap.so -lib/samba/libcli-nbt.so -lib/samba/libcli_cldap.so -lib/samba/libcli_smb_common.so -lib/samba/libcli_spoolss.so -lib/samba/libcliauth.so -lib/samba/libcluster.so -lib/samba/libcmdline-credentials.so -lib/samba/libcom_err-samba4.so.0 -lib/samba/libdb-glue.so -lib/samba/libdbwrap.so -lib/samba/libdcerpc-samba.so -lib/samba/libdcerpc-samba4.so -lib/samba/libdfs_server_ad.so -%%AD_DC%%lib/samba/libdlz_bind9_for_torture.so -lib/samba/libdsdb-module.so -lib/samba/liberrors.so -lib/samba/libevents.so -lib/samba/libflag_mapping.so -lib/samba/libgpo.so -lib/samba/libgse.so -lib/samba/libgssapi-samba4.so.2 -lib/samba/libhcrypto-samba4.so.5 -lib/samba/libhdb-samba4.so.11 -lib/samba/libheimbase-samba4.so.1 -lib/samba/libheimntlm-samba4.so.1 -lib/samba/libhx509-samba4.so.5 -lib/samba/libidmap.so -lib/samba/libiniparser.so -lib/samba/libinterfaces.so -lib/samba/libkdc-samba4.so.2 -lib/samba/libkrb5-samba4.so.26 -lib/samba/libkrb5samba.so -lib/samba/libldb-cmdline.so -lib/samba/libldbsamba.so -lib/samba/liblibcli_lsa3.so -lib/samba/liblibcli_netlogon3.so -lib/samba/liblibsmb.so -lib/samba/libmsrpc3.so -lib/samba/libndr-samba.so -lib/samba/libndr-samba4.so -lib/samba/libnet_keytab.so -lib/samba/libnetif.so -lib/samba/libnpa_tstream.so -lib/samba/libnss_info.so -%%AD_DC%%lib/samba/libntvfs.so -lib/samba/libpac.so -lib/samba/libpopt_samba3.so -%%AD_DC%%lib/samba/libposix_eadb.so -lib/samba/libprinting_migrate.so -%%AD_DC%%lib/samba/libprocess_model.so -lib/samba/libreplace.so -lib/samba/libroken-samba4.so.19 -lib/samba/libsamba-modules.so -lib/samba/libsamba-net.so -lib/samba/libsamba-security.so -lib/samba/libsamba-sockets.so -lib/samba/libsamba3-util.so -lib/samba/libsamba_python.so -lib/samba/libsamdb-common.so -lib/samba/libsecrets3.so -lib/samba/libserver-role.so -%%AD_DC%%lib/samba/libservice.so -lib/samba/libshares.so -lib/samba/libsmb_transport.so -lib/samba/libsmbd_base.so -lib/samba/libsmbd_conn.so -lib/samba/libsmbd_shim.so -lib/samba/libsmbpasswdparser.so -lib/samba/libsmbregistry.so -lib/samba/libsubunit.so -lib/samba/libtdb-wrap.so -lib/samba/libtdb_compat.so -lib/samba/libtrusts_util.so -lib/samba/libutil_cmdline.so -lib/samba/libutil_reg.so -lib/samba/libutil_setid.so -lib/samba/libutil_tdb.so -lib/samba/libwinbind-client.so -lib/samba/libwind-samba4.so.0 -lib/samba/libxattr_tdb.so -%%LDAP%%lib/samba/libsmbldaphelper.so -%%DEVELOPER%%lib/samba/libnss_wrapper.so -%%DEVELOPER%%lib/samba/libuid_wrapper.so -%%DEVELOPER%%lib/samba/libsocket_wrapper.so -lib/shared-modules/auth/script.so -%%MODULE_AUTH_SKEL%%lib/shared-modules/auth/skel.so -%%AD_DC%%lib/shared-modules/bind9/dlz_bind9.so -%%AD_DC%%lib/shared-modules/bind9/dlz_bind9_9.so -%%AD_DC%%lib/shared-modules/gensec/krb5.so -lib/shared-modules/idmap/autorid.so -lib/shared-modules/idmap/hash.so -lib/shared-modules/idmap/rid.so -lib/shared-modules/idmap/tdb2.so -%%AD_DC%%lib/shared-modules/ldb/acl.so -%%AD_DC%%lib/shared-modules/ldb/aclread.so -%%AD_DC%%lib/shared-modules/ldb/anr.so -%%AD_DC%%lib/shared-modules/ldb/descriptor.so -%%AD_DC%%lib/shared-modules/ldb/dirsync.so -%%AD_DC%%lib/shared-modules/ldb/extended_dn_in.so -%%AD_DC%%lib/shared-modules/ldb/extended_dn_out.so -%%AD_DC%%lib/shared-modules/ldb/extended_dn_store.so -lib/shared-modules/ldb/ildap.so -%%AD_DC%%lib/shared-modules/ldb/instancetype.so -%%AD_DC%%lib/shared-modules/ldb/lazy_commit.so -lib/shared-modules/ldb/ldbsamba_extensions.so -%%AD_DC%%lib/shared-modules/ldb/linked_attributes.so -%%AD_DC%%lib/shared-modules/ldb/local_password.so -%%AD_DC%%lib/shared-modules/ldb/new_partition.so -%%AD_DC%%lib/shared-modules/ldb/objectclass.so -%%AD_DC%%lib/shared-modules/ldb/objectclass_attrs.so -%%AD_DC%%lib/shared-modules/ldb/objectguid.so -%%AD_DC%%lib/shared-modules/ldb/operational.so -%%AD_DC%%lib/shared-modules/ldb/partition.so -%%AD_DC%%lib/shared-modules/ldb/password_hash.so -%%AD_DC%%lib/shared-modules/ldb/ranged_results.so -%%AD_DC%%lib/shared-modules/ldb/repl_meta_data.so -%%AD_DC%%lib/shared-modules/ldb/resolve_oids.so -%%AD_DC%%lib/shared-modules/ldb/rootdse.so -%%AD_DC%%lib/shared-modules/ldb/samba3sam.so -%%AD_DC%%lib/shared-modules/ldb/samba3sid.so -%%AD_DC%%lib/shared-modules/ldb/samba_dsdb.so -%%AD_DC%%lib/shared-modules/ldb/samba_secrets.so -%%AD_DC%%lib/shared-modules/ldb/samldb.so -%%AD_DC%%lib/shared-modules/ldb/schema_data.so -%%AD_DC%%lib/shared-modules/ldb/schema_load.so -%%AD_DC%%lib/shared-modules/ldb/secrets_tdb_sync.so -%%AD_DC%%lib/shared-modules/ldb/show_deleted.so -%%AD_DC%%lib/shared-modules/ldb/simple_dn.so -%%AD_DC%%lib/shared-modules/ldb/simple_ldap_map.so -%%AD_DC%%lib/shared-modules/ldb/subtree_delete.so -%%AD_DC%%lib/shared-modules/ldb/subtree_rename.so -%%AD_DC%%lib/shared-modules/ldb/update_keytab.so -%%AD_DC%%lib/shared-modules/ldb/wins_ldb.so -lib/shared-modules/nss_info/hash.so -%%MODULE_PERFCOUNT_TEST%%lib/shared-modules/perfcount/test.so -%%MODULE_PDB_TEST%%lib/shared-modules/pdb/test.so -%%AD_DC%%lib/shared-modules/process_model/onefork.so -%%AD_DC%%lib/shared-modules/process_model/prefork.so -%%AD_DC%%lib/shared-modules/process_model/standard.so -%%AD_DC%%lib/shared-modules/service/cldap.so -%%AD_DC%%lib/shared-modules/service/dcerpc.so -%%AD_DC%%lib/shared-modules/service/dns.so -%%AD_DC%%lib/shared-modules/service/dns_update.so -%%AD_DC%%lib/shared-modules/service/drepl.so -%%AD_DC%%lib/shared-modules/service/kcc.so -%%AD_DC%%lib/shared-modules/service/kdc.so -%%AD_DC%%lib/shared-modules/service/ldap.so -%%AD_DC%%lib/shared-modules/service/nbtd.so -%%AD_DC%%lib/shared-modules/service/ntp_signd.so -%%AD_DC%%lib/shared-modules/service/s3fs.so -%%AD_DC%%lib/shared-modules/service/smb.so -%%AD_DC%%lib/shared-modules/service/web.so -%%AD_DC%%lib/shared-modules/service/winbind.so -%%AD_DC%%lib/shared-modules/service/wrepl.so -lib/shared-modules/vfs/acl_tdb.so -lib/shared-modules/vfs/acl_xattr.so -lib/shared-modules/vfs/aio_fork.so -%%MODULE_VFS_AIO_POSIX%%lib/shared-modules/vfs/aio_posix.so -%%MODULE_VFS_AIO_PTHREAD%%lib/shared-modules/vfs/aio_pthread.so -lib/shared-modules/vfs/audit.so -lib/shared-modules/vfs/cap.so -lib/shared-modules/vfs/catia.so -lib/shared-modules/vfs/commit.so -lib/shared-modules/vfs/crossrename.so -lib/shared-modules/vfs/default_quota.so -lib/shared-modules/vfs/dirsort.so -lib/shared-modules/vfs/expand_msdfs.so -lib/shared-modules/vfs/extd_audit.so -lib/shared-modules/vfs/fake_perms.so -lib/shared-modules/vfs/full_audit.so -lib/shared-modules/vfs/linux_xfs_sgid.so -lib/shared-modules/vfs/media_harmony.so -lib/shared-modules/vfs/netatalk.so -%%MODULE_VFS_NOTIFY_FAM%%lib/shared-modules/vfs/notify_fam.so -%%AD_DC%%lib/shared-modules/vfs/posix_eadb.so -lib/shared-modules/vfs/preopen.so -lib/shared-modules/vfs/readahead.so -lib/shared-modules/vfs/readonly.so -lib/shared-modules/vfs/recycle.so -lib/shared-modules/vfs/scannedonly.so -lib/shared-modules/vfs/shadow_copy.so -lib/shared-modules/vfs/shadow_copy2.so -lib/shared-modules/vfs/smb_traffic_analyzer.so -lib/shared-modules/vfs/streams_depot.so -lib/shared-modules/vfs/streams_xattr.so -lib/shared-modules/vfs/syncops.so -lib/shared-modules/vfs/time_audit.so -lib/shared-modules/vfs/xattr_tdb.so -lib/shared-modules/vfs/zfsacl.so -%%MODULE_AUTH_SAMBA4%%lib/shared-modules/auth/samba4.so -%%MODULE_AUTH_UNIX%%lib/shared-modules/auth/unix.so -%%MODULE_AUTH_WBC%%lib/shared-modules/auth/wbc.so -%%MODULE_GPEXT_REGISTRY%%lib/shared-modules/gpext/registry.so -%%MODULE_GPEXT_SCRIPTS%%lib/shared-modules/gpext/scripts.so -%%MODULE_GPEXT_SECURITY%%lib/shared-modules/gpext/security.so -%%MODULE_IDMAP_AD%%lib/shared-modules/idmap/ad.so -%%MODULE_IDMAP_AD%%lib/shared-modules/nss_info/rfc2307.so -%%MODULE_IDMAP_AD%%lib/shared-modules/nss_info/sfu.so -%%MODULE_IDMAP_AD%%lib/shared-modules/nss_info/sfu20.so -%%MODULE_IDMAP_LDAP%%lib/shared-modules/idmap/ldap.so -%%MODULE_IDMAP_NSS%%lib/shared-modules/idmap/nss.so -%%MODULE_IDMAP_PASSDB%%lib/shared-modules/idmap/passdb.so -%%MODULE_IDMAP_TDB%%lib/shared-modules/idmap/tdb.so -%%MODULE_NSS_INFO_TEMPLATE%%lib/shared-modules/nss_info/template.so -%%MODULE_PDB_LDAP%%lib/shared-modules/pdb/ldap.so -%%MODULE_PDB_SAMBA_DSDB%%lib/shared-modules/pdb/samba_dsdb.so -%%MODULE_PDB_SMBPASSWD%%lib/shared-modules/pdb/smbpasswd.so -%%MODULE_PDB_TDBSAM%%lib/shared-modules/pdb/tdbsam.so -%%MODULE_PDB_WBC_SAM%%lib/shared-modules/pdb/wbc_sam.so -%%MODULE_VFS_CACHEPRIME%%lib/shared-modules/vfs/cacheprime.so -%%MODULE_VFS_DFS_SAMBA4%%lib/shared-modules/vfs/dfs_samba4.so -%%MODULE_VFS_FAKE_ACLS%%lib/shared-modules/vfs/fake_acls.so -%%MODULE_VFS_SHADOW_COPY_TEST%%lib/shared-modules/vfs/shadow_copy_test.so -%%MODULE_VFS_SKEL_OPAQUE%%lib/shared-modules/vfs/skel_opaque.so -%%MODULE_VFS_SKEL_TRANSPARENT%%lib/shared-modules/vfs/skel_transparent.so -libdata/pkgconfig/dcerpc.pc -libdata/pkgconfig/dcerpc_atsvc.pc -libdata/pkgconfig/dcerpc_samr.pc -%%AD_DC%%libdata/pkgconfig/dcerpc_server.pc -libdata/pkgconfig/gensec.pc -libdata/pkgconfig/ndr.pc -libdata/pkgconfig/ndr_krb5pac.pc -libdata/pkgconfig/ndr_nbt.pc -libdata/pkgconfig/ndr_standard.pc -libdata/pkgconfig/netapi.pc -libdata/pkgconfig/registry.pc -libdata/pkgconfig/samba-credentials.pc -libdata/pkgconfig/samba-hostconfig.pc -libdata/pkgconfig/samba-policy.pc -libdata/pkgconfig/samba-util.pc -libdata/pkgconfig/samdb.pc -libdata/pkgconfig/smbclient-raw.pc -libdata/pkgconfig/smbsharemodes.pc -libdata/pkgconfig/torture.pc -libdata/pkgconfig/wbclient.pc -%%DEVELOPER%%%%PYTHON_SITELIBDIR%%/samba/socket_wrapper.so -%%PYTHON_SITELIBDIR%%/samba/__init__.py -%%PYTHON_SITELIBDIR%%/samba/_glue.so -%%PYTHON_SITELIBDIR%%/samba/_ldb.so -%%PYTHON_SITELIBDIR%%/samba/auth.so -%%PYTHON_SITELIBDIR%%/samba/com.so -%%PYTHON_SITELIBDIR%%/samba/common.py -%%PYTHON_SITELIBDIR%%/samba/credentials.so -%%PYTHON_SITELIBDIR%%/samba/dbchecker.py -%%PYTHON_SITELIBDIR%%/samba/dcerpc/__init__.py -%%PYTHON_SITELIBDIR%%/samba/dcerpc/atsvc.so -%%PYTHON_SITELIBDIR%%/samba/dcerpc/auth.so -%%PYTHON_SITELIBDIR%%/samba/dcerpc/base.so -%%PYTHON_SITELIBDIR%%/samba/dcerpc/dfs.so -%%PYTHON_SITELIBDIR%%/samba/dcerpc/dns.so -%%PYTHON_SITELIBDIR%%/samba/dcerpc/dnsp.so -%%PYTHON_SITELIBDIR%%/samba/dcerpc/dnsserver.so -%%PYTHON_SITELIBDIR%%/samba/dcerpc/drsblobs.so -%%PYTHON_SITELIBDIR%%/samba/dcerpc/drsuapi.so -%%PYTHON_SITELIBDIR%%/samba/dcerpc/echo.so -%%PYTHON_SITELIBDIR%%/samba/dcerpc/epmapper.so -%%PYTHON_SITELIBDIR%%/samba/dcerpc/idmap.so -%%PYTHON_SITELIBDIR%%/samba/dcerpc/initshutdown.so -%%PYTHON_SITELIBDIR%%/samba/dcerpc/irpc.so -%%PYTHON_SITELIBDIR%%/samba/dcerpc/krb5pac.so -%%PYTHON_SITELIBDIR%%/samba/dcerpc/lsa.so -%%PYTHON_SITELIBDIR%%/samba/dcerpc/mgmt.so -%%PYTHON_SITELIBDIR%%/samba/dcerpc/misc.so -%%PYTHON_SITELIBDIR%%/samba/dcerpc/nbt.so -%%PYTHON_SITELIBDIR%%/samba/dcerpc/netlogon.so -%%PYTHON_SITELIBDIR%%/samba/dcerpc/samr.so -%%PYTHON_SITELIBDIR%%/samba/dcerpc/security.so -%%PYTHON_SITELIBDIR%%/samba/dcerpc/server_id.so -%%PYTHON_SITELIBDIR%%/samba/dcerpc/smb_acl.so -%%PYTHON_SITELIBDIR%%/samba/dcerpc/srvsvc.so -%%PYTHON_SITELIBDIR%%/samba/dcerpc/svcctl.so -%%PYTHON_SITELIBDIR%%/samba/dcerpc/unixinfo.so -%%PYTHON_SITELIBDIR%%/samba/dcerpc/winbind.so -%%PYTHON_SITELIBDIR%%/samba/dcerpc/winreg.so -%%PYTHON_SITELIBDIR%%/samba/dcerpc/wkssvc.so -%%PYTHON_SITELIBDIR%%/samba/dcerpc/xattr.so -%%AD_DC%%%%PYTHON_SITELIBDIR%%/samba/dckeytab.so -%%PYTHON_SITELIBDIR%%/samba/descriptor.py -%%PYTHON_SITELIBDIR%%/samba/drs_utils.py -%%PYTHON_SITELIBDIR%%/samba/dsdb.so -%%PYTHON_SITELIBDIR%%/samba/external/__init__.py -%%PYTHON_SITELIBDIR%%/samba/external/subunit/__init__.py -%%PYTHON_SITELIBDIR%%/samba/external/subunit/chunked.py -%%PYTHON_SITELIBDIR%%/samba/external/subunit/details.py -%%PYTHON_SITELIBDIR%%/samba/external/subunit/iso8601.py -%%PYTHON_SITELIBDIR%%/samba/external/subunit/progress_model.py -%%PYTHON_SITELIBDIR%%/samba/external/subunit/run.py -%%PYTHON_SITELIBDIR%%/samba/external/subunit/test_results.py -%%PYTHON_SITELIBDIR%%/samba/external/subunit/tests/TestUtil.py -%%PYTHON_SITELIBDIR%%/samba/external/subunit/tests/__init__.py -%%PYTHON_SITELIBDIR%%/samba/external/subunit/tests/sample-script.py -%%PYTHON_SITELIBDIR%%/samba/external/subunit/tests/sample-two-script.py -%%PYTHON_SITELIBDIR%%/samba/external/subunit/tests/test_chunked.py -%%PYTHON_SITELIBDIR%%/samba/external/subunit/tests/test_details.py -%%PYTHON_SITELIBDIR%%/samba/external/subunit/tests/test_progress_model.py -%%PYTHON_SITELIBDIR%%/samba/external/subunit/tests/test_run.py -%%PYTHON_SITELIBDIR%%/samba/external/subunit/tests/test_subunit_filter.py -%%PYTHON_SITELIBDIR%%/samba/external/subunit/tests/test_subunit_stats.py -%%PYTHON_SITELIBDIR%%/samba/external/subunit/tests/test_subunit_tags.py -%%PYTHON_SITELIBDIR%%/samba/external/subunit/tests/test_tap2subunit.py -%%PYTHON_SITELIBDIR%%/samba/external/subunit/tests/test_test_protocol.py -%%PYTHON_SITELIBDIR%%/samba/external/subunit/tests/test_test_results.py -%%PYTHON_SITELIBDIR%%/samba/external/testtools/__init__.py -%%PYTHON_SITELIBDIR%%/samba/external/testtools/_compat2x.py -%%PYTHON_SITELIBDIR%%/samba/external/testtools/_compat3x.py -%%PYTHON_SITELIBDIR%%/samba/external/testtools/_spinner.py -%%PYTHON_SITELIBDIR%%/samba/external/testtools/compat.py -%%PYTHON_SITELIBDIR%%/samba/external/testtools/content.py -%%PYTHON_SITELIBDIR%%/samba/external/testtools/content_type.py -%%PYTHON_SITELIBDIR%%/samba/external/testtools/deferredruntest.py -%%PYTHON_SITELIBDIR%%/samba/external/testtools/distutilscmd.py -%%PYTHON_SITELIBDIR%%/samba/external/testtools/helpers.py -%%PYTHON_SITELIBDIR%%/samba/external/testtools/matchers.py -%%PYTHON_SITELIBDIR%%/samba/external/testtools/monkey.py -%%PYTHON_SITELIBDIR%%/samba/external/testtools/run.py -%%PYTHON_SITELIBDIR%%/samba/external/testtools/runtest.py -%%PYTHON_SITELIBDIR%%/samba/external/testtools/testcase.py -%%PYTHON_SITELIBDIR%%/samba/external/testtools/testresult/__init__.py -%%PYTHON_SITELIBDIR%%/samba/external/testtools/testresult/doubles.py -%%PYTHON_SITELIBDIR%%/samba/external/testtools/testresult/real.py -%%PYTHON_SITELIBDIR%%/samba/external/testtools/tests/__init__.py -%%PYTHON_SITELIBDIR%%/samba/external/testtools/tests/helpers.py -%%PYTHON_SITELIBDIR%%/samba/external/testtools/tests/test_compat.py -%%PYTHON_SITELIBDIR%%/samba/external/testtools/tests/test_content.py -%%PYTHON_SITELIBDIR%%/samba/external/testtools/tests/test_content_type.py -%%PYTHON_SITELIBDIR%%/samba/external/testtools/tests/test_deferredruntest.py -%%PYTHON_SITELIBDIR%%/samba/external/testtools/tests/test_distutilscmd.py -%%PYTHON_SITELIBDIR%%/samba/external/testtools/tests/test_fixturesupport.py -%%PYTHON_SITELIBDIR%%/samba/external/testtools/tests/test_helpers.py -%%PYTHON_SITELIBDIR%%/samba/external/testtools/tests/test_matchers.py -%%PYTHON_SITELIBDIR%%/samba/external/testtools/tests/test_monkey.py -%%PYTHON_SITELIBDIR%%/samba/external/testtools/tests/test_run.py -%%PYTHON_SITELIBDIR%%/samba/external/testtools/tests/test_runtest.py -%%PYTHON_SITELIBDIR%%/samba/external/testtools/tests/test_spinner.py -%%PYTHON_SITELIBDIR%%/samba/external/testtools/tests/test_testcase.py -%%PYTHON_SITELIBDIR%%/samba/external/testtools/tests/test_testresult.py -%%PYTHON_SITELIBDIR%%/samba/external/testtools/tests/test_testsuite.py -%%PYTHON_SITELIBDIR%%/samba/external/testtools/tests/test_with_with.py -%%PYTHON_SITELIBDIR%%/samba/external/testtools/testsuite.py -%%PYTHON_SITELIBDIR%%/samba/external/testtools/utils.py -%%PYTHON_SITELIBDIR%%/samba/gensec.so -%%PYTHON_SITELIBDIR%%/samba/getopt.py -%%PYTHON_SITELIBDIR%%/samba/hostconfig.py -%%PYTHON_SITELIBDIR%%/samba/idmap.py -%%PYTHON_SITELIBDIR%%/samba/join.py -%%PYTHON_SITELIBDIR%%/samba/kcc_utils.py -%%PYTHON_SITELIBDIR%%/samba/messaging.so -%%PYTHON_SITELIBDIR%%/samba/ms_display_specifiers.py -%%PYTHON_SITELIBDIR%%/samba/ms_schema.py -%%PYTHON_SITELIBDIR%%/samba/ndr.py -%%PYTHON_SITELIBDIR%%/samba/net.so -%%PYTHON_SITELIBDIR%%/samba/netbios.so -%%PYTHON_SITELIBDIR%%/samba/netcmd/__init__.py -%%PYTHON_SITELIBDIR%%/samba/netcmd/common.py -%%PYTHON_SITELIBDIR%%/samba/netcmd/dbcheck.py -%%PYTHON_SITELIBDIR%%/samba/netcmd/delegation.py -%%PYTHON_SITELIBDIR%%/samba/netcmd/dns.py -%%PYTHON_SITELIBDIR%%/samba/netcmd/domain.py -%%PYTHON_SITELIBDIR%%/samba/netcmd/drs.py -%%PYTHON_SITELIBDIR%%/samba/netcmd/dsacl.py -%%PYTHON_SITELIBDIR%%/samba/netcmd/fsmo.py -%%PYTHON_SITELIBDIR%%/samba/netcmd/gpo.py -%%PYTHON_SITELIBDIR%%/samba/netcmd/group.py -%%PYTHON_SITELIBDIR%%/samba/netcmd/ldapcmp.py -%%PYTHON_SITELIBDIR%%/samba/netcmd/main.py -%%PYTHON_SITELIBDIR%%/samba/netcmd/ntacl.py -%%PYTHON_SITELIBDIR%%/samba/netcmd/processes.py -%%PYTHON_SITELIBDIR%%/samba/netcmd/rodc.py -%%PYTHON_SITELIBDIR%%/samba/netcmd/sites.py -%%PYTHON_SITELIBDIR%%/samba/netcmd/spn.py -%%PYTHON_SITELIBDIR%%/samba/netcmd/testparm.py -%%PYTHON_SITELIBDIR%%/samba/netcmd/time.py -%%PYTHON_SITELIBDIR%%/samba/netcmd/user.py -%%PYTHON_SITELIBDIR%%/samba/netcmd/vampire.py -%%PYTHON_SITELIBDIR%%/samba/ntacls.py -%%PYTHON_SITELIBDIR%%/samba/param.so -%%PYTHON_SITELIBDIR%%/samba/policy.so -%%AD_DC%%%%PYTHON_SITELIBDIR%%/samba/posix_eadb.so -%%PYTHON_SITELIBDIR%%/samba/provision/__init__.py -%%PYTHON_SITELIBDIR%%/samba/provision/backend.py -%%PYTHON_SITELIBDIR%%/samba/provision/common.py -%%PYTHON_SITELIBDIR%%/samba/provision/sambadns.py -%%PYTHON_SITELIBDIR%%/samba/registry.so -%%PYTHON_SITELIBDIR%%/samba/samba3/__init__.py -%%PYTHON_SITELIBDIR%%/samba/samba3/libsmb_samba_internal.so -%%PYTHON_SITELIBDIR%%/samba/samba3/param.so -%%PYTHON_SITELIBDIR%%/samba/samba3/passdb.so -%%PYTHON_SITELIBDIR%%/samba/samba3/smbd.so -%%PYTHON_SITELIBDIR%%/samba/samdb.py -%%PYTHON_SITELIBDIR%%/samba/schema.py -%%PYTHON_SITELIBDIR%%/samba/sd_utils.py -%%PYTHON_SITELIBDIR%%/samba/security.so -%%PYTHON_SITELIBDIR%%/samba/sites.py -%%PYTHON_SITELIBDIR%%/samba/smb.so -%%PYTHON_SITELIBDIR%%/samba/tdb_util.py -%%PYTHON_SITELIBDIR%%/samba/tests/__init__.py -%%PYTHON_SITELIBDIR%%/samba/tests/auth.py -%%PYTHON_SITELIBDIR%%/samba/tests/blackbox/__init__.py -%%PYTHON_SITELIBDIR%%/samba/tests/blackbox/ndrdump.py -%%PYTHON_SITELIBDIR%%/samba/tests/blackbox/samba_tool_drs.py -%%PYTHON_SITELIBDIR%%/samba/tests/common.py -%%PYTHON_SITELIBDIR%%/samba/tests/core.py -%%PYTHON_SITELIBDIR%%/samba/tests/credentials.py -%%PYTHON_SITELIBDIR%%/samba/tests/dcerpc/__init__.py -%%PYTHON_SITELIBDIR%%/samba/tests/dcerpc/bare.py -%%PYTHON_SITELIBDIR%%/samba/tests/dcerpc/dnsserver.py -%%PYTHON_SITELIBDIR%%/samba/tests/dcerpc/misc.py -%%PYTHON_SITELIBDIR%%/samba/tests/dcerpc/registry.py -%%PYTHON_SITELIBDIR%%/samba/tests/dcerpc/rpc_talloc.py -%%PYTHON_SITELIBDIR%%/samba/tests/dcerpc/rpcecho.py -%%PYTHON_SITELIBDIR%%/samba/tests/dcerpc/sam.py -%%PYTHON_SITELIBDIR%%/samba/tests/dcerpc/srvsvc.py -%%PYTHON_SITELIBDIR%%/samba/tests/dcerpc/testrpc.py -%%PYTHON_SITELIBDIR%%/samba/tests/dcerpc/unix.py -%%PYTHON_SITELIBDIR%%/samba/tests/dns.py -%%PYTHON_SITELIBDIR%%/samba/tests/docs.py -%%PYTHON_SITELIBDIR%%/samba/tests/dsdb.py -%%PYTHON_SITELIBDIR%%/samba/tests/gensec.py -%%PYTHON_SITELIBDIR%%/samba/tests/getopt.py -%%PYTHON_SITELIBDIR%%/samba/tests/hostconfig.py -%%PYTHON_SITELIBDIR%%/samba/tests/libsmb_samba_internal.py -%%PYTHON_SITELIBDIR%%/samba/tests/messaging.py -%%PYTHON_SITELIBDIR%%/samba/tests/netcmd.py -%%PYTHON_SITELIBDIR%%/samba/tests/ntacls.py -%%PYTHON_SITELIBDIR%%/samba/tests/param.py -%%PYTHON_SITELIBDIR%%/samba/tests/policy.py -%%PYTHON_SITELIBDIR%%/samba/tests/posixacl.py -%%PYTHON_SITELIBDIR%%/samba/tests/provision.py -%%PYTHON_SITELIBDIR%%/samba/tests/registry.py -%%PYTHON_SITELIBDIR%%/samba/tests/samba3.py -%%PYTHON_SITELIBDIR%%/samba/tests/samba3sam.py -%%PYTHON_SITELIBDIR%%/samba/tests/samba_tool/__init__.py -%%PYTHON_SITELIBDIR%%/samba/tests/samba_tool/base.py -%%PYTHON_SITELIBDIR%%/samba/tests/samba_tool/gpo.py -%%PYTHON_SITELIBDIR%%/samba/tests/samba_tool/group.py -%%PYTHON_SITELIBDIR%%/samba/tests/samba_tool/ntacl.py -%%PYTHON_SITELIBDIR%%/samba/tests/samba_tool/processes.py -%%PYTHON_SITELIBDIR%%/samba/tests/samba_tool/timecmd.py -%%PYTHON_SITELIBDIR%%/samba/tests/samba_tool/user.py -%%PYTHON_SITELIBDIR%%/samba/tests/samdb.py -%%PYTHON_SITELIBDIR%%/samba/tests/security.py -%%PYTHON_SITELIBDIR%%/samba/tests/source.py -%%PYTHON_SITELIBDIR%%/samba/tests/strings.py -%%PYTHON_SITELIBDIR%%/samba/tests/unicodenames.py -%%PYTHON_SITELIBDIR%%/samba/tests/upgrade.py -%%PYTHON_SITELIBDIR%%/samba/tests/upgradeprovision.py -%%PYTHON_SITELIBDIR%%/samba/tests/upgradeprovisionneeddc.py -%%PYTHON_SITELIBDIR%%/samba/tests/xattr.py -%%PYTHON_SITELIBDIR%%/samba/upgrade.py -%%PYTHON_SITELIBDIR%%/samba/upgradehelpers.py -%%PYTHON_SITELIBDIR%%/samba/web_server/__init__.py -%%PYTHON_SITELIBDIR%%/samba/xattr.py -%%AD_DC%%%%PYTHON_SITELIBDIR%%/samba/xattr_native.so -%%AD_DC%%%%PYTHON_SITELIBDIR%%/samba/xattr_tdb.so -@unexec find %D/%%PYTHON_SITELIBDIR%%/samba -name '*.py[co]' -delete >/dev/null 2>&1 -bin/pidl -man/man1/pidl.1.gz -man/man3/Parse::Pidl::Dump.3.gz -man/man3/Parse::Pidl::NDR.3.gz -man/man3/Parse::Pidl::Util.3.gz -man/man3/Parse::Pidl::Wireshark::Conformance.3.gz -man/man3/Parse::Pidl::Wireshark::NDR.3.gz -%%DATADIR%%/perl5/Parse/Pidl.pm -%%DATADIR%%/perl5/Parse/Pidl/CUtil.pm -%%DATADIR%%/perl5/Parse/Pidl/Compat.pm -%%DATADIR%%/perl5/Parse/Pidl/Dump.pm -%%DATADIR%%/perl5/Parse/Pidl/Expr.pm -%%DATADIR%%/perl5/Parse/Pidl/IDL.pm -%%DATADIR%%/perl5/Parse/Pidl/NDR.pm -%%DATADIR%%/perl5/Parse/Pidl/ODL.pm -%%DATADIR%%/perl5/Parse/Pidl/Samba3/ClientNDR.pm -%%DATADIR%%/perl5/Parse/Pidl/Samba3/ServerNDR.pm -%%DATADIR%%/perl5/Parse/Pidl/Samba4.pm -%%DATADIR%%/perl5/Parse/Pidl/Samba4/COM/Header.pm -%%DATADIR%%/perl5/Parse/Pidl/Samba4/COM/Proxy.pm -%%DATADIR%%/perl5/Parse/Pidl/Samba4/COM/Stub.pm -%%DATADIR%%/perl5/Parse/Pidl/Samba4/Header.pm -%%DATADIR%%/perl5/Parse/Pidl/Samba4/NDR/Client.pm -%%DATADIR%%/perl5/Parse/Pidl/Samba4/NDR/Parser.pm -%%DATADIR%%/perl5/Parse/Pidl/Samba4/NDR/Server.pm -%%DATADIR%%/perl5/Parse/Pidl/Samba4/Python.pm -%%DATADIR%%/perl5/Parse/Pidl/Samba4/TDR.pm -%%DATADIR%%/perl5/Parse/Pidl/Samba4/Template.pm -%%DATADIR%%/perl5/Parse/Pidl/Typelist.pm -%%DATADIR%%/perl5/Parse/Pidl/Util.pm -%%DATADIR%%/perl5/Parse/Pidl/Wireshark/Conformance.pm -%%DATADIR%%/perl5/Parse/Pidl/Wireshark/NDR.pm -%%DATADIR%%/perl5/Parse/Yapp/Driver.pm -%%DATADIR%%/codepages/de.msg -%%DATADIR%%/codepages/en.msg -%%DATADIR%%/codepages/fi.msg -%%DATADIR%%/codepages/fr.msg -%%DATADIR%%/codepages/it.msg -%%DATADIR%%/codepages/ja.msg -%%DATADIR%%/codepages/lowcase.dat -%%DATADIR%%/codepages/nl.msg -%%DATADIR%%/codepages/pl.msg -%%DATADIR%%/codepages/ru.msg -%%DATADIR%%/codepages/tr.msg -%%DATADIR%%/codepages/upcase.dat -%%DATADIR%%/codepages/valid.dat -%%AD_DC%%%%DATADIR%%/setup/DB_CONFIG -%%AD_DC%%%%DATADIR%%/setup/ad-schema/MS-AD_Schema_2K8_Attributes.txt -%%AD_DC%%%%DATADIR%%/setup/ad-schema/MS-AD_Schema_2K8_Classes.txt -%%AD_DC%%%%DATADIR%%/setup/ad-schema/MS-AD_Schema_2K8_R2_Attributes.txt -%%AD_DC%%%%DATADIR%%/setup/ad-schema/MS-AD_Schema_2K8_R2_Classes.txt -%%AD_DC%%%%DATADIR%%/setup/ad-schema/licence.txt -%%AD_DC%%%%DATADIR%%/setup/aggregate_schema.ldif -%%AD_DC%%%%DATADIR%%/setup/cn=replicator.ldif -%%AD_DC%%%%DATADIR%%/setup/cn=samba-admin.ldif -%%AD_DC%%%%DATADIR%%/setup/cn=samba.ldif -%%AD_DC%%%%DATADIR%%/setup/display-specifiers/DisplaySpecifiers-Win2k0.txt -%%AD_DC%%%%DATADIR%%/setup/display-specifiers/DisplaySpecifiers-Win2k3.txt -%%AD_DC%%%%DATADIR%%/setup/display-specifiers/DisplaySpecifiers-Win2k3R2.txt -%%AD_DC%%%%DATADIR%%/setup/display-specifiers/DisplaySpecifiers-Win2k8.txt -%%AD_DC%%%%DATADIR%%/setup/display-specifiers/DisplaySpecifiers-Win2k8R2.txt -%%AD_DC%%%%DATADIR%%/setup/dns_update_list -%%AD_DC%%%%DATADIR%%/setup/fedora-ds-init.ldif -%%AD_DC%%%%DATADIR%%/setup/fedorads-dna.ldif -%%AD_DC%%%%DATADIR%%/setup/fedorads-index.ldif -%%AD_DC%%%%DATADIR%%/setup/fedorads-linked-attributes.ldif -%%AD_DC%%%%DATADIR%%/setup/fedorads-pam.ldif -%%AD_DC%%%%DATADIR%%/setup/fedorads-partitions.ldif -%%AD_DC%%%%DATADIR%%/setup/fedorads-refint-add.ldif -%%AD_DC%%%%DATADIR%%/setup/fedorads-refint-delete.ldif -%%AD_DC%%%%DATADIR%%/setup/fedorads-samba.ldif -%%AD_DC%%%%DATADIR%%/setup/fedorads-sasl.ldif -%%AD_DC%%%%DATADIR%%/setup/fedorads.inf -%%AD_DC%%%%DATADIR%%/setup/idmap_init.ldif -%%AD_DC%%%%DATADIR%%/setup/krb5.conf -%%AD_DC%%%%DATADIR%%/setup/memberof.conf -%%AD_DC%%%%DATADIR%%/setup/mmr_serverids.conf -%%AD_DC%%%%DATADIR%%/setup/mmr_syncrepl.conf -%%AD_DC%%%%DATADIR%%/setup/modules.conf -%%AD_DC%%%%DATADIR%%/setup/named.conf -%%AD_DC%%%%DATADIR%%/setup/named.conf.dlz -%%AD_DC%%%%DATADIR%%/setup/named.conf.update -%%AD_DC%%%%DATADIR%%/setup/named.txt -%%AD_DC%%%%DATADIR%%/setup/olc_mmr.conf -%%AD_DC%%%%DATADIR%%/setup/olc_seed.ldif -%%AD_DC%%%%DATADIR%%/setup/olc_serverid.conf -%%AD_DC%%%%DATADIR%%/setup/olc_syncrepl.conf -%%AD_DC%%%%DATADIR%%/setup/olc_syncrepl_seed.conf -%%AD_DC%%%%DATADIR%%/setup/prefixMap.txt -%%AD_DC%%%%DATADIR%%/setup/provision.ldif -%%AD_DC%%%%DATADIR%%/setup/provision.reg -%%AD_DC%%%%DATADIR%%/setup/provision.zone -%%AD_DC%%%%DATADIR%%/setup/provision_basedn.ldif -%%AD_DC%%%%DATADIR%%/setup/provision_basedn_modify.ldif -%%AD_DC%%%%DATADIR%%/setup/provision_basedn_options.ldif -%%AD_DC%%%%DATADIR%%/setup/provision_basedn_references.ldif -%%AD_DC%%%%DATADIR%%/setup/provision_computers_add.ldif -%%AD_DC%%%%DATADIR%%/setup/provision_computers_modify.ldif -%%AD_DC%%%%DATADIR%%/setup/provision_configuration.ldif -%%AD_DC%%%%DATADIR%%/setup/provision_configuration_basedn.ldif -%%AD_DC%%%%DATADIR%%/setup/provision_configuration_modify.ldif -%%AD_DC%%%%DATADIR%%/setup/provision_configuration_references.ldif -%%AD_DC%%%%DATADIR%%/setup/provision_dns_accounts_add.ldif -%%AD_DC%%%%DATADIR%%/setup/provision_dns_add_samba.ldif -%%AD_DC%%%%DATADIR%%/setup/provision_dnszones_add.ldif -%%AD_DC%%%%DATADIR%%/setup/provision_dnszones_modify.ldif -%%AD_DC%%%%DATADIR%%/setup/provision_dnszones_partitions.ldif -%%AD_DC%%%%DATADIR%%/setup/provision_group_policy.ldif -%%AD_DC%%%%DATADIR%%/setup/provision_init.ldif -%%AD_DC%%%%DATADIR%%/setup/provision_partitions.ldif -%%AD_DC%%%%DATADIR%%/setup/provision_privilege.ldif -%%AD_DC%%%%DATADIR%%/setup/provision_rootdse_add.ldif -%%AD_DC%%%%DATADIR%%/setup/provision_rootdse_modify.ldif -%%AD_DC%%%%DATADIR%%/setup/provision_schema_basedn.ldif -%%AD_DC%%%%DATADIR%%/setup/provision_schema_basedn_modify.ldif -%%AD_DC%%%%DATADIR%%/setup/provision_self_join.ldif -%%AD_DC%%%%DATADIR%%/setup/provision_self_join_config.ldif -%%AD_DC%%%%DATADIR%%/setup/provision_self_join_modify.ldif -%%AD_DC%%%%DATADIR%%/setup/provision_self_join_modify_config.ldif -%%AD_DC%%%%DATADIR%%/setup/provision_users.ldif -%%AD_DC%%%%DATADIR%%/setup/provision_users_add.ldif -%%AD_DC%%%%DATADIR%%/setup/provision_users_modify.ldif -%%AD_DC%%%%DATADIR%%/setup/provision_well_known_sec_princ.ldif -%%AD_DC%%%%DATADIR%%/setup/refint.conf -%%AD_DC%%%%DATADIR%%/setup/schema-map-fedora-ds-1.0 -%%AD_DC%%%%DATADIR%%/setup/schema-map-openldap-2.3 -%%AD_DC%%%%DATADIR%%/setup/schema_samba4.ldif -%%AD_DC%%%%DATADIR%%/setup/secrets.ldif -%%AD_DC%%%%DATADIR%%/setup/secrets_dns.ldif -%%AD_DC%%%%DATADIR%%/setup/secrets_init.ldif -%%AD_DC%%%%DATADIR%%/setup/secrets_sasl_ldap.ldif -%%AD_DC%%%%DATADIR%%/setup/secrets_simple_ldap.ldif -%%AD_DC%%%%DATADIR%%/setup/share.ldif -%%AD_DC%%%%DATADIR%%/setup/slapd.conf -%%AD_DC%%%%DATADIR%%/setup/spn_update_list -%%AD_DC%%%%DATADIR%%/setup/ypServ30.ldif -%%DATADIR%%/swat/help/welcome-no-samba-doc.html -%%DATADIR%%/swat/help/welcome.html -%%DATADIR%%/swat/images/globals.gif -%%DATADIR%%/swat/images/home.gif -%%DATADIR%%/swat/images/passwd.gif -%%DATADIR%%/swat/images/printers.gif -%%DATADIR%%/swat/images/samba.gif -%%DATADIR%%/swat/images/shares.gif -%%DATADIR%%/swat/images/status.gif -%%DATADIR%%/swat/images/viewconfig.gif -%%DATADIR%%/swat/images/wizard.gif -%%DATADIR%%/swat/include/footer.html -%%DATADIR%%/swat/include/header.html -%%DATADIR%%/swat/lang/ja/help/welcome.html -%%DATADIR%%/swat/lang/ru/help/welcome-no-samba-doc.html -%%DATADIR%%/swat/lang/ru/help/welcome.html -%%DATADIR%%/swat/lang/ru/images/globals.gif -%%DATADIR%%/swat/lang/ru/images/home.gif -%%DATADIR%%/swat/lang/ru/images/passwd.gif -%%DATADIR%%/swat/lang/ru/images/printers.gif -%%DATADIR%%/swat/lang/ru/images/shares.gif -%%DATADIR%%/swat/lang/ru/images/status.gif -%%DATADIR%%/swat/lang/ru/images/viewconfig.gif -%%DATADIR%%/swat/lang/ru/images/wizard.gif -%%DATADIR%%/swat/lang/ru/include/header.html -%%DATADIR%%/swat/lang/tr/help/welcome.html -%%DATADIR%%/swat/lang/tr/images/globals.gif -%%DATADIR%%/swat/lang/tr/images/home.gif -%%DATADIR%%/swat/lang/tr/images/passwd.gif -%%DATADIR%%/swat/lang/tr/images/printers.gif -%%DATADIR%%/swat/lang/tr/images/samba.gif -%%DATADIR%%/swat/lang/tr/images/shares.gif -%%DATADIR%%/swat/lang/tr/images/status.gif -%%DATADIR%%/swat/lang/tr/images/viewconfig.gif -man/man1/dbwrap_tool.1.gz -man/man1/findsmb.1.gz -man/man1/gentest.1.gz -man/man1/locktest.1.gz -man/man1/log2pcap.1.gz -man/man1/masktest.1.gz -man/man1/ndrdump.1.gz -man/man1/nmblookup.1.gz -man/man1/nmblookup4.1.gz -man/man1/ntlm_auth.1.gz -man/man1/oLschema2ldif.1.gz -man/man1/profiles.1.gz -man/man1/regdiff.1.gz -man/man1/regpatch.1.gz -man/man1/regshell.1.gz -man/man1/regtree.1.gz -man/man1/rpcclient.1.gz -man/man1/sharesec.1.gz -man/man1/smbcacls.1.gz -man/man1/smbclient.1.gz -man/man1/smbcontrol.1.gz -man/man1/smbcquotas.1.gz -man/man1/smbget.1.gz -man/man1/smbstatus.1.gz -man/man1/smbtar.1.gz -man/man1/smbtorture.1.gz -man/man1/smbtree.1.gz -man/man1/testparm.1.gz -man/man1/vfstest.1.gz -man/man1/wbinfo.1.gz -man/man5/lmhosts.5.gz -man/man5/pam_winbind.conf.5.gz -man/man5/smb.conf.5.gz -man/man5/smb4.conf.5.gz -man/man5/smbgetrc.5.gz -man/man5/smbpasswd.5.gz -man/man7/samba.7.gz -man/man7/winbind_krb5_locator.7.gz -man/man8/eventlogadm.8.gz -man/man8/idmap_ad.8.gz -man/man8/idmap_autorid.8.gz -man/man8/idmap_hash.8.gz -man/man8/idmap_ldap.8.gz -man/man8/idmap_nss.8.gz -man/man8/idmap_rid.8.gz -man/man8/idmap_tdb.8.gz -man/man8/idmap_tdb2.8.gz -man/man8/net.8.gz -man/man8/nmbd.8.gz -man/man8/pam_winbind.8.gz -man/man8/pdbedit.8.gz -man/man8/samba-tool.8.gz -man/man8/samba.8.gz -man/man8/smbd.8.gz -man/man8/smbpasswd.8.gz -man/man8/smbspool.8.gz -man/man8/smbta-util.8.gz -man/man8/swat.8.gz -man/man8/vfs_acl_tdb.8.gz -man/man8/vfs_acl_xattr.8.gz -man/man8/vfs_aio_fork.8.gz -man/man8/vfs_aio_linux.8.gz -man/man8/vfs_aio_pthread.8.gz -man/man8/vfs_audit.8.gz -man/man8/vfs_cacheprime.8.gz -man/man8/vfs_cap.8.gz -man/man8/vfs_catia.8.gz -man/man8/vfs_commit.8.gz -man/man8/vfs_crossrename.8.gz -man/man8/vfs_default_quota.8.gz -man/man8/vfs_dirsort.8.gz -man/man8/vfs_extd_audit.8.gz -man/man8/vfs_fake_perms.8.gz -man/man8/vfs_fileid.8.gz -man/man8/vfs_full_audit.8.gz -man/man8/vfs_gpfs.8.gz -man/man8/vfs_media_harmony.8.gz -man/man8/vfs_netatalk.8.gz -man/man8/vfs_notify_fam.8.gz -man/man8/vfs_prealloc.8.gz -man/man8/vfs_preopen.8.gz -man/man8/vfs_readahead.8.gz -man/man8/vfs_readonly.8.gz -man/man8/vfs_recycle.8.gz -man/man8/vfs_scannedonly.8.gz -man/man8/vfs_shadow_copy.8.gz -man/man8/vfs_shadow_copy2.8.gz -man/man8/vfs_smb_traffic_analyzer.8.gz -man/man8/vfs_streams_depot.8.gz -man/man8/vfs_streams_xattr.8.gz -man/man8/vfs_time_audit.8.gz -man/man8/vfs_tsmsm.8.gz -man/man8/vfs_xattr_tdb.8.gz -man/man8/winbindd.8.gz -@dir lib/shared-modules/perfcount -@dir lib/shared-modules/pdb -@dir lib/shared-modules/gpext -@dir /var/run/samba4 -@dir /var/log/samba4 -@dir /var/db/samba4/private -@dir /var/db/samba4 |