View | Details | Raw Unified | Return to bug 62716
Collapse All | Expand All

(-)Makefile (-4 / +4 lines)
Lines 6-22 Link Here
6
#
6
#
7
7
8
PORTNAME=	firebird
8
PORTNAME=	firebird
9
PORTVERSION=	1.5.r8
9
PORTVERSION=	1.5.r9
10
PORTREVISION=	1
11
CATEGORIES=	databases
10
CATEGORIES=	databases
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}	\
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}	\
13
		http://www.aims.net.au/chris/firebird/
12
		http://www.aims.net.au/chris/firebird/
14
MASTER_SITE_SUBDIR=firebird
13
MASTER_SITE_SUBDIR=firebird
15
DISTNAME=	firebird15-rc8
14
DISTNAME=	Firebird-1.5.0.4288.src
16
15
17
MAINTAINER=	chris@e-easy.com.au
16
MAINTAINER=	chris@e-easy.com.au
18
COMMENT=	The open-source InterBase(tm) 6.0 spin-off (Classic version)
17
COMMENT=	The open-source InterBase(tm) 6.0 spin-off (Classic version)
19
18
19
USE_BISON=	yes
20
USE_BZIP2=	yes
20
USE_BZIP2=	yes
21
USE_GMAKE=	yes
21
USE_GMAKE=	yes
22
USE_LIBTOOL=	yes
22
USE_LIBTOOL=	yes
Lines 29-35 Link Here
29
29
30
CONFLICTS=	firebird-devel-*
30
CONFLICTS=	firebird-devel-*
31
31
32
WRKSRC=		${WRKDIR}/firebird15
32
WRKSRC=		${WRKDIR}/firebird15-rc9
33
INSTALLS_SHLIB=	yes
33
INSTALLS_SHLIB=	yes
34
LDCONFIG_DIRS=	%%PREFIX%%/firebird/lib
34
LDCONFIG_DIRS=	%%PREFIX%%/firebird/lib
35
MSG_FILE=	${PKGDIR}/pkg-message
35
MSG_FILE=	${PKGDIR}/pkg-message
(-)distinfo (-1 / +2 lines)
Line 1 Link Here
1
MD5 (firebird15-rc8.tar.bz2) = cb775b56c0b3067994ec78f15a9e757d
1
MD5 (Firebird-1.5.0.4288.src.tar.bz2) = 76c5f04c853452e28e8b1d301c94845f
2
SIZE (Firebird-1.5.0.4288.src.tar.bz2) = 4293102
(-)files/RELNOTES (-4 / +4 lines)
Lines 1-6 Link Here
1
Firebird 1.5.0 FreeBSD Release Notes                    11-Jan-2004
1
Firebird 1.5.0 FreeBSD Release Notes                    12-Feb-2004
2
--------------------------------------
2
--------------------------------------
3
FB-V1.5.0.4201 Firebird 1.5 Release Candidate 8
3
FB-V1.5.0.4288 Firebird 1.5 Release Candidate 9
4
4
5
    Welcome to the FreeBSD Firebird port!
5
    Welcome to the FreeBSD Firebird port!
6
6
Lines 58-69 Link Here
58
where is is the current value plus 48. If this doesn't resolve the issue,
58
where is is the current value plus 48. If this doesn't resolve the issue,
59
try adding 48 again. 
59
try adding 48 again. 
60
60
61
    Please note that RC8 has changed the libgds.so symlink to point to
61
    Please note that as of RC8, the libgds.so symlink now points to
62
libfbembed.so. This has been done to resolve compatability issues with
62
libfbembed.so. This has been done to resolve compatability issues with
63
older versions of Firebird. The FreeBSD port of RC7 had libgds.so
63
older versions of Firebird. The FreeBSD port of RC7 had libgds.so
64
pointing to libfbclient.so. libfbclient.so is a remote access-only
64
pointing to libfbclient.so. libfbclient.so is a remote access-only
65
shared library with threaded support, which requires target applications
65
shared library with threaded support, which requires target applications
66
to link with a threaded library such as libc_r.so, libkse.so or libthr.so.
66
to link with a threaded library such as libc_r.so, libpthread.so or libthr.so.
67
67
68
    Super Server support in Firebird 1.5 for FreeBSD is not currently
68
    Super Server support in Firebird 1.5 for FreeBSD is not currently
69
available due to the Firebird code using POSIX threads APIs not available
69
available due to the Firebird code using POSIX threads APIs not available
(-)files/patch-src::install::arch-specific::freebsd::install.sh.in (-92 lines)
Removed Link Here
1
--- src/install/arch-specific/freebsd/install.sh.in.orig	Thu Nov  6 23:23:29 2003
2
+++ src/install/arch-specific/freebsd/install.sh.in	Tue Jan 13 17:36:16 2004
3
@@ -59,7 +59,7 @@
4
 	if [ -d $InstallPrefix/firebird.old ]; then
5
 		rm -rf $InstallPrefix/firebird.old
6
 	fi
7
-	mv $InstallFirebirdPrefix $InstallPrefix/firebird.old
8
+	cp -Rp $InstallFirebirdPrefix $InstallPrefix/firebird.old
9
 fi
10
 
11
 if [ `id -u` -ne 0 ]; then
12
@@ -162,7 +162,7 @@
13
 #cp -r $BuiltFBDir/doc $DestDir 
14
 
15
 cp $BuiltFBDir/firebird.msg $DestDir/firebird.msg 
16
-cp $BuiltFBDir/security.fdb $DestDir/security.fdb 
17
+cp $BuiltFBDir/security.fdb $DestDir/security.fdb.sample
18
 
19
 
20
 #cp $BuiltFBDir/include/gds.f $DestDir/include 
21
@@ -190,19 +190,19 @@
22
 cp $BuildRootDir/doc/WhatsNew $DestDir/WhatsNew
23
 cp $BuildRootDir/doc/README.user $DestDir/README
24
 
25
-cp $BuiltFBDir/misc/firebird.conf $DestDir/firebird.conf
26
+cp $BuiltFBDir/misc/firebird.conf $DestDir/firebird.conf.sample
27
 
28
-echo "#" >> $DestDir/aliases.conf
29
-echo "# List of known database aliases" >> $DestDir/aliases.conf
30
-echo "# ------------------------------" >> $DestDir/aliases.conf
31
-echo "#" >> $DestDir/aliases.conf
32
-echo "# Examples:" >> $DestDir/aliases.conf
33
-echo "#" >> $DestDir/aliases.conf
34
-echo "# employee = /$FBRootDir/examples/employee.fdb" >> $DestDir/aliases.conf
35
-echo "#" >> $DestDir/aliases.conf
36
+echo "#" >> $DestDir/aliases.conf.sample
37
+echo "# List of known database aliases" >> $DestDir/aliases.conf.sample
38
+echo "# ------------------------------" >> $DestDir/aliases.conf.sample
39
+echo "#" >> $DestDir/aliases.conf.sample
40
+echo "# Examples:" >> $DestDir/aliases.conf.sample
41
+echo "#" >> $DestDir/aliases.conf.sample
42
+echo "# employee = $DestDir/examples/employee.fdb" >> $DestDir/aliases.conf.sample
43
+echo "#" >> $DestDir/aliases.conf.sample
44
     
45
 
46
-chown -R firebird:firebird $InstallFirebirdPrefix
47
+chown -R $fbUID:$fbGID $InstallFirebirdPrefix
48
 chmod -R o= $InstallFirebirdPrefix
49
 
50
 # Now fix up the mess.
51
@@ -235,8 +235,8 @@
52
 chmod -R a=rx $InstallFirebirdPrefix/lib/*
53
 
54
 cd $InstallFirebirdPrefix/lib
55
-ln -sf libfbclient.so libgds.so
56
-ln -sf libfbclient.so.1 libgds.so.1
57
+ln -sf libfbembed.so libgds.so
58
+ln -sf libfbembed.so.1 libgds.so.1
59
 
60
 cd $InstallFirebirdPrefix/bin
61
 for i in `ls`
62
@@ -265,19 +265,25 @@
63
 	FileName=$i.`hostname`
64
 	touch $FileName
65
 	chmod ug=rw,o= $FileName
66
-	chown firebird:firebird $FileName
67
+	chown $fbUID:$fbGID $FileName
68
 done
69
 
70
-touch firebird.log aliases.conf firebird.conf
71
-chown firebird:firebird firebird.log
72
+touch firebird.log
73
+chown $fbUID:$fbGID firebird.log
74
 chmod ug=rw,o= firebird.log
75
-chmod a=r firebird.msg aliases.conf firebird.conf README
76
+chmod a=r firebird.msg README
77
+chown root:wheel *.sample
78
+chmod ug=r,o= *.sample
79
 
80
 # make databases writable by firebird only
81
 # local database connections are not a good idea
82
 chmod ug=rw,o= examples/*.fdb
83
 chmod ug=rw,o= help/*.fdb
84
-chmod ug=rw,o= security.fdb
85
+
86
+# install the samples if they don't exist
87
+[ -f aliases.conf ] || install -o $fbUID -g $fbGID -m 444 aliases.conf.sample aliases.conf
88
+[ -f firebird.conf ] || install -o $fbUID -g $fbGID -m 444 firebird.conf.sample firebird.conf
89
+[ -f security.fdb ] || install -o $fbUID -g $fbGID -m 660 security.fdb.sample security.fdb
90
 
91
 # remove any existing gds service
92
 cp /etc/services /etc/services.old

Return to bug 62716