Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Apr 2013 03:21:27 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/177554: net/queso: Update MASTER_SITES
Message-ID:  <20130402032127.78d36585688d8a7f22472b8c@yahoo.com>
Resent-Message-ID: <201304011840.r31Ie1DF029633@freefall.freebsd.org>

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

>Number:         177554
>Category:       ports
>Synopsis:       net/queso: Update MASTER_SITES
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 01 18:40:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p11 i386
>Organization:
>Environment:
>Description:
- Update MASTER_SITES
- Add LICENSE
- Support CFLAGS properly
- Support STRIP properly

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/net/queso/Makefile net/queso/Makefile
--- /usr/ports/net/queso/Makefile	2012-11-08 08:58:14.000000000 +0900
+++ net/queso/Makefile	2013-03-31 19:10:24.000000000 +0900
@@ -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: head/net/queso/Makefile 301494 2012-07-24 21:09:44Z cs $
-#
 
 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>
>Release-Note:
>Audit-Trail:
>Unformatted:



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