* [gentoo-commits] repo/gentoo:master commit in: www-apps/rt/
@ 2015-09-11 22:29 Andreas Hüttel
0 siblings, 0 replies; 28+ messages in thread
From: Andreas Hüttel @ 2015-09-11 22:29 UTC (permalink / raw
To: gentoo-commits
commit: 2b29b398d454bee97ad26f2635125540b5e1d0d5
Author: Andreas K. Huettel (dilfridge) <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 11 22:25:44 2015 +0000
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Fri Sep 11 22:29:08 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b29b398
www-apps/rt: dev-perl/text-autoformat just became dev-perl/Text-Autoformat
Package-Manager: portage-2.2.20.1
www-apps/rt/rt-4.2.11.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www-apps/rt/rt-4.2.11.ebuild b/www-apps/rt/rt-4.2.11.ebuild
index 0293dda..5762f03 100644
--- a/www-apps/rt/rt-4.2.11.ebuild
+++ b/www-apps/rt/rt-4.2.11.ebuild
@@ -103,7 +103,7 @@ DEPEND="
dev-perl/locale-maketext-fuzzy
dev-perl/net-server
dev-perl/regexp-common
- dev-perl/text-autoformat
+ dev-perl/Text-Autoformat
dev-perl/text-template
dev-perl/text-wrapper
virtual/perl-Digest
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/rt/
@ 2015-11-18 18:01 Aaron Swenson
0 siblings, 0 replies; 28+ messages in thread
From: Aaron Swenson @ 2015-11-18 18:01 UTC (permalink / raw
To: gentoo-commits
commit: 5c322ee493f1c3dd6c14d0370e2f5fb891da996c
Author: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 18 18:01:02 2015 +0000
Commit: Aaron Swenson <titanofold <AT> gentoo <DOT> org>
CommitDate: Wed Nov 18 18:01:02 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c322ee4
www-apps/rt: Version Bump
Fixes cross-site scripting in cryptography interface security issue.
Bug: 558424
Package-Manager: portage-2.2.20.1
www-apps/rt/Manifest | 1 +
www-apps/rt/rt-4.2.12.ebuild | 292 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 293 insertions(+)
diff --git a/www-apps/rt/Manifest b/www-apps/rt/Manifest
index 7ce37ab..15a1419 100644
--- a/www-apps/rt/Manifest
+++ b/www-apps/rt/Manifest
@@ -1 +1,2 @@
DIST rt-4.2.11.tar.gz 7537515 SHA256 dc07f32dd04a50bd9d0ff86a1f9fe3cd1a128f01cbbd018e5fa23a41ddfb87e6 SHA512 dec4db4c2e3ec8c167e6fde16817fb07441a297cbdf6e035f100aa94d9eb1831f11b8d4dbfb8376a5da689ff2378647de2a52683692f91d3ab6b1044aecd9c43 WHIRLPOOL aefeac9dd7cbf343f5a20f467a5b86d10a07e742475dc4d397b61c7499245862d9c67bd3406e419bccefa069a69aa3375b0e9fe0879d7a67899f99f978fb782a
+DIST rt-4.2.12.tar.gz 7537620 SHA256 e21220c609706dc9977a13309d78a4d9171455ae823cf549311342cedd837264 SHA512 e816c5481bdb158209bd78bc82af4abc0243af500abe55ae3aac666259e983282d82577de6207899745b4781fb0a50d3094901a248e7ac958dd852343b6f2676 WHIRLPOOL 726d6f7c92bdd120ae3c0463181cef3ade9c705ac23dbb93bf1a262ebc4d0d2f07144a67d04a06c3127dead7ad7e6b50f3966e2969bc8c0199507af4af854fec
diff --git a/www-apps/rt/rt-4.2.12.ebuild b/www-apps/rt/rt-4.2.12.ebuild
new file mode 100644
index 0000000..b63bfac
--- /dev/null
+++ b/www-apps/rt/rt-4.2.12.ebuild
@@ -0,0 +1,292 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit webapp eutils depend.apache user
+
+DESCRIPTION="RT is an enterprise-grade ticketing system"
+HOMEPAGE="http://www.bestpractical.com/rt/"
+SRC_URI="http://download.bestpractical.com/pub/${PN}/release/${P}.tar.gz"
+
+KEYWORDS="~amd64"
+LICENSE="GPL-2"
+IUSE="mysql +postgres fastcgi lighttpd"
+REQUIRED_USE="^^ ( mysql postgres )"
+
+RESTRICT="test"
+
+DEPEND="
+ >=dev-lang/perl-5.10.1
+
+ >=dev-perl/Apache-Session-1.53
+ >=dev-perl/CGI-4
+ >=dev-perl/CSS-Squish-0.06
+ >=dev-perl/Class-Accessor-0.34
+ >=dev-perl/Class-ReturnValue-0.550.0-r1
+ >=dev-perl/DBI-1.37
+ >=dev-perl/Date-Extract-0.02
+ >=dev-perl/DateTime-Format-Natural-0.67
+ >=dev-perl/Devel-StackTrace-1.19
+ >=dev-perl/HTML-FormatText-WithLinks-0.14
+ >=dev-perl/HTML-Mason-1.43
+ >=dev-perl/HTML-Scrubber-0.08
+ >=dev-perl/HTTP-Server-Simple-0.34
+ >=dev-perl/HTTP-Server-Simple-Mason-0.14
+ >=dev-perl/Locale-Maketext-Lexicon-0.32
+ >=dev-perl/Log-Dispatch-2.410.0
+ >=dev-perl/MIME-tools-5.425
+ >=dev-perl/MailTools-1.60
+ >=dev-perl/Module-Versions-Report-1.05
+ >=dev-perl/Role-Basic-0.12
+ >=dev-perl/Symbol-Global-Name-0.04
+ >=dev-perl/Text-Quoted-2.80.0
+ >=dev-perl/Text-WikiFormat-0.76
+ >=dev-perl/Tree-Simple-1.04
+ >=dev-perl/XML-RSS-1.05
+ >=dev-perl/dbix-searchbuilder-1.660.0
+ >=virtual/perl-Digest-MD5-2.27
+ >=virtual/perl-Encode-2.730.0
+ >=virtual/perl-File-Spec-0.8
+ >=virtual/perl-Getopt-Long-2.24
+ >=virtual/perl-Locale-Maketext-1.06
+ >=virtual/perl-Storable-2.08
+ dev-perl/CGI-Emulate-PSGI
+ dev-perl/CGI-PSGI
+ dev-perl/Cache-Simple-TimedExpiry
+ dev-perl/Calendar-Simple
+ dev-perl/Convert-Color
+ dev-perl/Crypt-Eksblowfish
+ dev-perl/Crypt-SSLeay
+ dev-perl/Crypt-X509
+ dev-perl/DBD-SQLite
+ dev-perl/Data-GUID
+ dev-perl/Data-ICal
+ dev-perl/DateManip
+ dev-perl/Devel-GlobalDestruction
+ dev-perl/Email-Address
+ dev-perl/Email-Address-List
+ dev-perl/File-ShareDir
+ dev-perl/File-Which
+ dev-perl/GDGraph
+ dev-perl/GDTextUtil
+ dev-perl/GD[png,gif]
+ dev-perl/GnuPG-Interface
+ dev-perl/GraphViz
+ dev-perl/HTML-Format
+ dev-perl/HTML-FormatText-WithLinks-AndTables
+ dev-perl/HTML-Mason-PSGIHandler
+ dev-perl/HTML-Parser
+ dev-perl/HTML-Quoted
+ dev-perl/HTML-RewriteAttributes
+ dev-perl/HTML-Tree
+ dev-perl/IPC-Run3
+ dev-perl/JSON
+ dev-perl/JavaScript-Minifier
+ dev-perl/MIME-Types
+ dev-perl/Module-Refresh
+ dev-perl/Mozilla-CA
+ dev-perl/Net-CIDR
+ dev-perl/PerlIO-eol
+ dev-perl/Plack
+ dev-perl/Regexp-Common-net-CIDR
+ dev-perl/Regexp-IPv6
+ dev-perl/Starlet
+ dev-perl/String-ShellQuote
+ dev-perl/TermReadKey
+ dev-perl/Text-Autoformat
+ dev-perl/Text-Password-Pronounceable
+ dev-perl/Time-modules
+ dev-perl/TimeDate
+ dev-perl/UNIVERSAL-require
+ dev-perl/libwww-perl
+ dev-perl/locale-maketext-fuzzy
+ dev-perl/net-server
+ dev-perl/regexp-common
+ dev-perl/text-template
+ dev-perl/text-wrapper
+ virtual/perl-Digest
+ virtual/perl-File-Temp
+ virtual/perl-Scalar-List-Utils
+ virtual/perl-Time-HiRes
+ virtual/perl-libnet
+
+ fastcgi? (
+ dev-perl/FCGI
+ dev-perl/FCGI-ProcManager
+ )
+ !lighttpd? (
+ dev-perl/Apache-DBI
+ !fastcgi? ( >=www-apache/mod_perl-2 )
+ )
+ lighttpd? ( dev-perl/FCGI )
+ mysql? ( >=dev-perl/DBD-mysql-2.1018 )
+ postgres? ( >=dev-perl/DBD-Pg-1.43 )
+"
+
+RDEPEND="${DEPEND}
+ virtual/mta
+ !lighttpd? ( ${APACHE2_DEPEND} )
+ lighttpd? (
+ >=www-servers/lighttpd-1.3.13
+ sys-apps/openrc
+ )
+"
+
+need_httpd_cgi
+
+add_user_rt() {
+ # add new user
+ # suexec2 requires uid >= 1000; enewuser is of no help here
+ # From: Mike Frysinger <vapier@gentoo.org>
+ # Date: Fri, 17 Jun 2005 08:41:44 -0400
+ # i'd pick a 5 digit # if i were you
+
+ local euser="rt"
+
+ # first check if username rt exists
+ if [[ ${euser} == $(egetent passwd "${euser}" | cut -d: -f1) ]] ; then
+ # check uid
+ rt_uid=$(egetent passwd "${euser}" | cut -d: -f3)
+ if $(expr ${rt_uid} '<' 1000 > /dev/null); then
+ ewarn "uid of user rt is less than 1000. suexec2 will not work."
+ ewarn "If you want to use FastCGI, please delete the user 'rt'"
+ ewarn "from your system and re-emerge www-apps/rt"
+ fi
+ return 0 # all is well
+ fi
+
+ # add user
+ # stolen from enewuser
+ local pwrange euid
+
+ pwrange=$(seq 10001 11001)
+ for euid in ${pwrange} ; do
+ [[ -z $(egetent passwd ${euid}) ]] && break
+ done
+ if [[ ${euid} == "11001" ]]; then
+ # she gets around, doesn't she?
+ die "No available uid's found"
+ fi
+
+ elog " - Userid: ${euid}"
+
+ enewuser rt ${euid} -1 /dev/null rt
+ return 0
+}
+
+pkg_setup() {
+ webapp_pkg_setup
+
+ ewarn
+ ewarn "If you are upgrading from an existing RT installation"
+ ewarn "make sure to read the related upgrade documentation in"
+ ewarn "${ROOT}usr/share/doc/${PF}."
+ ewarn
+
+ enewgroup rt
+ add_user_rt || die "Could not add user"
+}
+
+src_prepare() {
+ # add Gentoo-specific layout
+ cat "${FILESDIR}"/config.layout-gentoo >> config.layout
+ sed -e "s|PREFIX|${ED}/${MY_HOSTROOTDIR}/${PF}|g" \
+ -e "s|HTMLDIR|${ED}/${MY_HTDOCSDIR}|g" \
+ -e 's|/\+|/|g' \
+ -i ./config.layout || die 'config sed failed'
+
+ # don't need to check dev dependencies
+ sed -e "s|\$args{'with-DEV'} =1;|#\$args{'with-DEV'} =1;|" \
+ -i sbin/rt-test-dependencies.in || die 'dev sed failed'
+
+ epatch "${FILESDIR}/rt-makefile-serialize-install-prereqs.patch"
+}
+
+src_configure() {
+ local web
+ local myconf
+ local depsconf
+
+ if use mysql ; then
+ myconf="--with-db-type=mysql --with-db-dba=root"
+ depsconf="--with-MYSQL"
+ elif use postgres ; then
+ myconf="--with-db-type=Pg --with-db-dba=postgres"
+ depsconf="--with-PG"
+ else
+ die "Pick a database backend"
+ fi
+
+ if use fastcgi ; then
+ myconf+=" --with-web-handler=fastcgi"
+ web="apache"
+ depsconf+=" --with-FASTCGI"
+ elif use lighttpd ; then
+ myconf+=" --with-web-handler=fastcgi"
+ web="lighttpd"
+ depsconf+=" --with-FASTCGI"
+ else
+ myconf+=" --with-web-handler=modperl2"
+ web="apache"
+ depsconf+=" --with-MODPERL2"
+ fi
+
+ ./configure --enable-layout=Gentoo \
+ --with-bin-owner=rt \
+ --with-libs-owner=rt \
+ --with-libs-group=rt \
+ --with-rt-group=rt \
+ --with-web-user=${web} \
+ --with-web-group=${web} \
+ ${myconf}
+
+ # check for missing deps and ask to report if something is broken
+ /usr/bin/perl ./sbin/rt-test-dependencies ${depsconf} > "${T}"/t
+ if grep -q "MISSING" "${T}"/t; then
+ ewarn "Missing Perl dependency!"
+ ewarn
+ cat "${T}"/t | grep MISSING
+ ewarn
+ ewarn "Please run perl-cleaner. If the problem persists,"
+ ewarn "please file a bug in the Gentoo Bugzilla with the information above"
+ die "Missing dependencies."
+ fi
+}
+
+src_compile() { :; }
+
+src_install() {
+ webapp_src_preinst
+ emake install
+
+ dodoc -r docs/*
+ # Disable compression because `perldoc` doesn't decompress transparently
+ docompress -x /usr/share/doc
+
+ # make sure we don't clobber existing site configuration
+ rm -f "${ED}"/${MY_HOSTROOTDIR}/${PF}/etc/RT_SiteConfig.pm
+
+ # fix paths
+ find "${ED}" -type f -print0 | xargs -0 sed -i -e "s:${ED}::g"
+
+ # copy upgrade files
+ insinto "${MY_HOSTROOTDIR}/${PF}"
+ doins -r etc/upgrade
+
+ if use lighttpd ; then
+ newinitd "${FILESDIR}"/${PN}.init.d.2 ${PN}
+ newconfd "${FILESDIR}"/${PN}.conf.d.2 ${PN}
+ sed -i -e "s/@@PF@@/${PF}/g" "${ED}"/etc/conf.d/${PN} || die
+ fi
+
+ # require the web server's permissions
+ webapp_serverowned "${MY_HOSTROOTDIR}"/${PF}/var
+ webapp_serverowned "${MY_HOSTROOTDIR}"/${PF}/var/mason_data/obj
+
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
+ webapp_hook_script "${FILESDIR}"/reconfig
+
+ webapp_src_install
+}
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/rt/
@ 2015-11-18 18:02 Aaron Swenson
0 siblings, 0 replies; 28+ messages in thread
From: Aaron Swenson @ 2015-11-18 18:02 UTC (permalink / raw
To: gentoo-commits
commit: 30c18705dcfa3ee3f51ffa025e45a89f402d5677
Author: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 18 18:02:33 2015 +0000
Commit: Aaron Swenson <titanofold <AT> gentoo <DOT> org>
CommitDate: Wed Nov 18 18:02:33 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30c18705
www-apps/rt: Remove Insecure Version
Susceptible to cross-site scripting in cryptography interface security
issue.
Bug: 558424
Package-Manager: portage-2.2.20.1
www-apps/rt/Manifest | 1 -
www-apps/rt/rt-4.2.11.ebuild | 292 -------------------------------------------
2 files changed, 293 deletions(-)
diff --git a/www-apps/rt/Manifest b/www-apps/rt/Manifest
index 15a1419..25c8e4e 100644
--- a/www-apps/rt/Manifest
+++ b/www-apps/rt/Manifest
@@ -1,2 +1 @@
-DIST rt-4.2.11.tar.gz 7537515 SHA256 dc07f32dd04a50bd9d0ff86a1f9fe3cd1a128f01cbbd018e5fa23a41ddfb87e6 SHA512 dec4db4c2e3ec8c167e6fde16817fb07441a297cbdf6e035f100aa94d9eb1831f11b8d4dbfb8376a5da689ff2378647de2a52683692f91d3ab6b1044aecd9c43 WHIRLPOOL aefeac9dd7cbf343f5a20f467a5b86d10a07e742475dc4d397b61c7499245862d9c67bd3406e419bccefa069a69aa3375b0e9fe0879d7a67899f99f978fb782a
DIST rt-4.2.12.tar.gz 7537620 SHA256 e21220c609706dc9977a13309d78a4d9171455ae823cf549311342cedd837264 SHA512 e816c5481bdb158209bd78bc82af4abc0243af500abe55ae3aac666259e983282d82577de6207899745b4781fb0a50d3094901a248e7ac958dd852343b6f2676 WHIRLPOOL 726d6f7c92bdd120ae3c0463181cef3ade9c705ac23dbb93bf1a262ebc4d0d2f07144a67d04a06c3127dead7ad7e6b50f3966e2969bc8c0199507af4af854fec
diff --git a/www-apps/rt/rt-4.2.11.ebuild b/www-apps/rt/rt-4.2.11.ebuild
deleted file mode 100644
index 5762f03..0000000
--- a/www-apps/rt/rt-4.2.11.ebuild
+++ /dev/null
@@ -1,292 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit webapp eutils depend.apache user
-
-DESCRIPTION="RT is an enterprise-grade ticketing system"
-HOMEPAGE="http://www.bestpractical.com/rt/"
-SRC_URI="http://download.bestpractical.com/pub/${PN}/release/${P}.tar.gz"
-
-KEYWORDS="~amd64"
-LICENSE="GPL-2"
-IUSE="mysql +postgres fastcgi lighttpd"
-REQUIRED_USE="^^ ( mysql postgres )"
-
-RESTRICT="test"
-
-DEPEND="
- >=dev-lang/perl-5.10.1
-
- >=dev-perl/Apache-Session-1.53
- >=dev-perl/CSS-Squish-0.06
- >=dev-perl/Class-Accessor-0.34
- >=dev-perl/Class-ReturnValue-0.550.0-r1
- >=dev-perl/DBI-1.37
- >=dev-perl/Date-Extract-0.02
- >=dev-perl/DateTime-Format-Natural-0.67
- >=dev-perl/Devel-StackTrace-1.19
- >=dev-perl/HTML-FormatText-WithLinks-0.14
- >=dev-perl/HTML-Mason-1.43
- >=dev-perl/HTML-Scrubber-0.08
- >=dev-perl/HTTP-Server-Simple-0.34
- >=dev-perl/HTTP-Server-Simple-Mason-0.14
- >=dev-perl/Log-Dispatch-2.410.0
- >=dev-perl/MIME-tools-5.425
- >=dev-perl/MailTools-1.60
- >=dev-perl/Module-Versions-Report-1.05
- >=dev-perl/Role-Basic-0.12
- >=dev-perl/Symbol-Global-Name-0.04
- >=dev-perl/Text-Quoted-2.80.0
- >=dev-perl/Text-WikiFormat-0.76
- >=dev-perl/Tree-Simple-1.04
- >=dev-perl/XML-RSS-1.05
- >=dev-perl/dbix-searchbuilder-1.660.0
- >=dev-perl/Locale-Maketext-Lexicon-0.32
- >=dev-perl/CGI-4
- >=virtual/perl-Digest-MD5-2.27
- >=virtual/perl-Encode-2.730.0
- >=virtual/perl-File-Spec-0.8
- >=virtual/perl-Getopt-Long-2.24
- >=virtual/perl-Locale-Maketext-1.06
- >=virtual/perl-Storable-2.08
- dev-perl/CGI-Emulate-PSGI
- dev-perl/CGI-PSGI
- dev-perl/Cache-Simple-TimedExpiry
- dev-perl/Calendar-Simple
- dev-perl/Convert-Color
- dev-perl/Crypt-Eksblowfish
- dev-perl/Crypt-SSLeay
- dev-perl/Crypt-X509
- dev-perl/DBD-SQLite
- dev-perl/Data-GUID
- dev-perl/Data-ICal
- dev-perl/DateManip
- dev-perl/Devel-GlobalDestruction
- dev-perl/Email-Address
- dev-perl/Email-Address-List
- dev-perl/File-ShareDir
- dev-perl/File-Which
- dev-perl/GD
- dev-perl/GDGraph
- dev-perl/GDTextUtil
- dev-perl/GnuPG-Interface
- dev-perl/GraphViz
- dev-perl/HTML-Format
- dev-perl/HTML-FormatText-WithLinks-AndTables
- dev-perl/HTML-Mason-PSGIHandler
- dev-perl/HTML-Parser
- dev-perl/HTML-Quoted
- dev-perl/HTML-RewriteAttributes
- dev-perl/HTML-Tree
- dev-perl/IPC-Run3
- dev-perl/JSON
- dev-perl/JavaScript-Minifier
- dev-perl/MIME-Types
- dev-perl/Module-Refresh
- dev-perl/Mozilla-CA
- dev-perl/Net-CIDR
- dev-perl/PerlIO-eol
- dev-perl/Plack
- dev-perl/Regexp-Common-net-CIDR
- dev-perl/Regexp-IPv6
- dev-perl/Starlet
- dev-perl/String-ShellQuote
- dev-perl/TermReadKey
- dev-perl/Text-Password-Pronounceable
- dev-perl/Time-modules
- dev-perl/TimeDate
- dev-perl/UNIVERSAL-require
- dev-perl/libwww-perl
- dev-perl/locale-maketext-fuzzy
- dev-perl/net-server
- dev-perl/regexp-common
- dev-perl/Text-Autoformat
- dev-perl/text-template
- dev-perl/text-wrapper
- virtual/perl-Digest
- virtual/perl-File-Temp
- virtual/perl-Scalar-List-Utils
- virtual/perl-Time-HiRes
- virtual/perl-libnet
-
- fastcgi? (
- dev-perl/FCGI
- dev-perl/FCGI-ProcManager
- )
- !lighttpd? (
- dev-perl/Apache-DBI
- !fastcgi? ( >=www-apache/mod_perl-2 )
- )
- lighttpd? ( dev-perl/FCGI )
- mysql? ( >=dev-perl/DBD-mysql-2.1018 )
- postgres? ( >=dev-perl/DBD-Pg-1.43 )
-"
-
-RDEPEND="${DEPEND}
- virtual/mta
- !lighttpd? ( ${APACHE2_DEPEND} )
- lighttpd? (
- >=www-servers/lighttpd-1.3.13
- sys-apps/openrc
- )
-"
-
-need_httpd_cgi
-
-add_user_rt() {
- # add new user
- # suexec2 requires uid >= 1000; enewuser is of no help here
- # From: Mike Frysinger <vapier@gentoo.org>
- # Date: Fri, 17 Jun 2005 08:41:44 -0400
- # i'd pick a 5 digit # if i were you
-
- local euser="rt"
-
- # first check if username rt exists
- if [[ ${euser} == $(egetent passwd "${euser}" | cut -d: -f1) ]] ; then
- # check uid
- rt_uid=$(egetent passwd "${euser}" | cut -d: -f3)
- if $(expr ${rt_uid} '<' 1000 > /dev/null); then
- ewarn "uid of user rt is less than 1000. suexec2 will not work."
- ewarn "If you want to use FastCGI, please delete the user 'rt'"
- ewarn "from your system and re-emerge www-apps/rt"
- fi
- return 0 # all is well
- fi
-
- # add user
- # stolen from enewuser
- local pwrange euid
-
- pwrange=$(seq 10001 11001)
- for euid in ${pwrange} ; do
- [[ -z $(egetent passwd ${euid}) ]] && break
- done
- if [[ ${euid} == "11001" ]]; then
- # she gets around, doesn't she?
- die "No available uid's found"
- fi
-
- elog " - Userid: ${euid}"
-
- enewuser rt ${euid} -1 /dev/null rt
- return 0
-}
-
-pkg_setup() {
- webapp_pkg_setup
-
- ewarn
- ewarn "If you are upgrading from an existing RT installation"
- ewarn "make sure to read the related upgrade documentation in"
- ewarn "${ROOT}usr/share/doc/${PF}."
- ewarn
-
- enewgroup rt
- add_user_rt || die "Could not add user"
-}
-
-src_prepare() {
- # add Gentoo-specific layout
- cat "${FILESDIR}"/config.layout-gentoo >> config.layout
- sed -e "s|PREFIX|${ED}/${MY_HOSTROOTDIR}/${PF}|g" \
- -e "s|HTMLDIR|${ED}/${MY_HTDOCSDIR}|g" \
- -e 's|/\+|/|g' \
- -i ./config.layout || die 'config sed failed'
-
- # don't need to check dev dependencies
- sed -e "s|\$args{'with-DEV'} =1;|#\$args{'with-DEV'} =1;|" \
- -i sbin/rt-test-dependencies.in || die 'dev sed failed'
-
- epatch "${FILESDIR}/rt-makefile-serialize-install-prereqs.patch"
-}
-
-src_configure() {
- local web
- local myconf
- local depsconf
-
- if use mysql ; then
- myconf="--with-db-type=mysql --with-db-dba=root"
- depsconf="--with-MYSQL"
- elif use postgres ; then
- myconf="--with-db-type=Pg --with-db-dba=postgres"
- depsconf="--with-PG"
- else
- die "Pick a database backend"
- fi
-
- if use fastcgi ; then
- myconf+=" --with-web-handler=fastcgi"
- web="apache"
- depsconf+=" --with-FASTCGI"
- elif use lighttpd ; then
- myconf+=" --with-web-handler=fastcgi"
- web="lighttpd"
- depsconf+=" --with-FASTCGI"
- else
- myconf+=" --with-web-handler=modperl2"
- web="apache"
- depsconf+=" --with-MODPERL2"
- fi
-
- ./configure --enable-layout=Gentoo \
- --with-bin-owner=rt \
- --with-libs-owner=rt \
- --with-libs-group=rt \
- --with-rt-group=rt \
- --with-web-user=${web} \
- --with-web-group=${web} \
- ${myconf}
-
- # check for missing deps and ask to report if something is broken
- /usr/bin/perl ./sbin/rt-test-dependencies ${depsconf} > "${T}"/t
- if grep -q "MISSING" "${T}"/t; then
- ewarn "Missing Perl dependency!"
- ewarn
- cat "${T}"/t | grep MISSING
- ewarn
- ewarn "Please run perl-cleaner. If the problem persists,"
- ewarn "please file a bug in the Gentoo Bugzilla with the information above"
- die "Missing dependencies."
- fi
-}
-
-src_compile() { :; }
-
-src_install() {
- webapp_src_preinst
- emake install
-
- dodoc -r docs/*
- # Disable compression because `perldoc` doesn't decompress transparently
- docompress -x /usr/share/doc
-
- # make sure we don't clobber existing site configuration
- rm -f "${ED}"/${MY_HOSTROOTDIR}/${PF}/etc/RT_SiteConfig.pm
-
- # fix paths
- find "${ED}" -type f -print0 | xargs -0 sed -i -e "s:${ED}::g"
-
- # copy upgrade files
- insinto "${MY_HOSTROOTDIR}/${PF}"
- doins -r etc/upgrade
-
- if use lighttpd ; then
- newinitd "${FILESDIR}"/${PN}.init.d.2 ${PN}
- newconfd "${FILESDIR}"/${PN}.conf.d.2 ${PN}
- sed -i -e "s/@@PF@@/${PF}/g" "${ED}"/etc/conf.d/${PN} || die
- fi
-
- # require the web server's permissions
- webapp_serverowned "${MY_HOSTROOTDIR}"/${PF}/var
- webapp_serverowned "${MY_HOSTROOTDIR}"/${PF}/var/mason_data/obj
-
- webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
- webapp_hook_script "${FILESDIR}"/reconfig
-
- webapp_src_install
-}
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/rt/
@ 2016-02-29 15:36 Patrice Clement
0 siblings, 0 replies; 28+ messages in thread
From: Patrice Clement @ 2016-02-29 15:36 UTC (permalink / raw
To: gentoo-commits
commit: c737157b7c288110e9606d9cfe5c00c526d9bd83
Author: Kent Fredric <kentfredric <AT> gmail <DOT> com>
AuthorDate: Sun Feb 28 18:45:32 2016 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Mon Feb 29 11:19:08 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c737157b
www-apps/rt: Empty -r1 bump to propagate dep change w/o dyndeps
Package-Manager: portage-2.2.27
www-apps/rt/{rt-4.2.12.ebuild => rt-4.2.12-r1.ebuild} | 0
1 file changed, 0 insertions(+), 0 deletions(-)
diff --git a/www-apps/rt/rt-4.2.12.ebuild b/www-apps/rt/rt-4.2.12-r1.ebuild
similarity index 100%
rename from www-apps/rt/rt-4.2.12.ebuild
rename to www-apps/rt/rt-4.2.12-r1.ebuild
^ permalink raw reply [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/rt/
@ 2016-02-29 15:36 Patrice Clement
0 siblings, 0 replies; 28+ messages in thread
From: Patrice Clement @ 2016-02-29 15:36 UTC (permalink / raw
To: gentoo-commits
commit: b7df61133b67de0b18ae97e853151d3e5c8cda45
Author: Kent Fredric <kentfredric <AT> gmail <DOT> com>
AuthorDate: Sun Feb 28 18:39:02 2016 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Mon Feb 29 11:19:08 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7df6113
www-apps/rt: Fix dependency on dev-perl/Locale-Maketext-Fuzzy
Package-Manager: portage-2.2.27
www-apps/rt/rt-4.2.12.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/www-apps/rt/rt-4.2.12.ebuild b/www-apps/rt/rt-4.2.12.ebuild
index b63bfac..c9e073f 100644
--- a/www-apps/rt/rt-4.2.12.ebuild
+++ b/www-apps/rt/rt-4.2.12.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -101,7 +101,7 @@ DEPEND="
dev-perl/TimeDate
dev-perl/UNIVERSAL-require
dev-perl/libwww-perl
- dev-perl/locale-maketext-fuzzy
+ dev-perl/Locale-Maketext-Fuzzy
dev-perl/net-server
dev-perl/regexp-common
dev-perl/text-template
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/rt/
@ 2016-03-09 20:48 Andreas Hüttel
0 siblings, 0 replies; 28+ messages in thread
From: Andreas Hüttel @ 2016-03-09 20:48 UTC (permalink / raw
To: gentoo-commits
commit: 2c2a99b33b3aa458c32b52fd879e7e37df997e46
Author: Kent Fredric <kentfredric <AT> gmail <DOT> com>
AuthorDate: Sun Mar 6 09:26:21 2016 +0000
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Wed Mar 9 20:48:19 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c2a99b3
www-apps/rt: Fix dependency on dev-perl/Net-Server
Package-Manager: portage-2.2.27
www-apps/rt/rt-4.2.12-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www-apps/rt/rt-4.2.12-r1.ebuild b/www-apps/rt/rt-4.2.12-r1.ebuild
index c9e073f..41a70b5 100644
--- a/www-apps/rt/rt-4.2.12-r1.ebuild
+++ b/www-apps/rt/rt-4.2.12-r1.ebuild
@@ -102,7 +102,7 @@ DEPEND="
dev-perl/UNIVERSAL-require
dev-perl/libwww-perl
dev-perl/Locale-Maketext-Fuzzy
- dev-perl/net-server
+ dev-perl/Net-Server
dev-perl/regexp-common
dev-perl/text-template
dev-perl/text-wrapper
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/rt/
@ 2016-03-10 23:10 Andreas Hüttel
0 siblings, 0 replies; 28+ messages in thread
From: Andreas Hüttel @ 2016-03-10 23:10 UTC (permalink / raw
To: gentoo-commits
commit: fe5597775c5b4981fa799278269499e1fdaa1e6f
Author: Kent Fredric <kentfredric <AT> gmail <DOT> com>
AuthorDate: Thu Mar 10 10:36:30 2016 +0000
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Thu Mar 10 23:09:46 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe559777
www-apps/rt: Fix dependency on dev-perl/Date-Manip
Package-Manager: portage-2.2.27
www-apps/rt/rt-4.2.12-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www-apps/rt/rt-4.2.12-r1.ebuild b/www-apps/rt/rt-4.2.12-r1.ebuild
index 41a70b5..e6867ba 100644
--- a/www-apps/rt/rt-4.2.12-r1.ebuild
+++ b/www-apps/rt/rt-4.2.12-r1.ebuild
@@ -63,7 +63,7 @@ DEPEND="
dev-perl/DBD-SQLite
dev-perl/Data-GUID
dev-perl/Data-ICal
- dev-perl/DateManip
+ dev-perl/Date-Manip
dev-perl/Devel-GlobalDestruction
dev-perl/Email-Address
dev-perl/Email-Address-List
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/rt/
@ 2016-04-23 17:31 Andreas Hüttel
0 siblings, 0 replies; 28+ messages in thread
From: Andreas Hüttel @ 2016-04-23 17:31 UTC (permalink / raw
To: gentoo-commits
commit: fe7b888c770bca49119fe8b8165a5e81f17f60fe
Author: Kent Fredric <kentfredric <AT> gmail <DOT> com>
AuthorDate: Mon Apr 18 22:28:11 2016 +0000
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat Apr 23 17:30:44 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe7b888c
www-apps/rt: Fix dependency on dev-perl/Time-ParseDate
Package-Manager: portage-2.2.28
RepoMan-Options: --include-arches="alpha amd64 amd64-fbsd arm arm64 hppa ia64 m68k mips nios2 ppc ppc64 riscv s390 sh sparc sparc-fbsd x86 x86-fbsd"
www-apps/rt/rt-4.2.12-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www-apps/rt/rt-4.2.12-r1.ebuild b/www-apps/rt/rt-4.2.12-r1.ebuild
index e6867ba..dc99f0b 100644
--- a/www-apps/rt/rt-4.2.12-r1.ebuild
+++ b/www-apps/rt/rt-4.2.12-r1.ebuild
@@ -97,7 +97,7 @@ DEPEND="
dev-perl/TermReadKey
dev-perl/Text-Autoformat
dev-perl/Text-Password-Pronounceable
- dev-perl/Time-modules
+ dev-perl/Time-ParseDate
dev-perl/TimeDate
dev-perl/UNIVERSAL-require
dev-perl/libwww-perl
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/rt/
@ 2016-04-26 20:03 Andreas Hüttel
0 siblings, 0 replies; 28+ messages in thread
From: Andreas Hüttel @ 2016-04-26 20:03 UTC (permalink / raw
To: gentoo-commits
commit: 80cfe4741d651fe38d32f45bca179a9e619edf20
Author: Kent Fredric <kentfredric <AT> gmail <DOT> com>
AuthorDate: Mon Apr 25 06:34:34 2016 +0000
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Tue Apr 26 20:02:54 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80cfe474
www-apps/rt: Fix dependency on dev-perl/Text-Template
Package-Manager: portage-2.2.28
RepoMan-Options: --include-arches="alpha amd64 amd64-fbsd arm arm64 hppa ia64 m68k mips nios2 ppc ppc64 riscv s390 sh sparc sparc-fbsd x86 x86-fbsd"
www-apps/rt/rt-4.2.12-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www-apps/rt/rt-4.2.12-r1.ebuild b/www-apps/rt/rt-4.2.12-r1.ebuild
index dc99f0b..e4fdd9c 100644
--- a/www-apps/rt/rt-4.2.12-r1.ebuild
+++ b/www-apps/rt/rt-4.2.12-r1.ebuild
@@ -104,7 +104,7 @@ DEPEND="
dev-perl/Locale-Maketext-Fuzzy
dev-perl/Net-Server
dev-perl/regexp-common
- dev-perl/text-template
+ dev-perl/Text-Template
dev-perl/text-wrapper
virtual/perl-Digest
virtual/perl-File-Temp
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/rt/
@ 2016-04-26 20:03 Andreas Hüttel
0 siblings, 0 replies; 28+ messages in thread
From: Andreas Hüttel @ 2016-04-26 20:03 UTC (permalink / raw
To: gentoo-commits
commit: 43918ea4e7fea0feba4f4e33b31026202908cd2d
Author: Kent Fredric <kentfredric <AT> gmail <DOT> com>
AuthorDate: Mon Apr 25 06:40:07 2016 +0000
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Tue Apr 26 20:02:54 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43918ea4
www-apps/rt: Fix dependency on dev-perl/Text-Wrapper
Package-Manager: portage-2.2.28
RepoMan-Options: --include-arches="alpha amd64 amd64-fbsd arm arm64 hppa ia64 m68k mips nios2 ppc ppc64 riscv s390 sh sparc sparc-fbsd x86 x86-fbsd"
www-apps/rt/rt-4.2.12-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www-apps/rt/rt-4.2.12-r1.ebuild b/www-apps/rt/rt-4.2.12-r1.ebuild
index e4fdd9c..985ccc3 100644
--- a/www-apps/rt/rt-4.2.12-r1.ebuild
+++ b/www-apps/rt/rt-4.2.12-r1.ebuild
@@ -105,7 +105,7 @@ DEPEND="
dev-perl/Net-Server
dev-perl/regexp-common
dev-perl/Text-Template
- dev-perl/text-wrapper
+ dev-perl/Text-Wrapper
virtual/perl-Digest
virtual/perl-File-Temp
virtual/perl-Scalar-List-Utils
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/rt/
@ 2016-08-02 11:54 Kent Fredric
0 siblings, 0 replies; 28+ messages in thread
From: Kent Fredric @ 2016-08-02 11:54 UTC (permalink / raw
To: gentoo-commits
commit: ce8cf7a0ef7d8cbc7d554723c4b170c947d8914a
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 2 11:27:45 2016 +0000
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Tue Aug 2 11:30:26 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce8cf7a0
www-apps/rt: Fix dependency on dev-perl/Regexp-Common
Part of Capitalization Migration
Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="alpha amd64 amd64-fbsd arm arm64 hppa ia64 m68k mips nios2 ppc ppc64 riscv s390 sh sparc sparc-fbsd x86 x86-fbsd"
www-apps/rt/rt-4.2.12-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www-apps/rt/rt-4.2.12-r1.ebuild b/www-apps/rt/rt-4.2.12-r1.ebuild
index 985ccc3..c6d504a 100644
--- a/www-apps/rt/rt-4.2.12-r1.ebuild
+++ b/www-apps/rt/rt-4.2.12-r1.ebuild
@@ -103,7 +103,7 @@ DEPEND="
dev-perl/libwww-perl
dev-perl/Locale-Maketext-Fuzzy
dev-perl/Net-Server
- dev-perl/regexp-common
+ dev-perl/Regexp-Common
dev-perl/Text-Template
dev-perl/Text-Wrapper
virtual/perl-Digest
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/rt/
@ 2016-09-12 12:08 Kent Fredric
0 siblings, 0 replies; 28+ messages in thread
From: Kent Fredric @ 2016-09-12 12:08 UTC (permalink / raw
To: gentoo-commits
commit: 7be113413c2c0e10bd17304f2caf07e6e7538745
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 12 11:36:13 2016 +0000
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Mon Sep 12 12:08:43 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7be11341
www-apps/rt: Fix dependency on dev-perl/DBIx-SearchBuilder
Package-Manager: portage-2.3.0
www-apps/rt/rt-4.2.12-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www-apps/rt/rt-4.2.12-r1.ebuild b/www-apps/rt/rt-4.2.12-r1.ebuild
index c6d504a..6e11608 100644
--- a/www-apps/rt/rt-4.2.12-r1.ebuild
+++ b/www-apps/rt/rt-4.2.12-r1.ebuild
@@ -45,7 +45,7 @@ DEPEND="
>=dev-perl/Text-WikiFormat-0.76
>=dev-perl/Tree-Simple-1.04
>=dev-perl/XML-RSS-1.05
- >=dev-perl/dbix-searchbuilder-1.660.0
+ >=dev-perl/DBIx-SearchBuilder-1.660.0
>=virtual/perl-Digest-MD5-2.27
>=virtual/perl-Encode-2.730.0
>=virtual/perl-File-Spec-0.8
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/rt/
@ 2016-09-20 19:22 Aaron Swenson
0 siblings, 0 replies; 28+ messages in thread
From: Aaron Swenson @ 2016-09-20 19:22 UTC (permalink / raw
To: gentoo-commits
commit: a4efd65aaf5b2c8d0532943dcfd00584f2bfbc9a
Author: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 20 19:20:41 2016 +0000
Commit: Aaron Swenson <titanofold <AT> gentoo <DOT> org>
CommitDate: Tue Sep 20 19:21:59 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4efd65a
www-apps/rt: Version Bump
Version bump.
Package-Manager: portage-2.2.28
www-apps/rt/Manifest | 1 +
www-apps/rt/rt-4.4.1.ebuild | 297 ++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 298 insertions(+)
diff --git a/www-apps/rt/Manifest b/www-apps/rt/Manifest
index 25c8e4e..e90c1da 100644
--- a/www-apps/rt/Manifest
+++ b/www-apps/rt/Manifest
@@ -1 +1,2 @@
DIST rt-4.2.12.tar.gz 7537620 SHA256 e21220c609706dc9977a13309d78a4d9171455ae823cf549311342cedd837264 SHA512 e816c5481bdb158209bd78bc82af4abc0243af500abe55ae3aac666259e983282d82577de6207899745b4781fb0a50d3094901a248e7ac958dd852343b6f2676 WHIRLPOOL 726d6f7c92bdd120ae3c0463181cef3ade9c705ac23dbb93bf1a262ebc4d0d2f07144a67d04a06c3127dead7ad7e6b50f3966e2969bc8c0199507af4af854fec
+DIST rt-4.4.1.tar.gz 9057212 SHA256 f87329911020e01b39948070aec2bd7abf0c81641f0cf2f25e01c690a19f24f5 SHA512 2cb797e013b14201ececec2c408257fe3a998fefdafd0944efda0236caac40be4cc45878cbda7bf9ae82b3757de6167263db2b90331d925db1f916a8420adf94 WHIRLPOOL 2d5530cc57a1a02a2429b59c07459da3cd71b3b9596588f8f6010c67e74a56bde9793c0fd2d8c6d0bf2171930e0352fd723a40fa0d5bd815c1d596ba9802c450
diff --git a/www-apps/rt/rt-4.4.1.ebuild b/www-apps/rt/rt-4.4.1.ebuild
new file mode 100644
index 00000000..84bc30b
--- /dev/null
+++ b/www-apps/rt/rt-4.4.1.ebuild
@@ -0,0 +1,297 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit webapp eutils depend.apache user
+
+DESCRIPTION="RT is an enterprise-grade ticketing system"
+HOMEPAGE="http://www.bestpractical.com/rt/"
+SRC_URI="http://download.bestpractical.com/pub/${PN}/release/${P}.tar.gz"
+
+KEYWORDS="~amd64"
+LICENSE="GPL-2"
+IUSE="mysql +postgres fastcgi lighttpd"
+REQUIRED_USE="^^ ( mysql postgres )"
+
+RESTRICT="test"
+
+DEPEND="
+ >=dev-lang/perl-5.10.1
+
+ >=dev-perl/Apache-Session-1.53
+ >=dev-perl/CGI-4
+ >=dev-perl/CSS-Squish-0.06
+ >=dev-perl/Class-Accessor-0.34
+ >=dev-perl/Class-ReturnValue-0.550.0-r1
+ >=dev-perl/DBI-1.37
+ >=dev-perl/Date-Extract-0.02
+ >=dev-perl/DateTime-Format-Natural-0.67
+ >=dev-perl/Devel-StackTrace-1.19
+ >=dev-perl/HTML-FormatText-WithLinks-0.14
+ >=dev-perl/HTML-Mason-1.43
+ >=dev-perl/HTML-Scrubber-0.08
+ >=dev-perl/HTTP-Server-Simple-0.34
+ >=dev-perl/HTTP-Server-Simple-Mason-0.14
+ >=dev-perl/Locale-Maketext-Lexicon-0.32
+ >=dev-perl/Log-Dispatch-2.410.0
+ >=dev-perl/MIME-tools-5.425
+ >=dev-perl/MailTools-1.60
+ >=dev-perl/Module-Versions-Report-1.05
+ >=dev-perl/Role-Basic-0.12
+ >=dev-perl/Symbol-Global-Name-0.04
+ >=dev-perl/Text-Quoted-2.80.0
+ >=dev-perl/Text-WikiFormat-0.76
+ >=dev-perl/Tree-Simple-1.04
+ >=dev-perl/XML-RSS-1.05
+ >=dev-perl/DBIx-SearchBuilder-1.660.0
+ >=virtual/perl-Digest-MD5-2.27
+ >=virtual/perl-Encode-2.730.0
+ >=virtual/perl-File-Spec-0.8
+ >=virtual/perl-Getopt-Long-2.24
+ >=virtual/perl-Locale-Maketext-1.06
+ >=virtual/perl-Storable-2.08
+ dev-perl/Business-Hours
+ dev-perl/CGI-Emulate-PSGI
+ dev-perl/CGI-PSGI
+ dev-perl/Cache-Simple-TimedExpiry
+ dev-perl/Calendar-Simple
+ dev-perl/Convert-Color
+ dev-perl/Crypt-Eksblowfish
+ dev-perl/Crypt-SSLeay
+ dev-perl/Crypt-X509
+ dev-perl/CSS-Minifier-XS
+ dev-perl/Data-Page-Pageset
+ dev-perl/DBD-SQLite
+ dev-perl/Data-GUID
+ dev-perl/Data-ICal
+ dev-perl/Date-Manip
+ dev-perl/Devel-GlobalDestruction
+ dev-perl/Email-Address
+ dev-perl/Email-Address-List
+ dev-perl/File-ShareDir
+ dev-perl/File-Which
+ dev-perl/GDGraph
+ dev-perl/GDTextUtil
+ dev-perl/GD[png,gif]
+ dev-perl/GnuPG-Interface
+ dev-perl/GraphViz
+ dev-perl/HTML-Format
+ dev-perl/HTML-FormatText-WithLinks-AndTables
+ dev-perl/HTML-Mason-PSGIHandler
+ dev-perl/HTML-Parser
+ dev-perl/HTML-Quoted
+ dev-perl/HTML-RewriteAttributes
+ dev-perl/HTML-Tree
+ dev-perl/IPC-Run3
+ dev-perl/JSON
+ dev-perl/JavaScript-Minifier-XS
+ dev-perl/MIME-Types
+ dev-perl/Module-Refresh
+ dev-perl/Mozilla-CA
+ dev-perl/Net-CIDR
+ dev-perl/PerlIO-eol
+ dev-perl/Plack
+ dev-perl/Regexp-Common-net-CIDR
+ dev-perl/Regexp-IPv6
+ dev-perl/Scope-Upper
+ dev-perl/Starlet
+ dev-perl/String-ShellQuote
+ dev-perl/TermReadKey
+ dev-perl/Text-Autoformat
+ dev-perl/Text-Password-Pronounceable
+ dev-perl/Time-ParseDate
+ dev-perl/TimeDate
+ dev-perl/UNIVERSAL-require
+ dev-perl/libwww-perl
+ dev-perl/Locale-Maketext-Fuzzy
+ dev-perl/Net-IP
+ dev-perl/Net-Server
+ dev-perl/Regexp-Common
+ dev-perl/Text-Template
+ dev-perl/Text-Wrapper
+ virtual/perl-Digest
+ virtual/perl-File-Temp
+ virtual/perl-Scalar-List-Utils
+ virtual/perl-Time-HiRes
+ virtual/perl-libnet
+
+ fastcgi? (
+ dev-perl/FCGI
+ dev-perl/FCGI-ProcManager
+ )
+ !lighttpd? (
+ dev-perl/Apache-DBI
+ !fastcgi? ( >=www-apache/mod_perl-2 )
+ )
+ lighttpd? ( dev-perl/FCGI )
+ mysql? ( >=dev-perl/DBD-mysql-2.1018 )
+ postgres? ( >=dev-perl/DBD-Pg-1.43 )
+"
+
+RDEPEND="${DEPEND}
+ virtual/mta
+ !lighttpd? ( ${APACHE2_DEPEND} )
+ lighttpd? (
+ >=www-servers/lighttpd-1.3.13
+ sys-apps/openrc
+ )
+"
+
+need_httpd_cgi
+
+add_user_rt() {
+ # add new user
+ # suexec2 requires uid >= 1000; enewuser is of no help here
+ # From: Mike Frysinger <vapier@gentoo.org>
+ # Date: Fri, 17 Jun 2005 08:41:44 -0400
+ # i'd pick a 5 digit # if i were you
+
+ local euser="rt"
+
+ # first check if username rt exists
+ if [[ ${euser} == $(egetent passwd "${euser}" | cut -d: -f1) ]] ; then
+ # check uid
+ rt_uid=$(egetent passwd "${euser}" | cut -d: -f3)
+ if $(expr ${rt_uid} '<' 1000 > /dev/null); then
+ ewarn "uid of user rt is less than 1000. suexec2 will not work."
+ ewarn "If you want to use FastCGI, please delete the user 'rt'"
+ ewarn "from your system and re-emerge www-apps/rt"
+ fi
+ return 0 # all is well
+ fi
+
+ # add user
+ # stolen from enewuser
+ local pwrange euid
+
+ pwrange=$(seq 10001 11001)
+ for euid in ${pwrange} ; do
+ [[ -z $(egetent passwd ${euid}) ]] && break
+ done
+ if [[ ${euid} == "11001" ]]; then
+ # she gets around, doesn't she?
+ die "No available uid's found"
+ fi
+
+ elog " - Userid: ${euid}"
+
+ enewuser rt ${euid} -1 /dev/null rt
+ return 0
+}
+
+pkg_setup() {
+ webapp_pkg_setup
+
+ ewarn
+ ewarn "If you are upgrading from an existing RT installation"
+ ewarn "make sure to read the related upgrade documentation in"
+ ewarn "${ROOT}usr/share/doc/${PF}."
+ ewarn
+
+ enewgroup rt
+ add_user_rt || die "Could not add user"
+}
+
+src_prepare() {
+ # add Gentoo-specific layout
+ cat "${FILESDIR}"/config.layout-gentoo >> config.layout
+ sed -e "s|PREFIX|${ED}/${MY_HOSTROOTDIR}/${PF}|g" \
+ -e "s|HTMLDIR|${ED}/${MY_HTDOCSDIR}|g" \
+ -e 's|/\+|/|g' \
+ -i ./config.layout || die 'config sed failed'
+
+ # don't need to check dev dependencies
+ sed -e "s|\$args{'with-DEV'} =1;|#\$args{'with-DEV'} =1;|" \
+ -i sbin/rt-test-dependencies.in || die 'dev sed failed'
+
+ epatch "${FILESDIR}/rt-makefile-serialize-install-prereqs.patch"
+}
+
+src_configure() {
+ local web
+ local myconf
+ local depsconf
+
+ if use mysql ; then
+ myconf="--with-db-type=mysql --with-db-dba=root"
+ depsconf="--with-MYSQL"
+ elif use postgres ; then
+ myconf="--with-db-type=Pg --with-db-dba=postgres"
+ depsconf="--with-PG"
+ else
+ die "Pick a database backend"
+ fi
+
+ if use fastcgi ; then
+ myconf+=" --with-web-handler=fastcgi"
+ web="apache"
+ depsconf+=" --with-FASTCGI"
+ elif use lighttpd ; then
+ myconf+=" --with-web-handler=fastcgi"
+ web="lighttpd"
+ depsconf+=" --with-FASTCGI"
+ else
+ myconf+=" --with-web-handler=modperl2"
+ web="apache"
+ depsconf+=" --with-MODPERL2"
+ fi
+
+ ./configure --enable-layout=Gentoo \
+ --with-bin-owner=rt \
+ --with-libs-owner=rt \
+ --with-libs-group=rt \
+ --with-rt-group=rt \
+ --with-web-user=${web} \
+ --with-web-group=${web} \
+ ${myconf}
+
+ # check for missing deps and ask to report if something is broken
+ /usr/bin/perl ./sbin/rt-test-dependencies ${depsconf} > "${T}"/t
+ if grep -q "MISSING" "${T}"/t; then
+ ewarn "Missing Perl dependency!"
+ ewarn
+ cat "${T}"/t | grep MISSING
+ ewarn
+ ewarn "Please run perl-cleaner. If the problem persists,"
+ ewarn "please file a bug in the Gentoo Bugzilla with the information above"
+ die "Missing dependencies."
+ fi
+}
+
+src_compile() { :; }
+
+src_install() {
+ webapp_src_preinst
+ emake install
+
+ dodoc -r docs/*
+ # Disable compression because `perldoc` doesn't decompress transparently
+ docompress -x /usr/share/doc
+
+ # make sure we don't clobber existing site configuration
+ rm -f "${ED}"/${MY_HOSTROOTDIR}/${PF}/etc/RT_SiteConfig.pm
+
+ # fix paths
+ find "${ED}" -type f -print0 | xargs -0 sed -i -e "s:${ED}::g"
+
+ # copy upgrade files
+ insinto "${MY_HOSTROOTDIR}/${PF}"
+ doins -r etc/upgrade
+
+ if use lighttpd ; then
+ newinitd "${FILESDIR}"/${PN}.init.d.2 ${PN}
+ newconfd "${FILESDIR}"/${PN}.conf.d.2 ${PN}
+ sed -i -e "s/@@PF@@/${PF}/g" "${ED}"/etc/conf.d/${PN} || die
+ fi
+
+ # require the web server's permissions
+ webapp_serverowned "${MY_HOSTROOTDIR}"/${PF}/var
+ webapp_serverowned "${MY_HOSTROOTDIR}"/${PF}/var/mason_data/obj
+
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
+ webapp_hook_script "${FILESDIR}"/reconfig
+
+ webapp_src_install
+}
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/rt/
@ 2017-10-03 22:03 Patrice Clement
0 siblings, 0 replies; 28+ messages in thread
From: Patrice Clement @ 2017-10-03 22:03 UTC (permalink / raw
To: gentoo-commits
commit: 46613dd254cb789aabc84dd7e77427fb1d419fb1
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 26 17:32:25 2017 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Tue Oct 3 22:03:43 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46613dd2
www-apps/rt: fix loading of Date::Manip w/ Factory TZ.
On machines where TZ=Factory, such as ones freshly rolled out from
gentoo install media, `use Date::Manip` fails.
This leads to a failure at configure and install time.
Ideally, end users will need to configure their machines properly.
But their Timezone being right should have no bearing on the ability
to build this package.
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Closes: https://github.com/gentoo/gentoo/pull/5795
www-apps/rt/rt-4.2.12-r1.ebuild | 6 +++++-
www-apps/rt/rt-4.4.1.ebuild | 6 +++++-
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/www-apps/rt/rt-4.2.12-r1.ebuild b/www-apps/rt/rt-4.2.12-r1.ebuild
index 00b268f8c87..011c42d0189 100644
--- a/www-apps/rt/rt-4.2.12-r1.ebuild
+++ b/www-apps/rt/rt-4.2.12-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -231,6 +231,10 @@ src_configure() {
web="apache"
depsconf+=" --with-MODPERL2"
fi
+ # Any loading Date::Manip from here on
+ # may fail if TZ=Factory as it is on gentoo install
+ # media ( affects install as well )
+ export TZ=UTC
./configure --enable-layout=Gentoo \
--with-bin-owner=rt \
diff --git a/www-apps/rt/rt-4.4.1.ebuild b/www-apps/rt/rt-4.4.1.ebuild
index 3fa6e51a7e6..35232292400 100644
--- a/www-apps/rt/rt-4.4.1.ebuild
+++ b/www-apps/rt/rt-4.4.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -236,6 +236,10 @@ src_configure() {
web="apache"
depsconf+=" --with-MODPERL2"
fi
+ # Any loading Date::Manip from here on
+ # may fail if TZ=Factory as it is on gentoo install
+ # media ( affects install as well )
+ export TZ=UTC
./configure --enable-layout=Gentoo \
--with-bin-owner=rt \
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/rt/
@ 2017-10-24 7:11 Kent Fredric
0 siblings, 0 replies; 28+ messages in thread
From: Kent Fredric @ 2017-10-24 7:11 UTC (permalink / raw
To: gentoo-commits
commit: 3537190222522f6a57c84ea985a9fed210ae8194
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 24 06:48:31 2017 +0000
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Tue Oct 24 07:10:56 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35371902
www-apps/rt: Fix dep on dev-perl/HTML-Formatter
- Also fix inconsistent indentation in metadata.xml
Package-Manager: Portage-2.3.8, Repoman-2.3.3
www-apps/rt/metadata.xml | 10 +++++-----
www-apps/rt/{rt-4.2.12-r1.ebuild => rt-4.2.12-r2.ebuild} | 2 +-
www-apps/rt/{rt-4.4.1.ebuild => rt-4.4.1-r1.ebuild} | 2 +-
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/www-apps/rt/metadata.xml b/www-apps/rt/metadata.xml
index f1d1d6173dc..b54f1a28f87 100644
--- a/www-apps/rt/metadata.xml
+++ b/www-apps/rt/metadata.xml
@@ -2,21 +2,21 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
- <email>titanofold@gentoo.org</email>
- <name>Aaron W. Swenson</name>
+ <email>titanofold@gentoo.org</email>
+ <name>Aaron W. Swenson</name>
</maintainer>
- <maintainer type="person">
+ <maintainer type="person">
<email>eric.joshua.martin@gmail.com</email>
<name>Eric Martin</name>
</maintainer>
<maintainer type="project">
<email>web-apps@gentoo.org</email>
<name>Gentoo Webapps</name>
- </maintainer>
+ </maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
- </maintainer>
+ </maintainer>
<use>
<flag name="lighttpd">Add <pkg>www-servers/lighttpd</pkg> support</flag>
</use>
diff --git a/www-apps/rt/rt-4.2.12-r1.ebuild b/www-apps/rt/rt-4.2.12-r2.ebuild
similarity index 99%
rename from www-apps/rt/rt-4.2.12-r1.ebuild
rename to www-apps/rt/rt-4.2.12-r2.ebuild
index 011c42d0189..73babc3acf9 100644
--- a/www-apps/rt/rt-4.2.12-r1.ebuild
+++ b/www-apps/rt/rt-4.2.12-r2.ebuild
@@ -73,7 +73,7 @@ DEPEND="
dev-perl/GD[png,gif]
dev-perl/GnuPG-Interface
dev-perl/GraphViz
- dev-perl/HTML-Format
+ dev-perl/HTML-Formatter
dev-perl/HTML-FormatText-WithLinks-AndTables
dev-perl/HTML-Mason-PSGIHandler
dev-perl/HTML-Parser
diff --git a/www-apps/rt/rt-4.4.1.ebuild b/www-apps/rt/rt-4.4.1-r1.ebuild
similarity index 99%
rename from www-apps/rt/rt-4.4.1.ebuild
rename to www-apps/rt/rt-4.4.1-r1.ebuild
index 35232292400..3914f839374 100644
--- a/www-apps/rt/rt-4.4.1.ebuild
+++ b/www-apps/rt/rt-4.4.1-r1.ebuild
@@ -76,7 +76,7 @@ DEPEND="
dev-perl/GD[png,gif]
dev-perl/GnuPG-Interface
dev-perl/GraphViz
- dev-perl/HTML-Format
+ dev-perl/HTML-Formatter
dev-perl/HTML-FormatText-WithLinks-AndTables
dev-perl/HTML-Mason-PSGIHandler
dev-perl/HTML-Parser
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/rt/
@ 2017-10-29 19:18 Jonas Stein
0 siblings, 0 replies; 28+ messages in thread
From: Jonas Stein @ 2017-10-29 19:18 UTC (permalink / raw
To: gentoo-commits
commit: 80b188893bf7db6feaa1cf808854a7e4611f7df2
Author: Jonas Stein <jstein <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 29 19:18:22 2017 +0000
Commit: Jonas Stein <jstein <AT> gentoo <DOT> org>
CommitDate: Sun Oct 29 19:18:22 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80b18889
www-apps/rt: Removed proxied maintainer
Removed proxied maintainer due to inactivity.
Closes: https://bugs.gentoo.org/632842
Package-Manager: Portage-2.3.13, Repoman-2.3.4
www-apps/rt/metadata.xml | 8 --------
1 file changed, 8 deletions(-)
diff --git a/www-apps/rt/metadata.xml b/www-apps/rt/metadata.xml
index b54f1a28f87..be4066e39d7 100644
--- a/www-apps/rt/metadata.xml
+++ b/www-apps/rt/metadata.xml
@@ -5,18 +5,10 @@
<email>titanofold@gentoo.org</email>
<name>Aaron W. Swenson</name>
</maintainer>
- <maintainer type="person">
- <email>eric.joshua.martin@gmail.com</email>
- <name>Eric Martin</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="lighttpd">Add <pkg>www-servers/lighttpd</pkg> support</flag>
</use>
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/rt/
@ 2018-01-26 17:03 Aaron Swenson
0 siblings, 0 replies; 28+ messages in thread
From: Aaron Swenson @ 2018-01-26 17:03 UTC (permalink / raw
To: gentoo-commits
commit: e6d148f87ec34a6a433d80d3a57fde9c9e78f70d
Author: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 26 16:59:37 2018 +0000
Commit: Aaron Swenson <titanofold <AT> gentoo <DOT> org>
CommitDate: Fri Jan 26 17:00:00 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6d148f8
www-apps/rt: Bump to 4.4.2
Bug: https://bugs.gentoo.org/626196
Package-Manager: Portage-2.3.19, Repoman-2.3.6
www-apps/rt/Manifest | 1 +
www-apps/rt/rt-4.4.2.ebuild | 306 ++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 307 insertions(+)
diff --git a/www-apps/rt/Manifest b/www-apps/rt/Manifest
index e1efb22407f..936a0a859d0 100644
--- a/www-apps/rt/Manifest
+++ b/www-apps/rt/Manifest
@@ -1,2 +1,3 @@
DIST rt-4.2.12.tar.gz 7537620 BLAKE2B 3dc678a99f00fe26bbf483c73211563a121b77f06f6414d1ba67dff2c95b168f299c2a7e665256c8c9e8d0bd3c0eddfca505c1fb3648244a157412428b256132 SHA512 e816c5481bdb158209bd78bc82af4abc0243af500abe55ae3aac666259e983282d82577de6207899745b4781fb0a50d3094901a248e7ac958dd852343b6f2676
DIST rt-4.4.1.tar.gz 9057212 BLAKE2B faaf27bdfe131dc02cc308dcada674885fbe7d2711bab70e0c0dfdb18bdcf2aaf1e10c82b5064626965be04313a2693e9c36a34ed58c28adc55586e5575ae203 SHA512 2cb797e013b14201ececec2c408257fe3a998fefdafd0944efda0236caac40be4cc45878cbda7bf9ae82b3757de6167263db2b90331d925db1f916a8420adf94
+DIST rt-4.4.2.tar.gz 9572361 BLAKE2B 26e14c187a6d1d741706e4ec1d3a0c718238c63faea6de6ace7c48fb54581b039897c3244f70421d915f5986fa60aa2c19df5f1a0504658f4b00fc4e7f72151d SHA512 23e318d10c49d39c1542664efa2b9f98d1dcd613c279dc8ceca0ad9aed89a5d989316e833492ed3281543ec85f6e0f5141a86f70852776bf0d54166aa126431e
diff --git a/www-apps/rt/rt-4.4.2.ebuild b/www-apps/rt/rt-4.4.2.ebuild
new file mode 100644
index 00000000000..3148082aaf3
--- /dev/null
+++ b/www-apps/rt/rt-4.4.2.ebuild
@@ -0,0 +1,306 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit webapp eutils depend.apache user
+
+DESCRIPTION="RT is an enterprise-grade ticketing system"
+HOMEPAGE="http://www.bestpractical.com/rt/"
+SRC_URI="http://download.bestpractical.com/pub/${PN}/release/${P}.tar.gz"
+
+KEYWORDS="~amd64"
+LICENSE="GPL-2"
+IUSE="mysql +postgres fastcgi lighttpd"
+REQUIRED_USE="^^ ( mysql postgres )"
+
+RESTRICT="test"
+
+DEPEND="
+ >=dev-lang/perl-5.10.1
+
+ >=dev-perl/Apache-Session-1.53
+ >=dev-perl/CGI-4
+ >=dev-perl/CSS-Squish-0.06
+ >=dev-perl/Class-Accessor-0.34
+ >=dev-perl/Class-ReturnValue-0.550.0-r1
+ >=dev-perl/DBI-1.37
+ >=dev-perl/Date-Extract-0.02
+ >=dev-perl/DateTime-Format-Natural-0.67
+ >=dev-perl/Devel-StackTrace-1.19
+ >=dev-perl/Email-Address-1.908.0
+ >=dev-perl/HTML-FormatText-WithLinks-0.14
+ >=dev-perl/HTML-Mason-1.43
+ >=dev-perl/HTML-Scrubber-0.08
+ >=dev-perl/HTTP-Server-Simple-0.34
+ >=dev-perl/HTTP-Server-Simple-Mason-0.14
+ >=dev-perl/Locale-Maketext-Lexicon-0.32
+ >=dev-perl/Log-Dispatch-2.410.0
+ >=dev-perl/MIME-tools-5.425
+ >=dev-perl/MailTools-1.60
+ >=dev-perl/Module-Versions-Report-1.05
+ >=dev-perl/Role-Basic-0.12
+ >=dev-perl/Symbol-Global-Name-0.04
+ >=dev-perl/Text-Quoted-2.80.0
+ >=dev-perl/Text-WikiFormat-0.76
+ >=dev-perl/Tree-Simple-1.04
+ >=dev-perl/XML-RSS-1.05
+ >=dev-perl/DBIx-SearchBuilder-1.660.0
+ >=virtual/perl-Digest-MD5-2.27
+ >=virtual/perl-Encode-2.730.0
+ >=virtual/perl-File-Spec-0.8
+ >=virtual/perl-Getopt-Long-2.24
+ >=virtual/perl-Locale-Maketext-1.06
+ >=virtual/perl-Storable-2.08
+ dev-perl/Business-Hours
+ dev-perl/CGI-Emulate-PSGI
+ dev-perl/CGI-PSGI
+ dev-perl/Cache-Simple-TimedExpiry
+ dev-perl/Calendar-Simple
+ dev-perl/Convert-Color
+ dev-perl/Crypt-Eksblowfish
+ dev-perl/Crypt-SSLeay
+ dev-perl/Crypt-X509
+ dev-perl/CSS-Minifier-XS
+ dev-perl/Data-Page-Pageset
+ dev-perl/DBD-SQLite
+ dev-perl/Data-GUID
+ dev-perl/Data-ICal
+ dev-perl/Date-Manip
+ dev-perl/Devel-GlobalDestruction
+ dev-perl/Email-Address-List
+ dev-perl/File-ShareDir
+ dev-perl/File-Which
+ dev-perl/GDGraph
+ dev-perl/GDTextUtil
+ dev-perl/GD[png,gif]
+ dev-perl/GnuPG-Interface
+ dev-perl/GraphViz
+ dev-perl/HTML-Formatter
+ dev-perl/HTML-FormatText-WithLinks-AndTables
+ dev-perl/HTML-Mason-PSGIHandler
+ dev-perl/HTML-Parser
+ dev-perl/HTML-Quoted
+ dev-perl/HTML-RewriteAttributes
+ dev-perl/HTML-Tree
+ dev-perl/IPC-Run3
+ dev-perl/JSON
+ dev-perl/JavaScript-Minifier-XS
+ dev-perl/MIME-Types
+ dev-perl/Module-Refresh
+ dev-perl/Mozilla-CA
+ dev-perl/Net-CIDR
+ dev-perl/PerlIO-eol
+ dev-perl/Plack
+ dev-perl/Regexp-Common-net-CIDR
+ dev-perl/Regexp-IPv6
+ dev-perl/Scope-Upper
+ dev-perl/Starlet
+ dev-perl/String-ShellQuote
+ dev-perl/TermReadKey
+ dev-perl/Text-Autoformat
+ dev-perl/Text-Password-Pronounceable
+ dev-perl/Time-ParseDate
+ dev-perl/TimeDate
+ dev-perl/UNIVERSAL-require
+ dev-perl/libwww-perl
+ dev-perl/Locale-Maketext-Fuzzy
+ dev-perl/Net-IP
+ dev-perl/Net-Server
+ dev-perl/Regexp-Common
+ dev-perl/Text-Template
+ dev-perl/Text-Wrapper
+ virtual/perl-Digest
+ virtual/perl-File-Temp
+ virtual/perl-Scalar-List-Utils
+ virtual/perl-Time-HiRes
+ virtual/perl-libnet
+
+ fastcgi? (
+ dev-perl/FCGI
+ dev-perl/FCGI-ProcManager
+ )
+ !lighttpd? (
+ dev-perl/Apache-DBI
+ !fastcgi? ( >=www-apache/mod_perl-2 )
+ )
+ lighttpd? ( dev-perl/FCGI )
+ mysql? ( >=dev-perl/DBD-mysql-2.1018 )
+ postgres? ( >=dev-perl/DBD-Pg-1.43 )
+"
+
+RDEPEND="${DEPEND}
+ virtual/mta
+ !lighttpd? ( ${APACHE2_DEPEND} )
+ lighttpd? (
+ >=www-servers/lighttpd-1.3.13
+ sys-apps/openrc
+ )
+"
+
+need_httpd_cgi
+
+add_user_rt() {
+ # add new user
+ # suexec2 requires uid >= 1000; enewuser is of no help here
+ # From: Mike Frysinger <vapier@gentoo.org>
+ # Date: Fri, 17 Jun 2005 08:41:44 -0400
+ # i'd pick a 5 digit # if i were you
+
+ local euser="rt"
+
+ # first check if username rt exists
+ if [[ ${euser} == $(egetent passwd "${euser}" | cut -d: -f1) ]] ; then
+ # check uid
+ rt_uid=$(egetent passwd "${euser}" | cut -d: -f3)
+ if $(expr ${rt_uid} '<' 1000 > /dev/null); then
+ ewarn "uid of user rt is less than 1000. suexec2 will not work."
+ ewarn "If you want to use FastCGI, please delete the user 'rt'"
+ ewarn "from your system and re-emerge www-apps/rt"
+ fi
+ return 0 # all is well
+ fi
+
+ # add user
+ # stolen from enewuser
+ local pwrange euid
+
+ pwrange=$(seq 10001 11001)
+ for euid in ${pwrange} ; do
+ [[ -z $(egetent passwd ${euid}) ]] && break
+ done
+ if [[ ${euid} == "11001" ]]; then
+ # she gets around, doesn't she?
+ die "No available uid's found"
+ fi
+
+ elog " - Userid: ${euid}"
+
+ enewuser rt ${euid} -1 /dev/null rt
+ return 0
+}
+
+pkg_setup() {
+ webapp_pkg_setup
+
+ ewarn
+ ewarn "If you are upgrading from an existing RT installation"
+ ewarn "make sure to read the related upgrade documentation in"
+ ewarn "${ROOT}usr/share/doc/${PF}."
+ ewarn
+
+ enewgroup rt
+ add_user_rt || die "Could not add user"
+}
+
+src_prepare() {
+ # add Gentoo-specific layout
+ cat "${FILESDIR}"/config.layout-gentoo >> config.layout
+ sed -e "s|PREFIX|${ED}/${MY_HOSTROOTDIR}/${PF}|g" \
+ -e "s|HTMLDIR|${ED}/${MY_HTDOCSDIR}|g" \
+ -e 's|/\+|/|g' \
+ -i ./config.layout || die 'config sed failed'
+
+ # don't need to check dev dependencies
+ sed -e "s|\$args{'with-DEV'} =1;|#\$args{'with-DEV'} =1;|" \
+ -i sbin/rt-test-dependencies.in || die 'dev sed failed'
+
+ epatch "${FILESDIR}/rt-makefile-serialize-install-prereqs.patch"
+}
+
+src_configure() {
+ local web
+ local myconf
+ local depsconf
+
+ if use mysql ; then
+ myconf="--with-db-type=mysql --with-db-dba=root"
+ depsconf="--with-MYSQL"
+ elif use postgres ; then
+ myconf="--with-db-type=Pg --with-db-dba=postgres"
+ depsconf="--with-PG"
+ else
+ die "Pick a database backend"
+ fi
+
+ if use fastcgi ; then
+ myconf+=" --with-web-handler=fastcgi"
+ web="apache"
+ depsconf+=" --with-FASTCGI"
+ elif use lighttpd ; then
+ myconf+=" --with-web-handler=fastcgi"
+ web="lighttpd"
+ depsconf+=" --with-FASTCGI"
+ else
+ myconf+=" --with-web-handler=modperl2"
+ web="apache"
+ depsconf+=" --with-MODPERL2"
+ fi
+ # Any loading Date::Manip from here on
+ # may fail if TZ=Factory as it is on gentoo install
+ # media ( affects install as well )
+ export TZ=UTC
+
+ ./configure --enable-layout=Gentoo \
+ --with-bin-owner=rt \
+ --with-libs-owner=rt \
+ --with-libs-group=rt \
+ --with-rt-group=rt \
+ --with-web-user=${web} \
+ --with-web-group=${web} \
+ ${myconf}
+
+ # check for missing deps and ask to report if something is broken
+ /usr/bin/perl ./sbin/rt-test-dependencies ${depsconf} > "${T}"/t
+ if grep -q "MISSING" "${T}"/t; then
+ ewarn "Missing Perl dependency!"
+ ewarn
+ cat "${T}"/t | grep MISSING
+ ewarn
+ ewarn "Please run perl-cleaner. If the problem persists,"
+ ewarn "please file a bug in the Gentoo Bugzilla with the information above"
+ die "Missing dependencies."
+ fi
+}
+
+src_compile() { :; }
+
+src_install() {
+ webapp_src_preinst
+ emake install
+
+ dodoc -r docs/*
+ # Disable compression because `perldoc` doesn't decompress transparently
+ docompress -x /usr/share/doc
+
+ # make sure we don't clobber existing site configuration
+ rm -f "${ED}"/${MY_HOSTROOTDIR}/${PF}/etc/RT_SiteConfig.pm
+
+ # fix paths
+ find "${ED}" -type f -print0 | xargs -0 sed -i -e "s:${ED}::g"
+
+ # copy upgrade files
+ insinto "${MY_HOSTROOTDIR}/${PF}"
+ doins -r etc/upgrade
+
+ # require the web server's permissions
+ webapp_serverowned "${MY_HOSTROOTDIR}"/${PF}/var
+ webapp_serverowned "${MY_HOSTROOTDIR}"/${PF}/var/mason_data/obj
+
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
+ webapp_hook_script "${FILESDIR}"/reconfig
+
+ webapp_src_install
+}
+
+pkg_postinst() {
+ webapp_pkg_postinst
+
+ if use lighttpd ; then
+ elog "We no longer install initscripts as Best Practical's recommended"
+ elog "implementation is to let Lighttpd manage the FastCGI instance."
+ elog
+ elog "You may find the following helpful:"
+ elog " perldoc /usr/share/doc/${P}/web_deployment.pod"
+ fi
+}
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/rt/
@ 2019-03-07 16:53 Aaron W. Swenson
0 siblings, 0 replies; 28+ messages in thread
From: Aaron W. Swenson @ 2019-03-07 16:53 UTC (permalink / raw
To: gentoo-commits
commit: 56d7b045e8cf93053eca987e497d00c19e106844
Author: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 7 16:52:56 2019 +0000
Commit: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org>
CommitDate: Thu Mar 7 16:53:00 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56d7b045
www-apps/rt: Bump to 4.4.3
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: Aaron W. Swenson <titanofold <AT> gentoo.org>
www-apps/rt/Manifest | 1 +
www-apps/rt/rt-4.4.3.ebuild | 306 ++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 307 insertions(+)
diff --git a/www-apps/rt/Manifest b/www-apps/rt/Manifest
index 97a559f9e85..154b6649e6a 100644
--- a/www-apps/rt/Manifest
+++ b/www-apps/rt/Manifest
@@ -1 +1,2 @@
DIST rt-4.4.2.tar.gz 9572361 BLAKE2B 26e14c187a6d1d741706e4ec1d3a0c718238c63faea6de6ace7c48fb54581b039897c3244f70421d915f5986fa60aa2c19df5f1a0504658f4b00fc4e7f72151d SHA512 23e318d10c49d39c1542664efa2b9f98d1dcd613c279dc8ceca0ad9aed89a5d989316e833492ed3281543ec85f6e0f5141a86f70852776bf0d54166aa126431e
+DIST rt-4.4.3.tar.gz 9584927 BLAKE2B 9667e37a0f161d41ac1230e8573d05716ac17325d06924acf036d6098116a31e6e271d3a37ef4a415d1ff8dc04e28011b5125eebf2ad00d0b29702dba96730e1 SHA512 0b0b67e4716467aa5361c2756cee4caf661ba7377f0abc84e915cc9a300e7f93c41569d28375c295c2604a1e5fbaca48267920f9d21c2eca76c29bf5b0a45a49
diff --git a/www-apps/rt/rt-4.4.3.ebuild b/www-apps/rt/rt-4.4.3.ebuild
new file mode 100644
index 00000000000..a9e33ea5121
--- /dev/null
+++ b/www-apps/rt/rt-4.4.3.ebuild
@@ -0,0 +1,306 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit webapp eutils depend.apache user
+
+DESCRIPTION="RT is an enterprise-grade ticketing system"
+HOMEPAGE="http://www.bestpractical.com/rt/"
+SRC_URI="http://download.bestpractical.com/pub/${PN}/release/${P}.tar.gz"
+
+KEYWORDS="~amd64"
+LICENSE="GPL-2"
+IUSE="mysql +postgres fastcgi lighttpd"
+REQUIRED_USE="^^ ( mysql postgres )"
+
+RESTRICT="test"
+
+DEPEND="
+ >=dev-lang/perl-5.10.1
+
+ >=dev-perl/Apache-Session-1.53
+ >=dev-perl/CGI-4
+ >=dev-perl/CSS-Squish-0.06
+ >=dev-perl/Class-Accessor-0.34
+ >=dev-perl/Class-ReturnValue-0.550.0-r1
+ >=dev-perl/DBI-1.37
+ >=dev-perl/Date-Extract-0.02
+ >=dev-perl/DateTime-Format-Natural-0.67
+ >=dev-perl/Devel-StackTrace-1.19
+ >=dev-perl/Email-Address-1.908.0
+ >=dev-perl/HTML-FormatText-WithLinks-0.14
+ >=dev-perl/HTML-Mason-1.43
+ >=dev-perl/HTML-Scrubber-0.08
+ >=dev-perl/HTTP-Server-Simple-0.34
+ >=dev-perl/HTTP-Server-Simple-Mason-0.14
+ >=dev-perl/Locale-Maketext-Lexicon-0.32
+ >=dev-perl/Log-Dispatch-2.410.0
+ >=dev-perl/MIME-tools-5.425
+ >=dev-perl/MailTools-1.60
+ >=dev-perl/Module-Versions-Report-1.05
+ >=dev-perl/Role-Basic-0.12
+ >=dev-perl/Symbol-Global-Name-0.04
+ >=dev-perl/Text-Quoted-2.80.0
+ >=dev-perl/Text-WikiFormat-0.76
+ >=dev-perl/Tree-Simple-1.04
+ >=dev-perl/XML-RSS-1.05
+ >=dev-perl/DBIx-SearchBuilder-1.660.0
+ >=virtual/perl-Digest-MD5-2.27
+ >=virtual/perl-Encode-2.730.0
+ >=virtual/perl-File-Spec-0.8
+ >=virtual/perl-Getopt-Long-2.24
+ >=virtual/perl-Locale-Maketext-1.06
+ >=virtual/perl-Storable-2.08
+ dev-perl/Business-Hours
+ dev-perl/CGI-Emulate-PSGI
+ dev-perl/CGI-PSGI
+ dev-perl/Cache-Simple-TimedExpiry
+ dev-perl/Calendar-Simple
+ dev-perl/Convert-Color
+ dev-perl/Crypt-Eksblowfish
+ dev-perl/Crypt-SSLeay
+ dev-perl/Crypt-X509
+ dev-perl/CSS-Minifier-XS
+ dev-perl/Data-Page-Pageset
+ dev-perl/DBD-SQLite
+ dev-perl/Data-GUID
+ dev-perl/Data-ICal
+ dev-perl/Date-Manip
+ dev-perl/Devel-GlobalDestruction
+ dev-perl/Email-Address-List
+ dev-perl/File-ShareDir
+ dev-perl/File-Which
+ dev-perl/GDGraph
+ dev-perl/GDTextUtil
+ dev-perl/GD[png,gif]
+ dev-perl/GnuPG-Interface
+ dev-perl/GraphViz
+ dev-perl/HTML-Formatter
+ dev-perl/HTML-FormatText-WithLinks-AndTables
+ dev-perl/HTML-Mason-PSGIHandler
+ dev-perl/HTML-Parser
+ dev-perl/HTML-Quoted
+ dev-perl/HTML-RewriteAttributes
+ dev-perl/HTML-Tree
+ dev-perl/IPC-Run3
+ dev-perl/JSON
+ dev-perl/JavaScript-Minifier-XS
+ dev-perl/MIME-Types
+ dev-perl/Module-Refresh
+ dev-perl/Mozilla-CA
+ dev-perl/Net-CIDR
+ dev-perl/PerlIO-eol
+ dev-perl/Plack
+ dev-perl/Regexp-Common-net-CIDR
+ dev-perl/Regexp-IPv6
+ dev-perl/Scope-Upper
+ dev-perl/Starlet
+ dev-perl/String-ShellQuote
+ dev-perl/TermReadKey
+ dev-perl/Text-Autoformat
+ dev-perl/Text-Password-Pronounceable
+ dev-perl/Time-ParseDate
+ dev-perl/TimeDate
+ dev-perl/UNIVERSAL-require
+ dev-perl/libwww-perl
+ dev-perl/Locale-Maketext-Fuzzy
+ dev-perl/Net-IP
+ dev-perl/Net-Server
+ dev-perl/Regexp-Common
+ dev-perl/Text-Template
+ dev-perl/Text-Wrapper
+ virtual/perl-Digest
+ virtual/perl-File-Temp
+ virtual/perl-Scalar-List-Utils
+ virtual/perl-Time-HiRes
+ virtual/perl-libnet
+
+ fastcgi? (
+ dev-perl/FCGI
+ dev-perl/FCGI-ProcManager
+ )
+ !lighttpd? (
+ dev-perl/Apache-DBI
+ !fastcgi? ( >=www-apache/mod_perl-2 )
+ )
+ lighttpd? ( dev-perl/FCGI )
+ mysql? ( >=dev-perl/DBD-mysql-2.1018 )
+ postgres? ( >=dev-perl/DBD-Pg-1.43 )
+"
+
+RDEPEND="${DEPEND}
+ virtual/mta
+ !lighttpd? ( ${APACHE2_DEPEND} )
+ lighttpd? (
+ >=www-servers/lighttpd-1.3.13
+ sys-apps/openrc
+ )
+"
+
+need_httpd_cgi
+
+add_user_rt() {
+ # add new user
+ # suexec2 requires uid >= 1000; enewuser is of no help here
+ # From: Mike Frysinger <vapier@gentoo.org>
+ # Date: Fri, 17 Jun 2005 08:41:44 -0400
+ # i'd pick a 5 digit # if i were you
+
+ local euser="rt"
+
+ # first check if username rt exists
+ if [[ ${euser} == $(egetent passwd "${euser}" | cut -d: -f1) ]] ; then
+ # check uid
+ rt_uid=$(egetent passwd "${euser}" | cut -d: -f3)
+ if $(expr ${rt_uid} '<' 1000 > /dev/null); then
+ ewarn "uid of user rt is less than 1000. suexec2 will not work."
+ ewarn "If you want to use FastCGI, please delete the user 'rt'"
+ ewarn "from your system and re-emerge www-apps/rt"
+ fi
+ return 0 # all is well
+ fi
+
+ # add user
+ # stolen from enewuser
+ local pwrange euid
+
+ pwrange=$(seq 10001 11001)
+ for euid in ${pwrange} ; do
+ [[ -z $(egetent passwd ${euid}) ]] && break
+ done
+ if [[ ${euid} == "11001" ]]; then
+ # she gets around, doesn't she?
+ die "No available uid's found"
+ fi
+
+ elog " - Userid: ${euid}"
+
+ enewuser rt ${euid} -1 /dev/null rt
+ return 0
+}
+
+pkg_setup() {
+ webapp_pkg_setup
+
+ ewarn
+ ewarn "If you are upgrading from an existing RT installation"
+ ewarn "make sure to read the related upgrade documentation in"
+ ewarn "${ROOT}usr/share/doc/${PF}."
+ ewarn
+
+ enewgroup rt
+ add_user_rt || die "Could not add user"
+}
+
+src_prepare() {
+ # add Gentoo-specific layout
+ cat "${FILESDIR}"/config.layout-gentoo >> config.layout
+ sed -e "s|PREFIX|${ED}/${MY_HOSTROOTDIR}/${PF}|g" \
+ -e "s|HTMLDIR|${ED}/${MY_HTDOCSDIR}|g" \
+ -e 's|/\+|/|g' \
+ -i ./config.layout || die 'config sed failed'
+
+ # don't need to check dev dependencies
+ sed -e "s|\$args{'with-DEV'} =1;|#\$args{'with-DEV'} =1;|" \
+ -i sbin/rt-test-dependencies.in || die 'dev sed failed'
+
+ epatch "${FILESDIR}/rt-makefile-serialize-install-prereqs.patch"
+}
+
+src_configure() {
+ local web
+ local myconf
+ local depsconf
+
+ if use mysql ; then
+ myconf="--with-db-type=mysql --with-db-dba=root"
+ depsconf="--with-MYSQL"
+ elif use postgres ; then
+ myconf="--with-db-type=Pg --with-db-dba=postgres"
+ depsconf="--with-PG"
+ else
+ die "Pick a database backend"
+ fi
+
+ if use fastcgi ; then
+ myconf+=" --with-web-handler=fastcgi"
+ web="apache"
+ depsconf+=" --with-FASTCGI"
+ elif use lighttpd ; then
+ myconf+=" --with-web-handler=fastcgi"
+ web="lighttpd"
+ depsconf+=" --with-FASTCGI"
+ else
+ myconf+=" --with-web-handler=modperl2"
+ web="apache"
+ depsconf+=" --with-MODPERL2"
+ fi
+ # Any loading Date::Manip from here on
+ # may fail if TZ=Factory as it is on gentoo install
+ # media ( affects install as well )
+ export TZ=UTC
+
+ ./configure --enable-layout=Gentoo \
+ --with-bin-owner=rt \
+ --with-libs-owner=rt \
+ --with-libs-group=rt \
+ --with-rt-group=rt \
+ --with-web-user=${web} \
+ --with-web-group=${web} \
+ ${myconf}
+
+ # check for missing deps and ask to report if something is broken
+ /usr/bin/perl ./sbin/rt-test-dependencies ${depsconf} > "${T}"/t
+ if grep -q "MISSING" "${T}"/t; then
+ ewarn "Missing Perl dependency!"
+ ewarn
+ cat "${T}"/t | grep MISSING
+ ewarn
+ ewarn "Please run perl-cleaner. If the problem persists,"
+ ewarn "please file a bug in the Gentoo Bugzilla with the information above"
+ die "Missing dependencies."
+ fi
+}
+
+src_compile() { :; }
+
+src_install() {
+ webapp_src_preinst
+ emake install
+
+ dodoc -r docs/*
+ # Disable compression because `perldoc` doesn't decompress transparently
+ docompress -x /usr/share/doc
+
+ # make sure we don't clobber existing site configuration
+ rm -f "${ED}"/${MY_HOSTROOTDIR}/${PF}/etc/RT_SiteConfig.pm
+
+ # fix paths
+ find "${ED}" -type f -print0 | xargs -0 sed -i -e "s:${ED}::g"
+
+ # copy upgrade files
+ insinto "${MY_HOSTROOTDIR}/${PF}"
+ doins -r etc/upgrade
+
+ # require the web server's permissions
+ webapp_serverowned "${MY_HOSTROOTDIR}"/${PF}/var
+ webapp_serverowned "${MY_HOSTROOTDIR}"/${PF}/var/mason_data/obj
+
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
+ webapp_hook_script "${FILESDIR}"/reconfig
+
+ webapp_src_install
+}
+
+pkg_postinst() {
+ webapp_pkg_postinst
+
+ if use lighttpd ; then
+ elog "We no longer install initscripts as Best Practical's recommended"
+ elog "implementation is to let Lighttpd manage the FastCGI instance."
+ elog
+ elog "You may find the following helpful:"
+ elog " perldoc /usr/share/doc/${P}/web_deployment.pod"
+ fi
+}
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/rt/
@ 2019-08-02 10:10 Aaron W. Swenson
0 siblings, 0 replies; 28+ messages in thread
From: Aaron W. Swenson @ 2019-08-02 10:10 UTC (permalink / raw
To: gentoo-commits
commit: 004bdc640a10ed4dff0fea9fb833a3c7ae4ee827
Author: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 2 10:08:18 2019 +0000
Commit: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org>
CommitDate: Fri Aug 2 10:10:04 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=004bdc64
www-apps/rt: Bump to 4.4.4
Package-Manager: Portage-2.3.66, Repoman-2.3.11
Signed-off-by: Aaron W. Swenson <titanofold <AT> gentoo.org>
www-apps/rt/Manifest | 1 +
www-apps/rt/rt-4.4.4.ebuild | 308 ++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 309 insertions(+)
diff --git a/www-apps/rt/Manifest b/www-apps/rt/Manifest
index 154b6649e6a..93b2a75fd49 100644
--- a/www-apps/rt/Manifest
+++ b/www-apps/rt/Manifest
@@ -1,2 +1,3 @@
DIST rt-4.4.2.tar.gz 9572361 BLAKE2B 26e14c187a6d1d741706e4ec1d3a0c718238c63faea6de6ace7c48fb54581b039897c3244f70421d915f5986fa60aa2c19df5f1a0504658f4b00fc4e7f72151d SHA512 23e318d10c49d39c1542664efa2b9f98d1dcd613c279dc8ceca0ad9aed89a5d989316e833492ed3281543ec85f6e0f5141a86f70852776bf0d54166aa126431e
DIST rt-4.4.3.tar.gz 9584927 BLAKE2B 9667e37a0f161d41ac1230e8573d05716ac17325d06924acf036d6098116a31e6e271d3a37ef4a415d1ff8dc04e28011b5125eebf2ad00d0b29702dba96730e1 SHA512 0b0b67e4716467aa5361c2756cee4caf661ba7377f0abc84e915cc9a300e7f93c41569d28375c295c2604a1e5fbaca48267920f9d21c2eca76c29bf5b0a45a49
+DIST rt-4.4.4.tar.gz 9977845 BLAKE2B bc27a68c880d305e43069887bd4c2dbf09e82413ee9b7f1e0e19252ad5249430f17bd980c94a4c74386a8c7fefc79af50a0e572adbb0ef707e46a4be63e8d3e4 SHA512 95335cfa9e7107300670a5e8631ffb6f402895dae051201d051ac01885b0cb185f838a666acaec773e0f670e1b9d16b7cede72f37ce9832fd83a9da8514e6972
diff --git a/www-apps/rt/rt-4.4.4.ebuild b/www-apps/rt/rt-4.4.4.ebuild
new file mode 100644
index 00000000000..97b2f5e9c73
--- /dev/null
+++ b/www-apps/rt/rt-4.4.4.ebuild
@@ -0,0 +1,308 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit webapp eutils depend.apache user
+
+DESCRIPTION="RT is an enterprise-grade ticketing system"
+HOMEPAGE="https://www.bestpractical.com/rt/"
+SRC_URI="https://download.bestpractical.com/pub/${PN}/release/${P}.tar.gz"
+
+KEYWORDS="~amd64"
+LICENSE="GPL-2"
+IUSE="mysql +postgres fastcgi lighttpd"
+REQUIRED_USE="^^ ( mysql postgres )"
+
+RESTRICT="test"
+
+DEPEND="
+ >=dev-lang/perl-5.10.1
+
+ >=dev-perl/Apache-Session-1.53
+ >=dev-perl/CGI-4
+ >=dev-perl/CSS-Squish-0.06
+ >=dev-perl/Class-Accessor-0.34
+ >=dev-perl/Class-ReturnValue-0.550.0-r1
+ >=dev-perl/DBI-1.37
+ >=dev-perl/Date-Extract-0.02
+ >=dev-perl/DateTime-Format-Natural-0.67
+ >=dev-perl/Devel-StackTrace-1.19
+ >=dev-perl/Email-Address-1.912.0
+ >=dev-perl/Email-Address-List-0.60.0
+ >=dev-perl/HTML-FormatText-WithLinks-0.14
+ >=dev-perl/HTML-Mason-1.43
+ >=dev-perl/HTML-Scrubber-0.08
+ >=dev-perl/HTTP-Server-Simple-0.34
+ >=dev-perl/HTTP-Server-Simple-Mason-0.14
+ >=dev-perl/Locale-Maketext-Lexicon-0.32
+ >=dev-perl/Log-Dispatch-2.410.0
+ >=dev-perl/MIME-tools-5.425
+ >=dev-perl/MailTools-1.60
+ >=dev-perl/Module-Versions-Report-1.05
+ >=dev-perl/Role-Basic-0.12
+ >=dev-perl/Symbol-Global-Name-0.04
+ >=dev-perl/Text-Quoted-2.80.0
+ >=dev-perl/Text-WikiFormat-0.76
+ >=dev-perl/Tree-Simple-1.04
+ >=dev-perl/XML-RSS-1.05
+ >=dev-perl/DBIx-SearchBuilder-1.660.0
+ >=virtual/perl-Digest-MD5-2.27
+ >=virtual/perl-Encode-2.730.0
+ >=virtual/perl-File-Spec-0.8
+ >=virtual/perl-Getopt-Long-2.24
+ >=virtual/perl-Locale-Maketext-1.06
+ >=virtual/perl-Storable-2.08
+ dev-perl/Business-Hours
+ dev-perl/CGI-Emulate-PSGI
+ dev-perl/CGI-PSGI
+ dev-perl/Cache-Simple-TimedExpiry
+ dev-perl/Calendar-Simple
+ dev-perl/Convert-Color
+ dev-perl/Crypt-Eksblowfish
+ dev-perl/Crypt-SSLeay
+ dev-perl/Crypt-X509
+ dev-perl/CSS-Minifier-XS
+ dev-perl/Data-Page-Pageset
+ dev-perl/DBD-SQLite
+ dev-perl/Data-GUID
+ dev-perl/Data-ICal
+ dev-perl/Date-Manip
+ dev-perl/Devel-GlobalDestruction
+ dev-perl/File-ShareDir
+ dev-perl/File-Which
+ dev-perl/GDGraph
+ dev-perl/GDTextUtil
+ dev-perl/GD[png,gif]
+ dev-perl/GnuPG-Interface
+ dev-perl/GraphViz
+ dev-perl/HTML-Formatter
+ dev-perl/HTML-FormatText-WithLinks-AndTables
+ dev-perl/HTML-Gumbo
+ dev-perl/HTML-Mason-PSGIHandler
+ dev-perl/HTML-Parser
+ dev-perl/HTML-Quoted
+ dev-perl/HTML-RewriteAttributes
+ dev-perl/HTML-Tree
+ dev-perl/IPC-Run3
+ dev-perl/JSON
+ dev-perl/JavaScript-Minifier-XS
+ dev-perl/MIME-Types
+ dev-perl/Module-Refresh
+ dev-perl/Mozilla-CA
+ dev-perl/Net-CIDR
+ dev-perl/PerlIO-eol
+ dev-perl/Plack
+ dev-perl/Regexp-Common-net-CIDR
+ dev-perl/Regexp-IPv6
+ dev-perl/Scope-Upper
+ dev-perl/Starlet
+ dev-perl/String-ShellQuote
+ dev-perl/TermReadKey
+ dev-perl/Text-Autoformat
+ dev-perl/Text-Password-Pronounceable
+ dev-perl/Time-ParseDate
+ dev-perl/TimeDate
+ dev-perl/UNIVERSAL-require
+ dev-perl/libwww-perl
+ dev-perl/Locale-Maketext-Fuzzy
+ dev-perl/Net-IP
+ dev-perl/Net-Server
+ dev-perl/Regexp-Common
+ dev-perl/Text-Template
+ dev-perl/Text-Wrapper
+ virtual/perl-Digest
+ virtual/perl-File-Temp
+ virtual/perl-Scalar-List-Utils
+ virtual/perl-Time-HiRes
+ virtual/perl-libnet
+
+ fastcgi? (
+ dev-perl/FCGI
+ dev-perl/FCGI-ProcManager
+ )
+ !lighttpd? (
+ dev-perl/Apache-DBI
+ !fastcgi? ( >=www-apache/mod_perl-2 )
+ )
+ lighttpd? ( dev-perl/FCGI )
+ mysql? ( >=dev-perl/DBD-mysql-2.1018 )
+ postgres? ( >=dev-perl/DBD-Pg-1.43 )
+"
+
+RDEPEND="${DEPEND}
+ virtual/mta
+ !lighttpd? ( ${APACHE2_DEPEND} )
+ lighttpd? (
+ >=www-servers/lighttpd-1.3.13
+ sys-apps/openrc
+ )
+"
+
+need_httpd_cgi
+
+add_user_rt() {
+ # add new user
+ # suexec2 requires uid >= 1000; enewuser is of no help here
+ # From: Mike Frysinger <vapier@gentoo.org>
+ # Date: Fri, 17 Jun 2005 08:41:44 -0400
+ # i'd pick a 5 digit # if i were you
+
+ local euser="rt"
+
+ # first check if username rt exists
+ if [[ ${euser} == $(egetent passwd "${euser}" | cut -d: -f1) ]] ; then
+ # check uid
+ rt_uid=$(egetent passwd "${euser}" | cut -d: -f3)
+ if $(expr ${rt_uid} '<' 1000 > /dev/null); then
+ ewarn "uid of user rt is less than 1000. suexec2 will not work."
+ ewarn "If you want to use FastCGI, please delete the user 'rt'"
+ ewarn "from your system and re-emerge www-apps/rt"
+ fi
+ return 0 # all is well
+ fi
+
+ # add user
+ # stolen from enewuser
+ local pwrange euid
+
+ pwrange=$(seq 10001 11001)
+ for euid in ${pwrange} ; do
+ [[ -z $(egetent passwd ${euid}) ]] && break
+ done
+ if [[ ${euid} == "11001" ]]; then
+ # she gets around, doesn't she?
+ die "No available uid's found"
+ fi
+
+ elog " - Userid: ${euid}"
+
+ enewuser rt ${euid} -1 /dev/null rt
+ return 0
+}
+
+pkg_setup() {
+ webapp_pkg_setup
+
+ ewarn
+ ewarn "If you are upgrading from an existing RT installation"
+ ewarn "make sure to read the related upgrade documentation in"
+ ewarn "${ROOT}usr/share/doc/${PF}."
+ ewarn
+
+ enewgroup rt
+ add_user_rt || die "Could not add user"
+}
+
+src_prepare() {
+ # add Gentoo-specific layout
+ cat "${FILESDIR}"/config.layout-gentoo >> config.layout
+ sed -e "s|PREFIX|${ED}/${MY_HOSTROOTDIR}/${PF}|g" \
+ -e "s|HTMLDIR|${ED}/${MY_HTDOCSDIR}|g" \
+ -e 's|/\+|/|g' \
+ -i ./config.layout || die 'config sed failed'
+
+ # don't need to check dev dependencies
+ sed -e "s|\$args{'with-DEV'} =1;|#\$args{'with-DEV'} =1;|" \
+ -i sbin/rt-test-dependencies.in || die 'dev sed failed'
+
+ eapply "${FILESDIR}/rt-makefile-serialize-install-prereqs.patch"
+ eapply_user
+}
+
+src_configure() {
+ local web
+ local myconf
+ local depsconf
+
+ if use mysql ; then
+ myconf="--with-db-type=mysql --with-db-dba=root"
+ depsconf="--with-MYSQL"
+ elif use postgres ; then
+ myconf="--with-db-type=Pg --with-db-dba=postgres"
+ depsconf="--with-PG"
+ else
+ die "Pick a database backend"
+ fi
+
+ if use fastcgi ; then
+ myconf+=" --with-web-handler=fastcgi"
+ web="apache"
+ depsconf+=" --with-FASTCGI"
+ elif use lighttpd ; then
+ myconf+=" --with-web-handler=fastcgi"
+ web="lighttpd"
+ depsconf+=" --with-FASTCGI"
+ else
+ myconf+=" --with-web-handler=modperl2"
+ web="apache"
+ depsconf+=" --with-MODPERL2"
+ fi
+ # Any loading Date::Manip from here on
+ # may fail if TZ=Factory as it is on gentoo install
+ # media ( affects install as well )
+ export TZ=UTC
+
+ ./configure --enable-layout=Gentoo \
+ --with-bin-owner=rt \
+ --with-libs-owner=rt \
+ --with-libs-group=rt \
+ --with-rt-group=rt \
+ --with-web-user=${web} \
+ --with-web-group=${web} \
+ ${myconf}
+
+ # check for missing deps and ask to report if something is broken
+ /usr/bin/perl ./sbin/rt-test-dependencies ${depsconf} > "${T}"/t
+ if grep -q "MISSING" "${T}"/t; then
+ ewarn "Missing Perl dependency!"
+ ewarn
+ cat "${T}"/t | grep MISSING
+ ewarn
+ ewarn "Please run perl-cleaner. If the problem persists,"
+ ewarn "please file a bug in the Gentoo Bugzilla with the information above"
+ die "Missing dependencies."
+ fi
+}
+
+src_compile() { :; }
+
+src_install() {
+ webapp_src_preinst
+ emake install
+
+ dodoc -r docs/*
+ # Disable compression because `perldoc` doesn't decompress transparently
+ docompress -x /usr/share/doc
+
+ # make sure we don't clobber existing site configuration
+ rm -f "${ED}"/${MY_HOSTROOTDIR}/${PF}/etc/RT_SiteConfig.pm
+
+ # fix paths
+ find "${ED}" -type f -print0 | xargs -0 sed -i -e "s:${ED}::g"
+
+ # copy upgrade files
+ insinto "${MY_HOSTROOTDIR}/${PF}"
+ doins -r etc/upgrade
+
+ # require the web server's permissions
+ webapp_serverowned "${MY_HOSTROOTDIR}"/${PF}/var
+ webapp_serverowned "${MY_HOSTROOTDIR}"/${PF}/var/mason_data/obj
+
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
+ webapp_hook_script "${FILESDIR}"/reconfig
+
+ webapp_src_install
+}
+
+pkg_postinst() {
+ webapp_pkg_postinst
+
+ if use lighttpd ; then
+ elog "We no longer install initscripts as Best Practical's recommended"
+ elog "implementation is to let Lighttpd manage the FastCGI instance."
+ elog
+ elog "You may find the following helpful:"
+ elog " perldoc /usr/share/doc/${P}/web_deployment.pod"
+ fi
+}
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/rt/
@ 2019-08-02 10:10 Aaron W. Swenson
0 siblings, 0 replies; 28+ messages in thread
From: Aaron W. Swenson @ 2019-08-02 10:10 UTC (permalink / raw
To: gentoo-commits
commit: bbdf2f8fd5fc4e934d874bbabccb18e51647d026
Author: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 2 10:09:33 2019 +0000
Commit: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org>
CommitDate: Fri Aug 2 10:10:05 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbdf2f8f
www-apps/rt: Remove 4.4.2
Package-Manager: Portage-2.3.66, Repoman-2.3.11
Signed-off-by: Aaron W. Swenson <titanofold <AT> gentoo.org>
www-apps/rt/Manifest | 1 -
www-apps/rt/rt-4.4.2.ebuild | 306 --------------------------------------------
2 files changed, 307 deletions(-)
diff --git a/www-apps/rt/Manifest b/www-apps/rt/Manifest
index 93b2a75fd49..6dcb2aeb858 100644
--- a/www-apps/rt/Manifest
+++ b/www-apps/rt/Manifest
@@ -1,3 +1,2 @@
-DIST rt-4.4.2.tar.gz 9572361 BLAKE2B 26e14c187a6d1d741706e4ec1d3a0c718238c63faea6de6ace7c48fb54581b039897c3244f70421d915f5986fa60aa2c19df5f1a0504658f4b00fc4e7f72151d SHA512 23e318d10c49d39c1542664efa2b9f98d1dcd613c279dc8ceca0ad9aed89a5d989316e833492ed3281543ec85f6e0f5141a86f70852776bf0d54166aa126431e
DIST rt-4.4.3.tar.gz 9584927 BLAKE2B 9667e37a0f161d41ac1230e8573d05716ac17325d06924acf036d6098116a31e6e271d3a37ef4a415d1ff8dc04e28011b5125eebf2ad00d0b29702dba96730e1 SHA512 0b0b67e4716467aa5361c2756cee4caf661ba7377f0abc84e915cc9a300e7f93c41569d28375c295c2604a1e5fbaca48267920f9d21c2eca76c29bf5b0a45a49
DIST rt-4.4.4.tar.gz 9977845 BLAKE2B bc27a68c880d305e43069887bd4c2dbf09e82413ee9b7f1e0e19252ad5249430f17bd980c94a4c74386a8c7fefc79af50a0e572adbb0ef707e46a4be63e8d3e4 SHA512 95335cfa9e7107300670a5e8631ffb6f402895dae051201d051ac01885b0cb185f838a666acaec773e0f670e1b9d16b7cede72f37ce9832fd83a9da8514e6972
diff --git a/www-apps/rt/rt-4.4.2.ebuild b/www-apps/rt/rt-4.4.2.ebuild
deleted file mode 100644
index 3148082aaf3..00000000000
--- a/www-apps/rt/rt-4.4.2.ebuild
+++ /dev/null
@@ -1,306 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit webapp eutils depend.apache user
-
-DESCRIPTION="RT is an enterprise-grade ticketing system"
-HOMEPAGE="http://www.bestpractical.com/rt/"
-SRC_URI="http://download.bestpractical.com/pub/${PN}/release/${P}.tar.gz"
-
-KEYWORDS="~amd64"
-LICENSE="GPL-2"
-IUSE="mysql +postgres fastcgi lighttpd"
-REQUIRED_USE="^^ ( mysql postgres )"
-
-RESTRICT="test"
-
-DEPEND="
- >=dev-lang/perl-5.10.1
-
- >=dev-perl/Apache-Session-1.53
- >=dev-perl/CGI-4
- >=dev-perl/CSS-Squish-0.06
- >=dev-perl/Class-Accessor-0.34
- >=dev-perl/Class-ReturnValue-0.550.0-r1
- >=dev-perl/DBI-1.37
- >=dev-perl/Date-Extract-0.02
- >=dev-perl/DateTime-Format-Natural-0.67
- >=dev-perl/Devel-StackTrace-1.19
- >=dev-perl/Email-Address-1.908.0
- >=dev-perl/HTML-FormatText-WithLinks-0.14
- >=dev-perl/HTML-Mason-1.43
- >=dev-perl/HTML-Scrubber-0.08
- >=dev-perl/HTTP-Server-Simple-0.34
- >=dev-perl/HTTP-Server-Simple-Mason-0.14
- >=dev-perl/Locale-Maketext-Lexicon-0.32
- >=dev-perl/Log-Dispatch-2.410.0
- >=dev-perl/MIME-tools-5.425
- >=dev-perl/MailTools-1.60
- >=dev-perl/Module-Versions-Report-1.05
- >=dev-perl/Role-Basic-0.12
- >=dev-perl/Symbol-Global-Name-0.04
- >=dev-perl/Text-Quoted-2.80.0
- >=dev-perl/Text-WikiFormat-0.76
- >=dev-perl/Tree-Simple-1.04
- >=dev-perl/XML-RSS-1.05
- >=dev-perl/DBIx-SearchBuilder-1.660.0
- >=virtual/perl-Digest-MD5-2.27
- >=virtual/perl-Encode-2.730.0
- >=virtual/perl-File-Spec-0.8
- >=virtual/perl-Getopt-Long-2.24
- >=virtual/perl-Locale-Maketext-1.06
- >=virtual/perl-Storable-2.08
- dev-perl/Business-Hours
- dev-perl/CGI-Emulate-PSGI
- dev-perl/CGI-PSGI
- dev-perl/Cache-Simple-TimedExpiry
- dev-perl/Calendar-Simple
- dev-perl/Convert-Color
- dev-perl/Crypt-Eksblowfish
- dev-perl/Crypt-SSLeay
- dev-perl/Crypt-X509
- dev-perl/CSS-Minifier-XS
- dev-perl/Data-Page-Pageset
- dev-perl/DBD-SQLite
- dev-perl/Data-GUID
- dev-perl/Data-ICal
- dev-perl/Date-Manip
- dev-perl/Devel-GlobalDestruction
- dev-perl/Email-Address-List
- dev-perl/File-ShareDir
- dev-perl/File-Which
- dev-perl/GDGraph
- dev-perl/GDTextUtil
- dev-perl/GD[png,gif]
- dev-perl/GnuPG-Interface
- dev-perl/GraphViz
- dev-perl/HTML-Formatter
- dev-perl/HTML-FormatText-WithLinks-AndTables
- dev-perl/HTML-Mason-PSGIHandler
- dev-perl/HTML-Parser
- dev-perl/HTML-Quoted
- dev-perl/HTML-RewriteAttributes
- dev-perl/HTML-Tree
- dev-perl/IPC-Run3
- dev-perl/JSON
- dev-perl/JavaScript-Minifier-XS
- dev-perl/MIME-Types
- dev-perl/Module-Refresh
- dev-perl/Mozilla-CA
- dev-perl/Net-CIDR
- dev-perl/PerlIO-eol
- dev-perl/Plack
- dev-perl/Regexp-Common-net-CIDR
- dev-perl/Regexp-IPv6
- dev-perl/Scope-Upper
- dev-perl/Starlet
- dev-perl/String-ShellQuote
- dev-perl/TermReadKey
- dev-perl/Text-Autoformat
- dev-perl/Text-Password-Pronounceable
- dev-perl/Time-ParseDate
- dev-perl/TimeDate
- dev-perl/UNIVERSAL-require
- dev-perl/libwww-perl
- dev-perl/Locale-Maketext-Fuzzy
- dev-perl/Net-IP
- dev-perl/Net-Server
- dev-perl/Regexp-Common
- dev-perl/Text-Template
- dev-perl/Text-Wrapper
- virtual/perl-Digest
- virtual/perl-File-Temp
- virtual/perl-Scalar-List-Utils
- virtual/perl-Time-HiRes
- virtual/perl-libnet
-
- fastcgi? (
- dev-perl/FCGI
- dev-perl/FCGI-ProcManager
- )
- !lighttpd? (
- dev-perl/Apache-DBI
- !fastcgi? ( >=www-apache/mod_perl-2 )
- )
- lighttpd? ( dev-perl/FCGI )
- mysql? ( >=dev-perl/DBD-mysql-2.1018 )
- postgres? ( >=dev-perl/DBD-Pg-1.43 )
-"
-
-RDEPEND="${DEPEND}
- virtual/mta
- !lighttpd? ( ${APACHE2_DEPEND} )
- lighttpd? (
- >=www-servers/lighttpd-1.3.13
- sys-apps/openrc
- )
-"
-
-need_httpd_cgi
-
-add_user_rt() {
- # add new user
- # suexec2 requires uid >= 1000; enewuser is of no help here
- # From: Mike Frysinger <vapier@gentoo.org>
- # Date: Fri, 17 Jun 2005 08:41:44 -0400
- # i'd pick a 5 digit # if i were you
-
- local euser="rt"
-
- # first check if username rt exists
- if [[ ${euser} == $(egetent passwd "${euser}" | cut -d: -f1) ]] ; then
- # check uid
- rt_uid=$(egetent passwd "${euser}" | cut -d: -f3)
- if $(expr ${rt_uid} '<' 1000 > /dev/null); then
- ewarn "uid of user rt is less than 1000. suexec2 will not work."
- ewarn "If you want to use FastCGI, please delete the user 'rt'"
- ewarn "from your system and re-emerge www-apps/rt"
- fi
- return 0 # all is well
- fi
-
- # add user
- # stolen from enewuser
- local pwrange euid
-
- pwrange=$(seq 10001 11001)
- for euid in ${pwrange} ; do
- [[ -z $(egetent passwd ${euid}) ]] && break
- done
- if [[ ${euid} == "11001" ]]; then
- # she gets around, doesn't she?
- die "No available uid's found"
- fi
-
- elog " - Userid: ${euid}"
-
- enewuser rt ${euid} -1 /dev/null rt
- return 0
-}
-
-pkg_setup() {
- webapp_pkg_setup
-
- ewarn
- ewarn "If you are upgrading from an existing RT installation"
- ewarn "make sure to read the related upgrade documentation in"
- ewarn "${ROOT}usr/share/doc/${PF}."
- ewarn
-
- enewgroup rt
- add_user_rt || die "Could not add user"
-}
-
-src_prepare() {
- # add Gentoo-specific layout
- cat "${FILESDIR}"/config.layout-gentoo >> config.layout
- sed -e "s|PREFIX|${ED}/${MY_HOSTROOTDIR}/${PF}|g" \
- -e "s|HTMLDIR|${ED}/${MY_HTDOCSDIR}|g" \
- -e 's|/\+|/|g' \
- -i ./config.layout || die 'config sed failed'
-
- # don't need to check dev dependencies
- sed -e "s|\$args{'with-DEV'} =1;|#\$args{'with-DEV'} =1;|" \
- -i sbin/rt-test-dependencies.in || die 'dev sed failed'
-
- epatch "${FILESDIR}/rt-makefile-serialize-install-prereqs.patch"
-}
-
-src_configure() {
- local web
- local myconf
- local depsconf
-
- if use mysql ; then
- myconf="--with-db-type=mysql --with-db-dba=root"
- depsconf="--with-MYSQL"
- elif use postgres ; then
- myconf="--with-db-type=Pg --with-db-dba=postgres"
- depsconf="--with-PG"
- else
- die "Pick a database backend"
- fi
-
- if use fastcgi ; then
- myconf+=" --with-web-handler=fastcgi"
- web="apache"
- depsconf+=" --with-FASTCGI"
- elif use lighttpd ; then
- myconf+=" --with-web-handler=fastcgi"
- web="lighttpd"
- depsconf+=" --with-FASTCGI"
- else
- myconf+=" --with-web-handler=modperl2"
- web="apache"
- depsconf+=" --with-MODPERL2"
- fi
- # Any loading Date::Manip from here on
- # may fail if TZ=Factory as it is on gentoo install
- # media ( affects install as well )
- export TZ=UTC
-
- ./configure --enable-layout=Gentoo \
- --with-bin-owner=rt \
- --with-libs-owner=rt \
- --with-libs-group=rt \
- --with-rt-group=rt \
- --with-web-user=${web} \
- --with-web-group=${web} \
- ${myconf}
-
- # check for missing deps and ask to report if something is broken
- /usr/bin/perl ./sbin/rt-test-dependencies ${depsconf} > "${T}"/t
- if grep -q "MISSING" "${T}"/t; then
- ewarn "Missing Perl dependency!"
- ewarn
- cat "${T}"/t | grep MISSING
- ewarn
- ewarn "Please run perl-cleaner. If the problem persists,"
- ewarn "please file a bug in the Gentoo Bugzilla with the information above"
- die "Missing dependencies."
- fi
-}
-
-src_compile() { :; }
-
-src_install() {
- webapp_src_preinst
- emake install
-
- dodoc -r docs/*
- # Disable compression because `perldoc` doesn't decompress transparently
- docompress -x /usr/share/doc
-
- # make sure we don't clobber existing site configuration
- rm -f "${ED}"/${MY_HOSTROOTDIR}/${PF}/etc/RT_SiteConfig.pm
-
- # fix paths
- find "${ED}" -type f -print0 | xargs -0 sed -i -e "s:${ED}::g"
-
- # copy upgrade files
- insinto "${MY_HOSTROOTDIR}/${PF}"
- doins -r etc/upgrade
-
- # require the web server's permissions
- webapp_serverowned "${MY_HOSTROOTDIR}"/${PF}/var
- webapp_serverowned "${MY_HOSTROOTDIR}"/${PF}/var/mason_data/obj
-
- webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
- webapp_hook_script "${FILESDIR}"/reconfig
-
- webapp_src_install
-}
-
-pkg_postinst() {
- webapp_pkg_postinst
-
- if use lighttpd ; then
- elog "We no longer install initscripts as Best Practical's recommended"
- elog "implementation is to let Lighttpd manage the FastCGI instance."
- elog
- elog "You may find the following helpful:"
- elog " perldoc /usr/share/doc/${P}/web_deployment.pod"
- fi
-}
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/rt/
@ 2020-05-11 11:43 Aaron W. Swenson
0 siblings, 0 replies; 28+ messages in thread
From: Aaron W. Swenson @ 2020-05-11 11:43 UTC (permalink / raw
To: gentoo-commits
commit: 516315fcaa896274ae0a95935971ceb222351ab7
Author: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org>
AuthorDate: Mon May 11 11:43:15 2020 +0000
Commit: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org>
CommitDate: Mon May 11 11:43:40 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=516315fc
www-apps/rt: Cleanup old
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Aaron W. Swenson <titanofold <AT> gentoo.org>
www-apps/rt/Manifest | 1 -
www-apps/rt/rt-4.4.3.ebuild | 306 --------------------------------------------
2 files changed, 307 deletions(-)
diff --git a/www-apps/rt/Manifest b/www-apps/rt/Manifest
index 6dcb2aeb858..3f0816423d2 100644
--- a/www-apps/rt/Manifest
+++ b/www-apps/rt/Manifest
@@ -1,2 +1 @@
-DIST rt-4.4.3.tar.gz 9584927 BLAKE2B 9667e37a0f161d41ac1230e8573d05716ac17325d06924acf036d6098116a31e6e271d3a37ef4a415d1ff8dc04e28011b5125eebf2ad00d0b29702dba96730e1 SHA512 0b0b67e4716467aa5361c2756cee4caf661ba7377f0abc84e915cc9a300e7f93c41569d28375c295c2604a1e5fbaca48267920f9d21c2eca76c29bf5b0a45a49
DIST rt-4.4.4.tar.gz 9977845 BLAKE2B bc27a68c880d305e43069887bd4c2dbf09e82413ee9b7f1e0e19252ad5249430f17bd980c94a4c74386a8c7fefc79af50a0e572adbb0ef707e46a4be63e8d3e4 SHA512 95335cfa9e7107300670a5e8631ffb6f402895dae051201d051ac01885b0cb185f838a666acaec773e0f670e1b9d16b7cede72f37ce9832fd83a9da8514e6972
diff --git a/www-apps/rt/rt-4.4.3.ebuild b/www-apps/rt/rt-4.4.3.ebuild
deleted file mode 100644
index a9e33ea5121..00000000000
--- a/www-apps/rt/rt-4.4.3.ebuild
+++ /dev/null
@@ -1,306 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit webapp eutils depend.apache user
-
-DESCRIPTION="RT is an enterprise-grade ticketing system"
-HOMEPAGE="http://www.bestpractical.com/rt/"
-SRC_URI="http://download.bestpractical.com/pub/${PN}/release/${P}.tar.gz"
-
-KEYWORDS="~amd64"
-LICENSE="GPL-2"
-IUSE="mysql +postgres fastcgi lighttpd"
-REQUIRED_USE="^^ ( mysql postgres )"
-
-RESTRICT="test"
-
-DEPEND="
- >=dev-lang/perl-5.10.1
-
- >=dev-perl/Apache-Session-1.53
- >=dev-perl/CGI-4
- >=dev-perl/CSS-Squish-0.06
- >=dev-perl/Class-Accessor-0.34
- >=dev-perl/Class-ReturnValue-0.550.0-r1
- >=dev-perl/DBI-1.37
- >=dev-perl/Date-Extract-0.02
- >=dev-perl/DateTime-Format-Natural-0.67
- >=dev-perl/Devel-StackTrace-1.19
- >=dev-perl/Email-Address-1.908.0
- >=dev-perl/HTML-FormatText-WithLinks-0.14
- >=dev-perl/HTML-Mason-1.43
- >=dev-perl/HTML-Scrubber-0.08
- >=dev-perl/HTTP-Server-Simple-0.34
- >=dev-perl/HTTP-Server-Simple-Mason-0.14
- >=dev-perl/Locale-Maketext-Lexicon-0.32
- >=dev-perl/Log-Dispatch-2.410.0
- >=dev-perl/MIME-tools-5.425
- >=dev-perl/MailTools-1.60
- >=dev-perl/Module-Versions-Report-1.05
- >=dev-perl/Role-Basic-0.12
- >=dev-perl/Symbol-Global-Name-0.04
- >=dev-perl/Text-Quoted-2.80.0
- >=dev-perl/Text-WikiFormat-0.76
- >=dev-perl/Tree-Simple-1.04
- >=dev-perl/XML-RSS-1.05
- >=dev-perl/DBIx-SearchBuilder-1.660.0
- >=virtual/perl-Digest-MD5-2.27
- >=virtual/perl-Encode-2.730.0
- >=virtual/perl-File-Spec-0.8
- >=virtual/perl-Getopt-Long-2.24
- >=virtual/perl-Locale-Maketext-1.06
- >=virtual/perl-Storable-2.08
- dev-perl/Business-Hours
- dev-perl/CGI-Emulate-PSGI
- dev-perl/CGI-PSGI
- dev-perl/Cache-Simple-TimedExpiry
- dev-perl/Calendar-Simple
- dev-perl/Convert-Color
- dev-perl/Crypt-Eksblowfish
- dev-perl/Crypt-SSLeay
- dev-perl/Crypt-X509
- dev-perl/CSS-Minifier-XS
- dev-perl/Data-Page-Pageset
- dev-perl/DBD-SQLite
- dev-perl/Data-GUID
- dev-perl/Data-ICal
- dev-perl/Date-Manip
- dev-perl/Devel-GlobalDestruction
- dev-perl/Email-Address-List
- dev-perl/File-ShareDir
- dev-perl/File-Which
- dev-perl/GDGraph
- dev-perl/GDTextUtil
- dev-perl/GD[png,gif]
- dev-perl/GnuPG-Interface
- dev-perl/GraphViz
- dev-perl/HTML-Formatter
- dev-perl/HTML-FormatText-WithLinks-AndTables
- dev-perl/HTML-Mason-PSGIHandler
- dev-perl/HTML-Parser
- dev-perl/HTML-Quoted
- dev-perl/HTML-RewriteAttributes
- dev-perl/HTML-Tree
- dev-perl/IPC-Run3
- dev-perl/JSON
- dev-perl/JavaScript-Minifier-XS
- dev-perl/MIME-Types
- dev-perl/Module-Refresh
- dev-perl/Mozilla-CA
- dev-perl/Net-CIDR
- dev-perl/PerlIO-eol
- dev-perl/Plack
- dev-perl/Regexp-Common-net-CIDR
- dev-perl/Regexp-IPv6
- dev-perl/Scope-Upper
- dev-perl/Starlet
- dev-perl/String-ShellQuote
- dev-perl/TermReadKey
- dev-perl/Text-Autoformat
- dev-perl/Text-Password-Pronounceable
- dev-perl/Time-ParseDate
- dev-perl/TimeDate
- dev-perl/UNIVERSAL-require
- dev-perl/libwww-perl
- dev-perl/Locale-Maketext-Fuzzy
- dev-perl/Net-IP
- dev-perl/Net-Server
- dev-perl/Regexp-Common
- dev-perl/Text-Template
- dev-perl/Text-Wrapper
- virtual/perl-Digest
- virtual/perl-File-Temp
- virtual/perl-Scalar-List-Utils
- virtual/perl-Time-HiRes
- virtual/perl-libnet
-
- fastcgi? (
- dev-perl/FCGI
- dev-perl/FCGI-ProcManager
- )
- !lighttpd? (
- dev-perl/Apache-DBI
- !fastcgi? ( >=www-apache/mod_perl-2 )
- )
- lighttpd? ( dev-perl/FCGI )
- mysql? ( >=dev-perl/DBD-mysql-2.1018 )
- postgres? ( >=dev-perl/DBD-Pg-1.43 )
-"
-
-RDEPEND="${DEPEND}
- virtual/mta
- !lighttpd? ( ${APACHE2_DEPEND} )
- lighttpd? (
- >=www-servers/lighttpd-1.3.13
- sys-apps/openrc
- )
-"
-
-need_httpd_cgi
-
-add_user_rt() {
- # add new user
- # suexec2 requires uid >= 1000; enewuser is of no help here
- # From: Mike Frysinger <vapier@gentoo.org>
- # Date: Fri, 17 Jun 2005 08:41:44 -0400
- # i'd pick a 5 digit # if i were you
-
- local euser="rt"
-
- # first check if username rt exists
- if [[ ${euser} == $(egetent passwd "${euser}" | cut -d: -f1) ]] ; then
- # check uid
- rt_uid=$(egetent passwd "${euser}" | cut -d: -f3)
- if $(expr ${rt_uid} '<' 1000 > /dev/null); then
- ewarn "uid of user rt is less than 1000. suexec2 will not work."
- ewarn "If you want to use FastCGI, please delete the user 'rt'"
- ewarn "from your system and re-emerge www-apps/rt"
- fi
- return 0 # all is well
- fi
-
- # add user
- # stolen from enewuser
- local pwrange euid
-
- pwrange=$(seq 10001 11001)
- for euid in ${pwrange} ; do
- [[ -z $(egetent passwd ${euid}) ]] && break
- done
- if [[ ${euid} == "11001" ]]; then
- # she gets around, doesn't she?
- die "No available uid's found"
- fi
-
- elog " - Userid: ${euid}"
-
- enewuser rt ${euid} -1 /dev/null rt
- return 0
-}
-
-pkg_setup() {
- webapp_pkg_setup
-
- ewarn
- ewarn "If you are upgrading from an existing RT installation"
- ewarn "make sure to read the related upgrade documentation in"
- ewarn "${ROOT}usr/share/doc/${PF}."
- ewarn
-
- enewgroup rt
- add_user_rt || die "Could not add user"
-}
-
-src_prepare() {
- # add Gentoo-specific layout
- cat "${FILESDIR}"/config.layout-gentoo >> config.layout
- sed -e "s|PREFIX|${ED}/${MY_HOSTROOTDIR}/${PF}|g" \
- -e "s|HTMLDIR|${ED}/${MY_HTDOCSDIR}|g" \
- -e 's|/\+|/|g' \
- -i ./config.layout || die 'config sed failed'
-
- # don't need to check dev dependencies
- sed -e "s|\$args{'with-DEV'} =1;|#\$args{'with-DEV'} =1;|" \
- -i sbin/rt-test-dependencies.in || die 'dev sed failed'
-
- epatch "${FILESDIR}/rt-makefile-serialize-install-prereqs.patch"
-}
-
-src_configure() {
- local web
- local myconf
- local depsconf
-
- if use mysql ; then
- myconf="--with-db-type=mysql --with-db-dba=root"
- depsconf="--with-MYSQL"
- elif use postgres ; then
- myconf="--with-db-type=Pg --with-db-dba=postgres"
- depsconf="--with-PG"
- else
- die "Pick a database backend"
- fi
-
- if use fastcgi ; then
- myconf+=" --with-web-handler=fastcgi"
- web="apache"
- depsconf+=" --with-FASTCGI"
- elif use lighttpd ; then
- myconf+=" --with-web-handler=fastcgi"
- web="lighttpd"
- depsconf+=" --with-FASTCGI"
- else
- myconf+=" --with-web-handler=modperl2"
- web="apache"
- depsconf+=" --with-MODPERL2"
- fi
- # Any loading Date::Manip from here on
- # may fail if TZ=Factory as it is on gentoo install
- # media ( affects install as well )
- export TZ=UTC
-
- ./configure --enable-layout=Gentoo \
- --with-bin-owner=rt \
- --with-libs-owner=rt \
- --with-libs-group=rt \
- --with-rt-group=rt \
- --with-web-user=${web} \
- --with-web-group=${web} \
- ${myconf}
-
- # check for missing deps and ask to report if something is broken
- /usr/bin/perl ./sbin/rt-test-dependencies ${depsconf} > "${T}"/t
- if grep -q "MISSING" "${T}"/t; then
- ewarn "Missing Perl dependency!"
- ewarn
- cat "${T}"/t | grep MISSING
- ewarn
- ewarn "Please run perl-cleaner. If the problem persists,"
- ewarn "please file a bug in the Gentoo Bugzilla with the information above"
- die "Missing dependencies."
- fi
-}
-
-src_compile() { :; }
-
-src_install() {
- webapp_src_preinst
- emake install
-
- dodoc -r docs/*
- # Disable compression because `perldoc` doesn't decompress transparently
- docompress -x /usr/share/doc
-
- # make sure we don't clobber existing site configuration
- rm -f "${ED}"/${MY_HOSTROOTDIR}/${PF}/etc/RT_SiteConfig.pm
-
- # fix paths
- find "${ED}" -type f -print0 | xargs -0 sed -i -e "s:${ED}::g"
-
- # copy upgrade files
- insinto "${MY_HOSTROOTDIR}/${PF}"
- doins -r etc/upgrade
-
- # require the web server's permissions
- webapp_serverowned "${MY_HOSTROOTDIR}"/${PF}/var
- webapp_serverowned "${MY_HOSTROOTDIR}"/${PF}/var/mason_data/obj
-
- webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
- webapp_hook_script "${FILESDIR}"/reconfig
-
- webapp_src_install
-}
-
-pkg_postinst() {
- webapp_pkg_postinst
-
- if use lighttpd ; then
- elog "We no longer install initscripts as Best Practical's recommended"
- elog "implementation is to let Lighttpd manage the FastCGI instance."
- elog
- elog "You may find the following helpful:"
- elog " perldoc /usr/share/doc/${P}/web_deployment.pod"
- fi
-}
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/rt/
@ 2021-04-16 11:23 Sam James
0 siblings, 0 replies; 28+ messages in thread
From: Sam James @ 2021-04-16 11:23 UTC (permalink / raw
To: gentoo-commits
commit: 268a128ea69a7fa2d28dbe3be42542f3c2858afd
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 16 08:15:49 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Apr 16 11:22:49 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=268a128e
www-apps/rt: eutils--
Signed-off-by: Sam James <sam <AT> gentoo.org>
www-apps/rt/rt-4.4.4.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/www-apps/rt/rt-4.4.4.ebuild b/www-apps/rt/rt-4.4.4.ebuild
index 97b2f5e9c73..3cbe269e83c 100644
--- a/www-apps/rt/rt-4.4.4.ebuild
+++ b/www-apps/rt/rt-4.4.4.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-inherit webapp eutils depend.apache user
+inherit webapp depend.apache user
DESCRIPTION="RT is an enterprise-grade ticketing system"
HOMEPAGE="https://www.bestpractical.com/rt/"
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/rt/
@ 2021-06-03 19:13 Andreas K. Hüttel
0 siblings, 0 replies; 28+ messages in thread
From: Andreas K. Hüttel @ 2021-06-03 19:13 UTC (permalink / raw
To: gentoo-commits
commit: bf30f593e0ca1d308e3565a061452ac97a7fed73
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 3 18:59:16 2021 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Thu Jun 3 19:13:00 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf30f593
www-apps/rt: Add use defaults to dev-perl/GD dependency
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
www-apps/rt/{rt-4.4.4.ebuild => rt-4.4.4-r1.ebuild} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www-apps/rt/rt-4.4.4.ebuild b/www-apps/rt/rt-4.4.4-r1.ebuild
similarity index 99%
rename from www-apps/rt/rt-4.4.4.ebuild
rename to www-apps/rt/rt-4.4.4-r1.ebuild
index 3cbe269e83c..8f0b49e9cc7 100644
--- a/www-apps/rt/rt-4.4.4.ebuild
+++ b/www-apps/rt/rt-4.4.4-r1.ebuild
@@ -73,7 +73,7 @@ DEPEND="
dev-perl/File-Which
dev-perl/GDGraph
dev-perl/GDTextUtil
- dev-perl/GD[png,gif]
+ dev-perl/GD[png(+),gif(+)]
dev-perl/GnuPG-Interface
dev-perl/GraphViz
dev-perl/HTML-Formatter
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/rt/
@ 2022-05-13 22:50 Conrad Kostecki
0 siblings, 0 replies; 28+ messages in thread
From: Conrad Kostecki @ 2022-05-13 22:50 UTC (permalink / raw
To: gentoo-commits
commit: 480ea096393f2fe727ba247d555ea85911baadc3
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 2 11:38:16 2022 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Fri May 13 22:49:56 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=480ea096
www-apps/rt: migrate to glep-81
Closes: https://bugs.gentoo.org/781527
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/24865
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
.../rt/{rt-4.4.4-r1.ebuild => rt-4.4.4-r2.ebuild} | 54 +++-------------------
1 file changed, 6 insertions(+), 48 deletions(-)
diff --git a/www-apps/rt/rt-4.4.4-r1.ebuild b/www-apps/rt/rt-4.4.4-r2.ebuild
similarity index 83%
rename from www-apps/rt/rt-4.4.4-r1.ebuild
rename to www-apps/rt/rt-4.4.4-r2.ebuild
index 8f0b49e9cc7a..efcf278b94c6 100644
--- a/www-apps/rt/rt-4.4.4-r1.ebuild
+++ b/www-apps/rt/rt-4.4.4-r2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-inherit webapp depend.apache user
+inherit webapp depend.apache
DESCRIPTION="RT is an enterprise-grade ticketing system"
HOMEPAGE="https://www.bestpractical.com/rt/"
@@ -17,8 +17,9 @@ REQUIRED_USE="^^ ( mysql postgres )"
RESTRICT="test"
DEPEND="
+ acct-group/rt
+ acct-user/rt
>=dev-lang/perl-5.10.1
-
>=dev-perl/Apache-Session-1.53
>=dev-perl/CGI-4
>=dev-perl/CSS-Squish-0.06
@@ -141,46 +142,6 @@ RDEPEND="${DEPEND}
need_httpd_cgi
-add_user_rt() {
- # add new user
- # suexec2 requires uid >= 1000; enewuser is of no help here
- # From: Mike Frysinger <vapier@gentoo.org>
- # Date: Fri, 17 Jun 2005 08:41:44 -0400
- # i'd pick a 5 digit # if i were you
-
- local euser="rt"
-
- # first check if username rt exists
- if [[ ${euser} == $(egetent passwd "${euser}" | cut -d: -f1) ]] ; then
- # check uid
- rt_uid=$(egetent passwd "${euser}" | cut -d: -f3)
- if $(expr ${rt_uid} '<' 1000 > /dev/null); then
- ewarn "uid of user rt is less than 1000. suexec2 will not work."
- ewarn "If you want to use FastCGI, please delete the user 'rt'"
- ewarn "from your system and re-emerge www-apps/rt"
- fi
- return 0 # all is well
- fi
-
- # add user
- # stolen from enewuser
- local pwrange euid
-
- pwrange=$(seq 10001 11001)
- for euid in ${pwrange} ; do
- [[ -z $(egetent passwd ${euid}) ]] && break
- done
- if [[ ${euid} == "11001" ]]; then
- # she gets around, doesn't she?
- die "No available uid's found"
- fi
-
- elog " - Userid: ${euid}"
-
- enewuser rt ${euid} -1 /dev/null rt
- return 0
-}
-
pkg_setup() {
webapp_pkg_setup
@@ -189,16 +150,13 @@ pkg_setup() {
ewarn "make sure to read the related upgrade documentation in"
ewarn "${ROOT}usr/share/doc/${PF}."
ewarn
-
- enewgroup rt
- add_user_rt || die "Could not add user"
}
src_prepare() {
# add Gentoo-specific layout
cat "${FILESDIR}"/config.layout-gentoo >> config.layout
- sed -e "s|PREFIX|${ED}/${MY_HOSTROOTDIR}/${PF}|g" \
- -e "s|HTMLDIR|${ED}/${MY_HTDOCSDIR}|g" \
+ sed -e "s|PREFIX|${EPREFIX}/${MY_HOSTROOTDIR}/${PF}|g" \
+ -e "s|HTMLDIR|${EPREFIX}/${MY_HTDOCSDIR}|g" \
-e 's|/\+|/|g' \
-i ./config.layout || die 'config sed failed'
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/rt/
@ 2022-10-29 10:23 Jakov Smolić
0 siblings, 0 replies; 28+ messages in thread
From: Jakov Smolić @ 2022-10-29 10:23 UTC (permalink / raw
To: gentoo-commits
commit: f0bee84c6932d08cd99dc4f28a2bd051bd247f38
Author: Yu Gu <guyu2876 <AT> gmail <DOT> com>
AuthorDate: Tue Oct 18 05:05:45 2022 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Sat Oct 29 10:23:37 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0bee84c
www-apps/rt: fix emake failed
Bug: https://bugs.gentoo.org/860747
Signed-off-by: Yu Gu <guyu2876 <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/27827
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
www-apps/rt/{rt-4.4.4-r2.ebuild => rt-4.4.4-r3.ebuild} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www-apps/rt/rt-4.4.4-r2.ebuild b/www-apps/rt/rt-4.4.4-r3.ebuild
similarity index 99%
rename from www-apps/rt/rt-4.4.4-r2.ebuild
rename to www-apps/rt/rt-4.4.4-r3.ebuild
index efcf278b94c6..f346018e2508 100644
--- a/www-apps/rt/rt-4.4.4-r2.ebuild
+++ b/www-apps/rt/rt-4.4.4-r3.ebuild
@@ -227,7 +227,7 @@ src_compile() { :; }
src_install() {
webapp_src_preinst
- emake install
+ emake DESTDIR="${D}" install
dodoc -r docs/*
# Disable compression because `perldoc` doesn't decompress transparently
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/rt/
@ 2022-11-23 14:08 Jakov Smolić
0 siblings, 0 replies; 28+ messages in thread
From: Jakov Smolić @ 2022-11-23 14:08 UTC (permalink / raw
To: gentoo-commits
commit: a8d5803e3e8a4685f4184a331dd7fee80fea7a09
Author: Yu Gu <guyu2876 <AT> gmail <DOT> com>
AuthorDate: Sat Oct 29 11:07:25 2022 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Wed Nov 23 14:02:47 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8d5803e
www-apps/rt: Keyword 4.4.4-r3 riscv, #878483
Signed-off-by: Yu Gu <guyu2876 <AT> gmail.com>
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
www-apps/rt/rt-4.4.4-r3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www-apps/rt/rt-4.4.4-r3.ebuild b/www-apps/rt/rt-4.4.4-r3.ebuild
index f346018e2508..4466e39d6e62 100644
--- a/www-apps/rt/rt-4.4.4-r3.ebuild
+++ b/www-apps/rt/rt-4.4.4-r3.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="RT is an enterprise-grade ticketing system"
HOMEPAGE="https://www.bestpractical.com/rt/"
SRC_URI="https://download.bestpractical.com/pub/${PN}/release/${P}.tar.gz"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~riscv"
LICENSE="GPL-2"
IUSE="mysql +postgres fastcgi lighttpd"
REQUIRED_USE="^^ ( mysql postgres )"
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/rt/
@ 2024-07-21 0:31 Sam James
0 siblings, 0 replies; 28+ messages in thread
From: Sam James @ 2024-07-21 0:31 UTC (permalink / raw
To: gentoo-commits
commit: 7cb5e0ce6010744b8be77863668cc92469d68337
Author: Anna (navi) Figueiredo Gomes <navi <AT> vlhl <DOT> dev>
AuthorDate: Sun Jul 21 00:00:53 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jul 21 00:29:47 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cb5e0ce
www-apps/rt: add sys-apps/openrc-navi dependency
Signed-off-by: Anna (navi) Figueiredo Gomes <navi <AT> vlhl.dev>
Signed-off-by: Sam James <sam <AT> gentoo.org>
www-apps/rt/{rt-4.4.4-r3.ebuild => rt-4.4.4-r4.ebuild} | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/www-apps/rt/rt-4.4.4-r3.ebuild b/www-apps/rt/rt-4.4.4-r4.ebuild
similarity index 98%
rename from www-apps/rt/rt-4.4.4-r3.ebuild
rename to www-apps/rt/rt-4.4.4-r4.ebuild
index 4466e39d6e62..3fe14b2b7d6d 100644
--- a/www-apps/rt/rt-4.4.4-r3.ebuild
+++ b/www-apps/rt/rt-4.4.4-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -136,7 +136,10 @@ RDEPEND="${DEPEND}
!lighttpd? ( ${APACHE2_DEPEND} )
lighttpd? (
>=www-servers/lighttpd-1.3.13
- sys-apps/openrc
+ || (
+ sys-apps/openrc
+ sys-apps/openrc-navi
+ )
)
"
^ permalink raw reply related [flat|nested] 28+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-apps/rt/
@ 2024-10-01 16:23 Arthur Zamarin
0 siblings, 0 replies; 28+ messages in thread
From: Arthur Zamarin @ 2024-10-01 16:23 UTC (permalink / raw
To: gentoo-commits
commit: a0dca949f92c9b5df79c93fc00bbeaeb75926746
Author: timorl <timorl <AT> disroot <DOT> org>
AuthorDate: Tue Aug 27 14:50:14 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Tue Oct 1 16:22:42 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0dca949
www-apps/rt: drop 4.4.4-r4
Signed-off-by: timorl <timorl <AT> disroot.org>
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
www-apps/rt/Manifest | 1 -
www-apps/rt/rt-4.4.4-r4.ebuild | 269 -----------------------------------------
2 files changed, 270 deletions(-)
diff --git a/www-apps/rt/Manifest b/www-apps/rt/Manifest
index b259c6fa2ccf..afb7dc4cacb4 100644
--- a/www-apps/rt/Manifest
+++ b/www-apps/rt/Manifest
@@ -1,2 +1 @@
-DIST rt-4.4.4.tar.gz 9977845 BLAKE2B bc27a68c880d305e43069887bd4c2dbf09e82413ee9b7f1e0e19252ad5249430f17bd980c94a4c74386a8c7fefc79af50a0e572adbb0ef707e46a4be63e8d3e4 SHA512 95335cfa9e7107300670a5e8631ffb6f402895dae051201d051ac01885b0cb185f838a666acaec773e0f670e1b9d16b7cede72f37ce9832fd83a9da8514e6972
DIST rt-5.0.6.tar.gz 19771599 BLAKE2B c4bfe5fc869f502ff27436fd53c1279144c6461102bd24d42aff1b7e7523dc3149dd5ab8fbdd5882d88a89960b32fd6a89df776b9fc0434969e98c346785f3b3 SHA512 7743967b55ad9eb606d09fc84d6ec2067431bc438515f5ec83b87222b2591e46002782f96c2fb488b5269875eb86dc0f96923dfb677239ed561494ec60db18c8
diff --git a/www-apps/rt/rt-4.4.4-r4.ebuild b/www-apps/rt/rt-4.4.4-r4.ebuild
deleted file mode 100644
index 3fe14b2b7d6d..000000000000
--- a/www-apps/rt/rt-4.4.4-r4.ebuild
+++ /dev/null
@@ -1,269 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit webapp depend.apache
-
-DESCRIPTION="RT is an enterprise-grade ticketing system"
-HOMEPAGE="https://www.bestpractical.com/rt/"
-SRC_URI="https://download.bestpractical.com/pub/${PN}/release/${P}.tar.gz"
-
-KEYWORDS="~amd64 ~riscv"
-LICENSE="GPL-2"
-IUSE="mysql +postgres fastcgi lighttpd"
-REQUIRED_USE="^^ ( mysql postgres )"
-
-RESTRICT="test"
-
-DEPEND="
- acct-group/rt
- acct-user/rt
- >=dev-lang/perl-5.10.1
- >=dev-perl/Apache-Session-1.53
- >=dev-perl/CGI-4
- >=dev-perl/CSS-Squish-0.06
- >=dev-perl/Class-Accessor-0.34
- >=dev-perl/Class-ReturnValue-0.550.0-r1
- >=dev-perl/DBI-1.37
- >=dev-perl/Date-Extract-0.02
- >=dev-perl/DateTime-Format-Natural-0.67
- >=dev-perl/Devel-StackTrace-1.19
- >=dev-perl/Email-Address-1.912.0
- >=dev-perl/Email-Address-List-0.60.0
- >=dev-perl/HTML-FormatText-WithLinks-0.14
- >=dev-perl/HTML-Mason-1.43
- >=dev-perl/HTML-Scrubber-0.08
- >=dev-perl/HTTP-Server-Simple-0.34
- >=dev-perl/HTTP-Server-Simple-Mason-0.14
- >=dev-perl/Locale-Maketext-Lexicon-0.32
- >=dev-perl/Log-Dispatch-2.410.0
- >=dev-perl/MIME-tools-5.425
- >=dev-perl/MailTools-1.60
- >=dev-perl/Module-Versions-Report-1.05
- >=dev-perl/Role-Basic-0.12
- >=dev-perl/Symbol-Global-Name-0.04
- >=dev-perl/Text-Quoted-2.80.0
- >=dev-perl/Text-WikiFormat-0.76
- >=dev-perl/Tree-Simple-1.04
- >=dev-perl/XML-RSS-1.05
- >=dev-perl/DBIx-SearchBuilder-1.660.0
- >=virtual/perl-Digest-MD5-2.27
- >=virtual/perl-Encode-2.730.0
- >=virtual/perl-File-Spec-0.8
- >=virtual/perl-Getopt-Long-2.24
- >=virtual/perl-Locale-Maketext-1.06
- >=virtual/perl-Storable-2.08
- dev-perl/Business-Hours
- dev-perl/CGI-Emulate-PSGI
- dev-perl/CGI-PSGI
- dev-perl/Cache-Simple-TimedExpiry
- dev-perl/Calendar-Simple
- dev-perl/Convert-Color
- dev-perl/Crypt-Eksblowfish
- dev-perl/Crypt-SSLeay
- dev-perl/Crypt-X509
- dev-perl/CSS-Minifier-XS
- dev-perl/Data-Page-Pageset
- dev-perl/DBD-SQLite
- dev-perl/Data-GUID
- dev-perl/Data-ICal
- dev-perl/Date-Manip
- dev-perl/Devel-GlobalDestruction
- dev-perl/File-ShareDir
- dev-perl/File-Which
- dev-perl/GDGraph
- dev-perl/GDTextUtil
- dev-perl/GD[png(+),gif(+)]
- dev-perl/GnuPG-Interface
- dev-perl/GraphViz
- dev-perl/HTML-Formatter
- dev-perl/HTML-FormatText-WithLinks-AndTables
- dev-perl/HTML-Gumbo
- dev-perl/HTML-Mason-PSGIHandler
- dev-perl/HTML-Parser
- dev-perl/HTML-Quoted
- dev-perl/HTML-RewriteAttributes
- dev-perl/HTML-Tree
- dev-perl/IPC-Run3
- dev-perl/JSON
- dev-perl/JavaScript-Minifier-XS
- dev-perl/MIME-Types
- dev-perl/Module-Refresh
- dev-perl/Mozilla-CA
- dev-perl/Net-CIDR
- dev-perl/PerlIO-eol
- dev-perl/Plack
- dev-perl/Regexp-Common-net-CIDR
- dev-perl/Regexp-IPv6
- dev-perl/Scope-Upper
- dev-perl/Starlet
- dev-perl/String-ShellQuote
- dev-perl/TermReadKey
- dev-perl/Text-Autoformat
- dev-perl/Text-Password-Pronounceable
- dev-perl/Time-ParseDate
- dev-perl/TimeDate
- dev-perl/UNIVERSAL-require
- dev-perl/libwww-perl
- dev-perl/Locale-Maketext-Fuzzy
- dev-perl/Net-IP
- dev-perl/Net-Server
- dev-perl/Regexp-Common
- dev-perl/Text-Template
- dev-perl/Text-Wrapper
- virtual/perl-Digest
- virtual/perl-File-Temp
- virtual/perl-Scalar-List-Utils
- virtual/perl-Time-HiRes
- virtual/perl-libnet
-
- fastcgi? (
- dev-perl/FCGI
- dev-perl/FCGI-ProcManager
- )
- !lighttpd? (
- dev-perl/Apache-DBI
- !fastcgi? ( >=www-apache/mod_perl-2 )
- )
- lighttpd? ( dev-perl/FCGI )
- mysql? ( >=dev-perl/DBD-mysql-2.1018 )
- postgres? ( >=dev-perl/DBD-Pg-1.43 )
-"
-
-RDEPEND="${DEPEND}
- virtual/mta
- !lighttpd? ( ${APACHE2_DEPEND} )
- lighttpd? (
- >=www-servers/lighttpd-1.3.13
- || (
- sys-apps/openrc
- sys-apps/openrc-navi
- )
- )
-"
-
-need_httpd_cgi
-
-pkg_setup() {
- webapp_pkg_setup
-
- ewarn
- ewarn "If you are upgrading from an existing RT installation"
- ewarn "make sure to read the related upgrade documentation in"
- ewarn "${ROOT}usr/share/doc/${PF}."
- ewarn
-}
-
-src_prepare() {
- # add Gentoo-specific layout
- cat "${FILESDIR}"/config.layout-gentoo >> config.layout
- sed -e "s|PREFIX|${EPREFIX}/${MY_HOSTROOTDIR}/${PF}|g" \
- -e "s|HTMLDIR|${EPREFIX}/${MY_HTDOCSDIR}|g" \
- -e 's|/\+|/|g' \
- -i ./config.layout || die 'config sed failed'
-
- # don't need to check dev dependencies
- sed -e "s|\$args{'with-DEV'} =1;|#\$args{'with-DEV'} =1;|" \
- -i sbin/rt-test-dependencies.in || die 'dev sed failed'
-
- eapply "${FILESDIR}/rt-makefile-serialize-install-prereqs.patch"
- eapply_user
-}
-
-src_configure() {
- local web
- local myconf
- local depsconf
-
- if use mysql ; then
- myconf="--with-db-type=mysql --with-db-dba=root"
- depsconf="--with-MYSQL"
- elif use postgres ; then
- myconf="--with-db-type=Pg --with-db-dba=postgres"
- depsconf="--with-PG"
- else
- die "Pick a database backend"
- fi
-
- if use fastcgi ; then
- myconf+=" --with-web-handler=fastcgi"
- web="apache"
- depsconf+=" --with-FASTCGI"
- elif use lighttpd ; then
- myconf+=" --with-web-handler=fastcgi"
- web="lighttpd"
- depsconf+=" --with-FASTCGI"
- else
- myconf+=" --with-web-handler=modperl2"
- web="apache"
- depsconf+=" --with-MODPERL2"
- fi
- # Any loading Date::Manip from here on
- # may fail if TZ=Factory as it is on gentoo install
- # media ( affects install as well )
- export TZ=UTC
-
- ./configure --enable-layout=Gentoo \
- --with-bin-owner=rt \
- --with-libs-owner=rt \
- --with-libs-group=rt \
- --with-rt-group=rt \
- --with-web-user=${web} \
- --with-web-group=${web} \
- ${myconf}
-
- # check for missing deps and ask to report if something is broken
- /usr/bin/perl ./sbin/rt-test-dependencies ${depsconf} > "${T}"/t
- if grep -q "MISSING" "${T}"/t; then
- ewarn "Missing Perl dependency!"
- ewarn
- cat "${T}"/t | grep MISSING
- ewarn
- ewarn "Please run perl-cleaner. If the problem persists,"
- ewarn "please file a bug in the Gentoo Bugzilla with the information above"
- die "Missing dependencies."
- fi
-}
-
-src_compile() { :; }
-
-src_install() {
- webapp_src_preinst
- emake DESTDIR="${D}" install
-
- dodoc -r docs/*
- # Disable compression because `perldoc` doesn't decompress transparently
- docompress -x /usr/share/doc
-
- # make sure we don't clobber existing site configuration
- rm -f "${ED}"/${MY_HOSTROOTDIR}/${PF}/etc/RT_SiteConfig.pm
-
- # fix paths
- find "${ED}" -type f -print0 | xargs -0 sed -i -e "s:${ED}::g"
-
- # copy upgrade files
- insinto "${MY_HOSTROOTDIR}/${PF}"
- doins -r etc/upgrade
-
- # require the web server's permissions
- webapp_serverowned "${MY_HOSTROOTDIR}"/${PF}/var
- webapp_serverowned "${MY_HOSTROOTDIR}"/${PF}/var/mason_data/obj
-
- webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
- webapp_hook_script "${FILESDIR}"/reconfig
-
- webapp_src_install
-}
-
-pkg_postinst() {
- webapp_pkg_postinst
-
- if use lighttpd ; then
- elog "We no longer install initscripts as Best Practical's recommended"
- elog "implementation is to let Lighttpd manage the FastCGI instance."
- elog
- elog "You may find the following helpful:"
- elog " perldoc /usr/share/doc/${P}/web_deployment.pod"
- fi
-}
^ permalink raw reply related [flat|nested] 28+ messages in thread
end of thread, other threads:[~2024-10-01 16:23 UTC | newest]
Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-09 20:48 [gentoo-commits] repo/gentoo:master commit in: www-apps/rt/ Andreas Hüttel
-- strict thread matches above, loose matches on Subject: below --
2024-10-01 16:23 Arthur Zamarin
2024-07-21 0:31 Sam James
2022-11-23 14:08 Jakov Smolić
2022-10-29 10:23 Jakov Smolić
2022-05-13 22:50 Conrad Kostecki
2021-06-03 19:13 Andreas K. Hüttel
2021-04-16 11:23 Sam James
2020-05-11 11:43 Aaron W. Swenson
2019-08-02 10:10 Aaron W. Swenson
2019-08-02 10:10 Aaron W. Swenson
2019-03-07 16:53 Aaron W. Swenson
2018-01-26 17:03 Aaron Swenson
2017-10-29 19:18 Jonas Stein
2017-10-24 7:11 Kent Fredric
2017-10-03 22:03 Patrice Clement
2016-09-20 19:22 Aaron Swenson
2016-09-12 12:08 Kent Fredric
2016-08-02 11:54 Kent Fredric
2016-04-26 20:03 Andreas Hüttel
2016-04-26 20:03 Andreas Hüttel
2016-04-23 17:31 Andreas Hüttel
2016-03-10 23:10 Andreas Hüttel
2016-02-29 15:36 Patrice Clement
2016-02-29 15:36 Patrice Clement
2015-11-18 18:02 Aaron Swenson
2015-11-18 18:01 Aaron Swenson
2015-09-11 22:29 Andreas Hüttel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox