summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2007-06-24 11:57:12 +0000
committerTiziano Müller <dev-zero@gentoo.org>2007-06-24 11:57:12 +0000
commit663a7ca990f414eb6cf09f81dff10735ff804e98 (patch)
tree1ba90299a8ea264e457b7e033d5b3e6e39fa3ec1 /dev-db
parentVersion bump. (diff)
downloadhistorical-663a7ca990f414eb6cf09f81dff10735ff804e98.tar.gz
historical-663a7ca990f414eb6cf09f81dff10735ff804e98.tar.bz2
historical-663a7ca990f414eb6cf09f81dff10735ff804e98.zip
Dropped old version.
Package-Manager: portage-2.1.3_rc5
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/postgresql/ChangeLog7
-rw-r--r--dev-db/postgresql/Manifest27
-rw-r--r--dev-db/postgresql/files/digest-postgresql-8.0.812
-rw-r--r--dev-db/postgresql/files/postgresql-8.0-gentoo.patch39
-rw-r--r--dev-db/postgresql/files/postgresql-8.0-sh.patch34
-rw-r--r--dev-db/postgresql/postgresql-8.0.8.ebuild230
6 files changed, 10 insertions, 339 deletions
diff --git a/dev-db/postgresql/ChangeLog b/dev-db/postgresql/ChangeLog
index d17707d0aa5f..e72770fe6c72 100644
--- a/dev-db/postgresql/ChangeLog
+++ b/dev-db/postgresql/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-db/postgresql
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/ChangeLog,v 1.348 2007/06/11 02:08:28 kumba Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/ChangeLog,v 1.349 2007/06/24 11:57:12 dev-zero Exp $
+
+ 24 Jun 2007; Tiziano Müller <dev-zero@gentoo.org>
+ -files/postgresql-8.0-gentoo.patch, -files/postgresql-8.0-sh.patch,
+ -postgresql-8.0.8.ebuild:
+ Dropped old version.
11 Jun 2007; Joshua Kinard <kumba@gentoo.org> postgresql-8.0.13.ebuild:
Stable on mips, per #158075.
diff --git a/dev-db/postgresql/Manifest b/dev-db/postgresql/Manifest
index 64cf58acd7d2..8ae526737fa4 100644
--- a/dev-db/postgresql/Manifest
+++ b/dev-db/postgresql/Manifest
@@ -22,14 +22,6 @@ AUX postgresql-7.4.17-hppa-testandset.patch 1394 RMD160 8f65f37b7e6cf251c4ab1342
MD5 2bf25091efb109eaf759b63e39b08716 files/postgresql-7.4.17-hppa-testandset.patch 1394
RMD160 8f65f37b7e6cf251c4ab134227570ee9974915a8 files/postgresql-7.4.17-hppa-testandset.patch 1394
SHA256 226f17c6064f53be2908325153b64e5f3b7d3e2275b7bd0f1abac27404b4678e files/postgresql-7.4.17-hppa-testandset.patch 1394
-AUX postgresql-8.0-gentoo.patch 1200 RMD160 0bba8152556896c6bcdb7086d0f6b5dd5b4e8112 SHA1 64544332f2be6cae6c33b630feab224627d10681 SHA256 24c8b74a1b68de000003a4dff9768679fce76561182db1ffaa6723d161bf94bd
-MD5 290d9cac9f228e7479e316b68aadfd7c files/postgresql-8.0-gentoo.patch 1200
-RMD160 0bba8152556896c6bcdb7086d0f6b5dd5b4e8112 files/postgresql-8.0-gentoo.patch 1200
-SHA256 24c8b74a1b68de000003a4dff9768679fce76561182db1ffaa6723d161bf94bd files/postgresql-8.0-gentoo.patch 1200
-AUX postgresql-8.0-sh.patch 618 RMD160 a86d766d7465a3e92705ee5c27261028af07b8de SHA1 c3250ef7a0f1a95179ea6995d4b329e3373344c1 SHA256 55fc732493195fb93838e3074bc552a9acad164298bc2c04b00b3cadf12bf144
-MD5 fa95ac5bd802d7220fe9196de93fbe97 files/postgresql-8.0-sh.patch 618
-RMD160 a86d766d7465a3e92705ee5c27261028af07b8de files/postgresql-8.0-sh.patch 618
-SHA256 55fc732493195fb93838e3074bc552a9acad164298bc2c04b00b3cadf12bf144 files/postgresql-8.0-sh.patch 618
AUX postgresql-8.0.12-gentoo.patch 1690 RMD160 7ffb80d6d8929208e8f200b96828d79b3fdccba7 SHA1 f72f8378ba5574e84183c5003ce13da73dd25dc3 SHA256 f6e53a979737a36934310c011e3377ebd6502cabdfde67e3dfa10f1e62dbda8e
MD5 dfff1d8d131a79d76b48ec9da90c621a files/postgresql-8.0.12-gentoo.patch 1690
RMD160 7ffb80d6d8929208e8f200b96828d79b3fdccba7 files/postgresql-8.0.12-gentoo.patch 1690
@@ -110,26 +102,22 @@ AUX postgresql.init-8.2 1296 RMD160 6d6e25483050ef1f050ad9f2db1e2b90de45fccd SHA
MD5 3cd8ff8b92a56885ecdf76fcab7f7322 files/postgresql.init-8.2 1296
RMD160 6d6e25483050ef1f050ad9f2db1e2b90de45fccd files/postgresql.init-8.2 1296
SHA256 8093531ab1d18eb8ff5231d1357cf5ba6f77bd98debaf9bd8666a8707a3e25e7 files/postgresql.init-8.2 1296
-DIST hier-Pg8.0.1-0.5.4.diff.gz 30662 RMD160 f212f840d06a914fd668398848baef5a269875eb SHA1 c1a1141363c1d3c14025d97993b5367166c85da4 SHA256 e6ec8792d6a33ec5f0031b530d794aa3877397c3f980f11dc958d480d2352eda
DIST postgresql-base-7.3.19.tar.bz2 5691127 RMD160 802bbba70d1368097a74de6b67589ab9645597cc SHA1 09206cd4d9c2b5648756eff70f101cec89365776 SHA256 1804e0424e4444f67acfb98b4e4ad2ede26748d1ddb4a9201cbff7627e394e6a
DIST postgresql-base-7.4.17.tar.bz2 6609512 RMD160 cd5aed1fb45cc42e12cca0cd31174b6726dae97b SHA1 2e413d570ed657f941ca77b1ac00ef1eeecddbcc SHA256 f1b7ff754ccb43d4a3a62a9124b1c8ac215e48e5549e620bfcde59124c6f1bc5
DIST postgresql-base-8.0.12.tar.bz2 7846737 RMD160 e359f574020ef73a1f8f03ebffdc157114b1a454 SHA1 f43277c0463233f7deec434374a3799c372107b6 SHA256 2aec1d7129794fb29546e76bb0594f0c8ee6e37e8a155b201c15504af0740628
DIST postgresql-base-8.0.13.tar.bz2 7848290 RMD160 de34ef01b76d777e9b22bcd16dd29328a11d35cf SHA1 aaee4e481644645f3ba66dd7a66377ef3b22cd9c SHA256 5627ad76e6a6c8eb85c1debe5fce2c12b42611434dabe0fd5763b8a72c7ac49d
-DIST postgresql-base-8.0.8.tar.bz2 7823046 RMD160 2c60dc22f714bc0182051a94c3c1f513b30f574e SHA1 a5e5147497f0c2b548762d232d297b48d6e97d02 SHA256 906d86f2477309b9c2531d12fe720761fdffd73243a83ae31892bd7a0a618183
DIST postgresql-base-8.1.9.tar.bz2 8108212 RMD160 e10c91f95e16cfcdf10235d533855676f8e03ceb SHA1 d6b042dd8ff095f1ced53ab9e6e2ea7b2eea5cfb SHA256 4d11584d545d5f18566bc1bf65409794adceef1825dc4850514238f6b5d3f5fd
DIST postgresql-base-8.2.4.tar.bz2 8549159 RMD160 876105c3cc9d36b66cf9dc9b687d4b6f6b2c3d9c SHA1 9ffc18c520e8829c957089ce46a7f3cd4113b6ac SHA256 8ee5ad364ee21079ce3d726b4abcfa0f318015a331e37e9856a3500fcce74cca
DIST postgresql-docs-7.3.19.tar.bz2 2365906 RMD160 acad805217a5b16badc5ea1c5f88e2780d48e849 SHA1 3af665fdbd6f0ac2b1d1563944401b5e470f25c1 SHA256 0a4910cf776b6be8017eaf68a60c541be59288079fe5696d955bdace22ebde0a
DIST postgresql-docs-7.4.17.tar.bz2 2434028 RMD160 a7470801732f7458c4a6dec6b441b151a2963d88 SHA1 fbb8f744151e0a81c2047b40211a694d62c09bd8 SHA256 855b08821fa06cce280d63c1c57a1a51cc02eee1af0a53ba9a550cc3e66c2696
DIST postgresql-docs-8.0.12.tar.bz2 2266536 RMD160 7716e772348a21b98dcf78d670464b4a0e7fe832 SHA1 be869e88a1abfc7e577335ff0ad90b7040df5ab9 SHA256 04d233b68be2f4549a8a470166e7f6f175c5165722763c515e7230de0efa63d3
DIST postgresql-docs-8.0.13.tar.bz2 2271196 RMD160 fdb9775d082da9c10aebb9394d84c55cfea3f4d7 SHA1 b9d23b6c70fc3dc365a397d8eef3bd38b9ea1820 SHA256 a703a22b11288eb20b5c4f28e34cfeeed11c730cebf51671049ad37ace5e204d
-DIST postgresql-docs-8.0.8.tar.bz2 2260219 RMD160 e3dbde03b553000d5a263a93713c434e88dd4fe1 SHA1 2f845d6740c7ed88d0b9240b274a75d479658f7c SHA256 60a93ee5b2b80f517696328d85f4db24791cb1099d89a0adc375ee740201dc54
DIST postgresql-docs-8.1.9.tar.bz2 2503673 RMD160 68df3beb8c8f2ccdcf0f3875d4d1bacf1ad3017d SHA1 3139df4e62c4f83b68691a46376730f7501c93f1 SHA256 9b1f5d47345067baf9ecc71941707199d055d2f147a206b1b70245a9d5c45b30
DIST postgresql-docs-8.2.4.tar.bz2 2769630 RMD160 bcdb176f509f69141524ababa0f6c9b1a1dd5c3f SHA1 2981a1901d2f4d6f54bf12f847456a634344aa86 SHA256 2bb5bea974a68f562e40104d756ea87dbd831cf8fbd4bb54faca38f23c87de4c
DIST postgresql-opt-7.3.19.tar.bz2 342076 RMD160 7ee1dea5c906d88ba3384ea805368a9dcb8af47d SHA1 0736e5056f1428fc542853975e7fbd1b383f568c SHA256 2735bceed9f0d27befb3ec26b5d76f9272da1cdf2434ceb9d68327494912017f
DIST postgresql-opt-7.4.17.tar.bz2 333513 RMD160 55b7d1c9900f590d778c915d586d8cafd14dc633 SHA1 d2ac133dd0eb3a8faf2e5cbaa275ed575391b658 SHA256 8ff6ca8f726ce39d873d495273c31ceb3d647d75a85a7940b38d38ae7b2eff3e
DIST postgresql-opt-8.0.12.tar.bz2 134790 RMD160 be0d57de5000296bfd5b64685f4d4ef81edea347 SHA1 bd26e2cce6ea7b486e29bc983ee76cfb0551f32b SHA256 ceaf90195860694487918032c19e0a11f991d74c77838cac2ea827d6c85f54da
DIST postgresql-opt-8.0.13.tar.bz2 134769 RMD160 f3fb741c5dcff23045a58baf57f4386099e3c563 SHA1 ccdc23eb12b19c6d88633125b9e0c2feeda5f93e SHA256 9f63fc12ede1a605934cdc462ff45c0e924288284f411ae38dec1c5b6e87ce25
-DIST postgresql-opt-8.0.8.tar.bz2 134600 RMD160 352f07aa25d0dcf1d2e3502f5cec7295c40bc3d5 SHA1 081d0b8d755a49395001b46ca0585c4e2b5ecf4f SHA256 427e82253b068b35e47235a1b78c521c89a9774b80dcc2433946f86220a34926
DIST postgresql-opt-8.1.9.tar.bz2 144737 RMD160 3541c7c2d86e7a9d129d521c3a7bac189758d1a5 SHA1 d3b011edaa9b05295b15692bfe0932b1e37572d2 SHA256 b8c5c3098c53e8c8b722ba8928787eb7478beeb3c6b42adbaad1d8ca24d2e49f
DIST postgresql-opt-8.2.4.tar.bz2 167612 RMD160 aaacb743be86afbfe0f885b7994c15c94fef2413 SHA1 892112c6f348bccce534f87336ea073a0b8ca249 SHA256 5977ca1f0913aa98bc889e49b38768621865959b14e2674e7716d44b7fe9eb35
DIST postgresql-test-7.3.19.tar.bz2 891109 RMD160 4f5ee0f9c4dd86b6ee54a818e25e929c2fc2334f SHA1 7d40accb365cc41091a6fd62d08e2e8d57121678 SHA256 8df80f3fb5f61d61fe6348e037c614b3c0f2114ae5c8a7f3050b5fadde517ba3
@@ -154,10 +142,6 @@ EBUILD postgresql-8.0.13.ebuild 9797 RMD160 7b6e149d8cb4cca266c1d20b1633d11318b6
MD5 feed1170301c005d567dd4bcd1523c3c postgresql-8.0.13.ebuild 9797
RMD160 7b6e149d8cb4cca266c1d20b1633d11318b6fd29 postgresql-8.0.13.ebuild 9797
SHA256 3b43efbeb53b439366b2f66aad203507184251027d7b605421a3d29190cbf182 postgresql-8.0.13.ebuild 9797
-EBUILD postgresql-8.0.8.ebuild 7633 RMD160 88cb665a3b9586a5c0347f8bce37c7d04a3bc417 SHA1 b5e71552efa058469095cbe865c03141539819a8 SHA256 db2ece8127e1f7868727a45207d04d420010e4164c13fbafd59d05cffcd83396
-MD5 34c300f902f3ced5ee0d3400079bf11e postgresql-8.0.8.ebuild 7633
-RMD160 88cb665a3b9586a5c0347f8bce37c7d04a3bc417 postgresql-8.0.8.ebuild 7633
-SHA256 db2ece8127e1f7868727a45207d04d420010e4164c13fbafd59d05cffcd83396 postgresql-8.0.8.ebuild 7633
EBUILD postgresql-8.1.9.ebuild 8698 RMD160 edff0195a5009be6d9ae87ceaaeded459e13a20d SHA1 47aa1937c2829f28ff1f096dacf00488ae63407c SHA256 47e2106282aef279f3caebae112422a78460f2841eb85d98410065c5c111512f
MD5 6b8ebafef93f578beaa2c77b45143519 postgresql-8.1.9.ebuild 8698
RMD160 edff0195a5009be6d9ae87ceaaeded459e13a20d postgresql-8.1.9.ebuild 8698
@@ -166,10 +150,10 @@ EBUILD postgresql-8.2.4-r1.ebuild 8378 RMD160 3b85064651af77c027aafde014d22d624d
MD5 d1e75740d203ed4a5f55aa5c2a363a30 postgresql-8.2.4-r1.ebuild 8378
RMD160 3b85064651af77c027aafde014d22d624df222ee postgresql-8.2.4-r1.ebuild 8378
SHA256 30b8f49a2d4ea8f03478fc85c8db3732dc03adb9b01fe76b9df4495fa2163938 postgresql-8.2.4-r1.ebuild 8378
-MISC ChangeLog 74108 RMD160 e9bde8b185694471daf37efeec39ae82037d1cfb SHA1 7097c83f0aae43dd0b25537970c90593dc588fde SHA256 c3b9b1040d64ba01b26d0872c2fbf41e1b4ce69dd4b31c2c159fdf0dfb8e0cf6
-MD5 d4a91c65184c8a91216336796a78a9ae ChangeLog 74108
-RMD160 e9bde8b185694471daf37efeec39ae82037d1cfb ChangeLog 74108
-SHA256 c3b9b1040d64ba01b26d0872c2fbf41e1b4ce69dd4b31c2c159fdf0dfb8e0cf6 ChangeLog 74108
+MISC ChangeLog 74286 RMD160 baa830f321caac82b25562977e573c5210292b62 SHA1 2cecb2e55a08427281339ffb4fed12cbf679ebbb SHA256 5b9ed0554ca94a4d9892d5cf49f0627d728c6252bda03c8dbbb85ed53c8054ba
+MD5 bee6e447849b45232095fd45b121f02b ChangeLog 74286
+RMD160 baa830f321caac82b25562977e573c5210292b62 ChangeLog 74286
+SHA256 5b9ed0554ca94a4d9892d5cf49f0627d728c6252bda03c8dbbb85ed53c8054ba ChangeLog 74286
MISC metadata.xml 164 RMD160 becfe652663bd65719dd11fa6ffb588b3d5b4ecc SHA1 f67b7ac1c5e6e65ef5a19a589d4759c84918f86c SHA256 7e8e8126bc8701c4a42c7dfed8bb755ac6040fe3d0e3f994d888f8b2b4fa7d8b
MD5 6fe52df942ef15801d56449cd8299604 metadata.xml 164
RMD160 becfe652663bd65719dd11fa6ffb588b3d5b4ecc metadata.xml 164
@@ -186,9 +170,6 @@ SHA256 f114d4173578e4e0304d60e40ad8d406e984bc7a9235a7b7a7d749b0ef2bb47c files/di
MD5 cacd8257d8fc0d524abc6e5f2dfcdb42 files/digest-postgresql-8.0.13 1087
RMD160 8da664bd5067ebe6957f407f6020dc3f4056cc6a files/digest-postgresql-8.0.13 1087
SHA256 b307557da314dd1a813501cfbf1054e18221024f2dc5b8410f62ee37030ffe72 files/digest-postgresql-8.0.13 1087
-MD5 4dd90d685497cfc29caef97a786fbfc6 files/digest-postgresql-8.0.8 1063
-RMD160 c27fbdc33e77854dda297a5466e1854a9e52f0f4 files/digest-postgresql-8.0.8 1063
-SHA256 b47e1cde8cc579e0334c598c8798e6d02bdc0cf4436281949d10cf750ffb6360 files/digest-postgresql-8.0.8 1063
MD5 55e13506c44ed85e1bac4fb9261c6c51 files/digest-postgresql-8.1.9 1075
RMD160 cec4abffe35cc6dc7157421a4899f70534ece108 files/digest-postgresql-8.1.9 1075
SHA256 6093606fa8b0a2a30a482349bdb4c3aa88e29f2f4db3b393ca6fac95d9494390 files/digest-postgresql-8.1.9 1075
diff --git a/dev-db/postgresql/files/digest-postgresql-8.0.8 b/dev-db/postgresql/files/digest-postgresql-8.0.8
deleted file mode 100644
index 254d1f2a9785..000000000000
--- a/dev-db/postgresql/files/digest-postgresql-8.0.8
+++ /dev/null
@@ -1,12 +0,0 @@
-MD5 1d410cfb38253675fee36c8f9ee655e2 hier-Pg8.0.1-0.5.4.diff.gz 30662
-RMD160 f212f840d06a914fd668398848baef5a269875eb hier-Pg8.0.1-0.5.4.diff.gz 30662
-SHA256 e6ec8792d6a33ec5f0031b530d794aa3877397c3f980f11dc958d480d2352eda hier-Pg8.0.1-0.5.4.diff.gz 30662
-MD5 4d84ff56ae9669b250060f9e2e36f788 postgresql-base-8.0.8.tar.bz2 7823046
-RMD160 2c60dc22f714bc0182051a94c3c1f513b30f574e postgresql-base-8.0.8.tar.bz2 7823046
-SHA256 906d86f2477309b9c2531d12fe720761fdffd73243a83ae31892bd7a0a618183 postgresql-base-8.0.8.tar.bz2 7823046
-MD5 ba6fbc2dff64d385f86344daeb51cab1 postgresql-docs-8.0.8.tar.bz2 2260219
-RMD160 e3dbde03b553000d5a263a93713c434e88dd4fe1 postgresql-docs-8.0.8.tar.bz2 2260219
-SHA256 60a93ee5b2b80f517696328d85f4db24791cb1099d89a0adc375ee740201dc54 postgresql-docs-8.0.8.tar.bz2 2260219
-MD5 e129cb889239da6c800a21be00a35da7 postgresql-opt-8.0.8.tar.bz2 134600
-RMD160 352f07aa25d0dcf1d2e3502f5cec7295c40bc3d5 postgresql-opt-8.0.8.tar.bz2 134600
-SHA256 427e82253b068b35e47235a1b78c521c89a9774b80dcc2433946f86220a34926 postgresql-opt-8.0.8.tar.bz2 134600
diff --git a/dev-db/postgresql/files/postgresql-8.0-gentoo.patch b/dev-db/postgresql/files/postgresql-8.0-gentoo.patch
deleted file mode 100644
index d922fabed2e4..000000000000
--- a/dev-db/postgresql/files/postgresql-8.0-gentoo.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-diff -Naru postgresql-8.0.4.org/src/interfaces/Makefile postgresql-8.0.4/src/interfaces/Makefile
---- postgresql-8.0.4.org/src/interfaces/Makefile 2004-04-20 01:33:51.000000000 +0100
-+++ postgresql-8.0.4/src/interfaces/Makefile 2005-05-09 21:59:15.000000000 +0100
-@@ -12,7 +12,7 @@
- top_builddir = ../..
- include $(top_builddir)/src/Makefile.global
-
--DIRS := libpq ecpg
-+DIRS := ecpg
-
- ALLDIRS := $(DIRS)
-
-diff -Naru postgresql-8.0.4.org/src/Makefile postgresql-8.0.4/src/Makefile
---- postgresql-8.0.4.org/src/Makefile 2005-01-13 18:23:21.000000000 +0000
-+++ postgresql-8.0.4/src/Makefile 2005-05-09 21:59:54.000000000 +0100
-@@ -18,7 +18,6 @@
- $(MAKE) -C timezone $@
- $(MAKE) -C backend $@
- $(MAKE) -C backend/utils/mb/conversion_procs $@
-- $(MAKE) -C include $@
- $(MAKE) -C interfaces $@
- $(MAKE) -C bin $@
- $(MAKE) -C pl $@
-@@ -47,7 +46,6 @@
- $(MAKE) -C port $@
- $(MAKE) -C timezone $@
- $(MAKE) -C backend $@
-- $(MAKE) -C include $@
- $(MAKE) -C interfaces $@
- $(MAKE) -C bin $@
- $(MAKE) -C pl $@
-@@ -61,7 +59,6 @@
- -$(MAKE) -C port $@
- -$(MAKE) -C timezone $@
- -$(MAKE) -C backend $@
-- -$(MAKE) -C include $@
- -$(MAKE) -C interfaces $@
- -$(MAKE) -C bin $@
- -$(MAKE) -C pl $@
diff --git a/dev-db/postgresql/files/postgresql-8.0-sh.patch b/dev-db/postgresql/files/postgresql-8.0-sh.patch
deleted file mode 100644
index fc59d52af0e8..000000000000
--- a/dev-db/postgresql/files/postgresql-8.0-sh.patch
+++ /dev/null
@@ -1,34 +0,0 @@
---- src/include/storage/s_lock.h~ 2005-01-01 07:03:42.000000000 +0900
-+++ src/include/storage/s_lock.h 2005-08-17 23:09:19.000000000 +0900
-@@ -239,6 +239,31 @@
- #endif /* __s390__ || __s390x__ */
-
-
-+#if defined(__sh__)
-+#define HAS_TEST_AND_SET
-+
-+typedef unsigned char slock_t;
-+
-+#define TAS(lock) tas(lock)
-+
-+static __inline__ int
-+tas(volatile slock_t *lock)
-+{
-+ register int _res = 1;
-+
-+ __asm__ __volatile__(
-+ "tas.b @%1\n\t"
-+ "movt %0\n\t"
-+ "xor #1,%0"
-+: "=z"(_res)
-+: "r"(lock)
-+: "t","memory");
-+ return _res;
-+}
-+
-+#endif /* __sh__ */
-+
-+
- #if defined(__sparc__)
- #define HAS_TEST_AND_SET
-
diff --git a/dev-db/postgresql/postgresql-8.0.8.ebuild b/dev-db/postgresql/postgresql-8.0.8.ebuild
deleted file mode 100644
index f3bd51c43792..000000000000
--- a/dev-db/postgresql/postgresql-8.0.8.ebuild
+++ /dev/null
@@ -1,230 +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/postgresql/postgresql-8.0.8.ebuild,v 1.14 2007/04/28 22:04:20 tove Exp $
-
-inherit eutils gnuconfig flag-o-matic multilib toolchain-funcs
-
-DESCRIPTION="sophisticated Object-Relational DBMS."
-HOMEPAGE="http://www.postgresql.org/"
-P_HIERPG="hier-Pg8.0.1-0.5.4"
-MY_PV=${PV/_/}
-MY_P=${PN}-${MY_PV}
-SRC_URI="mirror://postgresql/source/v${PV}/${PN}-base-${MY_PV}.tar.bz2
- mirror://postgresql/source/v${PV}/${PN}-opt-${MY_PV}.tar.bz2
- doc? ( mirror://postgresql/source/v${PV}/${PN}-docs-${MY_PV}.tar.bz2 )
- pg-hier? ( http://gppl.moonbone.ru/${P_HIERPG}.diff.gz )"
-
-LICENSE="POSTGRESQL"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86"
-IUSE="ssl nls python tcl tk perl libg++ pam readline xml zlib doc selinux kerberos pg-intdatetime pg-hier"
-
-S=${WORKDIR}/${MY_P}
-DEPEND="~dev-db/libpq-8.0.8
- !>=dev-db/libpq-8.0.9
- sys-devel/autoconf
- >=sys-libs/ncurses-5.2
- >=sys-devel/bison-1.875
- zlib? ( >=sys-libs/zlib-1.1.3 )
- readline? ( >=sys-libs/readline-4.1 )
- tcl? ( >=dev-lang/tcl-8 )
- tk? ( >=dev-lang/tk-8.3.3-r1 )
- perl? ( >=dev-lang/perl-5.6.1-r2 )
- python? ( >=dev-lang/python-2.2 dev-python/egenix-mx-base )
- ssl? ( >=dev-libs/openssl-0.9.6-r1 )
- xml? ( dev-libs/libxml2 dev-libs/libxslt dev-util/pkgconfig )
- nls? ( sys-devel/gettext )
- kerberos? ( virtual/krb5 )"
-RDEPEND="virtual/libc
- =dev-db/libpq-8.0.8*
- zlib? ( >=sys-libs/zlib-1.1.3 )
- tcl? ( >=dev-lang/tcl-8 )
- perl? ( >=dev-lang/perl-5.6.1-r2 )
- python? ( >=dev-lang/python-2.2 )
- selinux? ( sec-policy/selinux-postgresql )
- ssl? ( >=dev-libs/openssl-0.9.6-r1 )
- xml? ( dev-libs/libxml2 dev-libs/libxslt )
- kerberos? ( virtual/krb5 )"
-
-PG_DIR="/var/lib/postgresql"
-
-pkg_setup() {
- if [ -f ${PG_DIR}/data/PG_VERSION ] ; then
- PG_MAJOR=`cat ${PG_DIR}/data/PG_VERSION | cut -f1 -d.`
- PG_MINOR=`cat ${PG_DIR}/data/PG_VERSION | cut -f2 -d.`
- if [ ${PG_MAJOR} -lt 8 ] || [ ${PG_MAJOR} -eq 8 -a ${PG_MINOR} -lt 0 ] ; then
- eerror "Postgres ${MY_PV} cannot upgrade your existing databases, you must"
- eerror "use pg_dump to export your existing databases to a file, and then"
- eerror "pg_restore to import them when you have upgraded completely."
- eerror "You must remove your entire database directory to continue."
- eerror "(database directory = ${PG_DIR})."
- exit 1
- fi
- fi
- enewgroup postgres 70 \
- || die "problem adding group postgres"
- enewuser postgres 70 /bin/bash /var/lib/postgresql postgres \
- || die "problem adding user postgres"
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- use pg-hier && epatch "${WORKDIR}/${P_HIERPG}.diff"
-
- epatch "${FILESDIR}/${PN}-${PV%.*}-gentoo.patch"
- epatch "${FILESDIR}/${PN}-${PV%.*}-sh.patch"
-}
-
-src_compile() {
- filter-flags -ffast-math -feliminate-dwarf2-dups
-
- local myconf
- use tcl && myconf="--with-tcl"
- use python && myconf="$myconf --with-python"
- use perl && myconf="$myconf --with-perl"
- use ssl && myconf="$myconf --with-openssl"
- use nls && myconf="$myconf --enable-nls"
- use libg++ && myconf="$myconf --with-CXX"
- use pam && myconf="$myconf --with-pam"
- use readline || myconf="$myconf --without-readline"
- use zlib || myconf="$myconf --without-zlib"
- use kerberos && myconf="$myconf --with-krb5"
- use pg-intdatetime && myconf="$myconf --enable-integer-datetimes"
-
- # these are the only working CFLAGS I could get on ppc, so locking them
- # down, anything more aggressive fails (i.e. -mcpu or -Ox)
- # Gerk - Nov 26, 2002
- use ppc && CFLAGS="-pipe -fsigned-char"
-
- # Detect mips systems properly
- gnuconfig_update
-
- ./configure --prefix=/usr \
- --mandir=/usr/share/man \
- --host=${CHOST} \
- --with-docdir=/usr/share/doc/${PF} \
- --libdir=/usr/$(get_libdir) \
- --enable-depend \
- $myconf || die
-
- make LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die
- cd contrib
- make LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die
- if use xml; then
- cd xml2
- make LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die
- fi
-}
-
-src_install() {
- if use perl; then
- mv ${S}/src/pl/plperl/Makefile ${S}/src/pl/plperl/Makefile_orig
- sed -e "s:(INST_DYNAMIC) /usr/lib:(INST_DYNAMIC) ${D}/usr/lib:" \
- ${S}/src/pl/plperl/Makefile_orig > ${S}/src/pl/plperl/Makefile
- mv ${S}/src/pl/plperl/GNUmakefile ${S}/src/pl/plperl/GNUmakefile_orig
- sed -e "s:\$(DESTDIR)\$(plperl_installdir):\$(plperl_installdir):" \
- ${S}/src/pl/plperl/GNUmakefile_orig > ${S}/src/pl/plperl/GNUmakefile
- fi
-
- make DESTDIR=${D} LIBDIR=${D}/usr/lib install || die
-# make DESTDIR=${D} install-all-headers || die
- cd ${S}/contrib
- make DESTDIR=${D} LIBDIR=${D}/usr/lib install || die
- if use xml; then
- cd ${S}/contrib/xml2
- make DESTDIR=${D} LIBDIR=${D}/usr/lib install || die
- fi
- cd ${S}
- dodoc README HISTORY COPYRIGHT INSTALL
- dodoc contrib/adddepend/*
-
- exeinto /usr/bin
-
- cd ${S}/doc
- dodoc FAQ* README.* TODO bug.template
- if use doc; then
- cd ${S}/doc
- docinto FAQ_html
- dodoc src/FAQ/*
- docinto sgml
- dodoc src/sgml/*.{sgml,dsl}
- docinto sgml/ref
- dodoc src/sgml/ref/*.sgml
- docinto TODO.detail
- dodoc TODO.detail/*
- fi
-
- cd ${S}
- newinitd "${FILESDIR}/postgresql.init-${PV%.*}" postgresql || die
- newinitd "${FILESDIR}/pg_autovacuum.init-${PV%.*}" pg_autovacuum || die
- dosed "s:___DOCDIR___:/usr/share/doc/${PF}:" /etc/init.d/pg_autovacuum
-
- newconfd "${FILESDIR}/postgresql.conf-${PV%.*}" postgresql || die
- newconfd "${FILESDIR}/pg_autovacuum.conf-${PV%.*}" pg_autovacuum || die
-
- rm ${D}/usr/include/postgres_ext.h
-}
-
-pkg_postinst() {
- einfo "Make sure the postgres user in /etc/passwd has an account setup with /bin/bash as the shell"
-
- if [ ! -f ${PG_DIR}/data/PG_VERSION ] ; then
- einfo ""
- einfo "Execute the following command"
- einfo "emerge --config =${PF}"
- einfo "to setup the initial database environment."
- einfo ""
- fi
-}
-
-pkg_config() {
- einfo "Creating the data directory ..."
- mkdir -p ${PG_DIR}/data
- chown -Rf postgres:postgres ${PG_DIR}
- chmod 700 ${PG_DIR}/data
-
- einfo "Initializing the database ..."
- if [ -f ${PG_DIR}/data/PG_VERSION ] ; then
- eerror "Postgres ${MY_PV} cannot upgrade your existing databases."
- eerror "You must remove your entire database directory to continue."
- eerror "(database directory = ${PG_DIR})."
- exit 1
- else
- local SEM=`sysctl -n kernel.sem | cut -f-3`
- local SEMMNI=`sysctl -n kernel.sem | cut -f4`
- local SEMMNI_MIN=`expr \( ${MAX_CONNECTIONS} + 15 \) / 16`
- local SHMMAX=`sysctl -n kernel.shmmax`
- local SHMMAX_MIN=`expr 250000 + 8200 \* 1000 + 14200 \* 100`
-
- if [ ${SEMMNI} -lt ${SEMMNI_MIN} ]; then
- eerror "The current value of SEMMNI is too low"
- eerror "for postgresql to run ${MAX_CONNECTIONS} connections"
- eerror "Temporary setting this value to ${SEMMNI_MIN} while creating the initial database."
- echo ${SEM} ${SEMMNI_MIN} > /proc/sys/kernel/sem
- fi
- su postgres -c "/usr/bin/initdb --pgdata ${PG_DIR}/data"
-
- if [ ! `sysctl -n kernel.sem | cut -f4` -eq ${SEMMNI} ] ; then
- echo ${SEM} ${SEMMNI} > /proc/sys/kernel/sem
- ewarn "Restoring the SEMMNI value to the previous value"
- ewarn "Please edit the last value of kernel.sem in /etc/sysctl.conf"
- ewarn "and set it to at least ${SEMMNI_MIN}"
- ewarn ""
- ewarn " kernel.sem = ${SEM} ${SEMMNI_MIN}"
- ewarn ""
- fi
-
- if [ ${SHMMAX} -lt ${SHMMAX_MIN} ]; then
- eerror "The current value of SHMMAX is too low for postgresql to run."
- eerror "Please edit /etc/sysctl.conf and set this value to at least ${SHMMAX_MIN}."
- eerror ""
- eerror " kernel.shmmax = ${SHMMAX_MIN}"
- eerror ""
-
- fi
- einfo ""
- einfo "You can use /etc/init.d/postgresql script to run PostgreSQL instead of pg_ctl."
- einfo ""
- fi
-}