summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-05-22 23:35:18 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-05-22 23:35:18 +0000
commita41311b0c6d4a43f4edaaa8681a303f625574230 (patch)
tree7376665332815f683730354edb1bf25128a87f5b /sys-block/eject-bsd
parentFix duplication of dnstouch, and move binaries to bin, as they are suitable f... (diff)
downloadgentoo-2-a41311b0c6d4a43f4edaaa8681a303f625574230.tar.gz
gentoo-2-a41311b0c6d4a43f4edaaa8681a303f625574230.tar.bz2
gentoo-2-a41311b0c6d4a43f4edaaa8681a303f625574230.zip
Initial import from gentoo-alt overlay.
(Portage version: 2.1_rc2)
Diffstat (limited to 'sys-block/eject-bsd')
-rw-r--r--sys-block/eject-bsd/ChangeLog11
-rw-r--r--sys-block/eject-bsd/Manifest24
-rw-r--r--sys-block/eject-bsd/eject-bsd-1.5.ebuild44
-rw-r--r--sys-block/eject-bsd/files/digest-eject-bsd-1.53
-rw-r--r--sys-block/eject-bsd/files/eject-bsd-1.5-devname.patch11
-rw-r--r--sys-block/eject-bsd/files/eject-bsd-1.5-manpage.patch11
-rw-r--r--sys-block/eject-bsd/metadata.xml5
7 files changed, 109 insertions, 0 deletions
diff --git a/sys-block/eject-bsd/ChangeLog b/sys-block/eject-bsd/ChangeLog
new file mode 100644
index 000000000000..b2a24271bb1b
--- /dev/null
+++ b/sys-block/eject-bsd/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for sys-block/eject-bsd
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-block/eject-bsd/ChangeLog,v 1.1 2006/05/22 23:35:18 flameeyes Exp $
+
+*eject-bsd-1.5 (22 May 2006)
+
+ 22 May 2006; Diego Pettenò <flameeyes@gentoo.org>
+ +files/eject-bsd-1.5-devname.patch, +files/eject-bsd-1.5-manpage.patch,
+ +metadata.xml, +eject-bsd-1.5.ebuild:
+ Initial import from gentoo-alt overlay.
+
diff --git a/sys-block/eject-bsd/Manifest b/sys-block/eject-bsd/Manifest
new file mode 100644
index 000000000000..aa3e8ba60fed
--- /dev/null
+++ b/sys-block/eject-bsd/Manifest
@@ -0,0 +1,24 @@
+AUX eject-bsd-1.5-devname.patch 330 RMD160 d17816dfe3d60ca7db4c38c19c8a3de6dc5909b5 SHA1 ad1729689f34bf97d8a7d6f1de5153146d4202bc SHA256 40834387d8982f5723d18a7e5bced2184d21d0abd39dc1d9ad2f39dfc81fa244
+MD5 381dad2fbff04fbe32e96a10096db8ec files/eject-bsd-1.5-devname.patch 330
+RMD160 d17816dfe3d60ca7db4c38c19c8a3de6dc5909b5 files/eject-bsd-1.5-devname.patch 330
+SHA256 40834387d8982f5723d18a7e5bced2184d21d0abd39dc1d9ad2f39dfc81fa244 files/eject-bsd-1.5-devname.patch 330
+AUX eject-bsd-1.5-manpage.patch 292 RMD160 7743e12a6177b5e0f8e87d0797cb159a8ca8b17b SHA1 c3b77148c4a8fa568cd0f6904efaaaa2dd96a51a SHA256 5ca6c39f0387cad5128ebad949080ea9a963a810ac274c2f4c92bb5498d4c10d
+MD5 3ab69212c061fc1a8d25461c68e78cde files/eject-bsd-1.5-manpage.patch 292
+RMD160 7743e12a6177b5e0f8e87d0797cb159a8ca8b17b files/eject-bsd-1.5-manpage.patch 292
+SHA256 5ca6c39f0387cad5128ebad949080ea9a963a810ac274c2f4c92bb5498d4c10d files/eject-bsd-1.5-manpage.patch 292
+DIST eject-1.5.tar.gz 4928 RMD160 32359541161c8d98d68ea00c6a67b51b0155c1e2 SHA1 334dd4f9f0097288f8414940af1ab3dd5bbb570c SHA256 768d97568f4b893a093f66968cb4791f2b20f87585c6d38aeed203de3a3b2597
+EBUILD eject-bsd-1.5.ebuild 992 RMD160 caaeafd3fa67f3c3d808a9573dddb956a8ff9b2d SHA1 e8a212de4157a91e4aa6b57f2d2ea37200ac0101 SHA256 da657eb19e466146ae51b101a8e7095d2280e0dc2c0badc6603ac342b55d295b
+MD5 0ea5815a330f071639a97c9cff1c19aa eject-bsd-1.5.ebuild 992
+RMD160 caaeafd3fa67f3c3d808a9573dddb956a8ff9b2d eject-bsd-1.5.ebuild 992
+SHA256 da657eb19e466146ae51b101a8e7095d2280e0dc2c0badc6603ac342b55d295b eject-bsd-1.5.ebuild 992
+MISC ChangeLog 360 RMD160 b46bbced09fe1efb8243d9c5549537dee67c84f5 SHA1 e73f8d052e932d4916f24f0f4fdfd904edd6bcec SHA256 97f2f4eaff7c9a1c8d50478edc715f375b6e450a6fc030a9dbb7e4a12dfc4e89
+MD5 512d421982fdf932ad7cff00814e8062 ChangeLog 360
+RMD160 b46bbced09fe1efb8243d9c5549537dee67c84f5 ChangeLog 360
+SHA256 97f2f4eaff7c9a1c8d50478edc715f375b6e450a6fc030a9dbb7e4a12dfc4e89 ChangeLog 360
+MISC metadata.xml 156 RMD160 60b5820a08275f307e5bd936d78f5afd1f141086 SHA1 d9d9d4f2b5afc58339ea3e562fca490156935f1f SHA256 30ab515d6ac492d3d6c36ac3c675511742c2149e56a6b3228c8d22ab8edb3ff7
+MD5 2bd48a5ae413433cbb36110b219ce97c metadata.xml 156
+RMD160 60b5820a08275f307e5bd936d78f5afd1f141086 metadata.xml 156
+SHA256 30ab515d6ac492d3d6c36ac3c675511742c2149e56a6b3228c8d22ab8edb3ff7 metadata.xml 156
+MD5 e5f47875bb989168788090c4e7a29d4b files/digest-eject-bsd-1.5 223
+RMD160 e18f856a823dd9679ac827d930eac5175169abce files/digest-eject-bsd-1.5 223
+SHA256 1607ff82fecf607699bfd09f881ed12ceae04bfc3ec527046af1c14b1e184022 files/digest-eject-bsd-1.5 223
diff --git a/sys-block/eject-bsd/eject-bsd-1.5.ebuild b/sys-block/eject-bsd/eject-bsd-1.5.ebuild
new file mode 100644
index 000000000000..d5c7811c0289
--- /dev/null
+++ b/sys-block/eject-bsd/eject-bsd-1.5.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-block/eject-bsd/eject-bsd-1.5.ebuild,v 1.1 2006/05/22 23:35:18 flameeyes Exp $
+
+inherit eutils portability toolchain-funcs
+
+MY_P="eject-${PV}"
+
+DESCRIPTION="eject command for FreeBSD systems"
+HOMEPAGE="http://www.freshports.org/sysutils/eject/"
+SRC_URI="ftp://ports.jp.FreeBSD.org/pub/FreeBSD-jp/OD/${MY_P}.tar.gz
+ ftp://ftp4.jp.FreeBSD.org/pub/FreeBSD-jp/OD/${MY_P}.tar.gz
+ ftp://ftp.ics.es.osaka-u.ac.jp/pub/mirrors/FreeBSD-jp/OD/${MY_P}.tar.gz
+ ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86-fbsd"
+IUSE=""
+
+DEPEND=""
+RDEPEND="!sys-apps/eject"
+PROVIDE="virtual/eject"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch "${FILESDIR}/${P}-manpage.patch"
+ epatch "${FILESDIR}/${P}-devname.patch"
+}
+
+src_compile() {
+ $(get_bmake) CC="$(tc-getCC)" PREFIX="/usr" eject || die "$(get_bmake) failed"
+}
+
+src_install() {
+ dobin ${S}/eject
+ doman ${S}/eject.1
+ dodoc ${S}/README
+}
+
diff --git a/sys-block/eject-bsd/files/digest-eject-bsd-1.5 b/sys-block/eject-bsd/files/digest-eject-bsd-1.5
new file mode 100644
index 000000000000..7cc8544c01c2
--- /dev/null
+++ b/sys-block/eject-bsd/files/digest-eject-bsd-1.5
@@ -0,0 +1,3 @@
+MD5 28c72f0e3a3657348749295a6afd72a6 eject-1.5.tar.gz 4928
+RMD160 32359541161c8d98d68ea00c6a67b51b0155c1e2 eject-1.5.tar.gz 4928
+SHA256 768d97568f4b893a093f66968cb4791f2b20f87585c6d38aeed203de3a3b2597 eject-1.5.tar.gz 4928
diff --git a/sys-block/eject-bsd/files/eject-bsd-1.5-devname.patch b/sys-block/eject-bsd/files/eject-bsd-1.5-devname.patch
new file mode 100644
index 000000000000..0f1efac8fed0
--- /dev/null
+++ b/sys-block/eject-bsd/files/eject-bsd-1.5-devname.patch
@@ -0,0 +1,11 @@
+--- eject.c.orig Tue May 3 14:59:19 2005
++++ eject.c Tue May 3 15:01:30 2005
+@@ -133,7 +133,7 @@
+ int sts;
+ struct stat sb;
+
+- if (asprintf(device, "/dev/%sc", name) == -1)
++ if (asprintf(device, "/dev/%s", name) == -1)
+ return sts;
+ if (vflag || nflag) {
+ printf("%s: using device %s\n", program, device);
diff --git a/sys-block/eject-bsd/files/eject-bsd-1.5-manpage.patch b/sys-block/eject-bsd/files/eject-bsd-1.5-manpage.patch
new file mode 100644
index 000000000000..3706f388e1e4
--- /dev/null
+++ b/sys-block/eject-bsd/files/eject-bsd-1.5-manpage.patch
@@ -0,0 +1,11 @@
+--- eject.1.orig Tue Jan 4 14:49:41 2000
++++ eject.1 Sun Feb 1 00:49:17 2004
+@@ -53,6 +53,8 @@
+ Not execute operation but print it.
+ .It Fl v
+ Verbose mode.
++.It Fl t
++Give drive tray close command.
+ .Sh ENVIRONMENT
+ If the following environment variable exists, it is used by
+ .Nm eject :
diff --git a/sys-block/eject-bsd/metadata.xml b/sys-block/eject-bsd/metadata.xml
new file mode 100644
index 000000000000..ecedda4aa2cc
--- /dev/null
+++ b/sys-block/eject-bsd/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>bsd</herd>
+</pkgmetadata>