summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmy Winston <amynka@gentoo.org>2016-02-27 13:20:01 +0100
committerAmy Winston <amynka@gentoo.org>2016-02-27 13:20:01 +0100
commit64b32d1e88e7adfb309a96cc940300fb08ecd66c (patch)
tree58bcb6ca5e33b455ba521d8c38c438218323a3d7
parentsci-geosciences/mapserver: version bump 7.0.0 bug #471250 (diff)
downloadgentoo-64b32d1e88e7adfb309a96cc940300fb08ecd66c.tar.gz
gentoo-64b32d1e88e7adfb309a96cc940300fb08ecd66c.tar.bz2
gentoo-64b32d1e88e7adfb309a96cc940300fb08ecd66c.zip
sci-geosciences/mapserver: drop old security bug #497302
Package-Manager: portage-2.2.26
-rw-r--r--sci-geosciences/mapserver/Manifest1
-rw-r--r--sci-geosciences/mapserver/mapserver-6.0.1-r2.ebuild234
-rw-r--r--sci-geosciences/mapserver/mapserver-6.0.1-r3.ebuild221
3 files changed, 0 insertions, 456 deletions
diff --git a/sci-geosciences/mapserver/Manifest b/sci-geosciences/mapserver/Manifest
index c9814362fcf7..735318aeeec3 100644
--- a/sci-geosciences/mapserver/Manifest
+++ b/sci-geosciences/mapserver/Manifest
@@ -1,2 +1 @@
-DIST mapserver-6.0.1.tar.gz 2430064 SHA256 dd6821917aa7030381442f5e092e4f46f44b9deb9425ec92729e5819e9b61d65 SHA512 0fd9da9d6452fbfbaf0c815e6d15309e185119a4ab33cab2f1c6839bfb8c3a75ce6e7e7779b0eb2aa6e80d1a623ca6e0e58a02049b0db0bfa3f7b0f29117d5dc WHIRLPOOL e4846d40b93c22f7b5dcce1c242b4d88db253be9185194b45c4acddf9066d10c2ec2fbe667941dfe15702838690517a0e57719b1937169e55517e43ed1c225b8
DIST mapserver-7.0.0.tar.gz 2495028 SHA256 b306b8111e0718a577ce595640c2d3224f913745af732a1b75f6f5cb3dddce45 SHA512 1e4d15f6c42cdf0b00533e2aa26c1b65f84bdbb3a91538d6addde3aa0e8874deed4969146cf7045858bcab2880e4d7429965660c5985d175bd19ce018ae90652 WHIRLPOOL f18f0679b70da795d0585df2dbcc07fda0f8533c9ef7972280301446e5d521d9f24f0ff482d8e5497954e3b67436f2f9f2576516f6f088dc388046314817a46b
diff --git a/sci-geosciences/mapserver/mapserver-6.0.1-r2.ebuild b/sci-geosciences/mapserver/mapserver-6.0.1-r2.ebuild
deleted file mode 100644
index 6766c1d2e838..000000000000
--- a/sci-geosciences/mapserver/mapserver-6.0.1-r2.ebuild
+++ /dev/null
@@ -1,234 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-MY_P="${PN}-${PV/_/-}"
-
-PHP_EXT_OPTIONAL_USE="php"
-PHP_EXT_NAME="php_mapscript"
-PHP_EXT_S="${WORKDIR}/${MY_P}/mapscript/php/"
-PHP_EXT_SKIP_PHPIZE="no"
-USE_PHP="php5-4 php5-5"
-
-PYTHON_DEPEND="python? 2"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="3.* *-jython"
-PYTHON_MODNAME="mapscript.py"
-
-#USE_RUBY="ruby18 ruby19"
-#RUBY_OPTIONAL="yes"
-
-WEBAPP_MANUAL_SLOT=yes
-
-inherit eutils autotools depend.apache webapp distutils perl-module php-ext-source-r2 multilib # ruby-ng
-
-DESCRIPTION="OpenSource development environment for constructing spatially enabled Internet-web applications"
-HOMEPAGE="http://mapserver.org/"
-SRC_URI="http://download.osgeo.org/mapserver/${MY_P}.tar.gz"
-
-LICENSE="MIT"
-KEYWORDS="~amd64 ~x86"
-SLOT="0"
-IUSE="bidi cairo gdal geos mysql opengl perl php postgis proj python threads tiff xml xslt" # ruby php tcl
-
-REQUIRED_USE="php? ( ^^ ( php_targets_php5-4 php_targets_php5-5 ) )"
-
-RDEPEND="
- !${CATEGORY}/${PN}:${PV}
- dev-libs/expat
- dev-libs/fcgi
- >=media-libs/gd-2.0.12[truetype,jpeg,png,zlib]
- media-libs/giflib
- net-misc/curl
- virtual/jpeg
- virtual/libiconv
- x11-libs/agg
- bidi? ( dev-libs/fribidi )
- cairo? ( x11-libs/cairo )
- gdal? ( >=sci-libs/gdal-1.8.0 )
- geos? ( sci-libs/geos )
- mysql? ( virtual/mysql )
- opengl? (
- media-libs/ftgl
- media-libs/mesa
- )
- perl? ( dev-lang/perl:= )
- postgis? ( dev-db/postgis )
- proj? ( sci-libs/proj net-misc/curl )
- tiff? (
- media-libs/tiff
- sci-libs/libgeotiff
- )
- xml? ( dev-libs/libxml2:2 )
- xslt? ( dev-libs/libxslt[crypt] )
-"
-for i in perl python; do
- SWIG_DEPEND+=" ${i}? ( >=dev-lang/swig-2.0 )"
-done
-DEPEND="${RDEPEND} ${SWIG_DEPEND}"
-unset SWIG_DEPEND
-unset i
-
-need_apache2
-
-S=${WORKDIR}/${MY_P}
-
-_enter_build_dir() {
- [[ -z ${1} ]] && die "Missing path argument"
- local workdir=${1}
- shift
- [[ -z ${1} ]] && die "missing command argument"
-
- echo ">>> Running \"${@}\" in work directory \"${workdir}\""
- pushd "${workdir}" > /dev/null || die "Failed to enter directory"
- ${@} || die
- popd > /dev/null
-}
-
-each_ruby_configure() { ${RUBY} extconf.rb || die ; }
-
-ext-source-r2_src_install() {
- local slot
- for slot in $(php_get_slots); do
- php_init_slot_env ${slot}
- insinto "${EXT_DIR}"
- newins "${PHP_EXT_NAME}.so" "${PHP_EXT_NAME}.so" || die "Unable to install extension"
- done
- php-ext-source-r2_createinifiles
-}
-
-pkg_setup() {
- webapp_pkg_setup
- use perl && perl_set_version
- use python && python_pkg_setup
- #use ruby && ruby-ng_pkg_setup
-}
-
-src_unpack() {
- # unpack A and then copy the php thingies into workdir/php-slot
- php-ext-source-r2_src_unpack
- # HACK: and then remove it and replace by symlink
- for slot in $(php_get_slots); do
- rm -rf "${WORKDIR}/${slot}" || die
- ln -s "${PHP_EXT_S}" "${WORKDIR}/${slot}" || die
- done
-}
-
-src_prepare() {
- epatch "${FILESDIR}/6.0.0_rc1-ldflags.patch" \
- "${FILESDIR}/6.0.0_rc1-bool.patch" \
- "${FILESDIR}/6.0.0_rc1-php_ldflags.patch" \
- "${FILESDIR}/6.1.0-php-5.4.patch"
-
- eautoreconf
-}
-
-src_configure() {
- local myopts
-
- if use gdal && use proj ; then
- myopts+="
- --with-wfs
- --with-wcs
- --with-wfsclient
- --with-wmsclient
- "
- use xml && myopts+=" --with-sos"
- fi
-
- # some scripts require configure time options so place it here
- if use php ; then
- use php_targets_php5-4 && myopts+=" --with-php=${EPREFIX}/usr/$(get_libdir)/php5.4/include/php/"
- use php_targets_php5-5 && myopts+=" --with-php=${EPREFIX}/usr/$(get_libdir)/php5.5/include/php/"
- fi
-
- # sde is ESRI package that you have to buy first
- # oraclespatial needs oracle server for testing/usage
- # note that some options accept just path, they are not on/off switches!
- econf \
- --without-oraclespatial \
- --without-sde \
- --with-libiconv \
- --with-jpeg \
- --with-gd \
- --with-gif="${EPREFIX}/usr/" \
- --with-wms \
- --with-kml \
- --with-curl-config \
- --with-agg-svg-symbols \
- --with-httpd="${APACHE_BIN}" \
- --with-fastcgi \
- $(use_with opengl ogl) \
- $(use_with opengl ftgl) \
- $(use_with proj) \
- $(use_with threads) \
- $(use_with geos) \
- $(use_with gdal) \
- $(use_with gdal ogr) \
- $(use_with postgis) \
- $(use_with mysql) \
- $(use_with xml xml2-config) \
- $(use_with xslt) \
- $(use_with xslt xml-mapfile) \
- $(use_with bidi fribidi-config) \
- $(use_with cairo) \
- ${myopts}
-
- #use ruby && _enter_build_dir "${S}/mapscript/ruby" "ln -s ../mapscript.i ./"
- #use ruby && _enter_build_dir "${S}/mapscript/ruby" "ruby-ng_src_configure"
-}
-
-src_compile() {
- default
- use python && _enter_build_dir "${S}/mapscript/python" "distutils_src_compile"
- use perl && _enter_build_dir "${S}/mapscript/perl" "perl-module_src_prep"
- use perl && _enter_build_dir "${S}/mapscript/perl" "perl-module_src_compile"
- #use php && php-ext-source-r2_src_compile # already compiled by the emake all
- #use ruby && _enter_build_dir "${S}/mapscript/ruby" "ruby-ng_src_compile"
-}
-
-src_install() {
- local step="Installing"
- local extra_dir="fonts tests tests/vera symbols"
- local i
-
- dobin shp2img legend shptree shptreevis shp2img legend shptreetst scalebar \
- sortshp tile4ms msencrypt mapserver-config
-
- dodoc INSTALL README HISTORY.TXT
-
- for i in ${extra_dir}; do
- docinto /usr/share/doc/${PF}/${i}
- dodoc -r ${i}/* || die
- done
-
- use python && _enter_build_dir "${S}/mapscript/python" "distutils_src_install"
- use perl && _enter_build_dir "${S}/mapscript/perl" "perl-module_src_install"
- use perl && _enter_build_dir "${S}/mapscript/perl" "perl_delete_localpod"
- use php && ext-source-r2_src_install
- #use ruby && _enter_build_dir "${S}/mapscript/ruby" "ruby-ng_src_install"
-
- webapp_src_preinst
- exeinto "${MY_CGIBINDIR}"
- doexe "${S}/mapserv"
- webapp_src_install
-}
-
-pkg_preinst() {
- use perl && perl_set_version
-}
-
-pkg_postinst() {
- webapp_pkg_postinst
- use python && distutils_pkg_postinst
-}
-
-pkg_prerm() {
- webapp_pkg_prerm
-}
-
-pkg_postrm() {
- use python && distutils_pkg_postrm
-}
diff --git a/sci-geosciences/mapserver/mapserver-6.0.1-r3.ebuild b/sci-geosciences/mapserver/mapserver-6.0.1-r3.ebuild
deleted file mode 100644
index 5e981d3c3ea5..000000000000
--- a/sci-geosciences/mapserver/mapserver-6.0.1-r3.ebuild
+++ /dev/null
@@ -1,221 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-MY_P="${PN}-${PV/_/-}"
-
-PHP_EXT_OPTIONAL_USE="php"
-PHP_EXT_NAME="php_mapscript"
-PHP_EXT_S="${WORKDIR}/${MY_P}/mapscript/php/"
-PHP_EXT_SKIP_PHPIZE="no"
-USE_PHP="php5-4 php5-5"
-
-PYTHON_COMPAT=( python2_7 )
-
-#USE_RUBY="ruby18 ruby19"
-#RUBY_OPTIONAL="yes"
-
-WEBAPP_MANUAL_SLOT=yes
-
-inherit eutils autotools depend.apache webapp distutils-r1 perl-module php-ext-source-r2 multilib # ruby-ng
-
-DESCRIPTION="OpenSource development environment for constructing spatially enabled Internet-web applications"
-HOMEPAGE="http://mapserver.org/"
-SRC_URI="http://download.osgeo.org/mapserver/${MY_P}.tar.gz"
-
-LICENSE="MIT"
-KEYWORDS="~amd64 ~x86"
-SLOT="0"
-IUSE="bidi cairo gdal geos mysql opengl perl php postgis proj python threads tiff xml xslt" # ruby php tcl
-
-REQUIRED_USE="php? ( ^^ ( php_targets_php5-4 php_targets_php5-5 ) )"
-
-RDEPEND="
- !${CATEGORY}/${PN}:${PV}
- dev-libs/expat
- dev-libs/fcgi
- >=media-libs/gd-2.0.12[truetype,jpeg,png,zlib]
- media-libs/giflib
- net-misc/curl
- virtual/jpeg:=
- virtual/libiconv
- x11-libs/agg
- bidi? ( dev-libs/fribidi )
- cairo? ( x11-libs/cairo )
- gdal? ( >=sci-libs/gdal-1.8.0 )
- geos? ( sci-libs/geos )
- mysql? ( virtual/mysql )
- opengl? (
- media-libs/ftgl
- media-libs/mesa
- )
- perl? ( dev-lang/perl:= )
- postgis? ( dev-db/postgis )
- proj? ( sci-libs/proj net-misc/curl )
- tiff? (
- media-libs/tiff:=
- sci-libs/libgeotiff
- )
- xml? ( dev-libs/libxml2:2 )
- xslt? ( dev-libs/libxslt[crypt] )
-"
-for i in perl python; do
- SWIG_DEPEND+=" ${i}? ( >=dev-lang/swig-2.0 )"
-done
-DEPEND="${RDEPEND} ${SWIG_DEPEND}"
-unset SWIG_DEPEND
-unset i
-
-need_apache2
-
-S=${WORKDIR}/${MY_P}
-
-_enter_build_dir() {
- [[ -z ${1} ]] && die "Missing path argument"
- local workdir=${1}
- shift
- [[ -z ${1} ]] && die "missing command argument"
-
- echo ">>> Running \"${@}\" in work directory \"${workdir}\""
- pushd "${workdir}" > /dev/null || die "Failed to enter directory"
- ${@} || die
- popd > /dev/null
-}
-
-each_ruby_configure() { ${RUBY} extconf.rb || die ; }
-
-ext-source-r2_src_install() {
- local slot
- for slot in $(php_get_slots); do
- php_init_slot_env ${slot}
- insinto "${EXT_DIR}"
- newins "${PHP_EXT_NAME}.so" "${PHP_EXT_NAME}.so" || die "Unable to install extension"
- done
- php-ext-source-r2_createinifiles
-}
-
-pkg_setup() {
- webapp_pkg_setup
- use perl && perl_set_version
- #use ruby && ruby-ng_pkg_setup
-}
-
-src_unpack() {
- # unpack A and then copy the php thingies into workdir/php-slot
- php-ext-source-r2_src_unpack
- # HACK: and then remove it and replace by symlink
- for slot in $(php_get_slots); do
- rm -rf "${WORKDIR}/${slot}" || die
- ln -s "${PHP_EXT_S}" "${WORKDIR}/${slot}" || die
- done
-}
-
-src_prepare() {
- epatch "${FILESDIR}/6.0.0_rc1-ldflags.patch" \
- "${FILESDIR}/6.0.0_rc1-bool.patch" \
- "${FILESDIR}/6.0.0_rc1-php_ldflags.patch" \
- "${FILESDIR}/6.1.0-php-5.4.patch"
-
- eautoreconf
-}
-
-src_configure() {
- local myopts
-
- if use gdal && use proj ; then
- myopts+="
- --with-wfs
- --with-wcs
- --with-wfsclient
- --with-wmsclient
- "
- use xml && myopts+=" --with-sos"
- fi
-
- # some scripts require configure time options so place it here
- if use php ; then
- use php_targets_php5-4 && myopts+=" --with-php=${EPREFIX}/usr/$(get_libdir)/php5.4/include/php/"
- use php_targets_php5-5 && myopts+=" --with-php=${EPREFIX}/usr/$(get_libdir)/php5.5/include/php/"
- fi
-
- # sde is ESRI package that you have to buy first
- # oraclespatial needs oracle server for testing/usage
- # note that some options accept just path, they are not on/off switches!
- econf \
- --without-oraclespatial \
- --without-sde \
- --with-libiconv \
- --with-jpeg \
- --with-gd \
- --with-gif="${EPREFIX}/usr/" \
- --with-wms \
- --with-kml \
- --with-curl-config \
- --with-agg-svg-symbols \
- --with-httpd="${APACHE_BIN}" \
- --with-fastcgi \
- $(use_with opengl ogl) \
- $(use_with opengl ftgl) \
- $(use_with proj) \
- $(use_with threads) \
- $(use_with geos) \
- $(use_with gdal) \
- $(use_with gdal ogr) \
- $(use_with postgis) \
- $(use_with mysql) \
- $(use_with xml xml2-config) \
- $(use_with xslt) \
- $(use_with xslt xml-mapfile) \
- $(use_with bidi fribidi-config) \
- $(use_with cairo) \
- ${myopts}
-
- #use ruby && _enter_build_dir "${S}/mapscript/ruby" "ln -s ../mapscript.i ./"
- #use ruby && _enter_build_dir "${S}/mapscript/ruby" "ruby-ng_src_configure"
-}
-
-src_compile() {
- default
- use python && _enter_build_dir "${S}/mapscript/python" "distutils-r1_src_compile"
- use perl && _enter_build_dir "${S}/mapscript/perl" "perl-module_src_prep"
- use perl && _enter_build_dir "${S}/mapscript/perl" "perl-module_src_compile"
- #use php && php-ext-source-r2_src_compile # already compiled by the emake all
- #use ruby && _enter_build_dir "${S}/mapscript/ruby" "ruby-ng_src_compile"
-}
-
-src_install() {
- local step="Installing"
- local extra_dir="fonts tests tests/vera symbols"
- local i
-
- dobin shp2img legend shptree shptreevis shp2img legend shptreetst scalebar \
- sortshp tile4ms msencrypt mapserver-config
-
- dodoc INSTALL README HISTORY.TXT
-
- for i in ${extra_dir}; do
- docinto /usr/share/doc/${PF}/${i}
- dodoc -r ${i}/* || die
- done
-
- use python && _enter_build_dir "${S}/mapscript/python" "distutils-r1_src_install"
- use perl && _enter_build_dir "${S}/mapscript/perl" "perl-module_src_install"
- use perl && _enter_build_dir "${S}/mapscript/perl" "perl_delete_localpod"
- use php && ext-source-r2_src_install
- #use ruby && _enter_build_dir "${S}/mapscript/ruby" "ruby-ng_src_install"
-
- webapp_src_preinst
- exeinto "${MY_CGIBINDIR}"
- doexe "${S}/mapserv"
- webapp_src_install
-}
-
-pkg_preinst() {
- use perl && perl_set_version
-}
-
-pkg_prerm() {
- webapp_pkg_prerm
-}