summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2013-07-25 15:36:40 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2013-07-25 15:36:40 +0000
commit7040b5e8901fe5997d7d46de2c53ca28b0277ddb (patch)
treee75a9be16dfcd10045aa44d73d10e7a1ca470f22 /app-admin/zypper
parentfix tests - add missing deps and provide exclusions to sandbox, bug 478092 (diff)
downloadhistorical-7040b5e8901fe5997d7d46de2c53ca28b0277ddb.tar.gz
historical-7040b5e8901fe5997d7d46de2c53ca28b0277ddb.tar.bz2
historical-7040b5e8901fe5997d7d46de2c53ca28b0277ddb.zip
Initial commit of zypper for testing purposes in suse herd.
Package-Manager: portage-2.2.0_alpha188/cvs/Linux x86_64 Manifest-Sign-Key: 0x8EEE3BE8
Diffstat (limited to 'app-admin/zypper')
-rw-r--r--app-admin/zypper/ChangeLog9
-rw-r--r--app-admin/zypper/Manifest25
-rw-r--r--app-admin/zypper/files/zypper-fix-header.patch34
-rw-r--r--app-admin/zypper/metadata.xml6
-rw-r--r--app-admin/zypper/zypper-1.9.1.ebuild37
5 files changed, 111 insertions, 0 deletions
diff --git a/app-admin/zypper/ChangeLog b/app-admin/zypper/ChangeLog
new file mode 100644
index 000000000000..c408c81bfb65
--- /dev/null
+++ b/app-admin/zypper/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for app-admin/zypper
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/zypper/ChangeLog,v 1.1 2013/07/25 15:36:36 scarabeus Exp $
+
+*zypper-1.9.1 (25 Jul 2013)
+
+ 25 Jul 2013; Tomáš Chvátal <scarabeus@gentoo.org>
+ +files/zypper-fix-header.patch, +metadata.xml, +zypper-1.9.1.ebuild:
+ Initial commit of zypper for testing purposes in suse herd.
diff --git a/app-admin/zypper/Manifest b/app-admin/zypper/Manifest
new file mode 100644
index 000000000000..315059da190f
--- /dev/null
+++ b/app-admin/zypper/Manifest
@@ -0,0 +1,25 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX zypper-fix-header.patch 994 SHA256 89d0079ebf0db301d7d16c4a5432a747c858411dfcc33ffc8c118e2eb7feaabc SHA512 d48df91397bbc11e71b8278a01d6fc52eb35e51a6d57044023678aa570b69c8bb403d299af37a8af3287014fcd335e76c36c3225fe498157045def8b2e10d0d1 WHIRLPOOL 6af0996f40abfdd28bb6fb7b0f503f96f94fe0699136b50178e0f0e0606ca8e569355e36dfdc310206e8b0a412b03241f5827d2435aa8a743ccf989447449625
+DIST zypper-1.9.1.tar.gz 8507998 SHA256 d7e957bec35bc5b1af44dc555bdd5dd37d0141e5f2b9efaab6f8f1b669be666f SHA512 bf26fb1769932f83d7c90b2ee4bac28516457161c68e8ee0b37335dd3bd37b16a6091045fb949e9386e14f44f9bfe95a924405f2ae0660bbf7172c69c0623561 WHIRLPOOL eff494b23318cd80df66909e5bb3e97500964dd918a2c111cb644975cacf24e1450fdfb9150bcb58e8ca8ee371e7db8d53882b0f8a115819dc2b4192959d745a
+EBUILD zypper-1.9.1.ebuild 785 SHA256 eae436b4b20e126a7b5f9cc1d3a6ffae2bcf68f336d3f988927ee22ae53b048d SHA512 9f405e7e1300cb71d2ca364583a0e620c14d11ed5568599b40eb22bebd307f32f352bd2bd854c9ad7194f248c325c25a543d34da7739e5eafcc470ae648dae42 WHIRLPOOL 6ccd9fb73415ccf0319438489512d6e1db7dfab9dd30e41980e9470c27b3ad339ffaa0af37dd334842e85d3b8f3e486e94d24ba4f669867c233c89cf2d640e5e
+MISC ChangeLog 425 SHA256 4b0c6bfcb90ebebc135a8de55ef63c9b0e42bad030fe3862928491e290b23806 SHA512 47e2fe358da4bc5a3fa3f4f3b019eb884858eed5c3de1e4c798a749cffcab9aba80f5c94e5324df87fb13d18550fe3fd29862aeedb8fb0a31e2622c57fd5da29 WHIRLPOOL 213cf56da5d7a7fca39966dd681c0ea3bdcfc12e901215b07af66029ab488745fb1d7658b3870692c062bd2e10f565b2dee071117b2a5c00ec0ba18f5df664bb
+MISC metadata.xml 158 SHA256 f302ea658f702146c504c9b7c01f6276027361238ae07a50a9179448bfc2af07 SHA512 29516333cf374b2bc21cf1a55e82b6d133903db8f6e999ad70924db09f8b61d292d2d063ada01202db42d617104128f3ba8442f94821aaea4606cd6f8e22bd7b WHIRLPOOL 2684af75fa88045aca14f3428ecbaf89e5902fce58bf3c5bfd00a4a60088ea2a1a58e3f41a7a5cffab9d584854401e5fa72a929a6ee37bb0854218de3161bf99
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.20 (GNU/Linux)
+
+iQIcBAEBCAAGBQJR8UX8AAoJEOSiRoyO7jvoyOEQAKNfGT5dru8QXiXWp034RdrL
+rtXw5tc/y4aUnPZ/C9UBxnQzO1HpyL4U3DXk/uFTyutMge3ABcnjQUSOFfla0EEk
+AvN1u/tSAOLw2kp3hQo5DT78TEsdv6jmWp1OwyzwSMYqgAL4AqeqPdUYa3AtUP5W
++LEPnnP+zMawkcsM6ndiTx/GcNfHvr5GSdzVS5xdDl9Bu/xk9NB3rsIJ8b/ctlzJ
+QnciAgJ2J3241Aa/NKdb7tbYW9YLbhkk+Q0I+nCQBgeczaEXkDgVmswRb6YejnIe
+eVYgkZe6diOb92J8y/5r17LmBPAF7AvvZZdLhWd1zeGkFvgLO8xz8yJhSGelQ8L9
+e/XW/Oi/rsmCflJwDbEBDMSghZpDHCsS1p5MBFTLNM3BQN2Vs4Xlw6fS9k/fzLaJ
+p9OFMwtZuzWIZlTbwJdoJyckry6zo8Fp4zlAZqWAX/gr6kfldFYVjuF6yDM4RKVv
+LKF5kUrCCG5DTYfk3rSIIYC7+G5WDwpHQgYC8+TcLReyZpzWi7eqXHEcq146lqdv
+uN+4pkyqNjse8H3vcq1XZogtLAbhdtbS6ApYhY2TE8H0nL+SitBRjtlX7Tq2QSRM
+oqmCiQLsv5SYqP7rYmd0pb0Zz0yyzhBt9/KhCOaE/tqPzYzxe+YSL1VtAx9Nf3GS
+Vtu3nfKY+pgIllqMlL9I
+=dAt+
+-----END PGP SIGNATURE-----
diff --git a/app-admin/zypper/files/zypper-fix-header.patch b/app-admin/zypper/files/zypper-fix-header.patch
new file mode 100644
index 000000000000..60208bde4280
--- /dev/null
+++ b/app-admin/zypper/files/zypper-fix-header.patch
@@ -0,0 +1,34 @@
+From b7be80db5217aac86e84d64bf94407f11b6b2635 Mon Sep 17 00:00:00 2001
+From: Tomas Chvatal <tomas.chvatal@gmail.com>
+Date: Wed, 24 Jul 2013 23:29:11 +0200
+Subject: [PATCH] Include iostream to avoid build failures
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Fixes following crash:
+In file included from
+/var/tmp/portage/app-admin/zypper-1.9.1/work/zypper-1.9.1/src/utils/messages.cc:10:0:
+/var/tmp/portage/app-admin/zypper-1.9.1/work/zypper-1.9.1/src/Zypper.h:37:12:
+error: ‘std::cout’ has not been declared
+/var/tmp/portage/app-admin/zypper-1.9.1/work/zypper-1.9.1/src/Zypper.h:38:12:
+error: ‘std::cerr’ has not been declared
+---
+ src/Zypper.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/Zypper.h b/src/Zypper.h
+index aef000f..feff271 100644
+--- a/src/Zypper.h
++++ b/src/Zypper.h
+@@ -34,6 +34,7 @@
+ using namespace zypp;
+
+ // Convenience
++#include <iostream>
+ using std::cout;
+ using std::cerr;
+ using std::endl;
+--
+1.8.1.5
+
diff --git a/app-admin/zypper/metadata.xml b/app-admin/zypper/metadata.xml
new file mode 100644
index 000000000000..9b2336726aa6
--- /dev/null
+++ b/app-admin/zypper/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>suse</herd>
+</pkgmetadata>
+
diff --git a/app-admin/zypper/zypper-1.9.1.ebuild b/app-admin/zypper/zypper-1.9.1.ebuild
new file mode 100644
index 000000000000..205f5f2717fa
--- /dev/null
+++ b/app-admin/zypper/zypper-1.9.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/zypper/zypper-1.9.1.ebuild,v 1.1 2013/07/25 15:36:36 scarabeus Exp $
+
+EAPI=5
+
+inherit cmake-utils
+
+DESCRIPTION="World's most powerful command line package manager"
+HOMEPAGE="http://en.opensuse.org/Portal:Zypper"
+SRC_URI="http://github.com/openSUSE/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND="
+ app-admin/augeas
+ dev-libs/libxml2
+ dev-libs/libzypp
+ sys-libs/readline:0
+"
+DEPEND="${DEPEND}
+ sys-devel/gettext
+"
+
+RESTRICT="test"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-fix-header.patch"
+}
+
+src_test() {
+ cmake-utils_src_compile -C tests
+ cmake-utils_src_test
+}