Date: Mon, 1 Jul 2013 20:03:25 GMT From: Felippe Motta <lippe@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/180180: [Update] net/hanstunnel: Makefile and pkg-message fixes Message-ID: <201307012003.r61K3PAU000872@oldred.freebsd.org> Resent-Message-ID: <201307012010.r61KA1HX099690@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <bsd.port.options.mk> .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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307012003.r61K3PAU000872>