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
commit85b5baae465c2eadd48f208b1a273fe1e02034a5 (patch)
treeee65ef0c3dfa72ce1b813ed7459c1d165502df77 /sys-block/eject-bsd
parentFix duplication of dnstouch, and move binaries to bin, as they are suitable f... (diff)
downloadhistorical-85b5baae465c2eadd48f208b1a273fe1e02034a5.tar.gz
historical-85b5baae465c2eadd48f208b1a273fe1e02034a5.tar.bz2
historical-85b5baae465c2eadd48f208b1a273fe1e02034a5.zip
Initial import from gentoo-alt overlay.
Package-Manager: portage-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/Manifest34
-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, 119 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..af8ef81ef564
--- /dev/null
+++ b/sys-block/eject-bsd/Manifest
@@ -0,0 +1,34 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+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 1097 RMD160 0d12b68ba946fcb840cdf6d097c86444712a8672 SHA1 0dfbab52102385bc8a328e7c0710db3e470fba33 SHA256 78c81ae1cb973df1d951f884c94d0ca84f07339642eece1aae817430065ded4c
+MD5 9aada5c510627c706f6a37a64dc9fd41 eject-bsd-1.5.ebuild 1097
+RMD160 0d12b68ba946fcb840cdf6d097c86444712a8672 eject-bsd-1.5.ebuild 1097
+SHA256 78c81ae1cb973df1d951f884c94d0ca84f07339642eece1aae817430065ded4c eject-bsd-1.5.ebuild 1097
+MISC ChangeLog 454 RMD160 36c305557bfa39ed75b9776f93a75545b77adc63 SHA1 3764c915059e9bee574b880811b20f0cf9d5d03c SHA256 a0aada93b7e8d8678fb025ec9b5e5c021b1f9681e646b81bad279e0d9a021e78
+MD5 ec69751c756d64a1c88a68da7e3b535d ChangeLog 454
+RMD160 36c305557bfa39ed75b9776f93a75545b77adc63 ChangeLog 454
+SHA256 a0aada93b7e8d8678fb025ec9b5e5c021b1f9681e646b81bad279e0d9a021e78 ChangeLog 454
+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
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.3 (GNU/Linux)
+
+iD8DBQFEckrDAiZjviIA2XgRApJiAKCw4W2oAV6HAS09JfW19ZTgYtJgeACePo8U
+BXkBI5kcNJ2+3k3rBFUY1O4=
+=paNl
+-----END PGP SIGNATURE-----
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>