diff options
Diffstat (limited to 'www-apps/rt')
-rw-r--r-- | www-apps/rt/Manifest | 34 | ||||
-rw-r--r-- | www-apps/rt/files/digest-rt-3.6.1 | 3 | ||||
-rw-r--r-- | www-apps/rt/rt-3.6.1.ebuild | 255 |
3 files changed, 22 insertions, 270 deletions
diff --git a/www-apps/rt/Manifest b/www-apps/rt/Manifest index d223fa04a60e..a52f72c305f2 100644 --- a/www-apps/rt/Manifest +++ b/www-apps/rt/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX 3.2.1/postinstall-en.txt 1648 RMD160 9c815e52de1437f2dffaf21dfdb9e385c9304542 SHA1 e55e498670fe2897b22af8c292d4a0b34c67d94a SHA256 fb97b5637b5f02679b937b6113c28370ed06389d3527598f0a2887928a300d66 MD5 15fc088b37155656e008679f3c07eea7 files/3.2.1/postinstall-en.txt 1648 RMD160 9c815e52de1437f2dffaf21dfdb9e385c9304542 files/3.2.1/postinstall-en.txt 1648 @@ -44,7 +47,7 @@ RMD160 a59e337ff39bf9a1cb8793d63f5cc6583f2a0615 files/rt_apache2_fcgi.conf 993 SHA256 166f5a60e443351228ba215a460603b106074e6f150e878a34ccd18b825026aa files/rt_apache2_fcgi.conf 993 DIST rt-3.2.1.tar.gz 1201592 RMD160 31e7dd475a61a33454fc9ce06ebb545fbf216a82 SHA1 b1ce672b99cebe19895d1b9d3536c74fbcddbbb6 SHA256 b12241e83575d78dcb1e4dea50d3c8d6545a97eb10efec9c45a84a65304739a9 DIST rt-3.4.5.tar.gz 1410154 RMD160 aa86f6cd4039ce6f6fdfaabf0e2807e93d0786b5 SHA1 a2609ffc168829a179bea70006e57aee6d6367f9 SHA256 20eb89af3245b7021e53cdefd0ed0716443c3a4f9e8536e0c2c29b901942e917 -DIST rt-3.6.1.tar.gz 1545708 RMD160 8e5803bcff40fd4b61bbe3b3e4f249088c1c6552 SHA1 5fa78f2cfb30a361f78a22e921846ea6a98c4901 SHA256 0925018dc29d2fa1a6d91480c0ea4d1a517ddfd4e3094db3525a30fb2a04b467 +DIST rt-3.6.2.tar.gz 1590955 RMD160 2bdee207b6c2fb7ba50e2f325c24363091c42b41 SHA1 46ed86304ae46717942f52522dbad8e3f6a0b8ee SHA256 adf7694aad2f4301572f5e1f65c0f289e015459b97e99384497c2b0054634684 EBUILD rt-3.2.1.ebuild 4360 RMD160 50979f2c8a3f4a7ef5ef52111427e3384b3a380f SHA1 2dbd53e2d2535db180cb9243f37b0411352dcffb SHA256 17da3fde32c16610ddfdbb87ebef36d6a5cb0227993b7ac230aedcd78d1ac026 MD5 602fc17dfc095594cabb04ce57975409 rt-3.2.1.ebuild 4360 RMD160 50979f2c8a3f4a7ef5ef52111427e3384b3a380f rt-3.2.1.ebuild 4360 @@ -53,14 +56,14 @@ EBUILD rt-3.4.5.ebuild 6426 RMD160 cd1b36dd1ec6851e83bc0fdc3271cd19d5433886 SHA1 MD5 9526ad4b1c5b1be9e8b856b771e2cc33 rt-3.4.5.ebuild 6426 RMD160 cd1b36dd1ec6851e83bc0fdc3271cd19d5433886 rt-3.4.5.ebuild 6426 SHA256 0b4cb2fe3ad95c6565fac44de8f88fe3320abfd91f811bf558e3d084a27c5863 rt-3.4.5.ebuild 6426 -EBUILD rt-3.6.1.ebuild 6596 RMD160 22c4d7689d0d3fef0e6345ce451c42fa615b98d2 SHA1 9785ab30c4f0966a033ad5b39a074252bc85ab5c SHA256 85eac00d98527d2196f13db7071090f7a3af027ee9e3b583bff73bc45872afd0 -MD5 713214b62bdcafd79ab4569310135e7d rt-3.6.1.ebuild 6596 -RMD160 22c4d7689d0d3fef0e6345ce451c42fa615b98d2 rt-3.6.1.ebuild 6596 -SHA256 85eac00d98527d2196f13db7071090f7a3af027ee9e3b583bff73bc45872afd0 rt-3.6.1.ebuild 6596 -MISC ChangeLog 6661 RMD160 4eefd7233d68061041a6d0185e500ec6453acb1b SHA1 6f5f2c4712f5374585cf62c87caf44fbdec01d52 SHA256 58d2f32cd305f6bb2d42c82fb7cfb36b4cdc1424d864e3153366ed5db80c2d42 -MD5 d3b908e67d6284af8c5c0e9094838d0d ChangeLog 6661 -RMD160 4eefd7233d68061041a6d0185e500ec6453acb1b ChangeLog 6661 -SHA256 58d2f32cd305f6bb2d42c82fb7cfb36b4cdc1424d864e3153366ed5db80c2d42 ChangeLog 6661 +EBUILD rt-3.6.2.ebuild 6596 RMD160 0bcc8e411cde3499e913db50bdbb1003ee7152cf SHA1 66e3b5ed4b9b250662d5dbfbb89f907db956961b SHA256 dff36dc1a2edc26dcfc13e2dbd8de8462385e41b551507c4c34cb0a363ba23a0 +MD5 9fb01f564f2d8890ade61f95a1606e0d rt-3.6.2.ebuild 6596 +RMD160 0bcc8e411cde3499e913db50bdbb1003ee7152cf rt-3.6.2.ebuild 6596 +SHA256 dff36dc1a2edc26dcfc13e2dbd8de8462385e41b551507c4c34cb0a363ba23a0 rt-3.6.2.ebuild 6596 +MISC ChangeLog 6786 RMD160 1bc32f819573e32a02cd9b3ae4484754bae349d1 SHA1 64e364b7172c50377c7fcd27aa46279879939731 SHA256 dfeab5a9b3d6e289b2f125e4ed158875cb75de468df5fcb62f381ffdcbdc5e1d +MD5 75cf7cbd39fa118e4d64d787669febc4 ChangeLog 6786 +RMD160 1bc32f819573e32a02cd9b3ae4484754bae349d1 ChangeLog 6786 +SHA256 dfeab5a9b3d6e289b2f125e4ed158875cb75de468df5fcb62f381ffdcbdc5e1d ChangeLog 6786 MISC metadata.xml 221 RMD160 cb776d24349e87dce7784e24e35d9d84f91da1f7 SHA1 0f301c536f2b097bd3ff21cc1dd05fe6d8f4713e SHA256 e9d20baa1edc4def48ad57c9620d3d0ee361888408261619ff9ea9edb47ce67a MD5 224c312cc23d02aa06c26a4da3cc1f90 metadata.xml 221 RMD160 cb776d24349e87dce7784e24e35d9d84f91da1f7 metadata.xml 221 @@ -71,6 +74,13 @@ SHA256 91a4f4a4b54017091ca8bb736deb6d25ca840574f2a0da7398b42c6d0bffb0ed files/di MD5 344efb41e7d9b208c17507b446e9169f files/digest-rt-3.4.5 229 RMD160 387a7902e7e37ea8fb3fa41b1f19c2794dc62b67 files/digest-rt-3.4.5 229 SHA256 f8d66759e366aa8d9a0a629072bd4f0557474da2110540cd45390fc62e38d510 files/digest-rt-3.4.5 229 -MD5 a56a7436d29f942bf845253a4f0c91fe files/digest-rt-3.6.1 229 -RMD160 7d1ad3cb718ef28bc420b1e3ebb4835c7fda160d files/digest-rt-3.6.1 229 -SHA256 056b807ec21f7dc235a958e6f72fc792335723f872161b7ab24d55d8a87f00f9 files/digest-rt-3.6.1 229 +MD5 5bb34dfec6ac0906c25d9f306e2ebbf9 files/digest-rt-3.6.2 229 +RMD160 3984393ff1126e9446e11be9941c596610420978 files/digest-rt-3.6.2 229 +SHA256 635976c911d6545ef1f8e0b9848a966f9651134a2072b029674c76e65e23319d files/digest-rt-3.6.2 229 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.5 (GNU/Linux) + +iD8DBQFFiXCTEzitwsaoONoRApKPAJ9GQUccebWheif8/ia94AUXzn8NFgCguxsA +i+diQOaQ7xG+f3mswZZnU88= +=eEqN +-----END PGP SIGNATURE----- diff --git a/www-apps/rt/files/digest-rt-3.6.1 b/www-apps/rt/files/digest-rt-3.6.1 deleted file mode 100644 index fcb0c96c2749..000000000000 --- a/www-apps/rt/files/digest-rt-3.6.1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 40c5a828fadaeef9e150255a517d0b17 rt-3.6.1.tar.gz 1545708 -RMD160 8e5803bcff40fd4b61bbe3b3e4f249088c1c6552 rt-3.6.1.tar.gz 1545708 -SHA256 0925018dc29d2fa1a6d91480c0ea4d1a517ddfd4e3094db3525a30fb2a04b467 rt-3.6.1.tar.gz 1545708 diff --git a/www-apps/rt/rt-3.6.1.ebuild b/www-apps/rt/rt-3.6.1.ebuild deleted file mode 100644 index dc9255f25546..000000000000 --- a/www-apps/rt/rt-3.6.1.ebuild +++ /dev/null @@ -1,255 +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/rt-3.6.1.ebuild,v 1.3 2006/11/23 17:28:21 vivo Exp $ - -inherit webapp eutils - -IUSE="mysql postgres fastcgi apache2 lighttpd" - -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 ~ppc ~x86" - -DEPEND=" - >=dev-lang/perl-5.8.3 - - >=dev-perl/Params-Validate-0.02 - dev-perl/Cache-Cache - >=dev-perl/Exception-Class-1.14 - >dev-perl/HTML-Mason-1.23 - dev-perl/MLDBM - dev-perl/FreezeThaw - >=virtual/perl-Digest-MD5-2.27 - >=virtual/perl-CGI-2.92 - >=virtual/perl-Storable-2.08 - >=dev-perl/Apache-Session-1.53 - >=dev-perl/XML-RSS-1.05 - >=dev-perl/HTTP-Server-Simple-0.07 - >=dev-perl/HTTP-Server-Simple-Mason-0.09 - dev-perl/GD - dev-perl/GDGraph - dev-perl/GDTextUtil - >=dev-perl/Text-WikiFormat-0.76 - - !lighttpd? ( - >=dev-perl/Apache-DBI-0.92 - apache2? ( - !fastcgi? ( >=www-apache/libapreq2-2.06 - >=dev-perl/HTML-Mason-1.31 ) - fastcgi? ( dev-perl/FCGI ) ) - !apache2? ( - fastcgi? ( dev-perl/FCGI ) - !fastcgi? ( =www-apache/libapreq-1* ) ) ) - lighttpd? ( dev-perl/FCGI ) - - mysql? ( >=dev-perl/DBD-mysql-2.1018 ) - postgres? ( >=dev-perl/DBD-Pg-1.43 ) - - >=virtual/perl-Getopt-Long-2.24 - - dev-perl/HTML-Tree - dev-perl/HTML-Format - dev-perl/libwww-perl - - dev-perl/Calendar-Simple - - virtual/perl-digest-base - >=dev-perl/DBI-1.37 - dev-perl/Test-Inline - >=dev-perl/class-returnvalue-0.40 - >=dev-perl/dbix-searchbuilder-1.39 - dev-perl/text-template - >=virtual/perl-File-Spec-0.8 - dev-perl/HTML-Parser - >=dev-perl/HTML-Scrubber-0.08 - virtual/perl-libnet - >=dev-perl/log-dispatch-2.0 - >=virtual/perl-locale-maketext-1.06 - >=dev-perl/locale-maketext-lexicon-0.32 - dev-perl/locale-maketext-fuzzy - >=dev-perl/MIME-tools-5.417 - >=dev-perl/MailTools-1.60 - dev-perl/text-wrapper - dev-perl/Time-modules - virtual/perl-Time-HiRes - virtual/perl-File-Temp - dev-perl/TermReadKey - dev-perl/text-autoformat - >=dev-perl/Text-Quoted-1.3 - >=dev-perl/Tree-Simple-1.04 - virtual/perl-Scalar-List-Utils - dev-perl/Module-Versions-Report - dev-perl/Cache-Simple-TimedExpiry - dev-perl/UNIVERSAL-require - dev-perl/regexp-common -" - -RDEPEND=" - ${DEPEND} - virtual/mta - mysql? ( >=virtual/mysql-4.0 ) - postgres? ( >=dev-db/postgresql-7.4.2-r1 ) - !lighttpd? ( - apache2? ( >=net-www/apache-2 - fastcgi? ( net-www/mod_fastcgi ) - !apache2? ( =net-www/apache-1* ) ) ) - lighttpd? ( >=www-servers/lighttpd-1.3.13 ) -" - -LICENSE="GPL-2" - -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 > /dev/null - 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 >/dev/null - 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" - useq lighttpd && web="lighttpd" - - local dbtype="" - local dba="" - - if useq mysql; then - dbtype="--with-db-type=mysql" - dba="--with-db-dba=root" - fi - if useq postgres;then - dbtype="--with-db-type=Pg" - dba="--with-db-dba=postgres" - fi - if useq postgres && useq 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 $(use_with mysql) \ - $(use_with postgres postgresql) \ - $(use_with fastcgi) \ - $(use_with lighttpd fastcgi)" - if ! useq fastcgi && ! useq lighttpd; then - myconf="${myconf} $(use_with apache2 modperl2)" - ! useq apache2 && myconf="${myconf} --with-modperl1" - 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 - 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 - - make install - - # make sure we don't clobber existing site configuration - rm -f ${D}/${MY_HOSTROOTDIR}/${PF}/etc/RT_SiteConfig.pm - - # copy upgrade files - cp -R etc/upgrade ${D}/${MY_HOSTROOTDIR}/${PF} - - cd ${D} - grep -Rl "${D}" * | xargs dosed - - if useq lighttpd; then - newinitd ${FILESDIR}/${PN}.init.d ${PN} - newconfd ${FILESDIR}/${PN}.conf.d ${PN} - else - if useq apache2; then - local CONF="rt_apache2_fcgi.conf rt_apache2.conf" - else - local CONF="rt_apache1_fcgi.conf rt_apache.conf" - fi - cd ${FILESDIR} && cp ${CONF} ${D}/${MY_HOSTROOTDIR}/${PF}/etc - fi - webapp_postinst_txt en ${FILESDIR}/3.4.5/postinstall-en.txt - webapp_hook_script ${FILESDIR}/3.4.5/reconfig - - webapp_serverowned ${MY_HOSTROOTDIR}/${PF}/var - webapp_src_install -} |