summaryrefslogtreecommitdiff
path: root/databases/firebird-client
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-11-13 02:05:20 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-11-13 02:05:20 +0000
commit33442f5f394d9d8afb162621b8e361ac56ad6442 (patch)
tree6377c48cf3c97ebcad622be1459fcb6f2f1cb5be /databases/firebird-client
parentupgrade to 2.3 (diff)
1. fix memory allocator
2. remove extra files I forgot last commit PR: 45253 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=69999
Diffstat (limited to 'databases/firebird-client')
-rw-r--r--databases/firebird-client/Makefile2
-rw-r--r--databases/firebird-client/files/patch-ae16
-rw-r--r--databases/firebird-client/scripts/post-install84
3 files changed, 13 insertions, 89 deletions
diff --git a/databases/firebird-client/Makefile b/databases/firebird-client/Makefile
index bc151970f413..c33948a765b8 100644
--- a/databases/firebird-client/Makefile
+++ b/databases/firebird-client/Makefile
@@ -7,7 +7,7 @@
PORTNAME= firebird
PORTVERSION= 1.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= databases
MASTER_SITES= http://firebird.sourceforge.net/download/ \
http://www.aims.com.au/chris/ \
diff --git a/databases/firebird-client/files/patch-ae b/databases/firebird-client/files/patch-ae
index 12f66c37082b..2b26792352f1 100644
--- a/databases/firebird-client/files/patch-ae
+++ b/databases/firebird-client/files/patch-ae
@@ -1,10 +1,18 @@
---- jrd/common.h.orig Sat Nov 17 20:07:00 2001
-+++ jrd/common.h Sun Nov 18 18:54:26 2001
-@@ -137,6 +137,7 @@
+--- jrd/common.h.orig Thu Dec 6 05:06:37 2001
++++ jrd/common.h Wed Nov 13 11:47:17 2002
+@@ -148,6 +148,7 @@
/* FreeBSD for Intel platforms */
#ifdef FREEBSD
-
+
+#define UNIX_64_BIT_IO
#define FB_ALIGN(n,b) ((n + b - 1) & ~(b - 1))
#define ALIGNMENT 4
#define DOUBLE_ALIGN 4
+@@ -164,6 +165,7 @@
+ #define QUADCONST(n) (n##LL)
+ #define KILLER_SIGNALS
+ #define MMAP_SUPPORTED
++#define MAP_ANONYMOUS
+ #define SIGACTION_SUPPORTED
+ #define NO_NFS /* no MTAB_OPEN or MTAB_CLOSE in isc_file.c */
+
diff --git a/databases/firebird-client/scripts/post-install b/databases/firebird-client/scripts/post-install
deleted file mode 100644
index 68b4ccadb907..000000000000
--- a/databases/firebird-client/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