#!/bin/sh # # $FreeBSD$ # CHOWN=/usr/sbin/chown ECHO_CMD=echo GREP=/usr/bin/grep 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 me='h' onchange='this.form.submit();'> FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/libgcal/Makefile
Commit message (Expand)AuthorAgeFilesLines
* - Update to 7.31.0sunpoet2013-07-121-0/+1
* - Reset maintainer [1]rene2013-04-171-11/+5
* - convert USE_CMAKE to USESmakc2013-03-231-1/+1
* - No need to set CMAKE_INSTALL_PREFIX, it's already done in bsd.cmake.mkmakc2013-03-181-11/+2
* Fix typos in COMMENTcs2012-07-251-1/+1
* - Update libgcal to 0.9.6.avilla2011-03-251-2/+1
* - Upstream bugfix for a crash issue:wen2011-03-141-0/+4
* - Mark BROKEN on amd64 7.x only (does not link here)pav2010-07-221-1/+7
* Update to 0.9.5makc2010-07-101-4/+6
* Chase the ftp/curl shlib version bump.roam2010-04-031-0/+1
* - Update to 0.9.3tabthorpe2009-09-041-1/+2
* - Fix build on 6.x (gcc < 4.0)jadawin2009-08-241-0/+1