summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2012-01-21 17:22:14 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2012-01-21 17:22:14 +0000
commit40d6220bf707478a2f69179d239f60a9a8fc63ab (patch)
treed2eb9a730982044d4c9faac919008651027cae84 /app-misc
parentold (diff)
downloadhistorical-40d6220bf707478a2f69179d239f60a9a8fc63ab.tar.gz
historical-40d6220bf707478a2f69179d239f60a9a8fc63ab.tar.bz2
historical-40d6220bf707478a2f69179d239f60a9a8fc63ab.zip
Added live ebuild.
Package-Manager: portage-2.2.0_alpha84_p18/cvs/Linux x86_64
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/mc/ChangeLog10
-rw-r--r--app-misc/mc/Manifest25
-rw-r--r--app-misc/mc/mc-4.8.1-r1.ebuild4
-rw-r--r--app-misc/mc/mc-9999.ebuild97
4 files changed, 115 insertions, 21 deletions
diff --git a/app-misc/mc/ChangeLog b/app-misc/mc/ChangeLog
index e69508481b74..17347019d314 100644
--- a/app-misc/mc/ChangeLog
+++ b/app-misc/mc/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-misc/mc
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v 1.235 2011/12/16 13:17:35 wired Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v 1.236 2012/01/21 17:22:14 slyfox Exp $
+
+*mc-9999 (21 Jan 2012)
+
+ 21 Jan 2012; Sergei Trofimovich <slyfox@gentoo.org> +mc-9999.ebuild,
+ mc-4.8.1-r1.ebuild:
+ Added live ebuild.
16 Dec 2011; Alex Alexander <wired@gentoo.org> mc-4.8.1-r1.ebuild,
metadata.xml:
diff --git a/app-misc/mc/Manifest b/app-misc/mc/Manifest
index 4ce31c2fb528..9c2a570e13ba 100644
--- a/app-misc/mc/Manifest
+++ b/app-misc/mc/Manifest
@@ -1,5 +1,5 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
+Hash: SHA1
AUX mc-4.8.0-fix-ftp-spaces.patch 1047 RMD160 8bfc6c0ffdcaded6a7f1382f0fee80d78fb928f0 SHA1 d6e1f843ce85a7351fd485cc6ec141ecd2a9c9fc SHA256 4285ba9907b4460739802876e39c8e2df858264214ef81ed8c2291b22f039515
AUX mc-4.8.0-fix-nls.patch 949 RMD160 24627543ec6744b1b1d710a306dce4d5782e360e SHA1 d70b0ec63f65b72e414efcac2cc04e75740848d1 SHA256 504856248f6c3ab21870c7555f31cdcd9ac509c883ab6cc2929440fb9d1e2216
@@ -16,23 +16,14 @@ EBUILD mc-4.7.5.2.ebuild 1950 RMD160 1ca9e3bda31808ca7ef6134f4dc0bd1f960dce16 SH
EBUILD mc-4.7.5.5.ebuild 2037 RMD160 0118de937f9787474f988c79191743ba2d7d4fae SHA1 31d8d714368b48eda34eb2991b0d5140e8af6c8c SHA256 c8e739027220fe2e00c3d6fc87e833456c4bb2008c9315feb907ad4ac384a57c
EBUILD mc-4.7.5.6-r1.ebuild 2045 RMD160 270e8616950482b443dc4d0d982353511084f871 SHA1 fbd907cfc5a57cc2fb1d9af779f35d369f0c3790 SHA256 93b5a58fb99313f7c395c5b049cf26bfd56a42aedac7bbcdbf0d5d0eddb8edcd
EBUILD mc-4.8.0-r2.ebuild 2237 RMD160 1e97d628a8baaf5b621083efbe5915fe34c925fe SHA1 6f46c2c11fc45fcce4bbf5f1fa64605630491960 SHA256 ef3a0a94cec9dc495c14193f549e4041fd2b1160d9fab30fb77a9b21e7fd1306
-EBUILD mc-4.8.1-r1.ebuild 2218 RMD160 033bd76f8624ad3fac85a8f9a0b7311cb6a6fb84 SHA1 85b961559fbaf5c76fb1b70523a3c2895de77084 SHA256 dc954a5edc9ffe4d6817b80aab8d813c8154167316686fdf0823c78dcf57c552
-MISC ChangeLog 33656 RMD160 3815a557ba62c943222b918fd2536b99e542d7c3 SHA1 3e66e0058b4501a07bab28d11b5df419bb1e5b68 SHA256 24f509b56567411c8d99502583d4f1cdf7ed81220988574eac8d03c17492f542
+EBUILD mc-4.8.1-r1.ebuild 2219 RMD160 2c1c46f453962c6b230cf10a6d4f50491c0c0489 SHA1 30ccc75e0640cbd851f7aaea17e92d626961236d SHA256 7db0968758b2a3abcc8b863fdaa2569a5ec993adb2bceef4421d92044f8f2256
+EBUILD mc-9999.ebuild 2571 RMD160 7578c1fe9d1fb8309e2dc77e1ed43136774ba8cd SHA1 f376bbb63557a7160e3ca92f623f918e1e15b0c0 SHA256 1f7998858008d55eb0995b1f4c46df22d0c722dfeb6ef1b81c878059364f8fc2
+MISC ChangeLog 33796 RMD160 954ca2a3b757a8ed091df347f682a1960d06614c SHA1 41812ac9a1a20fc7545a159d4994dcb91c536448 SHA256 f15a49d19e063ce3f4ed42fb0043ffa396e445491b71b29cef6d21f9c7ffadaf
MISC metadata.xml 653 RMD160 5c0932709a9e11cef3ac4c95c88b906f688681c5 SHA1 bc2b471e4c49117bccb3dd2b1f9ec00cb24ca5da SHA256 760d390ffdbec152f1220dd02edc067a10243c4f936eed416b52d46a955dd683
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.18 (GNU/Linux)
+Version: GnuPG v2.0.17 (GNU/Linux)
-iQIcBAEBCgAGBQJO60WBAAoJEDZF8K7rm0r6I4oQAIp8fGWuQtN2TWHmFjSpPEzt
-DtCoD3lRuDBD+JVjAOFiOlJh98ubJCZtDimdMcDZwkRohteGbQ4tilVOMdt0LMF/
-CjgcnJAj9Sp3ALChVXbDkhqpwsVOHPv2ZmdOvLxkujRJeZxY+6L9hPYPAtlFR/9I
-CpmcoNWFDUJVMvJjlJjc+nKkb+P7q8y0W1FEXZql3xpKPnMkvHwYpfKnSXoXe+JG
-nIBg8JMbzojZ99FS5UJXugthAF5vZoUnoQG3Kl/LB3RJQ4ugM3aPH3DKARes9FbX
-EnVXmWIgRGTrliSMEBdJyOQgfsMKHYIwQf+R9IlwwbMGN8mNTo6JIlM/WKOJsmQJ
-mJXYrKYX1sQnELBHr8ICq6BnrXB47i5om8fps9hMN9iKYdEyrSMGxSRmoSibQpkg
-8ACKXZoRE+sGouJafXPmX6jkpHcvRn+HMm6EjZ2kG6zA2h9W1Q3WkGRrkM/jUx+z
-VhK2s+pwBzISiy0VmwYwVMhUFxSPWkxbOxU+Pv5aKQE3J8QtsRqAb8jD0UbuP7YM
-S2pLFUm2FENn4v16VLVFe4PkWAsbL+Gh4m7Vspe+pSKk3YkN8ll4YxdeCb4zMZAY
-Hu4z34Z7ifsVnemuDNHrykJ7s2vFF81cfsfoz5QxmCJOX8pwJ3gBQhK22pKuZMeB
-rZHh6Qj4obLMm7NIceFk
-=lvxi
+iEYEARECAAYFAk8a9VIACgkQcaHudmEf86r1fgCfSN5cDRyMf8AaUc6gA64LMn5e
+308AoIYq/sz2RjkjSY5SjI8fUzGfvSGy
+=11Sq
-----END PGP SIGNATURE-----
diff --git a/app-misc/mc/mc-4.8.1-r1.ebuild b/app-misc/mc/mc-4.8.1-r1.ebuild
index e0500fd73490..51022afc6cc2 100644
--- a/app-misc/mc/mc-4.8.1-r1.ebuild
+++ b/app-misc/mc/mc-4.8.1-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/mc-4.8.1-r1.ebuild,v 1.2 2011/12/16 13:17:35 wired Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/mc-4.8.1-r1.ebuild,v 1.3 2012/01/21 17:22:14 slyfox Exp $
EAPI=4
diff --git a/app-misc/mc/mc-9999.ebuild b/app-misc/mc/mc-9999.ebuild
new file mode 100644
index 000000000000..41dcfc755284
--- /dev/null
+++ b/app-misc/mc/mc-9999.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/mc-9999.ebuild,v 1.1 2012/01/21 17:22:14 slyfox Exp $
+
+EAPI=4
+
+if [[ ${PV} = *9999* ]]; then
+ EGIT_REPO_URI="git://midnight-commander.org/git/mc.git"
+ LIVE_ECLASSES="git-2 autotools"
+ LIVE_EBUILD=yes
+fi
+
+inherit flag-o-matic ${LIVE_ECLASSES}
+
+if [[ -n ${LIVE_EBUILD} ]]; then
+ SRC_URI=""
+ KEYWORDS=""
+else
+ SRC_URI="http://www.midnight-commander.org/downloads/${P}.tar.xz"
+ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
+fi
+
+DESCRIPTION="GNU Midnight Commander is a text based file manager"
+HOMEPAGE="http://www.midnight-commander.org"
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="+edit gpm mclib +ncurses nls samba slang test X +xdg"
+
+REQUIRED_USE="^^ ( ncurses slang )"
+
+RDEPEND=">=dev-libs/glib-2.8:2
+ gpm? ( sys-libs/gpm )
+ kernel_linux? ( sys-fs/e2fsprogs )
+ ncurses? ( sys-libs/ncurses )
+ samba? ( net-fs/samba )
+ slang? ( >=sys-libs/slang-2 )
+ X? ( x11-libs/libX11
+ x11-libs/libICE
+ x11-libs/libXau
+ x11-libs/libXdmcp
+ x11-libs/libSM )"
+DEPEND="${RDEPEND}
+ app-arch/xz-utils
+ dev-util/pkgconfig
+ nls? ( sys-devel/gettext )
+ test? ( dev-libs/check )
+ "
+
+[[ -n ${LIVE_EBUILD} ]] && DEPEND="${DEPEND} dev-vcs/cvs" # needed only for SCM source tree (autopoint uses cvs)
+
+src_prepare() {
+ [[ -n ${LIVE_EBUILD} ]] && ./autogen.sh
+}
+
+src_configure() {
+ local myscreen=ncurses
+ use slang && myscreen=slang
+ [[ ${CHOST} == *-solaris* ]] && append-ldflags "-lnsl -lsocket"
+
+ local homedir=".mc"
+ use xdg && homedir="XDG"
+
+ econf \
+ --disable-dependency-tracking \
+ $(use_enable nls) \
+ --enable-vfs \
+ $(use_enable kernel_linux vfs-undelfs) \
+ --enable-charset \
+ $(use_with X x) \
+ $(use_enable samba vfs-smb) \
+ $(use_with gpm gpm-mouse) \
+ --with-screen=${myscreen} \
+ $(use_with edit) \
+ $(use_enable mclib) \
+ $(use_enable test tests) \
+ --with-homedir=${homedir}
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc AUTHORS README NEWS
+
+ # fix bug #334383
+ if use kernel_linux && [[ ${EUID} == 0 ]] ; then
+ fowners root:tty /usr/libexec/mc/cons.saver ||
+ die "setting cons.saver's owner failed"
+ fperms g+s /usr/libexec/mc/cons.saver ||
+ die "setting cons.saver's permissions failed"
+ fi
+}
+
+pkg_postinst() {
+ elog "To enable exiting to latest working directory,"
+ elog "put this into your ~/.bashrc:"
+ elog ". ${EPREFIX}/usr/libexec/mc/mc.sh"
+}