FreeBSD Bugzilla – Attachment 227399 Details for
Bug 257931
security/masscan: Update to 1.3.2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
update to masscan-1.3.2
masscan.diff (text/plain), 2.13 KB, created by
Chie Taguchi
on 2021-08-24 11:13:22 UTC
(
hide
)
Description:
update to masscan-1.3.2
Filename:
MIME Type:
Creator:
Chie Taguchi
Created:
2021-08-24 11:13:22 UTC
Size:
2.13 KB
patch
obsolete
>diff --git a/security/masscan/Makefile b/security/masscan/Makefile >index a74b6e7ff..2c57cefcf 100644 >--- a/security/masscan/Makefile >+++ b/security/masscan/Makefile >@@ -1,7 +1,7 @@ > # Created by: Chie Taguchi <taguchi.ch@gmail.com> > > PORTNAME= masscan >-PORTVERSION= 1.0.4 >+PORTVERSION= 1.3.2 > CATEGORIES= security > > MAINTAINER= taguchi.ch@gmail.com >diff --git a/security/masscan/distinfo b/security/masscan/distinfo >index c98a42bc0..de77f6de4 100644 >--- a/security/masscan/distinfo >+++ b/security/masscan/distinfo >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1497024027 >-SHA256 (robertdavidgraham-masscan-1.0.4_GH0.tar.gz) = 51de345f677f46595fc3bd747bfb61bc9ff130adcbec48f3401f8057c8702af9 >-SIZE (robertdavidgraham-masscan-1.0.4_GH0.tar.gz) = 343513 >+TIMESTAMP = 1629557968 >+SHA256 (robertdavidgraham-masscan-1.3.2_GH0.tar.gz) = 0363e82c07e6ceee68a2da48acd0b2807391ead9a396cf9c70b53a2a901e3d5f >+SIZE (robertdavidgraham-masscan-1.3.2_GH0.tar.gz) = 463449 >diff --git a/security/masscan/files/patch-src_smack1.c b/security/masscan/files/patch-src_smack1.c >index d19863338..8a5448fd6 100644 >--- a/security/masscan/files/patch-src_smack1.c >+++ b/security/masscan/files/patch-src_smack1.c >@@ -1,11 +1,23 @@ >---- src/smack1.c.orig 2017-06-06 03:59:39 UTC >+--- src/smack1.c.orig 2021-01-31 09:13:30 UTC > +++ src/smack1.c >-@@ -115,6 +115,8 @@ >- #include "pixie-timer.h" >- #if defined(_MSC_VER) >- #include <intrin.h> >-+#elif defined(__llvm__) && (defined(__amd64__) || defined(__i386__)) >-+#include <x86intrin.h> >- #elif defined(__GNUC__) >- static __inline__ unsigned long long __rdtsc(void) >+@@ -119,8 +119,7 @@ >+ #elif defined(__FreeBSD__) >+ #include <sys/types.h> >+ #include <machine/cpufunc.h> >+-#define __rdtsc rdtsc >+-#if (__ARM_ARCH >= 6) // V6 is the earliest arch that has a standard cyclecount >++#if (__ARM_ARCH >= 6 && __ARM_ARCH <= 7) // V6 is the earliest arch that has a standard cyclecount >+ unsigned long long rdtsc(void) > { >+ uint32_t pmccntr; >+@@ -138,6 +137,10 @@ unsigned long long rdtsc(void) >+ } >+ return 0; >+ } >++#elif defined(__aarch64__) >++#define __rdtsc() 0 >++#else >++#define __rdtsc rdtsc >+ #endif >+ #elif defined (__llvm__) >+ #if defined(i386) || defined(__i386__)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 257931
:
227393
|
227399
|
227401