diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2015-03-14 00:10:13 +0000 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2015-03-14 00:10:13 +0000 |
commit | 0074afa7b383cfff0e2973d27dac7ab10af3fbbf (patch) | |
tree | 2029be62206635ae8f85a652f12c554fff12d7fc /www-apps | |
parent | Remove old. (diff) | |
download | gentoo-2-0074afa7b383cfff0e2973d27dac7ab10af3fbbf.tar.gz gentoo-2-0074afa7b383cfff0e2973d27dac7ab10af3fbbf.tar.bz2 gentoo-2-0074afa7b383cfff0e2973d27dac7ab10af3fbbf.zip |
Remove old.
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/mod_survey/ChangeLog | 7 | ||||
-rw-r--r-- | www-apps/mod_survey/mod_survey-3.2.4.ebuild | 97 |
2 files changed, 5 insertions, 99 deletions
diff --git a/www-apps/mod_survey/ChangeLog b/www-apps/mod_survey/ChangeLog index cb19f4173e1f..a4a4e8bec90e 100644 --- a/www-apps/mod_survey/ChangeLog +++ b/www-apps/mod_survey/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for www-apps/mod_survey -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/mod_survey/ChangeLog,v 1.8 2014/08/10 20:13:58 slyfox Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/mod_survey/ChangeLog,v 1.9 2015/03/14 00:10:13 mrueg Exp $ + + 14 Mar 2015; Manuel Rüger <mrueg@gentoo.org> -mod_survey-3.2.4.ebuild: + Remove old. 10 Aug 2014; Sergei Trofimovich <slyfox@gentoo.org> mod_survey-3.2.4.ebuild, mod_survey-3.2.5.ebuild: diff --git a/www-apps/mod_survey/mod_survey-3.2.4.ebuild b/www-apps/mod_survey/mod_survey-3.2.4.ebuild deleted file mode 100644 index 5e88f88d0183..000000000000 --- a/www-apps/mod_survey/mod_survey-3.2.4.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/mod_survey/mod_survey-3.2.4.ebuild,v 1.6 2014/08/10 20:13:58 slyfox Exp $ - -inherit webapp - -WEBAPP_MANUAL_SLOT="yes" -SLOT="0" - -DESCRIPTION="XML-defined web questionnaires as a plug-in module using Apache" -HOMEPAGE="http://www.modsurvey.org" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="doc mysql nls postgres" - -# Note: sw is invalid LINGUAS value, it should be sv instead. -# commented out since I have zero interested in sed-ing the code -# for this screw-up. -LANGS="en de fr it" # sv -for i in ${LANGS} ; do - IUSE="${IUSE} linguas_${i}" -done - -MY_PN=${PN/_/} -MY_PV=${PV/_/-} -S=${WORKDIR}/${PN} -SRC_URI="http://www.modsurvey.org/download/tarballs/${MY_PN}-${MY_PV}.tgz - doc? ( http://www.modsurvey.org/download/tarballs/${MY_PN}-docs-${MY_PV}.tgz )" - -DEPEND=">=dev-lang/perl-5.6.1" -RDEPEND="${DEPEND} - >=www-apache/mod_perl-1.99 - postgres? ( >=dev-perl/DBI-1.38 dev-perl/DBD-Pg ) - mysql? ( >=dev-perl/DBI-1.38 dev-perl/DBD-mysql ) - >=virtual/perl-CGI-3.0.0" -LICENSE="GPL-2" - -pkg_setup() { - # unfortunatly, this program only allows for one lang, so only the first - # supported entry in LINGUAS is used - if use nls ; then - for i in ${LINGUAS} ; do - if has linguas_${i} ${IUSE} ; then - if use linguas_${i} ; then - locallang="${i}" - ewarn "Due to the limitations of this package, it will be built" - ewarn "only with ${i} LINGUAS support. If this is not what" - ewarn "you intended, please place the language you desire" - ewarn "as _first_ in the list of LINGUAS in /etc/make.conf" - ewarn - break - fi - else - einfo "LINGUAS=${i} is not supported by ${P}" - shift - fi - done - fi - if [[ -z ${locallang} ]] ; then - use nls && ewarn "None of ${LINGUAS} supported, sorry. Will use English." - locallang="en" - fi - webapp_pkg_setup -} - -src_unpack() { - unpack ${A} - cd "${S}" - rm -f docs/LICENSE.txt - sed "s|\$lang = \"en\"|\$lang = \"${locallang}\"|" -i installer.pl - sed -i "s|/usr/local/mod_survey/|${D}/usr/lib/mod_survey/|g" installer.pl - use doc && unpack ${MY_PN}-docs-${PV}.tgz -} - -src_install() { - webapp_src_preinst - - dodir /usr/lib/mod_survey - dodir /var/lib/mod_survey/data - dodir ${MY_HOSTROOTDIR}/${PN} - - dodoc README.txt docs/* - - perl installer.pl < /dev/null > /dev/null 2>&1 - dosed /usr/lib/mod_survey/survey.conf - dosed "s|/usr/lib/mod_survey/data/|/var/lib/mod_survey/data/|" /usr/lib/mod_survey/survey.conf - - mv "${D}"/usr/lib/mod_survey/survey.conf "${D}"/${MY_HOSTROOTDIR}/${PN} - rm -rf "${D}"/usr/lib/mod_survey/webroot "${D}"/usr/lib/mod_survey/data - - cp -R webroot/* "${D}"/${MY_HTDOCSDIR} - - webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt - webapp_hook_script "${FILESDIR}"/reconfig - webapp_src_install - - fowners apache:apache /var/lib/mod_survey/data -} |