diff options
author | Tiziano Müller <dev-zero@gentoo.org> | 2006-09-30 21:25:15 +0000 |
---|---|---|
committer | Tiziano Müller <dev-zero@gentoo.org> | 2006-09-30 21:25:15 +0000 |
commit | d5338047a689e6ca95d4cacb6042e243ab97b476 (patch) | |
tree | 2d1481ccc922ac3f1c5eb61e24e37b420634a284 /dev-db/postgis | |
parent | version bump closing security bug #149602 thanks to Janne Pikkarainen (diff) | |
download | historical-d5338047a689e6ca95d4cacb6042e243ab97b476.tar.gz historical-d5338047a689e6ca95d4cacb6042e243ab97b476.tar.bz2 historical-d5338047a689e6ca95d4cacb6042e243ab97b476.zip |
Version bump.
Package-Manager: portage-2.1.2_pre2
Diffstat (limited to 'dev-db/postgis')
-rw-r--r-- | dev-db/postgis/ChangeLog | 5 | ||||
-rw-r--r-- | dev-db/postgis/Manifest | 16 | ||||
-rw-r--r-- | dev-db/postgis/files/digest-postgis-1.1.4 | 3 | ||||
-rw-r--r-- | dev-db/postgis/postgis-1.1.4.ebuild | 99 |
4 files changed, 118 insertions, 5 deletions
diff --git a/dev-db/postgis/ChangeLog b/dev-db/postgis/ChangeLog index 090da7be8974..f57b5b05bd4d 100644 --- a/dev-db/postgis/ChangeLog +++ b/dev-db/postgis/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-db/postgis # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/postgis/ChangeLog,v 1.22 2006/08/01 00:14:18 chtekk Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/postgis/ChangeLog,v 1.23 2006/09/30 21:25:15 dev-zero Exp $ + + 30 Sep 2006; Tiziano Müller <dev-zero@gentoo.org> ChangeLog: + Version bump. 01 Aug 2006; Luca Longinotti <chtekk@gentoo.org> metadata.xml, postgis-0.7.5-r2.ebuild, -postgis-1.0.0_p20050512.ebuild, diff --git a/dev-db/postgis/Manifest b/dev-db/postgis/Manifest index 1b93e54a2236..24190abae6f6 100644 --- a/dev-db/postgis/Manifest +++ b/dev-db/postgis/Manifest @@ -4,6 +4,7 @@ RMD160 182a5127d83b18b48c5b013b63427d485f770e36 files/postgis-1.1.1_doc.patch 71 SHA256 4c0b50b26bc22e09d60ac14ad4639880e1fca7c92eb55929d6dc10c0ec4ce691 files/postgis-1.1.1_doc.patch 711 DIST postgis-0.7.5.tar.gz 336368 RMD160 c45d2e797b358dc0bf81aa2bc70d153bceae7029 SHA1 7b3417790010dd3ce8bbcfc21ccab772107c3527 SHA256 51a9dc56b34b7325aaeb5ca3540d6ce1ae830bf7ce601a827126fb6028452afb DIST postgis-1.1.2.tar.gz 1547680 RMD160 0536e91dc65d3ea8ead7e788f0b0fa1ee81f295a SHA1 e9162c06cee6125011d85dcf37b4a29e78e7e45c SHA256 5d63b1875e6dd8610001ad89d97351eaaf1c3205fc6ec57365e2bb9f6b990fb5 +DIST postgis-1.1.4.tar.gz 1853989 RMD160 8441aba816154ebe743a93334df9df43a15fa87e SHA1 96afd988aeabb92efa0a99b25cc77be29c700dde SHA256 8f7c74c34431120364d623d0d7ef2556ae6c9bb153b9621eb93ebf56a5396018 DIST postgresql-7.3.6.tar.gz 11288430 RMD160 66dc806f0eab410059b9233d62b0744fd8b6192b SHA1 5135ed429a22f8290eece18d67a459716a80871a SHA256 ecfbbdd16c0ace4ae1d10997765cfefc49092d01f9198846ad58a79bd06e23e0 EBUILD postgis-0.7.5-r2.ebuild 1819 RMD160 c88a1807587b16c24e4816da2e756680a379551f SHA1 1b9bb8126c1c73ddb265abd2ec02bfc9998be9f1 SHA256 3e91e8fbe26403397d883009717cf2cb59e17f507351e1446007f9cd2887a092 MD5 566f2c9cd28601b48aed55459bb49689 postgis-0.7.5-r2.ebuild 1819 @@ -13,10 +14,14 @@ EBUILD postgis-1.1.2.ebuild 2722 RMD160 d974bf1b2ed0c23748f42f68dfb0928092cc10e9 MD5 1a5f5dbae554e5e59505490e4a222b7f postgis-1.1.2.ebuild 2722 RMD160 d974bf1b2ed0c23748f42f68dfb0928092cc10e9 postgis-1.1.2.ebuild 2722 SHA256 85b4391834041a4a92c99cad5e52e397c6b113252a5e035deaabf971052f618d postgis-1.1.2.ebuild 2722 -MISC ChangeLog 2619 RMD160 5644d24b402d69be7a6148cc5474b7f3ac38d9be SHA1 416e3d86301be56f7f9a43294c78a44816e3099f SHA256 99c39a0834dd0cdc6c1cf1d156322d57a78407420af4c1cae44ceed2c2a99ead -MD5 eae274fcd09c4ff3872c427f1870ed7a ChangeLog 2619 -RMD160 5644d24b402d69be7a6148cc5474b7f3ac38d9be ChangeLog 2619 -SHA256 99c39a0834dd0cdc6c1cf1d156322d57a78407420af4c1cae44ceed2c2a99ead ChangeLog 2619 +EBUILD postgis-1.1.4.ebuild 2679 RMD160 1cfe4f6bf83c5fcbe9766e42556475d4468fe39f SHA1 7037caa38b9fde2d6f0e2361001d21ef013c27ae SHA256 eba5c5d10286af6bb0efb80c1227a76d4534dbcb41cd62fd18b0ea32bf87f54e +MD5 9e2cad382e3454192c949c5d3a91dd29 postgis-1.1.4.ebuild 2679 +RMD160 1cfe4f6bf83c5fcbe9766e42556475d4468fe39f postgis-1.1.4.ebuild 2679 +SHA256 eba5c5d10286af6bb0efb80c1227a76d4534dbcb41cd62fd18b0ea32bf87f54e postgis-1.1.4.ebuild 2679 +MISC ChangeLog 2702 RMD160 6c03e2d07e26343da87bca2e01273591b237a444 SHA1 639879389914a0029d61456c87e1c990113fe8eb SHA256 8dce3444c77c05e79e40bc21ec065c8736bdda377c668fe74353f4ab272bab88 +MD5 b6616fb9484c50067197697d0b3b6215 ChangeLog 2702 +RMD160 6c03e2d07e26343da87bca2e01273591b237a444 ChangeLog 2702 +SHA256 8dce3444c77c05e79e40bc21ec065c8736bdda377c668fe74353f4ab272bab88 ChangeLog 2702 MISC metadata.xml 164 RMD160 becfe652663bd65719dd11fa6ffb588b3d5b4ecc SHA1 f67b7ac1c5e6e65ef5a19a589d4759c84918f86c SHA256 7e8e8126bc8701c4a42c7dfed8bb755ac6040fe3d0e3f994d888f8b2b4fa7d8b MD5 6fe52df942ef15801d56449cd8299604 metadata.xml 164 RMD160 becfe652663bd65719dd11fa6ffb588b3d5b4ecc metadata.xml 164 @@ -27,3 +32,6 @@ SHA256 dd81ed8116cf975c877b3911f0a4a5c9798261abbf5299e92d71cd1a9e59dc52 files/di MD5 74f40ff3f40001a4f63b8bc558aabd85 files/digest-postgis-1.1.2 244 RMD160 6cb427bacdb15ba68c494b454526a6a5313c0061 files/digest-postgis-1.1.2 244 SHA256 c81dd0e4008794ce0b9f9add53e8c74935f65acce6b9a1dbe9474678aefb9c28 files/digest-postgis-1.1.2 244 +MD5 fe40aee1dd66bf3f650789430be3c26c files/digest-postgis-1.1.4 244 +RMD160 77a1bd4aa3c4ef4aeb58e19229f44a2290e5797c files/digest-postgis-1.1.4 244 +SHA256 ab448b547354b8a5cf4e1eb12d643d1dd8c0427c932f35a8f5ad5c5e64f97b10 files/digest-postgis-1.1.4 244 diff --git a/dev-db/postgis/files/digest-postgis-1.1.4 b/dev-db/postgis/files/digest-postgis-1.1.4 new file mode 100644 index 000000000000..36ba91147cc8 --- /dev/null +++ b/dev-db/postgis/files/digest-postgis-1.1.4 @@ -0,0 +1,3 @@ +MD5 a550dfbe2e20223ed530cd0faf747967 postgis-1.1.4.tar.gz 1853989 +RMD160 8441aba816154ebe743a93334df9df43a15fa87e postgis-1.1.4.tar.gz 1853989 +SHA256 8f7c74c34431120364d623d0d7ef2556ae6c9bb153b9621eb93ebf56a5396018 postgis-1.1.4.tar.gz 1853989 diff --git a/dev-db/postgis/postgis-1.1.4.ebuild b/dev-db/postgis/postgis-1.1.4.ebuild new file mode 100644 index 000000000000..ce3c544e596c --- /dev/null +++ b/dev-db/postgis/postgis-1.1.4.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/postgis/postgis-1.1.4.ebuild,v 1.1 2006/09/30 21:25:15 dev-zero Exp $ + +inherit autotools eutils + +KEYWORDS="~x86 ~ppc ~amd64" + +DESCRIPTION="Geographic Objects for PostgreSQL" +HOMEPAGE="http://postgis.refractions.net" +SRC_URI="http://www.postgis.org/download/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +IUSE="geos proj" + +DEPEND=">=dev-db/postgresql-7.4 + app-text/docbook-xsl-stylesheets + geos? ( sci-libs/geos ) + proj? ( sci-libs/proj ) + sys-devel/autoconf" +RDEPEND=">=dev-db/postgresql-7.4 + geos? ( sci-libs/geos ) + proj? ( sci-libs/proj )" + +RESTRICT="test" + +pkg_setup(){ + tmp="$(portageq match / ${CATEGORY}/${PN})" + if [ "${tmp}" != "${CATEGORY}/${PF}" ]; then + ewarn "Don't forget to dump your databases with -Fc options before" + ewarn "upgrading postgis." + ewarn "(see http://postgis.refractions.net/docs/ch02.html#upgrading)" + ebeep 4 + fi +} + +src_unpack(){ + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${PN}-1.1.1_doc.patch" + + local xslv + xslv="$(ls /usr/share/sgml/docbook/ | grep xsl\-)" + einfo "doc will be build with template :" + einfo "${xslv}" + sed "s:xsl-stylesheets:${xslv}:" -i configure.in || die "xsl-stylesheets pb" + + eautoconf +} + +src_compile(){ + cd "${S}" + + econf \ + --enable-autoconf \ + --datadir=/usr/share/postgresql/contrib/ \ + --libdir=/usr/$(get_libdir)/postgresql/ \ + --with-docdir=/usr/share/doc/${PF}/html/ \ + $(use_with geos) \ + $(use_with proj)\ + || die "Error: econf failed" + + emake || die "Error: emake failed" + + emake docs || die "Unable to build documentation" + cd topology/ + emake || die "Unable to build topology sql file" +} + +src_install(){ + cd "${S}" + dodir /usr/$(get_libdir)/postgresql /usr/share/postgresql/contrib/ + emake DESTDIR="${D}" install || die "emake install failed" + cd "${S}/topology/" + emake DESTDIR="${D}" install || die "emake install topology failed" + + cd "${S}" + dodoc CHANGES CREDITS README.postgis TODO loader/README.* \ + doc/*txt + + docinto topology + dodoc topology/{TODO,README} + + cd "${S}" + emake DESTDIR="${D}" docs-install || die "emake install docs failed" + + dobin ./utils/postgis_restore.pl +} + +pkg_postinst() { + einfo "To create your first postgis database use the following commands :" + einfo " # su postgres" + einfo " # createdb test" + einfo " # createlang plpgsql test" + einfo " # psql -d test -f /usr/share/postgresql/contrib/lwpostgis.sql" + einfo " # psql -d test -f /usr/share/postgresql/contrib/spatial_ref_sys.sql" + einfo "For more informations see : http://www.postgis.org/documentation.php" + einfo "(For french user only see http://postgis.fr)" +} |