Sync with portage [Sun Mar 25 16:54:11 MSK 2012].

This commit is contained in:
root 2012-03-25 16:54:11 +04:00
parent b1e52f70ad
commit 64b4c1763f
1027 changed files with 10676 additions and 7403 deletions

View file

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-opengl/eselect-opengl-1.2.5-r1.ebuild,v 1.1 2012/03/05 10:53:35 scarabeus Exp $
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-opengl/eselect-opengl-1.2.5-r1.ebuild,v 1.2 2012/03/24 19:15:12 grobian Exp $
EAPI=4
@ -35,6 +35,13 @@ pkg_postinst() {
fi
}
src_prepare() {
# don't die on Darwin users
if [[ ${CHOST} == *-darwin* ]] ; then
sed -i -e 's/libGL\.so/libGL.dylib/' opengl.eselect || die
fi
}
src_install() {
insinto "/usr/share/eselect/modules"
doins opengl.eselect

View file

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/evtxtools/evtxtools-1.1.0.ebuild,v 1.2 2012/02/25 16:40:16 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/app-admin/evtxtools/evtxtools-1.1.0.ebuild,v 1.3 2012/03/24 17:37:20 phajdan.jr Exp $
EAPI=3
@ -13,7 +13,7 @@ SRC_URI="http://computer.forensikblog.de/files/evtx/${MY_PN}-${PV}.zip"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~x86"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND="dev-perl/DateTime

View file

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/haskell-updater/haskell-updater-1.2.0.5.ebuild,v 1.3 2012/03/20 13:06:55 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/app-admin/haskell-updater/haskell-updater-1.2.0.5.ebuild,v 1.4 2012/03/24 17:07:56 phajdan.jr Exp $
EAPI="3"
@ -13,7 +13,7 @@ SRC_URI="http://hackage.haskell.org/packages/archive/${PN}/${PV}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ~ia64 ~ppc ppc64 ~sparc ~x86 ~x86-fbsd ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" # Add keywords as those archs have a binpkg
KEYWORDS="~alpha amd64 ~ia64 ~ppc ppc64 ~sparc x86 ~x86-fbsd ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" # Add keywords as those archs have a binpkg
IUSE=""
DEPEND=">=dev-lang/ghc-6.12.1"

View file

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/monit/monit-5.3.2.ebuild,v 1.3 2012/03/16 19:04:51 ranger Exp $
# $Header: /var/cvsroot/gentoo-x86/app-admin/monit/monit-5.3.2.ebuild,v 1.4 2012/03/24 17:17:02 phajdan.jr Exp $
EAPI="2"
@ -10,7 +10,7 @@ SRC_URI="http://mmonit.com/monit/dist/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 ppc ~sparc ~x86"
KEYWORDS="amd64 ppc ~sparc x86"
IUSE="ssl"
RDEPEND="ssl? ( dev-libs/openssl )"

View file

@ -5,8 +5,4 @@
<email>nimiux@gentoo.org</email>
<name>Chema Alonso</name>
</maintainer>
<maintainer>
<email>c1pher@gentoo.org</email>
<name>Dane Smith</name>
</maintainer>
</pkgmetadata>

View file

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/tenshi/tenshi-0.12.ebuild,v 1.5 2012/03/18 15:16:47 armin76 Exp $
# $Header: /var/cvsroot/gentoo-x86/app-admin/tenshi/tenshi-0.12.ebuild,v 1.6 2012/03/24 17:28:00 phajdan.jr Exp $
EAPI=4
inherit eutils
@ -11,7 +11,7 @@ SRC_URI="http://dev.inversepath.com/tenshi/${P}.tar.gz"
LICENSE="ISC"
SLOT="0"
KEYWORDS="amd64 ppc ~x86"
KEYWORDS="amd64 ppc x86"
IUSE=""
RDEPEND="dev-lang/perl

View file

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/rpm/rpm-4.9.1.2.ebuild,v 1.9 2012/03/19 21:32:52 maekke Exp $
# $Header: /var/cvsroot/gentoo-x86/app-arch/rpm/rpm-4.9.1.2.ebuild,v 1.10 2012/03/24 17:24:42 phajdan.jr Exp $
EAPI=4
@ -14,7 +14,7 @@ SRC_URI="http://rpm.org/releases/rpm-4.9.x/${P}.tar.bz2"
LICENSE="GPL-2 LGPL-2"
SLOT="0"
KEYWORDS="amd64 arm ~hppa ~mips ppc ppc64 ~x86"
KEYWORDS="amd64 arm ~hppa ~mips ppc ppc64 x86"
IUSE="nls python doc caps lua acl"

View file

@ -1,3 +1,2 @@
DIST i7z-0.26.tar.gz 30539 RMD160 580a11cc820a0037e196533ab0bfae9e5f3669b8 SHA1 a0c4e00867955f00708aefcf4a7f4406e4c08423 SHA256 68cf43fc583f2da7f372644f77e83901141543fe47665c9c0148b80258782f85
DIST i7z-0.27.1.tar.gz 197875 RMD160 ee0c635571ec9a071cf09bce47967b8f7cbc8200 SHA1 7e8f9efa4ee3ae04a109469614b65e144afa1666 SHA256 862d281fdd5924709056b6c71110f89c7ea1696b6f786bb55a04df8a83cf7758
DIST i7z-0.27.tar.gz 121372 RMD160 657ab3d5f8fb2a365afe1a982174cc0dd12d84e2 SHA1 1f90f0594904c96560c57dff39656180eebc7566 SHA256 a06dab9d0a7fcc4ad2bad5b603a0087ed56f96de55015471b4a29c142b0219ea

View file

@ -1,45 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/i7z/i7z-0.26.ebuild,v 1.4 2011/08/14 10:21:37 jlec Exp $
EAPI=3
inherit eutils qt4-r2 toolchain-funcs
DESCRIPTION="A better i7 (and now i3, i5) reporting tool for Linux"
HOMEPAGE="http://code.google.com/p/i7z/"
SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
LICENSE="GPL-2"
IUSE="X"
RDEPEND="
sys-libs/ncurses
X? ( x11-libs/qt-gui:4 )"
DEPEND="${RDEPEND}"
src_prepare() {
epatch \
"${FILESDIR}"/${PV}-gentoo.patch \
"${FILESDIR}"/${PV}-gcc46.patch
tc-export CC
}
src_compile() {
default
if use X; then
cd GUI
eqmake4 GUI.pro
emake || die
fi
}
src_install() {
emake DESTDIR="${ED}" install || die
if use X; then
newsbin GUI/GUI i7z_GUI || die
fi
dodoc put_cores_o*line.sh MAKEDEV-cpuid-msr || die
}

View file

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/i7z/i7z-0.27-r1.ebuild,v 1.2 2012/03/13 12:46:11 jlec Exp $
# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/i7z/i7z-0.27-r1.ebuild,v 1.4 2012/03/24 20:17:50 hwoarang Exp $
EAPI="4"
@ -12,7 +12,7 @@ SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="X"
RDEPEND="

View file

@ -1,45 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/i7z/i7z-0.27.ebuild,v 1.1 2011/08/14 10:21:37 jlec Exp $
EAPI=4
inherit eutils qt4-r2 toolchain-funcs
DESCRIPTION="A better i7 (and now i3, i5) reporting tool for Linux"
HOMEPAGE="http://code.google.com/p/i7z/"
SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
LICENSE="GPL-2"
IUSE="X"
RDEPEND="
sys-libs/ncurses
X? ( x11-libs/qt-gui:4 )"
DEPEND="${RDEPEND}"
S="${WORKDIR}"/${PN}
src_prepare() {
epatch "${FILESDIR}"/${PV}-gentoo.patch
tc-export CC
}
src_compile() {
default
if use X; then
cd GUI
eqmake4 GUI.pro
emake
fi
}
src_install() {
emake DESTDIR="${ED}" install
if use X; then
newsbin GUI/GUI i7z_GUI
fi
dodoc put_cores_o*line.sh MAKEDEV-cpuid-msr
}

View file

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-cdr/bashburn/bashburn-3.1.0.ebuild,v 1.2 2012/03/11 14:46:54 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/app-cdr/bashburn/bashburn-3.1.0.ebuild,v 1.3 2012/03/24 17:03:58 phajdan.jr Exp $
EAPI=4
@ -12,7 +12,7 @@ SRC_URI="http://bashburn.dose.se/index.php?s=file_download&id=25 -> ${MY_P}.tar.
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc ~ppc64 ~sparc ~x86"
KEYWORDS="amd64 ~ppc ~ppc64 ~sparc x86"
IUSE=""
DEPEND="app-shells/bash"

View file

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/kstart/kstart-4.1.ebuild,v 1.2 2012/03/21 12:02:54 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/app-crypt/kstart/kstart-4.1.ebuild,v 1.3 2012/03/24 17:30:35 phajdan.jr Exp $
EAPI=4
@ -13,7 +13,7 @@ SRC_URI="http://archives.eyrie.org/software/kerberos/${P}.tar.gz"
LICENSE="|| ( MIT Stanford ISC )"
SLOT="0"
KEYWORDS="amd64 ~x86"
KEYWORDS="amd64 x86"
IUSE="afs"
DEPEND="virtual/krb5

View file

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/md5deep/md5deep-3.9.1.ebuild,v 1.5 2012/03/18 15:11:26 armin76 Exp $
# $Header: /var/cvsroot/gentoo-x86/app-crypt/md5deep/md5deep-3.9.1.ebuild,v 1.6 2012/03/24 19:32:36 armin76 Exp $
EAPI=4
@ -10,5 +10,5 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="public-domain GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
KEYWORDS="amd64 ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE=""

View file

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/md5deep/md5deep-4.0.0.ebuild,v 1.2 2012/03/18 15:11:26 armin76 Exp $
# $Header: /var/cvsroot/gentoo-x86/app-crypt/md5deep/md5deep-4.0.0.ebuild,v 1.3 2012/03/24 19:32:36 armin76 Exp $
EAPI=4
@ -10,7 +10,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="public-domain GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE=""
DOCS="AUTHORS ChangeLog FILEFORMAT NEWS README TODO"

View file

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/md5deep/md5deep-4.0.1.ebuild,v 1.2 2012/03/18 15:11:26 armin76 Exp $
# $Header: /var/cvsroot/gentoo-x86/app-crypt/md5deep/md5deep-4.0.1.ebuild,v 1.3 2012/03/24 19:32:36 armin76 Exp $
EAPI=4
@ -10,7 +10,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="public-domain GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE=""
DOCS="AUTHORS ChangeLog FILEFORMAT NEWS README TODO"

View file

@ -1,2 +1,2 @@
DIST ht-2.0.18.tar.bz2 884293 RMD160 c486e436d2f5c24830e4e0ba7da83b5fe46a5d5b SHA1 f4e51dae47f8f2a2fe34883714890e9d1c48d3de SHA256 39370538e3352eac9a662d5e4d44e569dcd41f96ef026ac775da3fe4f88af4d4
DIST ht-2.0.19.tar.bz2 900748 RMD160 2cfd8af3e9d73fd5c7bf9049960d2530baac183d SHA1 08cc1d82b74ea646e308e7b9629b03b5b79ca419 SHA256 89f9f36ce4dacc6965575b85510f4b90a230f3aea839a5e34977ae3c73de8eae
DIST ht-2.0.20.tar.bz2 900575 RMD160 65654a1b2812fc79ba4720d7e230cbdc4d61432e SHA1 30d22c262c909324ffd707fc7eabcd9d8d201f3b SHA256 4aa162f10a13e60859bef1f04c6529f967fdfd660ae421ee25eab1fbabcd1ed0

View file

@ -1,8 +1,8 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/hteditor/hteditor-2.0.19.ebuild,v 1.1 2012/03/14 04:48:53 patrick Exp $
# $Header: /var/cvsroot/gentoo-x86/app-editors/hteditor/hteditor-2.0.20.ebuild,v 1.1 2012/03/24 11:54:34 pacho Exp $
EAPI=3
EAPI=4
MY_P=${P/editor}
@ -37,7 +37,7 @@ src_configure() {
}
src_install() {
emake DESTDIR="${D}" install || die
emake DESTDIR="${D}" install
dodoc AUTHORS ChangeLog KNOWNBUGS README TODO
dohtml doc/*.html
doinfo doc/*.info

View file

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/qxmledit/qxmledit-0.7.2.ebuild,v 1.2 2012/03/20 08:26:14 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/app-editors/qxmledit/qxmledit-0.7.2.ebuild,v 1.3 2012/03/24 17:25:20 phajdan.jr Exp $
EAPI=4
@ -14,7 +14,7 @@ SRC_URI="http://${PN}.googlecode.com/files/${MY_P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~x86"
KEYWORDS="amd64 x86"
IUSE="debug"
DEPEND="x11-libs/qt-core:4

View file

@ -0,0 +1,109 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/emacs-common-gentoo/emacs-common-gentoo-1.3-r2.ebuild,v 1.1 2012/03/25 11:21:25 ulm Exp $
EAPI=4
inherit elisp-common eutils fdo-mime gnome2-utils
DESCRIPTION="Common files needed by all GNU Emacs versions"
HOMEPAGE="http://www.gentoo.org/proj/en/lisp/emacs/"
SRC_URI="mirror://gentoo/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE="X"
PDEPEND="virtual/emacs"
src_install() {
insinto "${SITELISP}"
doins subdirs.el
keepdir /etc/emacs
insinto /etc/emacs
doins site-start.el
if use X; then
local i
domenu emacs.desktop emacsclient.desktop || die
pushd icons
newicon sink.png emacs-sink.png || die
newicon emacs_48.png emacs.png || die
newicon emacs22_48.png emacs22.png || die
for i in 16 24 32 48 128; do
insinto /usr/share/icons/hicolor/${i}x${i}/apps
newins emacs_${i}.png emacs.png
[[ ${i} -ne 128 ]] && newins emacs22_${i}.png emacs22.png
done
insinto /usr/share/icons/hicolor/scalable/apps
doins emacs.svg
popd
gnome2_icon_savelist
fi
}
site-start-modified-p() {
case $(cksum <"${EROOT}${SITELISP}/site-start.el") in
# checksums of auto-generated site-start.el files
"2098727038 349") return 1 ;; # elisp-common.eclass
"3626264063 355") return 1 ;; # emacs-common-gentoo-1.0 (cvs rev 1.1)
"3738455534 394") return 1 ;; # emacs-common-gentoo-1.0 (cvs rev 1.6)
"4199862847 394") return 1 ;; # emacs-common-gentoo-1.1
"2547348044 394") return 1 ;; # emacs-common-gentoo-1.2
"2214952934 397") return 1 ;; # emacs-common-gentoo-1.2-r1
"3917799317 397") return 1 ;; # emacs-common-gentoo-1.2-r2
*) return 0 ;;
esac
}
pkg_postinst() {
if use X; then
fdo-mime_desktop_database_update
gnome2_icon_cache_update
fi
# make sure that site-gentoo.el exists since site-start.el requires it
elisp-site-regen
local line
while read line; do elog "${line:- }"; done <<-EOF
All site initialisation for Gentoo-installed packages is added to
${SITELISP}/site-gentoo.el. In order for this site
initialisation to be loaded for all users automatically, a default
site startup file /etc/emacs/site-start.el is installed. You are
responsible for maintenance of this file.
Alternatively, individual users can add the following command:
(require 'site-gentoo)
to their ~/.emacs initialisation files, or, for greater flexibility,
users may load single package-specific initialisation files from
${SITELISP}/site-gentoo.d/.
EOF
if [[ -e ${EROOT}${SITELISP}/site-start.el ]]; then
elog
ewarn "The location of the site startup file for Emacs has changed to"
ewarn "/etc/emacs/site-start.el."
if site-start-modified-p; then
ewarn "If your site-start.el file contains your own customisation,"
ewarn "you should move it to the new file. In any case, you should"
ewarn "remove the old ${SITELISP}/site-start.el file."
else
ewarn "Removing the old ${SITELISP}/site-start.el file."
rm -f "${EROOT}${SITELISP}/site-start.el"
fi
fi
}
pkg_postrm() {
if use X; then
fdo-mime_desktop_database_update
gnome2_icon_cache_update
fi
}

View file

@ -1,6 +1,7 @@
DIST appliance-1.17.14.tar.xz 46644196 RMD160 3d8ad13c5c4daf202cc563145c480b7a953408e1 SHA1 1d9ee21217f7e1a9f2342fff569c19dd331d6f04 SHA256 7cf81ef8a31d5d9ce6c8b1b601a8bf83cbd5521a397879fb7d1c55814b8b9be3
DIST libguestfs-1.16.10.tar.gz 6574148 RMD160 1e2dd9a9d8b36f130c01d0c590fe5bf22ba79fec SHA1 c2acbe122180dfc5ab6aab0c2f0a12658d69c526 SHA256 82b314f4f473ac008bafe509165048d775bea35064ce383203c398866d923ba4
DIST libguestfs-1.16.11.tar.gz 6584893 RMD160 baa7593d2404b908e258d3b17230a73d4884796a SHA1 8ddcad9d2600b44af998728b8ce19e42b4347554 SHA256 8ca9d5dd0a246b5c3ff115af71a559dd955b8099544967ff914ea80a631573ba
DIST libguestfs-1.16.12.tar.gz 6586368 RMD160 1dfb2b106e5752b270b33552403ef27f893fb5da SHA1 b39c5fdc3537d675c9956a53dbc2f5fc1dce1f23 SHA256 5fa89fc1d414150040d5e9e69a60161a4379b85ba21e1806e49724e9e2a0ecf5
DIST libguestfs-1.17.14.tar.gz 6791404 RMD160 d71af0a6d023af26ae04811c0924a659b990ef46 SHA1 1af36e30d27835d47de18afcb3aef6af3fe76425 SHA256 cd007e9174428ba2fce275ef53230c1ee8264d920610b70ffd55d45bd29be7c1
DIST libguestfs-1.17.18.tar.gz 6819091 RMD160 4a62a57224cb4a6a80462812c5e03dd440e8bfce SHA1 df9f20d7242c6cc5cae4edd85e26b2ba1ddfb683 SHA256 005aad7230160c2d349f893b161ebd503a221388ccf354f4503ffd83605cb126
DIST libguestfs-1.17.21.tar.gz 6870772 RMD160 f499c6b27fd6968c2c6ee74c0b7369a7e4537151 SHA1 2c90ac4498fff12f655e97fb3a4586994b45ed93 SHA256 7981ab12dc6c2c6ef701051c276a10d3ee81d4d963e6b0b2557e64c96d22092b

View file

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libguestfs/libguestfs-1.16.11.ebuild,v 1.1 2012/03/23 19:05:38 maksbotan Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libguestfs/libguestfs-1.16.11.ebuild,v 1.2 2012/03/24 15:23:23 mr_bones_ Exp $
EAPI="4"

View file

@ -0,0 +1,152 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libguestfs/libguestfs-1.16.12.ebuild,v 1.1 2012/03/25 10:40:16 maksbotan Exp $
EAPI="4"
APLANCE_PV="1.17.14"
APPL_P="appliance-${APLANCE_PV}"
AUTOTOOLS_AUTORECONF=1
AUTOTOOLS_IN_SOURCE_BUILD=1
inherit check-reqs bash-completion-r1 autotools-utils versionator eutils \
multilib linux-info perl-module
MY_PV_1="$(get_version_component_range 1-2)"
MY_PV_2="$(get_version_component_range 2)"
[[ $(( $(get_version_component_range 2) % 2 )) -eq 0 ]] && SD="stable" || SD="development"
DESCRIPTION="Tools for accessing, inspect and modifying virtual machine (VM) disk images"
HOMEPAGE="http://libguestfs.org/"
SRC_URI="http://libguestfs.org/download/${MY_PV_1}-${SD}/${P}.tar.gz
http://rion-overlay.googlecode.com/files/${APPL_P}.tar.xz"
LICENSE="GPL-2 LGPL-2"
SLOT="0"
# Upstream NOT supported 32-bit version, keyword in own risk
KEYWORDS="~amd64"
IUSE="bash-completion erlang +fuse debug ocaml doc +perl nls ruby static-libs selinux systemtap introspection"
# Failires - doc
COMMON_DEPEND="
>=app-misc/hivex-1.3.1
dev-libs/libpcre
app-arch/cpio
dev-lang/perl
app-cdr/cdrkit
>=app-emulation/qemu-kvm-1.0[qemu_user_targets_x86_64,qemu_softmmu_targets_x86_64]
sys-apps/fakeroot
sys-apps/file
app-emulation/libvirt
dev-libs/libxml2:2
>=sys-apps/fakechroot-2.8
>=app-admin/augeas-0.7.1
sys-fs/squashfs-tools
dev-libs/libconfig
dev-libs/libpcre
sys-libs/readline
>=sys-libs/db-4.6
perl? ( virtual/perl-ExtUtils-MakeMaker
>=dev-perl/Sys-Virt-0.2.4
virtual/perl-Getopt-Long
virtual/perl-Data-Dumper
dev-perl/libintl-perl
>=app-misc/hivex-1.3.1[perl?]
dev-perl/String-ShellQuote
)
fuse? ( sys-fs/fuse )
introspection? (
>=dev-libs/gobject-introspection-1.30.0
dev-libs/gjs
)
selinux? ( sys-libs/libselinux sys-libs/libsemanage )
systemtap? ( dev-util/systemtap )
ocaml? ( dev-lang/ocaml[ocamlopt] dev-ml/findlib[ocamlopt] )
erlang? ( dev-lang/erlang )
"
DEPEND="${COMMON_DEPEND}
dev-util/gperf
doc? ( app-text/po4a )
ruby? ( dev-lang/ruby virtual/rubygems dev-ruby/rake )
"
RDEPEND="${COMMON_DEPEND}"
PATCHES=(${FILESDIR}/1.17/*.patch)
DOCS=(AUTHORS BUGS HACKING README RELEASE-NOTES ROADMAP TODO)
pkg_pretend() {
CHECKREQS_DISK_BUILD="5G"
CHECKREQS_DISK_USR="5G"
check-reqs_pkg_pretend
}
pkg_setup () {
CONFIG_CHECK="~KVM ~VIRTIO"
[ -n "${CONFIG_CHECK}" ] && check_extra_config;
}
src_prepare() {
autotools-utils_src_prepare
}
src_configure() {
# Disable feature test for kvm for more reason
# i.e: not loaded module in __build__ time,
# build server not supported kvm, etc. ...
#
# In fact, this feature is virtio support and requires
# configured kernel.
export vmchannel_test=no
local myeconfargs=(
--disable-appliance
--disable-daemon
--with-drive-if=virtio
--with-net-if=virtio-net-pci
--with-extra="-gentoo"
--with-readline
--disable-php
--disable-python
--disable-java
$(use_enable nls)
$(use_enable perl)
$(use_enable fuse)
$(use_enable ocaml)
$(use_enable ruby)
--disable-haskell
$(use_enable doc)
$(use_enable introspection gobject)
$(use_enable erlang)
)
autotools-utils_src_configure
}
src_compile() {
autotools-utils_src_compile
}
src_test() {
autotools-utils_src_test
}
src_install() {
strip-linguas -i po
autotools-utils_src_install "LINGUAS=""${LINGUAS}"""
use bash-completion && dobashcomp "${D}/etc"/bash_completion.d/guestfish-bash-completion.sh
rm -fr "${D}/etc"/bash* || die
insinto /usr/share/guestfs/
doins -r "${WORKDIR}"/appliance
newenvd "${FILESDIR}"/env.file 99"${PN}"
use perl && fixlocalpod
}

View file

@ -1 +1,2 @@
DIST lxc-0.7.5.tar.gz 265562 RMD160 93407be1ebf31bdcfa617e60672d9f86ba2940d1 SHA1 9712dccdcd2c10a522134fa17384a5b9e38fce0e SHA256 019ec63f250c874bf7625b1f1bf555b1a6e3a947937a4fca73100abddf829b1c
DIST lxc-0.8.0-rc1.tar.gz 301029 RMD160 3480209a82f361f11a1476d5e92d747bcf751e8b SHA1 6e9a641b3ca06ad034712ecf437588c4585ff40e SHA256 32bf83902c07387646c55de440d6d12cf61bd54c97417109c2d1ac47d17cb911

View file

@ -0,0 +1,89 @@
diff --git a/configure.ac b/configure.ac
index e8f0cb5..8c0864a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -12,11 +12,7 @@ AM_PROG_CC_C_O
AC_GNU_SOURCE
AC_CHECK_PROG(SETCAP, setcap, yes, no, $PATH$PATH_SEPARATOR/sbin)
-AC_ARG_ENABLE([rpath],
- [AC_HELP_STRING([--disable-rpath], [do not set rpath in executables])],
- [], [enable_rpath=yes])
-
-AM_CONDITIONAL([ENABLE_RPATH], [test "x$enable_rpath" = "xyes"])
+LT_INIT
AC_ARG_ENABLE([doc],
[AC_HELP_STRING([--enable-doc], [make mans (require docbook2man installed) [default=auto]])],
diff --git a/src/lxc/Makefile.am b/src/lxc/Makefile.am
index 3a3816e..4c72dc9 100644
--- a/src/lxc/Makefile.am
+++ b/src/lxc/Makefile.am
@@ -15,11 +15,9 @@ pkginclude_HEADERS = \
state.h \
attach.h
-sodir=$(libdir)
-# use PROGRAMS to avoid complains from automake
-so_PROGRAMS = liblxc.so
+lib_LTLIBRARIES = liblxc-@VERSION@.la
-liblxc_so_SOURCES = \
+liblxc_@VERSION@_la_SOURCES = \
arguments.c arguments.h \
commands.c commands.h \
start.c start.h \
@@ -60,13 +58,10 @@ AM_CFLAGS=-I$(top_srcdir)/src \
-DLXCPATH=\"$(LXCPATH)\" \
-DLXCINITDIR=\"$(LXCINITDIR)\"
-liblxc_so_CFLAGS = -fPIC -DPIC $(AM_CFLAGS)
+liblxc_@VERSION@_la_LDFLAGS = \
+ -avoid-version
-liblxc_so_LDFLAGS = \
- -shared \
- -Wl,-soname,liblxc.so.$(firstword $(subst ., ,$(VERSION)))
-
-liblxc_so_LDADD = -lutil $(CAP_LIBS)
+liblxc_@VERSION@_la_LIBADD = -lutil $(CAP_LIBS)
bin_SCRIPTS = \
lxc-ps \
@@ -100,11 +95,7 @@ bin_PROGRAMS = \
pkglibexec_PROGRAMS = \
lxc-init
-AM_LDFLAGS = -Wl,-E
-if ENABLE_RPATH
-AM_LDFLAGS += -Wl,-rpath -Wl,$(libdir)
-endif
-LDADD=liblxc.so @CAP_LIBS@
+LDADD=liblxc-@VERSION@.la
lxc_attach_SOURCES = lxc_attach.c
lxc_cgroup_SOURCES = lxc_cgroup.c
@@ -114,6 +105,7 @@ lxc_execute_SOURCES = lxc_execute.c
lxc_freeze_SOURCES = lxc_freeze.c
lxc_info_SOURCES = lxc_info.c
lxc_init_SOURCES = lxc_init.c
+lxc_init_LDFLAGS = -all-static
lxc_monitor_SOURCES = lxc_monitor.c
lxc_restart_SOURCES = lxc_restart.c
lxc_start_SOURCES = lxc_start.c
@@ -123,15 +115,6 @@ lxc_unshare_SOURCES = lxc_unshare.c
lxc_wait_SOURCES = lxc_wait.c
lxc_kill_SOURCES = lxc_kill.c
-install-exec-local: install-soPROGRAMS
- mv $(DESTDIR)$(libdir)/liblxc.so $(DESTDIR)$(libdir)/liblxc.so.$(VERSION)
- /sbin/ldconfig -l $(DESTDIR)$(libdir)/liblxc.so.$(VERSION)
- cd $(DESTDIR)$(libdir); \
- ln -sf liblxc.so.$(firstword $(subst ., ,$(VERSION))) liblxc.so
-
-uninstall-local:
- $(RM) $(DESTDIR)$(libdir)/liblxc.so*
-
namespace.c: setns.h
setns.h:

View file

@ -0,0 +1,119 @@
#!/sbin/runscript
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/lxc/files/lxc.initd.2,v 1.1 2012/03/24 00:29:00 flameeyes Exp $
CONTAINER=${SVCNAME#*.}
lxc_get_configfile() {
if [ -f "/etc/lxc/${CONTAINER}.conf" ]; then
echo "/etc/lxc/${CONTAINER}.conf"
elif [ -f "/etc/lxc/${CONTAINER}/config" ]; then
echo "/etc/lxc/${CONTAINER}/config"
else
eerror "Unable to find a suitable configuration file."
eerror "If you set up the contianer in a non-standard"
eerror "location, please set the CONFIGFILE variable."
return 1
fi
}
[ $CONTAINER != $SVCNAME ] && CONFIGFILE=${CONFIGFILE:-$(lxc_get_configfile)}
lxc_get_var() {
awk 'BEGIN { FS="[ \t]*=[ \t]*" } $1 == "'$1'" { print $2; exit }' ${CONFIGFILE}
}
checkconfig() {
if [ ${CONTAINER} = ${SVCNAME} ]; then
eerror "You have to create an init script for each container:"
eerror " ln -s lxc /etc/init.d/lxc.container"
return 1
fi
# no need to output anything, the function takes care of that.
[ -z "${CONFIGFILE}" ] && return 1
utsname=$(lxc_get_var lxc.utsname)
if [ ${CONTAINER} != ${utsname} ]; then
eerror "You should use the same name for the service and the"
eerror "container. Right now the container is called ${utsname}"
return 1
fi
}
depend() {
# be quiet, since we have to run depend() also for the
# non-muxed init script, unfortunately.
checkconfig 2>/dev/null || return 0
config ${CONFIGFILE}
need localmount
# find out which network interface the container is linked to,
# and then require that to be enabled, so that the
# dependencies are correct.
netif=$(lxc_get_var lxc.network.link)
[ -n "${netif}" ] && use net.${netif}
}
start() {
checkconfig || return 1
rm /var/log/lxc/${CONTAINER}.log
rootpath=$(lxc_get_var lxc.rootfs)
# Check the format of our init and the chroot's init, to see if we
# have to use linux32 or linux64...
case $(scanelf -BF '%M#f' /sbin/init ${rootpath}/sbin/init | tr '\n' ':') in
ELFCLASS64:ELFCLASS64:) setarch=;;
ELFCLASS32:ELFCLASS32:) setarch=;;
ELFCLASS32:ELFCLASS64:) setarch=linux64;;
ELFCLASS64:ELFCLASS32:) setarch=linux32;;
esac
ebegin "Starting ${CONTAINER}"
env -i ${setarch} $(type -p lxc-start) -l WARN -n ${CONTAINER} -f ${CONFIGFILE} -d -o /var/log/lxc/${CONTAINER}.log
sleep 0.5
# lxc-start -d will _always_ report a correct startup, even if it
# failed, so rather than trust that, check that the cgroup exists.
[ -d /sys/fs/cgroup/cpuset/lxc/${CONTAINER} ]
eend $?
}
stop() {
checkconfig || return 1
if ! [ -d /sys/fs/cgroup/cpuset/lxc/${CONTAINER} ]; then
ewarn "${CONTAINER} doesn't seem to be started."
return 0
fi
init_pid=$(lxc-info -n ${CONTAINER} --pid | cut -d: -f 2)
if [ "${init_pid}" = "-1" ]; then
ewarn "${CONTAINER} doesn't seem to be running."
return 0
fi
ebegin "Shutting down system in ${CONTAINER}"
kill -INT ${init_pid}
eend $?
TIMEOUT=${TIMEOUT:-30}
i=0
while [ -n "$(pgrep -P ${init_pid})" -a $i -lt ${TIMEOUT} ]; do
sleep 1
i=$(expr $i + 1)
done
if [ -n "${missingprocs}" ]; then
ewarn "Something failed to properly shut down in ${CONTAINER}"
fi
ebegin "Stopping ${CONTAINER}"
lxc-stop -n ${CONTAINER}
eend $?
}

View file

@ -0,0 +1,126 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/lxc/lxc-0.8.0_rc1-r1.ebuild,v 1.1 2012/03/24 01:37:40 flameeyes Exp $
EAPI="4"
MY_P="${P/_/-}"
inherit eutils linux-info versionator flag-o-matic autotools
DESCRIPTION="LinuX Containers userspace utilities"
HOMEPAGE="http://lxc.sourceforge.net/"
SRC_URI="http://lxc.sourceforge.net/download/lxc/${MY_P}.tar.gz"
S="${WORKDIR}/${MY_P}"
KEYWORDS="~amd64 ~ppc64 ~x86"
LICENSE="LGPL-3"
SLOT="0"
IUSE="examples vanilla"
RDEPEND="sys-libs/libcap"
DEPEND="${RDEPEND}
app-text/docbook-sgml-utils
>=sys-kernel/linux-headers-2.6.29"
# For init script, so protect with vanilla, they are not strictly
# needed.
RDEPEND="${RDEPEND}
vanilla? (
sys-apps/util-linux
app-misc/pax-utils
)"
CONFIG_CHECK="~CGROUPS
~CPUSETS ~CGROUP_CPUACCT
~RESOURCE_COUNTERS ~CGROUP_MEM_RES_CTLR
~CGROUP_SCHED
~NAMESPACES
~IPC_NS ~USER_NS ~PID_NS
~DEVPTS_MULTIPLE_INSTANCES
~CGROUP_FREEZER
~UTS_NS ~NET_NS
~VETH ~MACVLAN
~POSIX_MQUEUE
~!NETPRIO_CGROUP"
ERROR_DEVPTS_MULTIPLE_INSTANCES="CONFIG_DEVPTS_MULTIPLE_INSTANCES: needed for pts inside container"
ERROR_CGROUP_FREEZER="CONFIG_CGROUP_FREEZER: needed to freeze containers"
ERROR_UTS_NS="CONFIG_UTS_NS: needed to unshare hostnames and uname info"
ERROR_NET_NS="CONFIG_NET_NS: needed for unshared network"
ERROR_VETH="CONFIG_VETH: needed for internal (host-to-container) networking"
ERROR_MACVLAN="CONFIG_MACVLAN: needed for internal (inter-container) networking"
ERROR_POSIX_MQUEUE="CONFIG_POSIX_MQUEUE: needed for lxc-execute command"
ERROR_NETPRIO_CGROUP="CONFIG_NETPRIO_CGROUP: as of kernel 3.3 and lxc 0.8.0_rc1 this causes LXCs to fail booting."
DOCS=(AUTHORS CONTRIBUTING MAINTAINERS TODO README doc/FAQ.txt)
src_prepare() {
if ! use vanilla; then
epatch "${FILESDIR}/${P}-libtoolize.patch"
eautoreconf
fi
}
src_configure() {
append-flags -fno-strict-aliasing
econf \
--localstatedir=/var \
--bindir=/usr/sbin \
--docdir=/usr/share/doc/${PF} \
--with-config-path=/etc/lxc \
--with-rootfs-path=/usr/lib/lxc/rootfs \
--with-linuxdir="${KERNEL_DIR}" \
--enable-doc \
$(use_enable examples)
}
src_install() {
default
rm -r "${D}"/usr/sbin/lxc-{setcap,ls} \
"${D}"/usr/share/man/man1/lxc-ls.1 \
|| die "unable to remove extraenous content"
keepdir /etc/lxc /usr/lib/lxc/rootfs
find "${D}" -name '*.la' -delete
use vanilla && return 0
# Gentoo-specific additions!
newinitd "${FILESDIR}/${PN}.initd.2" ${PN}
keepdir /var/log/lxc
}
pkg_postinst() {
if ! use vanilla; then
elog "There is an init script provided with the package now; no documentation"
elog "is currently available though, so please check out /etc/init.d/lxc ."
elog "You _should_ only need to symlink it to /etc/init.d/lxc.configname"
elog "to start the container defined into /etc/lxc/configname.conf ."
elog "For further information about LXC development see"
elog "http://blog.flameeyes.eu/tag/lxc" # remove once proper doc is available
elog ""
fi
ewarn "With version 0.7.4, the mountpoint syntax came back to the one used by 0.7.2"
ewarn "and previous versions. This means you'll have to use syntax like the following"
ewarn ""
ewarn " lxc.rootfs = /container"
ewarn " lxc.mount.entry = /usr/portage /container/usr/portage none bind 0 0"
ewarn ""
ewarn "To use the Fedora, Debian and (various) Ubuntu auto-configuration scripts, you"
ewarn "will need sys-apps/yum or dev-util/debootstrap."
}

View file

@ -0,0 +1,118 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/lxc/lxc-0.8.0_rc1.ebuild,v 1.1 2012/03/24 00:29:00 flameeyes Exp $
EAPI="4"
MY_P="${P/_/-}"
inherit eutils linux-info versionator flag-o-matic
DESCRIPTION="LinuX Containers userspace utilities"
HOMEPAGE="http://lxc.sourceforge.net/"
SRC_URI="http://lxc.sourceforge.net/download/lxc/${MY_P}.tar.gz"
S="${WORKDIR}/${MY_P}"
KEYWORDS="~amd64 ~ppc64 ~x86"
LICENSE="LGPL-3"
SLOT="0"
IUSE="examples vanilla"
RDEPEND="sys-libs/libcap"
DEPEND="${RDEPEND}
app-text/docbook-sgml-utils
>=sys-kernel/linux-headers-2.6.29"
# For init script, so protect with vanilla, they are not strictly
# needed.
RDEPEND="${RDEPEND}
vanilla? (
sys-apps/util-linux
app-misc/pax-utils
)"
CONFIG_CHECK="~CGROUPS
~CPUSETS ~CGROUP_CPUACCT
~RESOURCE_COUNTERS ~CGROUP_MEM_RES_CTLR
~CGROUP_SCHED
~NAMESPACES
~IPC_NS ~USER_NS ~PID_NS
~DEVPTS_MULTIPLE_INSTANCES
~CGROUP_FREEZER
~UTS_NS ~NET_NS
~VETH ~MACVLAN
~POSIX_MQUEUE
~!NETPRIO_CGROUP"
ERROR_DEVPTS_MULTIPLE_INSTANCES="CONFIG_DEVPTS_MULTIPLE_INSTANCES: needed for pts inside container"
ERROR_CGROUP_FREEZER="CONFIG_CGROUP_FREEZER: needed to freeze containers"
ERROR_UTS_NS="CONFIG_UTS_NS: needed to unshare hostnames and uname info"
ERROR_NET_NS="CONFIG_NET_NS: needed for unshared network"
ERROR_VETH="CONFIG_VETH: needed for internal (host-to-container) networking"
ERROR_MACVLAN="CONFIG_MACVLAN: needed for internal (inter-container) networking"
ERROR_POSIX_MQUEUE="CONFIG_POSIX_MQUEUE: needed for lxc-execute command"
ERROR_NETPRIO_CGROUP="CONFIG_NETPRIO_CGROUP: as of kernel 3.3 and lxc 0.8.0_rc1 this causes LXCs to fail booting."
DOCS=(AUTHORS CONTRIBUTING MAINTAINERS TODO README doc/FAQ.txt)
src_configure() {
append-flags -fno-strict-aliasing
econf \
--localstatedir=/var \
--bindir=/usr/sbin \
--docdir=/usr/share/doc/${PF} \
--with-config-path=/etc/lxc \
--with-rootfs-path=/usr/lib/lxc/rootfs \
--with-linuxdir="${KERNEL_DIR}" \
--enable-doc \
$(use_enable examples)
}
src_install() {
default
rm -r "${D}"/usr/sbin/lxc-{setcap,ls} \
"${D}"/usr/share/man/man1/lxc-ls.1 \
|| die "unable to remove extraenous content"
keepdir /etc/lxc /usr/lib/lxc/rootfs
find "${D}" -name '*.la' -delete
use vanilla && return 0
# Gentoo-specific additions!
newinitd "${FILESDIR}/${PN}.initd.2" ${PN}
keepdir /var/log/lxc
}
pkg_postinst() {
if ! use vanilla; then
elog "There is an init script provided with the package now; no documentation"
elog "is currently available though, so please check out /etc/init.d/lxc ."
elog "You _should_ only need to symlink it to /etc/init.d/lxc.configname"
elog "to start the container defined into /etc/lxc/configname.conf ."
elog "For further information about LXC development see"
elog "http://blog.flameeyes.eu/tag/lxc" # remove once proper doc is available
elog ""
fi
ewarn "With version 0.7.4, the mountpoint syntax came back to the one used by 0.7.2"
ewarn "and previous versions. This means you'll have to use syntax like the following"
ewarn ""
ewarn " lxc.rootfs = /container"
ewarn " lxc.mount.entry = /usr/portage /container/usr/portage none bind 0 0"
ewarn ""
ewarn "To use the Fedora, Debian and (various) Ubuntu auto-configuration scripts, you"
ewarn "will need sys-apps/yum or dev-util/debootstrap."
}

View file

@ -1,2 +1,3 @@
DIST open-vm-tools-2011.11.20-535097.tar.gz 3493786 RMD160 849ceae5bc09fd726d847db904742ad2dbdcd89a SHA1 12ab8092a9622c6155f35193a383e2db471703b9 SHA256 0380699e63b12f3769ea46250dd1364a83bde56155d287da0868f7352b5748b1
DIST open-vm-tools-8.8.1-528969.tar.gz 3761288 RMD160 48671cd3b86b6d8ab1e764945baa18c8ef021066 SHA1 505aba7961402927f1bbe22329304edb6090c23f SHA256 eba9dfb87b3f1bcea9b956e417e5bbaefe1ff20b41ddcf1f49035f5cfb3c56c1
DIST open-vm-tools-2012.03.13-651368.tar.gz 3551741 RMD160 3b0c6b8f0561d8b6703056eb66fd754cb20762d0 SHA1 190f843d63585c128f2a9f3d3a912ac6cd6df462 SHA256 f173071705aec3c835d2a2d3f8ae8178defff216c706b23765d0c932171e6795
DIST open-vm-tools-8.8.2-590212.tar.gz 3795261 RMD160 67e95c0b8a3c8b433bb5f30f186b7ae9d4cacc83 SHA1 8bc165bdda760dcf3723ffcc9d5f72a5beeff88d SHA256 c985c8fe7b292209ec1ac7c2b60749d7a9dd7859d789c332deb6baaf53ba8878

View file

@ -1,12 +0,0 @@
diff --git a/modules/linux/vmhgfs/tcp.c b/modules/linux/vmhgfs/tcp.c
index c7070a6..31a40df 100644
--- a/modules/linux/vmhgfs/tcp.c
+++ b/modules/linux/vmhgfs/tcp.c
@@ -32,6 +32,7 @@
#include <linux/in.h>
#include <linux/net.h>
#include <linux/inet.h>
+#include <linux/moduleparam.h>
#include <linux/errno.h>
#include <linux/kthread.h>

View file

@ -1,45 +0,0 @@
diff --git a/modules/linux/vmhgfs/fsutil.c b/modules/linux/vmhgfs/fsutil.c
index 0c5102b..a978005 100644
--- a/modules/linux/vmhgfs/fsutil.c
+++ b/modules/linux/vmhgfs/fsutil.c
@@ -62,6 +62,31 @@ static int HgfsPackGetattrRequest(HgfsReq *req,
* Private function implementations.
*/
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 2, 0)
+/*
+ *----------------------------------------------------------------------------
+ *
+ * set_nlink --
+ *
+ * Set an inode's link count.
+ *
+ * Results:
+ * None
+ *
+ * Side effects:
+ * None
+ *
+ *----------------------------------------------------------------------------
+ */
+
+static inline void
+set_nlink(struct inode *inode, unsigned int nlink)
+{
+ inode->i_nlink = nlink;
+}
+#endif
+
+
/*
*----------------------------------------------------------------------
*
@@ -607,7 +632,7 @@ HgfsChangeFileAttributes(struct inode *inode, // IN/OUT: Inode
* account for '.' and ".."), and find printed a hard link error. So until
* we have getattr support for nlink, everyone gets 1.
*/
- inode->i_nlink = 1;
+ set_nlink(inode, 1);
/*
* Use the stored uid and gid if we were given them at mount-time, or if

View file

@ -0,0 +1,76 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-2012.03.13.651368.ebuild,v 1.1 2012/03/24 12:55:45 vadimk Exp $
EAPI="4"
inherit linux-mod versionator
MY_PN="${PN/-kmod}"
MY_PV="$(replace_version_separator 3 '-')"
MY_P="${MY_PN}-${MY_PV}"
DESCRIPTION="Opensourced tools for VMware guests"
HOMEPAGE="http://open-vm-tools.sourceforge.net/"
SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}.tar.gz"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=""
DEPEND="${RDEPEND}
virtual/linux-sources
"
S="${WORKDIR}/${MY_P}"
pkg_setup() {
linux-mod_pkg_setup
VMWARE_MOD_DIR="modules/linux"
VMWARE_MODULE_LIST="vmblock vmci vmhgfs vmsync vmxnet vsock"
MODULE_NAMES=""
BUILD_TARGETS="auto-build HEADER_DIR=${KERNEL_DIR}/include BUILD_DIR=${KV_OUT_DIR} OVT_SOURCE_DIR=${S}"
for mod in ${VMWARE_MODULE_LIST};
do
if [ "${mod}" == "vmxnet" ];
then
MODTARGET="net"
else
MODTARGET="openvmtools"
fi
MODULE_NAMES="${MODULE_NAMES} ${mod}(${MODTARGET}:${S}/${VMWARE_MOD_DIR}/${mod})"
done
}
src_prepare() {
sed -i.bak -e '/\smake\s/s/make/$(MAKE)/g' modules/linux/{vmblock,vmci,vmhgfs,vmsync,vmxnet,vsock}/Makefile\
|| die "Sed failed."
}
src_configure() {
: # do nothing at all
}
src_install() {
linux-mod_src_install
local udevrules="${T}/60-vmware.rules"
cat > "${udevrules}" <<-EOF
KERNEL=="vsock", GROUP="vmware", MODE=660
EOF
insinto /etc/udev/rules.d/
doins "${udevrules}"
}
pkg_postinst() {
linux-mod_pkg_postinst
elog "vmxnet3 for Linux is now upstream (as of Linux 2.6.32)"
elog "pvscsi for Linux is now upstream (vmw_pvscsi) (as of Linux 2.6.33)"
elog "vmmemctl for Linux is now upstream (vmw_balloon) (as of Linux 2.6.34)"
}

View file

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-8.8.1.528969.ebuild,v 1.2 2012/02/04 16:34:59 vadimk Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-8.8.2.590212.ebuild,v 1.1 2012/03/24 12:55:45 vadimk Exp $
EAPI="4"
@ -51,8 +51,6 @@ pkg_setup() {
src_prepare() {
sed -i.bak -e '/\smake\s/s/make/$(MAKE)/g' modules/linux/{vmblock,vmci,vmhgfs,vmsync,vmxnet,vsock}/Makefile\
|| die "Sed failed."
kernel_is ge 3 2 0 && epatch "${FILESDIR}/moduleparam.patch"
kernel_is ge 3 2 0 && epatch "${FILESDIR}/setnlink.patch"
kernel_is ge 3 2 0 && epatch "${FILESDIR}/fragsize.patch"
}

View file

@ -1,2 +1,3 @@
DIST open-vm-tools-2011.11.20-535097.tar.gz 3493786 RMD160 849ceae5bc09fd726d847db904742ad2dbdcd89a SHA1 12ab8092a9622c6155f35193a383e2db471703b9 SHA256 0380699e63b12f3769ea46250dd1364a83bde56155d287da0868f7352b5748b1
DIST open-vm-tools-8.8.1-528969.tar.gz 3761288 RMD160 48671cd3b86b6d8ab1e764945baa18c8ef021066 SHA1 505aba7961402927f1bbe22329304edb6090c23f SHA256 eba9dfb87b3f1bcea9b956e417e5bbaefe1ff20b41ddcf1f49035f5cfb3c56c1
DIST open-vm-tools-2012.03.13-651368.tar.gz 3551741 RMD160 3b0c6b8f0561d8b6703056eb66fd754cb20762d0 SHA1 190f843d63585c128f2a9f3d3a912ac6cd6df462 SHA256 f173071705aec3c835d2a2d3f8ae8178defff216c706b23765d0c932171e6795
DIST open-vm-tools-8.8.2-590212.tar.gz 3795261 RMD160 67e95c0b8a3c8b433bb5f30f186b7ae9d4cacc83 SHA1 8bc165bdda760dcf3723ffcc9d5f72a5beeff88d SHA256 c985c8fe7b292209ec1ac7c2b60749d7a9dd7859d789c332deb6baaf53ba8878

View file

@ -0,0 +1,114 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-2012.03.13.651368.ebuild,v 1.1 2012/03/24 12:56:26 vadimk Exp $
EAPI="4"
inherit eutils pam versionator flag-o-matic toolchain-funcs
MY_PV="$(replace_version_separator 3 '-')"
MY_P="${PN}-${MY_PV}"
DESCRIPTION="Opensourced tools for VMware guests"
HOMEPAGE="http://open-vm-tools.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="X doc fuse icu +pic xinerama"
RDEPEND="app-emulation/open-vm-tools-kmod
dev-libs/glib:2
dev-libs/libdnet
sys-apps/ethtool
sys-process/procps
virtual/pam
X? (
dev-cpp/gtkmm:2.4
x11-base/xorg-server
x11-drivers/xf86-input-vmmouse
x11-drivers/xf86-video-vmware
x11-libs/gtk+:2
x11-libs/libnotify
x11-libs/libX11
x11-libs/libXtst
)
fuse? ( sys-fs/fuse )
icu? ( dev-libs/icu )
xinerama? ( x11-libs/libXinerama )
"
DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )
dev-util/pkgconfig
virtual/linux-sources
sys-apps/findutils
"
S="${WORKDIR}/${MY_P}"
pkg_setup() {
enewgroup vmware
}
src_prepare() {
# Do not filter out Werror
# Upstream Bug http://sourceforge.net/tracker/?func=detail&aid=2959749&group_id=204462&atid=989708
# sed -i -e 's/CFLAGS=.*Werror/#&/g' configure || die "sed comment out Werror failed"
sed -i -e 's:\(TEST_PLUGIN_INSTALLDIR=\).*:\1\$libdir/open-vm-tools/plugins/tests:g' configure || die "sed test_plugin_installdir failed"
}
src_configure() {
# http://bugs.gentoo.org/402279
if has_version '>=sys-process/procps-3.3.2'; then
export CUSTOM_PROCPS_NAME=procps
export CUSTOM_PROCPS_LIBS="$($(tc-getPKG_CONFIG) --libs libprocps)"
fi
econf \
--with-procps \
--with-dnet \
--without-kernel-modules \
$(use_enable doc docs) \
--docdir=/usr/share/doc/${PF} \
$(use_with X x) \
$(use_with X gtk2) \
$(use_with X gtkmm) \
$(use_with icu) \
$(use_with pic) \
$(use_enable xinerama multimon)
# Bugs 260878, 326761
find ./ -name Makefile | xargs sed -i -e 's/-Werror//g' || die "sed out Werror failed"
}
src_install() {
default
rm "${D}"/etc/pam.d/vmtoolsd
pamd_mimic_system vmtoolsd auth account
rm "${D}"/usr/$(get_libdir)/*.la
rm "${D}"/usr/$(get_libdir)/open-vm-tools/plugins/common/*.la
newinitd "${FILESDIR}/open-vm-tools.initd" vmware-tools
newconfd "${FILESDIR}/open-vm-tools.confd" vmware-tools
exeinto /etc/vmware-tools/scripts/vmware/
doexe "${FILESDIR}"/network
if use X;
then
fperms 4755 "/usr/bin/vmware-user-suid-wrapper"
dobin "${S}"/scripts/common/vmware-xdg-detect-de
insinto /etc/xdg/autostart
doins "${FILESDIR}/open-vm-tools.desktop"
elog "To be able to use the drag'n'drop feature of VMware for file"
elog "exchange, please add the users to the 'vmware' group."
fi
elog "Add 'vmware-tools' service to the default runlevel."
}

View file

@ -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-emulation/open-vm-tools/open-vm-tools-8.8.1.528969.ebuild,v 1.1 2011/12/03 18:34:42 vadimk Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-8.8.2.590212.ebuild,v 1.1 2012/03/24 12:56:26 vadimk Exp $
EAPI="4"

View file

@ -0,0 +1,28 @@
From: Nathan Phillip Brink <binki@gentoo.org>
Fix detection of pulseaudio caused by not including the headers which
define NULL.
--- a/configure
+++ b/configure
@@ -1004,7 +1004,9 @@
lib=$3
exp=$4
cfl=$5
+ prologue=${6}
cat > $TMPC << EOF
+${prologue}
#include <$hdr>
int main(void) { $exp }
EOF
@@ -1044,7 +1046,8 @@
pa)
audio_drv_probe $drv pulse/simple.h -lpulse-simple \
- "pa_simple *s = NULL; pa_simple_free(s); return 0;"
+ "pa_simple *s = NULL; pa_simple_free(s); return 0;" \
+ '' '#include <stddef.h> /* NULL */'
;;
oss|sdl|core|wav|dsound)

View file

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-0.11.1-r1.ebuild,v 1.2 2012/03/18 13:41:00 ssuominen Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-0.11.1-r1.ebuild,v 1.3 2012/03/24 22:49:33 slyfox Exp $
EAPI="2"
@ -62,6 +62,7 @@ src_prepare() {
sed -i 's/$(LDFLAGS)/$(QEMU_CFLAGS) $(CFLAGS) $(LDFLAGS)/' rules.mak
epatch "${FILESDIR}/qemu-0.11.0-mips64-user-fix.patch"
epatch "${FILESDIR}/qemu-0.11.1-CVE-2012-0029-backport.patch"
epatch "${FILESDIR}"/${P}-cfg-pulse.patch #384847
}
src_configure() {

View file

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-0.11.1.ebuild,v 1.8 2012/03/18 13:41:00 ssuominen Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-0.11.1.ebuild,v 1.9 2012/03/24 22:49:33 slyfox Exp $
EAPI="2"
@ -61,6 +61,7 @@ src_prepare() {
# Append CFLAGS while linking
sed -i 's/$(LDFLAGS)/$(QEMU_CFLAGS) $(CFLAGS) $(LDFLAGS)/' rules.mak
epatch "${FILESDIR}/qemu-0.11.0-mips64-user-fix.patch"
epatch "${FILESDIR}"/${P}-cfg-pulse.patch #384847
}
src_configure() {

View file

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtinst/virtinst-0.600.1.ebuild,v 1.2 2012/03/13 13:03:42 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtinst/virtinst-0.600.1.ebuild,v 1.3 2012/03/24 17:11:35 phajdan.jr Exp $
#BACKPORTS=2
@ -24,7 +24,7 @@ else
SRC_URI="http://virt-manager.et.redhat.com/download/sources/${PN}/${P}.tar.gz
${BACKPORTS:+mirror://gentoo/${P}-bp-${BACKPORTS}.tar.bz2
http://dev.gentoo.org/~cardoe/distfiles/${P}-bp-${BACKPORTS}.tar.bz2}"
KEYWORDS="amd64 ~x86"
KEYWORDS="amd64 x86"
fi
DESCRIPTION="Python modules for starting virtualized guest installations"

View file

@ -0,0 +1,13 @@
Index: VirtualBox-4.1.10/configure
===================================================================
--- VirtualBox-4.1.10.orig/configure
+++ VirtualBox-4.1.10/configure
@@ -1941,7 +1941,7 @@ check_gsoap()
else
cnf_append "VBOX_GSOAP_CXX_SOURCES" ""
fi
- cnf_append "VBOX_GSOAP_CXX_LIBS" "libgsoap++"
+ cnf_append "VBOX_GSOAP_CXX_LIBS" "libgsoapssl++"
log_success "found"
else
log_failure "stlvector.h not found -- disabling webservice"

View file

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/virtualbox-4.1.10.ebuild,v 1.1 2012/03/15 10:01:31 polynomial-c Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/virtualbox-4.1.10.ebuild,v 1.2 2012/03/23 20:18:07 hwoarang Exp $
EAPI=4
@ -178,6 +178,11 @@ src_prepare() {
if gcc-specs-pie ; then
epatch "${FILESDIR}"/virtualbox_nopie.patch
fi
# Link to correct gsoap library. Bug #408569
# This has been fixed upstream and should be removed when virtualbox is
# bumped
epatch ${FILESDIR}/${P}-libgsoapssl.patch
}
src_configure() {

View file

@ -0,0 +1,170 @@
diff --git a/vmci-only/linux/driver.c b/vmci-only/linux/driver.c
index 921f25c..41a39e3 100644
--- a/vmci-only/linux/driver.c
+++ b/vmci-only/linux/driver.c
@@ -241,7 +241,24 @@ static unsigned int LinuxDriverPoll(struct file *file, poll_table *wait);
#define LinuxDriverUnlockIoctlPerFD(mutex) do {} while (0)
#endif
-static struct file_operations vmuser_fops;
+/*
+ * Moved file operations initialize here because of incompatibilites
+ * with Gentoo hardened profile/hardend Linux 3.
+ */
+static struct file_operations vmuser_fops = {
+ .owner = THIS_MODULE,
+ .poll = LinuxDriverPoll,
+#ifdef HAVE_UNLOCKED_IOCTL
+ .unlocked_ioctl = LinuxDriver_UnlockedIoctl,
+#else
+ .ioctl = LinuxDriver_Ioctl,
+#endif
+#ifdef HAVE_COMPAT_IOCTL
+ .compat_ioctl = LinuxDriver_UnlockedIoctl,
+#endif
+ .open = LinuxDriver_Open,
+ .release = LinuxDriver_Close
+};
/*
@@ -378,26 +395,6 @@ vmci_host_init(void)
return -ENOMEM;
}
- /*
- * Initialize the file_operations structure. Because this code is always
- * compiled as a module, this is fine to do it here and not in a static
- * initializer.
- */
-
- memset(&vmuser_fops, 0, sizeof vmuser_fops);
- vmuser_fops.owner = THIS_MODULE;
- vmuser_fops.poll = LinuxDriverPoll;
-#ifdef HAVE_UNLOCKED_IOCTL
- vmuser_fops.unlocked_ioctl = LinuxDriver_UnlockedIoctl;
-#else
- vmuser_fops.ioctl = LinuxDriver_Ioctl;
-#endif
-#ifdef HAVE_COMPAT_IOCTL
- vmuser_fops.compat_ioctl = LinuxDriver_UnlockedIoctl;
-#endif
- vmuser_fops.open = LinuxDriver_Open;
- vmuser_fops.release = LinuxDriver_Close;
-
sprintf(linuxState.deviceName, "vmci");
linuxState.major = 10;
linuxState.misc.minor = MISC_DYNAMIC_MINOR;
diff --git a/vmmon-only/linux/driver.c b/vmmon-only/linux/driver.c
index b21dd44..960c2aa 100644
--- a/vmmon-only/linux/driver.c
+++ b/vmmon-only/linux/driver.c
@@ -178,7 +178,22 @@ static struct vm_operations_struct vmuser_mops = {
#endif
};
-static struct file_operations vmuser_fops;
+static struct file_operations vmuser_fops = {
+ .owner = THIS_MODULE,
+ .poll = LinuxDriverPoll,
+#ifdef HAVE_UNLOCKED_IOCTL
+ .unlocked_ioctl = LinuxDriver_UnlockedIoctl,
+#else
+ .ioctl = LinuxDriver_Ioctl,
+#endif
+#ifdef HAVE_COMPAT_IOCTL
+ .compat_ioctl = LinuxDriver_UnlockedIoctl,
+#endif
+ .open = LinuxDriver_Open,
+ .release = LinuxDriver_Close,
+ .mmap = LinuxDriverMmap
+};
+
static struct timer_list tscTimer;
/*
@@ -357,27 +372,6 @@ init_module(void)
spin_lock_init(&linuxState.pollListLock);
#endif
- /*
- * Initialize the file_operations structure. Because this code is always
- * compiled as a module, this is fine to do it here and not in a static
- * initializer.
- */
-
- memset(&vmuser_fops, 0, sizeof vmuser_fops);
- vmuser_fops.owner = THIS_MODULE;
- vmuser_fops.poll = LinuxDriverPoll;
-#ifdef HAVE_UNLOCKED_IOCTL
- vmuser_fops.unlocked_ioctl = LinuxDriver_UnlockedIoctl;
-#else
- vmuser_fops.ioctl = LinuxDriver_Ioctl;
-#endif
-#ifdef HAVE_COMPAT_IOCTL
- vmuser_fops.compat_ioctl = LinuxDriver_UnlockedIoctl;
-#endif
- vmuser_fops.open = LinuxDriver_Open;
- vmuser_fops.release = LinuxDriver_Close;
- vmuser_fops.mmap = LinuxDriverMmap;
-
#ifdef VMX86_DEVEL
devel_init_module();
linuxState.minor = 0;
diff --git a/vmnet-only/driver.c b/vmnet-only/driver.c
index b12b982..40bd4cf 100644
--- a/vmnet-only/driver.c
+++ b/vmnet-only/driver.c
@@ -165,7 +165,22 @@ static long VNetFileOpUnlockedIoctl(struct file * filp,
unsigned int iocmd, unsigned long ioarg);
#endif
-static struct file_operations vnetFileOps;
+static struct file_operations vnetFileOps = {
+ .owner = THIS_MODULE,
+ .read = VNetFileOpRead,
+ .write = VNetFileOpWrite,
+ .poll = VNetFileOpPoll,
+#ifdef HAVE_UNLOCKED_IOCTL
+ .unlocked_ioctl = VNetFileOpUnlockedIoctl,
+#else
+ .ioctl = VNetFileOpIoctl,
+#endif
+#ifdef HAVE_COMPAT_IOCTL
+ .compat_ioctl = VNetFileOpUnlockedIoctl,
+#endif
+ .open = VNetFileOpOpen,
+ .release = VNetFileOpClose
+};
/*
* Utility functions
@@ -476,28 +491,6 @@ init_module(void)
goto err_proto;
}
- /*
- * Initialize the file_operations structure. Because this code is always
- * compiled as a module, this is fine to do it here and not in a static
- * initializer.
- */
-
- memset(&vnetFileOps, 0, sizeof vnetFileOps);
- vnetFileOps.owner = THIS_MODULE;
- vnetFileOps.read = VNetFileOpRead;
- vnetFileOps.write = VNetFileOpWrite;
- vnetFileOps.poll = VNetFileOpPoll;
-#ifdef HAVE_UNLOCKED_IOCTL
- vnetFileOps.unlocked_ioctl = VNetFileOpUnlockedIoctl;
-#else
- vnetFileOps.ioctl = VNetFileOpIoctl;
-#endif
-#ifdef HAVE_COMPAT_IOCTL
- vnetFileOps.compat_ioctl = VNetFileOpUnlockedIoctl;
-#endif
- vnetFileOps.open = VNetFileOpOpen;
- vnetFileOps.release = VNetFileOpClose;
-
retval = register_chrdev(VNET_MAJOR_NUMBER, "vmnet", &vnetFileOps);
if (retval) {
LOG(0, (KERN_NOTICE "/dev/vmnet: could not register major device %d\n",

View file

@ -1,79 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-modules/vmware-modules-264.1.ebuild,v 1.2 2012/01/06 14:30:38 vadimk Exp $
EAPI="2"
inherit eutils flag-o-matic linux-info linux-mod versionator
PV_MAJOR=$(get_major_version)
PV_MINOR=$(get_version_component_range 2)
DESCRIPTION="VMware kernel modules"
HOMEPAGE="http://www.vmware.com/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=""
DEPEND="${RDEPEND}
|| ( =app-emulation/vmware-player-4.0.${PV_MINOR}*
=app-emulation/vmware-workstation-8.0.${PV_MINOR}* )"
S=${WORKDIR}
pkg_setup() {
CONFIG_CHECK="~HIGH_RES_TIMERS"
if kernel_is ge 2 6 37 && kernel_is lt 2 6 39; then
CONFIG_CHECK="${CONFIG_CHECK} BKL"
fi
linux-info_pkg_setup
linux-mod_pkg_setup
VMWARE_GROUP=${VMWARE_GROUP:-vmware}
VMWARE_MODULE_LIST="vmblock vmci vmmon vmnet vsock"
VMWARE_MOD_DIR="${PN}-${PVR}"
BUILD_TARGETS="auto-build KERNEL_DIR=${KERNEL_DIR} KBUILD_OUTPUT=${KV_OUT_DIR}"
enewgroup "${VMWARE_GROUP}"
filter-flags -mfpmath=sse
for mod in ${VMWARE_MODULE_LIST}; do
MODULE_NAMES="${MODULE_NAMES} ${mod}(misc:${S}/${mod}-only)"
done
}
src_unpack() {
cd "${S}"
for mod in ${VMWARE_MODULE_LIST}; do
tar -xf /opt/vmware/lib/vmware/modules/source/${mod}.tar
done
}
src_prepare() {
epatch "${FILESDIR}/${PV_MAJOR}-makefile-kernel-dir.patch"
epatch "${FILESDIR}/${PV_MAJOR}-makefile-include.patch"
epatch "${FILESDIR}/${PV_MAJOR}-jobserver.patch"
epatch "${FILESDIR}/${PV_MAJOR}-netdevice.patch"
epatch "${FILESDIR}/${PV_MAJOR}-3.2.0.patch"
}
src_install() {
linux-mod_src_install
local udevrules="${T}/60-vmware.rules"
cat > "${udevrules}" <<-EOF
KERNEL=="vmci", GROUP="vmware", MODE=660
KERNEL=="vmmon", GROUP="vmware", MODE=660
KERNEL=="vsock", GROUP="vmware", MODE=660
EOF
insinto /etc/udev/rules.d/
doins "${udevrules}"
}

View file

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-modules/vmware-modules-264.2.ebuild,v 1.1 2012/03/10 14:17:50 vadimk Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-modules/vmware-modules-264.2.ebuild,v 1.2 2012/03/24 12:37:01 vadimk Exp $
EAPI="2"
@ -17,7 +17,7 @@ SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
IUSE="hardened"
RDEPEND=""
DEPEND="${RDEPEND}
@ -64,6 +64,7 @@ src_prepare() {
epatch "${FILESDIR}/${PV_MAJOR}-jobserver.patch"
epatch "${FILESDIR}/${PV_MAJOR}-netdevice.patch"
epatch "${FILESDIR}/${PV}-3.2.0.patch"
use hardened && epatch "${FILESDIR}/hardened.patch"
}
src_install() {

View file

@ -1,6 +1,4 @@
DIST VMware-Player-3.1.5-491717.i386.bundle 107094686 RMD160 293941018c9dec86eee8161eac82c4079140070c SHA1 4156bdfb7f679114671b416d178028fdc4d3beb4 SHA256 8a614bb32b680ef5fe75f65de7e842ecd32caaab434ef94bc89565df03706b01
DIST VMware-Player-3.1.5-491717.x86_64.bundle 103019114 RMD160 b1a2544e5718474a1987389136a42034dfbc2ff2 SHA1 a253a486d6c6848620de200ef1837ced903daa1c SHA256 5aa1f01d09a1c39da06f3a314d3e47e75e80b4a345ef76dabe14e538fe3bc511
DIST VMware-Player-4.0.1-528992.i386.bundle 131763315 RMD160 bd26399b4044079fc95ecba62042b8ddab8709a7 SHA1 1f686ea7a6f3e13a390a5644581b809a27021ed5 SHA256 13eabb650f6746cad64a334abea3446dd8ab66ca386a4e13b7a3e77db8a95d6e
DIST VMware-Player-4.0.1-528992.x86_64.bundle 129509694 RMD160 c530e38d42222c2eec0f63e24ee24057b8d3dce9 SHA1 7332763867b6ed1978271a3335c7e135a1293210 SHA256 57f5e22c28827e4edf000aa44054cf62d886ed4c174cbb0ebe5e0e0eb6e9995c
DIST VMware-Player-4.0.2-591240.i386.bundle 131962526 RMD160 fd624e21895c8cd2c05e4bfe59f719e67aae0736 SHA1 a3973dd32a1a39644d30532dc4cb4c6216869415 SHA256 774bc82e6079b723d57029f6511c8f10ebba5f41d1ba862151a41040e172052a
DIST VMware-Player-4.0.2-591240.x86_64.bundle 129693508 RMD160 4b626e85a5828cb2023e181f71d94c609568665d SHA1 d417eb8538660db4ef07271fcc08152a3494bb58 SHA256 4aa09bed05c7fffa2e96b788f24626abcbe7d59749da544f37aedd15e1f459a8

View file

@ -1,247 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-player/vmware-player-4.0.1.528992-r2.ebuild,v 1.1 2011/12/07 16:33:04 vadimk Exp $
EAPI="4"
inherit eutils versionator fdo-mime gnome2-utils vmware-bundle
MY_PN="VMware-Player"
MY_PV="$(replace_version_separator 3 - $PV)"
MY_P="${MY_PN}-${MY_PV}"
DESCRIPTION="Emulate a complete PC on your PC without the usual performance overhead of most emulators"
HOMEPAGE="http://www.vmware.com/products/player/"
SRC_URI="
x86? ( ${MY_P}.i386.bundle )
amd64? ( ${MY_P}.x86_64.bundle )
"
LICENSE="vmware"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
IUSE="cups doc +vmware-tools"
RESTRICT="binchecks fetch strip"
# vmware-workstation should not use virtual/libc as this is a
# precompiled binary package thats linked to glibc.
RDEPEND="dev-cpp/cairomm
dev-cpp/glibmm:2
dev-cpp/gtkmm:2.4
dev-cpp/libgnomecanvasmm:2.6
dev-cpp/libsexymm
dev-cpp/pangomm:1.4
dev-libs/atk
dev-libs/glib:2
dev-libs/libaio
dev-libs/libsigc++
dev-libs/libxml2
=dev-libs/openssl-0.9.8*
dev-libs/xmlrpc-c
gnome-base/libgnomecanvas
gnome-base/libgtop:2
gnome-base/librsvg:2
gnome-base/orbit
media-libs/fontconfig
media-libs/freetype
media-libs/libart_lgpl
=media-libs/libpng-1.2*
net-misc/curl
cups? ( net-print/cups )
sys-devel/gcc
sys-fs/fuse
sys-libs/glibc
sys-libs/zlib
x11-libs/cairo
x11-libs/gtk+:2
x11-libs/libgksu
x11-libs/libICE
x11-libs/libsexy
x11-libs/libSM
x11-libs/libX11
x11-libs/libXau
x11-libs/libxcb
x11-libs/libXcomposite
x11-libs/libXcursor
x11-libs/libXdamage
x11-libs/libXdmcp
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libXft
x11-libs/libXi
x11-libs/libXinerama
x11-libs/libXrandr
x11-libs/libXrender
x11-libs/libXtst
x11-libs/pango
x11-libs/startup-notification
!app-emulation/vmware-workstation"
PDEPEND="~app-emulation/vmware-modules-264.1
vmware-tools? ( app-emulation/vmware-tools )"
S=${WORKDIR}
VM_INSTALL_DIR="/opt/vmware"
pkg_nofetch() {
local bundle
if use x86; then
bundle="${MY_P}.i386.bundle"
elif use amd64; then
bundle="${MY_P}.x86_64.bundle"
fi
einfo "Please download ${bundle}"
einfo "from ${HOMEPAGE}"
einfo "and place it in ${DISTDIR}"
}
src_unpack() {
local component ; for component in \
vmware-player \
vmware-player-app \
vmware-vmx \
vmware-usbarbitrator \
vmware-network-editor \
vmware-player-setup
#vmware-ovftool
do
vmware-bundle_extract-bundle-component "${DISTDIR}/${A}" "${component}" "${S}"
done
}
src_prepare() {
rm -f bin/vmware-modconfig
rm -rf lib/modules/binary
}
clean_bundled_libs() {
ebegin 'Removing superfluous libraries'
# exclude OpenSSL from unbundling until the AES-NI patch gets into the tree
# see http://forums.gentoo.org/viewtopic-t-835867.html
# must use shipped libgcr.so.0 or else "undefined symbol: gcr_certificate_widget_new"
ldconfig -p | sed 's:^\s\+\([^(]*[^( ]\).*=> \(/.*\)$:\1 \2:g;t;d' | fgrep -v 'libcrypto.so.0.9.8
libssl.so.0.9.8
libgcr.so.0' | while read -r libname libpath ; do
dosym "${libpath}" "${VM_INSTALL_DIR}/lib/vmware/lib/${libname}/${libname}"
done
eend
}
src_install() {
local major_minor_revision=$(get_version_component_range 1-3 "${PV}")
local build=$(get_version_component_range 4 "${PV}")
# install the binaries
into "${VM_INSTALL_DIR}"
dobin bin/* || die "failed to install bin"
# install the libraries
insinto "${VM_INSTALL_DIR}"/lib/vmware
doins -r lib/*
# install the ancillaries
insinto /usr
doins -r share
if use cups; then
exeinto $(cups-config --serverbin)/filter
doexe extras/thnucups
insinto /etc/cups
doins -r etc/cups/*
fi
# install documentation
if use doc; then
dodoc doc/*
fi
exeinto "${VM_INSTALL_DIR}"/lib/vmware/setup
doexe vmware-config
# create symlinks for the various tools
local tool ; for tool in thnuclnt vmplayer{,-daemon} \
vmware-{acetool,unity-helper,modconfig{,-console},gksu,fuseUI} ; do
dosym appLoader "${VM_INSTALL_DIR}"/lib/vmware/bin/"${tool}"
done
dosym "${VM_INSTALL_DIR}"/lib/vmware/bin/vmplayer "${VM_INSTALL_DIR}"/bin/vmplayer
dosym "${VM_INSTALL_DIR}"/lib/vmware/icu /etc/vmware/icu
# fix permissions
fperms 0755 "${VM_INSTALL_DIR}"/lib/vmware/bin/{appLoader,fusermount,launcher.sh,mkisofs,vmware-remotemks}
fperms 0755 "${VM_INSTALL_DIR}"/lib/vmware/lib/{wrapper-gtk24.sh,libgksu2.so.0/gksu-run-helper}
fperms 4711 "${VM_INSTALL_DIR}"/lib/vmware/bin/vmware-vmx{,-debug,-stats}
# create the environment
local envd="${T}/90vmware"
cat > "${envd}" <<-EOF
PATH='${VM_INSTALL_DIR}/bin'
ROOTPATH='${VM_INSTALL_DIR}/bin'
EOF
doenvd "${envd}" || die
# create the configuration
dodir /etc/vmware || die
cat > "${D}"/etc/vmware/bootstrap <<-EOF
BINDIR='${VM_INSTALL_DIR}/bin'
LIBDIR='${VM_INSTALL_DIR}/lib'
EOF
cat > "${D}"/etc/vmware/config <<-EOF
bindir = "${VM_INSTALL_DIR}/bin"
libdir = "${VM_INSTALL_DIR}/lib/vmware"
initscriptdir = "/etc/init.d"
authd.fullpath = "${VM_INSTALL_DIR}/sbin/vmware-authd"
gksu.rootMethod = "su"
VMCI_CONFED = "yes"
VMBLOCK_CONFED = "yes"
VSOCK_CONFED = "yes"
NETWORKING = "yes"
player.product.version = "${major_minor_revision}"
product.buildNumber = "${build}"
EOF
# install the init.d script
local initscript="${T}/vmware.rc"
sed -e "s:@@BINDIR@@:${VM_INSTALL_DIR}/bin:g" \
"${FILESDIR}/vmware-3.0.rc" > "${initscript}" || die
newinitd "${initscript}" vmware || die
# fill in variable placeholders
sed -e "s:@@LIBCONF_DIR@@:${VM_INSTALL_DIR}/lib/vmware/libconf:g" \
-i "${D}${VM_INSTALL_DIR}"/lib/vmware/libconf/etc/{gtk-2.0/{gdk-pixbuf.loaders,gtk.immodules},pango/pango{.modules,rc}} || die
sed -e "s:@@BINARY@@:${VM_INSTALL_DIR}/bin/vmplayer:g" \
-i "${D}/usr/share/applications/${PN}.desktop" || die
}
pkg_config() {
"${VM_INSTALL_DIR}"/bin/vmware-networks --postinstall ${PN},old,new
}
pkg_preinst() {
gnome2_icon_savelist
}
pkg_postinst() {
fdo-mime_desktop_database_update
gnome2_icon_cache_update
ewarn "/etc/env.d was updated. Please run:"
ewarn "env-update && source /etc/profile"
ewarn ""
ewarn "Before you can use vmware-player, you must configure a default network setup."
ewarn "You can do this by running 'emerge --config ${PN}'."
}
pkg_prerm() {
einfo "Stopping ${PN} for safe unmerge"
/etc/init.d/vmware stop
}
pkg_postrm() {
fdo-mime_desktop_database_update
gnome2_icon_cache_update
}

View file

@ -1,36 +1,24 @@
DIST vmware-tools-freebsd-8.4.8-491717.i386.component.tar 18227200 RMD160 9b5cd2d2ec8a63cbe4d09e16943b5877a87e477e SHA1 da619d2bf8540a2cba612ebc39c509b2acbb0842 SHA256 dce856aed590e13b1cab54c59cdee7cb81c4e8b39beab6e3e6836ab8f1bfca6c
DIST vmware-tools-freebsd-8.4.8-491717.x86_64.component.tar 18227200 RMD160 4f7c1fa970b94490167cc0aad933154bded40e71 SHA1 207cb57bab3929e4397591edb797157e9e3c4403 SHA256 60974cfdca052f6984ca5c006509a39643bae6f12485aaea98d21086db1580d4
DIST vmware-tools-freebsd-8.8.1-528992.i386.component.tar 15656960 RMD160 742d9e4b1b471e0b4fc2ff4dd6a54faa0f1e8a35 SHA1 6496065adba202dd90dabefa43e78c5c05d1d4da SHA256 0c44cc9a3d9bddc4f11f81827f399103b5b741bfd172cf7ff90f5af0839e88f3
DIST vmware-tools-freebsd-8.8.1-528992.x86_64.component.tar 15656960 RMD160 247a1cd333da400324317e10d409830e83d16e04 SHA1 19258bfdbc6fbb589bbde5aee66a7ebc051b1cc7 SHA256 daf11bb222ebb5d65fe654e915dac36a76118ec1dd9b04eb3366d08396788847
DIST vmware-tools-freebsd-8.8.2-591240.i386.component.tar 15656960 RMD160 231a60c63b79a49c9a49cef78be7e12d97258672 SHA1 a3480e1505fd3a18742f4eec0a1e4eddef1514f6 SHA256 564be13275c0772b7ee0c439a5d2ed95894ea5de60f5877f8f631ddecabf015a
DIST vmware-tools-freebsd-8.8.2-591240.x86_64.component.tar 15656960 RMD160 46772e2c4f04fcb6e08d1f7baebe2cc8114225f8 SHA1 2c7647d21a1673527bdd32a34470ee4d43e18268 SHA256 85337fac3f8aed1ad7b13e753bb01237385cc6775fe03ce70dc67660dd526aa2
DIST vmware-tools-linux-8.4.8-491717.i386.component.tar 107601920 RMD160 7d9d53337391bf08e4ae8a32f7dca46f39a608f0 SHA1 870443e43d7105db89d6bd1a329764ab3b07685a SHA256 799da75391d7112ee10df068a4c60519aaedb6989eeb94a5efe296b3423045a3
DIST vmware-tools-linux-8.4.8-491717.x86_64.component.tar 107601920 RMD160 2c355199fa561ad80dfca0ba6f0b477e529ceb44 SHA1 000469569298d3601f7ba961252474f9acbed609 SHA256 924f4c786678dc4405a2bff77f784d020561cd1aa6e59951fc963fb257e84c55
DIST vmware-tools-linux-8.8.1-528992.i386.component.tar 59463680 RMD160 9424673e7f4305cba10af67e569b157b466c6049 SHA1 ac969852292ca634893a8c783e9042a17c20a866 SHA256 8b681431e2f38625c8edf41ed8b70c2ab8f9c0d3603bc3c35a0e32d586956a34
DIST vmware-tools-linux-8.8.1-528992.x86_64.component.tar 59463680 RMD160 3597bec733a2c76de5cda9054153bda321faa187 SHA1 1afdf3f0041ca2fd982924b74e68caab474c8c52 SHA256 68aae4f1d6400cfe19a5ba809ccd5b9a11f1a0bbcceb13806231ea7eded934da
DIST vmware-tools-linux-8.8.2-591240.i386.component.tar 59392000 RMD160 8f06b9806a9f9c2003c85da41436ca4087dbc957 SHA1 0750c087c129f65c1b991840d929b71dbb70c72c SHA256 a3cea9cd07597a7f67a6f3025cc013f14d3a828b867351b415e36281d38b36f7
DIST vmware-tools-linux-8.8.2-591240.x86_64.component.tar 59392000 RMD160 3be8b9ad390fb21018ffc8e8f887f56848b60c12 SHA1 8914f239c95fb8f31b03b15da979618a9d0c3a10 SHA256 31fb2956a6ed622e3793a0fdd29b8a712f77c6c938ee7db867ae77236f04ce30
DIST vmware-tools-netware-8.4.8-491717.i386.component.tar 81920 RMD160 16d2a8c376c09af2a867fc659d6d72222186ecc2 SHA1 37cc1d311b9a43ba4fbeb5cf00d996b74db3b4f8 SHA256 c862e2f78a2cdb915defa26a1084513c51ea0729c865f57936361cb29187f09f
DIST vmware-tools-netware-8.4.8-491717.x86_64.component.tar 81920 RMD160 e2f2c6efb63bb55c9e501ed80c692acfc626ac33 SHA1 bace6ea27cd9729dc19ffd5bfbcc83cdba3d4d34 SHA256 dc2f236d3b1dcd56919de26b3437e5073085d4384908b7524df15286edbfa1a0
DIST vmware-tools-netware-8.8.1-528992.i386.component.tar 81920 RMD160 1b14fd1f9bc3c61ec23832f2ccfecccf32aa92ac SHA1 99018fa0f30a474a0bb0378d1a9b8aa4832723c1 SHA256 0e1093ce47034cdaf73d42c34abf642488d0c7884fff27947b1959c7eb7767ec
DIST vmware-tools-netware-8.8.1-528992.x86_64.component.tar 81920 RMD160 80b11ed15bf6ecfcafa763e5d5d31f48308c7ce0 SHA1 66d7b012f555bb78fd5f4c6c08ff67cdfc5bb2b0 SHA256 f0b9dc88ac5300dea1f5c5e6c44f19d1af50cd03c9641dfb3e4b3e394b5bf041
DIST vmware-tools-netware-8.8.2-591240.i386.component.tar 81920 RMD160 b8fc9d31433faa5a6a54584b8dc246e86d8dd301 SHA1 ce509824a8b6177eb290514a43dca5c8722e1f39 SHA256 8e2df152a39a5b0828a16f17ae2624b6c4f05e21b89d95bbf275209bc2ce4d1a
DIST vmware-tools-netware-8.8.2-591240.x86_64.component.tar 81920 RMD160 a0ecb524d51939ec574a49cf92246face0e6c050 SHA1 2ef0960618d0b5eae448ec77cdbcec49c28fa8d3 SHA256 b458c38f086073627d271ef182aae7fb05db85da1124b35f0c3db0518e3cb3b9
DIST vmware-tools-solaris-8.4.8-491717.i386.component.tar 19589120 RMD160 3335405f2ece766d015b088268ccc04e5394e932 SHA1 b94b080633172fdabfe73a218112d4abf9b3855e SHA256 4ba329fce0ad15c666351647e258387afc9ef97dede069e3a969891682e62c92
DIST vmware-tools-solaris-8.4.8-491717.x86_64.component.tar 19589120 RMD160 85e836fe603908213be643f12a938aed9e46d4c3 SHA1 bf99f0f7d1a136cad62501fb8cf811a979f5ecde SHA256 3776cf65c3457f57933ea499f3479cc5fc0b85e6f54d40f0d05e608609261f5c
DIST vmware-tools-solaris-8.8.1-528992.i386.component.tar 12769280 RMD160 e2d92a21e96f3ba932f465c268dac95d2ec3970d SHA1 d36c7ca312097c3a00749acd161a9a6bb1ca3f16 SHA256 275589b4b7109246e47b0b136cc9d586806b70c5cb6986b014dfbfb0c8293117
DIST vmware-tools-solaris-8.8.1-528992.x86_64.component.tar 12769280 RMD160 37f27d29ef08ddb9496ebc0ff848164f0209c84f SHA1 9a2b2506ac379648067ccae1aaec59c6416a1f48 SHA256 f4177d82a0725911cdb77d6b4156ecc90f2b0729e94a7439352242efa4c631e0
DIST vmware-tools-solaris-8.8.2-591240.i386.component.tar 12779520 RMD160 37f7db02d58984c1c6159e0d85c037bf80d160be SHA1 65177c972c96d459bb31c493e98019601a2ad654 SHA256 ddbb60ed91fcab8383675436bf51a121526b3c402b80c6cd51bcafbddf55ce45
DIST vmware-tools-solaris-8.8.2-591240.x86_64.component.tar 12779520 RMD160 b13627a5e4cddbf5ebbc80bd29f6ad1573fea3ef SHA1 44765384451cfcbb2c5e4ece4ddbdd6db98cd77d SHA256 5f0125516c755de26511518619fa2c52dbaed8f6c9f63d0aecd4ddbb3b2388ba
DIST vmware-tools-winPre2k-8.4.8-491717.i386.component.tar 11059200 RMD160 0622bb424ccd80a62584a248c2927923f078f519 SHA1 bcf6297b9389b43ed081a071a4b321c8086d67c4 SHA256 2ec0f90287324a37bf66a718f792d466edd8bf0f3e3c5039b782a3db6fd763c5
DIST vmware-tools-winPre2k-8.4.8-491717.x86_64.component.tar 11059200 RMD160 4d12bf4663b154cbd2fee5dbf8570d94823dac0a SHA1 d56d64fb00c764a697609e8c12a4b4e90b192f44 SHA256 34ac2895b39701076034bfd00c9fc8d09994c1d0366abddbac2151d51bde1d15
DIST vmware-tools-winPre2k-8.8.1-528992.i386.component.tar 11253760 RMD160 e14465f868728c0038bdc336773800c2757161f6 SHA1 90d37ecd766b0307b44a350886e84c97920f56a1 SHA256 590c38521249be9b74812598e90f1658115b1f54871a0473be46665d2c08aed9
DIST vmware-tools-winPre2k-8.8.1-528992.x86_64.component.tar 11253760 RMD160 1b0b9a0a139b981c4bd2abf547ae0832739d1204 SHA1 dd2b9df6f37265e50db3ab2b1f5bb1ba12947ea1 SHA256 9bd8606416bdd23e190ae691106e2ab045231be654137725b38698fb33448869
DIST vmware-tools-winPre2k-8.8.2-591240.i386.component.tar 11253760 RMD160 fad2a59f93be99d996e4278d6db80846ae16d13e SHA1 916b1e3ca1d42a99400d62457fc778d252d8dbbd SHA256 403b3802d1655f10ed9ca2aba74fe45488efebe52b5122d3a87788238ff3200d
DIST vmware-tools-winPre2k-8.8.2-591240.x86_64.component.tar 11253760 RMD160 fbf94dd29cefa67321e7e0da6e4405ec9f79ef09 SHA1 52a0dc8c3a2f87578f5b070ac52d4d940c6f4b69 SHA256 f57648ffa572317cf264ff01eb6481c3049c0fbb632d96cbedc835b764c72f8b
DIST vmware-tools-windows-8.4.8-491717.i386.component.tar 38174720 RMD160 675c1a884d781879fb6c71b007f81b0deee701e8 SHA1 7d728676e20dc863a96eef5d253c2a4c8616d803 SHA256 80d79afcd36a0458fb59e2423af9915b676593b9306c12d22e0f339600768b9a
DIST vmware-tools-windows-8.4.8-491717.x86_64.component.tar 38174720 RMD160 03ce9520fd251b748f8553508bec0d86a783ff61 SHA1 928c8697fa8a14ecf6d2cd43c99c807acdb696d4 SHA256 06ab70677eb1b71f9418f80f956efce877b68d2a7e98814bad6bcc33a468bd0f
DIST vmware-tools-windows-8.8.1-528992.i386.component.tar 50206720 RMD160 ca99c116abdac554cd281d455e5bf03143b895cf SHA1 2eeae933796572e9d25f7fc1fc099ef1a5fbbef1 SHA256 82d1656ca79154d25537269eea09ac60b716e6b51e68aedd679b75619744936f
DIST vmware-tools-windows-8.8.1-528992.x86_64.component.tar 50206720 RMD160 ffce99021df5c315a59549970c1448e82b52975e SHA1 05c7b57ee216b50b4bb6f4d93c197c42efbee298 SHA256 9e409330557b836b7512c68fed63bf18864e8fea12564b130948c42a54f66685
DIST vmware-tools-windows-8.8.2-591240.i386.component.tar 50237440 RMD160 dc368e7dd0244ba49ea1611e5cf339b7a54eae55 SHA1 f7f33d4d3b7e1387779c97cfdaeb40caccf6b0de SHA256 a17d03fb84e029c278bed3245c94309eea3f7994f932e33d17ed53a06efea530
DIST vmware-tools-windows-8.8.2-591240.x86_64.component.tar 50237440 RMD160 9efcfd8e276bf4865edaf6104cd0abb24399b8d4 SHA1 bf7e66fccedf76622488b3d520060959c5e6d21e SHA256 1a75613819295d100642a6d33dedf9382bfae52e8cc6a1df0f2ed0ea0fa5bfe7

View file

@ -1,55 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-tools/vmware-tools-8.8.1.528992.ebuild,v 1.2 2012/03/10 14:19:04 vadimk Exp $
inherit versionator vmware-bundle
MY_PV="$(replace_version_separator 3 - $PV)"
BASE_URI="http://softwareupdate.vmware.com/cds/vmw-desktop/player/4.0.$(get_version_component_range 3)/$(get_version_component_range 4)/linux/packages/"
DESCRIPTION="VMware Tools for guest operating systems"
HOMEPAGE="http://www.vmware.com/products/player/"
LICENSE="vmware"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
RESTRICT="mirror"
IUSE=""
DEPEND=""
RDEPEND=""
IUSE_VMWARE_GUEST="freebsd linux netware solaris windows winPre2k"
VM_INSTALL_DIR="/opt/vmware"
for guest in ${IUSE_VMWARE_GUEST} ; do
SRC_URI+=" vmware_guest_${guest}? (
amd64? ( ${BASE_URI}vmware-tools-${guest}-${MY_PV}.x86_64.component.tar )
x86? ( ${BASE_URI}vmware-tools-${guest}-${MY_PV}.i386.component.tar )
)"
IUSE+=" vmware_guest_${guest}"
done ; unset guest
src_unpack() {
local arch
if use x86 ; then arch='i386'
elif use amd64 ; then arch='x86_64'
fi
local guest ; for guest in ${IUSE_VMWARE_GUEST} ; do
if use "vmware_guest_${guest}" ; then
local component="vmware-tools-${guest}-${MY_PV}.${arch}.component"
unpack "${component}.tar"
vmware-bundle_extract-component "${component}"
fi
done
}
src_install() {
insinto "${VM_INSTALL_DIR}"/lib/vmware/isoimages
local guest ; for guest in ${IUSE_VMWARE_GUEST} ; do
if use "vmware_guest_${guest}" ; then
doins "${guest}".iso{,.sig}
fi
done
}

View file

@ -1,6 +1,4 @@
DIST VMware-Workstation-7.1.5-491717.i386.bundle 130351656 RMD160 110bc8a4486bdf24cf9b293a4376fb89e0aff56d SHA1 f112d0e5ad00d285982d998c36a554dad4c43700 SHA256 a0f05693cf82ce2fe49b5009bbd2dfb531606b55f8b6656e7e4b06b051c2655c
DIST VMware-Workstation-7.1.5-491717.x86_64.bundle 137361206 RMD160 b5f302400a0c33b2bc4a2b68ccc070f9329af047 SHA1 0cca1399008630ed76374d794806d60a93dc3e97 SHA256 857a71e4022a357a49aadc0516dae8909b34abf7a3681fbba5e76d92ee3be90b
DIST VMware-Workstation-Full-8.0.1-528992.i386.bundle 338993938 RMD160 57eac2aa9bff8849c881dfc8a50cd1f4254846d5 SHA1 5695b1728750a944b9c000a2fa5afade8980bb2c SHA256 88e6b210cffe77229dc9bd29d4a9eb1596f127fc676d7722acff3ad92c971446
DIST VMware-Workstation-Full-8.0.1-528992.x86_64.bundle 338744697 RMD160 71ca85cd6f61de4152f0b7204764ef6851a03a06 SHA1 14a4f66c881a6a163bda0dfcaa3fa1240c061679 SHA256 33d2418aca44d9effa45a56804e7fc9e1dabc9e0b74ee188fc8b3a16ba4292fe
DIST VMware-Workstation-Full-8.0.2-591240.i386.bundle 339158324 RMD160 59806d3a85620fa19d32797d7eb434a5525e0647 SHA1 94c4d04b7b24ae03ead29f17445d576173d40bb4 SHA256 0605d68622887b916cb1c774bb4c26481bd97de4f13bfd13b950f10809d119e7
DIST VMware-Workstation-Full-8.0.2-591240.x86_64.bundle 338890534 RMD160 a00f0d203aa0a03aaf00bbe678c38b2c1b30012d SHA1 6ad52e8f0768e279639cd41abeda4f9358b40d0f SHA256 804590c103d0ee09fbcfe5adcfa3bd99d2dc9e4a98dc61d4d4067e550ba7f6ec

View file

@ -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-emulation/vmware-workstation/vmware-workstation-7.1.5.491717.ebuild,v 1.2 2011/12/03 20:14:02 vadimk Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-workstation/vmware-workstation-7.1.5.491717.ebuild,v 1.3 2012/03/24 13:50:09 vadimk Exp $
EAPI="2"
@ -75,6 +75,7 @@ RDEPEND="dev-cpp/cairomm
x11-libs/libXtst
x11-libs/pango
x11-libs/startup-notification
x11-themes/hicolor-icon-theme
!app-emulation/vmware-player"
PDEPEND="~app-emulation/vmware-modules-238.5
vmware-tools? ( app-emulation/vmware-tools )"

View file

@ -1,488 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-workstation/vmware-workstation-8.0.1.528992-r2.ebuild,v 1.1 2011/12/07 15:26:02 vadimk Exp $
EAPI="4"
inherit eutils versionator fdo-mime gnome2-utils pam vmware-bundle
MY_PN="VMware-Workstation"
MY_PV="$(replace_version_separator 3 - $PV)"
MY_P="${MY_PN}-Full-${MY_PV}"
DESCRIPTION="Emulate a complete PC on your PC without the usual performance overhead of most emulators"
HOMEPAGE="http://www.vmware.com/products/workstation/"
SRC_URI="
x86? ( ${MY_P}.i386.bundle )
amd64? ( ${MY_P}.x86_64.bundle )
"
LICENSE="vmware"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
IUSE="cups doc gnome kde ovftool server vix vmware-tools"
RESTRICT="binchecks fetch mirror strip"
# vmware-workstation should not use virtual/libc as this is a
# precompiled binary package thats linked to glibc.
RDEPEND="dev-cpp/cairomm
dev-cpp/glibmm:2
dev-cpp/gtkmm:2.4
dev-cpp/libgnomecanvasmm
dev-cpp/libsexymm
dev-cpp/pangomm
dev-libs/atk
dev-libs/glib:2
dev-libs/icu
dev-libs/expat
dev-libs/libaio
dev-libs/libsigc++
dev-libs/libxml2
=dev-libs/openssl-0.9.8*
dev-libs/xmlrpc-c
gnome-base/libgnomecanvas
gnome-base/libgtop:2
gnome-base/librsvg:2
gnome-base/orbit
media-libs/fontconfig
media-libs/freetype
media-libs/libart_lgpl
=media-libs/libpng-1.2*
media-libs/libpng
net-misc/curl
cups? ( net-print/cups )
sys-devel/gcc
sys-fs/fuse
sys-libs/glibc
sys-libs/zlib
x11-libs/cairo
gnome? ( x11-libs/gksu )
kde? ( kde-base/kdesu )
x11-libs/gtk+:2
x11-libs/libgksu
x11-libs/libICE
x11-libs/libsexy
x11-libs/libSM
x11-libs/libX11
x11-libs/libXau
x11-libs/libxcb
x11-libs/libXcomposite
x11-libs/libXcursor
x11-libs/libXdamage
x11-libs/libXdmcp
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libXft
x11-libs/libXi
x11-libs/libXinerama
x11-libs/libXrandr
x11-libs/libXrender
x11-libs/libXtst
x11-libs/pango
x11-libs/startup-notification
x11-themes/hicolor-icon-theme
!app-emulation/vmware-player"
PDEPEND="~app-emulation/vmware-modules-264.1
vmware-tools? ( app-emulation/vmware-tools )"
S=${WORKDIR}
VM_INSTALL_DIR="/opt/vmware"
VM_DATA_STORE_DIR="/var/lib/vmware/Shared VMs"
VM_HOSTD_USER="root"
pkg_nofetch() {
local bundle
if use x86; then
bundle="${MY_P}.i386.bundle"
elif use amd64; then
bundle="${MY_P}.x86_64.bundle"
fi
einfo "Please download ${bundle}"
einfo "from ${HOMEPAGE}"
einfo "and place it in ${DISTDIR}"
}
src_unpack() {
local component; for component in \
vmware-vmx \
vmware-player-app \
vmware-player-setup \
vmware-workstation \
vmware-network-editor \
vmware-network-editor-ui \
vmware-usbarbitrator
do
vmware-bundle_extract-bundle-component "${DISTDIR}/${A}" "${component}" "${S}"
done
if use server; then
vmware-bundle_extract-bundle-component "${DISTDIR}/${A}" vmware-workstation-server #"${S}"
fi
if use vix; then
vmware-bundle_extract-bundle-component "${DISTDIR}/${A}" vmware-vix-core vmware-vix
vmware-bundle_extract-bundle-component "${DISTDIR}/${A}" vmware-vix-lib-Workstation800andvSphere500 vmware-vix
fi
if use ovftool; then
vmware-bundle_extract-bundle-component "${DISTDIR}/${A}" vmware-ovftool
fi
}
src_prepare() {
rm -f bin/vmware-modconfig
rm -rf lib/modules/binary
if use server; then
rm -f vmware-workstation-server/bin/{openssl,configure-hostd.sh}
fi
find "${S}" -name '*.a' -delete
# clean_bundled_libs
}
clean_bundled_libs() {
ebegin 'Removing superfluous libraries'
cd lib/lib || die
ldconfig -p | \
sed 's:^\s\+\([^(]*[^( ]\).*=> /.*$:\1:g;t;d' | \
fgrep -vx 'libcrypto.so.0.9.8
libssl.so.0.9.8i
libgcr.so.0
libglib-2.0.so.0' |
xargs -d'\n' -r rm -rf
eend
}
src_install() {
local major_minor=$(get_version_component_range 1-2 "${PV}")
local major_minor_revision=$(get_version_component_range 1-3 "${PV}")
local build=$(get_version_component_range 4 "${PV}")
# install the binaries
into "${VM_INSTALL_DIR}"
dobin bin/*
# install the libraries
insinto "${VM_INSTALL_DIR}"/lib/vmware
doins -r lib/*
# install the ancillaries
insinto /usr
doins -r share
if use cups; then
exeinto $(cups-config --serverbin)/filter
doexe extras/thnucups
insinto /etc/cups
doins -r etc/cups/*
fi
insinto /etc/xdg
doins -r etc/xdg/*
# install documentation
doman man/man1/vmware.1.gz
if use doc; then
dodoc doc/*
fi
insinto "${VM_INSTALL_DIR}"/lib/vmware/setup
doins vmware-config
# install vmware workstation server
if use server; then
dosbin sbin/*
cd "${S}"/vmware-workstation-server
# install binaries
into "${VM_INSTALL_DIR}"/lib/vmware
dobin bin/*
# install the libraries
insinto "${VM_INSTALL_DIR}"/lib/vmware/lib
doins -r lib/*
into "${VM_INSTALL_DIR}"
for tool in vmware-{hostd,vim-cmd,wssc-adminTool} ; do
cat > "${T}/${tool}" <<-EOF
#!/usr/bin/env bash
set -e
. /etc/vmware/bootstrap
exec "${VM_INSTALL_DIR}/lib/vmware/lib/wrapper-gtk24.sh" \\
"${VM_INSTALL_DIR}/lib/vmware/lib" \\
"${VM_INSTALL_DIR}/lib/vmware/bin/${tool}" \\
"${VM_INSTALL_DIR}/lib/vmware/libconf" "\$@"
EOF
dobin "${T}/${tool}"
done
insinto "${VM_INSTALL_DIR}"/lib/vmware
doins -r hostd
# create the configuration
insinto /etc/vmware/hostd
doins -r config/etc/vmware/hostd/*
doins -r etc/vmware/hostd/*
insinto /etc/vmware/ssl
doins etc/vmware/ssl/*
# pam
pamd_mimic_system vmware-authd auth account
# create directory for shared virtual machines.
keepdir "${VM_DATA_STORE_DIR}"
keepdir /var/log/vmware
fi
# install vmware-vix
if use vix; then
cd "${S}"/vmware-vix
# install the binary
into "${VM_INSTALL_DIR}"
dobin bin/*
# install the libraries
insinto "${VM_INSTALL_DIR}"/lib/vmware-vix
doins -r lib/*
dosym vmware-vix/libvixAllProducts.so "${VM_INSTALL_DIR}"/lib/libbvixAllProducts.so
# install headers
insinto /usr/include/vmware-vix
doins include/*
if use doc; then
dohtml -r doc/*
fi
fi
# install ovftool
if use ovftool; then
cd "${S}"
insinto "${VM_INSTALL_DIR}"/lib/vmware-ovftool
doins -r vmware-ovftool/*
chmod 0755 "${D}${VM_INSTALL_DIR}"/lib/vmware-ovftool/{ovftool,ovftool.bin}
dosym "${D}${VM_INSTALL_DIR}"/lib/vmware-ovftool/ovftool "${VM_INSTALL_DIR}"/bin/ovftool
fi
# create symlinks for the various tools
local tool ; for tool in thnuclnt vmware vmplayer{,-daemon} \
vmware-{acetool,enter-serial,gksu,fuseUI,modconfig{,-console},netcfg,tray,unity-helper} ; do
dosym appLoader "${VM_INSTALL_DIR}"/lib/vmware/bin/"${tool}"
done
dosym "${VM_INSTALL_DIR}"/lib/vmware/bin/vmplayer "${VM_INSTALL_DIR}"/bin/vmplayer
dosym "${VM_INSTALL_DIR}"/lib/vmware/bin/vmware "${VM_INSTALL_DIR}"/bin/vmware
dosym "${VM_INSTALL_DIR}"/lib/vmware/icu /etc/vmware/icu
# fixing gksu problem
if use gnome; then
dosym /usr/bin/gksu "${VM_INSTALL_DIR}"/bin/vmware-gksu
fi
if use kde; then
dosym /usr/bin/kdesu "${VM_INSTALL_DIR}"/bin/vmware-gksu
fi
# fix permissions
fperms 0755 "${VM_INSTALL_DIR}"/lib/vmware/bin/{appLoader,fusermount,launcher.sh,mkisofs,vmware-remotemks}
fperms 0755 "${VM_INSTALL_DIR}"/lib/vmware/lib/{wrapper-gtk24.sh,libgksu2.so.0/gksu-run-helper}
fperms 0755 "${VM_INSTALL_DIR}"/lib/vmware/setup/vmware-config
fperms 4711 "${VM_INSTALL_DIR}"/bin/vmware-mount
fperms 4711 "${VM_INSTALL_DIR}"/lib/vmware/bin/vmware-vmx{,-debug,-stats}
if use server; then
fperms 0755 "${VM_INSTALL_DIR}"/lib/vmware/bin/vmware-{hostd,vim-cmd,wssc-adminTool}
fperms 4711 "${VM_INSTALL_DIR}"/sbin/vmware-authd
fi
if use vix; then
fperms 0755 "${VM_INSTALL_DIR}"/lib/vmware-vix/setup/vmware-config
fi
# create the environment
local envd="${T}/90vmware"
cat > "${envd}" <<-EOF
PATH='${VM_INSTALL_DIR}/bin'
ROOTPATH='${VM_INSTALL_DIR}/bin'
EOF
doenvd "${envd}"
# create the configuration
dodir /etc/vmware
cat > "${D}"/etc/vmware/bootstrap <<-EOF
BINDIR='${VM_INSTALL_DIR}/bin'
LIBDIR='${VM_INSTALL_DIR}/lib'
EOF
cat > "${D}"/etc/vmware/config <<-EOF
bindir = "${VM_INSTALL_DIR}/bin"
libdir = "${VM_INSTALL_DIR}/lib/vmware"
initscriptdir = "/etc/init.d"
authd.fullpath = "${VM_INSTALL_DIR}/sbin/vmware-authd"
gksu.rootMethod = "su"
VMCI_CONFED = "yes"
VMBLOCK_CONFED = "yes"
VSOCK_CONFED = "yes"
NETWORKING = "yes"
player.product.version = "${major_minor_revision}"
product.version = "${major_minor_revision}"
product.buildNumber = "${build}"
product.name = "VMware Workstation"
workstation.product.version = "${major_minor_revision}"
EOF
if use vix; then
cat >> "${D}"/etc/vmware/config <<-EOF
vmware.fullpath = "${VM_INSTALL_DIR}/bin/vmware"
vix.libdir = "${VM_INSTALL_DIR}/lib/vmware-vix"
vix.config.version = "1"
EOF
fi
if use server; then
cat >> "${D}"/etc/vmware/config <<-EOF
authd.client.port = "902"
authd.proxy.nfc = "vmware-hostd:ha-nfc"
authd.soapserver = "TRUE"
EOF
fi
# install the init.d script
local initscript="${T}/vmware.rc"
sed -e "s:@@BINDIR@@:${VM_INSTALL_DIR}/bin:g" \
"${FILESDIR}/vmware-${major_minor}.rc" > ${initscript}
newinitd "${initscript}" vmware
if use server; then
# install the init.d script
local initscript="${T}/vmware-workstation-server.rc"
sed -e "s:@@ETCDIR@@:/etc/vmware:g" \
-e "s:@@PREFIX@@:${VM_INSTALL_DIR}:g" \
-e "s:@@BINDIR@@:${VM_INSTALL_DIR}/bin:g" \
-e "s:@@LIBDIR@@:${VM_INSTALL_DIR}/lib/vmware:g" \
"${FILESDIR}/vmware-server-8.0.rc" > ${initscript}
newinitd "${initscript}" vmware-workstation-server
fi
# fill in variable placeholders
sed -e "s:@@LIBCONF_DIR@@:${VM_INSTALL_DIR}/lib/vmware/libconf:g" \
-i "${D}${VM_INSTALL_DIR}"/lib/vmware/libconf/etc/{gtk-2.0/{gdk-pixbuf.loaders,gtk.immodules},pango/pango{.modules,rc}}
sed -e "s:@@BINARY@@:${VM_INSTALL_DIR}/bin/vmware:g" \
-i "${D}/usr/share/applications/${PN}.desktop"
sed -e "s:@@BINARY@@:${VM_INSTALL_DIR}/bin/vmplayer:g" \
-i "${D}/usr/share/applications/vmware-player.desktop"
sed -e "s:@@BINARY@@:${VM_INSTALL_DIR}/bin/vmware-netcfg:g" \
-i "${D}/usr/share/applications/vmware-netcfg.desktop"
if use server; then
# Configuration for vmware-workstation-server
local hostdUser="${VM_HOSTD_USER:-root}"
sed -e "/ACEDataUser/s:root:${hostdUser}:g" \
-i "${D}/etc/vmware/hostd/authorization.xml" || die
# Shared VMs Path: [standard].
sed -e "s:##{DS_NAME}##:standard:g" \
-e "s:##{DS_PATH}##:${VM_DATA_STORE_DIR}:g" \
-i "${D}/etc/vmware/hostd/datastores.xml" || die
sed -e "s:##{HTTP_PORT}##:-1:g" \
-e "s:##{HTTPS_PORT}##:443:g" \
-e "s:##{PIPE_PREFIX}##:/var/run/vmware/:g" \
-i "${D}/etc/vmware/hostd/proxy.xml" || die
# See vmware-workstation-server.py for more details.
sed -e "s:##{BUILD_CFGDIR}##:/etc/vmware/hostd/:g" \
-e "s:##{CFGALTDIR}##:/etc/vmware/hostd/:g" \
-e "s:##{CFGDIR}##:/etc/vmware/:g" \
-e "s:##{ENABLE_AUTH}##:true:g" \
-e "s:##{HOSTDMODE}##:ws:g" \
-e "s:##{HOSTD_CFGDIR}##:/etc/vmware/hostd/:g" \
-e "s:##{HOSTD_MOCKUP}##:false:g" \
-e "s:##{LIBDIR}##:${VM_INSTALL_DIR}/lib/vmware:g" \
-e "s:##{LIBDIR_INSTALLED}##:${VM_INSTALL_DIR}/lib/vmware/:g" \
-e "s:##{LOGDIR}##:/var/log/vmware/:g" \
-e "s:##{LOGLEVEL}##:verbose:g" \
-e "s:##{MOCKUP}##:mockup-host-config.xml:g" \
-e "s:##{PLUGINDIR}##:./:g" \
-e "s:##{SHLIB_PREFIX}##:lib:g" \
-e "s:##{SHLIB_SUFFIX}##:.so:g" \
-e "s:##{USE_BLKLISTSVC}##:false:g" \
-e "s:##{USE_CBRCSVC}##:false:g" \
-e "s:##{USE_CIMSVC}##:false:g" \
-e "s:##{USE_DIRECTORYSVC}##:false:g" \
-e "s:##{USE_DIRECTORYSVC_MOCKUP}##:false:g" \
-e "s:##{USE_DYNAMIC_PLUGIN_LOADING}##:false:g" \
-e "s:##{USE_DYNAMO}##:false:g" \
-e "s:##{USE_DYNSVC}##:false:g" \
-e "s:##{USE_GUESTSVC}##:false:g" \
-e "s:##{USE_HBRSVC}##:false:g" \
-e "s:##{USE_HBRSVC_MOCKUP}##:false:g" \
-e "s:##{USE_HOSTSVC_MOCKUP}##:false:g" \
-e "s:##{USE_HTTPNFCSVC}##:false:g" \
-e "s:##{USE_HTTPNFCSVC_MOCKUP}##:false:g" \
-e "s:##{USE_LICENSESVC_MOCKUP}##:false:g" \
-e "s:##{USE_NFCSVC}##:true:g" \
-e "s:##{USE_NFCSVC_MOCKUP}##:false:g" \
-e "s:##{USE_OVFMGRSVC}##:true:g" \
-e "s:##{USE_PARTITIONSVC}##:false:g" \
-e "s:##{USE_SECURESOAP}##:false:g" \
-e "s:##{USE_SNMPSVC}##:false:g" \
-e "s:##{USE_SOLO_MOCKUP}##:false:g" \
-e "s:##{USE_STATSSVC_MOCKUP}##:false:g" \
-e "s:##{USE_VCSVC_MOCKUP}##:false:g" \
-e "s:##{USE_VDISKSVC}##:false:g" \
-e "s:##{USE_VDISKSVC_MOCKUP}##:false:g" \
-e "s:##{USE_VMSVC_MOCKUP}##:false:g" \
-e "s:##{VM_INVENTORY}##:vmInventory.xml:g" \
-e "s:##{VM_RESOURCES}##:vmResources.xml:g" \
-e "s:##{WEBSERVER_PORT_ENTRY}##::g" \
-e "s:##{WORKINGDIR}##:./:g" \
-i "${D}/etc/vmware/hostd/config.xml" || die
sed -e "s:##{ENV_LOCATION}##:/etc/vmware/hostd/env/:g" \
-i "${D}/etc/vmware/hostd/environments.xml" || die
# @@VICLIENT_URL@@=XXX
sed -e "s:@@AUTHD_PORT@@:902:g" \
-i "${D}${VM_INSTALL_DIR}/lib/vmware/hostd/docroot/client/clients.xml" || die
fi
}
pkg_config() {
"${VM_INSTALL_DIR}"/bin/vmware-networks --postinstall ${PN},old,new
}
pkg_preinst() {
gnome2_icon_savelist
}
pkg_postinst() {
fdo-mime_desktop_database_update
gnome2_icon_cache_update
ewarn "/etc/env.d was updated. Please run:"
ewarn "env-update && source /etc/profile"
ewarn ""
ewarn "Before you can use vmware workstation, you must configure a default network setup."
ewarn "You can do this by running 'emerge --config ${PN}'."
}
pkg_prerm() {
einfo "Stopping ${PN} for safe unmerge"
/etc/init.d/vmware stop
}
pkg_postrm() {
fdo-mime_desktop_database_update
gnome2_icon_cache_update
}

View file

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/skkfep/skkfep-0.87-r1.ebuild,v 1.4 2012/03/18 08:25:09 ssuominen Exp $
# $Header: /var/cvsroot/gentoo-x86/app-i18n/skkfep/skkfep-0.87-r1.ebuild,v 1.5 2012/03/24 17:32:48 phajdan.jr Exp $
EAPI=4
inherit eutils toolchain-funcs
@ -11,7 +11,7 @@ SRC_URI="http://homepage2.nifty.com/aito/skkfep/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
KEYWORDS="~amd64 ~ppc x86"
IUSE=""
RDEPEND=">=sys-libs/ncurses-5.7-r7"

View file

@ -1,4 +1,2 @@
DIST samsung-tools-1.4.tar.gz 441042 RMD160 8e166e9e018f5e2887dce20ae43f996f85c9fd25 SHA1 fcadaf5335023c5389508aac42e716eda058c86b SHA256 c075c5e62d57262f9846e86c4f3b9a37db5adbdff296773bbee527d9f293b67a
DIST samsung-tools-1.5.tar.gz 441205 RMD160 c48126f8e6d80082d0de3ab92df64191d734246d SHA1 4c31c3bae2576eef87c825969f01c4346e3ef2df SHA256 3ebd64648e2f065859cc29b2415e83f6a003a6ab29c15895fe787fc1ae04e5e2
DIST samsung-tools-2.0.tar.gz 435233 RMD160 3d6f2925a93d4c649e313d2f5a9a44e009dd9ee0 SHA1 8229ff4bf6f32ead7ea9279a49ad2985f65faef2 SHA256 e9f5bc07e58004665d3496d9d5048015c62c2997600b6d446d7d60be2f86ab0d
DIST samsung-tools-2.1.tar.gz 415254 RMD160 8cb23fef1aa7349c889d8a1b8675431b585fe6e9 SHA1 f2e0093242c5b1350146b2a0c6e0920ec2700143 SHA256 dc5a4d7f24e621785ca9c73f07d18e88cacf0e4b9d77e0f798f7abd9290d6ab9

View file

@ -1,51 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-laptop/samsung-tools/samsung-tools-1.4.ebuild,v 1.2 2012/03/23 19:59:35 angelos Exp $
EAPI=3
PYTHON_DEPEND=2
inherit fdo-mime python
DESCRIPTION="Tools for Samsung laptops"
HOMEPAGE="http://launchpad.net/samsung-tools"
SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="app-laptop/easy-slow-down-manager
dev-python/dbus-python
dev-python/notify-python
dev-python/pygtk
net-wireless/rfkill
sys-power/pm-utils
x11-misc/xbindkeys"
RDEPEND="${DEPEND}"
pkg_setup() {
python_set_active_version 2
}
src_prepare() {
python_convert_shebangs -r -q 2 .
}
src_compile() {
return
}
src_install() {
emake DESTDIR="${D}" install || die
}
pkg_postinst() {
fdo-mime_desktop_database_update
python_mod_optimize /usr/lib/${PN}
}
pkg_postrm() {
fdo-mime_desktop_database_update
python_mod_cleanup /usr/lib/${PN}
}

View file

@ -1,53 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-laptop/samsung-tools/samsung-tools-1.5.ebuild,v 1.2 2012/03/23 19:59:35 angelos Exp $
EAPI=4
PYTHON_DEPEND=2
inherit fdo-mime python
DESCRIPTION="Tools for Samsung laptops"
HOMEPAGE="http://launchpad.net/samsung-tools"
SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="app-laptop/easy-slow-down-manager
dev-python/dbus-python
dev-python/notify-python
dev-python/pygtk
net-wireless/rfkill
sys-power/pm-utils
x11-misc/xbindkeys"
RDEPEND="${DEPEND}"
pkg_setup() {
python_set_active_version 2
python_pkg_setup
}
src_prepare() {
python_convert_shebangs -r -q 2 .
}
src_compile() {
return
}
src_install() {
emake DESTDIR="${D}" install
newinitd "${FILESDIR}"/${PN}.init ${PN}
}
pkg_postinst() {
fdo-mime_desktop_database_update
python_mod_optimize /usr/lib/${PN}
}
pkg_postrm() {
fdo-mime_desktop_database_update
python_mod_cleanup /usr/lib/${PN}
}

View file

@ -1,3 +1,2 @@
DIST dateutils-0.1.7.tar.xz 210344 RMD160 a14808cef6128d04763951dde1e1ee9caf56da35 SHA1 cbc0a4826d80726f49a0c898ca9313b0b2f066ef SHA256 2d9ff50ba8f7025775c956090208e649e67c4b1f6b3c4ff945b2a7f4338fd418
DIST dateutils-0.1.8.tar.xz 246312 RMD160 e7adaa665dd98bb317a123f3f1beb8c36f402795 SHA1 76544c403c5a79c8af289ded11c1e44576051db7 SHA256 991d2f1826c79251cd6eeffb1699e2ed2d218d011360320dc5552adaea5fbb32
DIST dateutils-0.1.10.tar.xz 263292 RMD160 e0f00d091fc7655b5fdbf287c0dbbdeeaf65dc5a SHA1 6f77b739cf476ce19816fb578e705ca4682dc8a1 SHA256 ae847549f36e74fa46f44de8f4a41685c5ac93738d5f14ee86052b81f00b42d4
DIST dateutils-0.1.9.tar.xz 254420 RMD160 7817421a99e1057ee4f630d333db8b2ec87a9254 SHA1 0a32e3b438c28eab2208599899db2aef8cb07769 SHA256 ac107b3c3c674ad9bc45dd4a7e7879235a6270c135e8a775cdbc4f77c0b41896

View file

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/dateutils/dateutils-0.1.8.ebuild,v 1.1 2012/01/03 20:27:29 radhermit Exp $
# $Header: /var/cvsroot/gentoo-x86/app-misc/dateutils/dateutils-0.1.10.ebuild,v 1.1 2012/03/23 22:54:12 radhermit Exp $
EAPI="4"

View file

@ -1,20 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/dateutils/dateutils-0.1.7.ebuild,v 1.1 2011/10/31 00:55:41 radhermit Exp $
EAPI="4"
DESCRIPTION="Command line date and time utilities"
HOMEPAGE="http://hroptatyr.github.com/dateutils/"
SRC_URI="mirror://github/hroptatyr/${PN}/${P}.tar.xz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="app-arch/xz-utils"
src_compile() {
emake CFLAGS="${CFLAGS}"
}

View file

@ -0,0 +1,46 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/detox/detox-1.2.0-r2.ebuild,v 1.1 2012/03/25 09:14:54 jlec Exp $
EAPI=4
inherit base
MY_P="${PN}-${PV/_/-}"
DESCRIPTION="Safely remove spaces and strange characters from filenames"
HOMEPAGE="http://detox.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~mips ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE=""
S="${WORKDIR}"/${MY_P}
RDEPEND="dev-libs/popt"
DEPEND="${RDEPEND}
sys-devel/flex
sys-devel/bison"
PATCHES=(
"${FILESDIR}"/${P}-parallel.patch
"${FILESDIR}"/${P}-LDFLAGS.patch
"${FILESDIR}"/${P}-change-default-sequence-to-use-utf8-table.patch
"${FILESDIR}"/${P}-install-missing-file.patch
)
src_prepare() {
sed \
-e 's:Fl c Ar:Fl f Ar:g' \
-i ${PN}.1 || die
base_src_prepare
sed \
-e '/detoxrc.sample/d' \
-i Makefile.in || die
}
src_configure() {
econf --with-popt="${EPREFIX}/usr"
}

View file

@ -0,0 +1,17 @@
# Patch from Teemu Likonen <tlikonen@iki.fi>
# to change the default sequence to use utf8 instead of iso8859-1
--- detox-1.2.0/detoxrc~ 2006-07-03 19:45:54.000000000 +0300
+++ detox-1.2.0/detoxrc 2009-05-28 15:34:26.497832449 +0300
@@ -32,10 +32,10 @@
#
#
-# Basically just ISO8859_1
+# Basically just utf_8
#
sequence default {
- iso8859_1;
+ utf_8;
safe;
wipeup;
};

View file

@ -0,0 +1,18 @@
# Patch by Nelson A. de Oliveira <naoliv@debian.org>
#
# Patch upstream Makefile to install missing safe.tbl (#566785)
--- detox-1.2.0/Makefile.in 2010-06-20 23:41:34.000000000 -0300
+++ detox-1.2.0/Makefile.in 2010-06-20 23:42:34.000000000 -0300
@@ -147,6 +147,11 @@
else \
echo "${DESTDIR}${datadir}/detox/unicode.tbl exists, skipping"; \
fi
+ @if [ ! -f ${DESTDIR}${datadir}/detox/safe.tbl ]; then \
+ ${INSTALL} -m 644 safe.tbl ${DESTDIR}${datadir}/detox; \
+ else \
+ echo "${DESTDIR}${datadir}/detox/safe.tbl exists, skipping"; \
+ fi
install-unsafe-config: install-base
${INSTALL} -m 644 detoxrc ${DESTDIR}${sysconfdir}

View file

@ -1,3 +1,4 @@
DIST hivex-1.3.1.tar.gz 1078397 RMD160 5f42e555fae7c694421714b7e7e9909888b5b2f3 SHA1 71b54636b516f7c08767c826c2c630358f9e52de SHA256 dc18d94c88f088b9423ed429fe2fd95bab51fc66f86b6081a7c73e4093913328
DIST hivex-1.3.2.tar.gz 1082330 RMD160 4c762ee80b5347497559af0c78d7f3962487ca2d SHA1 cdd53de1f6f17a98333b0bde8193458d409fe861 SHA256 e02d664b262f616e842d58a3787315ceb239c5986ff0652b37af9aeed483025c
DIST hivex-1.3.3.tar.gz 1135870 RMD160 16b0cd574435164628ad69facdadf4fe0553f073 SHA1 4565d6e3d94c5ad558f403ab2aa0ad19e7ccf738 SHA256 c6342ad9f3cd55fa4eb2f5d3acbeeb9701c94f0ad31eb9809639f8f6fc2c1676
DIST hivex-1.3.5.tar.gz 1142710 RMD160 d77697149cf394e00f3e60d72daf21ae290ef774 SHA1 897a2078d43c799bb25f18a6b1ce1779b977c0c2 SHA256 e3614bc5b8fd8ed5268be7183dea015d5ab2007d8b47f1c594e6a947bb834adf

View file

@ -0,0 +1,17 @@
diff --git a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -187,10 +187,12 @@
AM_CONDITIONAL([HAVE_HIVEXSH],[test "x$ac_cv_func_open_memstream" = "xyes"])
dnl Check for OCaml (optional, for OCaml bindings).
+AC_ARG_ENABLE([ocaml],
+ AS_HELP_STRING([--with-ocaml],[build Ocaml binding]))
AC_PROG_OCAML
AC_PROG_FINDLIB
AM_CONDITIONAL([HAVE_OCAML],
- [test "x$OCAMLC" != "xno" && test "x$OCAMLFIND" != "xno"])
+ [test "x$OCAMLC" != "xno" && test "x$OCAMLFIND" != "xno" -a "x$enable_ocaml" = "xyes"]])
AM_CONDITIONAL([HAVE_OCAMLOPT],
[test "x$OCAMLOPT" != "xno" && test "x$OCAMLFIND" != "xno"])

View file

@ -0,0 +1,36 @@
diff --git a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -245,8 +245,31 @@
AC_MSG_WARN([some Perl modules required to compile or test the Perl bindings are missing])
fi
+AC_ARG_ENABLE([perl],
+ AS_HELP_STRING([--with-perl],[build Perl binding]))
+
+
+PERL=
+AS_IF([test "x$enable_perl" != "xno" ],[
+ AC_CHECK_PROG([PERL],[perl],[yes],[no])
+
+ for pm in Test::More ExtUtils::MakeMaker IO::Stringy; do
+ AC_MSG_CHECKING([for $pm])
+ if ! perl -M$pm -e1 >/dev/null 2>&1; then
+ AC_MSG_RESULT([no])
+ missing_perl_modules=yes
+ else
+ AC_MSG_RESULT([yes])
+ fi
+ done
+
+ AS_IF([test "x$missing_perl_modules" = "xyes"],
+ [AC_MSG_FAILURE([some Perl modules required to compile or test the Perl bindings are missing])],
+ )
+])
+
AM_CONDITIONAL([HAVE_PERL],
- [test "x$PERL" != "xno" && test "x$missing_perl_modules" != "xyes"])
+ [test "x$PERL" != "xno" && test "x$missing_perl_modules" != "xyes" -a "x$enable_perl" = "xyes"])
dnl Check for Python (optional, for Python bindings).
PYTHON_PREFIX=

View file

@ -0,0 +1,16 @@
diff --git a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -336,8 +336,11 @@
AC_SUBST(PYTHON_INCLUDEDIR)
AC_SUBST(PYTHON_INSTALLDIR)
+AC_ARG_ENABLE([python],
+ AS_HELP_STRING([--with-python],[build Python binding]))
+
AM_CONDITIONAL([HAVE_PYTHON],
- [test "x$PYTHON" != "xno" && test "x$PYTHON_INCLUDEDIR" != "x" && test "x$PYTHON_INSTALLDIR" != "x"])
+ [test "x$PYTHON_INCLUDEDIR" != "x" -a "x$PYTHON_SITE_PACKAGES" != "x" -a "x$enable_python" = "xyes"])
dnl Check for Ruby and rake (optional, for Ruby bindings).
AC_ARG_ENABLE([ruby],

View file

@ -1,11 +1,12 @@
# 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/hivex/hivex-1.3.2-r1.ebuild,v 1.1 2011/12/01 17:26:53 maksbotan Exp $
# $Header: /var/cvsroot/gentoo-x86/app-misc/hivex/hivex-1.3.2-r1.ebuild,v 1.2 2012/03/25 10:37:40 maksbotan Exp $
EAPI=4
WANT_AUTOMAKE="1.11"
AUTOTOOLS_IN_SOURCE_BUILD=1
AUTOTOOLS_AUTORECONF=1
PYTHON_DEPEND="python? 2:2.6"
inherit base autotools-utils perl-app python
@ -50,7 +51,6 @@ pkg_setup() {
src_prepare() {
autotools-utils_src_prepare
eautoreconf
}
src_configure() {

View file

@ -0,0 +1,82 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/hivex/hivex-1.3.5.ebuild,v 1.1 2012/03/25 10:37:40 maksbotan Exp $
EAPI=4
WANT_AUTOMAKE="1.11"
AUTOTOOLS_IN_SOURCE_BUILD=1
USE_RUBY="ruby18"
RUBY_OPTIONAL=yes
PYTHON_DEPEND="python? 2:2.6"
inherit base autotools-utils perl-app python
DESCRIPTION="Library for reading and writing Windows Registry 'hive' binary files"
HOMEPAGE="http://libguestfs.org"
SRC_URI="http://libguestfs.org/download/${PN}/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="ocaml readline perl python test static-libs ruby"
RDEPEND="virtual/libiconv
virtual/libintl
dev-libs/libxml2:2
ocaml? ( dev-lang/ocaml[ocamlopt]
dev-ml/findlib[ocamlopt]
)
readline? ( sys-libs/readline )
perl? ( dev-perl/IO-stringy )
"
DEPEND="${RDEPEND}
dev-lang/perl
perl? (
test? ( dev-perl/Pod-Coverage
dev-perl/Test-Pod-Coverage ) )
ruby? ( dev-ruby/rake )
"
PATCHES=("${FILESDIR}"/"${PV}")
DOCS=(README)
pkg_setup() {
if use python; then
python_set_active_version 2
python_pkg_setup
python_need_rebuild
fi
}
src_prepare() {
EPATCH_SUFFIX=patch EPATCH_FORCE=yes base_src_prepare
eautoreconf
}
src_configure() {
local myeconfargs=(
$(use_with readline)
$(use_enable ocaml)
$(use_enable perl)
--enable-nls
$(use_enable python)
$(use_enable ruby)
--disable-rpath )
autotools-utils_src_configure
}
src_test() {
autotools-utils_src_compile check
}
src_install() {
strip-linguas -i po
autotools-utils_src_install "LINGUAS=""${LINGUAS}"""
if use perl; then
fixlocalpod
fi
}

View file

@ -1,34 +0,0 @@
diff --git a/quazip/ioapi.h b/quazip/ioapi.h
index 716dd4b..a114915 100644
--- a/quazip/ioapi.h
+++ b/quazip/ioapi.h
@@ -37,13 +37,13 @@
extern "C" {
#endif
-typedef voidpf (ZCALLBACK *open_file_func) OF((voidpf opaque, voidpf file, int mode));
-typedef uLong (ZCALLBACK *read_file_func) OF((voidpf opaque, voidpf stream, void* buf, uLong size));
-typedef uLong (ZCALLBACK *write_file_func) OF((voidpf opaque, voidpf stream, const void* buf, uLong size));
-typedef uLong (ZCALLBACK *tell_file_func) OF((voidpf opaque, voidpf stream));
-typedef int (ZCALLBACK *seek_file_func) OF((voidpf opaque, voidpf stream, uLong offset, int origin));
-typedef int (ZCALLBACK *close_file_func) OF((voidpf opaque, voidpf stream));
-typedef int (ZCALLBACK *testerror_file_func) OF((voidpf opaque, voidpf stream));
+typedef voidpf (ZCALLBACK *open_file_func) _Z_OF((voidpf opaque, voidpf file, int mode));
+typedef uLong (ZCALLBACK *read_file_func) _Z_OF((voidpf opaque, voidpf stream, void* buf, uLong size));
+typedef uLong (ZCALLBACK *write_file_func) _Z_OF((voidpf opaque, voidpf stream, const void* buf, uLong size));
+typedef uLong (ZCALLBACK *tell_file_func) _Z_OF((voidpf opaque, voidpf stream));
+typedef int (ZCALLBACK *seek_file_func) _Z_OF((voidpf opaque, voidpf stream, uLong offset, int origin));
+typedef int (ZCALLBACK *close_file_func) _Z_OF((voidpf opaque, voidpf stream));
+typedef int (ZCALLBACK *testerror_file_func) _Z_OF((voidpf opaque, voidpf stream));
typedef struct zlib_filefunc_def_s
{
@@ -59,7 +59,7 @@ typedef struct zlib_filefunc_def_s
-void fill_qiodevice_filefunc OF((zlib_filefunc_def* pzlib_filefunc_def));
+void fill_qiodevice_filefunc _Z_OF((zlib_filefunc_def* pzlib_filefunc_def));
#define ZREAD(filefunc,filestream,buf,size) ((*((filefunc).zread_file))((filefunc).opaque,filestream,buf,size))
#define ZWRITE(filefunc,filestream,buf,size) ((*((filefunc).zwrite_file))((filefunc).opaque,filestream,buf,size))

View file

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/sleepyhead/sleepyhead-0.9.2.2.ebuild,v 1.2 2012/03/22 13:27:26 rich0 Exp $
# $Header: /var/cvsroot/gentoo-x86/app-misc/sleepyhead/sleepyhead-0.9.2.2.ebuild,v 1.3 2012/03/23 20:28:24 rich0 Exp $
EAPI=4
inherit eutils qt4-r2
@ -37,7 +37,8 @@ src_prepare() {
cd "{$S}"
epatch "${FILESDIR}/gitfix.patch"
epatch "${FILESDIR}/prs1-64fix.patch"
epatch "${FILESDIR}/zlib-of.patch"
sed -i '1i#define OF(x) x' quazip/ioapi.h quazip/unzip.c quazip/unzip.h \
quazip/zip.c quazip/zip.h quazip/zlib.h
eqmake4 SleepyHeadQT.pro
}

View file

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-office/calligra/calligra-2.3.92.ebuild,v 1.1 2012/03/22 07:27:59 scarabeus Exp $
# $Header: /var/cvsroot/gentoo-x86/app-office/calligra/calligra-2.3.92.ebuild,v 1.2 2012/03/25 08:48:33 dilfridge Exp $
# note: files that need to be checked for dependencies etc:
# CMakeLists.txt, kexi/CMakeLists.txt kexi/migration/CMakeLists.txt
@ -30,18 +30,18 @@ gsl +iconv +jpeg jpeg2k +kdcraw kdepim +lcms marble mysql +mso +okular openctl o
+wmf word-perfect xbase +xml +xslt"
# please do not sort here, order is same as in CMakeLists.txt
CAL_FTS="kexi words flow plan stage tables krita karbon braindump"
CAL_FTS="kexi words flow plan stage sheets krita karbon braindump"
for cal_ft in ${CAL_FTS}; do
IUSE+=" calligra_features_${cal_ft}"
done
unset cal_ft
REQUIRED_USE="
calligra_features_kexi? ( calligra_features_tables )
calligra_features_words? ( calligra_features_tables )
calligra_features_kexi? ( calligra_features_sheets )
calligra_features_words? ( calligra_features_sheets )
calligra_features_krita? ( eigen exif lcms )
calligra_features_plan? ( kdepim semantic-desktop )
calligra_features_tables? ( eigen )
calligra_features_sheets? ( eigen )
test? ( calligra_features_karbon )
"

View file

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-office/calligra/calligra-9999.ebuild,v 1.10 2012/03/20 08:31:44 dilfridge Exp $
# $Header: /var/cvsroot/gentoo-x86/app-office/calligra/calligra-9999.ebuild,v 1.11 2012/03/25 08:48:33 dilfridge Exp $
# note: files that need to be checked for dependencies etc:
# CMakeLists.txt, kexi/CMakeLists.txt kexi/migration/CMakeLists.txt
@ -30,18 +30,18 @@ gsl +iconv +jpeg jpeg2k +kdcraw kdepim +lcms marble mysql +mso +okular openctl o
+wmf word-perfect xbase +xml +xslt"
# please do not sort here, order is same as in CMakeLists.txt
CAL_FTS="kexi words flow plan stage tables krita karbon braindump"
CAL_FTS="kexi words flow plan stage sheets krita karbon braindump"
for cal_ft in ${CAL_FTS}; do
IUSE+=" calligra_features_${cal_ft}"
done
unset cal_ft
REQUIRED_USE="
calligra_features_kexi? ( calligra_features_tables )
calligra_features_words? ( calligra_features_tables )
calligra_features_kexi? ( calligra_features_sheets )
calligra_features_words? ( calligra_features_sheets )
calligra_features_krita? ( eigen exif lcms )
calligra_features_plan? ( kdepim semantic-desktop )
calligra_features_tables? ( eigen )
calligra_features_sheets? ( eigen )
test? ( calligra_features_karbon )
"

View file

@ -1,3 +1,2 @@
DIST gnucash-2.4.10.tar.bz2 9367104 RMD160 c08f8f046c24b9b28adf486ea75f9ada9d6e8441 SHA1 b1906f8143406fdf8cb5217233143cc08e708b99 SHA256 52e65623b5ad812b8eeb4c221951e9b0ba3c49e28916acfb7b92566da159e6cc
DIST gnucash-2.4.7.tar.bz2 9297876 RMD160 678db346d2a0d3f019d7435ac3cf17df96ac7c1a SHA1 e99dd56949de27c19d9c3413d30c87a0f74e8ff9 SHA256 eeb3b17f9081a544f8705db735df88ab3f468642a1d01552ea4e36bcb5b0730e
DIST gnucash-2.4.8.tar.bz2 9345232 RMD160 030c5948e188765900bb5736c398f8d5ee6641d4 SHA1 cdd8793bc8e8cbb433a0237007023f4973a51781 SHA256 4aa11e7746bb5105682a223f9baf97200ecf2a1fcddbf871626805ac097fee19

View file

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-office/gnucash/gnucash-2.4.10.ebuild,v 1.1 2012/02/13 10:31:19 pacho Exp $
# $Header: /var/cvsroot/gentoo-x86/app-office/gnucash/gnucash-2.4.10.ebuild,v 1.2 2012/03/25 09:01:45 pacho Exp $
EAPI="4"
GNOME2_LA_PUNT="yes"
@ -38,7 +38,7 @@ RDEPEND=">=dev-libs/glib-2.13:2
x11-libs/pango
cxx? ( dev-cpp/gtkmm:2.4 )
ofx? ( >=dev-libs/libofx-0.9.1 )
hbci? ( >=net-libs/aqbanking-5[gtk]
hbci? ( >=net-libs/aqbanking-5[gtk,ofx?]
sys-libs/gwenhywfar[gtk]
chipcard? ( sys-libs/libchipcard )
)

View file

@ -1,152 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-office/gnucash/gnucash-2.4.7.ebuild,v 1.6 2012/02/10 03:53:51 patrick Exp $
EAPI="3"
GNOME2_LA_PUNT="yes"
GCONF_DEBUG="no"
PYTHON_DEPEND="python? 2:2.5"
inherit gnome2 python eutils autotools
DOC_VER="2.2.0"
DESCRIPTION="A personal finance manager"
HOMEPAGE="http://www.gnucash.org/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="amd64 ppc ~ppc64 x86"
IUSE="chipcard cxx debug +doc hbci mysql ofx postgres python quotes sqlite webkit"
# FIXME: rdepend on dev-libs/qof when upstream fix their mess (see configure.in)
RDEPEND=">=dev-libs/glib-2.13:2
>=dev-libs/popt-1.5
>=dev-libs/libxml2-2.5.10:2
>=dev-scheme/guile-1.8.3:12[deprecated,regex]
dev-scheme/guile-www
>=dev-scheme/slib-3.1.4
>=gnome-base/gconf-2:2
>=gnome-base/libgnomeui-2.4
>=gnome-base/libglade-2.4:2.0
gnome-base/libgnome-keyring
media-libs/libart_lgpl
>=sys-libs/zlib-1.1.4
>=x11-libs/gtk+-2.14:2
x11-libs/goffice:0.8[gnome]
x11-libs/pango
cxx? ( dev-cpp/gtkmm:2.4 )
ofx? ( >=dev-libs/libofx-0.9.1 )
hbci? ( >=net-libs/aqbanking-5[gtk]
sys-libs/gwenhywfar[gtk]
chipcard? ( sys-libs/libchipcard )
)
quotes? ( dev-perl/DateManip
>=dev-perl/Finance-Quote-1.11
dev-perl/HTML-TableExtract )
webkit? ( net-libs/webkit-gtk:2 )
!webkit? ( >=gnome-extra/gtkhtml-3.16:3.14 )
sqlite? ( dev-db/libdbi dev-db/libdbi-drivers[sqlite3] )
postgres? ( dev-db/libdbi dev-db/libdbi-drivers[postgres] )
mysql? ( dev-db/libdbi dev-db/libdbi-drivers[mysql] )
"
DEPEND="${RDEPEND}
>=app-text/scrollkeeper-0.3
dev-util/pkgconfig
dev-util/intltool
gnome-base/gnome-common
sys-devel/libtool
"
PDEPEND="doc? ( >=app-doc/gnucash-docs-${DOC_VER} )"
pkg_setup() {
DOCS="doc/README.OFX doc/README.HBCI"
if use webkit ; then
G2CONF+=" --with-html-engine=webkit"
else
G2CONF+=" --with-html-engine=gtkhtml"
fi
if use sqlite || use mysql || use postgres ; then
G2CONF+=" --enable-dbi"
else
G2CONF+=" --disable-dbi"
fi
G2CONF+="
$(use_enable cxx gtkmm)
$(use_enable debug)
$(use_enable ofx)
$(use_enable hbci aqbanking)
$(use_enable python python-bindings)
--disable-doxygen
--enable-locale-specific-tax
--disable-error-on-warning"
if use python ; then
python_set_active_version 2
fi
}
src_configure() {
# guile wrongly exports LDFLAGS as LIBS which breaks modules
# Filter until a better ebuild is available, bug #202205
local GUILE_LIBS=""
local lib
for lib in $(guile-config link); do
if [ "${lib#-Wl}" = "$lib" ]; then
GUILE_LIBS="$GUILE_LIBS $lib"
fi
done
econf GUILE_LIBS="${GUILE_LIBS}" ${G2CONF}
}
src_prepare() {
gnome2_src_prepare
: > "${S}"/py-compile
use python && python_convert_shebangs -r 2 .
# Disable python binding tests because of missing file
sed 's/^\(SUBDIRS =.*\)tests\(.*\)$/\1\2/' \
-i src/optional/python-bindings/Makefile.{am,in} \
|| die "python tests sed failed"
# Find python in a faster way, bug #344231, upstream bug #????
epatch "${FILESDIR}/${PN}-2.4.7-python-detection.patch"
intltoolize --force --copy --automake || die "intltoolize failed"
eautoreconf
}
src_test() {
unset DBUS_SESSION_BUS_ADDRESS
GUILE_WARN_DEPRECATED=no \
GNC_DOT_DIR="${T}"/.gnucash \
emake check \
|| die "Make check failed. See above for details."
}
src_install() {
# Parallel installation fails from time to time, bug #359123
MAKEOPTS="${MAKEOPTS} -j1" gnome2_src_install GNC_DOC_INSTALL_DIR=/usr/share/doc/${PF}
rm -rf "${ED}"/usr/share/doc/${PF}/{examples/,COPYING,INSTALL,*win32-bin.txt,projects.html}
mv "${ED}"/usr/share/doc/${PF} "${T}"/cantuseprepalldocs || die
dodoc "${T}"/cantuseprepalldocs/* || die
}
pkg_postinst() {
gnome2_pkg_postinst
use python && python_mod_optimize gnucash
}
pkg_postrm() {
gnome2_pkg_postrm
use python && python_mod_cleanup gnucash
}

View file

@ -0,0 +1,24 @@
From 2eebbc5b89f40b2ecaf4c3a9e08b8846bace5b4c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?"David=20E.=20Narv=C3=A1ez"?= <david.narvaez@computer.org>
Date: Tue, 31 Jan 2012 09:17:51 -0500
Subject: [PATCH] Fixing class name to use Konsole namespace
---
KPT_MainWindow.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/KPT_MainWindow.py b/KPT_MainWindow.py
index 08a416d..c713f4f 100644
--- a/KPT_MainWindow.py
+++ b/KPT_MainWindow.py
@@ -137,7 +137,7 @@ class KPT_MainWindow(QtGui.QMainWindow):
# Load Konsole KPART.
konsoleFactory = KLibLoader.self().factory("libkonsolepart")
- konsolePart = konsoleFactory.create(self, "KonsolePart")
+ konsolePart = konsoleFactory.create(self, "Konsole::Part")
self.ui.konsoleLayout.addWidget(konsolePart.widget())
konsolePart.openUrl(KUrl.fromPath(os.environ['HOME']))
--
1.7.6

View file

@ -0,0 +1,133 @@
From 4ad89230ee0cd035d3d05f3745382212bbf552a2 Mon Sep 17 00:00:00 2001
From: MacJariel <MacJariel@gmail.com>
Date: Mon, 14 Mar 2011 13:21:12 +0100
Subject: [PATCH] Updated scripts to work with kdesu 4.6.
---
scripts/depClean.sh | 2 +-
scripts/dispatchConf.sh | 2 +-
scripts/editFile.sh | 2 +-
scripts/etcUpdate.sh | 2 +-
scripts/merge.sh | 2 +-
scripts/revdepRebuild.sh | 2 +-
scripts/syncPortageTree.sh | 2 +-
scripts/unmerge.sh | 2 +-
scripts/upgrade.sh | 2 +-
scripts/upgradePortage.sh | 2 +-
10 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/scripts/depClean.sh b/scripts/depClean.sh
index 14d2425..7805feb 100755
--- a/scripts/depClean.sh
+++ b/scripts/depClean.sh
@@ -5,5 +5,5 @@
# Script called to execute dep-clean process.
# It performs a emerge -va --depclean on a console.
-kdesu "konsole --noclose -p LocalTabTitleFormat=%w -e emerge -va --depclean"
+kdesu -- konsole --noclose -p LocalTabTitleFormat=%w -e emerge -va --depclean
diff --git a/scripts/dispatchConf.sh b/scripts/dispatchConf.sh
index 1d9fbbe..49a2167 100755
--- a/scripts/dispatchConf.sh
+++ b/scripts/dispatchConf.sh
@@ -5,5 +5,5 @@
# Script called to execute dispatch-conf.
# It runs dispatch-conf on a console.
-kdesu "konsole --noclose -p LocalTabTitleFormat=%w -e dispatch-conf"
+kdesu -- konsole --noclose -p LocalTabTitleFormat=%w -e dispatch-conf
diff --git a/scripts/editFile.sh b/scripts/editFile.sh
index 8c28d7b..3d1abd2 100755
--- a/scripts/editFile.sh
+++ b/scripts/editFile.sh
@@ -20,5 +20,5 @@ then
exit 1
fi
-kdesu "konsole --noclose -p LocalTabTitleFormat=%w -e ${EDITOR} $1"
+kdesu -- konsole --noclose -p LocalTabTitleFormat=%w -e ${EDITOR} $1
diff --git a/scripts/etcUpdate.sh b/scripts/etcUpdate.sh
index 3de1654..78061a0 100755
--- a/scripts/etcUpdate.sh
+++ b/scripts/etcUpdate.sh
@@ -5,5 +5,5 @@
# Script called to execute etc-update.
# It performs a etc-update on a console.
-kdesu "konsole --noclose -p LocalTabTitleFormat=%w -e etc-update"
+kdesu -- konsole --noclose -p LocalTabTitleFormat=%w -e etc-update
diff --git a/scripts/merge.sh b/scripts/merge.sh
index cb18d32..e81e68c 100755
--- a/scripts/merge.sh
+++ b/scripts/merge.sh
@@ -11,5 +11,5 @@ then
exit 1
fi
-kdesu "konsole --noclose -p LocalTabTitleFormat=%w -e emerge -va $@"
+kdesu -- konsole --noclose -p LocalTabTitleFormat=%w -e emerge -va $@
diff --git a/scripts/revdepRebuild.sh b/scripts/revdepRebuild.sh
index f466c3b..51ecb79 100755
--- a/scripts/revdepRebuild.sh
+++ b/scripts/revdepRebuild.sh
@@ -5,5 +5,5 @@
# Script called to execute revdep-rebuild process.
# It performs a revdep-rebuild on a console.
-kdesu "konsole --noclose -p LocalTabTitleFormat=%w -e revdep-rebuild -i"
+kdesu -- konsole --noclose -p LocalTabTitleFormat=%w -e revdep-rebuild -i
diff --git a/scripts/syncPortageTree.sh b/scripts/syncPortageTree.sh
index 8825be1..a4f67f1 100755
--- a/scripts/syncPortageTree.sh
+++ b/scripts/syncPortageTree.sh
@@ -15,7 +15,7 @@ TMP_FILE=$1
# Create the temporary file.
touch ${TMP_FILE}
-kdesu -t 'emerge --sync --color=y 2>&1 && cp -v /var/cache/eix /var/cache/eix.previous && eix-update 2>&1 && echo "Process Finished"' >> ${TMP_FILE}
+kdesu -t -c 'emerge --sync --color=y 2>&1 && cp -v /var/cache/eix /var/cache/eix.previous && eix-update 2>&1 && echo "Process Finished"' >> ${TMP_FILE}
# Remove the temporary file.
rm ${TMP_FILE}
diff --git a/scripts/unmerge.sh b/scripts/unmerge.sh
index b0c0882..133ff7a 100755
--- a/scripts/unmerge.sh
+++ b/scripts/unmerge.sh
@@ -11,5 +11,5 @@ then
exit 1
fi
-kdesu "konsole --noclose -p LocalTabTitleFormat=%w -e emerge -va --unmerge $@"
+kdesu -- konsole --noclose -p LocalTabTitleFormat=%w -e emerge -va --unmerge $@
diff --git a/scripts/upgrade.sh b/scripts/upgrade.sh
index da14027..3691587 100755
--- a/scripts/upgrade.sh
+++ b/scripts/upgrade.sh
@@ -5,5 +5,5 @@
# Script called to upgrade the world set.
# It performs a emerge -vaNDU world on a console.
-kdesu "konsole --noclose -p LocalTabTitleFormat=%w -e emerge -vaNDu world"
+kdesu -- konsole --noclose -p LocalTabTitleFormat=%w -e emerge -vaNDu world
diff --git a/scripts/upgradePortage.sh b/scripts/upgradePortage.sh
index cac5bb2..aaea771 100755
--- a/scripts/upgradePortage.sh
+++ b/scripts/upgradePortage.sh
@@ -5,5 +5,5 @@
# Script called to upgrade the portage.
# It performs a emerge -va portage on a console.
-kdesu "konsole --noclose -p LocalTabTitleFormat=%w -e emerge -va portage"
+kdesu -- konsole --noclose -p LocalTabTitleFormat=%w -e emerge -va portage
--
1.7.9.2

View file

@ -0,0 +1,54 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-portage/kportagetray/kportagetray-0.2.4-r1.ebuild,v 1.1 2012/03/24 19:40:56 dilfridge Exp $
EAPI=4
KDE_LINGUAS="pt_BR"
PYTHON_DEPEND="2:2.6"
KDE_SCM="git"
inherit kde4-base python
EGIT_REPO_URI="git://gitorious.org/${PN}/${PN}.git"
DESCRIPTION="Graphical application for Portage's daily tasks"
HOMEPAGE="http://gitorious.org/kportagetray"
[[ ${PV} == 9999* ]] || SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
LICENSE="GPL-3"
KEYWORDS="~amd64 ~ppc ~x86"
SLOT="4"
IUSE=""
DEPEND="
dev-python/PyQt4[svg,dbus]
$(add_kdebase_dep pykde4)
"
RDEPEND="${DEPEND}
app-portage/eix
app-portage/genlop
$(add_kdebase_dep kdesu)
$(add_kdebase_dep knotify)
$(add_kdebase_dep konsole)
"
PATCHES=(
"${FILESDIR}/${P}-fix_class_name.patch"
"${FILESDIR}/${P}-kdesu46.patch"
)
pkg_setup() {
python_set_active_version 2
python_pkg_setup
kde4-base_pkg_setup
}
src_prepare() {
python_convert_shebangs -r 2 .
kde4-base_src_prepare
}
pkg_postinst() {
kde4-base_pkg_postinst
}

View file

@ -1,4 +1,2 @@
DIST arc4random.c.1.14 10456 RMD160 9055fd90a2fe871f55662af3901faf2a21f3412a SHA1 0e11adddb09121a3df8ed4914a9c34223703ae3f SHA256 bf9788f3aea26bed40b9f2ed53b764a2ce0555257587ac7fb3d0d7b31b9a5c32
DIST mksh-R39c.cpio.gz 296033 RMD160 02a74d4158bef6cf98012ff60c3c0bfe5b095924 SHA1 5b40171c736773492257889da0965abe3a3ed706 SHA256 b3e81c8a4a1edc3b3a4ea948e00d45b5d4d05cd966db09ce1c246935b213134f
DIST mksh-R40b.cpio.gz 320793 RMD160 875fed27bfbb9d7ded18c2795e5bab7e26c2dcb5 SHA1 986b764715559edf94cc65f5b55b964a7aac7162 SHA256 29daa14c22a230c6946d0d04b3636ccbc555165313f4bf0ba040103cae26345a
DIST mksh-R40d.cpio.gz 326002 RMD160 431b35acc098242cf3262f41d9802839f2ce0b97 SHA1 74450a1107664797e5fdbdeb444f18f82f0686ac SHA256 2df19532a2c4c1cf99dfce4c8b1bca8df65f027c5da1f5d2f561df53567c1057
DIST mksh-R40e.cpio.gz 328168 RMD160 07480cde98b27b62d600c3bd1f3bf47498f84f56 SHA1 83d4ac9f409a946730a5b33f813da193d4371b09 SHA256 21f8a1158e06e3d650ebead924e76437dce2dcf924f4a6e66624b9636d94f0a2

View file

@ -1,40 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-shells/mksh/mksh-39c.ebuild,v 1.4 2011/02/10 16:12:28 tomka Exp $
inherit eutils
DESCRIPTION="MirBSD KSH Shell"
HOMEPAGE="http://mirbsd.de/mksh"
ARC4_VERSION="1.14"
SRC_URI="http://www.mirbsd.org/MirOS/dist/mir/mksh/${PN}-R${PV}.cpio.gz
http://www.mirbsd.org/MirOS/dist/hosted/other/arc4random.c.${ARC4_VERSION}"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~ppc x86"
IUSE=""
DEPEND="app-arch/cpio"
RDEPEND=""
S="${WORKDIR}/${PN}"
src_unpack() {
gzip -dc "${DISTDIR}/${PN}-R${PV}.cpio.gz" | cpio -mid
cp "${DISTDIR}/arc4random.c.${ARC4_VERSION}" "${S}/arc4random.c" || die
epatch "${FILESDIR}/${P}-urandom-write.patch"
}
src_compile() {
tc-export CC
sh Build.sh -r || die
}
src_install() {
exeinto /bin
doexe mksh || die
doman mksh.1 || die
dodoc dot.mkshrc || die
}
src_test() {
./test.sh || die
}

View file

@ -1,14 +1,13 @@
# 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-shells/mksh/mksh-40b.ebuild,v 1.2 2011/08/01 15:49:06 patrick Exp $
# $Header: /var/cvsroot/gentoo-x86/app-shells/mksh/mksh-40e.ebuild,v 1.1 2012/03/25 01:37:51 patrick Exp $
inherit eutils
DESCRIPTION="MirBSD KSH Shell"
HOMEPAGE="http://mirbsd.de/mksh"
ARC4_VERSION="1.14"
SRC_URI="http://www.mirbsd.org/MirOS/dist/mir/mksh/${PN}-R${PV}.cpio.gz
http://www.mirbsd.org/MirOS/dist/hosted/other/arc4random.c.${ARC4_VERSION}"
SRC_URI="http://www.mirbsd.org/MirOS/dist/mir/mksh/${PN}-R${PV}.cpio.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
@ -19,7 +18,6 @@ S="${WORKDIR}/${PN}"
src_unpack() {
gzip -dc "${DISTDIR}/${PN}-R${PV}.cpio.gz" | cpio -mid
cp "${DISTDIR}/arc4random.c.${ARC4_VERSION}" "${S}/arc4random.c" || die
}
src_compile() {

View file

@ -1,9 +1,4 @@
DIST zsh-4.3.11-doc.tar.bz2 2687527 RMD160 b6ef6fef121b49f7060163b5b1493987af6dfe3f SHA1 5f3a6a35f23596738e911b9f8847808da5c765ba SHA256 956100a251cf523978a2f81802636b6cdd28f2861d508eedb10477317cecec4c
DIST zsh-4.3.11.tar.bz2 2868429 RMD160 e5e0d79231cdb95e6b6edac0e1b81db6c0018c37 SHA1 25cf0daadc4543d147f6241573d6730b60f16016 SHA256 30eb774120d89d98336c929c210a9df4f61fc1f0137732812a6c0d8b8d074f05
DIST zsh-4.3.12-doc.tar.bz2 2698428 RMD160 502b6c39c1d58d92d6df485f9298b184a808fc3c SHA1 89d799454993e787aae75b54f6ecfde90b3fc530 SHA256 8d13cc1540d79afd9fc451b43a10046fed1f11d12bdc2bbd8158bc7084a5dfed
DIST zsh-4.3.12.tar.bz2 2917959 RMD160 83f2a0f3e590722262e5725df97d924b1fd4ee84 SHA1 8fd7a6d841770c8b12cf3ae8229dd857ecdbad93 SHA256 4a9fd2dac76fc08fd1dc400deba854fcefa12ad76226d93fb6c01a801324f106
DIST zsh-4.3.15-doc.tar.bz2 2712215 RMD160 87e3f43982e9a2688a4a50441483d9893cddbfef SHA1 b100e76aa81c215cd04276b5888245d7b6954449 SHA256 73b7ee1a737fbaf9be77cf6b55b27cca96bac39bc5ef25efa9ceb427cd1b5ad4
DIST zsh-4.3.15.tar.bz2 2969951 RMD160 cf10504b2ee1085a4ace9387c5751fb117a2a245 SHA1 ff78f98ec3bf96bf9507e34098b64f33e6d6b3a5 SHA256 8708f485823fb7e51aa696776d0dfac7d3558485182672cf9311c12a50a95486
DIST zsh-4.3.17-doc.tar.bz2 2719164 RMD160 86976d5a244a66a5f1574a21fd525e77dab14977 SHA1 dea9df401a670f383c8cbeb4b35de1d77a26e54a SHA256 68f71ba6ba0dc56bfdd93573c7f02dcc3a4f06fd8e24a5f9e17202cf5e68cb91
DIST zsh-4.3.17.tar.bz2 2978903 RMD160 a7e01f36856bcdcc13c526109f8752709bd9423b SHA1 d9c9b3589046b9a1d445b25eb1dda20c62bad6a3 SHA256 054e0452afd9c742c9f1489465175e1d4d7db50d88b602d132551d850cf7a704
DIST zsh-lovers_0.8.3.tar.gz 875976 RMD160 f8482d61d700cc79530b4839de5a86aed6783e99 SHA1 f4905d8825c982371e72053a58cb9679329249a8 SHA256 c786724ac9526e2504142c6d607bc6f3703a35b3db804123f0ffe4214b399ea9

View file

@ -1,24 +0,0 @@
Bugs-Gentoo: https://bugs.gentoo.org/show_bug.cgi?id=352056
--- a/Src/subst.c
+++ b/Src/subst.c
@@ -2814,12 +2814,14 @@
zerr("invalid length: %s", check_offset);
return NULL;
}
- length = mathevali(check_offset);
- if (errflag)
- return NULL;
- if (length < (zlong)0) {
- zerr("invalid length: %s", check_offset);
- return NULL;
+ if (check_offset) {
+ length = mathevali(check_offset);
+ if (errflag)
+ return NULL;
+ if (length < (zlong)0) {
+ zerr("invalid length: %s", check_offset);
+ return NULL;
+ }
}
}
if (horrible_offset_hack) {

View file

@ -1,202 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-shells/zsh/zsh-4.3.11-r1.ebuild,v 1.9 2011/03/24 18:29:18 xarthisius Exp $
EAPI=3
# doc package for -dev version exists?
doc_available=true
inherit eutils flag-o-matic multilib prefix
MY_PV=${PV/_p/-dev-}
S=${WORKDIR}/${PN}-${MY_PV}
zsh_ftp="ftp://ftp.zsh.org/pub"
if [[ ${PV} != "${MY_PV}" ]] ; then
ZSH_URI="${zsh_ftp}/development/${PN}-${MY_PV}.tar.bz2"
if ${doc_available} ; then
ZSH_DOC_URI="${zsh_ftp}/development/${PN}-${MY_PV}-doc.tar.bz2"
else
ZSH_DOC_URI="${zsh_ftp}/${PN}-${PV%_*}-doc.tar.bz2"
fi
else
ZSH_URI="mirror://sourceforge/${PN}/${P}.tar.bz2
${zsh_ftp}/${P}.tar.bz2"
ZSH_DOC_URI="${zsh_ftp}/${PN}-${PV%_*}-doc.tar.bz2"
fi
LOVERS_PV=0.8.3
LOVERS_P=zsh-lovers
LOVERS_URI="http://deb.grml.org/pool/main/z/zsh-lovers"
DESCRIPTION="UNIX Shell similar to the Korn shell"
HOMEPAGE="http://www.zsh.org/"
SRC_URI="${ZSH_URI}
examples? ( ${LOVERS_URI}/${LOVERS_P}_${LOVERS_PV}.tar.gz )
doc? ( ${ZSH_DOC_URI} )"
LICENSE="ZSH gdbm? ( GPL-2 )"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="caps debug doc examples gdbm maildir pcre static unicode"
RDEPEND=">=sys-libs/ncurses-5.1
static? ( || ( >=sys-libs/ncurses-5.7-r4[static-libs] <sys-libs/ncurses-5.7-r4 ) )
caps? ( sys-libs/libcap )
pcre? ( >=dev-libs/libpcre-3.9
static? ( >=dev-libs/libpcre-3.9[static-libs] ) )
gdbm? ( sys-libs/gdbm )"
DEPEND="sys-apps/groff
examples? ( app-text/asciidoc )
${RDEPEND}"
src_prepare() {
# fix zshall problem with soelim
ln -s Doc man1
mv Doc/zshall.1 Doc/zshall.1.soelim
soelim Doc/zshall.1.soelim > Doc/zshall.1
epatch "${FILESDIR}/${PN}"-init.d-gentoo-r1.diff \
"${FILESDIR}"/4.3.11-subst.patch
cp "${FILESDIR}"/zprofile-1 "${T}"/zprofile || die
eprefixify "${T}"/zprofile || die
if use prefix ; then
sed -i -e 's|@ZSH_PREFIX@||' -e '/@ZSH_NOPREFIX@/d' "${T}"/zprofile || die
else
sed -i -e 's|@ZSH_NOPREFIX@||' -e '/@ZSH_PREFIX@/d' -e 's|""||' "${T}"/zprofile || die
fi
}
src_configure() {
local myconf=
if use static ; then
myconf+=" --disable-dynamic"
append-ldflags -static
fi
if use debug ; then
myconf+=" \
--enable-zsh-debug \
--enable-zsh-mem-debug \
--enable-zsh-mem-warning \
--enable-zsh-secure-free \
--enable-zsh-hash-debug"
fi
if [[ ${CHOST} == *-darwin* ]]; then
myconf+=" --enable-libs=-liconv"
append-ldflags -Wl,-x
fi
econf \
--bindir="${EPREFIX}"/bin \
--libdir="${EPREFIX}"/usr/$(get_libdir) \
--enable-etcdir="${EPREFIX}"/etc/zsh \
--enable-fndir="${EPREFIX}"/usr/share/zsh/${PV%_*}/functions \
--enable-site-fndir="${EPREFIX}"/usr/share/zsh/site-functions \
--enable-function-subdirs \
--with-term-lib="ncursesw ncurses" \
--with-tcsetpgrp \
$(use_enable maildir maildir-support) \
$(use_enable pcre) \
$(use_enable caps cap) \
$(use_enable unicode multibyte) \
$(use_enable gdbm ) \
${myconf}
if use static ; then
# compile all modules statically, see Bug #27392
# removed cap and curses because linking failes
sed -i \
-e "s,link=no,link=static,g" \
-e "/^name=zsh\/cap/s,link=static,link=no," \
-e "/^name=zsh\/curses/s,link=static,link=no," \
"${S}"/config.modules || die
if ! use gdbm ; then
sed -i '/^name=zsh\/db\/gdbm/s,link=static,link=no,' \
"${S}"/config.modules || die
fi
# else
# sed -i -e "/LIBS/s%-lpcre%${EPREFIX}/usr/$(get_libdir)/libpcre.a%" Makefile
fi
}
src_test() {
local i
addpredict /dev/ptmx
for i in C02cond.ztst Y01completion.ztst Y02compmatch.ztst Y03arguments.ztst ; do
rm "${S}"/Test/${i} || die
done
make check || die "make check failed"
}
src_install() {
emake DESTDIR="${D}" install install.info || die
insinto /etc/zsh
doins "${T}"/zprofile || die
keepdir /usr/share/zsh/site-functions
insinto /usr/share/zsh/${PV%_*}/functions/Prompts
newins "${FILESDIR}"/prompt_gentoo_setup-1 prompt_gentoo_setup || die
# install miscellaneous scripts; bug #54520
local i
sed -i -e "s:/usr/local/bin/perl:${EPREFIX}/usr/bin/perl:g" \
-e "s:/usr/local/bin/zsh:${EPREFIX}/bin/zsh:g" "${S}"/{Util,Misc}/* || die
for i in Util Misc ; do
insinto /usr/share/zsh/${PV%_*}/${i}
doins ${i}/* || die
done
dodoc ChangeLog* META-FAQ NEWS README config.modules
if use doc ; then
pushd "${WORKDIR}/${PN}-${PV%_*}" >/dev/null
dohtml -r Doc/* || die
insinto /usr/share/doc/${PF}
doins Doc/zsh.{dvi,pdf} || die
popd >/dev/null
fi
if use examples ; then
pushd "${WORKDIR}/${LOVERS_P/.orig/}" >/dev/null
asciidoc zsh-lovers.1.txt
mv zsh-lovers.1.html zsh-lovers.html || die
a2x -f manpage zsh-lovers.1.txt || die
#a2x -f pdf zsh-lovers.1.txt || die
#mv zsh-lovers.1.pdf zsh-lovers.pdf || die
doman zsh-lovers.1 || die "doman zsh-lovers failed"
dohtml zsh-lovers.html || die "dohtml zsh-lovers failed"
docinto zsh-lovers
dodoc zsh.vim README || die
insinto /usr/share/doc/${PF}/zsh-lovers
doins refcard.pdf || die
# doins zsh-lovers.{ps,pdf} refcard.{dvi,ps,pdf} || die
doins -r zsh_people || die "doins zsh_people failed"
popd >/dev/null
fi
docinto StartupFiles
dodoc StartupFiles/z*
}
pkg_postinst() {
# should link to http://www.gentoo.org/doc/en/zsh.xml
elog
elog "If you want to enable Portage completions and Gentoo prompt,"
elog "emerge app-shells/zsh-completion and add"
elog " autoload -U compinit promptinit"
elog " compinit"
elog " promptinit; prompt gentoo"
elog "to your ~/.zshrc"
elog
elog "Also, if you want to enable cache for the completions, add"
elog " zstyle ':completion::complete:*' use-cache 1"
elog "to your ~/.zshrc"
elog
}

View file

@ -1,181 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-shells/zsh/zsh-4.3.12.ebuild,v 1.7 2012/02/02 15:19:45 ssuominen Exp $
EAPI=4
# doc package for -dev version exists?
doc_available=true
inherit eutils flag-o-matic multilib prefix
MY_PV=${PV/_p/-dev-}
S=${WORKDIR}/${PN}-${MY_PV}
zsh_ftp="ftp://ftp.zsh.org/pub"
if [[ ${PV} != "${MY_PV}" ]] ; then
ZSH_URI="${zsh_ftp}/development/${PN}-${MY_PV}.tar.bz2"
if ${doc_available} ; then
ZSH_DOC_URI="${zsh_ftp}/development/${PN}-${MY_PV}-doc.tar.bz2"
else
ZSH_DOC_URI="${zsh_ftp}/${PN}-${PV%_*}-doc.tar.bz2"
fi
else
ZSH_URI="mirror://sourceforge/${PN}/${P}.tar.bz2
${zsh_ftp}/${P}.tar.bz2"
ZSH_DOC_URI="${zsh_ftp}/${PN}-${PV%_*}-doc.tar.bz2"
fi
DESCRIPTION="UNIX Shell similar to the Korn shell"
HOMEPAGE="http://www.zsh.org/"
SRC_URI="${ZSH_URI}
doc? ( ${ZSH_DOC_URI} )"
LICENSE="ZSH gdbm? ( GPL-2 )"
SLOT="0"
KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 ~sh ~sparc x86 ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="caps debug doc examples gdbm maildir pcre static unicode"
RDEPEND="
>=sys-libs/ncurses-5.1
static? ( || ( >=sys-libs/ncurses-5.7-r4[static-libs] <sys-libs/ncurses-5.7-r4 ) )
caps? ( sys-libs/libcap )
pcre? ( >=dev-libs/libpcre-3.9
static? ( >=dev-libs/libpcre-3.9[static-libs] ) )
gdbm? ( sys-libs/gdbm )
"
DEPEND="sys-apps/groff
${RDEPEND}"
PDEPEND="
examples? ( app-doc/zsh-lovers )
"
src_prepare() {
# fix zshall problem with soelim
ln -s Doc man1
mv Doc/zshall.1 Doc/zshall.1.soelim
soelim Doc/zshall.1.soelim > Doc/zshall.1
epatch "${FILESDIR}/${PN}"-init.d-gentoo-r1.diff
cp "${FILESDIR}"/zprofile-1 "${T}"/zprofile || die
eprefixify "${T}"/zprofile || die
if use prefix ; then
sed -i -e 's|@ZSH_PREFIX@||' -e '/@ZSH_NOPREFIX@/d' "${T}"/zprofile || die
else
sed -i -e 's|@ZSH_NOPREFIX@||' -e '/@ZSH_PREFIX@/d' -e 's|""||' "${T}"/zprofile || die
fi
}
src_configure() {
local myconf=
if use static ; then
myconf+=" --disable-dynamic"
append-ldflags -static
fi
if use debug ; then
myconf+=" \
--enable-zsh-debug \
--enable-zsh-mem-debug \
--enable-zsh-mem-warning \
--enable-zsh-secure-free \
--enable-zsh-hash-debug"
fi
if [[ ${CHOST} == *-darwin* ]]; then
myconf+=" --enable-libs=-liconv"
append-ldflags -Wl,-x
fi
econf \
--bindir="${EPREFIX}"/bin \
--libdir="${EPREFIX}"/usr/$(get_libdir) \
--enable-etcdir="${EPREFIX}"/etc/zsh \
--enable-fndir="${EPREFIX}"/usr/share/zsh/${PV%_*}/functions \
--enable-site-fndir="${EPREFIX}"/usr/share/zsh/site-functions \
--enable-function-subdirs \
--with-term-lib="ncursesw ncurses" \
--with-tcsetpgrp \
$(use_enable maildir maildir-support) \
$(use_enable pcre) \
$(use_enable caps cap) \
$(use_enable unicode multibyte) \
$(use_enable gdbm ) \
${myconf}
if use static ; then
# compile all modules statically, see Bug #27392
# removed cap and curses because linking failes
sed -i \
-e "s,link=no,link=static,g" \
-e "/^name=zsh\/cap/s,link=static,link=no," \
-e "/^name=zsh\/curses/s,link=static,link=no," \
"${S}"/config.modules || die
if ! use gdbm ; then
sed -i '/^name=zsh\/db\/gdbm/s,link=static,link=no,' \
"${S}"/config.modules || die
fi
# else
# sed -i -e "/LIBS/s%-lpcre%${EPREFIX}/usr/$(get_libdir)/libpcre.a%" Makefile
fi
}
src_test() {
local i
addpredict /dev/ptmx
for i in C02cond.ztst Y01completion.ztst Y02compmatch.ztst Y03arguments.ztst ; do
rm "${S}"/Test/${i} || die
done
emake check
}
src_install() {
emake DESTDIR="${D}" install install.info
insinto /etc/zsh
doins "${T}"/zprofile
keepdir /usr/share/zsh/site-functions
insinto /usr/share/zsh/${PV%_*}/functions/Prompts
newins "${FILESDIR}"/prompt_gentoo_setup-1 prompt_gentoo_setup
# install miscellaneous scripts; bug #54520
local i
sed -i -e "s:/usr/local/bin/perl:${EPREFIX}/usr/bin/perl:g" \
-e "s:/usr/local/bin/zsh:${EPREFIX}/bin/zsh:g" "${S}"/{Util,Misc}/* || die
for i in Util Misc ; do
insinto /usr/share/zsh/${PV%_*}/${i}
doins ${i}/*
done
dodoc ChangeLog* META-FAQ NEWS README config.modules
if use doc ; then
pushd "${WORKDIR}/${PN}-${PV%_*}" >/dev/null
dohtml -r Doc/*
insinto /usr/share/doc/${PF}
doins Doc/zsh.{dvi,pdf}
popd >/dev/null
fi
docinto StartupFiles
dodoc StartupFiles/z*
}
pkg_postinst() {
# should link to http://www.gentoo.org/doc/en/zsh.xml
elog
elog "If you want to enable Portage completions and Gentoo prompt,"
elog "emerge app-shells/zsh-completion and add"
elog " autoload -U compinit promptinit"
elog " compinit"
elog " promptinit; prompt gentoo"
elog "to your ~/.zshrc"
elog
elog "Also, if you want to enable cache for the completions, add"
elog " zstyle ':completion::complete:*' use-cache 1"
elog "to your ~/.zshrc"
elog
}

View file

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/asciidoc/asciidoc-8.6.5.ebuild,v 1.4 2012/03/23 14:24:25 floppym Exp $
# $Header: /var/cvsroot/gentoo-x86/app-text/asciidoc/asciidoc-8.6.5.ebuild,v 1.5 2012/03/24 11:54:57 ago Exp $
EAPI="3"
@ -19,7 +19,7 @@ if [ "$PV" == "9999" ]; then
S=${WORKDIR}/hg
else
SRC_URI="mirror://sourceforge/project/${PN}/${PN}/${PV}/${P}.tar.gz"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
fi
LICENSE="GPL-2"

View file

@ -1,3 +1,3 @@
DIST libgxps-0.1.0.tar.xz 259168 RMD160 6513e82c624cb55251a42e22cef1e80e91999fe0 SHA1 f1d4ba87c070e0ef57de988154142330d9171cf4 SHA256 10d25905a0f5318e47e2d0471606ce8e5318cf7d7f93fb60218a716078d3548e
DIST libgxps-0.2.0.tar.xz 299908 RMD160 0efdd608e68dc5a17936b0c2a7520e1bb218675a SHA1 e847f672c19c7ef3461d2ea0c737d9e159688ad6 SHA256 6c6958b3bd19e02abf4dfa99a2cdaec09be46bf89707ece5b45851bc518e46e6
DIST libgxps-0.2.1.tar.xz 301012 RMD160 0ff5e4e4767fdd69c448795631c3b1f25e4bdc57 SHA1 10c97366e6bb31a0cd5f3c3cb0df14dd2efc9999 SHA256 b4eb55db83d1268ae81b932cc468ff52b38b0a8d36d7f4c458763585fbad9781
DIST libgxps-0.2.2.tar.xz 302844 RMD160 4a4abb182d20342fa4d8856854ab4692dcd5d61f SHA1 8d5a2151aeb631119f0c75e1bb10bbc71a0da78d SHA256 39d104739bf0db43905c315de1d8002460f1a098576f4418f69294013a5820be

View file

@ -1,11 +1,12 @@
# 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-text/libgxps/libgxps-0.2.0.ebuild,v 1.1 2011/11/23 20:25:50 tetromino Exp $
# $Header: /var/cvsroot/gentoo-x86/app-text/libgxps/libgxps-0.2.2.ebuild,v 1.1 2012/03/24 10:17:38 pacho Exp $
EAPI="4"
GNOME2_LA_PUNT="yes"
GCONF_DEBUG="yes"
inherit autotools eutils gnome2
inherit gnome2
DESCRIPTION="Library for handling and rendering XPS documents"
HOMEPAGE="http://live.gnome.org/libgxps"
@ -30,9 +31,8 @@ DEPEND="${RDEPEND}
dev-util/pkgconfig
doc? (
app-text/docbook-xml-dtd:4.1.2
>=dev-util/gtk-doc-1.14 )
>=dev-util/gtk-doc-1.14 )"
dev-util/gtk-doc-am"
# eautoreconf requires: dev-util/gtk-doc-am
# There is no automatic test suite, only an interactive test application
@ -50,14 +50,3 @@ pkg_setup() {
$(use_with tiff libtiff)"
DOCS="AUTHORS ChangeLog NEWS README TODO"
}
src_prepare() {
# Upstream patch to fix linking, in next release, requires eautoreconf
epatch "${FILESDIR}/${P}-libm.patch"
# https://bugzilla.gnome.org/show_bug.cgi?id=664666
epatch "${FILESDIR}/${PN}-0.2.0-libpng15.patch"
eautoreconf
gnome2_src_prepare
}

View file

@ -1,4 +1,2 @@
DIST mftrace-1.2.13.tar.gz 74557 RMD160 523e15dc9e6091e93920ca8a073c1bfdd94908f0 SHA1 ea69a96a91b048589338eedbc64b8230d490e090 SHA256 d4cda4a03df2025bfea288237ffffe670ea59cd9fe8160c738adbca4d93a3f21
DIST mftrace-1.2.16.tar.gz 76015 RMD160 71bb646fa78c81788fd1134659b3363e04ffed4c SHA1 f227a98401ded8fbb0f692933ee6324ef80f3b61 SHA256 ebc8b9774d739cf5c44359884bd4d45a728de16505ce693eb2f57738378c3a3f
DIST mftrace-1.2.17.tar.gz 78967 RMD160 9e6a0797a9986733faadbacb9f80c190a8ef19d3 SHA1 e1fce792d982e8025ec48f52315aedc5b4bb1a14 SHA256 b347a9011c2bd3635055c560f563340c9225b65acd8b0933a91147be6665fb68
DIST mftrace-1.2.18.tar.gz 79112 RMD160 9ab04989283b27ac8a92051936a575b8f8407764 SHA1 8ae5c69a49f3d34e021913b6378056a6d43c2fd2 SHA256 0d31065f1d35919e311d9170bbfcdacc58736e3f783311411ed1277aa09d3261

View file

@ -1,18 +0,0 @@
--- mftrace-1.2.13/mftrace.py~ 2009-08-02 07:19:04.000000000 +0100
+++ mftrace-1.2.13/mftrace.py 2009-08-02 07:19:06.000000000 +0100
@@ -326,11 +326,11 @@
return (name, cods)
-def zip_to_pairs (as):
+def zip_to_pairs (xs):
r = []
- while as:
- r.append ((as[0], as[1]))
- as = as[2:]
+ while xs:
+ r.append ((xs[0], xs[1]))
+ xs = xs[2:]
return r
def unzip_pairs (tups):

View file

@ -1,53 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/mftrace/mftrace-1.2.13-r1.ebuild,v 1.3 2011/12/03 18:10:59 armin76 Exp $
EAPI="3"
PYTHON_DEPEND="2"
inherit python multilib toolchain-funcs eutils
DESCRIPTION="Traces TeX fonts to PFA or PFB fonts (formerly pktrace)"
HOMEPAGE="http://lilypond.org/mftrace/"
SRC_URI="http://lilypond.org/download/sources/mftrace/${P}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~ppc ~x86"
# SLOT 1 was used in pktrace ebuild
SLOT="1"
IUSE="truetype"
DEPEND="|| ( media-gfx/potrace >=media-gfx/autotrace-0.30 )"
RDEPEND="${DEPEND}
virtual/latex-base
>=app-text/t1utils-1.25
truetype? ( media-gfx/fontforge )"
pkg_setup() {
python_set_active_version 2
}
src_prepare() {
epatch "${FILESDIR}/${P}-python-2.6.patch"
}
src_configure() {
tc-export CC
econf --datadir=$(python_get_sitedir)
}
src_compile() {
emake CFLAGS="-Wall ${CFLAGS}" || die "emake failed"
}
src_install () {
emake DESTDIR="${D}" PYC_MODULES="" install || die "make install failed"
dodoc README.txt ChangeLog
}
pkg_postinst() {
python_mod_optimize mftrace
}
pkg_postrm() {
python_mod_cleanup mftrace
}

View file

@ -1,42 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/mftrace/mftrace-1.2.13.ebuild,v 1.12 2011/12/03 18:10:59 armin76 Exp $
EAPI="2"
inherit python multilib toolchain-funcs eutils
DESCRIPTION="traces TeX fonts to PFA or PFB fonts (formerly pktrace)"
HOMEPAGE="http://lilypond.org/mftrace/"
SRC_URI="http://lilypond.org/download/sources/mftrace/${P}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="amd64 ppc x86"
# SLOT 1 was used in pktrace ebuild
SLOT="1"
IUSE="truetype"
DEPEND=">=dev-lang/python-2.2.2
|| ( media-gfx/potrace >=media-gfx/autotrace-0.30 )"
RDEPEND="${DEPEND}
virtual/latex-base
>=app-text/t1utils-1.25
truetype? ( media-gfx/fontforge )"
src_prepare() {
epatch "${FILESDIR}/${P}-python-2.6.patch"
}
src_configure() {
tc-export CC
econf --datadir=$(python_get_sitedir)
}
src_compile() {
emake CFLAGS="-Wall ${CFLAGS}" || die "emake failed"
}
src_install () {
emake DESTDIR="${D}" install || die "make install failed"
dodoc README.txt ChangeLog
}

View file

@ -1,49 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/mftrace/mftrace-1.2.16.ebuild,v 1.3 2011/12/03 18:10:59 armin76 Exp $
EAPI="3"
PYTHON_DEPEND="2"
inherit python multilib toolchain-funcs
DESCRIPTION="Traces TeX fonts to PFA or PFB fonts (formerly pktrace)"
HOMEPAGE="http://lilypond.org/mftrace/"
SRC_URI="http://lilypond.org/download/sources/mftrace/${P}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~hppa ~ppc ~x86"
# SLOT 1 was used in pktrace ebuild
SLOT="1"
IUSE="truetype"
DEPEND="|| ( media-gfx/potrace >=media-gfx/autotrace-0.30 )"
RDEPEND="${DEPEND}
virtual/latex-base
>=app-text/t1utils-1.25
truetype? ( media-gfx/fontforge )"
pkg_setup() {
python_set_active_version 2
}
src_configure() {
tc-export CC
econf --datadir=$(python_get_sitedir)
}
src_compile() {
emake CFLAGS="-Wall ${CFLAGS}" || die "emake failed"
}
src_install () {
emake DESTDIR="${D}" PYC_MODULES="" install || die "make install failed"
dodoc README.txt ChangeLog
}
pkg_postinst() {
python_mod_optimize mftrace
}
pkg_postrm() {
python_mod_cleanup mftrace
}

View file

@ -0,0 +1,18 @@
--- mupdf-9999/apps/pdfapp.c
+++ mupdf-9999/apps/pdfapp.c
@@ -858,6 +858,7 @@
break;
case 'b':
+ case '\b': //backspace
panto = DONT_PAN;
if (app->numberlen > 0)
app->pageno -= atoi(app->number);
@@ -866,6 +867,7 @@
break;
case ' ':
+ case 'F':
panto = DONT_PAN;
if (app->numberlen > 0)
app->pageno += atoi(app->number);

View file

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/mupdf/mupdf-9999.ebuild,v 1.9 2012/03/05 04:10:47 xmw Exp $
# $Header: /var/cvsroot/gentoo-x86/app-text/mupdf/mupdf-9999.ebuild,v 1.10 2012/03/24 23:56:40 xmw Exp $
EAPI=4
@ -30,8 +30,7 @@ src_prepare() {
epatch "${FILESDIR}"/${PN}-0.8.165-buildsystem.patch
if ! use vanilla ; then
epatch "${FILESDIR}"/${PN}-9999-zoom.patch
epatch "${FILESDIR}"/${PN}-9999-scroll.patch
epatch "${FILESDIR}"/${PN}-9999-zoom-1.patch
fi
}

View file

@ -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-text/po4a/po4a-0.41.ebuild,v 1.2 2011/05/29 08:03:38 tove Exp $
# $Header: /var/cvsroot/gentoo-x86/app-text/po4a/po4a-0.41.ebuild,v 1.3 2012/03/24 15:43:50 grobian Exp $
EAPI=4
@ -12,7 +12,7 @@ SRC_URI="mirror://debian/pool/main/p/po4a/${PN}_${PV}.orig.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
IUSE="test"
RDEPEND="dev-perl/SGMLSpm

View file

@ -5,5 +5,6 @@
<maintainer>
<email>volkmar@gentoo.org</email>
<name>Mounir Lamouri</name>
<description>Assign to herd and CC me</description>
</maintainer>
</pkgmetadata>

View file

@ -1,3 +1,2 @@
DIST sqliteodbc-0.83.tar.gz 448635 RMD160 8cf4e3d86392df2ac7df59b02eac7c95244c1d20 SHA1 d30e0d5f532a2399e431b93834581cceebbd29e3 SHA256 4ee8c61ee201749adaee63ef5d15cc2b16234b8611aa44bd8b25efc7e4e1af08
DIST sqliteodbc-0.86.tar.gz 454329 RMD160 83c1b986015df6c9f21ea88968a56767c557fd48 SHA1 73b3f73f28b01549f59a54af121a5d4a33183169 SHA256 1ddbb3a8d97fb2b3a6bd8a71617bfb308250dd66c8784ad3666f9d6eb1fcf71b
DIST sqliteodbc-0.87.tar.gz 456973 RMD160 cf194fb683f5a156682c55cccc76c2c60d3d978e SHA1 a0b4aaa8fb1bf691f1a5169db68da3919fc1dbef SHA256 3ffb3495bccb1b6169c3aac5e15016edcb596044b5f52b073c75223ae152372c
DIST sqliteodbc-0.93.tar.gz 667407 RMD160 92775540425b40657e514d4526cb435ca1a8ac04 SHA1 0a02894aac576047a0153987b5a3fe8e5067dcc1 SHA256 9cc89fe23d3a65abaefd6e78142eb010ba5de5078cdf443a33d9d17d0bd3eda0

View file

@ -0,0 +1,30 @@
--- Makefile.in.old 2012-03-24 12:57:34.533234122 +0100
+++ Makefile.in 2012-03-24 12:58:06.908198492 +0100
@@ -37,23 +37,23 @@
all: @LIB_TARGETS@
libsqliteodbc.la: sqliteodbc.lo
- $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o libsqliteodbc.la \
+ $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o libsqliteodbc.la \
sqliteodbc.lo -rpath $(drvdir) $(SQLITE_LIB) \
$(ODBC_LIB) -release $(VER_INFO)
libsqlite3odbc.la: sqlite3odbc.lo $(SQLITE3_A10N_O)
- $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o libsqlite3odbc.la \
+ $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o libsqlite3odbc.la \
sqlite3odbc.lo $(SQLITE3_A10N_O) -rpath $(drvdir) \
$(SQLITE3_LIB) $(ODBC_LIB) -release $(VER_INFO) \
@DL_INITFINI@
libsqlite3_mod_blobtoxy.la: blobtoxy.lo
- $(LIBTOOL) --mode=link $(CC) $(CFLAGS) \
+ $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) \
-o libsqlite3_mod_blobtoxy.la \
blobtoxy.lo -rpath $(drvdir) -release $(VER_INFO)
libsqlite3_mod_impexp.la: impexp.lo
- $(LIBTOOL) --mode=link $(CC) $(CFLAGS) \
+ $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) \
-o libsqlite3_mod_impexp.la \
impexp.lo -rpath $(drvdir) -release $(VER_INFO)

View file

@ -1,37 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/sqliteodbc/sqliteodbc-0.86.ebuild,v 1.4 2010/10/14 19:05:49 ranger Exp $
EAPI="3"
inherit eutils toolchain-funcs
DESCRIPTION="ODBC driver to access local SQLite database files."
HOMEPAGE="http://www.ch-werner.de/sqliteodbc/"
SRC_URI="http://www.ch-werner.de/sqliteodbc/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE=""
DEPEND=">=dev-db/sqlite-3.6
|| (
>=dev-db/unixODBC-2.2
>=dev-db/libiodbc-3.5
)"
RDEPEND="${DEPEND}"
pkg_setup() {
tc-export CC
}
src_prepare() {
epatch "${FILESDIR}/${PN}-0.83-respect_LDFLAGS.patch"
}
src_install() {
dodir "/usr/$(get_libdir)"
einstall || die "einstall failed"
dodoc ChangeLog README
}

Some files were not shown because too many files have changed in this diff Show more