pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/dnc net/dnc: import dnc-0.2.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/65a63a4286ab
branches:  trunk
changeset: 456594:65a63a4286ab
user:      fcambus <fcambus%pkgsrc.org@localhost>
date:      Tue Aug 03 17:23:46 2021 +0000

description:
net/dnc: import dnc-0.2.0.

dnc (Domain Name Checker), is a CLI tool to check domain names configuration.

diffstat:

 net/dnc/DESCR             |   1 +
 net/dnc/Makefile          |  33 +++++++++++++++++++++++++++++++++
 net/dnc/PLIST             |   3 +++
 net/dnc/distinfo          |   7 +++++++
 net/dnc/patches/patch-dnc |  15 +++++++++++++++
 5 files changed, 59 insertions(+), 0 deletions(-)

diffs (79 lines):

diff -r 27c7595c37a3 -r 65a63a4286ab net/dnc/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/dnc/DESCR     Tue Aug 03 17:23:46 2021 +0000
@@ -0,0 +1,1 @@
+dnc (Domain Name Checker), is a CLI tool to check domain names configuration.
diff -r 27c7595c37a3 -r 65a63a4286ab net/dnc/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/dnc/Makefile  Tue Aug 03 17:23:46 2021 +0000
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1 2021/08/03 17:23:46 fcambus Exp $
+
+GITHUB_PROJECT=        dnc
+DISTNAME=      dnc-0.2.0
+CATEGORIES=    net
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=fcambus/}
+GITHUB_RELEASE=        ${PKGVERSION_NOREV}
+
+MAINTAINER=    fcambus%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/fcambus/dnc/
+COMMENT=       CLI tool to check domain names configuration
+LICENSE=       2-clause-bsd
+
+USE_LANGUAGES= # none
+
+DEPENDS+=      ${PYPKGPREFIX}-dns-[0-9]*:../../net/py-dns
+DEPENDS+=      ${PYPKGPREFIX}-OpenSSL-[0-9]*:../../security/py-OpenSSL
+DEPENDS+=      ${PYPKGPREFIX}-prettytable-[0-9]*:../../textproc/py-prettytable
+
+NO_BUILD=      yes
+
+REPLACE_PYTHON=        dnc
+
+AUTO_MKDIRS=           yes
+INSTALLATION_DIRS+=    ${PKGMANDIR}/man1
+
+do-install:
+       ${RUN}${INSTALL_SCRIPT} ${WRKSRC}/dnc ${DESTDIR}${PREFIX}/bin
+       ${RUN}${INSTALL_MAN} ${WRKSRC}/dnc.1 \
+                            ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+
+.include "../../lang/python/application.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 27c7595c37a3 -r 65a63a4286ab net/dnc/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/dnc/PLIST     Tue Aug 03 17:23:46 2021 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2021/08/03 17:23:46 fcambus Exp $
+bin/dnc
+man/man1/dnc.1
diff -r 27c7595c37a3 -r 65a63a4286ab net/dnc/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/dnc/distinfo  Tue Aug 03 17:23:46 2021 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2021/08/03 17:23:46 fcambus Exp $
+
+SHA1 (dnc-0.2.0.tar.gz) = c267d5ce0aa4186e556f08b8f8f840b06c84eaa6
+RMD160 (dnc-0.2.0.tar.gz) = e4ccb383d4f9bce73fd5281b2e578b3099049f70
+SHA512 (dnc-0.2.0.tar.gz) = c1df898bf3e33bdb0ad04f3da0e25b7bd8d7cea3148857c199064f50047cc11457ca1ee8f3f0a88d06325f3c428b98c4d7128c330f567e70626272cdb58556f2
+Size (dnc-0.2.0.tar.gz) = 2938 bytes
+SHA1 (patch-dnc) = 8496e17e3e2606d96ddf9f454922f697746f5f98
diff -r 27c7595c37a3 -r 65a63a4286ab net/dnc/patches/patch-dnc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/dnc/patches/patch-dnc Tue Aug 03 17:23:46 2021 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-dnc,v 1.1 2021/08/03 17:23:47 fcambus Exp $
+
+Fix for Dnspython 1.16.
+
+--- dnc.orig   2021-08-03 16:56:24.295024780 +0000
++++ dnc
+@@ -44,7 +44,7 @@ def usage():
+ 
+ def query(domain: str, rrtype: str) -> str:
+     try:
+-        answers = dns.resolver.resolve(domain, rrtype)
++        answers = dns.resolver.query(domain, rrtype)
+     except dns.exception.DNSException:
+         return ""
+ 



Home | Main Index | Thread Index | Old Index