diff options
author | Patrick Lauer <patrick@gentoo.org> | 2011-08-15 14:17:02 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2011-08-15 14:17:02 +0000 |
commit | 7a16e42d09a9c131b7941cba52f5f682c26a0478 (patch) | |
tree | 77aa4d94e7329e628537e1eb09d6c182e279213a /www-apps | |
parent | Correct dependencies for kdepim-4.6 and later, bug 379207 (diff) | |
download | historical-7a16e42d09a9c131b7941cba52f5f682c26a0478.tar.gz historical-7a16e42d09a9c131b7941cba52f5f682c26a0478.tar.bz2 historical-7a16e42d09a9c131b7941cba52f5f682c26a0478.zip |
Bump for #260823
Package-Manager: portage-2.2.0_alpha51/cvs/Linux x86_64
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/otrs/ChangeLog | 10 | ||||
-rw-r--r-- | www-apps/otrs/Manifest | 16 | ||||
-rw-r--r-- | www-apps/otrs/metadata.xml | 4 | ||||
-rw-r--r-- | www-apps/otrs/otrs-3.0.7.ebuild | 152 |
4 files changed, 168 insertions, 14 deletions
diff --git a/www-apps/otrs/ChangeLog b/www-apps/otrs/ChangeLog index 7a548f4bb62d..94bf7748ad88 100644 --- a/www-apps/otrs/ChangeLog +++ b/www-apps/otrs/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for www-apps/otrs -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/otrs/ChangeLog,v 1.43 2009/09/27 10:56:35 a3li Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/otrs/ChangeLog,v 1.44 2011/08/15 14:17:02 patrick Exp $ + +*otrs-3.0.7 (15 Aug 2011) + + 15 Aug 2011; Patrick Lauer <patrick@gentoo.org> +otrs-3.0.7.ebuild, + metadata.xml: + Bump for #260823 27 Sep 2009; Alex Legler <a3li@gentoo.org> files/postinstall-en-2.txt: Reword postinstall message to be PORTAGE_COMPRESS independent, bug 274248 diff --git a/www-apps/otrs/Manifest b/www-apps/otrs/Manifest index 80e38f4a4fdc..79cfd02c8466 100644 --- a/www-apps/otrs/Manifest +++ b/www-apps/otrs/Manifest @@ -1,20 +1,12 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX apache2.patch 874 RMD160 c3e87de6e20429ed80c2fd08f731aabb198dfa60 SHA1 0847d39c32fead0a19716dcd9bdb4d83c56d089e SHA256 fbad80b193717c42d7b1daf9a5026772e20ddb39d985e5042f50dbfd1876c4ad AUX dbi_finish.patch 293 RMD160 7178dee7a8f250733510feb9ffdbe6bd9b044429 SHA1 a4a16eaca625edb53cee172262b93989ab82c7fd SHA256 5ab5d742efb0c6287d4571178f711bcfc18e0bfa700f0efed33576519a02c6d4 AUX postinstall-en-2.txt 670 RMD160 4d41cebe350ff1b7a726845c22e882e264d096e6 SHA1 44b1fa6fa53364de2b40a01351c47782f12703ea SHA256 46f22f02a567e97794b3b3f2b7aa3810d5daea1afdf1d6730046d659a19dbdc9 AUX reconfig-2 880 RMD160 eb71fbb7b086e60e648f06828353baf9b3f8bec7 SHA1 442203fc0694b9591ee21baababc697c31ad65e4 SHA256 f08ef6e1258bb64d77fbf34bad33eee2e8556580509706eb17cbd2ae079e0a29 DIST otrs-2.2.6.tar.bz2 10640789 RMD160 ccd86b0a42fab16fe0c8d41c026db3cf2f645672 SHA1 fef9feacc57797f3cd753eb3db28a7753fbe6b64 SHA256 7ec9520391066ec1156d2659b9c59f14428b379ff2a23dcf02e4df7963659853 DIST otrs-2.3.3.tar.bz2 11575828 RMD160 bff57a9521937b03927251f6eb719fd1df34520f SHA1 8399657d79be207c939763634a092708ec546ae9 SHA256 ceaa1a414e9eee3b04c3b6182319e59fe7d07c25662ef2408b3792eb18356f92 +DIST otrs-3.0.7.tar.bz2 17986578 RMD160 e1fe48ad7f6095cd8f4939ceb3b745fba8f65111 SHA1 03a6f4a22d00c9d2939706d2d5383863bfb5a5be SHA256 d384c0e61b60d54bc078c61d0bc94375f5e6be9584fdb2ae8a37a315359a8941 EBUILD otrs-2.2.6.ebuild 3009 RMD160 a13c68a149e1d8adc8fd8b4fe7ac9b05d27c4e4c SHA1 bf82da9b57144108556db4484a9304354373587e SHA256 50406640b5da2933f7efddd62fb275fb34529607932305a9f19e072acb7b1604 EBUILD otrs-2.3.3.ebuild 3009 RMD160 8df9fe2d5387bd2698340eb2ea5771f1186e6e31 SHA1 289cb77e9567637a67039500b477d924a16d51c9 SHA256 2184348c21ee3768efe4d62353353572c7b8ed46f28726ad0e2547b320e79d12 -MISC ChangeLog 6498 RMD160 912266ccd3329aa91aa439a6aab03acaeaa361d4 SHA1 fe15d1b41e062a0427866368b7c2d12edc983524 SHA256 1db64b18e9c1db2820285e272e05fe7050576dc7eb6db16ca2765e20c326c71e -MISC metadata.xml 163 RMD160 fe68e6807c1264b98b9765a956f417707fb80c87 SHA1 394758f80536134eb8ec533e8da4cdaa9457c8a6 SHA256 ce8243e731ce83015fdd01984552e5753453ee66023f1d5d70d625f6963e075c ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.11 (GNU/Linux) - -iEYEARECAAYFAkq/RNIACgkQaGsKqSU7eCQLcwCgjD0RVAr9sny6RA6KCxAmnTv+ -bV0AoKfn1ZAz3gnJLPEvtEFo6QT4WHMD -=hVpC ------END PGP SIGNATURE----- +EBUILD otrs-3.0.7.ebuild 3976 RMD160 5613eb05bfe5106f145c82bd72f5c8f85305e644 SHA1 58bb7303be9d19e9d134cdbb1b6c785085466a4d SHA256 b1ccf00db551a63bec8248745fe8a517ea68c5e572380d5923d3b1ff32a6e9c7 +MISC ChangeLog 6634 RMD160 ada61666e7bce84a45419b53a833500c57254d43 SHA1 813f88c14ca1bbb08a3c7c901e3fa55af608a173 SHA256 d127df1cb26e13956ba8c3b2bd6fcab87dd8d9e6d6ac70a9c8a8d5b9b705ef6d +MISC metadata.xml 272 RMD160 adeb921ecd2b448e914c3f730d529e8ce3974437 SHA1 ec9d189b1088762195634718c1e87373cb36872f SHA256 f7cef341b270ec887ec133868b97e39cf3af3acb9743b471024a5aef3cb5cb8b diff --git a/www-apps/otrs/metadata.xml b/www-apps/otrs/metadata.xml index 494117e85252..0b797c9c8fee 100644 --- a/www-apps/otrs/metadata.xml +++ b/www-apps/otrs/metadata.xml @@ -2,4 +2,8 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>web-apps</herd> + <use> + <flag name="mod_perl">Provide all dependencies for use of mod_perl instead of cgi</flag> + </use> </pkgmetadata> + diff --git a/www-apps/otrs/otrs-3.0.7.ebuild b/www-apps/otrs/otrs-3.0.7.ebuild new file mode 100644 index 000000000000..30b5092f8fbc --- /dev/null +++ b/www-apps/otrs/otrs-3.0.7.ebuild @@ -0,0 +1,152 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/otrs/otrs-3.0.7.ebuild,v 1.1 2011/08/15 14:17:02 patrick Exp $ + +EAPI=2 + +inherit eutils confutils + +DESCRIPTION="OTRS is an Open source Ticket Request System" +HOMEPAGE="http://otrs.org/" +SRC_URI="http://ftp.otrs.org/pub/${PN}/${P}.tar.bz2" + +LICENSE="AGPL-3" +KEYWORDS="~amd64 ~x86" +IUSE="apache2 fastcgi +gd ldap mod_perl +mysql pdf postgres soap" +SLOT="0" +#WEBAPP_MANUAL_SLOT="yes" + +# FIXME add oracle/mssql/DB2 DB support +# FIXME #cjk? ( >=dev-perl/Encode-HanExtra-0.23 ) unsatisfied dep + +DEPEND="" +RDEPEND="${DEPEND} + dev-perl/Authen-SASL + dev-perl/Crypt-PasswdMD5 + dev-perl/CSS-Minifier + dev-perl/Date-Pcalc + mysql? ( dev-perl/DBD-mysql ) + postgres? ( dev-perl/DBD-Pg ) + dev-perl/DBI + gd? ( dev-perl/GD + dev-perl/GDTextUtil + dev-perl/GDGraph ) + dev-perl/IO-Socket-SSL + >=dev-perl/JavaScript-Minifier-1.05 + >=dev-perl/JSON-2.21 + dev-perl/JSON-XS + dev-perl/LWP-UserAgent-Determined + dev-perl/Mail-POP3Client + dev-perl/MailTools + >=dev-perl/MIME-tools-5.427 + dev-perl/NetxAP + dev-perl/Net-IMAP-Simple-SSL + >dev-perl/Net-DNS-0.60 + dev-perl/Net-SMTP-SSL + dev-perl/Net-SMTP-TLS + dev-perl/IO-stringy + pdf? ( >=dev-perl/PDF-API2-0.73 + virtual/perl-Compress-Raw-Zlib ) + ldap? ( dev-perl/perl-ldap ) + soap? ( + dev-perl/SOAP-Lite + !=dev-perl/SOAP-Lite-0.711 + !=dev-perl/SOAP-Lite-0.712 ) + dev-perl/Text-CSV + dev-perl/Text-CSV_XS + dev-perl/TimeDate + dev-perl/XML-Parser + + virtual/perl-MIME-Base64 + >=virtual/perl-CGI-3.33 + virtual/perl-libnet + virtual/perl-Digest-MD5 + >=virtual/perl-Digest-SHA-5.48 + + virtual/mta + + apache2? ( mod_perl? ( www-servers/apache:2 + =www-apache/libapreq2-2* www-apache/mod_perl ) + fastcgi? ( || ( www-apache/mod_fcgid www-apache/mod_fastcgi ) + www-servers/apache:2[suexec] ) + !fastcgi? ( + !mod_perl? ( www-servers/apache:2[suexec] ) ) + ) + fastcgi? ( dev-perl/FCGI virtual/httpd-fastcgi ) + !fastcgi? ( + !apache2? ( virtual/httpd-cgi ) )" + +# dev-perl/libwww-perl + +OTRS_HOME="/var/lib/otrs" + +pkg_setup() { + enewuser otrs -1 -1 ${OTRS_HOME} apache -c "OTRS User" + confutils_require_any mysql postgres +} + +src_prepare() { + rm -fr "${S}/scripts"/{auto_*,redhat*,suse*,*.spec} || die + cp Kernel/Config.pm{.dist,} || die + # procmail/fetchmail/mailfilter +# local mailrc=".fetchmailrc .mailfilter .procmailrc" +# for i in ${mailrc}; do +# mv ${i}{.dist,} || die +# done +# fperms 600 ${mailrc} || die +# fowners otrs ${mailrc} || die + + sed -i -e "s:/opt/otrs:${OTRS_HOME}:g" "${S}"/Kernel/Config.pm \ + || die "sed failed" + + grep -lR "/opt" "${S}"/scripts | \ + xargs sed -i -e "s:/opt/otrs:${OTRS_HOME}:g" \ + || die "sed failed" + + cd Kernel/Config/ || die + for i in *.dist; do + cp ${i} $(basename ${i} .dist) || die + done + + perl "${S}"/bin/otrs.SetPermissions.pl \ + --otrs-user=otrs \ + --web-user=apache \ + --otrs-group=apache \ + --web-group=apache "${S}" \ + || die "Could not set permissions" + + echo "CONFIG_PROTECT=\"${OTRS_HOME}/Kernel/Config.pm \ + ${OTRS_HOME}/Kernel/Config/GenericAgent.pm\"" > "${T}/50${PN}" + +} + +src_install() { + dodoc CHANGES CREDITS INSTALL README* TODO UPGRADING \ + doc/otrs-database.dia doc/X-OTRS-Headers.txt || die + + dodoc doc/manual/en/otrs_admin_book.pdf + + insinto "${OTRS_HOME}" + doins -r .fetchmailrc.dist .mailfilter.dist .procmailrc.dist RELEASE \ + Custom Kernel bin scripts var || die "doins failed" + + cat "${S}"/var/cron/*.dist > crontab + insinto /usr/share/doc/${PF}/ + doins crontab + + for a in article log pics/images pics/stats pics sessions spool tmp tmp/CacheFileStorable; do + keepdir "${OTRS_HOME}/var/${a}" + done + doenvd "${T}/50${PN}" || die +} + +# This is too automagic, either einfo telling user or installing to /etc/cron.d/ should be preferred +pkg_config() { + einfo "Installing cronjobs" + crontab -u otrs /usr/share/doc/${PF}/crontab +} + +pkg_postinst() { + elog "Enable cronjobs with the following command:" + elog "crontab -u otrs crontab" +} |