Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Apr 2013 00:38:41 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r316857 - head/security/secure_delete
Message-ID:  <201304300038.r3U0cfDV065774@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Tue Apr 30 00:38:41 2013
New Revision: 316857
URL: http://svnweb.freebsd.org/changeset/ports/316857

Log:
  - Update MASTER_SITES
  - Cleanup
  
  PR:		177914
  Submitted by:	ports fury

Modified:
  head/security/secure_delete/Makefile

Modified: head/security/secure_delete/Makefile
==============================================================================
--- head/security/secure_delete/Makefile	Tue Apr 30 00:37:16 2013	(r316856)
+++ head/security/secure_delete/Makefile	Tue Apr 30 00:38:41 2013	(r316857)
@@ -5,7 +5,8 @@ PORTNAME=	secure_delete
 PORTVERSION=	3.1
 PORTREVISION=	1
 CATEGORIES=	security
-MASTER_SITES=	PACKETSTORM/group/thc
+MASTER_SITES=	PACKETSTORM/groups/thc \
+		http://freeworld.thc.org/releases/
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Secure data deletion toolkit
@@ -14,7 +15,7 @@ OPTIONS_DEFINE=	DOCS
 
 CONFLICTS=	srm-[0-9]*
 
-MAKE_JOBS_UNSAFE=yes
+MAKE_JOBS_UNSAFE=	yes
 
 SUB_FILES=	pkg-message
 
@@ -26,15 +27,13 @@ PLIST_FILES=	${BIN_PROGRAMS:S,^,bin/,} $
 BIN_PROGRAMS=	srm sfill sswap smem
 BIN_SCRIPTS=	the_cleaner.sh
 
-BROKEN=	does not fetch - master sites missing
-
 .include <bsd.port.options.mk>
 
 post-patch:
 	@${REINPLACE_CMD} -e \
-	's|^CC=|CC?=| ; \
-	s|-O2 |$$(CFLAGS) | ;\
-	/strip/s|^|#|' ${WRKSRC}/Makefile
+		's|^CC=|CC?=| ; \
+		 s|-O2 |$$(CFLAGS) | ;\
+		 /strip/s|^|#|' ${WRKSRC}/Makefile
 
 do-install:
 .for i in ${BIN_PROGRAMS}
@@ -44,16 +43,13 @@ do-install:
 .for i in ${BIN_SCRIPTS}
 	${INSTALL_SCRIPT} ${WRKSRC}/${i} ${PREFIX}/bin
 .endfor
+	${LN} -sf srm ${PREFIX}/bin/sdel
 .if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 .for i in ${PORTDOCS}
 	${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
 .endfor
 .endif
-
-	${LN} -sf srm ${PREFIX}/bin/sdel
-
-post-install:
 	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>



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