diff options
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/otrs/Manifest | 9 | ||||
-rw-r--r-- | www-apps/otrs/files/apache2.patch | 25 | ||||
-rw-r--r-- | www-apps/otrs/files/dbi_finish.patch | 10 | ||||
-rw-r--r-- | www-apps/otrs/files/postinstall-en-2.txt | 18 | ||||
-rw-r--r-- | www-apps/otrs/files/reconfig-2 | 31 | ||||
-rw-r--r-- | www-apps/otrs/otrs-3.0.9-r1.ebuild | 125 | ||||
-rw-r--r-- | www-apps/otrs/otrs-3.0.9.ebuild | 123 |
7 files changed, 0 insertions, 341 deletions
diff --git a/www-apps/otrs/Manifest b/www-apps/otrs/Manifest deleted file mode 100644 index 8c6e94d..0000000 --- a/www-apps/otrs/Manifest +++ /dev/null @@ -1,9 +0,0 @@ -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-3.0.9.tar.bz2 19620163 RMD160 744ac3dcbdab9b37a208f4ab9c163eca53269dd8 SHA1 e4d634b1018bdd1a9870d0a3ecad3efe460f798e SHA256 11811fe859628f15125b323543f7f67bcf4b4a4d30feec4625c764164e88d3c0 -EBUILD otrs-3.0.9-r1.ebuild 3300 RMD160 68b12ad7ad8aa4227e26841dd895c8dfa2caf5ac SHA1 39e4f2f325559932b5d0cd797fb8e086888838a4 SHA256 305e3fccbc54e79724b5909b4a5325564df79e10573dec5c2472122417fb0090 -EBUILD otrs-3.0.9.ebuild 3239 RMD160 ec429aa3dfbe9d1fd13cf94551059e2dfc3a2783 SHA1 6c585b9810cf35a74ff99a613a96cc7d9ec7c0d2 SHA256 ae266cf5dbdd4f385030ee894c015fd31fec369d218c49eb9d41c090856b2644 -MISC ChangeLog 415 RMD160 f5704290e5a3fecf21a73b100e1cf0c951c107dd SHA1 25e3da77530c73ae08bd9b4f098eb0494b53616f SHA256 a066fe6756a2f680131197d609b2c8cbe044ef1b310d8e0ee2c3b98d7930cc49 -MISC metadata.xml 163 RMD160 fe68e6807c1264b98b9765a956f417707fb80c87 SHA1 394758f80536134eb8ec533e8da4cdaa9457c8a6 SHA256 ce8243e731ce83015fdd01984552e5753453ee66023f1d5d70d625f6963e075c diff --git a/www-apps/otrs/files/apache2.patch b/www-apps/otrs/files/apache2.patch deleted file mode 100644 index 45ef689..0000000 --- a/www-apps/otrs/files/apache2.patch +++ /dev/null @@ -1,25 +0,0 @@ ---- apache2-httpd.include.conf.orig 2007-09-14 07:49:10.000000000 +0200 -+++ apache2-httpd.include.conf 2007-09-14 07:49:50.000000000 +0200 -@@ -11,7 +11,7 @@ - <IfModule mod_perl.c> - - # load all otrs modules -- Perlrequire /opt/otrs/scripts/apache2-perl-startup.pl -+ #Perlrequire /opt/otrs/scripts/apache2-perl-startup.pl - - # Apache::Reload - Reload Perl Modules when Changed on Disk - PerlModule Apache::Reload -@@ -22,10 +22,10 @@ - # ErrorDocument 403 /otrs/customer.pl - AllowOverride None - ErrorDocument 403 /otrs/index.pl -- SetHandler perl-script -- PerlHandler ModPerl::Registry -+ #SetHandler perl-script -+ #PerlHandler ModPerl::Registry - Options +ExecCGI -- PerlOptions +ParseHeaders -+ #PerlOptions +ParseHeaders - Order allow,deny - Allow from all - </Location> diff --git a/www-apps/otrs/files/dbi_finish.patch b/www-apps/otrs/files/dbi_finish.patch deleted file mode 100644 index 3817d58..0000000 --- a/www-apps/otrs/files/dbi_finish.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- Kernel/System/DB.pm.old Wed Jun 14 15:45:49 2006 -+++ Kernel/System/DB.pm Wed Jun 14 15:43:12 2006 -@@ -217,6 +217,7 @@ - ); - } - # do disconnect -+ $Self->{Curser}->finish() if (defined($Self->{Curser})); - $Self->{dbh}->disconnect() if ($Self->{dbh}); - return 1; - } diff --git a/www-apps/otrs/files/postinstall-en-2.txt b/www-apps/otrs/files/postinstall-en-2.txt deleted file mode 100644 index c86b278..0000000 --- a/www-apps/otrs/files/postinstall-en-2.txt +++ /dev/null @@ -1,18 +0,0 @@ - -Your installation is almost complete. -1. You now need to edit ${VHOST_ROOT}/${PN}-${PVR}/Kernel/Config.pm -and set some Kernel::Config options (FQDN, SystemID, TicketHook, Home, ...). - -2. Configure and restart your webserver. -Read /usr/share/doc/${PN}-${PVR}/README.webserver.bz2. -Sample config files are in ${VHOST_ROOT}/${PN}-${PVR}/scripts - -If you are using FastCGI, don't forget to add -D FASTCGI -to your Apache options. - -3. Setup your database. Read /usr/share/doc/${PN}-${PVR}/README.database.bz2 - -4. Read the INSTALL file in /usr/share/doc/${PN}-${PVR}/, pp. 9-12, -to finish the installation. - -If you are upgrading, read /usr/share/doc/${PN}-${PVR}/UPGRADING.bz2 diff --git a/www-apps/otrs/files/reconfig-2 b/www-apps/otrs/files/reconfig-2 deleted file mode 100644 index 769e8a7..0000000 --- a/www-apps/otrs/files/reconfig-2 +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/bash -PF=${PN}-${PVR} - -die() { - echo "******" - echo $1 - echo "******" - exit 1 -} - -if [ $1 = "install" ]; then - # edit Apache configs - cd ${VHOST_ROOT}/${PF}/scripts - sed -e "s|/opt/otrs/var/httpd/htdocs/|${MY_INSTALLDIR}/|g" -i apache-httpd.include.conf apache2-httpd.include.conf || die "sed failed" - - # set $HOME - grep -lR "/opt" * | xargs sed -i "s|/opt/otrs|${VHOST_ROOT}/${PF}|g" || die "sed failed" - - sed -i "s|/opt/otrs|${VHOST_ROOT}/${PF}|g" ${VHOST_ROOT}/${PF}/Kernel/Config.pm || die "sed failed" - - # set permissions - ${VHOST_ROOT}/${PF}/bin/SetPermissions.sh ${VHOST_ROOT}/${PF} otrs apache apache apache > /dev/null || die "Could not set permissions" - - -elif [ $1 = "clean" ]; then - echo "Please examine the contents of the following directories" - echo "and delete anything that is no longer necessary" - echo - echo ${VHOST_ROOT}/${PF} - echo ${MY_INSTALLDIR} -fi diff --git a/www-apps/otrs/otrs-3.0.9-r1.ebuild b/www-apps/otrs/otrs-3.0.9-r1.ebuild deleted file mode 100644 index 018f8a2..0000000 --- a/www-apps/otrs/otrs-3.0.9-r1.ebuild +++ /dev/null @@ -1,125 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/otrs/otrs-2.3.3.ebuild,v 1.2 2009/05/26 17:08:02 arfrever Exp $ - -inherit webapp eutils depend.apache - -DESCRIPTION="OTRS is an Open source Ticket Request System" -HOMEPAGE="http://otrs.org/" -SRC_URI="ftp://ftp.otrs.org/pub/${PN}/${P}.tar.bz2" - -LICENSE="GPL-2" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" -IUSE="ajax mysql postgres fastcgi ldap gd pdf linguas_en linguas_de" - -RDEPEND="${DEPEND} - virtual/mta - =dev-lang/perl-5* - - dev-perl/Authen-SASL - dev-perl/Crypt-PasswdMD5 - dev-perl/DBI - dev-perl/Date-Pcalc - dev-perl/IO-stringy - dev-perl/MIME-tools - dev-perl/MailTools - dev-perl/Net-DNS - dev-perl/TimeDate - dev-perl/XML-Parser - dev-perl/libwww-perl - dev-perl/Text-CSV_XS - virtual/perl-CGI - virtual/perl-Digest-MD5 - virtual/perl-MIME-Base64 - virtual/perl-libnet - - ajax? ( >=dev-perl/JSON-XS-2.3 ) - apache2? ( =www-apache/libapreq2-2* ) - fastcgi? ( dev-perl/FCGI ) - gd? ( dev-perl/GD dev-perl/GDTextUtil dev-perl/GDGraph ) - ldap? ( dev-perl/perl-ldap net-nds/openldap ) - mysql? ( >=dev-perl/DBD-mysql-3.0005 ) - pdf? ( dev-perl/PDF-API2 ) - postgres? ( dev-perl/DBD-Pg ) -" - -want_apache - -pkg_setup() { - depend.apache_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,} - - cd "${S}"/Kernel/Config/ - for i in *.dist; do - cp ${i} $(basename ${i} .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} - - dodoc CHANGES CREDITS INSTALL README* TODO UPGRADING \ - doc/otrs-database.dia doc/otrs-database.png \ - .fetchmailrc.dist .mailfilter.dist .procmailrc.dist \ - doc/X-OTRS-Headers.txt - - docinto sample_mails - doc/sample_mails/* - - if use linguas_en; then - docinto manual_en - dodoc doc/manual/en/otrs_admin_book.pdf - fi - if use linguas_de; then - docinto manual_de - dodoc doc/manual/de/otrs_admin_book.pdf - fi - - insinto "${MY_HOSTROOTDIR}"/${PF} - doins -r .fetchmailrc.dist .mailfilter.dist .procmailrc.dist RELEASE Kernel bin scripts var - - mv "${D}/${MY_HOSTROOTDIR}"/${PF}/var/httpd/htdocs/* "${D}/${MY_HTDOCSDIR}" - rm -rf "${D}/${MY_HOSTROOTDIR}"/${PF}/var/httpd - - local a d="article log pics/images pics/stats pics sessions spool tmp" - for a in ${d}; do - keepdir "${MY_HOSTROOTDIR}"/${PF}/var/${a} - done - - 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 -} diff --git a/www-apps/otrs/otrs-3.0.9.ebuild b/www-apps/otrs/otrs-3.0.9.ebuild deleted file mode 100644 index 5a423de..0000000 --- a/www-apps/otrs/otrs-3.0.9.ebuild +++ /dev/null @@ -1,123 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/otrs/otrs-2.3.3.ebuild,v 1.2 2009/05/26 17:08:02 arfrever Exp $ - -inherit webapp eutils depend.apache - -DESCRIPTION="OTRS is an Open source Ticket Request System" -HOMEPAGE="http://otrs.org/" -SRC_URI="ftp://ftp.otrs.org/pub/${PN}/${P}.tar.bz2" - -LICENSE="GPL-2" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" -IUSE="mysql postgres fastcgi ldap gd pdf linguas_en linguas_de" - -RDEPEND="${DEPEND} - virtual/mta - =dev-lang/perl-5* - - dev-perl/Authen-SASL - dev-perl/Crypt-PasswdMD5 - dev-perl/DBI - dev-perl/Date-Pcalc - dev-perl/IO-stringy - dev-perl/MIME-tools - dev-perl/MailTools - dev-perl/Net-DNS - dev-perl/TimeDate - dev-perl/XML-Parser - dev-perl/libwww-perl - virtual/perl-CGI - virtual/perl-Digest-MD5 - virtual/perl-MIME-Base64 - virtual/perl-libnet - - apache2? ( =www-apache/libapreq2-2* ) - fastcgi? ( dev-perl/FCGI ) - gd? ( dev-perl/GD dev-perl/GDTextUtil dev-perl/GDGraph ) - ldap? ( dev-perl/perl-ldap net-nds/openldap ) - mysql? ( >=dev-perl/DBD-mysql-3.0005 ) - pdf? ( dev-perl/PDF-API2 ) - postgres? ( dev-perl/DBD-Pg ) -" - -want_apache - -pkg_setup() { - depend.apache_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,} - - cd "${S}"/Kernel/Config/ - for i in *.dist; do - cp ${i} $(basename ${i} .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} - - dodoc CHANGES CREDITS INSTALL README* TODO UPGRADING \ - doc/otrs-database.dia doc/otrs-database.png \ - .fetchmailrc.dist .mailfilter.dist .procmailrc.dist \ - doc/X-OTRS-Headers.txt - - docinto sample_mails - doc/sample_mails/* - - if use linguas_en; then - docinto manual_en - dodoc doc/manual/en/otrs_admin_book.pdf - fi - if use linguas_de; then - docinto manual_de - dodoc doc/manual/de/otrs_admin_book.pdf - fi - - insinto "${MY_HOSTROOTDIR}"/${PF} - doins -r .fetchmailrc.dist .mailfilter.dist .procmailrc.dist RELEASE Kernel bin scripts var - - mv "${D}/${MY_HOSTROOTDIR}"/${PF}/var/httpd/htdocs/* "${D}/${MY_HTDOCSDIR}" - rm -rf "${D}/${MY_HOSTROOTDIR}"/${PF}/var/httpd - - local a d="article log pics/images pics/stats pics sessions spool tmp" - for a in ${d}; do - keepdir "${MY_HOSTROOTDIR}"/${PF}/var/${a} - done - - 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 -} |