diff options
author | Torsten Wörtwein | 2019-09-14 14:19:57 -0400 |
---|---|---|
committer | Torsten Wörtwein | 2019-09-14 14:19:57 -0400 |
commit | 650911e86a6bb7d17537cee3f09b1820606c0c7b (patch) | |
tree | 291bdb96f54ec4b417e14a998479058bc89697e3 | |
parent | 13245da7ad67b4170e84353b525e263e0ef92bf1 (diff) | |
download | aur-650911e86a6bb7d17537cee3f09b1820606c0c7b.tar.gz |
auditd service
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 12 | ||||
-rw-r--r-- | caitsith-auditd.service | 15 |
3 files changed, 27 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = caitsith-tools pkgdesc = CaitSith Linux userspace tools pkgver = 0.2_20170515 - pkgrel = 1 + pkgrel = 2 url = http://caitsith.osdn.jp/ arch = i686 arch = x86_64 @@ -9,9 +9,11 @@ pkgbase = caitsith-tools depends = ncurses source = http://jaist.dl.osdn.jp/caitsith/66538/caitsith-tools-0.2-20170515.tar.gz source = http://jaist.dl.osdn.jp/caitsith/66538/caitsith-tools-0.2-20170515.tar.gz.asc + source = caitsith-auditd.service validpgpkeys = 43C83369623D7AD3A96C2FC7425F128D0C64F52A sha256sums = 542cbfb60089d0c8410b773e30f19e487d418dd701b64b7b60fcb661aca0f6fb sha256sums = f058d61d874f450efe0ca9fc81c530b967e355800f079ed1bf82d3aaeecc24d3 + sha256sums = bcb87b74c937c17767412b8ba601fd5717923fb89c9caec57bcbcf11704d6d1e pkgname = caitsith-tools @@ -2,16 +2,18 @@ pkgname=caitsith-tools _basever=0.2 _timestamp=20170515 pkgver=${_basever}_${_timestamp} -pkgrel=1 +pkgrel=2 pkgdesc='CaitSith Linux userspace tools' url='http://caitsith.osdn.jp/' arch=('i686' 'x86_64') license=('GPL') depends=('ncurses') source=("http://jaist.dl.osdn.jp/caitsith/66538/caitsith-tools-${_basever}-${_timestamp}.tar.gz" - "http://jaist.dl.osdn.jp/caitsith/66538/caitsith-tools-${_basever}-${_timestamp}.tar.gz.asc") + "http://jaist.dl.osdn.jp/caitsith/66538/caitsith-tools-${_basever}-${_timestamp}.tar.gz.asc" + "caitsith-auditd.service") sha256sums=('542cbfb60089d0c8410b773e30f19e487d418dd701b64b7b60fcb661aca0f6fb' - 'f058d61d874f450efe0ca9fc81c530b967e355800f079ed1bf82d3aaeecc24d3') + 'f058d61d874f450efe0ca9fc81c530b967e355800f079ed1bf82d3aaeecc24d3' + 'bcb87b74c937c17767412b8ba601fd5717923fb89c9caec57bcbcf11704d6d1e') validpgpkeys=('43C83369623D7AD3A96C2FC7425F128D0C64F52A') # http://I-love.SAKURA.ne.jp/kumaneko-key build() { @@ -22,4 +24,8 @@ build() { package() { cd "${srcdir}/${pkgname}" make USRSBINDIR=/usr/bin SBINDIR=/usr/bin INSTALLDIR="${pkgdir}" install + + _unitdir="$(pkg-config --variable=systemdsystemunitdir systemd)" + install -Dm644 "${srcdir}/caitsith-auditd.service" \ + "${pkgdir}/${_unitdir}/caitsith-auditd.service" } diff --git a/caitsith-auditd.service b/caitsith-auditd.service new file mode 100644 index 000000000000..7a90adc1b0e5 --- /dev/null +++ b/caitsith-auditd.service @@ -0,0 +1,15 @@ +[Unit] +Description=CaitSith Auditing Daemon + +[Service] +Type=forking +ExecStart=/usr/bin/caitsith-auditd +ExecReload=/usr/bin/kill -HUP $MAINPID +ProtectSystem=full +ProtectHome=true +PrivateNetwork=true +PrivateDevices=true +PrivateTmp=true + +[Install] +WantedBy=multi-user.target |