public inbox for ipfire-scm@lists.ipfire.org
 help / color / mirror / Atom feed
* [IPFire-SCM] [git.ipfire.org] IPFire 3.x development tree branch, master, updated. 63c2bb861b082f50a2707b0b1546f41b53801bdb
@ 2012-03-07 23:09 git
  0 siblings, 0 replies; only message in thread
From: git @ 2012-03-07 23:09 UTC (permalink / raw)
  To: ipfire-scm

[-- Attachment #1: Type: text/plain, Size: 7652 bytes --]

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 3.x development tree".

The branch, master has been updated
       via  63c2bb861b082f50a2707b0b1546f41b53801bdb (commit)
       via  c3197273dd108c58e41048865fc3f358c2247a8c (commit)
      from  5218f081de12b420175b419d1f96f0c9b7a3e56b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 63c2bb861b082f50a2707b0b1546f41b53801bdb
Author: Michael Tremer <michael.tremer(a)ipfire.org>
Date:   Thu Mar 8 00:08:56 2012 +0100

    pakfire: Add some patches from upstream.
    
    Those patches fix the sharedstatedir variable,
    fix a the library check on GCC updates and
    don't download mirror lists inside the build root
    unless they are needed.

commit c3197273dd108c58e41048865fc3f358c2247a8c
Author: Michael Tremer <michael.tremer(a)ipfire.org>
Date:   Wed Mar 7 23:59:13 2012 +0100

    dialog: Make package compile on x86_64.

-----------------------------------------------------------------------

Summary of changes:
 dialog/dialog.nm                                   |   15 ++---
 pakfire/pakfire.nm                                 |    2 +-
 .../pakfire-0.9.20-dont-download-mirrorlists.patch |   53 ++++++++++++++++++++
 .../patches/pakfire-0.9.20-fix-library-check.patch |   36 +++++++++++++
 .../patches/pakfire-0.9.20-sharedstatedir.patch    |   25 +++++++++
 5 files changed, 121 insertions(+), 10 deletions(-)
 create mode 100644 pakfire/patches/pakfire-0.9.20-dont-download-mirrorlists.patch
 create mode 100644 pakfire/patches/pakfire-0.9.20-fix-library-check.patch
 create mode 100644 pakfire/patches/pakfire-0.9.20-sharedstatedir.patch

Difference in files:
diff --git a/dialog/dialog.nm b/dialog/dialog.nm
index b46ae2b..17d5d9f 100644
--- a/dialog/dialog.nm
+++ b/dialog/dialog.nm
@@ -6,7 +6,7 @@
 name       = dialog
 version    = 1.1
 svn_ver    = 20111020
-release    = 1.%{svn_ver}
+release    = 2.%{svn_ver}
 thisapp    = %{name}-%{version}-%{svn_ver}
 
 groups     = Applications/System
@@ -27,6 +27,7 @@ sources    = %{thisapp}.tgz
 
 build
 	requires
+		chrpath
 		findutils
 		gettext
 		libtool
@@ -37,17 +38,13 @@ build
 		--enable-nls \
 		--with-libtool \
 		--with-ncursesw \
-		--includedir=/usr/include/dialog \
-		--mandir=/usr/share/man
+		--includedir=/usr/include/dialog
 
 	install_cmds
-		chmod -v 755 %{BUILDROOT}/usr/lib/libdialog.so.*.*.*
-	end
-end
+		chmod -v 755 %{BUILDROOT}%{libdir}/libdialog.so.*.*.*
 
-quality-agent
-	whitelist_rpath
-		/usr/lib
+		# Remove RPATH.
+		chrpath --delete %{BUILDROOT}%{bindir}/dialog
 	end
 end
 
diff --git a/pakfire/pakfire.nm b/pakfire/pakfire.nm
index 8490682..c5b65e3 100644
--- a/pakfire/pakfire.nm
+++ b/pakfire/pakfire.nm
@@ -5,7 +5,7 @@
 
 name       = pakfire
 version    = 0.9.20
-release    = 2
+release    = 3
 
 maintainer = Michael Tremer <michael.tremer(a)ipfire.org>
 groups     = System/Packaging
diff --git a/pakfire/patches/pakfire-0.9.20-dont-download-mirrorlists.patch b/pakfire/patches/pakfire-0.9.20-dont-download-mirrorlists.patch
new file mode 100644
index 0000000..c8cafc6
--- /dev/null
+++ b/pakfire/patches/pakfire-0.9.20-dont-download-mirrorlists.patch
@@ -0,0 +1,53 @@
+From 90919c62214dd821048027cce5752a8d7f64d437 Mon Sep 17 00:00:00 2001
+From: Michael Tremer <michael.tremer(a)ipfire.org>
+Date: Wed, 29 Feb 2012 18:37:50 +0100
+Subject: [PATCH] Don't download mirrorlist at repository initialization.
+
+---
+ python/pakfire/downloader.py |    9 +++++++--
+ 1 files changed, 7 insertions(+), 2 deletions(-)
+
+diff --git a/python/pakfire/downloader.py b/python/pakfire/downloader.py
+index 3bfbff2..f89681f 100644
+--- a/python/pakfire/downloader.py
++++ b/python/pakfire/downloader.py
+@@ -190,8 +190,6 @@ class MirrorList(object):
+ 		# Save URL to more mirrors.
+ 		self.mirrorlist = repo._mirrors
+ 
+-		self.update(force=False)
+-
+ 	@property
+ 	def distro(self):
+ 		return self.repo.distro
+@@ -245,6 +243,7 @@ class MirrorList(object):
+ 			f.close()
+ 
+ 		# Read mirrorlist from cache and parse it.
++		self.forget_mirrors()
+ 		with self.cache.open(cache_filename) as f:
+ 			self.parse_mirrordata(f.read())
+ 
+@@ -259,6 +258,9 @@ class MirrorList(object):
+ 
+ 		self.__mirrors.append(mirror)
+ 
++	def forget_mirrors(self):
++		self.__mirrors = []
++
+ 	@property
+ 	def preferred(self):
+ 		"""
+@@ -289,6 +291,9 @@ class MirrorList(object):
+ 		"""
+ 			Return a MirrorGroup object for the given grabber.
+ 		"""
++		# Make sure the mirrorlist is up to date.
++		self.update()
++
+ 		# A list of mirrors that is passed to MirrorGroup.
+ 		mirrors = []
+ 
+-- 
+1.7.3.4
+
diff --git a/pakfire/patches/pakfire-0.9.20-fix-library-check.patch b/pakfire/patches/pakfire-0.9.20-fix-library-check.patch
new file mode 100644
index 0000000..8bde631
--- /dev/null
+++ b/pakfire/patches/pakfire-0.9.20-fix-library-check.patch
@@ -0,0 +1,36 @@
+From 1f2968430df446dcbf0e27ff870ac7aa6e8113cd Mon Sep 17 00:00:00 2001
+From: Michael Tremer <michael.tremer(a)ipfire.org>
+Date: Tue, 6 Mar 2012 16:11:01 +0100
+Subject: [PATCH] Fix library check when updating GCC.
+
+As it only happens on ARM, the new GCC libdir is not found.
+---
+ tools/quality-agent.d/003-libs-location |    7 +++++--
+ 1 files changed, 5 insertions(+), 2 deletions(-)
+
+diff --git a/tools/quality-agent.d/003-libs-location b/tools/quality-agent.d/003-libs-location
+index 48b2521..ce5ba72 100755
+--- a/tools/quality-agent.d/003-libs-location
++++ b/tools/quality-agent.d/003-libs-location
+@@ -16,13 +16,16 @@ esac
+ 
+ # Find gcc libdir.
+ gcc_libdir=$(gcc -print-libgcc-file-name)
+-gcc_libdir=$(dirname ${gcc_libdir})
++for i in 1 2; do
++	gcc_libdir=$(dirname ${gcc_libdir})
++done
++gcc_libdir=$(ls ${BUILDROOT}${gcc_libdir}/* 2>/dev/null | tail -n1)
+ 
+ function check() {
+ 	local failed=0
+ 	local found
+ 
+-	for lib in $(find ${BUILDROOT}/${libdir} -type f -name "lib*.so.*" 2>/dev/null); do
++	for lib in $(find ${BUILDROOT}/{,usr/}${libdir} -type f -name "lib*.so.*" 2>/dev/null); do
+ 		lib=${lib##*/}
+ 		lib=${lib%%.so*}
+ 
+-- 
+1.7.3.4
+
diff --git a/pakfire/patches/pakfire-0.9.20-sharedstatedir.patch b/pakfire/patches/pakfire-0.9.20-sharedstatedir.patch
new file mode 100644
index 0000000..8c582bd
--- /dev/null
+++ b/pakfire/patches/pakfire-0.9.20-sharedstatedir.patch
@@ -0,0 +1,25 @@
+From 7cefdc0a2cb917e16c95d522fb1e3d4ed600faca Mon Sep 17 00:00:00 2001
+From: Michael Tremer <michael.tremer(a)ipfire.org>
+Date: Wed, 7 Mar 2012 17:11:37 +0100
+Subject: [PATCH] Fix definition of sharedstatedir.
+
+---
+ macros/arch.macro |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/macros/arch.macro b/macros/arch.macro
+index e756b8e..536e9d2 100644
+--- a/macros/arch.macro
++++ b/macros/arch.macro
+@@ -8,7 +8,7 @@ sbindir           = %{exec_prefix}/sbin
+ libexecdir        = %{exec_prefix}/lib
+ datadir           = %{prefix}/share
+ sysconfdir        = /etc
+-sharedstatedir    = %{prefix}/com
++sharedstatedir    = %{localstatedir}/lib
+ localstatedir     = /var
+ lib               = lib
+ libdir            = %{exec_prefix}/%{lib}
+-- 
+1.7.3.4
+


hooks/post-receive
--
IPFire 3.x development tree

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-03-07 23:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-07 23:09 [IPFire-SCM] [git.ipfire.org] IPFire 3.x development tree branch, master, updated. 63c2bb861b082f50a2707b0b1546f41b53801bdb git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox