diff options
author | Stefan Briesenick <sbriesen@gentoo.org> | 2007-05-16 21:57:51 +0000 |
---|---|---|
committer | Stefan Briesenick <sbriesen@gentoo.org> | 2007-05-16 21:57:51 +0000 |
commit | 4503636fb05fb0b665fd8c023a61376678631377 (patch) | |
tree | c8e3d906c61b4e7cbf0060a7f5f7acecd37416c7 | |
parent | sys-block/scsiadd:suid (diff) | |
download | gentoo-2-4503636fb05fb0b665fd8c023a61376678631377.tar.gz gentoo-2-4503636fb05fb0b665fd8c023a61376678631377.tar.bz2 gentoo-2-4503636fb05fb0b665fd8c023a61376678631377.zip |
initial commit.
(Portage version: 2.1.2.7)
-rw-r--r-- | sys-block/scsiadd/ChangeLog | 10 | ||||
-rw-r--r-- | sys-block/scsiadd/Manifest | 16 | ||||
-rw-r--r-- | sys-block/scsiadd/files/digest-scsiadd-1.95 | 3 | ||||
-rw-r--r-- | sys-block/scsiadd/metadata.xml | 14 | ||||
-rw-r--r-- | sys-block/scsiadd/scsiadd-1.95.ebuild | 55 |
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..f021379bcb5f --- /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 1194 RMD160 0342e5d7ca6492c1ccabc96cddddffa3cf2049a7 SHA1 3fb234c439fb399c132a99e98c5392ddc72d8ef3 SHA256 4c8f16fe953a295b265281048d9e6373a43914ba883909116b1c984b779fd193 +MD5 9ca24f4df214128ad38bcb5b0a68da20 scsiadd-1.95.ebuild 1194 +RMD160 0342e5d7ca6492c1ccabc96cddddffa3cf2049a7 scsiadd-1.95.ebuild 1194 +SHA256 4c8f16fe953a295b265281048d9e6373a43914ba883909116b1c984b779fd193 scsiadd-1.95.ebuild 1194 +MISC ChangeLog 260 RMD160 f2a3a22c6d3b3899e6ba1f30eeb8233676d3a6c8 SHA1 a147188d479bc0b7635b04433879e14e52ad4a63 SHA256 b4c7b4681d26bf92aec45dad7ac1522d740d1305371022ba018f4174106f8e4c +MD5 41bfa3938ce7d2ec223be9c617aa2cba ChangeLog 260 +RMD160 f2a3a22c6d3b3899e6ba1f30eeb8233676d3a6c8 ChangeLog 260 +SHA256 b4c7b4681d26bf92aec45dad7ac1522d740d1305371022ba018f4174106f8e4c ChangeLog 260 +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 +} |