[arch-commits] Commit in synergy/trunk (PKGBUILD synergys at .service synergys at .socket)

Sven-Hendrik Haase svenstaro at nymeria.archlinux.org
Thu Jul 3 13:16:18 UTC 2014


    Date: Thursday, July 3, 2014 @ 15:16:18
  Author: svenstaro
Revision: 114736

upgpkg: synergy 1.5.0-2

Change to user services instead

Added:
  synergy/trunk/synergys at .service
  synergy/trunk/synergys at .socket
Modified:
  synergy/trunk/PKGBUILD

-------------------+
 PKGBUILD          |   14 +++++++-------
 synergys at .service |   10 ++++++++++
 synergys at .socket  |    9 +++++++++
 3 files changed, 26 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-07-03 13:04:28 UTC (rev 114735)
+++ PKGBUILD	2014-07-03 13:16:18 UTC (rev 114736)
@@ -12,7 +12,7 @@
 pkgname=synergy
 pkgver=1.5.0
 _pkgver=2278
-pkgrel=1
+pkgrel=2
 pkgdesc="Share a single mouse and keyboard between multiple computers"
 url="http://synergy-foss.org"
 arch=('i686' 'x86_64')
@@ -21,12 +21,12 @@
 optdepends=('qt5-base: gui support')
 license=('GPL2')
 source=("http://synergy-project.org/files/packages/synergy-${pkgver}-r${_pkgver}-Source.tar.gz"
-        "synergys.socket"
-        "synergys.service"
+        "synergys at .socket"
+        "synergys at .service"
         "unfuck-cryptopp-thanks-gentoo.patch")
 sha1sums=('808f1d793e5e977241bbef7e28fd02990adf8a47'
-          '947406e72351145c65ba9884ed175bf781482d46'
-          '00f2259c31c9551c0830d9e889fd0a0790cf9045'
+          '7ec33221725fc496b807e0f435c5e87b590beb5d'
+          '4bd12cd0674ef317af1f7df32d84e94582855140'
           '8e321e664ae4b7a763175524dd938a88d85c7909')
 
 build() {
@@ -63,8 +63,8 @@
 
   # install systemd service and socket
   install -d "$pkgdir/usr/lib/systemd/system"
-  install -Dm644 "$srcdir/synergys.service" "$pkgdir/usr/lib/systemd/system/"
-  install -Dm644 "$srcdir/synergys.socket" "$pkgdir/usr/lib/systemd/system/"
+  install -Dm644 "$srcdir/synergys at .service" "$pkgdir/usr/lib/systemd/system/"
+  install -Dm644 "$srcdir/synergys at .socket" "$pkgdir/usr/lib/systemd/system/"
 
   # install desktop/icon stuff
   cd ../res

Added: synergys at .service
===================================================================
--- synergys at .service	                        (rev 0)
+++ synergys at .service	2014-07-03 13:16:18 UTC (rev 114736)
@@ -0,0 +1,10 @@
+[Unit]
+Description=Synergy Server Daemon
+After=network.target
+
+[Service]
+User=%i
+ExecStart=/usr/bin/synergys --no-daemon --config /etc/synergy.conf
+
+[Install]
+WantedBy=multi-user.target

Added: synergys at .socket
===================================================================
--- synergys at .socket	                        (rev 0)
+++ synergys at .socket	2014-07-03 13:16:18 UTC (rev 114736)
@@ -0,0 +1,9 @@
+[Unit]
+Conflicts=synergys at .service
+
+[Socket]
+ListenStream=24800
+Accept=false
+
+[Install]
+WantedBy=sockets.target




More information about the arch-commits mailing list