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 D8F67138336 for ; Tue, 23 Apr 2019 08:51:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9B56EE09B0; Tue, 23 Apr 2019 08:51:41 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 83714E09B0 for ; Tue, 23 Apr 2019 08:51:40 +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 C6D48341CAA for ; Tue, 23 Apr 2019 08:51:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3BA7A5C3 for ; Tue, 23 Apr 2019 08:51:37 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1556009468.8b48d1017d08f93b99b60c8872edd618435af7ba.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-block/scsiadd/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-block/scsiadd/scsiadd-1.97.ebuild X-VCS-Directories: sys-block/scsiadd/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 8b48d1017d08f93b99b60c8872edd618435af7ba X-VCS-Branch: master Date: Tue, 23 Apr 2019 08:51:37 +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: 4c0a1fbc-c09b-4af0-8be9-1a06557989d9 X-Archives-Hash: 33479399010abd9fbd55e610123f8e8f commit: 8b48d1017d08f93b99b60c8872edd618435af7ba Author: Michael Mair-Keimberger gmail com> AuthorDate: Mon Apr 22 11:31:50 2019 +0000 Commit: David Seifert gentoo org> CommitDate: Tue Apr 23 08:51:08 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b48d101 sys-block/scsiadd: drop old (EAPI2) Signed-off-by: Michael Mair-Keimberger gmail.com> Signed-off-by: David Seifert gentoo.org> sys-block/scsiadd/scsiadd-1.97.ebuild | 59 ----------------------------------- 1 file changed, 59 deletions(-) diff --git a/sys-block/scsiadd/scsiadd-1.97.ebuild b/sys-block/scsiadd/scsiadd-1.97.ebuild deleted file mode 100644 index 0ba63844322..00000000000 --- a/sys-block/scsiadd/scsiadd-1.97.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="2" - -inherit user toolchain-funcs flag-o-matic - -DESCRIPTION="Add and remove SCSI devices from your Linux system during runtime" -HOMEPAGE="https://llg.cubic.org/tools/" -SRC_URI="https://llg.cubic.org/tools/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="suid" -DEPEND="" - -pkg_setup() { - use suid && enewgroup scsi -} - -src_prepare() { - # remove 'strip' command - sed -i -e "s:^\(.*strip.*\):#\1:g" Makefile.in - - # convert docs to utf-8 - if [ -x "$(type -p iconv)" ]; then - for X in NEWS README; do - iconv -f LATIN1 -t UTF8 -o "${X}~" "${X}" && mv -f "${X}~" "${X}" || rm -f "${X}~" - done - fi -} - -src_compile() { - # extra safety for suid - append-ldflags -Wl,-z,now - - emake CC="$(tc-getCC)" || die "emake failed" -} - -src_install() { - dosbin scsiadd || die "install failed" - if use suid; then - fowners root:scsi /usr/sbin/scsiadd - fperms 4710 /usr/sbin/scsiadd - fi - dodoc NEWS README TODO - doman scsiadd.8 -} - -pkg_postinst() { - if use suid; then - ewarn - ewarn "You have chosen to install ${PN} with the binary setuid root. This" - ewarn "means that if there any undetected vulnerabilities in the binary," - ewarn "then local users may be able to gain root access on your machine." - ewarn - fi -}