parent
a0a1ac529b
commit
995403f1d7
@ -1,3 +1,4 @@
|
||||
DIST siege-2.66.tar.gz 478161 RMD160 25cd395432477cda02d04da3b7c72e6c15008714 SHA1 06c5fa98a4522b37281c7fc0b66dd904cd2962fc SHA256 c4b4aefc94e42f6817445ea88725b8058fcb87d238c1b3a7f9f3d21cde057be5
|
||||
DIST siege-2.67.tar.gz 524276 RMD160 4a1e65a5d50bc3cf5243bd1912bfc9d3b787fda9 SHA1 8beb37a0a2dd5253ae2534903d26fe2b7f34f3fb SHA256 0a65b0c4bc449dd262490faeb05f674ed8359d9971faf4c5a905a1c85752dac6
|
||||
DIST siege-2.70.tar.gz 484608 RMD160 3c3e780ece92ee4b5b98d490347cdf612371536b SHA1 ee0a0c3a9e6559cf8cbaf717649f6684b0d9643a SHA256 3cb4bcb52a4bee9b35a6b487492c3a8eb20d911d76131e1283ca73ac5d75dd91
|
||||
DIST siege-2.72.tar.gz 486018 RMD160 45af39fde6f948262e19cb2252dfeab10c3b484a SHA1 286e7c1b30a38d3868b743eedd87058a6ad658a2 SHA256 3d43026859550987f0284431997516ede8061a75e7b1e844816f6a61e033c12e
|
||||
|
@ -0,0 +1,103 @@
|
||||
The bundled acinclude.m4 includeso ld libtool macros that
|
||||
are breaking build, and AC_PROG_SHELL is the only thing
|
||||
from it that can't be autogenerated. Since all it does
|
||||
is check for a POSIX shell, just avoid using it.
|
||||
--- configure.in
|
||||
+++ configure.in
|
||||
@@ -44,7 +44,6 @@
|
||||
dnl Program support
|
||||
dnl
|
||||
AC_PATH_PROG( PERL, perl, false )
|
||||
-AC_PROG_SHELL
|
||||
AC_PROG_MAKE_SET
|
||||
AC_PROG_INSTALL
|
||||
case "$host_os" in
|
||||
@@ -405,7 +404,7 @@
|
||||
dnl
|
||||
AC_OUTPUT_COMMANDS([
|
||||
infile=utils/siege2csv.in
|
||||
- outfile=utils/siege2csv.pl
|
||||
+ outfile=utils/siege2csv
|
||||
rm -f $outfile
|
||||
sed -e "s|%_PREFIX%|$bindir|" \
|
||||
-e "s|%_PERL%|$LREP|" \
|
||||
|
||||
--- src/Makefile.am
|
||||
+++ src/Makefile.am
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
AM_CFLAGS = $(PTHREAD_CFLAGS) $(WARN_CFLAGS) $(SSL_CFLAGS)
|
||||
|
||||
-LDFLAGS = $(SSL_LDFLAGS) $(PTHREAD_LDFLAGS)
|
||||
+LDFLAGS += $(SSL_LDFLAGS) $(PTHREAD_LDFLAGS)
|
||||
|
||||
LIBS = $(SSL_LIBS)
|
||||
|
||||
--- utils/Makefile.am
|
||||
+++ utils/Makefile.am
|
||||
@@ -25,7 +25,7 @@
|
||||
WARN_CFLAGS = @WARN_CFLAGS@
|
||||
AM_CFLAGS = $(WARN_CFLAGS)
|
||||
|
||||
-SIEGE_UTILITIES = bombardment siege2csv.pl siege.config
|
||||
+SIEGE_UTILITIES = bombardment siege2csv siege.config
|
||||
|
||||
DISTCLEANFILES = $(SIEGE_UTILITIES)
|
||||
|
||||
--- doc/Makefile.am
|
||||
+++ doc/Makefile.am
|
||||
@@ -46,35 +46,6 @@
|
||||
|
||||
URLSTXT = $(sysconfdir)/urls.txt
|
||||
|
||||
-install-exec-hook:
|
||||
- @if test -f $(SIEGERC); then \
|
||||
- if cmp -s $(srcdir)/siegerc $(SIEGERC); then echo ""; \
|
||||
- else \
|
||||
- echo ' $(INSTALL_DATA) $(srcdir)/siegerc $(SIEGERC).new'; \
|
||||
- $(INSTALL_DATA) $(srcdir)/siegerc $(SIEGERC).new; \
|
||||
- echo "#####################################################"; \
|
||||
- echo "WARNING: File $(SIEGERC) already exists."; \
|
||||
- echo " A new resource file has been installed as"; \
|
||||
- echo " $(SIEGERC).new. You may want to"; \
|
||||
- echo " consider using the newer version in order to"; \
|
||||
- echo " take advantage of any new features."; \
|
||||
- echo "#####################################################"; \
|
||||
- fi; \
|
||||
- else \
|
||||
- $(INSTALL_DATA) $(srcdir)/siegerc $(SIEGERC); \
|
||||
- fi
|
||||
- @if test -f $(URLSTXT); then \
|
||||
- if cmp -s $(srcdir)/siegerc $(URLSTXT); then echo ""; \
|
||||
- else \
|
||||
- echo "WARNING: File $(URLSTXT) already exists."; \
|
||||
- echo " It was NOT replaced with this installation."; \
|
||||
- fi; \
|
||||
- else \
|
||||
- $(mkinstalldirs) $(sysconfdir); \
|
||||
- $(INSTALL_DATA) $(srcdir)/urls.txt $(URLSTXT); \
|
||||
- fi
|
||||
-
|
||||
-
|
||||
uninstall:
|
||||
rm -f $(SIEGERC)
|
||||
|
||||
bug 111057 - siege.config utility uses ${} which gets
|
||||
interpreted by bash sending the contents to stderr
|
||||
instead of ${HOME}/.siegerc
|
||||
--- doc/siegerc.in
|
||||
+++ doc/siegerc.in
|
||||
@@ -9,11 +9,11 @@
|
||||
# Variable declarations. You can set variables here
|
||||
# for use in the directives below. Example:
|
||||
# PROXY = proxy.joedog.org
|
||||
-# Reference variables inside ${} or $(), example:
|
||||
+# Reference variables inside \${} or $(), example:
|
||||
# proxy-host = ${PROXY}
|
||||
# You can also reference ENVIRONMENT variables without
|
||||
# actually declaring them, example:
|
||||
-# logfile = $(HOME)/var/siege.log
|
||||
+# logfile = \$(HOME)/var/siege.log
|
||||
|
||||
#
|
||||
# Signify verbose mode, true turns on verbose output
|
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/siege/siege-2.72.ebuild,v 1.1 2012/03/16 07:58:39 patrick Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
WANT_AUTOMAKE=1.9
|
||||
|
||||
inherit eutils bash-completion-r1 libtool autotools
|
||||
|
||||
DESCRIPTION="A HTTP regression testing and benchmarking utility"
|
||||
HOMEPAGE="http://www.joedog.org/JoeDog/Siege"
|
||||
SRC_URI="http://www.joedog.org/pub/siege/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~hppa ~mips ~ppc ~x86"
|
||||
SLOT="0"
|
||||
IUSE="ssl"
|
||||
|
||||
RDEPEND="ssl? ( >=dev-libs/openssl-0.9.6d )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/libtool"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-gentoo.diff
|
||||
|
||||
# bundled macros break recent libtool
|
||||
rm *.m4 || die "failed to remove bundled macros"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
use ssl && myconf="--with-ssl=/usr" || myconf="--without-ssl"
|
||||
econf ${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${D}" install
|
||||
|
||||
dodoc AUTHORS ChangeLog INSTALL MACHINES README* KNOWNBUGS \
|
||||
doc/siegerc doc/urls.txt
|
||||
|
||||
newbashcomp "${FILESDIR}"/${PN}.bash-completion ${PN}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
echo
|
||||
elog "An example ~/.siegerc file has been installed in"
|
||||
elog "/usr/share/doc/${PF}/"
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST shishi-1.0.1.tar.gz 4999488 RMD160 818a57b081606aba669807855d2aee038b0a3b00 SHA1 0e914dbcc27516702acd668929b29c42f850daf5 SHA256 9d7e4738df21116422585b347ad1c985d2bafd32c8665b4c5563617573e2868d
|
@ -0,0 +1,31 @@
|
||||
--- configure.ac 2012-03-12 20:18:21.000000000 +0200
|
||||
+++ configure.ac 2012-03-14 22:03:15.854332138 +0200
|
||||
@@ -82,7 +82,27 @@
|
||||
|
||||
# Checks for library functions.
|
||||
AC_CHECK_FUNCS(signal select ngettext gethostbyname getpwnam getuid)
|
||||
-AC_CHECK_LIB(resolv, res_query,, AC_MSG_WARN([[no libresolv, SRV RRs not used]]))
|
||||
+
|
||||
+# libresolv provides only __res_query on some architectures
|
||||
+# so we cannot just use AC_CHECK_LIB
|
||||
+_save_LIBS="$LIBS"
|
||||
+LIBS="$LIBS -lresolv"
|
||||
+AC_MSG_CHECKING(for res_query in -lresolv)
|
||||
+AC_LINK_IFELSE([
|
||||
+#include <resolv.h>
|
||||
+int main()
|
||||
+{
|
||||
+ res_query (0, 0, 0, 0, 0);
|
||||
+ return 0;
|
||||
+}],
|
||||
+[_res_query_in_resolv=yes],
|
||||
+[_res_query_in_resolv=no])
|
||||
+AC_MSG_RESULT([$_res_query_in_resolv])
|
||||
+if test "x$_res_query_in_resolv" = "xno"; then
|
||||
+ LIBS="$_save_LIBS"
|
||||
+ AC_MSG_WARN([[no libresolv, SRV RRs not used]])
|
||||
+fi
|
||||
+
|
||||
AC_SEARCH_LIBS(socket, socket)
|
||||
AC_SEARCH_LIBS(gethostbyname, nsl)
|
||||
|
@ -0,0 +1,6 @@
|
||||
# /etc/conf.d/shishid
|
||||
|
||||
# Options to pass to the Shishi KDC server. Please see shishid man page for details.
|
||||
#
|
||||
# OPTIONS="--no-tls"
|
||||
|
@ -0,0 +1,25 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/shishi/files/shishid.init,v 1.1 2012/03/15 15:01:21 eras Exp $
|
||||
|
||||
daemon="Shishi KDC"
|
||||
exec="/usr/sbin/shishid"
|
||||
pid_file="/var/run/shishid.pid"
|
||||
|
||||
depend() {
|
||||
need net
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting ${daemon}"
|
||||
start-stop-daemon --start --quiet --background -m --pidfile ${pid_file} \
|
||||
--exec ${exec} -- ${OPTIONS} 1>&2
|
||||
eend $? "Error starting $daemon"
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping $daemon"
|
||||
start-stop-daemon --stop --quiet --pidfile ${pid_file} --exec ${exec} 1>&2
|
||||
eend $? "Error stopping $daemon"
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>kerberos</herd>
|
||||
<longdescription lang="en">GNU Shishi, a free implementation of the Kerberos 5 network security system</longdescription>
|
||||
<use>
|
||||
<flag name="des">Enable DES related encryption/checksum types.</flag>
|
||||
<flag name="3des">Enable 3DES encryption/checksum type.</flag>
|
||||
<flag name="aes">Enable AES encryption/checksum types.</flag>
|
||||
<flag name="md">Enable unkeyed MD4/MD5 checksum types.</flag>
|
||||
<flag name="null">Enable dummy NULL encryption/checksum type.</flag>
|
||||
<flag name="arcfour">Enable ARCFOUR encryption/checksum type.</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,77 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/shishi/shishi-1.0.1.ebuild,v 1.2 2012/03/15 15:48:11 mr_bones_ Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit multilib autotools eutils
|
||||
|
||||
DESCRIPTION="A free implementation of the Kerberos 5 network security system"
|
||||
HOMEPAGE="https://www.gnu.org/software/shishi/"
|
||||
SRC_URI="http://ftp.gnu.org/gnu/shishi/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="gnutls idn ipv6 nls pam +des +3des +aes +md +null +arcfour static-libs"
|
||||
|
||||
DEPEND="gnutls? ( net-libs/gnutls )
|
||||
idn? ( net-dns/libidn )
|
||||
dev-libs/libtasn1
|
||||
dev-libs/libgcrypt
|
||||
dev-libs/libgpg-error
|
||||
virtual/libiconv
|
||||
virtual/libintl"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
# fix finding libresolv.so
|
||||
epatch "${FILESDIR}/${PN}_resolv.patch"
|
||||
|
||||
# don't create a new database
|
||||
sed -i -e '/install-data-hook/s/^/#/' Makefile.am || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable pam) \
|
||||
$(use_enable nls) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_with idn libidn-prefix) \
|
||||
$(use_enable gnutls starttls) \
|
||||
$(use_enable des) \
|
||||
$(use_enable 3des) \
|
||||
$(use_enable aes) \
|
||||
$(use_enable md) \
|
||||
$(use_enable null) \
|
||||
$(use_enable arcfour) \
|
||||
$(use_enable static-libs static) \
|
||||
--with-system-asn1 \
|
||||
--with-libgcrypt \
|
||||
--with-html-dir=/usr/share/doc/${P} \
|
||||
--with-db-dir=/var/shishi \
|
||||
--with-pam-dir=/$(get_libdir)/security \
|
||||
--disable-rpath \
|
||||
--with-packager="Gentoo" \
|
||||
--with-packager-bug-reports="https://bugs.gentoo.org/"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
keepdir /var/shishi
|
||||
fperms 0700 /var/shishi
|
||||
echo "db file /var/shishi" >> "${D}/etc/shishi/shisa.conf" || die
|
||||
|
||||
newinitd "${FILESDIR}/shishid.init" shishid
|
||||
newconfd "${FILESDIR}/shishid.confd" shishid
|
||||
|
||||
dodoc AUTHORS ChangeLog INSTALL NEWS README THANKS
|
||||
doman doc/man/* doc/*.1
|
||||
dohtml doc/reference/html/*
|
||||
doinfo doc/*.info*
|
||||
|
||||
rm -f "${D}/$(get_libdir)/security/pam_shishi.la"
|
||||
use static-libs || find "${D}"/usr/lib* -name '*.la' -delete
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST fe-1.8.tar.gz 169151 RMD160 a3d186dbc042fe74fbfdc8e83d6237a50fea692d SHA1 b956e5e4c9c9bc925903d0c0b6de0b7b829fcce6 SHA256 ee8473dd37662b8a8067005bc0f258389057281981c5034fcad6a7b4e4786013
|
||||
DIST fe-1.9.tar.gz 178678 RMD160 4aef68638cacc7e4e12c7fb8808d59a8bf56e2f6 SHA1 0b288c2c11351548f5bfb5c0255dc79656182854 SHA256 3221e946f95271b88e73b19964e04a6848984824e1ddd0925fc7b191f741a689
|
||||
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/fe/fe-1.9.ebuild,v 1.1 2012/03/16 10:14:35 patrick Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="A small and easy to use folding editor"
|
||||
HOMEPAGE="http://www.moria.de/~michael/fe/"
|
||||
SRC_URI="http://www.moria.de/~michael/fe/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="sendmail"
|
||||
|
||||
DEPEND="sys-libs/ncurses
|
||||
sendmail? ( virtual/mta )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-1.8-makefile.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable sendmail)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
prefix="${D}"/usr \
|
||||
datadir="${D}"/usr/share \
|
||||
MANDIR="${D}"/usr/share/man \
|
||||
install
|
||||
|
||||
dodoc NEWS README
|
||||
dohtml fe.html
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST ne-2.0.3.tar.gz 1102424 RMD160 4ee477a8bac1a2c47983d7cfc6f698ecac76d887 SHA1 9dd848041b9c719659182b2cf8b03b6753b99291 SHA256 7ba91b956f9308128236b9e3ded4307e061ad0558f9270eae9845c82951ab34e
|
||||
DIST ne-2.1.tar.gz 1016020 RMD160 81c1b1dcfce55d09db03c7c58fb39d73c5f769e8 SHA1 c7372b57256ba2afc1662a71b1660e9be55cfefb SHA256 e47d00322edd09e3ffc44daf16b322fe56c6430d1bf53f06f7b28f9a5440fed1
|
||||
DIST ne-2.3.tar.gz 1043855 RMD160 19c8121762dcfb5023a21e9b687a68daa0eaf316 SHA1 c183577f7aeae5e21979eb5ae84266210fe57d80 SHA256 d7cf7e85a67a43e48d07fd6de713942a730209e1c5730d2e5b4bce7479aaa31e
|
||||
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/ne/ne-2.3.ebuild,v 1.1 2012/03/16 10:18:42 patrick Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="the nice editor, easy to use for the beginner and powerful for the wizard"
|
||||
HOMEPAGE="http://ne.dsi.unimi.it/"
|
||||
SRC_URI="http://ne.dsi.unimi.it/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=sys-libs/ncurses-5.2"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/perl"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's/-O3//' src/makefile || die
|
||||
epatch "${FILESDIR}"/${PN}-2.1-asneeded.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake \
|
||||
-j1 \
|
||||
-C src \
|
||||
ne \
|
||||
OPTS="${CFLAGS}" \
|
||||
CC="$(tc-getCC)" \
|
||||
NE_GLOBAL_DIR="/usr/share/ne" \
|
||||
|| die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin src/ne || die "dobin failed"
|
||||
|
||||
insinto /usr/share/ne/syntax
|
||||
doins syntax/*.jsf || die "doins failed"
|
||||
|
||||
doman doc/ne.1 || die "doman failed"
|
||||
dohtml -r doc/html/. || die "dohtml failed"
|
||||
dodoc CHANGES README doc/*.{txt,pdf,texinfo} doc/default.* || die "dodoc failed"
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST tea-31.2.0.tar.bz2 262806 RMD160 11514eebed9d789ca56d8289e32e2639821cbee0 SHA1 78986b8447eab21be136dc18a2e1afca39a442bb SHA256 81bb3d02a776a4a02fdb94751562194a32e6f8794ccf981d11db422cc44f836b
|
||||
DIST tea-32.0.0.tar.bz2 308209 RMD160 1a78b08366fe66eee7952984b79be319b9bda820 SHA1 3bcc62337512cce9886cb696cbe49e447ece8af4 SHA256 e72475f830a7df76b629fe57855fd4febf8b13bf25546cabc104f4eaec7d7545
|
||||
DIST teagtk-17.6.6.tar.bz2 479197 RMD160 e8b6aabd7dfb86c43db88bceb7ebaec5f9738594 SHA1 17c3019c9dc6b53d87a9a3bc1cc02784d256f234 SHA256 e2583776fb38331f1e7989f7f8ea23bbae593af26f4c3cdeeae61a793b6bd752
|
||||
|
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/tea/tea-32.0.0.ebuild,v 1.1 2012/03/16 10:23:30 patrick Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit eutils qt4-r2
|
||||
|
||||
DESCRIPTION="Small, lightweight Qt text editor"
|
||||
HOMEPAGE="http://tea-editor.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/tea-editor/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ia64 ~x86 ~x86-fbsd"
|
||||
IUSE="aspell hunspell"
|
||||
|
||||
RDEPEND="sys-libs/zlib
|
||||
x11-libs/qt-core:4
|
||||
x11-libs/qt-gui:4
|
||||
aspell? ( app-text/aspell )
|
||||
hunspell? ( app-text/hunspell )"
|
||||
DEPEND="${RDEPEND}
|
||||
hunspell? ( dev-util/pkgconfig )"
|
||||
|
||||
src_configure() {
|
||||
local myopts
|
||||
if use aspell ; then
|
||||
myopts="USE_ASPELL=true"
|
||||
else
|
||||
myopts="USE_ASPELL=false"
|
||||
fi
|
||||
|
||||
if use hunspell ; then
|
||||
myopts="${myopts} USE_HUNSPELL=true"
|
||||
else
|
||||
myopts="${myopts} USE_HUNSPELL=false"
|
||||
fi
|
||||
|
||||
eqmake4 src.pro PREFIX="/usr/bin" ${myopts}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/tea
|
||||
dodoc AUTHORS ChangeLog NEWS NEWS-RU TODO
|
||||
doicon icons/tea_icon_v2.png
|
||||
|
||||
make_desktop_entry tea Tea tea_icon_v2 Utility
|
||||
}
|
@ -1,2 +1,4 @@
|
||||
DIST appliance-1.17.14.tar.xz 46644196 RMD160 3d8ad13c5c4daf202cc563145c480b7a953408e1 SHA1 1d9ee21217f7e1a9f2342fff569c19dd331d6f04 SHA256 7cf81ef8a31d5d9ce6c8b1b601a8bf83cbd5521a397879fb7d1c55814b8b9be3
|
||||
DIST libguestfs-1.17.14.tar.gz 6791404 RMD160 d71af0a6d023af26ae04811c0924a659b990ef46 SHA1 1af36e30d27835d47de18afcb3aef6af3fe76425 SHA256 cd007e9174428ba2fce275ef53230c1ee8264d920610b70ffd55d45bd29be7c1
|
||||
DIST libguestfs-1.7.18-x86_64.tar.gz 62332840 RMD160 202ac5883d1453d6225b76029290ccebd44c7e84 SHA1 661786c088fad8d2354e8121a2fafb1d598587fc SHA256 07c4f0b4b50df7407327333d9e9b09c310265d056868531c69659659a9f5218d
|
||||
DIST libguestfs-1.8.16.tar.gz 5164608 RMD160 eec0d8875f02e007f5dcbce629ddf00c0ee609af SHA1 24a9aa8c2a8226438a6613a9a12a4d467404d1e6 SHA256 7d8fb8529f201d81761bd383ea567d752f54471a1b5b5903fe553440cbe7755f
|
||||
|
@ -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.17.14.ebuild,v 1.2 2012/03/15 15:46:08 mr_bones_ 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
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST VBoxGuestAdditions_4.1.10.iso 50749440 RMD160 dc852aa069789bdbbebd0add984339c4c629c76b SHA1 0a6440b74d9a664c0d23209c07d95ff6593e2b90 SHA256 70e859545cff07ce33c38f8c970856907cb1961ebf15a639505092e205614817
|
||||
DIST VBoxGuestAdditions_4.1.4.iso 44716032 RMD160 af6062dcf625c82ec2184921d91ffdd2e326f1a6 SHA1 5d4b1d0ed5745f54b7aa9f709bc9a129c6e41e38 SHA256 75796a780f35c697c752d754b100d61afed7ee858ee49f34710c2d79ad50dc32
|
||||
DIST VBoxGuestAdditions_4.1.6.iso 44761088 RMD160 3c640f68e7d681052872977d7b854f8331639b88 SHA1 082e1cc631fb2aeec26d728166e693b7c5014079 SHA256 f544516a7443da759632a4a1345f0ed7e894065eb834f339bc7490f5d7908b3d
|
||||
DIST VBoxGuestAdditions_4.1.8.iso 45471744 RMD160 8730184e30ff856ad09f75ea3e6886f872339ba0 SHA1 92b5bedf25619f976a49391bb1998c3dbc8efca9 SHA256 2265aa350de2d62021e91ae6bbd1438c291a74494778bb443926e9b7b962c63d
|
||||
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-additions/virtualbox-additions-4.1.10.ebuild,v 1.1 2012/03/15 09:54:55 polynomial-c Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils
|
||||
|
||||
MY_PN=VBoxGuestAdditions
|
||||
MY_P=${MY_PN}_${PV}
|
||||
|
||||
DESCRIPTION="CD image containing guest additions for VirtualBox"
|
||||
HOMEPAGE="http://www.virtualbox.org/"
|
||||
SRC_URI="http://download.virtualbox.org/virtualbox/${PV}/${MY_P}.iso"
|
||||
|
||||
LICENSE="PUEL"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
RESTRICT="mirror"
|
||||
|
||||
RDEPEND="!app-emulation/virtualbox-bin
|
||||
!=app-emulation/virtualbox-9999"
|
||||
|
||||
src_unpack() {
|
||||
return 0
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/${PN/-additions}
|
||||
newins "${DISTDIR}"/${MY_P}.iso ${MY_PN}.iso
|
||||
}
|
@ -1,12 +1,16 @@
|
||||
DIST Oracle_VM_VirtualBox_Extension_Pack-4.1.10-76795.tar.gz 10047772 RMD160 5891f472b300f203e73da5597257060fa22e5542 SHA1 8ce8369ae74429062abc3e4fd3f2b4bebd5024b4 SHA256 e1ddcbb62de299b67350a4c9f3425b1f71aca490611891fd07e98f15a890d09f
|
||||
DIST Oracle_VM_VirtualBox_Extension_Pack-4.1.4-74291.tar.gz 9566803 RMD160 bc6862800a627c1275812e3a52fcfc438925f81d SHA1 128cdff4fc022be0c9878b717e5ac8d099681d65 SHA256 819b778dcd86de715e011a2cc7c075518859339680544d492730efa3a2b932ec
|
||||
DIST Oracle_VM_VirtualBox_Extension_Pack-4.1.6-74713.tar.gz 9585392 RMD160 7e35093c06edf3956c0edb77e2dd1fb1b439a7d8 SHA1 4db22b5720557f4d42447891174bc7e34a6dca3d SHA256 67311c407eac2db94c29ab8a4baf47f51ddaea0423d3fac3b409728cd6ada80c
|
||||
DIST Oracle_VM_VirtualBox_Extension_Pack-4.1.8-75467.tar.gz 9725202 RMD160 ce54aaf128d6aec757032f20ffb93e2ce7f17a64 SHA1 9e28d3751ab192c4dd77a69dfbc6976603b24197 SHA256 137c4d7a5440abc834b8014728a609a10abbaa6af5ad6742988cd8d1b4a8b245
|
||||
DIST VirtualBox-4.1.10-76795-Linux_amd64.run 77250001 RMD160 f0f2b84c9574d18dc66dfba2b02e1faaaa9076fa SHA1 c6c32f43f6c70feaeb746ab66fb94cecdf708de6 SHA256 07a8a28feda96fc54caed1c2c3338473a02c061d7bb564f3b5280cbfad3e24c8
|
||||
DIST VirtualBox-4.1.10-76795-Linux_x86.run 76993997 RMD160 01e206dcca898af966af60a87ed762f15d26b52f SHA1 b87b829828bfbcfd8a250fe4c85b6110350f96c4 SHA256 4bd6388f7f3803635de01e77de45957e80bb0e2b75c2d2e4ffd01bc89c99afd7
|
||||
DIST VirtualBox-4.1.4-74291-Linux_amd64.run 73235921 RMD160 d9d067ea922a358062b9fe1e8d17216974cff400 SHA1 3d6ee4c217ab936eb6acf175fcc408133f201507 SHA256 b079b311f6aa662332cd5118bbe01d47589595849c4dd53f4b65af25de923a0a
|
||||
DIST VirtualBox-4.1.4-74291-Linux_x86.run 73020877 RMD160 1a12db57d13286690a7b2a06d3d09d14a9f9d91e SHA1 87b9536b0d309bb2fdf549ff5d0db3e17945a7b9 SHA256 a907733bf41c32896a211b146b066aadaa1a3e11afb9e9c80ef3ed642cc3c94d
|
||||
DIST VirtualBox-4.1.6-74727-Linux_amd64.run 73297360 RMD160 e81e043e63a09e567aab2675714e4d96562914fb SHA1 4932555b366618b50e6341c1fc6d34938d42cd82 SHA256 9c7464c7b59b9491e3fc1ea51697b766fc6bb2130bc677ed0e3c66a6cff6f868
|
||||
DIST VirtualBox-4.1.6-74727-Linux_x86.run 73113036 RMD160 37e72d2e3eac1aacf7bcd60576b609867af4d073 SHA1 b950b3a0a9ebd42d23c91298ed963b325a29b830 SHA256 84f1cecb3fca09f8b13df0372b20e8f78b7f2f7f2365e811438a33e0d07ae4f0
|
||||
DIST VirtualBox-4.1.8-75467-Linux_amd64.run 75027920 RMD160 5bc2f47d870be78ec201d77971b4914f4b019c50 SHA1 bb9e80ddfc812d99cd27135c05304e20b6a28535 SHA256 7d0d45dfc8e4ef27a817c017c6589d5204a6515d86f0c874843cb99ccfe319ee
|
||||
DIST VirtualBox-4.1.8-75467-Linux_x86.run 75007436 RMD160 58ea91a06f030893676805097f403c0fd0419fb2 SHA1 8833fc8de41f9a3bbaee05b6c27750fffdccf919 SHA256 7780d8fc171ccfa3047a3d6373f9965b8c2896b11137817314f29cf5a3bc514f
|
||||
DIST VirtualBoxSDK-4.1.10-76795.zip 8896483 RMD160 99c7160857821c914ad413ec131597c1ed456590 SHA1 b400bc2d4905ec9dd92149e0fe34dc3b161beaff SHA256 bf3a8f5ebc2ee7c8cd107fec627b0d84359b71080a1c19327015703bf43842f1
|
||||
DIST VirtualBoxSDK-4.1.4-74291.zip 8803983 RMD160 a8a925a3d61c7a6fe03bfcdbfb2ff4c2c8e754f0 SHA1 77436fe0d22d58f371123df7402b556330e82bf9 SHA256 c0a5855a921611ae3264d70cfde64a3c2fb5ff3a1cd564716a1de0b23e7e9d3d
|
||||
DIST VirtualBoxSDK-4.1.6-74713.zip 8804355 RMD160 e635f4727575bae927bedb02ccca063ec1207d47 SHA1 2253614f56300c821de7a0a7a8674a2d2dda264e SHA256 19fb30c04c8a979ee275205a8aaf8867d1435885d8bcfe5fa2c49d9b285d0621
|
||||
DIST VirtualBoxSDK-4.1.8-75467.zip 8805659 RMD160 13e73b31cdd452a8c9262aea62afa3fbdf4a6f06 SHA1 f57fb944b1ea143ffc3130671e7c90b4d554957e SHA256 116d855456fa8661c6d7a3178fcd604d6994d1c8365e697368c25f638e588aff
|
||||
|
@ -0,0 +1,351 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-bin/virtualbox-bin-4.1.10.ebuild,v 1.1 2012/03/15 09:54:26 polynomial-c Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils unpacker fdo-mime gnome2 pax-utils
|
||||
|
||||
MY_PV=${PV}-76795
|
||||
SDK_PV=${MY_PV}
|
||||
EXTP_PV=${SDK_PV}
|
||||
MY_P=VirtualBox-${MY_PV}-Linux
|
||||
EXTP_PN=Oracle_VM_VirtualBox_Extension_Pack
|
||||
|
||||
DESCRIPTION="Family of powerful x86 virtualization products for enterprise as well as home use"
|
||||
HOMEPAGE="http://www.virtualbox.org/"
|
||||
SRC_URI="amd64? ( http://download.virtualbox.org/virtualbox/${PV}/${MY_P}_amd64.run )
|
||||
x86? ( http://download.virtualbox.org/virtualbox/${PV}/${MY_P}_x86.run )
|
||||
sdk? ( http://download.virtualbox.org/virtualbox/${PV}/VirtualBoxSDK-${SDK_PV}.zip )
|
||||
http://download.virtualbox.org/virtualbox/${PV}/${EXTP_PN}-${EXTP_PV}.vbox-extpack -> ${EXTP_PN}-${EXTP_PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 PUEL"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+additions +chm headless python sdk vboxwebsrv rdesktop-vrdp"
|
||||
RESTRICT="mirror"
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
|
||||
RDEPEND="!!app-emulation/virtualbox
|
||||
!app-emulation/virtualbox-additions
|
||||
~app-emulation/virtualbox-modules-${PV}
|
||||
!headless? (
|
||||
x11-libs/libXcursor
|
||||
media-libs/libsdl[X]
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXfixes
|
||||
media-libs/libpng
|
||||
x11-libs/libXi
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXinerama
|
||||
x11-libs/libXft
|
||||
media-libs/freetype
|
||||
media-libs/fontconfig
|
||||
x11-libs/libXext
|
||||
dev-libs/glib
|
||||
chm? ( dev-libs/expat )
|
||||
)
|
||||
x11-libs/libXt
|
||||
dev-libs/libxml2
|
||||
x11-libs/libXau
|
||||
x11-libs/libX11
|
||||
x11-libs/libXmu
|
||||
x11-libs/libSM
|
||||
x11-libs/libICE
|
||||
x11-libs/libXdmcp
|
||||
python? ( || (
|
||||
dev-lang/python:2.7
|
||||
dev-lang/python:2.6
|
||||
dev-lang/python:2.5
|
||||
dev-lang/python:2.4
|
||||
) )"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
QA_TEXTRELS_amd64="opt/VirtualBox/VBoxVMM.so"
|
||||
QA_TEXTRELS_x86="opt/VirtualBox/VBoxGuestPropSvc.so
|
||||
opt/VirtualBox/VBoxSDL.so
|
||||
opt/VirtualBox/VBoxDbg.so
|
||||
opt/VirtualBox/VBoxSharedFolders.so
|
||||
opt/VirtualBox/VBoxDD2.so
|
||||
opt/VirtualBox/VBoxOGLrenderspu.so
|
||||
opt/VirtualBox/VBoxPython.so
|
||||
opt/VirtualBox/VBoxPython2_3.so
|
||||
opt/VirtualBox/VBoxPython2_4.so
|
||||
opt/VirtualBox/VBoxPython2_5.so
|
||||
opt/VirtualBox/VBoxPython2_6.so
|
||||
opt/VirtualBox/VBoxPython2_7.so
|
||||
opt/VirtualBox/VBoxPython3_0.so
|
||||
opt/VirtualBox/VBoxPython3_1.so
|
||||
opt/VirtualBox/VBoxDD.so
|
||||
opt/VirtualBox/VBoxVRDP.so
|
||||
opt/VirtualBox/VBoxDDU.so
|
||||
opt/VirtualBox/VBoxREM64.so
|
||||
opt/VirtualBox/VBoxSharedClipboard.so
|
||||
opt/VirtualBox/VBoxHeadless.so
|
||||
opt/VirtualBox/VBoxRT.so
|
||||
opt/VirtualBox/VRDPAuth.so
|
||||
opt/VirtualBox/VBoxREM.so
|
||||
opt/VirtualBox/VBoxSettings.so
|
||||
opt/VirtualBox/VBoxKeyboard.so
|
||||
opt/VirtualBox/VBoxSharedCrOpenGL.so
|
||||
opt/VirtualBox/VBoxVMM.so
|
||||
opt/VirtualBox/VirtualBox.so
|
||||
opt/VirtualBox/VBoxOGLhosterrorspu.so
|
||||
opt/VirtualBox/components/VBoxC.so
|
||||
opt/VirtualBox/components/VBoxSVCM.so
|
||||
opt/VirtualBox/VBoxREM32.so
|
||||
opt/VirtualBox/VBoxPython2_5.so
|
||||
opt/VirtualBox/VBoxXPCOMC.so
|
||||
opt/VirtualBox/VBoxOGLhostcrutil.so
|
||||
opt/VirtualBox/VBoxNetDHCP.so
|
||||
opt/VirtualBox/VBoxGuestControlSvc.so"
|
||||
QA_PRESTRIPPED="opt/VirtualBox/VBoxDD.so
|
||||
opt/VirtualBox/VBoxDD2.so
|
||||
opt/VirtualBox/VBoxDDU.so
|
||||
opt/VirtualBox/VBoxDbg.so
|
||||
opt/VirtualBox/VBoxGuestControlSvc.so
|
||||
opt/VirtualBox/VBoxGuestPropSvc.so
|
||||
opt/VirtualBox/VBoxHeadless
|
||||
opt/VirtualBox/VBoxHeadless.so
|
||||
opt/VirtualBox/VBoxKeyboard.so
|
||||
opt/VirtualBox/VBoxManage
|
||||
opt/VirtualBox/VBoxNetAdpCtl
|
||||
opt/VirtualBox/VBoxNetDHCP
|
||||
opt/VirtualBox/VBoxNetDHCP.so
|
||||
opt/VirtualBox/VBoxOGLhostcrutil.so
|
||||
opt/VirtualBox/VBoxOGLhosterrorspu.so
|
||||
opt/VirtualBox/VBoxOGLrenderspu.so
|
||||
opt/VirtualBox/VBoxPython.so
|
||||
opt/VirtualBox/VBoxPython2_3.so
|
||||
opt/VirtualBox/VBoxPython2_4.so
|
||||
opt/VirtualBox/VBoxPython2_5.so
|
||||
opt/VirtualBox/VBoxPython2_6.so
|
||||
opt/VirtualBox/VBoxPython2_7.so
|
||||
opt/VirtualBox/VBoxPython3_0.so
|
||||
opt/VirtualBox/VBoxPython3_1.so
|
||||
opt/VirtualBox/VBoxREM.so
|
||||
opt/VirtualBox/VBoxREM32.so
|
||||
opt/VirtualBox/VBoxREM64.so
|
||||
opt/VirtualBox/VBoxRT.so
|
||||
opt/VirtualBox/VBoxSDL
|
||||
opt/VirtualBox/VBoxSDL.so
|
||||
opt/VirtualBox/VBoxSVC
|
||||
opt/VirtualBox/VBoxSettings.so
|
||||
opt/VirtualBox/VBoxSharedClipboard.so
|
||||
opt/VirtualBox/VBoxSharedCrOpenGL.so
|
||||
opt/VirtualBox/VBoxSharedFolders.so
|
||||
opt/VirtualBox/VBoxTestOGL
|
||||
opt/VirtualBox/VBoxTunctl
|
||||
opt/VirtualBox/VBoxVMM.so
|
||||
opt/VirtualBox/VBoxVRDP.so
|
||||
opt/VirtualBox/VBoxXPCOM.so
|
||||
opt/VirtualBox/VBoxXPCOMC.so
|
||||
opt/VirtualBox/VBoxXPCOMIPCD
|
||||
opt/VirtualBox/VRDPAuth.so
|
||||
opt/VirtualBox/VirtualBox
|
||||
opt/VirtualBox/VirtualBox.so
|
||||
opt/VirtualBox/accessible/libqtaccessiblewidgets.so
|
||||
opt/VirtualBox/components/VBoxC.so
|
||||
opt/VirtualBox/components/VBoxSVCM.so
|
||||
opt/VirtualBox/components/VBoxXPCOMIPCC.so
|
||||
opt/VirtualBox/kchmviewer
|
||||
opt/VirtualBox/libQtCoreVBox.so.4
|
||||
opt/VirtualBox/libQtGuiVBox.so.4
|
||||
opt/VirtualBox/libQtNetworkVBox.so.4
|
||||
opt/VirtualBox/libQtOpenGLVBox.so.4
|
||||
opt/VirtualBox/vboxwebsrv"
|
||||
|
||||
src_unpack() {
|
||||
unpack_makeself ${MY_P}_${ARCH}.run
|
||||
unpack ./VirtualBox.tar.bz2
|
||||
|
||||
mkdir "${S}"/${EXTP_PN} || die
|
||||
pushd "${S}"/${EXTP_PN} &>/dev/null || die
|
||||
unpack ${EXTP_PN}-${EXTP_PV}.tar.gz
|
||||
popd &>/dev/null || die
|
||||
|
||||
if use sdk; then
|
||||
unpack VirtualBoxSDK-${SDK_PV}.zip
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
:;
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
:;
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# create virtualbox configurations files
|
||||
insinto /etc/vbox
|
||||
newins "${FILESDIR}/${PN}-config" vbox.cfg
|
||||
|
||||
if ! use headless ; then
|
||||
pushd "${S}"/icons &>/dev/null || die
|
||||
for size in * ; do
|
||||
if [ -f "${size}/virtualbox.png" ] ; then
|
||||
insinto "/usr/share/icons/hicolor/${size}/apps"
|
||||
newins "${size}/virtualbox.png" ${PN}.png
|
||||
fi
|
||||
done
|
||||
dodir /usr/share/pixmaps
|
||||
cp "48x48/virtualbox.png" "${D}/usr/share/pixmaps/${PN}.png" \
|
||||
|| die
|
||||
popd &>/dev/null || die
|
||||
|
||||
newmenu "${FILESDIR}"/${PN}.desktop-2 ${PN}.desktop
|
||||
fi
|
||||
|
||||
pushd "${S}"/${EXTP_PN} &>/dev/null || die
|
||||
insinto /opt/VirtualBox/ExtensionPacks/${EXTP_PN}
|
||||
doins -r linux.${ARCH}
|
||||
doins ExtPack* PXE-Intel.rom
|
||||
popd &>/dev/null || die
|
||||
rm -rf "${S}"/${EXTP_PN}
|
||||
|
||||
insinto /opt/VirtualBox
|
||||
dodir /opt/bin
|
||||
|
||||
doins UserManual.pdf
|
||||
|
||||
if use sdk ; then
|
||||
doins -r sdk || die
|
||||
fi
|
||||
|
||||
if use additions; then
|
||||
doins -r additions || die
|
||||
fi
|
||||
|
||||
if use vboxwebsrv; then
|
||||
doins vboxwebsrv || die
|
||||
fowners root:vboxusers /opt/VirtualBox/vboxwebsrv
|
||||
fperms 0750 /opt/VirtualBox/vboxwebsrv
|
||||
dosym /opt/VirtualBox/VBox.sh /opt/bin/vboxwebsrv
|
||||
newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv
|
||||
newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv
|
||||
fi
|
||||
|
||||
if use rdesktop-vrdp; then
|
||||
doins rdesktop-vrdp || die
|
||||
doins -r rdesktop-vrdp-keymaps || die
|
||||
fperms 0750 /opt/VirtualBox/rdesktop-vrdp
|
||||
dosym /opt/VirtualBox/rdesktop-vrdp /opt/bin/rdesktop-vrdp
|
||||
fi
|
||||
|
||||
if ! use headless && use chm; then
|
||||
doins kchmviewer VirtualBox.chm || die
|
||||
fowners root:vboxusers /opt/VirtualBox/kchmviewer
|
||||
fperms 0750 /opt/VirtualBox/kchmviewer
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
local pyver
|
||||
for pyver in 2.4 2.5 2.6 2.7 3.0 3.1 ; do
|
||||
if has_version "=dev-lang/python-${pyver}*" && [ -f "${S}/VBoxPython${pyver/./_}.so" ] ; then
|
||||
doins VBoxPython${pyver/./_}.so || die
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
rm -rf src rdesktop* deffiles install* routines.sh runlevel.sh \
|
||||
vboxdrv.sh VBox.sh VBox.png vboxnet.sh additions VirtualBox.desktop \
|
||||
VirtualBox.tar.bz2 LICENSE VBoxSysInfo.sh rdesktop* vboxwebsrv \
|
||||
webtest kchmviewer VirtualBox.chm vbox-create-usb-node.sh \
|
||||
90-vbox-usb.fdi uninstall.sh vboxshell.py vboxdrv-pardus.py \
|
||||
VBoxPython?_*.so
|
||||
|
||||
if use headless ; then
|
||||
rm -rf VBoxSDL VirtualBox VBoxKeyboard.so
|
||||
fi
|
||||
|
||||
doins -r * || die
|
||||
|
||||
# create symlinks for working around unsupported $ORIGIN/.. in VBoxC.so (setuid)
|
||||
dosym /opt/VirtualBox/VBoxVMM.so /opt/VirtualBox/components/VBoxVMM.so
|
||||
dosym /opt/VirtualBox/VBoxREM.so /opt/VirtualBox/components/VBoxREM.so
|
||||
dosym /opt/VirtualBox/VBoxRT.so /opt/VirtualBox/components/VBoxRT.so
|
||||
dosym /opt/VirtualBox/VBoxDDU.so /opt/VirtualBox/components/VBoxDDU.so
|
||||
dosym /opt/VirtualBox/VBoxXPCOM.so /opt/VirtualBox/components/VBoxXPCOM.so
|
||||
|
||||
local each
|
||||
for each in VBox{Manage,SVC,XPCOMIPCD,Tunctl,NetAdpCtl,NetDHCP,TestOGL,ExtPackHelperApp}; do
|
||||
fowners root:vboxusers /opt/VirtualBox/${each}
|
||||
fperms 0750 /opt/VirtualBox/${each}
|
||||
pax-mark -m "${D}"/opt/VirtualBox/${each}
|
||||
done
|
||||
# VBoxNetAdpCtl and VBoxNetDHCP binaries need to be suid root in any case..
|
||||
fperms 4750 /opt/VirtualBox/VBoxNetAdpCtl
|
||||
fperms 4750 /opt/VirtualBox/VBoxNetDHCP
|
||||
|
||||
if ! use headless ; then
|
||||
# Hardened build: Mark selected binaries set-user-ID-on-execution
|
||||
for each in VBox{SDL,Headless} VirtualBox; do
|
||||
fowners root:vboxusers /opt/VirtualBox/${each}
|
||||
fperms 4510 /opt/VirtualBox/${each}
|
||||
pax-mark -m "${D}"/opt/VirtualBox/${each}
|
||||
done
|
||||
|
||||
dosym /opt/VirtualBox/VBox.sh /opt/bin/VirtualBox
|
||||
dosym /opt/VirtualBox/VBox.sh /opt/bin/VBoxSDL
|
||||
else
|
||||
# Hardened build: Mark selected binaries set-user-ID-on-execution
|
||||
fowners root:vboxusers /opt/VirtualBox/VBoxHeadless
|
||||
fperms 4510 /opt/VirtualBox/VBoxHeadless
|
||||
pax-mark -m "${D}"/opt/VirtualBox/VBoxHeadless
|
||||
fi
|
||||
|
||||
exeinto /opt/VirtualBox
|
||||
newexe "${FILESDIR}/${PN}-3-wrapper" "VBox.sh" || die
|
||||
fowners root:vboxusers /opt/VirtualBox/VBox.sh
|
||||
fperms 0750 /opt/VirtualBox/VBox.sh
|
||||
|
||||
dosym /opt/VirtualBox/VBox.sh /opt/bin/VBoxManage
|
||||
dosym /opt/VirtualBox/VBox.sh /opt/bin/VBoxVRDP
|
||||
dosym /opt/VirtualBox/VBox.sh /opt/bin/VBoxHeadless
|
||||
dosym /opt/VirtualBox/VBoxTunctl /opt/bin/VBoxTunctl
|
||||
|
||||
# set an env-variable for 3rd party tools
|
||||
echo -n "VBOX_APP_HOME=/opt/VirtualBox" > "${T}/90virtualbox"
|
||||
doenvd "${T}/90virtualbox"
|
||||
|
||||
insinto /lib/udev/rules.d
|
||||
doins "${FILESDIR}"/10-virtualbox.rules
|
||||
# move udev scripts into /lib/udev (bug #372491)
|
||||
mv "${D}"/opt/VirtualBox/VBoxCreateUSBNode.sh "${D}"/lib/udev
|
||||
fperms 0750 /lib/udev/VBoxCreateUSBNode.sh
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
|
||||
gnome2_icon_cache_update
|
||||
|
||||
udevadm control --reload-rules && udevadm trigger --subsystem-match=usb
|
||||
|
||||
elog ""
|
||||
if ! use headless ; then
|
||||
elog "To launch VirtualBox just type: \"VirtualBox\""
|
||||
elog ""
|
||||
fi
|
||||
elog "You must be in the vboxusers group to use VirtualBox."
|
||||
elog ""
|
||||
elog "For advanced networking setups you should emerge:"
|
||||
elog "net-misc/bridge-utils and sys-apps/usermode-utilities"
|
||||
elog ""
|
||||
elog "Please visit http://www.virtualbox.org/wiki/Editions for"
|
||||
elog "an overview about the different features of ${PN}"
|
||||
elog "and virtualbox-ose"
|
||||
if [ -e "${ROOT}/etc/udev/rules.d/10-virtualbox.rules" ] ; then
|
||||
elog ""
|
||||
elog "Please remove \"${ROOT}/etc/udev/rules.d/10-virtualbox.rules\""
|
||||
elog "or else USB in ${PN} won't work."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST Oracle_VM_VirtualBox_Extension_Pack-4.1.10-76795.tar.gz 10047772 RMD160 5891f472b300f203e73da5597257060fa22e5542 SHA1 8ce8369ae74429062abc3e4fd3f2b4bebd5024b4 SHA256 e1ddcbb62de299b67350a4c9f3425b1f71aca490611891fd07e98f15a890d09f
|
||||
DIST Oracle_VM_VirtualBox_Extension_Pack-4.1.4-74291.tar.gz 9566803 RMD160 bc6862800a627c1275812e3a52fcfc438925f81d SHA1 128cdff4fc022be0c9878b717e5ac8d099681d65 SHA256 819b778dcd86de715e011a2cc7c075518859339680544d492730efa3a2b932ec
|
||||
DIST Oracle_VM_VirtualBox_Extension_Pack-4.1.6.tar.gz 9585392 RMD160 7e35093c06edf3956c0edb77e2dd1fb1b439a7d8 SHA1 4db22b5720557f4d42447891174bc7e34a6dca3d SHA256 67311c407eac2db94c29ab8a4baf47f51ddaea0423d3fac3b409728cd6ada80c
|
||||
DIST Oracle_VM_VirtualBox_Extension_Pack-4.1.8-75467.tar.gz 9725202 RMD160 ce54aaf128d6aec757032f20ffb93e2ce7f17a64 SHA1 9e28d3751ab192c4dd77a69dfbc6976603b24197 SHA256 137c4d7a5440abc834b8014728a609a10abbaa6af5ad6742988cd8d1b4a8b245
|
||||
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-4.1.10.ebuild,v 1.1 2012/03/15 09:55:29 polynomial-c Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils
|
||||
|
||||
MY_BUILD="76795"
|
||||
MY_PN="Oracle_VM_VirtualBox_Extension_Pack"
|
||||
MY_P="${MY_PN}-${PV}-${MY_BUILD}"
|
||||
|
||||
DESCRIPTION="PUEL extensions for VirtualBox"
|
||||
HOMEPAGE="http://www.virtualbox.org/"
|
||||
SRC_URI="http://download.virtualbox.org/virtualbox/${PV}/${MY_P}.vbox-extpack -> ${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="PUEL"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
RESTRICT="mirror strip"
|
||||
|
||||
RDEPEND="~app-emulation/virtualbox-${PV}"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/$(get_libdir)/virtualbox/ExtensionPacks/${MY_PN}
|
||||
doins -r linux.${ARCH}
|
||||
doins ExtPack* PXE-Intel.rom
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST VirtualBox-4.1.10.tar.bz2 73325320 RMD160 b5eedd1235db74bfaa4e061193528696058923e7 SHA1 bb95253fd574648298bd56f13586f5a510a55863 SHA256 47e3faa607b405ea1d31e65a35984374e44f09f44a0f40607da6a773b31a57bf
|
||||
DIST VirtualBox-4.1.4.tar.bz2 73837275 RMD160 475a68dc6beebdb588688743b3652bbb9ab3f507 SHA1 6ec0dd31844da91c9773611a6fb553eef575e899 SHA256 aa368de95f9dd2020394f9e8f145908c236c0899d24bb27436ed2f670725cefb
|
||||
DIST VirtualBox-4.1.6.tar.bz2 73793713 RMD160 1bf368464ac0d431ac799e4710835f3426a9a5f6 SHA1 19a801444102a10d2b62ab35daacb7ddc415bab0 SHA256 554137cb33a806bf0dd74dc0de0c3008dd9bb20d483cdcebaf8a929720c0ab7e
|
||||
DIST VirtualBox-4.1.8.tar.bz2 73822230 RMD160 f8ae296406fe370eded166d0772be7e4558ecc3a SHA1 4683e30aa32d0d6ca764e5ce366d7216705cf0f2 SHA256 ef16d6729c9bcc298a33eff636549872dcfe291ac01bfa117cdf7aaf8a4004e0
|
||||
|
@ -0,0 +1,199 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-4.1.10.ebuild,v 1.2 2012/03/15 16:52:24 polynomial-c Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils linux-mod
|
||||
|
||||
MY_P=VirtualBox-${PV}
|
||||
DESCRIPTION="VirtualBox kernel modules and user-space tools for Linux guests"
|
||||
HOMEPAGE="http://www.virtualbox.org/"
|
||||
SRC_URI="http://download.virtualbox.org/virtualbox/${PV}/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="X"
|
||||
|
||||
RDEPEND="X? ( ~x11-drivers/xf86-video-virtualbox-${PV}
|
||||
x11-apps/xrandr
|
||||
x11-apps/xrefresh
|
||||
x11-libs/libXmu
|
||||
x11-libs/libX11
|
||||
x11-libs/libXt
|
||||
x11-libs/libXext
|
||||
x11-libs/libXau
|
||||
x11-libs/libXdmcp
|
||||
x11-libs/libSM
|
||||
x11-libs/libICE )
|
||||
!!x11-drivers/xf86-input-virtualbox"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/kbuild-0.1.999
|
||||
>=dev-lang/yasm-0.6.2
|
||||
sys-devel/bin86
|
||||
sys-devel/dev86
|
||||
sys-libs/pam
|
||||
sys-power/iasl
|
||||
X? ( x11-proto/renderproto )
|
||||
!X? ( x11-proto/xproto )"
|
||||
|
||||
BUILD_TARGETS="all"
|
||||
BUILD_TARGET_ARCH="${ARCH}"
|
||||
MODULE_NAMES="vboxguest(misc:${WORKDIR}/vboxguest:${WORKDIR}/vboxguest)
|
||||
vboxsf(misc:${WORKDIR}/vboxsf:${WORKDIR}/vboxsf)"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
pkg_setup() {
|
||||
linux-mod_pkg_setup
|
||||
BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}"
|
||||
enewgroup vboxguest
|
||||
enewuser vboxguest -1 /bin/sh /var/run/vboxguest vboxguest
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
|
||||
# Create and unpack a tarball with the sources of the Linux guest
|
||||
# kernel modules, to include all the needed files
|
||||
"${S}"/src/VBox/Additions/linux/export_modules "${WORKDIR}/vbox-kmod.tar.gz"
|
||||
unpack ./vbox-kmod.tar.gz
|
||||
|
||||
# Remove shipped binaries (kBuild,yasm), see bug #232775
|
||||
cd "${S}"
|
||||
rm -rf kBuild/bin tools
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# PaX fixes (see bug #298988)
|
||||
pushd "${WORKDIR}" &>/dev/null || die
|
||||
epatch "${FILESDIR}"/vboxguest-4.1.0-log-use-c99.patch
|
||||
popd &>/dev/null || die
|
||||
|
||||
# Disable things unused or splitted into separate ebuilds
|
||||
cp "${FILESDIR}/${PN}-3-localconfig" LocalConfig.kmk
|
||||
|
||||
# stupid new header references...
|
||||
for vboxheader in {product,revision}-generated.h ; do
|
||||
for mdir in vbox{guest,sf} ; do
|
||||
ln -sf "${S}"/out/linux.${ARCH}/release/${vboxheader} \
|
||||
"${WORKDIR}/${mdir}/${vboxheader}"
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# build the user-space tools, warnings are harmless
|
||||
./configure --nofatal \
|
||||
--disable-xpcom \
|
||||
--disable-sdl-ttf \
|
||||
--disable-pulse \
|
||||
--disable-alsa \
|
||||
--build-headless || die "configure failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
source ./env.sh
|
||||
|
||||
for each in /src/VBox/{Runtime,Additions/common} \
|
||||
/src/VBox/Additions/linux/{sharedfolders,daemon} ; do
|
||||
cd "${S}"${each}
|
||||
MAKE="kmk" emake TOOL_YASM_AS=yasm \
|
||||
KBUILD_PATH="${S}/kBuild" \
|
||||
|| die "kmk VBoxControl failed"
|
||||
done
|
||||
|
||||
if use X; then
|
||||
cd "${S}"/src/VBox/Additions/x11/VBoxClient
|
||||
MAKE="kmk" emake TOOL_YASM_AS=yasm \
|
||||
KBUILD_PATH="${S}/kBuild" \
|
||||
|| die "kmk VBoxClient failed"
|
||||
fi
|
||||
|
||||
# Now creating the kernel modules. We must do this _after_
|
||||
# we compiled the user-space tools as we need two of the
|
||||
# automatically generated header files. (>=3.2.0)
|
||||
linux-mod_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
linux-mod_src_install
|
||||
|
||||
cd "${S}"/out/linux.${ARCH}/release/bin/additions
|
||||
|
||||
insinto /sbin
|
||||
newins mount.vboxsf mount.vboxsf
|
||||
fperms 4755 /sbin/mount.vboxsf
|
||||
|
||||
newinitd "${FILESDIR}"/${PN}-7.initd ${PN}
|
||||
|
||||
insinto /usr/sbin/
|
||||
newins VBoxService vboxguest-service
|
||||
fperms 0755 /usr/sbin/vboxguest-service
|
||||
|
||||
insinto /usr/bin
|
||||
doins VBoxControl
|
||||
fperms 0755 /usr/bin/VBoxControl
|
||||
|
||||
# VBoxClient user service and xrandr wrapper
|
||||
if use X; then
|
||||
doins VBoxClient
|
||||
fperms 0755 /usr/bin/VBoxClient
|
||||
|
||||
cd "${S}"/src/VBox/Additions/x11/Installer
|
||||
newins 98vboxadd-xclient VBoxClient-all
|
||||
fperms 0755 /usr/bin/VBoxClient-all
|
||||
fi
|
||||
|
||||
# udev rule for vboxdrv
|
||||
dodir /lib/udev/rules.d
|
||||
echo 'KERNEL=="vboxguest", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
|
||||
>> "${D}/lib/udev/rules.d/60-virtualbox-guest-additions.rules" \
|
||||
|| die
|
||||
echo 'KERNEL=="vboxuser", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
|
||||
>> "${D}/lib/udev/rules.d/60-virtualbox-guest-additions.rules" \
|
||||
|| die
|
||||
|
||||
# VBoxClient autostart file
|
||||
insinto /etc/xdg/autostart
|
||||
doins "${FILESDIR}"/vboxclient.desktop
|
||||
|
||||
# sample xorg.conf
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins "${FILESDIR}"/xorg.conf.vbox
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
linux-mod_pkg_postinst
|
||||
if ! use X ; then
|
||||
elog "use flag X is off, enable it to install the"
|
||||
elog "X Window System input and video drivers"
|
||||
fi
|
||||
elog ""
|
||||
elog "Please add users to the \"vboxguest\" group so they can"
|
||||
elog "benefit from seamless mode, auto-resize and clipboard."
|
||||
elog ""
|
||||
elog "Please add:"
|
||||
elog "/etc/init.d/${PN}"
|
||||
elog "to the default runlevel in order to start"
|
||||
elog "needed services."
|
||||
elog "To use the VirtualBox X drivers, use the following"
|
||||
elog "file as your /etc/X11/xorg.conf:"
|
||||
elog " /usr/share/doc/${PF}/xorg.conf.xorg"
|
||||
elog ""
|
||||
elog "Also make sure you use the Mesa library for OpenGL:"
|
||||
elog " eselect opengl set xorg-x11"
|
||||
elog ""
|
||||
elog "An autostart .desktop file has been installed to start"
|
||||
elog "VBoxClient in desktop sessions."
|
||||
elog ""
|
||||
elog "You can mount shared folders with:"
|
||||
elog " mount -t vboxsf <shared_folder_name> <mount_point>"
|
||||
elog ""
|
||||
elog "Warning:"
|
||||
elog "this ebuild is only needed if you are running gentoo"
|
||||
elog "inside a VirtualBox Virtual Machine, you don't need"
|
||||
elog "it to run VirtualBox itself."
|
||||
elog ""
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST vbox-kernel-module-src-4.1.10.tar.xz 458956 RMD160 cc367f577348bec9aac13c6753cb70c1b7834683 SHA1 d88db3022d31b36da83a50a93a36081695e2bb3a SHA256 a5659cb71e9e22857c3f4e2b132a3c99323a33685eeb129af87ba87d549d219d
|
||||
DIST vbox-kernel-module-src-4.1.4.tar.bz2 505952 RMD160 c540fb563d6fdab747366c66d5e472ebffbd3639 SHA1 35a4274118d44bd8603fecfa93817ef129c8e57c SHA256 03577cd31e5ff322102e9bec1ed40f189c50d94032e2d62206b6541a0fda1fb8
|
||||
DIST vbox-kernel-module-src-4.1.6.tar.xz 454840 RMD160 f1166c7b2e95276a60beb4c6dbe022826bc21ff2 SHA1 7816f6773f00f28cb287eaf4eb8b31a9b3bbdd37 SHA256 557425714e5d9e1b737c963d5a4d1b67a6e60ec47c2ddf2449dbbfd786c41cdf
|
||||
DIST vbox-kernel-module-src-4.1.8.tar.xz 457648 RMD160 2451d2c23e5ab14b70b9b6da79c164499a864eec SHA1 ac97198d3275a338905bb04efffde467bbeff9dc SHA256 565c9d9b193e88679549995d63c5796e19f881f9f95215f8cc6a11d13e749a9f
|
||||
|
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/virtualbox-modules-4.1.10.ebuild,v 1.1 2012/03/15 09:52:06 polynomial-c Exp $
|
||||
|
||||
# XXX: the tarball here is just the kernel modules split out of the binary
|
||||
# package that comes from virtualbox-bin
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils linux-mod
|
||||
|
||||
MY_P=vbox-kernel-module-src-${PV}
|
||||
DESCRIPTION="Kernel Modules for Virtualbox"
|
||||
HOMEPAGE="http://www.virtualbox.org/"
|
||||
SRC_URI="http://dev.gentoo.org/~polynomial-c/virtualbox/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="pax_kernel"
|
||||
|
||||
RDEPEND="!=app-emulation/virtualbox-9999"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
BUILD_TARGETS="all"
|
||||
BUILD_TARGET_ARCH="${ARCH}"
|
||||
MODULE_NAMES="vboxdrv(misc:${S}) vboxnetflt(misc:${S}) vboxnetadp(misc:${S}) vboxpci(misc:${S})"
|
||||
|
||||
pkg_setup() {
|
||||
linux-mod_pkg_setup
|
||||
|
||||
BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}"
|
||||
enewgroup vboxusers
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if kernel_is -ge 2 6 33 ; then
|
||||
# evil patch for new kernels - header moved
|
||||
grep -lR linux/autoconf.h * | xargs sed -i -e 's:<linux/autoconf.h>:<generated/autoconf.h>:'
|
||||
fi
|
||||
|
||||
if use pax_kernel && kernel_is -ge 3 0 0 ; then
|
||||
epatch "${FILESDIR}"/${PN}-4.1.4-pax-const.patch
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
linux-mod_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
linux-mod_pkg_postinst
|
||||
elog "Starting with the 3.x release new kernel modules were added,"
|
||||
elog "be sure to load all the needed modules."
|
||||
elog ""
|
||||
elog "Please add \"vboxdrv\", \"vboxnetflt\" and \"vboxnetadp\" to:"
|
||||
elog "/etc/conf.d/modules"
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST VirtualBox-4.1.10.tar.bz2 73325320 RMD160 b5eedd1235db74bfaa4e061193528696058923e7 SHA1 bb95253fd574648298bd56f13586f5a510a55863 SHA256 47e3faa607b405ea1d31e65a35984374e44f09f44a0f40607da6a773b31a57bf
|
||||
DIST VirtualBox-4.1.4.tar.bz2 73837275 RMD160 475a68dc6beebdb588688743b3652bbb9ab3f507 SHA1 6ec0dd31844da91c9773611a6fb553eef575e899 SHA256 aa368de95f9dd2020394f9e8f145908c236c0899d24bb27436ed2f670725cefb
|
||||
DIST VirtualBox-4.1.6.tar.bz2 73793713 RMD160 1bf368464ac0d431ac799e4710835f3426a9a5f6 SHA1 19a801444102a10d2b62ab35daacb7ddc415bab0 SHA256 554137cb33a806bf0dd74dc0de0c3008dd9bb20d483cdcebaf8a929720c0ab7e
|
||||
DIST VirtualBox-4.1.8.tar.bz2 73822230 RMD160 f8ae296406fe370eded166d0772be7e4558ecc3a SHA1 4683e30aa32d0d6ca764e5ce366d7216705cf0f2 SHA256 ef16d6729c9bcc298a33eff636549872dcfe291ac01bfa117cdf7aaf8a4004e0
|
||||
|
@ -0,0 +1,386 @@
|
||||
# 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 $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils fdo-mime flag-o-matic linux-info pax-utils python qt4-r2 toolchain-funcs java-pkg-opt-2
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
# XXX: should finish merging the -9999 ebuild into this one ...
|
||||
ESVN_REPO_URI="http://www.virtualbox.org/svn/vbox/trunk"
|
||||
inherit linux-mod subversion
|
||||
else
|
||||
MY_P=VirtualBox-${PV}
|
||||
SRC_URI="http://download.virtualbox.org/virtualbox/${PV}/${MY_P}.tar.bz2"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Family of powerful x86 virtualization products for enterprise as well as home use"
|
||||
HOMEPAGE="http://www.virtualbox.org/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+additions alsa doc extensions headless java pam pulseaudio +opengl python +qt4 +sdk vboxwebsrv vnc"
|
||||
|
||||
RDEPEND="!app-emulation/virtualbox-bin
|
||||
~app-emulation/virtualbox-modules-${PV}
|
||||
dev-libs/libIDL
|
||||
>=dev-libs/libxslt-1.1.19
|
||||
net-misc/curl
|
||||
dev-libs/openssl
|
||||
dev-libs/libxml2
|
||||
sys-libs/zlib
|
||||
!headless? (
|
||||
qt4? (
|
||||
x11-libs/qt-gui:4
|
||||
x11-libs/qt-core:4
|
||||
opengl? ( x11-libs/qt-opengl:4 )
|
||||
x11-libs/libXinerama
|
||||
)
|
||||
opengl? ( virtual/opengl media-libs/freeglut )
|
||||
x11-libs/libX11
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXext
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXt
|
||||
media-libs/libsdl[X,video]
|
||||
)
|
||||
vnc? ( >=net-libs/libvncserver-0.9.7 )
|
||||
java? ( virtual/jre:1.6 )"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/kbuild-0.1.999
|
||||
>=dev-lang/yasm-0.6.2
|
||||
sys-devel/bin86
|
||||
sys-devel/dev86
|
||||
sys-power/iasl
|
||||
media-libs/libpng
|
||||
pam? ( sys-libs/pam )
|
||||
sys-libs/libcap
|
||||
doc? (
|
||||
dev-texlive/texlive-basic
|
||||
dev-texlive/texlive-latex
|
||||
dev-texlive/texlive-latexrecommended
|
||||
dev-texlive/texlive-latexextra
|
||||
dev-texlive/texlive-fontsrecommended
|
||||
dev-texlive/texlive-fontsextra
|
||||
)
|
||||
java? ( virtual/jdk:1.6 )
|
||||
dev-util/pkgconfig
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.13 )
|
||||
!headless? ( x11-libs/libXinerama )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
vboxwebsrv? ( >=net-libs/gsoap-2.7.13 )"
|
||||
PDEPEND="additions? ( ~app-emulation/virtualbox-additions-${PV} )
|
||||
extensions? ( ~app-emulation/virtualbox-extpack-oracle-${PV} )"
|
||||
|
||||
QA_TEXTRELS_x86="usr/lib/virtualbox-ose/VBoxGuestPropSvc.so
|
||||
usr/lib/virtualbox/VBoxSDL.so
|
||||
usr/lib/virtualbox/VBoxSharedFolders.so
|
||||
usr/lib/virtualbox/VBoxDD2.so
|
||||
usr/lib/virtualbox/VBoxOGLrenderspu.so
|
||||
usr/lib/virtualbox/VBoxPython.so
|
||||
usr/lib/virtualbox/VBoxDD.so
|
||||
usr/lib/virtualbox/VBoxDDU.so
|
||||
usr/lib/virtualbox/VBoxREM64.so
|
||||
usr/lib/virtualbox/VBoxSharedClipboard.so
|
||||
usr/lib/virtualbox/VBoxHeadless.so
|
||||
usr/lib/virtualbox/VBoxRT.so
|
||||
usr/lib/virtualbox/VBoxREM.so
|
||||
usr/lib/virtualbox/VBoxSettings.so
|
||||
usr/lib/virtualbox/VBoxKeyboard.so
|
||||
usr/lib/virtualbox/VBoxSharedCrOpenGL.so
|
||||
usr/lib/virtualbox/VBoxVMM.so
|
||||
usr/lib/virtualbox/VirtualBox.so
|
||||
usr/lib/virtualbox/VBoxOGLhosterrorspu.so
|
||||
usr/lib/virtualbox/components/VBoxC.so
|
||||
usr/lib/virtualbox/components/VBoxSVCM.so
|
||||
usr/lib/virtualbox/components/VBoxDDU.so
|
||||
usr/lib/virtualbox/components/VBoxRT.so
|
||||
usr/lib/virtualbox/components/VBoxREM.so
|
||||
usr/lib/virtualbox/components/VBoxVMM.so
|
||||
usr/lib/virtualbox/VBoxREM32.so
|
||||
usr/lib/virtualbox/VBoxPython2_4.so
|
||||
usr/lib/virtualbox/VBoxPython2_5.so
|
||||
usr/lib/virtualbox/VBoxPython2_6.so
|
||||
usr/lib/virtualbox/VBoxPython2_7.so
|
||||
usr/lib/virtualbox/VBoxXPCOMC.so
|
||||
usr/lib/virtualbox/VBoxOGLhostcrutil.so
|
||||
usr/lib/virtualbox/VBoxNetDHCP.so"
|
||||
|
||||
REQUIRED_USE="
|
||||
java? ( sdk )
|
||||
python? ( sdk )
|
||||
vboxwebsrv? ( java )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
if ! use headless && ! use qt4 ; then
|
||||
einfo "No USE=\"qt4\" selected, this build will not include"
|
||||
einfo "any Qt frontend."
|
||||
elif use headless && use qt4 ; then
|
||||
einfo "You selected USE=\"headless qt4\", defaulting to"
|
||||
einfo "USE=\"headless\", this build will not include any X11/Qt frontend."
|
||||
fi
|
||||
|
||||
if ! use opengl ; then
|
||||
einfo "No USE=\"opengl\" selected, this build will lack"
|
||||
einfo "the OpenGL feature."
|
||||
fi
|
||||
java-pkg-opt-2_pkg_setup
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Remove shipped binaries (kBuild,yasm), see bug #232775
|
||||
rm -rf kBuild/bin tools
|
||||
|
||||
# Disable things unused or split into separate ebuilds
|
||||
sed -e "s/MY_LIBDIR/$(get_libdir)/" \
|
||||
"${FILESDIR}"/${PN}-4-localconfig > LocalConfig.kmk || die
|
||||
|
||||
# unset useless/problematic checks in configure
|
||||
epatch "${FILESDIR}/${PN}-ose-3.2.8-mesa-check.patch" \
|
||||
"${FILESDIR}/${PN}-4-makeself-check.patch" \
|
||||
"${FILESDIR}/${PN}-4-mkisofs-check.patch"
|
||||
|
||||
# fix build with --as-needed (bug #249295 and bug #350907)
|
||||
epatch "${FILESDIR}/${PN}-4.1.4-asneeded.patch"
|
||||
|
||||
# Respect LDFLAGS
|
||||
sed -e "s/_LDFLAGS\.${ARCH}*.*=/& ${LDFLAGS}/g" \
|
||||
-i Config.kmk src/libs/xpcom18a4/Config.kmk || die
|
||||
|
||||
# We still want to use ${HOME}/.VirtualBox/Machines as machines dir.
|
||||
epatch "${FILESDIR}/${PN}-4.0.2-restore_old_machines_dir.patch"
|
||||
|
||||
# Don't build vboxpci.ko module (D'oh!)
|
||||
epatch "${FILESDIR}"/${PN}-4.1.2-vboxpci-build.patch
|
||||
|
||||
# Use PAM only when pam USE flag is enbaled (bug #376531)
|
||||
if ! use pam ; then
|
||||
elog "Disabling PAM removes the possibility to use the VRDP features."
|
||||
sed -i 's/^.*VBOX_WITH_PAM/#VBOX_WITH_PAM/' Config.kmk || die
|
||||
sed -i 's;\(.*/auth/Makefile.kmk.*\);#\1;' \
|
||||
src/VBox/HostServices/Makefile.kmk || die
|
||||
fi
|
||||
|
||||
# add correct java path
|
||||
if use java ; then
|
||||
sed "s:/usr/lib/jvm/java-6-sun:$(java-config -O):" \
|
||||
-i "${S}"/Config.kmk || die
|
||||
java-pkg-opt-2_src_prepare
|
||||
fi
|
||||
|
||||
# Fix compile error on hardened bug 339914 (disable PIE)
|
||||
if gcc-specs-pie ; then
|
||||
epatch "${FILESDIR}"/virtualbox_nopie.patch
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
use alsa || myconf+=" --disable-alsa"
|
||||
use opengl || myconf+=" --disable-opengl"
|
||||
use pulseaudio || myconf+=" --disable-pulse"
|
||||
use python || myconf+=" --disable-python"
|
||||
use java || myconf+=" --disable-java"
|
||||
use vboxwebsrv && myconf+=" --enable-webservice"
|
||||
use vnc && myconf+=" --enable-vnc"
|
||||
use doc || myconf+=" --disable-docs"
|
||||
if ! use headless ; then
|
||||
use qt4 || myconf+=" --disable-qt4"
|
||||
else
|
||||
myconf+=" --build-headless --disable-opengl"
|
||||
fi
|
||||
# not an autoconf script
|
||||
./configure \
|
||||
--with-gcc="$(tc-getCC)" \
|
||||
--with-g++="$(tc-getCXX)" \
|
||||
--disable-kmods \
|
||||
--disable-dbus \
|
||||
${myconf} \
|
||||
|| die "configure failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
source ./env.sh
|
||||
|
||||
# Force kBuild to respect C[XX]FLAGS and MAKEOPTS (bug #178529)
|
||||
# and strip all flags
|
||||
# strip-flags
|
||||
|
||||
MAKE="kmk" emake \
|
||||
VBOX_VERSION_STRING='$(VBOX_VERSION_MAJOR).$(VBOX_VERSION_MINOR).$(VBOX_VERSION_BUILD)'_Gentoo_ \
|
||||
TOOL_GCC3_CC="$(tc-getCC)" TOOL_GCC3_CXX="$(tc-getCXX)" \
|
||||
TOOL_GCC3_AS="$(tc-getCC)" TOOL_GCC3_AR="$(tc-getAR)" \
|
||||
TOOL_GCC3_LD="$(tc-getCXX)" TOOL_GCC3_LD_SYSMOD="$(tc-getLD)" \
|
||||
TOOL_GCC3_CFLAGS="${CFLAGS}" TOOL_GCC3_CXXFLAGS="${CXXFLAGS}" \
|
||||
VBOX_GCC_OPT="${CXXFLAGS}" \
|
||||
TOOL_YASM_AS=yasm KBUILD_PATH="${S}/kBuild" \
|
||||
all || die "kmk failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${S}"/out/linux.${ARCH}/release/bin || die
|
||||
|
||||
# Create configuration files
|
||||
insinto /etc/vbox
|
||||
newins "${FILESDIR}/${PN}-4-config" vbox.cfg
|
||||
|
||||
# Set the right libdir
|
||||
sed -i \
|
||||
-e "s/MY_LIBDIR/$(get_libdir)/" \
|
||||
"${D}"/etc/vbox/vbox.cfg || die "vbox.cfg sed failed"
|
||||
|
||||
# Symlink binaries to the shipped wrapper
|
||||
exeinto /usr/$(get_libdir)/${PN}
|
||||
newexe "${FILESDIR}/${PN}-ose-3-wrapper" "VBox" || die
|
||||
fowners root:vboxusers /usr/$(get_libdir)/${PN}/VBox
|
||||
fperms 0750 /usr/$(get_libdir)/${PN}/VBox
|
||||
|
||||
dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VBoxManage
|
||||
dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VBoxVRDP
|
||||
dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VBoxHeadless
|
||||
dosym /usr/$(get_libdir)/${PN}/VBoxTunctl /usr/bin/VBoxTunctl
|
||||
|
||||
# Install binaries and libraries
|
||||
insinto /usr/$(get_libdir)/${PN}
|
||||
doins -r components || die
|
||||
|
||||
if use sdk ; then
|
||||
doins -r sdk || die
|
||||
fi
|
||||
|
||||
if use vboxwebsrv ; then
|
||||
doins vboxwebsrv || die
|
||||
fowners root:vboxusers /usr/$(get_libdir)/${PN}/vboxwebsrv
|
||||
fperms 0750 /usr/$(get_libdir)/${PN}/vboxwebsrv
|
||||
dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/vboxwebsrv
|
||||
newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv
|
||||
newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv
|
||||
fi
|
||||
|
||||
for each in VBox{Manage,SVC,XPCOMIPCD,Tunctl,NetAdpCtl,NetDHCP,ExtPackHelperApp} *so *r0 *gc ; do
|
||||
doins $each || die
|
||||
fowners root:vboxusers /usr/$(get_libdir)/${PN}/${each}
|
||||
fperms 0750 /usr/$(get_libdir)/${PN}/${each}
|
||||
done
|
||||
# VBoxNetAdpCtl and VBoxNetDHCP binaries need to be suid root in any case..
|
||||
fperms 4750 /usr/$(get_libdir)/${PN}/VBoxNetAdpCtl
|
||||
fperms 4750 /usr/$(get_libdir)/${PN}/VBoxNetDHCP
|
||||
|
||||
if ! use headless ; then
|
||||
for each in VBox{SDL,Headless} ; do
|
||||
doins $each || die
|
||||
fowners root:vboxusers /usr/$(get_libdir)/${PN}/${each}
|
||||
fperms 4750 /usr/$(get_libdir)/${PN}/${each}
|
||||
pax-mark -m "${D}"/usr/$(get_libdir)/${PN}/${each}
|
||||
done
|
||||
|
||||
if use opengl && use qt4 ; then
|
||||
doins VBoxTestOGL || die
|
||||
fowners root:vboxusers /usr/$(get_libdir)/${PN}/VBoxTestOGL
|
||||
fperms 0750 /usr/$(get_libdir)/${PN}/VBoxTestOGL
|
||||
fi
|
||||
|
||||
dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VBoxSDL
|
||||
|
||||
if use qt4 ; then
|
||||
doins VirtualBox || die
|
||||
fowners root:vboxusers /usr/$(get_libdir)/${PN}/VirtualBox
|
||||
fperms 4750 /usr/$(get_libdir)/${PN}/VirtualBox
|
||||
pax-mark -m "${D}"/usr/$(get_libdir)/${PN}/VirtualBox
|
||||
|
||||
dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VirtualBox
|
||||
|
||||
newmenu "${FILESDIR}"/${PN}-ose.desktop-2 ${PN}.desktop
|
||||
fi
|
||||
|
||||
pushd "${S}"/src/VBox/Resources/OSE &>/dev/null || die
|
||||
for size in 16 20 32 40 48 64 128 ; do
|
||||
insinto /usr/share/icons/hicolor/${size}x${size}/apps
|
||||
newins ${PN}-${size}px.png ${PN}.png
|
||||
done
|
||||
insinto /usr/share/pixmaps
|
||||
newins ${PN}-48px.png ${PN}.png
|
||||
popd &>/dev/null || die
|
||||
else
|
||||
doins VBoxHeadless || die
|
||||
fowners root:vboxusers /usr/$(get_libdir)/${PN}/VBoxHeadless
|
||||
fperms 4750 /usr/$(get_libdir)/${PN}/VBoxHeadless
|
||||
pax-mark -m "${D}"/usr/$(get_libdir)/${PN}/VBoxHeadless
|
||||
fi
|
||||
|
||||
insinto /usr/$(get_libdir)/${PN}
|
||||
# Install EFI Firmware files (bug #320757)
|
||||
pushd "${S}"/src/VBox/Devices/EFI/FirmwareBin &>/dev/null || die
|
||||
for fwfile in VBoxEFI{32,64}.fd ; do
|
||||
doins ${fwfile} || die
|
||||
fowners root:vboxusers /usr/$(get_libdir)/${PN}/${fwfile} || die
|
||||
done
|
||||
popd &>/dev/null || die
|
||||
|
||||
# New way of handling USB device nodes for VBox (bug #356215)
|
||||
insinto /lib/udev
|
||||
doins VBoxCreateUSBNode.sh
|
||||
fowners root:vboxusers /lib/udev/VBoxCreateUSBNode.sh
|
||||
fperms 0750 /lib/udev/VBoxCreateUSBNode.sh
|
||||
insinto /lib/udev/rules.d
|
||||
doins "${FILESDIR}"/10-virtualbox.rules
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
if ! use headless && use qt4 ; then
|
||||
doins -r nls
|
||||
fi
|
||||
|
||||
# VRDPAuth only works with this (bug #351949)
|
||||
dosym VBoxAuth.so /usr/$(get_libdir)/${PN}/VRDPAuth.so
|
||||
|
||||
# set an env-variable for 3rd party tools
|
||||
echo -n "VBOX_APP_HOME=/usr/$(get_libdir)/${PN}" > "${T}/90virtualbox"
|
||||
doenvd "${T}/90virtualbox"
|
||||
|
||||
if use java ; then
|
||||
java-pkg_regjar "${D}/usr/$(get_libdir)/${PN}/sdk/bindings/xpcom/java/vboxjxpcom.jar"
|
||||
java-pkg_regso "${D}/usr/$(get_libdir)/${PN}/libvboxjxpcom.so"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
|
||||
udevadm control --reload-rules && udevadm trigger --subsystem-match=usb
|
||||
|
||||
if ! use headless && use qt4 ; then
|
||||
elog "To launch VirtualBox just type: \"VirtualBox\"."
|
||||
fi
|
||||
elog "You must be in the vboxusers group to use VirtualBox."
|
||||
elog ""
|
||||
elog "The latest user manual is available for download at:"
|
||||
elog "http://download.virtualbox.org/virtualbox/${PV}/UserManual.pdf"
|
||||
elog ""
|
||||
elog "For advanced networking setups you should emerge:"
|
||||
elog "net-misc/bridge-utils and sys-apps/usermode-utilities"
|
||||
elog ""
|
||||
elog "IMPORTANT!"
|
||||
elog "If you upgrade from app-emulation/virtualbox-ose make sure to run"
|
||||
elog "\"env-update\" as root and logout and relogin as the user you wish"
|
||||
elog "to run ${PN} as."
|
||||
elog ""
|
||||
elog "Starting with version 4.0.0, ${PN} has USB-1 support."
|
||||
elog "For USB-2 support, PXE-boot ability and VRDP support please emerge"
|
||||
elog " app-emulation/virtualbox-extpack-oracle"
|
||||
elog "package."
|
||||
if [ -e "${ROOT}/etc/udev/rules.d/10-virtualbox.rules" ] ; then
|
||||
elog ""
|
||||
elog "Please remove \"${ROOT}/etc/udev/rules.d/10-virtualbox.rules\""
|
||||
elog "or else USB in ${PN} won't work."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -0,0 +1,85 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/nkf/nkf-2.1.2-r1.ebuild,v 1.1 2012/03/15 01:47:50 naota Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="python? 2"
|
||||
inherit eutils distutils perl-module toolchain-funcs
|
||||
|
||||
DESCRIPTION="Network Kanji code conversion Filter with UTF-8/16 support"
|
||||
HOMEPAGE="http://sourceforge.jp/projects/nkf/"
|
||||
SRC_URI="mirror://sourceforge.jp/nkf/53171/${P}.tar.gz
|
||||
python? ( http://dev.gentoo.org/~naota/files/NKF_python20090602.tgz )"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-macos"
|
||||
IUSE="perl python linguas_ja"
|
||||
|
||||
pkg_setup() {
|
||||
if use python ; then
|
||||
python_set_active_version 2
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e "/^CFLAGS/s:-O2:${CFLAGS}:" \
|
||||
-e '/-o nkf/s:$(CFLAGS):$(CFLAGS) $(LDFLAGS):' \
|
||||
Makefile || die
|
||||
|
||||
if use python; then
|
||||
mv "${WORKDIR}/NKF.python" "${S}" || die
|
||||
sed -i -e "s/-s/${CFLAGS}/" NKF.python/setup.py || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" nkf || die
|
||||
if use perl; then
|
||||
cd "${S}/NKF.mod"
|
||||
perl-module_src_compile
|
||||
fi
|
||||
if use python; then
|
||||
cd "${S}/NKF.python"
|
||||
distutils_src_compile
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake test || die
|
||||
if use perl; then
|
||||
cd "${S}/NKF.mod"
|
||||
perl-module_src_test
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin nkf || die
|
||||
doman nkf.1
|
||||
if use linguas_ja; then
|
||||
./nkf -e nkf.1j > nkf.1
|
||||
doman -i18n=ja nkf.1
|
||||
fi
|
||||
dodoc nkf.doc
|
||||
if use perl; then
|
||||
cd "${S}/NKF.mod"
|
||||
perl-module_src_install
|
||||
fi
|
||||
if use python; then
|
||||
cd "${S}/NKF.python"
|
||||
distutils_src_install
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use python ; then
|
||||
distutils_pkg_postinst
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if use python ; then
|
||||
distutils_pkg_postrm
|
||||
fi
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
Fix building with zlib >= 1.2.5.2, see http://bugs.gentoo.org/406203
|
||||
|
||||
--- file.cpp
|
||||
+++ file.cpp
|
||||
@@ -20,12 +20,12 @@
|
||||
#include "file.h"
|
||||
|
||||
GZ_IFStream::GZ_IFStream(string fname) {file = gzopen(fname.c_str(), "rb");}
|
||||
-GZ_IFStream::~GZ_IFStream() {if (!bad()) gzclose(file);}
|
||||
-unsigned GZ_IFStream::read(void *data, unsigned num) {return gzread(file, data, num);}
|
||||
+GZ_IFStream::~GZ_IFStream() {if (!bad()) gzclose((gzFile)file);}
|
||||
+unsigned GZ_IFStream::read(void *data, unsigned num) {return gzread((gzFile)file, data, num);}
|
||||
|
||||
GZ_OFStream::GZ_OFStream(string fname) {file = gzopen(fname.c_str(), "wb");}
|
||||
-GZ_OFStream::~GZ_OFStream() {gzclose(file);}
|
||||
-unsigned GZ_OFStream::write(const void *data, unsigned num) {return gzwrite(file, (voidp)data, num);}
|
||||
+GZ_OFStream::~GZ_OFStream() {gzclose((gzFile)file);}
|
||||
+unsigned GZ_OFStream::write(const void *data, unsigned num) {return gzwrite((gzFile)file, (voidp)data, num);}
|
||||
|
||||
BZ_IFStream::BZ_IFStream(string fname) {file = BZ2_bzopen(fname.c_str(), "rb");}
|
||||
BZ_IFStream::~BZ_IFStream() {if (!bad()) BZ2_bzclose(file);}
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/texi2html/texi2html-5.0-r1.ebuild,v 1.1 2012/03/15 19:07:35 ssuominen Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Perl script that converts Texinfo to HTML"
|
||||
HOMEPAGE="http://www.nongnu.org/texi2html/"
|
||||
SRC_URI="mirror://nongnu/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="CCPL-ShareAlike-1.0 FDL-1.3 GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~mips ~x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="unicode"
|
||||
|
||||
RDEPEND=">=dev-lang/perl-5.10.1
|
||||
dev-perl/libintl-perl
|
||||
unicode? (
|
||||
dev-perl/Text-Unidecode
|
||||
dev-perl/Unicode-EastAsianWidth
|
||||
)"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS="AUTHORS ChangeLog NEWS README TODO"
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
use unicode && myconf='--with-external-Unicode-EastAsianWidth'
|
||||
|
||||
econf \
|
||||
--with-external-libintl-perl \
|
||||
$(use_with unicode unidecode) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
rm -f "${ED}"/usr/share/${PN}/images/{COPYING*,GPL,README}
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
rm -f "${EROOT}"/usr/bin/${PN}
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST xiphos-3.1.2.tar.gz 4308575 RMD160 d045307738d7bda4b7747f080c6a3b6941ba07c8 SHA1 85906be12bf51a1613cabc74d388a633f7105ebe SHA256 002f520db9aa833eab672daf68f7f75b3a9db687f2e8cd3d6c961405180fad8e
|
||||
DIST xiphos-3.1.3.tar.gz 4405305 RMD160 a1eb841b8951e2475e294113de7c8f7b5c9bbcdf SHA1 a6740c2b942e8b34ce70ecf81cba47f821bb464f SHA256 345c04d3521239f8e8dff8d0a8447ce6eba6809d22fe699c69a0677894e87b4c
|
||||
DIST xiphos-3.1.5.tar.gz 6720373 RMD160 bc0d2a5d3632c390c4177001cdc9da6f9c7b90a3 SHA1 8bfa990014c602360ffb19f52a049529033ab97c SHA256 db7a937b830628baae083143cf898772c097463705eeb4cf7238e2dbb5061179
|
||||
DIST xiphos-3.1.5.tar.gz 6720533 RMD160 7ce0297522edb3bf6ea9d9633a166aa8a01680e8 SHA1 10f1baf5103dfb0cb36be85bd221f7fc110dc7a1 SHA256 2887426908e269f25d2d191be445112027b2b7e80356823d4942b1803a359d8c
|
||||
|
@ -0,0 +1,13 @@
|
||||
--- acinclude.m4.orig 2012-02-25 15:44:58.208371766 +0100
|
||||
+++ acinclude.m4 2012-02-25 15:46:03.592027548 +0100
|
||||
@@ -2011,7 +2011,9 @@
|
||||
AC_MSG_RESULT(${ENABLE_SYSTEM_GTK})
|
||||
if test x"${ENABLE_SYSTEM_GTK}" = "xyes"; then
|
||||
dnl Check for Gtk+ headers and libraries.
|
||||
- PKG_CHECK_MODULES(GTK, gtk+-2.0,[GTK_FOUND=yes],[GTK_FOUND=no])
|
||||
+ dnl Explicitly include gthread-2.0 to get g_thread_init even on glib 2.32
|
||||
+ dnl where it is deprecated.
|
||||
+ PKG_CHECK_MODULES(GTK, gtk+-2.0 gthread-2.0,[GTK_FOUND=yes],[GTK_FOUND=no])
|
||||
if test "x${GTK_FOUND}" = xno
|
||||
then
|
||||
AC_MSG_ERROR([Could not find Gtk+; install Gtk+ or build with --disable-system-gtk to use the in-tree headers.])
|
@ -1,11 +1,11 @@
|
||||
DIST binutils-2.20.1.tar.bz2 17591527 RMD160 aebf86b8ae126fabd52450a81c7d491c40ff851d SHA1 3f0e3746a15f806a95dd079be2a7f43c17b18818 SHA256 71d37c96451333c5c0b84b170169fdcb138bbb27397dc06281905d9717c8ed64
|
||||
DIST gcc-4.4.3.tar.bz2 62944934 RMD160 b51afac3cb77ee3dc09d29c2f85936482ed82ab2 SHA1 619766282734728539ce58a5c383cb371f1999c7 SHA256 97ed664694b02b4d58ac2cafe443d02a388f9cb3645e7778843b5086a5fec040
|
||||
DIST naclbinutils-2.20.1-r6869.patch.bz2 25819 RMD160 4bf58463368cb169d2154b07f1d5e3d1f9079d8b SHA1 3f4d250e03e1327460bb664d046d6e017abc2e3b SHA256 ec34aff65f715a20ce093e20e70a8a1d94f2733e081383cc472fd37415565eb8
|
||||
DIST naclbinutils-2.20.1-r7311.patch.bz2 29190 RMD160 b9271bfd24e8244773c2cbd56416eea7f5bd6bdb SHA1 9fa7efe7be7480a78e8274ef41812dc8e36b02aa SHA256 37bc2a1faf68e6667cec3c1bae425a7ffac8b20586ec3d0269de7d579e714499
|
||||
DIST naclgcc-4.4.3-r6869.patch.bz2 33769 RMD160 11d82b4a4309a881ae1f6e04fa05a5c6e21e7a56 SHA1 bcf14b4947726319449207bfe3227d5b2171ebd4 SHA256 2221586fd07a31015c8e8a8346043faed608f997b5e313c83164e0755019612b
|
||||
DIST naclbinutils-2.20.1-r8034.patch.bz2 37750 RMD160 9e7593b1c8ad1fe391824f7d782c71fb5f19ac48 SHA1 c4b8a335bab622ecb7a636b8f5880b45833a5cba SHA256 8eb4f280a37f1e6fed0a6b9abf42d19d5211fd3cab45de70a1e9277144b1102e
|
||||
DIST naclgcc-4.4.3-r7311.patch.bz2 38041 RMD160 d6686a40bb702ffe5396906dc41bf0f8fe1c252a SHA1 e7a0f968d1480d07613746a106c9379b9a8aea05 SHA256 28a2ae1ffed512c29ef67689abe174b94e0cc6e0decd74a9637915b73953b432
|
||||
DIST naclnewlib-1.18.0-r6869.patch.bz2 76563 RMD160 3d54c53616f8c0e04215c2852cf0c81866727b8e SHA1 bf215f10b9978ddd46f58e8e2a9125cef4bfeac4 SHA256 2fb33dedb1e337c49dc6a00a7390c91599f2d93faab0ab65c5843444dd47fc3a
|
||||
DIST naclgcc-4.4.3-r8034.patch.bz2 38111 RMD160 3f97762ef1f9637ad460acea8c5085f20735a373 SHA1 bc48411ae7be18b61d84ef6e9b5d6c8c718b3314 SHA256 b9edb67ed22a45f7cbc9da7786e9adf2c1f9f27a5321c2d2010ef72d3e916db8
|
||||
DIST naclnewlib-1.18.0-r7311.patch.bz2 109402 RMD160 54d3d1770b3dd9fb56cad8de2efb6451d2a115f5 SHA1 8729c772d4304b38ee7ca27ab409389d4591c141 SHA256 677aa08de6ee9391a234e3ab18a2a074745c72078d2c369747ddc3ec818b49cc
|
||||
DIST nacltoolchain-buildscripts-r6869.tar.gz 20019 RMD160 5e897dbb4e5b629258d47213584619f7768c5fc3 SHA1 1dc71a19ad93eef3edd7bd5bdb18b0a3e1754cbc SHA256 71e48ff983fb4c88075aefcb62d77a033623ab263d766304eb64aa547340b375
|
||||
DIST naclnewlib-1.18.0-r8034.patch.bz2 1851156 RMD160 0b7db2dad90c04cf8898762cb105d20e4760f535 SHA1 b039fba6092b9792babebe36c0decd8f35aac4c2 SHA256 734548bb725bd0334302ab744da5112f8fb771def9b5c20d489b5491196ae668
|
||||
DIST nacltoolchain-buildscripts-r7311.tar.gz 20113 RMD160 bb5ac169c790bcca9f83785fea2c055d4f02aa13 SHA1 89d21c4bed2ff85531d690d98988e36ee02a98c3 SHA256 6f4d86b9979e045ca7898fc36fe00757051692b62962de957cccd518c633bcf4
|
||||
DIST nacltoolchain-buildscripts-r8034.tar.gz 20234 RMD160 65b9a7d7b14820b6ffaa19c995c2ee4297ee59f7 SHA1 3438ae368c034b3bdd45ee3d13e1bafff9773cb9 SHA256 6af66f74fd45aa41d0bfe5bbc0a6d93aac47389ff319b47640738c7e7ae3c36f
|
||||
DIST newlib-1.18.0.tar.gz 13598301 RMD160 69d96fd323a23857072f30cb51899040099857cd SHA1 a47d3b8a508304143334b36bdb5b33786a61ce94 SHA256 d608f22b0b2e7725d2fca13cac19f34bc652d9773acadae778db9881746cb071
|
||||
|
@ -1,6 +1,6 @@
|
||||
DIST v8-3.7.12.28.tar.bz2 9831671 RMD160 e91fe64c1852a8635b593fdf6fd4b7d3b330e188 SHA1 58be4a04cf1aacca21003f0288fe277654b32eb3 SHA256 e14d8fa0f514622e2e499f35cdbec0f4fd0ce85ea42850d6a9b542e0493191ab
|
||||
DIST v8-3.7.12.29.tar.bz2 9832177 RMD160 52c59475a1b21e43223ee138ff58019d9a0e782c SHA1 64e42b8b294f6ba75ade844c20b3eb8851930819 SHA256 aa237cecd4250ddd2a7b9578f288368a34ec70650e2b22a11c0a9a9828c79452
|
||||
DIST v8-3.8.9.13.tar.bz2 9863992 RMD160 cb19a2940f86f2c3d1a9e0d541d130ade51c6f9a SHA1 9b0a37c03e20981ad03e84b5de17bce733c87a3b SHA256 8c1a3b43d395a8d6d3bb44c50b29b63c05a0916c8e5e98f008179ad10632b7d1
|
||||
DIST v8-3.8.9.8.tar.bz2 9865911 RMD160 9283be1d7513f60749645bff29b255becb2810f2 SHA1 187962c0a12dd80eeb7abd1721d887036f952d61 SHA256 2f43c68f2b38d6543873f692e1218086d2d6029a4d95767dd7abd7701014600f
|
||||
DIST v8-3.8.9.15.tar.bz2 9866378 RMD160 67303d23f1edb939ec35acfed319df92319d02f2 SHA1 d6bd63d3ba6ac31116269fe6012dce96afdcf0bd SHA256 adf62780cc6c2ef41c313a9102cfeaa469eefe725d7bb2e906f8ff558f162455
|
||||
DIST v8-3.9.11.tar.bz2 9900605 RMD160 8e787ba4e210b895384b2fd1f8f1525c760bc005 SHA1 ad014fed5568618abc0b8c6a8ea22020596ae1dc SHA256 eeac910769012af409b589455633ee4ae2082ed1dcd105be84c66eb9d882f875
|
||||
DIST v8-3.9.13.tar.bz2 9909229 RMD160 86980c1b00ecb18be4837607c71feb1951d5a824 SHA1 aa8fdbc8396bc06b761b8a33cd4815bd908b489e SHA256 a89d99fe4bc4987b6d3a78ba60bce1345c6bf470c66776dd0a9496acc2abff80
|
||||
|
@ -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/dev-lang/v8/v8-3.8.9.8.ebuild,v 1.2 2012/03/01 19:26:34 grobian Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-3.8.9.15.ebuild,v 1.1 2012/03/16 01:20:00 floppym Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
@ -1,3 +1,2 @@
|
||||
DIST expat-2.0.1.tar.gz 446456 RMD160 d31bcb152adaff9e358968be1ea901e1b4ed3b2f SHA1 663548c37b996082db1f2f2c32af060d7aa15c2d SHA256 847660b4df86e707c9150e33cd8c25bc5cd828f708c7418e765e3e983a2e5e93
|
||||
DIST expat-2.1.0-beta2.tar.gz 561905 RMD160 e02a82f523a5ec455636217460b97a2e3e010b19 SHA1 b81e4b4aa32ef5f429fd4c1a22afdf80415fcecb SHA256 a87f81e6743238cf77c33a4e2e61b9b7c23bcbe58a4e152259aa18203ea39264
|
||||
DIST expat-2.1.0-beta3.tar.gz 562612 RMD160 2a03f16494c61fe7eb0e5e3081a4f68f78f3610d SHA1 956e05916d4840c46ca9f5377a01b13cafc4b510 SHA256 69d2ec90d46b1308ffd2f4e8f2f269124951f9c12314d422df8f47fe315f2aa6
|
||||
|
@ -1,72 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/expat/expat-2.0.1-r5.ebuild,v 1.8 2011/12/22 16:43:20 ssuominen Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit eutils libtool toolchain-funcs
|
||||
|
||||
DESCRIPTION="XML parsing libraries"
|
||||
HOMEPAGE="http://expat.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/expat/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="elibc_FreeBSD examples static-libs"
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-check_stopped_parser.patch \
|
||||
"${FILESDIR}"/${P}-fix_bug_1990430.patch \
|
||||
"${FILESDIR}"/${P}-CVE-2009-3560-revised.patch
|
||||
|
||||
elibtoolize
|
||||
epunt_cxx
|
||||
|
||||
mkdir "${S}"-build{,u,w} || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf="$(use_enable static-libs static)"
|
||||
|
||||
local d
|
||||
for d in build buildu buildw; do
|
||||
pushd "${S}"-${d}
|
||||
[[ ${d} == buildu ]] && export GENTOO_CPPFLAGS="-UXML_UNICODE"
|
||||
[[ ${d} == buildw ]] && export GENTOO_CPPFLAGS="-UXML_UNICODE -DXML_UNICODE_WCHAR_T"
|
||||
CPPFLAGS="${CPPFLAGS} ${GENTOO_CPPFLAGS}" ECONF_SOURCE="${S}" econf ${myconf}
|
||||
popd
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${S}"-build
|
||||
emake
|
||||
cd "${S}"-buildu
|
||||
emake buildlib LIBRARY=libexpatu.la
|
||||
cd "${S}"-buildw
|
||||
emake buildlib LIBRARY=libexpatw.la
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc Changes README
|
||||
dohtml doc/*
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins examples/*.c
|
||||
fi
|
||||
|
||||
cd "${S}"-build
|
||||
emake install DESTDIR="${D}"
|
||||
cd "${S}"-buildu
|
||||
emake installlib DESTDIR="${D}" LIBRARY=libexpatu.la
|
||||
cd "${S}"-buildw
|
||||
emake installlib DESTDIR="${D}" LIBRARY=libexpatw.la
|
||||
|
||||
use static-libs || rm -f "${D}"usr/lib*/libexpat{,u,w}.la
|
||||
|
||||
# libgeom in /lib and ifconfig in /sbin require it on FreeBSD since we
|
||||
# stripped the libbsdxml copy starting from freebsd-lib-8.2-r1
|
||||
use elibc_FreeBSD && gen_usr_ldscript -a expat{,u,w}
|
||||
}
|
@ -1,97 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/expat/expat-2.1.0_beta2.ebuild,v 1.2 2012/03/10 17:51:46 ssuominen Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit eutils libtool toolchain-funcs
|
||||
|
||||
DESCRIPTION="XML parsing libraries"
|
||||
HOMEPAGE="http://expat.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/expat/${P/_/-}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
#KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="elibc_FreeBSD examples static-libs unicode"
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == *beta* ]]; then
|
||||
unpack ${A}
|
||||
mv ${PN}-* "${S}"
|
||||
else
|
||||
default
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-move_setContext_call.patch #407555
|
||||
|
||||
elibtoolize
|
||||
epunt_cxx
|
||||
|
||||
mkdir "${S}"-build{,u,w} || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf="$(use_enable static-libs static)"
|
||||
|
||||
pushd "${S}"-build >/dev/null
|
||||
ECONF_SOURCE="${S}" econf ${myconf}
|
||||
popd >/dev/null
|
||||
|
||||
if use unicode; then
|
||||
pushd "${S}"-buildu >/dev/null
|
||||
CPPFLAGS="${CPPFLAGS} -DXML_UNICODE" ECONF_SOURCE="${S}" econf ${myconf}
|
||||
popd >/dev/null
|
||||
|
||||
pushd "${S}"-buildw >/dev/null
|
||||
CFLAGS="${CFLAGS} -fshort-wchar" CPPFLAGS="${CPPFLAGS} -DXML_UNICODE_WCHAR_T" ECONF_SOURCE="${S}" econf ${myconf}
|
||||
popd >/dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
pushd "${S}"-build >/dev/null
|
||||
emake
|
||||
popd >/dev/null
|
||||
|
||||
if use unicode; then
|
||||
pushd "${S}"-buildu >/dev/null
|
||||
emake buildlib LIBRARY=libexpatu.la
|
||||
popd >/dev/null
|
||||
|
||||
pushd "${S}"-buildw >/dev/null
|
||||
emake buildlib LIBRARY=libexpatw.la
|
||||
popd >/dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc Changes README
|
||||
dohtml doc/*
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins examples/*.c
|
||||
fi
|
||||
|
||||
pushd "${S}"-build >/dev/null
|
||||
emake install DESTDIR="${D}"
|
||||
popd >/dev/null
|
||||
|
||||
if use unicode; then
|
||||
pushd "${S}"-buildu >/dev/null
|
||||
emake installlib DESTDIR="${D}" LIBRARY=libexpatu.la
|
||||
popd >/dev/null
|
||||
|
||||
pushd "${S}"-buildw >/dev/null
|
||||
emake installlib DESTDIR="${D}" LIBRARY=libexpatw.la
|
||||
popd >/dev/null
|
||||
fi
|
||||
|
||||
rm -f "${ED}"usr/lib*/libexpat{,u,w}.la
|
||||
|
||||
# libgeom in /lib and ifconfig in /sbin require it on FreeBSD since we
|
||||
# stripped the libbsdxml copy starting from freebsd-lib-8.2-r1
|
||||
use elibc_FreeBSD && gen_usr_ldscript -a expat{,u,w}
|
||||
}
|
@ -1,90 +0,0 @@
|
||||
http://bugs.gentoo.org/407555
|
||||
http://expat.cvs.sourceforge.net/viewvc/expat/expat/lib/xmlparse.c?r1=1.168&r2=1.170
|
||||
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=3500861&group_id=10127
|
||||
|
||||
--- lib/xmlparse.c
|
||||
+++ lib/xmlparse.c
|
||||
@@ -432,6 +432,9 @@
|
||||
getElementType(XML_Parser parser, const ENCODING *enc,
|
||||
const char *ptr, const char *end);
|
||||
|
||||
+static unsigned long generate_hash_secret_salt(void);
|
||||
+static XML_Bool startParsing(XML_Parser parser);
|
||||
+
|
||||
static XML_Parser
|
||||
parserCreate(const XML_Char *encodingName,
|
||||
const XML_Memory_Handling_Suite *memsuite,
|
||||
@@ -695,22 +698,27 @@
|
||||
return rand();
|
||||
}
|
||||
|
||||
+static XML_Bool /* only valid for root parser */
|
||||
+startParsing(XML_Parser parser)
|
||||
+{
|
||||
+ /* hash functions must be initialized before setContext() is called */
|
||||
+ if (hash_secret_salt == 0)
|
||||
+ hash_secret_salt = generate_hash_secret_salt();
|
||||
+ if (ns) {
|
||||
+ /* implicit context only set for root parser, since child
|
||||
+ parsers (i.e. external entity parsers) will inherit it
|
||||
+ */
|
||||
+ return setContext(parser, implicitContext);
|
||||
+ }
|
||||
+ return XML_TRUE;
|
||||
+}
|
||||
+
|
||||
XML_Parser XMLCALL
|
||||
XML_ParserCreate_MM(const XML_Char *encodingName,
|
||||
const XML_Memory_Handling_Suite *memsuite,
|
||||
const XML_Char *nameSep)
|
||||
{
|
||||
- XML_Parser parser = parserCreate(encodingName, memsuite, nameSep, NULL);
|
||||
- if (parser != NULL && ns) {
|
||||
- /* implicit context only set for root parser, since child
|
||||
- parsers (i.e. external entity parsers) will inherit it
|
||||
- */
|
||||
- if (!setContext(parser, implicitContext)) {
|
||||
- XML_ParserFree(parser);
|
||||
- return NULL;
|
||||
- }
|
||||
- }
|
||||
- return parser;
|
||||
+ return parserCreate(encodingName, memsuite, nameSep, NULL);
|
||||
}
|
||||
|
||||
static XML_Parser
|
||||
@@ -946,7 +954,7 @@
|
||||
poolClear(&temp2Pool);
|
||||
parserInit(parser, encodingName);
|
||||
dtdReset(_dtd, &parser->m_mem);
|
||||
- return setContext(parser, implicitContext);
|
||||
+ return XML_TRUE;
|
||||
}
|
||||
|
||||
enum XML_Status XMLCALL
|
||||
@@ -1499,8 +1507,10 @@
|
||||
errorCode = XML_ERROR_FINISHED;
|
||||
return XML_STATUS_ERROR;
|
||||
case XML_INITIALIZED:
|
||||
- if (hash_secret_salt == 0)
|
||||
- hash_secret_salt = generate_hash_secret_salt();
|
||||
+ if (parentParser == NULL && !startParsing(parser)) {
|
||||
+ errorCode = XML_ERROR_NO_MEMORY;
|
||||
+ return XML_STATUS_ERROR;
|
||||
+ }
|
||||
default:
|
||||
ps_parsing = XML_PARSING;
|
||||
}
|
||||
@@ -1623,8 +1633,10 @@
|
||||
errorCode = XML_ERROR_FINISHED;
|
||||
return XML_STATUS_ERROR;
|
||||
case XML_INITIALIZED:
|
||||
- if (hash_secret_salt == 0)
|
||||
- hash_secret_salt = generate_hash_secret_salt();
|
||||
+ if (parentParser == NULL && !startParsing(parser)) {
|
||||
+ errorCode = XML_ERROR_NO_MEMORY;
|
||||
+ return XML_STATUS_ERROR;
|
||||
+ }
|
||||
default:
|
||||
ps_parsing = XML_PARSING;
|
||||
}
|
@ -1,4 +1,3 @@
|
||||
DIST libgdata-0.10.0.tar.xz 1126664 RMD160 6d88a72b469e9d4969334d4531cc0f582d6eb48f SHA1 49c8f23c2689068b20ddc6b8e02f3888adb644bb SHA256 af4805304763b93058773bbfdb06925189159196066207f275cb34b1b5c552ec
|
||||
DIST libgdata-0.10.1.tar.xz 1131224 RMD160 c2762edb71b3ddc0c83a0e748eb057f66c702800 SHA1 5e42e3c03ed4f1decd0eadd4f57c7cdd66d6f109 SHA256 d7f27b1019905792246336599cadc7470b362806ed5e2c038a9f7c0da257f6ef
|
||||
DIST libgdata-0.8.0.tar.bz2 1240410 RMD160 4a5dd9dd291e487be846443daad8f1f4af2f6843 SHA1 3d0beebfb248d8d684762492755c3e195220f929 SHA256 1a816dda7de8ce162e00cc1c782a5ae25230a36d56c590a67d86848058797c9f
|
||||
DIST libgdata-0.10.2.tar.xz 1129804 RMD160 5e4ada53ccd5d36c6ae5353871ffe5249945c2cd SHA1 07b8236cb86abe62146b590133b084ee161a46a2 SHA256 c028f3f39796fe6cc4841413b95a6c470350166ec8b520d17e6f4ff666f32c4e
|
||||
DIST libgdata-0.8.1.tar.bz2 1201616 RMD160 ff56052332399e29a0a615d9128524cb2a178d47 SHA1 e0526fafeda6ef5d92afbdea08f715a07942ac84 SHA256 080be3e677e6098d0f1bbcbaf8e474b4b94fad8a0d07b5a2969c3ab95b68d0b9
|
||||
|
@ -0,0 +1,53 @@
|
||||
From 25a2824203ad199d69432940d2f1edda5b226e9e Mon Sep 17 00:00:00 2001
|
||||
From: Philip Withnall <philip@tecnocode.co.uk>
|
||||
Date: Thu, 8 Mar 2012 00:09:08 +0000
|
||||
Subject: [PATCH] core: Validate SSL certificates for all connections
|
||||
|
||||
This prevents MitM attacks which use spoofed SSL certificates.
|
||||
|
||||
Closes: https://bugzilla.gnome.org/show_bug.cgi?id=671535
|
||||
|
||||
[Alexandre Rostovtsev <tetromino@gentoo.org>: backport to 0.8.1]
|
||||
|
||||
Conflicts:
|
||||
|
||||
gdata/gdata-service.c
|
||||
---
|
||||
configure.ac | 7 +++++++
|
||||
gdata/gdata-service.c | 2 +-
|
||||
2 files changed, 8 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 449383d..ad23761 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -92,6 +92,13 @@ AC_CHECK_FUNCS([strtol])
|
||||
AC_CHECK_FUNCS([strtoul])
|
||||
AC_CHECK_HEADERS([sys/time.h])
|
||||
|
||||
+# System SSL CA certificates
|
||||
+AC_ARG_WITH(ca-certs,
|
||||
+ AS_HELP_STRING([--with-ca-certs=PATH],[location of SSL CA certificates (default: /etc/ssl/certs/ca-certificates.crt)]),
|
||||
+ ca_certs="$withval",
|
||||
+ ca_certs="/etc/ssl/certs/ca-certificates.crt")
|
||||
+AC_DEFINE_UNQUOTED(CA_CERTS, "$ca_certs", [Where to look for SSL CA certificates])
|
||||
+
|
||||
# Internationalisation support
|
||||
GETTEXT_PACKAGE=gdata
|
||||
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, ["$GETTEXT_PACKAGE"], [Define to the Gettext package name])
|
||||
diff --git a/gdata/gdata-service.c b/gdata/gdata-service.c
|
||||
index 420eec2..8d8d21c 100644
|
||||
--- a/gdata/gdata-service.c
|
||||
+++ b/gdata/gdata-service.c
|
||||
@@ -273,7 +273,7 @@ static void
|
||||
gdata_service_init (GDataService *self)
|
||||
{
|
||||
self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self, GDATA_TYPE_SERVICE, GDataServicePrivate);
|
||||
- self->priv->session = soup_session_sync_new ();
|
||||
+ self->priv->session = soup_session_sync_new_with_options (SOUP_SESSION_SSL_CA_FILE, CA_CERTS, NULL);
|
||||
|
||||
#ifdef HAVE_GNOME
|
||||
soup_session_add_feature_by_type (self->priv->session, SOUP_TYPE_GNOME_FEATURES_2_26);
|
||||
--
|
||||
1.7.8.5
|
||||
|
@ -0,0 +1,344 @@
|
||||
http://rt.openssl.org/Ticket/Display.html?id=2084
|
||||
|
||||
--- a/Makefile.org
|
||||
+++ b/Makefile.org
|
||||
@@ -247,17 +247,17 @@
|
||||
build_libs: build_crypto build_ssl build_engines
|
||||
|
||||
build_crypto:
|
||||
- @dir=crypto; target=all; $(BUILD_ONE_CMD)
|
||||
+ +@dir=crypto; target=all; $(BUILD_ONE_CMD)
|
||||
-build_ssl:
|
||||
+build_ssl: build_crypto
|
||||
- @dir=ssl; target=all; $(BUILD_ONE_CMD)
|
||||
+ +@dir=ssl; target=all; $(BUILD_ONE_CMD)
|
||||
-build_engines:
|
||||
+build_engines: build_crypto
|
||||
- @dir=engines; target=all; $(BUILD_ONE_CMD)
|
||||
+ +@dir=engines; target=all; $(BUILD_ONE_CMD)
|
||||
-build_apps:
|
||||
+build_apps: build_libs
|
||||
- @dir=apps; target=all; $(BUILD_ONE_CMD)
|
||||
+ +@dir=apps; target=all; $(BUILD_ONE_CMD)
|
||||
-build_tests:
|
||||
+build_tests: build_libs
|
||||
- @dir=test; target=all; $(BUILD_ONE_CMD)
|
||||
+ +@dir=test; target=all; $(BUILD_ONE_CMD)
|
||||
-build_tools:
|
||||
+build_tools: build_libs
|
||||
- @dir=tools; target=all; $(BUILD_ONE_CMD)
|
||||
+ +@dir=tools; target=all; $(BUILD_ONE_CMD)
|
||||
|
||||
all_testapps: build_libs build_testapps
|
||||
build_testapps:
|
||||
@@ -497,9 +497,9 @@
|
||||
dist_pem_h:
|
||||
(cd crypto/pem; $(MAKE) -e $(BUILDENV) pem.h; $(MAKE) clean)
|
||||
|
||||
-install: all install_docs install_sw
|
||||
+install: install_docs install_sw
|
||||
|
||||
-install_sw:
|
||||
+install_dirs:
|
||||
@$(PERL) $(TOP)/util/mkdir-p.pl $(INSTALL_PREFIX)$(INSTALLTOP)/bin \
|
||||
$(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR) \
|
||||
$(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines \
|
||||
@@ -508,6 +508,13 @@
|
||||
$(INSTALL_PREFIX)$(OPENSSLDIR)/misc \
|
||||
$(INSTALL_PREFIX)$(OPENSSLDIR)/certs \
|
||||
$(INSTALL_PREFIX)$(OPENSSLDIR)/private
|
||||
+ @$(PERL) $(TOP)/util/mkdir-p.pl \
|
||||
+ $(INSTALL_PREFIX)$(MANDIR)/man1 \
|
||||
+ $(INSTALL_PREFIX)$(MANDIR)/man3 \
|
||||
+ $(INSTALL_PREFIX)$(MANDIR)/man5 \
|
||||
+ $(INSTALL_PREFIX)$(MANDIR)/man7
|
||||
+
|
||||
+install_sw: install_dirs
|
||||
@set -e; headerlist="$(EXHEADER)"; for i in $$headerlist;\
|
||||
do \
|
||||
(cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
|
||||
@@ -511,7 +511,7 @@
|
||||
(cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
|
||||
chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
|
||||
done;
|
||||
- @set -e; target=install; $(RECURSIVE_BUILD_CMD)
|
||||
+ +@set -e; target=install; $(RECURSIVE_BUILD_CMD)
|
||||
@set -e; liblist="$(LIBS)"; for i in $$liblist ;\
|
||||
do \
|
||||
if [ -f "$$i" ]; then \
|
||||
@@ -593,12 +600,7 @@
|
||||
done; \
|
||||
done
|
||||
|
||||
-install_docs:
|
||||
- @$(PERL) $(TOP)/util/mkdir-p.pl \
|
||||
- $(INSTALL_PREFIX)$(MANDIR)/man1 \
|
||||
- $(INSTALL_PREFIX)$(MANDIR)/man3 \
|
||||
- $(INSTALL_PREFIX)$(MANDIR)/man5 \
|
||||
- $(INSTALL_PREFIX)$(MANDIR)/man7
|
||||
+install_docs: install_dirs
|
||||
@pod2man="`cd ./util; ./pod2mantest $(PERL)`"; \
|
||||
here="`pwd`"; \
|
||||
filecase=; \
|
||||
--- a/Makefile.shared
|
||||
+++ b/Makefile.shared
|
||||
@@ -105,11 +105,13 @@ LINK_SO= \
|
||||
SHAREDFLAGS="$${SHAREDFLAGS:-$(CFLAGS) $(SHARED_LDFLAGS)}"; \
|
||||
LIBPATH=`for x in $$LIBDEPS; do echo $$x; done | sed -e 's/^ *-L//;t' -e d | uniq`; \
|
||||
LIBPATH=`echo $$LIBPATH | sed -e 's/ /:/g'`; \
|
||||
+ [ -e $$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX ] && exit 0; \
|
||||
LD_LIBRARY_PATH=$$LIBPATH:$$LD_LIBRARY_PATH \
|
||||
$${SHAREDCMD} $${SHAREDFLAGS} \
|
||||
-o $$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX \
|
||||
$$ALLSYMSFLAGS $$SHOBJECTS $$NOALLSYMSFLAGS $$LIBDEPS \
|
||||
- ) && $(SYMLINK_SO)
|
||||
+ && $(SYMLINK_SO) \
|
||||
+ )
|
||||
|
||||
SYMLINK_SO= \
|
||||
if [ -n "$$INHIBIT_SYMLINKS" ]; then :; else \
|
||||
@@ -122,6 +124,7 @@ SYMLINK_SO= \
|
||||
done; \
|
||||
fi; \
|
||||
if [ -n "$$SHLIB_SOVER" ]; then \
|
||||
+ [ -e "$$prev" ] || \
|
||||
( $(SET_X); rm -f $$SHLIB$$SHLIB_SUFFIX; \
|
||||
ln -s $$prev $$SHLIB$$SHLIB_SUFFIX ); \
|
||||
fi; \
|
||||
--- a/crypto/Makefile
|
||||
+++ b/crypto/Makefile
|
||||
@@ -85,11 +85,11 @@
|
||||
@if [ -z "$(THIS)" ]; then $(MAKE) -f $(TOP)/Makefile reflect THIS=$@; fi
|
||||
|
||||
subdirs:
|
||||
- @target=all; $(RECURSIVE_MAKE)
|
||||
+ +@target=all; $(RECURSIVE_MAKE)
|
||||
|
||||
files:
|
||||
$(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
|
||||
- @target=files; $(RECURSIVE_MAKE)
|
||||
+ +@target=files; $(RECURSIVE_MAKE)
|
||||
|
||||
links:
|
||||
@$(PERL) $(TOP)/util/mklink.pl ../include/openssl $(EXHEADER)
|
||||
@@ -100,7 +100,7 @@
|
||||
# lib: $(LIB): are splitted to avoid end-less loop
|
||||
lib: $(LIB)
|
||||
@touch lib
|
||||
-$(LIB): $(LIBOBJ)
|
||||
+$(LIB): $(LIBOBJ) | subdirs
|
||||
$(AR) $(LIB) $(LIBOBJ)
|
||||
$(RANLIB) $(LIB) || echo Never mind.
|
||||
|
||||
@@ -110,7 +110,7 @@
|
||||
fi
|
||||
|
||||
libs:
|
||||
- @target=lib; $(RECURSIVE_MAKE)
|
||||
+ +@target=lib; $(RECURSIVE_MAKE)
|
||||
|
||||
install:
|
||||
@[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
|
||||
@@ -119,7 +119,7 @@
|
||||
(cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
|
||||
chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
|
||||
done;
|
||||
- @target=install; $(RECURSIVE_MAKE)
|
||||
+ +@target=install; $(RECURSIVE_MAKE)
|
||||
|
||||
lint:
|
||||
@target=lint; $(RECURSIVE_MAKE)
|
||||
--- a/engines/Makefile
|
||||
+++ b/engines/Makefile
|
||||
@@ -72,7 +72,7 @@
|
||||
|
||||
all: lib subdirs
|
||||
|
||||
-lib: $(LIBOBJ)
|
||||
+lib: $(LIBOBJ) | subdirs
|
||||
@if [ -n "$(SHARED_LIBS)" ]; then \
|
||||
set -e; \
|
||||
for l in $(LIBNAMES); do \
|
||||
@@ -89,7 +89,7 @@
|
||||
|
||||
subdirs:
|
||||
echo $(EDIRS)
|
||||
- @target=all; $(RECURSIVE_MAKE)
|
||||
+ +@target=all; $(RECURSIVE_MAKE)
|
||||
|
||||
files:
|
||||
$(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
|
||||
@@ -128,7 +128,7 @@
|
||||
mv -f $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines/$$pfx$$l$$sfx.new $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines/$$pfx$$l$$sfx ); \
|
||||
done; \
|
||||
fi
|
||||
- @target=install; $(RECURSIVE_MAKE)
|
||||
+ +@target=install; $(RECURSIVE_MAKE)
|
||||
|
||||
tags:
|
||||
ctags $(SRC)
|
||||
--- a/test/Makefile
|
||||
+++ b/test/Makefile
|
||||
@@ -123,7 +123,7 @@
|
||||
tags:
|
||||
ctags $(SRC)
|
||||
|
||||
-tests: exe apps $(TESTS)
|
||||
+tests: exe $(TESTS)
|
||||
|
||||
apps:
|
||||
@(cd ..; $(MAKE) DIRS=apps all)
|
||||
@@ -365,109 +365,109 @@
|
||||
link_app.$${shlib_target}
|
||||
|
||||
$(RSATEST)$(EXE_EXT): $(RSATEST).o $(DLIBCRYPTO)
|
||||
- @target=$(RSATEST); $(BUILD_CMD)
|
||||
+ +@target=$(RSATEST); $(BUILD_CMD)
|
||||
|
||||
$(BNTEST)$(EXE_EXT): $(BNTEST).o $(DLIBCRYPTO)
|
||||
- @target=$(BNTEST); $(BUILD_CMD)
|
||||
+ +@target=$(BNTEST); $(BUILD_CMD)
|
||||
|
||||
$(ECTEST)$(EXE_EXT): $(ECTEST).o $(DLIBCRYPTO)
|
||||
- @target=$(ECTEST); $(BUILD_CMD)
|
||||
+ +@target=$(ECTEST); $(BUILD_CMD)
|
||||
|
||||
$(EXPTEST)$(EXE_EXT): $(EXPTEST).o $(DLIBCRYPTO)
|
||||
- @target=$(EXPTEST); $(BUILD_CMD)
|
||||
+ +@target=$(EXPTEST); $(BUILD_CMD)
|
||||
|
||||
$(IDEATEST)$(EXE_EXT): $(IDEATEST).o $(DLIBCRYPTO)
|
||||
- @target=$(IDEATEST); $(BUILD_CMD)
|
||||
+ +@target=$(IDEATEST); $(BUILD_CMD)
|
||||
|
||||
$(MD2TEST)$(EXE_EXT): $(MD2TEST).o $(DLIBCRYPTO)
|
||||
- @target=$(MD2TEST); $(BUILD_CMD)
|
||||
+ +@target=$(MD2TEST); $(BUILD_CMD)
|
||||
|
||||
$(SHATEST)$(EXE_EXT): $(SHATEST).o $(DLIBCRYPTO)
|
||||
- @target=$(SHATEST); $(BUILD_CMD)
|
||||
+ +@target=$(SHATEST); $(BUILD_CMD)
|
||||
|
||||
$(SHA1TEST)$(EXE_EXT): $(SHA1TEST).o $(DLIBCRYPTO)
|
||||
- @target=$(SHA1TEST); $(BUILD_CMD)
|
||||
+ +@target=$(SHA1TEST); $(BUILD_CMD)
|
||||
|
||||
$(SHA256TEST)$(EXE_EXT): $(SHA256TEST).o $(DLIBCRYPTO)
|
||||
- @target=$(SHA256TEST); $(BUILD_CMD)
|
||||
+ +@target=$(SHA256TEST); $(BUILD_CMD)
|
||||
|
||||
$(SHA512TEST)$(EXE_EXT): $(SHA512TEST).o $(DLIBCRYPTO)
|
||||
- @target=$(SHA512TEST); $(BUILD_CMD)
|
||||
+ +@target=$(SHA512TEST); $(BUILD_CMD)
|
||||
|
||||
$(RMDTEST)$(EXE_EXT): $(RMDTEST).o $(DLIBCRYPTO)
|
||||
- @target=$(RMDTEST); $(BUILD_CMD)
|
||||
+ +@target=$(RMDTEST); $(BUILD_CMD)
|
||||
|
||||
$(MDC2TEST)$(EXE_EXT): $(MDC2TEST).o $(DLIBCRYPTO)
|
||||
- @target=$(MDC2TEST); $(BUILD_CMD)
|
||||
+ +@target=$(MDC2TEST); $(BUILD_CMD)
|
||||
|
||||
$(MD4TEST)$(EXE_EXT): $(MD4TEST).o $(DLIBCRYPTO)
|
||||
- @target=$(MD4TEST); $(BUILD_CMD)
|
||||
+ +@target=$(MD4TEST); $(BUILD_CMD)
|
||||
|
||||
$(MD5TEST)$(EXE_EXT): $(MD5TEST).o $(DLIBCRYPTO)
|
||||
- @target=$(MD5TEST); $(BUILD_CMD)
|
||||
+ +@target=$(MD5TEST); $(BUILD_CMD)
|
||||
|
||||
$(HMACTEST)$(EXE_EXT): $(HMACTEST).o $(DLIBCRYPTO)
|
||||
- @target=$(HMACTEST); $(BUILD_CMD)
|
||||
+ +@target=$(HMACTEST); $(BUILD_CMD)
|
||||
|
||||
$(WPTEST)$(EXE_EXT): $(WPTEST).o $(DLIBCRYPTO)
|
||||
- @target=$(WPTEST); $(BUILD_CMD)
|
||||
+ +@target=$(WPTEST); $(BUILD_CMD)
|
||||
|
||||
$(RC2TEST)$(EXE_EXT): $(RC2TEST).o $(DLIBCRYPTO)
|
||||
- @target=$(RC2TEST); $(BUILD_CMD)
|
||||
+ +@target=$(RC2TEST); $(BUILD_CMD)
|
||||
|
||||
$(BFTEST)$(EXE_EXT): $(BFTEST).o $(DLIBCRYPTO)
|
||||
- @target=$(BFTEST); $(BUILD_CMD)
|
||||
+ +@target=$(BFTEST); $(BUILD_CMD)
|
||||
|
||||
$(CASTTEST)$(EXE_EXT): $(CASTTEST).o $(DLIBCRYPTO)
|
||||
- @target=$(CASTTEST); $(BUILD_CMD)
|
||||
+ +@target=$(CASTTEST); $(BUILD_CMD)
|
||||
|
||||
$(RC4TEST)$(EXE_EXT): $(RC4TEST).o $(DLIBCRYPTO)
|
||||
- @target=$(RC4TEST); $(BUILD_CMD)
|
||||
+ +@target=$(RC4TEST); $(BUILD_CMD)
|
||||
|
||||
$(RC5TEST)$(EXE_EXT): $(RC5TEST).o $(DLIBCRYPTO)
|
||||
- @target=$(RC5TEST); $(BUILD_CMD)
|
||||
+ +@target=$(RC5TEST); $(BUILD_CMD)
|
||||
|
||||
$(DESTEST)$(EXE_EXT): $(DESTEST).o $(DLIBCRYPTO)
|
||||
- @target=$(DESTEST); $(BUILD_CMD)
|
||||
+ +@target=$(DESTEST); $(BUILD_CMD)
|
||||
|
||||
$(RANDTEST)$(EXE_EXT): $(RANDTEST).o $(DLIBCRYPTO)
|
||||
- @target=$(RANDTEST); $(BUILD_CMD)
|
||||
+ +@target=$(RANDTEST); $(BUILD_CMD)
|
||||
|
||||
$(DHTEST)$(EXE_EXT): $(DHTEST).o $(DLIBCRYPTO)
|
||||
- @target=$(DHTEST); $(BUILD_CMD)
|
||||
+ +@target=$(DHTEST); $(BUILD_CMD)
|
||||
|
||||
$(DSATEST)$(EXE_EXT): $(DSATEST).o $(DLIBCRYPTO)
|
||||
- @target=$(DSATEST); $(BUILD_CMD)
|
||||
+ +@target=$(DSATEST); $(BUILD_CMD)
|
||||
|
||||
$(METHTEST)$(EXE_EXT): $(METHTEST).o $(DLIBCRYPTO)
|
||||
- @target=$(METHTEST); $(BUILD_CMD)
|
||||
+ +@target=$(METHTEST); $(BUILD_CMD)
|
||||
|
||||
$(SSLTEST)$(EXE_EXT): $(SSLTEST).o $(DLIBSSL) $(DLIBCRYPTO)
|
||||
- @target=$(SSLTEST); $(FIPS_BUILD_CMD)
|
||||
+ +@target=$(SSLTEST); $(FIPS_BUILD_CMD)
|
||||
|
||||
$(ENGINETEST)$(EXE_EXT): $(ENGINETEST).o $(DLIBCRYPTO)
|
||||
- @target=$(ENGINETEST); $(BUILD_CMD)
|
||||
+ +@target=$(ENGINETEST); $(BUILD_CMD)
|
||||
|
||||
$(EVPTEST)$(EXE_EXT): $(EVPTEST).o $(DLIBCRYPTO)
|
||||
- @target=$(EVPTEST); $(BUILD_CMD)
|
||||
+ +@target=$(EVPTEST); $(BUILD_CMD)
|
||||
|
||||
$(ECDSATEST)$(EXE_EXT): $(ECDSATEST).o $(DLIBCRYPTO)
|
||||
- @target=$(ECDSATEST); $(BUILD_CMD)
|
||||
+ +@target=$(ECDSATEST); $(BUILD_CMD)
|
||||
|
||||
$(ECDHTEST)$(EXE_EXT): $(ECDHTEST).o $(DLIBCRYPTO)
|
||||
- @target=$(ECDHTEST); $(BUILD_CMD)
|
||||
+ +@target=$(ECDHTEST); $(BUILD_CMD)
|
||||
|
||||
$(IGETEST)$(EXE_EXT): $(IGETEST).o $(DLIBCRYPTO)
|
||||
- @target=$(IGETEST); $(BUILD_CMD)
|
||||
+ +@target=$(IGETEST); $(BUILD_CMD)
|
||||
|
||||
$(JPAKETEST)$(EXE_EXT): $(JPAKETEST).o $(DLIBCRYPTO)
|
||||
- @target=$(JPAKETEST); $(BUILD_CMD)
|
||||
+ +@target=$(JPAKETEST); $(BUILD_CMD)
|
||||
|
||||
$(ASN1TEST)$(EXE_EXT): $(ASN1TEST).o $(DLIBCRYPTO)
|
||||
- @target=$(ASN1TEST); $(BUILD_CMD)
|
||||
+ +@target=$(ASN1TEST); $(BUILD_CMD)
|
||||
|
||||
$(SRPTEST)$(EXE_EXT): $(SRPTEST).o $(DLIBCRYPTO)
|
||||
- @target=$(SRPTEST); $(BUILD_CMD)
|
||||
+ +@target=$(SRPTEST); $(BUILD_CMD)
|
||||
|
||||
#$(AESTEST).o: $(AESTEST).c
|
||||
# $(CC) -c $(CFLAGS) -DINTERMEDIATE_VALUE_KAT -DTRACE_KAT_MCT $(AESTEST).c
|
||||
@@ -480,7 +480,7 @@
|
||||
# fi
|
||||
|
||||
dummytest$(EXE_EXT): dummytest.o $(DLIBCRYPTO)
|
||||
- @target=dummytest; $(BUILD_CMD)
|
||||
+ +@target=dummytest; $(BUILD_CMD)
|
||||
|
||||
# DO NOT DELETE THIS LINE -- make depend depends on it.
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue