mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
b90ad08bc5
- Rename pkg-install to pkg-install-server. It only must be used by firebird server ports Reported by: miwiw
47 lines
953 B
Bash
47 lines
953 B
Bash
#!/bin/sh
|
|
|
|
# $FreeBSD: /tmp/pcvs/ports/databases/firebird25-server/files/pkg-install.in,v 1.2 2011-07-10 17:37:11 crees Exp $
|
|
|
|
PATH=/bin:/usr/bin:/usr/sbin
|
|
|
|
buildwarning() {
|
|
cat <<EOF
|
|
###############################################################################
|
|
|
|
** IMPORTANT **
|
|
|
|
Keep in mind that if you build firebird server as 'root', this may cause
|
|
conflicts with SysV semaphores of running services.
|
|
|
|
If you want to cancel it, press ctrl-C now if you need check some things
|
|
before of build it.
|
|
|
|
###############################################################################
|
|
EOF
|
|
sleep 5
|
|
}
|
|
|
|
case $2 in
|
|
PRE-INSTALL)
|
|
buildwarning
|
|
;;
|
|
POST-INSTALL)
|
|
cd /var/db/firebird
|
|
|
|
# Lock files
|
|
|
|
for i in isc_init1 isc_lock1 isc_event1
|
|
do
|
|
FileName=$i.`hostname`
|
|
touch $FileName
|
|
chmod uga=rw $FileName
|
|
chown firebird:firebird $FileName
|
|
done
|
|
|
|
touch firebird.log
|
|
chown firebird:firebird firebird.log security2.fdb
|
|
|
|
;;
|
|
|
|
esac
|