summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMeir Kriheili <mksoft@gentoo.org>2004-02-26 14:45:41 +0000
committerMeir Kriheili <mksoft@gentoo.org>2004-02-26 14:45:41 +0000
commit0f58a38dad575c98c8290d7e8c40f06b005874dc (patch)
tree8c93418dcf5a261469e2953fefe4988ee33017dc /dev-db/firebird
parentOoops, forgot a depend for KOffice ;) (diff)
downloadhistorical-0f58a38dad575c98c8290d7e8c40f06b005874dc.tar.gz
historical-0f58a38dad575c98c8290d7e8c40f06b005874dc.tar.bz2
historical-0f58a38dad575c98c8290d7e8c40f06b005874dc.zip
new upstream version (1.5.0), fixed copyright headers for oler ebuilds
Diffstat (limited to 'dev-db/firebird')
-rw-r--r--dev-db/firebird/ChangeLog12
-rw-r--r--dev-db/firebird/Manifest10
-rw-r--r--dev-db/firebird/files/70firebird-1.5.02
-rw-r--r--dev-db/firebird/files/digest-firebird-1.5.01
-rw-r--r--dev-db/firebird/files/firebird-1.5.0.xinetd17
-rw-r--r--dev-db/firebird/firebird-1.0-r1.ebuild4
-rw-r--r--dev-db/firebird/firebird-1.0.3.ebuild4
-rw-r--r--dev-db/firebird/firebird-1.5.0.ebuild172
8 files changed, 213 insertions, 9 deletions
diff --git a/dev-db/firebird/ChangeLog b/dev-db/firebird/ChangeLog
index 01ac21bd8d2a..55b5ac47b58e 100644
--- a/dev-db/firebird/ChangeLog
+++ b/dev-db/firebird/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for dev-db/firebird
-# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/firebird/ChangeLog,v 1.11 2003/12/09 10:08:11 mksoft Exp $
+# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/firebird/ChangeLog,v 1.12 2004/02/26 14:45:41 mksoft Exp $
+
+*firebird-1.5.0 (26 Feb 2004)
+
+ 26 Feb 2004; <mksoft@gentoo.org> firebird-1.5.0.ebuild:
+ New upstream version
+
+ 26 Feb 2004; <mksoft@gentoo.org> firebird-1.0.3,firebird-1.0-r1:
+ Fixed Copyright years
*firebird-1.0.3 (15 Jun 2003)
08 Dec 2003; Meir Kriheli <mksoft@gentoo.org> firebird-1.0.3.ebuild:
diff --git a/dev-db/firebird/Manifest b/dev-db/firebird/Manifest
index abcaedaa4f02..a5cde52f8dac 100644
--- a/dev-db/firebird/Manifest
+++ b/dev-db/firebird/Manifest
@@ -1,10 +1,14 @@
-MD5 2b6f422a6d1afe8fd18443a66ff0aa87 firebird-1.0-r1.ebuild 1385
-MD5 4168e6b51b229b38871333c40ad09a07 ChangeLog 1660
+MD5 06d51bab5528b77c6aa49f8a72ce7d02 firebird-1.5.0.ebuild 5144
+MD5 2a414f60bbeb886ed74788d465c3e7e5 firebird-1.0-r1.ebuild 1384
+MD5 f98d7ee2d5a7c2847a570db736c2ca70 ChangeLog 1867
MD5 b6d46d544ce131eb681e0d7e68a465cc metadata.xml 623
-MD5 bc929054ba49833dda8df089ca66950a firebird-1.0.3.ebuild 2607
+MD5 448427a1721b322e21af6781e8d0ec1e firebird-1.0.3.ebuild 2607
MD5 d795330e017a7f1afb99a0bbf69eaeb3 files/firebird-1.0.3-gentoo.patch 1661
+MD5 d3278f869be37481ddde143f5ee98c4a files/70firebird-1.5.0 50
MD5 b0d6de21d0e14d41983d440d5675e9d5 files/firebird.xinetd 206
MD5 d76a09a887248deb2d4d466f06515730 files/firebird-1.0-gentoo.patch 2549
+MD5 5b28cc81eff2c59fbee652dc2c6ed483 files/firebird-1.5.0.xinetd 425
MD5 00a05e4f04f632436d491144b0bd8853 files/digest-firebird-1.0-r1 150
MD5 a71afe7683db444d9647fc136eaeb1c1 files/70firebird 77
MD5 10d808d19eb3949349b591c3d525b74a files/digest-firebird-1.0.3 150
+MD5 977b78810d680e76baafbefde76323cf files/digest-firebird-1.5.0 73
diff --git a/dev-db/firebird/files/70firebird-1.5.0 b/dev-db/firebird/files/70firebird-1.5.0
new file mode 100644
index 000000000000..eebf96b9f0b1
--- /dev/null
+++ b/dev-db/firebird/files/70firebird-1.5.0
@@ -0,0 +1,2 @@
+PATH=/opt/firebird/bin
+ROOTPATH=/opt/firebird/bin
diff --git a/dev-db/firebird/files/digest-firebird-1.5.0 b/dev-db/firebird/files/digest-firebird-1.5.0
new file mode 100644
index 000000000000..e2584a358901
--- /dev/null
+++ b/dev-db/firebird/files/digest-firebird-1.5.0
@@ -0,0 +1 @@
+MD5 c088ccf4d149ecc1fa03ee27e9043701 firebird-1.5.0.4290.tar.bz2 4364535
diff --git a/dev-db/firebird/files/firebird-1.5.0.xinetd b/dev-db/firebird/files/firebird-1.5.0.xinetd
new file mode 100644
index 000000000000..6c5584dd0906
--- /dev/null
+++ b/dev-db/firebird/files/firebird-1.5.0.xinetd
@@ -0,0 +1,17 @@
+# description: FirebirdSQL server
+#
+# Be careful when commenting out entries in this file.
+# Active entry should be first as some scripts
+# (CSchangeRunUser.sh in particular) use sed scripting
+# to modify it.
+service gds_db
+{
+ flags = REUSE
+ socket_type = stream
+ wait = no
+ user = firebird
+ log_on_success += USERID
+ log_on_failure += USERID
+ server = /opt/firebird/bin/fb_inet_server
+ disable = yes
+}
diff --git a/dev-db/firebird/firebird-1.0-r1.ebuild b/dev-db/firebird/firebird-1.0-r1.ebuild
index 9fc92c037545..ce75472447ea 100644
--- a/dev-db/firebird/firebird-1.0-r1.ebuild
+++ b/dev-db/firebird/firebird-1.0-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/firebird/firebird-1.0-r1.ebuild,v 1.8 2003/04/16 11:21:19 mholzer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/firebird/firebird-1.0-r1.ebuild,v 1.9 2004/02/26 14:45:41 mksoft Exp $
S=${WORKDIR}/${PN}-1.0.0.796
DESCRIPTION="A relational database offering many ANSI SQL-92 features"
diff --git a/dev-db/firebird/firebird-1.0.3.ebuild b/dev-db/firebird/firebird-1.0.3.ebuild
index be318049ff7d..41b2180eb9a9 100644
--- a/dev-db/firebird/firebird-1.0.3.ebuild
+++ b/dev-db/firebird/firebird-1.0.3.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/firebird/firebird-1.0.3.ebuild,v 1.6 2003/12/09 10:08:11 mksoft Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/firebird/firebird-1.0.3.ebuild,v 1.7 2004/02/26 14:45:41 mksoft Exp $
S=${WORKDIR}/interbase
DESCRIPTION="A relational database offering many ANSI SQL-92 features"
diff --git a/dev-db/firebird/firebird-1.5.0.ebuild b/dev-db/firebird/firebird-1.5.0.ebuild
new file mode 100644
index 000000000000..fdf7e445fd08
--- /dev/null
+++ b/dev-db/firebird/firebird-1.5.0.ebuild
@@ -0,0 +1,172 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/firebird/firebird-1.5.0.ebuild,v 1.1 2004/02/26 14:45:41 mksoft Exp $
+
+DESCRIPTION="A relational database offering many ANSI SQL-92 features"
+extra_ver="4290"
+SRC_URI="mirror://sourceforge/${PN}/${P}.${extra_ver}.tar.bz2"
+S=${WORKDIR}/${P}.${extra_ver}
+HOMEPAGE="http://firebird.sourceforge.net/"
+SLOT="0"
+LICENSE="MPL-1.1"
+KEYWORDS="~x86"
+DEPEND="virtual/glibc
+ virtual/inetd"
+RESTRICT="nouserpriv"
+inherit flag-o-matic
+
+# fix bug #33584
+strip-flags "-funroll-loops"
+
+src_compile() {
+ ./autogen.sh --prefix=/opt/firebird --with-editline || die "couldn't run autogen.sh"
+ make || die "error during make"
+}
+
+pkg_setup() {
+ enewgroup firebird 450
+ enewuser firebird 450 /bin/bash /opt/firebird firebird
+}
+
+src_install() {
+ cd ${S}/gen
+ make -f Makefile.install tarfile || or die "Can't create buildroot tar file"
+ cd ${D}
+ tar zxpf ${S}/gen/Firebird?S-*/buildroot.tar.gz
+
+ dodoc ${D}/opt/firebird/{README,WhatsNew,doc/*}
+ docinto examples
+ dodoc ${D}/opt/firebird/examples/*
+ docinto sql.extensions
+ dodoc ${D}/opt/firebird/doc/sql.extensions/*
+
+ rm -r ${D}/opt/firebird/{README,WhatsNew,doc,misc}
+ rm -r ${D}/opt/firebird/examples
+
+ insinto /etc/xinetd.d ; newins ${FILESDIR}/${P}.xinetd firebird
+ insinto /etc/env.d ; newins ${FILESDIR}/70${P} 70firebird
+
+ # Following is adapted from postinstall.sh
+
+ # make sure everything is owned by firebird
+ chown -R firebird.firebird ${D}/opt/firebird
+
+ # make sure permissions are set
+ chmod -R o= ${D}/opt/firebird
+
+ # fix directories
+ find ${D}/opt/firebird -print -type d | xargs chmod o=rx
+
+ # set permissions for /bin
+ cd ${D}/opt/firebird/bin
+ chmod ug=rx,o= *
+ chmod a=rx isql
+ chmod a=rx qli
+
+ chmod ug=rxs,o= ${D}/opt/firebird/bin/{fb_lock_mgr,gds_drop,fb_inet_server}
+ chmod u=rw,go=r ${D}/opt/firebird/{aliases.conf,firebird.conf}
+ chmod ug=rw,o= ${D}/opt/firebird/{security.fdb,help/help.fdb}
+
+ for i in include lib UDF intl; do chmod a=r ${D}/opt/firebird/${i}/*; done
+ chmod ug=rx,o= ${D}/opt/firebird/{intl/fbintl,UDF/fbudf.so,UDF/ib_udf.so}
+
+ # create links for back compatibility
+ dosym /opt/firebird/lib/libfbclient.so /usr/lib/libgds.so
+ dosym /opt/firebird/lib/libfbclient.so /usr/lib/libgds.so.0
+
+ # move and link config files to /etc/firebird so they'll be protected
+ dodir /etc/firebird
+ mv ${D}/opt/firebird/{security.fdb,aliases.conf,firebird.conf} ${D}/etc/firebird
+ dosym /etc/firebird/security.fdb /opt/firebird/security.fdb
+ dosym /etc/firebird/aliases.conf /opt/firebird/aliases.conf
+ dosym /etc/firebird/firebird.conf /opt/firebird/firebird.conf
+}
+
+pkg_postinst() {
+ einfo
+ einfo "1. If haven't done so already, please run:"
+ einfo
+ einfo " \"ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config\""
+ einfo
+ einfo " to create lockfiles, set permissions and more"
+ einfo
+ einfo "2. Firebird now runs with it's own user. Please remember to"
+ einfo " set permissions to firebird.firebird on databases you "
+ einfo " already have (if any)."
+ einfo
+}
+
+pkg_config() {
+ cd /opt/firebird
+
+ # Create Lock files
+ for i in isc_init1 isc_lock1 isc_event1
+ do
+ FileName=$i.`hostname`
+ touch $FileName
+ chown firebird.firebird $FileName
+ chmod ug=rw,o= $FileName
+ done
+
+ # Create log
+ touch firebird.log
+ chown firebird.firebird firebird.log
+ chmod ug=rw,o= firebird.log
+
+ # add gds_db to /etc/services
+ if [ -z "`grep gds_db /etc/services`" ]
+ then
+ echo -e "#\n#Service added for gds_db (firebird)\n#" >> /etc/services
+ echo "gds_db 3050/tcp" >> /etc/services
+ einfo "added gds_db to /etc/services"
+ fi
+
+ # if found /etc/isc4.gdb from previous install, backup, and restore as
+ # /etc/security.fdb
+ if [ -f /etc/firebird/isc4.gdb ]
+ then
+ # if we have scurity.fdb already, back it 1st
+ if [ -f /etc/firebird/security.fdb ]
+ then
+ cp /etc/firebird/security.fdb /etc/firebird/security.fdb.old
+ fi
+ gbak -B /etc/firebird/isc4.gdb /etc/firebird/isc4.gbk
+ gbak -R /etc/firebird/isc4.gbk /etc/firebird/security.fdb
+ mv /etc/firebird/isc4.gdb /etc/firebird/isc4.gdb.old
+ rm /etc/firebird/isc4.gbk
+
+ # make sure they are readable only to firebird
+ chown firebird.firebird /etc/firebird/{isc4.*,security.*}
+ chmod 660 /etc/firebird/{isc4.*,security.*}
+
+ einfo
+ einfo "Converted old isc4.gdb to security.fdb, isc4.gdb has been "
+ einfo "renamed to isc4.gdb.old. if you had previous security.fdb, "
+ einfo "it's backed to security.fdb.old (all under /etc/firebird)."
+ einfo
+ fi
+
+ # we need to enable local access to the server
+ if [ ! -f /etc/hosts.equiv ]
+ then
+ touch /etc/hosts.equiv
+ chown root.root /etc/hosts.equiv
+ chmod u=rw,go=r /etc/hosts.equiv
+ fi
+
+ if [ -z "`grep localhost.localdomain /etc/hosts.equiv`" ]
+ then
+ echo "localhost.localdomain" >> /etc/hosts.equiv
+ einfo "Added localhost.localdomain to /etc/hosts.equiv"
+ fi
+
+ HS_NAME=`hostname`
+ if [ -z "`grep ${HS_NAME} /etc/hosts.equiv`" ]
+ then
+ echo "${HS_NAME}" >> /etc/hosts.equiv
+ einfo "Added ${HS_NAME} to /etc/hosts.equiv"
+ fi
+
+ einfo "If you're using UDFs, please remember to move them"
+ einfo "to /opt/firebird/UDF"
+}