diff options
Diffstat (limited to 'dev-db/firebird')
-rw-r--r-- | dev-db/firebird/ChangeLog | 8 | ||||
-rw-r--r-- | dev-db/firebird/Manifest | 40 | ||||
-rw-r--r-- | dev-db/firebird/files/70firebird-1.5.0 | 2 | ||||
-rw-r--r-- | dev-db/firebird/files/digest-firebird-1.5.3-r1 | 12 | ||||
-rw-r--r-- | dev-db/firebird/files/digest-firebird-1.5.4 | 12 | ||||
-rw-r--r-- | dev-db/firebird/files/firebird-1.5-build.patch | 50 | ||||
-rw-r--r-- | dev-db/firebird/files/firebird-1.5.1-gcc34.patch | 143 | ||||
-rw-r--r-- | dev-db/firebird/files/firebird-1.5.3-gcc412.patch | 73 | ||||
-rw-r--r-- | dev-db/firebird/firebird-1.5.3-r1.ebuild | 249 | ||||
-rw-r--r-- | dev-db/firebird/firebird-1.5.4.ebuild | 263 |
10 files changed, 11 insertions, 841 deletions
diff --git a/dev-db/firebird/ChangeLog b/dev-db/firebird/ChangeLog index 3fe472766a03..f9b32165c6c5 100644 --- a/dev-db/firebird/ChangeLog +++ b/dev-db/firebird/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-db/firebird # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/firebird/ChangeLog,v 1.59 2007/05/15 11:54:16 fmccor Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/firebird/ChangeLog,v 1.60 2007/05/15 21:08:33 wltjr Exp $ + + 15 May 2007; William L. Thomson Jr. <wltjr@gentoo.org> + -files/70firebird-1.5.0, -files/firebird-1.5.1-gcc34.patch, + -files/firebird-1.5.3-gcc412.patch, -files/firebird-1.5-build.patch, + -firebird-1.5.3-r1.ebuild, -firebird-1.5.4.ebuild: + House cleaning removed older versions and unused patches 15 May 2007; Ferris McCormick <fmccor@gentoo.org> firebird-1.5.4-r2.ebuild: diff --git a/dev-db/firebird/Manifest b/dev-db/firebird/Manifest index 928721358195..718b2c514078 100644 --- a/dev-db/firebird/Manifest +++ b/dev-db/firebird/Manifest @@ -2,26 +2,10 @@ AUX 70firebird 50 RMD160 ebfc2e7a38dbd95b3df0dc4c8a757bd089f69807 SHA1 71b414835 MD5 d3278f869be37481ddde143f5ee98c4a files/70firebird 50 RMD160 ebfc2e7a38dbd95b3df0dc4c8a757bd089f69807 files/70firebird 50 SHA256 ca3ca56c53490ac6f849ce78cd1240fc52334f25c8d3841eef1560bed2a80d03 files/70firebird 50 -AUX 70firebird-1.5.0 50 RMD160 ebfc2e7a38dbd95b3df0dc4c8a757bd089f69807 SHA1 71b414835ed7c66f94b2908b7793da817d3c4438 SHA256 ca3ca56c53490ac6f849ce78cd1240fc52334f25c8d3841eef1560bed2a80d03 -MD5 d3278f869be37481ddde143f5ee98c4a files/70firebird-1.5.0 50 -RMD160 ebfc2e7a38dbd95b3df0dc4c8a757bd089f69807 files/70firebird-1.5.0 50 -SHA256 ca3ca56c53490ac6f849ce78cd1240fc52334f25c8d3841eef1560bed2a80d03 files/70firebird-1.5.0 50 -AUX firebird-1.5-build.patch 2125 RMD160 8ca946aea594b5aff1c963cc1cf87a88e950d39b SHA1 a1ab6d8e5823b4af3ddccc66994f66ba7b1f2cb7 SHA256 d92063ce40ee359df1662dc4fbb079fa59ec30f0c9924a8942a0e0ceb806df11 -MD5 51a8d891eaaaf720cf57d3d1686735f1 files/firebird-1.5-build.patch 2125 -RMD160 8ca946aea594b5aff1c963cc1cf87a88e950d39b files/firebird-1.5-build.patch 2125 -SHA256 d92063ce40ee359df1662dc4fbb079fa59ec30f0c9924a8942a0e0ceb806df11 files/firebird-1.5-build.patch 2125 AUX firebird-1.5.0.xinetd 425 RMD160 df129f2e031ecd5ab885cb9a0c65a6c8d459a5f2 SHA1 c82ee25d92f89d0c2899a469cdda43851cafdddd SHA256 a8d918c64837a52d6a94650e9b39bc2279662adbad1e830767e5171a15efe6ce MD5 5b28cc81eff2c59fbee652dc2c6ed483 files/firebird-1.5.0.xinetd 425 RMD160 df129f2e031ecd5ab885cb9a0c65a6c8d459a5f2 files/firebird-1.5.0.xinetd 425 SHA256 a8d918c64837a52d6a94650e9b39bc2279662adbad1e830767e5171a15efe6ce files/firebird-1.5.0.xinetd 425 -AUX firebird-1.5.1-gcc34.patch 5906 RMD160 7249ee6156044a20fd8b93b870b745587ef5b3ea SHA1 81b93c7480e6cb5c676e7fe9e877997a0bf1c5a4 SHA256 b05be878185ae46564994b700477882fd9a2217546a441099edd1016c8b694ac -MD5 5bc644b4558c11069e2a946e029d70bb files/firebird-1.5.1-gcc34.patch 5906 -RMD160 7249ee6156044a20fd8b93b870b745587ef5b3ea files/firebird-1.5.1-gcc34.patch 5906 -SHA256 b05be878185ae46564994b700477882fd9a2217546a441099edd1016c8b694ac files/firebird-1.5.1-gcc34.patch 5906 -AUX firebird-1.5.3-gcc412.patch 1446 RMD160 2069b6baf60039ff724ee66201fa039f4be394bf SHA1 613badf3b8b51456e07929182a19077db704844d SHA256 8d3572cc9f9227672fb7c665faf5e720d959975f14b2c4479a20b0de0a8eb7b8 -MD5 b37cd6a2dfa0bd7ae6f67273474f3af0 files/firebird-1.5.3-gcc412.patch 1446 -RMD160 2069b6baf60039ff724ee66201fa039f4be394bf files/firebird-1.5.3-gcc412.patch 1446 -SHA256 8d3572cc9f9227672fb7c665faf5e720d959975f14b2c4479a20b0de0a8eb7b8 files/firebird-1.5.3-gcc412.patch 1446 AUX firebird-2.0.1.12855.0-external-libs.patch 1891 RMD160 6450f96348d1736ff1101d6bafe7b1057d221175 SHA1 b1ad1e60a538acd88cb9f7dcdea10e90459ed782 SHA256 75697d2d0cdc4e1fa48a6714f1e8e47563e2d2ea7765ae8a56f533a3c7b865da MD5 e10b40f875eb2d8f32b8547efb176ec0 files/firebird-2.0.1.12855.0-external-libs.patch 1891 RMD160 6450f96348d1736ff1101d6bafe7b1057d221175 files/firebird-2.0.1.12855.0-external-libs.patch 1891 @@ -44,41 +28,25 @@ RMD160 982a38df26c870ba634576f6188683478d2a69da files/firebird.xinetd 206 SHA256 b129b0653cacd81968986b5514ba78829deeab19972cec18271a6b354247e494 files/firebird.xinetd 206 DIST Firebird-1.5-QuickStart.pdf 193637 RMD160 c3d541701950a9b8ac0b353e5360af9235a3cf3f SHA1 fc64d475222257b269378451a69167ea53852ece SHA256 3b6cbf86d9ee7deaeeae101edf6c124c694ca423c9f4d09da035eed9e2bb70fe DIST Firebird-2.0.1.12855-0.tar.bz2 12582690 RMD160 abe8a59795c59f6fdccfe2fe6612b81b8373493f SHA1 a364548028e411919a94b5be4263b9914b696bda SHA256 4346471f7c302b5ecdb8440b3c329e3d1fd78483b948e9e7b94ef284c37cb86e -DIST firebird-1.5-gcc4.patch.bz2 21974 RMD160 c7a348dd1fbd08813eebb9487716f4d1a5390576 SHA1 7588ee5db8325bc5330cbc244b7ceabaf85811cc SHA256 f48e1fbccae15b9367c432e46f06ea9a4b4059de5192386375733764c028776c -DIST firebird-1.5.3.4870.tar.bz2 5055973 RMD160 3833574f8c2d996bfb06b346a5d22a88d9923425 SHA1 6be1e2e46be6ebd16e5b9b10ad2b4f5aeb15f3d4 SHA256 16880405d6e321a70e80c6e6fb4ed8429a692c43b8a7b59a676cf7d2162d2023 DIST firebird-1.5.4-debian-patchset.tar.bz2 22696 RMD160 e4fec480f4480fc2dbc460c5dffab6c0127867f1 SHA1 e925f90d18ece6eb5c8a2645f7e2f559e5e7b153 SHA256 c88345bad9064c552f4231d1ce82e3fb89d2cdfde8bf0965a966b426d9aaefea DIST firebird-1.5.4.4910.tar.bz2 5087076 RMD160 00480f290b8e82f9965387a903ae392e8b71c3f1 SHA1 684860f6b1b77f5068ea175d3e08a7c839bb92a5 SHA256 c4464b1b89fde0676562de2b82c971d4f791133dcc2967760dc2f3a5cfd52556 DIST ib_b60_doc.zip 10530848 RMD160 c64b4b6bc9125929928517ba072558a58ddf577d SHA1 5e94fb89e15f738aa8605c913e75ec212fa163ef SHA256 8c0158678b2a2fe3ba3abfea1f5487fc5af2644d66837ab8a558f5ad6b6cfd6d -EBUILD firebird-1.5.3-r1.ebuild 7111 RMD160 20f6ff1747c7b9df8a5b48f5bf56905f112217d1 SHA1 8b59e79b05d62459824ffa36ee14dc2b776e0ca9 SHA256 52b9b501c866e4e13516107f806cb8638b1d8ddbd50ac3ef2d22040110aa2e59 -MD5 cbaa96e95b8bece978184bb6ccac03f6 firebird-1.5.3-r1.ebuild 7111 -RMD160 20f6ff1747c7b9df8a5b48f5bf56905f112217d1 firebird-1.5.3-r1.ebuild 7111 -SHA256 52b9b501c866e4e13516107f806cb8638b1d8ddbd50ac3ef2d22040110aa2e59 firebird-1.5.3-r1.ebuild 7111 EBUILD firebird-1.5.4-r2.ebuild 7596 RMD160 231d44ff0b8f1fe661922916a2dea911b1035659 SHA1 0728f1ae1a74773ac571c94065afb300352cb878 SHA256 d376d28bcd5aabafce7e71a891d6eedf792e718507513044a27089bf5041f57c MD5 c0f0d8661ef8cb617c106696aee59cc1 firebird-1.5.4-r2.ebuild 7596 RMD160 231d44ff0b8f1fe661922916a2dea911b1035659 firebird-1.5.4-r2.ebuild 7596 SHA256 d376d28bcd5aabafce7e71a891d6eedf792e718507513044a27089bf5041f57c firebird-1.5.4-r2.ebuild 7596 -EBUILD firebird-1.5.4.ebuild 7594 RMD160 d53b86cfced596bfc6a4f21036bb9adddd0990a2 SHA1 a971d4246c87e374fcfebcb0fd6201af5e504b6b SHA256 49c64c1167a1b3be82df3b0d5d6f5748330b33726d73efb5a8e36349eeed0056 -MD5 31b9973c747eb38eb734040063b507ed firebird-1.5.4.ebuild 7594 -RMD160 d53b86cfced596bfc6a4f21036bb9adddd0990a2 firebird-1.5.4.ebuild 7594 -SHA256 49c64c1167a1b3be82df3b0d5d6f5748330b33726d73efb5a8e36349eeed0056 firebird-1.5.4.ebuild 7594 EBUILD firebird-2.0.1.12855.0-r3.ebuild 7202 RMD160 5afcb2b66c6584dd04898ac6bad9e3918522b810 SHA1 54d76362c3fb43464de877eb71af568c9b8f595f SHA256 31e1dcaacaadfa876858889b40b936dfa90633d1b31014415cb0392ed12db3c3 MD5 75a4e132b763c56cb4384b43ab4cb5b5 firebird-2.0.1.12855.0-r3.ebuild 7202 RMD160 5afcb2b66c6584dd04898ac6bad9e3918522b810 firebird-2.0.1.12855.0-r3.ebuild 7202 SHA256 31e1dcaacaadfa876858889b40b936dfa90633d1b31014415cb0392ed12db3c3 firebird-2.0.1.12855.0-r3.ebuild 7202 -MISC ChangeLog 9677 RMD160 f6c8d603b2e4f8776487cdd526052c6d0697c15c SHA1 a90528d08610c54f766ee6277d83dcc23327fc18 SHA256 0c8bba7362790f29c8919b67e773c2e27d58701b1d2369127da26439985ddd91 -MD5 0c513f5cf8a915f939a6a6bdfd14822c ChangeLog 9677 -RMD160 f6c8d603b2e4f8776487cdd526052c6d0697c15c ChangeLog 9677 -SHA256 0c8bba7362790f29c8919b67e773c2e27d58701b1d2369127da26439985ddd91 ChangeLog 9677 +MISC ChangeLog 9979 RMD160 803ca519f2e081017351f379440cb3ad444d7876 SHA1 f7f0dfb48fa5dacf68dbe49e0fd6adf39583433e SHA256 ece67293603a944732320106741556d684551442c1b937dbf032ff6160569ae9 +MD5 f3d7a631bd6164aa9ae20aa209b0020b ChangeLog 9979 +RMD160 803ca519f2e081017351f379440cb3ad444d7876 ChangeLog 9979 +SHA256 ece67293603a944732320106741556d684551442c1b937dbf032ff6160569ae9 ChangeLog 9979 MISC metadata.xml 676 RMD160 cbec5ef0857aae880afdbc60f370c1b76d36ccf8 SHA1 c4a3ff2cb0dca7f10616bcb6380478fc9b030cf5 SHA256 8b013a783e48791968505c98397ff8777960cdd69f7818b3cff689fa1b2373a8 MD5 d6677dccf2b721741683d19348632bd6 metadata.xml 676 RMD160 cbec5ef0857aae880afdbc60f370c1b76d36ccf8 metadata.xml 676 SHA256 8b013a783e48791968505c98397ff8777960cdd69f7818b3cff689fa1b2373a8 metadata.xml 676 -MD5 a52e967cf2d04fbbf7c6a8a2fc988105 files/digest-firebird-1.5.3-r1 1015 -RMD160 e71a88ad45cd1b43c6c69417a9d7b9e24bb9a1e6 files/digest-firebird-1.5.3-r1 1015 -SHA256 fce6d7adc88cb5cb9a444b74dc328c86dc9f6edfebfad4a9cd9f60eacaad225d files/digest-firebird-1.5.3-r1 1015 -MD5 20a106c4128997b0c01898ae2431188d files/digest-firebird-1.5.4 1048 -RMD160 380abfa848b17114c93549605983bb62325fa2ef files/digest-firebird-1.5.4 1048 -SHA256 a9f424580b7adc46492d408d0219e04ca70854ee5c0553ba8419f289164a72d9 files/digest-firebird-1.5.4 1048 MD5 20a106c4128997b0c01898ae2431188d files/digest-firebird-1.5.4-r2 1048 RMD160 380abfa848b17114c93549605983bb62325fa2ef files/digest-firebird-1.5.4-r2 1048 SHA256 a9f424580b7adc46492d408d0219e04ca70854ee5c0553ba8419f289164a72d9 files/digest-firebird-1.5.4-r2 1048 diff --git a/dev-db/firebird/files/70firebird-1.5.0 b/dev-db/firebird/files/70firebird-1.5.0 deleted file mode 100644 index eebf96b9f0b1..000000000000 --- a/dev-db/firebird/files/70firebird-1.5.0 +++ /dev/null @@ -1,2 +0,0 @@ -PATH=/opt/firebird/bin -ROOTPATH=/opt/firebird/bin diff --git a/dev-db/firebird/files/digest-firebird-1.5.3-r1 b/dev-db/firebird/files/digest-firebird-1.5.3-r1 deleted file mode 100644 index 98428bd941ef..000000000000 --- a/dev-db/firebird/files/digest-firebird-1.5.3-r1 +++ /dev/null @@ -1,12 +0,0 @@ -MD5 3690d389b3b69883f4bbc258b6c81851 Firebird-1.5-QuickStart.pdf 193637 -RMD160 c3d541701950a9b8ac0b353e5360af9235a3cf3f Firebird-1.5-QuickStart.pdf 193637 -SHA256 3b6cbf86d9ee7deaeeae101edf6c124c694ca423c9f4d09da035eed9e2bb70fe Firebird-1.5-QuickStart.pdf 193637 -MD5 1100147a18b2127f6afd7083f829d62e firebird-1.5-gcc4.patch.bz2 21974 -RMD160 c7a348dd1fbd08813eebb9487716f4d1a5390576 firebird-1.5-gcc4.patch.bz2 21974 -SHA256 f48e1fbccae15b9367c432e46f06ea9a4b4059de5192386375733764c028776c firebird-1.5-gcc4.patch.bz2 21974 -MD5 559d005ab6622274f9448687f930393c firebird-1.5.3.4870.tar.bz2 5055973 -RMD160 3833574f8c2d996bfb06b346a5d22a88d9923425 firebird-1.5.3.4870.tar.bz2 5055973 -SHA256 16880405d6e321a70e80c6e6fb4ed8429a692c43b8a7b59a676cf7d2162d2023 firebird-1.5.3.4870.tar.bz2 5055973 -MD5 e48478a6034eb449ad502495e83a0764 ib_b60_doc.zip 10530848 -RMD160 c64b4b6bc9125929928517ba072558a58ddf577d ib_b60_doc.zip 10530848 -SHA256 8c0158678b2a2fe3ba3abfea1f5487fc5af2644d66837ab8a558f5ad6b6cfd6d ib_b60_doc.zip 10530848 diff --git a/dev-db/firebird/files/digest-firebird-1.5.4 b/dev-db/firebird/files/digest-firebird-1.5.4 deleted file mode 100644 index b3e31cc48311..000000000000 --- a/dev-db/firebird/files/digest-firebird-1.5.4 +++ /dev/null @@ -1,12 +0,0 @@ -MD5 3690d389b3b69883f4bbc258b6c81851 Firebird-1.5-QuickStart.pdf 193637 -RMD160 c3d541701950a9b8ac0b353e5360af9235a3cf3f Firebird-1.5-QuickStart.pdf 193637 -SHA256 3b6cbf86d9ee7deaeeae101edf6c124c694ca423c9f4d09da035eed9e2bb70fe Firebird-1.5-QuickStart.pdf 193637 -MD5 b3530a500074ab5b2a276e37ecd10ccf firebird-1.5.4-debian-patchset.tar.bz2 22696 -RMD160 e4fec480f4480fc2dbc460c5dffab6c0127867f1 firebird-1.5.4-debian-patchset.tar.bz2 22696 -SHA256 c88345bad9064c552f4231d1ce82e3fb89d2cdfde8bf0965a966b426d9aaefea firebird-1.5.4-debian-patchset.tar.bz2 22696 -MD5 6655190f760217845623a75001b6ddd4 firebird-1.5.4.4910.tar.bz2 5087076 -RMD160 00480f290b8e82f9965387a903ae392e8b71c3f1 firebird-1.5.4.4910.tar.bz2 5087076 -SHA256 c4464b1b89fde0676562de2b82c971d4f791133dcc2967760dc2f3a5cfd52556 firebird-1.5.4.4910.tar.bz2 5087076 -MD5 e48478a6034eb449ad502495e83a0764 ib_b60_doc.zip 10530848 -RMD160 c64b4b6bc9125929928517ba072558a58ddf577d ib_b60_doc.zip 10530848 -SHA256 8c0158678b2a2fe3ba3abfea1f5487fc5af2644d66837ab8a558f5ad6b6cfd6d ib_b60_doc.zip 10530848 diff --git a/dev-db/firebird/files/firebird-1.5-build.patch b/dev-db/firebird/files/firebird-1.5-build.patch deleted file mode 100644 index 5e0ae7305586..000000000000 --- a/dev-db/firebird/files/firebird-1.5-build.patch +++ /dev/null @@ -1,50 +0,0 @@ ---- configure.in -+++ configure.in -@@ -386,7 +386,7 @@ - AC_CHECK_LIB(c,main) - AC_CHECK_LIB(m, main) - AC_CHECK_LIB(crypt, main) --AC_CHECK_LIB(curses, main) -+AC_CHECK_LIB(ncurses, main) - dnl AC_CHECK_LIB(termcap, main) - if test "$EDITLINE_FLG" = "Y"; then - AC_SUBST(EDITLINE_A, -leditline) ---- builds/posix/prefix.linux -+++ builds/posix/prefix.linux -@@ -22,8 +22,8 @@ - - # -fno-builtin is used because GCC 3.0-3.2.2 had bug with builtins expansion - # you may remove it if engine is getting compiled with any other GCC version --PROD_FLAGS=-ggdb -O3 -march=i586 -mcpu=i686 -fno-omit-frame-pointer -fno-builtin -DNDEBUG -DLINUX -pipe -MMD -fPIC --DEV_FLAGS=-ggdb -DLINUX -DDEBUG_GDS_ALLOC -pipe -MMD -p -fPIC -Wall -Wno-switch -+PROD_FLAGS=-fno-omit-frame-pointer -fno-builtin -DNDEBUG -DLINUX -MMD -fPIC -+DEV_FLAGS=-DLINUX -DDEBUG_GDS_ALLOC -MMD -fPIC -Wall -Wno-switch - - OS_ServerFiles=inet_server.cpp - ---- builds/posix/prefix.linux_amd64 -+++ builds/posix/prefix.linux_amd64 -@@ -20,8 +20,8 @@ - - LD=@CXX@ - --PROD_FLAGS=-ggdb -O3 -fno-omit-frame-pointer -DNDEBUG -DLINUX -DAMD64 -pipe -MMD -fPIC -fmessage-length=0 --DEV_FLAGS=-ggdb -DLINUX -DAMD64 -pipe -MMD -p -fPIC -Wall -Wno-switch -Wno-parentheses -Wno-unknown-pragmas -Wno-unused-variable -fmessage-length=0 -+PROD_FLAGS=-fno-omit-frame-pointer -DNDEBUG -DLINUX -DAMD64 -MMD -fPIC -fmessage-length=0 -+DEV_FLAGS=-DLINUX -DAMD64 -MMD -fPIC -Wall -Wno-switch -Wno-parentheses -Wno-unknown-pragmas -Wno-unused-variable -fmessage-length=0 - - OS_ServerFiles=inet_server.cpp - ---- builds/posix/prefix.linux_sparc32 -+++ builds/posix/prefix.linux_sparc32 -@@ -22,8 +22,8 @@ - - # -fno-builtin is used because GCC 3.0-3.2.2 had bug with builtins expansion - # you may remove it if engine is getting compiled with any other GCC version --PROD_FLAGS=-m32 -mcpu=ultrasparc -mtune=ultrasparc -O3 -DNDEBUG -DLINUX -pipe -MMD -fPIC -Dsparc --DEV_FLAGS=-ggdb -m32 -DLINUX -DDEBUG_GDS_ALLOC -pipe -MMD -p -fPIC -Wall -Wno-switch -Dsparc -+PROD_FLAGS=-DNDEBUG -DLINUX -MMD -fPIC -Dsparc -+DEV_FLAGS=--DLINUX -DDEBUG_GDS_ALLOC -MMD -fPIC -Wall -Wno-switch -Dsparc - - OS_ServerFiles=inet_server.cpp - diff --git a/dev-db/firebird/files/firebird-1.5.1-gcc34.patch b/dev-db/firebird/files/firebird-1.5.1-gcc34.patch deleted file mode 100644 index e5df4841b3d2..000000000000 --- a/dev-db/firebird/files/firebird-1.5.1-gcc34.patch +++ /dev/null @@ -1,143 +0,0 @@ -diff -uNr firebird-1.5.1.4481-orig/src/common/classes/alloc.h firebird-1.5.1.4481/src/common/classes/alloc.h ---- firebird-1.5.1.4481-orig/src/common/classes/alloc.h 2003-10-30 22:25:52.000000000 +0000 -+++ firebird-1.5.1.4481/src/common/classes/alloc.h 2004-09-14 04:12:37.967099632 +0000 -@@ -237,12 +237,17 @@ - // loaded by host application using STL - - // This is to prevent inclusion of <new> header --#ifdef __NEW__ -+#if defined( _NEW ) || defined ( __NEW__ ) - #error "alloc.h must be included before <new>" - #endif -+#define _NEW - #define __NEW__ - namespace std { - class bad_alloc : public exception {}; -+#if ( __GNUC__ > 3) || ((__GNUC__==3) && __GNUC_MINOR__ >=4) -+ struct nothrow_t { }; -+ extern const nothrow_t nothrow; -+#endif - } - // Define operators as static inline to prevent replacement of STL versions - static inline void* operator new(size_t s) { -@@ -258,6 +263,21 @@ - ); - } - -+#if ( __GNUC__ > 3) || ((__GNUC__==3) && __GNUC_MINOR__ >=4) -+static inline void* operator new(size_t s, const std::nothrow_t&) { -+#if defined(DEV_BUILD) -+// Do not complain here. It causes client tools to crash on Red Hat 8.0 -+// fprintf(stderr, "You MUST allocate all memory from a pool. Don't use the default global new().\n"); -+#endif // DEV_BUILD -+// return getDefaultMemoryPool()->calloc(s, 0 -+ return getDefaultMemoryPool()->allocate(s, 0 -+#ifdef DEBUG_GDS_ALLOC -+ ,__FILE__,__LINE__ -+#endif -+ ); -+} -+#endif -+ - static inline void* operator new[](size_t s) { - #if defined(DEV_BUILD) - // Do not complain here. It causes client tools to crash on Red Hat 8.0 -diff -uNr firebird-1.5.1.4481-orig/src/common/classes/array.h firebird-1.5.1.4481/src/common/classes/array.h ---- firebird-1.5.1.4481-orig/src/common/classes/array.h 2004-03-29 07:40:23.000000000 +0000 -+++ firebird-1.5.1.4481/src/common/classes/array.h 2004-09-14 04:10:26.267121072 +0000 -@@ -60,15 +60,15 @@ - class Array : private Storage { - public: - Array(MemoryPool* p) : -- count(0), capacity(getStorageSize()), data(getStorage()), pool(p) {} -+ count(0), capacity(Storage::getStorageSize()), data(Storage::getStorage()), pool(p) {} - Array(MemoryPool* p, int InitialCapacity) : count(0), -- capacity(getStorageSize()), data(getStorage()), pool(p) -+ capacity(Storage::getStorageSize()), data(Storage::getStorage()), pool(p) - { - ensureCapacity(InitialCapacity); - } - ~Array() - { -- if (data != getStorage()) -+ if (data != Storage::getStorage()) - pool->deallocate(data); - } - void clear() { count = 0; }; -@@ -170,7 +170,7 @@ - #endif - )); - memcpy(newdata, data, sizeof(T) * count); -- if (data != getStorage()) -+ if (data != Storage::getStorage()) - pool->deallocate(data); - data = newdata; - capacity = newcapacity; -@@ -188,17 +188,17 @@ - SortedArray(MemoryPool* p, int s) : Array<Value>(p, s) {} - SortedArray(MemoryPool* p) : Array<Value>(p) {} - bool find(const Key& item, int& pos) { -- int highBound = count, lowBound = 0; -+ int highBound = Array<Value>::count, lowBound = 0; - while (highBound > lowBound) { - int temp = (highBound + lowBound) >> 1; -- if (Cmp::compare(item, KeyOfValue::generate(this, data[temp]))) -+ if (Cmp::compare(item, KeyOfValue::generate(this, Array<Value>::data[temp]))) - lowBound = temp + 1; - else - highBound = temp; - } - pos = lowBound; -- return highBound != count && -- !Cmp::compare(KeyOfValue::generate(this, data[lowBound]), item); -+ return highBound != Array<Value>::count && -+ !Cmp::compare(KeyOfValue::generate(this, Array<Value>::data[lowBound]), item); - } - int add(const Value& item) { - int pos; -diff -uNr firebird-1.5.1.4481-orig/src/common/classes/tree.h firebird-1.5.1.4481/src/common/classes/tree.h ---- firebird-1.5.1.4481-orig/src/common/classes/tree.h 2003-10-30 22:25:52.000000000 +0000 -+++ firebird-1.5.1.4481/src/common/classes/tree.h 2004-09-14 04:10:26.268120920 +0000 -@@ -215,7 +215,7 @@ - } - Value& current() const { return (*curr)[curPos]; } - Value& getAddErrorValue() { return addErrorValue; } -- int getCount() const { return count; } -+// int getCount() const { return count; } - private: - BePlusTree(Allocator *_pool, void *rootPage) : pool(_pool), level(0), - curr(new(rootPage) ItemList()), root(rootPage), curPos(0)/*, count(0)*/ {}; -@@ -260,7 +260,7 @@ - static const Key& generate(void *sender, void *item) { - for (int lev = ((NodeList *)sender)->level; lev > 0; lev--) - item = *((NodeList *)item)->begin(); -- return KeyOfValue::generate(item,*((BePlusTree::ItemList *)item)->begin()); -+ return KeyOfValue::generate(item,*(reinterpret_cast<typename BePlusTree<Value,Key,Allocator,KeyOfValue,Cmp,LeafCount,NodeCount>::ItemList *>(item))->begin()); - } - static void setNodeParentAndLevel(void *node, int level, NodeList *parent) { - if (level) { -diff -uNr firebird-1.5.1.4481-orig/src/common/classes/vector.h firebird-1.5.1.4481/src/common/classes/vector.h ---- firebird-1.5.1.4481-orig/src/common/classes/vector.h 2002-12-14 21:43:18.000000000 +0000 -+++ firebird-1.5.1.4481/src/common/classes/vector.h 2004-09-14 04:10:26.268120920 +0000 -@@ -100,17 +100,17 @@ - public: - SortedVector() : Vector<Value, Capacity>() {} - bool find(const Key& item, int& pos) { -- int highBound=count, lowBound=0; -+ int highBound=Vector<Value, Capacity>::count, lowBound=0; - while (highBound > lowBound) { - int temp = (highBound + lowBound) >> 1; -- if (Cmp::compare(item, KeyOfValue::generate(this,data[temp]))) -+ if (Cmp::compare(item, KeyOfValue::generate(this,Vector<Value, Capacity>::data[temp]))) - lowBound = temp+1; - else - highBound = temp; - } - pos = lowBound; -- return highBound != count && -- !Cmp::compare(KeyOfValue::generate(this,data[lowBound]), item); -+ return highBound != Vector<Value, Capacity>::count && -+ !Cmp::compare(KeyOfValue::generate(this,Vector<Value, Capacity>::data[lowBound]), item); - } - int add(const Value& item) { - int pos; diff --git a/dev-db/firebird/files/firebird-1.5.3-gcc412.patch b/dev-db/firebird/files/firebird-1.5.3-gcc412.patch deleted file mode 100644 index 4b5e901d29f9..000000000000 --- a/dev-db/firebird/files/firebird-1.5.3-gcc412.patch +++ /dev/null @@ -1,73 +0,0 @@ -diff -urNad stable~/src/jrd/jrd.cpp stable/src/jrd/jrd.cpp ---- stable~/src/jrd/jrd.cpp 2006-10-18 21:47:43.000000000 +0300 -+++ stable/src/jrd/jrd.cpp 2006-10-18 21:47:43.000000000 +0300 -@@ -135,14 +135,14 @@ - #endif - - #ifdef SERVER_SHUTDOWN --extern "C" { -+//extern "C" { - typedef struct dbf { - struct dbf *dbf_next; - USHORT dbf_length; - TEXT dbf_data[2]; - } *DBF; - --} // extern "C" -+//} // extern "C" - - #include "../jrd/sort.h" - #endif /* SERVER_SHUTDOWN */ -@@ -159,9 +159,9 @@ - /*TMN: fwd. decl. SHOULD BE IN A HEADER FILE*/ - void ALL_print_memory_pool_info(IB_FILE * fptr, DBB databases); - void ALLD_print_memory_pool_info(IB_FILE * fptr); --extern "C" { -+//extern "C" { - void gds_print_delta_counters(IB_FILE *); --} // extern "C" -+//} // extern "C" - - #endif /* SUPERSERVER */ - -@@ -201,10 +201,10 @@ - - #ifdef SUPERSERVER - --extern "C" { -+//extern "C" { - extern SLONG trace_pools; - static REC_MUTX_T databases_rec_mutex; --} // extern "C" -+//} // extern "C" - - // BRS. 03/23/2003 - // Those empty defines was substituted with #if defined(V4_THREADING) && !defined(SUPERSERVER) -@@ -289,7 +289,7 @@ - return TRUE; - } - --extern "C" { -+//extern "C" { - - - #ifdef WIN_NT -@@ -592,10 +592,10 @@ - - - #ifdef SHLIB_DEFS --} // extern "C" -+//} // extern "C" - /** Use shdef.h which has all shared lib defs **/ - #include "shdef.h" --extern "C" { -+//extern "C" { - #endif - - -@@ -6620,4 +6620,4 @@ - return true; - } - --} // extern "C" -+//} // extern "C" diff --git a/dev-db/firebird/firebird-1.5.3-r1.ebuild b/dev-db/firebird/firebird-1.5.3-r1.ebuild deleted file mode 100644 index f36863de64b2..000000000000 --- a/dev-db/firebird/firebird-1.5.3-r1.ebuild +++ /dev/null @@ -1,249 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/firebird/firebird-1.5.3-r1.ebuild,v 1.12 2007/04/28 21:58:33 tove Exp $ - -inherit flag-o-matic eutils - -extra_ver="4870" -MY_P=${P}.${extra_ver} -DESCRIPTION="A relational database offering many ANSI SQL-99 features" -HOMEPAGE="http://firebird.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2 - mirror://gentoo/${PN}-1.5-gcc4.patch.bz2 - doc? ( http://firebird.sourceforge.net/pdfmanual/Firebird-1.5-QuickStart.pdf - ftp://ftpc.inprise.com/pub/interbase/techpubs/ib_b60_doc.zip )" - -LICENSE="Interbase-1.0" -SLOT="0" -KEYWORDS="~amd64 -ia64 sparc x86" -IUSE="xinetd doc" -RESTRICT="nouserpriv" - -RDEPEND="xinetd? ( virtual/inetd )" -DEPEND="${RDEPEND} - doc? ( app-arch/unzip )" - -S="${WORKDIR}"/${MY_P} - -pkg_setup() { - enewgroup firebird 450 - enewuser firebird 450 /bin/bash /opt/firebird firebird -} - -src_unpack() { - if use doc; then - # Unpack docs - mkdir ${WORKDIR}/manuals - cd ${WORKDIR}/manuals - unpack ib_b60_doc.zip - cd ${WORKDIR} - fi - - unpack ${MY_P}.tar.bz2 - unpack ${PN}-1.5-gcc4.patch.bz2 - cd ${S} - - epatch ${FILESDIR}/${PN}-1.5-build.patch - epatch ${WORKDIR}/${PN}-1.5-gcc4.patch - # Bug #167051 - epatch ${FILESDIR}/${P}-gcc412.patch - - # This file must be regenerated during build - rm ${S}/src/dsql/parse.cpp -} - -src_compile() { - # fix bug #33584 - #strip-flags -funroll-loops - # but Meir intended "filter-flags -funroll-loops"; awaiting bug reports... - - filter-flags -fprefetch-loop-arrays - filter-mfpmath sse - - local myconf="--prefix=/opt/firebird --with-editline" - use xinetd || myconf="${myconf} --enable-superserver" - - NOCONFIGURE=1 - ./autogen.sh ${myconf} || die "couldn't run autogen.sh" - find . -type f -exec sed -i -e "s/-lcurses/-lncurses/g" {} \; - econf ${myconf} || die "./configure failed" - emake -j 1 || die "error during make" -} - -src_install() { - cd ${S}/gen - make -f Makefile.install tarfile || 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 - - if use xinetd ; then - insinto /etc/xinetd.d ; newins ${FILESDIR}/${PN}-1.5.0.xinetd firebird - else - newinitd ${FILESDIR}/${PN}.init.d firebird - newconfd ${FILESDIR}/firebird.conf.d firebird - fperms 640 /etc/conf.d/firebird - fi - newenvd ${FILESDIR}/70${PN} 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 - - use xinetd && 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 - dosym /opt/firebird/lib/libfbclient.so /opt/firebird/lib/libgds.so - dosym /opt/firebird/lib/libfbclient.so /opt/firebird/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 - - # Install docs - if use doc; then - dodoc ${DISTDIR}/Firebird-1.5-QuickStart.pdf - dodoc ${WORKDIR}/manuals/* - fi -} - -pkg_postinst() { - elog - elog "1. If haven't done so already, please run:" - elog - elog " \"emerge --config =${PF}\"" - elog - elog " to create lockfiles, set permissions and more" - elog - elog "2. Firebird now runs with it's own user. Please remember to" - elog " set permissions to firebird:firebird on databases you " - elog " already have (if any)." - elog - - if ! use xinetd - then - elog "3. You've built the stand alone deamon version," - elog " SuperServer. If you were using pre 1.5.0 ebuilds" - elog " you're probably have one installed via xinetd. please" - elog " remember to disable it (usually in /etc/xinetd.d/firebird)," - elog " since the current one has it's own init script under" - elog " /etc/init.d" - fi -} - -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 - if [ ! -h firebird.log ] - then - if [ -f firebird.log ] - then - mv firebird.log /var/log - else - touch /var/log/firebird.log - chown firebird:firebird /var/log/firebird.log - chmod ug=rw,o= /var/log/firebird.log - fi - - # symlink the log to /var/log - ln -s /var/log/firebird.log firebird.log - fi - - # 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.*} - - elog - elog "Converted old isc4.gdb to security.fdb, isc4.gdb has been " - elog "renamed to isc4.gdb.old. if you had previous security.fdb, " - elog "it's backed to security.fdb.old (all under /etc/firebird)." - elog - fi - - # we need to enable local access to the server - if [ ! -f /etc/hosts.equiv ] - then - touch /etc/hosts.equiv - chown root:0 /etc/hosts.equiv - chmod u=rw,go=r /etc/hosts.equiv - fi - - if [ -z "`grep 'localhost$' /etc/hosts.equiv`" ] - then - echo "localhost" >> /etc/hosts.equiv - einfo "Added localhost 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 - - elog "If you're using UDFs, please remember to move them" - elog "to /opt/firebird/UDF" -} diff --git a/dev-db/firebird/firebird-1.5.4.ebuild b/dev-db/firebird/firebird-1.5.4.ebuild deleted file mode 100644 index 9364c6f01218..000000000000 --- a/dev-db/firebird/firebird-1.5.4.ebuild +++ /dev/null @@ -1,263 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/firebird/firebird-1.5.4.ebuild,v 1.2 2007/05/11 16:02:48 armin76 Exp $ - -inherit flag-o-matic eutils - -extra_ver="4910" -MY_P=${P}.${extra_ver} -DESCRIPTION="A relational database offering many ANSI SQL-99 features." -HOMEPAGE="http://firebird.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2 - mirror://gentoo/firebird-1.5.4-debian-patchset.tar.bz2 - doc? ( http://firebird.sourceforge.net/pdfmanual/Firebird-1.5-QuickStart.pdf - ftp://ftpc.inprise.com/pub/interbase/techpubs/ib_b60_doc.zip )" - -LICENSE="Interbase-1.0" -SLOT="0" -KEYWORDS="~amd64 -ia64 ~sparc x86" -IUSE="xinetd doc" -RESTRICT="nouserpriv" - -RDEPEND="xinetd? ( virtual/inetd )" -DEPEND="${RDEPEND} - doc? ( app-arch/unzip )" - - -S="${WORKDIR}"/${MY_P} - -pkg_setup() { - enewgroup firebird 450 - enewuser firebird 450 /bin/bash /opt/firebird firebird -} - -src_unpack() { - if use doc; then - # Unpack docs - mkdir ${WORKDIR}/manuals - cd ${WORKDIR}/manuals - unpack ib_b60_doc.zip - cd ${WORKDIR} - fi - - unpack ${MY_P}.tar.bz2 - unpack firebird-1.5.4-debian-patchset.tar.bz2 - cd ${S} - - for p in $(ls ${WORKDIR}/patches) ; do - epatch ${WORKDIR}/patches/${p} || die "Patch did not apply." - done - - # This file must be regenerated during build - rm ${S}/src/dsql/parse.cpp -} - -src_compile() { - # fix bug #33584 - #strip-flags -funroll-loops - # but Meir intended "filter-flags -funroll-loops"; awaiting bug reports... - - filter-flags -fprefetch-loop-arrays - filter-mfpmath sse - - local myconf="--prefix=/opt/firebird --with-editline" - use xinetd || myconf="${myconf} --enable-superserver" - - NOCONFIGURE=1 - - ./autogen.sh ${myconf} || die "couldn't run autogen.sh" - - find . -type f -exec sed -i -e "s/-lcurses/-lncurses/g" {} \; - - econf ${myconf} || die "./configure failed" - emake -j 1 || die "error during make" -} - -src_install() { - cd ${S}/gen - make -f Makefile.install tarfile || 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 - - if use xinetd ; then - insinto /etc/xinetd.d ; newins ${FILESDIR}/${PN}-1.5.0.xinetd firebird - else - exeinto /etc/init.d ; newexe ${FILESDIR}/${PN}.init.d firebird - insinto /etc/conf.d ; newins ${FILESDIR}/firebird.conf.d firebird - fperms 640 /etc/conf.d/firebird - fi - insinto /etc/env.d ; newins ${FILESDIR}/70${PN} 70firebird - - # Following is adapted from postinstall.sh - - dodir /opt/firebird/run - keepdir /opt/firebird/run - - # 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 - - use xinetd && 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 - dosym ./libfbclient.so /opt/firebird/lib/libgds.so - dosym ./libfbclient.so /opt/firebird/lib/libgds.so.0 - - # we want relative symlinks... - rm /usr/lib/libfbclient.so - rm /usr/lib/libfbclient.so.1 - rm /usr/lib/libfbclient.so.1.5.4 - dosym ../../opt/firebird/lib/libfbclient.so /usr/lib/libfbclient.so - dosym ../../opt/firebird/lib/libfbclient.so.1 /usr/lib/libfbclient.so.1 - dosym ../../opt/firebird/lib/libfbclient.so.1.5.4 /usr/lib/libfbclient.so.1.5.4 - - # 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 - - # Install docs - if use doc; then - dodoc ${DISTDIR}/Firebird-1.5-QuickStart.pdf - dodoc ${WORKDIR}/manuals/* - fi -} - -pkg_postinst() { - elog - elog "1. If haven't done so already, please run:" - elog - elog " \"emerge --config =${PF}\"" - elog - elog " to create lockfiles, set permissions and more" - elog - elog "2. Firebird now runs with it's own user. Please remember to" - elog " set permissions to firebird:firebird on databases you " - elog " already have (if any)." - elog - - if ! use xinetd - then - elog "3. You've built the stand alone deamon version," - elog " SuperServer. If you were using pre 1.5.0 ebuilds" - elog " you're probably have one installed via xinetd. please" - elog " remember to disable it (usually in /etc/xinetd.d/firebird)," - elog " since the current one has it's own init script under" - elog " /etc/init.d" - fi -} - -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 - if [ ! -h firebird.log ] - then - if [ -f firebird.log ] - then - mv firebird.log /var/log - else - touch /var/log/firebird.log - chown firebird:firebird /var/log/firebird.log - chmod ug=rw,o= /var/log/firebird.log - fi - - # symlink the log to /var/log - ln -s /var/log/firebird.log firebird.log - fi - - # 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.*} - - elog - elog "Converted old isc4.gdb to security.fdb, isc4.gdb has been " - elog "renamed to isc4.gdb.old. if you had previous security.fdb, " - elog "it's backed to security.fdb.old (all under /etc/firebird)." - elog - fi - - # we need to enable local access to the server - if [ ! -f /etc/hosts.equiv ] - then - touch /etc/hosts.equiv - chown root:0 /etc/hosts.equiv - chmod u=rw,go=r /etc/hosts.equiv - fi - - if [ -z "`grep 'localhost$' /etc/hosts.equiv`" ] - then - echo "localhost" >> /etc/hosts.equiv - einfo "Added localhost 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 - - elog "If you're using UDFs, please remember to move them" - elog "to /opt/firebird/UDF" -} |