diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2006-03-23 22:24:03 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2006-03-23 22:24:03 +0000 |
commit | 96fe98e1c6bc0301781b0dd7dbfeef3e3f137f43 (patch) | |
tree | 7650cfe102643b74d6ad1d3efe1771281b5e66f0 /net/phpldapadmin098 | |
parent | 503c7f7052756548d3712a6b0f3fb6d32ddbb8e9 (diff) |
Notes
Diffstat (limited to 'net/phpldapadmin098')
-rw-r--r-- | net/phpldapadmin098/Makefile | 106 | ||||
-rw-r--r-- | net/phpldapadmin098/distinfo | 3 | ||||
-rw-r--r-- | net/phpldapadmin098/files/pkg-deinstall.in | 26 | ||||
-rw-r--r-- | net/phpldapadmin098/files/pkg-install.in | 98 | ||||
-rw-r--r-- | net/phpldapadmin098/files/pkg-message.in | 24 | ||||
-rw-r--r-- | net/phpldapadmin098/pkg-descr | 11 | ||||
-rw-r--r-- | net/phpldapadmin098/pkg-plist-chunk | 7 |
7 files changed, 0 insertions, 275 deletions
diff --git a/net/phpldapadmin098/Makefile b/net/phpldapadmin098/Makefile deleted file mode 100644 index 546ff0e6f4a7..000000000000 --- a/net/phpldapadmin098/Makefile +++ /dev/null @@ -1,106 +0,0 @@ -# New ports collection makefile for: phpLDAPadmin -# Date created: 30 Apr 2004 -# Whom: Matthew Seaman -# -# $FreeBSD$ -# - -PORTNAME= phpldapadmin -PORTVERSION= 0.9.8 -PORTREVISION= 1 -PORTEPOCH= 1 -CATEGORIES= net www -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= phpldapadmin -DISTNAME= ${PORTNAME}-${PORTVERSION} - -MAINTAINER= m.seaman@infracaninophile.co.uk -COMMENT= A set of PHP-scripts to administer LDAP servers over the web - -NO_BUILD= yes -USE_PHP= gettext ldap openssl pcre session - -.if defined(WITH_SUPHP) - -PKGNAMESUFFIX= -suphp -RUN_DEPENDS+= ${LOCALBASE}/sbin/suphp:${PORTSDIR}/www/suphp -WANT_PHP_CGI= yes - -PLAUSR?= pldapadm - -SUB_LIST+= PLAUSR=${PLAUSR} \ - PLAGRP=${PLAGRP} -SUB_FILES+= pkg-install pkg-deinstall - -.else - -WANT_PHP_WEB= yes - -.endif - -# PLAUSR is only used WITH_SUPHP -PLADIR?= www/${PORTNAME} -PLAGRP?= ${WWWGRP} -CFGDIR= config -CFGFILE= config.php - -SUB_LIST+= PKGNAME=${PKGNAME} \ - PLADIR=${PLADIR} -SUB_FILES+= pkg-message - -PLIST= ${WRKDIR}/plist -PLIST_SUB+= PLADIR=${PLADIR} PLAGRP=${PLAGRP} - -.SILENT: - -pre-everything:: - ${ECHO_MSG} "" - ${ECHO_MSG} "You may use the following build options:" - ${ECHO_MSG} "" - ${ECHO_MSG} " WITH_SUPHP=yes Install appropriately for use with" - ${ECHO_MSG} " the www/suphp port [default: no]" - ${ECHO_MSG} "" - -post-patch: - cd ${WRKSRC} ; \ - ${FIND} . ! -type d ! -name ${CFGFILE}.example ! -name .cvsignore | \ - ${SORT} | ${SED} -e "s!^\.!%%PLADIR%%!" >${PLIST} ; \ - ${CAT} ${PKGDIR}/pkg-plist-chunk >>${PLIST} ; \ - ${FIND} . -type d | ${SORT} -r | ${SED} \ - -e 's!^\./${CFGDIR}$$!@dirrmtry %%PLADIR%%/${CFGDIR}!' \ - -e 's!^\.$$!@dirrmtry %%PLADIR%%!' \ - -e 's!^\.!@dirrm %%PLADIR%%!' >>${PLIST} - -pre-install: -.if defined(WITH_SUPHP) - ${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL -.endif - -do-install: install-app install-conf - -install-app: - cd ${WRKSRC} ; \ - for src in $$( ${FIND} . ! -name .cvsignore ) ; do \ - dst=${PREFIX}/${PLADIR}$${src#.} ; \ - if ${TEST} -d $$src ; then \ - ${MKDIR} $$dst ; \ - else \ - ${INSTALL_DATA} $$src $$dst ; \ - fi \ - done - -install-conf: - cd ${PREFIX}/${PLADIR}/${CFGDIR} ; \ - ${CHMOD} 0640 ${CFGFILE}.example ; \ - ${CHGRP} ${PLAGRP} ${CFGFILE}.example ; \ - if ${TEST} ! -f ${CFGFILE} ; then \ - ${CP} -p ${CFGFILE}.example ${CFGFILE} ; \ - fi - -post-install: -.if defined(WITH_SUPHP) - ${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL -.endif - ${CAT} ${PKGMESSAGE} - -.include <bsd.port.mk> diff --git a/net/phpldapadmin098/distinfo b/net/phpldapadmin098/distinfo deleted file mode 100644 index fefa3f581d29..000000000000 --- a/net/phpldapadmin098/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (phpldapadmin-0.9.8.tar.gz) = 32251f799a5b1664003b4417f6fd96a8 -SHA256 (phpldapadmin-0.9.8.tar.gz) = 5bb3289a1ff058deda106f5d33623445b066b9881c76bc105f35b6855feb0542 -SIZE (phpldapadmin-0.9.8.tar.gz) = 751893 diff --git a/net/phpldapadmin098/files/pkg-deinstall.in b/net/phpldapadmin098/files/pkg-deinstall.in deleted file mode 100644 index 79aa1f894cc8..000000000000 --- a/net/phpldapadmin098/files/pkg-deinstall.in +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh -# -# $FreeBSD: /tmp/pcvs/ports/net/phpldapadmin098/files/Attic/pkg-deinstall.in,v 1.1 2005-12-11 23:51:12 lawrance Exp $ -# - -case $2 in - POST-DEINSTALL) - cat <<EOMSG -The phpldapadmin-suphp port has been deleted. -If you are not upgrading and don't intend to use -phpLDAPadmin any more then you may wish to delete -the %%PLAUSR%% account, which can be done with -the following command: - - # pw userdel %%PLAUSR%% -EOMSG - if [ -d %%PREFIX%%/%%PLADIR%% ] ; then - echo " # rm -rf %%PREFIX%%/%%PLADIR%%/" - fi - echo - ;; -esac - -# -# That's All Folks! -# diff --git a/net/phpldapadmin098/files/pkg-install.in b/net/phpldapadmin098/files/pkg-install.in deleted file mode 100644 index 853f54b955e2..000000000000 --- a/net/phpldapadmin098/files/pkg-install.in +++ /dev/null @@ -1,98 +0,0 @@ -#!/bin/sh -# -# $FreeBSD: /tmp/pcvs/ports/net/phpldapadmin098/files/Attic/pkg-install.in,v 1.1 2005-12-11 23:51:12 lawrance Exp $ -# - -PATH=/usr/sbin:/usr/bin:/bin ; export PATH - -pladir=%%PREFIX%%/%%PLADIR%% -plausr=%%PLAUSR%% -plagrp=%%PLAGRP%% - -plagcos="phpLDAPadmin Owner" -plahome=/nonexistent -plashell=/sbin/nologin - -create_group() { - local user group gcos home shell - - user=$1 - group=$2 - gcos=$3 - home=$4 - shell=$5 - - if pw groupadd -n $group ; then - echo "===> Group $group created" - else - cat <<-EOERRORMSG - *** Failed to create the $group group. - - Please add the $user user and $group group - manually with the commands: - - pw groupadd -n $group - pw useradd -n $user -g $group -c "$gcos" \\ - -d $home -s $shell -h - - - and retry installing this package. - EOERRORMSG - exit 1 - fi -} - - -create_user() { - local user group gcos home shell - - user=$1 - group=$2 - gcos=$3 - home=$4 - shell=$5 - - if pw useradd -n $user -g $group -c "$gcos" -d $home -s $shell -h - ; then - echo "===> Created $user user" - else - cat <<-EOERRORMSG - *** Failed to create the $user user. - - Please add the $user user manually with the command: - - pw useradd -n $user -g $group -c "$gcos" \\ - -d $home -s $shell -h - - - and retry installing this package. - EOERRORMSG - exit 1 - fi -} - - -case $2 in - PRE-INSTALL) - - # Create the pla user and group if they do not already exist - - if pw user show -n $plausr >/dev/null 2>&1 ; then - echo "===> Using pre-existing user $plausr" - else - if ! pw group show -n $plagrp >/dev/null 2>&1 ; then - create_group $plausr $plagrp "$plagcos" $plahome \ - $plashell - fi - create_user $plausr $plagrp "$plagcos" $plahome $plashell - fi - ;; - POST-INSTALL) - - # Change ownership of the phpLDAPadmin directory - - echo "===> Adjusting file ownership in $pladir" - chown -R $plausr:$plagrp $pladir || exit 1 - ;; -esac - -# -# That's All Folks! -# diff --git a/net/phpldapadmin098/files/pkg-message.in b/net/phpldapadmin098/files/pkg-message.in deleted file mode 100644 index 365faf3c5f9f..000000000000 --- a/net/phpldapadmin098/files/pkg-message.in +++ /dev/null @@ -1,24 +0,0 @@ - -%%PKGNAME%% has been installed into: - - %%PREFIX%%/%%PLADIR%% - -Please edit config.php to suit your needs. - -To make phpLDAPadmin available through your web site, -I suggest that you add the following to httpd.conf: - - Alias /phpldapadmin/ "%%PREFIX%%/%%PLADIR%%/htdocs" - -Please note: if you are upgrading from version 0.9.7 or earlier, the -layout of the %%PKGNAME%% files has been completely reworked. You -will need to modify your apache configuration and merge the settings -from your original configuration file: - - %%PREFIX%%/%%PLADIR%%/config.php - - to - - %%PREFIX%%/%%PLADIR%%/config/config.php - - diff --git a/net/phpldapadmin098/pkg-descr b/net/phpldapadmin098/pkg-descr deleted file mode 100644 index 80de707d442b..000000000000 --- a/net/phpldapadmin098/pkg-descr +++ /dev/null @@ -1,11 +0,0 @@ -phpLDAPadmin is a web-based LDAP client. It provides easy, -anywhere-accessible, multi-language administration for your LDAP -server. Its hierarchical tree-viewer and advanced search functionality -make it intuitive to browse and administer your LDAP directory. Since -it is a web application, this LDAP browser works on many platforms, -making your LDAP server easily manageable from any -location. phpLDAPadmin is the perfect LDAP browser for the LDAP -professional and novice alike. Its user base consists mostly of LDAP -administration professionals. - -WWW: http://phpldapadmin.sourceforge.net/ diff --git a/net/phpldapadmin098/pkg-plist-chunk b/net/phpldapadmin098/pkg-plist-chunk deleted file mode 100644 index 8a9de645dd50..000000000000 --- a/net/phpldapadmin098/pkg-plist-chunk +++ /dev/null @@ -1,7 +0,0 @@ -@mode 640 -@group %%PLAGRP%% -@unexec if cmp -s %D/%%PLADIR%%/config/config.php.example %D/%%PLADIR%%/config/config.php ; then rm -f %D/%%PLADIR%%/config/config.php ; fi -%%PLADIR%%/config/config.php.example -@exec [ ! -f %B/config.php ] && cp -p %B/%f %B/config.php || true -@mode -@group |