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 0B9AA13835A for ; Fri, 26 Mar 2021 19:46:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 36444E0870; Fri, 26 Mar 2021 19:46:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 1BCF4E0870 for ; Fri, 26 Mar 2021 19:46:06 +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 56E1E340E62 for ; Fri, 26 Mar 2021 19:46:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9AA7863A for ; Fri, 26 Mar 2021 19:46:01 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1616787921.a780f9843d792df707ec60c3b75b75446c1f1131.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/qcontrol/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/qcontrol/qcontrol-0.4.2-r1.ebuild X-VCS-Directories: sys-apps/qcontrol/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: a780f9843d792df707ec60c3b75b75446c1f1131 X-VCS-Branch: master Date: Fri, 26 Mar 2021 19:46:01 +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: b09b3c3b-d4fd-4c5a-9fa5-5cbcd07fd0db X-Archives-Hash: bdf211d79a37307b1e5c05c1aae80bab commit: a780f9843d792df707ec60c3b75b75446c1f1131 Author: Conrad Kostecki gentoo org> AuthorDate: Fri Mar 26 19:00:58 2021 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Fri Mar 26 19:45:21 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a780f984 sys-apps/qcontrol: drop old version Dropping old version, which does not support slotted lua. Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Conrad Kostecki gentoo.org> sys-apps/qcontrol/qcontrol-0.4.2-r1.ebuild | 61 ------------------------------ 1 file changed, 61 deletions(-) diff --git a/sys-apps/qcontrol/qcontrol-0.4.2-r1.ebuild b/sys-apps/qcontrol/qcontrol-0.4.2-r1.ebuild deleted file mode 100644 index 3449c7a5c7a..00000000000 --- a/sys-apps/qcontrol/qcontrol-0.4.2-r1.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-funcs - -DESCRIPTION="Send commands to some microcontrollers, e.g., to change LEDs or sound a buzzer" -HOMEPAGE="http://qnap.nas-central.org/index.php/PIC_Control_Software" -SRC_URI="mirror://debian/pool/main/q/qcontrol/${P/-/_}.orig.tar.gz - mirror://debian/pool/main/q/qcontrol/${P/-/_}-6.diff.gz" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="arm" -IUSE="" - -DEPEND=">=dev-lang/lua-5.1:0=" -RDEPEND="${DEPEND}" - -src_prepare() { - default - - eapply "${WORKDIR}"/*.diff - eapply debian/patches/*.patch - eapply "${FILESDIR}"/${PV}-Makefile.patch - - sed -i -e "s/LDFLAGS=/LDFLAGS ?=/" Makefile || die -} - -src_compile() { - emake CC="$(tc-getCC)" LDFLAGS="-llua -lpthread ${LDFLAGS}" qcontrol -} - -src_install() { - dosbin qcontrol - doman debian/qcontrol.1 - - insinto /etc/qcontrol - doins debian/configs/*.lua - - newconfd "${FILESDIR}"/conf.d qcontrol - newinitd "${FILESDIR}"/init.d qcontrol -} - -pkg_preinst() { - device=$(grep "Hardware[[:space:]]*:" /proc/cpuinfo 2>/dev/null | \ - head -n1 | sed "s/^[^:]*: //") - case ${device} in - "QNAP TS-109/TS-209") - dosym qcontrol/ts209.lua /etc/qcontrol.conf ;; - "QNAP TS-119/TS-219") - dosym qcontrol/ts219.lua /etc/qcontrol.conf ;; - "QNAP TS-409") - dosym qcontrol/ts409.lua /etc/qcontrol.conf ;; - "QNAP TS-41x") - dosym qcontrol/ts41x.lua /etc/qcontrol.conf ;; - *) - ewarn "Your device is unsupported" ;; - esac -}