[arch-commits] Commit in ncrack/repos/community-x86_64 (4 files)

Levente Polyak anthraxx at archlinux.org
Tue Sep 10 21:01:24 UTC 2019


    Date: Tuesday, September 10, 2019 @ 21:01:24
  Author: anthraxx
Revision: 509227

archrelease: copy trunk to community-x86_64

Added:
  ncrack/repos/community-x86_64/PKGBUILD
    (from rev 509226, ncrack/trunk/PKGBUILD)
  ncrack/repos/community-x86_64/ncrack-nullcheck.patch
    (from rev 509226, ncrack/trunk/ncrack-nullcheck.patch)
Deleted:
  ncrack/repos/community-x86_64/PKGBUILD
  ncrack/repos/community-x86_64/ncrack-nullcheck.patch

------------------------+
 PKGBUILD               |   84 +++++++++++++++++++++--------------------------
 ncrack-nullcheck.patch |   24 ++++++-------
 2 files changed, 51 insertions(+), 57 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-10 21:01:19 UTC (rev 509226)
+++ PKGBUILD	2019-09-10 21:01:24 UTC (rev 509227)
@@ -1,45 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Daniel Micay <danielmicay at gmail.com>
-# Contributor: mickael9 <mickael9 at gmail dot com>
-
-pkgname=ncrack
-pkgver=0.6.0
-pkgrel=1
-pkgdesc='High-speed network authentication cracking tool'
-url='https://nmap.org/ncrack/'
-arch=('x86_64')
-license=('GPL2')
-depends=('openssl')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/nmap/ncrack/archive/v${pkgver}.tar.gz
-        ${pkgname}-openssl1.1-1.patch::https://github.com/nmap/ncrack/commit/1c2f805e65e2e1231ecbe2ba1e5d83245c240da3.patch
-        ${pkgname}-openssl1.1-2.patch::https://github.com/nmap/ncrack/commit/150b06b53a78b6a334f1147504ed6218293f3318.patch
-        ncrack-nullcheck.patch)
-sha256sums=('676a323b1e9066193461f25e31445262bae495fde7dfcaf56555c3056dae24cc'
-            '0795a14aba30d10ec85f1154850a3c22b91dbd6756d4bf8e9dc8cf58ab677fe7'
-            'd046231d64322bd30a46b1214fbee43cc8ef01801d5a1c5d256de7e488a85ee0'
-            'db38a84172ce548614c7e6f2f9f751b31e68716fe3ff68761c21f7e11d6143fc')
-sha512sums=('08d9c19b91b661cb212d2d0061e3498e75438388365c85cbd7d7d0b45b85b8dd8b2ba5de53b375792bdec55513f9c71f331712ef4a13369c6c11425b70a4b53b'
-            'c142b1e8b89b9abbe58fee66b6514b0c91be2687e1675558d5c3ffac0580af925ca2ed092eaed6374b4452adc5472eaed86b2fe46a285ebcd89a5defdd5dedde'
-            'aaf630210150573147feda107abed9612c25571c50873fda938dc879858e84a0c5d1ac030e892565a8c4ab8e758df02615de7bce4f9f27de35b84faac03323ba'
-            'c5648363def2dd8c8f01e5b039824357383b465373f59912abcfcb150873e6702a848c15ce1eea802c64d8e0fd0d3e88ddac190a1b659cd1b23da020f36b1b0b')
-
-prepare() {
-  cd ${pkgname}-${pkgver}
-  patch -Np1 -i ../ncrack-nullcheck.patch
-  patch -Np1 -i ../ncrack-openssl1.1-1.patch
-  patch -Np1 -i ../ncrack-openssl1.1-2.patch
-}
-
-build() {
-  cd ${pkgname}-${pkgver}
-  ./configure --prefix=/usr --without-openssl-header-check
-  make
-}
-
-package() {
-  cd ${pkgname}-${pkgver}
-  make install DESTDIR="${pkgdir}"
-  install -Dm 644 README.md CHANGELOG -t "${pkgdir}/usr/share/doc/${pkgname}"
-}
-
-# vim: ts=2 sw=2 et:

Copied: ncrack/repos/community-x86_64/PKGBUILD (from rev 509226, ncrack/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-09-10 21:01:24 UTC (rev 509227)
@@ -0,0 +1,39 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Daniel Micay <danielmicay at gmail.com>
+# Contributor: mickael9 <mickael9 at gmail dot com>
+
+pkgname=ncrack
+pkgver=0.7
+pkgrel=1
+pkgdesc='High-speed network authentication cracking tool'
+url='https://nmap.org/ncrack/'
+arch=('x86_64')
+license=('GPL2')
+depends=('openssl')
+source=(https://github.com/nmap/ncrack/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz
+        ncrack-nullcheck.patch)
+sha256sums=('f3f971cd677c4a0c0668cb369002c581d305050b3b0411e18dd3cb9cc270d14a'
+            'db38a84172ce548614c7e6f2f9f751b31e68716fe3ff68761c21f7e11d6143fc')
+sha512sums=('52b327b0330b2e46d71a9442fbacf8471462e093049b68b8f2fab008b7046762c82d0468d004cc042a1342082f5c6b5d20a792f028929a7f039bd8d5e2bd49e0'
+            'c5648363def2dd8c8f01e5b039824357383b465373f59912abcfcb150873e6702a848c15ce1eea802c64d8e0fd0d3e88ddac190a1b659cd1b23da020f36b1b0b')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  patch -Np1 -i ../ncrack-nullcheck.patch
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  ./configure \
+    --prefix=/usr \
+    --without-openssl-header-check
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make install DESTDIR="${pkgdir}"
+  install -Dm 644 README.md CHANGELOG -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:

Deleted: ncrack-nullcheck.patch
===================================================================
--- ncrack-nullcheck.patch	2019-09-10 21:01:19 UTC (rev 509226)
+++ ncrack-nullcheck.patch	2019-09-10 21:01:24 UTC (rev 509227)
@@ -1,12 +0,0 @@
-diff -ru ncrack-0.5/ncrack_resume.cc ncrack-0.5.new/ncrack_resume.cc
---- ncrack-0.5/ncrack_resume.cc	2016-04-10 18:56:02.000000000 +0200
-+++ ncrack-0.5.new/ncrack_resume.cc	2017-04-13 17:53:09.369522756 +0200
-@@ -527,7 +527,7 @@
- 
-       j = 0;
-       buf[j++] = *q;
--      while (*q != '\0' && j < sizeof(buf)) {
-+      while ((q != NULL) && (j < sizeof(buf))) {
-         q++;
-         if (q - filestr >= filelen)
-           fatal("Corrupted file! Error 5\n");

Copied: ncrack/repos/community-x86_64/ncrack-nullcheck.patch (from rev 509226, ncrack/trunk/ncrack-nullcheck.patch)
===================================================================
--- ncrack-nullcheck.patch	                        (rev 0)
+++ ncrack-nullcheck.patch	2019-09-10 21:01:24 UTC (rev 509227)
@@ -0,0 +1,12 @@
+diff -ru ncrack-0.5/ncrack_resume.cc ncrack-0.5.new/ncrack_resume.cc
+--- ncrack-0.5/ncrack_resume.cc	2016-04-10 18:56:02.000000000 +0200
++++ ncrack-0.5.new/ncrack_resume.cc	2017-04-13 17:53:09.369522756 +0200
+@@ -527,7 +527,7 @@
+ 
+       j = 0;
+       buf[j++] = *q;
+-      while (*q != '\0' && j < sizeof(buf)) {
++      while ((q != NULL) && (j < sizeof(buf))) {
+         q++;
+         if (q - filestr >= filelen)
+           fatal("Corrupted file! Error 5\n");


More information about the arch-commits mailing list