diff options
author | Meir Kriheili <mksoft@gentoo.org> | 2004-02-26 14:45:41 +0000 |
---|---|---|
committer | Meir Kriheili <mksoft@gentoo.org> | 2004-02-26 14:45:41 +0000 |
commit | 22b73f4188e790aa93b5d11c491d84dc061d5871 (patch) | |
tree | 5d4d0fba349d1be7be183ca17f79a391500b36e6 /dev-db | |
parent | Ooops, forgot a depend for KOffice ;) (Manifest recommit) (diff) | |
download | gentoo-2-22b73f4188e790aa93b5d11c491d84dc061d5871.tar.gz gentoo-2-22b73f4188e790aa93b5d11c491d84dc061d5871.tar.bz2 gentoo-2-22b73f4188e790aa93b5d11c491d84dc061d5871.zip |
new upstream version (1.5.0), fixed copyright headers for oler ebuilds
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/firebird/ChangeLog | 12 | ||||
-rw-r--r-- | dev-db/firebird/Manifest | 2 | ||||
-rw-r--r-- | dev-db/firebird/files/70firebird-1.5.0 | 2 | ||||
-rw-r--r-- | dev-db/firebird/files/digest-firebird-1.5.0 | 1 | ||||
-rw-r--r-- | dev-db/firebird/files/firebird-1.5.0.xinetd | 17 | ||||
-rw-r--r-- | dev-db/firebird/firebird-1.0-r1.ebuild | 4 | ||||
-rw-r--r-- | dev-db/firebird/firebird-1.0.3.ebuild | 4 | ||||
-rw-r--r-- | dev-db/firebird/firebird-1.5.0.ebuild | 172 |
8 files changed, 208 insertions, 6 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..ae201050f5c5 100644 --- a/dev-db/firebird/Manifest +++ b/dev-db/firebird/Manifest @@ -1,3 +1,4 @@ +MD5 c545b46a5e6a695d8674be70ec75be64 firebird-1.5.0.ebuild 631 MD5 2b6f422a6d1afe8fd18443a66ff0aa87 firebird-1.0-r1.ebuild 1385 MD5 4168e6b51b229b38871333c40ad09a07 ChangeLog 1660 MD5 b6d46d544ce131eb681e0d7e68a465cc metadata.xml 623 @@ -8,3 +9,4 @@ MD5 d76a09a887248deb2d4d466f06515730 files/firebird-1.0-gentoo.patch 2549 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" +} |