From 070efdd54ff54d7c89b7b12dacc90552d0b05344 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Tue, 6 Mar 2018 00:30:48 +0000 Subject: [PATCH] aur/owfs to 3.2p1-1 --- aur/owfs/PKGBUILD | 14 +++++++++----- aur/owfs/owfs.conf | 2 ++ aur/owfs/systemd_journal.patch | 12 ++++++------ 3 files changed, 17 insertions(+), 11 deletions(-) create mode 100644 aur/owfs/owfs.conf diff --git a/aur/owfs/PKGBUILD b/aur/owfs/PKGBUILD index ab739690a..1fc4acd88 100644 --- a/aur/owfs/PKGBUILD +++ b/aur/owfs/PKGBUILD @@ -1,18 +1,20 @@ # Maintainer: Spyros Stathopoulos pkgname=owfs -pkgver=3.1p0 -pkgrel=3 +pkgver=3.2p1 +pkgrel=1 pkgdesc="OWFS is an easy way to use the powerful 1-wire system of Dallas/Maxim." arch=('i686' 'x86_64') url="http://www.owfs.org/" license=('GPL') source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz" - "systemd_journal.patch") + "systemd_journal.patch" + "owfs.conf") depends=('avahi' 'fuse' 'perl') makedepends=('swig') -sha1sums=('f82bf91e4f78a667c09a44d486139f1359f0950c' - '02aa7d70e6ed3e6dc309a89b512038362272d8ac') +sha1sums=('4ee76e686bec769acde5bfbda148a8693df244c6' + 'ff13b0a3d56206e32cf0307042351298e3f27d2d' + '99a72935a8d2bdcd79a745983cda85fd5d3035f4') prepare() { cd "${srcdir}/${pkgname}-${pkgver}" @@ -37,6 +39,8 @@ package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install + + install -Dm644 "${srcdir}/owfs.conf" "${pkgdir}/usr/lib/sysusers.d/owfs.conf" } # vim:ts=2:sw=2:et diff --git a/aur/owfs/owfs.conf b/aur/owfs/owfs.conf new file mode 100644 index 000000000..38c4c372a --- /dev/null +++ b/aur/owfs/owfs.conf @@ -0,0 +1,2 @@ +u ow - "1-Wire Filesystem" +g ow - "1-Wire Filesystem" diff --git a/aur/owfs/systemd_journal.patch b/aur/owfs/systemd_journal.patch index 65ee4a414..183f4562a 100644 --- a/aur/owfs/systemd_journal.patch +++ b/aur/owfs/systemd_journal.patch @@ -1,12 +1,12 @@ diff -Naur a/src/scripts/systemd/owfs.service.in b/src/scripts/systemd/owfs.service.in --- a/src/scripts/systemd/owfs.service.in 2015-01-11 01:31:33.000000000 +0000 +++ b/src/scripts/systemd/owfs.service.in 2016-05-25 12:19:24.082429561 +0100 -@@ -3,7 +3,7 @@ - Documentation=man:owfs(1) - +@@ -5,7 +5,7 @@ [Service] --ExecStart=@bindir@/owfs --server=127.0.0.1 --allow_other /run/owfs -+ExecStart=@bindir@/owfs --error_print=2 --server=127.0.0.1 --allow_other /run/owfs - ExecStop=/usr/bin/umount /run/owfs + Type=notify + NotifyAccess=all +-ExecStart=@bindir@/owfs --server=127.0.0.1 --allow_other %t/owfs ++ExecStart=@bindir@/owfs --error_print=2 --server=127.0.0.1 --allow_other %t/owfs + ExecStop=/usr/bin/umount %t/owfs RuntimeDirectory=owfs