summaryrefslogtreecommitdiff
path: root/net-misc/pump
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-misc/pump
reinit the tree, so we can have metadata
Diffstat (limited to 'net-misc/pump')
-rw-r--r--net-misc/pump/Manifest6
-rw-r--r--net-misc/pump/metadata.xml8
-rw-r--r--net-misc/pump/pump-0.8.24-r4.ebuild56
3 files changed, 70 insertions, 0 deletions
diff --git a/net-misc/pump/Manifest b/net-misc/pump/Manifest
new file mode 100644
index 000000000000..447602285878
--- /dev/null
+++ b/net-misc/pump/Manifest
@@ -0,0 +1,6 @@
+DIST pump_0.8.24-7.diff.gz 29280 SHA256 2bc790e57a6476693395075ae2e64791afb269a3a5b79029a3915d2ecae6cc64 SHA512 8d70bb31f9d56d79b4cb74def6d3df2a3115b62672190d8c38b7fa628ad35481ad637dd4854e8331a4c5a649fa573c58c9b867b014bbaad7fe6c8c870a02eae2 WHIRLPOOL cda44ce5c5e8f7404aaf23fcc0525930bd5bc5d4963c7d7f383c15c1f2771467351c6f2a3234edcd0bd0bfbaac09b3f9ebbf1fd44ee9c942e301807fa89e5908
+DIST pump_0.8.24.orig.tar.gz 79790 SHA256 cbb423942a4295a07a23b76a02d645b76b4ac0b58c3a30076ad42c2ab80c2dba SHA512 b6956f0ab2a5fbcda2320efd454d21aee651816a13a55622e21dc3a29919aef7db7c9a8d71c3b37b1969f29cff37c67d313f763a17404652fb962bc54eabcb34 WHIRLPOOL e007ca89139f16afcd42585299e97c960c7136b192499c3b042083f832fd2f3347b814c94a40ea65515db243f26e7ad81deee923d2eb632af7e428f9e6a013d2
+EBUILD pump-0.8.24-r4.ebuild 1401 SHA256 a469bd151b0146e19634e1fa1325b3d5d214a5cd73a7588c8a1158b26290ba5f SHA512 5b96107c27a1c63653c0e541dc9f099c02c82c12c182391bd345f0d54ca188ce4ddf947e04b9e1271c9ac7eab06b98a4a8cee1a371b532175dd285732a7704d0 WHIRLPOOL 537dc883c010e5fbf7248ab8107637300d82f2c5cd1131ebd0958efb4fcf74f2af166547b886d45b8f26cee1a829809ff425c2b0c2ee1a36438f97baf3bb3f5f
+MISC ChangeLog 2521 SHA256 02f3512812a6634e14be73729c37cdee60a4a0c327100c3e42e0d58929d885b2 SHA512 40242ea6d53499c738297e7b5ef0eb8d1698bea81ff4713a9c67c2e4f5e648173db14993e9bbe873fa3c23a3db43c316f26e969de1c05d970471e3b7f0b35355 WHIRLPOOL 70f3e0d806df5a1d082e2b4291e558e003a3fab50d5b8a8f12578d1975b51b060af950c34aab57e2da263e3f624bb5b752213a57040f89b346e57ec374d3a045
+MISC ChangeLog-2015 9520 SHA256 ce6aec15a0fb684a7083c4a4b748c3ba04d87d4863002a32d1ee464e8429b8ec SHA512 122dd7c6a576bee60bdf627b31a664eb63cab6e4fd7f4d2227c19e2be72a1ff4ea0d4aeeccf88e6b04f7c4da5ec3384e97b86dd3fa676cec3734b399cffa5490 WHIRLPOOL dedbc29381487de1e4d00dc25d39fc24f3771fc1440d7f9ce7bbf3a4112a56be077b9ff73b4023be4d17e99243f2ea705752069094c6709910a9bc4b02310631
+MISC metadata.xml 238 SHA256 3fb35ac408faa618010ef8a4813876521e234671e1028fb82e83dab364ad6840 SHA512 852836ec4f7a56d54fcdb6f5cd189be8d15770fa64bb9ecde5b22a8e12dfc2d6f38a905a85a1f493d8100e1889283c0bb32d25521e13de98b7c00d2e45450261 WHIRLPOOL b7ce2112551154e5622383ed98acd393c3501dcff5008127cbe1fa9cd294f20527b431caaea7e18bc138a454d98270f61323b15819db6ff099ec7e33baed048d
diff --git a/net-misc/pump/metadata.xml b/net-misc/pump/metadata.xml
new file mode 100644
index 000000000000..ef1a6e7a5e0e
--- /dev/null
+++ b/net-misc/pump/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <longdescription lang="en">
+ A DHCP/BOOTP client
+ </longdescription>
+</pkgmetadata>
diff --git a/net-misc/pump/pump-0.8.24-r4.ebuild b/net-misc/pump/pump-0.8.24-r4.ebuild
new file mode 100644
index 000000000000..e02eb9581e3b
--- /dev/null
+++ b/net-misc/pump/pump-0.8.24-r4.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+
+PATCHLEVEL="7"
+
+DESCRIPTION="This is the DHCP/BOOTP client written by RedHat"
+HOMEPAGE="http://ftp.debian.org/debian/pool/main/p/pump/"
+SRC_URI="mirror://debian/pool/main/p/${PN}/${PN}_${PV}.orig.tar.gz
+ mirror://debian/pool/main/p/${PN}/${PN}_${PV}-${PATCHLEVEL}.diff.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 arm hppa ia64 ppc sparc x86"
+IUSE=""
+
+DEPEND=">=dev-libs/popt-1.5"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ # Fix Debian patch to fit epatch logic
+ sed -i \
+ -e 's:/debian::g' \
+ -e '/^---/s:pump-0.8.24.orig/::' \
+ -e '/^+++/s:pump-0.8.24/::' \
+ "${WORKDIR}/${PN}_${PV}-${PATCHLEVEL}.diff" || die "sed on ${PN}_${PV}-${PATCHLEVEL}.diff failed"
+
+ # Apply Debians pump patchset - they fix things good :)
+ # Debian patchset 7 include gentoo patchset too
+ epatch "${WORKDIR}/${PN}_${PV}-${PATCHLEVEL}.diff"
+ # Add LC_ALL workaround to make sure that patches are applied in right order(bug 471666)
+ LC_ALL=C EPATCH_FORCE="yes" EPATCH_SOURCE="patches" EPATCH_SUFFIX="patch" epatch
+
+ # respect AR, wrt bug #458482
+ tc-export AR
+
+ epatch_user
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" DEB_CFLAGS="-fPIC ${CFLAGS}" pump
+}
+
+src_install() {
+ exeinto /sbin
+ doexe pump
+
+ doman pump.8
+ dodoc changelog CREDITS
+
+ dolib.a libpump.a
+ doheader pump.h
+}