summaryrefslogtreecommitdiff
path: root/net/openldap23-server/files/pkg-install.in
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2013-07-01 09:19:36 +0000
committerRene Ladan <rene@FreeBSD.org>2013-07-01 09:19:36 +0000
commitd8885b58f99f561c7f5ebb46148e1ca28be57930 (patch)
treeb5e0f35abf91351f93ca30907f51254bc6fb450c /net/openldap23-server/files/pkg-install.in
parent- Update to 3.7.1 (diff)
Remove expired ports:
2013-07-01 net/openldap23-sasl-client: Unmaintained by upstream 2013-07-01 net/openldap23-server: Unmaintained by upstream 2013-07-01 net/openldap23-client: Unmaintained by upstream 2013-07-01 www/py-django13: Unsupported version 2013-07-01 devel/libtifiles: Superseded by devel/libtifiles2 2013-07-01 comms/libticables: Superseded by comms/libticables2 2013-07-01 devel/libticalcs: Superseded by comms/libticalcs2 2013-07-01 emulators/tiemu2: Superseded by emulators/tiemu3
Notes
Notes: svn path=/head/; revision=322119
Diffstat (limited to 'net/openldap23-server/files/pkg-install.in')
-rw-r--r--net/openldap23-server/files/pkg-install.in44
1 files changed, 0 insertions, 44 deletions
diff --git a/net/openldap23-server/files/pkg-install.in b/net/openldap23-server/files/pkg-install.in
deleted file mode 100644
index 446aa4dc2e6d..000000000000
--- a/net/openldap23-server/files/pkg-install.in
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD: /tmp/pcvs/ports/net/openldap23-server/files/pkg-install.in,v 1.1 2006-05-18 15:03:48 delphij Exp $
-#
-
-CHOWN=/usr/sbin/chown
-ECHO_CMD=echo
-GREP=/usr/bin/grep
-PKG_INFO=/usr/sbin/pkg_info
-PW=/usr/sbin/pw
-
-FTPUSERS=/etc/ftpusers
-
-case $2 in
-PRE-INSTALL)
- if ! ${PW} usershow -n ldap >/dev/null 2>&1; then
- ${ECHO_CMD}
- if ! ${PW} groupshow -n ldap >/dev/null 2>&1; then
- if ! ${PW} groupadd -n ldap -g 389; then
- ${ECHO_CMD} "*** Failed to add a group ldap with id 389."
- ${ECHO_CMD}
- ${ECHO_CMD} "Please add the ldap user manually with"
- ${ECHO_CMD} " ${PW} useradd -n ldap -g ldap -c 'OpenLDAP server' \\"
- ${ECHO_CMD} " -d /nonexistent -s /sbin/nologin -h -"
- ${ECHO_CMD} "and retry installing this package."
- exit 1
- fi
- ${ECHO_CMD} "===> Group 'ldap' created."
- fi
- if ! ${PW} useradd -n ldap -u 389 -g ldap -c 'OpenLDAP Server' \
- -d /nonexistent -s /sbin/nologin -h -; then
- ${ECHO_CMD} "*** Failed to add an user ldap with id 389."
- ${ECHO_CMD}
- ${ECHO_CMD} "Please add the ldap user manually with"
- ${ECHO_CMD} " ${PW} useradd -n ldap -g ldap -c 'OpenLDAP server' \\"
- ${ECHO_CMD} " -d /nonexistent -s /sbin/nologin -h -"
- ${ECHO_CMD} "and retry installing this package."
- exit 1
- fi
- ${GREP} -qs '^ldap$' ${FTPUSERS} || ${ECHO_CMD} ldap >> ${FTPUSERS}
- ${ECHO_CMD} "===> Account 'ldap' created."
- fi
- ;;
-esac