aboutsummaryrefslogtreecommitdiff
path: root/databases/firebird-devel/files
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2005-04-11 19:25:44 +0000
committerThierry Thomas <thierry@FreeBSD.org>2005-04-11 19:25:44 +0000
commit494ceff9706c8662d7b04f06e383de09b3004195 (patch)
treed2b95734ea806ca421d523eeda50a253812d78a5 /databases/firebird-devel/files
parent5d8242cb07e7a065c5f90cd3808647b761ca0528 (diff)
downloadports-494ceff9706c8662d7b04f06e383de09b3004195.tar.gz
ports-494ceff9706c8662d7b04f06e383de09b3004195.zip
Notes
Diffstat (limited to 'databases/firebird-devel/files')
-rw-r--r--databases/firebird-devel/files/patch-autogen.sh43
-rw-r--r--databases/firebird-devel/files/patch-src::common::classes::locks.h49
-rw-r--r--databases/firebird-devel/files/pkg-message.in24
3 files changed, 24 insertions, 92 deletions
diff --git a/databases/firebird-devel/files/patch-autogen.sh b/databases/firebird-devel/files/patch-autogen.sh
deleted file mode 100644
index 4fc68f20e112..000000000000
--- a/databases/firebird-devel/files/patch-autogen.sh
+++ /dev/null
@@ -1,43 +0,0 @@
---- autogen.sh.orig Sat Nov 1 14:50:38 2003
-+++ autogen.sh Mon Nov 10 16:24:17 2003
-@@ -8,7 +8,7 @@
- SRCDIR=`dirname $0`
- DIE=0
-
--VER=`autoconf --version|grep '^[Aa]utoconf'|sed 's/^[^0-9]*//'`
-+VER=`autoconf259 --version|grep '^[Aa]utoconf'|sed 's/^[^0-9]*//'`
- case "$VER" in
- 0* | 1\.* | 2\.[0-9] | 2\.[0-9][a-z]* | \
- 2\.[1-4][0-9] | 2\.5[0-6][a-z]* )
-@@ -20,7 +20,7 @@
- ;;
- esac
-
--VER=`libtool --version|grep ' libtool)'|sed 's/.*) \([0-9][0-9.]*\) .*/\1/'`
-+VER=`libtool13 --version|grep ' libtool)'|sed 's/.*) \([0-9][0-9.]*\) .*/\1/'`
- case "$VER" in
- 0* | 1\.[0-2] | 1\.[0-2][a-z]* | \
- 1\.3\.[0-2] | 1\.3\.[0-2][a-z]* )
-@@ -50,18 +50,18 @@
-
- # Generate configure from configure.in
- echo "Running libtoolize ..."
--LIBTOOL_M4=`libtoolize --copy --force --dry-run|grep 'You should add the contents of'|sed "s,^[^/]*\(/[^']*\).*$,\1,"`
-+LIBTOOL_M4=`libtoolize13 --copy --force --dry-run|grep 'You should add the contents of'|sed "s,^[^/]*\(/[^']*\).*$,\1,"`
- if test "x$LIBTOOL_M4" != "x"; then
- rm -f aclocal.m4
- cp $LIBTOOL_M4 aclocal.m4
- fi
--libtoolize --copy --force || exit 1
-+libtoolize13 --copy --force || exit 1
-
- echo "Running autoheader ..."
--autoheader || exit 1
-+autoheader259 || exit 1
-
- echo "Running autoconf ..."
--autoconf || exit 1
-+autoconf259 || exit 1
-
- # If NOCONFIGURE is set, skip the call to configure
- if test "x$NOCONFIGURE" = "x"; then
diff --git a/databases/firebird-devel/files/patch-src::common::classes::locks.h b/databases/firebird-devel/files/patch-src::common::classes::locks.h
deleted file mode 100644
index e2948dd4bbd2..000000000000
--- a/databases/firebird-devel/files/patch-src::common::classes::locks.h
+++ /dev/null
@@ -1,49 +0,0 @@
---- src/common/classes/locks.h.orig Sun Aug 17 14:56:47 2003
-+++ src/common/classes/locks.h Wed Nov 12 11:12:25 2003
-@@ -77,7 +77,7 @@
-
- /* Process-local spinlock. Used to manage memory heaps in threaded environment. */
- // Pthreads version of the class
--#ifndef SOLARIS
-+#if !defined(SOLARIS) && !defined(DARWIN) && !defined(FREEBSD)
- class Spinlock {
- private:
- pthread_spinlock_t spinlock;
-@@ -100,6 +100,7 @@
- }
- };
- #else
-+#ifdef SOLARIS
- // Who knows why Solaris 2.6 have not THIS funny spins?
- //The next code is not comlpeted but let me compile //Konstantin
- class Spinlock {
-@@ -123,6 +124,29 @@
- system_call_failed::raise();
- }
- };
-+#else // DARWIN and FREEBSD
-+class Spinlock {
-+private:
-+ pthread_mutex_t mlock;
-+public:
-+ Spinlock() {
-+ if (pthread_mutex_init(&mlock, 0))
-+ system_call_failed::raise();
-+ }
-+ ~Spinlock() {
-+ if (pthread_mutex_destroy(&mlock))
-+ system_call_failed::raise();
-+ }
-+ void enter() {
-+ if (pthread_mutex_lock(&mlock))
-+ system_call_failed::raise();
-+ }
-+ void leave() {
-+ if (pthread_mutex_unlock(&mlock))
-+ system_call_failed::raise();
-+ }
-+};
-+#endif
-
- #endif
- #endif
diff --git a/databases/firebird-devel/files/pkg-message.in b/databases/firebird-devel/files/pkg-message.in
new file mode 100644
index 000000000000..bffa948d78fd
--- /dev/null
+++ b/databases/firebird-devel/files/pkg-message.in
@@ -0,0 +1,24 @@
+
+---------------------------------------------------------
+Firebird is now installed. A symbolic link from
+/usr/interbase -> %%PREFIX%%/firebird may be needed
+for compatibility with existing programs that use
+Firebird.
+
+The symbolic link can be created with:
+
+% ln -s %%PREFIX%% /usr/interbase
+
+It is STRONGLY recommended that you change the SYSDBA
+password with:
+
+% cd %%PREFIX%%
+% gsec -user SYSDBA -pass masterkey
+GSEC> modify SYSDBA -pw newpassword
+GSEC> quit
+
+before doing anything serious with Firebird.
+
+See %%PREFIX%%/firebird/RELNOTES for more.
+---------------------------------------------------------
+