Skip to content

Commit

Permalink
add new port tinc -- stable version 1.0.23
Browse files Browse the repository at this point in the history
  • Loading branch information
sizeofvoid committed Feb 16, 2014
1 parent 95a1173 commit c740807
Show file tree
Hide file tree
Showing 5 changed files with 69 additions and 0 deletions.
35 changes: 35 additions & 0 deletions net/tinc/Makefile
@@ -0,0 +1,35 @@
# $OpenBSD:$

COMMENT = Virtual Private Network (VPN) daemon
DISTNAME = tinc-1.0.23
CATEGORIES = net security

HOMEPAGE = http://www.tinc-vpn.org/

MAINTAINER = Rafael Sadowski <rafael@sizeofvoid.org>

# GPLv2
PERMIT_PACKAGE_CDROM = Yes

WANTLIB += c crypto lzo2 z


MASTER_SITES = http://www.tinc-vpn.org/packages/

MODULES = converters/libiconv \

LIB_DEPENDS += archivers/lzo2 \

USE_GMAKE = Yes
USE_LIBTOOL= gnu

CONFIGURE_STYLE = gnu

CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"

CONFIGURE_ARGS = --sysconfdir=/etc \
--prefix=${LOCALBASE} \


.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions net/tinc/distinfo
@@ -0,0 +1,2 @@
SHA256 (tinc-1.0.23.tar.gz) = vPBr3xb/kDgh4z/BzmIZ1kKZcapazXD06KNbQzJEKBI=
SIZE (tinc-1.0.23.tar.gz) = 465795
16 changes: 16 additions & 0 deletions net/tinc/pkg/DESCR
@@ -0,0 +1,16 @@
tinc is a Virtual Private Network (VPN) daemon that uses tunnelling and
encryption to create a secure private network between hosts on the Internet.

Because the tunnel appears to the IP level network code as a normal network
device, there is no need to adapt any existing software. This tunnelling
allows VPN sites to share information with each other over the Internet
without exposing any information to others.

A single tinc daemon can accept more than one connection at a time, thus
making it possible to create larger virtual networks, because some
limitations are circumvented.

Instead of most other VPN implementations, tinc encapsulates each network
packet in its own UDP packet, instead of encapsulating all into one TCP or
even PPP over TCP stream. This results in lower latencies, less overhead,
and in general better responsiveness and throughput.
6 changes: 6 additions & 0 deletions net/tinc/pkg/PLIST
@@ -0,0 +1,6 @@
@comment $OpenBSD$
@info info/tinc.info
@man man/man5/tinc.conf.5
@man man/man8/tincd.8
@bin sbin/tincd
@rcscript ${RCDIR}/tincd
10 changes: 10 additions & 0 deletions net/tinc/pkg/tincd.rc
@@ -0,0 +1,10 @@
#!/bin/sh
#
# $OpenBSD:$

daemon="${TRUEPREFIX}/sbin/tincd"

. /etc/rc.d/rc.subr


rc_cmd $1

0 comments on commit c740807

Please sign in to comment.