pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/dnc



Module Name:    pkgsrc
Committed By:   fcambus
Date:           Tue Aug  3 17:23:47 UTC 2021

Added Files:
        pkgsrc/net/dnc: DESCR Makefile PLIST distinfo
        pkgsrc/net/dnc/patches: patch-dnc

Log Message:
net/dnc: import dnc-0.2.0.

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


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/net/dnc/DESCR pkgsrc/net/dnc/Makefile \
    pkgsrc/net/dnc/PLIST pkgsrc/net/dnc/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/net/dnc/patches/patch-dnc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/net/dnc/DESCR
diff -u /dev/null pkgsrc/net/dnc/DESCR:1.1
--- /dev/null   Tue Aug  3 17:23:47 2021
+++ pkgsrc/net/dnc/DESCR        Tue Aug  3 17:23:46 2021
@@ -0,0 +1 @@
+dnc (Domain Name Checker), is a CLI tool to check domain names configuration.
Index: pkgsrc/net/dnc/Makefile
diff -u /dev/null pkgsrc/net/dnc/Makefile:1.1
--- /dev/null   Tue Aug  3 17:23:47 2021
+++ pkgsrc/net/dnc/Makefile     Tue Aug  3 17:23:46 2021
@@ -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"
Index: pkgsrc/net/dnc/PLIST
diff -u /dev/null pkgsrc/net/dnc/PLIST:1.1
--- /dev/null   Tue Aug  3 17:23:47 2021
+++ pkgsrc/net/dnc/PLIST        Tue Aug  3 17:23:46 2021
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2021/08/03 17:23:46 fcambus Exp $
+bin/dnc
+man/man1/dnc.1
Index: pkgsrc/net/dnc/distinfo
diff -u /dev/null pkgsrc/net/dnc/distinfo:1.1
--- /dev/null   Tue Aug  3 17:23:47 2021
+++ pkgsrc/net/dnc/distinfo     Tue Aug  3 17:23:46 2021
@@ -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

Index: pkgsrc/net/dnc/patches/patch-dnc
diff -u /dev/null pkgsrc/net/dnc/patches/patch-dnc:1.1
--- /dev/null   Tue Aug  3 17:23:47 2021
+++ pkgsrc/net/dnc/patches/patch-dnc    Tue Aug  3 17:23:47 2021
@@ -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