aur/owfs to 3.2p1-1

This commit is contained in:
Kevin Mihelich 2018-03-06 00:30:48 +00:00
parent c839ee28b6
commit 070efdd54f
3 changed files with 17 additions and 11 deletions

View file

@ -1,18 +1,20 @@
# Maintainer: Spyros Stathopoulos <spystath@gmail.com>
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

2
aur/owfs/owfs.conf Normal file
View file

@ -0,0 +1,2 @@
u ow - "1-Wire Filesystem"
g ow - "1-Wire Filesystem"

View file

@ -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