From owner-svn-ports-head@FreeBSD.ORG Mon Sep 2 15:40:01 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 005F9D9B; Mon, 2 Sep 2013 15:40:00 +0000 (UTC) (envelope-from lippe@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C7F952C04; Mon, 2 Sep 2013 15:40:00 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r82Fe0Mv044720; Mon, 2 Sep 2013 15:40:00 GMT (envelope-from lippe@svn.freebsd.org) Received: (from lippe@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r82Fe0mm044700; Mon, 2 Sep 2013 15:40:00 GMT (envelope-from lippe@svn.freebsd.org) Message-Id: <201309021540.r82Fe0mm044700@svn.freebsd.org> From: Felippe de Meirelles Motta Date: Mon, 2 Sep 2013 15:40:00 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r326014 - in head/net/hanstunnel: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Sep 2013 15:40:01 -0000 Author: lippe Date: Mon Sep 2 15:40:00 2013 New Revision: 326014 URL: http://svnweb.freebsd.org/changeset/ports/326014 Log: - Set correctly MASTER_SITES - Use appropriate COMMENT - Move pkg-message to files/pkg-message.in using SUB_FILES - Use INSTALL_PROGRAM PR: ports/180180 Submitted by: lippe@ Approved by: Alexander Panyushkin (maintainer) Added: head/net/hanstunnel/files/pkg-message.in (contents, props changed) Deleted: head/net/hanstunnel/pkg-message Modified: head/net/hanstunnel/Makefile Modified: head/net/hanstunnel/Makefile ============================================================================== --- head/net/hanstunnel/Makefile Mon Sep 2 15:39:17 2013 (r326013) +++ head/net/hanstunnel/Makefile Mon Sep 2 15:40:00 2013 (r326014) @@ -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 @@ OPTIONS_DEFAULT= CLANG PLIST_FILES= bin/hans +SUB_FILES= pkg-message + .include .if ${PORT_OPTIONS:MCLANG} @@ -38,7 +39,7 @@ CPP=gcpp .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} Added: head/net/hanstunnel/files/pkg-message.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/hanstunnel/files/pkg-message.in Mon Sep 2 15:40:00 2013 (r326014) @@ -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 + +------------------------------------------------------------