diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2017-01-15 08:55:40 +0100 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2017-01-15 08:55:40 +0100 |
commit | 8c099aa0b092901ea6fa576956ae1a5ebf347e26 (patch) | |
tree | 4667a13ca3d9700ec9d2451d98bb39cb28021db0 /www-apps/otrs/files | |
parent | www-apps/otrs: Bump to v5.0.15 (diff) | |
download | gentoo-8c099aa0b092901ea6fa576956ae1a5ebf347e26.tar.gz gentoo-8c099aa0b092901ea6fa576956ae1a5ebf347e26.tar.bz2 gentoo-8c099aa0b092901ea6fa576956ae1a5ebf347e26.zip |
www-apps/otrs: Security cleanup (bug #598768)
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'www-apps/otrs/files')
-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 |
4 files changed, 0 insertions, 84 deletions
diff --git a/www-apps/otrs/files/apache2.patch b/www-apps/otrs/files/apache2.patch deleted file mode 100644 index 45ef689c3e02..000000000000 --- 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 3817d586b966..000000000000 --- 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 c86b2789855d..000000000000 --- 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 769e8a75ae34..000000000000 --- 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 |