Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (e62a1bb2f0303a00ae490f33da71d866a1a80ffd)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Treeve Jelbert <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (e62a1bb2f0303a00ae490f33da71d866a1a80ffd)
  • Date: Wed, 11 Nov 2015 14:15:03 +0000

GIT changes to master grimoire by Treeve Jelbert <treeve AT sourcemage.org>:

ChangeLog | 3 ++
database/firebird3/BUILD | 9 ++++++
database/firebird3/CONFIGURE | 6 ++++
database/firebird3/CONFLICTS | 2 +
database/firebird3/DEPENDS | 4 ++
database/firebird3/DETAILS | 21 +++++++++++++++
database/firebird3/FINAL | 24 +++++++++++++++++
database/firebird3/HISTORY | 3 ++
database/firebird3/INSTALL | 50
++++++++++++++++++++++++++++++++++++
database/firebird3/PREPARE | 17 ++++++++++++
database/firebird3/PRE_BUILD | 7 +++++
database/firebird3/PROVIDES | 2 +
database/firebird3/cmake.diff.gz |binary
database/firebird3/excluded | 1
database/firebird3/init.d/firebird3 | 41 +++++++++++++++++++++++++++++
15 files changed, 190 insertions(+)

New commits:
commit e62a1bb2f0303a00ae490f33da71d866a1a80ffd
Author: Treeve Jelbert <treeve AT sourcemage.org>
Commit: Treeve Jelbert <treeve AT sourcemage.org>

firebird3-3.0-RC1

diff --git a/ChangeLog b/ChangeLog
index 8e3e724..e88150a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2015-11-11 Treeve Jelbert <treeve AT sourcemage.org>
+ * database/firebird3: version 3 of firebird db
+
2015-11-08 Treeve Jelbert <treeve AT sourcemage.org>
* qt5-qmake/dooble: Qt5 based web browser

diff --git a/database/firebird3/BUILD b/database/firebird3/BUILD
new file mode 100755
index 0000000..853667b
--- /dev/null
+++ b/database/firebird3/BUILD
@@ -0,0 +1,9 @@
+persistent_add FB_PREFIX &&
+FB_PREFIX=${INSTALL_ROOT}/opt/firebird &&
+cd $SOURCE_DIRECTORY/build &&
+cmake -DCMAKE_INSTALL_PREFIX=$FB_PREFIX \
+ -DCMAKE_INSTALL_LOCALSTATEDIR=$INSTALL_ROOT/var \
+ -DCMAKE_BUILD_TYPE=$CM_BUILD_TYPE \
+ $OPTS $SOURCE_DIRECTORY &&
+make &&
+make copy_files
diff --git a/database/firebird3/CONFIGURE b/database/firebird3/CONFIGURE
new file mode 100755
index 0000000..0f30565
--- /dev/null
+++ b/database/firebird3/CONFIGURE
@@ -0,0 +1,6 @@
+source $GRIMOIRE/CMAKE_CONFIGURE
+#source $GRIMOIRE/FUNCTIONS &&
+# config_query_multi FB_GPRE "which additional GPRE languages to support?"
\
+# none ada cobol pascal fortran &&
+# config_query_option FB_STAT "build static libraries?" n "--enable-static"
"--disable-static"
+
diff --git a/database/firebird3/CONFLICTS b/database/firebird3/CONFLICTS
new file mode 100755
index 0000000..531c5fe
--- /dev/null
+++ b/database/firebird3/CONFLICTS
@@ -0,0 +1,2 @@
+conflicts firebird &&
+conflicts firebird25
diff --git a/database/firebird3/DEPENDS b/database/firebird3/DEPENDS
new file mode 100755
index 0000000..c8066dc
--- /dev/null
+++ b/database/firebird3/DEPENDS
@@ -0,0 +1,4 @@
+depends cmake &&
+depends icu &&
+#depends readline &&
+depends zlib
diff --git a/database/firebird3/DETAILS b/database/firebird3/DETAILS
new file mode 100755
index 0000000..489f854
--- /dev/null
+++ b/database/firebird3/DETAILS
@@ -0,0 +1,21 @@
+ SPELL=firebird3
+ SPELLX=Firebird
+ VERSION=3.0-RC1
+ VX=3.0.0.32136-ReleaseCandidate1
+
SOURCE_HASH=sha512:1470fa9566c8db29d14ee737e3536f3ce843849b8ca8ce5a762cdb466848649c8ac6a8dfe33da7e98d3de38f422235213a7b9ea2e43991a1fb6d5523f02d006a
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/${SPELLX}-${VX}
+ SOURCE=${SPELLX}-$VX.tar.bz2
+# SOURCE_URL[0]=http://firebirdsql.org/download/prerelease/source/$SOURCE
+ SOURCE_URL[1]=$SOURCEFORGE_URL/firebird/$SOURCE
+ WEB_SITE=http://www.firebirdsql.org
+ LICENSE=IDPL
+ ENTERED=20151111
+ GATHER_DOCS=off
+ KEYWORDS="database engine"
+ SHORT="a very powerful relational dbms"
+cat << EOF
+Firebird is a relational database offering many ANSI SQL-92 features
+that runs on Linux, Windows, and a variety of Unix platforms.
+Firebird offers excellent concurrency, high performance, and powerful
+language support for stored procedures and triggers.
+EOF
diff --git a/database/firebird3/FINAL b/database/firebird3/FINAL
new file mode 100755
index 0000000..f215744
--- /dev/null
+++ b/database/firebird3/FINAL
@@ -0,0 +1,24 @@
+# we do this here, so that things are not tracked, as these files are
+# constantly modified in normal use
+local LOG &&
+
+cd $FB_PREFIX &&
+# log file
+ mkdir -p $INSTALL_ROOT/var/log/ &&
+ LOG=$INSTALL_ROOT/var/log/firebird.log &&
+ touch $LOG &&
+ chown firebird:firebird $LOG &&
+ chmod o=,ug=rw $LOG &&
+mkdir -p $INSTALL_ROOT/var/run/firebird
+message "\n${PROBLEM_COLOR}Creating a SYSDBA user:" \
+ "$MESSAGE_COLOR" \
+ "\nThe Firebird3 install process does not create a SYSDBA user." \
+ "\n" \
+ "\nThis must be done before starting the firebird server:" \
+ "\nSee the section 'Initializing the Security Database (Chapter 12)'
in " \
+ "Firebird-3.*-ReleaseNotes.pdf" \
+ "\n" \
+ "\nThe default security database is /etc/firebird/security3.fdb" \
+ "\n" \
+ "$DEFAULT_COLOR"
+
diff --git a/database/firebird3/HISTORY b/database/firebird3/HISTORY
new file mode 100644
index 0000000..00d1e12
--- /dev/null
+++ b/database/firebird3/HISTORY
@@ -0,0 +1,3 @@
+2015-11-11 Treeve Jelbert <treeve AT sourcemage.org>
+ new spell - version 3.0 of Firebird
+
diff --git a/database/firebird3/INSTALL b/database/firebird3/INSTALL
new file mode 100755
index 0000000..41c4bae
--- /dev/null
+++ b/database/firebird3/INSTALL
@@ -0,0 +1,50 @@
+cd $BLD/firebird &&
+# config files
+DEST=$INSTALL_ROOT/etc/firebird &&
+mkdir -p $DEST &&
+chown firebird:firebird $DEST &&
+
+# treate the security db as a config file
+install_config_file security3.fdb $DEST/security3.fdb &&
+chown firebird:firebird $DEST/security3.fdb &&
+
+install_config_file firebird.conf $DEST/firebird.conf &&
+install_config_file databases.conf $DEST/databases.conf &&
+#install_config_file fbintl.conf $DEST/fbintl.conf &&
+install_config_file plugins.conf $DEST/plugins.conf &&
+install_config_file fbtrace.conf $DEST/fbtrace.conf &&
+
+# don't overwrite existing config files
+rm *.conf security3.fdb &&
+
+#cp src/msg.fdb src/help.fdb $FB_PREFIX &&
+DEST=$FB_PREFIX &&
+mkdir -p $DEST &&
+cp -a * $DEST &&
+
+# need some symlinks
+
+TGT=$TRACK_ROOT/opt/firebird &&
+#ln -vsf $TGT/plugins $DEST &&
+#ln -vsf $TGT/intl $DEST &&
+
+FROM=$INSTALL_ROOT/usr/include &&
+mkdir -p $FROM &&
+
+ln -vsf $TGT/include/ibase.h $FROM &&
+ln -vsf $TGT/include/iberror.h $FROM &&
+ln -vsf $TGT/include/ib_util.h $FROM &&
+FROM=$INSTALL_ROOT/usr/lib &&
+mkdir -p $FROM &&
+ln -vsf $TGT/lib/libfbclient.so $FROM &&
+ln -vsf $TGT/lib/libib_util.so $FROM
+# link to config files
+FROM=$INSTALL_ROOT/opt/firebird &&
+TGT=$TRACK_ROOT/etc/firebird &&
+ln -vsf $TGT/security3.fdb $FROM &&
+ln -vsf $TGT/firebird.conf $FROM &&
+ln -vsf $TGT/databases.conf $FROM &&
+ln -vsf $TGT/plugins.conf $FROM &&
+# need a symlink for firebird.log
+TGT=$TRACK_ROOT/var/log/firebird.log &&
+ln -vsf $TGT $DEST
diff --git a/database/firebird3/PREPARE b/database/firebird3/PREPARE
new file mode 100755
index 0000000..823f163
--- /dev/null
+++ b/database/firebird3/PREPARE
@@ -0,0 +1,17 @@
+# warn about need for backup/restore of existing databases
+if ( spell_ok firebird25 ) || (spell_ok firebird );then
+ message "${PROBLEM_COLOR}Firebird3 cannot read old databases!" \
+ "$MESSAGE_COLOR" \
+ "\nbefore installing this program, use gbak from your existing firebird
installation " \
+ "to make backup copies of your existing databases." \
+ "\nAfter installing Firebird3, use the new gbak to restore the
databases" \
+ " in the new format." \
+ ${DEFAULT_COLOR}
+fi
+
+# check for running server
+ (ps -u firebird ) &&
+ message ${PROBLEM_COLOR}please stop the firebird server and try again\
+ ${DEFAULT_COLOR} &&
+ return 1
+return 0
diff --git a/database/firebird3/PRE_BUILD b/database/firebird3/PRE_BUILD
new file mode 100755
index 0000000..f2eb322
--- /dev/null
+++ b/database/firebird3/PRE_BUILD
@@ -0,0 +1,7 @@
+create_account firebird &&
+default_pre_build &&
+cd $SOURCE_DIRECTORY &&
+mkdir build &&
+BLD=$SOURCE_DIRECTORY/build &&
+# add missing cmake files
+tar xzf $SPELL_DIRECTORY/cmake.diff.gz
diff --git a/database/firebird3/PROVIDES b/database/firebird3/PROVIDES
new file mode 100755
index 0000000..64d8727
--- /dev/null
+++ b/database/firebird3/PROVIDES
@@ -0,0 +1,2 @@
+SQL
+FIREBIRD
diff --git a/database/firebird3/cmake.diff.gz
b/database/firebird3/cmake.diff.gz
new file mode 100644
index 0000000..ae6cefd
Binary files /dev/null and b/database/firebird3/cmake.diff.gz differ
diff --git a/database/firebird3/excluded b/database/firebird3/excluded
new file mode 100644
index 0000000..0a0160b
--- /dev/null
+++ b/database/firebird3/excluded
@@ -0,0 +1 @@
+^/opt/firebird/firebird.log
diff --git a/database/firebird3/init.d/firebird3
b/database/firebird3/init.d/firebird3
new file mode 100755
index 0000000..ad61e77
--- /dev/null
+++ b/database/firebird3/init.d/firebird3
@@ -0,0 +1,41 @@
+#!/bin/bash
+
+# description: Start/Stop firebird2 database server
+#
+# This file belongs in /etc/init.d where it will be run
+# on system startup and shutdown to start the background
+# Firebird2 database Super server daemon
+
+FB_DIR=/opt/firebird/bin
+FB=firebird
+# preferred method of stopping is to kill the process
+
+source /etc/init.d/smgl_functions
+
+PROGRAM=/bin/false
+RUNLEVEL=3
+NEEDS="+network +remote_fs"
+
+case $1 in
+ start)
+ echo "Starting Firebird Server"
+ su -s "/bin/sh" -c "$FB_DIR/$FB" -l "firebird" &
+ evaluate_retval
+ ;;
+ stop)
+ echo "Stopping Firebird server"
+ pkill -9 $FB
+ evaluate_retval
+ ;;
+
+ restart)
+ echo "Restarting Firebird server"
+ $0 stop
+ $0 start
+ evaluate_retval
+ ;;
+ *)
+ echo "Usage: $0 {start|stop|restart}"
+ exit 1
+ ;;
+esac



  • [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (e62a1bb2f0303a00ae490f33da71d866a1a80ffd), Treeve Jelbert, 11/11/2015

Archive powered by MHonArc 2.6.24.

Top of Page