diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-09-23 10:22:15 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-09-23 10:22:15 +0100 |
commit | 8b4ace9c50842c5b83401ea7b179dcab940387e1 (patch) | |
tree | 230f3135ceaace633cf93e9838b185c4a6664c2e /net-misc/ncp | |
parent | 9ee6d97c2883d42f204a533a8bc1f4562df778fb (diff) |
gentoo resync : 23.09.2020
Diffstat (limited to 'net-misc/ncp')
-rw-r--r-- | net-misc/ncp/Manifest | 5 | ||||
-rw-r--r-- | net-misc/ncp/files/ncp-1.2.4-fix-makefile.patch | 16 | ||||
-rw-r--r-- | net-misc/ncp/metadata.xml | 1 | ||||
-rw-r--r-- | net-misc/ncp/ncp-1.2.4-r2.ebuild (renamed from net-misc/ncp/ncp-1.2.4-r1.ebuild) | 12 |
4 files changed, 24 insertions, 10 deletions
diff --git a/net-misc/ncp/Manifest b/net-misc/ncp/Manifest index bbf54633c2f3..43ce037ab669 100644 --- a/net-misc/ncp/Manifest +++ b/net-misc/ncp/Manifest @@ -1,3 +1,4 @@ +AUX ncp-1.2.4-fix-makefile.patch 424 BLAKE2B d8687f2186a762872cac04df49e26013b844884b3d1537ac53cdbd4e1fd397d04fe7c6069c218ecd919c3c68b3e1998cc2cf699ec162ffbe0c9d5d356c77b72b SHA512 fd8fb4bffe36fb8fde955b963f4ba1d00e64e7480372e465fbb8c0750c0c02bd0a6dfb032af101a7599db3446f623a05f604cf3ab57469ef691f424db6520e41 DIST ncp-1.2.4.tar.bz2 6172 BLAKE2B f1daea93f56013bff8bcf3fa58155b4cce3451a834bfc7c066d1accc0cdb4c874f09761e2b1eaf70c2034aede41bfb89598659e0d083fc21d75fd7e25e71f038 SHA512 7332cffef56ec8dd8afefbb3f3dda455bc4465a61476cb7a751f9fa0b9cc1c125e22f1d89b9cab36e059f3f686c8dcc847015c4a44c23dd5bca8290b5666bdc8 -EBUILD ncp-1.2.4-r1.ebuild 843 BLAKE2B d42afa30ebcb9b390ff02b964f66353cd00ece303168645ccb4dd2ab85339e66b968b496fa8fd230b38da87c877a2e0f39085a333f7371686cc9ae6a861cbaad SHA512 3cb657dd0c5eba849d352eccb6b880df6660c854e98883b7ba1f9c054d677fcbd1ff812001cbc138893369dc5f5b57a352ad17d0fcd6ae1a9295291665af4186 -MISC metadata.xml 696 BLAKE2B 5a7039139c48529dc58d23f5ccb5bf0cfb0f512934bde8f1db62569fd1ce2a3ba15e72dcd35ad40b53786fc701d19a9036e893d05696f7a86d90e203d5f42942 SHA512 bf9abea0e052be4f733327d6ad5b87264222da86a095995c2697039811bd11ca2d87943fe6d920f662d5f4059f1a36c884e8dabe76821fd1d3e739a5471c1401 +EBUILD ncp-1.2.4-r2.ebuild 767 BLAKE2B 94a45adf6aabcc5fda72de6804c341aece92ea22d2b3c1d9308e0a0b6a8cacbcd0b50098d74d337f41a5cf761c7863042135249cfc3b63377adc120b7ac4e29e SHA512 67e9c79f7c1b379936325503a2af35cc9a210f35ba9bbc49e576e2c21c4ac6faeebe1bc952c8a82d3e0284211f3db4586394c6050a6bfb84c57cab870ffc3f50 +MISC metadata.xml 614 BLAKE2B bb945ccb5995827fd325fb351f0426852a9750c8942452c195800006b8dc8c647b5423fe70fda692091dcb7b814bd6f984b14d4be340e4d7c4abb466712f0c0e SHA512 e0a56910b48f3105c8ec1a414bf65966e411657d1a2f95afde2460b8c203acac1db96df725a9352e9fb9c41f818c8464caaeb1523d5ce348dff628ec314e3c34 diff --git a/net-misc/ncp/files/ncp-1.2.4-fix-makefile.patch b/net-misc/ncp/files/ncp-1.2.4-fix-makefile.patch new file mode 100644 index 000000000000..54608a665417 --- /dev/null +++ b/net-misc/ncp/files/ncp-1.2.4-fix-makefile.patch @@ -0,0 +1,16 @@ +Never strip executable + +Patch by Michael Mair-Keimberger + +--- ncp-1.2.4/GNUmakefile 2005-05-13 19:17:17.000000000 +0200 ++++ ncp-1.2.4-ng/GNUmakefile 2020-09-04 20:08:50.399902892 +0200 +@@ -53,9 +53,6 @@ + + ncp: ncp.o libsocket + $(CC) $< -o $@ -I. $(CFLAGS) $(LDFLAGS) $(LDLIBS) `cat libsocket` +-ifeq ($(DEBUG),) +- strip -R .note -R .comment ncp || strip ncp +-endif + + install: + install -d $(PREFIX)/bin $(PREFIX)/man/man1 diff --git a/net-misc/ncp/metadata.xml b/net-misc/ncp/metadata.xml index 874363d1925d..17fb58cb0b1f 100644 --- a/net-misc/ncp/metadata.xml +++ b/net-misc/ncp/metadata.xml @@ -12,5 +12,4 @@ <longdescription lang="en"> "ncp" is a utility for copying files in a LAN. It has absolutely no security or integrity checking, no throttling, no features, except one: you don't have to type the coordinates of your peer. </longdescription> - <use><flag name="diet">Compile against <pkg>dev-libs/dietlibc</pkg></flag></use> </pkgmetadata> diff --git a/net-misc/ncp/ncp-1.2.4-r1.ebuild b/net-misc/ncp/ncp-1.2.4-r2.ebuild index 6309febf0296..cb6d5545c438 100644 --- a/net-misc/ncp/ncp-1.2.4-r1.ebuild +++ b/net-misc/ncp/ncp-1.2.4-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -12,21 +12,19 @@ SRC_URI="https://dl.fefe.de/${P}.tar.bz2" LICENSE="public-domain" # mail from author, bug 446540 SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="diet" -DEPEND=">=dev-libs/libowfat-0.28-r1 - diet? ( dev-libs/dietlibc )" +DEPEND=">=dev-libs/libowfat-0.28-r1[-diet]" + +PATCHES=( "${FILESDIR}/${P}-fix-makefile.patch" ) src_prepare() { default rm Makefile || die - sed -e '/^ncp:/,+5s:strip:#strip:' \ - -i GNUmakefile || die } src_compile() { emake \ - CC="$(use diet && echo "diet -Os ")$(tc-getCC)" \ + CC="$(tc-getCC)" \ CFLAGS="${CFLAGS} -I/usr/include/libowfat" \ LDFLAGS="${LDFLAGS}" \ STRIP="#" |