Browse Source

Add asdig

master
Alarig Le Lay 1 year ago
parent
commit
971ecf2266
3 changed files with 29 additions and 0 deletions
  1. BIN
      net-dns/asdig/.asdig-9999.ebuild.swp
  2. 1
    0
      net-dns/asdig/Manifest
  3. 28
    0
      net-dns/asdig/asdig-9999.ebuild

BIN
net-dns/asdig/.asdig-9999.ebuild.swp View File


+ 1
- 0
net-dns/asdig/Manifest View File

@@ -0,0 +1 @@
1
+EBUILD asdig-9999.ebuild 547 BLAKE2B 506fb688374608ea62df4c4011027a629c8ba5bfdea26e2254430d5e7346204abf7864bd2cae79ead764247ca3264b4fd52f73b52ff3cb3897e6378159f38655 SHA512 de6fb8a9eaf6b7e04c331b1fffc8806879416e5bb1c3bc1cb64b7477f6bd5954b8950fb3a4b4a87d5ae50622681c0ad0c8419a7d13e688f4d716668ce4de62d4

+ 28
- 0
net-dns/asdig/asdig-9999.ebuild View File

@@ -0,0 +1,28 @@
1
+# Copyright 1999-2018 Gentoo Foundation
2
+# Distributed under the terms of the GNU General Public License v2
3
+
4
+EAPI=5
5
+
6
+inherit git-r3
7
+
8
+DESCRIPTION="Simple client for retrieving AS from IP published via DNS"
9
+HOMEPAGE="https://github.com/Rezopole/asdig"
10
+EGIT_REPO_URI="https://github.com/Rezopole/asdig.git"
11
+
12
+LICENSE="GPL"
13
+SLOT="0"
14
+KEYWORDS=""
15
+IUSE=""
16
+
17
+DEPEND=""
18
+RDEPEND="${DEPEND}"
19
+
20
+src_install() {
21
+	insinto /usr/bin/
22
+	doins ${S}/asdig || die "Install failed!"
23
+	dodoc README.md
24
+}
25
+
26
+pkg_preinst() {
27
+	chmod a+x ${D}/usr/bin/asdig || die "chmod failed"
28
+}

Loading…
Cancel
Save