diff options
author | Patrick Lauer <patrick@gentoo.org> | 2011-08-19 12:49:40 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2011-08-19 12:49:40 +0000 |
commit | 64c17d293885b143b346fe44f7316d31c668a318 (patch) | |
tree | 6a4059c445096d264dc706c8d3520c9de5afad5b /www-apps/otrs | |
parent | Add fix for bug #379817. Sent upstream and will hopefully be even in 3.4.3. (diff) | |
download | historical-64c17d293885b143b346fe44f7316d31c668a318.tar.gz historical-64c17d293885b143b346fe44f7316d31c668a318.tar.bz2 historical-64c17d293885b143b346fe44f7316d31c668a318.zip |
Bump for #379855
Package-Manager: portage-2.2.0_alpha51/cvs/Linux x86_64
Diffstat (limited to 'www-apps/otrs')
-rw-r--r-- | www-apps/otrs/ChangeLog | 7 | ||||
-rw-r--r-- | www-apps/otrs/Manifest | 4 | ||||
-rw-r--r-- | www-apps/otrs/otrs-3.0.10.ebuild | 152 |
3 files changed, 161 insertions, 2 deletions
diff --git a/www-apps/otrs/ChangeLog b/www-apps/otrs/ChangeLog index 1775cf38e065..57e981dc8cb0 100644 --- a/www-apps/otrs/ChangeLog +++ b/www-apps/otrs/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for www-apps/otrs # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/otrs/ChangeLog,v 1.45 2011/08/16 16:45:54 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/otrs/ChangeLog,v 1.46 2011/08/19 12:49:40 patrick Exp $ + +*otrs-3.0.10 (19 Aug 2011) + + 19 Aug 2011; Patrick Lauer <patrick@gentoo.org> +otrs-3.0.10.ebuild: + Bump for #379855 *otrs-3.0.9 (16 Aug 2011) diff --git a/www-apps/otrs/Manifest b/www-apps/otrs/Manifest index 4dfcd8a91903..37f29d741c1b 100644 --- a/www-apps/otrs/Manifest +++ b/www-apps/otrs/Manifest @@ -4,11 +4,13 @@ AUX postinstall-en-2.txt 670 RMD160 4d41cebe350ff1b7a726845c22e882e264d096e6 SHA 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.10.tar.bz2 19614384 RMD160 c72e9947ca4ac29dda7f4d0cf47fa740b355c294 SHA1 d27606d3dff6e178aebbf072f157cbd281750d4e SHA256 b181e203c1397e920ae0e973d2093aeabbf1bfc68ec66d7255284daf1f8a05bb DIST otrs-3.0.7.tar.bz2 17986578 RMD160 e1fe48ad7f6095cd8f4939ceb3b745fba8f65111 SHA1 03a6f4a22d00c9d2939706d2d5383863bfb5a5be SHA256 d384c0e61b60d54bc078c61d0bc94375f5e6be9584fdb2ae8a37a315359a8941 DIST otrs-3.0.9.tar.bz2 19620163 RMD160 744ac3dcbdab9b37a208f4ab9c163eca53269dd8 SHA1 e4d634b1018bdd1a9870d0a3ecad3efe460f798e SHA256 11811fe859628f15125b323543f7f67bcf4b4a4d30feec4625c764164e88d3c0 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 +EBUILD otrs-3.0.10.ebuild 3976 RMD160 3be0452c4b58c755f36b0efa7aaa2d2e3f8738d8 SHA1 4f1dc7a3dd19de57d03caedd750e212e62788ec0 SHA256 910237240b36e0498fe39739f057b60de0e4ee0e386d64bd01909e78c03dfaf9 EBUILD otrs-3.0.7.ebuild 3977 RMD160 6f349478c0889d1de455ac6fad945228b84d5193 SHA1 7839fb99261aea3f23fefb4eddb532f2cab253b0 SHA256 adfaa17ffcc460c5145a5c941b728856fe6893593b29918d5326a85bd5cc67f3 EBUILD otrs-3.0.9.ebuild 3975 RMD160 fa1c95afeace5866d42fd02a444233ad15958954 SHA1 9fd4bf8ad5afd614b14158ce48b2930fb25fd272 SHA256 d4ef055f7d702ee5f683e2ef67f86aae54c245d39b9d57626571df9c3dab10a3 -MISC ChangeLog 6755 RMD160 bb9ec6088d0e0a4de0040d62d34445c6be572164 SHA1 4e505ed4042747f5316401056ee985d659e08539 SHA256 59b2f4c9b075f6179cd2f7d87a9612c7f158b7c723ebe9401a4399495e6ae0ae +MISC ChangeLog 6874 RMD160 0a52d4497eac82e69706e49b38333990a098c92f SHA1 a97e6162d42dffc0319a7ef3a2798076e2a6183c SHA256 82c64ff3be780d64a43be438f607ed1c09434ab54e9cc9d84417dbc8a9a77c47 MISC metadata.xml 408 RMD160 da50a119f1080b516b98a82a1632c80792e9b828 SHA1 97bfca80134bc2da65b849f472f79a6fa292cd4f SHA256 83cd0c36f1d093461fc9cf081c3801102671ff3da66ed48c5222117daf1c50ca diff --git a/www-apps/otrs/otrs-3.0.10.ebuild b/www-apps/otrs/otrs-3.0.10.ebuild new file mode 100644 index 000000000000..afcdf783fbab --- /dev/null +++ b/www-apps/otrs/otrs-3.0.10.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.10.ebuild,v 1.1 2011/08/19 12:49:40 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" +} |