Bug 177554 - net/queso: Update MASTER_SITES
Summary: net/queso: Update MASTER_SITES
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-01 19:40 UTC by tkato432
Modified: 2013-04-03 07:30 UTC (History)
0 users

See Also:


Attachments
file.diff (1.64 KB, patch)
2013-04-01 19:40 UTC, tkato432
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tkato432 2013-04-01 19:40:01 UTC
- Update MASTER_SITES
- Add LICENSE
- Support CFLAGS properly
- Support STRIP properly
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-04-01 19:40:30 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

miwi@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2013-04-03 07:24:16 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-04-03 07:24:20 UTC
Author: miwi
Date: Wed Apr  3 06:24:06 2013
New Revision: 315694
URL: http://svnweb.freebsd.org/changeset/ports/315694

Log:
  - Update MASTER_SITES
  - Add LICENSE
  - Support CFLAGS properly
  - Support STRIP properly
  
  PR:		177554
  Submitted by:	ports fury
  Approved by:	portmgr

Modified:
  head/net/queso/Makefile   (contents, props changed)

Modified: head/net/queso/Makefile
==============================================================================
--- head/net/queso/Makefile	Wed Apr  3 06:21:41 2013	(r315693)
+++ head/net/queso/Makefile	Wed Apr  3 06:24:06 2013	(r315694)
@@ -1,32 +1,37 @@
-# ex:ts=8
-# Ports collection makefile for:  Queso
-# Date created:			  13 Oct 1998
-# Whom:				  Wu Ching-hong <woju@freebsd.ee.ntu.edu.tw>
+# Created by: Wu Ching-hong <woju@freebsd.ee.ntu.edu.tw>
 # 				  and David O'Brien (obrien@NUXI.com)
-#
 # $FreeBSD$
-#
 
 PORTNAME=	queso
 PORTVERSION=	980922
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net security
-MASTER_SITES=	http://ftp.cerias.purdue.edu/pub/tools/unix/scanners/queso/ \
-		http://www.mirrors.wiretapped.net/security/network-mapping/
+MASTER_SITES=	PACKETSTORM/UNIX/scanners
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Determine the remote OS using simple TCP packets
 
+LICENSE=	GPLv2
+
+OPTIONS_DEFINE=	DOCS
+
 GNU_CONFIGURE=	yes
+MAKE_JOBS_SAFE=	yes
 
-post-patch:
-	@${REINPLACE_CMD} 's,$(CFGDIR)/queso.conf,$(CFGDIR)/queso.conf.sample,' \
-		${WRKSRC}/Makefile.in
+.include <bsd.port.options.mk>
 
-post-install:
-.if !defined(NOPORTDOCS)
+post-patch:
+	@${REINPLACE_CMD} -e \
+		's|-O2 -pipe|| ; \
+		 s|^LDFLAGS|#LDFLAGS|' ${WRKSRC}/Makefile.in
+	@${LN} -sf queso.conf ${WRKSRC}/queso.conf.sample
+
+do-install:
+	(cd ${WRKSRC} && ${INSTALL_PROGRAM} queso ${PREFIX}/sbin)
+	(cd ${WRKSRC} && ${INSTALL_DATA} queso.conf.sample ${PREFIX}/etc)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/Documentation.txt ${DOCSDIR}
+	(cd ${WRKSRC} && ${INSTALL_DATA} Documentation.txt ${DOCSDIR})
 .endif
 
 .include <bsd.port.mk>
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"