diff options
author | Patrick Lauer <patrick@gentoo.org> | 2013-02-07 06:02:38 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2013-02-07 06:02:38 +0000 |
commit | 267f2f5b510592f39c91b3689ddaf4fac7585a3f (patch) | |
tree | 9d30bcf327e971bc08ebd50162a381bceea8fcec /www-apps/otrs | |
parent | Add KDE SC 4.10.0 (diff) | |
download | historical-267f2f5b510592f39c91b3689ddaf4fac7585a3f.tar.gz historical-267f2f5b510592f39c91b3689ddaf4fac7585a3f.tar.bz2 historical-267f2f5b510592f39c91b3689ddaf4fac7585a3f.zip |
Bump
Package-Manager: portage-2.2.0_alpha161/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.2.1.ebuild | 156 |
3 files changed, 165 insertions, 2 deletions
diff --git a/www-apps/otrs/ChangeLog b/www-apps/otrs/ChangeLog index fa74bcb3d4cc..984d7cf4d664 100644 --- a/www-apps/otrs/ChangeLog +++ b/www-apps/otrs/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for www-apps/otrs # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/otrs/ChangeLog,v 1.61 2013/01/11 04:05:55 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/otrs/ChangeLog,v 1.62 2013/02/07 06:02:28 patrick Exp $ + +*otrs-3.2.1 (07 Feb 2013) + + 07 Feb 2013; Patrick Lauer <patrick@gentoo.org> +otrs-3.2.1.ebuild: + Bump *otrs-3.1.12 (11 Jan 2013) diff --git a/www-apps/otrs/Manifest b/www-apps/otrs/Manifest index abfa9529669f..39f73401eb1f 100644 --- a/www-apps/otrs/Manifest +++ b/www-apps/otrs/Manifest @@ -4,7 +4,9 @@ AUX postinstall-en-2.txt 670 SHA256 46f22f02a567e97794b3b3f2b7aa3810d5daea1afdf1 AUX reconfig-2 880 SHA256 f08ef6e1258bb64d77fbf34bad33eee2e8556580509706eb17cbd2ae079e0a29 SHA512 e9b62f875fad059983a7dbe66a7966502b38610bdc0ca4bdab952644f69c22c7b3ad0dcf04c6a9f76273c4a6ffa330162af436573844d0bf0caa02d9ae5889c2 WHIRLPOOL ac711e5e44b7d6eccf32bb531c3eac555161a567b140589eb081784532e5b15a928ecc613c7c12c77e1d452f746107f33d781fa6241ac5cb45ee75c01bf659d1 DIST otrs-3.1.11.tar.bz2 26094219 SHA256 188e1b676d7eb2021dcab17a0ab5c04793aa84cba429e1661eaa229b564c4696 SHA512 b521adadb74261b6c328ba115a8357d35ae34f8155b9c5b728cab7c88fbb9335cdb49968a50ac18c66802e5eed7e6796529dfa645d1dbae88a48a89d19876555 WHIRLPOOL 5b890bbe0394f41cfade64b592f693cb3d23010c3a328500affa02fdf2bc2cae86923149193ab141aa4e0e7fb773bf32f5c54bdd1f142d794ce84e7a2df62de6 DIST otrs-3.1.12.tar.bz2 26126211 SHA256 11786cc52dd3913443ad298e7fe41b6a63aed9e61c75f7182b7f9ab42fbbbe7d SHA512 b7aef450e694331db5af37ce1f488ca2e342f2f8971880a54f06c3c35236d78e8d15cd324f169de80f172f14c58e04c95e1c1aa5559180798d3aad4cb3d7c10c WHIRLPOOL dd4ecbc23d8bfae4bfbcf869b68c91589eb6bdfa1a5d62cd15306e16b84de1975401a74d9a23fbd285e5273aa91f9bc7df07dbea995011188bf15489cd47ac58 +DIST otrs-3.2.1.tar.bz2 18065388 SHA256 4518753fa4d558ab67b6850a1e11f824c297c8b3afea86345240e39a4ba8c933 SHA512 46d267fcaae769b4c770f6021e08976ac6f7e1d1cf409717a92b6a615ff9c5b915df68555ab7b20a4d60b10cfa4e4b370112026916511ce7d9a64755abdd5b2b WHIRLPOOL 4d7f3c003457c4da9ec0ae91439be2f1619a9def15529e43c16d43ee6e63f2b0b13c4e064faf5a44b2abac1cf682921ded73612c4184ca1f9c587d812cfa2d2e EBUILD otrs-3.1.11.ebuild 4122 SHA256 9cf1b5900338bb2789159f1a235bc135b2cbacf9cedae87aa277632854540a76 SHA512 dadc86c0dabbd052882d8b319a8709b151946f1e4b9b5b6e81c547236c5d7d65b942b0536e23087effc3e4e30e740498980b487dad46ac3dac422e12590fb0fd WHIRLPOOL 5dde01f0717da8042faa5a3f7aedcbe86de58c1371fcb5dd7b8dda87db738516bce2247e84d1f99b6eac7a2eacfbb936020b9e6da755b9cb1383e52a77362061 EBUILD otrs-3.1.12.ebuild 4122 SHA256 ceb7c4cf3b1bc5b6c582499410756fc8a711690752b8da470b1bf5d98ad19b91 SHA512 5c445f88bb9c173433d65e6758011d11b40354758ed371914671cca39602efabce47bf48b02b967e34ebde3f87427ff0285fa0cb46bdc518e197ab5d6e42bb33 WHIRLPOOL 44a5105716bbabc10c5cc0901824fd56e48b79c2c7e7fd41a8b6a653eea8a3205adf383603f23cbf8cc1be315bd3be1656a14a201362f4ed239be5facb569a78 -MISC ChangeLog 8774 SHA256 770294a28df4cf0a1ba1e88f7ca869772ff0a9640df59c9b3957e6f819cd4e8d SHA512 a9097be9794b246de9f0fc2915a88406d78bed1a7e2ca939de068b1a6871be9a2c55bc7b3c4918b8bc47b0adb2243f1ce93f7070060d5f989a8e1cbb7e28b51f WHIRLPOOL 4d6730d0105ed983560f5849c33a0f2d32f9a0c56e86804dc29beb990666ed1300702d076304578fb3c692837a9ed4b20916da0d803a98caff6234e1418533bd +EBUILD otrs-3.2.1.ebuild 4121 SHA256 722dcb866400f5d2d39139802e34ec98e68198b78ea8b9daab93ed69cb4da84e SHA512 95218d3fef561dc96fba770b0f0185d936dd343ddf357f3adf6b5e38b0a1a658eb561bb0bceb9f2fb7a67ba24a5702b10524bd87c1afb0520f0c52d2417091dd WHIRLPOOL b3d1c703b56198e55b8841f1eefbed28d5f28b53d6091cda27bc982bf3404e5920dcf53bda5294a4b5b6270227bfb4061c2be54dfbd9716db6f686918484bfea +MISC ChangeLog 8879 SHA256 3290d9b690edc02d0650de1be98664008507a54a15f0f01dfec1b86c7571b6ea SHA512 7801c82561638c23143ac89ca7d6fb9268b67cb8f1911e1885d3bd507f2dd72a74df3a5667f9ca520ad418c10913ae343a32a6a4850981b258d3da3953e5d088 WHIRLPOOL 11cdc68235ce75b1e0570c9de79dcdd42965ded2111321fb24f394a799e36ab0774fb595b39e0758d6d8de2d34a6d3455d4006352e00b80613a57f1c6f02b60b MISC metadata.xml 408 SHA256 83cd0c36f1d093461fc9cf081c3801102671ff3da66ed48c5222117daf1c50ca SHA512 b1620943f9b37afbbf4df56c3442647298f6dfdb9426ab8c1e5e90f536e9a27912a98f9a3cd828de3d6397e3613bab1bd996210c1908d9f81ac9ef03dd65e490 WHIRLPOOL 9608a3b2702b408a097786644cc24e85bdf0cdf877a55d136bfd4ed85c05ce4c36f14fd899758cc778b074af223a1e44b9842848337a217f5a88d13519dad07e diff --git a/www-apps/otrs/otrs-3.2.1.ebuild b/www-apps/otrs/otrs-3.2.1.ebuild new file mode 100644 index 000000000000..3d54e17a3115 --- /dev/null +++ b/www-apps/otrs/otrs-3.2.1.ebuild @@ -0,0 +1,156 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/otrs/otrs-3.2.1.ebuild,v 1.1 2013/02/07 06:02:28 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() { + # The enewuser otrs will fail if apache isn't there, but it's an optional dep + # so we create the apache user here just in case + enewgroup apache 81 + enewuser apache 81 -1 /var/www apache + enewuser otrs -1 -1 ${OTRS_HOME} apache + 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* UPGRADING \ + 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" +} |