[arch-commits] Commit in masscan/trunk (PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Sat Jan 9 12:17:16 UTC 2021


    Date: Saturday, January 9, 2021 @ 12:17:12
  Author: anthraxx
Revision: 815468

upgpkg: masscan 1.3.0-1

Modified:
  masscan/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-09 12:15:17 UTC (rev 815467)
+++ PKGBUILD	2021-01-09 12:17:12 UTC (rev 815468)
@@ -1,15 +1,16 @@
 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
 
 pkgname=masscan
-pkgver=1.0.5
-pkgrel=2
+pkgver=1.3.0
+pkgrel=1
 pkgdesc='TCP port scanner, spews SYN packets asynchronously, scanning entire Internet in under 5 minutes'
 url='https://github.com/robertdavidgraham/masscan'
 arch=('x86_64')
 license=('AGPL3')
-depends=('libpcap')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/robertdavidgraham/${pkgname}/archive/${pkgver}.tar.gz)
-sha512sums=('55d58234994ebea10bcb3f45a24cdb51b020350faa116aee3a48861a119f66c339d1f533c978f52e37ccf5266be6fd2802765f13461d94eb28ec8d18c68e2f88')
+depends=('glibc' 'libpcap')
+source=(${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('dbf489d1fb1c882873071073ef8e65723bf3b805c794a5d13dfdcea539558f049845b5bc02ada1e313729954fe7ba29be727a777937b8e4d41778c9175d13824')
+b2sums=('1d64a80345aa18cc0fdd00b5fca6708bcabded62571887e7171f6ac9e9f77f6d9f5bcca9c0ee04f67fcdf3ead1d6b242dc5129c6c9a94e560ac5380904a5a02a')
 
 prepare() {
   cd ${pkgname}-${pkgver}
@@ -18,6 +19,7 @@
 
 build() {
   cd ${pkgname}-${pkgver}
+  export CFLAGS+=" ${CPPFLAGS}"
   make CC=gcc
 }
 
@@ -30,8 +32,7 @@
   cd ${pkgname}-${pkgver}
   make DESTDIR="${pkgdir}" install
   install -Dm 644 doc/masscan.8 -t "${pkgdir}/usr/share/man/man8"
-  install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
-  install -Dm 644 doc/masscan.8.markdown -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 README.md doc/masscan.8.markdown -t "${pkgdir}/usr/share/doc/${pkgname}"
 }
 
 # vim: ts=2 sw=2 et:



More information about the arch-commits mailing list