summaryrefslogtreecommitdiff
path: root/sys-block/scsiadd
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-04-28 09:54:45 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-04-28 09:54:45 +0100
commitb7ebc951da8800f711142f69d9d958bde67a112d (patch)
treee318514216845acb8f2e49fff7a5cba4027e9d91 /sys-block/scsiadd
parentdc7cbdfa65fd814b3b9aa3c56257da201109e807 (diff)
gentoo resync : 28.04.2019
Diffstat (limited to 'sys-block/scsiadd')
-rw-r--r--sys-block/scsiadd/Manifest1
-rw-r--r--sys-block/scsiadd/scsiadd-1.97.ebuild59
2 files changed, 0 insertions, 60 deletions
diff --git a/sys-block/scsiadd/Manifest b/sys-block/scsiadd/Manifest
index 56ed9443d1cf..bd17a7f64035 100644
--- a/sys-block/scsiadd/Manifest
+++ b/sys-block/scsiadd/Manifest
@@ -1,4 +1,3 @@
DIST scsiadd-1.97.tar.gz 43574 BLAKE2B 13f0875165f7d5ea2c87e4931d0d09104a971eaa126969ee5274ade5b337d2ba3edd920293ae2cc962fb841c0449523f68b4ce6b467835a1797174fe30b2eaa9 SHA512 16ffd700d09b27d50f2cb04ba913eb6c4e7f40779ff8037ef1bb24cc593ddb4465733006449c903f6b0f31e0fb8c14e043fba70ed98975f8e07751e0316faa7b
EBUILD scsiadd-1.97-r1.ebuild 1299 BLAKE2B bac52ca0c2e8c7401ec326a81155cf00004d1a95e27c10ef6bb5e05c6d8f8b270ada6e3893d7815ab440fb0ef2799d81e75d1292186bc208e4d106bfe18f32fb SHA512 3fceb5c5c7e93ca98ab1059ef4dc8db6581aa612e81cd9a73bb895b58d1f3a00528ab4cfb61f88346b380a1a89a9025174fa1e3cbc57760992d6adc8ecec7fb2
-EBUILD scsiadd-1.97.ebuild 1328 BLAKE2B f3b4005c645f51da4801e78dd8fd9e1a4d4fd6a130f27fe0b18acc5aa97a33b8f99e0514ce35ac6bf3ae92530eeaacbaf1bf49856f3564271b981e7e1f5990e2 SHA512 6ccb7a8bc03924f7bbaa7d7bcf6a390b0673623beb2076314eba983a2c1645a90322d59b320f95eaef7f1d54a106cd0ee58f2dc34dda0ad8cdae0d68c31a83e0
MISC metadata.xml 374 BLAKE2B 7edbe16375cf5b8401055290ccc1711f8d7b616a13b9c2952fbf45925e0939602c41259b58126fd8bf2ec7b6f1558a54881543033d03a0d2eeba62e41612a4b8 SHA512 a24d00fd29179c54fc61081c35898e7414af891b3b25cbf0d9bbf0a15a8dd030672995488181f48886fa41b28debcf8735c6363300c8658094efbba497648ebb
diff --git a/sys-block/scsiadd/scsiadd-1.97.ebuild b/sys-block/scsiadd/scsiadd-1.97.ebuild
deleted file mode 100644
index 0ba638443227..000000000000
--- 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
-}