X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLCAPI.spec;h=f0c4510b1705d7af57063f3bab083cdc2cf7b506;hb=3dfe7a1b32434ca886aa65326641c4df8bfab94d;hp=1e989263c4ffe2aa218b3ce5a2a3c31239da6fdb;hpb=51ba38387b55d21a159e84b20a12bdcf961180b1;p=plcapi.git diff --git a/PLCAPI.spec b/PLCAPI.spec index 1e98926..f0c4510 100644 --- a/PLCAPI.spec +++ b/PLCAPI.spec @@ -1,8 +1,6 @@ -%define url $URL$ - %define name PLCAPI %define version 5.0 -%define taglevel 18 +%define taglevel 29 %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} @@ -18,7 +16,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root Vendor: PlanetLab Packager: PlanetLab Central Distribution: PlanetLab %{plrelease} -URL: %(echo %{url} | cut -d ' ' -f 2) +URL: %{SCMURL} Obsoletes: plcapilib @@ -43,7 +41,9 @@ Requires: python-twisted-words Requires: python-twisted-web # ldap Requires: python-ldap - +# for memcache +Requires: python-memcached +Requires: memcached ### avoid having yum complain about updates, as stuff is moving around # plc.d/api Conflicts: MyPLC <= 4.3 @@ -54,7 +54,7 @@ Conflicts: MyPLC <= 4.3 # BuildRequires: postgresql-devel # Standard xmlrpc.so that ships with PHP does not marshal NULL -BuildRequires: php-devel +BuildRequires: php-devel PyXML python-simplejson Obsoletes: php-xmlrpc Provides: php-xmlrpc @@ -117,6 +117,10 @@ install -D -m 755 omf/omf_slicemgr.py $RPM_BUILD_ROOT/usr/bin/omf_slicemgr.py install -D -m 755 omf/reset_xmpp_pubsub_nodes.py $RPM_BUILD_ROOT/usr/bin/reset_xmpp_pubsub_nodes.py mkdir -p $RPM_BUILD_ROOT/var/log/omf +# Install ratelimit log +touch $RPM_BUILD_ROOT/var/log/plc_api_ratelimit.log +chown apache:apache $RPM_BUILD_ROOT/var/log/plc_api_ratelimit.log + %clean rm -rf $RPM_BUILD_ROOT @@ -136,9 +140,62 @@ rm -rf $RPM_BUILD_ROOT /var/www/html/wsdl/plcapi.wsdl /usr/bin/omf_slicemgr.py* /usr/bin/reset_xmpp_pubsub_nodes.py* +/var/log/plc_api_ratelimit.log %changelog +* Thu Feb 17 2011 Thierry Parmentelat - plcapi-5.0-29 +- trash getbootmedium tmp file if already exists but is longer than 5 minutes old +- (this is for people who cancel their download) + +* Fri Feb 04 2011 Thierry Parmentelat - plcapi-5.0-28 +- fix db-config sequence : accessors step now merged in, and occurs at the right time +- db-config also more robust +- no more explicit 'accessors' step in plc.d + +* Thu Feb 03 2011 Thierry Parmentelat - plcapi-5.0-27 +- session auth: do *not* delete session when node runs a method that does not have 'node' role +- session auth: remove support for bootonce in old boot CDs +- give a reason when caller_may_write_slice_tag fails +- remove ugly hack that was setting 'vref' to 'omf' - need to set both tags now + +* Tue Feb 01 2011 Thierry Parmentelat - plcapi-5.0-26 +- SetSliceVref needed the node role +- protect GetSliceFamily +- Fix bugs in tag authorizations + +* Sun Jan 23 2011 Thierry Parmentelat - plcapi-5.0-25 +- altered checking of optional fields in Interfaces +- UpdateTagType more picky on inputs - msg when trying to set roles, which is not supported +- has pyxml and python-simplejson as new deps + +* Wed Dec 08 2010 Thierry Parmentelat - plcapi-5.0-24 +- tweak doc extraction for fedora14 + +* Tue Dec 07 2010 Thierry Parmentelat - plcapi-5.0-23 +- builtin accessors for the myslice page +- Get{Node,Interface}Tags allowed to techs +- tweak in ratelimitaspect.py + +* Mon Dec 06 2010 Thierry Parmentelat - plcapi-5.0-22 +- add admin role to accessor-related tags (arch, {fc,pl}distro) + +* Mon Dec 06 2010 Thierry Parmentelat - plcapi-5.0-21 +- bugfix in {Update,Delete}PersonTag +- updated xml doc for filters, accessors and tagtypes +- more explicit msg in case of missing roles +- improvements in ratelimitaspects.py + +* Fri Dec 03 2010 Thierry Parmentelat - plcapi-5.0-20 +- fix the roles for ssh_key and hmac tags + +* Wed Dec 01 2010 Thierry Parmentelat - plcapi-5.0-19 +- tag permissions system based on roles and not min_role_ids +- accessors simplified accordingly (no more min_role_id) +- new methods AddRoleToTagType and DeleteRoleFromTagType +- accessor-related tagtypes are created sooner, and enforced +- cleaned up redundancy between db-config.d and accessors + * Thu Sep 16 2010 Thierry Parmentelat - plcapi-5.0-18 - fix RefreshPeer that was not working in 5.0-17