--- rhn-client-tools-1.8.26.orig/debian/README.source +++ rhn-client-tools-1.8.26/debian/README.source @@ -0,0 +1,2 @@ +This Debian package uses quilt(1) for patch management. +Please see /usr/share/doc/quilt/README.source for more information. --- rhn-client-tools-1.8.26.orig/debian/changelog +++ rhn-client-tools-1.8.26/debian/changelog @@ -0,0 +1,61 @@ +rhn-client-tools (1.8.26-4) unstable; urgency=medium + + * [e3525938] Fix installTime function for multiarch. + This should avoid to send None as timestamp via + xmlrpc, which resulted in a traceback due to changes in + xmlrpc, breaking spacewalk support. + Thanks to Klaas Demter and Philipp Born (Closes: #728365) + + -- Bernd Zeimetz Sat, 24 Jan 2015 09:39:24 +0100 + +rhn-client-tools (1.8.26-3) unstable; urgency=medium + + * [11430f4f] Merge branch 'master' of + alioth.debian.org:/git/collab-maint/spacewalk/rhn-client-tools. + Conflicts: + debian/changelog + * [395cb9d9] Add missing NMU changes. + + -- Bernd Zeimetz Thu, 16 Oct 2014 10:50:03 +0200 + +rhn-client-tools (1.8.26-2) unstable; urgency=medium + + * [afb38b02] Switching Maintainer/Uploaders + + -- Bernd Zeimetz Mon, 06 Oct 2014 21:30:26 +0200 + +rhn-client-tools (1.8.26-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Mark rhn-client-tools as linux-any and remove the dependency on hal. + The hal package has been unmaintained for a long time and will no longer + be available on !linux-any. (Closes: #710200) + + -- Michael Biebl Sat, 17 May 2014 14:00:25 +0200 + +rhn-client-tools (1.8.26-1) unstable; urgency=medium + + * [e2f4df9c] Merge tag 'upstream/1.8.26' + Upstream version 1.8.26 + * [32d85b4b] Drop patches, applied upstream + + -- Bernd Zeimetz Sun, 27 Apr 2014 00:18:38 +0200 + +rhn-client-tools (1.8.9-3) unstable; urgency=low + + * [79e26720] Depend on hal instead of python-gudev on !linux-any. + + -- Bernd Zeimetz Fri, 28 Sep 2012 23:25:55 +0200 + +rhn-client-tools (1.8.9-2) unstable; urgency=low + + * [c611b6e2] Remove the dependency on !linux arches on python-ethtool. + * [bf0389ab] Add README.source. + + -- Bernd Zeimetz Thu, 13 Sep 2012 00:55:56 +0200 + +rhn-client-tools (1.8.9-1) unstable; urgency=low + + * Initial Debian release + + -- Miroslav Suchý Sat, 16 Jun 2012 14:26:12 +0200 --- rhn-client-tools-1.8.26.orig/debian/compat +++ rhn-client-tools-1.8.26/debian/compat @@ -0,0 +1 @@ +7 --- rhn-client-tools-1.8.26.orig/debian/control +++ rhn-client-tools-1.8.26/debian/control @@ -0,0 +1,22 @@ +Source: rhn-client-tools +Section: python +Priority: extra +Uploaders: Miroslav Suchý +Maintainer: Bernd Zeimetz +Build-Depends: python (>= 2.6.6-3~), debhelper (>= 7.0.50~), intltool, quilt (>= 0.48-3~) +Standards-Version: 3.9.3 +Homepage: https://fedorahosted.org/spacewalk +Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/spacewalk/rhn-client-tools.git +Vcs-Git: git://anonscm.debian.org/collab-maint/spacewalk/rhn-client-tools.git + +Package: rhn-client-tools +Architecture: linux-any +Depends: ${python:Depends}, ${misc:Depends}, python-rhn (>= 2.5.40), + python-ethtool, python-dbus, python-apt (>= 0.7.100), python-newt, + python-dmidecode, lsb-release, gnupg, python-gudev, debconf, python-openssl +Recommends: apt-spacewalk +Suggests: python-gnome2, python-gtk2, python-glade2 +Description: Red Hat Network Client Tools + programs and libraries to allow your system to receive + software updates from Red Hat Network or Spacewalk. + --- rhn-client-tools-1.8.26.orig/debian/copyright +++ rhn-client-tools-1.8.26/debian/copyright @@ -0,0 +1,61 @@ +rhn-client-tools was downloaded from +https://fedorahosted.org/releases/s/p/spacewalk/ + + +Current Authors +--------------- + +James Bowes +James Slagle +Pradeep Kilambi + +Past Authors +------------ + +Daniel Benamy +Preston Brown +Brent Fox +Cristian Gafton +Adrian Likins + + +Copyright +---------- + Copyright (c) 1999-2012 Red Hat, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 of the License. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + . + See /usr/share/common-licenses/GPL-2, or + for the terms of the latest version + of the GNU General Public License. + + Red Hat trademarks are not licensed under GPLv2. No permission is + granted to use or replicate Red Hat trademarks that are incorporated + in this software or its documentation. + + + + Miroslav Suchý inspected the source - there is + nothing left where Red Hat trademarks apply to. + + An exception for linking GPLed code with OpenSSL was added by upstream: + https://fedorahosted.org/spacewalk/changeset/9b930abf494222ccf4c086bb354db73950c15217 + + +The Debian packaging is + Copyright 2010-2012 by Red Hat Inc. + Copyright 2012 Bernd Zeimetz + Copyright 2012 Šimon Lukašík +and licensed under the same license as rhnlib, see above + --- rhn-client-tools-1.8.26.orig/debian/docs +++ rhn-client-tools-1.8.26/debian/docs @@ -0,0 +1,3 @@ +doc/mirrors.txt +doc/repackage_policy.txt +doc/up2date_design.txt --- rhn-client-tools-1.8.26.orig/debian/links +++ rhn-client-tools-1.8.26/debian/links @@ -0,0 +1 @@ +etc/sysconfig/rhn etc/rhn --- rhn-client-tools-1.8.26.orig/debian/patches/installTime_multiarch_fix +++ rhn-client-tools-1.8.26/debian/patches/installTime_multiarch_fix @@ -0,0 +1,32 @@ +--- a/src/up2date_client/debUtils.py ++++ b/src/up2date_client/debUtils.py +@@ -34,12 +34,14 @@ def parseVRE(version): + release = tmp[-1] + return version, release, epoch + +-def installTime(pkg_name): +- path = '/var/lib/dpkg/info/%s.list' % pkg_name +- if os.path.isfile(path): +- return os.path.getmtime(path) +- else: +- return None ++def installTime(pkg_name, arch=None): ++ paths = ['/var/lib/dpkg/info/%s.list' % (pkg_name,)] ++ if arch: ++ paths.append('/var/lib/dpkg/info/%s:%s.list' % (pkg_name, arch)) ++ for path in paths: ++ if os.path.isfile(path): ++ return os.path.getmtime(path) ++ return None + + #FIXME: Using Apt cache might not be an ultimate solution. + # It could be better to parse /var/lib/dpkg/status manually. +@@ -70,7 +72,7 @@ def getInstalledPackageList(msgCallback + 'version': version, + 'release': release, + 'arch': pkg.installed.architecture + '-deb', +- 'installtime': installTime(pkg.name) ++ 'installtime': installTime(pkg.name, pkg.installed.architecture) + } + pkg_list.append(package) + --- rhn-client-tools-1.8.26.orig/debian/patches/series +++ rhn-client-tools-1.8.26/debian/patches/series @@ -0,0 +1 @@ +installTime_multiarch_fix --- rhn-client-tools-1.8.26.orig/debian/rules +++ rhn-client-tools-1.8.26/debian/rules @@ -0,0 +1,30 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +PACKAGENAME=$(strip $(shell dh_listpackages | head -1)) + +params=-f Makefile.rhn-client-tools PLATFORM=deb PREFIX=$(CURDIR)/debian/$(PACKAGENAME) + +override_dh_auto_clean: + $(MAKE) $(params) clean +override_dh_auto_build: + dh_auto_build -- $(params) +override_dh_auto_install: + $(MAKE) $(params) install + rm -rf $(CURDIR)/debian/$(PACKAGENAME)/usr/share/firstboot + rm -rf $(CURDIR)/debian/$(PACKAGENAME)/usr/share/setuptool + rm -rf $(CURDIR)/debian/$(PACKAGENAME)/etc/security + rm -rf $(CURDIR)/debian/$(PACKAGENAME)/etc/pam.d + rm -rf $(CURDIR)/debian/$(PACKAGENAME)/etc/rpm + rm -rf $(CURDIR)/debian/$(PACKAGENAME)/etc/security + rmdir $(CURDIR)/debian/$(PACKAGENAME)/etc/yum.repos.d + +override_dh_auto_test: + $(MAKE) $(params) test + +%: + dh $@ --with python2,quilt + --- rhn-client-tools-1.8.26.orig/debian/source/format +++ rhn-client-tools-1.8.26/debian/source/format @@ -0,0 +1 @@ +1.0 --- rhn-client-tools-1.8.26.orig/debian/watch +++ rhn-client-tools-1.8.26/debian/watch @@ -0,0 +1,2 @@ +version=3 +https://fedorahosted.org/releases/s/p/spacewalk/rhn-client-tools-(.*)\.tar\.gz