svn commit: r426934 - in head/security/xorsearch: . files
Dmitry Marakasov
amdmi3 at FreeBSD.org
Wed Nov 23 15:04:43 UTC 2016
Author: amdmi3
Date: Wed Nov 23 15:04:41 2016
New Revision: 426934
URL: https://svnweb.freebsd.org/changeset/ports/426934
Log:
- Add LICENSE
- Respect CFLAGS/LDFLAGS
- Regenerate patches
Modified:
head/security/xorsearch/Makefile
head/security/xorsearch/files/patch-XORSearch.c
Modified: head/security/xorsearch/Makefile
==============================================================================
--- head/security/xorsearch/Makefile Wed Nov 23 15:03:12 2016 (r426933)
+++ head/security/xorsearch/Makefile Wed Nov 23 15:04:41 2016 (r426934)
@@ -2,14 +2,17 @@
# $FreeBSD$
PORTNAME= xorsearch
-PORTVERSION= 1.2.0
+DISTVERSION= 1_2_0
+PORTREVISION= 1
CATEGORIES= security textproc
MASTER_SITES= http://www.didierstevens.com/files/software/
-DISTNAME= XORSearch_V1_2_0
+DISTNAME= XORSearch_V${DISTVERSION}
MAINTAINER= ports at FreeBSD.org
COMMENT= Search for a given string in an XOR or ROL encoded binary file
+LICENSE= PD
+
USES= dos2unix zip
DOS2UNIX_GLOB= *.c
NO_WRKSUBDIR= yes
@@ -17,10 +20,9 @@ NO_WRKSUBDIR= yes
PLIST_FILES= bin/xorsearch
do-build:
- ${CC} -o ${WRKSRC}/XORSearch ${WRKSRC}/XORSearch.c
+ ${CC} ${CFLAGS} ${LDFLAGS} -o ${WRKSRC}/XORSearch ${WRKSRC}/XORSearch.c
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/XORSearch \
- ${STAGEDIR}${PREFIX}/bin/xorsearch
+ ${INSTALL_PROGRAM} ${WRKSRC}/XORSearch ${STAGEDIR}${PREFIX}/bin/xorsearch
.include <bsd.port.mk>
Modified: head/security/xorsearch/files/patch-XORSearch.c
==============================================================================
--- head/security/xorsearch/files/patch-XORSearch.c Wed Nov 23 15:03:12 2016 (r426933)
+++ head/security/xorsearch/files/patch-XORSearch.c Wed Nov 23 15:04:41 2016 (r426934)
@@ -1,4 +1,4 @@
---- XORSearch.c.orig 2016-06-20 15:09:40 UTC
+--- XORSearch.c.orig 2016-11-23 12:31:10 UTC
+++ XORSearch.c
@@ -20,7 +20,6 @@
#include <stdio.h>
More information about the svn-ports-all
mailing list