aboutsummaryrefslogtreecommitdiffstats
path: root/net/openldap24-server/pkg-install
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2005-03-27 11:19:52 +0800
committerkris <kris@FreeBSD.org>2005-03-27 11:19:52 +0800
commit7a725446b0212d1561befee1b681a90820d70dd2 (patch)
treefc39ecb24687268884ed86bfaf3e4f679ba57e1a /net/openldap24-server/pkg-install
parentebeb17b4dab3845a8767d8622b8c40446cc7d3e9 (diff)
downloadfreebsd-ports-gnome-7a725446b0212d1561befee1b681a90820d70dd2.tar.gz
freebsd-ports-gnome-7a725446b0212d1561befee1b681a90820d70dd2.tar.zst
freebsd-ports-gnome-7a725446b0212d1561befee1b681a90820d70dd2.zip
Remove repo-copies requested and performed 5 weeks ago but never
completed by the submitter. They can be added back later if/when the submitter is ready to proceed. Approved by: portmgr (self)
Diffstat (limited to 'net/openldap24-server/pkg-install')
-rw-r--r--net/openldap24-server/pkg-install44
1 files changed, 0 insertions, 44 deletions
diff --git a/net/openldap24-server/pkg-install b/net/openldap24-server/pkg-install
deleted file mode 100644
index aa9b0cf46da9..000000000000
--- a/net/openldap24-server/pkg-install
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-
-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