added missing perl requirement checked with /opt/otrs/bin/otrs.CheckModules.pl [release 3.2.16-2mamba;Wed May 28 2014]
This commit is contained in:
parent
b75bcc63e9
commit
e7cece4dbf
@ -1,11 +0,0 @@
|
|||||||
diff -Nru otrs-2.3.4.orig/Kernel/cpan-lib/File/Temp.pm otrs-2.3.4/Kernel/cpan-lib/File/Temp.pm
|
|
||||||
--- otrs-2.3.4.orig/Kernel/cpan-lib/File/Temp.pm 2008-07-01 09:39:25.000000000 +0200
|
|
||||||
+++ otrs-2.3.4/Kernel/cpan-lib/File/Temp.pm 2009-03-13 21:07:32.000000000 +0100
|
|
||||||
@@ -146,7 +146,6 @@
|
|
||||||
use Fcntl 1.03;
|
|
||||||
use IO::Seekable; # For SEEK_*
|
|
||||||
use Errno;
|
|
||||||
-require VMS::Stdio if $^O eq 'VMS';
|
|
||||||
|
|
||||||
# pre-emptively load Carp::Heavy. If we don't when we run out of file
|
|
||||||
# handles and attempt to call croak() we get an error message telling
|
|
10
otrs-3.2.16-perl-5.16.patch
Normal file
10
otrs-3.2.16-perl-5.16.patch
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
--- otrs-3.2.16/Kernel/cpan-lib/File/Temp.pm.orig 2014-05-28 20:35:41.451616386 +0200
|
||||||
|
+++ otrs-3.2.16/Kernel/cpan-lib/File/Temp.pm 2014-05-28 20:36:00.147264991 +0200
|
||||||
|
@@ -146,7 +146,6 @@
|
||||||
|
use Fcntl 1.03;
|
||||||
|
use IO::Seekable; # For SEEK_*
|
||||||
|
use Errno;
|
||||||
|
-require VMS::Stdio if $^O eq 'VMS';
|
||||||
|
|
||||||
|
# pre-emptively load Carp::Heavy. If we don't when we run out of file
|
||||||
|
# handles and attempt to call croak() we get an error message telling
|
84
otrs.spec
84
otrs.spec
@ -28,8 +28,8 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: %{?sitename:%sitename-website-}otrs
|
Name: %{?sitename:%sitename-website-}otrs
|
||||||
Version: 3.2.9
|
Version: 3.2.16
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: An Open source Ticket Request System (also well known as trouble ticket system)
|
Summary: An Open source Ticket Request System (also well known as trouble ticket system)
|
||||||
Group: Applications/Web
|
Group: Applications/Web
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -38,14 +38,74 @@ Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|||||||
URL: http://www.otrs.org/
|
URL: http://www.otrs.org/
|
||||||
Source: http://ftp.otrs.org/pub/otrs/otrs-%{version}.tar.gz
|
Source: http://ftp.otrs.org/pub/otrs/otrs-%{version}.tar.gz
|
||||||
Source1: otrs-initscript
|
Source1: otrs-initscript
|
||||||
Patch0: otrs-2.3.4-perl-5.10.0.patch
|
Patch0: otrs-3.2.16-perl-5.16.patch
|
||||||
License: GPL
|
License: GPL
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: apache-mod_perl
|
||||||
|
BuildRequires: libperl
|
||||||
|
BuildRequires: perl-Algorithm-Diff
|
||||||
|
BuildRequires: perl-Authen-NTLM
|
||||||
|
BuildRequires: perl-Authen-Radius
|
||||||
|
BuildRequires: perl-CSS-Minifier
|
||||||
|
BuildRequires: perl-Class-Inspector
|
||||||
|
BuildRequires: perl-Convert-BinHex
|
||||||
|
BuildRequires: perl-Crypt-PasswdMD5
|
||||||
|
BuildRequires: perl-DBI
|
||||||
|
BuildRequires: perl-Date-Pcalc
|
||||||
|
BuildRequires: perl-Digest-HMAC
|
||||||
|
BuildRequires: perl-Email-Valid
|
||||||
|
BuildRequires: perl-Encode-Locale
|
||||||
|
BuildRequires: perl-FCGI
|
||||||
|
BuildRequires: perl-File-Listing
|
||||||
|
BuildRequires: perl-GSSAPI
|
||||||
|
BuildRequires: perl-HTTP-Date
|
||||||
|
BuildRequires: perl-HTTP-GHTTP
|
||||||
|
BuildRequires: perl-HTTP-Message
|
||||||
|
BuildRequires: perl-HTTP-Negotiate
|
||||||
|
BuildRequires: perl-IO-Interactive
|
||||||
|
BuildRequires: perl-IO-Socket-SSL
|
||||||
|
BuildRequires: perl-IO-stringy
|
||||||
|
BuildRequires: perl-JSON
|
||||||
|
BuildRequires: perl-JavaScript-Minifier
|
||||||
|
BuildRequires: perl-LWP-MediaTypes
|
||||||
|
BuildRequires: perl-MIME-Tools
|
||||||
|
BuildRequires: perl-Mail-IMAPClient
|
||||||
|
BuildRequires: perl-Mail-POP3Client
|
||||||
|
BuildRequires: perl-Mail-Tools
|
||||||
|
BuildRequires: perl-Net-HTTP
|
||||||
|
BuildRequires: perl-Net-IMAP-Simple
|
||||||
|
BuildRequires: perl-Net-LDAP
|
||||||
|
BuildRequires: perl-Net-SMTP-SSL
|
||||||
|
BuildRequires: perl-Net-SMTP-TLS-ButMaintained
|
||||||
|
BuildRequires: perl-Net-SSLeay
|
||||||
|
BuildRequires: perl-SOAP-Lite
|
||||||
|
BuildRequires: perl-Test-WWW-Selenium
|
||||||
|
BuildRequires: perl-Text-CSV
|
||||||
|
BuildRequires: perl-Text-Diff
|
||||||
|
BuildRequires: perl-TimeDate
|
||||||
|
BuildRequires: perl-URI
|
||||||
|
BuildRequires: perl-URI-urn
|
||||||
|
BuildRequires: perl-WWW-RobotRules
|
||||||
|
BuildRequires: perl-XML-FeedPP
|
||||||
|
BuildRequires: perl-XML-TreePP
|
||||||
|
BuildRequires: perl-YAML
|
||||||
|
BuildRequires: perl-devel
|
||||||
|
BuildRequires: perl-libwww
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
Requires(pre): httpd
|
Requires(pre): httpd
|
||||||
Requires: perl-Apache-Reload
|
Requires: perl-Apache-Reload
|
||||||
Requires: perl-Apache-Clean
|
Requires: perl-Apache-Clean
|
||||||
Requires: perl-DBD-mysql
|
Requires: perl-DBD-mysql
|
||||||
Requires: perl-Net-DNS
|
Requires: perl-Net-DNS
|
||||||
|
Requires: perl-YAML-LibYAML
|
||||||
|
Requires: perl-Crypt-SSLeay
|
||||||
|
Requires: perl-Encode-HanExtra
|
||||||
|
Requires: perl-GD
|
||||||
|
Requires: perl-GD-Text
|
||||||
|
Requires: perl-GD-Graph
|
||||||
|
Requires: perl-JSON-XS
|
||||||
|
Requires: perl-PDF-API2
|
||||||
Provides: perl(HTML::Safe)
|
Provides: perl(HTML::Safe)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -100,6 +160,9 @@ install -d %{buildroot}%{_sysconfdir}/httpd/httpd.d
|
|||||||
# install initscript
|
# install initscript
|
||||||
install -D -m0755 %{SOURCE1} %{buildroot}%{_initrddir}/otrs
|
install -D -m0755 %{SOURCE1} %{buildroot}%{_initrddir}/otrs
|
||||||
|
|
||||||
|
# Don't package those files
|
||||||
|
rm -f %{buildroot}/opt/otrs/{find_provides.sh,find_requires.sh}
|
||||||
|
|
||||||
%if "%{?servername}" != ""
|
%if "%{?servername}" != ""
|
||||||
cat > %{buildroot}%{_sysconfdir}/httpd/httpd.d/%{servername}.conf << EOF
|
cat > %{buildroot}%{_sysconfdir}/httpd/httpd.d/%{servername}.conf << EOF
|
||||||
%else
|
%else
|
||||||
@ -124,13 +187,14 @@ PerlModule Apache2::RequestRec
|
|||||||
Options +ExecCGI +Includes
|
Options +ExecCGI +Includes
|
||||||
PerlOptions +ParseHeaders
|
PerlOptions +ParseHeaders
|
||||||
PerlOptions +SetupEnv
|
PerlOptions +SetupEnv
|
||||||
|
Require all granted
|
||||||
Order allow,deny
|
Order allow,deny
|
||||||
Allow from all
|
Allow from all
|
||||||
</Location>
|
</Location>
|
||||||
|
|
||||||
<Directory %{installdir}/var/httpd/htdocs></Directory>
|
<Directory %{installdir}/var/httpd/htdocs></Directory>
|
||||||
AllowOverride All
|
AllowOverride All
|
||||||
RewriteEngine on
|
Require all granted
|
||||||
Order allow,deny
|
Order allow,deny
|
||||||
Allow from All
|
Allow from All
|
||||||
</Directory>
|
</Directory>
|
||||||
@ -163,11 +227,13 @@ exit 0
|
|||||||
%post
|
%post
|
||||||
if [ $1 -eq 1 ]; then
|
if [ $1 -eq 1 ]; then
|
||||||
# new install
|
# new install
|
||||||
|
systemctl -q daemon-reload
|
||||||
/sbin/chkconfig --add otrs
|
/sbin/chkconfig --add otrs
|
||||||
/sbin/service otrs start
|
/sbin/service otrs start
|
||||||
fi
|
fi
|
||||||
if [ $1 -ge 1 ]; then
|
if [ $1 -ge 1 ]; then
|
||||||
/opt/otrs/bin/SetPermissions.sh /opt/otrs otrs apache apache nobody >/dev/null
|
/opt/otrs/bin/otrs.SetPermissions.pl /opt/otrs --otrs-user=otrs \
|
||||||
|
--otrs-group=apache --web-user=apache --web-group=nobody /opt/otrs >/dev/null
|
||||||
fi
|
fi
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
@ -191,9 +257,17 @@ exit 0
|
|||||||
%endif
|
%endif
|
||||||
%attr(755,otrs,otrs) /opt/otrs
|
%attr(755,otrs,otrs) /opt/otrs
|
||||||
%config(noreplace) /opt/otrs/Kernel/Config.pm
|
%config(noreplace) /opt/otrs/Kernel/Config.pm
|
||||||
|
%config(noreplace) /opt/otrs/Kernel/Config/GenericAgent.pm
|
||||||
%doc COPYING
|
%doc COPYING
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed May 28 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.16-2mamba
|
||||||
|
- added missing perl requirement checked with /opt/otrs/bin/otrs.CheckModules.pl
|
||||||
|
|
||||||
|
* Wed May 28 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.16-1mamba
|
||||||
|
- update to 3.2.16
|
||||||
|
- fix SetPermissions script name in post script
|
||||||
|
|
||||||
* Mon Aug 12 2013 Automatic Build System <autodist@mambasoft.it> 3.2.9-1mamba
|
* Mon Aug 12 2013 Automatic Build System <autodist@mambasoft.it> 3.2.9-1mamba
|
||||||
- automatic update by autodist
|
- automatic update by autodist
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user