Date: Sunday, May 31, 2015 @ 12:46:20 Author: fyan Revision: 134413 addpkg: ptunnel 0.72-4
Added: ptunnel/ ptunnel/repos/ ptunnel/trunk/ ptunnel/trunk/PKGBUILD ptunnel/trunk/ptunnel.service -----------------+ PKGBUILD | 29 +++++++++++++++++++++++++++++ ptunnel.service | 15 +++++++++++++++ 2 files changed, 44 insertions(+) Added: ptunnel/trunk/PKGBUILD =================================================================== --- ptunnel/trunk/PKGBUILD (rev 0) +++ ptunnel/trunk/PKGBUILD 2015-05-31 10:46:20 UTC (rev 134413) @@ -0,0 +1,29 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: George Hilliard <gh...@msstate.edu> + +pkgname=ptunnel +pkgver=0.72 +pkgrel=4 +pkgdesc="A tool for reliably tunneling TCP connections over ICMP echo request and reply packets" +arch=('i686' 'x86_64') +url="http://www.cs.uit.no/~daniels/PingTunnel" +license=('BSD') +depends=('libpcap') +source=("http://www.cs.uit.no/~daniels/PingTunnel/PingTunnel-$pkgver.tar.gz" + "ptunnel.service") +md5sums=('c5f0c36d1a48d84ce7b5217f1ba52dd0' + 'd81e6db82c90362f0d273d1bd031c9fd') + +build() { + cd "$srcdir/PingTunnel" + make +} + +package() { + install -Dm755 PingTunnel/ptunnel "$pkgdir/usr/bin/ptunnel" + install -Dm644 ptunnel.service "$pkgdir/usr/lib/systemd/system/ptunnel.service" + install -Dm644 PingTunnel/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +# vim:set ts=2 sw=2 et: Property changes on: ptunnel/trunk/PKGBUILD ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property Added: ptunnel/trunk/ptunnel.service =================================================================== --- ptunnel/trunk/ptunnel.service (rev 0) +++ ptunnel/trunk/ptunnel.service 2015-05-31 10:46:20 UTC (rev 134413) @@ -0,0 +1,15 @@ +[Unit] +Description=Ping Tunnel +After=syslog.target + +[Service] +Type=forking +PIDFile=/var/run/ptunnel.pid +ExecStart=/usr/bin/ptunnel \ + -setuid nobody -setgid nobody -setcon \ + -syslog \ + -daemon /var/run/ptunnel.pid +Restart=on-abort + +[Install] +WantedBy=multi-user.target