summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Fiskerstrand <k_f@gentoo.org>2014-12-07 20:08:00 +0000
committerKristian Fiskerstrand <k_f@gentoo.org>2014-12-07 20:08:00 +0000
commit0ebc3f91c05883976a267fd9c8db578b590292d9 (patch)
treeec2f39a6a94a6022241f9328866dfbc0b07b9cfd /www-apps
parentarm stable, bug #530556 (diff)
downloadgentoo-2-0ebc3f91c05883976a267fd9c8db578b590292d9.tar.gz
gentoo-2-0ebc3f91c05883976a267fd9c8db578b590292d9.tar.bz2
gentoo-2-0ebc3f91c05883976a267fd9c8db578b590292d9.zip
Security cleanup for bug #471096 due to maintainer timeout
(Portage version: 2.2.8-r2/cvs/Linux x86_64, signed Manifest commit with key 0xFC3B17DE05E136A0!)
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/otrs/ChangeLog6
-rw-r--r--www-apps/otrs/otrs-3.2.4.ebuild156
-rw-r--r--www-apps/otrs/otrs-3.2.5.ebuild156
-rw-r--r--www-apps/otrs/otrs-3.2.6.ebuild156
4 files changed, 5 insertions, 469 deletions
diff --git a/www-apps/otrs/ChangeLog b/www-apps/otrs/ChangeLog
index c7fb6dca39e4..f8d9669802d7 100644
--- a/www-apps/otrs/ChangeLog
+++ b/www-apps/otrs/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for www-apps/otrs
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/otrs/ChangeLog,v 1.74 2014/08/25 22:55:00 creffett Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/otrs/ChangeLog,v 1.75 2014/12/07 20:08:00 k_f Exp $
+
+ 07 Dec 2014; Kristian Fiskerstrand <k_f@gentoo.org> -otrs-3.2.4.ebuild,
+ -otrs-3.2.5.ebuild, -otrs-3.2.6.ebuild:
+ Security cleanup for bug #471096 due to maintainer timeout
25 Aug 2014; Christopher Reffett <2011creffett@gentoo.org>
-otrs-3.1.11.ebuild, -otrs-3.1.12.ebuild, -otrs-3.2.3.ebuild:
diff --git a/www-apps/otrs/otrs-3.2.4.ebuild b/www-apps/otrs/otrs-3.2.4.ebuild
deleted file mode 100644
index cafa2a12e0aa..000000000000
--- a/www-apps/otrs/otrs-3.2.4.ebuild
+++ /dev/null
@@ -1,156 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/otrs/otrs-3.2.4.ebuild,v 1.1 2013/04/10 08:19:36 patrick Exp $
-
-EAPI=2
-
-inherit eutils confutils user
-
-DESCRIPTION="OTRS is an Open source Ticket Request System"
-HOMEPAGE="http://otrs.org/"
-SRC_URI="http://ftp.otrs.org/pub/${PN}/${P}.tar.bz2"
-
-LICENSE="AGPL-3"
-KEYWORDS="~amd64 ~x86"
-IUSE="apache2 fastcgi +gd ldap mod_perl +mysql pdf postgres soap"
-SLOT="0"
-#WEBAPP_MANUAL_SLOT="yes"
-
-# FIXME add oracle/mssql/DB2 DB support
-# FIXME #cjk? ( >=dev-perl/Encode-HanExtra-0.23 ) unsatisfied dep
-
-DEPEND=""
-RDEPEND="${DEPEND}
- dev-perl/Authen-SASL
- dev-perl/Crypt-PasswdMD5
- dev-perl/CSS-Minifier
- dev-perl/Date-Pcalc
- mysql? ( dev-perl/DBD-mysql )
- postgres? ( dev-perl/DBD-Pg )
- dev-perl/DBI
- gd? ( dev-perl/GD
- dev-perl/GDTextUtil
- dev-perl/GDGraph )
- dev-perl/IO-Socket-SSL
- >=dev-perl/JavaScript-Minifier-1.05
- >=dev-perl/JSON-2.21
- dev-perl/JSON-XS
- dev-perl/LWP-UserAgent-Determined
- dev-perl/Mail-POP3Client
- dev-perl/MailTools
- >=dev-perl/MIME-tools-5.427
- dev-perl/NetxAP
- dev-perl/Net-IMAP-Simple-SSL
- >dev-perl/Net-DNS-0.60
- dev-perl/Net-SMTP-SSL
- dev-perl/Net-SMTP-TLS
- dev-perl/IO-stringy
- pdf? ( >=dev-perl/PDF-API2-0.73
- virtual/perl-Compress-Raw-Zlib )
- ldap? ( dev-perl/perl-ldap )
- soap? (
- dev-perl/SOAP-Lite
- !=dev-perl/SOAP-Lite-0.711
- !=dev-perl/SOAP-Lite-0.712 )
- dev-perl/Text-CSV
- dev-perl/Text-CSV_XS
- dev-perl/TimeDate
- dev-perl/XML-Parser
-
- virtual/perl-MIME-Base64
- >=virtual/perl-CGI-3.33
- virtual/perl-libnet
- virtual/perl-Digest-MD5
- >=virtual/perl-Digest-SHA-5.48
-
- virtual/mta
-
- apache2? ( mod_perl? ( www-servers/apache:2
- =www-apache/libapreq2-2* www-apache/mod_perl )
- fastcgi? ( || ( www-apache/mod_fcgid www-apache/mod_fastcgi )
- www-servers/apache:2[suexec] )
- !fastcgi? (
- !mod_perl? ( www-servers/apache:2[suexec] ) )
- )
- fastcgi? ( dev-perl/FCGI virtual/httpd-fastcgi )
- !fastcgi? (
- !apache2? ( virtual/httpd-cgi ) )"
-
-# dev-perl/libwww-perl
-
-OTRS_HOME="/var/lib/otrs"
-
-pkg_setup() {
- # The enewuser otrs will fail if apache isn't there, but it's an optional dep
- # so we create the apache user here just in case
- enewgroup apache 81
- enewuser apache 81 -1 /var/www apache
- enewuser otrs -1 -1 ${OTRS_HOME} apache
- confutils_require_any mysql postgres
-}
-
-src_prepare() {
- rm -fr "${S}/scripts"/{auto_*,redhat*,suse*,*.spec} || die
- cp Kernel/Config.pm{.dist,} || die
- # procmail/fetchmail/mailfilter
-# local mailrc=".fetchmailrc .mailfilter .procmailrc"
-# for i in ${mailrc}; do
-# mv ${i}{.dist,} || die
-# done
-# fperms 600 ${mailrc} || die
-# fowners otrs ${mailrc} || die
-
- sed -i -e "s:/opt/otrs:${OTRS_HOME}:g" "${S}"/Kernel/Config.pm \
- || die "sed failed"
-
- grep -lR "/opt" "${S}"/scripts | \
- xargs sed -i -e "s:/opt/otrs:${OTRS_HOME}:g" \
- || die "sed failed"
-
- cd Kernel/Config/ || die
- for i in *.dist; do
- cp ${i} $(basename ${i} .dist) || die
- done
-
- perl "${S}"/bin/otrs.SetPermissions.pl \
- --otrs-user=otrs \
- --web-user=apache \
- --otrs-group=apache \
- --web-group=apache "${S}" \
- || die "Could not set permissions"
-
- echo "CONFIG_PROTECT=\"${OTRS_HOME}/Kernel/Config.pm \
- ${OTRS_HOME}/Kernel/Config/GenericAgent.pm\"" > "${T}/50${PN}"
-
-}
-
-src_install() {
- dodoc CHANGES README* \
- doc/X-OTRS-Headers.txt || die
-
- dodoc doc/manual/en/otrs_admin_book.pdf
-
- insinto "${OTRS_HOME}"
- doins -r .fetchmailrc.dist .mailfilter.dist .procmailrc.dist RELEASE \
- Custom Kernel bin scripts var || die "doins failed"
-
- cat "${S}"/var/cron/*.dist > crontab
- insinto /usr/share/doc/${PF}/
- doins crontab
-
- for a in article log pics/images pics/stats pics sessions spool tmp tmp/CacheFileStorable; do
- keepdir "${OTRS_HOME}/var/${a}"
- done
- doenvd "${T}/50${PN}" || die
-}
-
-# This is too automagic, either einfo telling user or installing to /etc/cron.d/ should be preferred
-pkg_config() {
- einfo "Installing cronjobs"
- crontab -u otrs /usr/share/doc/${PF}/crontab
-}
-
-pkg_postinst() {
- elog "Enable cronjobs with the following command:"
- elog "crontab -u otrs crontab"
-}
diff --git a/www-apps/otrs/otrs-3.2.5.ebuild b/www-apps/otrs/otrs-3.2.5.ebuild
deleted file mode 100644
index b9ce965c7266..000000000000
--- a/www-apps/otrs/otrs-3.2.5.ebuild
+++ /dev/null
@@ -1,156 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/otrs/otrs-3.2.5.ebuild,v 1.1 2013/04/15 06:17:25 patrick Exp $
-
-EAPI=2
-
-inherit eutils confutils user
-
-DESCRIPTION="OTRS is an Open source Ticket Request System"
-HOMEPAGE="http://otrs.org/"
-SRC_URI="http://ftp.otrs.org/pub/${PN}/${P}.tar.bz2"
-
-LICENSE="AGPL-3"
-KEYWORDS="~amd64 ~x86"
-IUSE="apache2 fastcgi +gd ldap mod_perl +mysql pdf postgres soap"
-SLOT="0"
-#WEBAPP_MANUAL_SLOT="yes"
-
-# FIXME add oracle/mssql/DB2 DB support
-# FIXME #cjk? ( >=dev-perl/Encode-HanExtra-0.23 ) unsatisfied dep
-
-DEPEND=""
-RDEPEND="${DEPEND}
- dev-perl/Authen-SASL
- dev-perl/Crypt-PasswdMD5
- dev-perl/CSS-Minifier
- dev-perl/Date-Pcalc
- mysql? ( dev-perl/DBD-mysql )
- postgres? ( dev-perl/DBD-Pg )
- dev-perl/DBI
- gd? ( dev-perl/GD
- dev-perl/GDTextUtil
- dev-perl/GDGraph )
- dev-perl/IO-Socket-SSL
- >=dev-perl/JavaScript-Minifier-1.05
- >=dev-perl/JSON-2.21
- dev-perl/JSON-XS
- dev-perl/LWP-UserAgent-Determined
- dev-perl/Mail-POP3Client
- dev-perl/MailTools
- >=dev-perl/MIME-tools-5.427
- dev-perl/NetxAP
- dev-perl/Net-IMAP-Simple-SSL
- >dev-perl/Net-DNS-0.60
- dev-perl/Net-SMTP-SSL
- dev-perl/Net-SMTP-TLS
- dev-perl/IO-stringy
- pdf? ( >=dev-perl/PDF-API2-0.73
- virtual/perl-Compress-Raw-Zlib )
- ldap? ( dev-perl/perl-ldap )
- soap? (
- dev-perl/SOAP-Lite
- !=dev-perl/SOAP-Lite-0.711
- !=dev-perl/SOAP-Lite-0.712 )
- dev-perl/Text-CSV
- dev-perl/Text-CSV_XS
- dev-perl/TimeDate
- dev-perl/XML-Parser
-
- virtual/perl-MIME-Base64
- >=virtual/perl-CGI-3.33
- virtual/perl-libnet
- virtual/perl-Digest-MD5
- >=virtual/perl-Digest-SHA-5.48
-
- virtual/mta
-
- apache2? ( mod_perl? ( www-servers/apache:2
- =www-apache/libapreq2-2* www-apache/mod_perl )
- fastcgi? ( || ( www-apache/mod_fcgid www-apache/mod_fastcgi )
- www-servers/apache:2[suexec] )
- !fastcgi? (
- !mod_perl? ( www-servers/apache:2[suexec] ) )
- )
- fastcgi? ( dev-perl/FCGI virtual/httpd-fastcgi )
- !fastcgi? (
- !apache2? ( virtual/httpd-cgi ) )"
-
-# dev-perl/libwww-perl
-
-OTRS_HOME="/var/lib/otrs"
-
-pkg_setup() {
- # The enewuser otrs will fail if apache isn't there, but it's an optional dep
- # so we create the apache user here just in case
- enewgroup apache 81
- enewuser apache 81 -1 /var/www apache
- enewuser otrs -1 -1 ${OTRS_HOME} apache
- confutils_require_any mysql postgres
-}
-
-src_prepare() {
- rm -fr "${S}/scripts"/{auto_*,redhat*,suse*,*.spec} || die
- cp Kernel/Config.pm{.dist,} || die
- # procmail/fetchmail/mailfilter
-# local mailrc=".fetchmailrc .mailfilter .procmailrc"
-# for i in ${mailrc}; do
-# mv ${i}{.dist,} || die
-# done
-# fperms 600 ${mailrc} || die
-# fowners otrs ${mailrc} || die
-
- sed -i -e "s:/opt/otrs:${OTRS_HOME}:g" "${S}"/Kernel/Config.pm \
- || die "sed failed"
-
- grep -lR "/opt" "${S}"/scripts | \
- xargs sed -i -e "s:/opt/otrs:${OTRS_HOME}:g" \
- || die "sed failed"
-
- cd Kernel/Config/ || die
- for i in *.dist; do
- cp ${i} $(basename ${i} .dist) || die
- done
-
- perl "${S}"/bin/otrs.SetPermissions.pl \
- --otrs-user=otrs \
- --web-user=apache \
- --otrs-group=apache \
- --web-group=apache "${S}" \
- || die "Could not set permissions"
-
- echo "CONFIG_PROTECT=\"${OTRS_HOME}/Kernel/Config.pm \
- ${OTRS_HOME}/Kernel/Config/GenericAgent.pm\"" > "${T}/50${PN}"
-
-}
-
-src_install() {
- dodoc CHANGES README* \
- doc/X-OTRS-Headers.txt || die
-
- dodoc doc/manual/en/otrs_admin_book.pdf
-
- insinto "${OTRS_HOME}"
- doins -r .fetchmailrc.dist .mailfilter.dist .procmailrc.dist RELEASE \
- Custom Kernel bin scripts var || die "doins failed"
-
- cat "${S}"/var/cron/*.dist > crontab
- insinto /usr/share/doc/${PF}/
- doins crontab
-
- for a in article log pics/images pics/stats pics sessions spool tmp tmp/CacheFileStorable; do
- keepdir "${OTRS_HOME}/var/${a}"
- done
- doenvd "${T}/50${PN}" || die
-}
-
-# This is too automagic, either einfo telling user or installing to /etc/cron.d/ should be preferred
-pkg_config() {
- einfo "Installing cronjobs"
- crontab -u otrs /usr/share/doc/${PF}/crontab
-}
-
-pkg_postinst() {
- elog "Enable cronjobs with the following command:"
- elog "crontab -u otrs crontab"
-}
diff --git a/www-apps/otrs/otrs-3.2.6.ebuild b/www-apps/otrs/otrs-3.2.6.ebuild
deleted file mode 100644
index 2518b3beedbb..000000000000
--- a/www-apps/otrs/otrs-3.2.6.ebuild
+++ /dev/null
@@ -1,156 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/otrs/otrs-3.2.6.ebuild,v 1.1 2013/05/02 04:19:24 patrick Exp $
-
-EAPI=2
-
-inherit eutils confutils user
-
-DESCRIPTION="OTRS is an Open source Ticket Request System"
-HOMEPAGE="http://otrs.org/"
-SRC_URI="http://ftp.otrs.org/pub/${PN}/${P}.tar.bz2"
-
-LICENSE="AGPL-3"
-KEYWORDS="~amd64 ~x86"
-IUSE="apache2 fastcgi +gd ldap mod_perl +mysql pdf postgres soap"
-SLOT="0"
-#WEBAPP_MANUAL_SLOT="yes"
-
-# FIXME add oracle/mssql/DB2 DB support
-# FIXME #cjk? ( >=dev-perl/Encode-HanExtra-0.23 ) unsatisfied dep
-
-DEPEND=""
-RDEPEND="${DEPEND}
- dev-perl/Authen-SASL
- dev-perl/Crypt-PasswdMD5
- dev-perl/CSS-Minifier
- dev-perl/Date-Pcalc
- mysql? ( dev-perl/DBD-mysql )
- postgres? ( dev-perl/DBD-Pg )
- dev-perl/DBI
- gd? ( dev-perl/GD
- dev-perl/GDTextUtil
- dev-perl/GDGraph )
- dev-perl/IO-Socket-SSL
- >=dev-perl/JavaScript-Minifier-1.05
- >=dev-perl/JSON-2.21
- dev-perl/JSON-XS
- dev-perl/LWP-UserAgent-Determined
- dev-perl/Mail-POP3Client
- dev-perl/MailTools
- >=dev-perl/MIME-tools-5.427
- dev-perl/NetxAP
- dev-perl/Net-IMAP-Simple-SSL
- >dev-perl/Net-DNS-0.60
- dev-perl/Net-SMTP-SSL
- dev-perl/Net-SMTP-TLS
- dev-perl/IO-stringy
- pdf? ( >=dev-perl/PDF-API2-0.73
- virtual/perl-Compress-Raw-Zlib )
- ldap? ( dev-perl/perl-ldap )
- soap? (
- dev-perl/SOAP-Lite
- !=dev-perl/SOAP-Lite-0.711
- !=dev-perl/SOAP-Lite-0.712 )
- dev-perl/Text-CSV
- dev-perl/Text-CSV_XS
- dev-perl/TimeDate
- dev-perl/XML-Parser
-
- virtual/perl-MIME-Base64
- >=virtual/perl-CGI-3.33
- virtual/perl-libnet
- virtual/perl-Digest-MD5
- >=virtual/perl-Digest-SHA-5.48
-
- virtual/mta
-
- apache2? ( mod_perl? ( www-servers/apache:2
- =www-apache/libapreq2-2* www-apache/mod_perl )
- fastcgi? ( || ( www-apache/mod_fcgid www-apache/mod_fastcgi )
- www-servers/apache:2[suexec] )
- !fastcgi? (
- !mod_perl? ( www-servers/apache:2[suexec] ) )
- )
- fastcgi? ( dev-perl/FCGI virtual/httpd-fastcgi )
- !fastcgi? (
- !apache2? ( virtual/httpd-cgi ) )"
-
-# dev-perl/libwww-perl
-
-OTRS_HOME="/var/lib/otrs"
-
-pkg_setup() {
- # The enewuser otrs will fail if apache isn't there, but it's an optional dep
- # so we create the apache user here just in case
- enewgroup apache 81
- enewuser apache 81 -1 /var/www apache
- enewuser otrs -1 -1 ${OTRS_HOME} apache
- confutils_require_any mysql postgres
-}
-
-src_prepare() {
- rm -fr "${S}/scripts"/{auto_*,redhat*,suse*,*.spec} || die
- cp Kernel/Config.pm{.dist,} || die
- # procmail/fetchmail/mailfilter
-# local mailrc=".fetchmailrc .mailfilter .procmailrc"
-# for i in ${mailrc}; do
-# mv ${i}{.dist,} || die
-# done
-# fperms 600 ${mailrc} || die
-# fowners otrs ${mailrc} || die
-
- sed -i -e "s:/opt/otrs:${OTRS_HOME}:g" "${S}"/Kernel/Config.pm \
- || die "sed failed"
-
- grep -lR "/opt" "${S}"/scripts | \
- xargs sed -i -e "s:/opt/otrs:${OTRS_HOME}:g" \
- || die "sed failed"
-
- cd Kernel/Config/ || die
- for i in *.dist; do
- cp ${i} $(basename ${i} .dist) || die
- done
-
- perl "${S}"/bin/otrs.SetPermissions.pl \
- --otrs-user=otrs \
- --web-user=apache \
- --otrs-group=apache \
- --web-group=apache "${S}" \
- || die "Could not set permissions"
-
- echo "CONFIG_PROTECT=\"${OTRS_HOME}/Kernel/Config.pm \
- ${OTRS_HOME}/Kernel/Config/GenericAgent.pm\"" > "${T}/50${PN}"
-
-}
-
-src_install() {
- dodoc CHANGES README* \
- doc/X-OTRS-Headers.txt || die
-
- dodoc doc/manual/en/otrs_admin_book.pdf
-
- insinto "${OTRS_HOME}"
- doins -r .fetchmailrc.dist .mailfilter.dist .procmailrc.dist RELEASE \
- Custom Kernel bin scripts var || die "doins failed"
-
- cat "${S}"/var/cron/*.dist > crontab
- insinto /usr/share/doc/${PF}/
- doins crontab
-
- for a in article log pics/images pics/stats pics sessions spool tmp tmp/CacheFileStorable; do
- keepdir "${OTRS_HOME}/var/${a}"
- done
- doenvd "${T}/50${PN}" || die
-}
-
-# This is too automagic, either einfo telling user or installing to /etc/cron.d/ should be preferred
-pkg_config() {
- einfo "Installing cronjobs"
- crontab -u otrs /usr/share/doc/${PF}/crontab
-}
-
-pkg_postinst() {
- elog "Enable cronjobs with the following command:"
- elog "crontab -u otrs crontab"
-}