[arch-commits] Commit in interception-tools/trunk (PKGBUILD udevmon.service)

Brett Cornwall ainola at archlinux.org
Tue Dec 29 01:04:10 UTC 2020


    Date: Tuesday, December 29, 2020 @ 01:04:09
  Author: ainola
Revision: 796334

upgpkg: 0.3.4

Also remove the .service file as that's been upstreamed.

Modified:
  interception-tools/trunk/PKGBUILD
Deleted:
  interception-tools/trunk/udevmon.service

-----------------+
 PKGBUILD        |   20 ++++++++------------
 udevmon.service |   36 ------------------------------------
 2 files changed, 8 insertions(+), 48 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-29 01:03:25 UTC (rev 796333)
+++ PKGBUILD	2020-12-29 01:04:09 UTC (rev 796334)
@@ -2,8 +2,8 @@
 # Contributor: Francisco Lopes
 
 pkgname=interception-tools
-pkgver=0.2.2
-pkgrel=2
+pkgver=0.3.4
+pkgrel=1
 pkgdesc='A minimal composable infrastructure on top of libudev and libevdev'
 arch=('x86_64')
 license=('GPL3')
@@ -10,17 +10,13 @@
 url='https://gitlab.com/interception/linux/tools'
 # Add 'libevdev.so' once https://bugs.archlinux.org/task/69112 is fixed
 depends=(
-    'libevdev'
+    'libevdev' 'libevdev.so'
     'yaml-cpp' 'libyaml-cpp.so'
     'systemd-libs' 'libudev.so'
 )
-makedepends=('cmake' 'systemd')
-# Until https://gitlab.com/interception/linux/tools/-/merge_requests/10 is
-# merged, include a .service file ourselves
-source=("$pkgname-$pkgver.tar.gz::https://gitlab.com/interception/linux/tools/-/archive/v$pkgver/tools-v$pkgver.tar.gz"
-        'udevmon.service')
-sha256sums=('56fc110917b05b7ec00b440436fd536a30275449e574978a72bb1f102e9a731a'
-            'b94f1f19e2d8e2dc4d4ec6d183f373520a2cf5a0ec90dff19607611e4b251b6d')
+makedepends=('cmake' 'systemd' 'boost')
+source=("$pkgname-$pkgver.tar.gz::https://gitlab.com/interception/linux/tools/-/archive/v$pkgver/tools-v$pkgver.tar.gz")
+sha256sums=('0c56fc123b2cb1b71c8390e56a1c72dab59456cde8896e23c18198c9e9b60678')
 
 build() {
     cmake -B build \
@@ -33,8 +29,8 @@
 
 package() {
     install -dm755 "$pkgdir/etc/interception/udevmon.d"
-    install -Dm644 udevmon.service -t "$pkgdir/usr/lib/systemd/system"
-    install -Dm644 "tools-v${pkgver}/README.md" -t "$pkgdir/usr/share/doc/$pkgname"
+    install -Dm644 "tools-v$pkgver/udevmon.service" -t "$pkgdir/usr/lib/systemd/system"
+    install -Dm644 "tools-v$pkgver/README.md" -t "$pkgdir/usr/share/doc/$pkgname"
 
     cd build
     make DESTDIR="$pkgdir/" install

Deleted: udevmon.service
===================================================================
--- udevmon.service	2020-12-29 01:03:25 UTC (rev 796333)
+++ udevmon.service	2020-12-29 01:04:09 UTC (rev 796334)
@@ -1,36 +0,0 @@
-[Unit]
-Description=Monitor input devices for launching tasks
-Wants=systemd-udev-settle.service
-After=systemd-udev-settle.service
-Documentation=man:udev(7)
-
-[Service]
-ExecStart=/usr/bin/udevmon -c /etc/interception/udevmon.yaml
-Nice=-20
-Restart=on-failure
-RestartSec=5s
-OOMScoreAdjust=-1000
-
-DeviceAllow=char-* rw
-DevicePolicy=strict
-IPAddressDeny=any
-LockPersonality=yes
-MemoryDenyWriteExecute=yes
-PrivateMounts=yes
-PrivateTmp=true
-ProtectControlGroups=true
-ProtectHome=true
-ProtectHostname=yes
-ProtectKernelLogs=true
-ProtectKernelModules=true
-ProtectKernelTunables=true
-ProtectSystem=strict
-RestrictAddressFamilies=AF_UNIX AF_NETLINK AF_INET AF_INET6
-RestrictNamespaces=true
-RestrictRealtime=true
-RestrictSUIDSGID=yes
-SystemCallErrorNumber=EPERM
-SystemCallFilter=@system-service @raw-io
-
-[Install]
-WantedBy=multi-user.target



More information about the arch-commits mailing list