New commits:
commit a8f34b3fc3f1d30a5fb0e0ad49bd8bf6edc06121
Author: Treeve Jelbert <treeve AT scarlet.be>
Commit: Treeve Jelbert <treeve AT scarlet.be>
firebird - build fixes
commit d4333ec4954438d2efc92e3fa540b10e5e188bd5
Author: Treeve Jelbert <treeve AT scarlet.be>
Commit: Treeve Jelbert <treeve AT scarlet.be>
libedit-20070302-2.10
diff --git a/database/firebird/BUILD b/database/firebird/BUILD
index 3ee2990..1672182 100755
--- a/database/firebird/BUILD
+++ b/database/firebird/BUILD
@@ -1,4 +1,4 @@
- local LL &&
+ local FF FileName DB LCK ll &&
persistent_add FB_PREFIX &&
FB_PREFIX=${INSTALL_ROOT}/usr/firebird &&
OPTS="${OPTS} ${FB_SS}" &&
@@ -27,6 +27,33 @@ if [ $FB_CLIENT == n ]; then
# prepare an install image
cd gen &&
./install/makeInstallImage.sh
+#
+# fix ownership and permissions
+ cd $SOURCE_DIRECTORY/gen/buildroot/$FB_PREFIX &&
+ chown -R root:root ./ &&
+ chmod -R uga-w ./ &&
+
+# Everyone may execute clients
+ chmod 0555 bin/* &&
+# Shell scripts changing security attributes are for root only
+ chmod 0500 bin/*.sh &&
+# Security database
+# Nobody besides firebird permitted to even read this file
+ chown firebird:firebird security*.fdb &&
+ chmod 0600 security*.fdb &&
+# all database should be owned by firebird
+ for DB in `ls examples/empbuild/*.fdb`
+ do
+ chmod ug+w $DB &&
+ chown firebird:firebird $DB
+ done &&
+# preserve some existing files
+ for FF in `ls security*.fdb`; do
+ if [ -f $FB_PREFIX/$FF ];then
+ message preserving file $FF &&
+ bzip2 $FF
+ fi
+ done
else
cd gen &&
make includes &&
diff --git a/database/firebird/DETAILS b/database/firebird/DETAILS
index b617fd8..8522d46 100755
--- a/database/firebird/DETAILS
+++ b/database/firebird/DETAILS
@@ -28,7 +28,7 @@ esac
WEB_SITE=http://www.firebirdsql.org
LICENSE=IDPL
ENTERED=20031111
- PATCHLEVEL=1
+ PATCHLEVEL=2
# DOCS="doc/*"
KEYWORDS="database engine"
SHORT="a very powerful relational dbms"
diff --git a/database/firebird/FINAL b/database/firebird/FINAL
index f1dfed2..782edfc 100755
--- a/database/firebird/FINAL
+++ b/database/firebird/FINAL
@@ -2,48 +2,26 @@ if [ $FB_CLIENT == n ]; then
# we do this here, so that things are not tracked, as these files are
# constantly modified in normal use
-local FF FileName DB LCK &&
-
-cd $FB_PREFIX &&
- chown -R root:root $FB_PREFIX &&
- chmod -R uga-w $FB_PREFIX &&
-
- cd bin &&
-
-# Everyone may execute clients
- chmod 0555 * &&
-
-# Shell scripts changing security attributes are for root only
- chmod 0500 *.sh &&
-
- cd .. &&
-# Security database
-# Nobody besides firebird permitted to even read this file
- chown firebird:firebird security*.fdb &&
- chmod 0600 security*.fdb &&
-# all database should be owned by firebird
- for DB in `ls examples/empbuild/*.fdb`
- do
- chmod ug+w $DB &&
- chown firebird:firebird $DB
- done &&
+local FF FileName LCK LOG &&