From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-block/scsiadd/
Date: Tue, 23 Apr 2019 08:51:37 +0000 (UTC) [thread overview]
Message-ID: <1556009468.8b48d1017d08f93b99b60c8872edd618435af7ba.soap@gentoo> (raw)
commit: 8b48d1017d08f93b99b60c8872edd618435af7ba
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Mon Apr 22 11:31:50 2019 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> 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 <m.mairkeimberger <AT> gmail.com>
Signed-off-by: David Seifert <soap <AT> 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
-}
next reply other threads:[~2019-04-23 8:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-23 8:51 David Seifert [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-04-10 20:58 [gentoo-commits] repo/gentoo:master commit in: sys-block/scsiadd/ Conrad Kostecki
2021-04-10 20:58 Conrad Kostecki
2019-03-09 21:02 Patrice Clement
2019-03-09 21:02 Patrice Clement
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1556009468.8b48d1017d08f93b99b60c8872edd618435af7ba.soap@gentoo \
--to=soap@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox