mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
www-apps/mod_survey: Remove last-rited pkg
Closes: https://bugs.gentoo.org/697156 Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -537,11 +537,6 @@ app-text/info2html
|
||||
# Removal in 30 days. Bug #697392.
|
||||
app-misc/matew
|
||||
|
||||
# Michał Górny <mgorny@gentoo.org> (2019-11-06)
|
||||
# EAPI 0. Last bumped in 2008. Homepage gone.
|
||||
# Removal in 30 days. Bug #697156.
|
||||
www-apps/mod_survey
|
||||
|
||||
# Michał Górny <mgorny@gentoo.org> (2019-10-20)
|
||||
# Testing version that breaks multiple plugins. Let's keep it masked
|
||||
# until upstream releases fixed versions.
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
DIST modsurvey-3.2.5.tgz 508271 BLAKE2B 63e45151417920c6e678836d3f8fec040c8afc8fabae128526764b69ac9ea5498740a252bfad8975dafcc89bb258a0f0671ed66ff646798a87bf256d69512bd2 SHA512 627b976e3f5bae180456daae2f4544d74abf1d0dafc3b3b43332ef055f4e3a9b66e4f5dfe7b997008237206963c203d518372106cb27073d29966e19271b0149
|
||||
DIST modsurvey-docs-3.2.5.tgz 678356 BLAKE2B 46e2f0653484db96beba406feeeb45483f51fb41f50af288169f9314bd827dc48248882a24225c7169995ae942ab11a1f994e658a2451b336a13dad34f6ed41f SHA512 3511720922668a2d55f675366c9b7e3e9a67fea8abafa39018475ec5734b496e8d6c8ba313e5d2182028ae324aaff84702c09380a1ffb1cbcc14b5cbfbfb4403
|
||||
@@ -1,115 +0,0 @@
|
||||
# -----------------------------------------
|
||||
# Config new for 32x
|
||||
# -----------------------------------------
|
||||
|
||||
PerlSetEnv _SURVEY_ALLOWED_EXPORTS "html,spss,sql,delim,fixed,xml,r"
|
||||
PerlSetEnv _SURVEY_OPTIONAL_EXPORTS "browse,desc,freq,gfreq"
|
||||
PerlSetEnv _SURVEY_EXPORT_html "Survey::Export::HtmlTables"
|
||||
PerlSetEnv _SURVEY_EXPORT_spss "Survey::Export::SPSS"
|
||||
PerlSetEnv _SURVEY_EXPORT_xml "Survey::Export::XML"
|
||||
PerlSetEnv _SURVEY_EXPORT_sql "Survey::Export::SQL"
|
||||
PerlSetEnv _SURVEY_EXPORT_delim "Survey::Export::DelimitedFields"
|
||||
PerlSetEnv _SURVEY_EXPORT_fixed "Survey::Export::FixedColumns"
|
||||
PerlSetEnv _SURVEY_EXPORT_r "Survey::Export::R"
|
||||
PerlSetEnv _SURVEY_EXPORT_browse "Survey::Export::CaseBrowser"
|
||||
PerlSetEnv _SURVEY_EXPORT_desc "Survey::Export::Descriptive"
|
||||
PerlSetEnv _SURVEY_EXPORT_freq "Survey::Export::Frequency"
|
||||
PerlSetEnv _SURVEY_EXPORT_gfreq "Survey::Export::GroupedFrequency"
|
||||
|
||||
# -----------------------------------------
|
||||
# Mail settings
|
||||
# -----------------------------------------
|
||||
|
||||
PerlSetEnv _SURVEY_SMTP_HOST "127.0.0.1"
|
||||
PerlSetEnv _SURVEY_MAIL_ADMIN "root@localhost"
|
||||
|
||||
# -----------------------------------------
|
||||
# Set global survey configuration variables
|
||||
# -----------------------------------------
|
||||
|
||||
# Directory where caches, autodata files and keys should be stored
|
||||
PerlSetEnv _SURVEY_SYSBASE "/var/lib/mod_survey/"
|
||||
|
||||
# Whether parser is allowed to write and read cache at all (overrides
|
||||
# ALLOWCACHE in survey docs if set to 0)
|
||||
PerlSetEnv _SURVEY_PARSERCACHE 1
|
||||
|
||||
# Whether display module is allowed to write and read html output cache
|
||||
# (overrides ALLOWCACHE in survey docs if set to 0)
|
||||
PerlSetEnv _SURVEY_DISPLAYCACHE 1
|
||||
|
||||
# Where mod_survey is installed
|
||||
PerlSetEnv _SURVEY_HOME "/usr/lib/mod_survey/"
|
||||
|
||||
# Where mod_survey web root is
|
||||
PerlSetEnv _SURVEY_ROOT "/var/www/mod_survey/"
|
||||
|
||||
# Which root alias to use for doc links and similar
|
||||
PerlSetEnv _SURVEY_ROOT_ALIAS "/mod_survey/"
|
||||
|
||||
# Whether we have installed on a sensible (unixoid) system
|
||||
PerlSetEnv _SURVEY_SENSIBLE 1
|
||||
|
||||
# -------------------------
|
||||
# Security related settings
|
||||
# -------------------------
|
||||
|
||||
# If you plan to use DBI tables, you must install DBI 1.13 or later and
|
||||
# set the below to 1. Even if you have DBI installed, you may want to
|
||||
# choose to not enable it in Mod_Survey for security reasons.
|
||||
PerlSetEnv _SURVEY_USEDBI 1
|
||||
|
||||
# Whether is is allowed to let system automatically handle data submission
|
||||
# It would a stupid idea to change this unless you know what you are doing.
|
||||
PerlSetEnv _SURVEY_ALLOWAUTO 1
|
||||
|
||||
# Whether submit should protest at illegal characters and ask the user
|
||||
# to go back and correct these. This will be ignored if _SURVEY_USENEWAUTo
|
||||
PerlSetEnv _SURVEY_PROTESTILLEGAL 1
|
||||
|
||||
# Whether to use safe delimiters in the AutoData file. This makes things
|
||||
# safer, but also makes the AutoData file partially binary. Most users
|
||||
# want to enable this.
|
||||
PerlSetEnv _SURVEY_USENEWAUTO 1
|
||||
|
||||
# -------------------------------------
|
||||
# Internationalization related settings
|
||||
# -------------------------------------
|
||||
|
||||
# Where to find language files
|
||||
PerlSetEnv _SURVEY_LANG_DIRECTORY "/usr/lib/mod_survey/Lang/"
|
||||
|
||||
# Which language to use
|
||||
PerlSetEnv _SURVEY_LANG "en"
|
||||
|
||||
# ---------------------------------------------------
|
||||
# Startup check and addition of survey folder to @INC
|
||||
# ---------------------------------------------------
|
||||
|
||||
PerlRequire "/usr/lib/mod_survey/startup.pl"
|
||||
|
||||
# --------------------------------------------------------------------
|
||||
# Add type for survey files. If you change this, please change pattern
|
||||
# for the files tag below too
|
||||
# --------------------------------------------------------------------
|
||||
|
||||
AddType text/html .survey
|
||||
|
||||
# ---------------------------------------------------------------
|
||||
# Match all files containing ".survey" (tail "*" is necessary for
|
||||
# admin part). Enclosure in Directory necessary to avoid clash with
|
||||
# mod_proxy.
|
||||
# ---------------------------------------------------------------
|
||||
|
||||
<Directory "/">
|
||||
<Files *.survey*>
|
||||
SetHandler perl-script
|
||||
PerlHandler Survey::Handler
|
||||
PerlSendHeader "Off"
|
||||
AuthType Basic
|
||||
AuthName Mod_Survey
|
||||
PerlAuthenHandler Apache::AuthAny
|
||||
</Files>
|
||||
</Directory>
|
||||
|
||||
# vim: ts=4 filetype=apache
|
||||
@@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>web-apps@gentoo.org</email>
|
||||
<name>Gentoo Webapps</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
@@ -1,79 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=0
|
||||
|
||||
inherit depend.apache webapp
|
||||
|
||||
WEBAPP_MANUAL_SLOT="yes"
|
||||
SLOT="0"
|
||||
|
||||
MY_PN=${PN/_/}
|
||||
|
||||
DESCRIPTION="XML-defined web questionnaires as a plug-in module using Apache"
|
||||
HOMEPAGE="http://www.modsurvey.org"
|
||||
SRC_URI="http://www.modsurvey.org/download/tarballs/${MY_PN}-${PV}.tgz
|
||||
doc? ( http://www.modsurvey.org/download/tarballs/${MY_PN}-docs-${PV}.tgz )"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="doc mysql nls postgres"
|
||||
|
||||
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 )
|
||||
>=dev-perl/CGI-3.0.0"
|
||||
|
||||
S="${WORKDIR}"/${MY_PN}-${PV}
|
||||
|
||||
pkg_setup() {
|
||||
webapp_pkg_setup
|
||||
has_apache
|
||||
|
||||
if use nls; then
|
||||
ewarn "English will be set as the default language."
|
||||
ewarn "This can be overriden on a per-survey basis, or changed in"
|
||||
ewarn "${APACHE_MODULES_CONFDIR}/98_${PN}.conf"
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
sed -i \
|
||||
-e "s|/usr/local/mod_survey/|${D}/usr/lib/mod_survey/|g" \
|
||||
installer.pl
|
||||
|
||||
rm -f docs/LICENSE.txt
|
||||
use doc && unpack ${MY_PN}-docs-${PV}.tgz
|
||||
}
|
||||
|
||||
src_install() {
|
||||
webapp_src_preinst
|
||||
|
||||
dodir /usr/lib/mod_survey
|
||||
dodir /var/lib/mod_survey
|
||||
|
||||
dodoc README.txt docs/*
|
||||
rm -rf README.txt docs/
|
||||
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r webroot/examples*
|
||||
rm -rf webroot/examples*
|
||||
|
||||
perl installer.pl < /dev/null > /dev/null 2>&1
|
||||
rm -rf "${D}"/usr/lib/mod_survey/{survey.conf,data,docs,webroot}
|
||||
|
||||
insinto "${MY_HTDOCSDIR}"
|
||||
doins -r webroot/{main.css,system}
|
||||
|
||||
insinto "${APACHE_MODULES_CONFDIR}"
|
||||
doins "${FILESDIR}"/98_${PN}.conf
|
||||
|
||||
fowners apache:apache /var/lib/mod_survey
|
||||
|
||||
webapp_src_install
|
||||
}
|
||||
Reference in New Issue
Block a user