diff options
| author | cvs2svn <cvs2svn@FreeBSD.org> | 2002-01-29 04:56:35 +0000 |
|---|---|---|
| committer | cvs2svn <cvs2svn@FreeBSD.org> | 2002-01-29 04:56:35 +0000 |
| commit | b315e20b06b5067b11496cbfb4744f5cf16a9639 (patch) | |
| tree | 3fe761c428249a06677cf9f97eb9badee0732a6a /databases/firebird-server/scripts/post-install | |
| parent | 7f06f7b43a65cd1bd87825a1886b0e08e87f38e3 (diff) | |
This commit was manufactured by cvs2svn to create tag 'RELEASE_4_5_0'.release/4.5.0
Diffstat (limited to 'databases/firebird-server/scripts/post-install')
| -rw-r--r-- | databases/firebird-server/scripts/post-install | 84 |
1 files changed, 0 insertions, 84 deletions
diff --git a/databases/firebird-server/scripts/post-install b/databases/firebird-server/scripts/post-install deleted file mode 100644 index c2515fde278c..000000000000 --- a/databases/firebird-server/scripts/post-install +++ /dev/null @@ -1,84 +0,0 @@ -#!/bin/sh - -chown -R firebird:firebird $PREFIX/firebird - -# Turn everybody to read only. -chmod -R o=r $PREFIX/firebird - -# Now fix up the mess. - -# fix up directories -for i in `find $PREFIX/firebird -print` - do - FileName=$i - if [ -d $FileName ] - then - chmod o=rx $FileName - fi - done - -# make lib ldconfig-compatible -chown -R root:wheel $PREFIX/firebird/lib -chmod -R g-w $PREFIX/firebird/lib - -# Fix UDF load problem -cd $PREFIX/firebird/lib -ln -sf ib_util.so libib_util.so - -cd $PREFIX/firebird/bin - -# all users can run everything. -chmod o=rx * - -# SUID is needed for running server programs. - -for i in gds_lock_mgr gds_drop gds_inet_server - do - chmod ug+s $i - done - - -# Lock files - -cd $PREFIX/firebird - -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 interbase.log -chmod ugo=rw interbase.log - -# make databases writable by all -chmod ugo=rw examples/v5/*.gdb -chmod ugo=rw help/*.gdb -chmod ugo=rw isc4.gdb - -# remove any existing gds service -sh $SCRIPTDIR/rmservice - -# add the gds service and restart inetd -sh $SCRIPTDIR/addservice -if [ -f /var/run/inetd.pid ]; then - kill -HUP `cat /var/run/inetd.pid` -fi - -sed "s|%%PREFIX%%|$PREFIX|" $SCRIPTDIR/../pkg-message - -cat <<EOF - -========================================================== -!! NOTE !! - -As there are some oddities to the Firebird build process, -it is likely you WILL NOT BE ABLE TO USE IT until you -remove the semaphore created during the build process. -Please read $PREFIX/firebird/RELNOTES for more information. -========================================================== - -EOF |
