Package Details: owfs 3.1p0-3

Git Clone URL: https://aur.archlinux.org/owfs.git (read-only)
Package Base: owfs
Description: OWFS is an easy way to use the powerful 1-wire system of Dallas/Maxim.
Upstream URL: http://www.owfs.org/
Licenses: GPL
Submitter: plutonium
Maintainer: Foucault
Last Packager: Foucault
Votes: 9
Popularity: 0.027542
First Submitted: 2008-03-17 12:35
Last Updated: 2016-05-25 11:26

Latest Comments

jantman commented on 2016-05-25 11:06

The systemd unit included in this package runs OWFS in the background (the default), which sends logs via syslog. This results in some lost log information in journald, and logs not showing up in `systemctl status owfs` or `journalctl -u owfs` because they're received over syslog, not tied to the unit.

Could you please add `--error_print=2` to the owfs command line, which will cause it to log to STDERR and therefore go through the journald system properly, as logs from a systemd unit? I think this would be quite helpful, especially for users who aren't as familiar with journald and don't realize that it doesn't associate syslog messages with the unit that sent them.

Also, with the current unit file, the process dies right after startup. This is because owfs is forking to a background process, but systemd doesn't expect that so once the initial process goes away, systemd removes the cgroup. Either owfs needs to be run with the --foreground option or, pereferably, the [Service] section of the unit file needs to include Type=forking

jandre commented on 2015-05-20 15:55

After upgrading to the latest version a Python program I've written failed; t appears that the Python support is missing. On the configuration line swig is disabled and it is a prerequisite for Python. So, even though Python is enabled is doesn't get built.

I rebuilt enabling it and everything worked fine.

endre commented on 2015-04-30 15:14

Thank you iq2luc and mikep. I finally got time to merge your comments and bump the package.

iq2luc commented on 2015-03-23 17:03

Version 3.1p0 is available.
I'm building it using this patch:

diff -ruN owfs-orig/module/owshell/src/c/Makefile.am owfs/module/owshell/src/c/Makefile.am
--- owfs-orig/module/owshell/src/c/Makefile.am 2015-01-11 03:31:32.000000000 +0200
+++ owfs/module/owshell/src/c/Makefile.am 2015-03-23 18:47:03.211445494 +0200
@@ -41,6 +41,7 @@
-Wcast-align \
-Wstrict-prototypes \
-Wredundant-decls \
+ ${LIBUSB_CFLAGS} \
${EXTRACFLAGS}

LDADD = ${LD_EXTRALIBS} ${OSLIBS}
diff -ruN owfs-orig/module/owtcl/Makefile.am owfs/module/owtcl/Makefile.am
--- owfs-orig/module/owtcl/Makefile.am 2015-01-11 03:31:32.000000000 +0200
+++ owfs/module/owtcl/Makefile.am 2015-03-23 18:46:52.681151547 +0200
@@ -39,6 +39,7 @@
-Wcast-align \
-Wstrict-prototypes \
-Wredundant-decls \
+ ${LIBUSB_CFLAGS} \
${EXTRACFLAGS} \
${PTHREAD_CFLAGS} \
$(TCL_DEFS) \

...and this PKGBUILD:

# Contributor: plut0nium <charles(DOT)fourneau(AT)gmail(DOT)com >
# tzervo <tzervo@gmail.com>

pkgname="owfs"
pkgver=3.1p0
pkgrel=0
pkgdesc="An easy way to use the powerful 1-wire system of Dallas/Maxim."
arch=('any')
url="http://www.owfs.org"
license=('GPL')
groups=()
# Dependencies are not mandatory to build owserver, but:
# - fuse is needed for owfs
# - swig is needed for scripting languages bindings (perl, python...)
depends=('fuse' 'swig' 'python2')
makedepends=()
provides=('owfs')
conflicts=('owfs')
replaces=()
backup=()
options=()
install=
source=(http://downloads.sourceforge.net/sourceforge/owfs/$pkgname-$pkgver.tar.gz)
noextract=()
md5sums=('3d8919af078ae8c9171e5713a1789195')

prepare() {
cd "$srcdir/$pkgname-$pkgver"
patch -p1 -i ../../fix-libusb-includes.patch
}

build() {
cd "$srcdir/$pkgname-$pkgver"
autoreconf && ./configure --disable-swig --disable-owperl --prefix=/usr --with-python="/usr/bin/python2" --with-pythonconfig="/usr/bin/python2-config"
make
}

package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}

mikep commented on 2015-01-25 14:51

2.9p9 is out.

Also you need to add the package() function to PKGBUILD

# Contributor: plut0nium <charles(DOT)fourneau(AT)gmail(DOT)com >
# tzervo <tzervo@gmail.com>
pkgname="owfs"
pkgver=2.9p9
pkgrel=0
pkgdesc="An easy way to use the powerful 1-wire system of Dallas/Maxim."
arch=('any')
url="http://www.owfs.org"
license=('GPL')
groups=()
# Dependencies are not mandatory to build owserver, but:
# - fuse is needed for owfs
# - swig is needed for scripting languages bindings (perl, python...)
depends=('fuse' 'swig' 'python2')
makedepends=()
provides=('owfs')
conflicts=('owfs')
replaces=()
backup=()
options=()
install=
source=(http://downloads.sourceforge.net/sourceforge/owfs/$pkgname-$pkgver.tar.gz)
noextract=()
md5sums=('ce5c8142c3e5eb0748d533fdbeff51e1')

build() {
cd "$srcdir/$pkgname-$pkgver"

./configure --prefix=/usr --with-python="/usr/bin/python2" --with-pythonconfig="/usr/bin/python2-config"
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"

make DESTDIR="$pkgdir" install
}

joep commented on 2014-12-14 07:25

I'm using owfs with a USB bus master (using a DS9490R).
Launching owfs (from AUR) with:
sudo owfs -u --allow_other -m /mnt/1-wire (I created the mount point /mnt/1-wire)
does nothing. I removed the aur owfs, downloaded the 2.9p7 source and ran configure as follows:
./configure --enable-owfs --prefix=/usr --with-python="/usr/bin/python2" --with-pythonconfig="/usr/bin/python2-config"
The following warnings were issued:
...
configure:16384: WARNING: Can't find libusb
configure:16389: WARNING: libusb not found, usb will be disabled
...
USB IS DISABLED
...
libusb is installed on my system.

endre commented on 2014-10-15 11:30

Adopted package, version bumped to latest stable 2.9p7. Now it compiles.

rpg commented on 2013-10-08 20:26

The ed editor seems to be missing from the build dependencies:

From the owfs build log:
[…]
/usr/bin/install -c -m 644 owtcl.n ow.n '/tmp/yaourt-tmp-human/aur-owfs/pkg/owfs/usr/share/man/mann'
/bin/sh: line 12: ed: command not found.
(… repeated 344 times …)
/bin/sh: line 17: ed: command not found.
(… repeated 344 times …)
make[3]: Leaving directory `/tmp/yaourt-tmp-human/aur-owfs/src/owfs-2.9p1/src/man'
[…]

After installing ed manually everything went well :)

medvedko commented on 2013-02-03 10:25

Hello! Yesterday 2.9.0 was released, so I made an update. If you'll get into any trouble, please inform me - go@medvedko.dyndns.info

medvedko commented on 2013-02-03 10:24

Hello! Tomorrow 2.9 was released, so I made an update. If you'll get into any trouble, please inform me. go@medvedko.dyndns.info

All comments