[spacewalk-backend] Rebase to spacewalk-backend-2.0.3-1.fc19 in rawhide.

Miroslav Suchý msuchy at fedoraproject.org
Mon Jul 22 07:54:37 UTC 2013


commit b9cd9996f38c32c13ad30efcd94e867a577b2b2c
Author: Miroslav Suchý <msuchy at redhat.com>
Date:   Mon Jul 22 09:54:22 2013 +0200

    Rebase to spacewalk-backend-2.0.3-1.fc19 in rawhide.

 .gitignore             |    1 +
 sources                |    2 +-
 spacewalk-backend.spec |  263 ++++++++++++++++++++++++++++++++++++++++++++----
 3 files changed, 244 insertions(+), 22 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index b808a5b..bf69c60 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@
 /spacewalk-backend-1.7.38.tar.gz
 /spacewalk-backend-1.8.85.tar.gz
 /spacewalk-backend-1.9.45.tar.gz
+/spacewalk-backend-2.0.3.tar.gz
diff --git a/sources b/sources
index 4b18b45..d86a794 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-f22c3a48ec2d9b2a6cfa85fe111a4cca  spacewalk-backend-1.9.45.tar.gz
+47661c2aead8506849d06cb381925a02  spacewalk-backend-2.0.3.tar.gz
diff --git a/spacewalk-backend.spec b/spacewalk-backend.spec
index 983e93c..99761d1 100644
--- a/spacewalk-backend.spec
+++ b/spacewalk-backend.spec
@@ -12,7 +12,7 @@ Name: spacewalk-backend
 Summary: Common programs needed to be installed on the Spacewalk servers/proxies
 Group: Applications/Internet
 License: GPLv2
-Version: 1.9.45
+Version: 2.0.3
 Release: 1%{?dist}
 URL:       https://fedorahosted.org/spacewalk
 Source0: https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz
@@ -21,7 +21,7 @@ BuildArch: noarch
 Requires: python, rpm-python
 # /etc/rhn is provided by spacewalk-proxy-common or by spacewalk-config
 Requires: /etc/rhn
-Requires: rhnlib >= 2.5.35
+Requires: rhnlib >= 2.5.57
 # for Debian support
 Requires: python-debian
 Requires: %{name}-libs >= 1.1.16-1
@@ -30,7 +30,7 @@ BuildRequires: /usr/bin/docbook2man
 BuildRequires: docbook-utils
 %if 0%{?fedora} > 15 || 0%{?rhel} > 5
 BuildRequires: spacewalk-pylint
-BuildRequires: rhnlib >= 2.5.35
+BuildRequires: rhnlib >= 2.5.57
 BuildRequires: rpm-python
 BuildRequires: python-crypto
 BuildRequires: python-debian
@@ -63,20 +63,20 @@ Requires: %{name}-sql-virtual = %{version}-%{release}
 This package contains the basic code that provides SQL connectivity for
 the Spacewalk backend modules.
 
-#%package sql-oracle
-#Summary: Oracle backend for Spacewalk
-#Group: Applications/Internet
-#Requires: python(:DBAPI:oracle)
-#Provides: %{name}-sql-virtual = %{version}-%{release}
+%package sql-oracle
+Summary: Oracle backend for Spacewalk
+Group: Applications/Internet
+Requires: python(:DBAPI:oracle)
+Provides: %{name}-sql-virtual = %{version}-%{release}
 
-#%description sql-oracle
-#This package contains provides Oracle connectivity for the Spacewalk backend
-#modules.
+%description sql-oracle
+This package contains provides Oracle connectivity for the Spacewalk backend
+modules.
 
 %package sql-postgresql
 Summary: Postgresql backend for Spacewalk
 Group: Applications/Internet
-Requires: python-psycopg2
+Requires: python-psycopg2 >= 2.0.14-2
 Provides: %{name}-sql-virtual = %{version}-%{release}
 
 %description sql-postgresql
@@ -232,7 +232,7 @@ Provides: rhns-package-push-server = 1:%{version}-%{release}
 Listener for rhnpush (non-XMLRPC version)
 
 %package tools
-Summary: Red Hat Network Services Satellite Tools
+Summary: Spacewalk Services Tools
 Group: Applications/Internet
 Requires: %{name}-xmlrpc = %{version}-%{release}
 Requires: %{name}-app = %{version}-%{release}
@@ -244,17 +244,17 @@ Requires: python-hashlib
 Requires: mod_ssl
 Requires: %{name}-xml-export-libs
 Requires: cobbler >= 2.0.0
-Requires: rhnlib  >= 2.5.35
+Requires: rhnlib  >= 2.5.57
 Obsoletes: rhns-satellite-tools < 5.3.0
 Obsoletes: spacewalk-backend-satellite-tools <= 0.2.7
 Provides: spacewalk-backend-satellite-tools = %{version}-%{release}
 Provides: rhns-satellite-tools = 1:%{version}-%{release}
 
 %description tools
-Various utilities for the Red Hat Network Satellite Server.
+Various utilities for the Spacewalk Server.
 
 %package xml-export-libs
-Summary: Red Hat Network XML data exporter
+Summary: Spacewalk XML data exporter
 Group: Applications/Internet
 Requires: %{name}-server = %{version}-%{release}
 Obsoletes: rhns-xml-export-libs < 5.3.0
@@ -367,11 +367,10 @@ rm -f %{rhnconf}/rhnSecret.py*
 %{pythonrhnroot}/server/rhnSQL/dbi.py*
 %{pythonrhnroot}/server/rhnSQL/__init__.py*
 %{pythonrhnroot}/server/rhnSQL/sql_*.py*
-%exclude %{pythonrhnroot}/server/rhnSQL/driver_cx_Oracle.py*
 
-#%files sql-oracle
-#%doc LICENSE
-#%{pythonrhnroot}/server/rhnSQL/driver_cx_Oracle.py*
+%files sql-oracle
+%doc LICENSE
+%{pythonrhnroot}/server/rhnSQL/driver_cx_Oracle.py*
 
 %files sql-postgresql
 %doc LICENSE
@@ -410,6 +409,7 @@ rm -f %{rhnconf}/rhnSecret.py*
 %{pythonrhnroot}/server/importlib/backend.py*
 %{pythonrhnroot}/server/importlib/backendLib.py*
 %{pythonrhnroot}/server/importlib/backendOracle.py*
+%{pythonrhnroot}/server/importlib/backend_checker.py*
 %{pythonrhnroot}/server/importlib/channelImport.py*
 %{pythonrhnroot}/server/importlib/debPackage.py*
 %{pythonrhnroot}/server/importlib/errataCache.py*
@@ -422,6 +422,7 @@ rm -f %{rhnconf}/rhnSecret.py*
 %{pythonrhnroot}/server/importlib/packageUpload.py*
 %{pythonrhnroot}/server/importlib/productNamesImport.py*
 %{pythonrhnroot}/server/importlib/userAuth.py*
+%{pythonrhnroot}/server/importlib/orgImport.py*
 %{rhnroot}/server/handlers/__init__.py*
 
 # Repomd stuff
@@ -531,7 +532,6 @@ rm -f %{rhnconf}/rhnSecret.py*
 %dir %{rhnroot}/server/handlers/config
 %{rhnroot}/server/handlers/config/*
 %attr(644,root,apache) %{rhnconfigdefaults}/rhn_server_config-management.conf
-%attr(644,root,apache) %{rhnconfigdefaults}/rhn_sc.conf
 %attr(644,root,apache) %config %{httpdconf}/rhn/spacewalk-backend-config-management.conf
 %config(noreplace) %{_sysconfdir}/logrotate.d/spacewalk-backend-config-files
 
@@ -639,6 +639,227 @@ rm -f %{rhnconf}/rhnSecret.py*
 
 # $Id$
 %changelog
+* Thu Jul 18 2013 Jan Dobes 2.0.3-1
+- 645435 - log per channel instead of session
+
+* Thu Jul 18 2013 Michael Mraka <michael.mraka at redhat.com> 2.0.2-1
+- check only tables in own schema
+
+* Wed Jul 17 2013 Tomas Kasparek <tkasparek at redhat.com> 2.0.1-1
+- Bumping package versions for 2.0.
+
+* Wed Jul 17 2013 Tomas Kasparek <tkasparek at redhat.com> 1.10.59-1
+- updating copyright years
+
+* Tue Jul 16 2013 Tomas Lestach <tlestach at redhat.com> 1.10.58-1
+- allow spacewalk-remove-channel to unsubscribe systems with enabled logging
+
+* Tue Jul 16 2013 Tomas Kasparek <tkasparek at redhat.com> 1.10.57-1
+- removing some dead code
+
+* Sun Jul 14 2013 Tomas Lestach <tlestach at redhat.com> 1.10.56-1
+- enable satellite-sync with enabled audit
+
+* Fri Jul 12 2013 Tomas Lestach <tlestach at redhat.com> 1.10.55-1
+- handle registration time in backend
+- implement logging functions for python stack
+- Set the clear_log_id.
+- Adding the logging setup to the backend stack (no user authentication).
+
+* Tue Jul 02 2013 Stephen Herr <sherr at redhat.com> 1.10.54-1
+- 977878 - move iss parent / ca_cert configs into database
+
+* Fri Jun 28 2013 Stephen Herr <sherr at redhat.com> 1.10.53-1
+- 977878 - fixing ISS demo problem, this query should get org ids
+
+* Thu Jun 27 2013 Stephen Herr <sherr at redhat.com> 1.10.52-1
+- 977878 - trust syncing should remove trusts that no longer exist
+
+* Tue Jun 25 2013 Stephen Herr <sherr at redhat.com> 1.10.51-1
+- 977878 - fixing checkstyle errors
+
+* Tue Jun 25 2013 Grant Gainey 1.10.50-1
+- ISS: checking a couple of potentially None values
+- ISS: make sure new satellites can sync to old ones
+- ISS: Channel trust syncing now works
+- ISS: Implemented sat-sync options and db work for org / org trusts
+- ISS: Bunch of changes for ISS, not working yet
+- ISS: export org and org-trust data
+- ISS: export channel access permissions
+- ISS: First pieces of backend code for using the iss-cfg tables
+- support numerals only for db-name, db-user and db-password
+
+* Thu Jun 20 2013 Tomas Kasparek <tkasparek at redhat.com> 1.10.49-1
+- 852250 - filter out bad package/architecture combinations
+
+* Mon Jun 17 2013 Michael Mraka <michael.mraka at redhat.com> 1.10.48-1
+- removed old CVS/SVN version ids
+- branding fixes in man pages
+- more branding cleanup
+
+* Mon Jun 17 2013 Michael Mraka <michael.mraka at redhat.com> 1.10.47-1
+- moved product name to work also in proxy
+
+* Mon Jun 17 2013 Tomas Kasparek <tkasparek at redhat.com> 1.10.46-1
+- rebranding few more strings
+
+* Wed Jun 12 2013 Tomas Kasparek <tkasparek at redhat.com> 1.10.45-1
+- rebranding RHN Proxy to Red Hat Proxy
+- rebrading RHN Satellite to Red Hat Satellite in backend
+
+* Thu Jun 06 2013 Michael Mraka <michael.mraka at redhat.com> 1.10.44-1
+- 675228, 795000 - metadata are already in utf8
+
+* Tue Jun 04 2013 Michael Mraka <michael.mraka at redhat.com> 1.10.43-1
+- 970315 - support both gz and bz2 compressed repo files
+
+* Thu May 30 2013 Michael Mraka <michael.mraka at redhat.com> 1.10.42-1
+- severity may be unknown
+
+* Wed May 29 2013 Michael Mraka <michael.mraka at redhat.com> 1.10.41-1
+- 967850 - don't change global configuration component for reading product name
+
+* Tue May 28 2013 Stephen Herr <sherr at redhat.com> 1.10.40-1
+- 948335 - adding new server client capability for cpu_sockets
+
+* Tue May 28 2013 Simon Lukasik <slukasik at redhat.com> 1.10.39-1
+- Add scap into list of packaged modules.
+- Do not use python key-word as a variable name
+- Store SCAP-file-limit to the database
+
+* Mon May 27 2013 Michael Mraka <michael.mraka at redhat.com> 1.10.38-1
+- pack backend_checker into rpm
+
+* Mon May 27 2013 Michael Mraka <michael.mraka at redhat.com> 1.10.37-1
+- update copyright column length
+- script to backendOracle.py definitions vs. database
+- 962683 - don't truncate channel name to 64 chars
+- Backend handlers for receiving full SCAP results
+- Challenge clients to upload result files from the audit
+
+* Wed May 22 2013 Michael Mraka <michael.mraka at redhat.com> 1.10.36-1
+- 950198 - make API compatible with old RHEL5 clients
+- man pages branding cleanup + misc branding fixes
+
+* Tue May 21 2013 Grant Gainey <ggainey at redhat.com> 1.10.35-1
+- Turn off a pylint warning
+
+* Tue May 21 2013 Grant Gainey <ggainey at redhat.com> 1.10.34-1
+- 965809 - Fix ISS authentication hole
+
+* Tue May 21 2013 Tomas Kasparek <tkasparek at redhat.com> 1.10.33-1
+- branding clean-up of spacewalk-backend
+- branding clean-up of logrotate files
+
+* Fri May 17 2013 Michael Mraka <michael.mraka at redhat.com> 1.10.32-1
+- 963230 - remote activation in disconnected mode is not valid
+
+* Thu May 16 2013 Michael Mraka <michael.mraka at redhat.com> 1.10.31-1
+- 891333 - provide option to keep rpms
+
+* Mon May 13 2013 Jan Dobes 1.10.30-1
+- 843367 - replacing __processHash function body by lookups to prevent multiple
+  insertion tries
+
+* Fri May 10 2013 Tomas Lestach <tlestach at redhat.com> 1.10.29-1
+- 959590 - prepending security severity to advisory synopsis
+
+* Fri May 10 2013 Michael Mraka <michael.mraka at redhat.com> 1.10.28-1
+- 888378 - print nice error message in disconnected mode
+
+* Tue May 07 2013 Jan Pazdziora 1.10.27-1
+- The get_source_rpm was removed long time ago, removing reference to it.
+
+* Tue May 07 2013 Michael Mraka <michael.mraka at redhat.com> 1.10.26-1
+- 918333 - don't truncate filepath when exporting
+
+* Thu May 02 2013 Stephen Herr <sherr at redhat.com> 1.10.25-1
+- 947639 - make satellite-sync work with new rhnlib
+
+* Mon Apr 29 2013 Stephen Herr <sherr at redhat.com> 1.10.24-1
+- Revert "Run python backend in daemon mode to ease integration with splice"
+- Revert "Additional change for spacewalk-backend daemon mode"
+
+* Fri Apr 26 2013 Michael Mraka <michael.mraka at redhat.com> 1.10.23-1
+- 911738 - remove incorrect path from db
+
+* Fri Apr 26 2013 Tomas Lestach <tlestach at redhat.com> 1.10.22-1
+- 953284 - fix registration issues on PG
+
+* Fri Apr 26 2013 Michael Mraka <michael.mraka at redhat.com> 1.10.21-1
+- make rpclib connection timeout configurable
+
+* Wed Apr 17 2013 Jan Pazdziora 1.10.20-1
+- moving taskomatic.channel_repodata_workers config default from backend to
+  java
+
+* Mon Apr 15 2013 Stephen Herr <sherr at redhat.com> 1.10.19-1
+- Additional change for spacewalk-backend daemon mode
+
+* Fri Apr 12 2013 Stephen Herr <sherr at redhat.com> 1.10.18-1
+- Run python backend in daemon mode to ease integration with splice
+
+* Tue Apr 09 2013 Tomas Kasparek <tkasparek at redhat.com> 1.10.17-1
+- moving system currency config defaults from separate file to rhn_java.conf
+
+* Fri Apr 05 2013 Michael Mraka <michael.mraka at redhat.com> 1.10.16-1
+- 929238 - fixed local path for file:// repos
+- 918333 - reflect schema change
+
+* Wed Mar 27 2013 Milan Zazrivec <mzazrivec at redhat.com> 1.10.15-1
+- abrt: check the package string is complete
+
+* Wed Mar 27 2013 Michael Mraka <michael.mraka at redhat.com> 1.10.14-1
+- do not read rpm into memory before transferring to client (bnc#801151)
+
+* Tue Mar 26 2013 Jan Pazdziora 1.10.13-1
+- Replacing DECODE with more standard CASE.
+
+* Tue Mar 26 2013 Jan Pazdziora 1.10.12-1
+- Use to_timestamp instead of to_date which should bring the second precision
+  to PostgreSQL.
+
+* Mon Mar 25 2013 Stephen Herr <sherr at redhat.com> 1.10.11-1
+- Client tools able to pass up socket info
+- add python and java xmlrpc handlers for cpu socket info
+
+* Thu Mar 21 2013 Jan Pazdziora 1.10.10-1
+- abrt: store crash uuid
+
+* Wed Mar 20 2013 Michael Mraka <michael.mraka at redhat.com> 1.10.9-1
+- fixing column name in postgresql
+- The min_new_user_len option is not used anywhere in our code, removing.
+
+* Thu Mar 14 2013 Jan Pazdziora 1.10.8-1
+- The parameters are not processed in the parent class, stop passing them in.
+
+* Wed Mar 13 2013 Jan Pazdziora 1.10.7-1
+- Properly check the self.port which can be None by now.
+
+* Tue Mar 12 2013 Jan Pazdziora 1.10.6-1
+- abrt: support parsing package nevra from older abrt versions
+- The is_connected_to needs to match the adjustments we do in connect.
+- Do not parse the command line options, there are none.
+
+* Mon Mar 11 2013 Jan Pazdziora 1.10.5-1
+- 757302, 843723, 873379 - require python-psycopg2 with patch for the reference
+  leaks.
+- add missing comma
+
+* Fri Mar 08 2013 Milan Zazrivec <mzazrivec at redhat.com> 1.10.4-1
+- abrt: enable crash reporting settings in backend
+
+* Fri Mar 08 2013 Milan Zazrivec <mzazrivec at redhat.com> 1.10.3-1
+- Move org configuration to a separate table
+- make startswith work with python versions < 2.5
+
+* Wed Mar 06 2013 Jan Pazdziora 1.10.2-1
+- Stop having comments on the same line as the key = value pair.
+
+* Tue Mar 05 2013 Jan Pazdziora 1.10.1-1
+- To allow hash-signs in passwords, only ignore comments if they are the first
+  non-whitespace characters on the line.
+
 * Fri Mar 01 2013 Jan Pazdziora 1.9.45-1
 - If the database host is localhost, use Unix sockets in backend.
 


More information about the scm-commits mailing list