diff options
author | Tim Harder <radhermit@gentoo.org> | 2012-03-20 03:17:00 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2012-03-20 03:17:00 +0000 |
commit | 2d57948bd9e798a80cd75a0950fd6ca152b56ff2 (patch) | |
tree | 6854c2e8d699f6441b797dd620cff97a2d1e0e4e /www-apps/rt | |
parent | Fixing udev mask to include udev-init-scripts too (diff) | |
download | historical-2d57948bd9e798a80cd75a0950fd6ca152b56ff2.tar.gz historical-2d57948bd9e798a80cd75a0950fd6ca152b56ff2.tar.bz2 historical-2d57948bd9e798a80cd75a0950fd6ca152b56ff2.zip |
Remove old.
Package-Manager: portage-2.2.0_alpha92/cvs/Linux x86_64
Diffstat (limited to 'www-apps/rt')
-rw-r--r-- | www-apps/rt/ChangeLog | 6 | ||||
-rw-r--r-- | www-apps/rt/Manifest | 23 | ||||
-rw-r--r-- | www-apps/rt/files/rt.conf.d | 14 | ||||
-rw-r--r-- | www-apps/rt/files/rt.init.d | 39 | ||||
-rw-r--r-- | www-apps/rt/rt-3.6.7.ebuild | 230 | ||||
-rw-r--r-- | www-apps/rt/rt-3.8.10-r1.ebuild | 238 | ||||
-rw-r--r-- | www-apps/rt/rt-3.8.10.ebuild | 235 |
7 files changed, 13 insertions, 772 deletions
diff --git a/www-apps/rt/ChangeLog b/www-apps/rt/ChangeLog index 0bee23a370fd..0191bceefdfc 100644 --- a/www-apps/rt/ChangeLog +++ b/www-apps/rt/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for www-apps/rt # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/rt/ChangeLog,v 1.74 2012/03/02 21:13:11 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/rt/ChangeLog,v 1.75 2012/03/20 03:17:00 radhermit Exp $ + + 20 Mar 2012; Tim Harder <radhermit@gentoo.org> -rt-3.6.7.ebuild, + -rt-3.8.10.ebuild, -rt-3.8.10-r1.ebuild, -files/rt.conf.d, -files/rt.init.d: + Remove old. 02 Mar 2012; Tim Harder <radhermit@gentoo.org> files/config.layout-gentoo: Add missing directory to install layout (bug #406635 by Akos Szalkai). diff --git a/www-apps/rt/Manifest b/www-apps/rt/Manifest index 1c0466dcc9d9..736f76e7fe2e 100644 --- a/www-apps/rt/Manifest +++ b/www-apps/rt/Manifest @@ -4,31 +4,24 @@ Hash: SHA512 AUX config.layout-gentoo 670 RMD160 c02d1fcfb97bdb0306fc6d9372584ea050b7254c SHA1 0bca1916d64f73cb9025651a3e0c68d5ae5bf31e SHA256 412cbca2c5bc8e3b44f5dddd5c54a48547e99d1a40cf542feeec4d7b53a2b9fb AUX postinstall-en.txt 703 RMD160 5bddbc2097afd96da1ff2993befdb1c8b27769ef SHA1 c212a6095f9191885ea335de1981a6a89437dd7f SHA256 497e75437529d61f69b628b0f7ab4ffa51dd0be9292220e657c4148345ab5a35 AUX reconfig 1867 RMD160 0ac8d9dca3ce42e8bec0878362c0104213824c18 SHA1 c94f867b816bb08d1634f93f869f11666f758b45 SHA256 109c8db26ae98a84c27ddb896b613bc248a4a216a9f6e463fc52f8c380c38ff1 -AUX rt.conf.d 399 RMD160 3ff349449e9722497becf7f32cf8bb9667b98d33 SHA1 73f85eb60abb165f413aa2deda67f9ad4464ebc6 SHA256 26f04b0e22c1291cc806b115b66f8c17824c765607a3fd4797aecf184cbdff1e AUX rt.conf.d.2 336 RMD160 02c409fed671bc5925eb61e332f9a77f293127d2 SHA1 ec36a0697105e97a4e126c3a3e608ac4d5083465 SHA256 f41dd245b73b65de21c04307994048c6517523deb36dd753891cce510ee3ea53 -AUX rt.init.d 1013 RMD160 c6853447d8653cfbcf26316c0a432e3474298467 SHA1 bf7408b6c3a30a7a80ece3e51bf1b0446f68e5df SHA256 45f75de68ee588538d093eb6d57d8368004e075fecafff2f82bb0f2978da79d7 AUX rt.init.d.2 1424 RMD160 0cee664f0d18e50d97c0e6fb0e62e7cf7ab8e369 SHA1 4332c055fcfb0acf106f2ae8373f59a9b299baf3 SHA256 dcaddd4045fbc05f44b78505ebd6429026602910a65851eaab0ddca078ab282e AUX rt_apache2.conf 550 RMD160 a9f463c8f7c4803a32f0e8380e594c2eb6f5f05a SHA1 b11218515f2c43cd2738be71e4e3b25ce8b4bb38 SHA256 db52d05f10cb6ed1bb236ed9e6fc5cc7574b5949c5cb85b5719d0132cbb072cc AUX rt_apache2_fcgi.conf 989 RMD160 f88807ad0db9806ee2c638e998ab10e9339a9ed6 SHA1 92ea95bae0a8c2b31b058385b789e9b7fce4f8b1 SHA256 7dff43c9fb73daa06c9c4841199e7618758250129946ec9d20adf5a1852e4e91 -DIST rt-3.6.7.tar.gz 1764471 RMD160 f14ce94a2d9fcb243c6fae274fc5602cae4692cd SHA1 990fd47899bed1ec8e7d23556853fb3a70d95479 SHA256 5916fe002d3739e670aef49a4b12aa385e45eea4602adcf12feaef583a73f6c1 -DIST rt-3.8.10.tar.gz 5642566 RMD160 779ba2e04e87d20f30b03a9e7348c23b09062038 SHA1 98678a4ce4dbdfb13ceeeb88236d49bd0f5562c7 SHA256 d121ec6463ce919cef74c3ce3ab7e7213cb235726d05abd26c717a7eab6c1448 DIST rt-3.8.11.tar.gz 5734246 RMD160 4af7ce72345bf47cd21bebac6a66da6da958feea SHA1 96fe9babdca88224d6c8f2352f08bd62d613770d SHA256 76b5b631ef6fb5f2c3f94cc1a1774046998ef157d83f68c274a2dfa8e71f89a8 DIST rt-4.0.5.tar.gz 5877387 RMD160 277a87ea3b321ede1ce976248f46d54226a91547 SHA1 59697fbfa3876d1950499796a429622941272edf SHA256 280daadff11595fe4baa4f55544cedd26ada560b421c165bba45340fd6eaddb0 -EBUILD rt-3.6.7.ebuild 6149 RMD160 a7f511ec11ab9082ec2e0b41aedf6285ddf9d210 SHA1 ebe358088453c3b1f1949eca09881ebd6152ff83 SHA256 bf547e087476e150c5e1975bf9bf2b0f23db2b62c150bbc9003162156c5af888 -EBUILD rt-3.8.10-r1.ebuild 6324 RMD160 32a840c96cc6595200d701e23d7fd6478007f971 SHA1 3b4caa362d069c925143e7e7329f025dcaae1bea SHA256 5387dec12b91183d49fe8ae10915e94cf0db2601a99f1cd5d3c7162cb9c66b6f -EBUILD rt-3.8.10.ebuild 6289 RMD160 12422129759e9d16eb65f888f8a8275d27f28a77 SHA1 538cffa56ce20080306e5e38b08a4969ea0fcf1e SHA256 fa1f53e08308af5fe113ea568f112018b863435ba9c47c92c2512465358a9a53 EBUILD rt-3.8.11.ebuild 6540 RMD160 0bc62e50d7695e46d989140fb53ea8834b9b8ef5 SHA1 d2a94fec77e92bad8234442e33e278e7ca01f78c SHA256 873e6b230d839437bfb8e1b2916bd610275cbcdff1fab30b4d8d401371621e68 EBUILD rt-4.0.5.ebuild 7222 RMD160 e6096e1b0a60433379b5c9f180f80ee749b3a837 SHA1 f234df469e737f3b186ab1e01cb1b4a945ddec67 SHA256 655bdbb7c29c41a652bfbf22a29efcc40d0eb95bc817ee31b57aedd2901b5e90 -MISC ChangeLog 11617 RMD160 fdc55870d40467ec0c375a519eab8a3422376234 SHA1 4642b4a3153a61ddcba8dd06637f3b840331c007 SHA256 98f89b845df4db826d5f040b5e18735e1b71f4946636afe75ac2587275a3689f +MISC ChangeLog 11778 RMD160 0177e5ecd3f0b8bcd79beaec1c552998a8e09793 SHA1 4c89bbc5ef5c7e459a45a78e72859d146536e282 SHA256 b7744de9eeb6c9a8cb1a86ad8b01c038213c70d1d69496ee67bad6a91ce36fbe MISC metadata.xml 524 RMD160 295179b59cac47383471772520c6afaca965a448 SHA1 6e4ee23e5e9f00ce247226aacb3c133c9b35e3bc SHA256 589ec91d467e77ce4708fe59d3e4818137dd8188647461fbd68da4e4fcabfb92 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) -iQEcBAEBCgAGBQJPUTfwAAoJEEqz6FtPBkyjllYIAK1yqN8aqfa/Chtyg+MNBDVV -VT1DY1Z5iSyIqRUFX9IItvBmOxdvMYZriEi8D/kRnPjOhCOGX0maiuat0zei+byT -g/JS+uT95bNbuC2SLE7CnwA08TqzfnLUMWHEgnE1GQVWl74/2iHRw37ysHnadekm -eAwc6AD/s0VKsqe7XuvdU2UkxjPBmvijGg9uGdCKfYsAHJDVAQQbvbwvh8ORvVn8 -g4XQ+FWmIb7mZeYAW9GRkb+pNm+h0gqSUZaecn/zbLw9PNjKNM6rI5uFk9O4eDPT -6x8PXBmez0PN42ameLMhcVULr0faYH57YOj4ISITUcCxJLRA5hM8kGma+xvt+XE= -=ZQXw +iQEcBAEBCgAGBQJPZ/axAAoJEEqz6FtPBkyjiWYH/1KWnJyb7mLnkKfWdusLrjsa +/kPBWrecr3dv4Rd5pZ6KE7hJWzZdYRpnErgsCe+nw75RFdHDWqErr9V19g/i47NI +UanmxmD887Dp+hSYqWFICeUXWNv1fWwynl8wBkAFS+mQSq6AFzqTNL32sWU9LBEX +oQJwfkWKgUBOyFTb3AlBs3BA29MV3mlZy0EKogCONRqv0tmhJMR454O9+1gyTRhH +Rk6ycsVDduUDDnNGnT3J8lYAgxvvn8QaxxPOPmMd4LVHuWFl/QIfIzaW0XU5rD3d +KS99H+6g/u8byoFuFs/HeZDIDmzr+iVZyCdSTs4ynplXjXXgvCtCcwhESPNI2BA= +=o/eR -----END PGP SIGNATURE----- diff --git a/www-apps/rt/files/rt.conf.d b/www-apps/rt/files/rt.conf.d deleted file mode 100644 index 294ac2a0bd46..000000000000 --- a/www-apps/rt/files/rt.conf.d +++ /dev/null @@ -1,14 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/rt/files/rt.conf.d,v 1.2 2008/04/03 09:57:12 hollow Exp $ - -# Config file for /etc/init.d/rt - -RTUSER=rt -RTGROUP=lighttpd - -# set RTPATH to rt's root -RTPATH=/var/www/localhost/@@PF@@ - -FCGI_SOCKET_PATH=${RTPATH}/var/appSocket -PIDFILE=${RTPATH}/var/pid diff --git a/www-apps/rt/files/rt.init.d b/www-apps/rt/files/rt.init.d deleted file mode 100644 index eeaf79e4b4b7..000000000000 --- a/www-apps/rt/files/rt.init.d +++ /dev/null @@ -1,39 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/rt/files/rt.init.d,v 1.1 2006/01/26 21:10:33 rl03 Exp $ - -depend() { - use mysql postgresql lighttpd -} - -start() { - ebegin "Starting RT" - rm -f ${FCGI_SOCKET_PATH} - env -i PATH=$PATH FCGI_SOCKET_PATH=${FCGI_SOCKET_PATH}\ - /sbin/start-stop-daemon -o --quiet --start \ - --startas ${RTPATH}/bin/mason_handler.fcgi \ - --pidfile ${PIDFILE} -c ${RTUSER} -g ${RTGROUP} -b -d ${RTPATH} - # mason_handler.fcgi doesn't bg itself, so have start-stop-demon do that - # if you experience problems, delete the -b flag above - # and check if you get any errors - - # make sure lighttpd can use the socket - while true; do - [[ -a ${FCGI_SOCKET_PATH} ]] && break - sleep 1 - done - chmod g+rwx ${FCGI_SOCKET_PATH} - eend $? -} - -stop() { - ebegin "Stopping RT" - /sbin/start-stop-daemon -o --quiet --stop --pidfile ${PIDFILE} - eend $? -} - -restart() { - svc_stop - svc_start -} diff --git a/www-apps/rt/rt-3.6.7.ebuild b/www-apps/rt/rt-3.6.7.ebuild deleted file mode 100644 index 67cda044b0d2..000000000000 --- a/www-apps/rt/rt-3.6.7.ebuild +++ /dev/null @@ -1,230 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/rt/rt-3.6.7.ebuild,v 1.4 2011/11/02 21:55:06 vapier Exp $ - -inherit webapp eutils depend.apache confutils - -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 ~x86" -LICENSE="GPL-2" -IUSE="mysql postgres fastcgi lighttpd" - -DEPEND=" - >=dev-lang/perl-5.8.3 - - >=dev-perl/Apache-Session-1.53 - dev-perl/Cache-Simple-TimedExpiry - dev-perl/Calendar-Simple - >=dev-perl/class-returnvalue-0.40 - >=dev-perl/CSS-Squish-0.06 - >=dev-perl/DBI-1.37 - >=dev-perl/dbix-searchbuilder-1.53 - >=dev-perl/Devel-StackTrace-1.19 - dev-perl/GD - dev-perl/GDGraph - dev-perl/GDTextUtil - dev-perl/HTML-Format - >dev-perl/HTML-Mason-1.31 - dev-perl/HTML-Parser - >=dev-perl/HTML-Scrubber-0.08 - dev-perl/HTML-Tree - >=dev-perl/HTTP-Server-Simple-0.07 - >=dev-perl/HTTP-Server-Simple-Mason-0.09 - dev-perl/libwww-perl - dev-perl/locale-maketext-fuzzy - >=dev-perl/locale-maketext-lexicon-0.32 - >=dev-perl/log-dispatch-2.0 - >=dev-perl/MailTools-1.60 - >=dev-perl/MIME-tools-5.417 - dev-perl/Module-Versions-Report - dev-perl/regexp-common - dev-perl/TermReadKey - dev-perl/text-autoformat - >=dev-perl/Text-Quoted-2.02 - dev-perl/text-template - >=dev-perl/Text-WikiFormat-0.76 - dev-perl/text-wrapper - dev-perl/TimeDate - dev-perl/Time-modules - >=dev-perl/Tree-Simple-1.04 - dev-perl/UNIVERSAL-require - >=dev-perl/XML-RSS-1.05 - >=virtual/perl-CGI-2.92 - virtual/perl-digest-base - >=virtual/perl-Digest-MD5-2.27 - >=virtual/perl-File-Spec-0.8 - virtual/perl-File-Temp - >=virtual/perl-Getopt-Long-2.24 - virtual/perl-libnet - >=virtual/perl-locale-maketext-1.06 - virtual/perl-Scalar-List-Utils - >=virtual/perl-Storable-2.08 - virtual/perl-Time-HiRes - - !lighttpd? ( dev-perl/Apache-DBI ) - lighttpd? ( dev-perl/FCGI ) - fastcgi? ( 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 ) -" - -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" - epause - 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 _RT2_ installation," - ewarn "stop this ebuild (Ctrl-C now), download the upgrade tool," - ewarn "http://bestpractical.com/pub/rt/devel/rt2-to-rt3.tar.gz" - ewarn "and follow the included instructions." - ewarn - epause 5 - enewgroup rt - add_user_rt || die "Could not add user" -} - -src_unpack() { - unpack ${A} - cd "${S}" - - # add Gentoo-specific layout - cat "${FILESDIR}"/config.layout-gentoo >> config.layout - sed -e "s|PREFIX|${D}/${MY_HOSTROOTDIR}/${PF}| - s|HTMLDIR|${D}/${MY_HTDOCSDIR}|g" -i ./config.layout || die - - # 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 -} - -src_compile() { - local web="apache" - use lighttpd && web="lighttpd" - - local dbtype dba - - if use mysql; then - dbtype="--with-db-type=mysql" - dba="--with-db-dba=root" - fi - if use postgres;then - dbtype="--with-db-type=Pg" - dba="--with-db-dba=postgres" - fi - if use postgres && use mysql; then - ewarn "Both mysql and postgres USE flags enabled, default is mysql." - ewarn "You can set the default value in RT_SiteConfig before DB init." - dbtype="--with-db-type=mysql" - dba="--with-db-dba=root" - 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} \ - ${dbtype} ${dba} - - # check for missing deps and ask to report if something is broken - local myconf="--verbose \ - $(enable_extension_withonly mysql mysql) \ - $(enable_extension_withonly postgresql postgres) \ - $(enable_extension_withonly fastcgi fastcgi) \ - $(enable_extension_withonly fastcgi lighttpd)" \ - - if ! use fastcgi && ! use lighttpd; then - myconf="${myconf} --with-modperl2" - fi - - /usr/bin/perl ./sbin/rt-test-dependencies ${myconf} > "${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_install() { - webapp_src_preinst - emake install || die - - # make sure we don't clobber existing site configuration - rm -f "${D}"/${MY_HOSTROOTDIR}/${PF}/etc/RT_SiteConfig.pm - - # fix paths - find "${D}" -type f -print0 | xargs -0 sed -i -e "s:${D}::g" - - # copy upgrade files - insinto "${MY_HOSTROOTDIR}/${PF}" - doins -r etc/upgrade - - if use lighttpd; then - newinitd "${FILESDIR}"/${PN}.init.d ${PN} - newconfd "${FILESDIR}"/${PN}.conf.d ${PN} - dosed "s/@@PF@@/${PF}/g" /etc/conf.d/${PN} - else - doins "${FILESDIR}"/{rt_apache2_fcgi.conf,rt_apache2.conf} - fi - - webapp_serverowned "${MY_HOSTROOTDIR}"/${PF}/var - - webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt - webapp_hook_script "${FILESDIR}"/reconfig - - webapp_src_install -} diff --git a/www-apps/rt/rt-3.8.10-r1.ebuild b/www-apps/rt/rt-3.8.10-r1.ebuild deleted file mode 100644 index 97ad931e116b..000000000000 --- a/www-apps/rt/rt-3.8.10-r1.ebuild +++ /dev/null @@ -1,238 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/rt/rt-3.8.10-r1.ebuild,v 1.2 2011/11/18 18:22:31 flameeyes Exp $ - -inherit webapp eutils depend.apache confutils - -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 ~x86" -LICENSE="GPL-2" -IUSE="mysql postgres fastcgi lighttpd" - -DEPEND=" - >=dev-lang/perl-5.8.3 - - >=dev-perl/Apache-Session-1.53 - dev-perl/Cache-Simple-TimedExpiry - dev-perl/Calendar-Simple - >=dev-perl/class-returnvalue-0.40 - >=dev-perl/CSS-Squish-0.06 - >=dev-perl/DBI-1.37 - >=dev-perl/dbix-searchbuilder-1.53 - >=dev-perl/Devel-StackTrace-1.19 - dev-perl/GD - dev-perl/GDGraph - dev-perl/GDTextUtil - dev-perl/HTML-Format - >dev-perl/HTML-Mason-1.31 - dev-perl/HTML-Parser - >=dev-perl/HTML-Scrubber-0.08 - dev-perl/HTML-Tree - >=dev-perl/HTTP-Server-Simple-0.07 - >=dev-perl/HTTP-Server-Simple-Mason-0.14 - dev-perl/libwww-perl - dev-perl/locale-maketext-fuzzy - >=dev-perl/locale-maketext-lexicon-0.32 - >=dev-perl/log-dispatch-2.0 - >=dev-perl/MailTools-1.60 - >=dev-perl/MIME-tools-5.417 - >=dev-perl/Module-Versions-Report-1.05 - dev-perl/regexp-common - dev-perl/TermReadKey - dev-perl/text-autoformat - >=dev-perl/Text-Quoted-2.02 - dev-perl/text-template - >=dev-perl/Text-WikiFormat-0.76 - dev-perl/text-wrapper - dev-perl/TimeDate - dev-perl/Time-modules - >=dev-perl/Tree-Simple-1.04 - dev-perl/UNIVERSAL-require - >=dev-perl/XML-RSS-1.05 - >=virtual/perl-CGI-2.92 - virtual/perl-digest-base - >=virtual/perl-Digest-MD5-2.27 - >=virtual/perl-File-Spec-0.8 - virtual/perl-File-Temp - >=virtual/perl-Getopt-Long-2.24 - virtual/perl-libnet - >=virtual/perl-locale-maketext-1.06 - virtual/perl-Scalar-List-Utils - >=virtual/perl-Storable-2.08 - virtual/perl-Time-HiRes - dev-perl/File-ShareDir - dev-perl/HTML-RewriteAttributes - dev-perl/Data-ICal - dev-perl/Email-Address - - !lighttpd? ( dev-perl/Apache-DBI ) - lighttpd? ( dev-perl/FCGI ) - fastcgi? ( 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" - epause - 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 _RT2_ installation," - ewarn "stop this ebuild (Ctrl-C now), download the upgrade tool," - ewarn "http://bestpractical.com/pub/rt/devel/rt2-to-rt3.tar.gz" - ewarn "and follow the included instructions." - ewarn - epause 5 - enewgroup rt - add_user_rt || die "Could not add user" -} - -src_unpack() { - unpack ${A} - cd "${S}" - - # add Gentoo-specific layout - cat "${FILESDIR}"/config.layout-gentoo >> config.layout - sed -e "s|PREFIX|${D}/${MY_HOSTROOTDIR}/${PF}| - s|HTMLDIR|${D}/${MY_HTDOCSDIR}|g" -i ./config.layout || die - - # 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 -} - -src_compile() { - local web myconf depsconf - - if use mysql; then - myconf+=" --with-db-type=mysql --with-db-dba=root" - depsconf+=" --with-mysql" - fi - if use postgres;then - myconf+=" --with-db-type=Pg --with-db-dba=postgres" - depsconf+=" --with-postgresql" - fi - if use postgres && use mysql; then - ewarn "Both mysql and postgres USE flags enabled, default is mysql." - ewarn "You can set the default value in RT_SiteConfig before DB init." - myconf+=" --with-db-type=mysql --with-db-dba=root" - depsconf+=" --with-mysql" - 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_install() { - webapp_src_preinst - emake -j1 install || die - - # make sure we don't clobber existing site configuration - rm -f "${D}"/${MY_HOSTROOTDIR}/${PF}/etc/RT_SiteConfig.pm - - # fix paths - find "${D}" -type f -print0 | xargs -0 sed -i -e "s:${D}::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} - dosed "s/@@PF@@/${PF}/g" /etc/conf.d/${PN} - else - doins "${FILESDIR}"/{rt_apache2_fcgi.conf,rt_apache2.conf} - fi - - webapp_serverowned "${MY_HOSTROOTDIR}"/${PF}/var - - webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt - webapp_hook_script "${FILESDIR}"/reconfig - - webapp_src_install -} diff --git a/www-apps/rt/rt-3.8.10.ebuild b/www-apps/rt/rt-3.8.10.ebuild deleted file mode 100644 index 9cfed7842a4a..000000000000 --- a/www-apps/rt/rt-3.8.10.ebuild +++ /dev/null @@ -1,235 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/rt/rt-3.8.10.ebuild,v 1.6 2011/11/02 21:55:06 vapier Exp $ - -inherit webapp eutils depend.apache confutils - -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 ~x86" -LICENSE="GPL-2" -IUSE="mysql postgres fastcgi lighttpd" - -DEPEND=" - >=dev-lang/perl-5.8.3 - - >=dev-perl/Apache-Session-1.53 - dev-perl/Cache-Simple-TimedExpiry - dev-perl/Calendar-Simple - >=dev-perl/class-returnvalue-0.40 - >=dev-perl/CSS-Squish-0.06 - >=dev-perl/DBI-1.37 - >=dev-perl/dbix-searchbuilder-1.53 - >=dev-perl/Devel-StackTrace-1.19 - dev-perl/GD - dev-perl/GDGraph - dev-perl/GDTextUtil - dev-perl/HTML-Format - >dev-perl/HTML-Mason-1.31 - dev-perl/HTML-Parser - >=dev-perl/HTML-Scrubber-0.08 - dev-perl/HTML-Tree - >=dev-perl/HTTP-Server-Simple-0.07 - >=dev-perl/HTTP-Server-Simple-Mason-0.14 - dev-perl/libwww-perl - dev-perl/locale-maketext-fuzzy - >=dev-perl/locale-maketext-lexicon-0.32 - >=dev-perl/log-dispatch-2.0 - >=dev-perl/MailTools-1.60 - >=dev-perl/MIME-tools-5.417 - >=dev-perl/Module-Versions-Report-1.05 - dev-perl/regexp-common - dev-perl/TermReadKey - dev-perl/text-autoformat - >=dev-perl/Text-Quoted-2.02 - dev-perl/text-template - >=dev-perl/Text-WikiFormat-0.76 - dev-perl/text-wrapper - dev-perl/TimeDate - dev-perl/Time-modules - >=dev-perl/Tree-Simple-1.04 - dev-perl/UNIVERSAL-require - >=dev-perl/XML-RSS-1.05 - >=virtual/perl-CGI-2.92 - virtual/perl-digest-base - >=virtual/perl-Digest-MD5-2.27 - >=virtual/perl-File-Spec-0.8 - virtual/perl-File-Temp - >=virtual/perl-Getopt-Long-2.24 - virtual/perl-libnet - >=virtual/perl-locale-maketext-1.06 - virtual/perl-Scalar-List-Utils - >=virtual/perl-Storable-2.08 - virtual/perl-Time-HiRes - dev-perl/File-ShareDir - dev-perl/HTML-RewriteAttributes - dev-perl/Data-ICal - dev-perl/Email-Address - - !lighttpd? ( dev-perl/Apache-DBI ) - lighttpd? ( dev-perl/FCGI ) - fastcgi? ( 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 ) -" - -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" - epause - 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 _RT2_ installation," - ewarn "stop this ebuild (Ctrl-C now), download the upgrade tool," - ewarn "http://bestpractical.com/pub/rt/devel/rt2-to-rt3.tar.gz" - ewarn "and follow the included instructions." - ewarn - epause 5 - enewgroup rt - add_user_rt || die "Could not add user" -} - -src_unpack() { - unpack ${A} - cd "${S}" - - # add Gentoo-specific layout - cat "${FILESDIR}"/config.layout-gentoo >> config.layout - sed -e "s|PREFIX|${D}/${MY_HOSTROOTDIR}/${PF}| - s|HTMLDIR|${D}/${MY_HTDOCSDIR}|g" -i ./config.layout || die - - # 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 -} - -src_compile() { - local web myconf depsconf - - if use mysql; then - myconf+=" --with-db-type=mysql --with-db-dba=root" - depsconf+=" --with-mysql" - fi - if use postgres;then - myconf+=" --with-db-type=Pg --with-db-dba=postgres" - depsconf+=" --with-postgresql" - fi - if use postgres && use mysql; then - ewarn "Both mysql and postgres USE flags enabled, default is mysql." - ewarn "You can set the default value in RT_SiteConfig before DB init." - myconf+=" --with-db-type=mysql --with-db-dba=root" - depsconf+=" --with-mysql" - 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_install() { - webapp_src_preinst - emake install || die - - # make sure we don't clobber existing site configuration - rm -f "${D}"/${MY_HOSTROOTDIR}/${PF}/etc/RT_SiteConfig.pm - - # fix paths - find "${D}" -type f -print0 | xargs -0 sed -i -e "s:${D}::g" - - # copy upgrade files - insinto "${MY_HOSTROOTDIR}/${PF}" - doins -r etc/upgrade - - if use lighttpd; then - newinitd "${FILESDIR}"/${PN}.init.d ${PN} - newconfd "${FILESDIR}"/${PN}.conf.d ${PN} - dosed "s/@@PF@@/${PF}/g" /etc/conf.d/${PN} - else - doins "${FILESDIR}"/{rt_apache2_fcgi.conf,rt_apache2.conf} - fi - - webapp_serverowned "${MY_HOSTROOTDIR}"/${PF}/var - - webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt - webapp_hook_script "${FILESDIR}"/reconfig - - webapp_src_install -} |