parent
3389ab5005
commit
b917ea6e2e
@ -1,15 +1,15 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
AUX bootchart2.init 808 RMD160 8db778671d8e71b7bd18cc04cfd6ecee4379d690 SHA1 33ee2d52a5bb4f95c8f35deef158c607d16a699a SHA256 95862e53b02e2307467a06da8ce977aca5c56d08be1228b881d90955c8eac0d8
|
||||
AUX bootchart2.init 812 RMD160 29b270b9aea19a6442181ea4de905cf8f883f93f SHA1 bf179305a08b36c69ee118c83e2b78647916ac7d SHA256 f5fbe61228b7eeedaf73468e7e46ad60836ea488a7236980940a58e069008e84
|
||||
DIST bootchart2-0.14.2.tar.bz2 775770 RMD160 cdfc030c12060737768cd6f6b55be508a8c517bc SHA1 75b3db97c239e8eee4c3143e35f77505480ec415 SHA256 0a9c9cd4065a1ad4d9e27e36888cf6258bb8c830a719e1a4afbf3b1092e728a4
|
||||
EBUILD bootchart2-0.14.2-r1.ebuild 1820 RMD160 5b23dbe35ce09f14baf7bdbfab0e2b8b10a45d3c SHA1 8755d0ffa93f9fa025f0e09565d83eab97007d52 SHA256 dd4122fb5d1b4e078673b10f1bb8c25d7b1e145666ef27b712b62de714771bb5
|
||||
MISC ChangeLog 767 RMD160 b081a06370f99b9343d7ad3ca08fb7146c86bf62 SHA1 346a4148315dc19edb9c8462358957113681285d SHA256 a2eb4d26251df56f09ad19d5b48960a01bf3dec683b8044c6d7aec575575b110
|
||||
MISC ChangeLog 880 RMD160 81bfc32a5a2236d2378a1554f99b6f9c60a1760b SHA1 e3aa23e4626e775bd0e4abdebb208e284bfcb943 SHA256 f6372c8099d1554224d604061510787327a784ccbd1c70cf3ed35f75bf7693b9
|
||||
MISC metadata.xml 201 RMD160 a6c5202673c0843bd9d1453b78b3f6bddc62a1f7 SHA1 6c7c52b9cddff4c6507fe6e49be0bbd53611d236 SHA256 180014e727f4e39b95bfeadf7661f97f2a0c8fe30658a82cd676fac065c7b3c9
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iEYEAREKAAYFAk97BGYACgkQgAnW8HDreRYEuACbBcsmAV0fTwj6+lV13U0ZnCGu
|
||||
hF8An2EHKng5HKdtbOvk+J2CLsPFWBEd
|
||||
=MwkQ
|
||||
iEYEAREKAAYFAk975hoACgkQgAnW8HDreRYjlgCeIupriJB+R87Pk+sceZjWBp9r
|
||||
AB8AoKGrYjH+/TEXSXf/ZIfkEUaS8ev0
|
||||
=+OsA
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,4 +1,18 @@
|
||||
DIST recorder-1.4.1.tar.bz2 30490 RMD160 6aa8daf7f49b42f7ec7eb4edbb3fdb3f5c4773a8 SHA1 9312216197c4ba2895ea25b1f254679120053e7e SHA256 3ea38f6023ef71c167adb7d465a5b3f94e55ce58891b339dab6d7594705cce21
|
||||
EBUILD recorder-1.4.1.ebuild 1316 RMD160 a9e87d0e4137ed61401f360699b08be7d0b0a96f SHA1 9a27c6b1e6f55f6931dde8b9473ff37bea90c77c SHA256 ef0e6e36417c2924e7b36d947f50c5c4bee1da365000e665dc7ec77bb1b133a0
|
||||
MISC ChangeLog 791 RMD160 d8c1c00d7ce48ddab3295a0cbb236583809e7474 SHA1 3c02d10c7ce00e277851dbac0d476c8c3007ad09 SHA256 d0ea71d459884fbe503ba7a11bd7ce418cb4deaeb64b51d1603f306d774b5437
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA1
|
||||
|
||||
DIST recorder-1.4.5.tar.bz2 32037 RMD160 02937c1da7ff4a04e248106883b92c1ee3c4245d SHA1 2d28c50333790f5af98e1185fc52dac8d046755b SHA256 9bef2520c81c7afaf565080b9e157c8fa454c74e2ab821dc79b899de0aeba010
|
||||
EBUILD recorder-1.4.5.ebuild 1341 RMD160 b80d4a4963ee6c2ef2e59701517ed528ef11f057 SHA1 6a90f8d6e86fff7a8c112dcda9f59594c8de9c8f SHA256 1aa42702ba380a66dc43f49579b516ce914e462e55ba8774362891c9403430e0
|
||||
MISC ChangeLog 1051 RMD160 d6485680a90c2fa8ef173527fc483a574b7bb67a SHA1 db7678b88ea7cd0a86c6d67275358edbc73da627 SHA256 b120ff82edde26f42a765c97636dbfa1e3941b94e6b0745800b2713be87d82df
|
||||
MISC metadata.xml 673 RMD160 5a3f150bb3316bf150252c3e0ad3845a7b6e40ff SHA1 66e54c8f36a43552378b43c50b57f6200080ef79 SHA256 f8f6f9d863d57fb410bce62e8ff1f513d7e2c0ca0065cd164ac9088add54a67a
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iQEcBAEBAgAGBQJPfL8MAAoJEEdUh39IaPFNJNUH/35HZQWRWt6fQ0Dmj463cYlz
|
||||
cF879uTm/iaDECdJlH+GLCjrWHWylz2m1S2lJtNcU4HhfEj7KkSyCzVX50N4s+cf
|
||||
7BGxQ2OswL4DitMSZ4gDDff6sQDjIDrWfZCmPpg0YZNK7YFp+Fy1kh+nolNtiAw/
|
||||
iJ9DtJkIRNNLw+1VK7sBqDweHLpLs+yeKOUIYs7SQqTGkVje1sbO7TrioXeoJu34
|
||||
rTi4NUqKz5uXUOujQ3YwV8Yev41w4Q3amlOS2HqgUQmowf2TF+uI/Hf64D6Nx65i
|
||||
jhHxRf2deT48MP6HU9HevB959HoCulp97+KIzKduUik2Ohnc5XjdjSQnXL6oEek=
|
||||
=OTz3
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,14 +1,15 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA1
|
||||
Hash: SHA512
|
||||
|
||||
DIST ast54unx.shr 1465432 RMD160 4714490507ab673be707d0e09ff965012cd6c3ca SHA1 8511f7cdee0a559779f30d838e55e44585775840 SHA256 6700d393a421c16076d1aad37f171fde6293f1c062ec6a6ee07a884182287736
|
||||
EBUILD astrolog-5.40-r1.ebuild 2190 RMD160 fa83d745dc8f1e43e654443eb5511ad0b3d1e438 SHA1 b81876238dd9c5d2742203cd6d1dcd3dc1884176 SHA256 0725a0459ff058b5c814109fc6a22773f178091e44a0d4a9c1960fb1a07acfe5
|
||||
EBUILD astrolog-5.40.ebuild 2184 RMD160 71bebdd6c9002abb0cc0dc19274da4df70073400 SHA1 572b8df4071d7263af7c2cfc02535a21c26b0b25 SHA256 6bc5381cdb49b25545e9e2c9c13dac40792d970864d04729341f4a3d85cc7b6b
|
||||
MISC ChangeLog 1417 RMD160 840ec3e0bee95b9b215185279ccd4a467d0c4dec SHA1 c7baf84ec7ca55f181c3e8def1533480c6f45fb2 SHA256 5e5340381b93e2cdc764169067444b1383b026798512f7951c642696cdca1565
|
||||
MISC metadata.xml 408 RMD160 e2b9c72b8bf8f4a796b7cee6f4a2d333a95f7cf1 SHA1 71aee6db4caf0f84f0d9e3faa3d11eb1e3a84c89 SHA256 5a385b482245c60322c6e546f993bd7b79d66c6087f8449bdd1ae78c8f45afba
|
||||
MISC ChangeLog 1579 RMD160 f5b25a116261b9b1e1cbc8823ee2ab39a6b7a55f SHA1 6df0fd7f7c31a07744db766e98acf5d0ba652f15 SHA256 00ae01f05d06dc928f8623717bce443fadbfc5afa1abe4a0be0d54fae9ca3b55
|
||||
MISC metadata.xml 412 RMD160 33a7336a7ce3814f4f51093e108c59fdb7788145 SHA1 69d57779a10f103f31cd00a0664b8573a6e749d5 SHA256 f36c4c0b2cecd2139ab0b31bbdb219f16da7cb91e10806709b6b75bc0b27b0f5
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.14 (GNU/Linux)
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iEYEARECAAYFAktLXU0ACgkQ1ycZbhPLE2BrDwCcDVNKrpUwE0KqrnXEofn83T58
|
||||
jUwAnAhR2z+s7G31LJ82z/UlUHhOrvUK
|
||||
=kZw5
|
||||
iEYEAREKAAYFAk97+iIACgkQgAnW8HDreRZDcgCdFpxZTPVMhomSRCu5bz82xyGV
|
||||
wu0AnA+g+kYNlIwGnSLpxhp7OZPYEwDK
|
||||
=fTvQ
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,69 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/astrolog/astrolog-5.40-r1.ebuild,v 1.1 2012/04/04 07:37:00 jlec Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="A many featured astrology chart calculation program"
|
||||
HOMEPAGE="http://www.astrolog.org/astrolog.htm"
|
||||
SRC_URI="http://www.astrolog.org/ftp/ast54unx.shr"
|
||||
|
||||
LICENSE="astrolog"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="X"
|
||||
|
||||
DEPEND="X? ( x11-libs/libX11 )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_unpack() {
|
||||
sh "${DISTDIR}"/ast54unx.shr || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# remove stripping of created binary, dump hardcoded CFLAGS,
|
||||
# respect CC (bug #243606), and CFLAGS (bug #240057)
|
||||
sed \
|
||||
-e 's:strip:#strip:' -e 's:^CFLAGS = :#CFLAGS = :' \
|
||||
-e 's:\tcc :\t$(CC) $(CFLAGS) $(LDFLAGS) :' \
|
||||
-i Makefile || die
|
||||
|
||||
# we use /usr/share/astrolog for config and (optional) ephemeris-data-files
|
||||
sed -i -e "s:~/astrolog:/usr/share/astrolog:g" astrolog.h || die
|
||||
|
||||
# if we use X, we need to add -L/usr/X11R6/lib to compile succesful
|
||||
#use X && sed -i -e "s:-lm -lX11:-lm -lX11 -L/usr/X11R6/lib:g" Makefile
|
||||
|
||||
# if we do NOT use X, we disable it by removing the -lX11 from the Makefile
|
||||
# and remove the "#define X11" and "#define MOUSE" from astrolog.h
|
||||
use X || ( sed -i -e "s:-lm -lX11:-lm:g" Makefile
|
||||
sed -i -e "s:#define X11:/*#define X11:g" astrolog.h
|
||||
sed -i -e "s:#define MOUSE:/*#define MOUSE:g" astrolog.h )
|
||||
|
||||
# any user may have an own astrolog configfile
|
||||
#sed -i -e "s:astrolog.dat:astrolog.dat:g" astrolog.h
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin astrolog
|
||||
dodoc Helpfile.540 README.1ST README.540 Update.540
|
||||
insinto /usr/share/astrolog
|
||||
doins astrolog.dat
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "There is a sample config file /usr/share/astrolog/astrolog.dat"
|
||||
ewarn "astrolog looks in current dir for a file astrolog.dat before"
|
||||
ewarn "using the file in /usr/share/astrolog"
|
||||
ewarn "If you want extended accuracy of astrolog's calculations you"
|
||||
ewarn "can emerge the optional package \"astrolog-ephemeris\" which"
|
||||
ewarn "needs ~4.7 MB additional diskspace for the ephemeris-files"
|
||||
}
|
@ -1,14 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>sci</herd>
|
||||
|
||||
<maintainer>
|
||||
<herd>sci</herd>
|
||||
<maintainer>
|
||||
<email>george@gentoo.org</email>
|
||||
<name>George Shapovalov</name>
|
||||
<description>I'll be taking care of it. But since we need to have a herd in metadata
|
||||
I've put sci there, as it seems the most related one.
|
||||
</description>
|
||||
</maintainer>
|
||||
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,20 @@
|
||||
This used to eval something like:
|
||||
foo=char **
|
||||
so, the first match to * would be executed
|
||||
causing: https://bugs.gentoo.org/show_bug.cgi?id=410695
|
||||
|
||||
remove the quotes and quote again so that we always get foo="char **"
|
||||
|
||||
Index: xdvik-22.85/texk/xdvik/mksedscript
|
||||
===================================================================
|
||||
--- xdvik-22.85.orig/texk/xdvik/mksedscript
|
||||
+++ xdvik-22.85/texk/xdvik/mksedscript
|
||||
@@ -45,7 +45,7 @@ done
|
||||
|
||||
eval "`awk '/^#define/ { printf "mk_%s=%s", $2, $3
|
||||
for (i = 4; i <= NF; i++) printf " %s", $i
|
||||
- print "" }' c-auto.h`"
|
||||
+ print "" }' c-auto.h | tr -d '"' |sed -e 's/\(.*\)=\(.*\)$/\1="\2"/'`"
|
||||
|
||||
# eval "`cat c-auto.h \
|
||||
# | grep '^[ ]*#[ ]*define[ ]' \
|
@ -0,0 +1,256 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgis/postgis-2.0.0.ebuild,v 1.1 2012/04/04 07:42:16 patrick Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils versionator
|
||||
|
||||
DESCRIPTION="Geographic Objects for PostgreSQL"
|
||||
HOMEPAGE="http://postgis.refractions.net"
|
||||
SRC_URI="http://postgis.refractions.net/download/${P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="doc gtk"
|
||||
|
||||
RDEPEND="
|
||||
|| (
|
||||
dev-db/postgresql-server:9.0
|
||||
dev-db/postgresql-server:8.4
|
||||
dev-db/postgresql-server:8.3
|
||||
dev-db/postgresql-server:9.1
|
||||
)
|
||||
dev-libs/libxml2:2
|
||||
>=sci-libs/geos-3.2
|
||||
>=sci-libs/proj-4.6.0
|
||||
sci-libs/gdal
|
||||
gtk? ( x11-libs/gtk+:2 )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
doc? (
|
||||
app-text/docbook-xsl-stylesheets
|
||||
app-text/docbook-xml-dtd:4.3
|
||||
dev-libs/libxslt
|
||||
|| (
|
||||
media-gfx/imagemagick
|
||||
media-gfx/graphicsmagick[imagemagick]
|
||||
)
|
||||
)
|
||||
"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
PGIS="$(get_version_component_range 1-2)"
|
||||
|
||||
# not parallel safe
|
||||
MAKEOPTS+=" -j1"
|
||||
|
||||
pkg_setup() {
|
||||
export PGSLOT="$(postgresql-config show)"
|
||||
if [[ ${PGSLOT//.} < 83 ]] ; then
|
||||
eerror "You must build ${CATEGORY}/${PN} against PostgreSQL 8.3 or higher."
|
||||
eerror "Set an appropriate slot with postgresql-config."
|
||||
die "postgresql-config not set to 8.3 or higher."
|
||||
fi
|
||||
|
||||
if [[ ${PGSLOT//.} > 90 ]] ; then
|
||||
ewarn "You are building ${CATEGORY}/${PN} against a version of PostgreSQL greater than 9.0."
|
||||
ewarn "This is neither supported here nor upstream."
|
||||
ewarn "However, all indicators show that this should work."
|
||||
ewarn "Any bugs you encounter should be reported upstream."
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myargs=""
|
||||
use gtk && myargs+=" --with-gui"
|
||||
econf \
|
||||
${myargs}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Occasionally, builds fail because of out of order compilation.
|
||||
# Otherwise, it'd be fine.
|
||||
emake
|
||||
emake -C topology
|
||||
use doc && emake -C doc
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
emake -C topology DESTDIR="${D}" install
|
||||
|
||||
cd "${S}"
|
||||
dodoc CREDITS TODO loader/README.* doc/*txt
|
||||
|
||||
docinto topology
|
||||
dodoc topology/{TODO,README}
|
||||
dobin ./utils/postgis_restore.pl
|
||||
|
||||
if use doc; then
|
||||
cd doc/html
|
||||
dohtml -r *
|
||||
fi
|
||||
|
||||
insinto /etc
|
||||
doins "${FILESDIR}/postgis_dbs"
|
||||
|
||||
cd "${S}/doc"
|
||||
doman man/*
|
||||
insinto /usr/share/postgresql-${PGSLOT}/contrib/postgis-${PGIS}/
|
||||
doins postgis_comments.sql
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
postgresql-config update
|
||||
|
||||
elog "To finish installing or updating PostGIS edit:"
|
||||
elog " ${EROOT%/}/etc/postgis_dbs"
|
||||
elog
|
||||
elog "Then, run:"
|
||||
elog " emerge --config =${CATEGORY}/${PF}"
|
||||
}
|
||||
|
||||
pkg_config(){
|
||||
source "${EROOT%/}/etc/conf.d/postgresql-${PGSLOT}"
|
||||
source "${EROOT%/}/etc/postgis_dbs"
|
||||
local postgis_path="${EROOT%/}/usr/share/postgresql-${PGSLOT}/contrib/postgis-${PGIS}"
|
||||
|
||||
if [[ -n ${configured} ]] ; then
|
||||
einfon "Password for PostgreSQL user '${pguser}': "
|
||||
read -s PGPASSWORD
|
||||
export PGPASSWORD
|
||||
echo
|
||||
else
|
||||
eerror "You must edit:"
|
||||
eerror " ${EROOT%/}/etc/postgis_dbs"
|
||||
eerror "Before running 'emerge --config =${CATEGORY}/${PF}'"
|
||||
eerror
|
||||
die "Edit postgis_dbs"
|
||||
fi
|
||||
|
||||
# The server we work with must be the same slot we built against.
|
||||
local server_version
|
||||
server_version=$(psql -U ${pguser} -d postgres -p ${PGPORT} \
|
||||
-Aqwtc 'SELECT version()' 2> /dev/null)
|
||||
if [[ $? = 0 ]] ; then
|
||||
server_version=$(echo ${server_version} | cut -d " " -f 2 | \
|
||||
cut -d "." -f -2 | tr -d .)
|
||||
if [[ $server_version != ${PGSLOT//.} ]] ; then
|
||||
unset PGPASSWORD
|
||||
eerror "Server version must be ${PGSLOT}.x"
|
||||
die "Server version isn't ${PGSLOT}.x"
|
||||
fi
|
||||
else
|
||||
unset PGPASSWORD
|
||||
eerror "Is the server running?"
|
||||
die "Couldn't connect to server."
|
||||
fi
|
||||
|
||||
local retval
|
||||
safe_exit() {
|
||||
unset PGPASSWORD
|
||||
sed -e 's/\(configured\)/#\1/' -i "${EROOT%/}/etc/postgis_dbs"
|
||||
eend $retval
|
||||
eerror "All actions could not be performed."
|
||||
eerror "Read above to see what failed."
|
||||
eerror "Once you fix the issue, you'll need to edit:"
|
||||
eerror " ${EROOT%/}/etc/postgis_dbs"
|
||||
eerror "As some things may have succeeded."
|
||||
eerror
|
||||
die "All actions could not be performed"
|
||||
}
|
||||
|
||||
local db
|
||||
for db in ${databases[@]} ; do
|
||||
ebegin "Performing CREATE LANGUAGE on ${db}"
|
||||
createlang -U ${pguser} -p ${PGPORT} plpgsql ${db}
|
||||
retval=$?
|
||||
# In this case, only error code 1 is fatal
|
||||
[[ $retval == 1 ]] && safe_exit || eend 0
|
||||
|
||||
ebegin "Enabling PostGIS on ${db}"
|
||||
psql -q -U ${pguser} -p ${PGPORT} -d ${db} \
|
||||
-f "${postgis_path}/postgis.sql"
|
||||
retval=$?
|
||||
[[ $retval == 0 ]] && eend 0 || safe_exit
|
||||
done
|
||||
|
||||
for db in ${templates[@]} ; do
|
||||
ebegin "Creating template database '${db}'"
|
||||
createdb -p ${PGPORT} -U ${pguser} -O ${pguser} -T ${from_template} \
|
||||
${db} "PostGIS Template"
|
||||
retval=$?
|
||||
[[ $retval != 0 ]] && safe_exit
|
||||
|
||||
psql -q -U ${pguser} -p ${PGPORT} -c \
|
||||
"UPDATE pg_database \
|
||||
SET datistemplate = TRUE, datallowconn = TRUE \
|
||||
WHERE datname = '${db}'"
|
||||
retval=$?
|
||||
[[ $retval != 0 ]] && safe_exit
|
||||
|
||||
createlang -U ${pguser} -p ${PGPORT} plpgsql ${db}
|
||||
retval=$?
|
||||
# In this case, only error code 1 is fatal
|
||||
[[ $retval == 1 ]] && safe_exit
|
||||
|
||||
psql -q -U ${pguser} -p ${PGPORT} -d ${db} \
|
||||
-f "${postgis_path}/postgis.sql"
|
||||
retval=$?
|
||||
[[ $retval == 0 ]] && eend 0 || safe_exit
|
||||
done
|
||||
|
||||
for db in ${epsg_databases[@]} ; do
|
||||
ebegin "Adding EPSG to ${db}"
|
||||
psql -q -U ${pguser} -p ${PGPORT} -d ${db} \
|
||||
-f "${postgis_path}/spatial_ref_sys.sql"
|
||||
retval=$?
|
||||
[[ $retval == 0 ]] && eend 0 || safe_exit
|
||||
done
|
||||
|
||||
for db in ${comment_databases[@]} ; do
|
||||
ebegin "Adding comments on ${db}"
|
||||
psql -q -U ${pguser} -p ${PGPORT} -d ${db} \
|
||||
-f "${postgis_path}/postgis_comments.sql"
|
||||
retval=$?
|
||||
[[ $retval == 0 ]] && eend 0 || safe_exit
|
||||
done
|
||||
|
||||
for db in ${upgrade_from_1_3[@]} ; do
|
||||
ebegin "Upgrading from PostGIS 1.3 to ${PGIS} on ${db}"
|
||||
psql -q -U ${pguser} -p ${PGPORT} -d ${db} \
|
||||
-f "${postgis_path}/postgis_upgrade_13_to_${PGIS//.}.sql"
|
||||
retval=$?
|
||||
[[ $retval == 0 ]] && eend 0 || safe_exit
|
||||
done
|
||||
|
||||
for db in ${upgrade_from_1_4[@]} ; do
|
||||
ebegin "Upgrading from PostGIS 1.4 to ${PGIS} on ${db}"
|
||||
psql -q -U ${pguser} -p ${PGPORT} -d ${db} \
|
||||
-f "${postgis_path}/postgis_upgrade_14_to_${PGIS//.}.sql"
|
||||
retval=$?
|
||||
[[ $retval == 0 ]] && eend 0 || safe_exit
|
||||
done
|
||||
|
||||
for db in ${upgrade_from_1_5[@]} ; do
|
||||
ebegin "Minor upgrade for PostGIS ${PGIS} on ${db}"
|
||||
psql -q -U ${pguser} -p ${PGPORT} -d ${db} \
|
||||
-f "${postgis_path}/postgis_upgrade_${PGIS//.}_minor.sql"
|
||||
retval=$?
|
||||
[[ $retval == 0 ]] && eend 0 || safe_exit
|
||||
done
|
||||
|
||||
# Clean up and make it so the user has to edit postgis_dbs again that
|
||||
# way this script won't step on any toes due to user error.
|
||||
unset PGPASSWORD
|
||||
sed -e 's/\(configured\)/#\1/' -i "${EROOT%/}/etc/postgis_dbs"
|
||||
einfo "PostgreSQL ${PGSLOT} is now PostGIS enabled."
|
||||
einfo
|
||||
einfo "To enable other databases, change the default slot:"
|
||||
einfo " postgresql-config set <slot>"
|
||||
einfo "Then, emerge this package again:"
|
||||
einfo " emerge -av =${CATEGORY}/${PF}"
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libevent/libevent-2.1.1.ebuild,v 1.2 2012/04/04 20:30:35 jer Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils libtool
|
||||
|
||||
MY_P="${P}-alpha"
|
||||
|
||||
DESCRIPTION="A library to execute a function when a specific event occurs on a file descriptor"
|
||||
HOMEPAGE="http://monkey.org/~provos/libevent/"
|
||||
SRC_URI="mirror://sourceforge/levent/files/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="+ssl static-libs test"
|
||||
|
||||
DEPEND="ssl? ( dev-libs/openssl )"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
!<=dev-libs/9libs-1.0
|
||||
"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
elibtoolize
|
||||
|
||||
# don't waste time building tests/samples
|
||||
sed -i \
|
||||
-e 's|^\(SUBDIRS =.*\)sample test\(.*\)$|\1\2|' \
|
||||
Makefile.in || die "sed Makefile.in failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable ssl openssl)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -C test check | tee "${T}"/tests
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "make install failed"
|
||||
dodoc README ChangeLog
|
||||
if ! use static-libs; then
|
||||
rm -f "${D}"/usr/lib*/libevent*.la
|
||||
fi
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/uriparser/uriparser-0.7.7.ebuild,v 1.1 2012/04/04 23:16:24 sping Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Uriparser is a strictly RFC 3986 compliant URI parsing library in C"
|
||||
HOMEPAGE="http://uriparser.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
||||
IUSE="doc qt4 test unicode"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="dev-util/pkgconfig
|
||||
doc? ( >=app-doc/doxygen-1.5.8
|
||||
qt4? ( x11-libs/qt-assistant ) )
|
||||
test? ( >=dev-util/cpptest-1.1.1 )"
|
||||
|
||||
REQUIRED_USE="test? ( unicode )"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-sizedown \
|
||||
$(use_enable test) \
|
||||
--enable-char \
|
||||
$(use_enable unicode wchar_t) \
|
||||
$(use_enable doc) \
|
||||
--disable-dependency-tracking \
|
||||
--docdir=/usr/share/doc/${PF}/
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "make install failed"
|
||||
dodoc AUTHORS ChangeLog THANKS doc/*.txt || die
|
||||
|
||||
if use doc && use qt4; then
|
||||
insinto /usr/share/doc/${PF}/
|
||||
doins doc/*.qch || die # Using doins to avoid dodoc's compression
|
||||
fi
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Class-Method-Modifiers/Class-Method-Modifiers-1.90.0.ebuild,v 1.1 2012/04/04 14:16:07 tove Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=SARTAK
|
||||
MODULE_VERSION=1.09
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="provides Moose-like method modifiers"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~ppc-macos ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=virtual/perl-ExtUtils-MakeMaker-6.36
|
||||
test? (
|
||||
dev-perl/Test-Fatal
|
||||
)
|
||||
"
|
||||
|
||||
SRC_TEST=do
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/DateTime-TimeZone/DateTime-TimeZone-1.460.0.ebuild,v 1.1 2012/04/04 14:27:54 tove Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=DROLSKY
|
||||
MODULE_VERSION=1.46
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Time zone object base class and factory"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="dev-perl/Class-Load
|
||||
>=dev-perl/Params-Validate-0.72
|
||||
>=dev-perl/Class-Singleton-1.03"
|
||||
DEPEND="${RDEPEND}
|
||||
>=virtual/perl-ExtUtils-MakeMaker-6.31
|
||||
test? ( >=virtual/perl-Test-Simple-0.92 )"
|
||||
|
||||
SRC_TEST="do"
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue