diff options
Diffstat (limited to 'net/smbldap-tools')
-rw-r--r-- | net/smbldap-tools/Makefile | 69 | ||||
-rw-r--r-- | net/smbldap-tools/distinfo | 3 | ||||
-rw-r--r-- | net/smbldap-tools/files/patch-smbldap-config.pl | 55 | ||||
-rw-r--r-- | net/smbldap-tools/pkg-descr | 9 | ||||
-rw-r--r-- | net/smbldap-tools/pkg-plist | 21 |
5 files changed, 0 insertions, 157 deletions
diff --git a/net/smbldap-tools/Makefile b/net/smbldap-tools/Makefile deleted file mode 100644 index aa519063160b..000000000000 --- a/net/smbldap-tools/Makefile +++ /dev/null @@ -1,69 +0,0 @@ -# Created by: Florent Thoumie <flz@xbsd.org> -# $FreeBSD$ - -PORTNAME= smbldap-tools -PORTVERSION= 0.9.11 -CATEGORIES= net -MASTER_SITES= http://download.gna.org/smbldap-tools/sources/${PORTVERSION}/ - -MAINTAINER= ports@FreeBSD.org -COMMENT= Samba-LDAP management and support tools - -LICENSE= GPLv2+ -LICENSE_FILE= ${WRKSRC}/COPYING - -BROKEN= unfetchable -DEPRECATED= Unfetchable, unmaintained -EXPIRATION_DATE= 2019-10-16 - -BUILD_DEPENDS= p5-perl-ldap>=0:net/p5-perl-ldap \ - p5-Crypt-SmbHash>=0:security/p5-Crypt-SmbHash \ - p5-Digest-SHA1>=0:security/p5-Digest-SHA1 \ - p5-Unicode-MapUTF8>=0:converters/p5-Unicode-MapUTF8 -RUN_DEPENDS:= ${BUILD_DEPENDS} - -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/a//} - -USES= gmake perl5 -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-samba-sysconfdir=${LOCALBASE}/etc \ - --with-samba-bindir=${LOCALBASE}/bin \ - --with-perl=${PERL} \ - --with-perl-libdir=sitelib -ALL_TARGET= build -NO_ARCH= yes - -PORTDOCS= * - -OPTIONS_DEFINE= MIGRATION_SCRIPTS DOCS -OPTIONS_SUB= yes -MIGRATION_SCRIPTS_DESC= Install migration scripts - -post-patch: - @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ - ${WRKSRC}/smbldap-config.pl - -post-install: - @${MKDIR} ${STAGEDIR}${PREFIX}/etc/smbldap-tools -.for i in smbldap.conf smbldap_bind.conf - ${INSTALL_DATA} ${WRKSRC}/$i ${STAGEDIR}${PREFIX}/etc/smbldap-tools/$i.sample -.endfor - -post-install-MIGRATION_SCRIPTS-on: -.for i in smbldap-migrate-pwdump-accounts smbldap-migrate-pwdump-groups \ -smbldap-migrate-unix-accounts smbldap-migrate-unix-groups - @${SED} -e 's|/usr/bin/perl|${PERL}|g' \ - ${WRKSRC}/doc/migration_scripts/$i > ${STAGEDIR}${PREFIX}/sbin/$i -.endfor - -post-install-DOCS-on: - @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_SCRIPT} ${WRKSRC}/smbldap-config.cmd ${STAGEDIR}${DOCSDIR}/smbldap-config - ${INSTALL_SCRIPT} ${WRKSRC}/smbldap-upgrade-0.9.6.cmd ${STAGEDIR}${DOCSDIR}/smbldap-upgrade-0.9.6 -.for f in CONTRIBUTORS COPYING ChangeLog FILES INFRA INSTALL README TODO - ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/ -.endfor - ${INSTALL_DATA} ${WRKSRC}/doc/smbldap-tools.html ${STAGEDIR}${DOCSDIR}/smbldap-tools.html - ${INSTALL_DATA} ${WRKSRC}/doc/smbldap-tools.pdf ${STAGEDIR}${DOCSDIR}/smbldap-tools.pdf - -.include <bsd.port.mk> diff --git a/net/smbldap-tools/distinfo b/net/smbldap-tools/distinfo deleted file mode 100644 index a5346377478d..000000000000 --- a/net/smbldap-tools/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1472019475 -SHA256 (smbldap-tools-0.9.11.tar.gz) = bf263c7b6cee2f51cb2b53a69f55747a7a3698f25d8571aedc026572fead9df5 -SIZE (smbldap-tools-0.9.11.tar.gz) = 337468 diff --git a/net/smbldap-tools/files/patch-smbldap-config.pl b/net/smbldap-tools/files/patch-smbldap-config.pl deleted file mode 100644 index ba2626212b4a..000000000000 --- a/net/smbldap-tools/files/patch-smbldap-config.pl +++ /dev/null @@ -1,55 +0,0 @@ ---- smbldap-config.pl.orig 2012-03-05 09:59:44.000000000 +0100 -+++ smbldap-config.pl 2014-10-05 19:32:18.349166265 +0200 -@@ -48,7 +48,7 @@ - print "-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\n"; - - # we first check if Samba is up and running --my $test_smb=`pidof smbd`; -+my $test_smb=`pgrep -x smbd`; - chomp($test_smb); - die "\nSamba needs to be started first !\n" if ($test_smb eq "" || not defined $test_smb); - -@@ -290,7 +290,7 @@ - - my $default_computer_gidnumber=read_entry(". default computer gidNumber","","515",0); - --my $userLoginShell=read_entry(". default login shell","","/bin/bash",0); -+my $userLoginShell=read_entry(". default login shell","","/bin/sh",0); - - my $skeletonDir=read_entry(". default skeleton directory","","/etc/skel",0); - -@@ -441,7 +441,7 @@ - - # Login defs - # Default Login Shell --# Ex: userLoginShell=\"/bin/bash\" -+# Ex: userLoginShell=\"/bin/sh\" - userLoginShell=\"$userLoginShell\" - - # Home directory -@@ -511,12 +511,12 @@ - # Allows not to use smbpasswd (if with_smbpasswd=\"0\" in smbldap.conf) but - # prefer Crypt::SmbHash library - with_smbpasswd=\"0\" --smbpasswd=\"/usr/bin/smbpasswd\" -+smbpasswd=\"%%LOCALBASE%%/bin/smbpasswd\" - - # Allows not to use slappasswd (if with_slappasswd=\"0\" in smbldap.conf) - # but prefer Crypt:: libraries - with_slappasswd=\"0\" --slappasswd=\"/usr/sbin/slappasswd\" -+slappasswd=\"%%LOCALBASE%%/sbin/slappasswd\" - - # comment out the following line to get rid of the default banner - # no_banner=\"1\" -@@ -557,3 +557,10 @@ - $mode=0600; - chmod $mode,"$smbldap_bind_conf","$smbldap_bind_conf.old"; - -+ -+############################################################ -+ -+=head1 NAME -+ -+=cut -+ diff --git a/net/smbldap-tools/pkg-descr b/net/smbldap-tools/pkg-descr deleted file mode 100644 index 88f512b9fa01..000000000000 --- a/net/smbldap-tools/pkg-descr +++ /dev/null @@ -1,9 +0,0 @@ -A collection of scripts, "over" user{add,del,mod} and group{add,del,mod} -system tools to manipulate users and groups stored in LDAP directory, -for DEN system like SAMBA-LDAP and pam/nss_ldap systems. - -Additionnaly, some scripts are designed to ease your migration from -a Windows NT 4.0 PDC Server to a Samba-LDAP PDC Server (Killer?;-): -smbldap-populate, smbldap-migrate-groups, smbldap-migrate-accounts. - -WWW: https://gna.org/projects/smbldap-tools/ diff --git a/net/smbldap-tools/pkg-plist b/net/smbldap-tools/pkg-plist deleted file mode 100644 index f50a60323e71..000000000000 --- a/net/smbldap-tools/pkg-plist +++ /dev/null @@ -1,21 +0,0 @@ -sbin/smbldap-config -sbin/smbldap-groupadd -sbin/smbldap-groupdel -sbin/smbldap-grouplist -sbin/smbldap-groupmod -sbin/smbldap-groupshow -%%MIGRATION_SCRIPTS%%sbin/smbldap-migrate-pwdump-groups -%%MIGRATION_SCRIPTS%%sbin/smbldap-migrate-unix-accounts -%%MIGRATION_SCRIPTS%%sbin/smbldap-migrate-unix-groups -%%MIGRATION_SCRIPTS%%sbin/smbldap-migrate-pwdump-accounts -sbin/smbldap-passwd -sbin/smbldap-populate -sbin/smbldap-useradd -sbin/smbldap-userdel -sbin/smbldap-userinfo -sbin/smbldap-userlist -sbin/smbldap-usermod -sbin/smbldap-usershow -@sample %%ETCDIR%%/smbldap.conf.sample -@sample %%ETCDIR%%/smbldap_bind.conf.sample -%%SITE_PERL%%/smbldap_tools.pm |