#!/bin/sh # $FreeBSD$ # based on original from op port, written by Cyrille Lefevre # [ $# != 2 ] && exit 1 PKGNAME=$1 ACTION=$2 CONF_DIR=${PKG_PREFIX}/etc/silc SILC_DAEMON=${PKG_PREFIX}/sbin/silcd KEY_FILES="silcd.prv silcd.pub" CONF_FILE=silcd.conf CONF_OWN=root CONF_GRP=wheel CONF_MODE=0600 SAMP_SUFX=.sample INSTALL=install CMP=cmp FMT=fmt RM=rm RMDIR=rmdir INSTALL_DIR="${INSTALL} -d -o root -g wheel -m 755" case "$ACTION" in POST-INSTALL) if [ -f "${CONF_DIR}/${CONF_FILE}" ] then echo "$PKGNAME: Will not overwrite existing ${CONF_DIR}/${CONF_FILE} configuration file." else ${INSTALL} -c -o ${CONF_OWN} -g ${CONF_GRP} -m ${CONF_MODE} \ ${CONF_DIR}/${CONF_FILE}${SAMP_SUFX} \ ${CONF_DIR}/${CONF_FILE} fi if [ -f ${CONF_DIR}/silcd.prv -o -f ${CONF_DIR}/silcd.pub ] then echo "$PKGNAME: Will not overwrite existing PUBLIC KEY PAIRS in ${CONF_DIR}." echo "$PKGNAME: Remove them if you both want new keys and know what you are doing, deinstall this package and install again." | ${FMT} echo "$PKGNAME: To remove the old keys:" for key_file in ${KEY_FILES} do [ -f ${CONF_DIR}/${key_file} ] && echo "$PKGNAME: rm -f ${CONF_DIR}/${key_file}" done else ${SILC_DAEMON} -C ${CONF_DIR} fi ${INSTALL_DIR} ${PKG_PREFIX}/silc/logs ;; DEINSTALL) if ${CMP} -s ${CONF_DIR}/${CONF_FILE}${SAMP_SUFX} \ ${CONF_DIR}/${CONF_FILE}; then ${RM} -f ${CONF_DIR}/${CONF_FILE} else echo "$PKGNAME: Will not remove existing ${CONF_DIR}/${CONF_FILE} configuration file." echo "$PKGNAME: Remove it manually if you know what you are doing:" echo "$PKGNAME: rm -f ${CONF_DIR}/${CONF_FILE}" fi echo "$PKGNAME: Will not remove remaining PUBLIC KEY PAIRS." echo "$PKGNAME: If you want to remove any remaining PUBLIC KEY PAIRS:" for key_file in ${KEY_FILES} do [ -f ${CONF_DIR}/${key_file} ] && echo "$PKGNAME: rm -f ${CONF_DIR}/${key_file}" done echo "$PKGNAME: Also, do not forget to 'rmdir ${CONF_DIR} 2>/dev/null'" ${RMDIR} ${PKG_PREFIX}/silc/logs 2>/dev/null if [ -d ${PKG_PREFIX}/silc ] then ${RMDIR} ${PKG_PREFIX}/silc 2>/dev/null || echo "$PKGNAME: Will not remove silc server logs. If permanently removing the port, 'rm -Rf ${PKG_PREFIX}/silc'" fi ;; PRE-INSTALL|POST-DEINSTALL) ;; *) exit 1 ;; esac exit ot/npm_and_yarn/devel/electron4/files/lodash.merge-4.6.2 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/bochs
Commit message (Expand)AuthorAgeFilesLines
* Fix whitespace issues (mixed tab/spaces, alignment) in a few ports.olgeni2017-10-311-1/+1
* Bump PORTREVISION for ports depending on the canonical version of GCCgerald2017-09-111-1/+1
* Fix es1370 build when gameport is disabled.fjoe2017-07-281-0/+14
* Bump PORTREVISION of several ports that depends of net/libvncserver toaraujo2017-07-121-1/+1
* Update devel/readline to 7.0 patch 3sunpoet2017-06-271-1/+1
* Bump PORTREVISIONs for ports depending on the canonical version of GCC andgerald2017-04-011-0/+1
* Cleanup BROKEN/IGNORE for 10.3-mat2017-01-031-7/+3
* - Mark BROKEN on FreeBSD 10+ i386 10amdmi32016-12-211-1/+7
* Unmark broken on powerpc64swills2016-09-151-2/+0
* - Fix trailing whitespace in pkg-descrs, categories [a-f]*amdmi32016-05-191-1/+1
* many ports: mark broken on powerpc64swills2016-04-221-0/+2
* Update to 2.6.8.mat2016-04-085-157/+145
* Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.mat2016-04-011-2/+2
* - Reassign to the heap, on maintainer's requestculot2016-03-311-1/+1
* - Update to upstream version 2.6.7riggs2015-01-314-17/+34
* Replace USES=libtool:oldver with USES=libtool or USES=libtool:keepla intijl2014-12-091-0/+1
* Cleanup plistantoine2014-11-131-2/+2
* Clean up plistbapt2014-10-271-4/+0
* - Update to 2.6.5miwi2014-06-185-161/+135
* - Add USES=libtoolamdmi32014-06-031-2/+5
* - Add stage supportdanilo2013-12-142-258/+84
* Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-211-0/+1
* Add explicit dependency on pkgconf (27 ports)marino2013-09-121-1/+1
* - Remove MAKE_JOBS_SAFE variableak2013-08-151-1/+0
* - Update to 2.6.2miwi2013-05-292-10/+13
* - Fix options entriesmiwi2013-05-161-22/+43
* Convert USE_NCURSES by USES=ncursesbapt2013-05-061-1/+1
* - Update to 2.6.1miwi2013-04-262-16/+20
* Convert SINGLE to RADIO optionbapt2012-12-111-3/+3
* - Replace usage of !${PORT_OPTIONS:MFOO} with empty(PORT_OPTIONS:MFOO)madpilot2012-11-011-1/+1
* - Update to 2.6madpilot2012-11-013-34/+50
* Convert to new options framework.madpilot2012-06-081-116/+122
* - Update devel/sdl12 to 1.2.15mva2012-02-181-0/+1
* - Update to 2.5.1miwi2012-01-294-60/+50
* - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)amdmi32011-09-241-3/+2
* Add dependency on alsa-lib. Port picks it up with configure if installedarved2011-08-071-2/+5
* - Update to 1.4.6miwi2011-06-252-15/+28
* Sync to new bsd.autotools.mkade2010-12-041-1/+1
* - Update to 2.4.5miwi2010-07-15