[arch-commits] Commit in ptunnel/repos (6 files)

Felix Yan fyan at archlinux.org
Sun May 31 10:46:51 UTC 2015


    Date: Sunday, May 31, 2015 @ 12:46:51
  Author: fyan
Revision: 134414

archrelease: copy trunk to community-i686, community-x86_64

Added:
  ptunnel/repos/community-i686/
  ptunnel/repos/community-i686/PKGBUILD
    (from rev 134413, ptunnel/trunk/PKGBUILD)
  ptunnel/repos/community-i686/ptunnel.service
    (from rev 134413, ptunnel/trunk/ptunnel.service)
  ptunnel/repos/community-x86_64/
  ptunnel/repos/community-x86_64/PKGBUILD
    (from rev 134413, ptunnel/trunk/PKGBUILD)
  ptunnel/repos/community-x86_64/ptunnel.service
    (from rev 134413, ptunnel/trunk/ptunnel.service)

----------------------------------+
 community-i686/PKGBUILD          |   29 +++++++++++++++++++++++++++++
 community-i686/ptunnel.service   |   15 +++++++++++++++
 community-x86_64/PKGBUILD        |   29 +++++++++++++++++++++++++++++
 community-x86_64/ptunnel.service |   15 +++++++++++++++
 4 files changed, 88 insertions(+)

Copied: ptunnel/repos/community-i686/PKGBUILD (from rev 134413, ptunnel/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2015-05-31 10:46:51 UTC (rev 134414)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: George Hilliard <gh403 at 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:

Copied: ptunnel/repos/community-i686/ptunnel.service (from rev 134413, ptunnel/trunk/ptunnel.service)
===================================================================
--- community-i686/ptunnel.service	                        (rev 0)
+++ community-i686/ptunnel.service	2015-05-31 10:46:51 UTC (rev 134414)
@@ -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

Copied: ptunnel/repos/community-x86_64/PKGBUILD (from rev 134413, ptunnel/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2015-05-31 10:46:51 UTC (rev 134414)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: George Hilliard <gh403 at 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:

Copied: ptunnel/repos/community-x86_64/ptunnel.service (from rev 134413, ptunnel/trunk/ptunnel.service)
===================================================================
--- community-x86_64/ptunnel.service	                        (rev 0)
+++ community-x86_64/ptunnel.service	2015-05-31 10:46:51 UTC (rev 134414)
@@ -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



More information about the arch-commits mailing list