[arch-commits] Commit in interception-tools/repos/community-x86_64 (5 files)

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


    Date: Tuesday, December 29, 2020 @ 01:04:34
  Author: ainola
Revision: 796336

archrelease: copy trunk to community-x86_64

Added:
  interception-tools/repos/community-x86_64/PKGBUILD
    (from rev 796335, interception-tools/trunk/PKGBUILD)
  interception-tools/repos/community-x86_64/interception-tools.install
    (from rev 796335, interception-tools/trunk/interception-tools.install)
Deleted:
  interception-tools/repos/community-x86_64/PKGBUILD
  interception-tools/repos/community-x86_64/interception-tools.install
  interception-tools/repos/community-x86_64/udevmon.service

----------------------------+
 PKGBUILD                   |   78 ++++++++++++++++++++-----------------------
 interception-tools.install |    8 ++--
 udevmon.service            |   36 -------------------
 3 files changed, 41 insertions(+), 81 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-29 01:04:17 UTC (rev 796335)
+++ PKGBUILD	2020-12-29 01:04:34 UTC (rev 796336)
@@ -1,41 +0,0 @@
-# Maintainer: Brett Cornwall <ainola at archlinux.org>
-# Contributor: Francisco Lopes
-
-pkgname=interception-tools
-pkgver=0.2.2
-pkgrel=2
-pkgdesc='A minimal composable infrastructure on top of libudev and libevdev'
-arch=('x86_64')
-license=('GPL3')
-url='https://gitlab.com/interception/linux/tools'
-# Add 'libevdev.so' once https://bugs.archlinux.org/task/69112 is fixed
-depends=(
-    'libevdev'
-    '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')
-
-build() {
-    cmake -B build \
-          -S "tools-v${pkgver}" \
-          -DCMAKE_INSTALL_PREFIX=/usr \
-          -DCMAKE_BUILD_TYPE=None \
-          -Wno-dev
-    cmake --build build
-}
-
-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"
-
-    cd build
-    make DESTDIR="$pkgdir/" install
-}

Copied: interception-tools/repos/community-x86_64/PKGBUILD (from rev 796335, interception-tools/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-12-29 01:04:34 UTC (rev 796336)
@@ -0,0 +1,37 @@
+# Maintainer: Brett Cornwall <ainola at archlinux.org>
+# Contributor: Francisco Lopes
+
+pkgname=interception-tools
+pkgver=0.3.4
+pkgrel=1
+pkgdesc='A minimal composable infrastructure on top of libudev and libevdev'
+arch=('x86_64')
+license=('GPL3')
+url='https://gitlab.com/interception/linux/tools'
+# Add 'libevdev.so' once https://bugs.archlinux.org/task/69112 is fixed
+depends=(
+    'libevdev' 'libevdev.so'
+    'yaml-cpp' 'libyaml-cpp.so'
+    'systemd-libs' 'libudev.so'
+)
+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 \
+          -S "tools-v${pkgver}" \
+          -DCMAKE_INSTALL_PREFIX=/usr \
+          -DCMAKE_BUILD_TYPE=None \
+          -Wno-dev
+    cmake --build build
+}
+
+package() {
+    install -dm755 "$pkgdir/etc/interception/udevmon.d"
+    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: interception-tools.install
===================================================================
--- interception-tools.install	2020-12-29 01:04:17 UTC (rev 796335)
+++ interception-tools.install	2020-12-29 01:04:34 UTC (rev 796336)
@@ -1,4 +0,0 @@
-post_upgrade() {
-    echo "The udevmon.yaml configuration file now is expected at:"
-    echo "    /etc/interception-tools/udevmon.yaml"
-}

Copied: interception-tools/repos/community-x86_64/interception-tools.install (from rev 796335, interception-tools/trunk/interception-tools.install)
===================================================================
--- interception-tools.install	                        (rev 0)
+++ interception-tools.install	2020-12-29 01:04:34 UTC (rev 796336)
@@ -0,0 +1,4 @@
+post_upgrade() {
+    echo "The udevmon.yaml configuration file now is expected at:"
+    echo "    /etc/interception-tools/udevmon.yaml"
+}

Deleted: udevmon.service
===================================================================
--- udevmon.service	2020-12-29 01:04:17 UTC (rev 796335)
+++ udevmon.service	2020-12-29 01:04:34 UTC (rev 796336)
@@ -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