From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7E17A138335 for ; Fri, 22 Feb 2019 09:36:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 74686E0839; Fri, 22 Feb 2019 09:36:56 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 315FEE0839 for ; Fri, 22 Feb 2019 09:36:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B8AFC335D87 for ; Fri, 22 Feb 2019 09:36:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 61D0554A for ; Fri, 22 Feb 2019 09:36:53 +0000 (UTC) From: "Mikle Kolyada" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mikle Kolyada" Message-ID: <1550828198.bd862a14f16873ba4d1f46392a9933a0f2f93b4e.zlogene@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/owfs/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-fs/owfs/owfs-3.2_p2-r1.ebuild X-VCS-Directories: sys-fs/owfs/ X-VCS-Committer: zlogene X-VCS-Committer-Name: Mikle Kolyada X-VCS-Revision: bd862a14f16873ba4d1f46392a9933a0f2f93b4e X-VCS-Branch: master Date: Fri, 22 Feb 2019 09:36:53 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 677e89a3-a687-4d18-9f59-73d84ec6e040 X-Archives-Hash: 1f879eccb70a27c9db381848d692f21a commit: bd862a14f16873ba4d1f46392a9933a0f2f93b4e Author: Mikle Kolyada gentoo org> AuthorDate: Fri Feb 22 09:36:38 2019 +0000 Commit: Mikle Kolyada gentoo org> CommitDate: Fri Feb 22 09:36:38 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd862a14 sys-fs/owfs: Drop old Signed-off-by: Mikle Kolyada gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 sys-fs/owfs/owfs-3.2_p2-r1.ebuild | 191 -------------------------------------- 1 file changed, 191 deletions(-) diff --git a/sys-fs/owfs/owfs-3.2_p2-r1.ebuild b/sys-fs/owfs/owfs-3.2_p2-r1.ebuild deleted file mode 100644 index c795ca7df49..00000000000 --- a/sys-fs/owfs/owfs-3.2_p2-r1.ebuild +++ /dev/null @@ -1,191 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 ) -DISTUTILS_OPTIONAL=1 - -inherit autotools distutils-r1 ltprune 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="http://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" - -RDEPEND=" - ftdi? ( dev-embedded/libftdi:0 ) - fuse? ( sys-fs/fuse:0= ) - perl? ( dev-lang/perl:= ) - parport? ( sys-kernel/linux-headers ) - php? ( dev-lang/php:=[cli] ) - python? ( ${PYTHON_DEPS} ) - tcl? ( dev-lang/tcl:0= ) - usb? ( virtual/libusb:0 ) - zeroconf? ( net-dns/avahi[mdnsresponder-compat] )" - -DEPEND="${RDEPEND} - perl? ( dev-lang/swig ) - php? ( dev-lang/swig ) - python? ( dev-lang/swig )" - -IUSE="debug ftdi ftpd fuse httpd parport perl php python tcl usb zeroconf" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -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 ;) - 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) - $(use_enable php 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 - - prune_libtool_files -} - -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 -}