fixed spec file

This commit is contained in:
Ralf Becker 2010-03-03 18:41:46 +00:00
parent e5ebfd96db
commit 8368344f0f

View File

@ -1,5 +1,4 @@
%define packagename eGroupware %define packagename eGroupware
%define egwdirname egroupware
%define egwversion 1.6 %define egwversion 1.6
%define packaging 003 %define packaging 003
#define epoch 1 #define epoch 1
@ -40,6 +39,9 @@
%define distribution CentOS %{?centos_version} %define distribution CentOS %{?centos_version}
%define extra_requires httpd php-mysql php-xml %define extra_requires httpd php-mysql php-xml
%endif %endif
Prefix: /usr/share
%define egwdir %{prefix}/egroupware
%define egwdatadir /var/lib/egroupware
Name: %{packagename} Name: %{packagename}
Version: %{egwversion}.%{packaging} Version: %{egwversion}.%{packaging}
@ -60,13 +62,10 @@ Source5: %{name}-rpmlintrc
Patch0: class.uiasyncservice.inc.php.patch Patch0: class.uiasyncservice.inc.php.patch
BuildRoot: /tmp/%{packagename}-buildroot BuildRoot: /tmp/%{packagename}-buildroot
Requires: %{php} %{php}-mbstring %{php}-imap %{php}-gd %{php}-pear %{php}-posix %{extra_requires} %{cron} %{packagename}-egw-pear >= %{egwversion}.%{packaging} Requires: %{php} %{php}-mbstring %{php}-imap %{php}-gd %{php}-pear %{php}-posix %{extra_requires} %{cron} %{packagename}-egw-pear >= %{egwversion}.%{packaging}
Provides: egw-core egw-addressbook egw-etemplate
Requires: %{packagename}-core %{packagename}-bookmarks %{packagename}-calendar %{packagename}-developer_tools %{packagename}-emailadmin %{packagename}-felamimail %{packagename}-filemanager %{packagename}-infolog %{packagename}-importexport %{packagename}-manual %{packagename}-news_admin %{packagename}-notifications %{packagename}-phpbrain %{packagename}-polls %{packagename}-projectmanager %{packagename}-registration %{packagename}-resources %{packagename}-sambaadmin %{packagename}-sitemgr %{packagename}-syncml %{packagename}-timesheet %{packagename}-wiki Requires: %{packagename}-core %{packagename}-bookmarks %{packagename}-calendar %{packagename}-developer_tools %{packagename}-emailadmin %{packagename}-felamimail %{packagename}-filemanager %{packagename}-infolog %{packagename}-importexport %{packagename}-manual %{packagename}-news_admin %{packagename}-notifications %{packagename}-phpbrain %{packagename}-polls %{packagename}-projectmanager %{packagename}-registration %{packagename}-resources %{packagename}-sambaadmin %{packagename}-sitemgr %{packagename}-syncml %{packagename}-timesheet %{packagename}-wiki
Obsoletes: %{packagename}-icalsrv
#otherwise build fails because of jar files in G2 #otherwise build fails because of jar files in G2
BuildRequires: unzip BuildRequires: unzip
Prefix: /usr/share
Buildarch: noarch Buildarch: noarch
AutoReqProv: no AutoReqProv: no
@ -415,35 +414,35 @@ ln -s ../../..%{egwdatadir}/header.inc.php
%files core %files core
%defattr(-,root,root) %defattr(-,root,root)
%dir %attr(0755,root,root) %{prefix}/%{egwdirname} %dir %attr(0755,root,root) %{egwdir}
%dir %attr(0755,root,root) /var/lib/egroupware %dir %attr(0755,root,root) /var/lib/egroupware
%{prefix}/%{egwdirname}/about.php %{egwdir}/about.php
%{prefix}/%{egwdirname}/anon_wrapper.php %{egwdir}/anon_wrapper.php
%{prefix}/%{egwdirname}/header.inc.php %{egwdir}/header.inc.php
%{prefix}/%{egwdirname}/header.inc.php.template %{egwdir}/header.inc.php.template
%{prefix}/%{egwdirname}/index.php %{egwdir}/index.php
%{prefix}/%{egwdirname}/login.php %{egwdir}/login.php
%{prefix}/%{egwdirname}/logout.php %{egwdir}/logout.php
%{prefix}/%{egwdirname}/notify.php %{egwdir}/notify.php
%{prefix}/%{egwdirname}/notify_simple.php %{egwdir}/notify_simple.php
%{prefix}/%{egwdirname}/notifyxml.php %{egwdir}/notifyxml.php
%{prefix}/%{egwdirname}/redirect.php %{egwdir}/redirect.php
%{prefix}/%{egwdirname}/rpc.php %{egwdir}/rpc.php
%{prefix}/%{egwdirname}/set_box.php %{egwdir}/set_box.php
%{prefix}/%{egwdirname}/soap.php %{egwdir}/soap.php
%{prefix}/%{egwdirname}/xajax.php %{egwdir}/xajax.php
%{prefix}/%{egwdirname}/xmlrpc.php %{egwdir}/xmlrpc.php
%{prefix}/%{egwdirname}/svn-helper.php %{egwdir}/svn-helper.php
%{prefix}/%{egwdirname}/webdav.php %{egwdir}/webdav.php
%{prefix}/%{egwdirname}/groupdav.php %{egwdir}/groupdav.php
%{prefix}/%{egwdirname}/addressbook %{egwdir}/addressbook
%{prefix}/%{egwdirname}/admin %{egwdir}/admin
%{prefix}/%{egwdirname}/doc %{egwdir}/doc
%{prefix}/%{egwdirname}/etemplate %{egwdir}/etemplate
%{prefix}/%{egwdirname}/home %{egwdir}/home
%{prefix}/%{egwdirname}/phpgwapi %{egwdir}/phpgwapi
%{prefix}/%{egwdirname}/preferences %{egwdir}/preferences
%{prefix}/%{egwdirname}/setup %{egwdir}/setup
%attr(0644,root,root) /etc/cron.d/egroupware %attr(0644,root,root) /etc/cron.d/egroupware
%config %attr(0644,root,root) %{httpdconfd}/egroupware.conf %config %attr(0644,root,root) %{httpdconfd}/egroupware.conf
%if 0%{?suse_version} %if 0%{?suse_version}
@ -461,116 +460,124 @@ ln -s ../../..%{egwdatadir}/header.inc.php
# addressbook is part of core now, as it contains required classes for accounts # addressbook is part of core now, as it contains required classes for accounts
#%files addressbook #%files addressbook
#%defattr(-,root,root) #%defattr(-,root,root)
#%{prefix}/%{egwdirname}/addressbook #%{egwdir}/addressbook
%files bookmarks
%defattr(-,root,root)
%{egwdir}/bookmarks
%files calendar %files calendar
%defattr(-,root,root) %defattr(-,root,root)
%{prefix}/%{egwdirname}/calendar %{egwdir}/calendar
%files developer_tools %files developer_tools
%defattr(-,root,root) %defattr(-,root,root)
%{prefix}/%{egwdirname}/developer_tools %{egwdir}/developer_tools
%files egw-pear %files egw-pear
%defattr(-,root,root) %defattr(-,root,root)
%{prefix}/%{egwdirname}/egw-pear %{egwdir}/egw-pear
%files emailadmin %files emailadmin
%defattr(-,root,root) %defattr(-,root,root)
%{prefix}/%{egwdirname}/emailadmin %{egwdir}/emailadmin
%files felamimail %files felamimail
%defattr(-,root,root) %defattr(-,root,root)
%{prefix}/%{egwdirname}/felamimail %{egwdir}/felamimail
%files filemanager %files filemanager
%defattr(-,root,root) %defattr(-,root,root)
%{prefix}/%{egwdirname}/filemanager %{egwdir}/filemanager
%files gallery %files gallery
%defattr(-,root,root) %defattr(-,root,root)
%{prefix}/%{egwdirname}/gallery %{egwdir}/gallery
%files icalsrv %files icalsrv
%defattr(-,root,root) %defattr(-,root,root)
%{prefix}/%{egwdirname}/icalsrv %{egwdir}/icalsrv
%files infolog %files infolog
%defattr(-,root,root) %defattr(-,root,root)
%{prefix}/%{egwdirname}/infolog %{egwdir}/infolog
%files importexport %files importexport
%defattr(-,root,root) %defattr(-,root,root)
%{prefix}/%{egwdirname}/importexport %{egwdir}/importexport
%files manual %files manual
%defattr(-,root,root) %defattr(-,root,root)
%{prefix}/%{egwdirname}/manual %{egwdir}/manual
%files mydms %files mydms
%defattr(-,root,root) %defattr(-,root,root)
%{prefix}/%{egwdirname}/mydms %{egwdir}/mydms
%files news_admin %files news_admin
%defattr(-,root,root) %defattr(-,root,root)
%{prefix}/%{egwdirname}/news_admin %{egwdir}/news_admin
%files notifications %files notifications
%defattr(-,root,root) %defattr(-,root,root)
%{prefix}/%{egwdirname}/notifications %{egwdir}/notifications
%files phpbrain %files phpbrain
%defattr(-,root,root) %defattr(-,root,root)
%{prefix}/%{egwdirname}/phpbrain %{egwdir}/phpbrain
%files phpsysinfo %files phpsysinfo
%defattr(-,root,root) %defattr(-,root,root)
%{prefix}/%{egwdirname}/phpsysinfo %{egwdir}/phpsysinfo
%files polls %files polls
%defattr(-,root,root) %defattr(-,root,root)
%{prefix}/%{egwdirname}/polls %{egwdir}/polls
%files projectmanager %files projectmanager
%defattr(-,root,root) %defattr(-,root,root)
%{prefix}/%{egwdirname}/projectmanager %{egwdir}/projectmanager
%files registration %files registration
%defattr(-,root,root) %defattr(-,root,root)
%{prefix}/%{egwdirname}/registration %{egwdir}/registration
%files resources %files resources
%defattr(-,root,root) %defattr(-,root,root)
%{prefix}/%{egwdirname}/resources %{egwdir}/resources
%files sambaadmin %files sambaadmin
%defattr(-,root,root) %defattr(-,root,root)
%{prefix}/%{egwdirname}/sambaadmin %{egwdir}/sambaadmin
%files sitemgr %files sitemgr
%defattr(-,root,root) %defattr(-,root,root)
%{prefix}/%{egwdirname}/sitemgr %{egwdir}/sitemgr
%files syncml
%defattr(-,root,root)
%{egwdir}/syncml
%files timesheet %files timesheet
%defattr(-,root,root) %defattr(-,root,root)
%{prefix}/%{egwdirname}/timesheet %{egwdir}/timesheet
%files tracker %files tracker
%defattr(-,root,root) %defattr(-,root,root)
%{prefix}/%{egwdirname}/tracker %{egwdir}/tracker
%files wiki %files wiki
%defattr(-,root,root) %defattr(-,root,root)
%{prefix}/%{egwdirname}/wiki %{egwdir}/wiki
%changelog %changelog
* Tue Mar 9 2010 Ralf Becker <rb@stylite.de> 1.6.003 * Tue Mar 9 2010 Ralf Becker <rb@stylite.de> 1.6.003
- eGroupware 1.6.003 security and bugfix release - eGroupware 1.6.003 security and bugfix release
- fixes 2 security problems: - fixes 2 security problems:
+ one is a serious remote command execution (allowing to run arbitrary + one is a serious remote command execution (allowing to run arbitrary
command on the web server by simply issuing a HTTP request!) commands on the web server by simply issuing a HTTP request!)
+ the other a reflected cross-site scripting (XSS) + the other a reflected cross-site scripting (XSS)
Both require NOT a valid EGroupware account and work without being logged in! Both require NO valid EGroupware account and work without being logged in!
- SyncML 1.2 support and many SyncML bug fixes - SyncML 1.2 support and many SyncML bug fixes
- many bugfixes since 1.6.002 release - many bugfixes since 1.6.002 release