Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 May 2014 14:41:02 +0400 (MSK)
From:      Pavel I Volkov <pavelivolkov@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/190001: [MAINTAINER] security/ccsrch: Change master site definition
Message-ID:  <201405201041.s4KAf2ej072847@be.dns4soho.net>
Resent-Message-ID: <201405201300.s4KD00B3025758@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         190001
>Category:       ports
>Synopsis:       [MAINTAINER] security/ccsrch: Change master site definition
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 20 13:00:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Pavel I Volkov
>Release:        FreeBSD 9.2-RELEASE-p6 amd64
>Organization:
>Environment:
System: FreeBSD be.dns4soho.net 9.2-RELEASE-p6 FreeBSD 9.2-RELEASE-p6 #6 r265247: Sat May  3 08:44:37
>Description:
- Change master site definition

Generated with FreeBSD Port Tools 1.02 (mode: change, diff: suffix)
>How-To-Repeat:
>Fix:

--- ccsrch-1.0.3.patch begins here ---
diff -ruN ../ccsrch.orig/Makefile ./Makefile
--- ../ccsrch.orig/Makefile	2014-03-25 11:19:28.000000000 +0400
+++ ./Makefile	2014-05-20 14:29:53.000000000 +0400
@@ -5,7 +5,7 @@
 PORTVERSION=	1.0.3
 PORTREVISION=	1
 CATEGORIES=	security
-MASTER_SITES=	http://downloads.sourceforge.net/project/${MASTER_SITE_SUBDIR}/
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}/${PORTNAME}/Version%20${PORTVERSION}
 EXTRACT_SUFX=	.tgz
 
diff -ruN ../ccsrch.orig/ccsrch/Makefile ./ccsrch/Makefile
--- ../ccsrch.orig/ccsrch/Makefile	2014-05-20 14:24:18.000000000 +0400
+++ ./ccsrch/Makefile	1970-01-01 03:00:00.000000000 +0300
@@ -1,35 +0,0 @@
-# Created by: Pavel I Volkov <pavelivolkov@googlemail.com>
-# $FreeBSD: head/security/ccsrch/Makefile 338786 2014-01-05 15:39:53Z rakuco $
-
-PORTNAME=	ccsrch
-PORTVERSION=	1.0.3
-PORTREVISION=	1
-CATEGORIES=	security
-MASTER_SITES=	http://downloads.sourceforge.net/project/${MASTER_SITE_SUBDIR}/
-MASTER_SITE_SUBDIR=	${PORTNAME}/${PORTNAME}/Version%20${PORTVERSION}
-EXTRACT_SUFX=	.tgz
-
-MAINTAINER=	pavelivolkov@gmail.com
-COMMENT=	Is a tool that searches for credit card numbers (PAN) and track data
-
-LICENSE=	GPLv2
-
-OPTIONS_DEFINE=	DOCS
-
-PORTDOCS=	README
-PLIST_FILES=	bin/${PORTNAME}
-
-.include <bsd.port.options.mk>
-
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
-
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}; \
-	for f in ${PORTDOCS}; do \
-		${INSTALL_DATA} ${WRKSRC}/$$f ${STAGEDIR}${DOCSDIR}; \
-	done
-.endif
-
-.include <bsd.port.mk>
diff -ruN ../ccsrch.orig/ccsrch/distinfo ./ccsrch/distinfo
--- ../ccsrch.orig/ccsrch/distinfo	2014-05-20 14:24:18.000000000 +0400
+++ ./ccsrch/distinfo	1970-01-01 03:00:00.000000000 +0300
@@ -1,2 +0,0 @@
-SHA256 (ccsrch-1.0.3.tgz) = 07c0c1ad4952cf11ecd4e10ad3e5a9697891691e5963867de6f180592231ccfc
-SIZE (ccsrch-1.0.3.tgz) = 18047
diff -ruN ../ccsrch.orig/ccsrch/files/patch-Makefile ./ccsrch/files/patch-Makefile
--- ../ccsrch.orig/ccsrch/files/patch-Makefile	2014-05-20 14:24:18.000000000 +0400
+++ ./ccsrch/files/patch-Makefile	1970-01-01 03:00:00.000000000 +0300
@@ -1,22 +0,0 @@
---- Makefile.orig	2007-08-30 04:43:27.000000000 +0400
-+++ Makefile	2013-09-16 15:34:28.000000000 +0400
-@@ -21,7 +21,7 @@
- # Makefile for ccsrch
- #
- 
--CC	=gcc
-+#CC	=gcc
- #
- # for mingw use something like the following
- #INCL	= -I./ -I/mingw/include
-@@ -29,8 +29,8 @@
- #
- # for *UNIX* the following tends to work
- INCL	= -I./
--CFLAGS	=-O2 -static
--#CFLAGS	=-O2 # for linux
-+#CFLAGS	=-O2 -static
-+CFLAGS	=-O2 # for linux
- #CFLAGS	=-DDEBUG # if you want a lot of noise
- LDFLAGS	=-s
- OBJS=  ccsrch.o
diff -ruN ../ccsrch.orig/ccsrch/files/patch-ccsrch.c ./ccsrch/files/patch-ccsrch.c
--- ../ccsrch.orig/ccsrch/files/patch-ccsrch.c	2014-05-20 14:24:18.000000000 +0400
+++ ./ccsrch/files/patch-ccsrch.c	1970-01-01 03:00:00.000000000 +0300
@@ -1,92 +0,0 @@
---- ccsrch.c.orig	2013-09-16 16:15:41.000000000 +0400
-+++ ccsrch.c	2013-09-16 16:22:57.000000000 +0400
-@@ -567,7 +567,7 @@
-   int             vnum = 0;
- 
-   memset(&num2buf, '\0', 3);
--  snprintf(num2buf, 3, "%d%d\0", cardbuf[0], cardbuf[1]);
-+  snprintf(num2buf, 3, "%d%d", cardbuf[0], cardbuf[1]);
-   vnum = atoi(num2buf);
-   if ((vnum > 50) && (vnum < 56))
-     print_result("MASTERCARD", 16, offset);
-@@ -580,7 +580,7 @@
-   int             vnum = 0;
- 
-   memset(&num2buf, '\0', 2);
--  snprintf(num2buf, 2, "%d\0", cardbuf[0]);
-+  snprintf(num2buf, 2, "%d", cardbuf[0]);
-   vnum = atoi(num2buf);
-   if (vnum == 4)
-     print_result("VISA", 16, offset);
-@@ -593,7 +593,7 @@
-   int             vnum = 0;
- 
-   memset(&num2buf, '\0', 5);
--  snprintf(num2buf, 5, "%d%d%d%d\0", cardbuf[0], cardbuf[1], cardbuf[2], cardbuf[3]);
-+  snprintf(num2buf, 5, "%d%d%d%d", cardbuf[0], cardbuf[1], cardbuf[2], cardbuf[3]);
-   vnum = atoi(num2buf);
-   if (vnum == 6011)
-     print_result("DISCOVER", 16, offset);
-@@ -605,8 +605,8 @@
-   char            num2buf[5];
-   int             vnum = 0;
- 
--  memset(&num2buf, '\0', 2);
--  snprintf(num2buf, 5, "%d%d%d%d\0", cardbuf[0], cardbuf[1], cardbuf[2], cardbuf[3]);
-+  memset(&num2buf, '\0', 5);
-+  snprintf(num2buf, 5, "%d%d%d%d", cardbuf[0], cardbuf[1], cardbuf[2], cardbuf[3]);
-   vnum = atoi(num2buf);
-   if ((vnum == 3088) || (vnum == 3096) || (vnum == 3112) || (vnum == 3158) || (vnum == 3337) || (vnum == 3528) || (vnum == 3529))
-     print_result("JCB", 16, offset);
-@@ -619,7 +619,7 @@
-   int             vnum = 0;
- 
-   memset(&num2buf, '\0', 3);
--  snprintf(num2buf, 3, "%d%d\0", cardbuf[0], cardbuf[1]);
-+  snprintf(num2buf, 3, "%d%d", cardbuf[0], cardbuf[1]);
-   vnum = atoi(num2buf);
-   if ((vnum == 34) || (vnum == 37))
-     print_result("AMEX", 15, offset);
-@@ -632,7 +632,7 @@
-   int             vnum = 0;
- 
-   memset(&num2buf, '\0', 5);
--  snprintf(num2buf, 5, "%d%d%d%d\0", cardbuf[0], cardbuf[1], cardbuf[2], cardbuf[3]);
-+  snprintf(num2buf, 5, "%d%d%d%d", cardbuf[0], cardbuf[1], cardbuf[2], cardbuf[3]);
-   vnum = atoi(num2buf);
-   if ((vnum == 2014) || (vnum == 2149))
-     print_result("ENROUTE", 15, offset);
-@@ -645,7 +645,7 @@
-   int             vnum = 0;
- 
-   memset(&num2buf, '\0', 5);
--  snprintf(num2buf, 5, "%d%d%d%d\0", cardbuf[0], cardbuf[1], cardbuf[2], cardbuf[3]);
-+  snprintf(num2buf, 5, "%d%d%d%d", cardbuf[0], cardbuf[1], cardbuf[2], cardbuf[3]);
-   vnum = atoi(num2buf);
-   if ((vnum == 2131) || (vnum == 1800) || (vnum == 3528) || (vnum == 3529))
-     print_result("JCB", 15, offset);
-@@ -660,9 +660,9 @@
-   int             vnum2 = 0;
- 
-   memset(&num2buf, '\0', 4);
--  memset(&num2buf2, '\0', 2);
--  snprintf(num2buf, 4, "%d%d%d\0", cardbuf[0], cardbuf[1], cardbuf[2]);
--  snprintf(num2buf2, 3, "%d%d\0", cardbuf[0], cardbuf[1]);
-+  memset(&num2buf2, '\0', 3);
-+  snprintf(num2buf, 4, "%d%d%d", cardbuf[0], cardbuf[1], cardbuf[2]);
-+  snprintf(num2buf2, 3, "%d%d", cardbuf[0], cardbuf[1]);
-   vnum = atoi(num2buf);
-   vnum2 = atoi(num2buf2);
-   if (((vnum > 299) && (vnum < 306)) || ((vnum > 379) && (vnum < 389)) || (vnum2 == 36))
-@@ -690,9 +690,9 @@
-   int end_time=0;
- 
-   end_time=time(NULL);
--  fprintf(stdout, "\n\nFiles searched ->\t\t%d\n", file_count);
-+  fprintf(stdout, "\n\nFiles searched ->\t\t%ld\n", file_count);
-   fprintf(stdout, "Search time (seconds) ->\t%d\n", ((int)time(NULL) - init_time));
--  fprintf(stdout, "Credit card matches->\t\t%d\n", total_count);
-+  fprintf(stdout, "Credit card matches->\t\t%ld\n", total_count);
-   if (tracksrch)
-     fprintf(stdout, "Track data pattern matches->\t%d\n\n", trackdatacount);
-   fprintf(stdout, "\nLocal end time: %s\n\n", ctime((time_t *)&end_time));
diff -ruN ../ccsrch.orig/ccsrch/pkg-descr ./ccsrch/pkg-descr
--- ../ccsrch.orig/ccsrch/pkg-descr	2014-05-20 14:24:18.000000000 +0400
+++ ./ccsrch/pkg-descr	1970-01-01 03:00:00.000000000 +0300
@@ -1,6 +0,0 @@
-ccsrch is a tool that searches for and identifies unencrypted and
-contiguous credit card numbers (PAN) and track data on windows and
-UNIX operating systems. It will also identify the location of the
-PAN data in the files and record MAC times.
-
-WWW: http://ccsrch.sourceforge.net/
--- ccsrch-1.0.3.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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