[arch-commits] Commit in dante/repos (4 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 16:04:09 UTC 2020


    Date: Tuesday, July 7, 2020 @ 16:04:08
  Author: felixonmars
Revision: 659093

archrelease: copy trunk to community-staging-x86_64

Added:
  dante/repos/community-staging-x86_64/
  dante/repos/community-staging-x86_64/PKGBUILD
    (from rev 659089, dante/trunk/PKGBUILD)
  dante/repos/community-staging-x86_64/sockd.service
    (from rev 659089, dante/trunk/sockd.service)
  dante/repos/community-staging-x86_64/sockd.tmpfiles.d
    (from rev 659089, dante/trunk/sockd.tmpfiles.d)

------------------+
 PKGBUILD         |   35 +++++++++++++++++++++++++++++++++++
 sockd.service    |   11 +++++++++++
 sockd.tmpfiles.d |    1 +
 3 files changed, 47 insertions(+)

Copied: dante/repos/community-staging-x86_64/PKGBUILD (from rev 659089, dante/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 16:04:08 UTC (rev 659093)
@@ -0,0 +1,35 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Guillem Rieu <guillemr at gmx.net>
+
+pkgname=dante
+pkgver=1.4.2
+pkgrel=3
+pkgdesc="SOCKS v4 and v5 compatible proxy server and client"
+url="https://www.inet.no/dante"
+arch=(x86_64)
+license=('custom')
+depends=('pam' 'krb5')
+backup=('etc/socks.conf'
+        'etc/sockd.conf')
+source=(ftp://ftp.inet.no/pub/socks/$pkgname-$pkgver.tar.gz
+        sockd.tmpfiles.d
+        sockd.service)
+sha256sums=('4c97cff23e5c9b00ca1ec8a95ab22972813921d7fbf60fc453e3e06382fc38a7'
+            '40d578ef1b802e3813236459b2dfb13fbec6537ae8f55c0c7cbd4401d65da878'
+            '7d5f1fddc7e81e5447db662bcc02bbe14f616b403da92e5183e82661d4bc92ae')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin --disable-libwrap
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -dm0755 "$pkgdir"/etc
+  cp example/{socks,sockd}.conf "$pkgdir"/etc
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  install -Dm0644 "$srcdir"/sockd.service "$pkgdir"/usr/lib/systemd/system/sockd.service
+  install -Dm0644 "$srcdir"/sockd.tmpfiles.d "$pkgdir"/usr/lib/tmpfiles.d/sockd.conf
+}

Copied: dante/repos/community-staging-x86_64/sockd.service (from rev 659089, dante/trunk/sockd.service)
===================================================================
--- community-staging-x86_64/sockd.service	                        (rev 0)
+++ community-staging-x86_64/sockd.service	2020-07-07 16:04:08 UTC (rev 659093)
@@ -0,0 +1,11 @@
+[Unit]
+Description=SOCKS v4 and v5 compatible proxy server and client
+After=network.target
+
+[Service]
+Type=forking
+PIDFile=/run/dante/sockd.pid
+ExecStart=/usr/bin/sockd -D -p/run/dante/sockd.pid
+
+[Install]
+WantedBy=multi-user.target

Copied: dante/repos/community-staging-x86_64/sockd.tmpfiles.d (from rev 659089, dante/trunk/sockd.tmpfiles.d)
===================================================================
--- community-staging-x86_64/sockd.tmpfiles.d	                        (rev 0)
+++ community-staging-x86_64/sockd.tmpfiles.d	2020-07-07 16:04:08 UTC (rev 659093)
@@ -0,0 +1 @@
+d /run/dante 0755 root root -



More information about the arch-commits mailing list