diff options
author | Gunnar Wrobel <wrobel@gentoo.org> | 2007-09-18 12:29:04 +0000 |
---|---|---|
committer | Gunnar Wrobel <wrobel@gentoo.org> | 2007-09-18 12:29:04 +0000 |
commit | b958158925901bd794dc29c02196160aac9ae3b6 (patch) | |
tree | 7cd3cc6796f860a482ea27ac242904a0fabdb2e9 | |
parent | new josm url (diff) | |
download | historical-b958158925901bd794dc29c02196160aac9ae3b6.tar.gz historical-b958158925901bd794dc29c02196160aac9ae3b6.tar.bz2 historical-b958158925901bd794dc29c02196160aac9ae3b6.zip |
Added otrs 2.2.3 to the tree.
Package-Manager: portage-2.1.2.12
-rw-r--r-- | www-apps/otrs/ChangeLog | 7 | ||||
-rw-r--r-- | www-apps/otrs/Manifest | 22 | ||||
-rw-r--r-- | www-apps/otrs/files/digest-otrs-2.2.3 | 3 | ||||
-rw-r--r-- | www-apps/otrs/otrs-2.2.3.ebuild | 118 |
4 files changed, 142 insertions, 8 deletions
diff --git a/www-apps/otrs/ChangeLog b/www-apps/otrs/ChangeLog index dccc63c3dac4..2f3ef67ec697 100644 --- a/www-apps/otrs/ChangeLog +++ b/www-apps/otrs/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for www-apps/otrs # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/otrs/ChangeLog,v 1.37 2007/09/16 05:38:02 wrobel Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/otrs/ChangeLog,v 1.38 2007/09/18 12:29:04 wrobel Exp $ + +*otrs-2.2.3 (18 Sep 2007) + + 18 Sep 2007; <wrobel@gentoo.org> +otrs-2.2.3.ebuild: + Added otrs 2.2.3 to the tree. 16 Sep 2007; <wrobel@gentoo.org> otrs-2.2.2.ebuild: Fixed ebuild type (see #192202). diff --git a/www-apps/otrs/Manifest b/www-apps/otrs/Manifest index a405a824c354..2c951c9fa07e 100644 --- a/www-apps/otrs/Manifest +++ b/www-apps/otrs/Manifest @@ -18,14 +18,19 @@ MD5 5e6c7c1e995fa5c26613ded275a2a453 files/reconfig-2 880 RMD160 eb71fbb7b086e60e648f06828353baf9b3f8bec7 files/reconfig-2 880 SHA256 f08ef6e1258bb64d77fbf34bad33eee2e8556580509706eb17cbd2ae079e0a29 files/reconfig-2 880 DIST otrs-2.2.2.tar.bz2 10259281 RMD160 22d4b502938d5aa8def52997963e800dff7c6aa1 SHA1 5059b70647bd8bff554cb93aabd752c52fd9cc34 SHA256 267893b48eaae15aafcce2e3254d7d12c8204dd72fa674105f61c7bb69571989 +DIST otrs-2.2.3.tar.bz2 10281102 RMD160 ebfcd5083836d07e8e817168ed82e1e795b04433 SHA1 3c5fbcd9e98d854491fe2d001d3bee07b6db77e1 SHA256 d175b8f48f43acd376b1a40477add6e413a03d31209a95a49d30654d7e91b42f EBUILD otrs-2.2.2.ebuild 3189 RMD160 8a72058f1ddf1028d6969b842f61b0008df5b3db SHA1 c5912a7ff9f78ede46b7352c1698ac02d3eab5ae SHA256 1059083f565130393f5e02bed398181e5f5d9719c2ae37ef6846cd11156edfe1 MD5 7d3e5df94d50eaf19661a79819381294 otrs-2.2.2.ebuild 3189 RMD160 8a72058f1ddf1028d6969b842f61b0008df5b3db otrs-2.2.2.ebuild 3189 SHA256 1059083f565130393f5e02bed398181e5f5d9719c2ae37ef6846cd11156edfe1 otrs-2.2.2.ebuild 3189 -MISC ChangeLog 5552 RMD160 5b852a50f31dbd5f4817c082fb859243419a33a7 SHA1 8db87304c31882387d836d560a588bf422c51d3d SHA256 25e9515bdcbe3953b163b5ef4503f763e5de3cbfc2b24e3d1a330eec133d0791 -MD5 20f597d4526a1cc69516265c53638cba ChangeLog 5552 -RMD160 5b852a50f31dbd5f4817c082fb859243419a33a7 ChangeLog 5552 -SHA256 25e9515bdcbe3953b163b5ef4503f763e5de3cbfc2b24e3d1a330eec133d0791 ChangeLog 5552 +EBUILD otrs-2.2.3.ebuild 3189 RMD160 301e710d56f4c776902dd493d2da3bfcb191b2f7 SHA1 3ac7ed9d75adf8103b1a684a04d0e8321a56b03b SHA256 286be4201817a7765255f717dc13abc3feb46a624af8b42dae8d5f8caee334f1 +MD5 529502ab8404cbc29bad52638a0051f8 otrs-2.2.3.ebuild 3189 +RMD160 301e710d56f4c776902dd493d2da3bfcb191b2f7 otrs-2.2.3.ebuild 3189 +SHA256 286be4201817a7765255f717dc13abc3feb46a624af8b42dae8d5f8caee334f1 otrs-2.2.3.ebuild 3189 +MISC ChangeLog 5667 RMD160 4cade7c771630b8cc8e4444d9c2ae96a2e7c1431 SHA1 12613d6463b321f6d053c2da259583b4198bfd8d SHA256 065d42f1642b76d4b281dda7b05128b1740723545a11518939c7cd761a2532ab +MD5 8cc811ecc33d73921e199d55a31c43f6 ChangeLog 5667 +RMD160 4cade7c771630b8cc8e4444d9c2ae96a2e7c1431 ChangeLog 5667 +SHA256 065d42f1642b76d4b281dda7b05128b1740723545a11518939c7cd761a2532ab ChangeLog 5667 MISC metadata.xml 221 RMD160 cb776d24349e87dce7784e24e35d9d84f91da1f7 SHA1 0f301c536f2b097bd3ff21cc1dd05fe6d8f4713e SHA256 e9d20baa1edc4def48ad57c9620d3d0ee361888408261619ff9ea9edb47ce67a MD5 224c312cc23d02aa06c26a4da3cc1f90 metadata.xml 221 RMD160 cb776d24349e87dce7784e24e35d9d84f91da1f7 metadata.xml 221 @@ -33,10 +38,13 @@ SHA256 e9d20baa1edc4def48ad57c9620d3d0ee361888408261619ff9ea9edb47ce67a metadata MD5 7df49c4decda1017f67d65bd4db3a89a files/digest-otrs-2.2.2 241 RMD160 7617a3d2f10da018adc842e50717ea07ce438da6 files/digest-otrs-2.2.2 241 SHA256 fee57aff99b95066d4044099a87b84e55ddb664b95661f9bfdac671daaae3cb9 files/digest-otrs-2.2.2 241 +MD5 27b9edccb886531f0fa056245f65e4e3 files/digest-otrs-2.2.3 241 +RMD160 d93a79cea1e3df5a1097865c2fa9f8f1f519c379 files/digest-otrs-2.2.3 241 +SHA256 01bf04e00642fd87211ca34946d470bd48683885b43eeaa5fd889b6d5e74fecd files/digest-otrs-2.2.3 241 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) -iD8DBQFG7MFBEEcxCpcDQ74RAkCMAKCMFy7khJpau3b5iXuqgdo+ZYFjoQCeJGsY -QH/7v9KHNtBz5Eup2xrifJk= -=g/Lf +iD8DBQFG78SWEEcxCpcDQ74RArkSAJwIeXyz2cf+D+G1LkJQsyrJrihS6gCeKy6b +pWzmYuQGE/mrynVwRh2vE7M= +=kaMq -----END PGP SIGNATURE----- diff --git a/www-apps/otrs/files/digest-otrs-2.2.3 b/www-apps/otrs/files/digest-otrs-2.2.3 new file mode 100644 index 000000000000..5a59fb4c8131 --- /dev/null +++ b/www-apps/otrs/files/digest-otrs-2.2.3 @@ -0,0 +1,3 @@ +MD5 897de4925eb444f689b56165cd35ce8c otrs-2.2.3.tar.bz2 10281102 +RMD160 ebfcd5083836d07e8e817168ed82e1e795b04433 otrs-2.2.3.tar.bz2 10281102 +SHA256 d175b8f48f43acd376b1a40477add6e413a03d31209a95a49d30654d7e91b42f otrs-2.2.3.tar.bz2 10281102 diff --git a/www-apps/otrs/otrs-2.2.3.ebuild b/www-apps/otrs/otrs-2.2.3.ebuild new file mode 100644 index 000000000000..8005da1f360e --- /dev/null +++ b/www-apps/otrs/otrs-2.2.3.ebuild @@ -0,0 +1,118 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/otrs/otrs-2.2.3.ebuild,v 1.1 2007/09/18 12:29:04 wrobel Exp $ + +inherit webapp eutils depend.apache + +IUSE="mysql postgres fastcgi ldap gd pdf" + +DESCRIPTION="OTRS is an Open source Ticket Request System" +HOMEPAGE="http://otrs.org/" +SRC_URI="ftp://ftp.otrs.org/pub/${PN}/${P}.tar.bz2" + +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + +RDEPEND=" + ${DEPEND} + =dev-lang/perl-5* + dev-perl/Date-Pcalc + dev-perl/TimeDate + dev-perl/Crypt-PasswdMD5 + dev-perl/DBI + virtual/perl-CGI + virtual/perl-Digest-MD5 + dev-perl/libwww-perl + dev-perl/IO-stringy + virtual/perl-MIME-Base64 + dev-perl/MIME-tools + dev-perl/MailTools + dev-perl/Net-DNS + virtual/perl-libnet + dev-perl/Authen-SASL + dev-perl/XML-Parser + virtual/mta + pdf? ( dev-perl/PDF-API2 ) + ldap? ( dev-perl/perl-ldap net-nds/openldap ) + mysql? ( dev-perl/DBD-mysql ) + postgres? ( dev-perl/DBD-Pg ) + fastcgi? ( dev-perl/FCGI ) + apache2? ( =www-apache/libapreq2-2* ) + gd? ( dev-perl/GD dev-perl/GDTextUtil dev-perl/GDGraph ) +" + +want_apache + +LICENSE="GPL-2" + +pkg_setup() { + webapp_pkg_setup + if use apache2; then + enewuser otrs -1 -1 /dev/null apache + fi +} + +src_unpack() { + unpack ${A} + cp ${S}/Kernel/Config.pm.dist ${S}/Kernel/Config.pm + + # http://bugs.otrs.org/show_bug.cgi?id=1231 + cd ${S} + epatch ${FILESDIR}/dbi_finish.patch + + cd ${S}/Kernel/Config/ + for foo in *.dist; do cp ${foo} $(basename ${foo} .dist); done + + cd ${S}/scripts + rm -rf auto_* redhat* suse* + + if use fastcgi; then + epatch ${FILESDIR}/apache2.patch + sed -e "s|cgi-bin|fcgi-bin|" -i ${S}/scripts/apache2-httpd.include.conf + sed -e "s|index.pl|index.fpl|" -i ${S}/var/httpd/htdocs/index.html + fi +} + +src_install() { + webapp_src_preinst + dodir ${MY_HOSTROOTDIR}/${PF} + + # install documentation + dodoc CHANGES CREDITS INSTALL README* TODO UPGRADING \ + doc/otrs-database.dia doc/test-* doc/X-OTRS-Headers.txt \ + .fetchmailrc.dist .mailfilter.dist .procmailrc.dist + dohtml doc/manual/{en,de}/html/* + + # copy main files + cp -R .fetchmailrc.dist .mailfilter.dist .procmailrc.dist RELEASE Kernel bin scripts var ${D}/${MY_HOSTROOTDIR}/${PF} + mv ${D}/${MY_HOSTROOTDIR}/${PF}/var/httpd/htdocs/* ${D}/${MY_HTDOCSDIR} + + # remove stuff from ${D} that shouldn't be there + rm -rf ${D}/${MY_HOSTROOTDIR}/${PF}/var/httpd + + # keep some empty dirs + local a + local d="article log pics/images pics/stats pics sessions spool tmp" + for a in ${d}; do + keepdir ${MY_HOSTROOTDIR}/${PF}/var/${a} + done + + # helpers + webapp_configfile ${MY_HOSTROOTDIR}/${PF}/Kernel/Config.pm + webapp_postinst_txt en ${FILESDIR}/postinstall-en-2.txt + webapp_hook_script ${FILESDIR}/reconfig-2 + webapp_src_install +} + +pkg_postinst() { + ewarn "webapp-config will not be run automatically" + ewarn "That messes up Apache configs" + ewarn "Don't run webapp-config with -d otrs. Instead, try" + ewarn "webapp-config -I -h <host> -d ot ${PN} ${PVR}" + ewarn + if ! use apache2; then + ewarn "You did not activate the USE-flag apache2 which means you" + ewarn "will need to create the otrs user yourself. Make this user" + ewarn "a member of your webserver group." + fi + # webapp_pkg_postinst +} |