public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sys-libs/glibc/files/eblits: src_unpack.eblit
@ 2007-10-07  3:43 Mike Frysinger (vapier)
  0 siblings, 0 replies; 17+ messages in thread
From: Mike Frysinger (vapier) @ 2007-10-07  3:43 UTC (permalink / raw
  To: gentoo-commits

vapier      07/10/07 03:43:52

  Modified:             src_unpack.eblit
  Log:
  Dont bother checking kernel headers when installing libc headers #190510.
  (Portage version: 2.1.3.11)

Revision  Changes    Path
1.2                  sys-libs/glibc/files/eblits/src_unpack.eblit

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?r1=1.1&r2=1.2

Index: src_unpack.eblit
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- src_unpack.eblit	6 Aug 2007 09:46:50 -0000	1.1
+++ src_unpack.eblit	7 Oct 2007 03:43:52 -0000	1.2
@@ -1,6 +1,6 @@
 # Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v 1.1 2007/08/06 09:46:50 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v 1.2 2007/10/07 03:43:52 vapier Exp $
 
 check_kheader_version() {
 	local version=$(
@@ -14,8 +14,6 @@
 check_nptl_support() {
 	local min_kernel_version=$(KV_to_int "${NPTL_KERN_VER}")
 
-	echo
-
 	ebegin "Checking gcc for __thread support"
 	if ! eend $(want__thread ; echo $?) ; then
 		echo
@@ -36,6 +34,7 @@
 	fi
 
 	# Building fails with too low linux-headers
+	just_headers && return
 	ebegin "Checking linux-headers version (>=${NPTL_KERN_VER})"
 	if ! eend $(check_kheader_version "${min_kernel_version}" ; echo $?) ; then
 		echo
@@ -43,8 +42,6 @@
 		eerror "for NPTL support!"
 		die "linux-headers version too low!"
 	fi
-
-	echo
 }
 
 unpack_addon() {



-- 
gentoo-commits@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 17+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sys-libs/glibc/files/eblits: src_unpack.eblit
@ 2007-11-10  4:07 Mike Frysinger (vapier)
  0 siblings, 0 replies; 17+ messages in thread
From: Mike Frysinger (vapier) @ 2007-11-10  4:07 UTC (permalink / raw
  To: gentoo-commits

vapier      07/11/10 04:07:21

  Modified:             src_unpack.eblit
  Log:
  Add support for USE=vanilla.
  (Portage version: 2.1.3.19)

Revision  Changes    Path
1.3                  sys-libs/glibc/files/eblits/src_unpack.eblit

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?r1=1.2&r2=1.3

Index: src_unpack.eblit
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- src_unpack.eblit	7 Oct 2007 03:43:52 -0000	1.2
+++ src_unpack.eblit	10 Nov 2007 04:07:21 -0000	1.3
@@ -1,6 +1,6 @@
 # Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v 1.2 2007/10/07 03:43:52 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v 1.3 2007/11/10 04:07:21 vapier Exp $
 
 check_kheader_version() {
 	local version=$(
@@ -67,7 +67,9 @@
 		# pull out all the addons
 		local d
 		for d in extra/*/configure ; do
-			mv "${d%/configure}" "${S}" || die "moving ${d}"
+			d=${d%/configure}
+			[[ -d ${S}/${d} ]] && die "${d} already exists in \${S}"
+			mv "${d}" "${S}" || die "moving ${d} failed"
 		done
 	fi
 
@@ -93,7 +95,7 @@
 		unpack glibc-infopages-${INFOPAGE_VER}.tar.bz2
 	fi
 
-	if [[ -n ${PATCH_VER} ]] ; then
+	if [[ -n ${PATCH_VER} ]] && ! use vanilla ; then
 		cd "${S}"
 		EPATCH_MULTI_MSG="Applying Gentoo Glibc Patchset ${PATCH_GLIBC_VER}-${PATCH_VER} ..." \
 		EPATCH_EXCLUDE=${GLIBC_PATCH_EXCLUDE} \



-- 
gentoo-commits@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 17+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sys-libs/glibc/files/eblits: src_unpack.eblit
@ 2007-11-11 20:12 Mike Frysinger (vapier)
  0 siblings, 0 replies; 17+ messages in thread
From: Mike Frysinger (vapier) @ 2007-11-11 20:12 UTC (permalink / raw
  To: gentoo-commits

vapier      07/11/11 20:12:38

  Modified:             src_unpack.eblit
  Log:
  Move hardened stuff back to each ebuild (since that is how we are tracking it) and add support for pre/post eblit hooks.  Also fixup hardened patch to apply #198335.
  (Portage version: 2.1.3.19)

Revision  Changes    Path
1.4                  sys-libs/glibc/files/eblits/src_unpack.eblit

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?r1=1.3&r2=1.4

Index: src_unpack.eblit
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- src_unpack.eblit	10 Nov 2007 04:07:21 -0000	1.3
+++ src_unpack.eblit	11 Nov 2007 20:12:38 -0000	1.4
@@ -1,6 +1,6 @@
 # Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v 1.3 2007/11/10 04:07:21 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v 1.4 2007/11/11 20:12:38 vapier Exp $
 
 check_kheader_version() {
 	local version=$(
@@ -108,34 +108,6 @@
 		echo "Gentoo patchset ${PATCH_VER}" > csu/Banner
 	fi
 
-	if use hardened ; then
-		cd "${S}"
-		einfo "Patching to get working PIE binaries on PIE (hardened) platforms"
-		gcc-specs-pie && epatch "${FILESDIR}"/2.5/glibc-2.5-hardened-pie.patch
-		epatch "${FILESDIR}"/2.5/glibc-2.5-hardened-configure-picdefault.patch
-		epatch "${FILESDIR}"/2.6/glibc-2.6-hardened-inittls-nosysenter.patch
-
-		einfo "Installing Hardened Gentoo SSP handler"
-		cp -f "${FILESDIR}"/2.6/glibc-2.6-gentoo-stack_chk_fail.c \
-			debug/stack_chk_fail.c || die
-
-		if use debug ; then
-			# When using Hardened Gentoo stack handler, have smashes dump core for
-			# analysis - debug only, as core could be an information leak
-			# (paranoia).
-			sed -i \
-				-e '/^CFLAGS-backtrace.c/ iCFLAGS-stack_chk_fail.c = -DSSP_SMASH_DUMPS_CORE' \
-				debug/Makefile \
-				|| die "Failed to modify debug/Makefile for debug stack handler"
-		fi
-
-		# Build nscd with ssp-all
-		sed -i \
-			-e 's:-fstack-protector$:-fstack-protector-all:' \
-			nscd/Makefile \
-			|| die "Failed to ensure nscd builds with ssp-all"
-	fi
-
 	gnuconfig_update
 }
 



-- 
gentoo-commits@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 17+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sys-libs/glibc/files/eblits: src_unpack.eblit
@ 2008-06-08  0:49 Mike Frysinger (vapier)
  0 siblings, 0 replies; 17+ messages in thread
From: Mike Frysinger (vapier) @ 2008-06-08  0:49 UTC (permalink / raw
  To: gentoo-commits

vapier      08/06/08 00:49:10

  Modified:             src_unpack.eblit
  Log:
  Version bump #225175 by Arfrever Frehtes Taifersar Arahesis.
  (Portage version: 2.2_pre7-r1/cvs/Linux 2.6.25 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+)

Revision  Changes    Path
1.5                  sys-libs/glibc/files/eblits/src_unpack.eblit

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?r1=1.4&r2=1.5

Index: src_unpack.eblit
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- src_unpack.eblit	11 Nov 2007 20:12:38 -0000	1.4
+++ src_unpack.eblit	8 Jun 2008 00:49:09 -0000	1.5
@@ -1,6 +1,6 @@
 # Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v 1.4 2007/11/11 20:12:38 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v 1.5 2008/06/08 00:49:09 vapier Exp $
 
 check_kheader_version() {
 	local version=$(
@@ -44,26 +44,29 @@
 	fi
 }
 
-unpack_addon() {
-	local addon=$1 ver=${2:-${RELEASE_VER}}
-	unpack glibc-${addon}-${ver}.tar.bz2
-	mv glibc-${addon}-${ver} ${addon} || die
+unpack_pkg() {
+	local a=${PN}
+	[[ -n ${SNAP_VER} ]] && a="${a}-${RELEASE_VER}"
+	[[ -n $1 ]] && a="${a}-$1"
+	[[ -n ${SNAP_VER} ]] && a="${a}-${SNAP_VER}" || a="${a}-${RELEASE_VER}"
+	unpack ${a}.tar.bz2
+	[[ -n $1 ]] && mv ${a} $1
 }
 
 toolchain-glibc_src_unpack() {
 	# Check NPTL support _before_ we unpack things to save some time
 	want_nptl && check_nptl_support
 
-	unpack glibc-${RELEASE_VER}.tar.bz2
+	unpack_pkg
 
 	cd "${S}"
-	[[ -n ${LT_VER} ]] && unpack glibc-linuxthreads-${LT_VER}.tar.bz2
-	[[ -n ${PORTS_VER} ]] && unpack_addon ports ${PORTS_VER}
-	unpack_addon libidn
+	[[ -n ${LT_VER}     ]] && unpack_pkg linuxthreads ${LT_VER}
+	[[ -n ${PORTS_VER}  ]] && unpack_pkg ports ${PORTS_VER}
+	[[ -n ${LIBIDN_VER} ]] && unpack_pkg libidn
 
 	if [[ -n ${PATCH_VER} ]] ; then
 		cd "${WORKDIR}"
-		unpack glibc-${PATCH_GLIBC_VER}-patches-${PATCH_VER}.tar.bz2
+		unpack glibc-${RELEASE_VER}-patches-${PATCH_VER}.tar.bz2
 		# pull out all the addons
 		local d
 		for d in extra/*/configure ; do
@@ -95,17 +98,19 @@
 		unpack glibc-infopages-${INFOPAGE_VER}.tar.bz2
 	fi
 
+	# tag, glibc is it
+	cd "${S}"
+	[[ -e csu/Banner ]] && die "need new banner location"
+	[[ -n ${SNAP_VER} ]] && echo "Gentoo snapshot ${SNAP_VER}" >> csu/Banner
+	[[ -n ${BRANCH_UPDATE} ]] && echo "Gentoo branch ${BRANCH_UPDATE}" >> csu/Banner
 	if [[ -n ${PATCH_VER} ]] && ! use vanilla ; then
 		cd "${S}"
-		EPATCH_MULTI_MSG="Applying Gentoo Glibc Patchset ${PATCH_GLIBC_VER}-${PATCH_VER} ..." \
+		EPATCH_MULTI_MSG="Applying Gentoo Glibc Patchset ${RELEASE_VER}-${PATCH_VER} ..." \
 		EPATCH_EXCLUDE=${GLIBC_PATCH_EXCLUDE} \
 		EPATCH_SUFFIX="patch" \
 		ARCH=$(tc-arch) \
 		epatch "${WORKDIR}"/patches
-
-		# tag, glibc is it
-		[[ -e csu/Banner ]] && die "need new banner location"
-		echo "Gentoo patchset ${PATCH_VER}" > csu/Banner
+		echo "Gentoo patchset ${PATCH_VER}" >> csu/Banner
 	fi
 
 	gnuconfig_update



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 17+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sys-libs/glibc/files/eblits: src_unpack.eblit
@ 2008-11-29 21:03 Mike Frysinger (vapier)
  0 siblings, 0 replies; 17+ messages in thread
From: Mike Frysinger (vapier) @ 2008-11-29 21:03 UTC (permalink / raw
  To: gentoo-commits

vapier      08/11/29 21:03:34

  Modified:             src_unpack.eblit
  Log:
  disable nptl checks for headers-only builds

Revision  Changes    Path
1.6                  sys-libs/glibc/files/eblits/src_unpack.eblit

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?rev=1.6&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?rev=1.6&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?r1=1.5&r2=1.6

Index: src_unpack.eblit
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- src_unpack.eblit	8 Jun 2008 00:49:09 -0000	1.5
+++ src_unpack.eblit	29 Nov 2008 21:03:34 -0000	1.6
@@ -1,6 +1,6 @@
 # Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v 1.5 2008/06/08 00:49:09 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v 1.6 2008/11/29 21:03:34 vapier Exp $
 
 check_kheader_version() {
 	local version=$(
@@ -12,6 +12,9 @@
 }
 
 check_nptl_support() {
+	# don't care about the compiler here as we arent using it
+	just_headers && return
+
 	local min_kernel_version=$(KV_to_int "${NPTL_KERN_VER}")
 
 	ebegin "Checking gcc for __thread support"
@@ -33,8 +36,6 @@
 		fi
 	fi
 
-	# Building fails with too low linux-headers
-	just_headers && return
 	ebegin "Checking linux-headers version (>=${NPTL_KERN_VER})"
 	if ! eend $(check_kheader_version "${min_kernel_version}" ; echo $?) ; then
 		echo






^ permalink raw reply	[flat|nested] 17+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sys-libs/glibc/files/eblits: src_unpack.eblit
@ 2008-12-08  1:30 Mike Frysinger (vapier)
  0 siblings, 0 replies; 17+ messages in thread
From: Mike Frysinger (vapier) @ 2008-12-08  1:30 UTC (permalink / raw
  To: gentoo-commits

vapier      08/12/08 01:30:49

  Modified:             src_unpack.eblit
  Log:
  Force timestamp update of C-translit.h so we dont regen it all the time #185476 #218003.
  (Portage version: 2.2_rc17/cvs/Linux 2.6.27.8 x86_64)

Revision  Changes    Path
1.7                  sys-libs/glibc/files/eblits/src_unpack.eblit

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?rev=1.7&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?rev=1.7&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?r1=1.6&r2=1.7

Index: src_unpack.eblit
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- src_unpack.eblit	29 Nov 2008 21:03:34 -0000	1.6
+++ src_unpack.eblit	8 Dec 2008 01:30:49 -0000	1.7
@@ -1,6 +1,6 @@
 # Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v 1.6 2008/11/29 21:03:34 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v 1.7 2008/12/08 01:30:49 vapier Exp $
 
 check_kheader_version() {
 	local version=$(
@@ -61,6 +61,7 @@
 	unpack_pkg
 
 	cd "${S}"
+	touch locale/C-translit.h #185476 #218003
 	[[ -n ${LT_VER}     ]] && unpack_pkg linuxthreads ${LT_VER}
 	[[ -n ${PORTS_VER}  ]] && unpack_pkg ports ${PORTS_VER}
 	[[ -n ${LIBIDN_VER} ]] && unpack_pkg libidn






^ permalink raw reply	[flat|nested] 17+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sys-libs/glibc/files/eblits: src_unpack.eblit
@ 2009-05-17 22:17 Mike Frysinger (vapier)
  0 siblings, 0 replies; 17+ messages in thread
From: Mike Frysinger (vapier) @ 2009-05-17 22:17 UTC (permalink / raw
  To: gentoo-commits

vapier      09/05/17 22:17:57

  Modified:             src_unpack.eblit
  Log:
  Improve check_nptl_support output to include more info to help people figure out their own mistakes.
  (Portage version: 2.2_rc33/cvs/Linux x86_64)

Revision  Changes    Path
1.8                  sys-libs/glibc/files/eblits/src_unpack.eblit

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?rev=1.8&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?rev=1.8&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?r1=1.7&r2=1.8

Index: src_unpack.eblit
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- src_unpack.eblit	8 Dec 2008 01:30:49 -0000	1.7
+++ src_unpack.eblit	17 May 2009 22:17:56 -0000	1.8
@@ -1,21 +1,34 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v 1.7 2008/12/08 01:30:49 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v 1.8 2009/05/17 22:17:56 vapier Exp $
 
-check_kheader_version() {
-	local version=$(
-		printf '#include <linux/version.h>\nLINUX_VERSION_CODE\n' | \
-		$(tc-getCPP ${CTARGET}) -I "$(alt_build_headers)" | \
-		tail -n 1
-	)
-	[[ ${version} -ge "$1" ]]
+int_to_KV() {
+	local version=$1 major minor micro
+	major=$((version / 65536))
+	minor=$(((version % 65536) / 256))
+	micro=$((version % 256))
+	echo ${major}.${minor}.${micro}
+}
+
+eend_KV() {
+	[[ $(KV_to_int $1) -ge $(KV_to_int $2) ]]
+	eend $?
+}
+
+get_kheader_version() {
+	printf '#include <linux/version.h>\nLINUX_VERSION_CODE\n' | \
+	$(tc-getCPP ${CTARGET}) -I "$(alt_build_headers)" | \
+	tail -n 1
 }
 
 check_nptl_support() {
 	# don't care about the compiler here as we arent using it
 	just_headers && return
 
-	local min_kernel_version=$(KV_to_int "${NPTL_KERN_VER}")
+	local run_kv build_kv want_kv
+	run_kv=$(int_to_KV $(get_KV))
+	build_kv=$(int_to_KV $(get_kheader_version))
+	want_kv=${NPTL_KERN_VER}
 
 	ebegin "Checking gcc for __thread support"
 	if ! eend $(want__thread ; echo $?) ; then
@@ -27,20 +40,18 @@
 
 	if ! is_crosscompile && ! tc-is-cross-compiler ; then
 		# Building fails on an non-supporting kernel
-		ebegin "Checking kernel version (>=${NPTL_KERN_VER})"
-		if ! eend $([[ $(get_KV) -ge ${min_kernel_version} ]] ; echo $?) ; then
+		ebegin "Checking kernel version (${run_kv} >= ${want_kv})"
+		if ! eend_KV ${run_kv} ${want_kv} ; then
 			echo
-			eerror "You need a kernel of at least version ${NPTL_KERN_VER}"
-			eerror "for NPTL support!"
+			eerror "You need a kernel of at least ${want_kv} for NPTL support!"
 			die "Kernel version too low!"
 		fi
 	fi
 
-	ebegin "Checking linux-headers version (>=${NPTL_KERN_VER})"
-	if ! eend $(check_kheader_version "${min_kernel_version}" ; echo $?) ; then
+	ebegin "Checking linux-headers version (${build_kv} >= ${want_kv})"
+	if ! eend_KV ${build_kv} ${want_kv} ; then
 		echo
-		eerror "You need linux-headers of at least version ${NPTL_KERN_VER}"
-		eerror "for NPTL support!"
+		eerror "You need linux-headers of at least ${want_kv} for NPTL support!"
 		die "linux-headers version too low!"
 	fi
 }






^ permalink raw reply	[flat|nested] 17+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sys-libs/glibc/files/eblits: src_unpack.eblit
@ 2009-11-09 22:16 Mike Frysinger (vapier)
  0 siblings, 0 replies; 17+ messages in thread
From: Mike Frysinger (vapier) @ 2009-11-09 22:16 UTC (permalink / raw
  To: gentoo-commits

vapier      09/11/09 22:16:14

  Modified:             src_unpack.eblit
  Log:
  enable user patching
  (Portage version: 2.2_rc49/cvs/Linux x86_64)

Revision  Changes    Path
1.9                  sys-libs/glibc/files/eblits/src_unpack.eblit

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?rev=1.9&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?rev=1.9&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?r1=1.8&r2=1.9

Index: src_unpack.eblit
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- src_unpack.eblit	17 May 2009 22:17:56 -0000	1.8
+++ src_unpack.eblit	9 Nov 2009 22:16:13 -0000	1.9
@@ -1,6 +1,6 @@
 # Copyright 1999-2009 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v 1.8 2009/05/17 22:17:56 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v 1.9 2009/11/09 22:16:13 vapier Exp $
 
 int_to_KV() {
 	local version=$1 major minor micro
@@ -126,6 +126,8 @@
 		echo "Gentoo patchset ${PATCH_VER}" >> csu/Banner
 	fi
 
+	epatch_user
+
 	gnuconfig_update
 }
 






^ permalink raw reply	[flat|nested] 17+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sys-libs/glibc/files/eblits: src_unpack.eblit
@ 2010-04-25 17:17 Mike Frysinger (vapier)
  0 siblings, 0 replies; 17+ messages in thread
From: Mike Frysinger (vapier) @ 2010-04-25 17:17 UTC (permalink / raw
  To: gentoo-commits

vapier      10/04/25 17:17:55

  Modified:             src_unpack.eblit
  Log:
  Version bump #315477.
  (Portage version: 2.2_rc67/cvs/Linux x86_64)

Revision  Changes    Path
1.10                 sys-libs/glibc/files/eblits/src_unpack.eblit

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?rev=1.10&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?rev=1.10&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?r1=1.9&r2=1.10

Index: src_unpack.eblit
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- src_unpack.eblit	9 Nov 2009 22:16:13 -0000	1.9
+++ src_unpack.eblit	25 Apr 2010 17:17:55 -0000	1.10
@@ -1,6 +1,6 @@
 # Copyright 1999-2009 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v 1.9 2009/11/09 22:16:13 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v 1.10 2010/04/25 17:17:55 vapier Exp $
 
 int_to_KV() {
 	local version=$1 major minor micro
@@ -60,7 +60,13 @@
 	local a=${PN}
 	[[ -n ${SNAP_VER} ]] && a="${a}-${RELEASE_VER}"
 	[[ -n $1 ]] && a="${a}-$1"
-	[[ -n ${SNAP_VER} ]] && a="${a}-${SNAP_VER}" || a="${a}-${RELEASE_VER}"
+	if [[ -n $2 ]] ; then
+		a="${a}-$2"
+	elif [[ -n ${SNAP_VER} ]] ; then
+		a="${a}-${SNAP_VER}"
+	else
+		a="${a}-${RELEASE_VER}"
+	fi
 	unpack ${a}.tar.bz2
 	[[ -n $1 ]] && mv ${a} $1
 }






^ permalink raw reply	[flat|nested] 17+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sys-libs/glibc/files/eblits: src_unpack.eblit
@ 2010-06-08  4:59 Mike Frysinger (vapier)
  0 siblings, 0 replies; 17+ messages in thread
From: Mike Frysinger (vapier) @ 2010-06-08  4:59 UTC (permalink / raw
  To: gentoo-commits

vapier      10/06/08 04:59:56

  Modified:             src_unpack.eblit
  Log:
  Tweak src_unpack a bit more to handle snaps again #323009 by Maksim Melnikau.

Revision  Changes    Path
1.11                 sys-libs/glibc/files/eblits/src_unpack.eblit

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?rev=1.11&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?rev=1.11&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?r1=1.10&r2=1.11

Index: src_unpack.eblit
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- src_unpack.eblit	25 Apr 2010 17:17:55 -0000	1.10
+++ src_unpack.eblit	8 Jun 2010 04:59:56 -0000	1.11
@@ -1,6 +1,6 @@
 # Copyright 1999-2009 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v 1.10 2010/04/25 17:17:55 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v 1.11 2010/06/08 04:59:56 vapier Exp $
 
 int_to_KV() {
 	local version=$1 major minor micro
@@ -60,12 +60,14 @@
 	local a=${PN}
 	[[ -n ${SNAP_VER} ]] && a="${a}-${RELEASE_VER}"
 	[[ -n $1 ]] && a="${a}-$1"
-	if [[ -n $2 ]] ; then
-		a="${a}-$2"
-	elif [[ -n ${SNAP_VER} ]] ; then
+	if [[ -n ${SNAP_VER} ]] ; then
 		a="${a}-${SNAP_VER}"
 	else
-		a="${a}-${RELEASE_VER}"
+		if [[ -n $2 ]] ; then
+			a="${a}-$2"
+		else
+			a="${a}-${RELEASE_VER}"
+		fi
 	fi
 	unpack ${a}.tar.bz2
 	[[ -n $1 ]] && mv ${a} $1






^ permalink raw reply	[flat|nested] 17+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sys-libs/glibc/files/eblits: src_unpack.eblit
@ 2011-08-23 18:37 Mike Frysinger (vapier)
  0 siblings, 0 replies; 17+ messages in thread
From: Mike Frysinger (vapier) @ 2011-08-23 18:37 UTC (permalink / raw
  To: gentoo-commits

vapier      11/08/23 18:37:57

  Modified:             src_unpack.eblit
  Log:
  Add support for live git builds.
  
  (Portage version: 2.2.0_alpha51/cvs/Linux x86_64)

Revision  Changes    Path
1.13                 sys-libs/glibc/files/eblits/src_unpack.eblit

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?rev=1.13&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?rev=1.13&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?r1=1.12&r2=1.13

Index: src_unpack.eblit
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- src_unpack.eblit	11 Mar 2011 02:40:28 -0000	1.12
+++ src_unpack.eblit	23 Aug 2011 18:37:57 -0000	1.13
@@ -1,6 +1,6 @@
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v 1.12 2011/03/11 02:40:28 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v 1.13 2011/08/23 18:37:57 vapier Exp $
 
 int_to_KV() {
 	local version=$1 major minor micro
@@ -77,7 +77,16 @@
 	# Check NPTL support _before_ we unpack things to save some time
 	want_nptl && check_nptl_support
 
-	unpack_pkg
+	if [[ -n ${EGIT_REPO_URIS} ]] ; then
+		local i d
+		for ((i=0; i<${#EGIT_REPO_URIS[@]}; ++i)) ; do
+			EGIT_REPO_URI=${EGIT_REPO_URIS[$i]}
+			EGIT_SOURCEDIR=${EGIT_SOURCEDIRS[$i]}
+			git-2_src_unpack
+		done
+	else
+		unpack_pkg
+	fi
 
 	cd "${S}"
 	touch locale/C-translit.h #185476 #218003






^ permalink raw reply	[flat|nested] 17+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sys-libs/glibc/files/eblits: src_unpack.eblit
@ 2012-01-13 21:18 Mike Frysinger (vapier)
  0 siblings, 0 replies; 17+ messages in thread
From: Mike Frysinger (vapier) @ 2012-01-13 21:18 UTC (permalink / raw
  To: gentoo-commits

vapier      12/01/13 21:18:30

  Modified:             src_unpack.eblit
  Log:
  Version bump.  Add xz tarball support so we can upload our own release tarballs early without conflicting with official ones.  Drop coreutils static checks since latest glibc versions no longer have that bug.
  
  (Portage version: 2.2.0_alpha84/cvs/Linux x86_64)

Revision  Changes    Path
1.15                 sys-libs/glibc/files/eblits/src_unpack.eblit

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?rev=1.15&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?rev=1.15&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?r1=1.14&r2=1.15

Index: src_unpack.eblit
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- src_unpack.eblit	12 Dec 2011 17:47:28 -0000	1.14
+++ src_unpack.eblit	13 Jan 2012 21:18:30 -0000	1.15
@@ -1,6 +1,6 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v 1.14 2011/12/12 17:47:28 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v 1.15 2012/01/13 21:18:30 vapier Exp $
 
 int_to_KV() {
 	local version=$1 major minor micro
@@ -69,8 +69,16 @@
 			a="${a}-${RELEASE_VER}"
 		fi
 	fi
-	unpack ${a}.tar.bz2
-	[[ -n $1 ]] && mv ${a} $1
+	if has ${a}.tar.xz ${A} ; then
+		unpack ${a}.tar.xz
+		if [[ ! -d ${a} ]] ; then
+			# EAPI=0 does not support .xz
+			xz -dc "${DISTDIR}/${a}.tar.xz" | tar xof - || die
+		fi
+	else
+		unpack ${a}.tar.bz2
+	fi
+	[[ -n $1 ]] && { mv ${a} $1 || die ; }
 }
 
 toolchain-glibc_src_unpack() {






^ permalink raw reply	[flat|nested] 17+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sys-libs/glibc/files/eblits: src_unpack.eblit
@ 2012-08-12  5:44 Mike Frysinger (vapier)
  0 siblings, 0 replies; 17+ messages in thread
From: Mike Frysinger (vapier) @ 2012-08-12  5:44 UTC (permalink / raw
  To: gentoo-commits

vapier      12/08/12 05:44:34

  Modified:             src_unpack.eblit
  Log:
  Do not use the -lgcc_eh hack with glibc-2.17+ since its been addressed upstream.
  
  (Portage version: 2.2.0_alpha120/cvs/Linux x86_64)

Revision  Changes    Path
1.17                 sys-libs/glibc/files/eblits/src_unpack.eblit

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?rev=1.17&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?rev=1.17&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?r1=1.16&r2=1.17

Index: src_unpack.eblit
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- src_unpack.eblit	16 Feb 2012 00:27:08 -0000	1.16
+++ src_unpack.eblit	12 Aug 2012 05:44:34 -0000	1.17
@@ -1,6 +1,6 @@
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v 1.16 2012/02/16 00:27:08 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v 1.17 2012/08/12 05:44:34 vapier Exp $
 
 int_to_KV() {
 	local version=$1 major minor micro
@@ -171,9 +171,13 @@
 	# static C-Only gcc, -lgcc_eh doesn't exist.
 	# http://sources.redhat.com/ml/libc-alpha/2003-09/msg00100.html
 	# http://sourceware.org/ml/libc-alpha/2005-02/msg00042.html
-	echo 'int main(){}' > "${T}"/gcc_eh_test.c
-	if ! $(tc-getCC ${CTARGET}) "${T}"/gcc_eh_test.c -lgcc_eh 2>/dev/null ; then
-		sed -i -e 's:-lgcc_eh::' Makeconfig || die "sed gcc_eh"
+	# But! Finally fixed in recent versions:
+	# http://sourceware.org/ml/libc-alpha/2012-05/msg01865.html
+	if version_is_at_least 2.17 ${PV} ; then
+		echo 'int main(){}' > "${T}"/gcc_eh_test.c
+		if ! $(tc-getCC ${CTARGET}) "${T}"/gcc_eh_test.c -lgcc_eh 2>/dev/null ; then
+			sed -i -e 's:-lgcc_eh::' Makeconfig || die "sed gcc_eh"
+		fi
 	fi
 
 	cd "${WORKDIR}"





^ permalink raw reply	[flat|nested] 17+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sys-libs/glibc/files/eblits: src_unpack.eblit
@ 2012-08-14 16:06 Mike Frysinger (vapier)
  0 siblings, 0 replies; 17+ messages in thread
From: Mike Frysinger (vapier) @ 2012-08-14 16:06 UTC (permalink / raw
  To: gentoo-commits

vapier      12/08/14 16:06:06

  Modified:             src_unpack.eblit
  Log:
  Fix inverted version logic with libgcc_eh #431304 by David Flogeras.
  
  (Portage version: 2.2.0_alpha120/cvs/Linux x86_64)

Revision  Changes    Path
1.18                 sys-libs/glibc/files/eblits/src_unpack.eblit

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?rev=1.18&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?rev=1.18&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?r1=1.17&r2=1.18

Index: src_unpack.eblit
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- src_unpack.eblit	12 Aug 2012 05:44:34 -0000	1.17
+++ src_unpack.eblit	14 Aug 2012 16:06:06 -0000	1.18
@@ -1,6 +1,6 @@
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v 1.17 2012/08/12 05:44:34 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v 1.18 2012/08/14 16:06:06 vapier Exp $
 
 int_to_KV() {
 	local version=$1 major minor micro
@@ -173,7 +173,7 @@
 	# http://sourceware.org/ml/libc-alpha/2005-02/msg00042.html
 	# But! Finally fixed in recent versions:
 	# http://sourceware.org/ml/libc-alpha/2012-05/msg01865.html
-	if version_is_at_least 2.17 ${PV} ; then
+	if ! version_is_at_least 2.17 ; then
 		echo 'int main(){}' > "${T}"/gcc_eh_test.c
 		if ! $(tc-getCC ${CTARGET}) "${T}"/gcc_eh_test.c -lgcc_eh 2>/dev/null ; then
 			sed -i -e 's:-lgcc_eh::' Makeconfig || die "sed gcc_eh"





^ permalink raw reply	[flat|nested] 17+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sys-libs/glibc/files/eblits: src_unpack.eblit
@ 2013-02-09  4:42 Mike Frysinger (vapier)
  0 siblings, 0 replies; 17+ messages in thread
From: Mike Frysinger (vapier) @ 2013-02-09  4:42 UTC (permalink / raw
  To: gentoo-commits

vapier      13/02/09 04:42:18

  Modified:             src_unpack.eblit
  Log:
  Update SRC_URI/bug/mail links to use sourceware.org #455152 by wbrana.
  
  (Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)

Revision  Changes    Path
1.21                 sys-libs/glibc/files/eblits/src_unpack.eblit

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?rev=1.21&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?rev=1.21&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?r1=1.20&r2=1.21

Index: src_unpack.eblit
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- src_unpack.eblit	28 Dec 2012 19:00:51 -0000	1.20
+++ src_unpack.eblit	9 Feb 2013 04:42:18 -0000	1.21
@@ -1,6 +1,6 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v 1.20 2012/12/28 19:00:51 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v 1.21 2013/02/09 04:42:18 vapier Exp $
 
 int_to_KV() {
 	local version=$1 major minor micro
@@ -169,7 +169,7 @@
 
 	# Glibc is stupid sometimes, and doesn't realize that with a
 	# static C-Only gcc, -lgcc_eh doesn't exist.
-	# http://sources.redhat.com/ml/libc-alpha/2003-09/msg00100.html
+	# http://sourceware.org/ml/libc-alpha/2003-09/msg00100.html
 	# http://sourceware.org/ml/libc-alpha/2005-02/msg00042.html
 	# But! Finally fixed in recent versions:
 	# http://sourceware.org/ml/libc-alpha/2012-05/msg01865.html





^ permalink raw reply	[flat|nested] 17+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sys-libs/glibc/files/eblits: src_unpack.eblit
@ 2013-09-28 22:07 Mike Frysinger (vapier)
  0 siblings, 0 replies; 17+ messages in thread
From: Mike Frysinger (vapier) @ 2013-09-28 22:07 UTC (permalink / raw
  To: gentoo-commits

vapier      13/09/28 22:07:57

  Modified:             src_unpack.eblit
  Log:
  Tweak how we check the kernel header version to work w/clang #485146 by eroen.
  
  (Portage version: 2.2.0/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)

Revision  Changes    Path
1.24                 sys-libs/glibc/files/eblits/src_unpack.eblit

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?rev=1.24&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?rev=1.24&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?r1=1.23&r2=1.24

Index: src_unpack.eblit
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- src_unpack.eblit	29 Jun 2013 03:22:32 -0000	1.23
+++ src_unpack.eblit	28 Sep 2013 22:07:57 -0000	1.24
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v 1.23 2013/06/29 03:22:32 heroxbd Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v 1.24 2013/09/28 22:07:57 vapier Exp $
 
 int_to_KV() {
 	local version=$1 major minor micro
@@ -17,7 +17,7 @@
 
 get_kheader_version() {
 	printf '#include <linux/version.h>\nLINUX_VERSION_CODE\n' | \
-	$(tc-getCPP ${CTARGET}) -I "${EPREFIX}/$(alt_build_headers)" | \
+	$(tc-getCPP ${CTARGET}) -I "${EPREFIX}/$(alt_build_headers)" - | \
 	tail -n 1
 }
 





^ permalink raw reply	[flat|nested] 17+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sys-libs/glibc/files/eblits: src_unpack.eblit
@ 2014-08-21 14:06 Mike Frysinger (vapier)
  0 siblings, 0 replies; 17+ messages in thread
From: Mike Frysinger (vapier) @ 2014-08-21 14:06 UTC (permalink / raw
  To: gentoo-commits

vapier      14/08/21 14:06:17

  Modified:             src_unpack.eblit
  Log:
  Modernize the `find` commands.
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key D2E96200)

Revision  Changes    Path
1.26                 sys-libs/glibc/files/eblits/src_unpack.eblit

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?rev=1.26&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?rev=1.26&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?r1=1.25&r2=1.26

Index: src_unpack.eblit
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- src_unpack.eblit	29 Mar 2014 05:31:59 -0000	1.25
+++ src_unpack.eblit	21 Aug 2014 14:06:17 -0000	1.26
@@ -1,6 +1,6 @@
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v 1.25 2014/03/29 05:31:59 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v 1.26 2014/08/21 14:06:17 vapier Exp $
 
 int_to_KV() {
 	local version=$1 major minor micro
@@ -171,9 +171,9 @@
 	fi
 
 	cd "${WORKDIR}"
-	find . -type f '(' -size 0 -o -name "*.orig" ')' -exec rm -f {} \;
-	find . -name configure -exec touch {} \;
+	find . -type f '(' -size 0 -o -name "*.orig" ')' -delete
+	find . -name configure -exec touch {} +
 
-	# Fix permissions on some of the scripts
+	# Fix permissions on some of the scripts.
 	chmod u+x "${S}"/scripts/*.sh
 }





^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2014-08-21 14:06 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-25 17:17 [gentoo-commits] gentoo-x86 commit in sys-libs/glibc/files/eblits: src_unpack.eblit Mike Frysinger (vapier)
  -- strict thread matches above, loose matches on Subject: below --
2014-08-21 14:06 Mike Frysinger (vapier)
2013-09-28 22:07 Mike Frysinger (vapier)
2013-02-09  4:42 Mike Frysinger (vapier)
2012-08-14 16:06 Mike Frysinger (vapier)
2012-08-12  5:44 Mike Frysinger (vapier)
2012-01-13 21:18 Mike Frysinger (vapier)
2011-08-23 18:37 Mike Frysinger (vapier)
2010-06-08  4:59 Mike Frysinger (vapier)
2009-11-09 22:16 Mike Frysinger (vapier)
2009-05-17 22:17 Mike Frysinger (vapier)
2008-12-08  1:30 Mike Frysinger (vapier)
2008-11-29 21:03 Mike Frysinger (vapier)
2008-06-08  0:49 Mike Frysinger (vapier)
2007-11-11 20:12 Mike Frysinger (vapier)
2007-11-10  4:07 Mike Frysinger (vapier)
2007-10-07  3:43 Mike Frysinger (vapier)

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