* [gentoo-commits] repo/gentoo:master commit in: www-apps/otrs/
@ 2015-08-14 1:07 Chris Reffett
0 siblings, 0 replies; 28+ messages in thread
From: Chris Reffett @ 2015-08-14 1:07 UTC (permalink / raw
To: gentoo-commits
commit: 44f67e0cc933f3c9e01b4df1556c763eef7df9d7
Author: Chris Reffett <creffett <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 14 01:04:45 2015 +0000
Commit: Chris Reffett <creffett <AT> gentoo <DOT> org>
CommitDate: Fri Aug 14 01:07:01 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44f67e0c
www-apps/otrs: Security cleanup wrt bug 473844
Package-Manager: portage-2.2.20.1
www-apps/otrs/Manifest | 1 -
www-apps/otrs/otrs-3.2.7.ebuild | 156 ----------------------------------------
2 files changed, 157 deletions(-)
diff --git a/www-apps/otrs/Manifest b/www-apps/otrs/Manifest
index 94f935a..8f12561 100644
--- a/www-apps/otrs/Manifest
+++ b/www-apps/otrs/Manifest
@@ -1,5 +1,4 @@
DIST otrs-3.2.10.tar.bz2 18773715 SHA256 3c993cbc8fead7d0f3efb2a24a9496c81ba3671d3fd806f30f240fcb0e7ccc21 SHA512 93206cab29683784f58cb2c5f3f4b8824de67ffc9d8f7cabffdabfb79a4c25721306ee8c2b6cb6f46eb79c8b28451b31dd8e6aa748235b6c4f94874bebd8a99d WHIRLPOOL 66ba2f9edea9c80011972f1ae6a8ec904800b24372b164f82f36a50b4bb73326bc3d339aff6bd8a2728f5815c09465a00110ab96e38a38f0acf98df885293cf6
DIST otrs-3.2.12.tar.bz2 18866640 SHA256 f69e4ffc10dc4ecf733a20ed79e1c65e03bbe01e7adb937af8f6ceb47a5b0709 SHA512 f3caceb239d11803b595ab654558d5f25e49b9444ce988d9350064c7a2a1a655fd271cbd1ddb8041e9fb8d11f3297301ba8621cc5f5e56866a7ac5320ff123af WHIRLPOOL a13db5c8720e9a43d6d1d72528459c7f517e2d528425c91e7890fcfeacd2a38f4c35ed2919395b714f4398e24295b51e65bb8b8561761b74131425673d122e13
-DIST otrs-3.2.7.tar.bz2 18505492 SHA256 f47925d8d671577de054c4aabf8de6ca486d45994aa021dac3f59f29acd8e357 SHA512 272005f54fd09ff30e138d270026ddc6632ba3624f1430650637475ef30fb4ac7c11273836d7294a4211eae36a1348997507f87556a931adbd2a0599cbf8f4e3 WHIRLPOOL 1975f33adacef2ba9a2a856be966525114573271f3ad751c8ceb63aeac1626f4b8745a4ea86d526b9282d0b50eb57132e10d1d15af6da67a0bf57c188e0923d9
DIST otrs-3.2.8.tar.bz2 18736484 SHA256 1144b512a880d13d27622f3c0dabd15341ead7b40348d37c543216b30dd66f46 SHA512 ab795342a65bfa426b5a857d4dbf79a356f821eb0d1cc00929a685456855c63b487606cf0775e0378552d1156c39e8b4a688cb66266647143168180845be4e96 WHIRLPOOL 5024902ba15f2aa8b599bab34939017ed984793910c65d7c04e6e205be9bfc7e6cedd5eebca723ad069e36b1ccc4c3045d8b0e86bbcad58ee5adbee950215bde
DIST otrs-3.2.9.tar.bz2 18747419 SHA256 a94edec491d68382d321f8b0464ccaaca1c383b4024799e251226ec524aedf69 SHA512 7c1f6efc5887a92dc1acf864c1f8efbcac50ec2790defbd038fb6b24c6721abae5c7a071b514a3960865304aa767027a9f47fe61bf40cf2e05f5af24a53b5f14 WHIRLPOOL 7fc6096c5f1a6eea1cfafee8cc2b67a344845285ddf3c0c36ad0a70cdc4d7be26d849c9f2308ceae1c74bce0a65d85d57b0a169a9d00b861260673d83a06813c
diff --git a/www-apps/otrs/otrs-3.2.7.ebuild b/www-apps/otrs/otrs-3.2.7.ebuild
deleted file mode 100644
index 6ba2fd1..0000000
--- a/www-apps/otrs/otrs-3.2.7.ebuild
+++ /dev/null
@@ -1,156 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-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
- >=dev-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.md 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"
-}
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/otrs/
@ 2015-08-14 1:11 Chris Reffett
0 siblings, 0 replies; 28+ messages in thread
From: Chris Reffett @ 2015-08-14 1:11 UTC (permalink / raw
To: gentoo-commits
commit: 10c97fba576dfcb640e5e0b0e0152842c21f98c3
Author: Chris Reffett <creffett <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 14 01:10:42 2015 +0000
Commit: Chris Reffett <creffett <AT> gentoo <DOT> org>
CommitDate: Fri Aug 14 01:10:42 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10c97fba
www-apps/otrs: Security cleanup wrt bug 476434
Package-Manager: portage-2.2.20.1
www-apps/otrs/Manifest | 1 -
www-apps/otrs/otrs-3.2.8.ebuild | 156 ----------------------------------------
2 files changed, 157 deletions(-)
diff --git a/www-apps/otrs/Manifest b/www-apps/otrs/Manifest
index 8f12561..d4c2607 100644
--- a/www-apps/otrs/Manifest
+++ b/www-apps/otrs/Manifest
@@ -1,4 +1,3 @@
DIST otrs-3.2.10.tar.bz2 18773715 SHA256 3c993cbc8fead7d0f3efb2a24a9496c81ba3671d3fd806f30f240fcb0e7ccc21 SHA512 93206cab29683784f58cb2c5f3f4b8824de67ffc9d8f7cabffdabfb79a4c25721306ee8c2b6cb6f46eb79c8b28451b31dd8e6aa748235b6c4f94874bebd8a99d WHIRLPOOL 66ba2f9edea9c80011972f1ae6a8ec904800b24372b164f82f36a50b4bb73326bc3d339aff6bd8a2728f5815c09465a00110ab96e38a38f0acf98df885293cf6
DIST otrs-3.2.12.tar.bz2 18866640 SHA256 f69e4ffc10dc4ecf733a20ed79e1c65e03bbe01e7adb937af8f6ceb47a5b0709 SHA512 f3caceb239d11803b595ab654558d5f25e49b9444ce988d9350064c7a2a1a655fd271cbd1ddb8041e9fb8d11f3297301ba8621cc5f5e56866a7ac5320ff123af WHIRLPOOL a13db5c8720e9a43d6d1d72528459c7f517e2d528425c91e7890fcfeacd2a38f4c35ed2919395b714f4398e24295b51e65bb8b8561761b74131425673d122e13
-DIST otrs-3.2.8.tar.bz2 18736484 SHA256 1144b512a880d13d27622f3c0dabd15341ead7b40348d37c543216b30dd66f46 SHA512 ab795342a65bfa426b5a857d4dbf79a356f821eb0d1cc00929a685456855c63b487606cf0775e0378552d1156c39e8b4a688cb66266647143168180845be4e96 WHIRLPOOL 5024902ba15f2aa8b599bab34939017ed984793910c65d7c04e6e205be9bfc7e6cedd5eebca723ad069e36b1ccc4c3045d8b0e86bbcad58ee5adbee950215bde
DIST otrs-3.2.9.tar.bz2 18747419 SHA256 a94edec491d68382d321f8b0464ccaaca1c383b4024799e251226ec524aedf69 SHA512 7c1f6efc5887a92dc1acf864c1f8efbcac50ec2790defbd038fb6b24c6721abae5c7a071b514a3960865304aa767027a9f47fe61bf40cf2e05f5af24a53b5f14 WHIRLPOOL 7fc6096c5f1a6eea1cfafee8cc2b67a344845285ddf3c0c36ad0a70cdc4d7be26d849c9f2308ceae1c74bce0a65d85d57b0a169a9d00b861260673d83a06813c
diff --git a/www-apps/otrs/otrs-3.2.8.ebuild b/www-apps/otrs/otrs-3.2.8.ebuild
deleted file mode 100644
index 6ba2fd1..0000000
--- a/www-apps/otrs/otrs-3.2.8.ebuild
+++ /dev/null
@@ -1,156 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-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
- >=dev-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.md 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"
-}
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/otrs/
@ 2015-10-01 4:58 Ian Delaney
0 siblings, 0 replies; 28+ messages in thread
From: Ian Delaney @ 2015-10-01 4:58 UTC (permalink / raw
To: gentoo-commits
commit: 9c434c48e1aa309c6dcfa504592bff7f6a706a2a
Author: Ian Delaney <idella4 <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 1 04:55:13 2015 +0000
Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org>
CommitDate: Thu Oct 1 04:57:57 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c434c48
www-apps/otrs: Designate new maintainer in metadata, bump to -4.0.12
New maintainer added & supported under the proxy-maintainers herd, testing
and revision carried out thanks also to wraeth, fix to broken .png file
applied according to past bug #466190 supplied by Blackb|rd, all patches and
revisons of ebuilds supplied via bug cited below, releases after -3.2.12
skipped, holding off from beta versions of version 5.x for now, removed old
versions prior to -3.2.12. Finally closes the gentoo bug.
Gentoo-Bug: 506052
Package-Manager: portage-2.2.20.1
www-apps/otrs/Manifest | 3 +-
www-apps/otrs/metadata.xml | 8 +-
www-apps/otrs/otrs-3.2.9.ebuild | 156 ---------------------
.../{otrs-3.2.10.ebuild => otrs-4.0.12.ebuild} | 137 ++++++++----------
4 files changed, 64 insertions(+), 240 deletions(-)
diff --git a/www-apps/otrs/Manifest b/www-apps/otrs/Manifest
index d4c2607..43c63ca 100644
--- a/www-apps/otrs/Manifest
+++ b/www-apps/otrs/Manifest
@@ -1,3 +1,2 @@
-DIST otrs-3.2.10.tar.bz2 18773715 SHA256 3c993cbc8fead7d0f3efb2a24a9496c81ba3671d3fd806f30f240fcb0e7ccc21 SHA512 93206cab29683784f58cb2c5f3f4b8824de67ffc9d8f7cabffdabfb79a4c25721306ee8c2b6cb6f46eb79c8b28451b31dd8e6aa748235b6c4f94874bebd8a99d WHIRLPOOL 66ba2f9edea9c80011972f1ae6a8ec904800b24372b164f82f36a50b4bb73326bc3d339aff6bd8a2728f5815c09465a00110ab96e38a38f0acf98df885293cf6
DIST otrs-3.2.12.tar.bz2 18866640 SHA256 f69e4ffc10dc4ecf733a20ed79e1c65e03bbe01e7adb937af8f6ceb47a5b0709 SHA512 f3caceb239d11803b595ab654558d5f25e49b9444ce988d9350064c7a2a1a655fd271cbd1ddb8041e9fb8d11f3297301ba8621cc5f5e56866a7ac5320ff123af WHIRLPOOL a13db5c8720e9a43d6d1d72528459c7f517e2d528425c91e7890fcfeacd2a38f4c35ed2919395b714f4398e24295b51e65bb8b8561761b74131425673d122e13
-DIST otrs-3.2.9.tar.bz2 18747419 SHA256 a94edec491d68382d321f8b0464ccaaca1c383b4024799e251226ec524aedf69 SHA512 7c1f6efc5887a92dc1acf864c1f8efbcac50ec2790defbd038fb6b24c6721abae5c7a071b514a3960865304aa767027a9f47fe61bf40cf2e05f5af24a53b5f14 WHIRLPOOL 7fc6096c5f1a6eea1cfafee8cc2b67a344845285ddf3c0c36ad0a70cdc4d7be26d849c9f2308ceae1c74bce0a65d85d57b0a169a9d00b861260673d83a06813c
+DIST otrs-4.0.12.tar.bz2 14373765 SHA256 ea0a7b2019c46108f78d2329aa40ec5024405f08b586b6b33a6fca6a31ca9880 SHA512 17177b42c3768d271388fbe7abef033553fa524ba819a903b3f151b560de31183c5a1d975f8eb75f755b8bbf99331808309002f38cf3f469b22eadc8fefaa911 WHIRLPOOL 07b3d81c36e10f89ba1498c8d80845f53fc44feab25903addb8c3e6fa567633ec9938115859b5b81bc74efaa7c65286a1f501d6472737e00c47cfa48b77b2ac4
diff --git a/www-apps/otrs/metadata.xml b/www-apps/otrs/metadata.xml
index 0b797c9..9e582f6 100644
--- a/www-apps/otrs/metadata.xml
+++ b/www-apps/otrs/metadata.xml
@@ -2,8 +2,14 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>web-apps</herd>
+ <herd>proxy-maintainers</herd>
+ <maintainer>
+ <email>lists@xunil.at</email>
+ <name>Stefan Weichinger</name>
+ <description>Proxy maintainer</description>
+ </maintainer>
<use>
<flag name="mod_perl">Provide all dependencies for use of mod_perl instead of cgi</flag>
</use>
</pkgmetadata>
-
+
diff --git a/www-apps/otrs/otrs-3.2.9.ebuild b/www-apps/otrs/otrs-3.2.9.ebuild
deleted file mode 100644
index 6ba2fd1..0000000
--- a/www-apps/otrs/otrs-3.2.9.ebuild
+++ /dev/null
@@ -1,156 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-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
- >=dev-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.md 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.10.ebuild b/www-apps/otrs/otrs-4.0.12.ebuild
similarity index 57%
rename from www-apps/otrs/otrs-3.2.10.ebuild
rename to www-apps/otrs/otrs-4.0.12.ebuild
index 6ba2fd1..ff592b2 100644
--- a/www-apps/otrs/otrs-3.2.10.ebuild
+++ b/www-apps/otrs/otrs-4.0.12.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=2
+EAPI=5
inherit eutils confutils user
@@ -14,69 +14,41 @@ 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
+DEPEND="media-libs/libpng"
+
+RDEPEND="dev-perl/Apache-Reload
+ dev-perl/Archive-Zip
+ dev-perl/DBI
+ dev-perl/IO-Socket-SSL
+ dev-perl/JSON-XS
+ dev-perl/LWP-UserAgent-Determined
+ dev-perl/Mail-POP3Client
+ dev-perl/Mail-IMAPClient
+ >dev-perl/Net-DNS-0.60
+ dev-perl/Template-Toolkit
+ dev-perl/Text-CSV_XS
+ dev-perl/TimeDate
+ dev-perl/XML-Parser
+ dev-perl/YAML-LibYAML
+ apache2? ( mod_perl? ( www-servers/apache:2
+ =www-apache/libapreq2-2* www-apache/mod_perl )
+ !fastcgi? ( !mod_perl? ( www-servers/apache:2[suexec] ) ) )
+ fastcgi? ( dev-perl/FCGI virtual/httpd-fastcgi )
+ !fastcgi? ( !apache2? ( virtual/httpd-cgi ) )
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
+ ldap? ( dev-perl/perl-ldap )
+ mysql? ( dev-perl/DBD-mysql )
+ postgres? ( dev-perl/DBD-Pg )
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
- >=dev-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"
@@ -92,13 +64,10 @@ pkg_setup() {
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
+
+ # Fix broken png files
+ pngfix -q --out=out.png "${S}/var/httpd/htdocs/skins/Agent/default/img/otrs-verify.png"
+ mv -f out.png "${S}/var/httpd/htdocs/skins/Agent/default/img/otrs-verify.png" || die
sed -i -e "s:/opt/otrs:${OTRS_HOME}:g" "${S}"/Kernel/Config.pm \
|| die "sed failed"
@@ -112,45 +81,51 @@ src_prepare() {
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}"
+}
+# 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
}
src_install() {
- dodoc CHANGES.md README* \
- doc/X-OTRS-Headers.txt || die
-
- dodoc doc/manual/en/otrs_admin_book.pdf
+ dodoc CHANGES.md README*
insinto "${OTRS_HOME}"
doins -r .fetchmailrc.dist .mailfilter.dist .procmailrc.dist RELEASE \
- Custom Kernel bin scripts var || die "doins failed"
+ Custom Kernel bin scripts var
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
+ 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
+ doenvd "${T}/50${PN}"
}
pkg_postinst() {
+ einfo "Setting correct permissions ..."
+ /usr/bin/env perl "${OTRS_HOME}"/bin/otrs.SetPermissions.pl "${OTRS_HOME}" \
+ --otrs-user=otrs \
+ --web-group=apache \
+ || die "Could not set permissions"
+
+ einfo "Rebuilding config ..."
+ /usr/bin/env perl "${OTRS_HOME}"/bin/otrs.RebuildConfig.pl \
+ || die "Could not rebuild config"
+
+ einfo "Deleting cache ..."
+ /usr/bin/env perl "${OTRS_HOME}"/bin/otrs.DeleteCache.pl \
+ || die "Could not delete cache"
+
+ einfo "Installation done!"
+
elog "Enable cronjobs with the following command:"
elog "crontab -u otrs crontab"
}
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/otrs/
@ 2015-10-05 8:06 Ian Delaney
0 siblings, 0 replies; 28+ messages in thread
From: Ian Delaney @ 2015-10-05 8:06 UTC (permalink / raw
To: gentoo-commits
commit: 8719c0549974cef1a8f1d7b3362f1be35678b478
Author: Ian Delaney <idella4 <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 5 08:04:44 2015 +0000
Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org>
CommitDate: Mon Oct 5 08:05:53 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8719c054
www-apps/otrs clean old version wrt bug #532912
Package-Manager: portage-2.2.20.1
www-apps/otrs/Manifest | 1 -
www-apps/otrs/otrs-3.2.12.ebuild | 156 ---------------------------------------
2 files changed, 157 deletions(-)
diff --git a/www-apps/otrs/Manifest b/www-apps/otrs/Manifest
index 43c63ca..e4798bd 100644
--- a/www-apps/otrs/Manifest
+++ b/www-apps/otrs/Manifest
@@ -1,2 +1 @@
-DIST otrs-3.2.12.tar.bz2 18866640 SHA256 f69e4ffc10dc4ecf733a20ed79e1c65e03bbe01e7adb937af8f6ceb47a5b0709 SHA512 f3caceb239d11803b595ab654558d5f25e49b9444ce988d9350064c7a2a1a655fd271cbd1ddb8041e9fb8d11f3297301ba8621cc5f5e56866a7ac5320ff123af WHIRLPOOL a13db5c8720e9a43d6d1d72528459c7f517e2d528425c91e7890fcfeacd2a38f4c35ed2919395b714f4398e24295b51e65bb8b8561761b74131425673d122e13
DIST otrs-4.0.12.tar.bz2 14373765 SHA256 ea0a7b2019c46108f78d2329aa40ec5024405f08b586b6b33a6fca6a31ca9880 SHA512 17177b42c3768d271388fbe7abef033553fa524ba819a903b3f151b560de31183c5a1d975f8eb75f755b8bbf99331808309002f38cf3f469b22eadc8fefaa911 WHIRLPOOL 07b3d81c36e10f89ba1498c8d80845f53fc44feab25903addb8c3e6fa567633ec9938115859b5b81bc74efaa7c65286a1f501d6472737e00c47cfa48b77b2ac4
diff --git a/www-apps/otrs/otrs-3.2.12.ebuild b/www-apps/otrs/otrs-3.2.12.ebuild
deleted file mode 100644
index 6ba2fd1..0000000
--- a/www-apps/otrs/otrs-3.2.12.ebuild
+++ /dev/null
@@ -1,156 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-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
- >=dev-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.md 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"
-}
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/otrs/
@ 2015-10-05 8:13 Ian Delaney
0 siblings, 0 replies; 28+ messages in thread
From: Ian Delaney @ 2015-10-05 8:13 UTC (permalink / raw
To: gentoo-commits
commit: 3fd99ec402c021a9ba1c88ee75fc4be9cb82d979
Author: Ian Delaney <idella4 <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 5 08:13:04 2015 +0000
Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org>
CommitDate: Mon Oct 5 08:13:04 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fd99ec4
www-apps/otrs: bump to -4.0.13 from bug #562242
Package-Manager: portage-2.2.20.1
www-apps/otrs/Manifest | 1 +
www-apps/otrs/otrs-4.0.13.ebuild | 131 +++++++++++++++++++++++++++++++++++++++
2 files changed, 132 insertions(+)
diff --git a/www-apps/otrs/Manifest b/www-apps/otrs/Manifest
index e4798bd..70bc366 100644
--- a/www-apps/otrs/Manifest
+++ b/www-apps/otrs/Manifest
@@ -1 +1,2 @@
DIST otrs-4.0.12.tar.bz2 14373765 SHA256 ea0a7b2019c46108f78d2329aa40ec5024405f08b586b6b33a6fca6a31ca9880 SHA512 17177b42c3768d271388fbe7abef033553fa524ba819a903b3f151b560de31183c5a1d975f8eb75f755b8bbf99331808309002f38cf3f469b22eadc8fefaa911 WHIRLPOOL 07b3d81c36e10f89ba1498c8d80845f53fc44feab25903addb8c3e6fa567633ec9938115859b5b81bc74efaa7c65286a1f501d6472737e00c47cfa48b77b2ac4
+DIST otrs-4.0.13.tar.bz2 14376200 SHA256 1c663c264043b65369f5608f9c5fcfc90938147053b14581db306df0c5e3e9ff SHA512 fb6156385643c838f46f80eeb8db2777ed426bca10df0ea94654df80b84e6dfd320a1ef6e43312edfcdb1a735e592cc49707a9507a47f2a5e3f5c80d9e0ccdc4 WHIRLPOOL ff8654485bf69ea08abd97e08dcaf68633f16242afc9beb169b0682a2155e4e4e89f5776d36eaaf15ab2ecde0717fb9c85676a3120ee01a21d3c70068605d669
diff --git a/www-apps/otrs/otrs-4.0.13.ebuild b/www-apps/otrs/otrs-4.0.13.ebuild
new file mode 100644
index 0000000..ff592b2
--- /dev/null
+++ b/www-apps/otrs/otrs-4.0.13.ebuild
@@ -0,0 +1,131 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+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"
+
+DEPEND="media-libs/libpng"
+
+RDEPEND="dev-perl/Apache-Reload
+ dev-perl/Archive-Zip
+ dev-perl/DBI
+ dev-perl/IO-Socket-SSL
+ dev-perl/JSON-XS
+ dev-perl/LWP-UserAgent-Determined
+ dev-perl/Mail-POP3Client
+ dev-perl/Mail-IMAPClient
+ >dev-perl/Net-DNS-0.60
+ dev-perl/Template-Toolkit
+ dev-perl/Text-CSV_XS
+ dev-perl/TimeDate
+ dev-perl/XML-Parser
+ dev-perl/YAML-LibYAML
+ apache2? ( mod_perl? ( www-servers/apache:2
+ =www-apache/libapreq2-2* www-apache/mod_perl )
+ !fastcgi? ( !mod_perl? ( www-servers/apache:2[suexec] ) ) )
+ fastcgi? ( dev-perl/FCGI virtual/httpd-fastcgi )
+ !fastcgi? ( !apache2? ( virtual/httpd-cgi ) )
+ gd? ( dev-perl/GD
+ dev-perl/GDTextUtil
+ dev-perl/GDGraph )
+ ldap? ( dev-perl/perl-ldap )
+ mysql? ( dev-perl/DBD-mysql )
+ postgres? ( dev-perl/DBD-Pg )
+ pdf? ( >=dev-perl/PDF-API2-0.73
+ virtual/perl-Compress-Raw-Zlib )
+ soap? (
+ dev-perl/SOAP-Lite
+ !=dev-perl/SOAP-Lite-0.711
+ !=dev-perl/SOAP-Lite-0.712 )
+ "
+
+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
+
+ # Fix broken png files
+ pngfix -q --out=out.png "${S}/var/httpd/htdocs/skins/Agent/default/img/otrs-verify.png"
+ mv -f out.png "${S}/var/httpd/htdocs/skins/Agent/default/img/otrs-verify.png" || 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
+
+ echo "CONFIG_PROTECT=\"${OTRS_HOME}/Kernel/Config.pm \
+ ${OTRS_HOME}/Kernel/Config/GenericAgent.pm\"" > "${T}/50${PN}"
+}
+
+# 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
+}
+
+src_install() {
+ dodoc CHANGES.md README*
+
+ insinto "${OTRS_HOME}"
+ doins -r .fetchmailrc.dist .mailfilter.dist .procmailrc.dist RELEASE \
+ Custom Kernel bin scripts var
+
+ 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}"
+}
+
+pkg_postinst() {
+ einfo "Setting correct permissions ..."
+ /usr/bin/env perl "${OTRS_HOME}"/bin/otrs.SetPermissions.pl "${OTRS_HOME}" \
+ --otrs-user=otrs \
+ --web-group=apache \
+ || die "Could not set permissions"
+
+ einfo "Rebuilding config ..."
+ /usr/bin/env perl "${OTRS_HOME}"/bin/otrs.RebuildConfig.pl \
+ || die "Could not rebuild config"
+
+ einfo "Deleting cache ..."
+ /usr/bin/env perl "${OTRS_HOME}"/bin/otrs.DeleteCache.pl \
+ || die "Could not delete cache"
+
+ einfo "Installation done!"
+
+ elog "Enable cronjobs with the following command:"
+ elog "crontab -u otrs crontab"
+}
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/otrs/
@ 2017-01-25 23:29 Patrice Clement
0 siblings, 0 replies; 28+ messages in thread
From: Patrice Clement @ 2017-01-25 23:29 UTC (permalink / raw
To: gentoo-commits
commit: 40c0ec98425f4da16cd134129ba14784cdc112fa
Author: Stefan G. Weichinger <office <AT> oops <DOT> co <DOT> at>
AuthorDate: Tue Jan 24 13:49:01 2017 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Wed Jan 25 23:28:49 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40c0ec98
www-apps/otrs: version bump to 5.0.16.
Closes: https://github.com/gentoo/gentoo/pull/3626
www-apps/otrs/Manifest | 1 +
www-apps/otrs/otrs-5.0.16.ebuild | 152 +++++++++++++++++++++++++++++++++++++++
2 files changed, 153 insertions(+)
diff --git a/www-apps/otrs/Manifest b/www-apps/otrs/Manifest
index 5f68e09..7768bbd 100644
--- a/www-apps/otrs/Manifest
+++ b/www-apps/otrs/Manifest
@@ -1 +1,2 @@
DIST otrs-5.0.15.tar.bz2 19344790 SHA256 03f294a34c1e44b0bf5d6974eab718e053546e6e7d9d84c7b14958827b83805b SHA512 5ac8614eee5719831dbf5e19c401c3947d48c0f43fea3d1be70cde797f108f5ca964616f7d0129471636d1f69f1ecaaa63939870c66c64138fd925c74cf6174c WHIRLPOOL 58406cc2cb2700b96811913c0b31dfca9dc7df051e6206d957c382f494f2ac1a6a5bfea7a16d155e6fe384070d2cb121358496c477a70866f907caeddafcd90f
+DIST otrs-5.0.16.tar.bz2 19417591 SHA256 ddec039990c1bdfc27299ab175eff3e1665aa99ba48050f7f2dde480b28f4029 SHA512 326ebc97b689ce05c33a4f8e5587b891029c168544ab6bea4e5b112b2c75527a605689fd957d7acdebf18e331176db727cca4c87244f22cfdb9b9e4e0735b6c4 WHIRLPOOL 4dfe35d1c3cd940523219dafae5f62447e6bc363e601b4fc98fdf46d09731dbf61ddb109d5b368af6fc2b25ab44f18e455dbd9de2e00d367363c34972af221b2
diff --git a/www-apps/otrs/otrs-5.0.16.ebuild b/www-apps/otrs/otrs-5.0.16.ebuild
new file mode 100644
index 00000000..863d90e
--- /dev/null
+++ b/www-apps/otrs/otrs-5.0.16.ebuild
@@ -0,0 +1,152 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+
+inherit confutils user systemd
+
+DESCRIPTION="OTRS is an Open source Ticket Request System"
+HOMEPAGE="https://otrs.org/"
+SRC_URI="https://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"
+
+DEPEND="media-libs/libpng:0"
+
+RDEPEND="dev-perl/Apache-Reload
+ dev-perl/Archive-Zip
+ dev-perl/DBI
+ dev-perl/IO-Socket-SSL
+ dev-perl/JSON-XS
+ dev-perl/LWP-UserAgent-Determined
+ dev-perl/Mail-POP3Client
+ dev-perl/Mail-IMAPClient
+ >dev-perl/Net-DNS-0.60
+ dev-perl/Template-Toolkit
+ dev-perl/Text-CSV_XS
+ dev-perl/TimeDate
+ dev-perl/XML-Parser
+ dev-perl/YAML-LibYAML
+ apache2? (
+ mod_perl? (
+ www-servers/apache:2
+ =www-apache/libapreq2-2* www-apache/mod_perl
+ )
+ !fastcgi? ( !mod_perl? ( www-servers/apache:2[suexec] ) )
+ )
+ fastcgi? (
+ dev-perl/FCGI
+ virtual/httpd-fastcgi
+ )
+ !fastcgi? ( !apache2? ( virtual/httpd-cgi ) )
+ gd? (
+ dev-perl/GD
+ dev-perl/GDTextUtil
+ dev-perl/GDGraph
+ )
+ ldap? ( dev-perl/perl-ldap )
+ mysql? ( dev-perl/DBD-mysql )
+ postgres? ( dev-perl/DBD-Pg )
+ pdf? (
+ >=dev-perl/PDF-API2-0.73
+ virtual/perl-Compress-Raw-Zlib
+ )
+ soap? (
+ dev-perl/SOAP-Lite
+ !=dev-perl/SOAP-Lite-0.711
+ !=dev-perl/SOAP-Lite-0.712
+ )
+ "
+
+OTRS_HOME="${EROOT%/}/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 -r "${S}/scripts"/{auto_*,redhat*,suse*,*.spec} || die
+
+ pushd Kernel >/dev/null || die
+ for i in *.dist; do
+ cp ${i} $(basename ${i} .dist) || die
+ done
+ popd >/dev/null || die
+
+ # Fix broken png file (and see pngfix help for exit codes)
+ pngfix -q --out=out.png "${S}/var/httpd/htdocs/skins/Agent/default/img/otrs-verify.png"
+ if [[ $? -gt 15 ]]; then
+ die "pngfix failed"
+ fi
+ mv -f out.png "${S}/var/httpd/htdocs/skins/Agent/default/img/otrs-verify.png" || die
+
+ sed -i -e "s:/opt/otrs:${OTRS_HOME}:g" "${S}"/Kernel/Config.pm \
+ || die "sed failed"
+
+ sed -i -e "s:/opt/otrs:${OTRS_HOME}:g" "${S}"/Kernel/Config/Defaults.pm \
+ || die "sed failed"
+
+ grep -lR "/opt" "${S}"/scripts | \
+ xargs sed -i -e "s:/opt/otrs:${OTRS_HOME}:g" \
+ || die "sed failed"
+
+ echo "CONFIG_PROTECT=\"${OTRS_HOME}/Kernel/Config.pm \
+ ${OTRS_HOME}/Kernel/Config/GenericAgent.pm\"" > "${T}/50${PN}" || die
+
+ eapply_user
+}
+
+# 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 || die
+}
+
+src_install() {
+ dodoc CHANGES.md README*
+
+ insinto "${OTRS_HOME}"
+ doins -r .fetchmailrc.dist .mailfilter.dist .procmailrc.dist RELEASE \
+ Custom Kernel bin scripts var
+
+ cat "${S}"/var/cron/*.dist > crontab || die
+ 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}"
+
+ systemd_dounit "${FILESDIR}/otrs.service"
+}
+
+pkg_postinst() {
+ einfo "Setting correct permissions ..."
+ /usr/bin/env perl "${OTRS_HOME%}"/bin/otrs.SetPermissions.pl "${OTRS_HOME}" \
+ --otrs-user=otrs \
+ --web-group=apache \
+ || die "Could not set permissions"
+
+ einfo "Installation done!"
+ elog "1) Rebuild your config now by running the following commands:"
+ elog "sudo -u otrs /usr/bin/env perl "${OTRS_HOME}"/bin/otrs.Console.pl Maint::Config::Rebuild"
+ elog "sudo -u otrs /usr/bin/env perl "${OTRS_HOME}"/bin/otrs.Console.pl Maint::Cache::Delete"
+ elog ""
+ elog "2) Enable cronjobs with the following command:"
+ elog "crontab -u otrs crontab"
+ elog ""
+ elog "3) systemd users: enable and start OTRS daemon:"
+ elog "systemctl enable otrs"
+ elog "systemctl start otrs"
+}
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/otrs/
@ 2017-01-25 23:29 Patrice Clement
0 siblings, 0 replies; 28+ messages in thread
From: Patrice Clement @ 2017-01-25 23:29 UTC (permalink / raw
To: gentoo-commits
commit: 3bf257a4aa924367b12a20d0a10eedde69b6d399
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 25 23:23:16 2017 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Wed Jan 25 23:28:52 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bf257a4
www-apps/otrs: make variable local.
Package-Manager: portage-2.3.0
www-apps/otrs/otrs-5.0.16.ebuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/www-apps/otrs/otrs-5.0.16.ebuild b/www-apps/otrs/otrs-5.0.16.ebuild
index 863d90e..15b5659 100644
--- a/www-apps/otrs/otrs-5.0.16.ebuild
+++ b/www-apps/otrs/otrs-5.0.16.ebuild
@@ -122,6 +122,7 @@ src_install() {
insinto /usr/share/doc/${PF}/
doins crontab
+ local a
for a in article log pics/images pics/stats pics sessions spool tmp tmp/CacheFileStorable
do
keepdir "${OTRS_HOME}/var/${a}"
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/otrs/
@ 2017-03-12 9:05 Michał Górny
0 siblings, 0 replies; 28+ messages in thread
From: Michał Górny @ 2017-03-12 9:05 UTC (permalink / raw
To: gentoo-commits
commit: 7849edad186b9ceaee2635b784c2c14dbc18edfa
Author: Stefan G. Weichinger <office <AT> oops <DOT> co <DOT> at>
AuthorDate: Thu Mar 2 17:42:09 2017 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Mar 12 09:05:04 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7849edad
www-apps/otrs-5.0.16: fix confutils, #610484, minor cleanup
Closes: https://github.com/gentoo/gentoo/pull/4096
www-apps/otrs/otrs-5.0.16.ebuild | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/www-apps/otrs/otrs-5.0.16.ebuild b/www-apps/otrs/otrs-5.0.16.ebuild
index 4ad6fe3662f..664e89770cd 100644
--- a/www-apps/otrs/otrs-5.0.16.ebuild
+++ b/www-apps/otrs/otrs-5.0.16.ebuild
@@ -14,6 +14,8 @@ KEYWORDS="~amd64 ~x86"
IUSE="apache2 fastcgi +gd ldap mod_perl +mysql pdf postgres soap"
SLOT="0"
+REQUIRED_USE="|| ( mysql postgres )"
+
DEPEND="media-libs/libpng:0"
RDEPEND="dev-perl/Apache-Reload
@@ -69,11 +71,10 @@ pkg_setup() {
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 -r "${S}/scripts"/{auto_*,redhat*,suse*,*.spec} || die
+ rm -r "${S}/scripts"/auto_* || die
pushd Kernel >/dev/null || die
for i in *.dist; do
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/otrs/
@ 2017-03-12 9:15 Michał Górny
0 siblings, 0 replies; 28+ messages in thread
From: Michał Górny @ 2017-03-12 9:15 UTC (permalink / raw
To: gentoo-commits
commit: 522e5812e56806e181247d951a5b6f8912074b13
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 12 09:09:42 2017 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Mar 12 09:13:56 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=522e5812
www-apps/otrs: remove stale confutils inherit
www-apps/otrs/otrs-5.0.16.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www-apps/otrs/otrs-5.0.16.ebuild b/www-apps/otrs/otrs-5.0.16.ebuild
index 664e89770cd..c58f1acd4e2 100644
--- a/www-apps/otrs/otrs-5.0.16.ebuild
+++ b/www-apps/otrs/otrs-5.0.16.ebuild
@@ -3,7 +3,7 @@
EAPI="6"
-inherit confutils user systemd
+inherit user systemd
DESCRIPTION="OTRS is an Open source Ticket Request System"
HOMEPAGE="https://otrs.org/"
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/otrs/
@ 2017-03-12 9:15 Michał Górny
0 siblings, 0 replies; 28+ messages in thread
From: Michał Górny @ 2017-03-12 9:15 UTC (permalink / raw
To: gentoo-commits
commit: ddff5be295345c686cbdf9cfe8673b71ce275634
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 12 09:12:36 2017 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Mar 12 09:14:59 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddff5be2
www-apps/otrs: Clean old
www-apps/otrs/Manifest | 1 -
www-apps/otrs/otrs-5.0.15.ebuild | 151 ---------------------------------------
2 files changed, 152 deletions(-)
diff --git a/www-apps/otrs/Manifest b/www-apps/otrs/Manifest
index 7768bbdaae8..a6d6a4a710b 100644
--- a/www-apps/otrs/Manifest
+++ b/www-apps/otrs/Manifest
@@ -1,2 +1 @@
-DIST otrs-5.0.15.tar.bz2 19344790 SHA256 03f294a34c1e44b0bf5d6974eab718e053546e6e7d9d84c7b14958827b83805b SHA512 5ac8614eee5719831dbf5e19c401c3947d48c0f43fea3d1be70cde797f108f5ca964616f7d0129471636d1f69f1ecaaa63939870c66c64138fd925c74cf6174c WHIRLPOOL 58406cc2cb2700b96811913c0b31dfca9dc7df051e6206d957c382f494f2ac1a6a5bfea7a16d155e6fe384070d2cb121358496c477a70866f907caeddafcd90f
DIST otrs-5.0.16.tar.bz2 19417591 SHA256 ddec039990c1bdfc27299ab175eff3e1665aa99ba48050f7f2dde480b28f4029 SHA512 326ebc97b689ce05c33a4f8e5587b891029c168544ab6bea4e5b112b2c75527a605689fd957d7acdebf18e331176db727cca4c87244f22cfdb9b9e4e0735b6c4 WHIRLPOOL 4dfe35d1c3cd940523219dafae5f62447e6bc363e601b4fc98fdf46d09731dbf61ddb109d5b368af6fc2b25ab44f18e455dbd9de2e00d367363c34972af221b2
diff --git a/www-apps/otrs/otrs-5.0.15.ebuild b/www-apps/otrs/otrs-5.0.15.ebuild
deleted file mode 100644
index 628e6d1034f..00000000000
--- a/www-apps/otrs/otrs-5.0.15.ebuild
+++ /dev/null
@@ -1,151 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-inherit confutils user systemd
-
-DESCRIPTION="OTRS is an Open source Ticket Request System"
-HOMEPAGE="https://otrs.org/"
-SRC_URI="https://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"
-
-DEPEND="media-libs/libpng:0"
-
-RDEPEND="dev-perl/Apache-Reload
- dev-perl/Archive-Zip
- dev-perl/DBI
- dev-perl/IO-Socket-SSL
- dev-perl/JSON-XS
- dev-perl/LWP-UserAgent-Determined
- dev-perl/Mail-POP3Client
- dev-perl/Mail-IMAPClient
- >dev-perl/Net-DNS-0.60
- dev-perl/Template-Toolkit
- dev-perl/Text-CSV_XS
- dev-perl/TimeDate
- dev-perl/XML-Parser
- dev-perl/YAML-LibYAML
- apache2? (
- mod_perl? (
- www-servers/apache:2
- =www-apache/libapreq2-2* www-apache/mod_perl
- )
- !fastcgi? ( !mod_perl? ( www-servers/apache:2[suexec] ) )
- )
- fastcgi? (
- dev-perl/FCGI
- virtual/httpd-fastcgi
- )
- !fastcgi? ( !apache2? ( virtual/httpd-cgi ) )
- gd? (
- dev-perl/GD
- dev-perl/GDTextUtil
- dev-perl/GDGraph
- )
- ldap? ( dev-perl/perl-ldap )
- mysql? ( dev-perl/DBD-mysql )
- postgres? ( dev-perl/DBD-Pg )
- pdf? (
- >=dev-perl/PDF-API2-0.73
- virtual/perl-Compress-Raw-Zlib
- )
- soap? (
- dev-perl/SOAP-Lite
- !=dev-perl/SOAP-Lite-0.711
- !=dev-perl/SOAP-Lite-0.712
- )
- "
-
-OTRS_HOME="${EROOT%/}/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
-
- pushd Kernel >/dev/null || die
- for i in *.dist; do
- cp ${i} $(basename ${i} .dist) || die
- done
- popd >/dev/null || die
-
- # Fix broken png file (and see pngfix help for exit codes)
- pngfix -q --out=out.png "${S}/var/httpd/htdocs/skins/Agent/default/img/otrs-verify.png"
- if [[ $? -gt 15 ]]; then
- die "pngfix failed"
- fi
- mv -f out.png "${S}/var/httpd/htdocs/skins/Agent/default/img/otrs-verify.png" || die
-
- sed -i -e "s:/opt/otrs:${OTRS_HOME}:g" "${S}"/Kernel/Config.pm \
- || die "sed failed"
-
- sed -i -e "s:/opt/otrs:${OTRS_HOME}:g" "${S}"/Kernel/Config/Defaults.pm \
- || die "sed failed"
-
- grep -lR "/opt" "${S}"/scripts | \
- xargs sed -i -e "s:/opt/otrs:${OTRS_HOME}:g" \
- || die "sed failed"
-
- echo "CONFIG_PROTECT=\"${OTRS_HOME}/Kernel/Config.pm \
- ${OTRS_HOME}/Kernel/Config/GenericAgent.pm\"" > "${T}/50${PN}" || die
-
- eapply_user
-}
-
-# 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 || die
-}
-
-src_install() {
- dodoc CHANGES.md README*
-
- insinto "${OTRS_HOME}"
- doins -r .fetchmailrc.dist .mailfilter.dist .procmailrc.dist RELEASE \
- Custom Kernel bin scripts var
-
- cat "${S}"/var/cron/*.dist > crontab || die
- 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}"
-
- systemd_dounit "${FILESDIR}/otrs.service"
-}
-
-pkg_postinst() {
- einfo "Setting correct permissions ..."
- /usr/bin/env perl "${OTRS_HOME%}"/bin/otrs.SetPermissions.pl "${OTRS_HOME}" \
- --otrs-user=otrs \
- --web-group=apache \
- || die "Could not set permissions"
-
- einfo "Installation done!"
- elog "1) Rebuild your config now by running the following commands:"
- elog "sudo -u otrs /usr/bin/env perl "${OTRS_HOME}"/bin/otrs.Console.pl Maint::Config::Rebuild"
- elog "sudo -u otrs /usr/bin/env perl "${OTRS_HOME}"/bin/otrs.Console.pl Maint::Cache::Delete"
- elog ""
- elog "2) Enable cronjobs with the following command:"
- elog "crontab -u otrs crontab"
- elog ""
- elog "3) systemd users: enable and start OTRS daemon:"
- elog "systemctl enable otrs"
- elog "systemctl start otrs"
-}
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/otrs/
@ 2017-04-09 23:10 Göktürk Yüksek
0 siblings, 0 replies; 28+ messages in thread
From: Göktürk Yüksek @ 2017-04-09 23:10 UTC (permalink / raw
To: gentoo-commits
commit: 4e55823065367473d989d9b71ee5d170cec739a8
Author: Stefan G. Weichinger <office <AT> oops <DOT> co <DOT> at>
AuthorDate: Tue Mar 28 08:18:33 2017 +0000
Commit: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
CommitDate: Sun Apr 9 22:55:24 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e558230
www-apps/otrs-5.0.18: version bump
www-apps/otrs/Manifest | 1 +
www-apps/otrs/otrs-5.0.18.ebuild | 153 +++++++++++++++++++++++++++++++++++++++
2 files changed, 154 insertions(+)
diff --git a/www-apps/otrs/Manifest b/www-apps/otrs/Manifest
index a6d6a4a710b..97de544cda9 100644
--- a/www-apps/otrs/Manifest
+++ b/www-apps/otrs/Manifest
@@ -1 +1,2 @@
DIST otrs-5.0.16.tar.bz2 19417591 SHA256 ddec039990c1bdfc27299ab175eff3e1665aa99ba48050f7f2dde480b28f4029 SHA512 326ebc97b689ce05c33a4f8e5587b891029c168544ab6bea4e5b112b2c75527a605689fd957d7acdebf18e331176db727cca4c87244f22cfdb9b9e4e0735b6c4 WHIRLPOOL 4dfe35d1c3cd940523219dafae5f62447e6bc363e601b4fc98fdf46d09731dbf61ddb109d5b368af6fc2b25ab44f18e455dbd9de2e00d367363c34972af221b2
+DIST otrs-5.0.18.tar.bz2 20401943 SHA256 32d2a17996a882fb8965e52d92589be1a9a8fb1a15cd47689919e6d1302fe1b4 SHA512 5b228a92f8280b79ed32853f9b0a5b135ee42068faba66267c9772697c3ccd8f2ee965797fe65b8c7d1455f3729fe106d9321a06e444bda8e06f92dac00ab8c1 WHIRLPOOL 35123d1eb33e5abdb5c44edf55fd204df8f4b50fe331ae3f8f2634cdb21ca091e76b8517458595af4f0246eebb399770fc02a54070833ad6dae4dd83b2ad8c11
diff --git a/www-apps/otrs/otrs-5.0.18.ebuild b/www-apps/otrs/otrs-5.0.18.ebuild
new file mode 100644
index 00000000000..16e682a03da
--- /dev/null
+++ b/www-apps/otrs/otrs-5.0.18.ebuild
@@ -0,0 +1,153 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit user systemd
+
+DESCRIPTION="OTRS is an Open source Ticket Request System"
+HOMEPAGE="https://www.otrs.com/"
+SRC_URI="https://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"
+
+REQUIRED_USE="|| ( mysql postgres )"
+
+DEPEND="media-libs/libpng:0"
+
+RDEPEND="dev-perl/Apache-Reload
+ dev-perl/Archive-Zip
+ dev-perl/DBI
+ dev-perl/IO-Socket-SSL
+ dev-perl/JSON-XS
+ dev-perl/LWP-UserAgent-Determined
+ dev-perl/Mail-POP3Client
+ dev-perl/Mail-IMAPClient
+ >dev-perl/Net-DNS-0.60
+ dev-perl/Template-Toolkit
+ dev-perl/Text-CSV_XS
+ dev-perl/TimeDate
+ dev-perl/XML-Parser
+ dev-perl/YAML-LibYAML
+ apache2? (
+ mod_perl? (
+ www-servers/apache:2
+ =www-apache/libapreq2-2* www-apache/mod_perl
+ )
+ !fastcgi? ( !mod_perl? ( www-servers/apache:2[suexec] ) )
+ )
+ fastcgi? (
+ dev-perl/FCGI
+ virtual/httpd-fastcgi
+ )
+ !fastcgi? ( !apache2? ( virtual/httpd-cgi ) )
+ gd? (
+ dev-perl/GD
+ dev-perl/GDTextUtil
+ dev-perl/GDGraph
+ )
+ ldap? ( dev-perl/perl-ldap )
+ mysql? ( dev-perl/DBD-mysql )
+ postgres? ( dev-perl/DBD-Pg )
+ pdf? (
+ >=dev-perl/PDF-API2-0.73
+ virtual/perl-Compress-Raw-Zlib
+ )
+ soap? (
+ dev-perl/SOAP-Lite
+ !=dev-perl/SOAP-Lite-0.711
+ !=dev-perl/SOAP-Lite-0.712
+ )
+ "
+
+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
+}
+
+src_prepare() {
+ rm -r "${S}/scripts"/auto_* || die
+
+ pushd Kernel >/dev/null || die
+ for i in *.dist; do
+ cp "${i}" $(basename "${i}" .dist) || die
+ done
+ popd >/dev/null || die
+
+ # Fix broken png file (and see pngfix help for exit codes)
+ pngfix -q --out=out.png "${S}/var/httpd/htdocs/skins/Agent/default/img/otrs-verify.png"
+ if [[ $? -gt 15 ]]; then
+ die "pngfix failed"
+ fi
+ mv -f out.png "${S}/var/httpd/htdocs/skins/Agent/default/img/otrs-verify.png" || die
+
+ sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" "${S}"/Kernel/Config.pm \
+ || die "sed failed"
+
+ sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" "${S}"/Kernel/Config/Defaults.pm \
+ || die "sed failed"
+
+ grep -lR "/opt" "${S}"/scripts | \
+ xargs sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" \
+ || die "sed failed"
+
+ echo "CONFIG_PROTECT=\"${EPREFIX%/}${OTRS_HOME}/Kernel/Config.pm \
+ ${EPREFIX%/}${OTRS_HOME}/Kernel/Config/GenericAgent.pm\"" > "${T}/50${PN}" || die
+
+ eapply_user
+}
+
+# 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 "${EROOT%/}"/usr/share/doc/${PF}/crontab || die
+}
+
+src_install() {
+ dodoc CHANGES.md README*
+
+ insinto "${OTRS_HOME}"
+ doins -r .fetchmailrc.dist .mailfilter.dist .procmailrc.dist RELEASE \
+ Custom Kernel bin scripts var
+
+ cat "${S}"/var/cron/*.dist > "${T}"/crontab || die
+ insinto /usr/share/doc/${PF}/
+ doins "${T}"/crontab
+
+ local a
+ 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}"
+
+ systemd_dounit "${FILESDIR}/otrs.service"
+}
+
+pkg_postinst() {
+ einfo "Setting correct permissions ..."
+ /usr/bin/env perl "${EROOT%/}${OTRS_HOME}"/bin/otrs.SetPermissions.pl "${EROOT%/}${OTRS_HOME}" \
+ --otrs-user=otrs \
+ --web-group=apache \
+ || die "Could not set permissions"
+
+ einfo "Installation done!"
+ elog "1) Rebuild your config now by running the following commands:"
+ elog "sudo -u otrs /usr/bin/env perl "${EROOT%/}${OTRS_HOME}"/bin/otrs.Console.pl Maint::Config::Rebuild"
+ elog "sudo -u otrs /usr/bin/env perl "${EROOT%/}${OTRS_HOME}"/bin/otrs.Console.pl Maint::Cache::Delete"
+ elog ""
+ elog "2) Enable cronjobs with the following command:"
+ elog "crontab -u otrs crontab"
+ elog ""
+ elog "3) systemd users: enable and start OTRS daemon:"
+ elog "systemctl enable otrs"
+ elog "systemctl start otrs"
+}
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/otrs/
@ 2017-05-31 16:46 Patrice Clement
0 siblings, 0 replies; 28+ messages in thread
From: Patrice Clement @ 2017-05-31 16:46 UTC (permalink / raw
To: gentoo-commits
commit: 02430d084978e11f0f3a8e9c2e32c3800eec3d07
Author: Stefan G. Weichinger <office <AT> oops <DOT> co <DOT> at>
AuthorDate: Wed May 17 11:09:07 2017 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Wed May 31 16:37:01 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02430d08
www-apps/otrs: version bump to 5.0.19.
Closes: https://github.com/gentoo/gentoo/pull/4654
www-apps/otrs/Manifest | 1 +
www-apps/otrs/otrs-5.0.19.ebuild | 153 +++++++++++++++++++++++++++++++++++++++
2 files changed, 154 insertions(+)
diff --git a/www-apps/otrs/Manifest b/www-apps/otrs/Manifest
index 97de544cda9..e0d52ae77f2 100644
--- a/www-apps/otrs/Manifest
+++ b/www-apps/otrs/Manifest
@@ -1,2 +1,3 @@
DIST otrs-5.0.16.tar.bz2 19417591 SHA256 ddec039990c1bdfc27299ab175eff3e1665aa99ba48050f7f2dde480b28f4029 SHA512 326ebc97b689ce05c33a4f8e5587b891029c168544ab6bea4e5b112b2c75527a605689fd957d7acdebf18e331176db727cca4c87244f22cfdb9b9e4e0735b6c4 WHIRLPOOL 4dfe35d1c3cd940523219dafae5f62447e6bc363e601b4fc98fdf46d09731dbf61ddb109d5b368af6fc2b25ab44f18e455dbd9de2e00d367363c34972af221b2
DIST otrs-5.0.18.tar.bz2 20401943 SHA256 32d2a17996a882fb8965e52d92589be1a9a8fb1a15cd47689919e6d1302fe1b4 SHA512 5b228a92f8280b79ed32853f9b0a5b135ee42068faba66267c9772697c3ccd8f2ee965797fe65b8c7d1455f3729fe106d9321a06e444bda8e06f92dac00ab8c1 WHIRLPOOL 35123d1eb33e5abdb5c44edf55fd204df8f4b50fe331ae3f8f2634cdb21ca091e76b8517458595af4f0246eebb399770fc02a54070833ad6dae4dd83b2ad8c11
+DIST otrs-5.0.19.tar.bz2 20458807 SHA256 15f0493119f0dec570357d4916929535ae320623475fb4e37ff8cf9a015bce44 SHA512 24ea42171d742f78b7a10619e7d153d702270460a9bdc5d44c6e57e3e4500454c297e87d0696740f3e59571e7985ed6d606cf16d12898a76200bc651f107e84f WHIRLPOOL 3752fbc70d01f80048971491517284dd8799457650eee05f4b5185da195e2c890845303a397c46d8214e2c357552c0a173821ee5fdf6848fec839237a30b64a9
diff --git a/www-apps/otrs/otrs-5.0.19.ebuild b/www-apps/otrs/otrs-5.0.19.ebuild
new file mode 100644
index 00000000000..16e682a03da
--- /dev/null
+++ b/www-apps/otrs/otrs-5.0.19.ebuild
@@ -0,0 +1,153 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit user systemd
+
+DESCRIPTION="OTRS is an Open source Ticket Request System"
+HOMEPAGE="https://www.otrs.com/"
+SRC_URI="https://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"
+
+REQUIRED_USE="|| ( mysql postgres )"
+
+DEPEND="media-libs/libpng:0"
+
+RDEPEND="dev-perl/Apache-Reload
+ dev-perl/Archive-Zip
+ dev-perl/DBI
+ dev-perl/IO-Socket-SSL
+ dev-perl/JSON-XS
+ dev-perl/LWP-UserAgent-Determined
+ dev-perl/Mail-POP3Client
+ dev-perl/Mail-IMAPClient
+ >dev-perl/Net-DNS-0.60
+ dev-perl/Template-Toolkit
+ dev-perl/Text-CSV_XS
+ dev-perl/TimeDate
+ dev-perl/XML-Parser
+ dev-perl/YAML-LibYAML
+ apache2? (
+ mod_perl? (
+ www-servers/apache:2
+ =www-apache/libapreq2-2* www-apache/mod_perl
+ )
+ !fastcgi? ( !mod_perl? ( www-servers/apache:2[suexec] ) )
+ )
+ fastcgi? (
+ dev-perl/FCGI
+ virtual/httpd-fastcgi
+ )
+ !fastcgi? ( !apache2? ( virtual/httpd-cgi ) )
+ gd? (
+ dev-perl/GD
+ dev-perl/GDTextUtil
+ dev-perl/GDGraph
+ )
+ ldap? ( dev-perl/perl-ldap )
+ mysql? ( dev-perl/DBD-mysql )
+ postgres? ( dev-perl/DBD-Pg )
+ pdf? (
+ >=dev-perl/PDF-API2-0.73
+ virtual/perl-Compress-Raw-Zlib
+ )
+ soap? (
+ dev-perl/SOAP-Lite
+ !=dev-perl/SOAP-Lite-0.711
+ !=dev-perl/SOAP-Lite-0.712
+ )
+ "
+
+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
+}
+
+src_prepare() {
+ rm -r "${S}/scripts"/auto_* || die
+
+ pushd Kernel >/dev/null || die
+ for i in *.dist; do
+ cp "${i}" $(basename "${i}" .dist) || die
+ done
+ popd >/dev/null || die
+
+ # Fix broken png file (and see pngfix help for exit codes)
+ pngfix -q --out=out.png "${S}/var/httpd/htdocs/skins/Agent/default/img/otrs-verify.png"
+ if [[ $? -gt 15 ]]; then
+ die "pngfix failed"
+ fi
+ mv -f out.png "${S}/var/httpd/htdocs/skins/Agent/default/img/otrs-verify.png" || die
+
+ sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" "${S}"/Kernel/Config.pm \
+ || die "sed failed"
+
+ sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" "${S}"/Kernel/Config/Defaults.pm \
+ || die "sed failed"
+
+ grep -lR "/opt" "${S}"/scripts | \
+ xargs sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" \
+ || die "sed failed"
+
+ echo "CONFIG_PROTECT=\"${EPREFIX%/}${OTRS_HOME}/Kernel/Config.pm \
+ ${EPREFIX%/}${OTRS_HOME}/Kernel/Config/GenericAgent.pm\"" > "${T}/50${PN}" || die
+
+ eapply_user
+}
+
+# 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 "${EROOT%/}"/usr/share/doc/${PF}/crontab || die
+}
+
+src_install() {
+ dodoc CHANGES.md README*
+
+ insinto "${OTRS_HOME}"
+ doins -r .fetchmailrc.dist .mailfilter.dist .procmailrc.dist RELEASE \
+ Custom Kernel bin scripts var
+
+ cat "${S}"/var/cron/*.dist > "${T}"/crontab || die
+ insinto /usr/share/doc/${PF}/
+ doins "${T}"/crontab
+
+ local a
+ 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}"
+
+ systemd_dounit "${FILESDIR}/otrs.service"
+}
+
+pkg_postinst() {
+ einfo "Setting correct permissions ..."
+ /usr/bin/env perl "${EROOT%/}${OTRS_HOME}"/bin/otrs.SetPermissions.pl "${EROOT%/}${OTRS_HOME}" \
+ --otrs-user=otrs \
+ --web-group=apache \
+ || die "Could not set permissions"
+
+ einfo "Installation done!"
+ elog "1) Rebuild your config now by running the following commands:"
+ elog "sudo -u otrs /usr/bin/env perl "${EROOT%/}${OTRS_HOME}"/bin/otrs.Console.pl Maint::Config::Rebuild"
+ elog "sudo -u otrs /usr/bin/env perl "${EROOT%/}${OTRS_HOME}"/bin/otrs.Console.pl Maint::Cache::Delete"
+ elog ""
+ elog "2) Enable cronjobs with the following command:"
+ elog "crontab -u otrs crontab"
+ elog ""
+ elog "3) systemd users: enable and start OTRS daemon:"
+ elog "systemctl enable otrs"
+ elog "systemctl start otrs"
+}
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/otrs/
@ 2017-06-06 11:53 Thomas Deutschmann
0 siblings, 0 replies; 28+ messages in thread
From: Thomas Deutschmann @ 2017-06-06 11:53 UTC (permalink / raw
To: gentoo-commits
commit: b78f42e46efa59a85dbd6e5f07679c7a38e99005
Author: Stefan G. Weichinger <office <AT> oops <DOT> co <DOT> at>
AuthorDate: Tue Jun 6 11:50:20 2017 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Tue Jun 6 11:52:56 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b78f42e4
www-apps/otrs: Bump to v5.0.20 (bug #621006)
Closes: https://github.com/gentoo/gentoo/pull/4869
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
Package-Manager: Portage-2.3.5, Repoman-2.3.2
www-apps/otrs/Manifest | 1 +
www-apps/otrs/otrs-5.0.20.ebuild | 153 +++++++++++++++++++++++++++++++++++++++
2 files changed, 154 insertions(+)
diff --git a/www-apps/otrs/Manifest b/www-apps/otrs/Manifest
index e0d52ae77f2..03290e66667 100644
--- a/www-apps/otrs/Manifest
+++ b/www-apps/otrs/Manifest
@@ -1,3 +1,4 @@
DIST otrs-5.0.16.tar.bz2 19417591 SHA256 ddec039990c1bdfc27299ab175eff3e1665aa99ba48050f7f2dde480b28f4029 SHA512 326ebc97b689ce05c33a4f8e5587b891029c168544ab6bea4e5b112b2c75527a605689fd957d7acdebf18e331176db727cca4c87244f22cfdb9b9e4e0735b6c4 WHIRLPOOL 4dfe35d1c3cd940523219dafae5f62447e6bc363e601b4fc98fdf46d09731dbf61ddb109d5b368af6fc2b25ab44f18e455dbd9de2e00d367363c34972af221b2
DIST otrs-5.0.18.tar.bz2 20401943 SHA256 32d2a17996a882fb8965e52d92589be1a9a8fb1a15cd47689919e6d1302fe1b4 SHA512 5b228a92f8280b79ed32853f9b0a5b135ee42068faba66267c9772697c3ccd8f2ee965797fe65b8c7d1455f3729fe106d9321a06e444bda8e06f92dac00ab8c1 WHIRLPOOL 35123d1eb33e5abdb5c44edf55fd204df8f4b50fe331ae3f8f2634cdb21ca091e76b8517458595af4f0246eebb399770fc02a54070833ad6dae4dd83b2ad8c11
DIST otrs-5.0.19.tar.bz2 20458807 SHA256 15f0493119f0dec570357d4916929535ae320623475fb4e37ff8cf9a015bce44 SHA512 24ea42171d742f78b7a10619e7d153d702270460a9bdc5d44c6e57e3e4500454c297e87d0696740f3e59571e7985ed6d606cf16d12898a76200bc651f107e84f WHIRLPOOL 3752fbc70d01f80048971491517284dd8799457650eee05f4b5185da195e2c890845303a397c46d8214e2c357552c0a173821ee5fdf6848fec839237a30b64a9
+DIST otrs-5.0.20.tar.bz2 20638821 SHA256 1dfebd86dc55c7e125593e0bb5307a74217f15e23469fead66e2a4f6e00e27e5 SHA512 29b5c52478af6c95fc529db9d031c79e131a1ffaf7cc323ecfa5527145049e6b6762c04138bab5e6a49863b423829c474b6dbdc77777a84e8ea7f5081c2fdd8c WHIRLPOOL 81536727b7b918b2ddb9c206bb5643effbad584a70b9acdebb18e2b4b911837c246215bab23600f0724b789b3e5718ee22dbbd3daf24874da6ef2ce79fd91a2e
diff --git a/www-apps/otrs/otrs-5.0.20.ebuild b/www-apps/otrs/otrs-5.0.20.ebuild
new file mode 100644
index 00000000000..16e682a03da
--- /dev/null
+++ b/www-apps/otrs/otrs-5.0.20.ebuild
@@ -0,0 +1,153 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit user systemd
+
+DESCRIPTION="OTRS is an Open source Ticket Request System"
+HOMEPAGE="https://www.otrs.com/"
+SRC_URI="https://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"
+
+REQUIRED_USE="|| ( mysql postgres )"
+
+DEPEND="media-libs/libpng:0"
+
+RDEPEND="dev-perl/Apache-Reload
+ dev-perl/Archive-Zip
+ dev-perl/DBI
+ dev-perl/IO-Socket-SSL
+ dev-perl/JSON-XS
+ dev-perl/LWP-UserAgent-Determined
+ dev-perl/Mail-POP3Client
+ dev-perl/Mail-IMAPClient
+ >dev-perl/Net-DNS-0.60
+ dev-perl/Template-Toolkit
+ dev-perl/Text-CSV_XS
+ dev-perl/TimeDate
+ dev-perl/XML-Parser
+ dev-perl/YAML-LibYAML
+ apache2? (
+ mod_perl? (
+ www-servers/apache:2
+ =www-apache/libapreq2-2* www-apache/mod_perl
+ )
+ !fastcgi? ( !mod_perl? ( www-servers/apache:2[suexec] ) )
+ )
+ fastcgi? (
+ dev-perl/FCGI
+ virtual/httpd-fastcgi
+ )
+ !fastcgi? ( !apache2? ( virtual/httpd-cgi ) )
+ gd? (
+ dev-perl/GD
+ dev-perl/GDTextUtil
+ dev-perl/GDGraph
+ )
+ ldap? ( dev-perl/perl-ldap )
+ mysql? ( dev-perl/DBD-mysql )
+ postgres? ( dev-perl/DBD-Pg )
+ pdf? (
+ >=dev-perl/PDF-API2-0.73
+ virtual/perl-Compress-Raw-Zlib
+ )
+ soap? (
+ dev-perl/SOAP-Lite
+ !=dev-perl/SOAP-Lite-0.711
+ !=dev-perl/SOAP-Lite-0.712
+ )
+ "
+
+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
+}
+
+src_prepare() {
+ rm -r "${S}/scripts"/auto_* || die
+
+ pushd Kernel >/dev/null || die
+ for i in *.dist; do
+ cp "${i}" $(basename "${i}" .dist) || die
+ done
+ popd >/dev/null || die
+
+ # Fix broken png file (and see pngfix help for exit codes)
+ pngfix -q --out=out.png "${S}/var/httpd/htdocs/skins/Agent/default/img/otrs-verify.png"
+ if [[ $? -gt 15 ]]; then
+ die "pngfix failed"
+ fi
+ mv -f out.png "${S}/var/httpd/htdocs/skins/Agent/default/img/otrs-verify.png" || die
+
+ sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" "${S}"/Kernel/Config.pm \
+ || die "sed failed"
+
+ sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" "${S}"/Kernel/Config/Defaults.pm \
+ || die "sed failed"
+
+ grep -lR "/opt" "${S}"/scripts | \
+ xargs sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" \
+ || die "sed failed"
+
+ echo "CONFIG_PROTECT=\"${EPREFIX%/}${OTRS_HOME}/Kernel/Config.pm \
+ ${EPREFIX%/}${OTRS_HOME}/Kernel/Config/GenericAgent.pm\"" > "${T}/50${PN}" || die
+
+ eapply_user
+}
+
+# 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 "${EROOT%/}"/usr/share/doc/${PF}/crontab || die
+}
+
+src_install() {
+ dodoc CHANGES.md README*
+
+ insinto "${OTRS_HOME}"
+ doins -r .fetchmailrc.dist .mailfilter.dist .procmailrc.dist RELEASE \
+ Custom Kernel bin scripts var
+
+ cat "${S}"/var/cron/*.dist > "${T}"/crontab || die
+ insinto /usr/share/doc/${PF}/
+ doins "${T}"/crontab
+
+ local a
+ 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}"
+
+ systemd_dounit "${FILESDIR}/otrs.service"
+}
+
+pkg_postinst() {
+ einfo "Setting correct permissions ..."
+ /usr/bin/env perl "${EROOT%/}${OTRS_HOME}"/bin/otrs.SetPermissions.pl "${EROOT%/}${OTRS_HOME}" \
+ --otrs-user=otrs \
+ --web-group=apache \
+ || die "Could not set permissions"
+
+ einfo "Installation done!"
+ elog "1) Rebuild your config now by running the following commands:"
+ elog "sudo -u otrs /usr/bin/env perl "${EROOT%/}${OTRS_HOME}"/bin/otrs.Console.pl Maint::Config::Rebuild"
+ elog "sudo -u otrs /usr/bin/env perl "${EROOT%/}${OTRS_HOME}"/bin/otrs.Console.pl Maint::Cache::Delete"
+ elog ""
+ elog "2) Enable cronjobs with the following command:"
+ elog "crontab -u otrs crontab"
+ elog ""
+ elog "3) systemd users: enable and start OTRS daemon:"
+ elog "systemctl enable otrs"
+ elog "systemctl start otrs"
+}
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/otrs/
@ 2017-06-06 11:53 Thomas Deutschmann
0 siblings, 0 replies; 28+ messages in thread
From: Thomas Deutschmann @ 2017-06-06 11:53 UTC (permalink / raw
To: gentoo-commits
commit: 684fd3b673798db8aec06af3c64529078ee4c3f0
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 6 11:53:33 2017 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Tue Jun 6 11:53:33 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=684fd3b6
www-apps/otrs: Security cleanup (bug #621006)
Package-Manager: Portage-2.3.5, Repoman-2.3.2
www-apps/otrs/Manifest | 3 -
www-apps/otrs/otrs-5.0.16.ebuild | 153 ---------------------------------------
www-apps/otrs/otrs-5.0.18.ebuild | 153 ---------------------------------------
www-apps/otrs/otrs-5.0.19.ebuild | 153 ---------------------------------------
4 files changed, 462 deletions(-)
diff --git a/www-apps/otrs/Manifest b/www-apps/otrs/Manifest
index 03290e66667..5a04a612708 100644
--- a/www-apps/otrs/Manifest
+++ b/www-apps/otrs/Manifest
@@ -1,4 +1 @@
-DIST otrs-5.0.16.tar.bz2 19417591 SHA256 ddec039990c1bdfc27299ab175eff3e1665aa99ba48050f7f2dde480b28f4029 SHA512 326ebc97b689ce05c33a4f8e5587b891029c168544ab6bea4e5b112b2c75527a605689fd957d7acdebf18e331176db727cca4c87244f22cfdb9b9e4e0735b6c4 WHIRLPOOL 4dfe35d1c3cd940523219dafae5f62447e6bc363e601b4fc98fdf46d09731dbf61ddb109d5b368af6fc2b25ab44f18e455dbd9de2e00d367363c34972af221b2
-DIST otrs-5.0.18.tar.bz2 20401943 SHA256 32d2a17996a882fb8965e52d92589be1a9a8fb1a15cd47689919e6d1302fe1b4 SHA512 5b228a92f8280b79ed32853f9b0a5b135ee42068faba66267c9772697c3ccd8f2ee965797fe65b8c7d1455f3729fe106d9321a06e444bda8e06f92dac00ab8c1 WHIRLPOOL 35123d1eb33e5abdb5c44edf55fd204df8f4b50fe331ae3f8f2634cdb21ca091e76b8517458595af4f0246eebb399770fc02a54070833ad6dae4dd83b2ad8c11
-DIST otrs-5.0.19.tar.bz2 20458807 SHA256 15f0493119f0dec570357d4916929535ae320623475fb4e37ff8cf9a015bce44 SHA512 24ea42171d742f78b7a10619e7d153d702270460a9bdc5d44c6e57e3e4500454c297e87d0696740f3e59571e7985ed6d606cf16d12898a76200bc651f107e84f WHIRLPOOL 3752fbc70d01f80048971491517284dd8799457650eee05f4b5185da195e2c890845303a397c46d8214e2c357552c0a173821ee5fdf6848fec839237a30b64a9
DIST otrs-5.0.20.tar.bz2 20638821 SHA256 1dfebd86dc55c7e125593e0bb5307a74217f15e23469fead66e2a4f6e00e27e5 SHA512 29b5c52478af6c95fc529db9d031c79e131a1ffaf7cc323ecfa5527145049e6b6762c04138bab5e6a49863b423829c474b6dbdc77777a84e8ea7f5081c2fdd8c WHIRLPOOL 81536727b7b918b2ddb9c206bb5643effbad584a70b9acdebb18e2b4b911837c246215bab23600f0724b789b3e5718ee22dbbd3daf24874da6ef2ce79fd91a2e
diff --git a/www-apps/otrs/otrs-5.0.16.ebuild b/www-apps/otrs/otrs-5.0.16.ebuild
deleted file mode 100644
index c58f1acd4e2..00000000000
--- a/www-apps/otrs/otrs-5.0.16.ebuild
+++ /dev/null
@@ -1,153 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-inherit user systemd
-
-DESCRIPTION="OTRS is an Open source Ticket Request System"
-HOMEPAGE="https://otrs.org/"
-SRC_URI="https://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"
-
-REQUIRED_USE="|| ( mysql postgres )"
-
-DEPEND="media-libs/libpng:0"
-
-RDEPEND="dev-perl/Apache-Reload
- dev-perl/Archive-Zip
- dev-perl/DBI
- dev-perl/IO-Socket-SSL
- dev-perl/JSON-XS
- dev-perl/LWP-UserAgent-Determined
- dev-perl/Mail-POP3Client
- dev-perl/Mail-IMAPClient
- >dev-perl/Net-DNS-0.60
- dev-perl/Template-Toolkit
- dev-perl/Text-CSV_XS
- dev-perl/TimeDate
- dev-perl/XML-Parser
- dev-perl/YAML-LibYAML
- apache2? (
- mod_perl? (
- www-servers/apache:2
- =www-apache/libapreq2-2* www-apache/mod_perl
- )
- !fastcgi? ( !mod_perl? ( www-servers/apache:2[suexec] ) )
- )
- fastcgi? (
- dev-perl/FCGI
- virtual/httpd-fastcgi
- )
- !fastcgi? ( !apache2? ( virtual/httpd-cgi ) )
- gd? (
- dev-perl/GD
- dev-perl/GDTextUtil
- dev-perl/GDGraph
- )
- ldap? ( dev-perl/perl-ldap )
- mysql? ( dev-perl/DBD-mysql )
- postgres? ( dev-perl/DBD-Pg )
- pdf? (
- >=dev-perl/PDF-API2-0.73
- virtual/perl-Compress-Raw-Zlib
- )
- soap? (
- dev-perl/SOAP-Lite
- !=dev-perl/SOAP-Lite-0.711
- !=dev-perl/SOAP-Lite-0.712
- )
- "
-
-OTRS_HOME="${EROOT%/}/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
-}
-
-src_prepare() {
- rm -r "${S}/scripts"/auto_* || die
-
- pushd Kernel >/dev/null || die
- for i in *.dist; do
- cp ${i} $(basename ${i} .dist) || die
- done
- popd >/dev/null || die
-
- # Fix broken png file (and see pngfix help for exit codes)
- pngfix -q --out=out.png "${S}/var/httpd/htdocs/skins/Agent/default/img/otrs-verify.png"
- if [[ $? -gt 15 ]]; then
- die "pngfix failed"
- fi
- mv -f out.png "${S}/var/httpd/htdocs/skins/Agent/default/img/otrs-verify.png" || die
-
- sed -i -e "s:/opt/otrs:${OTRS_HOME}:g" "${S}"/Kernel/Config.pm \
- || die "sed failed"
-
- sed -i -e "s:/opt/otrs:${OTRS_HOME}:g" "${S}"/Kernel/Config/Defaults.pm \
- || die "sed failed"
-
- grep -lR "/opt" "${S}"/scripts | \
- xargs sed -i -e "s:/opt/otrs:${OTRS_HOME}:g" \
- || die "sed failed"
-
- echo "CONFIG_PROTECT=\"${OTRS_HOME}/Kernel/Config.pm \
- ${OTRS_HOME}/Kernel/Config/GenericAgent.pm\"" > "${T}/50${PN}" || die
-
- eapply_user
-}
-
-# 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 || die
-}
-
-src_install() {
- dodoc CHANGES.md README*
-
- insinto "${OTRS_HOME}"
- doins -r .fetchmailrc.dist .mailfilter.dist .procmailrc.dist RELEASE \
- Custom Kernel bin scripts var
-
- cat "${S}"/var/cron/*.dist > crontab || die
- insinto /usr/share/doc/${PF}/
- doins crontab
-
- local a
- 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}"
-
- systemd_dounit "${FILESDIR}/otrs.service"
-}
-
-pkg_postinst() {
- einfo "Setting correct permissions ..."
- /usr/bin/env perl "${OTRS_HOME%}"/bin/otrs.SetPermissions.pl "${OTRS_HOME}" \
- --otrs-user=otrs \
- --web-group=apache \
- || die "Could not set permissions"
-
- einfo "Installation done!"
- elog "1) Rebuild your config now by running the following commands:"
- elog "sudo -u otrs /usr/bin/env perl "${OTRS_HOME}"/bin/otrs.Console.pl Maint::Config::Rebuild"
- elog "sudo -u otrs /usr/bin/env perl "${OTRS_HOME}"/bin/otrs.Console.pl Maint::Cache::Delete"
- elog ""
- elog "2) Enable cronjobs with the following command:"
- elog "crontab -u otrs crontab"
- elog ""
- elog "3) systemd users: enable and start OTRS daemon:"
- elog "systemctl enable otrs"
- elog "systemctl start otrs"
-}
diff --git a/www-apps/otrs/otrs-5.0.18.ebuild b/www-apps/otrs/otrs-5.0.18.ebuild
deleted file mode 100644
index 16e682a03da..00000000000
--- a/www-apps/otrs/otrs-5.0.18.ebuild
+++ /dev/null
@@ -1,153 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-inherit user systemd
-
-DESCRIPTION="OTRS is an Open source Ticket Request System"
-HOMEPAGE="https://www.otrs.com/"
-SRC_URI="https://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"
-
-REQUIRED_USE="|| ( mysql postgres )"
-
-DEPEND="media-libs/libpng:0"
-
-RDEPEND="dev-perl/Apache-Reload
- dev-perl/Archive-Zip
- dev-perl/DBI
- dev-perl/IO-Socket-SSL
- dev-perl/JSON-XS
- dev-perl/LWP-UserAgent-Determined
- dev-perl/Mail-POP3Client
- dev-perl/Mail-IMAPClient
- >dev-perl/Net-DNS-0.60
- dev-perl/Template-Toolkit
- dev-perl/Text-CSV_XS
- dev-perl/TimeDate
- dev-perl/XML-Parser
- dev-perl/YAML-LibYAML
- apache2? (
- mod_perl? (
- www-servers/apache:2
- =www-apache/libapreq2-2* www-apache/mod_perl
- )
- !fastcgi? ( !mod_perl? ( www-servers/apache:2[suexec] ) )
- )
- fastcgi? (
- dev-perl/FCGI
- virtual/httpd-fastcgi
- )
- !fastcgi? ( !apache2? ( virtual/httpd-cgi ) )
- gd? (
- dev-perl/GD
- dev-perl/GDTextUtil
- dev-perl/GDGraph
- )
- ldap? ( dev-perl/perl-ldap )
- mysql? ( dev-perl/DBD-mysql )
- postgres? ( dev-perl/DBD-Pg )
- pdf? (
- >=dev-perl/PDF-API2-0.73
- virtual/perl-Compress-Raw-Zlib
- )
- soap? (
- dev-perl/SOAP-Lite
- !=dev-perl/SOAP-Lite-0.711
- !=dev-perl/SOAP-Lite-0.712
- )
- "
-
-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
-}
-
-src_prepare() {
- rm -r "${S}/scripts"/auto_* || die
-
- pushd Kernel >/dev/null || die
- for i in *.dist; do
- cp "${i}" $(basename "${i}" .dist) || die
- done
- popd >/dev/null || die
-
- # Fix broken png file (and see pngfix help for exit codes)
- pngfix -q --out=out.png "${S}/var/httpd/htdocs/skins/Agent/default/img/otrs-verify.png"
- if [[ $? -gt 15 ]]; then
- die "pngfix failed"
- fi
- mv -f out.png "${S}/var/httpd/htdocs/skins/Agent/default/img/otrs-verify.png" || die
-
- sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" "${S}"/Kernel/Config.pm \
- || die "sed failed"
-
- sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" "${S}"/Kernel/Config/Defaults.pm \
- || die "sed failed"
-
- grep -lR "/opt" "${S}"/scripts | \
- xargs sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" \
- || die "sed failed"
-
- echo "CONFIG_PROTECT=\"${EPREFIX%/}${OTRS_HOME}/Kernel/Config.pm \
- ${EPREFIX%/}${OTRS_HOME}/Kernel/Config/GenericAgent.pm\"" > "${T}/50${PN}" || die
-
- eapply_user
-}
-
-# 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 "${EROOT%/}"/usr/share/doc/${PF}/crontab || die
-}
-
-src_install() {
- dodoc CHANGES.md README*
-
- insinto "${OTRS_HOME}"
- doins -r .fetchmailrc.dist .mailfilter.dist .procmailrc.dist RELEASE \
- Custom Kernel bin scripts var
-
- cat "${S}"/var/cron/*.dist > "${T}"/crontab || die
- insinto /usr/share/doc/${PF}/
- doins "${T}"/crontab
-
- local a
- 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}"
-
- systemd_dounit "${FILESDIR}/otrs.service"
-}
-
-pkg_postinst() {
- einfo "Setting correct permissions ..."
- /usr/bin/env perl "${EROOT%/}${OTRS_HOME}"/bin/otrs.SetPermissions.pl "${EROOT%/}${OTRS_HOME}" \
- --otrs-user=otrs \
- --web-group=apache \
- || die "Could not set permissions"
-
- einfo "Installation done!"
- elog "1) Rebuild your config now by running the following commands:"
- elog "sudo -u otrs /usr/bin/env perl "${EROOT%/}${OTRS_HOME}"/bin/otrs.Console.pl Maint::Config::Rebuild"
- elog "sudo -u otrs /usr/bin/env perl "${EROOT%/}${OTRS_HOME}"/bin/otrs.Console.pl Maint::Cache::Delete"
- elog ""
- elog "2) Enable cronjobs with the following command:"
- elog "crontab -u otrs crontab"
- elog ""
- elog "3) systemd users: enable and start OTRS daemon:"
- elog "systemctl enable otrs"
- elog "systemctl start otrs"
-}
diff --git a/www-apps/otrs/otrs-5.0.19.ebuild b/www-apps/otrs/otrs-5.0.19.ebuild
deleted file mode 100644
index 16e682a03da..00000000000
--- a/www-apps/otrs/otrs-5.0.19.ebuild
+++ /dev/null
@@ -1,153 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-inherit user systemd
-
-DESCRIPTION="OTRS is an Open source Ticket Request System"
-HOMEPAGE="https://www.otrs.com/"
-SRC_URI="https://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"
-
-REQUIRED_USE="|| ( mysql postgres )"
-
-DEPEND="media-libs/libpng:0"
-
-RDEPEND="dev-perl/Apache-Reload
- dev-perl/Archive-Zip
- dev-perl/DBI
- dev-perl/IO-Socket-SSL
- dev-perl/JSON-XS
- dev-perl/LWP-UserAgent-Determined
- dev-perl/Mail-POP3Client
- dev-perl/Mail-IMAPClient
- >dev-perl/Net-DNS-0.60
- dev-perl/Template-Toolkit
- dev-perl/Text-CSV_XS
- dev-perl/TimeDate
- dev-perl/XML-Parser
- dev-perl/YAML-LibYAML
- apache2? (
- mod_perl? (
- www-servers/apache:2
- =www-apache/libapreq2-2* www-apache/mod_perl
- )
- !fastcgi? ( !mod_perl? ( www-servers/apache:2[suexec] ) )
- )
- fastcgi? (
- dev-perl/FCGI
- virtual/httpd-fastcgi
- )
- !fastcgi? ( !apache2? ( virtual/httpd-cgi ) )
- gd? (
- dev-perl/GD
- dev-perl/GDTextUtil
- dev-perl/GDGraph
- )
- ldap? ( dev-perl/perl-ldap )
- mysql? ( dev-perl/DBD-mysql )
- postgres? ( dev-perl/DBD-Pg )
- pdf? (
- >=dev-perl/PDF-API2-0.73
- virtual/perl-Compress-Raw-Zlib
- )
- soap? (
- dev-perl/SOAP-Lite
- !=dev-perl/SOAP-Lite-0.711
- !=dev-perl/SOAP-Lite-0.712
- )
- "
-
-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
-}
-
-src_prepare() {
- rm -r "${S}/scripts"/auto_* || die
-
- pushd Kernel >/dev/null || die
- for i in *.dist; do
- cp "${i}" $(basename "${i}" .dist) || die
- done
- popd >/dev/null || die
-
- # Fix broken png file (and see pngfix help for exit codes)
- pngfix -q --out=out.png "${S}/var/httpd/htdocs/skins/Agent/default/img/otrs-verify.png"
- if [[ $? -gt 15 ]]; then
- die "pngfix failed"
- fi
- mv -f out.png "${S}/var/httpd/htdocs/skins/Agent/default/img/otrs-verify.png" || die
-
- sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" "${S}"/Kernel/Config.pm \
- || die "sed failed"
-
- sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" "${S}"/Kernel/Config/Defaults.pm \
- || die "sed failed"
-
- grep -lR "/opt" "${S}"/scripts | \
- xargs sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" \
- || die "sed failed"
-
- echo "CONFIG_PROTECT=\"${EPREFIX%/}${OTRS_HOME}/Kernel/Config.pm \
- ${EPREFIX%/}${OTRS_HOME}/Kernel/Config/GenericAgent.pm\"" > "${T}/50${PN}" || die
-
- eapply_user
-}
-
-# 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 "${EROOT%/}"/usr/share/doc/${PF}/crontab || die
-}
-
-src_install() {
- dodoc CHANGES.md README*
-
- insinto "${OTRS_HOME}"
- doins -r .fetchmailrc.dist .mailfilter.dist .procmailrc.dist RELEASE \
- Custom Kernel bin scripts var
-
- cat "${S}"/var/cron/*.dist > "${T}"/crontab || die
- insinto /usr/share/doc/${PF}/
- doins "${T}"/crontab
-
- local a
- 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}"
-
- systemd_dounit "${FILESDIR}/otrs.service"
-}
-
-pkg_postinst() {
- einfo "Setting correct permissions ..."
- /usr/bin/env perl "${EROOT%/}${OTRS_HOME}"/bin/otrs.SetPermissions.pl "${EROOT%/}${OTRS_HOME}" \
- --otrs-user=otrs \
- --web-group=apache \
- || die "Could not set permissions"
-
- einfo "Installation done!"
- elog "1) Rebuild your config now by running the following commands:"
- elog "sudo -u otrs /usr/bin/env perl "${EROOT%/}${OTRS_HOME}"/bin/otrs.Console.pl Maint::Config::Rebuild"
- elog "sudo -u otrs /usr/bin/env perl "${EROOT%/}${OTRS_HOME}"/bin/otrs.Console.pl Maint::Cache::Delete"
- elog ""
- elog "2) Enable cronjobs with the following command:"
- elog "crontab -u otrs crontab"
- elog ""
- elog "3) systemd users: enable and start OTRS daemon:"
- elog "systemctl enable otrs"
- elog "systemctl start otrs"
-}
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/otrs/
@ 2017-08-02 9:07 Patrice Clement
0 siblings, 0 replies; 28+ messages in thread
From: Patrice Clement @ 2017-08-02 9:07 UTC (permalink / raw
To: gentoo-commits
commit: ca53e03e58eb20fdfc3715f9862c965008d49ecb
Author: Stefan G. Weichinger <office <AT> oops <DOT> co <DOT> at>
AuthorDate: Tue Aug 1 12:09:28 2017 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Wed Aug 2 09:07:50 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca53e03e
www-apps/otrs: version bump.
Closes: https://github.com/gentoo/gentoo/pull/5267
www-apps/otrs/Manifest | 3 ++-
www-apps/otrs/{otrs-5.0.20.ebuild => otrs-5.0.21.ebuild} | 0
www-apps/otrs/{otrs-5.0.20.ebuild => otrs-5.0.22.ebuild} | 0
3 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/www-apps/otrs/Manifest b/www-apps/otrs/Manifest
index 5a04a612708..f9842603024 100644
--- a/www-apps/otrs/Manifest
+++ b/www-apps/otrs/Manifest
@@ -1 +1,2 @@
-DIST otrs-5.0.20.tar.bz2 20638821 SHA256 1dfebd86dc55c7e125593e0bb5307a74217f15e23469fead66e2a4f6e00e27e5 SHA512 29b5c52478af6c95fc529db9d031c79e131a1ffaf7cc323ecfa5527145049e6b6762c04138bab5e6a49863b423829c474b6dbdc77777a84e8ea7f5081c2fdd8c WHIRLPOOL 81536727b7b918b2ddb9c206bb5643effbad584a70b9acdebb18e2b4b911837c246215bab23600f0724b789b3e5718ee22dbbd3daf24874da6ef2ce79fd91a2e
+DIST otrs-5.0.21.tar.bz2 20603118 SHA256 51e0050528bb477ce2ef4e11ec99e21486e93e48eb8ca9b35689be83a4f448ff SHA512 578b663f149dd7bebefa0a2fec7bc3f105f09c05d6dd03b26c0f80cde5ef8db4560e87772be335485810bf153f2ceb128163fba5600ece224bcd78c61b5eed98 WHIRLPOOL 56b7e8412d17d0e9298ac5ccb686ad09cc73aebcc4c0da9613268620a1938bd64041d94521dc6c5ff8dd172d9aa38943b232604b92b3311d28c81a186292efb2
+DIST otrs-5.0.22.tar.bz2 20611715 SHA256 497c600631c26f0c1b43083ceb6b805dac8741770db085ad728b70f30670ee8d SHA512 0511e13983c7ec8036bd7bbad78835e309c326822b6625e65df902e1b355bcb7dee03246e6326baa0b586b5d2c6b295b9608aaf61c973dafb7818eb1050aaa40 WHIRLPOOL 4567f62a6abb8a49ec3ee53a957821b2dfa3a46cd4a4d60f0579c63088218910b7732f28ce2a4437201d2ca059cf0fa685659fcaf4623b15ee695c5d6d12d812
diff --git a/www-apps/otrs/otrs-5.0.20.ebuild b/www-apps/otrs/otrs-5.0.21.ebuild
similarity index 100%
copy from www-apps/otrs/otrs-5.0.20.ebuild
copy to www-apps/otrs/otrs-5.0.21.ebuild
diff --git a/www-apps/otrs/otrs-5.0.20.ebuild b/www-apps/otrs/otrs-5.0.22.ebuild
similarity index 100%
rename from www-apps/otrs/otrs-5.0.20.ebuild
rename to www-apps/otrs/otrs-5.0.22.ebuild
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/otrs/
@ 2017-10-02 22:32 Patrice Clement
0 siblings, 0 replies; 28+ messages in thread
From: Patrice Clement @ 2017-10-02 22:32 UTC (permalink / raw
To: gentoo-commits
commit: 1d8bc0effd4c8d8bb5248dc89b18129fad68c5ef
Author: Stefan G. Weichinger <office <AT> oops <DOT> co <DOT> at>
AuthorDate: Thu Sep 21 15:28:30 2017 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Mon Oct 2 22:32:47 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d8bc0ef
www-apps/otrs: version bump to 5.0.23.
Gentoo-Bug: https://bugs.gentoo.org/631638
Closes: https://github.com/gentoo/gentoo/pull/5756
www-apps/otrs/Manifest | 1 +
www-apps/otrs/otrs-5.0.23.ebuild | 154 +++++++++++++++++++++++++++++++++++++++
2 files changed, 155 insertions(+)
diff --git a/www-apps/otrs/Manifest b/www-apps/otrs/Manifest
index f9842603024..8824dd31a57 100644
--- a/www-apps/otrs/Manifest
+++ b/www-apps/otrs/Manifest
@@ -1,2 +1,3 @@
DIST otrs-5.0.21.tar.bz2 20603118 SHA256 51e0050528bb477ce2ef4e11ec99e21486e93e48eb8ca9b35689be83a4f448ff SHA512 578b663f149dd7bebefa0a2fec7bc3f105f09c05d6dd03b26c0f80cde5ef8db4560e87772be335485810bf153f2ceb128163fba5600ece224bcd78c61b5eed98 WHIRLPOOL 56b7e8412d17d0e9298ac5ccb686ad09cc73aebcc4c0da9613268620a1938bd64041d94521dc6c5ff8dd172d9aa38943b232604b92b3311d28c81a186292efb2
DIST otrs-5.0.22.tar.bz2 20611715 SHA256 497c600631c26f0c1b43083ceb6b805dac8741770db085ad728b70f30670ee8d SHA512 0511e13983c7ec8036bd7bbad78835e309c326822b6625e65df902e1b355bcb7dee03246e6326baa0b586b5d2c6b295b9608aaf61c973dafb7818eb1050aaa40 WHIRLPOOL 4567f62a6abb8a49ec3ee53a957821b2dfa3a46cd4a4d60f0579c63088218910b7732f28ce2a4437201d2ca059cf0fa685659fcaf4623b15ee695c5d6d12d812
+DIST otrs-5.0.23.tar.bz2 20617459 SHA256 5e12affbccde0cae5738de1d0c7334e655b4c373ea668913ec54f31564b128c4 SHA512 c6ae594178e1f0eb59b87a8d08b610940ba7ad0a44699ba73568c6844a49fc03e2486bce393aaf0dd78da9c64790b9fae72cfad65c9c6955c0524fbf27b95d7e WHIRLPOOL d4e9e23fd54993b7c7a8559585c0fd3e934424d24c5283efbfc204ad202478910f3dc9fbf9a4073d6c4eb237320f4ef81207e715215c63e405c032a4dca3bd6d
diff --git a/www-apps/otrs/otrs-5.0.23.ebuild b/www-apps/otrs/otrs-5.0.23.ebuild
new file mode 100644
index 00000000000..172bd42f6b4
--- /dev/null
+++ b/www-apps/otrs/otrs-5.0.23.ebuild
@@ -0,0 +1,154 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit user systemd
+
+DESCRIPTION="OTRS is an Open source Ticket Request System"
+HOMEPAGE="https://www.otrs.com/"
+SRC_URI="https://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"
+
+REQUIRED_USE="|| ( mysql postgres )"
+
+DEPEND="media-libs/libpng:0"
+
+RDEPEND="dev-perl/Apache-Reload
+ dev-perl/Archive-Zip
+ dev-perl/DBI
+ dev-perl/IO-Socket-SSL
+ dev-perl/JSON-XS
+ dev-perl/LWP-UserAgent-Determined
+ dev-perl/Mail-POP3Client
+ dev-perl/Mail-IMAPClient
+ >dev-perl/Net-DNS-0.60
+ dev-perl/Template-Toolkit
+ dev-perl/Text-CSV_XS
+ dev-perl/TimeDate
+ dev-perl/XML-Parser
+ dev-perl/YAML-LibYAML
+ apache2? (
+ mod_perl? (
+ www-servers/apache:2
+ =www-apache/libapreq2-2* www-apache/mod_perl
+ )
+ !fastcgi? ( !mod_perl? ( www-servers/apache:2[suexec] ) )
+ )
+ fastcgi? (
+ dev-perl/FCGI
+ virtual/httpd-fastcgi
+ )
+ !fastcgi? ( !apache2? ( virtual/httpd-cgi ) )
+ gd? (
+ dev-perl/GD
+ dev-perl/GDTextUtil
+ dev-perl/GDGraph
+ )
+ ldap? ( dev-perl/perl-ldap )
+ mysql? ( dev-perl/DBD-mysql )
+ postgres? ( dev-perl/DBD-Pg )
+ pdf? (
+ >=dev-perl/PDF-API2-0.73
+ virtual/perl-Compress-Raw-Zlib
+ )
+ soap? (
+ dev-perl/SOAP-Lite
+ !=dev-perl/SOAP-Lite-0.711
+ !=dev-perl/SOAP-Lite-0.712
+ )
+ "
+
+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
+}
+
+src_prepare() {
+ rm -r "${S}/scripts"/auto_* || die
+
+ pushd Kernel >/dev/null || die
+ local i
+ for i in *.dist; do
+ cp "${i}" $(basename "${i}" .dist) || die
+ done
+ popd >/dev/null || die
+
+ # Fix broken png file (and see pngfix help for exit codes)
+ pngfix -q --out=out.png "${S}/var/httpd/htdocs/skins/Agent/default/img/otrs-verify.png"
+ if [[ $? -gt 15 ]]; then
+ die "pngfix failed"
+ fi
+ mv -f out.png "${S}/var/httpd/htdocs/skins/Agent/default/img/otrs-verify.png" || die
+
+ sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" "${S}"/Kernel/Config.pm \
+ || die "sed failed"
+
+ sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" "${S}"/Kernel/Config/Defaults.pm \
+ || die "sed failed"
+
+ grep -lR "/opt" "${S}"/scripts | \
+ xargs sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" \
+ || die "sed failed"
+
+ echo "CONFIG_PROTECT=\"${EPREFIX%/}${OTRS_HOME}/Kernel/Config.pm \
+ ${EPREFIX%/}${OTRS_HOME}/Kernel/Config/GenericAgent.pm\"" > "${T}/50${PN}" || die
+
+ eapply_user
+}
+
+# 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 "${EROOT%/}"/usr/share/doc/${PF}/crontab || die
+}
+
+src_install() {
+ dodoc CHANGES.md README*
+
+ insinto "${OTRS_HOME}"
+ doins -r .fetchmailrc.dist .mailfilter.dist .procmailrc.dist RELEASE \
+ Custom Kernel bin scripts var
+
+ cat "${S}"/var/cron/*.dist > "${T}"/crontab || die
+ insinto /usr/share/doc/${PF}/
+ doins "${T}"/crontab
+
+ local a
+ 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}"
+
+ systemd_dounit "${FILESDIR}/otrs.service"
+}
+
+pkg_postinst() {
+ einfo "Setting correct permissions ..."
+ /usr/bin/env perl "${EROOT%/}${OTRS_HOME}"/bin/otrs.SetPermissions.pl "${EROOT%/}${OTRS_HOME}" \
+ --otrs-user=otrs \
+ --web-group=apache \
+ || die "Could not set permissions"
+
+ einfo "Installation done!"
+ elog "1) Rebuild your config now by running the following commands:"
+ elog "sudo -u otrs /usr/bin/env perl "${EROOT%/}${OTRS_HOME}"/bin/otrs.Console.pl Maint::Config::Rebuild"
+ elog "sudo -u otrs /usr/bin/env perl "${EROOT%/}${OTRS_HOME}"/bin/otrs.Console.pl Maint::Cache::Delete"
+ elog ""
+ elog "2) Enable cronjobs with the following command:"
+ elog "crontab -u otrs crontab"
+ elog ""
+ elog "3) systemd users: enable and start OTRS daemon:"
+ elog "systemctl enable otrs"
+ elog "systemctl start otrs"
+}
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/otrs/
@ 2017-10-07 19:49 Patrice Clement
0 siblings, 0 replies; 28+ messages in thread
From: Patrice Clement @ 2017-10-07 19:49 UTC (permalink / raw
To: gentoo-commits
commit: c8d17ca06beea07febb2b479fada0550ae744e83
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 7 19:47:18 2017 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sat Oct 7 19:47:34 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8d17ca0
www-apps/otrs: remove vulnerable versions.
Bug: https://bugs.gentoo.org/631638
Package-Manager: Portage-2.3.8, Repoman-2.3.3
www-apps/otrs/Manifest | 2 -
www-apps/otrs/otrs-5.0.21.ebuild | 153 ---------------------------------------
www-apps/otrs/otrs-5.0.22.ebuild | 153 ---------------------------------------
3 files changed, 308 deletions(-)
diff --git a/www-apps/otrs/Manifest b/www-apps/otrs/Manifest
index 8824dd31a57..d797e92e7f9 100644
--- a/www-apps/otrs/Manifest
+++ b/www-apps/otrs/Manifest
@@ -1,3 +1 @@
-DIST otrs-5.0.21.tar.bz2 20603118 SHA256 51e0050528bb477ce2ef4e11ec99e21486e93e48eb8ca9b35689be83a4f448ff SHA512 578b663f149dd7bebefa0a2fec7bc3f105f09c05d6dd03b26c0f80cde5ef8db4560e87772be335485810bf153f2ceb128163fba5600ece224bcd78c61b5eed98 WHIRLPOOL 56b7e8412d17d0e9298ac5ccb686ad09cc73aebcc4c0da9613268620a1938bd64041d94521dc6c5ff8dd172d9aa38943b232604b92b3311d28c81a186292efb2
-DIST otrs-5.0.22.tar.bz2 20611715 SHA256 497c600631c26f0c1b43083ceb6b805dac8741770db085ad728b70f30670ee8d SHA512 0511e13983c7ec8036bd7bbad78835e309c326822b6625e65df902e1b355bcb7dee03246e6326baa0b586b5d2c6b295b9608aaf61c973dafb7818eb1050aaa40 WHIRLPOOL 4567f62a6abb8a49ec3ee53a957821b2dfa3a46cd4a4d60f0579c63088218910b7732f28ce2a4437201d2ca059cf0fa685659fcaf4623b15ee695c5d6d12d812
DIST otrs-5.0.23.tar.bz2 20617459 SHA256 5e12affbccde0cae5738de1d0c7334e655b4c373ea668913ec54f31564b128c4 SHA512 c6ae594178e1f0eb59b87a8d08b610940ba7ad0a44699ba73568c6844a49fc03e2486bce393aaf0dd78da9c64790b9fae72cfad65c9c6955c0524fbf27b95d7e WHIRLPOOL d4e9e23fd54993b7c7a8559585c0fd3e934424d24c5283efbfc204ad202478910f3dc9fbf9a4073d6c4eb237320f4ef81207e715215c63e405c032a4dca3bd6d
diff --git a/www-apps/otrs/otrs-5.0.21.ebuild b/www-apps/otrs/otrs-5.0.21.ebuild
deleted file mode 100644
index 16e682a03da..00000000000
--- a/www-apps/otrs/otrs-5.0.21.ebuild
+++ /dev/null
@@ -1,153 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-inherit user systemd
-
-DESCRIPTION="OTRS is an Open source Ticket Request System"
-HOMEPAGE="https://www.otrs.com/"
-SRC_URI="https://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"
-
-REQUIRED_USE="|| ( mysql postgres )"
-
-DEPEND="media-libs/libpng:0"
-
-RDEPEND="dev-perl/Apache-Reload
- dev-perl/Archive-Zip
- dev-perl/DBI
- dev-perl/IO-Socket-SSL
- dev-perl/JSON-XS
- dev-perl/LWP-UserAgent-Determined
- dev-perl/Mail-POP3Client
- dev-perl/Mail-IMAPClient
- >dev-perl/Net-DNS-0.60
- dev-perl/Template-Toolkit
- dev-perl/Text-CSV_XS
- dev-perl/TimeDate
- dev-perl/XML-Parser
- dev-perl/YAML-LibYAML
- apache2? (
- mod_perl? (
- www-servers/apache:2
- =www-apache/libapreq2-2* www-apache/mod_perl
- )
- !fastcgi? ( !mod_perl? ( www-servers/apache:2[suexec] ) )
- )
- fastcgi? (
- dev-perl/FCGI
- virtual/httpd-fastcgi
- )
- !fastcgi? ( !apache2? ( virtual/httpd-cgi ) )
- gd? (
- dev-perl/GD
- dev-perl/GDTextUtil
- dev-perl/GDGraph
- )
- ldap? ( dev-perl/perl-ldap )
- mysql? ( dev-perl/DBD-mysql )
- postgres? ( dev-perl/DBD-Pg )
- pdf? (
- >=dev-perl/PDF-API2-0.73
- virtual/perl-Compress-Raw-Zlib
- )
- soap? (
- dev-perl/SOAP-Lite
- !=dev-perl/SOAP-Lite-0.711
- !=dev-perl/SOAP-Lite-0.712
- )
- "
-
-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
-}
-
-src_prepare() {
- rm -r "${S}/scripts"/auto_* || die
-
- pushd Kernel >/dev/null || die
- for i in *.dist; do
- cp "${i}" $(basename "${i}" .dist) || die
- done
- popd >/dev/null || die
-
- # Fix broken png file (and see pngfix help for exit codes)
- pngfix -q --out=out.png "${S}/var/httpd/htdocs/skins/Agent/default/img/otrs-verify.png"
- if [[ $? -gt 15 ]]; then
- die "pngfix failed"
- fi
- mv -f out.png "${S}/var/httpd/htdocs/skins/Agent/default/img/otrs-verify.png" || die
-
- sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" "${S}"/Kernel/Config.pm \
- || die "sed failed"
-
- sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" "${S}"/Kernel/Config/Defaults.pm \
- || die "sed failed"
-
- grep -lR "/opt" "${S}"/scripts | \
- xargs sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" \
- || die "sed failed"
-
- echo "CONFIG_PROTECT=\"${EPREFIX%/}${OTRS_HOME}/Kernel/Config.pm \
- ${EPREFIX%/}${OTRS_HOME}/Kernel/Config/GenericAgent.pm\"" > "${T}/50${PN}" || die
-
- eapply_user
-}
-
-# 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 "${EROOT%/}"/usr/share/doc/${PF}/crontab || die
-}
-
-src_install() {
- dodoc CHANGES.md README*
-
- insinto "${OTRS_HOME}"
- doins -r .fetchmailrc.dist .mailfilter.dist .procmailrc.dist RELEASE \
- Custom Kernel bin scripts var
-
- cat "${S}"/var/cron/*.dist > "${T}"/crontab || die
- insinto /usr/share/doc/${PF}/
- doins "${T}"/crontab
-
- local a
- 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}"
-
- systemd_dounit "${FILESDIR}/otrs.service"
-}
-
-pkg_postinst() {
- einfo "Setting correct permissions ..."
- /usr/bin/env perl "${EROOT%/}${OTRS_HOME}"/bin/otrs.SetPermissions.pl "${EROOT%/}${OTRS_HOME}" \
- --otrs-user=otrs \
- --web-group=apache \
- || die "Could not set permissions"
-
- einfo "Installation done!"
- elog "1) Rebuild your config now by running the following commands:"
- elog "sudo -u otrs /usr/bin/env perl "${EROOT%/}${OTRS_HOME}"/bin/otrs.Console.pl Maint::Config::Rebuild"
- elog "sudo -u otrs /usr/bin/env perl "${EROOT%/}${OTRS_HOME}"/bin/otrs.Console.pl Maint::Cache::Delete"
- elog ""
- elog "2) Enable cronjobs with the following command:"
- elog "crontab -u otrs crontab"
- elog ""
- elog "3) systemd users: enable and start OTRS daemon:"
- elog "systemctl enable otrs"
- elog "systemctl start otrs"
-}
diff --git a/www-apps/otrs/otrs-5.0.22.ebuild b/www-apps/otrs/otrs-5.0.22.ebuild
deleted file mode 100644
index 16e682a03da..00000000000
--- a/www-apps/otrs/otrs-5.0.22.ebuild
+++ /dev/null
@@ -1,153 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-inherit user systemd
-
-DESCRIPTION="OTRS is an Open source Ticket Request System"
-HOMEPAGE="https://www.otrs.com/"
-SRC_URI="https://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"
-
-REQUIRED_USE="|| ( mysql postgres )"
-
-DEPEND="media-libs/libpng:0"
-
-RDEPEND="dev-perl/Apache-Reload
- dev-perl/Archive-Zip
- dev-perl/DBI
- dev-perl/IO-Socket-SSL
- dev-perl/JSON-XS
- dev-perl/LWP-UserAgent-Determined
- dev-perl/Mail-POP3Client
- dev-perl/Mail-IMAPClient
- >dev-perl/Net-DNS-0.60
- dev-perl/Template-Toolkit
- dev-perl/Text-CSV_XS
- dev-perl/TimeDate
- dev-perl/XML-Parser
- dev-perl/YAML-LibYAML
- apache2? (
- mod_perl? (
- www-servers/apache:2
- =www-apache/libapreq2-2* www-apache/mod_perl
- )
- !fastcgi? ( !mod_perl? ( www-servers/apache:2[suexec] ) )
- )
- fastcgi? (
- dev-perl/FCGI
- virtual/httpd-fastcgi
- )
- !fastcgi? ( !apache2? ( virtual/httpd-cgi ) )
- gd? (
- dev-perl/GD
- dev-perl/GDTextUtil
- dev-perl/GDGraph
- )
- ldap? ( dev-perl/perl-ldap )
- mysql? ( dev-perl/DBD-mysql )
- postgres? ( dev-perl/DBD-Pg )
- pdf? (
- >=dev-perl/PDF-API2-0.73
- virtual/perl-Compress-Raw-Zlib
- )
- soap? (
- dev-perl/SOAP-Lite
- !=dev-perl/SOAP-Lite-0.711
- !=dev-perl/SOAP-Lite-0.712
- )
- "
-
-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
-}
-
-src_prepare() {
- rm -r "${S}/scripts"/auto_* || die
-
- pushd Kernel >/dev/null || die
- for i in *.dist; do
- cp "${i}" $(basename "${i}" .dist) || die
- done
- popd >/dev/null || die
-
- # Fix broken png file (and see pngfix help for exit codes)
- pngfix -q --out=out.png "${S}/var/httpd/htdocs/skins/Agent/default/img/otrs-verify.png"
- if [[ $? -gt 15 ]]; then
- die "pngfix failed"
- fi
- mv -f out.png "${S}/var/httpd/htdocs/skins/Agent/default/img/otrs-verify.png" || die
-
- sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" "${S}"/Kernel/Config.pm \
- || die "sed failed"
-
- sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" "${S}"/Kernel/Config/Defaults.pm \
- || die "sed failed"
-
- grep -lR "/opt" "${S}"/scripts | \
- xargs sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" \
- || die "sed failed"
-
- echo "CONFIG_PROTECT=\"${EPREFIX%/}${OTRS_HOME}/Kernel/Config.pm \
- ${EPREFIX%/}${OTRS_HOME}/Kernel/Config/GenericAgent.pm\"" > "${T}/50${PN}" || die
-
- eapply_user
-}
-
-# 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 "${EROOT%/}"/usr/share/doc/${PF}/crontab || die
-}
-
-src_install() {
- dodoc CHANGES.md README*
-
- insinto "${OTRS_HOME}"
- doins -r .fetchmailrc.dist .mailfilter.dist .procmailrc.dist RELEASE \
- Custom Kernel bin scripts var
-
- cat "${S}"/var/cron/*.dist > "${T}"/crontab || die
- insinto /usr/share/doc/${PF}/
- doins "${T}"/crontab
-
- local a
- 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}"
-
- systemd_dounit "${FILESDIR}/otrs.service"
-}
-
-pkg_postinst() {
- einfo "Setting correct permissions ..."
- /usr/bin/env perl "${EROOT%/}${OTRS_HOME}"/bin/otrs.SetPermissions.pl "${EROOT%/}${OTRS_HOME}" \
- --otrs-user=otrs \
- --web-group=apache \
- || die "Could not set permissions"
-
- einfo "Installation done!"
- elog "1) Rebuild your config now by running the following commands:"
- elog "sudo -u otrs /usr/bin/env perl "${EROOT%/}${OTRS_HOME}"/bin/otrs.Console.pl Maint::Config::Rebuild"
- elog "sudo -u otrs /usr/bin/env perl "${EROOT%/}${OTRS_HOME}"/bin/otrs.Console.pl Maint::Cache::Delete"
- elog ""
- elog "2) Enable cronjobs with the following command:"
- elog "crontab -u otrs crontab"
- elog ""
- elog "3) systemd users: enable and start OTRS daemon:"
- elog "systemctl enable otrs"
- elog "systemctl start otrs"
-}
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/otrs/
@ 2017-11-26 23:26 David Seifert
0 siblings, 0 replies; 28+ messages in thread
From: David Seifert @ 2017-11-26 23:26 UTC (permalink / raw
To: gentoo-commits
commit: 9484aca6c78902d996c2887965be216f9d9618be
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 26 13:07:48 2017 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Nov 26 23:25:56 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9484aca6
www-apps/otrs: [QA] Consistent whitespace in metadata.xml
www-apps/otrs/metadata.xml | 32 ++++++++++++++++----------------
1 file changed, 16 insertions(+), 16 deletions(-)
diff --git a/www-apps/otrs/metadata.xml b/www-apps/otrs/metadata.xml
index 38448c9a8c7..8bdf83b248a 100644
--- a/www-apps/otrs/metadata.xml
+++ b/www-apps/otrs/metadata.xml
@@ -1,20 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
- <email>lists@xunil.at</email>
- <name>Stefan Weichinger</name>
- <description>Proxy maintainer</description>
- </maintainer>
- <maintainer type="project">
- <email>web-apps@gentoo.org</email>
- <name>Gentoo Webapps</name>
- </maintainer>
- <maintainer type="project">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
- </maintainer>
- <use>
- <flag name="mod_perl">Provide all dependencies for use of mod_perl instead of cgi</flag>
- </use>
+ <maintainer type="person">
+ <email>lists@xunil.at</email>
+ <name>Stefan Weichinger</name>
+ <description>Proxy maintainer</description>
+ </maintainer>
+ <maintainer type="project">
+ <email>web-apps@gentoo.org</email>
+ <name>Gentoo Webapps</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <use>
+ <flag name="mod_perl">Provide all dependencies for use of mod_perl instead of cgi</flag>
+ </use>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/otrs/
@ 2017-12-06 12:54 Michael Palimaka
0 siblings, 0 replies; 28+ messages in thread
From: Michael Palimaka @ 2017-12-06 12:54 UTC (permalink / raw
To: gentoo-commits
commit: 5154cb45b7baeb3f9d0d76fa67988fc416494db9
Author: Stefan G. Weichinger <office <AT> oops <DOT> co <DOT> at>
AuthorDate: Tue Dec 5 10:45:42 2017 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Wed Dec 6 12:54:26 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5154cb45
www-apps/otrs: version bump to 5.0.25
Closes: https://bugs.gentoo.org/639942
Closes: https://github.com/gentoo/gentoo/pull/6448
www-apps/otrs/Manifest | 3 +-
www-apps/otrs/otrs-5.0.25.ebuild | 154 +++++++++++++++++++++++++++++++++++++++
2 files changed, 156 insertions(+), 1 deletion(-)
diff --git a/www-apps/otrs/Manifest b/www-apps/otrs/Manifest
index d797e92e7f9..09404be2d16 100644
--- a/www-apps/otrs/Manifest
+++ b/www-apps/otrs/Manifest
@@ -1 +1,2 @@
-DIST otrs-5.0.23.tar.bz2 20617459 SHA256 5e12affbccde0cae5738de1d0c7334e655b4c373ea668913ec54f31564b128c4 SHA512 c6ae594178e1f0eb59b87a8d08b610940ba7ad0a44699ba73568c6844a49fc03e2486bce393aaf0dd78da9c64790b9fae72cfad65c9c6955c0524fbf27b95d7e WHIRLPOOL d4e9e23fd54993b7c7a8559585c0fd3e934424d24c5283efbfc204ad202478910f3dc9fbf9a4073d6c4eb237320f4ef81207e715215c63e405c032a4dca3bd6d
+DIST otrs-5.0.23.tar.bz2 20617459 BLAKE2B 3c57ae5462d78e8f8ecb5f3db031725f5f51d8dafc850cc445a415b1a03023f67d0b209c5bee71318665986ac3ef0b460dee944c23e8aa177cabcc54cf72f384 SHA512 c6ae594178e1f0eb59b87a8d08b610940ba7ad0a44699ba73568c6844a49fc03e2486bce393aaf0dd78da9c64790b9fae72cfad65c9c6955c0524fbf27b95d7e
+DIST otrs-5.0.25.tar.bz2 20671315 BLAKE2B 045037411039f480434e7c36ab84b63ec0c119e39cc6918ba05d9a7c92e5c940545412dc2824fc427199b384dece34793d2b60fadafec302f67581aabdc5ac82 SHA512 1e68471f071265d963c51ab5a6510a9a9b23d3de87e10eb58b9f9ca937500f4fdf68a7e911f9509244e4cbf43e1658c95dbaba83160d736ea0116167f3361e37
diff --git a/www-apps/otrs/otrs-5.0.25.ebuild b/www-apps/otrs/otrs-5.0.25.ebuild
new file mode 100644
index 00000000000..172bd42f6b4
--- /dev/null
+++ b/www-apps/otrs/otrs-5.0.25.ebuild
@@ -0,0 +1,154 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit user systemd
+
+DESCRIPTION="OTRS is an Open source Ticket Request System"
+HOMEPAGE="https://www.otrs.com/"
+SRC_URI="https://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"
+
+REQUIRED_USE="|| ( mysql postgres )"
+
+DEPEND="media-libs/libpng:0"
+
+RDEPEND="dev-perl/Apache-Reload
+ dev-perl/Archive-Zip
+ dev-perl/DBI
+ dev-perl/IO-Socket-SSL
+ dev-perl/JSON-XS
+ dev-perl/LWP-UserAgent-Determined
+ dev-perl/Mail-POP3Client
+ dev-perl/Mail-IMAPClient
+ >dev-perl/Net-DNS-0.60
+ dev-perl/Template-Toolkit
+ dev-perl/Text-CSV_XS
+ dev-perl/TimeDate
+ dev-perl/XML-Parser
+ dev-perl/YAML-LibYAML
+ apache2? (
+ mod_perl? (
+ www-servers/apache:2
+ =www-apache/libapreq2-2* www-apache/mod_perl
+ )
+ !fastcgi? ( !mod_perl? ( www-servers/apache:2[suexec] ) )
+ )
+ fastcgi? (
+ dev-perl/FCGI
+ virtual/httpd-fastcgi
+ )
+ !fastcgi? ( !apache2? ( virtual/httpd-cgi ) )
+ gd? (
+ dev-perl/GD
+ dev-perl/GDTextUtil
+ dev-perl/GDGraph
+ )
+ ldap? ( dev-perl/perl-ldap )
+ mysql? ( dev-perl/DBD-mysql )
+ postgres? ( dev-perl/DBD-Pg )
+ pdf? (
+ >=dev-perl/PDF-API2-0.73
+ virtual/perl-Compress-Raw-Zlib
+ )
+ soap? (
+ dev-perl/SOAP-Lite
+ !=dev-perl/SOAP-Lite-0.711
+ !=dev-perl/SOAP-Lite-0.712
+ )
+ "
+
+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
+}
+
+src_prepare() {
+ rm -r "${S}/scripts"/auto_* || die
+
+ pushd Kernel >/dev/null || die
+ local i
+ for i in *.dist; do
+ cp "${i}" $(basename "${i}" .dist) || die
+ done
+ popd >/dev/null || die
+
+ # Fix broken png file (and see pngfix help for exit codes)
+ pngfix -q --out=out.png "${S}/var/httpd/htdocs/skins/Agent/default/img/otrs-verify.png"
+ if [[ $? -gt 15 ]]; then
+ die "pngfix failed"
+ fi
+ mv -f out.png "${S}/var/httpd/htdocs/skins/Agent/default/img/otrs-verify.png" || die
+
+ sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" "${S}"/Kernel/Config.pm \
+ || die "sed failed"
+
+ sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" "${S}"/Kernel/Config/Defaults.pm \
+ || die "sed failed"
+
+ grep -lR "/opt" "${S}"/scripts | \
+ xargs sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" \
+ || die "sed failed"
+
+ echo "CONFIG_PROTECT=\"${EPREFIX%/}${OTRS_HOME}/Kernel/Config.pm \
+ ${EPREFIX%/}${OTRS_HOME}/Kernel/Config/GenericAgent.pm\"" > "${T}/50${PN}" || die
+
+ eapply_user
+}
+
+# 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 "${EROOT%/}"/usr/share/doc/${PF}/crontab || die
+}
+
+src_install() {
+ dodoc CHANGES.md README*
+
+ insinto "${OTRS_HOME}"
+ doins -r .fetchmailrc.dist .mailfilter.dist .procmailrc.dist RELEASE \
+ Custom Kernel bin scripts var
+
+ cat "${S}"/var/cron/*.dist > "${T}"/crontab || die
+ insinto /usr/share/doc/${PF}/
+ doins "${T}"/crontab
+
+ local a
+ 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}"
+
+ systemd_dounit "${FILESDIR}/otrs.service"
+}
+
+pkg_postinst() {
+ einfo "Setting correct permissions ..."
+ /usr/bin/env perl "${EROOT%/}${OTRS_HOME}"/bin/otrs.SetPermissions.pl "${EROOT%/}${OTRS_HOME}" \
+ --otrs-user=otrs \
+ --web-group=apache \
+ || die "Could not set permissions"
+
+ einfo "Installation done!"
+ elog "1) Rebuild your config now by running the following commands:"
+ elog "sudo -u otrs /usr/bin/env perl "${EROOT%/}${OTRS_HOME}"/bin/otrs.Console.pl Maint::Config::Rebuild"
+ elog "sudo -u otrs /usr/bin/env perl "${EROOT%/}${OTRS_HOME}"/bin/otrs.Console.pl Maint::Cache::Delete"
+ elog ""
+ elog "2) Enable cronjobs with the following command:"
+ elog "crontab -u otrs crontab"
+ elog ""
+ elog "3) systemd users: enable and start OTRS daemon:"
+ elog "systemctl enable otrs"
+ elog "systemctl start otrs"
+}
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/otrs/
@ 2018-01-02 19:12 Thomas Deutschmann
0 siblings, 0 replies; 28+ messages in thread
From: Thomas Deutschmann @ 2018-01-02 19:12 UTC (permalink / raw
To: gentoo-commits
commit: b65a13b5515413ad93155a165a9029a884804eef
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 2 19:11:16 2018 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Tue Jan 2 19:11:52 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b65a13b5
www-apps/otrs: Security cleanup
Bug: https://bugs.gentoo.org/640548
Package-Manager: Portage-2.3.19, Repoman-2.3.6
www-apps/otrs/Manifest | 1 -
www-apps/otrs/otrs-5.0.23.ebuild | 154 ---------------------------------------
2 files changed, 155 deletions(-)
diff --git a/www-apps/otrs/Manifest b/www-apps/otrs/Manifest
index 09404be2d16..0bea4d3beaa 100644
--- a/www-apps/otrs/Manifest
+++ b/www-apps/otrs/Manifest
@@ -1,2 +1 @@
-DIST otrs-5.0.23.tar.bz2 20617459 BLAKE2B 3c57ae5462d78e8f8ecb5f3db031725f5f51d8dafc850cc445a415b1a03023f67d0b209c5bee71318665986ac3ef0b460dee944c23e8aa177cabcc54cf72f384 SHA512 c6ae594178e1f0eb59b87a8d08b610940ba7ad0a44699ba73568c6844a49fc03e2486bce393aaf0dd78da9c64790b9fae72cfad65c9c6955c0524fbf27b95d7e
DIST otrs-5.0.25.tar.bz2 20671315 BLAKE2B 045037411039f480434e7c36ab84b63ec0c119e39cc6918ba05d9a7c92e5c940545412dc2824fc427199b384dece34793d2b60fadafec302f67581aabdc5ac82 SHA512 1e68471f071265d963c51ab5a6510a9a9b23d3de87e10eb58b9f9ca937500f4fdf68a7e911f9509244e4cbf43e1658c95dbaba83160d736ea0116167f3361e37
diff --git a/www-apps/otrs/otrs-5.0.23.ebuild b/www-apps/otrs/otrs-5.0.23.ebuild
deleted file mode 100644
index 172bd42f6b4..00000000000
--- a/www-apps/otrs/otrs-5.0.23.ebuild
+++ /dev/null
@@ -1,154 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-inherit user systemd
-
-DESCRIPTION="OTRS is an Open source Ticket Request System"
-HOMEPAGE="https://www.otrs.com/"
-SRC_URI="https://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"
-
-REQUIRED_USE="|| ( mysql postgres )"
-
-DEPEND="media-libs/libpng:0"
-
-RDEPEND="dev-perl/Apache-Reload
- dev-perl/Archive-Zip
- dev-perl/DBI
- dev-perl/IO-Socket-SSL
- dev-perl/JSON-XS
- dev-perl/LWP-UserAgent-Determined
- dev-perl/Mail-POP3Client
- dev-perl/Mail-IMAPClient
- >dev-perl/Net-DNS-0.60
- dev-perl/Template-Toolkit
- dev-perl/Text-CSV_XS
- dev-perl/TimeDate
- dev-perl/XML-Parser
- dev-perl/YAML-LibYAML
- apache2? (
- mod_perl? (
- www-servers/apache:2
- =www-apache/libapreq2-2* www-apache/mod_perl
- )
- !fastcgi? ( !mod_perl? ( www-servers/apache:2[suexec] ) )
- )
- fastcgi? (
- dev-perl/FCGI
- virtual/httpd-fastcgi
- )
- !fastcgi? ( !apache2? ( virtual/httpd-cgi ) )
- gd? (
- dev-perl/GD
- dev-perl/GDTextUtil
- dev-perl/GDGraph
- )
- ldap? ( dev-perl/perl-ldap )
- mysql? ( dev-perl/DBD-mysql )
- postgres? ( dev-perl/DBD-Pg )
- pdf? (
- >=dev-perl/PDF-API2-0.73
- virtual/perl-Compress-Raw-Zlib
- )
- soap? (
- dev-perl/SOAP-Lite
- !=dev-perl/SOAP-Lite-0.711
- !=dev-perl/SOAP-Lite-0.712
- )
- "
-
-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
-}
-
-src_prepare() {
- rm -r "${S}/scripts"/auto_* || die
-
- pushd Kernel >/dev/null || die
- local i
- for i in *.dist; do
- cp "${i}" $(basename "${i}" .dist) || die
- done
- popd >/dev/null || die
-
- # Fix broken png file (and see pngfix help for exit codes)
- pngfix -q --out=out.png "${S}/var/httpd/htdocs/skins/Agent/default/img/otrs-verify.png"
- if [[ $? -gt 15 ]]; then
- die "pngfix failed"
- fi
- mv -f out.png "${S}/var/httpd/htdocs/skins/Agent/default/img/otrs-verify.png" || die
-
- sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" "${S}"/Kernel/Config.pm \
- || die "sed failed"
-
- sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" "${S}"/Kernel/Config/Defaults.pm \
- || die "sed failed"
-
- grep -lR "/opt" "${S}"/scripts | \
- xargs sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" \
- || die "sed failed"
-
- echo "CONFIG_PROTECT=\"${EPREFIX%/}${OTRS_HOME}/Kernel/Config.pm \
- ${EPREFIX%/}${OTRS_HOME}/Kernel/Config/GenericAgent.pm\"" > "${T}/50${PN}" || die
-
- eapply_user
-}
-
-# 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 "${EROOT%/}"/usr/share/doc/${PF}/crontab || die
-}
-
-src_install() {
- dodoc CHANGES.md README*
-
- insinto "${OTRS_HOME}"
- doins -r .fetchmailrc.dist .mailfilter.dist .procmailrc.dist RELEASE \
- Custom Kernel bin scripts var
-
- cat "${S}"/var/cron/*.dist > "${T}"/crontab || die
- insinto /usr/share/doc/${PF}/
- doins "${T}"/crontab
-
- local a
- 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}"
-
- systemd_dounit "${FILESDIR}/otrs.service"
-}
-
-pkg_postinst() {
- einfo "Setting correct permissions ..."
- /usr/bin/env perl "${EROOT%/}${OTRS_HOME}"/bin/otrs.SetPermissions.pl "${EROOT%/}${OTRS_HOME}" \
- --otrs-user=otrs \
- --web-group=apache \
- || die "Could not set permissions"
-
- einfo "Installation done!"
- elog "1) Rebuild your config now by running the following commands:"
- elog "sudo -u otrs /usr/bin/env perl "${EROOT%/}${OTRS_HOME}"/bin/otrs.Console.pl Maint::Config::Rebuild"
- elog "sudo -u otrs /usr/bin/env perl "${EROOT%/}${OTRS_HOME}"/bin/otrs.Console.pl Maint::Cache::Delete"
- elog ""
- elog "2) Enable cronjobs with the following command:"
- elog "crontab -u otrs crontab"
- elog ""
- elog "3) systemd users: enable and start OTRS daemon:"
- elog "systemctl enable otrs"
- elog "systemctl start otrs"
-}
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/otrs/
@ 2018-02-11 11:36 Michał Górny
0 siblings, 0 replies; 28+ messages in thread
From: Michał Górny @ 2018-02-11 11:36 UTC (permalink / raw
To: gentoo-commits
commit: b1f85d02736d794f3c4068e3e631637603a3139a
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 11 11:21:10 2018 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb 11 11:36:32 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1f85d02
www-apps/otrs: Remove useless maintainer <description/>
Remove useless/redundant maintainer <description/>. It does not benefit
bug wrangling, and only wastes developer's time on reading it. Few tips:
- assignee/CC is implied by ordering, there is no reason to repeat it,
- we know that maintainer is maintainer (la la la la la),
- most of adjectives for maintainer are of no value and/or are obvious.
www-apps/otrs/metadata.xml | 1 -
1 file changed, 1 deletion(-)
diff --git a/www-apps/otrs/metadata.xml b/www-apps/otrs/metadata.xml
index 8bdf83b248a..9c04a8ca23c 100644
--- a/www-apps/otrs/metadata.xml
+++ b/www-apps/otrs/metadata.xml
@@ -4,7 +4,6 @@
<maintainer type="person">
<email>lists@xunil.at</email>
<name>Stefan Weichinger</name>
- <description>Proxy maintainer</description>
</maintainer>
<maintainer type="project">
<email>web-apps@gentoo.org</email>
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/otrs/
@ 2018-02-15 14:27 Patrice Clement
0 siblings, 0 replies; 28+ messages in thread
From: Patrice Clement @ 2018-02-15 14:27 UTC (permalink / raw
To: gentoo-commits
commit: 8f38debefe32b54da7d19556389b8599242251f1
Author: Stefan G. Weichinger <office <AT> oops <DOT> co <DOT> at>
AuthorDate: Tue Feb 13 09:49:42 2018 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Thu Feb 15 14:27:17 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f38debe
www-apps/otrs: version bump to 6.0.5.
Closes: https://github.com/gentoo/gentoo/pull/7172
www-apps/otrs/Manifest | 3 +
www-apps/otrs/otrs-6.0.3.ebuild | 156 ++++++++++++++++++++++++++++++++++++++++
www-apps/otrs/otrs-6.0.4.ebuild | 156 ++++++++++++++++++++++++++++++++++++++++
www-apps/otrs/otrs-6.0.5.ebuild | 156 ++++++++++++++++++++++++++++++++++++++++
4 files changed, 471 insertions(+)
diff --git a/www-apps/otrs/Manifest b/www-apps/otrs/Manifest
index 0bea4d3beaa..74c03477b67 100644
--- a/www-apps/otrs/Manifest
+++ b/www-apps/otrs/Manifest
@@ -1 +1,4 @@
DIST otrs-5.0.25.tar.bz2 20671315 BLAKE2B 045037411039f480434e7c36ab84b63ec0c119e39cc6918ba05d9a7c92e5c940545412dc2824fc427199b384dece34793d2b60fadafec302f67581aabdc5ac82 SHA512 1e68471f071265d963c51ab5a6510a9a9b23d3de87e10eb58b9f9ca937500f4fdf68a7e911f9509244e4cbf43e1658c95dbaba83160d736ea0116167f3361e37
+DIST otrs-6.0.3.tar.bz2 24314514 BLAKE2B 97d794d59269d354b28003879bf0d30cc9b0f7a7d375416df90d85b694ac59e84978fe61183aa058497da18631513c25ecc93e3150f662e2e2efd335014e1e75 SHA512 d7f551e2c9bbe8b303d3de1f7993d76ea22cfd876b61941cfb72a25f2ba7e0a889c275c87aa40c104c1f2e6e1923b7a530cd088bd11b7b575a608b623e2b0541
+DIST otrs-6.0.4.tar.bz2 24355298 BLAKE2B 2f27e7a34b1bad0d58193c834503f051a1a1822afb53dca185ae2f8329d048446acc4e27e823b6f27660c79179bbb48f1976c0b3a6710bc083f791c0a777152c SHA512 23e9a29a6f080c6afa92704d25363687d50073c94192ba81e69ddab55fb9f945a38a5757a4c60c2d46bfc5a0002ca13bbbce1cc0c945f40e23bb864ebc57edd1
+DIST otrs-6.0.5.tar.bz2 24368010 BLAKE2B 20511dfbca16d275a1c4f7f07f8cc9e350c182661c95932f59899400b232612aed95fecac422528e37dd01b772225e78f25464bae40490abd88b391b05ac7b15 SHA512 fe669fb83acef8252cc53b24378757e498201e916a7fc1cb5f509efe777ec2bf36925264a7080f02e50a115285c26429506927390e3b10b35622f3c65a8cd066
diff --git a/www-apps/otrs/otrs-6.0.3.ebuild b/www-apps/otrs/otrs-6.0.3.ebuild
new file mode 100644
index 00000000000..5ab8f192a5b
--- /dev/null
+++ b/www-apps/otrs/otrs-6.0.3.ebuild
@@ -0,0 +1,156 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit user systemd
+
+DESCRIPTION="OTRS is an Open source Ticket Request System"
+HOMEPAGE="https://www.otrs.com/"
+SRC_URI="https://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"
+
+REQUIRED_USE="|| ( mysql postgres )"
+
+DEPEND="media-libs/libpng:0"
+
+RDEPEND="dev-perl/Apache-Reload
+ dev-perl/Archive-Zip
+ dev-perl/DBI
+ dev-perl/IO-Socket-SSL
+ dev-perl/JSON-XS
+ dev-perl/LWP-UserAgent-Determined
+ dev-perl/Mail-POP3Client
+ dev-perl/Mail-IMAPClient
+ >dev-perl/Net-DNS-0.60
+ dev-perl/Template-Toolkit
+ dev-perl/Text-CSV_XS
+ dev-perl/TimeDate
+ dev-perl/DateTime
+ dev-perl/XML-LibXML-Simple
+ dev-perl/XML-Parser
+ dev-perl/YAML-LibYAML
+ apache2? (
+ mod_perl? (
+ www-servers/apache:2
+ =www-apache/libapreq2-2* www-apache/mod_perl
+ )
+ !fastcgi? ( !mod_perl? ( www-servers/apache:2[suexec] ) )
+ )
+ fastcgi? (
+ dev-perl/FCGI
+ virtual/httpd-fastcgi
+ )
+ !fastcgi? ( !apache2? ( virtual/httpd-cgi ) )
+ gd? (
+ dev-perl/GD
+ dev-perl/GDTextUtil
+ dev-perl/GDGraph
+ )
+ ldap? ( dev-perl/perl-ldap )
+ mysql? ( dev-perl/DBD-mysql )
+ postgres? ( dev-perl/DBD-Pg )
+ pdf? (
+ >=dev-perl/PDF-API2-0.73
+ virtual/perl-Compress-Raw-Zlib
+ )
+ soap? (
+ dev-perl/SOAP-Lite
+ !=dev-perl/SOAP-Lite-0.711
+ !=dev-perl/SOAP-Lite-0.712
+ )
+ "
+
+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
+}
+
+src_prepare() {
+ rm -r "${S}/scripts"/auto_* || die
+
+ pushd Kernel >/dev/null || die
+ local i
+ for i in *.dist; do
+ cp "${i}" $(basename "${i}" .dist) || die
+ done
+ popd >/dev/null || die
+
+ # Fix broken png file (and see pngfix help for exit codes)
+ pngfix -q --out=out.png "${S}/var/httpd/htdocs/skins/Agent/default/img/otrs-verify.png"
+ if [[ $? -gt 15 ]]; then
+ die "pngfix failed"
+ fi
+ mv -f out.png "${S}/var/httpd/htdocs/skins/Agent/default/img/otrs-verify.png" || die
+
+ sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" "${S}"/Kernel/Config.pm \
+ || die "sed failed"
+
+ sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" "${S}"/Kernel/Config/Defaults.pm \
+ || die "sed failed"
+
+ grep -lR "/opt" "${S}"/scripts | \
+ xargs sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" \
+ || die "sed failed"
+
+ echo "CONFIG_PROTECT=\"${EPREFIX%/}${OTRS_HOME}/Kernel/Config.pm \
+ ${EPREFIX%/}${OTRS_HOME}/Kernel/Config/GenericAgent.pm\"" > "${T}/50${PN}" || die
+
+ eapply_user
+}
+
+# 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 "${EROOT%/}"/usr/share/doc/${PF}/crontab || die
+}
+
+src_install() {
+ dodoc CHANGES.md README*
+
+ insinto "${OTRS_HOME}"
+ doins -r .fetchmailrc.dist .mailfilter.dist .procmailrc.dist RELEASE \
+ Custom Kernel bin scripts var
+
+ cat "${S}"/var/cron/*.dist > "${T}"/crontab || die
+ insinto /usr/share/doc/${PF}/
+ doins "${T}"/crontab
+
+ local a
+ 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}"
+
+ systemd_dounit "${FILESDIR}/otrs.service"
+}
+
+pkg_postinst() {
+ einfo "Setting correct permissions ..."
+ /usr/bin/env perl "${EROOT%/}${OTRS_HOME}"/bin/otrs.SetPermissions.pl "${EROOT%/}${OTRS_HOME}" \
+ --otrs-user=otrs \
+ --web-group=apache \
+ || die "Could not set permissions"
+
+ einfo "Installation done!"
+ elog "1) Rebuild your config now by running the following commands:"
+ elog "sudo -u otrs /usr/bin/env perl "${EROOT%/}${OTRS_HOME}"/bin/otrs.Console.pl Maint::Config::Rebuild"
+ elog "sudo -u otrs /usr/bin/env perl "${EROOT%/}${OTRS_HOME}"/bin/otrs.Console.pl Maint::Cache::Delete"
+ elog ""
+ elog "2) Enable cronjobs with the following command:"
+ elog "crontab -u otrs crontab"
+ elog ""
+ elog "3) systemd users: enable and start OTRS daemon:"
+ elog "systemctl enable otrs"
+ elog "systemctl start otrs"
+}
diff --git a/www-apps/otrs/otrs-6.0.4.ebuild b/www-apps/otrs/otrs-6.0.4.ebuild
new file mode 100644
index 00000000000..5ab8f192a5b
--- /dev/null
+++ b/www-apps/otrs/otrs-6.0.4.ebuild
@@ -0,0 +1,156 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit user systemd
+
+DESCRIPTION="OTRS is an Open source Ticket Request System"
+HOMEPAGE="https://www.otrs.com/"
+SRC_URI="https://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"
+
+REQUIRED_USE="|| ( mysql postgres )"
+
+DEPEND="media-libs/libpng:0"
+
+RDEPEND="dev-perl/Apache-Reload
+ dev-perl/Archive-Zip
+ dev-perl/DBI
+ dev-perl/IO-Socket-SSL
+ dev-perl/JSON-XS
+ dev-perl/LWP-UserAgent-Determined
+ dev-perl/Mail-POP3Client
+ dev-perl/Mail-IMAPClient
+ >dev-perl/Net-DNS-0.60
+ dev-perl/Template-Toolkit
+ dev-perl/Text-CSV_XS
+ dev-perl/TimeDate
+ dev-perl/DateTime
+ dev-perl/XML-LibXML-Simple
+ dev-perl/XML-Parser
+ dev-perl/YAML-LibYAML
+ apache2? (
+ mod_perl? (
+ www-servers/apache:2
+ =www-apache/libapreq2-2* www-apache/mod_perl
+ )
+ !fastcgi? ( !mod_perl? ( www-servers/apache:2[suexec] ) )
+ )
+ fastcgi? (
+ dev-perl/FCGI
+ virtual/httpd-fastcgi
+ )
+ !fastcgi? ( !apache2? ( virtual/httpd-cgi ) )
+ gd? (
+ dev-perl/GD
+ dev-perl/GDTextUtil
+ dev-perl/GDGraph
+ )
+ ldap? ( dev-perl/perl-ldap )
+ mysql? ( dev-perl/DBD-mysql )
+ postgres? ( dev-perl/DBD-Pg )
+ pdf? (
+ >=dev-perl/PDF-API2-0.73
+ virtual/perl-Compress-Raw-Zlib
+ )
+ soap? (
+ dev-perl/SOAP-Lite
+ !=dev-perl/SOAP-Lite-0.711
+ !=dev-perl/SOAP-Lite-0.712
+ )
+ "
+
+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
+}
+
+src_prepare() {
+ rm -r "${S}/scripts"/auto_* || die
+
+ pushd Kernel >/dev/null || die
+ local i
+ for i in *.dist; do
+ cp "${i}" $(basename "${i}" .dist) || die
+ done
+ popd >/dev/null || die
+
+ # Fix broken png file (and see pngfix help for exit codes)
+ pngfix -q --out=out.png "${S}/var/httpd/htdocs/skins/Agent/default/img/otrs-verify.png"
+ if [[ $? -gt 15 ]]; then
+ die "pngfix failed"
+ fi
+ mv -f out.png "${S}/var/httpd/htdocs/skins/Agent/default/img/otrs-verify.png" || die
+
+ sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" "${S}"/Kernel/Config.pm \
+ || die "sed failed"
+
+ sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" "${S}"/Kernel/Config/Defaults.pm \
+ || die "sed failed"
+
+ grep -lR "/opt" "${S}"/scripts | \
+ xargs sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" \
+ || die "sed failed"
+
+ echo "CONFIG_PROTECT=\"${EPREFIX%/}${OTRS_HOME}/Kernel/Config.pm \
+ ${EPREFIX%/}${OTRS_HOME}/Kernel/Config/GenericAgent.pm\"" > "${T}/50${PN}" || die
+
+ eapply_user
+}
+
+# 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 "${EROOT%/}"/usr/share/doc/${PF}/crontab || die
+}
+
+src_install() {
+ dodoc CHANGES.md README*
+
+ insinto "${OTRS_HOME}"
+ doins -r .fetchmailrc.dist .mailfilter.dist .procmailrc.dist RELEASE \
+ Custom Kernel bin scripts var
+
+ cat "${S}"/var/cron/*.dist > "${T}"/crontab || die
+ insinto /usr/share/doc/${PF}/
+ doins "${T}"/crontab
+
+ local a
+ 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}"
+
+ systemd_dounit "${FILESDIR}/otrs.service"
+}
+
+pkg_postinst() {
+ einfo "Setting correct permissions ..."
+ /usr/bin/env perl "${EROOT%/}${OTRS_HOME}"/bin/otrs.SetPermissions.pl "${EROOT%/}${OTRS_HOME}" \
+ --otrs-user=otrs \
+ --web-group=apache \
+ || die "Could not set permissions"
+
+ einfo "Installation done!"
+ elog "1) Rebuild your config now by running the following commands:"
+ elog "sudo -u otrs /usr/bin/env perl "${EROOT%/}${OTRS_HOME}"/bin/otrs.Console.pl Maint::Config::Rebuild"
+ elog "sudo -u otrs /usr/bin/env perl "${EROOT%/}${OTRS_HOME}"/bin/otrs.Console.pl Maint::Cache::Delete"
+ elog ""
+ elog "2) Enable cronjobs with the following command:"
+ elog "crontab -u otrs crontab"
+ elog ""
+ elog "3) systemd users: enable and start OTRS daemon:"
+ elog "systemctl enable otrs"
+ elog "systemctl start otrs"
+}
diff --git a/www-apps/otrs/otrs-6.0.5.ebuild b/www-apps/otrs/otrs-6.0.5.ebuild
new file mode 100644
index 00000000000..5ab8f192a5b
--- /dev/null
+++ b/www-apps/otrs/otrs-6.0.5.ebuild
@@ -0,0 +1,156 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit user systemd
+
+DESCRIPTION="OTRS is an Open source Ticket Request System"
+HOMEPAGE="https://www.otrs.com/"
+SRC_URI="https://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"
+
+REQUIRED_USE="|| ( mysql postgres )"
+
+DEPEND="media-libs/libpng:0"
+
+RDEPEND="dev-perl/Apache-Reload
+ dev-perl/Archive-Zip
+ dev-perl/DBI
+ dev-perl/IO-Socket-SSL
+ dev-perl/JSON-XS
+ dev-perl/LWP-UserAgent-Determined
+ dev-perl/Mail-POP3Client
+ dev-perl/Mail-IMAPClient
+ >dev-perl/Net-DNS-0.60
+ dev-perl/Template-Toolkit
+ dev-perl/Text-CSV_XS
+ dev-perl/TimeDate
+ dev-perl/DateTime
+ dev-perl/XML-LibXML-Simple
+ dev-perl/XML-Parser
+ dev-perl/YAML-LibYAML
+ apache2? (
+ mod_perl? (
+ www-servers/apache:2
+ =www-apache/libapreq2-2* www-apache/mod_perl
+ )
+ !fastcgi? ( !mod_perl? ( www-servers/apache:2[suexec] ) )
+ )
+ fastcgi? (
+ dev-perl/FCGI
+ virtual/httpd-fastcgi
+ )
+ !fastcgi? ( !apache2? ( virtual/httpd-cgi ) )
+ gd? (
+ dev-perl/GD
+ dev-perl/GDTextUtil
+ dev-perl/GDGraph
+ )
+ ldap? ( dev-perl/perl-ldap )
+ mysql? ( dev-perl/DBD-mysql )
+ postgres? ( dev-perl/DBD-Pg )
+ pdf? (
+ >=dev-perl/PDF-API2-0.73
+ virtual/perl-Compress-Raw-Zlib
+ )
+ soap? (
+ dev-perl/SOAP-Lite
+ !=dev-perl/SOAP-Lite-0.711
+ !=dev-perl/SOAP-Lite-0.712
+ )
+ "
+
+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
+}
+
+src_prepare() {
+ rm -r "${S}/scripts"/auto_* || die
+
+ pushd Kernel >/dev/null || die
+ local i
+ for i in *.dist; do
+ cp "${i}" $(basename "${i}" .dist) || die
+ done
+ popd >/dev/null || die
+
+ # Fix broken png file (and see pngfix help for exit codes)
+ pngfix -q --out=out.png "${S}/var/httpd/htdocs/skins/Agent/default/img/otrs-verify.png"
+ if [[ $? -gt 15 ]]; then
+ die "pngfix failed"
+ fi
+ mv -f out.png "${S}/var/httpd/htdocs/skins/Agent/default/img/otrs-verify.png" || die
+
+ sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" "${S}"/Kernel/Config.pm \
+ || die "sed failed"
+
+ sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" "${S}"/Kernel/Config/Defaults.pm \
+ || die "sed failed"
+
+ grep -lR "/opt" "${S}"/scripts | \
+ xargs sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" \
+ || die "sed failed"
+
+ echo "CONFIG_PROTECT=\"${EPREFIX%/}${OTRS_HOME}/Kernel/Config.pm \
+ ${EPREFIX%/}${OTRS_HOME}/Kernel/Config/GenericAgent.pm\"" > "${T}/50${PN}" || die
+
+ eapply_user
+}
+
+# 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 "${EROOT%/}"/usr/share/doc/${PF}/crontab || die
+}
+
+src_install() {
+ dodoc CHANGES.md README*
+
+ insinto "${OTRS_HOME}"
+ doins -r .fetchmailrc.dist .mailfilter.dist .procmailrc.dist RELEASE \
+ Custom Kernel bin scripts var
+
+ cat "${S}"/var/cron/*.dist > "${T}"/crontab || die
+ insinto /usr/share/doc/${PF}/
+ doins "${T}"/crontab
+
+ local a
+ 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}"
+
+ systemd_dounit "${FILESDIR}/otrs.service"
+}
+
+pkg_postinst() {
+ einfo "Setting correct permissions ..."
+ /usr/bin/env perl "${EROOT%/}${OTRS_HOME}"/bin/otrs.SetPermissions.pl "${EROOT%/}${OTRS_HOME}" \
+ --otrs-user=otrs \
+ --web-group=apache \
+ || die "Could not set permissions"
+
+ einfo "Installation done!"
+ elog "1) Rebuild your config now by running the following commands:"
+ elog "sudo -u otrs /usr/bin/env perl "${EROOT%/}${OTRS_HOME}"/bin/otrs.Console.pl Maint::Config::Rebuild"
+ elog "sudo -u otrs /usr/bin/env perl "${EROOT%/}${OTRS_HOME}"/bin/otrs.Console.pl Maint::Cache::Delete"
+ elog ""
+ elog "2) Enable cronjobs with the following command:"
+ elog "crontab -u otrs crontab"
+ elog ""
+ elog "3) systemd users: enable and start OTRS daemon:"
+ elog "systemctl enable otrs"
+ elog "systemctl start otrs"
+}
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/otrs/
@ 2018-05-08 20:00 Mikle Kolyada
0 siblings, 0 replies; 28+ messages in thread
From: Mikle Kolyada @ 2018-05-08 20:00 UTC (permalink / raw
To: gentoo-commits
commit: 3a66a0a6489f15b876c039b80e6c37f83ad4c159
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Tue May 8 19:59:41 2018 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Tue May 8 20:00:11 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a66a0a6
www-apps/otrs: fix DESCRIPTION
Package-Manager: Portage-2.3.24, Repoman-2.3.6
www-apps/otrs/otrs-5.0.25.ebuild | 4 ++--
www-apps/otrs/otrs-6.0.3.ebuild | 4 ++--
www-apps/otrs/otrs-6.0.4.ebuild | 4 ++--
www-apps/otrs/otrs-6.0.5.ebuild | 4 ++--
4 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/www-apps/otrs/otrs-5.0.25.ebuild b/www-apps/otrs/otrs-5.0.25.ebuild
index 172bd42f6b4..c24819ae459 100644
--- a/www-apps/otrs/otrs-5.0.25.ebuild
+++ b/www-apps/otrs/otrs-5.0.25.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
inherit user systemd
-DESCRIPTION="OTRS is an Open source Ticket Request System"
+DESCRIPTION="An open source Ticket Request System"
HOMEPAGE="https://www.otrs.com/"
SRC_URI="https://ftp.otrs.org/pub/${PN}/${P}.tar.bz2"
diff --git a/www-apps/otrs/otrs-6.0.3.ebuild b/www-apps/otrs/otrs-6.0.3.ebuild
index 5ab8f192a5b..e2a70653571 100644
--- a/www-apps/otrs/otrs-6.0.3.ebuild
+++ b/www-apps/otrs/otrs-6.0.3.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
inherit user systemd
-DESCRIPTION="OTRS is an Open source Ticket Request System"
+DESCRIPTION="An open source Ticket Request System"
HOMEPAGE="https://www.otrs.com/"
SRC_URI="https://ftp.otrs.org/pub/${PN}/${P}.tar.bz2"
diff --git a/www-apps/otrs/otrs-6.0.4.ebuild b/www-apps/otrs/otrs-6.0.4.ebuild
index 5ab8f192a5b..e2a70653571 100644
--- a/www-apps/otrs/otrs-6.0.4.ebuild
+++ b/www-apps/otrs/otrs-6.0.4.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
inherit user systemd
-DESCRIPTION="OTRS is an Open source Ticket Request System"
+DESCRIPTION="An open source Ticket Request System"
HOMEPAGE="https://www.otrs.com/"
SRC_URI="https://ftp.otrs.org/pub/${PN}/${P}.tar.bz2"
diff --git a/www-apps/otrs/otrs-6.0.5.ebuild b/www-apps/otrs/otrs-6.0.5.ebuild
index 5ab8f192a5b..e2a70653571 100644
--- a/www-apps/otrs/otrs-6.0.5.ebuild
+++ b/www-apps/otrs/otrs-6.0.5.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
inherit user systemd
-DESCRIPTION="OTRS is an Open source Ticket Request System"
+DESCRIPTION="An open source Ticket Request System"
HOMEPAGE="https://www.otrs.com/"
SRC_URI="https://ftp.otrs.org/pub/${PN}/${P}.tar.bz2"
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/otrs/
@ 2018-05-08 20:13 Mikle Kolyada
0 siblings, 0 replies; 28+ messages in thread
From: Mikle Kolyada @ 2018-05-08 20:13 UTC (permalink / raw
To: gentoo-commits
commit: 0617dc7dfe927b134f86e02ee2c733bf4812b58b
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Tue May 8 20:12:46 2018 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Tue May 8 20:12:46 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0617dc7d
www-apps/otrs: fix DESCRIPTION #2
Package-Manager: Portage-2.3.24, Repoman-2.3.6
www-apps/otrs/otrs-5.0.25.ebuild | 2 +-
www-apps/otrs/otrs-6.0.3.ebuild | 2 +-
www-apps/otrs/otrs-6.0.4.ebuild | 2 +-
www-apps/otrs/otrs-6.0.5.ebuild | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/www-apps/otrs/otrs-5.0.25.ebuild b/www-apps/otrs/otrs-5.0.25.ebuild
index c24819ae459..3701f495278 100644
--- a/www-apps/otrs/otrs-5.0.25.ebuild
+++ b/www-apps/otrs/otrs-5.0.25.ebuild
@@ -5,7 +5,7 @@ EAPI="6"
inherit user systemd
-DESCRIPTION="An open source Ticket Request System"
+DESCRIPTION="An Open source Ticket Request System"
HOMEPAGE="https://www.otrs.com/"
SRC_URI="https://ftp.otrs.org/pub/${PN}/${P}.tar.bz2"
diff --git a/www-apps/otrs/otrs-6.0.3.ebuild b/www-apps/otrs/otrs-6.0.3.ebuild
index e2a70653571..3158404230c 100644
--- a/www-apps/otrs/otrs-6.0.3.ebuild
+++ b/www-apps/otrs/otrs-6.0.3.ebuild
@@ -5,7 +5,7 @@ EAPI="6"
inherit user systemd
-DESCRIPTION="An open source Ticket Request System"
+DESCRIPTION="An Open source Ticket Request System"
HOMEPAGE="https://www.otrs.com/"
SRC_URI="https://ftp.otrs.org/pub/${PN}/${P}.tar.bz2"
diff --git a/www-apps/otrs/otrs-6.0.4.ebuild b/www-apps/otrs/otrs-6.0.4.ebuild
index e2a70653571..3158404230c 100644
--- a/www-apps/otrs/otrs-6.0.4.ebuild
+++ b/www-apps/otrs/otrs-6.0.4.ebuild
@@ -5,7 +5,7 @@ EAPI="6"
inherit user systemd
-DESCRIPTION="An open source Ticket Request System"
+DESCRIPTION="An Open source Ticket Request System"
HOMEPAGE="https://www.otrs.com/"
SRC_URI="https://ftp.otrs.org/pub/${PN}/${P}.tar.bz2"
diff --git a/www-apps/otrs/otrs-6.0.5.ebuild b/www-apps/otrs/otrs-6.0.5.ebuild
index e2a70653571..3158404230c 100644
--- a/www-apps/otrs/otrs-6.0.5.ebuild
+++ b/www-apps/otrs/otrs-6.0.5.ebuild
@@ -5,7 +5,7 @@ EAPI="6"
inherit user systemd
-DESCRIPTION="An open source Ticket Request System"
+DESCRIPTION="An Open source Ticket Request System"
HOMEPAGE="https://www.otrs.com/"
SRC_URI="https://ftp.otrs.org/pub/${PN}/${P}.tar.bz2"
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/otrs/
@ 2018-05-16 15:52 Andreas Sturmlechner
0 siblings, 0 replies; 28+ messages in thread
From: Andreas Sturmlechner @ 2018-05-16 15:52 UTC (permalink / raw
To: gentoo-commits
commit: 0a41953362f858c7c3a99c33e43f88241a668a71
Author: Stefan G. Weichinger <office <AT> oops <DOT> co <DOT> at>
AuthorDate: Tue May 8 19:38:18 2018 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed May 16 15:48:47 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a419533
www-apps/otrs: version bump
Bug: https://bugs.gentoo.org/655296
Closes: https://github.com/gentoo/gentoo/pull/8343
www-apps/otrs/Manifest | 1 +
www-apps/otrs/otrs-6.0.7.ebuild | 156 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 157 insertions(+)
diff --git a/www-apps/otrs/Manifest b/www-apps/otrs/Manifest
index 74c03477b67..41c8fb424ec 100644
--- a/www-apps/otrs/Manifest
+++ b/www-apps/otrs/Manifest
@@ -2,3 +2,4 @@ DIST otrs-5.0.25.tar.bz2 20671315 BLAKE2B 045037411039f480434e7c36ab84b63ec0c119
DIST otrs-6.0.3.tar.bz2 24314514 BLAKE2B 97d794d59269d354b28003879bf0d30cc9b0f7a7d375416df90d85b694ac59e84978fe61183aa058497da18631513c25ecc93e3150f662e2e2efd335014e1e75 SHA512 d7f551e2c9bbe8b303d3de1f7993d76ea22cfd876b61941cfb72a25f2ba7e0a889c275c87aa40c104c1f2e6e1923b7a530cd088bd11b7b575a608b623e2b0541
DIST otrs-6.0.4.tar.bz2 24355298 BLAKE2B 2f27e7a34b1bad0d58193c834503f051a1a1822afb53dca185ae2f8329d048446acc4e27e823b6f27660c79179bbb48f1976c0b3a6710bc083f791c0a777152c SHA512 23e9a29a6f080c6afa92704d25363687d50073c94192ba81e69ddab55fb9f945a38a5757a4c60c2d46bfc5a0002ca13bbbce1cc0c945f40e23bb864ebc57edd1
DIST otrs-6.0.5.tar.bz2 24368010 BLAKE2B 20511dfbca16d275a1c4f7f07f8cc9e350c182661c95932f59899400b232612aed95fecac422528e37dd01b772225e78f25464bae40490abd88b391b05ac7b15 SHA512 fe669fb83acef8252cc53b24378757e498201e916a7fc1cb5f509efe777ec2bf36925264a7080f02e50a115285c26429506927390e3b10b35622f3c65a8cd066
+DIST otrs-6.0.7.tar.bz2 24475129 BLAKE2B 595fd84251289ef120b9a35abcde927ef33557adf386dec919e6eb61a973cac3414d148531760f68549a1f0f67faaba258268e761fdfa2be5471a592e96c08b7 SHA512 bb1910a005940f17884da4e8b9b785c9a52aa8a58f434b5c3e65768912b42838d12d69ebb3f7daed2f12dc385829a5a603a1755338d44e0313c35a0a589cbb6f
diff --git a/www-apps/otrs/otrs-6.0.7.ebuild b/www-apps/otrs/otrs-6.0.7.ebuild
new file mode 100644
index 00000000000..b2b0f33288d
--- /dev/null
+++ b/www-apps/otrs/otrs-6.0.7.ebuild
@@ -0,0 +1,156 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit systemd user
+
+DESCRIPTION="An Open source Ticket Request System"
+HOMEPAGE="https://www.otrs.com/"
+SRC_URI="https://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"
+
+REQUIRED_USE="|| ( mysql postgres )"
+
+DEPEND="media-libs/libpng:0"
+
+RDEPEND="dev-perl/Apache-Reload
+ dev-perl/Archive-Zip
+ dev-perl/DBI
+ dev-perl/IO-Socket-SSL
+ dev-perl/JSON-XS
+ dev-perl/LWP-UserAgent-Determined
+ dev-perl/Mail-POP3Client
+ dev-perl/Mail-IMAPClient
+ >dev-perl/Net-DNS-0.60
+ dev-perl/Template-Toolkit
+ dev-perl/Text-CSV_XS
+ dev-perl/TimeDate
+ dev-perl/DateTime
+ dev-perl/XML-LibXML-Simple
+ dev-perl/XML-Parser
+ dev-perl/YAML-LibYAML
+ apache2? (
+ mod_perl? (
+ www-servers/apache:2
+ =www-apache/libapreq2-2* www-apache/mod_perl
+ )
+ !fastcgi? ( !mod_perl? ( www-servers/apache:2[suexec] ) )
+ )
+ fastcgi? (
+ dev-perl/FCGI
+ virtual/httpd-fastcgi
+ )
+ !fastcgi? ( !apache2? ( virtual/httpd-cgi ) )
+ gd? (
+ dev-perl/GD
+ dev-perl/GDTextUtil
+ dev-perl/GDGraph
+ )
+ ldap? ( dev-perl/perl-ldap )
+ mysql? ( dev-perl/DBD-mysql )
+ postgres? ( dev-perl/DBD-Pg )
+ pdf? (
+ >=dev-perl/PDF-API2-0.73
+ virtual/perl-Compress-Raw-Zlib
+ )
+ soap? (
+ dev-perl/SOAP-Lite
+ !=dev-perl/SOAP-Lite-0.711
+ !=dev-perl/SOAP-Lite-0.712
+ )
+ "
+
+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
+}
+
+src_prepare() {
+ rm -r "${S}/scripts"/auto_* || die
+
+ pushd Kernel >/dev/null || die
+ local i
+ for i in *.dist; do
+ cp "${i}" $(basename "${i}" .dist) || die
+ done
+ popd >/dev/null || die
+
+ # Fix broken png file (and see pngfix help for exit codes)
+ pngfix -q --out=out.png "${S}/var/httpd/htdocs/skins/Agent/default/img/otrs-verify.png"
+ if [[ $? -gt 15 ]]; then
+ die "pngfix failed"
+ fi
+ mv -f out.png "${S}/var/httpd/htdocs/skins/Agent/default/img/otrs-verify.png" || die
+
+ sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" "${S}"/Kernel/Config.pm \
+ || die "sed failed"
+
+ sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" "${S}"/Kernel/Config/Defaults.pm \
+ || die "sed failed"
+
+ grep -lR "/opt" "${S}"/scripts | \
+ xargs sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" \
+ || die "sed failed"
+
+ echo "CONFIG_PROTECT=\"${EPREFIX%/}${OTRS_HOME}/Kernel/Config.pm \
+ ${EPREFIX%/}${OTRS_HOME}/Kernel/Config/GenericAgent.pm\"" > "${T}/50${PN}" || die
+
+ eapply_user
+}
+
+# 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 "${EROOT%/}"/usr/share/doc/${PF}/crontab || die
+}
+
+src_install() {
+ dodoc CHANGES.md README*
+
+ insinto "${OTRS_HOME}"
+ doins -r .fetchmailrc.dist .mailfilter.dist .procmailrc.dist RELEASE \
+ Custom Kernel bin scripts var
+
+ cat "${S}"/var/cron/*.dist > "${T}"/crontab || die
+ insinto /usr/share/doc/${PF}/
+ doins "${T}"/crontab
+
+ local a
+ 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}"
+
+ systemd_dounit "${FILESDIR}/otrs.service"
+}
+
+pkg_postinst() {
+ einfo "Setting correct permissions ..."
+ /usr/bin/env perl "${EROOT%/}${OTRS_HOME}"/bin/otrs.SetPermissions.pl "${EROOT%/}${OTRS_HOME}" \
+ --otrs-user=otrs \
+ --web-group=apache \
+ || die "Could not set permissions"
+
+ einfo "Installation done!"
+ elog "1) Rebuild your config now by running the following commands:"
+ elog "sudo -u otrs /usr/bin/env perl "${EROOT%/}${OTRS_HOME}"/bin/otrs.Console.pl Maint::Config::Rebuild"
+ elog "sudo -u otrs /usr/bin/env perl "${EROOT%/}${OTRS_HOME}"/bin/otrs.Console.pl Maint::Cache::Delete"
+ elog ""
+ elog "2) Enable cronjobs with the following command:"
+ elog "crontab -u otrs crontab"
+ elog ""
+ elog "3) systemd users: enable and start OTRS daemon:"
+ elog "systemctl enable otrs"
+ elog "systemctl start otrs"
+}
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/otrs/
@ 2018-10-29 14:22 Miroslav Šulc
0 siblings, 0 replies; 28+ messages in thread
From: Miroslav Šulc @ 2018-10-29 14:22 UTC (permalink / raw
To: gentoo-commits
commit: b54e2890d4abc2bf91a07b09f950f1caa9230155
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 29 14:19:46 2018 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Mon Oct 29 14:19:46 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b54e2890
www-apps/otrs: removed S. Weichinger from maintainers (bug #669656)
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
www-apps/otrs/metadata.xml | 8 --------
1 file changed, 8 deletions(-)
diff --git a/www-apps/otrs/metadata.xml b/www-apps/otrs/metadata.xml
index 9c04a8ca23c..b1745fd1cbc 100644
--- a/www-apps/otrs/metadata.xml
+++ b/www-apps/otrs/metadata.xml
@@ -1,18 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
- <email>lists@xunil.at</email>
- <name>Stefan Weichinger</name>
- </maintainer>
<maintainer type="project">
<email>web-apps@gentoo.org</email>
<name>Gentoo Webapps</name>
</maintainer>
- <maintainer type="project">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
- </maintainer>
<use>
<flag name="mod_perl">Provide all dependencies for use of mod_perl instead of cgi</flag>
</use>
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/otrs/
@ 2018-10-29 14:22 Miroslav Šulc
0 siblings, 0 replies; 28+ messages in thread
From: Miroslav Šulc @ 2018-10-29 14:22 UTC (permalink / raw
To: gentoo-commits
commit: d82825f51359e50354d37c26c726d3901e85912f
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 29 14:22:13 2018 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Mon Oct 29 14:22:13 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d82825f5
www-apps/otrs-6.0.7: updated deps (bug #669656)
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
www-apps/otrs/otrs-6.0.7.ebuild | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/www-apps/otrs/otrs-6.0.7.ebuild b/www-apps/otrs/otrs-6.0.7.ebuild
index b2b0f33288d..fa7797934ae 100644
--- a/www-apps/otrs/otrs-6.0.7.ebuild
+++ b/www-apps/otrs/otrs-6.0.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
@@ -18,7 +18,7 @@ REQUIRED_USE="|| ( mysql postgres )"
DEPEND="media-libs/libpng:0"
-RDEPEND="dev-perl/Apache-Reload
+RDEPEND="
dev-perl/Archive-Zip
dev-perl/DBI
dev-perl/IO-Socket-SSL
@@ -36,6 +36,7 @@ RDEPEND="dev-perl/Apache-Reload
dev-perl/YAML-LibYAML
apache2? (
mod_perl? (
+ dev-perl/Apache-Reload
www-servers/apache:2
=www-apache/libapreq2-2* www-apache/mod_perl
)
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/otrs/
@ 2020-02-08 16:53 David Seifert
0 siblings, 0 replies; 28+ messages in thread
From: David Seifert @ 2020-02-08 16:53 UTC (permalink / raw
To: gentoo-commits
commit: 98aff74aa27315cca2328e6eb40f8f4f568e8e25
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 8 16:52:44 2020 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Feb 8 16:52:44 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98aff74a
www-apps/otrs: [QA] Fix UnnecessarySlashStrip
Signed-off-by: David Seifert <soap <AT> gentoo.org>
www-apps/otrs/otrs-5.0.25.ebuild | 10 +++++-----
www-apps/otrs/otrs-6.0.3.ebuild | 10 +++++-----
www-apps/otrs/otrs-6.0.4.ebuild | 10 +++++-----
www-apps/otrs/otrs-6.0.5.ebuild | 10 +++++-----
www-apps/otrs/otrs-6.0.7.ebuild | 10 +++++-----
5 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/www-apps/otrs/otrs-5.0.25.ebuild b/www-apps/otrs/otrs-5.0.25.ebuild
index 3701f495278..a21c129d913 100644
--- a/www-apps/otrs/otrs-5.0.25.ebuild
+++ b/www-apps/otrs/otrs-5.0.25.ebuild
@@ -90,18 +90,18 @@ src_prepare() {
fi
mv -f out.png "${S}/var/httpd/htdocs/skins/Agent/default/img/otrs-verify.png" || die
- sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" "${S}"/Kernel/Config.pm \
+ sed -i -e "s:/opt/otrs:${EPREFIX}${OTRS_HOME}:g" "${S}"/Kernel/Config.pm \
|| die "sed failed"
- sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" "${S}"/Kernel/Config/Defaults.pm \
+ sed -i -e "s:/opt/otrs:${EPREFIX}${OTRS_HOME}:g" "${S}"/Kernel/Config/Defaults.pm \
|| die "sed failed"
grep -lR "/opt" "${S}"/scripts | \
- xargs sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" \
+ xargs sed -i -e "s:/opt/otrs:${EPREFIX}${OTRS_HOME}:g" \
|| die "sed failed"
- echo "CONFIG_PROTECT=\"${EPREFIX%/}${OTRS_HOME}/Kernel/Config.pm \
- ${EPREFIX%/}${OTRS_HOME}/Kernel/Config/GenericAgent.pm\"" > "${T}/50${PN}" || die
+ echo "CONFIG_PROTECT=\"${EPREFIX}${OTRS_HOME}/Kernel/Config.pm \
+ ${EPREFIX}${OTRS_HOME}/Kernel/Config/GenericAgent.pm\"" > "${T}/50${PN}" || die
eapply_user
}
diff --git a/www-apps/otrs/otrs-6.0.3.ebuild b/www-apps/otrs/otrs-6.0.3.ebuild
index 3158404230c..8a49432f6ab 100644
--- a/www-apps/otrs/otrs-6.0.3.ebuild
+++ b/www-apps/otrs/otrs-6.0.3.ebuild
@@ -92,18 +92,18 @@ src_prepare() {
fi
mv -f out.png "${S}/var/httpd/htdocs/skins/Agent/default/img/otrs-verify.png" || die
- sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" "${S}"/Kernel/Config.pm \
+ sed -i -e "s:/opt/otrs:${EPREFIX}${OTRS_HOME}:g" "${S}"/Kernel/Config.pm \
|| die "sed failed"
- sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" "${S}"/Kernel/Config/Defaults.pm \
+ sed -i -e "s:/opt/otrs:${EPREFIX}${OTRS_HOME}:g" "${S}"/Kernel/Config/Defaults.pm \
|| die "sed failed"
grep -lR "/opt" "${S}"/scripts | \
- xargs sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" \
+ xargs sed -i -e "s:/opt/otrs:${EPREFIX}${OTRS_HOME}:g" \
|| die "sed failed"
- echo "CONFIG_PROTECT=\"${EPREFIX%/}${OTRS_HOME}/Kernel/Config.pm \
- ${EPREFIX%/}${OTRS_HOME}/Kernel/Config/GenericAgent.pm\"" > "${T}/50${PN}" || die
+ echo "CONFIG_PROTECT=\"${EPREFIX}${OTRS_HOME}/Kernel/Config.pm \
+ ${EPREFIX}${OTRS_HOME}/Kernel/Config/GenericAgent.pm\"" > "${T}/50${PN}" || die
eapply_user
}
diff --git a/www-apps/otrs/otrs-6.0.4.ebuild b/www-apps/otrs/otrs-6.0.4.ebuild
index 3158404230c..8a49432f6ab 100644
--- a/www-apps/otrs/otrs-6.0.4.ebuild
+++ b/www-apps/otrs/otrs-6.0.4.ebuild
@@ -92,18 +92,18 @@ src_prepare() {
fi
mv -f out.png "${S}/var/httpd/htdocs/skins/Agent/default/img/otrs-verify.png" || die
- sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" "${S}"/Kernel/Config.pm \
+ sed -i -e "s:/opt/otrs:${EPREFIX}${OTRS_HOME}:g" "${S}"/Kernel/Config.pm \
|| die "sed failed"
- sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" "${S}"/Kernel/Config/Defaults.pm \
+ sed -i -e "s:/opt/otrs:${EPREFIX}${OTRS_HOME}:g" "${S}"/Kernel/Config/Defaults.pm \
|| die "sed failed"
grep -lR "/opt" "${S}"/scripts | \
- xargs sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" \
+ xargs sed -i -e "s:/opt/otrs:${EPREFIX}${OTRS_HOME}:g" \
|| die "sed failed"
- echo "CONFIG_PROTECT=\"${EPREFIX%/}${OTRS_HOME}/Kernel/Config.pm \
- ${EPREFIX%/}${OTRS_HOME}/Kernel/Config/GenericAgent.pm\"" > "${T}/50${PN}" || die
+ echo "CONFIG_PROTECT=\"${EPREFIX}${OTRS_HOME}/Kernel/Config.pm \
+ ${EPREFIX}${OTRS_HOME}/Kernel/Config/GenericAgent.pm\"" > "${T}/50${PN}" || die
eapply_user
}
diff --git a/www-apps/otrs/otrs-6.0.5.ebuild b/www-apps/otrs/otrs-6.0.5.ebuild
index 3158404230c..8a49432f6ab 100644
--- a/www-apps/otrs/otrs-6.0.5.ebuild
+++ b/www-apps/otrs/otrs-6.0.5.ebuild
@@ -92,18 +92,18 @@ src_prepare() {
fi
mv -f out.png "${S}/var/httpd/htdocs/skins/Agent/default/img/otrs-verify.png" || die
- sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" "${S}"/Kernel/Config.pm \
+ sed -i -e "s:/opt/otrs:${EPREFIX}${OTRS_HOME}:g" "${S}"/Kernel/Config.pm \
|| die "sed failed"
- sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" "${S}"/Kernel/Config/Defaults.pm \
+ sed -i -e "s:/opt/otrs:${EPREFIX}${OTRS_HOME}:g" "${S}"/Kernel/Config/Defaults.pm \
|| die "sed failed"
grep -lR "/opt" "${S}"/scripts | \
- xargs sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" \
+ xargs sed -i -e "s:/opt/otrs:${EPREFIX}${OTRS_HOME}:g" \
|| die "sed failed"
- echo "CONFIG_PROTECT=\"${EPREFIX%/}${OTRS_HOME}/Kernel/Config.pm \
- ${EPREFIX%/}${OTRS_HOME}/Kernel/Config/GenericAgent.pm\"" > "${T}/50${PN}" || die
+ echo "CONFIG_PROTECT=\"${EPREFIX}${OTRS_HOME}/Kernel/Config.pm \
+ ${EPREFIX}${OTRS_HOME}/Kernel/Config/GenericAgent.pm\"" > "${T}/50${PN}" || die
eapply_user
}
diff --git a/www-apps/otrs/otrs-6.0.7.ebuild b/www-apps/otrs/otrs-6.0.7.ebuild
index fa7797934ae..c1ab3165754 100644
--- a/www-apps/otrs/otrs-6.0.7.ebuild
+++ b/www-apps/otrs/otrs-6.0.7.ebuild
@@ -93,18 +93,18 @@ src_prepare() {
fi
mv -f out.png "${S}/var/httpd/htdocs/skins/Agent/default/img/otrs-verify.png" || die
- sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" "${S}"/Kernel/Config.pm \
+ sed -i -e "s:/opt/otrs:${EPREFIX}${OTRS_HOME}:g" "${S}"/Kernel/Config.pm \
|| die "sed failed"
- sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" "${S}"/Kernel/Config/Defaults.pm \
+ sed -i -e "s:/opt/otrs:${EPREFIX}${OTRS_HOME}:g" "${S}"/Kernel/Config/Defaults.pm \
|| die "sed failed"
grep -lR "/opt" "${S}"/scripts | \
- xargs sed -i -e "s:/opt/otrs:${EPREFIX%/}${OTRS_HOME}:g" \
+ xargs sed -i -e "s:/opt/otrs:${EPREFIX}${OTRS_HOME}:g" \
|| die "sed failed"
- echo "CONFIG_PROTECT=\"${EPREFIX%/}${OTRS_HOME}/Kernel/Config.pm \
- ${EPREFIX%/}${OTRS_HOME}/Kernel/Config/GenericAgent.pm\"" > "${T}/50${PN}" || die
+ echo "CONFIG_PROTECT=\"${EPREFIX}${OTRS_HOME}/Kernel/Config.pm \
+ ${EPREFIX}${OTRS_HOME}/Kernel/Config/GenericAgent.pm\"" > "${T}/50${PN}" || die
eapply_user
}
^ permalink raw reply related [flat|nested] 28+ messages in thread
end of thread, other threads:[~2020-02-08 16:53 UTC | newest]
Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-07 19:49 [gentoo-commits] repo/gentoo:master commit in: www-apps/otrs/ Patrice Clement
-- strict thread matches above, loose matches on Subject: below --
2020-02-08 16:53 David Seifert
2018-10-29 14:22 Miroslav Šulc
2018-10-29 14:22 Miroslav Šulc
2018-05-16 15:52 Andreas Sturmlechner
2018-05-08 20:13 Mikle Kolyada
2018-05-08 20:00 Mikle Kolyada
2018-02-15 14:27 Patrice Clement
2018-02-11 11:36 Michał Górny
2018-01-02 19:12 Thomas Deutschmann
2017-12-06 12:54 Michael Palimaka
2017-11-26 23:26 David Seifert
2017-10-02 22:32 Patrice Clement
2017-08-02 9:07 Patrice Clement
2017-06-06 11:53 Thomas Deutschmann
2017-06-06 11:53 Thomas Deutschmann
2017-05-31 16:46 Patrice Clement
2017-04-09 23:10 Göktürk Yüksek
2017-03-12 9:15 Michał Górny
2017-03-12 9:15 Michał Górny
2017-03-12 9:05 Michał Górny
2017-01-25 23:29 Patrice Clement
2017-01-25 23:29 Patrice Clement
2015-10-05 8:13 Ian Delaney
2015-10-05 8:06 Ian Delaney
2015-10-01 4:58 Ian Delaney
2015-08-14 1:11 Chris Reffett
2015-08-14 1:07 Chris Reffett
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox