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

Daniel Micay thestinger at archlinux.org
Sat Jun 20 15:05:04 UTC 2015


    Date: Saturday, June 20, 2015 @ 17:05:04
  Author: thestinger
Revision: 135645

archrelease: copy trunk to community-any

Added:
  hidepid/repos/community-any/
  hidepid/repos/community-any/PKGBUILD
    (from rev 135644, hidepid/trunk/PKGBUILD)
  hidepid/repos/community-any/hidepid.conf
    (from rev 135644, hidepid/trunk/hidepid.conf)
  hidepid/repos/community-any/hidepid.service
    (from rev 135644, hidepid/trunk/hidepid.service)

-----------------+
 PKGBUILD        |   19 +++++++++++++++++++
 hidepid.conf    |    2 ++
 hidepid.service |   11 +++++++++++
 3 files changed, 32 insertions(+)

Copied: hidepid/repos/community-any/PKGBUILD (from rev 135644, hidepid/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2015-06-20 15:05:04 UTC (rev 135645)
@@ -0,0 +1,19 @@
+# $Id$
+# Maintainer: Daniel Micay <danielmicay at gmail.com>
+pkgname=hidepid
+pkgver=1
+pkgrel=1
+pkgdesc='Hide process information from other users'
+arch=(any)
+url='https://archlinux.org/'
+license=('GPL2')
+source=(hidepid.conf hidepid.service)
+md5sums=('ad3f003e49e9441c1fa8bd04ceb9f80b'
+         'de6db359522bcbab39e051a71b1ec384')
+
+package() {
+  install -Dm644 hidepid.conf "$pkgdir/usr/lib/systemd/system/systemd-logind.service.d/hidepid.conf"
+  install -Dm644 hidepid.service "$pkgdir/usr/lib/systemd/system/hidepid.service"
+  mkdir -p "$pkgdir/usr/lib/systemd/system/local-fs.target.wants/"
+  ln -s -t "$pkgdir/usr/lib/systemd/system/local-fs.target.wants/" ../hidepid.service
+}

Copied: hidepid/repos/community-any/hidepid.conf (from rev 135644, hidepid/trunk/hidepid.conf)
===================================================================
--- community-any/hidepid.conf	                        (rev 0)
+++ community-any/hidepid.conf	2015-06-20 15:05:04 UTC (rev 135645)
@@ -0,0 +1,2 @@
+[Service]
+SupplementaryGroups=proc

Copied: hidepid/repos/community-any/hidepid.service (from rev 135644, hidepid/trunk/hidepid.service)
===================================================================
--- community-any/hidepid.service	                        (rev 0)
+++ community-any/hidepid.service	2015-06-20 15:05:04 UTC (rev 135645)
@@ -0,0 +1,11 @@
+[Unit]
+DefaultDependencies=no
+Conflicts=shutdown.target
+After=systemd-remount-fs.service
+Before=local-fs-pre.target local-fs.target shutdown.target
+Wants=local-fs-pre.target
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/usr/bin/mount -o remount,hidepid=2,gid=26 /proc



More information about the arch-commits mailing list