summaryrefslogtreecommitdiff
path: root/net-misc/snarf
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-07 11:42:03 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-07 11:42:03 +0100
commitf70601e0934acd62f6c5d06c5ede4cc607179514 (patch)
tree0b337390375de04b950fc4b45edc0f895a4701a4 /net-misc/snarf
parentb2be182d49eea46686b5cf2680d457df61e89dc4 (diff)
gentoo resync : 07.07.2018
Diffstat (limited to 'net-misc/snarf')
-rw-r--r--net-misc/snarf/Manifest3
-rw-r--r--net-misc/snarf/snarf-7.0-r3.ebuild4
-rw-r--r--net-misc/snarf/snarf-7.0-r4.ebuild38
3 files changed, 42 insertions, 3 deletions
diff --git a/net-misc/snarf/Manifest b/net-misc/snarf/Manifest
index d52d209b774f..26c91b415dd7 100644
--- a/net-misc/snarf/Manifest
+++ b/net-misc/snarf/Manifest
@@ -2,5 +2,6 @@ AUX snarf-basename-patch.diff 4438 BLAKE2B 0d5e9ee5efb26de8d622b6bbcacd2efe49c9d
AUX snarf-fix-off-by-ones.diff 1592 BLAKE2B 5d6e72b792ceb95c40185211d3e1221afec730013ae8ae58f2406f2c71a230e34df282ed4323e5d27eecf7f16c1ea63d59d605e80b00e88db9fadfd9f05d4b8c SHA512 0e42437031fbfacbfaaeb76432b19ff65cd979cfebb0b17adef230fae75bc69cafccc386f95f656c1d40f01a849f0e4daa0d027fb78d97932ac5881c22e0cfb6
AUX snarf-unlink-empty.diff 1581 BLAKE2B 09cd54db80c7b427cf84f413ac9253eb1aab44d3c4999e5c005c4fc9cfe45dfc280c2a7cf855545ab3f41896a1a5196662d628264f7384730450d7f0b6e7619f SHA512 bb33a2b5c4d929d8a35fce94812c8231f76b54914c9dc57d07dee7bf311e4fd034a97a343c588eba5479cbacd406cb82acc1835e15c911cd04100eff2dd3d398
DIST snarf-7.0.tar.gz 64495 BLAKE2B d91930e0578a4a89b200a76aa69834d5f7c974a280c56d3c5f4a6f6b4e127145c90a397c410cb339d0865468a53aa433c7387dc2cb205ef8decd2f7a794168d0 SHA512 311c3e4a1b32fd024da8a5c8167888f254608d538695e30b3c632c606f67d1e3d94d8c88deb7850f782f38412f1bfd9022b0ee780c8644655f0648ccf0a0354e
-EBUILD snarf-7.0-r3.ebuild 871 BLAKE2B c5b4d24f82c8055a824ccef421f56ff2980bb6b6ee2fd31ad997ed055991fdf780efab2fba32c74e02954946346641fc51a74a615e52d39b86f678a3171b1762 SHA512 7f27c95af3e581fe7007300ef80beaa274fc5399c2ba0b1271ba7460ed332bf229d6737fe56f1fbda2efe1be4b3c8341502b2e5a9e744786e881603bc108378e
+EBUILD snarf-7.0-r3.ebuild 873 BLAKE2B 6491965a46adebe68e9d65e4af1fa4d68bfa0cdbe53407454102cff3e45dfdaa95ba3bed1ffa79e13c3cd574585827d27643d7c4a5c427cc9ecba9ee6513b195 SHA512 c7c4958ddb62a03f42c0ac655e2ec780f715354913448f1aab950596e66ed0e82578f65e6bf194f56ef6b38aad186d0a68e8b8d5e7be7bf051d98f8d57c076ed
+EBUILD snarf-7.0-r4.ebuild 881 BLAKE2B 138ca1465b440fa02e75f1c6b929e94dcb1faf6d5e9ed8a18e8bfeb19d9f2f493872015a9a4c0230161ee0ec24760b5ddd57d02de49ec92298e95aba0536e721 SHA512 62552b4504742c37562c3ca85a2523ea5b12b1da5da0ff78fe508cc7feae3e272b41cee6066a36d4d531d373e83dde61c35b591497051d788b2dfc909874eeda
MISC metadata.xml 386 BLAKE2B d3a94565f431c48179a81f6699a36b362e12acdea5565186d5ca41286308c943c7ee99c3511ae22acba8128b82608f3feb076147ec95d53f98e159421934b8b7 SHA512 07d79153adfb5b7d447668c0fb6d22db9c2c026d5adfca658999107018ca392e55fb673273de986263479e493133e143a2523ef6133867db5c65a8f84f6a220a
diff --git a/net-misc/snarf/snarf-7.0-r3.ebuild b/net-misc/snarf/snarf-7.0-r3.ebuild
index ad4c94916f16..398ad27531d0 100644
--- a/net-misc/snarf/snarf-7.0-r3.ebuild
+++ b/net-misc/snarf/snarf-7.0-r3.ebuild
@@ -7,8 +7,8 @@ inherit eutils
IUSE=""
DESCRIPTION="Small and fast CLI resource grabber for http, gopher, finger, ftp"
-SRC_URI="http://www.xach.com/snarf/${P}.tar.gz"
-HOMEPAGE="http://www.xach.com/snarf/"
+SRC_URI="https://www.xach.com/snarf/${P}.tar.gz"
+HOMEPAGE="https://www.xach.com/snarf/"
KEYWORDS="alpha amd64 ppc sparc x86"
LICENSE="GPL-2"
SLOT="0"
diff --git a/net-misc/snarf/snarf-7.0-r4.ebuild b/net-misc/snarf/snarf-7.0-r4.ebuild
new file mode 100644
index 000000000000..dacf70a7a6c3
--- /dev/null
+++ b/net-misc/snarf/snarf-7.0-r4.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="Small and fast CLI resource grabber for http, gopher, finger, ftp"
+HOMEPAGE="https://www.xach.com/snarf/"
+SRC_URI="https://www.xach.com/snarf/${P}.tar.gz"
+
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+PATCHES=(
+ "${FILESDIR}"/snarf-basename-patch.diff
+ "${FILESDIR}"/snarf-unlink-empty.diff
+ "${FILESDIR}"/snarf-fix-off-by-ones.diff
+)
+
+src_compile() {
+ emake CC="$(tc-getCC)"
+}
+
+src_install() {
+ dobin snarf
+ doman snarf.1
+ dodoc ChangeLog README TODO
+}
+
+pkg_postinst() {
+ elog 'To use snarf with portage, try these settings in your make.conf'
+ elog
+ elog ' FETCHCOMMAND="/usr/bin/snarf -b \${URI} \${DISTDIR}/\${FILE}"'
+ elog ' RESUMECOMMAND="/usr/bin/snarf -rb \${URI} \${DISTDIR}/\${FILE}"'
+}