ports/177554: net/queso: Update MASTER_SITES
KATO Tsuguru
tkato432 at yahoo.com
Mon Apr 1 18:40:02 UTC 2013
>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 at freebsd.ee.ntu.edu.tw>
+# Created by: Wu Ching-hong <woju at freebsd.ee.ntu.edu.tw>
# and David O'Brien (obrien at 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 at 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:
More information about the freebsd-ports-bugs
mailing list