diff options
author | Stefan Briesenick <sbriesen@gentoo.org> | 2009-12-04 21:05:48 +0000 |
---|---|---|
committer | Stefan Briesenick <sbriesen@gentoo.org> | 2009-12-04 21:05:48 +0000 |
commit | d85b084cc2b9e1149cbbfde0bbe4f950c69641a2 (patch) | |
tree | 8c3d1bd8c0daf3ce1e0e905e11258b28398510d6 /sys-block | |
parent | Add -j1 to build, see bug #295724. (diff) | |
download | historical-d85b084cc2b9e1149cbbfde0bbe4f950c69641a2.tar.gz historical-d85b084cc2b9e1149cbbfde0bbe4f950c69641a2.tar.bz2 historical-d85b084cc2b9e1149cbbfde0bbe4f950c69641a2.zip |
version bump + amd64 keyworded.
Package-Manager: portage-2.2_rc55/cvs/Linux x86_64
Diffstat (limited to 'sys-block')
-rw-r--r-- | sys-block/scsiadd/ChangeLog | 9 | ||||
-rw-r--r-- | sys-block/scsiadd/Manifest | 4 | ||||
-rw-r--r-- | sys-block/scsiadd/scsiadd-1.97.ebuild | 61 |
3 files changed, 71 insertions, 3 deletions
diff --git a/sys-block/scsiadd/ChangeLog b/sys-block/scsiadd/ChangeLog index 5cf4691686c5..3c0af00778d7 100644 --- a/sys-block/scsiadd/ChangeLog +++ b/sys-block/scsiadd/ChangeLog @@ -1,6 +1,11 @@ # 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 $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-block/scsiadd/ChangeLog,v 1.2 2009/12/04 21:05:48 sbriesen Exp $ + +*scsiadd-1.97 (04 Dec 2009) + + 04 Dec 2009; Stefan Briesenick <sbriesen@gentoo.org> +scsiadd-1.97.ebuild: + version bump + amd64 keyworded. *scsiadd-1.95 (16 May 2007) diff --git a/sys-block/scsiadd/Manifest b/sys-block/scsiadd/Manifest index 634ed94781fe..bbd47fef6377 100644 --- a/sys-block/scsiadd/Manifest +++ b/sys-block/scsiadd/Manifest @@ -1,4 +1,6 @@ DIST scsiadd-1.95.tar.gz 38588 RMD160 a36d91227c5dd8cddb0e79d32cd7985c78a4e97e SHA1 6ab486134c51178ff00c42706e3daae4815f0221 SHA256 eb0091cd57aa8378f73194c55560deefc345fb3ace3a1335a9308e71204bfd81 +DIST scsiadd-1.97.tar.gz 43574 RMD160 26a7c1c908b0807129a39a38bda41d2a12e4601b SHA1 f815e199c7e58d61cc763d1b091f1b057c36a022 SHA256 7edbb0b2c9f0705b7ede7423f2e76bcf24ec533bdf7ea522b6495989e6c41cf1 EBUILD scsiadd-1.95.ebuild 1295 RMD160 730108faa01151e2c30556e9d7936a1e859f6ce6 SHA1 da26fa2682ef8d0699555b73d9f2ae93d7f74018 SHA256 4e188bb36568786804192e998f083d58114cd1ac0272bf028984bbfe3e9e0361 -MISC ChangeLog 351 RMD160 d6d4c045d938690fc593f39aee32afb2321a0c0f SHA1 e74afda86e651924f25c48d46876a475d45ef9f6 SHA256 3239df681608651f89f081681e89c65b72034c34789c1b1af0a48e962b3352d0 +EBUILD scsiadd-1.97.ebuild 1474 RMD160 3a7f3937a7a3dd0942ca3fdcad46fc7216bfbb86 SHA1 8bed15cfac82304af610a6bd0cf1b47dd328de9e SHA256 1fb4c8b328221c118a3d68ca8d9572f4dfdcd805763586563c39b98c4f824a7b +MISC ChangeLog 492 RMD160 047124ce0e19cea90b683a92629bc7be26cf9988 SHA1 2f1b09ff8fda608f577dcc6c342057b46a52daf7 SHA256 19e1ec9349f324fc3b0b7a6683f863bf32419ba3c1edb61d2d72a1b01ae571d7 MISC metadata.xml 467 RMD160 720a8019de098b551f500705b522104cdd086d7a SHA1 e6fc2b2b57666382d4d069c8153d2f7c2806c35d SHA256 454e965d7d6b715b1902b33b65687c2fb48518c9e099323d53980ed0423c6469 diff --git a/sys-block/scsiadd/scsiadd-1.97.ebuild b/sys-block/scsiadd/scsiadd-1.97.ebuild new file mode 100644 index 000000000000..4b1bf8681b16 --- /dev/null +++ b/sys-block/scsiadd/scsiadd-1.97.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-block/scsiadd/scsiadd-1.97.ebuild,v 1.1 2009/12/04 21:05:48 sbriesen Exp $ + +EAPI="2" + +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="~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 + + 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 +} |