Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Nov 2016 15:04:41 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r426934 - in head/security/xorsearch: . files
Message-ID:  <201611231504.uANF4f3h093246@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611231504.uANF4f3h093246>