From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jul 1 20:10:02 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 18F7314B for ; Mon, 1 Jul 2013 20:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 0058F1F0B for ; Mon, 1 Jul 2013 20:10:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r61KA1UR099691 for ; Mon, 1 Jul 2013 20:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r61KA1HX099690; Mon, 1 Jul 2013 20:10:01 GMT (envelope-from gnats) Resent-Date: Mon, 1 Jul 2013 20:10:01 GMT Resent-Message-Id: <201307012010.r61KA1HX099690@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Felippe Motta Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D2628D07 for ; Mon, 1 Jul 2013 20:03:25 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) by mx1.freebsd.org (Postfix) with ESMTP id B4CDC1EC1 for ; Mon, 1 Jul 2013 20:03:25 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r61K3POT000889 for ; Mon, 1 Jul 2013 20:03:25 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r61K3PAU000872; Mon, 1 Jul 2013 20:03:25 GMT (envelope-from nobody) Message-Id: <201307012003.r61K3PAU000872@oldred.freebsd.org> Date: Mon, 1 Jul 2013 20:03:25 GMT From: Felippe Motta To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/180180: [Update] net/hanstunnel: Makefile and pkg-message fixes X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jul 2013 20:10:02 -0000 >Number: 180180 >Category: ports >Synopsis: [Update] net/hanstunnel: Makefile and pkg-message fixes >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 Jul 01 20:10:01 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Felippe Motta >Release: 9.1-RELEASE amd64 >Organization: >Environment: FreeBSD claire.localhost 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Fixes on net/hanstunnel Makefile: - Use correctly MASTER_SITES to SourceForge - Use appropriate COMMENT to show software propose - Move pkg-message to files/pkg-message.in using SUB_FILES - Change to use INSTALL_PROGRAM instead >How-To-Repeat: >Fix: Patch attached with submission follows: diff -ruN hanstunnel.old/Makefile hanstunnel/Makefile --- hanstunnel.old/Makefile 2013-06-28 17:45:36.000000000 -0300 +++ hanstunnel/Makefile 2013-07-01 17:01:00.000000000 -0300 @@ -4,13 +4,12 @@ PORTNAME= hans PORTVERSION= 0.4.1 CATEGORIES= net security -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= /hanstunnel/source/ +MASTER_SITES= SF/hanstunnel/source MAINTAINER= vsityz@gmail.com COMMENT= Hans makes it possible to tunnel IPv4 through ICMP -LICENSE_PERMS_GPL3= yes +LICENSE= GPLv3 OPTIONS_DEFINE= CLANG @@ -20,6 +19,8 @@ PLIST_FILES= bin/hans +SUB_FILES= pkg-message + .include .if ${PORT_OPTIONS:MCLANG} @@ -38,7 +39,7 @@ .endif do-install: - @${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} ${WRKSRC}/hans ${LOCALBASE}/bin + @${INSTALL_PROGRAM} ${WRKSRC}/hans ${LOCALBASE}/bin post-install: .SILENT ${ECHO_MSG} diff -ruN hanstunnel.old/files/pkg-message.in hanstunnel/files/pkg-message.in --- hanstunnel.old/files/pkg-message.in 1969-12-31 21:00:00.000000000 -0300 +++ hanstunnel/files/pkg-message.in 2013-06-28 17:45:36.000000000 -0300 @@ -0,0 +1,23 @@ +------------------------------------------------------------ + +Hans runs on Linux as a client and a server. +It runs on FreeBSD client only. + +NOTE: that Hans can not receive echo requests on BSD systems. +Therefore the server only works on Linux. + +------------------------------------------------------------ + +### Running as a server ### + +% hans -s 10.1.2.0 -r -p password -u nobody + +### Running as a client ### + +% hans -c server_address -p password -u nobody + +### Help ### + +% hans + +------------------------------------------------------------ diff -ruN hanstunnel.old/pkg-message hanstunnel/pkg-message --- hanstunnel.old/pkg-message 2013-06-28 17:45:36.000000000 -0300 +++ hanstunnel/pkg-message 1969-12-31 21:00:00.000000000 -0300 @@ -1,23 +0,0 @@ ------------------------------------------------------------- - -Hans runs on Linux as a client and a server. -It runs on FreeBSD client only. - -NOTE: that Hans can not receive echo requests on BSD systems. -Therefore the server only works on Linux. - ------------------------------------------------------------- - -### Running as a server ### - -% hans -s 10.1.2.0 -r -p password -u nobody - -### Running as a client ### - -% hans -c server_address -p password -u nobody - -### Help ### - -% hans - ------------------------------------------------------------- >Release-Note: >Audit-Trail: >Unformatted: