commit:     ffd86cfb0f6574a9e62c32ebc65515f264404e90
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  9 07:21:50 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Oct  9 07:21:50 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffd86cfb

sys-fs/owfs: Remove last-rited pkg

Closes: https://bugs.gentoo.org/735502
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 profiles/package.mask                        |   2 -
 sys-fs/owfs/Manifest                         |   1 -
 sys-fs/owfs/files/owfs-3.1-vendordir.patch   |  26 ----
 sys-fs/owfs/files/owfs-3.1p4-sysmacros.patch |  78 -----------
 sys-fs/owfs/files/owfs.confd                 |   2 -
 sys-fs/owfs/files/owfs.initd-r1              |  35 -----
 sys-fs/owfs/files/owftpd.confd               |   2 -
 sys-fs/owfs/files/owftpd.initd-r1            |  35 -----
 sys-fs/owfs/files/owhttpd.confd              |   2 -
 sys-fs/owfs/files/owhttpd.initd-r1           |  35 -----
 sys-fs/owfs/files/owserver.confd             |   2 -
 sys-fs/owfs/files/owserver.initd-r1          |  34 -----
 sys-fs/owfs/metadata.xml                     |  25 ----
 sys-fs/owfs/owfs-3.2_p2-r2.ebuild            | 192 ---------------------------
 14 files changed, 471 deletions(-)

diff --git a/profiles/package.mask b/profiles/package.mask
index 9f4865741fa..eed0607c6c6 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -530,10 +530,8 @@ x11-misc/dsx
 #
 # net-analyzer/mk-livestatus: py3 bug #735394, build failure bug #705430
 # sci-biology/vienna-rna: py3 bug #735438, build failure bug #707158
-# sys-fs/owfs: py3 bug #735502, build failure bug #707438
 net-analyzer/mk-livestatus
 sci-biology/vienna-rna
-sys-fs/owfs
 
 # Arfrever Frehtes Taifersar Arahesis <[email protected]> (2020-09-01)
 # Mismatched version (bug #695022). Masked to force upgrade to 
2.0.4_pre20200306162733.

diff --git a/sys-fs/owfs/Manifest b/sys-fs/owfs/Manifest
deleted file mode 100644
index ead7f89981f..00000000000
--- a/sys-fs/owfs/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST owfs-3.2p2.tar.gz 1491195 BLAKE2B 
3e56b954fc61e097d6e39345d689d3ba5386f2ed4383bb7755da6a867d802fe56b9e920fe9b4f24cdd639543bad79a6d13bd549e7ce81afb8eab52372864565a
 SHA512 
d64078639ce4c1c5c42735c720cfa6741a34b91297500d6a7cff6e48a0a87b6391e43fc0c5f6bf44cec27feffb9a2f9b5510e085c602666a5adf803bb8ba3338

diff --git a/sys-fs/owfs/files/owfs-3.1-vendordir.patch 
b/sys-fs/owfs/files/owfs-3.1-vendordir.patch
deleted file mode 100644
index 2592e8ad0fd..00000000000
--- a/sys-fs/owfs/files/owfs-3.1-vendordir.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-diff --git a/module/ownet/perl5/Makefile.am b/module/ownet/perl5/Makefile.am
-index 5823f4b..cebe1e6 100644
---- a/module/ownet/perl5/Makefile.am
-+++ b/module/ownet/perl5/Makefile.am
-@@ -8,7 +8,7 @@ OWNet/Makefile: OWNet/Makefile.PL
- if HAVE_DEBIAN
-       cd OWNet; $(PERL) Makefile.PL INSTALLDIRS=vendor
- else
--      cd OWNet; $(PERL) Makefile.PL
-+      cd OWNet; $(PERL) Makefile.PL INSTALLDIRS=vendor
- endif
- 
- install-data-local: OWNet/Makefile
-diff --git a/module/swig/perl5/Makefile.am b/module/swig/perl5/Makefile.am
-index 8e5f583..49cd252 100644
---- a/module/swig/perl5/Makefile.am
-+++ b/module/swig/perl5/Makefile.am
-@@ -19,7 +19,7 @@ else
- if HAVE_DEBIAN
-       ( cd OW; $(PERL) Makefile.PL INSTALLDIRS=vendor )
- else
--      ( cd OW; $(PERL) Makefile.PL )
-+      ( cd OW; $(PERL) Makefile.PL INSTALLDIRS=vendor )
- if HAVE_FREEBSD
-       $(PERL) -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' 
OW/Makefile
- 

diff --git a/sys-fs/owfs/files/owfs-3.1p4-sysmacros.patch 
b/sys-fs/owfs/files/owfs-3.1p4-sysmacros.patch
deleted file mode 100644
index dcb67a6d19c..00000000000
--- a/sys-fs/owfs/files/owfs-3.1p4-sysmacros.patch
+++ /dev/null
@@ -1,78 +0,0 @@
-From 6565314e775232cf1682b35720b8b1b207a16f3e Mon Sep 17 00:00:00 2001
-From: Thomas Deutschmann <[email protected]>
-Date: Wed, 21 Sep 2016 15:38:52 +0200
-Subject: [PATCH] configure: Add AC_HEADER_MAJOR to find where major() is
- defined
-
-glibc currently pulls sys/sysmacros.h into sys/types.h, but this may
-change in a future release.
-
-https://sourceware.org/ml/libc-alpha/2015-11/msg00253.html
-
-Gentoo-Bug: https://bugs.gentoo.org/580922
----
- configure.ac                    | 4 +++-
- module/owlib/src/include/ow.h   | 7 +++++--
- module/ownet/c/src/include/ow.h | 8 ++++++--
- 3 files changed, 14 insertions(+), 5 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index c1e3d77..3b32fbe 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -180,10 +180,12 @@ m4_include([src/scripts/m4/acx_pthread.m4])
- # Checks for header files.
- AC_HEADER_DIRENT
- AC_HEADER_STDC
--AC_CHECK_HEADERS([asm/types.h arpa/inet.h sys/ioctl.h sys/mkdev.h 
sys/socket.h sys/time.h sys/times.h sys/types.h sys/param.h sys/uio.h 
feature_tests.h fcntl.h netinet/in.h stdlib.h string.h strings.h sys/file.h 
syslog.h termios.h unistd.h limits.h stdint.h features.h getopt.h resolv.h 
semaphore.h])
-+AC_CHECK_HEADERS([asm/types.h arpa/inet.h sys/ioctl.h sys/socket.h sys/time.h 
sys/times.h sys/types.h sys/param.h sys/uio.h feature_tests.h fcntl.h 
netinet/in.h stdlib.h string.h strings.h sys/file.h syslog.h termios.h unistd.h 
limits.h stdint.h features.h getopt.h resolv.h semaphore.h])
- AC_CHECK_HEADERS([linux/limits.h linux/types.h netdb.h dlfcn.h])
- AC_CHECK_HEADERS(sys/event.h sys/inotify.h)
- 
-+AC_HEADER_MAJOR
-+
- # Test if debugging out enabled
- ENABLE_DEBUG="true"
- AC_MSG_CHECKING([if debug-output is enabled])
-diff --git a/module/owlib/src/include/ow.h b/module/owlib/src/include/ow.h
-index 9dbec5f..2a6050d 100644
---- a/module/owlib/src/include/ow.h
-+++ b/module/owlib/src/include/ow.h
-@@ -188,9 +188,12 @@
- #include <netdb.h>                            /* for getaddrinfo */
- #endif                                                        /* HAVE_NETDB_H 
*/
- 
--#ifdef HAVE_SYS_MKDEV_H
-+#ifdef MAJOR_IN_MKDEV
- #include <sys/mkdev.h>                        /* for major() */
--#endif                                                        /* 
HAVE_SYS_MKDEV_H */
-+#endif                                                        /* 
MAJOR_IN_MKDEV */
-+#ifdef MAJOR_IN_SYSMACROS
-+#include <sys/sysmacros.h>            /* for major() */
-+#endif                                                        /* 
MAJOR_IN_MKDEV */
- 
- #include <stddef.h> // for offsetof()
- 
-diff --git a/module/ownet/c/src/include/ow.h b/module/ownet/c/src/include/ow.h
-index c157a7c..aeeba8e 100644
---- a/module/ownet/c/src/include/ow.h
-+++ b/module/ownet/c/src/include/ow.h
-@@ -118,9 +118,13 @@
- 
- #include <netdb.h>                            /* addrinfo */
- 
--#ifdef HAVE_SYS_MKDEV_H
-+#ifdef MAJOR_IN_MKDEV
- #include <sys/mkdev.h>                        /* for major() */
--#endif                                                        /* 
HAVE_SYS_MKDEV_H */
-+#endif                                                        /* 
MAJOR_IN_MKDEV */
-+#ifdef MAJOR_IN_SYSMACROS
-+#include <sys/sysmacros.h>            /* for major() */
-+#endif                                                        /* 
MAJOR_IN_MKDEV */
-+
- 
- /* Can't include search.h when compiling owperl on Fedora Core 1. */
- #ifndef SKIP_SEARCH_H
--- 
-2.10.0
-

diff --git a/sys-fs/owfs/files/owfs.confd b/sys-fs/owfs/files/owfs.confd
deleted file mode 100644
index f85d25e74f2..00000000000
--- a/sys-fs/owfs/files/owfs.confd
+++ /dev/null
@@ -1,2 +0,0 @@
-# owfs configuration
-OWFS_OPTS="-m /var/lib/owfs/mnt --allow_other -s 127.0.0.1:4304"

diff --git a/sys-fs/owfs/files/owfs.initd-r1 b/sys-fs/owfs/files/owfs.initd-r1
deleted file mode 100644
index fce0f5e52d4..00000000000
--- a/sys-fs/owfs/files/owfs.initd-r1
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License, v2 or later
-
-INSTANCE=${SVCNAME#*.}
-PROGRAM=${SVCNAME%%.*}
-PIDFILE=${PIDFILE:-/run/owfs/${PROGRAM}.pid}
-OWUID=${OWUID:-owfs}
-OWGID=${OWGID:-owfs}
-
-depend() {
-       need owserver
-       use logger
-}
-
-start_pre() {
-       checkpath -d -m 0750 -o ${OWUID}:${OWGID} "$(dirname ${PIDFILE})"
-}
-
-start() {
-       ebegin "Starting ${SVCNAME}"
-       start-stop-daemon --start --exec /usr/bin/${PROGRAM} \
-               --pidfile ${PIDFILE} --user ${OWUID}:${OWGID} -- \
-               --pid-file ${PIDFILE} \
-               --background --error_print 1 \
-               ${OWFS_OPTS:--m /var/lib/owfs/mnt --allow_other -s 
127.0.0.1:4304}
-       eend $?
-}
-
-stop() {
-       ebegin "Stopping ${SVCNAME}"
-       start-stop-daemon --stop --exec /usr/bin/${PROGRAM} \
-               --pidfile ${PIDFILE} -u ${OWUID}
-       eend $?
-}

diff --git a/sys-fs/owfs/files/owftpd.confd b/sys-fs/owfs/files/owftpd.confd
deleted file mode 100644
index fc93d2fd719..00000000000
--- a/sys-fs/owfs/files/owftpd.confd
+++ /dev/null
@@ -1,2 +0,0 @@
-# owfs owftpd configuration
-OWFTPD_OPTS="--nozero -p 127.0.0.1:4381 -s 127.0.0.1:4304 --max_clients 5 
--timeout_ftp 600"

diff --git a/sys-fs/owfs/files/owftpd.initd-r1 
b/sys-fs/owfs/files/owftpd.initd-r1
deleted file mode 100644
index 8bbf93b49dc..00000000000
--- a/sys-fs/owfs/files/owftpd.initd-r1
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License, v2 or later
-
-INSTANCE=${SVCNAME#*.}
-PROGRAM=${SVCNAME%%.*}
-PIDFILE=${PIDFILE:-/run/owfs/${PROGRAM}.pid}
-OWUID=${OWUID:-owfs}
-OWGID=${OWGID:-owfs}
-
-depend() {
-       need owserver
-       use logger
-}
-
-start_pre() {
-       checkpath -d -m 0750 -o ${OWUID}:${OWGID} "$(dirname ${PIDFILE})"
-}
-
-start() {
-       ebegin "Starting ${SVCNAME}"
-       start-stop-daemon --start --exec /usr/bin/${PROGRAM} \
-               --pidfile ${PIDFILE} --user ${OWUID}:${OWGID} -- \
-               --pid-file ${PIDFILE} \
-               --background --error_print 1 \
-               ${OWFTPD_OPTS:---nozero -p 127.0.0.1:4381 -s 127.0.0.1:4304 
--max_clients 5 --timeout_ftp 600}
-       eend $?
-}
-
-stop() {
-       ebegin "Stopping ${SVCNAME}"
-       start-stop-daemon --stop --exec /usr/bin/${PROGRAM} \
-               --pidfile ${PIDFILE} -u ${OWUID}
-       eend $?
-}

diff --git a/sys-fs/owfs/files/owhttpd.confd b/sys-fs/owfs/files/owhttpd.confd
deleted file mode 100644
index 2a5200c3111..00000000000
--- a/sys-fs/owfs/files/owhttpd.confd
+++ /dev/null
@@ -1,2 +0,0 @@
-# owfs owhttpd configuration
-OWHTTPD_OPTS="--nozero -p 127.0.0.1:4380 -s 127.0.0.1:4304"

diff --git a/sys-fs/owfs/files/owhttpd.initd-r1 
b/sys-fs/owfs/files/owhttpd.initd-r1
deleted file mode 100644
index cf3af54f50e..00000000000
--- a/sys-fs/owfs/files/owhttpd.initd-r1
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License, v2 or later
-
-INSTANCE=${SVCNAME#*.}
-PROGRAM=${SVCNAME%%.*}
-PIDFILE=${PIDFILE:-/run/owfs/${PROGRAM}.pid}
-OWUID=${OWUID:-owfs}
-OWGID=${OWGID:-owfs}
-
-depend() {
-       need owserver
-       use logger
-}
-
-start_pre() {
-       checkpath -d -m 0750 -o ${OWUID}:${OWGID} "$(dirname ${PIDFILE})"
-}
-
-start() {
-       ebegin "Starting ${SVCNAME}"
-       start-stop-daemon --start --exec /usr/bin/${PROGRAM} \
-               --pidfile ${PIDFILE} --user ${OWUID}:${OWGID} -- \
-               --pid-file ${PIDFILE} \
-               --background --error_print 1 \
-               ${OWHTTPD_OPTS:---nozero -p 127.0.0.1:4380 -s 127.0.0.1:4304}
-       eend $?
-}
-
-stop() {
-       ebegin "Stopping ${SVCNAME}"
-       start-stop-daemon --stop --exec /usr/bin/${PROGRAM} \
-               --pidfile ${PIDFILE} -u ${OWUID}
-       eend $?
-}

diff --git a/sys-fs/owfs/files/owserver.confd b/sys-fs/owfs/files/owserver.confd
deleted file mode 100644
index e764e2df10e..00000000000
--- a/sys-fs/owfs/files/owserver.confd
+++ /dev/null
@@ -1,2 +0,0 @@
-# owfs owserver configuration
-OWSERVER_OPTS="--nozero -p 127.0.0.1:4304 -d /dev/ttyS0 --timeout_volatile 5"

diff --git a/sys-fs/owfs/files/owserver.initd-r1 
b/sys-fs/owfs/files/owserver.initd-r1
deleted file mode 100644
index 88b9790882f..00000000000
--- a/sys-fs/owfs/files/owserver.initd-r1
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License, v2 or later
-
-INSTANCE=${SVCNAME#*.}
-PROGRAM=${SVCNAME%%.*}
-PIDFILE=${PIDFILE:-/run/owfs/${PROGRAM}.pid}
-OWUID=${OWUID:-owfs}
-OWGID=${OWGID:-owfs}
-
-depend() {
-       use logger
-}
-
-start_pre() {
-       checkpath -d -m 0750 -o ${OWUID}:${OWGID} "$(dirname ${PIDFILE})"
-}
-
-start() {
-       ebegin "Starting ${SVCNAME}"
-       start-stop-daemon --start --exec /usr/bin/${PROGRAM} \
-               --pidfile ${PIDFILE} --user ${OWUID}:${OWGID} -- \
-               --pid-file ${PIDFILE} \
-               --background --error_print 1 \
-               ${OWSERVER_OPTS:---nozero -p 127.0.0.1:4304 -d /dev/ttyS0}
-       eend $?
-}
-
-stop() {
-       ebegin "Stopping ${SVCNAME}"
-       start-stop-daemon --stop --exec /usr/bin/${PROGRAM} \
-               --pidfile ${PIDFILE} -u ${OWUID}
-       eend $?
-}

diff --git a/sys-fs/owfs/metadata.xml b/sys-fs/owfs/metadata.xml
deleted file mode 100644
index 3643be9f41d..00000000000
--- a/sys-fs/owfs/metadata.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
-<pkgmetadata>
-       <!-- maintainer-needed -->
-       <longdescription lang="en">
-               OWFS (One Wire File System) is an easy way to use the powerful 
1-wire system
-               of Dallas/Maxim. A simple and flexible program to monitor and 
control the
-               physical environment. You can write scripts to read 
temperature, flash
-               lights, write to an LCD, log and graph, ...
-       </longdescription>
-       <slots>
-               <subslots>Reflect ABI of libow.so.</subslots>
-       </slots>
-       <upstream>
-               <remote-id type="sourceforge">owfs</remote-id>
-       </upstream>
-       <use>
-               <flag name="ftdi">Enable support for USB FTDI chips via 
<pkg>dev-embedded/libftdi</pkg></flag>
-               <flag name="ftpd">Enable building the OWFS FTP server 
(owftpd)</flag>
-               <flag name="fuse">Enable building the FUSE-based OWFS client 
(owfs)</flag>
-               <flag name="httpd">Enable building the OWFS web server 
(owhttpd)</flag>
-               <flag name="parport">Enable support for the DS1410E parallel 
port adapter</flag>
-               <flag name="zeroconf">Enables support for zero-configuration 
networking via <pkg>net-dns/avahi</pkg></flag>
-       </use>
-</pkgmetadata>

diff --git a/sys-fs/owfs/owfs-3.2_p2-r2.ebuild 
b/sys-fs/owfs/owfs-3.2_p2-r2.ebuild
deleted file mode 100644
index 49482396596..00000000000
--- a/sys-fs/owfs/owfs-3.2_p2-r2.ebuild
+++ /dev/null
@@ -1,192 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 )
-DISTUTILS_OPTIONAL=1
-
-inherit autotools distutils-r1 linux-info perl-functions systemd user
-
-MY_P="${P/_/}"
-
-DESCRIPTION="Access 1-Wire devices like a filesystem"
-SRC_URI="mirror://sourceforge/owfs/${MY_P}.tar.gz"
-HOMEPAGE="https://owfs.org/ https://sourceforge.net/projects/owfs/";
-KEYWORDS="amd64 arm x86"
-
-# Upstream uses crazy SONAME, 
https://github.com/owfs/owfs/commit/c696fa9b9b44f49c96b9f1c2b3159d277e0c1273
-SLOT="0/${PV}"
-LICENSE="GPL-2"
-
-IUSE="debug ftdi ftpd fuse httpd parport perl python tcl usb zeroconf"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="
-       ftdi? ( dev-embedded/libftdi:0 )
-       fuse? ( sys-fs/fuse:0= )
-       perl? ( dev-lang/perl:= )
-       parport? ( sys-kernel/linux-headers )
-       python? ( ${PYTHON_DEPS} )
-       tcl? ( dev-lang/tcl:0= )
-       usb? ( virtual/libusb:0 )
-       zeroconf? ( net-dns/avahi[mdnsresponder-compat] )
-"
-
-DEPEND="${RDEPEND}
-       perl? ( dev-lang/swig )
-       python? ( dev-lang/swig )
-"
-
-PATCHES=(
-       "${FILESDIR}"/${PN}-3.1-vendordir.patch
-       "${FILESDIR}"/${PN}-3.1p4-sysmacros.patch
-)
-
-S="${WORKDIR}/${MY_P}"
-
-OWUID="${OWUID:-owfs}"
-OWGID="${OWGID:-owfs}"
-
-pkg_setup() {
-       if use kernel_linux; then
-               linux-info_pkg_setup
-
-               if linux_config_exists; then
-                       if ! linux_chkconfig_present W1; then
-                               ewarn "CONFIG_W1 isn't set. You will not be 
able to use 1-wire bus on this system!"
-                       fi
-               else
-                       elog "Cannot find a linux kernel configuration. 
Continuing anyway."
-               fi
-       fi
-
-       use perl && perl_set_version
-
-       enewgroup ${OWGID} 150
-       enewuser  ${OWUID} 150 -1 -1 ${OWGID}
-}
-
-src_prepare() {
-       default
-
-       # Support user's CFLAGS and LDFLAGS.
-       sed -i "s/@CPPFLAGS@/@CPPFLAGS@ ${CFLAGS}/" \
-               module/swig/perl5/OW/Makefile.linux.in || die
-       sed -i "s/@LIBS@/@LIBS@ ${LDFLAGS}/" \
-               module/swig/perl5/OW/Makefile.linux.in || die
-
-       eautoreconf
-}
-
-src_configure() {
-       # disable owpython since we can build python anyway
-       # and without it, we don't have to fix the build ;)
-       # disable owphp because it is not compatible with PHP-7, bug #651106
-       local myeconf=(
-               $(use_enable debug)
-               $(use_enable fuse owfs)
-               $(use_enable ftdi)
-               $(use_enable ftpd owftpd)
-               $(use_enable httpd owhttpd)
-               $(use_enable parport)
-               $(use_enable perl owperl)
-               --disable-owphp
-               --disable-owpython
-               $(use_enable tcl owtcl)
-               $(use_enable zeroconf avahi)
-               $(use_enable zeroconf zero)
-               $(use_enable usb)
-               --with-systemdsystemunitdir=$(systemd_get_systemunitdir)
-       )
-
-       if use httpd || use ftpd || use fuse; then
-               myeconf+=( --enable-owserver )
-       else
-               myeconf+=( --disable-owserver )
-       fi
-
-       econf ${myeconf[@]}
-}
-
-src_compile() {
-       default
-
-       if use python; then
-               local CFLAGS="${CFLAGS} -fno-strict-aliasing"
-
-               pushd module/ownet/python > /dev/null || die
-               distutils-r1_src_compile
-               popd > /dev/null || die
-
-               pushd module/swig/python > /dev/null || die
-               emake ow_wrap.c
-               distutils-r1_src_compile
-               popd > /dev/null || die
-       fi
-}
-
-src_test() { :; }
-
-src_install() {
-       default
-
-       if use httpd || use ftpd || use fuse; then
-               newinitd "${FILESDIR}"/owserver.initd-r1 owserver
-               newconfd "${FILESDIR}"/owserver.confd owserver
-
-               for i in httpd ftpd; do
-                       if use ${i}; then
-                               newinitd "${FILESDIR}"/ow${i}.initd-r1 ow${i}
-                               newconfd "${FILESDIR}"/ow${i}.confd ow${i}
-                       fi
-               done
-
-               if use fuse; then
-                       dodir /var/lib/owfs
-                       dodir /var/lib/owfs/mnt
-                       newinitd "${FILESDIR}"/owfs.initd-r1 owfs
-                       newconfd "${FILESDIR}"/owfs.confd owfs
-               fi
-       fi
-
-       use perl && perl_delete_localpod
-
-       if use python; then
-               pushd module/ownet/python > /dev/null || die
-               distutils-r1_src_install
-               popd > /dev/null || die
-
-               pushd module/swig/python > /dev/null || die
-               distutils-r1_src_install
-               popd > /dev/null || die
-       fi
-
-       find "${D}" -name '*.la' -delete || die
-}
-
-pkg_postinst() {
-       if use httpd || use ftpd || use fuse; then
-               echo
-               if [[ ${OWUID} != root ]]; then
-                       ewarn
-                       ewarn "In order to allow the OWFS daemon user 
'${OWUID}' to read"
-                       ewarn "from and/or write to a 1 wire bus controller 
device, make"
-                       ewarn "sure the user has appropriate permission to 
access the"
-                       ewarn "corresponding device node/path (e.g. 
/dev/ttyS0), for example"
-                       ewarn "by adding the user to the group 'uucp' (for 
serial devices)"
-                       ewarn "or 'usb' (for USB devices accessed via usbfs on 
/proc/bus/usb),"
-                       ewarn "or install an appropriate UDEV rules (see 
http://owfs.org/index.php?page=udev-and-usb";
-                       ewarn "for more information)."
-                       ewarn
-                       if use fuse; then
-                               ewarn "In order to allow regular users to read 
from and/or write to"
-                               ewarn "1 wire bus devices accessible via the 
owfs FUSE filesystem"
-                               ewarn "client and its filesystem mountpoint, 
make sure the user is"
-                               ewarn "a member of the group '${OWGID}'."
-                               ewarn
-                       fi
-                       echo
-               fi
-       fi
-}

Reply via email to