parent
647db291df
commit
8f6f3b412e
@ -1,4 +0,0 @@
|
||||
DIST prelude-lml-0.9.1.tar.gz 515291 SHA256 57c396d862330aa1578dbd44d92e8686a29735b4480f6c4144b9c4be22275261 SHA512 3d900f5cab806dc57195fb134d243426c5c2ca4e052681bccdc082e6a4c728a34c812c320ef490f5ed401859c78803baf141ec3be7e94251cab72bcbde1d1827 WHIRLPOOL 128ba456ca2eef209eb966657c8c9e3e680165a0f150507afdb877dc78ed5c52c325fe60ea88cca18c742f63099c5b875fb8d071f3513619c7e814d63ab0743e
|
||||
DIST prelude-lml-0.9.10.1.tar.gz 658499 SHA256 d88708e4ceda9b2a5ff332a293ffa2851ac0ef7fccdce43c970e07da698b8b41 SHA512 3b86df31d9674d8545f574ced28728819398ab9f110114c41a6ecaa956b700173ef1cc03af4231aebc8f8ebe3ec0955de6dbd7b4836bae3e148d0a731006f48b WHIRLPOOL f537732103184c3734f9b7eda21afae0ff3833b2b5d5a16ba63a24dd67ba9ff3a87eb798cfc4d8f20d2a537031167a392e8f67749b88f4f0c184e6b3cf6f8b46
|
||||
DIST prelude-lml-0.9.14.tar.gz 819949 SHA256 77dc41324a049686e8fc1001f9d104ebcdda2ddd1925f2caa122c053283a5198 SHA512 2356f0c109637f31bd48e8c36db384c47f1628d8953d38b9ac611cc332ff66d7ca04effc5fb4f8877c1d51880fd596e6bedcda7580b5c50ebf40f1de48a3ca59 WHIRLPOOL 2b45ddb7fb212412ef583ed1b0a2dbc364a3325f3c88e1a91a19db62890c6cfd66e10bca20fd75ad6a66274717866a8a8218c7628ece0b339916ea0c636598cd
|
||||
DIST prelude-lml-1.0.0.tar.gz 1256893 SHA256 b688d66d48df99b22f9439fccb70ccba776e25a0ec448770d92b1c2c38fe5308 SHA512 8984ffee2063f7aef10210129a1b861c48dda731c35b0fa01641f82bcf7fe3d45892956a9823443cbd7ff4a224f2ca16123e92a34b8abaed8cb292320ac2dfdf WHIRLPOOL 191069918cd119435880bb37730f40a8ac3695173d63433aa0ac41004b704f11dd380648fda61b57df4fb539256eddafcaef9dfb762ec3b5934ee5db3a88ea15
|
@ -1,6 +0,0 @@
|
||||
# Copyright 1999-2004 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Additional Configuration Options for prelude-lml
|
||||
OPTIONS=""
|
||||
|
@ -1,23 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2004 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/prelude-lml/files/gentoo.init,v 1.4 2004/07/14 21:16:21 agriffis Exp $
|
||||
|
||||
PROGNAME=`basename $1`
|
||||
|
||||
depend() {
|
||||
need net
|
||||
after prelude-manager
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting ${PROGNAME}..."
|
||||
start-stop-daemon --start --quiet --exec /usr/bin/${PROGNAME} -- ${OPTIONS} -d &> /dev/null
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stop ${PROGNAME}..."
|
||||
start-stop-daemon --stop --quiet --exec /usr/bin/${PROGNAME}
|
||||
eend $?
|
||||
}
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/prelude-lml/prelude-lml-0.9.1.ebuild,v 1.11 2011/07/26 07:42:29 xarthisius Exp $
|
||||
|
||||
inherit flag-o-matic
|
||||
|
||||
DESCRIPTION="Prelude-IDS Log Monitoring Lackey"
|
||||
HOMEPAGE="http://www.prelude-ids.org/"
|
||||
SRC_URI="http://www.prelude-ids.org/download/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~x86"
|
||||
IUSE="doc debug"
|
||||
|
||||
RDEPEND="!dev-libs/libprelude-cvs
|
||||
!app-admin/prelude-lml-cvs
|
||||
>=dev-libs/libprelude-0.9.0
|
||||
dev-libs/libpcre"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( dev-util/gtk-doc )"
|
||||
|
||||
src_compile() {
|
||||
local myconf
|
||||
|
||||
use doc \
|
||||
&& myconf="${myconf} --enable-gtk-doc" \
|
||||
|| myconf="${myconf} --enable-gtk-doc=no"
|
||||
use debug && append-flags -O -ggdb
|
||||
|
||||
econf ${myconf} || die "econf failed"
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${D}" install || die "make install failed"
|
||||
newinitd "${FILESDIR}"/gentoo.init prelude-lml
|
||||
newconfd "${FILESDIR}"/gentoo.conf prelude-lml
|
||||
into /usr/share/prelude/ruleset
|
||||
mv "${D}"/etc/prelude-lml/ruleset "${D}"/usr/share/prelude/ruleset/lml
|
||||
dosym /usr/share/prelude/ruleset/lml /etc/prelude-lml/ruleset
|
||||
}
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/prelude-lml/prelude-lml-0.9.10.1.ebuild,v 1.9 2011/07/26 07:42:29 xarthisius Exp $
|
||||
|
||||
inherit flag-o-matic
|
||||
|
||||
DESCRIPTION="Prelude-IDS Log Monitoring Lackey"
|
||||
HOMEPAGE="http://www.prelude-ids.org/"
|
||||
SRC_URI="http://www.prelude-ids.org/download/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~x86"
|
||||
IUSE="fam"
|
||||
|
||||
DEPEND=">=dev-libs/libprelude-0.9.9
|
||||
dev-libs/libpcre"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_compile() {
|
||||
local myconf
|
||||
|
||||
use fam && myconf="${myconf} --with-fam"
|
||||
|
||||
econf ${myconf} || die "econf failed"
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "make install failed"
|
||||
newinitd "${FILESDIR}"/gentoo.init prelude-lml
|
||||
newconfd "${FILESDIR}"/gentoo.conf prelude-lml
|
||||
}
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/prelude-lml/prelude-lml-0.9.14.ebuild,v 1.3 2011/07/26 07:42:29 xarthisius Exp $
|
||||
|
||||
inherit flag-o-matic
|
||||
|
||||
DESCRIPTION="Prelude-IDS Log Monitoring Lackey"
|
||||
HOMEPAGE="http://www.prelude-ids.org/"
|
||||
SRC_URI="http://www.prelude-ids.org/download/releases/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="fam"
|
||||
|
||||
DEPEND=">=dev-libs/libprelude-0.9.9
|
||||
dev-libs/libpcre"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_compile() {
|
||||
local myconf
|
||||
|
||||
use fam && myconf="${myconf} --with-fam"
|
||||
|
||||
econf ${myconf} || die "econf failed"
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "make install failed"
|
||||
newinitd "${FILESDIR}"/gentoo.init prelude-lml
|
||||
newconfd "${FILESDIR}"/gentoo.conf prelude-lml
|
||||
}
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/prelude-lml/prelude-lml-1.0.0.ebuild,v 1.3 2011/07/26 07:42:29 xarthisius Exp $
|
||||
|
||||
inherit flag-o-matic
|
||||
|
||||
DESCRIPTION="Prelude-IDS Log Monitoring Lackey"
|
||||
HOMEPAGE="http://www.prelude-technologies.com"
|
||||
SRC_URI="${HOMEPAGE}/download/releases/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="fam"
|
||||
|
||||
DEPEND=">=dev-libs/libprelude-0.9.8
|
||||
dev-libs/libpcre"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_compile() {
|
||||
local myconf
|
||||
|
||||
use fam && myconf="${myconf} --with-fam"
|
||||
|
||||
econf ${myconf} || die "econf failed"
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "make install failed"
|
||||
newinitd "${FILESDIR}"/gentoo.init prelude-lml
|
||||
newconfd "${FILESDIR}"/gentoo.conf prelude-lml
|
||||
}
|
@ -1,3 +0,0 @@
|
||||
DIST prelude-manager-0.9.15.tar.gz 1008163 SHA256 2ee2160e049f99a4ede3a76b1a6872c584f1a2764816394671aa3abd5e711ce2 SHA512 b4109316680fb8930a47df118bc9fca268a6b5c79f0d58aa030abcb520c14ad3e40dff900ae29a1cad3ba31132c0c00d59d0647e619564bbcc280cac76f86335 WHIRLPOOL cc64b3c7d74f7c8979ac79b85752c7f15f034ff3d6039e58d7a62eb432a7504f04e11640989c3def561e6d61bae993378de3fc91f78ea4aaaedfc52993df194e
|
||||
DIST prelude-manager-0.9.9.1.tar.gz 647637 SHA256 d1174b32a5a0fa180811a9206c39dbaa83eb3eec367037b5d433ebfce2187c3e SHA512 1298f2a376ecfc93dce3e7dbadcdfecf51f1ae7f97c5a0b839a557423ad729a484cc7b48a4c16eacdbc40541a510d3e2c1fc9c596e32b70871d8c280cba3ba61 WHIRLPOOL 62c022e7f01bb67c9ecc7d206bce72a08e462168cc71fcbd1f75e642acd2f83ef6914ebf2be637b7b550e0c21419c4a35afa529d2485cf7a30e09483f9187bb5
|
||||
DIST prelude-manager-1.0.0.tar.gz 1116110 SHA256 eed7aa0994e79506c34e1dcdfa5daecfd31d57838ab22707b0695b124734354d SHA512 865393dc42c43a16f95e0a9445f495afdbd3114c0d5eddd685c7bd06815644559040e7425565e5dafec93bf4ad3a3bb8199ef8cb4e880106ed84de183c7f610a WHIRLPOOL 3154a4ad5a415a0527cdcb8818adbb9162a5bd8c1e5b938c0db08120e7fe3494c9fabcc9ba5c15dc8ea3984c72558bc5b3a8d94b8cb58e3c6e0924b31b3e7b56
|
@ -1,5 +0,0 @@
|
||||
# Copyright 1999-2004 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Additional Configuration Options for prelude-manager
|
||||
OPTIONS=""
|
@ -1,22 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2004 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/prelude-manager/files/gentoo.init,v 1.5 2009/04/12 21:02:02 halcy0n Exp $
|
||||
|
||||
PROGNAME="prelude-manager"
|
||||
|
||||
depend() {
|
||||
need net
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting ${PROGNAME}..."
|
||||
start-stop-daemon --start --quiet --exec /usr/bin/${PROGNAME} -- ${OPTIONS} -d &> /dev/null
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stop ${PROGNAME}..."
|
||||
start-stop-daemon --stop --quiet --exec /usr/bin/${PROGNAME} &> /dev/null
|
||||
eend $?
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
--- configure.in~ 2009-07-23 16:12:52.000000000 +0100
|
||||
+++ configure.in 2009-07-23 16:12:52.000000000 +0100
|
||||
@@ -76,7 +76,7 @@
|
||||
dnl **************************************************
|
||||
dnl * Check for GnuTLS. *
|
||||
dnl **************************************************
|
||||
-AM_PATH_LIBGNUTLS(1.0.17, gnutls=yes, gnutls=no)
|
||||
+PKG_CHECK_MODULES(LIBGNUTLS, gnutls >= 1.0.17, gnutls=yes, gnutls=no)
|
||||
if test x$gnutls != xyes; then
|
||||
AC_MSG_ERROR(libgnutls is required in order to build prelude-manager.)
|
||||
fi
|
@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>netmon</herd>
|
||||
<longdescription>Prelude-IDS Manager</longdescription>
|
||||
<use>
|
||||
<flag name='tcpwrapper'>Add support for tcp_wrappers</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
@ -1,64 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/prelude-manager/prelude-manager-0.9.15.ebuild,v 1.7 2012/05/03 18:02:23 jdhore Exp $
|
||||
|
||||
inherit flag-o-matic eutils autotools
|
||||
|
||||
DESCRIPTION="Prelude-IDS Manager"
|
||||
HOMEPAGE="http://www.prelude-ids.org/"
|
||||
SRC_URI="http://www.prelude-ids.org/download/releases/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug xml dbx tcpwrapper"
|
||||
|
||||
RDEPEND="!dev-libs/libprelude-cvs
|
||||
!app-admin/prelude-manager-cvs
|
||||
>=dev-libs/libprelude-0.9.5
|
||||
net-libs/gnutls
|
||||
xml? ( dev-libs/libxml2 )
|
||||
dbx? ( dev-libs/libpreludedb )
|
||||
tcpwrapper? ( sys-apps/tcp-wrappers )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
>=sys-apps/sed-4
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
epatch "${FILESDIR}"/prelude-manager-0.9.15-use-pkg-config.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf
|
||||
|
||||
use debug && append-flags -O -ggdb
|
||||
use !xml && myconf="${myconf} --disable-xmltest --enable-xmlmod"
|
||||
use dbx && myconf="${myconf} --enable-libpreludedb"
|
||||
use tcpwrapper && myconf="${myconf} --enable-libwrap"
|
||||
|
||||
myconf="${myconf} --localstatedir=/var"
|
||||
|
||||
econf ${myconf} || die "econf failed"
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "make install failed"
|
||||
newinitd "${FILESDIR}"/gentoo.init prelude-manager
|
||||
newconfd "${FILESDIR}"/gentoo.conf prelude-manager
|
||||
|
||||
dodir /var/run/prelude-manager
|
||||
|
||||
keepdir /var/spool/prelude-manager
|
||||
keepdir /var/run/prelude-manager
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "If you use it with mysql backend, take a look at mysql update files"
|
||||
elog "at ${ROOT}/usr/share/libpreludedb/classic"
|
||||
}
|
@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/prelude-manager/prelude-manager-0.9.9.1.ebuild,v 1.12 2012/08/19 08:31:20 ago Exp $
|
||||
|
||||
inherit flag-o-matic
|
||||
|
||||
DESCRIPTION="Prelude-IDS Manager"
|
||||
HOMEPAGE="http://www.prelude-ids.org/"
|
||||
SRC_URI="http://www.prelude-ids.org/download/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug xml dbx tcpwrapper"
|
||||
|
||||
RDEPEND="!dev-libs/libprelude-cvs
|
||||
!app-admin/prelude-manager-cvs
|
||||
>=dev-libs/libprelude-0.9.5
|
||||
dev-libs/openssl
|
||||
xml? ( dev-libs/libxml2 )
|
||||
dbx? ( dev-libs/libpreludedb )
|
||||
tcpwrapper? ( sys-apps/tcp-wrappers )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
>=sys-apps/sed-4"
|
||||
|
||||
src_compile() {
|
||||
local myconf
|
||||
|
||||
use debug && append-flags -O -ggdb
|
||||
use !xml && myconf="${myconf} --disable-xmltest --enable-xmlmod"
|
||||
use dbx && myconf="${myconf} --enable-libpreludedb"
|
||||
use tcpwrapper && myconf="${myconf} --enable-libwrap"
|
||||
|
||||
myconf="${myconf} --localstatedir=/var"
|
||||
|
||||
econf ${myconf} || die "econf failed"
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "make install failed"
|
||||
newinitd "${FILESDIR}"/gentoo.init prelude-manager
|
||||
newconfd "${FILESDIR}"/gentoo.conf prelude-manager
|
||||
|
||||
dodir /var/run/prelude-manager
|
||||
|
||||
keepdir /var/spool/prelude-manager
|
||||
keepdir /var/run/prelude-manager
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "If you use it with mysql backend, take a look at mysql update files"
|
||||
elog "at ${ROOT}/usr/share/libpreludedb/classic"
|
||||
}
|
@ -1,56 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/prelude-manager/prelude-manager-1.0.0-r1.ebuild,v 1.3 2011/07/26 07:45:12 xarthisius Exp $
|
||||
|
||||
inherit flag-o-matic
|
||||
|
||||
DESCRIPTION="Prelude-IDS Manager"
|
||||
HOMEPAGE="http://www.prelude-technologies.com"
|
||||
SRC_URI="${HOMEPAGE}/download/releases/prelude-manager/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug xml dbx tcpwrapper"
|
||||
|
||||
RDEPEND="!dev-libs/libprelude-cvs
|
||||
!app-admin/prelude-manager-cvs
|
||||
>=dev-libs/libprelude-0.9.21.3
|
||||
net-libs/gnutls
|
||||
xml? ( dev-libs/libxml2 )
|
||||
dbx? ( >=dev-libs/libpreludedb-0.9.4 )
|
||||
tcpwrapper? ( sys-apps/tcp-wrappers )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
>=sys-apps/sed-4"
|
||||
|
||||
src_compile() {
|
||||
local myconf
|
||||
|
||||
use debug && append-flags -O -ggdb
|
||||
use !xml && myconf="${myconf} --disable-xmltest --enable-xmlmod"
|
||||
use dbx && myconf="${myconf} --enable-libpreludedb"
|
||||
use tcpwrapper && myconf="${myconf} --enable-libwrap"
|
||||
|
||||
myconf="${myconf} --localstatedir=/var"
|
||||
myconf="${myconf} --docdir=/usr/share/doc/${PF}"
|
||||
|
||||
econf ${myconf} || die "econf failed"
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "make install failed"
|
||||
newinitd "${FILESDIR}"/gentoo.init prelude-manager
|
||||
newconfd "${FILESDIR}"/gentoo.conf prelude-manager
|
||||
|
||||
dodir /var/run/prelude-manager
|
||||
|
||||
keepdir /var/spool/prelude-manager
|
||||
keepdir /var/run/prelude-manager
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "If you use it with mysql backend, take a look at mysql update files"
|
||||
elog "at ${ROOT}/usr/share/libpreludedb/classic"
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST kbackup-0.7.1.tar.bz2 504107 SHA256 85f8f038b438064cac061b15dc7de5818629b286ef075fc9ca4078cfd8e1978d SHA512 7343253ed1d49f677d30d95ae65323553d357556d1a531a5c83b6e393cb2a139b3d0dcd73d7c76761f55cd7b37fd1ac5d60b2cc3f6dfec13375d85a32698d96c WHIRLPOOL 277d008e0f58a136ee218094f75ad6ca1d6ba6e5e8a6e428aee8f07e6d673bffa097e9fa27712aab9449d335c0d0dd13b7f002cbf06b9d9bfd50ae25079fab79
|
||||
DIST kbackup-0.8.tar.bz2 507597 SHA256 8ef4a9c9665a8af17cce93b2f09b1d8da83cedf1f5da11f36343699fb65f08b1 SHA512 c5187f3a4a12047b849a432dc30f8dc435e14c170ae76659a00406d37cb215a563509632d3d61873077535f9b20b31893ea91b03453b51cd875e68f46f920378 WHIRLPOOL 27aacdacb194addccf31ecd8a6d8b5b8db6f065f1644bf53bdc9529c4cd10884861a8a20e8c0d703848147c3e4a813d9e66e779a5ec0e0965648fdad246accfc
|
||||
|
@ -1,18 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/kbackup/kbackup-0.7.1.ebuild,v 1.3 2011/12/14 09:15:16 phajdan.jr Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
KDE_HANDBOOK="optional"
|
||||
KDE_LINGUAS="cs de es fr it pt pt_BR ru sk sv"
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="KBackup is a program that lets you back up any directories or files."
|
||||
HOMEPAGE="http://kde-apps.org/content/show.php/KBackup?content=44998"
|
||||
SRC_URI="http://members.aon.at/m.koller/${P}.tar.bz2"
|
||||
LICENSE="GPL-2"
|
||||
|
||||
SLOT="4"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="debug"
|
@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/ecb/ecb-2.40-r1.ebuild,v 1.5 2012/05/01 14:41:51 ulm Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
inherit elisp eutils
|
||||
|
||||
DESCRIPTION="Source code browser for Emacs"
|
||||
HOMEPAGE="http://ecb.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/ecb/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE="java"
|
||||
|
||||
DEPEND=">=app-emacs/cedet-1.0_pre6
|
||||
java? ( app-emacs/jde )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
SITEFILE="70${PN}-gentoo.el"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-2.32-gentoo.patch"
|
||||
epatch "${FILESDIR}/${P}-cedet-version.patch"
|
||||
sed -i -e "s:@PF@:${PF}:" ecb-help.el || die "sed failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local loadpath="" sl=${EPREFIX}${SITELISP}
|
||||
if use java; then
|
||||
loadpath="${sl}/elib ${sl}/jde ${sl}/jde/lisp"
|
||||
fi
|
||||
|
||||
emake CEDET="${sl}/cedet" LOADPATH="${loadpath}" || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
elisp_src_install
|
||||
|
||||
insinto "${SITEETC}/${PN}"
|
||||
doins -r ecb-images || die
|
||||
|
||||
doinfo info-help/ecb.info* || die
|
||||
dohtml html-help/*.html || die
|
||||
dodoc NEWS README RELEASE_NOTES || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elisp-site-regen
|
||||
elog "ECB is now autoloaded in site-gentoo.el. Add the line"
|
||||
elog " (require 'ecb)"
|
||||
elog "to your ~/.emacs file to enable all features on Emacs startup."
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST ess-12.04-4.tgz 3280247 SHA256 c8ae9ba3db3ee98ca857a9ea6c82c88d92d4bc9115bc3f7e08c466920b5950ca SHA512 a3632fee17216059f83ec49ff2362b97488ffb2af6cff1e208f4ae309fd828a36f27d9476002790a3402838edea23b15934bf896c0384b61e54b83d208a91d99 WHIRLPOOL de584e164b28e331a4f0f1d2b7d4973fbb4c3dcb15d3fd0b4c76073bb6e52440876a786c0f33ca2480a670f9cb720f5b2ca2da334f976500e89b2d9c597fe484
|
||||
DIST ess-5.12.tgz 2983695 SHA256 8c0480e2e6de140b103b83f575997fa45a7b2ac3c61f6a80fd4d1e6bf74d0f6c SHA512 02788468553a9491bf828fb311101e82ed303c0f07e54e9e971a1836b6e69f1114c22ef2dc317f9a5dddcd84ed62226dcc4294197329b1b957f80501ed4e2590 WHIRLPOOL 27f6b936bcf9830526a1ad422906bd91044375f2fa12de88170e33d2ee39d46ce44e322ba744e8d68f903cb0e7b71ee2d089e51f558f8360df416cd96156db07
|
||||
DIST ess-12.09.tgz 3332863 SHA256 3167a84c9958605e9c1de7dc2dce564e22e89b79c9d1ba7ff7f66013af56f2b8 SHA512 652bac7965dfc594071a8cb332692522696930bce1617938a88835962a246faa6bcd1eb7ab0a340fbce71c2d93a8953ecf49dec684080635c0135c1db097d35c WHIRLPOOL 14c63d4397e635da5b7c5244ddc814c23ba494f4cdaa79081b35eef9c04c71c6c875c009518e9bd4e37f945c4a2b4f62ed27c93eebcfa65e090e03c77d995391
|
||||
DIST ess-5.14.tgz 7272065 SHA256 982b625f5c3f0e11d2cd8903e15026b5ecac6775415e8eb3cd120d0b9950dcc6 SHA512 b4a726f4565e70ac5d960a96fc1cb4780b966bc2845233e0369e1a3462c3728c27cece27c2f89b8b74936dcbe63770e50c58c07e30ac8ed890c59e6301e6eada WHIRLPOOL 101bf76fba513c0f370c396878426c97cb518a0a37da63686c2825a7c6cb6aa2270a78711fa1b56b3951b0da42e268ebd5f8741d2fde832ce0198c4f2d6017e5
|
||||
|
@ -1,3 +1,2 @@
|
||||
DIST libvirt-glib-0.0.8.tar.gz 648241 SHA256 d9bcf99f395ac78416601002bd1fd9122ae1dec2b5439348c6eac9d5c5fb8096 SHA512 4f223d6c60ba0da1ac67cdd857a1768d9fb087ed4301898be26a29255971fed2dfc6fbc33d03eadca610036a0a97f2383cc5319bad7849865f14f7358b5f8185 WHIRLPOOL 0e8a115d36ec3ed159db96bf225e99d368c781d98b22e6cdf186ff79142fe00c8ef86839e8d6319d14c91edfdc2a44affb3265d3bdd4341903323bb703b3270e
|
||||
DIST libvirt-glib-0.0.9.tar.gz 676523 SHA256 eb6e8af63cde66f616531cce835f7b9143c7d455ce6e4a866c9e736b77c16a67 SHA512 0b74fec1a17de955d77e180d43e9afd0d26eca2078926181194fd15db8b2a1ad504030a17dc9928fc087ef02bcf688885644b371f810f7c5e698220fd9ebad86 WHIRLPOOL 7281250c22e3f3f66c023e9c8a12bce7423cc1174b16e30abd3d7b6bbe833800eeebf2b21444f560966e438a6c75aec92bf905165d391688666173998f75df62
|
||||
DIST libvirt-glib-0.1.0.tar.gz 684701 SHA256 20e101d9e331ebef6c0c1e556658fc53334a4063f44665423907937dac0a6cf2 SHA512 5fce4dfa5448c61cf8f127c948c25ab5717250f199c432a429259144597636e6f5450eb0c52e092b2aab7436bdb0670a346d526a19937d706448fd7234104a52 WHIRLPOOL 16b1282ae13ce0648fa40a6b2c60fda4a9eab9bf56739d79da2fa363de58e948a238f7310444ef805c7942d321fa675e32712d8a02722328eef416da293bdd4c
|
||||
DIST libvirt-glib-0.1.2.tar.gz 694180 SHA256 ae0760e8719e43a31295025b9070283ad459e6294cfc370319925b9044b3d209 SHA512 8615b18b161f0337c4ca4cd75312120cd234349b1a46ba22c05f609d7fae6f7afab6fd7f5ffd18266295631a5a214f6fdd9e17ea5b6d09f3e16033ea8c3e22aa WHIRLPOOL 05187a11a7d07b5b93e6cb22b80c77acd53125e744d1063133862c51edfb644e4ab4bd9c4a88c23033dd7541d6cd06cc49dcdd33b73f122816f234e4fb8efe35
|
||||
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt-glib/libvirt-glib-0.0.9.ebuild,v 1.1 2012/06/25 15:57:40 cardoe Exp $
|
||||
|
||||
EAPI="4"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
inherit gnome2 python
|
||||
|
||||
DESCRIPTION="GLib and GObject mappings for libvirt"
|
||||
HOMEPAGE="http://libvirt.org/git/?p=libvirt-glib.git"
|
||||
SRC_URI="ftp://libvirt.org/libvirt/glib/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc +introspection python +vala"
|
||||
REQUIRED_USE="vala? ( introspection )"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/libxml2:2
|
||||
>=app-emulation/libvirt-0.9.10
|
||||
>=dev-libs/glib-2.10:2
|
||||
introspection? ( >=dev-libs/gobject-introspection-0.10.8 )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? ( >=dev-util/gtk-doc-1.10 )
|
||||
vala? ( dev-lang/vala:0.14 )"
|
||||
|
||||
pkg_setup() {
|
||||
DOCS="AUTHORS ChangeLog NEWS README"
|
||||
G2CONF="--disable-test-coverage
|
||||
VAPIGEN=$(type -P vapigen-0.14)
|
||||
$(use_enable introspection)
|
||||
$(use_enable vala)
|
||||
$(use_with python)"
|
||||
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1
|
||||
}
|
@ -1,37 +0,0 @@
|
||||
# /etc/conf.d/libvirtd
|
||||
|
||||
# LIBVIRTD_OPTS
|
||||
# You may want to add '--listen' to have libvirtd listen for tcp/ip connections
|
||||
# if you want to use libvirt for remote control
|
||||
# Please consult 'libvirtd --help' for more options
|
||||
#LIBVIRTD_OPTS="--listen"
|
||||
|
||||
# LIBVIRTD_KVM_SHUTDOWN
|
||||
# Valid options:
|
||||
# * shutdown - Sends an ACPI shutdown (think when you tap the power button
|
||||
# on your machine and it begins a graceful shutdown). If your
|
||||
# VM ignores this, it will have the power yanked out from under
|
||||
# it in LIBVIRTD_KVM_SHUTDOWN_MAXWAIT seconds.
|
||||
# * managedsave - Performs a state save external to the VM. qemu-kvm will stop
|
||||
# stop the CPU and save off all state to a separate file. When
|
||||
# the machine is started again, it will resume like nothing ever
|
||||
# happened. This is guarenteed to always successfully stop your
|
||||
# machine and restart it. However it may take some time to finish.
|
||||
# * none - No attempts will be made to stop any VMs. If you are restarting your
|
||||
# machine the qemu-kvm process will be simply killed, which may result
|
||||
# in your VMs having disk corruption.
|
||||
LIBVIRTD_KVM_SHUTDOWN="managedsave"
|
||||
|
||||
# LIBVIRTD_KVM_SHUTDOWN_MAXWAIT
|
||||
# Timeout in seconds until stopping libvirtd and "pulling the plug" on the
|
||||
# remaining VM's still in a running state
|
||||
#LIBVIRTD_KVM_SHUTDOWN_MAXWAIT="500"
|
||||
|
||||
# LIBVIRTD_NET_SHUTDOWN
|
||||
# If libvirtd created networks for you (e.g. NATed networks) then this init
|
||||
# script will shut them down for you if this is set to 'yes'. Otherwise,
|
||||
# the networks will be left running once libvirt is shutdown. For this
|
||||
# option to be useful you must have enabled the 'virt-network' USE flag and
|
||||
# have had libvirt create a NATed network for you.
|
||||
# Valid values: 'yes' or 'no'
|
||||
#LIBVIRTD_NET_SHUTDOWN="yes"
|
@ -0,0 +1,389 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/libvirt-0.10.2.ebuild,v 1.2 2012/09/30 05:07:07 cardoe Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
BACKPORTS=69190009
|
||||
AUTOTOOLIZE=yes
|
||||
|
||||
MY_P="${P/_rc/-rc}"
|
||||
|
||||
PYTHON_DEPEND="python? 2:2.5"
|
||||
#RESTRICT_PYTHON_ABIS="3.*"
|
||||
#SUPPORT_PYTHON_ABIS="1"
|
||||
|
||||
inherit eutils python user autotools linux-info
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit git-2
|
||||
EGIT_REPO_URI="git://libvirt.org/libvirt.git"
|
||||
AUTOTOOLIZE=yes
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="http://libvirt.org/sources/${MY_P}.tar.gz
|
||||
ftp://libvirt.org/libvirt/${MY_P}.tar.gz
|
||||
${BACKPORTS:+
|
||||
http://dev.gentoo.org/~cardoe/distfiles/${MY_P}-${BACKPORTS}.tar.xz}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
S="${WORKDIR}/${P%_rc*}"
|
||||
|
||||
DESCRIPTION="C toolkit to manipulate virtual machines"
|
||||
HOMEPAGE="http://www.libvirt.org/"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
IUSE="audit avahi +caps debug iscsi +libvirtd lvm +lxc +macvtap nfs \
|
||||
nls numa openvz parted pcap phyp policykit python qemu rbd sasl \
|
||||
selinux +udev uml +vepa virtualbox virt-network xen elibc_glibc"
|
||||
REQUIRED_USE="libvirtd? ( || ( lxc openvz qemu uml virtualbox xen ) )
|
||||
lxc? ( caps libvirtd )
|
||||
openvz? ( libvirtd )
|
||||
qemu? ( libvirtd )
|
||||
uml? ( libvirtd )
|
||||
vepa? ( macvtap )
|
||||
virtualbox? ( libvirtd )
|
||||
xen? ( libvirtd )"
|
||||
|
||||
# gettext.sh command is used by the libvirt command wrappers, and it's
|
||||
# non-optional, so put it into RDEPEND.
|
||||
# We can use both libnl:1.1 and libnl:3, but if you have both installed, the
|
||||
# package will use 3 by default. Since we don't have slot pinning in an API,
|
||||
# we must go with the most recent
|
||||
RDEPEND="sys-libs/readline
|
||||
sys-libs/ncurses
|
||||
>=net-misc/curl-7.18.0
|
||||
dev-libs/libgcrypt
|
||||
>=dev-libs/libxml2-2.7.6
|
||||
dev-libs/libnl:3
|
||||
>=net-libs/gnutls-1.0.25
|
||||
sys-apps/dmidecode
|
||||
>=sys-apps/util-linux-2.17
|
||||
sys-devel/gettext
|
||||
>=net-analyzer/netcat6-1.0-r2
|
||||
app-misc/scrub
|
||||
audit? ( sys-process/audit )
|
||||
avahi? ( >=net-dns/avahi-0.6[dbus] )
|
||||
caps? ( sys-libs/libcap-ng )
|
||||
iscsi? ( sys-block/open-iscsi )
|
||||
lxc? ( sys-power/pm-utils )
|
||||
lvm? ( >=sys-fs/lvm2-2.02.48-r2 )
|
||||
nfs? ( net-fs/nfs-utils )
|
||||
numa? (
|
||||
>sys-process/numactl-2.0.2
|
||||
sys-process/numad
|
||||
)
|
||||
openvz? ( sys-kernel/openvz-sources )
|
||||
parted? (
|
||||
>=sys-block/parted-1.8[device-mapper]
|
||||
sys-fs/lvm2
|
||||
)
|
||||
pcap? ( >=net-libs/libpcap-1.0.0 )
|
||||
phyp? ( net-libs/libssh2 )
|
||||
policykit? ( >=sys-auth/polkit-0.9 )
|
||||
qemu? (
|
||||
|| ( app-emulation/qemu-kvm >=app-emulation/qemu-0.10.0 )
|
||||
dev-libs/yajl
|
||||
sys-power/pm-utils
|
||||
)
|
||||
rbd? ( sys-cluster/ceph )
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
selinux? ( >=sys-libs/libselinux-2.0.85 )
|
||||
virtualbox? ( || ( app-emulation/virtualbox >=app-emulation/virtualbox-bin-2.2.0 ) )
|
||||
xen? ( app-emulation/xen-tools app-emulation/xen )
|
||||
udev? ( >=sys-fs/udev-145 >=x11-libs/libpciaccess-0.10.9 )
|
||||
virt-network? ( net-dns/dnsmasq
|
||||
>=net-firewall/iptables-1.4.10
|
||||
net-misc/radvd
|
||||
net-firewall/ebtables
|
||||
sys-apps/iproute2[-minimal] )
|
||||
elibc_glibc? ( || ( >=net-libs/libtirpc-0.2.2-r1 <sys-libs/glibc-2.14 ) )"
|
||||
# one? ( dev-libs/xmlrpc-c )
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
app-text/xhtml1
|
||||
dev-libs/libxslt
|
||||
=dev-lang/python-2*"
|
||||
|
||||
LXC_CONFIG_CHECK="
|
||||
~CGROUPS
|
||||
~CGROUP_FREEZER
|
||||
~CGROUP_DEVICE
|
||||
~CPUSETS
|
||||
~CGROUP_CPUACCT
|
||||
~RESOURCE_COUNTERS
|
||||
~CGROUP_MEM_RES_CTLR
|
||||
~CGROUP_SCHED
|
||||
~BLK_CGROUP
|
||||
~NAMESPACES
|
||||
~UTS_NS
|
||||
~IPC_NS
|
||||
~PID_NS
|
||||
~NET_NS
|
||||
~DEVPTS_MULTIPLE_INSTANCES
|
||||
~VETH
|
||||
~MACVLAN
|
||||
~POSIX_MQUEUE
|
||||
~!GRKERNSEC_CHROOT_MOUNT
|
||||
~!GRKERNSEC_CHROOT_DOUBLE
|
||||
~!GRKERNSEC_CHROOT_PIVOT
|
||||
~!GRKERNSEC_CHROOT_CHMOD
|
||||
~!GRKERNSEC_CHROOT_CAPS
|
||||
"
|
||||
|
||||
VIRTNET_CONFIG_CHECK="
|
||||
~BRIDGE_NF_EBTABLES
|
||||
~NETFILTER_ADVANCED
|
||||
~NETFILTER_XT_TARGET_CHECKSUM
|
||||
"
|
||||
|
||||
MACVTAP_CONFIG_CHECK="~MACVTAP"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
|
||||
enewgroup qemu 77
|
||||
enewuser qemu 77 -1 -1 qemu kvm
|
||||
|
||||
# Some people used the masked ebuild which was not adding the qemu
|
||||
# user to the kvm group originally. This results in VMs failing to
|
||||
# start for some users. bug #430808
|
||||
egetent group kvm | grep -q qemu
|
||||
if [[ $? -ne 0 ]]; then
|
||||
gpasswd -a qemu kvm
|
||||
fi
|
||||
|
||||
CONFIG_CHECK=""
|
||||
use lxc && CONFIG_CHECK+="${LXC_CONFIG_CHECK}"
|
||||
kernel_is lt 3 5 && use lxc && CONFIG_CHECK+=" ~USER_NS"
|
||||
use macvtap && CONFIG_CHECK+="${MACVTAP}"
|
||||
use virt-network && CONFIG_CHECK+="${VIRTNET_CONFIG_CHECK}"
|
||||
if [[ -n ${CONFIG_CHECK} ]]; then
|
||||
linux-info_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
touch "${S}/.mailmap"
|
||||
[[ -n ${BACKPORTS} ]] && \
|
||||
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
|
||||
epatch
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
|
||||
# git checkouts require bootstrapping to create the configure script.
|
||||
# Additionally the submodules must be cloned to the right locations
|
||||
# bug #377279
|
||||
./bootstrap || die "bootstrap failed"
|
||||
(
|
||||
git submodule status | sed 's/^[ +-]//;s/ .*//'
|
||||
git hash-object bootstrap.conf
|
||||
) >.git-module-status
|
||||
fi
|
||||
|
||||
epatch_user
|
||||
|
||||
[[ -n ${AUTOTOOLIZE} ]] && eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=""
|
||||
|
||||
myconf="${myconf} $(use_enable debug)"
|
||||
|
||||
## enable/disable daemon, otherwise client only utils
|
||||
myconf="${myconf} $(use_with libvirtd)"
|
||||
|
||||
## enable/disable the daemon using avahi to find VMs
|
||||
myconf="${myconf} $(use_with avahi)"
|
||||
|
||||
## hypervisors on the local host
|
||||
myconf="${myconf} $(use_with xen) $(use_with xen xen-inotify)"
|
||||
# leave it automagic as it depends on the version of xen used.
|
||||
use xen || myconf+=" --without-libxl"
|
||||
use xen || myconf+=" --without-xenapi"
|
||||
myconf="${myconf} $(use_with openvz)"
|
||||
myconf="${myconf} $(use_with lxc)"
|
||||
if use virtualbox && has_version app-emulation/virtualbox-ose; then
|
||||
myconf="${myconf} --with-vbox=/usr/lib/virtualbox-ose/"
|
||||
else
|
||||
myconf="${myconf} $(use_with virtualbox vbox)"
|
||||
fi
|
||||
myconf="${myconf} $(use_with uml)"
|
||||
myconf="${myconf} $(use_with qemu)"
|
||||
myconf="${myconf} $(use_with qemu yajl)" # Use QMP over HMP
|
||||
myconf="${myconf} $(use_with phyp)"
|
||||
myconf="${myconf} --with-esx"
|
||||
myconf="${myconf} --with-vmware"
|
||||
|
||||
## additional host drivers
|
||||
myconf="${myconf} $(use_with virt-network network)"
|
||||
myconf="${myconf} --with-storage-fs"
|
||||
myconf="${myconf} $(use_with lvm storage-lvm)"
|
||||
myconf="${myconf} $(use_with iscsi storage-iscsi)"
|
||||
myconf="${myconf} $(use_with parted storage-disk)"
|
||||
myconf="${myconf} $(use_with lvm storage-mpath)"
|
||||
myconf="${myconf} $(use_with rbd storage-rbd)"
|
||||
myconf="${myconf} $(use_with numa numactl)"
|
||||
myconf="${myconf} $(use_with numa numad)"
|
||||
myconf="${myconf} $(use_with selinux)"
|
||||
|
||||
# udev for device support details
|
||||
myconf="${myconf} $(use_with udev)"
|
||||
|
||||
# linux capability support so we don't need privileged accounts
|
||||
myconf="${myconf} $(use_with caps capng)"
|
||||
|
||||
## auth stuff
|
||||
myconf="${myconf} $(use_with policykit polkit)"
|
||||
myconf="${myconf} $(use_with sasl)"
|
||||
|
||||
# network bits
|
||||
myconf="${myconf} $(use_with macvtap)"
|
||||
myconf="${myconf} $(use_with pcap libpcap)"
|
||||
myconf="${myconf} $(use_with vepa virtualport)"
|
||||
|
||||
## other
|
||||
myconf="${myconf} $(use_enable nls)"
|
||||
myconf="${myconf} $(use_with python)"
|
||||
|
||||
# user privilege bits fir qemu/kvm
|
||||
if use caps; then
|
||||
myconf="${myconf} --with-qemu-user=qemu"
|
||||
myconf="${myconf} --with-qemu-group=qemu"
|
||||
else
|
||||
myconf="${myconf} --with-qemu-user=root"
|
||||
myconf="${myconf} --with-qemu-group=root"
|
||||
fi
|
||||
|
||||
# audit support
|
||||
myconf="${myconf} $(use_with audit)"
|
||||
|
||||
## stuff we don't yet support
|
||||
myconf="${myconf} --without-netcf"
|
||||
|
||||
# we use udev over hal
|
||||
myconf="${myconf} --without-hal"
|
||||
|
||||
# locking support
|
||||
myconf="${myconf} --without-sanlock"
|
||||
|
||||
# this is a nasty trick to work around the problem in bug
|
||||
# #275073. The reason why we don't solve this properly is that
|
||||
# it'll require us to rebuild autotools (and we don't really want
|
||||
# to do that right now). The proper solution has been sent
|
||||
# upstream and should hopefully land in 0.7.7, in the mean time,
|
||||
# mime the same functionality with this.
|
||||
case ${CHOST} in
|
||||
*cygwin* | *mingw* )
|
||||
;;
|
||||
*)
|
||||
ac_cv_prog_WINDRES=no
|
||||
;;
|
||||
esac
|
||||
|
||||
econf \
|
||||
${myconf} \
|
||||
--disable-static \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
--with-remote \
|
||||
--localstatedir=/var
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
# Restore gnulib's config.sub and config.guess
|
||||
# bug #377279
|
||||
(cd .gnulib && git reset --hard > /dev/null)
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Explicitly allow parallel build of tests
|
||||
HOME="${T}" emake check || die "tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install \
|
||||
DESTDIR="${D}" \
|
||||
HTML_DIR=/usr/share/doc/${PF}/html \
|
||||
DOCS_DIR=/usr/share/doc/${PF}/python \
|
||||
EXAMPLE_DIR=/usr/share/doc/${PF}/python/examples \
|
||||
|| die "emake install failed"
|
||||
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
|
||||
use libvirtd || return 0
|
||||
# From here, only libvirtd-related instructions, be warned!
|
||||
|
||||
newinitd "${FILESDIR}/libvirtd.init-r9" libvirtd || die
|
||||
newconfd "${FILESDIR}/libvirtd.confd-r3" libvirtd || die
|
||||
|
||||
keepdir /var/lib/libvirt/images
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# we only ever want to generate this once
|
||||
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
|
||||
rm -rf "${D}"/etc/libvirt/qemu/networks/default.xml
|
||||
fi
|
||||
|
||||
# We really don't want to use or support old PolicyKit cause it
|
||||
# screws with the new polkit integration
|
||||
if has_version sys-auth/policykit; then
|
||||
rm -rf "${D}"/usr/share/PolicyKit/policy/org.libvirt.unix.policy
|
||||
fi
|
||||
|
||||
# Only sysctl files ending in .conf work
|
||||
mv "${D}"/etc/sysctl.d/libvirtd "${D}"/etc/sysctl.d/libvirtd.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use python && python_mod_optimize libvirt.py
|
||||
|
||||
# support for dropped privileges
|
||||
if use qemu; then
|
||||
fperms 0750 "${EROOT}/var/lib/libvirt/qemu"
|
||||
fperms 0750 "${EROOT}/var/cache/libvirt/qemu"
|
||||
fi
|
||||
|
||||
if use caps && use qemu; then
|
||||
fowners -R qemu:qemu "${EROOT}/var/lib/libvirt/qemu"
|
||||
fowners -R qemu:qemu "${EROOT}/var/cache/libvirt/qemu"
|
||||
elif use qemu; then
|
||||
fowners -R root:root "${EROOT}/var/lib/libvirt/qemu"
|
||||
fowners -R root:root "${EROOT}/var/cache/libvirt/qemu"
|
||||
fi
|
||||
|
||||
if ! use policykit; then
|
||||
elog "To allow normal users to connect to libvirtd you must change the"
|
||||
elog "unix sock group and/or perms in /etc/libvirt/libvirtd.conf"
|
||||
fi
|
||||
|
||||
use libvirtd || return 0
|
||||
# From here, only libvirtd-related instructions, be warned!
|
||||
|
||||
elog
|
||||
elog "For the basic networking support (bridged and routed networks)"
|
||||
elog "you don't need any extra software. For more complex network modes"
|
||||
elog "including but not limited to NATed network, you can enable the"
|
||||
elog "'virt-network' USE flag."
|
||||
elog
|
||||
if has_version net-dns/dnsmasq; then
|
||||
ewarn "If you have a DNS server setup on your machine, you will have"
|
||||
ewarn "to configure /etc/dnsmasq.conf to enable the following settings: "
|
||||
ewarn " bind-interfaces"
|
||||
ewarn " interface or except-interface"
|
||||
ewarn
|
||||
ewarn "Otherwise you might have issues with your existing DNS server."
|
||||
fi
|
||||
|
||||
if use caps && use qemu; then
|
||||
elog "libvirt will now start qemu/kvm VMs with non-root privileges."
|
||||
elog "Ensure any resources your VMs use are accessible by qemu:qemu"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use python && python_mod_cleanup libvirt.py
|
||||
}
|
@ -1,2 +1,4 @@
|
||||
DIST VirtualBox-4.1.22.tar.bz2 73385514 SHA256 7abb506203dd0d69b4b408fd999b5b9a479a9adce5f80e9b5569641c053dd153 SHA512 1bc2e33f6ce1ab417887241ee95bc3042b5c6072b3babc221c349b36b923f0655e776e98468cc63f65662e5ae3819c974bc8b5c97bae531a2c4a0ebb1c1ebba6 WHIRLPOOL e52ee58fdf1b3d1e1323cb26df1791dbc4c9375061467191a73f12071ac99a5c2791ddb65eeff9af5a645ba39fe88d4f7bc4362c919c9c14ba10a99d1b6c3776
|
||||
DIST VirtualBox-4.2.0.tar.bz2 76590194 SHA256 895426ecac371bef4c070e8bcc9306f0c57dcbd6be25188d915b63ddde6f49e6 SHA512 76cddb682a2f5615e8ab465e8766d0ba19e1482b595a185cb401fdb962fb6f161945986ea5514934652305fa3d25f66a88767572fa4e0c5d3b5d5ffeb15c8005 WHIRLPOOL 5c4521a1dfc5b249c6c9692741a83014dc98496086e31186883e8b3f43c18af700f8002c3586b1475fd2c8bac2cbcaadc90aafb259ec50ebbeb3703440ddb822
|
||||
DIST virtualbox-4.1.22-patches-01.tar.xz 3752 SHA256 2ff58f8d2bdfdcbf1ae4bbe9f68ad1256f1ae37091fd4b392582a062d206962f SHA512 9bba2a4352d52cddd27f55b4ad0e9de250c1d29359a8859f61fc413e53ac62206321c5e347391ca478b942967bd7974a3a469eb3bb133c79d7033692afe559dd WHIRLPOOL 1aa98913e7d4e1ddf5f775db200cddc18a7ed4d7dd915dda0dab6bffbf33bfd63a785cc7381bca74e4780e7dce21f18314dc093b9c6ba02addfd1330f3b61aa9
|
||||
DIST virtualbox-4.2.0-patches-01.tar.xz 3840 SHA256 acc1463032b036a75c03ef7f64933c20097ba4aa63b4abacc6c37806cb69f1aa SHA512 ce4c912d6fa8d58df730a6b63daa28833f092f7a0712e153592f1969ce367072a1a960a7775ad5e8d1c8d1352506271b95f28bfc1a51a0675c8135b042d87ad7 WHIRLPOOL d8e0fc9e893302254a801b4c9c528dbeb79531e0660737cea16282b5d7b8dbd76c0991a9468dfa8e8aa28f07cc271b77cf3a1b341c7e4a8ae671e9138962f3b7
|
||||
|
@ -1,27 +0,0 @@
|
||||
--- VirtualBox-4.0.0_OSE/src/libs/xpcom18a4/Makefile.kmk
|
||||
+++ VirtualBox-4.0.0_OSE/src/libs/xpcom18a4/Makefile.kmk
|
||||
@@ -469,9 +469,11 @@
|
||||
libIDL_config_cflags := $(shell $(VBOX_LIBIDL_CONFIG) --cflags)
|
||||
libIDL_config_libs := $(shell $(VBOX_LIBIDL_CONFIG) --libs)
|
||||
xpidl_CFLAGS = \
|
||||
- $(libIDL_config_cflags)
|
||||
+ $(shell pkg-config --cflags libIDL-2.0)
|
||||
xpidl_LDFLAGS = \
|
||||
- $(libIDL_config_libs)
|
||||
+ $(shell pkg-config --libs-only-L libIDL-2.0)
|
||||
+xpidl_LIBS.linux = \
|
||||
+ $(shell pkg-config --libs-only-l libIDL-2.0 | sed -e 's/-l//g')
|
||||
xpidl_LDFLAGS.linux = \
|
||||
$(VBOX_LD_as_needed)
|
||||
endif
|
||||
--- VirtualBox-4.0.0_OSE/Config.kmk
|
||||
+++ VirtualBox-4.0.0_OSE/Config.kmk
|
||||
@@ -4053,7 +4053,7 @@
|
||||
TEMPLATE_VBOXBLDPROG_LDFLAGS.amd64 = -m64
|
||||
TEMPLATE_VBOXBLDPROG_LDFLAGS.sparc64 = -m64
|
||||
ifeq ($(KBUILD_HOST),linux)
|
||||
-TEMPLATE_VBOXBLDPROG_LIBS = pthread m rt dl
|
||||
+TEMPLATE_VBOXBLDPROG_LIBS = pthread m rt dl crypt
|
||||
else ifeq ($(KBUILD_HOST),os2)
|
||||
TEMPLATE_VBOXBLDPROG_TOOL = GXX3OMF
|
||||
TEMPLATE_VBOXBLDPROG_LIBS = socket iconv
|
@ -1,10 +0,0 @@
|
||||
--- VirtualBox-4.0.0_OSE/configure
|
||||
+++ VirtualBox-4.0.0_OSE/configure
|
||||
@@ -2527,7 +2527,6 @@
|
||||
check_compiler_h
|
||||
[ "$BUILD_MACHINE" = "amd64" -a $WITH_VMMRAW -eq 1 ] && check_32bit
|
||||
# tools/common/makeself*
|
||||
- [ $OSE -ge 1 ] && check_makeself
|
||||
fi
|
||||
|
||||
[ -n "$SETUP_WINE" ] && setup_wine
|
@ -1,10 +0,0 @@
|
||||
--- VirtualBox-4.0.0_OSE/configure
|
||||
+++ VirtualBox-4.0.0_OSE/configure
|
||||
@@ -2499,7 +2499,6 @@
|
||||
# don't check for yasm for the time beeing as 0.40 and 0.50 both have known bugs
|
||||
# [ "$OS" != "darwin" ] && check_yasm
|
||||
[ "$OS" != "darwin" ] && check_xsltproc
|
||||
-[ "$OS" != "darwin" ] && check_mkisofs
|
||||
|
||||
# the libraries
|
||||
[ "$OS" != "darwin" ] && check_pthread
|
@ -1,12 +0,0 @@
|
||||
--- VirtualBox-4.0.2_OSE/src/VBox/Main/src-server/SystemPropertiesImpl.cpp
|
||||
+++ VirtualBox-4.0.2_OSE/src/VBox/Main/src-server/SystemPropertiesImpl.cpp
|
||||
@@ -1035,7 +1035,8 @@
|
||||
// new default with VirtualBox 4.0: "$HOME/VirtualBox VMs"
|
||||
HRESULT rc = getUserHomeDirectory(path);
|
||||
if (FAILED(rc)) return rc;
|
||||
- path += RTPATH_SLASH_STR "VirtualBox VMs";
|
||||
+ path += RTPATH_SLASH_STR ".VirtualBox";
|
||||
+ path += RTPATH_SLASH_STR "Machines";
|
||||
}
|
||||
|
||||
if (!RTPathStartsWithRoot(path.c_str()))
|
@ -1,13 +0,0 @@
|
||||
Index: VirtualBox-4.1.10/configure
|
||||
===================================================================
|
||||
--- VirtualBox-4.1.10.orig/configure
|
||||
+++ VirtualBox-4.1.10/configure
|
||||
@@ -1941,7 +1941,7 @@ check_gsoap()
|
||||
else
|
||||
cnf_append "VBOX_GSOAP_CXX_SOURCES" ""
|
||||
fi
|
||||
- cnf_append "VBOX_GSOAP_CXX_LIBS" "libgsoap++"
|
||||
+ cnf_append "VBOX_GSOAP_CXX_LIBS" "libgsoapssl++"
|
||||
log_success "found"
|
||||
else
|
||||
log_failure "stlvector.h not found -- disabling webservice"
|
@ -1,18 +0,0 @@
|
||||
--- VirtualBox-4.1.2_OSE/src/VBox/HostDrivers/VBoxPci/Makefile.kmk
|
||||
+++ VirtualBox-4.1.2_OSE/src/VBox/HostDrivers/VBoxPci/Makefile.kmk
|
||||
@@ -18,6 +18,7 @@
|
||||
SUB_DEPTH = ../../../..
|
||||
include $(KBUILD_PATH)/subheader.kmk
|
||||
if1of ($(KBUILD_TARGET), linux)
|
||||
+ ifdef VBOX_WITH_VBOXDRV
|
||||
|
||||
#
|
||||
# The driver.
|
||||
@@ -83,6 +84,7 @@
|
||||
$(QUIET)$(SED) -e "s;_VERSION_;${VBOX_VERSION_STRING};g; s;_MODULE_;vboxpci;g; s;_BUILDTYPE_;${KBUILD_TYPE};g" --output $@ $<
|
||||
$(QUIET)$(CHMOD) 0755 $@
|
||||
|
||||
+ endif # VBOX_WITH_VBOXDRV
|
||||
endif # Supported platform.
|
||||
include $(KBUILD_PATH)/subfooter.kmk
|
||||
|
@ -1,127 +0,0 @@
|
||||
--- a/Config.kmk 2012-08-22 10:44:28.280834966 -0400
|
||||
+++ b/Config.kmk 2012-08-22 10:44:35.990837245 -0400
|
||||
@@ -2126,6 +2126,7 @@
|
||||
$(APPEND) '$@' 'VBOX_GCC_Wno-variadic-macros ?= $(call VBOX_GCC_CHECK_CXX,-Wno-variadic-macros,)'
|
||||
$(APPEND) '$@' 'VBOX_GCC_fdiagnostics-show-option ?= $(call VBOX_GCC_CHECK_CC,-fdiagnostics-show-option,)'
|
||||
$(APPEND) '$@' 'VBOX_GCC_fno-stack-protector ?= $(call VBOX_GCC_CHECK_CC,-fno-stack-protector,)'
|
||||
+ $(APPEND) '$@' 'VBOX_GCC_nopie ?= $(call VBOX_GCC_CHECK_CC,-nopie,)'
|
||||
# Produce code optimized for the most common IA32/AMD64/EM64T processors. Introduced with gcc version 4.2.
|
||||
$(APPEND) '$@' 'VBOX_GCC_mtune-generic ?= $(call VBOX_GCC_CHECK_CC,-mtune=generic,)'
|
||||
$(APPEND) '$@' 'VBOX_LD_as_needed ?= $(call VBOX_GCC_CHECK_LD,--as-needed,)'
|
||||
@@ -2643,8 +2644,8 @@
|
||||
|
||||
ifeq ($(VBOX_LDR_FMT32),elf)
|
||||
TEMPLATE_VBoxRc_TOOL = $(VBOX_GCC32_TOOL)
|
||||
- TEMPLATE_VBoxRc_CXXFLAGS = -nostdinc -g -pipe $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_CXX) $(VBOX_GCC32_Wno-variadic-macros) -fno-exceptions $(VBOX_GCC_GC_OPT) $(VBOX_GCC_GC_FP) -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-strict-aliasing $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_fvisibility-hidden) $(VBOX_GCC_fvisibility-inlines-hidden) -fno-rtti
|
||||
- TEMPLATE_VBoxRc_CFLAGS = -nostdinc -g -pipe $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_C) $(VBOX_GCC32_Wno-variadic-macros) -fno-exceptions $(VBOX_GCC_GC_OPT) $(VBOX_GCC_GC_FP) -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-strict-aliasing $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_fvisibility-hidden)
|
||||
+ TEMPLATE_VBoxRc_CXXFLAGS = -nostdinc -g -pipe $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_CXX) $(VBOX_GCC32_Wno-variadic-macros) -fno-exceptions $(VBOX_GCC_GC_OPT) $(VBOX_GCC_GC_FP) -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-strict-aliasing $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie) $(VBOX_GCC_fvisibility-hidden) $(VBOX_GCC_fvisibility-inlines-hidden) -fno-rtti
|
||||
+ TEMPLATE_VBoxRc_CFLAGS = -nostdinc -g -pipe $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_C) $(VBOX_GCC32_Wno-variadic-macros) -fno-exceptions $(VBOX_GCC_GC_OPT) $(VBOX_GCC_GC_FP) -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-strict-aliasing $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie) $(VBOX_GCC_fvisibility-hidden)
|
||||
ifeq ($(KBUILD_TARGET),solaris)
|
||||
TEMPLATE_VBoxRc_LDFLAGS = -r
|
||||
else
|
||||
@@ -2704,9 +2705,9 @@
|
||||
endif
|
||||
|
||||
ifeq ($(VBOX_LDR_FMT32),elf)
|
||||
- TEMPLATE_VBoxRcExe_CFLAGS = $(filter-out -nostdinc,$(TEMPLATE_VBoxRc_CFLAGS)) -O0
|
||||
- TEMPLATE_VBoxRcExe_CXXFLAGS = $(filter-out -nostdinc,$(TEMPLATE_VBoxRc_CXXFLAGS)) -O0
|
||||
- TEMPLATE_VBoxRcExe_LDFLAGS = -g
|
||||
+ TEMPLATE_VBoxRcExe_CFLAGS = $(filter-out -nostdinc,$(TEMPLATE_VBoxRc_CFLAGS)) -O0 $(VBOX_GCC_nopie)
|
||||
+ TEMPLATE_VBoxRcExe_CXXFLAGS = $(filter-out -nostdinc,$(TEMPLATE_VBoxRc_CXXFLAGS)) -O0 $(VBOX_GCC_nopie)
|
||||
+ TEMPLATE_VBoxRcExe_LDFLAGS = -g $(VBOX_GCC_nopie)
|
||||
TEMPLATE_VBoxRcExe_LDFLAGS.dbgopt = -g
|
||||
TEMPLATE_VBoxRcExe_LDFLAGS.strict = -g
|
||||
TEMPLATE_VBoxRcExe_LDFLAGS.release = -g
|
||||
@@ -2768,8 +2769,8 @@
|
||||
|
||||
ifeq ($(VBOX_LDR_FMT),elf)
|
||||
TEMPLATE_VBoxR0_TOOL = $(VBOX_GCC_TOOL)
|
||||
-TEMPLATE_VBoxR0_CFLAGS = -nostdinc -g -pipe $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_C) $(VBOX_GCC_Wno-variadic-macros) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) -fno-strict-aliasing -fno-exceptions $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_fvisibility-hidden) -std=gnu99
|
||||
-TEMPLATE_VBoxR0_CXXFLAGS = -nostdinc -g -pipe $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_CXX) $(VBOX_GCC_Wno-variadic-macros) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) -fno-strict-aliasing -fno-exceptions $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_fvisibility-inlines-hidden) $(VBOX_GCC_fvisibility-hidden) -fno-rtti
|
||||
+TEMPLATE_VBoxR0_CFLAGS = -nostdinc -g -pipe $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_C) $(VBOX_GCC_Wno-variadic-macros) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) -fno-strict-aliasing -fno-exceptions $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie) $(VBOX_GCC_fvisibility-hidden) -std=gnu99
|
||||
+TEMPLATE_VBoxR0_CXXFLAGS = -nostdinc -g -pipe $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_CXX) $(VBOX_GCC_Wno-variadic-macros) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) -fno-strict-aliasing -fno-exceptions $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie) $(VBOX_GCC_fvisibility-inlines-hidden) $(VBOX_GCC_fvisibility-hidden) -fno-rtti
|
||||
TEMPLATE_VBoxR0_CFLAGS.amd64 = -m64 -mno-red-zone -mcmodel=kernel -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-asynchronous-unwind-tables -ffreestanding
|
||||
TEMPLATE_VBoxR0_CXXFLAGS.amd64 = -m64 -mno-red-zone -mcmodel=kernel -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-asynchronous-unwind-tables
|
||||
ifeq ($(KBUILD_TARGET),solaris)
|
||||
@@ -2794,12 +2795,12 @@
|
||||
TEMPLATE_VBoxR0_DEFS += $(VBOX_DARWIN_DEF_SDK_DEFS)
|
||||
TEMPLATE_VBoxR0_CXXFLAGS = $(VBOX_DARWIN_DEF_SDK_CXXFLAGS) -nostdinc -g -pipe $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_CXX) $(VBOX_GCC_Wno-variadic-macros) \
|
||||
-fno-common -msoft-float -static -fno-rtti -fno-exceptions $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) -fno-strict-aliasing \
|
||||
- -mno-sse -mno-mmx -mno-sse2 -mno-3dnow $(VBOX_GCC_fno-stack-protector)
|
||||
+ -mno-sse -mno-mmx -mno-sse2 -mno-3dnow $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie)
|
||||
TEMPLATE_VBoxR0_CXXFLAGS.amd64 = -m64 -mno-red-zone -mno-sse3 -mno-sse4 -mno-sse4.1 -mno-sse4.2 -mno-sse4a -fno-unwind-tables
|
||||
TEMPLATE_VBoxR0_CXXFLAGS.x86 = -m32
|
||||
TEMPLATE_VBoxR0_CFLAGS = $(VBOX_DARWIN_DEF_SDK_CFLAGS) -nostdinc -g -pipe $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_C) $(VBOX_GCC_Wno-variadic-macros) \
|
||||
-fno-common -msoft-float -static -fno-exceptions $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) -fno-strict-aliasing \
|
||||
- -mno-sse -mno-mmx -mno-sse2 -mno-3dnow $(VBOX_GCC_fno-stack-protector)
|
||||
+ -mno-sse -mno-mmx -mno-sse2 -mno-3dnow $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie)
|
||||
TEMPLATE_VBoxR0_CFLAGS.amd64 = -m64 -mno-red-zone -mno-sse3 -mno-sse4 -mno-sse4.1 -mno-sse4.2 -mno-sse4a -fno-unwind-tables
|
||||
TEMPLATE_VBoxR0_CFLAGS.x86 = -m32
|
||||
TEMPLATE_VBoxR0_LDFLAGS = $(VBOX_DARWIN_DEF_SDK_LDFLAGS) -nostdlib
|
||||
@@ -2861,7 +2862,7 @@
|
||||
TEMPLATE_VBOXR0DRV_INCS = $(VBOX_LINUX_INCS)
|
||||
TEMPLATE_VBOXR0DRV_CFLAGS = -nostdinc -iwithprefix include $(VBOX_LINUX_INCLUDE) \
|
||||
$(VBOX_GCC_WARN) -Wstrict-prototypes $(VBOX_GCC_Wno-pointer-sign) -Wno-sign-compare \
|
||||
- $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration
|
||||
+ $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration
|
||||
TEMPLATE_VBOXR0DRV_CFLAGS.x86 = -mpreferred-stack-boundary=2 -msoft-float
|
||||
TEMPLATE_VBOXR0DRV_CFLAGS.amd64 = -m64 -mno-red-zone -mcmodel=kernel -mno-sse -mno-mmx -mno-sse2 -mno-3dnow \
|
||||
-fno-reorder-blocks -ffreestanding -fno-asynchronous-unwind-tables -funit-at-a-time \
|
||||
@@ -2985,7 +2986,7 @@
|
||||
-Wstrict-prototypes -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs \
|
||||
-Wimplicit-function-declaration -Werror-implicit-function-declaration \
|
||||
-O2 -fformat-extensions -ffreestanding -fno-strict-aliasing -fno-common -finline-limit=8000 \
|
||||
- $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) \
|
||||
+ $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) \
|
||||
-nostdinc -std=c99
|
||||
TEMPLATE_VBOXR0DRV_CFLAGS.x86 = -m32 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2
|
||||
TEMPLATE_VBOXR0DRV_CFLAGS.amd64 = -m64 --param inline-unit-growth=100 --param large-function-growth=1000 \
|
||||
@@ -2994,7 +2995,7 @@
|
||||
TEMPLATE_VBOXR0DRV_CXXFLAGS = -fno-exceptions -fno-rtti \
|
||||
$(VBOX_GCC_WARN) -Wpointer-arith -Winline \
|
||||
-O2 -fno-format-extensions -fno-strict-aliasing -fno-common -finline-limit=8000 \
|
||||
- $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) \
|
||||
+ $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) \
|
||||
-nostdinc
|
||||
TEMPLATE_VBOXR0DRV_CXXFLAGS.x86 = $(TEMPLATE_VBOXR0DRV_CFLAGS.x86)
|
||||
TEMPLATE_VBOXR0DRV_CXXFLAGS.amd64 = $(TEMPLATE_VBOXR0DRV_CFLAGS.amd64)
|
||||
@@ -3546,8 +3547,8 @@
|
||||
TEMPLATE_VBOXNOCRTGCC_TOOL = $(VBOX_GCC_TOOL)
|
||||
TEMPLATE_VBOXNOCRTGCC_ASTOOL = $(VBOX_ASTOOL)
|
||||
TEMPLATE_VBOXNOCRTGCC_ASFLAGS = $(VBOX_ASFLAGS)
|
||||
- TEMPLATE_VBOXNOCRTGCC_CFLAGS += $(VBOX_GCC_fno-stack-protector)
|
||||
- TEMPLATE_VBOXNOCRTGCC_CXXFLAGS += $(VBOX_GCC_fno-stack-protector)
|
||||
+ TEMPLATE_VBOXNOCRTGCC_CFLAGS += $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie)
|
||||
+ TEMPLATE_VBOXNOCRTGCC_CXXFLAGS += $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie)
|
||||
ifeq ($(KBUILD_TARGET_ARCH),amd64)
|
||||
# in 64-bit mode we'll build a sys-module (VBoxREM2).
|
||||
if1of ($(KBUILD_TARGET), darwin solaris)
|
||||
@@ -4392,7 +4393,7 @@
|
||||
TEMPLATE_VBOXLNXHOSTR3EXE_ASFLAGS = $(VBOX_ASFLAGS)
|
||||
TEMPLATE_VBOXLNXHOSTR3EXE_DLLSUFF = .so
|
||||
TEMPLATE_VBOXLNXHOSTR3EXE_DEFS = IN_RING3 $(ARCH_BITS_DEFS)
|
||||
-TEMPLATE_VBOXLNXHOSTR3EXE_CXXFLAGS = -g -pipe $(VBOX_GCC_PEDANTIC_CXX) $(VBOX_GCC_fno-stack-protector)
|
||||
+TEMPLATE_VBOXLNXHOSTR3EXE_CXXFLAGS = -g -pipe $(VBOX_GCC_PEDANTIC_CXX) $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie)
|
||||
TEMPLATE_VBOXLNXHOSTR3EXE_CXXFLAGS.debug = -fno-inline
|
||||
TEMPLATE_VBOXLNXHOSTR3EXE_CXXFLAGS.release = -O2 -fno-omit-frame-pointer -fno-strict-aliasing
|
||||
TEMPLATE_VBOXLNXHOSTR3EXE_CXXFLAGS.profile = $(TEMPLATE_VBOXLNXHOSTR3EXE_CXXFLAGS.release)
|
||||
@@ -4401,7 +4402,7 @@
|
||||
TEMPLATE_VBOXLNXHOSTR3EXE_CFLAGS.debug = $(TEMPLATE_VBOXLNXHOSTR3EXE_CXXFLAGS.debug)
|
||||
TEMPLATE_VBOXLNXHOSTR3EXE_CFLAGS.profile = $(TEMPLATE_VBOXLNXHOSTR3EXE_CXXFLAGS.profile)
|
||||
TEMPLATE_VBOXLNXHOSTR3EXE_CFLAGS.kprofile = $(TEMPLATE_VBOXLNXHOSTR3EXE_CXXFLAGS.kprofile)
|
||||
-TEMPLATE_VBOXLNXHOSTR3EXE_CFLAGS = -g -pipe $(VBOX_GCC_PEDANTIC_C) $(VBOX_GCC_fno-stack-protector)
|
||||
+TEMPLATE_VBOXLNXHOSTR3EXE_CFLAGS = -g -pipe $(VBOX_GCC_PEDANTIC_C) $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie)
|
||||
TEMPLATE_VBOXLNXHOSTR3EXE_LIBS = pthread m rt dl
|
||||
|
||||
TEMPLATE_VBOXLNXHOSTR3LIB = Template for linux host libraries.
|
||||
@@ -4528,8 +4529,8 @@
|
||||
TEMPLATE_VBOXGUESTR3XF86MOD_LDFLAGS.x86 = -m elf_i386
|
||||
TEMPLATE_VBOXGUESTR3XF86MOD_LDFLAGS.amd64 = -Wl,-O1 -Wl,--as-needed -m elf_x86_64
|
||||
endif
|
||||
-TEMPLATE_VBOXGUESTR3XF86MOD_CFLAGS = $(TEMPLATE_VBOXGUESTR3EXE_CFLAGS) -fno-merge-constants -std=c99 $(VBOX_GCC_fno-stack-protector) -ffreestanding
|
||||
-TEMPLATE_VBOXGUESTR3XF86MOD_CXXFLAGS= $(TEMPLATE_VBOXGUESTR3EXE_CXXFLAGS) -fno-merge-constants $(VBOX_GCC_fno-stack-protector) -ffreestanding
|
||||
+TEMPLATE_VBOXGUESTR3XF86MOD_CFLAGS = $(TEMPLATE_VBOXGUESTR3EXE_CFLAGS) -fno-merge-constants -std=c99 $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie) -ffreestanding
|
||||
+TEMPLATE_VBOXGUESTR3XF86MOD_CXXFLAGS= $(TEMPLATE_VBOXGUESTR3EXE_CXXFLAGS) -fno-merge-constants $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie) -ffreestanding
|
||||
TEMPLATE_VBOXGUESTR3XF86MOD_SYSSUFF = .o
|
||||
TEMPLATE_VBOXGUESTR3XF86MOD_LIBS = \
|
||||
$(VBOX_LIB_VBGL_R3_XFREE86)
|
@ -1,11 +0,0 @@
|
||||
--- VirtualBox-4.1.4_OSE/Config.kmk
|
||||
+++ VirtualBox-4.1.4_OSE/Config.kmk
|
||||
@@ -4263,7 +4263,7 @@
|
||||
TEMPLATE_VBOXBLDPROG_LDFLAGS.amd64 = -m64
|
||||
TEMPLATE_VBOXBLDPROG_LDFLAGS.sparc64 = -m64
|
||||
ifeq ($(KBUILD_HOST),linux)
|
||||
-TEMPLATE_VBOXBLDPROG_LIBS = pthread m rt dl
|
||||
+TEMPLATE_VBOXBLDPROG_LIBS = pthread m rt dl crypt
|
||||
else ifeq ($(KBUILD_HOST),os2)
|
||||
TEMPLATE_VBOXBLDPROG_TOOL = GXX3OMF
|
||||
TEMPLATE_VBOXBLDPROG_LIBS = socket iconv
|
@ -1,29 +0,0 @@
|
||||
# https://bugs.gentoo.org/391189
|
||||
# https://www.virtualbox.org/ticket/9932
|
||||
# https://www.virtualbox.org/changeset/39398
|
||||
|
||||
--- VirtualBox-4.1.6_OSE/src/VBox/VMM/testcase/tstAsmStructsAsm-lst.sed
|
||||
+++ VirtualBox-4.1.6_OSE/src/VBox/VMM/testcase/tstAsmStructsAsm-lst.sed
|
||||
@@ -13,11 +13,13 @@
|
||||
/^\.text$/d
|
||||
/^\.data$/d
|
||||
/^\.bss$/d
|
||||
+s/[[:space:]][[:space:]]*/ /g
|
||||
|
||||
#
|
||||
# Figure which type of line this is and process it accordingly.
|
||||
#
|
||||
/^[[:alpha:]_][[:alnum:]_]*:/b struct
|
||||
+/^[[:alpha:]_][[:alnum:]_]*_size EQU \$ - .*$/b struct_equ
|
||||
/<gap>/b member
|
||||
/^\.[[:alpha:]_][[:alnum:]_.:]* res.*$/b member_two
|
||||
b error
|
||||
@@ -27,6 +29,8 @@
|
||||
#
|
||||
# Struct start / end.
|
||||
#
|
||||
+:struct_equ
|
||||
+s/_size EQU.*$/_size/
|
||||
:struct
|
||||
s/:$//
|
||||
h
|
@ -1,132 +0,0 @@
|
||||
2012-02-13 Magnus Granberg <zorry@gentoo.org>
|
||||
|
||||
# 339914 Fail to compile with hardened toolchain
|
||||
* Config.kmk Add $(VBOX_GCC_nopie)
|
||||
|
||||
--- a/Config.kmk 2011-10-26 22:25:16.377125485 +0200
|
||||
+++b/Config.kmk 2011-10-26 22:51:57.777173205 +0200
|
||||
@@ -2116,6 +2116,7 @@
|
||||
$(APPEND) '$@' 'VBOX_GCC_Wno-variadic-macros ?= $(call VBOX_GCC_CHECK_CXX,-Wno-variadic-macros,)'
|
||||
$(APPEND) '$@' 'VBOX_GCC_Wno-invalid-offsetof ?= $(call VBOX_GCC_CHECK_CXX,-Wno-invalid-offsetof,)'
|
||||
$(APPEND) '$@' 'VBOX_GCC_fno-stack-protector ?= $(call VBOX_GCC_CHECK_CC,-fno-stack-protector,)'
|
||||
+ $(APPEND) '$@' 'VBOX_GCC_nopie ?= $(call VBOX_GCC_CHECK_CC,-nopie,)'
|
||||
$(APPEND) '$@' 'VBOX_GCC_fdiagnostics-show-option ?= $(call VBOX_GCC_CHECK_CC,-fdiagnostics-show-option,)'
|
||||
# Produce code optimized for the most common IA32/AMD64/EM64T processors. Introduced with gcc version 4.2.
|
||||
$(APPEND) '$@' 'VBOX_GCC_mtune-generic ?= $(call VBOX_GCC_CHECK_CC,-mtune=generic,)'
|
||||
@@ -2640,8 +2641,8 @@
|
||||
|
||||
ifeq ($(VBOX_LDR_FMT32),elf)
|
||||
TEMPLATE_VBoxRc_TOOL = $(VBOX_GCC32_TOOL)
|
||||
- TEMPLATE_VBoxRc_CXXFLAGS = -nostdinc -g -pipe $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_CXX) $(VBOX_GCC32_Wno-variadic-macros) -fno-exceptions $(VBOX_GCC_GC_OPT) $(VBOX_GCC_GC_FP) -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-strict-aliasing $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_fvisibility-hidden) $(VBOX_GCC_fvisibility-inlines-hidden) -fno-rtti
|
||||
- TEMPLATE_VBoxRc_CFLAGS = -nostdinc -g -pipe $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_C) $(VBOX_GCC32_Wno-variadic-macros) -fno-exceptions $(VBOX_GCC_GC_OPT) $(VBOX_GCC_GC_FP) -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-strict-aliasing $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_fvisibility-hidden)
|
||||
+ TEMPLATE_VBoxRc_CXXFLAGS = -nostdinc -g -pipe $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_CXX) $(VBOX_GCC32_Wno-variadic-macros) -fno-exceptions $(VBOX_GCC_GC_OPT) $(VBOX_GCC_GC_FP) -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-strict-aliasing $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie) $(VBOX_GCC_fvisibility-hidden) $(VBOX_GCC_fvisibility-inlines-hidden) -fno-rtti
|
||||
+ TEMPLATE_VBoxRc_CFLAGS = -nostdinc -g -pipe $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_C) $(VBOX_GCC32_Wno-variadic-macros) -fno-exceptions $(VBOX_GCC_GC_OPT) $(VBOX_GCC_GC_FP) -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-strict-aliasing $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie) $(VBOX_GCC_fvisibility-hidden)
|
||||
ifeq ($(KBUILD_TARGET),solaris)
|
||||
TEMPLATE_VBoxRc_LDFLAGS = -r
|
||||
else
|
||||
@@ -2702,9 +2702,9 @@ ifdef VBOX_WITH_RAW_MODE
|
||||
endif
|
||||
|
||||
ifeq ($(VBOX_LDR_FMT32),elf)
|
||||
- TEMPLATE_VBoxRcExe_CFLAGS = $(filter-out -nostdinc,$(TEMPLATE_VBoxRc_CFLAGS)) -O0
|
||||
- TEMPLATE_VBoxRcExe_CXXFLAGS = $(filter-out -nostdinc,$(TEMPLATE_VBoxRc_CXXFLAGS)) -O0
|
||||
- TEMPLATE_VBoxRcExe_LDFLAGS = -g
|
||||
+ TEMPLATE_VBoxRcExe_CFLAGS = $(filter-out -nostdinc,$(TEMPLATE_VBoxRc_CFLAGS)) -O0 $(VBOX_GCC_nopie)
|
||||
+ TEMPLATE_VBoxRcExe_CXXFLAGS = $(filter-out -nostdinc,$(TEMPLATE_VBoxRc_CXXFLAGS)) -O0 $(VBOX_GCC_nopie)
|
||||
+ TEMPLATE_VBoxRcExe_LDFLAGS = -g $(VBOX_GCC_nopie)
|
||||
TEMPLATE_VBoxRcExe_LDFLAGS.dbgopt = -g
|
||||
TEMPLATE_VBoxRcExe_LDFLAGS.strict = -g
|
||||
TEMPLATE_VBoxRcExe_LDFLAGS.release = -g
|
||||
@@ -2768,8 +2769,8 @@
|
||||
|
||||
ifeq ($(VBOX_LDR_FMT),elf)
|
||||
TEMPLATE_VBoxR0_TOOL = $(VBOX_GCC_TOOL)
|
||||
-TEMPLATE_VBoxR0_CFLAGS = -nostdinc -g -pipe $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_C) $(VBOX_GCC_Wno-variadic-macros) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) -fno-strict-aliasing -fno-exceptions $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_fvisibility-hidden) -std=gnu99
|
||||
-TEMPLATE_VBoxR0_CXXFLAGS = -nostdinc -g -pipe $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_CXX) $(VBOX_GCC_Wno-variadic-macros) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) -fno-strict-aliasing -fno-exceptions $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_fvisibility-inlines-hidden) $(VBOX_GCC_fvisibility-hidden) -fno-rtti
|
||||
+TEMPLATE_VBoxR0_CFLAGS = -nostdinc -g -pipe $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_C) $(VBOX_GCC_Wno-variadic-macros) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) -fno-strict-aliasing -fno-exceptions $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie) $(VBOX_GCC_fvisibility-hidden) -std=gnu99
|
||||
+TEMPLATE_VBoxR0_CXXFLAGS = -nostdinc -g -pipe $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_CXX) $(VBOX_GCC_Wno-variadic-macros) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) -fno-strict-aliasing -fno-exceptions $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie) $(VBOX_GCC_fvisibility-inlines-hidden) $(VBOX_GCC_fvisibility-hidden) -fno-rtti
|
||||
TEMPLATE_VBoxR0_CFLAGS.amd64 = -m64 -mno-red-zone -mcmodel=kernel -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-asynchronous-unwind-tables -ffreestanding
|
||||
TEMPLATE_VBoxR0_CXXFLAGS.amd64 = -m64 -mno-red-zone -mcmodel=kernel -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-asynchronous-unwind-tables
|
||||
ifeq ($(KBUILD_TARGET),solaris)
|
||||
@@ -2794,12 +2795,12 @@
|
||||
TEMPLATE_VBoxR0_DEFS += $(VBOX_DARWIN_DEF_SDK_DEFS)
|
||||
TEMPLATE_VBoxR0_CXXFLAGS = $(VBOX_DARWIN_DEF_SDK_CXXFLAGS) -nostdinc -g -pipe $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_CXX) $(VBOX_GCC_Wno-variadic-macros) \
|
||||
-fno-common -msoft-float -static -fno-rtti -fno-exceptions $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) -fno-strict-aliasing \
|
||||
- -mno-sse -mno-mmx -mno-sse2 -mno-3dnow $(VBOX_GCC_fno-stack-protector)
|
||||
+ -mno-sse -mno-mmx -mno-sse2 -mno-3dnow $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie)
|
||||
TEMPLATE_VBoxR0_CXXFLAGS.amd64 = -m64 -mno-red-zone -mno-sse3 -mno-sse4 -mno-sse4.1 -mno-sse4.2 -mno-sse4a -fno-unwind-tables
|
||||
TEMPLATE_VBoxR0_CXXFLAGS.x86 = -m32
|
||||
TEMPLATE_VBoxR0_CFLAGS = $(VBOX_DARWIN_DEF_SDK_CFLAGS) -nostdinc -g -pipe $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_C) $(VBOX_GCC_Wno-variadic-macros) \
|
||||
-fno-common -msoft-float -static -fno-exceptions $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) -fno-strict-aliasing \
|
||||
- -mno-sse -mno-mmx -mno-sse2 -mno-3dnow $(VBOX_GCC_fno-stack-protector)
|
||||
+ -mno-sse -mno-mmx -mno-sse2 -mno-3dnow $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie)
|
||||
TEMPLATE_VBoxR0_CFLAGS.amd64 = -m64 -mno-red-zone -mno-sse3 -mno-sse4 -mno-sse4.1 -mno-sse4.2 -mno-sse4a -fno-unwind-tables
|
||||
TEMPLATE_VBoxR0_CFLAGS.x86 = -m32
|
||||
TEMPLATE_VBoxR0_LDFLAGS = $(VBOX_DARWIN_DEF_SDK_LDFLAGS) -nostdlib
|
||||
@@ -2861,7 +2862,7 @@
|
||||
TEMPLATE_VBOXR0DRV_INCS = $(VBOX_LINUX_INCS)
|
||||
TEMPLATE_VBOXR0DRV_CFLAGS = -nostdinc -iwithprefix include $(VBOX_LINUX_INCLUDE) \
|
||||
$(VBOX_GCC_WARN) -Wstrict-prototypes $(VBOX_GCC_Wno-pointer-sign) -Wno-sign-compare \
|
||||
- $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration
|
||||
+ $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration
|
||||
TEMPLATE_VBOXR0DRV_CFLAGS.x86 = -mpreferred-stack-boundary=2 -msoft-float
|
||||
TEMPLATE_VBOXR0DRV_CFLAGS.amd64 = -m64 -mno-red-zone -mcmodel=kernel -mno-sse -mno-mmx -mno-sse2 -mno-3dnow \
|
||||
-fno-reorder-blocks -ffreestanding -fno-asynchronous-unwind-tables -funit-at-a-time \
|
||||
@@ -2985,7 +2986,7 @@
|
||||
-Wstrict-prototypes -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs \
|
||||
-Wimplicit-function-declaration -Werror-implicit-function-declaration \
|
||||
-O2 -fformat-extensions -ffreestanding -fno-strict-aliasing -fno-common -finline-limit=8000 \
|
||||
- $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) \
|
||||
+ $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) \
|
||||
-nostdinc -std=c99
|
||||
TEMPLATE_VBOXR0DRV_CFLAGS.x86 = -m32 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2
|
||||
TEMPLATE_VBOXR0DRV_CFLAGS.amd64 = -m64 --param inline-unit-growth=100 --param large-function-growth=1000 \
|
||||
@@ -2994,7 +2995,7 @@
|
||||
TEMPLATE_VBOXR0DRV_CXXFLAGS = -fno-exceptions -fno-rtti \
|
||||
$(VBOX_GCC_WARN) -Wpointer-arith -Winline \
|
||||
-O2 -fno-format-extensions -fno-strict-aliasing -fno-common -finline-limit=8000 \
|
||||
- $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) \
|
||||
+ $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) \
|
||||
-nostdinc
|
||||
TEMPLATE_VBOXR0DRV_CXXFLAGS.x86 = $(TEMPLATE_VBOXR0DRV_CFLAGS.x86)
|
||||
TEMPLATE_VBOXR0DRV_CXXFLAGS.amd64 = $(TEMPLATE_VBOXR0DRV_CFLAGS.amd64)
|
||||
@@ -3544,8 +3545,8 @@
|
||||
TEMPLATE_VBOXNOCRTGCC_TOOL = $(VBOX_GCC_TOOL)
|
||||
TEMPLATE_VBOXNOCRTGCC_ASTOOL = $(VBOX_ASTOOL)
|
||||
TEMPLATE_VBOXNOCRTGCC_ASFLAGS = $(VBOX_ASFLAGS)
|
||||
- TEMPLATE_VBOXNOCRTGCC_CFLAGS += $(VBOX_GCC_fno-stack-protector)
|
||||
- TEMPLATE_VBOXNOCRTGCC_CXXFLAGS += $(VBOX_GCC_fno-stack-protector)
|
||||
+ TEMPLATE_VBOXNOCRTGCC_CFLAGS += $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie)
|
||||
+ TEMPLATE_VBOXNOCRTGCC_CXXFLAGS += $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie)
|
||||
ifeq ($(KBUILD_TARGET_ARCH),amd64)
|
||||
# in 64-bit mode we'll build a sys-module (VBoxREM2).
|
||||
if1of ($(KBUILD_TARGET), darwin solaris)
|
||||
@@ -4387,7 +4388,7 @@
|
||||
TEMPLATE_VBOXLNXHOSTR3EXE_ASFLAGS = $(VBOX_ASFLAGS)
|
||||
TEMPLATE_VBOXLNXHOSTR3EXE_DLLSUFF = .so
|
||||
TEMPLATE_VBOXLNXHOSTR3EXE_DEFS = IN_RING3 $(ARCH_BITS_DEFS)
|
||||
-TEMPLATE_VBOXLNXHOSTR3EXE_CXXFLAGS = -g -pipe $(VBOX_GCC_PEDANTIC_CXX) $(VBOX_GCC_fno-stack-protector)
|
||||
+TEMPLATE_VBOXLNXHOSTR3EXE_CXXFLAGS = -g -pipe $(VBOX_GCC_PEDANTIC_CXX) $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie)
|
||||
TEMPLATE_VBOXLNXHOSTR3EXE_CXXFLAGS.debug = -fno-inline
|
||||
TEMPLATE_VBOXLNXHOSTR3EXE_CXXFLAGS.release = -O2 -fno-omit-frame-pointer -fno-strict-aliasing
|
||||
TEMPLATE_VBOXLNXHOSTR3EXE_CXXFLAGS.profile = $(TEMPLATE_VBOXLNXHOSTR3EXE_CXXFLAGS.release)
|
||||
@@ -4396,7 +4397,7 @@
|
||||
TEMPLATE_VBOXLNXHOSTR3EXE_CFLAGS.debug = $(TEMPLATE_VBOXLNXHOSTR3EXE_CXXFLAGS.debug)
|
||||
TEMPLATE_VBOXLNXHOSTR3EXE_CFLAGS.profile = $(TEMPLATE_VBOXLNXHOSTR3EXE_CXXFLAGS.profile)
|
||||
TEMPLATE_VBOXLNXHOSTR3EXE_CFLAGS.kprofile = $(TEMPLATE_VBOXLNXHOSTR3EXE_CXXFLAGS.kprofile)
|
||||
-TEMPLATE_VBOXLNXHOSTR3EXE_CFLAGS = -g -pipe $(VBOX_GCC_PEDANTIC_C) $(VBOX_GCC_fno-stack-protector)
|
||||
+TEMPLATE_VBOXLNXHOSTR3EXE_CFLAGS = -g -pipe $(VBOX_GCC_PEDANTIC_C) $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie)
|
||||
TEMPLATE_VBOXLNXHOSTR3EXE_LIBS = pthread m rt dl
|
||||
|
||||
TEMPLATE_VBOXLNXHOSTR3LIB = Template for linux host libraries.
|
||||
@@ -4523,8 +4524,8 @@
|
||||
TEMPLATE_VBOXGUESTR3XF86MOD_LDFLAGS.x86 = -m elf_i386
|
||||
TEMPLATE_VBOXGUESTR3XF86MOD_LDFLAGS.amd64 = -Wl,-O1 -Wl,--as-needed -m elf_x86_64
|
||||
endif
|
||||
-TEMPLATE_VBOXGUESTR3XF86MOD_CFLAGS = $(TEMPLATE_VBOXGUESTR3EXE_CFLAGS) -fno-merge-constants -std=c99 $(VBOX_GCC_fno-stack-protector) -ffreestanding
|
||||
-TEMPLATE_VBOXGUESTR3XF86MOD_CXXFLAGS= $(TEMPLATE_VBOXGUESTR3EXE_CXXFLAGS) -fno-merge-constants $(VBOX_GCC_fno-stack-protector) -ffreestanding
|
||||
+TEMPLATE_VBOXGUESTR3XF86MOD_CFLAGS = $(TEMPLATE_VBOXGUESTR3EXE_CFLAGS) -fno-merge-constants -std=c99 $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie) -ffreestanding
|
||||
+TEMPLATE_VBOXGUESTR3XF86MOD_CXXFLAGS= $(TEMPLATE_VBOXGUESTR3EXE_CXXFLAGS) -fno-merge-constants $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie) -ffreestanding
|
||||
TEMPLATE_VBOXGUESTR3XF86MOD_SYSSUFF = .o
|
||||
TEMPLATE_VBOXGUESTR3XF86MOD_LIBS = \
|
||||
$(VBOX_LIB_VBGL_R3_XFREE86)
|
@ -1,130 +0,0 @@
|
||||
Index: Config.kmk
|
||||
===================================================================
|
||||
diff --git a/trunk/Config.kmk b/trunk/Config.kmk
|
||||
--- a/trunk/Config.kmk (revision 43316)
|
||||
+++ b/trunk/Config.kmk (working copy)
|
||||
@@ -2230,6 +2230,7 @@ $(PATH_OUT)/GCCConfig.kmk: \
|
||||
$(QUIET)$(APPEND) '$@' 'VBOX_GCC_Wno-pointer-to-int-cast ?= $(call VBOX_GCC_CHECK_CC,-Wno-pointer-to-int-cast,)'
|
||||
$(QUIET)$(APPEND) '$@' 'VBOX_GCC_Wno-variadic-macros ?= $(call VBOX_GCC_CHECK_CXX,-Wno-variadic-macros,)'
|
||||
$(QUIET)$(APPEND) '$@' 'VBOX_GCC_fno-stack-protector ?= $(call VBOX_GCC_CHECK_CC,-fno-stack-protector,)'
|
||||
+ $(QUIET)$(APPEND) '$@' 'VBOX_GCC_nopie ?= $(call VBOX_GCC_CHECK_CC,-nopie,)'
|
||||
$(QUIET)$(APPEND) '$@' 'VBOX_GCC_fno-dwarf2-cfi-asm ?= $(call VBOX_GCC_CHECK_CC,-fno-dwarf2-cfi-asm,)'
|
||||
$(QUIET)$(APPEND) '$@' 'VBOX_GCC_fdiagnostics-show-option ?= $(call VBOX_GCC_CHECK_CC,-fdiagnostics-show-option,)'
|
||||
# Produce code optimized for the most common IA32/AMD64/EM64T processors. Introduced with gcc version 4.2.
|
||||
@@ -2881,8 +2882,8 @@ ifdef VBOX_WITH_RAW_MODE
|
||||
|
||||
ifeq ($(VBOX_LDR_FMT32),elf)
|
||||
TEMPLATE_VBoxRc_TOOL = $(VBOX_GCC32_TOOL)
|
||||
- TEMPLATE_VBoxRc_CXXFLAGS = -nostdinc -g $(VBOX_GCC_pipe) $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_CXX) $(VBOX_GCC32_Wno-variadic-macros) -fno-exceptions $(VBOX_GCC_GC_OPT) $(VBOX_GCC_GC_FP) -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-strict-aliasing $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_fvisibility-hidden) $(VBOX_GCC_fvisibility-inlines-hidden) -fno-rtti
|
||||
- TEMPLATE_VBoxRc_CFLAGS = -nostdinc -g $(VBOX_GCC_pipe) $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_C) $(VBOX_GCC32_Wno-variadic-macros) -fno-exceptions $(VBOX_GCC_GC_OPT) $(VBOX_GCC_GC_FP) -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-strict-aliasing $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_fvisibility-hidden)
|
||||
+ TEMPLATE_VBoxRc_CXXFLAGS = -nostdinc -g $(VBOX_GCC_pipe) $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_CXX) $(VBOX_GCC32_Wno-variadic-macros) -fno-exceptions $(VBOX_GCC_GC_OPT) $(VBOX_GCC_GC_FP) -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-strict-aliasing $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie) $(VBOX_GCC_fvisibility-hidden) $(VBOX_GCC_fvisibility-inlines-hidden) -fno-rtti
|
||||
+ TEMPLATE_VBoxRc_CFLAGS = -nostdinc -g $(VBOX_GCC_pipe) $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_C) $(VBOX_GCC32_Wno-variadic-macros) -fno-exceptions $(VBOX_GCC_GC_OPT) $(VBOX_GCC_GC_FP) -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-strict-aliasing $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie) $(VBOX_GCC_fvisibility-hidden)
|
||||
ifeq ($(KBUILD_TARGET),solaris)
|
||||
TEMPLATE_VBoxRc_LDFLAGS = -r
|
||||
else
|
||||
@@ -2936,9 +2937,9 @@ ifdef VBOX_WITH_RAW_MODE
|
||||
endif
|
||||
|
||||
ifeq ($(VBOX_LDR_FMT32),elf)
|
||||
- TEMPLATE_VBoxRcExe_CFLAGS = $(filter-out -nostdinc,$(TEMPLATE_VBoxRc_CFLAGS)) -O0
|
||||
- TEMPLATE_VBoxRcExe_CXXFLAGS = $(filter-out -nostdinc,$(TEMPLATE_VBoxRc_CXXFLAGS)) -O0
|
||||
- TEMPLATE_VBoxRcExe_LDFLAGS = -g
|
||||
+ TEMPLATE_VBoxRcExe_CFLAGS = $(filter-out -nostdinc,$(TEMPLATE_VBoxRc_CFLAGS)) -O0 $(VBOX_GCC_nopie)
|
||||
+ TEMPLATE_VBoxRcExe_CXXFLAGS = $(filter-out -nostdinc,$(TEMPLATE_VBoxRc_CXXFLAGS)) -O0 $(VBOX_GCC_nopie)
|
||||
+ TEMPLATE_VBoxRcExe_LDFLAGS = -g $(VBOX_GCC_nopie)
|
||||
TEMPLATE_VBoxRcExe_LDFLAGS.dbgopt = -g
|
||||
TEMPLATE_VBoxRcExe_LDFLAGS.strict = -g
|
||||
TEMPLATE_VBoxRcExe_LDFLAGS.release = -g
|
||||
@@ -3009,8 +3010,8 @@ endif # pe
|
||||
|
||||
ifeq ($(VBOX_LDR_FMT),elf)
|
||||
TEMPLATE_VBoxR0_TOOL = $(VBOX_GCC_TOOL)
|
||||
-TEMPLATE_VBoxR0_CFLAGS = -nostdinc -g $(VBOX_GCC_pipe) $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_C) $(VBOX_GCC_Wno-variadic-macros) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) -fno-strict-aliasing -fno-exceptions $(VBOX_GCC_fno-stack-protector) -fno-common $(VBOX_GCC_fvisibility-hidden) -std=gnu99
|
||||
-TEMPLATE_VBoxR0_CXXFLAGS = -nostdinc -g $(VBOX_GCC_pipe) $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_CXX) $(VBOX_GCC_Wno-variadic-macros) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) -fno-strict-aliasing -fno-exceptions $(VBOX_GCC_fno-stack-protector) -fno-common $(VBOX_GCC_fvisibility-inlines-hidden) $(VBOX_GCC_fvisibility-hidden) -fno-rtti
|
||||
+TEMPLATE_VBoxR0_CFLAGS = -nostdinc -g $(VBOX_GCC_pipe) $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_C) $(VBOX_GCC_Wno-variadic-macros) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) -fno-strict-aliasing -fno-exceptions $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie) -fno-common $(VBOX_GCC_fvisibility-hidden) -std=gnu99
|
||||
+TEMPLATE_VBoxR0_CXXFLAGS = -nostdinc -g $(VBOX_GCC_pipe) $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_CXX) $(VBOX_GCC_Wno-variadic-macros) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) -fno-strict-aliasing -fno-exceptions $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie) -fno-common $(VBOX_GCC_fvisibility-inlines-hidden) $(VBOX_GCC_fvisibility-hidden) -fno-rtti
|
||||
TEMPLATE_VBoxR0_CFLAGS.amd64 = -m64 -mno-red-zone -mcmodel=kernel -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-asynchronous-unwind-tables -ffreestanding
|
||||
TEMPLATE_VBoxR0_CXXFLAGS.amd64 = -m64 -mno-red-zone -mcmodel=kernel -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-asynchronous-unwind-tables
|
||||
ifeq ($(KBUILD_TARGET),solaris)
|
||||
@@ -3039,12 +3040,12 @@ TEMPLATE_VBoxR0_TOOL = GXX4MACHO
|
||||
TEMPLATE_VBoxR0_DEFS += $(VBOX_DARWIN_DEF_SDK_DEFS)
|
||||
TEMPLATE_VBoxR0_CXXFLAGS = $(VBOX_DARWIN_DEF_SDK_CXXFLAGS) -nostdinc -g $(VBOX_GCC_pipe) $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_CXX) $(VBOX_GCC_Wno-variadic-macros) \
|
||||
-fno-common -msoft-float -static -fno-rtti -fno-exceptions $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) -fno-strict-aliasing \
|
||||
- -mno-sse -mno-mmx -mno-sse2 -mno-3dnow $(VBOX_GCC_fno-stack-protector)
|
||||
+ -mno-sse -mno-mmx -mno-sse2 -mno-3dnow $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie)
|
||||
TEMPLATE_VBoxR0_CXXFLAGS.amd64 = -m64 -mno-red-zone -mno-sse3 -mno-sse4 -mno-sse4.1 -mno-sse4.2 -mno-sse4a -fno-unwind-tables
|
||||
TEMPLATE_VBoxR0_CXXFLAGS.x86 = -m32
|
||||
TEMPLATE_VBoxR0_CFLAGS = $(VBOX_DARWIN_DEF_SDK_CFLAGS) -nostdinc -g $(VBOX_GCC_pipe) $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_C) $(VBOX_GCC_Wno-variadic-macros) \
|
||||
-fno-common -msoft-float -static -fno-exceptions $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) -fno-strict-aliasing \
|
||||
- -mno-sse -mno-mmx -mno-sse2 -mno-3dnow $(VBOX_GCC_fno-stack-protector)
|
||||
+ -mno-sse -mno-mmx -mno-sse2 -mno-3dnow $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie)
|
||||
TEMPLATE_VBoxR0_CFLAGS.amd64 = -m64 -mno-red-zone -mno-sse3 -mno-sse4 -mno-sse4.1 -mno-sse4.2 -mno-sse4a -fno-unwind-tables
|
||||
TEMPLATE_VBoxR0_CFLAGS.x86 = -m32
|
||||
TEMPLATE_VBoxR0_LDFLAGS = $(VBOX_DARWIN_DEF_SDK_LDFLAGS) -nostdlib
|
||||
@@ -3114,7 +3115,7 @@ TEMPLATE_VBOXR0DRV_DEFS += __KERNEL_
|
||||
TEMPLATE_VBOXR0DRV_INCS = $(VBOX_LINUX_INCS)
|
||||
TEMPLATE_VBOXR0DRV_CFLAGS = -nostdinc -iwithprefix include $(VBOX_LINUX_INCLUDE) \
|
||||
$(VBOX_GCC_WARN) -Wstrict-prototypes $(VBOX_GCC_Wno-pointer-sign) -Wno-sign-compare $(VBOX_GCC_fdiagnostics-show-option) \
|
||||
- $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) \
|
||||
+ $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) \
|
||||
-fno-strict-aliasing -fno-common -Werror-implicit-function-declaration
|
||||
TEMPLATE_VBOXR0DRV_CFLAGS.x86 = -mpreferred-stack-boundary=2 -msoft-float
|
||||
TEMPLATE_VBOXR0DRV_CFLAGS.amd64 = -m64 -mno-red-zone -mcmodel=kernel -mno-sse -mno-mmx -mno-sse2 -mno-3dnow \
|
||||
@@ -3242,7 +3243,7 @@ TEMPLATE_VBOXR0DRV_CFLAGS = \
|
||||
-Wstrict-prototypes -Wmissing-prototypes -Wstrict-prototypes \
|
||||
-Wimplicit-function-declaration -Werror-implicit-function-declaration \
|
||||
-O2 -fformat-extensions -ffreestanding -fno-strict-aliasing -fno-common -finline-limit=8000 \
|
||||
- $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) \
|
||||
+ $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) \
|
||||
-nostdinc -std=c99
|
||||
TEMPLATE_VBOXR0DRV_CFLAGS.x86 = -m32 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2
|
||||
TEMPLATE_VBOXR0DRV_CFLAGS.amd64 = -m64 --param inline-unit-growth=100 --param large-function-growth=1000 \
|
||||
@@ -3251,7 +3252,7 @@ TEMPLATE_VBOXR0DRV_CFLAGS.amd64 = -m64 --pa
|
||||
TEMPLATE_VBOXR0DRV_CXXFLAGS = -fno-exceptions -fno-rtti \
|
||||
$(VBOX_GCC_WARN) -Wpointer-arith -Winline \
|
||||
-O2 -fno-format-extensions -fno-strict-aliasing -fno-common -finline-limit=8000 \
|
||||
- $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) \
|
||||
+ $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) \
|
||||
-nostdinc
|
||||
TEMPLATE_VBOXR0DRV_CXXFLAGS.x86 = $(TEMPLATE_VBOXR0DRV_CFLAGS.x86)
|
||||
TEMPLATE_VBOXR0DRV_CXXFLAGS.amd64 = $(TEMPLATE_VBOXR0DRV_CFLAGS.amd64)
|
||||
@@ -3827,8 +3828,8 @@ else
|
||||
TEMPLATE_VBOXNOCRTGCC_TOOL = $(VBOX_GCC_TOOL)
|
||||
TEMPLATE_VBOXNOCRTGCC_ASTOOL = $(VBOX_ASTOOL)
|
||||
TEMPLATE_VBOXNOCRTGCC_ASFLAGS = $(VBOX_ASFLAGS)
|
||||
- TEMPLATE_VBOXNOCRTGCC_CFLAGS += $(VBOX_GCC_fno-stack-protector)
|
||||
- TEMPLATE_VBOXNOCRTGCC_CXXFLAGS += $(VBOX_GCC_fno-stack-protector)
|
||||
+ TEMPLATE_VBOXNOCRTGCC_CFLAGS += $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie)
|
||||
+ TEMPLATE_VBOXNOCRTGCC_CXXFLAGS += $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie)
|
||||
ifeq ($(KBUILD_TARGET_ARCH),amd64)
|
||||
# in 64-bit mode we'll build a sys-module (VBoxREM2).
|
||||
if1of ($(KBUILD_TARGET), darwin solaris)
|
||||
@@ -4643,7 +4644,7 @@ TEMPLATE_VBOXLNXHOSTR3EXE_ASTOOL = YASM
|
||||
TEMPLATE_VBOXLNXHOSTR3EXE_ASFLAGS = $(VBOX_ASFLAGS)
|
||||
TEMPLATE_VBOXLNXHOSTR3EXE_DLLSUFF = .so
|
||||
TEMPLATE_VBOXLNXHOSTR3EXE_DEFS = IN_RING3 $(ARCH_BITS_DEFS)
|
||||
-TEMPLATE_VBOXLNXHOSTR3EXE_CXXFLAGS = -g $(VBOX_GCC_pipe) $(VBOX_GCC_PEDANTIC_CXX) $(VBOX_GCC_fno-stack-protector)
|
||||
+TEMPLATE_VBOXLNXHOSTR3EXE_CXXFLAGS = -g $(VBOX_GCC_pipe) $(VBOX_GCC_PEDANTIC_CXX) $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie)
|
||||
TEMPLATE_VBOXLNXHOSTR3EXE_CXXFLAGS.debug = -fno-inline
|
||||
TEMPLATE_VBOXLNXHOSTR3EXE_CXXFLAGS.release = -O2 -fno-omit-frame-pointer -fno-strict-aliasing
|
||||
TEMPLATE_VBOXLNXHOSTR3EXE_CXXFLAGS.profile = $(TEMPLATE_VBOXLNXHOSTR3EXE_CXXFLAGS.release)
|
||||
@@ -4652,7 +4653,7 @@ TEMPLATE_VBOXLNXHOSTR3EXE_CFLAGS.release = $(TE
|
||||
TEMPLATE_VBOXLNXHOSTR3EXE_CFLAGS.debug = $(TEMPLATE_VBOXLNXHOSTR3EXE_CXXFLAGS.debug)
|
||||
TEMPLATE_VBOXLNXHOSTR3EXE_CFLAGS.profile = $(TEMPLATE_VBOXLNXHOSTR3EXE_CXXFLAGS.profile)
|
||||
TEMPLATE_VBOXLNXHOSTR3EXE_CFLAGS.kprofile = $(TEMPLATE_VBOXLNXHOSTR3EXE_CXXFLAGS.kprofile)
|
||||
-TEMPLATE_VBOXLNXHOSTR3EXE_CFLAGS = -g $(VBOX_GCC_pipe) $(VBOX_GCC_PEDANTIC_C) $(VBOX_GCC_fno-stack-protector)
|
||||
+TEMPLATE_VBOXLNXHOSTR3EXE_CFLAGS = -g $(VBOX_GCC_pipe) $(VBOX_GCC_PEDANTIC_C) $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie)
|
||||
TEMPLATE_VBOXLNXHOSTR3EXE_LIBS = pthread m rt dl
|
||||
|
||||
TEMPLATE_VBOXLNXHOSTR3LIB = Template for linux host libraries.
|
||||
@@ -4836,8 +4837,8 @@ if1of ($(KBUILD_TARGET), dragonfly freebsd linux n
|
||||
TEMPLATE_VBOXGUESTR3XF86MOD_LDFLAGS.x86 = -m elf_i386
|
||||
TEMPLATE_VBOXGUESTR3XF86MOD_LDFLAGS.amd64 = -m elf_x86_64
|
||||
endif
|
||||
-TEMPLATE_VBOXGUESTR3XF86MOD_CFLAGS = $(TEMPLATE_VBOXGUESTR3EXE_CFLAGS) -fno-merge-constants -std=c99 $(VBOX_GCC_fno-stack-protector) -ffreestanding
|
||||
-TEMPLATE_VBOXGUESTR3XF86MOD_CXXFLAGS= $(TEMPLATE_VBOXGUESTR3EXE_CXXFLAGS) -fno-merge-constants $(VBOX_GCC_fno-stack-protector) -ffreestanding
|
||||
+TEMPLATE_VBOXGUESTR3XF86MOD_CFLAGS = $(TEMPLATE_VBOXGUESTR3EXE_CFLAGS) -fno-merge-constants -std=c99 $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie) -ffreestanding
|
||||
+TEMPLATE_VBOXGUESTR3XF86MOD_CXXFLAGS= $(TEMPLATE_VBOXGUESTR3EXE_CXXFLAGS) -fno-merge-constants $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie) -ffreestanding
|
||||
TEMPLATE_VBOXGUESTR3XF86MOD_SYSSUFF = .o
|
||||
TEMPLATE_VBOXGUESTR3XF86MOD_LIBS = \
|
||||
$(VBOX_LIB_VBGL_R3_XFREE86)
|
@ -1,36 +0,0 @@
|
||||
--- configure
|
||||
+++ configure
|
||||
@@ -1225,10 +1225,7 @@
|
||||
XCloseDisplay(dpy);
|
||||
}
|
||||
EOF
|
||||
- [ -n "$INCX11" ] && I_INCX11=`prefix_I "$INCX11"`
|
||||
- if test_compile "$LIBX11 $I_INCX11" Xlibs Xlibs; then
|
||||
- log_success "found"
|
||||
- fi
|
||||
+ test_compile "$LIBX11 $I_INCX11" Xlibs Xlibs
|
||||
}
|
||||
|
||||
|
||||
@@ -1382,21 +1379,6 @@
|
||||
#include <GL/glu.h>
|
||||
extern "C" int main(void)
|
||||
{
|
||||
- Display *dpy;
|
||||
- int major, minor;
|
||||
-
|
||||
- dpy = XOpenDisplay(NULL);
|
||||
- if (dpy)
|
||||
- {
|
||||
- Bool glx_version = glXQueryVersion(dpy, &major, &minor);
|
||||
- XCloseDisplay(dpy);
|
||||
- if (glx_version)
|
||||
- {
|
||||
- printf("found version %u.%u, OK.\n", major, minor);
|
||||
- return 0;
|
||||
- }
|
||||
- }
|
||||
- printf("found (inactive), OK.\n");
|
||||
return 0;
|
||||
}
|
||||
EOF
|
@ -0,0 +1,256 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.5.14.ebuild,v 1.1 2012/09/29 06:32:32 tetromino Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit autotools eutils flag-o-matic multilib pax-utils
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="git://source.winehq.org/git/wine.git"
|
||||
inherit git-2
|
||||
SRC_URI=""
|
||||
#KEYWORDS=""
|
||||
else
|
||||
MY_P="${PN}-${PV/_/-}"
|
||||
SRC_URI="mirror://sourceforge/${PN}/Source/${MY_P}.tar.bz2"
|
||||
KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
fi
|
||||
|
||||
GV="1.7"
|
||||
MV="0.0.4"
|
||||
PULSE_PATCH="winepulse-2012.06.15.patch"
|
||||
DESCRIPTION="free implementation of Windows(tm) on Unix"
|
||||
HOMEPAGE="http://www.winehq.org/"
|
||||
SRC_URI="${SRC_URI}
|
||||
gecko? (
|
||||
mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86.msi
|
||||
win64? ( mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86_64.msi )
|
||||
)
|
||||
mono? ( mirror://sourceforge/${PN}/Wine%20Mono/${MV}/wine-mono-${MV}.msi )
|
||||
http://source.winehq.org/patches/data/87234 -> ${PULSE_PATCH}"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
IUSE="alsa capi cups custom-cflags elibc_glibc fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jpeg lcms ldap +mono mp3 ncurses nls odbc openal opencl +opengl osmesa +oss +perl png pulseaudio samba scanner selinux ssl test +threads +truetype udisks v4l +win32 +win64 +X xcomposite xinerama xml"
|
||||
REQUIRED_USE="elibc_glibc? ( threads )
|
||||
mono? ( || ( win32 !win64 ) )
|
||||
osmesa? ( opengl )" #286560
|
||||
RESTRICT="test" #72375
|
||||
|
||||
MLIB_DEPS="amd64? (
|
||||
truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 )
|
||||
X? (
|
||||
>=app-emulation/emul-linux-x86-xlibs-2.1
|
||||
>=app-emulation/emul-linux-x86-soundlibs-2.1[pulseaudio(+)?]
|
||||
)
|
||||
mp3? ( app-emulation/emul-linux-x86-soundlibs )
|
||||
odbc? ( app-emulation/emul-linux-x86-db )
|
||||
openal? ( app-emulation/emul-linux-x86-sdl )
|
||||
opengl? ( app-emulation/emul-linux-x86-opengl )
|
||||
scanner? ( app-emulation/emul-linux-x86-medialibs )
|
||||
v4l? ( app-emulation/emul-linux-x86-medialibs )
|
||||
app-emulation/emul-linux-x86-baselibs
|
||||
>=sys-kernel/linux-headers-2.6
|
||||
)"
|
||||
RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts )
|
||||
perl? ( dev-lang/perl dev-perl/XML-Simple )
|
||||
capi? ( net-dialup/capi4k-utils )
|
||||
ncurses? ( >=sys-libs/ncurses-5.2 )
|
||||
fontconfig? ( media-libs/fontconfig )
|
||||
gphoto2? ( media-libs/libgphoto2 )
|
||||
openal? ( media-libs/openal )
|
||||
udisks? (
|
||||
sys-apps/dbus
|
||||
sys-fs/udisks:2
|
||||
)
|
||||
gnutls? ( net-libs/gnutls )
|
||||
gstreamer? ( media-libs/gstreamer media-libs/gst-plugins-base )
|
||||
X? (
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXi
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXxf86vm
|
||||
)
|
||||
xinerama? ( x11-libs/libXinerama )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
cups? ( net-print/cups )
|
||||
opencl? ( virtual/opencl )
|
||||
opengl? (
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
)
|
||||
gsm? ( media-sound/gsm )
|
||||
jpeg? ( virtual/jpeg )
|
||||
ldap? ( net-nds/openldap )
|
||||
lcms? ( =media-libs/lcms-1* )
|
||||
mp3? ( >=media-sound/mpg123-1.5.0 )
|
||||
nls? ( sys-devel/gettext )
|
||||
odbc? ( dev-db/unixODBC )
|
||||
osmesa? ( media-libs/mesa[osmesa] )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
samba? ( >=net-fs/samba-3.0.25 )
|
||||
selinux? ( sec-policy/selinux-wine )
|
||||
xml? ( dev-libs/libxml2 dev-libs/libxslt )
|
||||
scanner? ( media-gfx/sane-backends )
|
||||
ssl? ( dev-libs/openssl )
|
||||
png? ( media-libs/libpng )
|
||||
v4l? ( media-libs/libv4l )
|
||||
!win64? ( ${MLIB_DEPS} )
|
||||
win32? ( ${MLIB_DEPS} )
|
||||
xcomposite? ( x11-libs/libXcomposite )"
|
||||
DEPEND="${RDEPEND}
|
||||
X? (
|
||||
x11-proto/inputproto
|
||||
x11-proto/xextproto
|
||||
x11-proto/xf86vidmodeproto
|
||||
)
|
||||
xinerama? ( x11-proto/xineramaproto )
|
||||
!hardened? ( sys-devel/prelink )
|
||||
virtual/pkgconfig
|
||||
virtual/yacc
|
||||
sys-devel/flex"
|
||||
|
||||
src_unpack() {
|
||||
if use win64 ; then
|
||||
[[ $(( $(gcc-major-version) * 100 + $(gcc-minor-version) )) -lt 404 ]] \
|
||||
&& die "you need gcc-4.4+ to build 64bit wine"
|
||||
fi
|
||||
|
||||
if use win32 && use opencl; then
|
||||
[[ x$(eselect opencl show) = "xintel" ]] &&
|
||||
die "Cannot build wine[opencl,win32]: intel-ocl-sdk is 64-bit only" # 403947
|
||||
fi
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
git-2_src_unpack
|
||||
else
|
||||
unpack ${MY_P}.tar.bz2
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local md5="$(md5sum server/protocol.def)"
|
||||
epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726
|
||||
epatch "${FILESDIR}"/${PN}-1.4_rc2-multilib-portage.patch #395615
|
||||
epatch "${FILESDIR}"/${PN}-1.5.11-osmesa-check.patch #429386
|
||||
epatch "${DISTDIR}/${PULSE_PATCH}" #421365
|
||||
epatch_user #282735
|
||||
if [[ "$(md5sum server/protocol.def)" != "${md5}" ]]; then
|
||||
einfo "server/protocol.def was patched; running tools/make_requests"
|
||||
tools/make_requests || die #432348
|
||||
fi
|
||||
eautoreconf
|
||||
sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die
|
||||
sed -i '/^MimeType/d' tools/wine.desktop || die #117785
|
||||
}
|
||||
|
||||
do_configure() {
|
||||
local builddir="${WORKDIR}/wine$1"
|
||||
mkdir -p "${builddir}"
|
||||
pushd "${builddir}" >/dev/null
|
||||
|
||||
with_osmesa=$(use_with osmesa)
|
||||
if use osmesa && use amd64 && [[ $1 = 32 ]]; then #430268
|
||||
elog "win32 osmesa support is disabled for now, see bug #430268"
|
||||
with_osmesa=--without-osmesa
|
||||
fi
|
||||
|
||||
ECONF_SOURCE=${S} \
|
||||
econf \
|
||||
--sysconfdir=/etc/wine \
|
||||
$(use_with alsa) \
|
||||
$(use_with capi) \
|
||||
$(use_with lcms cms) \
|
||||
$(use_with cups) \
|
||||
$(use_with ncurses curses) \
|
||||
$(use_with udisks dbus) \
|
||||
$(use_with fontconfig) \
|
||||
$(use_with gnutls) \
|
||||
$(use_with gphoto2 gphoto) \
|
||||
$(use_with gsm) \
|
||||
$(use_with gstreamer) \
|
||||
--without-hal \
|
||||
$(use_with jpeg) \
|
||||
$(use_with ldap) \
|
||||
$(use_with mp3 mpg123) \
|
||||
$(use_with nls gettext) \
|
||||
$(use_with openal) \
|
||||
$(use_with opencl) \
|
||||
$(use_with opengl) \
|
||||
$(use_with ssl openssl) \
|
||||
${with_osmesa} \
|
||||
$(use_with oss) \
|
||||
$(use_with png) \
|
||||
$(use_with threads pthread) \
|
||||
$(use_with pulseaudio pulse) \
|
||||
$(use_with scanner sane) \
|
||||
$(use_enable test tests) \
|
||||
$(use_with truetype freetype) \
|
||||
$(use_with v4l) \
|
||||
$(use_with X x) \
|
||||
$(use_with xcomposite) \
|
||||
$(use_with xinerama) \
|
||||
$(use_with xml) \
|
||||
$(use_with xml xslt) \
|
||||
$2
|
||||
|
||||
emake -j1 depend
|
||||
|
||||
popd >/dev/null
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export LDCONFIG=/bin/true
|
||||
use custom-cflags || strip-flags
|
||||
|
||||
if use win64 ; then
|
||||
do_configure 64 --enable-win64
|
||||
use win32 && ABI=x86 do_configure 32 --with-wine64=../wine64
|
||||
else
|
||||
ABI=x86 do_configure 32 --disable-win64
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local b
|
||||
for b in 64 32 ; do
|
||||
local builddir="${WORKDIR}/wine${b}"
|
||||
[[ -d ${builddir} ]] || continue
|
||||
emake -C "${builddir}" all
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local b
|
||||
for b in 64 32 ; do
|
||||
local builddir="${WORKDIR}/wine${b}"
|
||||
[[ -d ${builddir} ]] || continue
|
||||
emake -C "${builddir}" install DESTDIR="${D}"
|
||||
done
|
||||
dodoc ANNOUNCE AUTHORS README
|
||||
if use gecko ; then
|
||||
insinto /usr/share/wine/gecko
|
||||
doins "${DISTDIR}"/wine_gecko-${GV}-x86.msi
|
||||
use win64 && doins "${DISTDIR}"/wine_gecko-${GV}-x86_64.msi
|
||||
fi
|
||||
if use mono ; then
|
||||
insinto /usr/share/wine/mono
|
||||
doins "${DISTDIR}"/wine-mono-${MV}.msi
|
||||
fi
|
||||
if ! use perl ; then
|
||||
rm "${D}"usr/bin/{wine{dump,maker},function_grep.pl} "${D}"usr/share/man/man1/wine{dump,maker}.1 || die
|
||||
fi
|
||||
|
||||
if use win32 || ! use win64; then
|
||||
pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055
|
||||
fi
|
||||
use win64 && pax-mark psmr "${D}"usr/bin/wine64{,-preloader}
|
||||
|
||||
if use win64 && ! use win32; then
|
||||
dosym /usr/bin/wine{64,} # 404331
|
||||
dosym /usr/bin/wine{64,}-preloader
|
||||
fi
|
||||
}
|
@ -0,0 +1,66 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xtrs/xtrs-4.9d-r1.ebuild,v 1.1 2012/09/28 20:34:00 ulm Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="Radio Shack TRS-80 emulator"
|
||||
HOMEPAGE="http://www.tim-mann.org/xtrs.html"
|
||||
SRC_URI="http://www.tim-mann.org/trs80/${P}.tar.gz
|
||||
ldos? ( http://www.tim-mann.org/trs80/ld4-631.zip )"
|
||||
|
||||
LICENSE="xtrs ldos? ( freedist )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
|
||||
IUSE="ldos"
|
||||
|
||||
DEPEND="sys-libs/ncurses
|
||||
sys-libs/readline
|
||||
>=x11-libs/libX11-1.0.0"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's/$(CC) -o/$(CC) $(LDFLAGS) -o/' Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
use ppc && append-flags -Dbig_endian
|
||||
emake CC="$(tc-getCC)" DEBUG="${CFLAGS}" LDFLAGS="${LDFLAGS}" \
|
||||
DISKDIR="-DDISKDIR='\"/usr/share/xtrs\"'" \
|
||||
DEFAULT_ROM="-DDEFAULT_ROM='\"/usr/share/xtrs/romimage\"' \
|
||||
-DDEFAULT_ROM3='\"/usr/share/xtrs/romimage.m3\"' \
|
||||
-DDEFAULT_ROM4P='\"/usr/share/xtrs/romimage.m4p\"'"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr/bin /usr/share/xtrs/disks /usr/share/man/man1
|
||||
emake PREFIX="${D}"/usr install
|
||||
|
||||
insopts -m0444
|
||||
insinto /usr/share/xtrs/disks
|
||||
doins cpmutil.dsk utility.dsk
|
||||
|
||||
if use ldos; then
|
||||
doins "${WORKDIR}"/ld4-631.dsk
|
||||
dosym disks/ld4-631.dsk /usr/share/xtrs/disk4p-0
|
||||
dosym disks/utility.dsk /usr/share/xtrs/disk4p-1
|
||||
fi
|
||||
|
||||
dodoc ChangeLog README xtrsrom4p.README cpmutil.html dskspec.html
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "For copyright reasons, xtrs does not include actual ROM images."
|
||||
ewarn "Because of this, unless you supply your own ROM, xtrs will"
|
||||
ewarn "not function in any mode except 'Model 4p' mode (a minimal"
|
||||
ewarn "free ROM is included for this), which can be run like this:"
|
||||
ewarn " xtrs -model 4p"
|
||||
elog ""
|
||||
elog "If you already own a copy of the ROM software (e.g., if you have"
|
||||
elog "a TRS-80 with this ROM), then you can make yourself a copy of this"
|
||||
elog "for use with xtrs using utilities available on the web. You can"
|
||||
elog "also often find various ROMs elsewhere. To load your own ROM,"
|
||||
elog "specify the '-romfile' option."
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
DIST beanstalkd-1.3.tar.gz 116114 SHA256 3d3eb36bf2932e6f3c4e6851420e8e579b2c4ae19f0297d8fd384c7461b4d885 SHA512 d616859ea2451d370d13b8e7538d0e5638f65181826e708f4139f274344f9e2717209ceb0ea41e002fb9d6d12926c7d08d4c91f6966920631f8c7996347aeba8 WHIRLPOOL 4f065e4dd207beba3bd73681f01292d90da3749033d462168f3e0af33022829ca6ee47260fb2189ad702129569342c70e02815f90fa81cb16ff2bb9cddddb218
|
||||
DIST beanstalkd-1.4.6.tar.gz 140858 SHA256 a03aca5ccd87c2a1bb6cdaf38d3463c9f987090f4eb6cd9c7f6e03d3d54d3ac9 SHA512 07cd77540367c25cdd16bea6f46a5e43162a13d59e96a6821465bfc950e6fbac2e28e0e1cb0f5b6d1483b493b59daad68c0d99672edeeb4f709d6b835d76eb64 WHIRLPOOL cd7f35ad0432000894a186803b01dbf963146fcb5473fc185dd918987a3235df98fbc743d6bcf80b7d364532b772fbde723e13c649d15fa40870c256e6ea542a
|
||||
DIST beanstalkd-1.5.tar.gz 61494 SHA256 ad39ccca490f58dc48df8609e2b6acfddcd200890c62f3d4b0d1ac4de713467e SHA512 0f104c66ef2b47829a5f212059e2fa89fda6f587d621b9b3420fd9b9bfac4570eebda7df60b0b420d7f461f2770e08d527dc5c8ab4ed9d15ba3711b1a58a0c54 WHIRLPOOL 9abf33851262eba39c309476687f6816b53d03590a8ad8c31c8f7f64cc696110b98f4b7db9cd03f0a606b0b7c9ee8cecadf120f23fc7e2861cf0635a9839138e
|
||||
DIST beanstalkd-1.6.tar.gz 59880 SHA256 f39aa9de0692272b0249134cdf4f0e0c42da7755bad600403ac90e34bac235af SHA512 acc770d9dd27387ccc9648e53e565221809eb70523296c7dbb5d995b667c75655564c048ff5bcce4f957cd2ab1b31fcbcab4316e79db28dea8b5964580d24090 WHIRLPOOL b50f08f700a90182be56a63c133e8a29ece7c0ee4ecad0f595f7cfdc03064b4ab31fc5f4cf1c4b7d57d50737f2114fe90c561c0f222ad1fe60f19674d0ffa03f
|
||||
DIST beanstalkd-1.7.tar.gz 59829 SHA256 1d851677096d3cee4ee5710ee6cf1cebe8f2b5d9fa05792561ab55b534cbdaf8 SHA512 86919bc4d07b410ebedcd4d07da6f755dca2cff2d9e3ae7e829edae80018d7082f3727cd51dc76f2d13e6955c7d32439ab0cec70cbd0677231e553e857a3ee17 WHIRLPOOL 1f2605039cd59f87d0b7c09bc6706e3c38d53501cb95bccfa1cea20db33a877ad18f484503acd0417185d50fcb74a2e960751f9d208d878d7e8868bb169ff35b
|
||||
|
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/beanstalkd/beanstalkd-1.3.ebuild,v 1.8 2012/06/01 00:26:21 zmedico Exp $
|
||||
|
||||
inherit eutils user
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
DESCRIPTION="A fast, distributed, in-memory workqueue service"
|
||||
HOMEPAGE="http://xph.us/software/beanstalkd/"
|
||||
SRC_URI="http://xph.us/dist/beanstalkd/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~mips x86 ~sparc-fbsd ~x86-fbsd"
|
||||
|
||||
RDEPEND=">=dev-libs/libevent-1.4.7"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
IUSE=""
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed."
|
||||
|
||||
dodoc README TODO doc/*.txt
|
||||
|
||||
newconfd "${FILESDIR}/conf" beanstalkd
|
||||
newinitd "${FILESDIR}/init" beanstalkd
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
enewuser beanstalk -1 -1 /dev/null daemon
|
||||
}
|
@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/beanstalkd/beanstalkd-1.4.6.ebuild,v 1.9 2012/06/01 00:26:21 zmedico Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit eutils user
|
||||
|
||||
DESCRIPTION="A fast, distributed, in-memory workqueue service"
|
||||
HOMEPAGE="http://xph.us/software/beanstalkd/"
|
||||
SRC_URI="http://xph.us/dist/beanstalkd/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~mips x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x64-macos ~x86-macos"
|
||||
|
||||
RDEPEND="dev-libs/libevent"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-lang/python )"
|
||||
|
||||
IUSE="debug test"
|
||||
|
||||
pkg_setup() {
|
||||
enewuser beanstalk -1 -1 /var/lib/beanstalkd daemon
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "$FILESDIR/beanstalkd-werror-v2.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--docdir="${EPREFIX}"/usr/share/${PF} \
|
||||
--with-event="${EPREFIX}"/usr \
|
||||
$(use_enable debug)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed."
|
||||
|
||||
DATADIR=/var/lib/${PN}
|
||||
dodir ${DATADIR} || die "Install failed"
|
||||
fowners beanstalk:daemon ${DATADIR}
|
||||
|
||||
dodoc README TODO doc/*.txt
|
||||
|
||||
newconfd "${FILESDIR}/conf-1.4.2" beanstalkd
|
||||
newinitd "${FILESDIR}/init-${PV}" beanstalkd
|
||||
}
|
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/beanstalkd/beanstalkd-1.7.ebuild,v 1.1 2012/10/01 03:07:18 patrick Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
PYTHON_DEPEND="test? 2"
|
||||
|
||||
inherit eutils python user
|
||||
|
||||
DESCRIPTION="A fast, distributed, in-memory workqueue service"
|
||||
HOMEPAGE="http://xph.us/software/beanstalkd/"
|
||||
SRC_URI="mirror://github/kr/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~mips ~x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x64-macos ~x86-macos"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND=""
|
||||
|
||||
IUSE="test"
|
||||
|
||||
pkg_setup() {
|
||||
enewuser beanstalk -1 -1 /var/lib/beanstalkd daemon
|
||||
python_set_active_version 2
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die "compile failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin beanstalkd
|
||||
|
||||
DATADIR=/var/lib/${PN}
|
||||
dodir ${DATADIR}
|
||||
fowners beanstalk:daemon ${DATADIR}
|
||||
|
||||
doman doc/"${PN}".1
|
||||
|
||||
dodoc README NEWS.md doc/*.txt
|
||||
|
||||
newconfd "${FILESDIR}/conf-1.4.2" beanstalkd
|
||||
newinitd "${FILESDIR}/init-${PV}" beanstalkd
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of MIT
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/beanstalkd/files/init-1.7,v 1.1 2012/10/01 03:07:18 patrick Exp $
|
||||
|
||||
depend() {
|
||||
need net
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting beanstalkd"
|
||||
/sbin/start-stop-daemon --start \
|
||||
--background \
|
||||
--pidfile ${PIDFILE} --make-pidfile \
|
||||
--exec ${BEANSTALKD_BINARY} \
|
||||
-- -b ${DATADIR} -p ${PORT} -l ${ADDR} -u ${USER}
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping beanstalkd"
|
||||
start-stop-daemon --stop --quiet \
|
||||
--pidfile ${PIDFILE} \
|
||||
--exec ${BEANSTALKD_BINARY}
|
||||
eend $?
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST nut-17.12.tar.gz 1274051 SHA256 b2fbaa92cbb0351efc4b9a679c6fddb31ba56dd87c798fafecff12d21bb7d669 SHA512 eeefb7c0f0da918475ea1ef3a569f758d026fd6037579087b3e16d08d1fd026bff74466eca256e88de66676f5f782354fedb39f6546f13cca1fec4aff3782bcc WHIRLPOOL a0132c69591e14f137168efdd751cedaf832b42292ff0dec6d836eeccdc45dd43f07fb812df73bdcb58f54e9490be0fc16e14ddd76f270f7f3afd72db2166653
|
||||
DIST nut-17.7.tar.gz 1315707 SHA256 b41a9bf1687d6a7ce4a17b1afea19b0976a6828ec423c5b48ce648b80dbb5a5a SHA512 9f89d64a3b2a41835e845d272d57a905446e14626902106b2a88e1954748d4b7b33d7b2d0ea54e6d91cb6108667b9e187b57d5d9bc87eca1c9c799547d4d36de WHIRLPOOL 03ebba9de669cbddcd8ede868f70d416e7e6399b5156127745468c87256131f4fc653b5e36ea0e86eb8bb2fc0f5abbc043862e82ad42514803994e36adbe9878
|
||||
DIST nut-18.0.tar.gz 1301699 SHA256 3bba7386686e36735465aa2f95d73c28d808717fed80d3618ac9bb6baeb3cb4d SHA512 19d8bba3b9484bb59119c0aa89184b81b2c482e90e9d3738ef0bfb4dfeabe2a81d94d00838ea3243d2b29e855db0b4129ed7ceeb46304d57d9e73677c5304f48 WHIRLPOOL bfe91c9a64feab1793a00756af556138f1836e3b233f5047cb2c79d8bbe04d9bb96459aacabdf8d85134b0b11c3fcb0adf0f7f8b1e91ab58aa4c2ef1ec76e40d
|
||||
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/nut/nut-18.0.ebuild,v 1.1 2012/09/29 20:59:28 radhermit Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Record what you eat and analyze your nutrient levels"
|
||||
HOMEPAGE="http://nut.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-17.12-makefile.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" OPT="${CFLAGS}" FOODDIR=\\\"/usr/share/nut\\\"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/nut
|
||||
doins raw.data/*
|
||||
dobin nut
|
||||
doman nut.1
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue