summaryrefslogtreecommitdiff
path: root/sys-apps/usermode-utilities
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-01-12 16:58:08 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-01-12 16:58:08 +0000
commitc8a77dfe4d3d307c1d5dd2650b7297447d8b609d (patch)
tree9ea78393bc3ecd6ab4de449383d4e97e5f3648ae /sys-apps/usermode-utilities
parent2891d29af8907ce881662f4a02844926d7a293c7 (diff)
gentoo resync : 12.01.2019
Diffstat (limited to 'sys-apps/usermode-utilities')
-rw-r--r--sys-apps/usermode-utilities/Manifest3
-rw-r--r--sys-apps/usermode-utilities/files/usermode-utilities-20070815-headers.patch8
-rw-r--r--sys-apps/usermode-utilities/usermode-utilities-20070815-r4.ebuild44
3 files changed, 50 insertions, 5 deletions
diff --git a/sys-apps/usermode-utilities/Manifest b/sys-apps/usermode-utilities/Manifest
index d9f1bdc9474a..7e5070dcfa46 100644
--- a/sys-apps/usermode-utilities/Manifest
+++ b/sys-apps/usermode-utilities/Manifest
@@ -1,6 +1,7 @@
-AUX usermode-utilities-20070815-headers.patch 551 BLAKE2B 05c10158ae6ada8b0cf91b5825463bedbc0686c753c3898d68de1b0f8d712c2777dec6ad8677205989dd9cef7e47f2b9b23bba1ab96ae6b7714c650988ba2d49 SHA512 b22bf1d77b209996c24b400b3c27d37cef1fe8deddb07391394f5307fa5f0c41e36f78e5c09c6a40bc6618e7801220bdb139ef413fb712d68d73e54ed201a101
+AUX usermode-utilities-20070815-headers.patch 491 BLAKE2B 0c4e274101ada3c084cd6573247259c54d58c92e680a2a7a14f914e935e90bc6563631ec8d3ef3a7b417ce44dddbbe20a269f1beaa6896e3d53608fb07b13c24 SHA512 962d7df2497374ec418861522fc7b6be25b295bed11fbf86bdf149e7e6730e2a1f34475eef9b8216ad2576eabe7f56e230a912b3ca415da3e1e5adc3ebce769b
AUX usermode-utilities-20070815-humfsify-owner.patch 460 BLAKE2B 5135621f69d9f923021059606c9faf1089ad7ee3273224a40ad570e233664dd781c633f7af61e41cacd2bdda298e23a79e04ec71a38875c95f9649a886d0b93e SHA512 f048d1fde80a5fae33a67c99aad5927f64343a1bec15cdab94bb5c8798b96192fccedda66a9aa8f14fb90de803cba031ddec4d9bc6eec236b8245aaa7b74115f
AUX usermode-utilities-20070815-rollup.patch 4619 BLAKE2B d8701507d464fa10ebb99663dbf32c1d57040059bf7f43fcbcef82637d98d51ca55cd4fb28c7d7feb79c9b1597f4aa7ac01e7494e1db5549f75445ef9ba7854b SHA512 9cfc5a2fa98b7aff45c732629812ab691d3a56e5526f70d9ddb93dd666b9bf743296914f63043a94611e045915ed8046c87507a451deebc3d889d0827dc76439
DIST uml_utilities_20070815.tar.bz2 50159 BLAKE2B d11e7bc92892f2f5bc655bf580d66b1364d2c1f8e97e85ff39a6aeb85ed979c33c1d7c084b0a5e442df5622f7fa657677a322748e44c7ecf67f14d6b39a7536c SHA512 a246ca04bcba2282ceb976e69399f496cc85d14ee13c1e4704f943d7fcef032eda92e9e8c4341f6e8878c6353ed97c7f77b283e62e152987c792a7a6258f1d1a
EBUILD usermode-utilities-20070815-r3.ebuild 1269 BLAKE2B 916b02adfab8a141c1b6cf402df5d5356f207dafa2087b14e95595a8d1fad7e91681ce1b6290c97c70c04e9b9f0280bebbd20097568d6b28fe3260a7541d1924 SHA512 21db6e3680315826e40397c9f9703de051ccd6db856afd48093ce5fa7a31d730e32030bcd9385c641830f9a07497cc638f4f1dd131333c9af926cdd726c9330f
+EBUILD usermode-utilities-20070815-r4.ebuild 1275 BLAKE2B dc9df93b62c5bdfec21afe7b204aa09d89e064bb126f930e43868aafca27779dc676a574df40d550f209614e8ac4ae744565871a3a179b750b332d508d59ffa9 SHA512 e24b1df034c6ca6e38be371949107a45d01391c5906ae86aae9011336b4a524393aea6dfd6c84b5d8dd66f8c6c7d25848fdf36c8f7e975a6ed19deeda30f0d54
MISC metadata.xml 340 BLAKE2B 8e392fbd4b9aea114ed7bd1d7cd15ced02e48b2cffced6a23700ceea02f645e7fef352e54f3a3a324536e2686de3324973a648858202e6cc310e633b1e155e42 SHA512 cd72a8e80c3b9410363e3e9d3ddb194f858138598e3fd0375b38ab43d4ce82d29309aba07b71c3d2756e871168fbf1c8bb3f3ba87c00d0b27f1f3add2627734d
diff --git a/sys-apps/usermode-utilities/files/usermode-utilities-20070815-headers.patch b/sys-apps/usermode-utilities/files/usermode-utilities-20070815-headers.patch
index 13fd556ec98d..00531a1db2bf 100644
--- a/sys-apps/usermode-utilities/files/usermode-utilities-20070815-headers.patch
+++ b/sys-apps/usermode-utilities/files/usermode-utilities-20070815-headers.patch
@@ -2,8 +2,8 @@ https://bugs.gentoo.org/580816
include headers needed by targets
---- b/tools-20070815/uml_net/ethertap.c
-+++ a/tools-20070815/uml_net/ethertap.c
+--- b/uml_net/ethertap.c
++++ a/uml_net/ethertap.c
@@ -13,6 +13,7 @@
#include <sys/stat.h>
#include <sys/ioctl.h>
@@ -15,8 +15,8 @@ include headers needed by targets
for major/minor macros
---- b/tools-20070815/uml_net/host.c
-+++ a/tools-20070815/uml_net/host.c
+--- b/uml_net/host.c
++++ a/uml_net/host.c
@@ -10,6 +10,7 @@
#include <ctype.h>
#include <sys/wait.h>
diff --git a/sys-apps/usermode-utilities/usermode-utilities-20070815-r4.ebuild b/sys-apps/usermode-utilities/usermode-utilities-20070815-r4.ebuild
new file mode 100644
index 000000000000..04ceb9e3621c
--- /dev/null
+++ b/sys-apps/usermode-utilities/usermode-utilities-20070815-r4.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit toolchain-funcs
+
+DESCRIPTION="Tools for use with Usermode Linux virtual machines"
+HOMEPAGE="http://user-mode-linux.sourceforge.net/"
+SRC_URI="http://user-mode-linux.sourceforge.net/uml_utilities_${PV}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="fuse"
+
+RDEPEND="
+ fuse? ( sys-fs/fuse:0= )
+ sys-libs/readline:0=
+"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}"/tools-${PV}
+
+src_prepare() {
+ default
+
+ # Merge previous patches with fix for bug #331099
+ eapply "${FILESDIR}"/${P}-rollup.patch
+ # Fix owner of humfsify; bug #364531
+ eapply "${FILESDIR}"/${P}-humfsify-owner.patch
+ eapply "${FILESDIR}"/${P}-headers.patch #580816
+
+ sed -i -e 's:-o \$(BIN):$(LDFLAGS) -o $(BIN):' "${S}"/*/Makefile || die "LDFLAGS sed failed"
+ sed -i -e 's:-o \$@:$(LDFLAGS) -o $@:' "${S}"/moo/Makefile || die "LDFLAGS sed (moo) failed"
+ if ! use fuse; then
+ einfo "Skipping build of umlmount to avoid sys-fs/fuse dependency."
+ sed -i -e 's/\<umlfs\>//' Makefile || die "sed to remove sys-fs/fuse dependency failed"
+ fi
+}
+
+src_compile() {
+ tc-export AR CC
+ emake CFLAGS="${CFLAGS} ${CPPFLAGS} -DTUNTAP -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -g -Wall" all
+}