aboutsummaryrefslogtreecommitdiffstats
path: root/databases/firebird-server
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-11-13 10:05:20 +0800
committerijliao <ijliao@FreeBSD.org>2002-11-13 10:05:20 +0800
commit86a73250a5ce31495e4a3254bf52f2fdb944b66b (patch)
tree6daf3a49b3ea24a731ec69c789bc5ddcb7ddc650 /databases/firebird-server
parent1e5180b1a8e073a8e814e3a593d3aa55911971ae (diff)
downloadfreebsd-ports-gnome-86a73250a5ce31495e4a3254bf52f2fdb944b66b.tar.gz
freebsd-ports-gnome-86a73250a5ce31495e4a3254bf52f2fdb944b66b.tar.zst
freebsd-ports-gnome-86a73250a5ce31495e4a3254bf52f2fdb944b66b.zip
1. fix memory allocator
2. remove extra files I forgot last commit PR: 45253 Submitted by: maintainer
Diffstat (limited to 'databases/firebird-server')
-rw-r--r--databases/firebird-server/Makefile2
-rw-r--r--databases/firebird-server/files/patch-ae16
-rw-r--r--databases/firebird-server/scripts/post-install84
3 files changed, 13 insertions, 89 deletions
diff --git a/databases/firebird-server/Makefile b/databases/firebird-server/Makefile
index bc151970f413..c33948a765b8 100644
--- a/databases/firebird-server/Makefile
+++ b/databases/firebird-server/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-server/files/patch-ae b/databases/firebird-server/files/patch-ae
index 12f66c37082b..2b26792352f1 100644
--- a/databases/firebird-server/files/patch-ae
+++ b/databases/firebird-server/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-server/scripts/post-install b/databases/firebird-server/scripts/post-install
deleted file mode 100644
index 68b4ccadb907..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