diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2014-04-21 07:23:40 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2014-04-21 07:23:40 +0000 |
commit | affdf9f4907be84f03af500239fc057b0ff15ff0 (patch) | |
tree | 33419dd28fdcf8adcbc1906a565ccdb85c1a77fa /dev-util/suse-build | |
parent | Make multilib_is_native_abi equivalent to multilib_build_binaries, until all ... (diff) | |
download | gentoo-2-affdf9f4907be84f03af500239fc057b0ff15ff0.tar.gz gentoo-2-affdf9f4907be84f03af500239fc057b0ff15ff0.tar.bz2 gentoo-2-affdf9f4907be84f03af500239fc057b0ff15ff0.zip |
Stabilise on amd64 and x86. Drop older.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 8EEE3BE8)
Diffstat (limited to 'dev-util/suse-build')
-rw-r--r-- | dev-util/suse-build/ChangeLog | 7 | ||||
-rw-r--r-- | dev-util/suse-build/files/suse-build-20131015-libexec-paths.patch | 248 | ||||
-rw-r--r-- | dev-util/suse-build/suse-build-2013.12.05.ebuild | 63 | ||||
-rw-r--r-- | dev-util/suse-build/suse-build-2014.02.20.ebuild | 4 |
4 files changed, 8 insertions, 314 deletions
diff --git a/dev-util/suse-build/ChangeLog b/dev-util/suse-build/ChangeLog index f7e887849e2d..509b7b809d46 100644 --- a/dev-util/suse-build/ChangeLog +++ b/dev-util/suse-build/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-util/suse-build # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/suse-build/ChangeLog,v 1.23 2014/03/02 17:28:39 miska Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/suse-build/ChangeLog,v 1.24 2014/04/21 07:23:40 scarabeus Exp $ + + 21 Apr 2014; Tomáš Chvátal <scarabeus@gentoo.org> + -files/suse-build-20131015-libexec-paths.patch, -suse-build-2013.12.05.ebuild, + suse-build-2014.02.20.ebuild: + Stabilise on amd64 and x86. Drop older. *suse-build-2014.02.20 (02 Mar 2014) diff --git a/dev-util/suse-build/files/suse-build-20131015-libexec-paths.patch b/dev-util/suse-build/files/suse-build-20131015-libexec-paths.patch deleted file mode 100644 index 10e9bd880479..000000000000 --- a/dev-util/suse-build/files/suse-build-20131015-libexec-paths.patch +++ /dev/null @@ -1,248 +0,0 @@ -diff -Naru obs-build-20131015.orig/build obs-build-20131015/build ---- obs-build-20131015.orig/build 2014-01-28 12:31:51.126824118 +0000 -+++ obs-build-20131015/build 2014-01-28 12:31:23.973477260 +0000 -@@ -12,7 +12,7 @@ - exec /.build/build "$@" - fi - --test -z "$BUILD_DIR" && BUILD_DIR=/usr/lib/build -+test -z "$BUILD_DIR" && BUILD_DIR=/usr/libexec/suse-build - test -z "$BUILD_ROOT" && BUILD_ROOT=/var/tmp/build-root - test -z "$CONFIG_DIR" && CONFIG_DIR="$BUILD_DIR/configs" - -diff -Naru obs-build-20131015.orig/createarchdeps obs-build-20131015/createarchdeps ---- obs-build-20131015.orig/createarchdeps 2014-01-28 12:31:51.128824144 +0000 -+++ obs-build-20131015/createarchdeps 2014-01-28 12:31:23.976477299 +0000 -@@ -3,7 +3,7 @@ - # Archlinux support, based on the GSoC work of Nikolay Rysev <mad.f3ka@gmail.com> - - BEGIN { -- unshift @INC, ($::ENV{"BUILD_DIR"} || "/usr/lib/build"); -+ unshift @INC, ($::ENV{"BUILD_DIR"} || "/usr/libexec/suse-build"); - } - - use strict; -diff -Naru obs-build-20131015.orig/createrepomddeps obs-build-20131015/createrepomddeps ---- obs-build-20131015.orig/createrepomddeps 2014-01-28 12:31:51.128824144 +0000 -+++ obs-build-20131015/createrepomddeps 2014-01-28 12:31:23.976477299 +0000 -@@ -1,7 +1,7 @@ - #!/usr/bin/perl -w - - BEGIN { -- unshift @INC, ($::ENV{'BUILD_DIR'} || '/usr/lib/build'); -+ unshift @INC, ($::ENV{'BUILD_DIR'} || '/usr/libexec/suse-build'); - } - - use strict; -diff -Naru obs-build-20131015.orig/createrpmdeps obs-build-20131015/createrpmdeps ---- obs-build-20131015.orig/createrpmdeps 2014-01-28 12:31:51.129824157 +0000 -+++ obs-build-20131015/createrpmdeps 2014-01-28 12:31:23.976477299 +0000 -@@ -1,7 +1,7 @@ - #!/usr/bin/perl -w - - BEGIN { -- unshift @INC, ($::ENV{'BUILD_DIR'} || '/usr/lib/build'); -+ unshift @INC, ($::ENV{'BUILD_DIR'} || '/usr/libexec/suse-build'); - } - - use Build; -diff -Naru obs-build-20131015.orig/createyastdeps obs-build-20131015/createyastdeps ---- obs-build-20131015.orig/createyastdeps 2014-01-28 12:31:51.127824131 +0000 -+++ obs-build-20131015/createyastdeps 2014-01-28 12:31:23.974477273 +0000 -@@ -1,7 +1,7 @@ - #!/usr/bin/perl -w - - BEGIN { -- unshift @INC, ($::ENV{'BUILD_DIR'} || '/usr/lib/build'); -+ unshift @INC, ($::ENV{'BUILD_DIR'} || '/usr/libexec/suse-build'); - } - - use Build; -diff -Naru obs-build-20131015.orig/download obs-build-20131015/download ---- obs-build-20131015.orig/download 2014-01-28 12:31:51.129824157 +0000 -+++ obs-build-20131015/download 2014-01-28 12:31:23.976477299 +0000 -@@ -3,7 +3,7 @@ - use Net::SSL (); - BEGIN { - $ENV{PERL_LWP_SSL_VERIFY_HOSTNAME} = 0, -- unshift @INC, ($::ENV{'BUILD_DIR'} || '/usr/lib/build'); -+ unshift @INC, ($::ENV{'BUILD_DIR'} || '/usr/libexec/suse-build'); - } - - use LWP::UserAgent; -diff -Naru obs-build-20131015.orig/expanddeps obs-build-20131015/expanddeps ---- obs-build-20131015.orig/expanddeps 2014-01-28 12:31:51.128824144 +0000 -+++ obs-build-20131015/expanddeps 2014-01-28 12:31:23.975477286 +0000 -@@ -1,7 +1,7 @@ - #!/usr/bin/perl -w - - BEGIN { -- unshift @INC, ($::ENV{'BUILD_DIR'} || '/usr/lib/build'); -+ unshift @INC, ($::ENV{'BUILD_DIR'} || '/usr/libexec/suse-build'); - } - - use strict; -diff -Naru obs-build-20131015.orig/getbinaryid obs-build-20131015/getbinaryid ---- obs-build-20131015.orig/getbinaryid 2014-01-28 12:31:51.129824157 +0000 -+++ obs-build-20131015/getbinaryid 2014-01-28 12:31:23.976477299 +0000 -@@ -1,7 +1,7 @@ - #!/usr/bin/perl - - BEGIN { -- unshift @INC, ($::ENV{'BUILD_DIR'} || '/usr/lib/build'); -+ unshift @INC, ($::ENV{'BUILD_DIR'} || '/usr/libexec/suse-build'); - } - - use Build; -diff -Naru obs-build-20131015.orig/getchangetarget obs-build-20131015/getchangetarget ---- obs-build-20131015.orig/getchangetarget 2014-01-28 12:31:51.129824157 +0000 -+++ obs-build-20131015/getchangetarget 2014-01-28 12:31:23.976477299 +0000 -@@ -1,7 +1,7 @@ - #!/usr/bin/perl -w - - BEGIN { -- unshift @INC, ($::ENV{'BUILD_DIR'} || '/usr/lib/build'); -+ unshift @INC, ($::ENV{'BUILD_DIR'} || '/usr/libexec/suse-build'); - } - - use strict; -diff -Naru obs-build-20131015.orig/getmacros obs-build-20131015/getmacros ---- obs-build-20131015.orig/getmacros 2014-01-28 12:31:51.129824157 +0000 -+++ obs-build-20131015/getmacros 2014-01-28 12:31:23.976477299 +0000 -@@ -1,7 +1,7 @@ - #!/usr/bin/perl -w - - BEGIN { -- unshift @INC, ($::ENV{'BUILD_DIR'} || '/usr/lib/build'); -+ unshift @INC, ($::ENV{'BUILD_DIR'} || '/usr/libexec/suse-build'); - } - - use Build; -diff -Naru obs-build-20131015.orig/getoptflags obs-build-20131015/getoptflags ---- obs-build-20131015.orig/getoptflags 2014-01-28 12:31:51.128824144 +0000 -+++ obs-build-20131015/getoptflags 2014-01-28 12:31:23.976477299 +0000 -@@ -1,7 +1,7 @@ - #!/usr/bin/perl -w - - BEGIN { -- unshift @INC, ($::ENV{'BUILD_DIR'} || '/usr/lib/build'); -+ unshift @INC, ($::ENV{'BUILD_DIR'} || '/usr/libexec/suse-build'); - } - - use strict; -diff -Naru obs-build-20131015.orig/gettype obs-build-20131015/gettype ---- obs-build-20131015.orig/gettype 2014-01-28 12:31:51.127824131 +0000 -+++ obs-build-20131015/gettype 2014-01-28 12:31:23.974477273 +0000 -@@ -1,7 +1,7 @@ - #!/usr/bin/perl -w - - BEGIN { -- unshift @INC, ($::ENV{'BUILD_DIR'} || '/usr/lib/build'); -+ unshift @INC, ($::ENV{'BUILD_DIR'} || '/usr/libexec/suse-build'); - } - - use strict; -diff -Naru obs-build-20131015.orig/changelog2spec obs-build-20131015/changelog2spec ---- obs-build-20131015.orig/changelog2spec 2014-01-28 12:31:51.128824144 +0000 -+++ obs-build-20131015/changelog2spec 2014-01-28 12:31:23.975477286 +0000 -@@ -5,7 +5,7 @@ - # - - BEGIN { -- unshift @INC, ($::ENV{'BUILD_DIR'} || '/usr/lib/build'); -+ unshift @INC, ($::ENV{'BUILD_DIR'} || '/usr/libexec/suse-build'); - } - - use Date::Parse; -diff -Naru obs-build-20131015.orig/init_buildsystem obs-build-20131015/init_buildsystem ---- obs-build-20131015.orig/init_buildsystem 2014-01-28 12:31:51.125824105 +0000 -+++ obs-build-20131015/init_buildsystem 2014-01-28 12:31:23.973477260 +0000 -@@ -16,7 +16,7 @@ - export YAST_IS_RUNNING="instsys" - export DEBIAN_FRONTEND=noninteractive - export DEBIAN_PRIORITY=critical --export BUILD_DIR=${BUILD_DIR:-/usr/lib/build} -+export BUILD_DIR=${BUILD_DIR:-/usr/libexec/suse-build} - # need to restore build root owner for non-root builds - browner=0 - definesnstuff=() -diff -Naru obs-build-20131015.orig/initvm.c obs-build-20131015/initvm.c ---- obs-build-20131015.orig/initvm.c 2014-01-28 12:31:51.128824144 +0000 -+++ obs-build-20131015/initvm.c 2014-01-28 12:31:23.975477286 +0000 -@@ -53,9 +53,10 @@ - #define SYSFS_BINFMT_MISC_REG "/proc/sys/fs/binfmt_misc/register" - #define SYSFS_BINFMT_MISC_STAT "/proc/sys/fs/binfmt_misc/status" - --/* /usr/lib/build/x paths are copied to /.build inside a virtual machine */ -+/* /usr/libexec/suse-build/x paths are copied to /.build inside a virtual machine */ - #define BINFMT_REGF_0 "/.build/qemu-reg" --#define BINFMT_REGF_1 "/usr/lib/build/qemu-reg" -+#define BINFMT_REGF_1 "/usr/libexec/suse-build/qemu-reg" -+#define BINFMT_REGF_2 "/usr/lib/build/qemu-reg" - #define BUILD "/.build/build" - - /* useful constant arrays */ -@@ -307,9 +308,13 @@ - fprintf(stderr, "%s: failed. Trying alternate binfmt file\n", - BINFMT_REGF_0); - if (!binfmt_register(BINFMT_REGF_1, SYSFS_BINFMT_MISC_REG)) { -- fprintf(stderr, "%s: binfmt registration failed\n", -+ fprintf(stderr, "%s: failed. Trying alternate binfmt file\n", - BINFMT_REGF_1); -- exit(1); -+ if (!binfmt_register(BINFMT_REGF_2, SYSFS_BINFMT_MISC_REG)) { -+ fprintf(stderr, "%s: binfmt registration failed\n", -+ BINFMT_REGF_2); -+ exit(1); -+ } - } - } - } -diff -Naru obs-build-20131015.orig/mkdrpms obs-build-20131015/mkdrpms ---- obs-build-20131015.orig/mkdrpms 2014-01-28 12:31:51.127824131 +0000 -+++ obs-build-20131015/mkdrpms 2014-01-28 12:31:23.974477273 +0000 -@@ -1,7 +1,7 @@ - #!/usr/bin/perl -w - - BEGIN { -- unshift @INC, '/usr/lib/build'; -+ unshift @INC, '/usr/libexec/suse-build'; - unshift @INC, $::ENV{'BUILD_DIR'} if $::ENV{'BUILD_DIR'}; - } - -diff -Naru obs-build-20131015.orig/order obs-build-20131015/order ---- obs-build-20131015.orig/order 2014-01-28 12:31:51.128824144 +0000 -+++ obs-build-20131015/order 2014-01-28 12:31:23.975477286 +0000 -@@ -1,7 +1,7 @@ - #!/usr/bin/perl -w - - BEGIN { -- unshift @INC, ($::ENV{'BUILD_DIR'} || '/usr/lib/build'); -+ unshift @INC, ($::ENV{'BUILD_DIR'} || '/usr/libexec/suse-build'); - } - - use Build; -diff -Naru obs-build-20131015.orig/spectool obs-build-20131015/spectool ---- obs-build-20131015.orig/spectool 2014-01-28 12:31:51.128824144 +0000 -+++ obs-build-20131015/spectool 2014-01-28 12:31:23.975477286 +0000 -@@ -116,7 +116,7 @@ - my $builddir; - - BEGIN { -- $builddir = ($::ENV{'BUILD_DIR'} || '/usr/lib/build'); -+ $builddir = ($::ENV{'BUILD_DIR'} || '/usr/libexec/suse-build'); - unshift @INC, $builddir; - } - -diff -Naru obs-build-20131015.orig/substitutedeps obs-build-20131015/substitutedeps ---- obs-build-20131015.orig/substitutedeps 2014-01-28 12:31:51.128824144 +0000 -+++ obs-build-20131015/substitutedeps 2014-01-28 12:31:23.976477299 +0000 -@@ -1,7 +1,7 @@ - #!/usr/bin/perl -w - - BEGIN { -- unshift @INC, ($::ENV{'BUILD_DIR'} || '/usr/lib/build'); -+ unshift @INC, ($::ENV{'BUILD_DIR'} || '/usr/libexec/suse-build'); - } - - use strict; diff --git a/dev-util/suse-build/suse-build-2013.12.05.ebuild b/dev-util/suse-build/suse-build-2013.12.05.ebuild deleted file mode 100644 index 4daabfbb6fbc..000000000000 --- a/dev-util/suse-build/suse-build-2013.12.05.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/suse-build/suse-build-2013.12.05.ebuild,v 1.2 2014/02/25 12:49:00 scarabeus Exp $ - -EAPI=5 - -EGIT_REPO_URI="git://github.com/openSUSE/obs-build.git" - -if [[ "${PV}" == "9999" ]]; then - EXTRA_ECLASS="git-2" -else - OBS_PACKAGE="build" - OBS_PROJECT="openSUSE:Tools" - EXTRA_ECLASS="obs-download" -fi - -inherit eutils ${EXTRA_ECLASS} -unset EXTRA_ECLASS - -DESCRIPTION="Script to build SUSE Linux RPMs" -HOMEPAGE="https://build.opensuse.org/package/show/openSUSE:Tools/build" - -[[ "${PV}" == "9999" ]] || SRC_URI="${OBS_URI}/${PN/suse/obs}-${PV//.}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -IUSE="symlink" -[[ "${PV}" == "9999" ]] || \ -KEYWORDS="amd64 x86" - -RDEPEND=" - virtual/perl-Digest-MD5 - virtual/perl-Getopt-Long - dev-perl/XML-Parser - dev-perl/TimeDate - app-shells/bash - app-arch/cpio - app-arch/rpm -" - -S="${WORKDIR}/${PN/suse/obs}-${PV//.}" - -src_prepare() { - epatch "${FILESDIR}/suse-build-20131015-libexec-paths.patch" -} - -src_compile() { :; } - -src_install() { - emake DESTDIR="${ED}" pkglibdir=/usr/libexec/suse-build install - cd "${ED}"/usr - find bin -type l | while read i; do - mv "${i}" "${i/bin\//bin/suse-}" - use !symlink || dosym "${i/bin\//suse-}" "/usr/${i}" - done - find share/man/man1 -type f | while read i; do - mv "${i}" "${i/man1\//man1/suse-}" - use !symlink || dosym "${i/man1\//suse-}" "/usr/${i}" - done - - # create symlink for default build config - dosym /usr/libexec/suse-build/configs/sl13.2.conf /usr/libexec/suse-build/configs/default.conf -} diff --git a/dev-util/suse-build/suse-build-2014.02.20.ebuild b/dev-util/suse-build/suse-build-2014.02.20.ebuild index 89bd8706b119..3b95d9d2cff5 100644 --- a/dev-util/suse-build/suse-build-2014.02.20.ebuild +++ b/dev-util/suse-build/suse-build-2014.02.20.ebuild @@ -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/dev-util/suse-build/suse-build-2014.02.20.ebuild,v 1.1 2014/03/02 17:28:39 miska Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/suse-build/suse-build-2014.02.20.ebuild,v 1.2 2014/04/21 07:23:40 scarabeus Exp $ EAPI=5 @@ -26,7 +26,7 @@ LICENSE="GPL-2" SLOT="0" IUSE="symlink" [[ "${PV}" == "9999" ]] || \ -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" RDEPEND=" virtual/perl-Digest-MD5 |