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

Felix Yan felixonmars at archlinux.org
Tue Jul 7 14:14:26 UTC 2020


    Date: Tuesday, July 7, 2020 @ 14:14:26
  Author: felixonmars
Revision: 658775

archrelease: copy trunk to community-staging-x86_64

Added:
  ptunnel/repos/community-staging-x86_64/
  ptunnel/repos/community-staging-x86_64/PKGBUILD
    (from rev 658773, ptunnel/trunk/PKGBUILD)
  ptunnel/repos/community-staging-x86_64/ptunnel.service
    (from rev 658774, ptunnel/trunk/ptunnel.service)

-----------------+
 PKGBUILD        |   28 ++++++++++++++++++++++++++++
 ptunnel.service |   15 +++++++++++++++
 2 files changed, 43 insertions(+)

Copied: ptunnel/repos/community-staging-x86_64/PKGBUILD (from rev 658773, ptunnel/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 14:14:26 UTC (rev 658775)
@@ -0,0 +1,28 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: George Hilliard <gh403 at msstate.edu>
+
+pkgname=ptunnel
+pkgver=0.72
+pkgrel=6
+pkgdesc="A tool for reliably tunneling TCP connections over ICMP echo request and reply packets"
+arch=('x86_64')
+url="https://www.cs.uit.no/~daniels/PingTunnel"
+license=('BSD')
+depends=('libpcap')
+source=("https://www.cs.uit.no/~daniels/PingTunnel/PingTunnel-$pkgver.tar.gz"
+        "ptunnel.service")
+sha512sums=('943fc571ca95bb6af59f2a74458470865a89a502145bb1e5cf9b86159d61d897418d10d100691337f299892af7aba65964624462068a77ef1645890a4abf5d17'
+            'fcb49a4fab083c126bf8355bd6df86ab92abc77b792747e217c445591917851f8993b20fbd69292f74b5f5bdab4f36909ec3aa739ce350809220a5ebd1b243dd')
+
+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-staging-x86_64/ptunnel.service (from rev 658774, ptunnel/trunk/ptunnel.service)
===================================================================
--- community-staging-x86_64/ptunnel.service	                        (rev 0)
+++ community-staging-x86_64/ptunnel.service	2020-07-07 14:14:26 UTC (rev 658775)
@@ -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