summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Briesenick <sbriesen@gentoo.org>2007-05-16 21:57:51 +0000
committerStefan Briesenick <sbriesen@gentoo.org>2007-05-16 21:57:51 +0000
commite411fa05b76d886c7f3a5ec83c1ace256fcc8532 (patch)
tree04829202af059baec3aa12404b7cf9de02a02e3c /sys-block/scsiadd
parentsys-block/scsiadd:suid (diff)
downloadhistorical-e411fa05b76d886c7f3a5ec83c1ace256fcc8532.tar.gz
historical-e411fa05b76d886c7f3a5ec83c1ace256fcc8532.tar.bz2
historical-e411fa05b76d886c7f3a5ec83c1ace256fcc8532.zip
initial commit.
Package-Manager: portage-2.1.2.7
Diffstat (limited to 'sys-block/scsiadd')
-rw-r--r--sys-block/scsiadd/ChangeLog10
-rw-r--r--sys-block/scsiadd/Manifest16
-rw-r--r--sys-block/scsiadd/files/digest-scsiadd-1.953
-rw-r--r--sys-block/scsiadd/metadata.xml14
-rw-r--r--sys-block/scsiadd/scsiadd-1.95.ebuild55
5 files changed, 98 insertions, 0 deletions
diff --git a/sys-block/scsiadd/ChangeLog b/sys-block/scsiadd/ChangeLog
new file mode 100644
index 000000000000..5cf4691686c5
--- /dev/null
+++ b/sys-block/scsiadd/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sys-block/scsiadd
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-block/scsiadd/ChangeLog,v 1.1 2007/05/16 21:57:51 sbriesen Exp $
+
+*scsiadd-1.95 (16 May 2007)
+
+ 16 May 2007; Stefan Briesenick <sbriesen@gentoo.org> +metadata.xml,
+ +scsiadd-1.95.ebuild:
+ initial commit.
+
diff --git a/sys-block/scsiadd/Manifest b/sys-block/scsiadd/Manifest
new file mode 100644
index 000000000000..2f9cec4abc74
--- /dev/null
+++ b/sys-block/scsiadd/Manifest
@@ -0,0 +1,16 @@
+DIST scsiadd-1.95.tar.gz 38588 RMD160 a36d91227c5dd8cddb0e79d32cd7985c78a4e97e SHA1 6ab486134c51178ff00c42706e3daae4815f0221 SHA256 eb0091cd57aa8378f73194c55560deefc345fb3ace3a1335a9308e71204bfd81
+EBUILD scsiadd-1.95.ebuild 1295 RMD160 730108faa01151e2c30556e9d7936a1e859f6ce6 SHA1 da26fa2682ef8d0699555b73d9f2ae93d7f74018 SHA256 4e188bb36568786804192e998f083d58114cd1ac0272bf028984bbfe3e9e0361
+MD5 b1378f41b6e87731962f43776ce80355 scsiadd-1.95.ebuild 1295
+RMD160 730108faa01151e2c30556e9d7936a1e859f6ce6 scsiadd-1.95.ebuild 1295
+SHA256 4e188bb36568786804192e998f083d58114cd1ac0272bf028984bbfe3e9e0361 scsiadd-1.95.ebuild 1295
+MISC ChangeLog 351 RMD160 d6d4c045d938690fc593f39aee32afb2321a0c0f SHA1 e74afda86e651924f25c48d46876a475d45ef9f6 SHA256 3239df681608651f89f081681e89c65b72034c34789c1b1af0a48e962b3352d0
+MD5 6e5423cf399718d8a04ec26ec1cab107 ChangeLog 351
+RMD160 d6d4c045d938690fc593f39aee32afb2321a0c0f ChangeLog 351
+SHA256 3239df681608651f89f081681e89c65b72034c34789c1b1af0a48e962b3352d0 ChangeLog 351
+MISC metadata.xml 467 RMD160 720a8019de098b551f500705b522104cdd086d7a SHA1 e6fc2b2b57666382d4d069c8153d2f7c2806c35d SHA256 454e965d7d6b715b1902b33b65687c2fb48518c9e099323d53980ed0423c6469
+MD5 5f3638084ffa14f8fbfea11bef3be566 metadata.xml 467
+RMD160 720a8019de098b551f500705b522104cdd086d7a metadata.xml 467
+SHA256 454e965d7d6b715b1902b33b65687c2fb48518c9e099323d53980ed0423c6469 metadata.xml 467
+MD5 98e2b3a79131fd06ad9465b02bf9679e files/digest-scsiadd-1.95 235
+RMD160 f5797c56dc5ac55f3021ad9d749d50398567da86 files/digest-scsiadd-1.95 235
+SHA256 46043524c81018a3e4aedd902107e43d396fbff676b7fe026696c7a5d7a6805d files/digest-scsiadd-1.95 235
diff --git a/sys-block/scsiadd/files/digest-scsiadd-1.95 b/sys-block/scsiadd/files/digest-scsiadd-1.95
new file mode 100644
index 000000000000..47eb2bd90950
--- /dev/null
+++ b/sys-block/scsiadd/files/digest-scsiadd-1.95
@@ -0,0 +1,3 @@
+MD5 a4a0879e8d44e981875ef99edfc62b8e scsiadd-1.95.tar.gz 38588
+RMD160 a36d91227c5dd8cddb0e79d32cd7985c78a4e97e scsiadd-1.95.tar.gz 38588
+SHA256 eb0091cd57aa8378f73194c55560deefc345fb3ace3a1335a9308e71204bfd81 scsiadd-1.95.tar.gz 38588
diff --git a/sys-block/scsiadd/metadata.xml b/sys-block/scsiadd/metadata.xml
new file mode 100644
index 000000000000..ef32c22a953d
--- /dev/null
+++ b/sys-block/scsiadd/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>sbriesen@gentoo.org</email>
+ <name>Stefan Briesenick</name>
+ </maintainer>
+ <longdescription lang="en">
+ Add and remove SCSI devices from your Linux system during runtime.
+ No need to reboot your system, just because you have switched on
+ an external device.
+ </longdescription>
+</pkgmetadata>
diff --git a/sys-block/scsiadd/scsiadd-1.95.ebuild b/sys-block/scsiadd/scsiadd-1.95.ebuild
new file mode 100644
index 000000000000..d78784af9e4a
--- /dev/null
+++ b/sys-block/scsiadd/scsiadd-1.95.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-block/scsiadd/scsiadd-1.95.ebuild,v 1.1 2007/05/16 21:57:51 sbriesen Exp $
+
+inherit eutils toolchain-funcs flag-o-matic
+
+DESCRIPTION="Add and remove SCSI devices from your Linux system during runtime"
+HOMEPAGE="http://llg.cubic.org/tools/"
+SRC_URI="http://llg.cubic.org/tools/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="suid"
+DEPEND=""
+
+pkg_setup() {
+ use suid && enewgroup scsi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # remove 'strip' command
+ sed -i -e "s:^\(.*strip.*\):#\1:g" Makefile.in
+}
+
+src_compile() {
+ # extra safety for suid
+ append-ldflags -Wl,-z,now
+
+ econf || die "econf failed"
+ 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
+}