Date: Mon, 2 Sep 2013 15:40:00 +0000 (UTC) From: Felippe de Meirelles Motta <lippe@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r326014 - in head/net/hanstunnel: . files Message-ID: <201309021540.r82Fe0mm044700@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <vsityz@gmail.com> (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 <bsd.port.options.mk> .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 + +------------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309021540.r82Fe0mm044700>