parent
d47c7edd5c
commit
b0da7c6258
@ -0,0 +1 @@
|
||||
DIST lziprecover-1.15.tar.gz 82763 SHA256 2adf0dfc77a0b2f93257d9f3f1171fc11121b43da55fa53715459b7fa93f1661 SHA512 407d836ca76de3ef393979cefb23fa86dc9a6af50f0733eb2f31e0b4404582b03e0e5429c537d8aed69e2ae12855e282afc0926cd9064b0cb5ce4fac702c7552 WHIRLPOOL b552cc9320b46630a14fb5010593acaf852449ca4c99685959340618877da59d9f662d441a36e5cd04358b598a1d21b1c8c81f2eff029a96bd469b04a62ed4ac
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/lziprecover/lziprecover-1.15.ebuild,v 1.1 2013/10/21 13:44:11 polynomial-c Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Lziprecover is a data recovery tool and decompressor for files in the lzip compressed data format."
|
||||
HOMEPAGE="http://www.nongnu.org/lzip/lziprecover.html"
|
||||
SRC_URI="http://download.savannah.gnu.org/releases-noredirect/lzip/${P}.tar.gz"
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
src_configure() {
|
||||
# not autotools-based
|
||||
./configure \
|
||||
--prefix="${EPREFIX}"/usr \
|
||||
CXX="$(tc-getCXX)" \
|
||||
CPPFLAGS="${CPPFLAGS}" \
|
||||
CXXFLAGS="${CXXFLAGS}" \
|
||||
LDFLAGS="${LDFLAGS}" || die
|
||||
}
|
@ -0,0 +1,47 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>polynomial-c@gentoo.org</email>
|
||||
<name>Lars Wendler</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
Lziprecover is a data recovery tool and decompressor for files in the lzip
|
||||
compressed data format (.lz), able to repair slightly damaged files,
|
||||
recover badly damaged files from two or more copies, extract data from
|
||||
damaged files, decompress files and test integrity of files.
|
||||
The lzip file format is designed for long-term data archiving. It is clean,
|
||||
provides very safe 4 factor integrity checking, and is backed by the
|
||||
recovery capabilities of lziprecover.
|
||||
Lziprecover is able to recover or decompress files produced by any of the
|
||||
compressors in the lzip family; lzip, plzip, minilzip/lzlib, clzip and
|
||||
pdlzip.
|
||||
Lziprecover makes lzip files resistant to bit-flip (one of the most common
|
||||
forms of data corruption), and can safely merge multiple damaged backup
|
||||
copies.
|
||||
If the cause of file corruption is damaged media, the combination GNU
|
||||
ddrescue + lziprecover is the best option for recovering data from multiple
|
||||
damaged copies.
|
||||
If a file is too damaged for lziprecover to repair it, all the recoverable
|
||||
data in all members of the file can be extracted with the '-D' option.
|
||||
Lziprecover is able to efficiently extract a range of bytes from a
|
||||
multi-member file, because it only decompresses the members containing the
|
||||
desired data.
|
||||
Lziprecover can print correct total file sizes and ratios even for
|
||||
multi-member files.
|
||||
When recovering data, lziprecover takes as arguments the names of the
|
||||
damaged files and writes zero or more recovered files depending on the
|
||||
operation selected and whether the recovery succeeded or not. The damaged
|
||||
files themselves are never modified.
|
||||
When decompressing or testing file integrity, lziprecover behaves like lzip
|
||||
or lunzip.
|
||||
To give you an idea of its possibilities, when merging two copies, each of
|
||||
them with one damaged area affecting 1 percent of the copy, the probability
|
||||
of obtaining a correct file is about 98 percent. With three such copies the
|
||||
probability rises to 99.97 percent. For large files (a few MB) with small
|
||||
errors (one sector damaged per copy), the probability approaches 100 percent
|
||||
even with only two copies.
|
||||
Lziprecover is not a replacement for regular backups, but a last line of
|
||||
defense for the case where the backups are also damaged.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -0,0 +1 @@
|
||||
DIST bareos-12.4.5.tar.gz 3496879 SHA256 2defc15ed4fb6483e1d45ea63bb9cb8ba009e2b31c7755544984f1813bf4e017 SHA512 a59e95bc9b4a5147d8254e6b802c411956d324571ac084f5cb11629ddad59d605cdad2ab7b86f001af8c32faf15070833f233a44cbefaf71d13cad05faaba5cf WHIRLPOOL c95492acb57729e45a6ff5d2ae1894de4ebdb9e416d9f8a5beeef89ccf563a12ea8d5cdb943c2b6ec5681fb2bf0d348fb5e089ecac571256a835b4fd1a4459c8
|
@ -0,0 +1,400 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/bareos/bareos-12.4.5.ebuild,v 1.1 2013/10/21 21:52:51 mschiff Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python2_{6,7} )
|
||||
PYTHON_REQ_USE="threads"
|
||||
|
||||
inherit eutils multilib python-single-r1 qt4-r2 user
|
||||
|
||||
DESCRIPTION="Featureful client/server network backup suite"
|
||||
HOMEPAGE="http://www.bareos.org/"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/Release/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="acl clientonly +director examples ipv6 logwatch mysql ndmp postgres python qt4
|
||||
readline scsi-crypto sql-pooling +sqlite3 ssl static +storage-daemon tcpd
|
||||
vim-syntax X"
|
||||
|
||||
DEPEND="
|
||||
!app-backup/bacula
|
||||
dev-libs/gmp
|
||||
!clientonly? (
|
||||
postgres? ( dev-db/postgresql-base[threads] )
|
||||
mysql? ( virtual/mysql )
|
||||
sqlite3? ( dev-db/sqlite:3 )
|
||||
director? ( virtual/mta )
|
||||
)
|
||||
qt4? (
|
||||
dev-qt/qtsvg:4
|
||||
x11-libs/qwt:5
|
||||
)
|
||||
logwatch? ( sys-apps/logwatch )
|
||||
tcpd? ( sys-apps/tcp-wrappers )
|
||||
readline? ( sys-libs/readline )
|
||||
static? (
|
||||
acl? ( virtual/acl[static-libs] )
|
||||
sys-libs/zlib[static-libs]
|
||||
dev-libs/lzo[static-libs]
|
||||
sys-libs/ncurses[static-libs]
|
||||
ssl? ( dev-libs/openssl[static-libs] )
|
||||
)
|
||||
!static? (
|
||||
acl? ( virtual/acl )
|
||||
sys-libs/zlib
|
||||
dev-libs/lzo
|
||||
sys-libs/ncurses
|
||||
ssl? ( dev-libs/openssl )
|
||||
)
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
!clientonly? (
|
||||
storage-daemon? (
|
||||
sys-block/mtx
|
||||
app-arch/mt-st
|
||||
)
|
||||
)
|
||||
vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
|
||||
|
||||
REQUIRED_USE="static? ( clientonly )
|
||||
python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
S=${WORKDIR}/${PN}-Release-${PV}
|
||||
|
||||
pkg_setup() {
|
||||
use mysql && export mydbtypes+="mysql"
|
||||
use postgres && export mydbtypes+=" postgresql"
|
||||
use sqlite3 && export mydbtypes+=" sqlite3"
|
||||
|
||||
# create the daemon group and user
|
||||
if [ -z "$(egetent group bareos 2>/dev/null)" ]; then
|
||||
enewgroup bareos
|
||||
einfo
|
||||
einfo "The group 'bareos' has been created. Any users you add to this"
|
||||
einfo "group have access to files created by the daemons."
|
||||
einfo
|
||||
fi
|
||||
|
||||
if use clientonly && use static && use qt4; then
|
||||
ewarn
|
||||
ewarn "Building statically linked 'bat' is not supported. Ignorig 'qt4' useflag."
|
||||
ewarn
|
||||
fi
|
||||
|
||||
if ! use clientonly; then
|
||||
if [ -z "$(egetent passwd bareos 2>/dev/null)" ]; then
|
||||
enewuser bareos -1 -1 /var/lib/bareos bareos,disk,tape,cdrom,cdrw
|
||||
einfo
|
||||
einfo "The user 'bareos' has been created. Please see the bareos manual"
|
||||
einfo "for information about running bareos as a non-root user."
|
||||
einfo
|
||||
fi
|
||||
fi
|
||||
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# adjusts default configuration files for several binaries
|
||||
# to /etc/bareos/<config> instead of ./<config>
|
||||
pushd src >&/dev/null || die
|
||||
for f in console/console.c dird/dird.c filed/filed.c \
|
||||
stored/bcopy.c stored/bextract.c stored/bls.c \
|
||||
stored/bscan.c stored/btape.c stored/stored.c \
|
||||
qt-console/main.cpp; do
|
||||
sed -i -e 's|^\(#define CONFIG_FILE "\)|\1/etc/bareos/|g' "${f}" \
|
||||
|| die "sed on ${f} failed"
|
||||
done
|
||||
popd >&/dev/null || die
|
||||
|
||||
# bug 466690 Use CXXFLAGS instead of CFLAGS
|
||||
sed -i -e 's/@CFLAGS@/@CXXFLAGS@/' autoconf/Make.common.in || die
|
||||
|
||||
# stop build for errors in subdirs
|
||||
epatch "${FILESDIR}"/${PN}-12.4.5-Makefile.patch
|
||||
|
||||
# bat needs to respect LDFLAGS
|
||||
epatch "${FILESDIR}"/${PN}-12.4.5-bat-ldflags.patch
|
||||
|
||||
# do not strip binaries
|
||||
for d in filed console dird stored; do
|
||||
sed -i -e "s/strip /# strip /" src/$d/Makefile.in || die
|
||||
done
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=''
|
||||
|
||||
if use clientonly; then
|
||||
myconf="${myconf} \
|
||||
$(use_enable clientonly client-only) \
|
||||
$(use_enable !static libtool) \
|
||||
$(use_enable static static-cons) \
|
||||
$(use_enable static static-fd)"
|
||||
fi
|
||||
|
||||
# do not build bat and traymonitor if 'static' clientonly
|
||||
if ! use clientonly || ! use static; then
|
||||
myconf="${myconf} \
|
||||
$(use_enable qt4 bat) \
|
||||
$(use_enable qt4 traymonitor)"
|
||||
fi
|
||||
|
||||
myconf="${myconf} \
|
||||
$(use_with X x) \
|
||||
$(use_enable acl) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable ndmp) \
|
||||
$(use_enable readline) \
|
||||
$(use_enable !readline conio) \
|
||||
$(use_enable scsi-crypto) \
|
||||
$(use_enable sql-pooling) \
|
||||
$(use_with mysql) \
|
||||
$(use_with postgres postgresql) \
|
||||
$(use_with python) \
|
||||
$(use_with readline readline /usr) \
|
||||
$(use_with sqlite3) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with tcpd tcp-wrappers) \
|
||||
"
|
||||
|
||||
econf \
|
||||
--libdir=/usr/$(get_libdir) \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
--htmldir=/usr/share/doc/${PF}/html \
|
||||
--with-pid-dir=/run \
|
||||
--sysconfdir=/etc/bareos \
|
||||
--with-subsys-dir=/run/lock/subsys \
|
||||
--with-working-dir=/var/lib/bareos \
|
||||
--with-logdir=/var/log/bareos \
|
||||
--with-scriptdir=/usr/libexec/bareos \
|
||||
--with-plugindir=/usr/$(get_libdir)/${PN}/plugin \
|
||||
--with-dir-user=bareos \
|
||||
--with-dir-group=bareos \
|
||||
--with-sd-user=root \
|
||||
--with-sd-group=bareos \
|
||||
--with-fd-user=root \
|
||||
--with-fd-group=bareos \
|
||||
--with-sbin-perm=0755 \
|
||||
--enable-smartalloc \
|
||||
--enable-dynamic-cats-backends \
|
||||
--enable-batch-insert \
|
||||
--disable-afs \
|
||||
--host=${CHOST} \
|
||||
${myconf}
|
||||
# correct configuration for QT based bat
|
||||
if use qt4 ; then
|
||||
pushd src/qt-console
|
||||
eqmake4
|
||||
popd
|
||||
pushd src/qt-tray-monitor
|
||||
eqmake4
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# workaround for build failing with high -j values
|
||||
# if ndmp is enabled
|
||||
use ndmp && MAKEOPTS="$MAKEOPTS -j1"
|
||||
|
||||
# Make build log verbose (bug #447806)
|
||||
emake NO_ECHO=""
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
doicon scripts/bareos.png
|
||||
|
||||
# install bat icon and desktop file when enabled
|
||||
# (for some reason ./configure doesn't pick this up)
|
||||
if use qt4 && ! use static ; then
|
||||
doicon src/images/bat.png
|
||||
domenu scripts/bat.desktop
|
||||
fi
|
||||
|
||||
# remove some scripts we don't need at all
|
||||
rm -f "${D}"/usr/libexec/bareos/{bareos,bareos-ctl-dir,bareos-ctl-fd,bareos-ctl-sd,startmysql,stopmysql}
|
||||
rm -f "${D}"/usr/sbin/bareos
|
||||
|
||||
# remove upstream init scripts
|
||||
rm -f "${D}"/etc/init.d/bareos-*
|
||||
|
||||
# rename statically linked apps
|
||||
if use clientonly && use static ; then
|
||||
pushd "${D}"/usr/sbin || die
|
||||
mv static-bareos-fd bareos-fd || die
|
||||
mv static-bconsole bconsole || die
|
||||
popd || die
|
||||
fi
|
||||
|
||||
# extra files which 'make install' doesn't cover
|
||||
if ! use clientonly; then
|
||||
# the logrotate configuration
|
||||
# (now unconditional wrt bug #258187)
|
||||
diropts -m0755
|
||||
insinto /etc/logrotate.d
|
||||
insopts -m0644
|
||||
newins "${S}"/scripts/logrotate bareos
|
||||
|
||||
# the logwatch scripts
|
||||
if use logwatch; then
|
||||
diropts -m0750
|
||||
dodir /etc/log.d/scripts/services
|
||||
dodir /etc/log.d/scripts/shared
|
||||
dodir /etc/log.d/conf/logfiles
|
||||
dodir /etc/log.d/conf/services
|
||||
pushd "${S}"/scripts/logwatch >&/dev/null || die
|
||||
emake DESTDIR="${D}" install
|
||||
popd >&/dev/null || die
|
||||
fi
|
||||
fi
|
||||
|
||||
rm -vf "${D}"/usr/share/man/man1/bareos-bwxconsole.1*
|
||||
if ! use qt4; then
|
||||
rm -vf "${D}"/usr/share/man/man1/bat.1*
|
||||
fi
|
||||
if use clientonly || ! use director; then
|
||||
rm -vf "${D}"/usr/share/man/man8/bareos-dir.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bareos-dbcheck.8*
|
||||
rm -vf "${D}"/usr/share/man/man1/bsmtp.1*
|
||||
rm -vf "${D}"/usr/share/man/man8/bwild.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bregex.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bpluginfo.8*
|
||||
rm -vf "${D}"/usr/libexec/bareos/create_*_database
|
||||
rm -vf "${D}"/usr/libexec/bareos/drop_*_database
|
||||
rm -vf "${D}"/usr/libexec/bareos/make_*_tables
|
||||
rm -vf "${D}"/usr/libexec/bareos/update_*_tables
|
||||
rm -vf "${D}"/usr/libexec/bareos/drop_*_tables
|
||||
rm -vf "${D}"/usr/libexec/bareos/grant_*_privileges
|
||||
rm -vf "${D}"/usr/libexec/bareos/*_catalog_backup
|
||||
fi
|
||||
if use clientonly || ! use storage-daemon; then
|
||||
rm -vf "${D}"/usr/share/man/man8/bareos-sd.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bcopy.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bextract.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bls.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bscan.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/btape.8*
|
||||
rm -vf "${D}"/usr/libexec/bareos/disk-changer
|
||||
rm -vf "${D}"/usr/libexec/bareos/mtx-changer
|
||||
rm -vf "${D}"/usr/libexec/bareos/dvd-handler
|
||||
rm -vf "${D}"/etc/bareos/mtx-changer.conf
|
||||
fi
|
||||
if ! use scsi-crypto; then
|
||||
rm -vf "${D}"/usr/share/man/man8/bscrypto.8*
|
||||
fi
|
||||
if ! use qt4; then
|
||||
rm -vf "${D}"/usr/share/man/man1/bareos-tray-monitor.1*
|
||||
fi
|
||||
|
||||
# documentation
|
||||
dodoc README.md
|
||||
use ndmp && dodoc README.NDMP
|
||||
use scsi-crypto && dodoc README.scsicrypto
|
||||
|
||||
# install examples (bug #457504)
|
||||
if use examples; then
|
||||
docinto examples/
|
||||
dodoc -r examples/*
|
||||
fi
|
||||
|
||||
# vim-files
|
||||
if use vim-syntax; then
|
||||
insinto /usr/share/vim/vimfiles/syntax
|
||||
doins scripts/bareos.vim
|
||||
insinto /usr/share/vim/vimfiles/ftdetect
|
||||
newins scripts/filetype.vim bareos_ft.vim
|
||||
fi
|
||||
|
||||
# setup init scripts
|
||||
myscripts="bareos-fd"
|
||||
if ! use clientonly; then
|
||||
if use director; then
|
||||
myscripts="${myscripts} bareos-dir"
|
||||
fi
|
||||
if use storage-daemon; then
|
||||
myscripts="${myscripts} bareos-sd"
|
||||
fi
|
||||
fi
|
||||
for script in ${myscripts}; do
|
||||
# copy over init script and config to a temporary location
|
||||
# so we can modify them as needed
|
||||
cp "${FILESDIR}/${script}".confd "${T}/${script}".confd || die "failed to copy ${script}.confd"
|
||||
cp "${FILESDIR}/${script}".initd "${T}/${script}".initd || die "failed to copy ${script}.initd"
|
||||
|
||||
# now set the database dependency for the director init script
|
||||
case "${script}" in
|
||||
bareos-dir)
|
||||
sed -i -e "s:%databasetypes%:${mydbtypes}:" "${T}/${script}".confd || die
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
||||
# install init script and config
|
||||
newinitd "${T}/${script}".initd "${script}"
|
||||
newconfd "${T}/${script}".confd "${script}"
|
||||
done
|
||||
|
||||
# make sure the working directory exists
|
||||
diropts -m0750
|
||||
keepdir /var/lib/bareos
|
||||
|
||||
# make sure bareos group can execute bareos libexec scripts
|
||||
fowners -R root:bareos /usr/libexec/bareos
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use clientonly; then
|
||||
fowners root:bareos /var/lib/bareos
|
||||
else
|
||||
fowners bareos:bareos /var/lib/bareos
|
||||
fi
|
||||
|
||||
if ! use clientonly && use director; then
|
||||
einfo
|
||||
einfo "If this is a new install, you must create the databases with:"
|
||||
if use postgres; then
|
||||
einfo
|
||||
einfo "For postgresql:"
|
||||
einfo " su postgres -c '/usr/libexec/bareos/create_bareos_database postgresql'"
|
||||
einfo " su postgres -c '/usr/libexec/bareos/make_bareos_tables postgresql'"
|
||||
einfo " su postgres -c '/usr/libexec/bareos/grant_bareos_privileges postgresql'"
|
||||
fi
|
||||
if use mysql; then
|
||||
einfo
|
||||
einfo "For mysql:"
|
||||
einfo
|
||||
einfo " Make sure root has direct access to your mysql server. You may want to"
|
||||
einfo " create a /root/.my.cnf file with"
|
||||
einfo " [client]"
|
||||
einfo " user=root"
|
||||
einfo " password=YourPasswordForAccessingMysqlAsRoot"
|
||||
einfo " before running:"
|
||||
einfo " /usr/libexec/bareos/create_bareos_database mysql"
|
||||
einfo " /usr/libexec/bareos/make_bareos_tables mysql"
|
||||
einfo " /usr/libexec/bareos/grant_bareos_privileges mysql"
|
||||
fi
|
||||
einfo
|
||||
fi
|
||||
|
||||
if use sqlite3; then
|
||||
einfo
|
||||
einfo "Be aware that Bareos does not officially support SQLite database."
|
||||
einfo "Best use it only for a client-only installation. See Bug #445540."
|
||||
einfo
|
||||
einfo "It is strongly recommended to use either postgresql or mysql as"
|
||||
einfo "catalog database backend."
|
||||
einfo
|
||||
fi
|
||||
|
||||
einfo "Please note that 'bconsole' will always be installed. To compile 'bat'"
|
||||
einfo "you have to enable 'USE=qt4'."
|
||||
einfo
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
# stop build if there are errors in subdirs
|
||||
--- Makefile.in.orig 2010-07-20 16:53:44.000000000 +0000
|
||||
+++ Makefile.in 2010-07-20 16:55:50.000000000 +0000
|
||||
@@ -44,9 +44,8 @@
|
||||
|
||||
all: Makefile
|
||||
@for I in ${all_subdirs}; \
|
||||
- do (cd $$I; echo "==>Entering directory `pwd`"; \
|
||||
- $(MAKE) DESTDIR=$(DESTDIR) $@ || (echo ""; echo ""; echo " ====== Error in `pwd` ======"; \
|
||||
- echo ""; echo ""; exit 1;)); \
|
||||
+ do \
|
||||
+ $(MAKE) DESTDIR=$(DESTDIR) -C $$I $@ || exit 1; \
|
||||
done
|
||||
|
||||
depend:
|
||||
@@ -55,9 +54,8 @@
|
||||
|
||||
bacula-fd: Makefile
|
||||
@for I in ${fd_subdirs}; \
|
||||
- do (cd $$I; echo "==>Entering directory `pwd`"; \
|
||||
- $(MAKE) DESTDIR=$(DESTDIR) all || (echo ""; echo ""; echo " ====== Error in `pwd` ======"; \
|
||||
- echo ""; echo ""; exit 1;)); \
|
||||
+ do \
|
||||
+ $(MAKE) DESTDIR=$(DESTDIR) -C $$I all || exit 1; \
|
||||
done
|
||||
|
||||
#-------------------------------------------------------------------------
|
@ -0,0 +1,11 @@
|
||||
# bat needs to respect LDFLAGS
|
||||
--- src/qt-console/bat.pro.in.orig 2010-07-20 18:28:50.000000000 +0000
|
||||
+++ src/qt-console/bat.pro.in 2010-07-20 18:29:25.000000000 +0000
|
||||
@@ -26,6 +26,7 @@
|
||||
QMAKE_LINK = $${LIBTOOL_LINK} $(CXX)
|
||||
QMAKE_INSTALL_PROGRAM = $${LIBTOOL_INSTALL} install -m @SBINPERM@ -p
|
||||
QMAKE_CLEAN += .libs/* bat
|
||||
+QMAKE_LFLAGS += @LDFLAGS@
|
||||
|
||||
qwt {
|
||||
INCLUDEPATH += @QWT_INC@
|
@ -0,0 +1,18 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/bareos/files/bareos-dir.confd,v 1.1 2013/10/21 21:52:50 mschiff Exp $
|
||||
|
||||
# Config file for /etc/init.d/bareos-dir
|
||||
|
||||
# Bareos can use more than one catalog database and each one can
|
||||
# be of any supported type.
|
||||
# If a database server where you store a bareos catalog
|
||||
# is on a different machine, you might want to remove the corresponding
|
||||
# type from the rc_need variable.
|
||||
rc_need="%databasetypes%"
|
||||
|
||||
# Options for the director daemon.
|
||||
# The director can be run as a non-root user, however
|
||||
# please ensure that this user has proper permissions to
|
||||
# access your backup devices.
|
||||
DIR_OPTIONS="-u root -g bareos -c /etc/bareos/bareos-dir.conf"
|
@ -0,0 +1,22 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/bareos/files/bareos-dir.initd,v 1.1 2013/10/21 21:52:50 mschiff Exp $
|
||||
|
||||
depend() {
|
||||
need net
|
||||
use dns bareos-fd bareos-sd
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting bareos director"
|
||||
start-stop-daemon --start --quiet --exec /usr/sbin/bareos-dir \
|
||||
-- ${DIR_OPTIONS}
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping bareos director"
|
||||
start-stop-daemon --stop --quiet --pidfile /run/bareos-dir.*.pid
|
||||
eend $?
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/bareos/files/bareos-fd.confd,v 1.1 2013/10/21 21:52:50 mschiff Exp $
|
||||
|
||||
# Config file for /etc/init.d/bareos-fd
|
||||
|
||||
# Options for the file daemon.
|
||||
FD_OPTIONS="-u root -g bareos -c /etc/bareos/bareos-fd.conf"
|
@ -0,0 +1,22 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/bareos/files/bareos-fd.initd,v 1.1 2013/10/21 21:52:50 mschiff Exp $
|
||||
|
||||
depend() {
|
||||
need net
|
||||
use dns
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting bareos file daemon"
|
||||
start-stop-daemon --start --quiet --exec /usr/sbin/bareos-fd \
|
||||
-- ${FD_OPTIONS}
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping bareos file daemon"
|
||||
start-stop-daemon --stop --quiet --pidfile /run/bareos-fd.*.pid
|
||||
eend $?
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/bareos/files/bareos-sd.confd,v 1.1 2013/10/21 21:52:50 mschiff Exp $
|
||||
|
||||
# Config file for /etc/init.d/bareos-sd
|
||||
|
||||
# Options for the storage daemon.
|
||||
# The storage daemon can be run as a non-root user, however
|
||||
# please ensure that this user has proper permissions to
|
||||
# access your backup devices.
|
||||
SD_OPTIONS="-u root -g bareos -c /etc/bareos/bareos-sd.conf"
|
@ -0,0 +1,22 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/bareos/files/bareos-sd.initd,v 1.1 2013/10/21 21:52:50 mschiff Exp $
|
||||
|
||||
depend() {
|
||||
need net
|
||||
use dns
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting bareos storage daemon"
|
||||
start-stop-daemon --start --quiet --exec /usr/sbin/bareos-sd \
|
||||
-- ${SD_OPTIONS}
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping bareos storage daemon"
|
||||
start-stop-daemon --stop --quiet --pidfile /run/bareos-sd.*.pid
|
||||
eend $?
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>mschiff@gentoo.org</email>
|
||||
<name>Marc Schiffbauer</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name='clientonly'>Only install file-daemon (client)</flag>
|
||||
<flag name='director'>Install director</flag>
|
||||
<flag name='storage-daemon'>Install storage daemon (bareos-sd)</flag>
|
||||
<flag name='logwatch'>Install support files for logwatch</flag>
|
||||
<flag name='ndmp'>Enable support for NDMP (Network Data Management Protocol)</flag>
|
||||
<flag name='sql-pooling'>Enable SQL pooling support</flag>
|
||||
<flag name='scsi-crypto'>Enable low level SCSI crypto support</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
@ -1,5 +1,3 @@
|
||||
DIST libguestfs-1.16.34.tar.gz 6951548 SHA256 79fdc0a5e169a90e7ab044a0d2d9585b9875ab0e105bd750aa444eae147cd3ce SHA512 1d709490189afaf841e918fdbc2aef1cc8213e5af8f2a21e8a48f37dcb94982ebe59ab7aab31f3170297d751f8c33f46b458788f89b366a577c1f0330469eb41 WHIRLPOOL c72ebbacbbee66ecacec98ed12b6a78069cb47b34da494801e8abf4732ff142dbf1c1f48d25fadea740aa988dc1bd82cf526b6b590f47b8cc275a17fe732f78f
|
||||
DIST libguestfs-1.18.11.tar.gz 8008490 SHA256 5292697b503abade4146f91f8a6e7cd00ed6d5ce6c5d6cf50efee181dfb7d0eb SHA512 2d3f59d547bf76a08ac2578eccd9ffc00b3accdd3bf42ebf8724a5a16bb76f0c8a5d629ccd7f86e5e1b847234664464a19a253edc41b6daebf08723744858f79 WHIRLPOOL cb9318a13ccca732a7a5dc9919e5863efb360e8c193340a9840fa27d67613eae627d23f62ade2214f4ba8cb01be9f04fcf15edbac5346aef0e9dd64cd8ccccde
|
||||
DIST libguestfs-1.20.4.tar.gz 9534467 SHA256 86e07ecf80e603c2642c3cf7f6011d02ff91a204d2562a1037861ab05f1cc209 SHA512 ea0076a0f71b3b3933b5bf1ca40d95867d538fdf6a319f8f393ca167a15230670d6152f5e5f641b78bc340bcbd124c128ecef1a6cb2c7cdf70d8c3c2cfc3abd9 WHIRLPOOL 9d89dfb08702684464a43b6f9851ad3ee651ad02d504c93f71d59f4e3d1d5ecec8a3575bf618fe02c33ba78e070d9fee83827853b306ea9bf272a7a33001cbed
|
||||
DIST libguestfs-1.20.6.tar.gz 9536214 SHA256 a047bc1757db41a531b9cd40cff296a4a0c1725f7bec7e0bb8a8fc647eb9ea2d SHA512 fa9050bcfae5f2a2e592495ab860baff8191c247bdf4f9c7914ee0ff498fbfbfbe2beb6ad69ff072abc407140671d68f93d6f80ce625cc997d35a16cd7bf06c0 WHIRLPOOL 34feb0b30af064e36f5e77b3ef350ab1cf8d5170f19993917eb1b92ba4df85da271b50dc67b2bd56088b13055c904305804d865b4ec9c9fa0b64f10929582ae9
|
||||
DIST libguestfs-1.22.6.tar.gz 10118218 SHA256 e568b5383b86bce02e4b1337c08b5ddce6443279110ecd87c5fa23b29b0041cb SHA512 923bcbfdbbe36a024efa52dfcb6db13b6df758b0d9b64e24950ab7372197f054986a04c0ffdbd34455ea82107214a67bc4209237e5637e62bcb5edc6d2dd1c0a WHIRLPOOL d252a6ef485a0013001ce596c8930b3f547a5ccc53e025fd178b1ec4bb2dd0f03d07967b1187e5541f9bebe425efb9bbbbaf3f721e80033b22c10bf8b507cdc1
|
||||
DIST libguestfs-1.22.7.tar.gz 10117087 SHA256 b1bb24404e25941dbaca912ebd0f0bbfb8b52546150227f6636130cb97dd8042 SHA512 aba69205f509d0440f5bd46849cc2f2b8ff050306a6a7084affbaa2728c64e8ee050dd71cb56fb8e5dfd6e94dbd12da597d594824dd03d1ec1025982796ee31b WHIRLPOOL 11050a2febd48088cf0b6fb6626cf612f6f62492e2ffd0b73906d206dc6eac8ed073b13a416f0b35aff44c69c99a3fd251e8c656c8bf0ed9cc22612234ce5914
|
||||
DIST libguestfs-1.24.0.tar.gz 11017148 SHA256 72771e793a4de53d1214ed9d000d93dd6b9958384fb354b917e2d3283d79f363 SHA512 e19a257ba049d038e322f6a53866b448262e48841abe54b8bd36dd94af894b8d4ef61fede6b35e085d81c702b00526d2ef1388b0a4170c780d5d7da2e0ae5ea2 WHIRLPOOL e80329e0b13ee25f7e40c6ae0500f50c9de242a0ea39f3c5f5b202ed121324de35d7dcf90498bd53025f485e615a536cc07f4e3f01a945017af532f218ae82c2
|
||||
|
@ -1,144 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libguestfs/libguestfs-1.16.34.ebuild,v 1.1 2013/03/25 12:15:48 maksbotan Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
AUTOTOOLS_IN_SOURCE_BUILD=1
|
||||
|
||||
inherit bash-completion-r1 autotools-utils versionator eutils \
|
||||
multilib linux-info perl-module
|
||||
|
||||
MY_PV_1="$(get_version_component_range 1-2)"
|
||||
MY_PV_2="$(get_version_component_range 2)"
|
||||
|
||||
[[ $(( $(get_version_component_range 2) % 2 )) -eq 0 ]] && SD="stable" || SD="development"
|
||||
|
||||
DESCRIPTION="Tools for accessing, inspect and modifying virtual machine (VM) disk images"
|
||||
HOMEPAGE="http://libguestfs.org/"
|
||||
SRC_URI="http://libguestfs.org/download/${MY_PV_1}-${SD}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2"
|
||||
SLOT="0/${MY_PV_1}"
|
||||
# Upstream NOT supported 32-bit version, keyword in own risk
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="erlang +fuse debug +ocaml doc +perl nls ruby static-libs selinux systemtap introspection"
|
||||
|
||||
# Failires - doc
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=app-misc/hivex-1.3.1
|
||||
dev-libs/libpcre
|
||||
app-arch/cpio
|
||||
dev-lang/perl
|
||||
app-cdr/cdrkit
|
||||
>=app-emulation/qemu-1.0[qemu_user_targets_x86_64,qemu_softmmu_targets_x86_64]
|
||||
sys-apps/fakeroot
|
||||
sys-apps/file
|
||||
app-emulation/libvirt
|
||||
dev-libs/libxml2:2
|
||||
>=sys-apps/fakechroot-2.8
|
||||
>=app-admin/augeas-0.7.1
|
||||
sys-fs/squashfs-tools
|
||||
dev-libs/libconfig
|
||||
dev-libs/libpcre
|
||||
sys-libs/readline
|
||||
>=sys-libs/db-4.6
|
||||
perl? ( virtual/perl-ExtUtils-MakeMaker
|
||||
>=dev-perl/Sys-Virt-0.2.4
|
||||
virtual/perl-Getopt-Long
|
||||
virtual/perl-Data-Dumper
|
||||
dev-perl/libintl-perl
|
||||
>=app-misc/hivex-1.3.1[perl?]
|
||||
dev-perl/String-ShellQuote
|
||||
)
|
||||
fuse? ( sys-fs/fuse )
|
||||
introspection? (
|
||||
>=dev-libs/gobject-introspection-1.30.0
|
||||
dev-libs/gjs
|
||||
)
|
||||
selinux? ( sys-libs/libselinux sys-libs/libsemanage )
|
||||
systemtap? ( dev-util/systemtap )
|
||||
ocaml? ( dev-lang/ocaml[ocamlopt] dev-ml/findlib[ocamlopt] )
|
||||
erlang? ( dev-lang/erlang )
|
||||
"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
sys-apps/sed
|
||||
dev-util/gperf
|
||||
doc? ( app-text/po4a )
|
||||
ruby? ( dev-lang/ruby virtual/rubygems dev-ruby/rake )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
app-emulation/libguestfs-appliance
|
||||
"
|
||||
|
||||
PATCHES=("${FILESDIR}"/1.18/*.patch )
|
||||
|
||||
DOCS=(AUTHORS BUGS HACKING README RELEASE-NOTES ROADMAP TODO)
|
||||
|
||||
pkg_setup () {
|
||||
CONFIG_CHECK="~KVM ~VIRTIO"
|
||||
[ -n "${CONFIG_CHECK}" ] && check_extra_config;
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
autotools-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
|
||||
# Disable feature test for kvm for more reason
|
||||
# i.e: not loaded module in __build__ time,
|
||||
# build server not supported kvm, etc. ...
|
||||
#
|
||||
# In fact, this feature is virtio support and requires
|
||||
# configured kernel.
|
||||
export vmchannel_test=no
|
||||
|
||||
local myeconfargs=(
|
||||
--disable-appliance
|
||||
--disable-daemon
|
||||
--with-drive-if=virtio
|
||||
--with-net-if=virtio-net-pci
|
||||
--with-extra="-gentoo"
|
||||
--with-readline
|
||||
--disable-php
|
||||
--disable-python
|
||||
--disable-java
|
||||
--with-java-home=no
|
||||
$(use_enable nls)
|
||||
$(use_enable perl)
|
||||
$(use_enable fuse)
|
||||
$(use_enable ocaml)
|
||||
$(use_enable ruby)
|
||||
--disable-haskell
|
||||
$(use_enable doc)
|
||||
$(use_enable introspection gobject)
|
||||
$(use_enable erlang)
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
autotools-utils_src_compile
|
||||
|
||||
}
|
||||
|
||||
src_test() {
|
||||
autotools-utils_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
strip-linguas -i po
|
||||
autotools-utils_src_install "LINGUAS=""${LINGUAS}"""
|
||||
|
||||
dobashcomp "${D}/etc"/bash_completion.d/guestfish-bash-completion.sh
|
||||
|
||||
rm -fr "${D}/etc"/bash* || die
|
||||
|
||||
newenvd "${FILESDIR}"/env.file 99"${PN}"
|
||||
|
||||
use perl && fixlocalpod
|
||||
}
|
@ -1,147 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libguestfs/libguestfs-1.18.11.ebuild,v 1.1 2013/03/25 12:15:48 maksbotan Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
AUTOTOOLS_IN_SOURCE_BUILD=1
|
||||
|
||||
inherit bash-completion-r1 autotools-utils versionator eutils \
|
||||
multilib linux-info perl-module
|
||||
|
||||
MY_PV_1="$(get_version_component_range 1-2)"
|
||||
MY_PV_2="$(get_version_component_range 2)"
|
||||
|
||||
[[ $(( $(get_version_component_range 2) % 2 )) -eq 0 ]] && SD="stable" || SD="development"
|
||||
|
||||
DESCRIPTION="Tools for accessing, inspect and modifying virtual machine (VM) disk images"
|
||||
HOMEPAGE="http://libguestfs.org/"
|
||||
SRC_URI="http://libguestfs.org/download/${MY_PV_1}-${SD}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2"
|
||||
SLOT="0/${MY_PV_1}"
|
||||
# Upstream NOT supported 32-bit version, keyword in own risk
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="erlang +fuse debug ocaml doc +perl ruby static-libs
|
||||
selinux systemtap introspection inspect-icons"
|
||||
|
||||
# Failires - doc
|
||||
|
||||
COMMON_DEPEND="
|
||||
sys-libs/ncurses
|
||||
sys-devel/gettext
|
||||
>=app-misc/hivex-1.3.1
|
||||
dev-libs/libpcre
|
||||
app-arch/cpio
|
||||
dev-lang/perl
|
||||
app-cdr/cdrkit
|
||||
>=app-emulation/qemu-1.0[qemu_user_targets_x86_64,qemu_softmmu_targets_x86_64,tci,systemtap?]
|
||||
sys-apps/fakeroot
|
||||
sys-apps/file
|
||||
app-emulation/libvirt
|
||||
dev-libs/libxml2:2
|
||||
>=sys-apps/fakechroot-2.8
|
||||
>=app-admin/augeas-0.7.1
|
||||
sys-fs/squashfs-tools
|
||||
dev-libs/libconfig
|
||||
dev-libs/libpcre
|
||||
sys-libs/readline
|
||||
>=sys-libs/db-4.6
|
||||
perl? ( virtual/perl-ExtUtils-MakeMaker
|
||||
>=dev-perl/Sys-Virt-0.2.4
|
||||
virtual/perl-Getopt-Long
|
||||
virtual/perl-Data-Dumper
|
||||
dev-perl/libintl-perl
|
||||
>=app-misc/hivex-1.3.1[perl?]
|
||||
dev-perl/String-ShellQuote
|
||||
)
|
||||
fuse? ( sys-fs/fuse )
|
||||
introspection? (
|
||||
>=dev-libs/gobject-introspection-1.30.0
|
||||
dev-libs/gjs
|
||||
)
|
||||
selinux? ( sys-libs/libselinux sys-libs/libsemanage )
|
||||
systemtap? ( dev-util/systemtap )
|
||||
ocaml? ( dev-lang/ocaml[ocamlopt] dev-ml/findlib[ocamlopt] )
|
||||
erlang? ( dev-lang/erlang )
|
||||
inspect-icons? ( media-libs/netpbm
|
||||
media-gfx/icoutils )
|
||||
"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-util/gperf
|
||||
doc? ( app-text/po4a )
|
||||
ruby? ( dev-lang/ruby virtual/rubygems dev-ruby/rake )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
app-emulation/libguestfs-appliance
|
||||
"
|
||||
|
||||
PATCHES=("${FILESDIR}"/1.18/0*.patch )
|
||||
|
||||
DOCS=(AUTHORS BUGS HACKING README RELEASE-NOTES ROADMAP TODO)
|
||||
|
||||
pkg_setup () {
|
||||
CONFIG_CHECK="~KVM ~VIRTIO"
|
||||
[ -n "${CONFIG_CHECK}" ] && check_extra_config;
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
autotools-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
|
||||
# Disable feature test for kvm for more reason
|
||||
# i.e: not loaded module in __build__ time,
|
||||
# build server not supported kvm, etc. ...
|
||||
#
|
||||
# In fact, this feature is virtio support and requires
|
||||
# configured kernel.
|
||||
export vmchannel_test=no
|
||||
|
||||
local myeconfargs=(
|
||||
--disable-appliance
|
||||
--disable-daemon
|
||||
--with-drive-if=virtio
|
||||
--with-net-if=virtio-net-pci
|
||||
--with-extra="-gentoo"
|
||||
--with-readline
|
||||
--disable-php
|
||||
--disable-python
|
||||
--without-java
|
||||
$(use_enable perl)
|
||||
$(use_enable fuse)
|
||||
$(use_enable ocaml)
|
||||
$(use_enable ruby)
|
||||
--disable-haskell
|
||||
$(use_enable doc)
|
||||
$(use_enable introspection gobject)
|
||||
$(use_enable erlang)
|
||||
$(use_enable systemtap probes)
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
autotools-utils_src_compile
|
||||
|
||||
}
|
||||
|
||||
src_test() {
|
||||
autotools-utils_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
strip-linguas -i po
|
||||
autotools-utils_src_install "LINGUAS=""${LINGUAS}"""
|
||||
|
||||
dobashcomp "${D}/etc"/bash_completion.d/guestfish-bash-completion.sh
|
||||
|
||||
rm -fr "${D}/etc"/bash* || die
|
||||
|
||||
newenvd "${FILESDIR}"/env.file 99"${PN}"
|
||||
|
||||
use perl && fixlocalpod
|
||||
}
|
@ -0,0 +1,432 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/libvirt-1.1.3-r1.ebuild,v 1.1 2013/10/22 02:00:33 cardoe Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
BACKPORTS=062ad8b2
|
||||
AUTOTOOLIZE=yes
|
||||
|
||||
MY_P="${P/_rc/-rc}"
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit eutils python-single-r1 user autotools linux-info systemd readme.gentoo
|
||||
|
||||
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 firewalld fuse 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 \
|
||||
systemd"
|
||||
REQUIRED_USE="libvirtd? ( || ( lxc openvz qemu uml virtualbox xen ) )
|
||||
lxc? ( caps libvirtd )
|
||||
openvz? ( libvirtd )
|
||||
qemu? ( libvirtd )
|
||||
uml? ( libvirtd )
|
||||
vepa? ( macvtap )
|
||||
virtualbox? ( libvirtd )
|
||||
xen? ( libvirtd )
|
||||
virt-network? ( libvirtd )
|
||||
firewalld? ( virt-network )
|
||||
python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
# 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
|
||||
net-libs/libssh2
|
||||
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 )
|
||||
fuse? ( >=sys-fs/fuse-2.8.6 )
|
||||
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 )
|
||||
policykit? ( >=sys-auth/polkit-0.9 )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
qemu? (
|
||||
>=app-emulation/qemu-0.13.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? ( virtual/udev >=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]
|
||||
firewalld? ( net-firewall/firewalld )
|
||||
)
|
||||
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-lang/perl
|
||||
dev-libs/libxslt"
|
||||
|
||||
DOC_CONTENTS="For the basic networking support (bridged and routed networks)
|
||||
you don't need any extra software. For more complex network modes
|
||||
including but not limited to NATed network, you can enable the
|
||||
'virt-network' USE flag.\n\n
|
||||
If you are using dnsmasq on your system, you will have
|
||||
to configure /etc/dnsmasq.conf to enable the following settings:\n\n
|
||||
bind-interfaces\n
|
||||
interface or except-interface\n\n
|
||||
Otherwise you might have issues with your existing DNS server."
|
||||
|
||||
LXC_CONFIG_CHECK="
|
||||
~CGROUPS
|
||||
~CGROUP_FREEZER
|
||||
~CGROUP_DEVICE
|
||||
~CGROUP_CPUACCT
|
||||
~CGROUP_SCHED
|
||||
~CGROUP_PERF
|
||||
~BLK_CGROUP
|
||||
~NET_CLS_CGROUP
|
||||
~NETPRIO_CGROUP
|
||||
~CPUSETS
|
||||
~RESOURCE_COUNTERS
|
||||
~NAMESPACES
|
||||
~UTS_NS
|
||||
~IPC_NS
|
||||
~PID_NS
|
||||
~NET_NS
|
||||
~USER_NS
|
||||
~DEVPTS_MULTIPLE_INSTANCES
|
||||
~VETH
|
||||
~MACVLAN
|
||||
~POSIX_MQUEUE
|
||||
~SECURITYFS
|
||||
~!GRKERNSEC_CHROOT_MOUNT
|
||||
~!GRKERNSEC_CHROOT_DOUBLE
|
||||
~!GRKERNSEC_CHROOT_PIVOT
|
||||
~!GRKERNSEC_CHROOT_CHMOD
|
||||
~!GRKERNSEC_CHROOT_CAPS
|
||||
"
|
||||
|
||||
VIRTNET_CONFIG_CHECK="
|
||||
~BRIDGE_NF_EBTABLES
|
||||
~BRIDGE_EBT_MARK_T
|
||||
~NETFILTER_ADVANCED
|
||||
~NETFILTER_XT_TARGET_CHECKSUM
|
||||
~NETFILTER_XT_CONNMARK
|
||||
~NETFILTER_XT_MARK
|
||||
"
|
||||
|
||||
MACVTAP_CONFIG_CHECK=" ~MACVTAP"
|
||||
|
||||
LVM_CONFIG_CHECK=" ~BLK_DEV_DM ~DM_SNAPSHOT ~DM_MULTIPATH"
|
||||
|
||||
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
|
||||
|
||||
python-single-r1_pkg_setup
|
||||
|
||||
# Handle specific kernel versions for different features
|
||||
kernel_is lt 3 6 && LXC_CONFIG_CHECK+=" ~CGROUP_MEM_RES_CTLR"
|
||||
kernel_is ge 3 6 && LXC_CONFIG_CHECK+=" ~MEMCG ~MEMCG_SWAP ~MEMCG_KMEM"
|
||||
|
||||
CONFIG_CHECK=""
|
||||
use fuse && CONFIG_CHECK+=" ~FUSE_FS"
|
||||
use lvm && CONFIG_CHECK+="${LVM_CONFIG_CHECK}"
|
||||
use lxc && CONFIG_CHECK+="${LXC_CONFIG_CHECK}"
|
||||
use macvtap && CONFIG_CHECK+="${MACVTAP_CONFIG_CHECK}"
|
||||
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
|
||||
|
||||
# Tweak the init script
|
||||
local avahi_init=
|
||||
local iscsi_init=
|
||||
local rbd_init=
|
||||
local firewalld_init=
|
||||
cp "${FILESDIR}/libvirtd.init-r12" "${S}/libvirtd.init"
|
||||
use avahi && avahi_init='avahi-daemon'
|
||||
use iscsi && iscsi_init='iscsid'
|
||||
use rbd && rbd_init='ceph'
|
||||
use firewalld && firewalld_init='need firewalld'
|
||||
|
||||
sed -e "s/USE_FLAG_FIREWALLD/${firewalld_init}/" -i "${S}/libvirtd.init"
|
||||
sed -e "s/USE_FLAG_AVAHI/${avahi_init}/" -i "${S}/libvirtd.init"
|
||||
sed -e "s/USE_FLAG_ISCSI/${iscsi_init}/" -i "${S}/libvirtd.init"
|
||||
sed -e "s/USE_FLAG_RBD/${rbd_init}/" -i "${S}/libvirtd.init"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=""
|
||||
|
||||
## 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)"
|
||||
myconf+=" --without-xenapi"
|
||||
if use xen && has_version ">=app-emulation/xen-tools-4.2.0"; then
|
||||
myconf+=" --with-libxl"
|
||||
else
|
||||
myconf+=" --without-libxl"
|
||||
fi
|
||||
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)"
|
||||
myconf="${myconf} $(use_with fuse)"
|
||||
|
||||
# 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)"
|
||||
myconf="${myconf} $(use_with firewalld)"
|
||||
|
||||
## 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"
|
||||
|
||||
# systemd unit files
|
||||
use systemd && myconf="${myconf} --with-init-script=systemd"
|
||||
|
||||
# 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
|
||||
export VIR_TEST_DEBUG=1
|
||||
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} \
|
||||
EXAMPLE_DIR=/usr/share/doc/${PF}/examples \
|
||||
SYSTEMD_UNIT_DIR="$(systemd_get_unitdir)" \
|
||||
|| die "emake install failed"
|
||||
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
|
||||
use libvirtd || return 0
|
||||
# From here, only libvirtd-related instructions, be warned!
|
||||
|
||||
newinitd "${S}/libvirtd.init" libvirtd || die
|
||||
newconfd "${FILESDIR}/libvirtd.confd-r4" libvirtd || die
|
||||
|
||||
keepdir /var/lib/libvirt/images
|
||||
|
||||
use python && python_optimize
|
||||
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
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
|
||||
dodir /etc/sysctl.d
|
||||
mv "${D}"/usr/lib/sysctl.d/libvirtd.conf "${D}"/etc/sysctl.d/libvirtd.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
|
||||
touch "${ROOT}"/etc/libvirt/qemu/networks/default.xml
|
||||
fi
|
||||
|
||||
# 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!
|
||||
|
||||
readme.gentoo_print_elog
|
||||
|
||||
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
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
Source: https://github.com/rasa/vmware-tools-patches/
|
||||
|
||||
--- a/modules/linux/vmhgfs/inode.c
|
||||
+++ b/modules/linux/vmhgfs/inode.c
|
||||
@@ -31,6 +31,9 @@
|
||||
#include <linux/namei.h>
|
||||
#endif
|
||||
#include <linux/highmem.h>
|
||||
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 11, 0)
|
||||
+#include <linux/dcache.h>
|
||||
+#endif
|
||||
|
||||
#include "compat_cred.h"
|
||||
#include "compat_fs.h"
|
||||
@@ -1890,7 +1893,11 @@
|
||||
#endif
|
||||
&inode->i_dentry,
|
||||
d_alias) {
|
||||
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 11, 0)
|
||||
+ int dcount = d_count(dentry);
|
||||
+#else
|
||||
int dcount = dentry->d_count;
|
||||
+#endif
|
||||
if (dcount) {
|
||||
LOG(4, ("Found %s %d \n", dentry->d_name.name, dcount));
|
||||
return HgfsAccessInt(dentry, mask & (MAY_READ | MAY_WRITE | MAY_EXEC));
|
||||
@@ -1943,10 +1950,12 @@
|
||||
list_for_each(pos, &inode->i_dentry) {
|
||||
int dcount;
|
||||
struct dentry *dentry = list_entry(pos, struct dentry, d_alias);
|
||||
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 38)
|
||||
- dcount = atomic_read(&dentry->d_count);
|
||||
-#else
|
||||
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 11, 0)
|
||||
+ dcount = d_count(dentry);
|
||||
+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 38)
|
||||
dcount = dentry->d_count;
|
||||
+#else
|
||||
+ dcount = atomic_read(&dentry->d_count);
|
||||
#endif
|
||||
if (dcount) {
|
||||
LOG(4, ("Found %s %d \n", (dentry)->d_name.name, dcount));
|
@ -0,0 +1,555 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-1.6.1.ebuild,v 1.1 2013/10/21 02:13:33 cardoe Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
PYTHON_REQ_USE="ncurses,readline"
|
||||
|
||||
inherit eutils flag-o-matic linux-info toolchain-funcs multilib python-r1 \
|
||||
user udev fcaps readme.gentoo
|
||||
|
||||
BACKPORTS=452f0d87
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
EGIT_REPO_URI="git://git.qemu.org/qemu.git"
|
||||
inherit git-2
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="http://wiki.qemu-project.org/download/${P}.tar.bz2
|
||||
${BACKPORTS:+
|
||||
http://dev.gentoo.org/~cardoe/distfiles/${P}-${BACKPORTS}.tar.xz}"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
|
||||
fi
|
||||
|
||||
DESCRIPTION="QEMU + Kernel-based Virtual Machine userland tools"
|
||||
HOMEPAGE="http://www.qemu.org http://www.linux-kvm.org"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2 BSD-2"
|
||||
SLOT="0"
|
||||
IUSE="accessibility +aio alsa bluetooth +caps +curl debug +fdt glusterfs \
|
||||
gtk iscsi +jpeg \
|
||||
kernel_linux kernel_FreeBSD mixemu ncurses opengl +png pulseaudio python \
|
||||
rbd sasl +seccomp sdl selinux smartcard spice ssh static static-softmmu \
|
||||
static-user systemtap tci test +threads tls usb usbredir +uuid vde +vhost-net \
|
||||
virtfs +vnc xattr xen xfs"
|
||||
|
||||
COMMON_TARGETS="i386 x86_64 alpha arm cris m68k microblaze microblazeel mips
|
||||
mipsel mips64 mips64el or32 ppc ppc64 sh4 sh4eb sparc sparc64 s390x unicore32"
|
||||
IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS} lm32 moxie ppcemb xtensa xtensaeb"
|
||||
IUSE_USER_TARGETS="${COMMON_TARGETS} armeb mipsn32 mipsn32el ppc64abi32 sparc32plus"
|
||||
|
||||
# Setup the default SoftMMU targets, while using the loops
|
||||
# below to setup the other targets.
|
||||
REQUIRED_USE="|| ("
|
||||
|
||||
for target in ${IUSE_SOFTMMU_TARGETS}; do
|
||||
IUSE="${IUSE} qemu_softmmu_targets_${target}"
|
||||
REQUIRED_USE="${REQUIRED_USE} qemu_softmmu_targets_${target}"
|
||||
done
|
||||
|
||||
for target in ${IUSE_USER_TARGETS}; do
|
||||
IUSE="${IUSE} qemu_user_targets_${target}"
|
||||
REQUIRED_USE="${REQUIRED_USE} qemu_user_targets_${target}"
|
||||
done
|
||||
REQUIRED_USE="${REQUIRED_USE} )"
|
||||
|
||||
# Block USE flag configurations known to not work
|
||||
REQUIRED_USE="${REQUIRED_USE}
|
||||
python? ( ${PYTHON_REQUIRED_USE} )
|
||||
qemu_softmmu_targets_arm? ( fdt )
|
||||
qemu_softmmu_targets_microblaze? ( fdt )
|
||||
qemu_softmmu_targets_ppc? ( fdt )
|
||||
qemu_softmmu_targets_ppc64? ( fdt )
|
||||
static? ( static-softmmu static-user )
|
||||
static-softmmu? ( !alsa !pulseaudio !bluetooth !opengl !gtk )
|
||||
virtfs? ( xattr )"
|
||||
|
||||
# Yep, you need both libcap and libcap-ng since virtfs only uses libcap.
|
||||
LIB_DEPEND=">=dev-libs/glib-2.0[static-libs(+)]
|
||||
sys-apps/pciutils[static-libs(+)]
|
||||
sys-libs/zlib[static-libs(+)]
|
||||
>=x11-libs/pixman-0.28.0[static-libs(+)]
|
||||
aio? ( dev-libs/libaio[static-libs(+)] )
|
||||
caps? ( sys-libs/libcap-ng[static-libs(+)] )
|
||||
curl? ( >=net-misc/curl-7.15.4[static-libs(+)] )
|
||||
fdt? ( >=sys-apps/dtc-1.4.0[static-libs(+)] )
|
||||
glusterfs? ( >=sys-cluster/glusterfs-3.4.0[static-libs(+)] )
|
||||
jpeg? ( virtual/jpeg[static-libs(+)] )
|
||||
ncurses? ( sys-libs/ncurses[static-libs(+)] )
|
||||
png? ( media-libs/libpng[static-libs(+)] )
|
||||
rbd? ( sys-cluster/ceph[static-libs(+)] )
|
||||
sasl? ( dev-libs/cyrus-sasl[static-libs(+)] )
|
||||
sdl? ( >=media-libs/libsdl-1.2.11[static-libs(+)] )
|
||||
seccomp? ( >=sys-libs/libseccomp-2.1.0[static-libs(+)] )
|
||||
spice? ( >=app-emulation/spice-0.12.0[static-libs(+)] )
|
||||
ssh? ( >=net-libs/libssh2-1.2.8[static-libs(+)] )
|
||||
tls? ( net-libs/gnutls[static-libs(+)] )
|
||||
usb? ( >=dev-libs/libusbx-1.0.13[static-libs(+)] )
|
||||
uuid? ( >=sys-apps/util-linux-2.16.0[static-libs(+)] )
|
||||
vde? ( net-misc/vde[static-libs(+)] )
|
||||
xattr? ( sys-apps/attr[static-libs(+)] )
|
||||
xfs? ( sys-fs/xfsprogs[static-libs(+)] )"
|
||||
RDEPEND="!static-softmmu? ( ${LIB_DEPEND//\[static-libs(+)]} )
|
||||
static-user? ( >=dev-libs/glib-2.0[static-libs(+)] )
|
||||
qemu_softmmu_targets_i386? (
|
||||
>=sys-firmware/ipxe-1.0.0_p20130624
|
||||
~sys-firmware/seabios-1.7.3
|
||||
~sys-firmware/sgabios-0.1_pre8
|
||||
~sys-firmware/vgabios-0.7a
|
||||
)
|
||||
qemu_softmmu_targets_x86_64? (
|
||||
>=sys-firmware/ipxe-1.0.0_p20130624
|
||||
~sys-firmware/seabios-1.7.3
|
||||
~sys-firmware/sgabios-0.1_pre8
|
||||
~sys-firmware/vgabios-0.7a
|
||||
)
|
||||
accessibility? ( app-accessibility/brltty )
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.13 )
|
||||
bluetooth? ( net-wireless/bluez )
|
||||
gtk? (
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/vte:2.90
|
||||
)
|
||||
iscsi? ( net-libs/libiscsi )
|
||||
opengl? ( virtual/opengl )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
sdl? ( media-libs/libsdl[X] )
|
||||
selinux? ( sec-policy/selinux-qemu )
|
||||
smartcard? ( dev-libs/nss !app-emulation/libcacard )
|
||||
spice? ( >=app-emulation/spice-protocol-0.12.3 )
|
||||
systemtap? ( dev-util/systemtap )
|
||||
usbredir? ( >=sys-apps/usbredir-0.6 )
|
||||
virtfs? ( sys-libs/libcap )
|
||||
xen? ( app-emulation/xen-tools )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/perl
|
||||
=dev-lang/python-2*
|
||||
sys-apps/texinfo
|
||||
virtual/pkgconfig
|
||||
kernel_linux? ( >=sys-kernel/linux-headers-2.6.35 )
|
||||
static-softmmu? ( ${LIB_DEPEND} )
|
||||
test? (
|
||||
dev-libs/glib[utils]
|
||||
sys-devel/bc
|
||||
)"
|
||||
|
||||
STRIP_MASK="/usr/share/qemu/palcode-clipper"
|
||||
|
||||
QA_PREBUILT="
|
||||
usr/share/qemu/openbios-ppc
|
||||
usr/share/qemu/openbios-sparc64
|
||||
usr/share/qemu/openbios-sparc32
|
||||
usr/share/qemu/palcode-clipper
|
||||
usr/share/qemu/s390-ccw.img"
|
||||
|
||||
QA_WX_LOAD="usr/bin/qemu-i386
|
||||
usr/bin/qemu-x86_64
|
||||
usr/bin/qemu-alpha
|
||||
usr/bin/qemu-arm
|
||||
usr/bin/qemu-cris
|
||||
usr/bin/qemu-m68k
|
||||
usr/bin/qemu-microblaze
|
||||
usr/bin/qemu-microblazeel
|
||||
usr/bin/qemu-mips
|
||||
usr/bin/qemu-mipsel
|
||||
usr/bin/qemu-or32
|
||||
usr/bin/qemu-ppc
|
||||
usr/bin/qemu-ppc64
|
||||
usr/bin/qemu-ppc64abi32
|
||||
usr/bin/qemu-sh4
|
||||
usr/bin/qemu-sh4eb
|
||||
usr/bin/qemu-sparc
|
||||
usr/bin/qemu-sparc64
|
||||
usr/bin/qemu-armeb
|
||||
usr/bin/qemu-sparc32plus
|
||||
usr/bin/qemu-s390x
|
||||
usr/bin/qemu-unicore32"
|
||||
|
||||
DOC_CONTENTS="If you don't have kvm compiled into the kernel, make sure
|
||||
you have the kernel module loaded before running kvm. The easiest way to
|
||||
ensure that the kernel module is loaded is to load it on boot.\n
|
||||
For AMD CPUs the module is called 'kvm-amd'\n
|
||||
For Intel CPUs the module is called 'kvm-intel'\n
|
||||
Please review /etc/conf.d/modules for how to load these\n\n
|
||||
Make sure your user is in the 'kvm' group\n
|
||||
Just run 'gpasswd -a <USER> kvm', then have <USER> re-login."
|
||||
|
||||
qemu_support_kvm() {
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386 \
|
||||
use qemu_softmmu_targets_ppc || use qemu_softmmu_targets_ppc64 \
|
||||
use qemu_softmmu_targets_s390x; then
|
||||
return 0
|
||||
fi
|
||||
|
||||
return 1
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
if use kernel_linux && kernel_is lt 2 6 25; then
|
||||
eerror "This version of KVM requres a host kernel of 2.6.25 or higher."
|
||||
elif use kernel_linux; then
|
||||
if ! linux_config_exists; then
|
||||
eerror "Unable to check your kernel for KVM support"
|
||||
else
|
||||
CONFIG_CHECK="~KVM ~TUN ~BRIDGE"
|
||||
ERROR_KVM="You must enable KVM in your kernel to continue"
|
||||
ERROR_KVM_AMD="If you have an AMD CPU, you must enable KVM_AMD in"
|
||||
ERROR_KVM_AMD+=" your kernel configuration."
|
||||
ERROR_KVM_INTEL="If you have an Intel CPU, you must enable"
|
||||
ERROR_KVM_INTEL+=" KVM_INTEL in your kernel configuration."
|
||||
ERROR_TUN="You will need the Universal TUN/TAP driver compiled"
|
||||
ERROR_TUN+=" into your kernel or loaded as a module to use the"
|
||||
ERROR_TUN+=" virtual network device if using -net tap."
|
||||
ERROR_BRIDGE="You will also need support for 802.1d"
|
||||
ERROR_BRIDGE+=" Ethernet Bridging for some network configurations."
|
||||
use vhost-net && CONFIG_CHECK+=" ~VHOST_NET"
|
||||
ERROR_VHOST_NET="You must enable VHOST_NET to have vhost-net"
|
||||
ERROR_VHOST_NET+=" support"
|
||||
|
||||
if use amd64 || use x86 || use amd64-linux || use x86-linux; then
|
||||
CONFIG_CHECK+=" ~KVM_AMD ~KVM_INTEL"
|
||||
fi
|
||||
|
||||
use python && CONFIG_CHECK+=" ~DEBUG_FS"
|
||||
ERROR_DEBUG_FS="debugFS support required for kvm_stat"
|
||||
|
||||
# Now do the actual checks setup above
|
||||
check_extra_config
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup kvm 78
|
||||
|
||||
python_export_best
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Alter target makefiles to accept CFLAGS set via flag-o
|
||||
sed -i 's/^\(C\|OP_C\|HELPER_C\)FLAGS=/\1FLAGS+=/' \
|
||||
Makefile Makefile.target || die
|
||||
|
||||
epatch "${FILESDIR}"/qemu-9999-cflags.patch
|
||||
[[ -n ${BACKPORTS} ]] && \
|
||||
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
|
||||
epatch
|
||||
|
||||
# Fix ld and objcopy being called directly
|
||||
tc-export LD OBJCOPY
|
||||
|
||||
# Verbose builds
|
||||
MAKEOPTS+=" V=1"
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
##
|
||||
# configures qemu based on the build directory and the build type
|
||||
# we are using.
|
||||
#
|
||||
qemu_src_configure() {
|
||||
debug-print-function $FUNCNAME "$@"
|
||||
|
||||
local buildtype=$1
|
||||
local builddir=$2
|
||||
local conf_opts audio_opts
|
||||
local static_flag="static-${buildtype}"
|
||||
|
||||
conf_opts="--prefix=/usr"
|
||||
conf_opts+=" --sysconfdir=/etc"
|
||||
conf_opts+=" --libdir=/usr/$(get_libdir)"
|
||||
conf_opts+=" --docdir=/usr/share/doc/${PF}/html"
|
||||
conf_opts+=" --disable-bsd-user"
|
||||
conf_opts+=" --disable-guest-agent"
|
||||
conf_opts+=" --disable-strip"
|
||||
conf_opts+=" --disable-werror"
|
||||
conf_opts+=" --python=${PYTHON}"
|
||||
|
||||
# audio options
|
||||
audio_opts="oss"
|
||||
use alsa && audio_opts="alsa,${audio_opts}"
|
||||
use sdl && audio_opts="sdl,${audio_opts}"
|
||||
use pulseaudio && audio_opts="pa,${audio_opts}"
|
||||
|
||||
if [[ ${buildtype} == "user" ]]; then
|
||||
conf_opts+=" --enable-linux-user"
|
||||
conf_opts+=" --disable-system"
|
||||
conf_opts+=" --target-list=${user_targets}"
|
||||
conf_opts+=" --disable-blobs"
|
||||
conf_opts+=" --disable-bluez"
|
||||
conf_opts+=" --disable-curses"
|
||||
conf_opts+=" --disable-kvm"
|
||||
conf_opts+=" --disable-libiscsi"
|
||||
conf_opts+=" --disable-glusterfs"
|
||||
conf_opts+=" $(use_enable seccomp)"
|
||||
conf_opts+=" --disable-sdl"
|
||||
conf_opts+=" --disable-smartcard-nss"
|
||||
conf_opts+=" --disable-tools"
|
||||
conf_opts+=" --disable-vde"
|
||||
conf_opts+=" --disable-libssh2"
|
||||
conf_opts+=" --disable-libusb"
|
||||
fi
|
||||
|
||||
if [[ ${buildtype} == "softmmu" ]]; then
|
||||
conf_opts+=" --disable-linux-user"
|
||||
conf_opts+=" --enable-system"
|
||||
conf_opts+=" --with-system-pixman"
|
||||
conf_opts+=" --target-list=${softmmu_targets}"
|
||||
conf_opts+=" $(use_enable bluetooth bluez)"
|
||||
conf_opts+=" $(use_enable gtk)"
|
||||
use gtk && conf_opts+=" --with-gtkabi=3.0"
|
||||
conf_opts+=" $(use_enable sdl)"
|
||||
conf_opts+=" $(use_enable aio linux-aio)"
|
||||
conf_opts+=" $(use_enable accessibility brlapi)"
|
||||
conf_opts+=" $(use_enable caps cap-ng)"
|
||||
conf_opts+=" $(use_enable curl)"
|
||||
conf_opts+=" $(use_enable fdt)"
|
||||
conf_opts+=" $(use_enable glusterfs)"
|
||||
conf_opts+=" $(use_enable iscsi libiscsi)"
|
||||
conf_opts+=" $(use_enable jpeg vnc-jpeg)"
|
||||
conf_opts+=" $(use_enable kernel_linux kvm)"
|
||||
conf_opts+=" $(use_enable ncurses curses)"
|
||||
conf_opts+=" $(use_enable opengl glx)"
|
||||
conf_opts+=" $(use_enable png vnc-png)"
|
||||
conf_opts+=" $(use_enable rbd)"
|
||||
conf_opts+=" $(use_enable sasl vnc-sasl)"
|
||||
conf_opts+=" $(use_enable seccomp)"
|
||||
conf_opts+=" $(use_enable smartcard smartcard-nss)"
|
||||
conf_opts+=" $(use_enable spice)"
|
||||
conf_opts+=" $(use_enable ssh libssh2)"
|
||||
conf_opts+=" $(use_enable tls vnc-tls)"
|
||||
conf_opts+=" $(use_enable tls vnc-ws)"
|
||||
conf_opts+=" $(use_enable usb libusb)"
|
||||
conf_opts+=" $(use_enable usbredir usb-redir)"
|
||||
conf_opts+=" $(use_enable uuid)"
|
||||
conf_opts+=" $(use_enable vde)"
|
||||
conf_opts+=" $(use_enable vhost-net)"
|
||||
conf_opts+=" $(use_enable virtfs)"
|
||||
conf_opts+=" $(use_enable vnc)"
|
||||
conf_opts+=" $(use_enable xattr attr)"
|
||||
conf_opts+=" $(use_enable xen)"
|
||||
conf_opts+=" $(use_enable xen xen-pci-passthrough)"
|
||||
conf_opts+=" $(use_enable xfs xfsctl)"
|
||||
use mixemu && conf_opts+=" --enable-mixemu"
|
||||
conf_opts+=" --audio-drv-list=${audio_opts}"
|
||||
conf_opts+=" --enable-migration-from-qemu-kvm"
|
||||
fi
|
||||
|
||||
conf_opts+=" $(use_enable debug debug-info)"
|
||||
conf_opts+=" $(use_enable debug debug-tcg)"
|
||||
conf_opts+=" --enable-docs"
|
||||
conf_opts+=" $(use_enable tci tcg-interpreter)"
|
||||
|
||||
# Add support for SystemTAP
|
||||
use systemtap && conf_opts="${conf_opts} --enable-trace-backend=dtrace"
|
||||
|
||||
# Add support for static builds
|
||||
use ${static_flag} && conf_opts="${conf_opts} --static --disable-pie"
|
||||
|
||||
# We always want to attempt to build with PIE support as it results
|
||||
# in a more secure binary. But it doesn't work with static or if
|
||||
# the current GCC doesn't have PIE support.
|
||||
if ! use ${static_flag} && gcc-specs-pie; then
|
||||
conf_opts="${conf_opts} --enable-pie"
|
||||
fi
|
||||
|
||||
einfo "./configure ${conf_opts}"
|
||||
cd ${builddir}
|
||||
../configure \
|
||||
--cc="$(tc-getCC)" \
|
||||
--host-cc="$(tc-getBUILD_CC)" \
|
||||
${conf_opts} \
|
||||
|| die "configure failed"
|
||||
|
||||
# FreeBSD's kernel does not support QEMU assigning/grabbing
|
||||
# host USB devices yet
|
||||
use kernel_FreeBSD && \
|
||||
sed -E -e "s|^(HOST_USB=)bsd|\1stub|" -i "${S}"/config-host.mak
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
softmmu_targets=
|
||||
user_targets=
|
||||
|
||||
for target in ${IUSE_SOFTMMU_TARGETS} ; do
|
||||
use "qemu_softmmu_targets_${target}" && \
|
||||
softmmu_targets="${softmmu_targets},${target}-softmmu"
|
||||
done
|
||||
|
||||
for target in ${IUSE_USER_TARGETS} ; do
|
||||
use "qemu_user_targets_${target}" && \
|
||||
user_targets="${user_targets},${target}-linux-user"
|
||||
done
|
||||
|
||||
[[ -n ${softmmu_targets} ]] && \
|
||||
einfo "Building the following softmmu targets: ${softmmu_targets}"
|
||||
|
||||
[[ -n ${user_targets} ]] && \
|
||||
einfo "Building the following user targets: ${user_targets}"
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
mkdir "${S}/softmmu-build"
|
||||
qemu_src_configure "softmmu" "${S}/softmmu-build"
|
||||
fi
|
||||
|
||||
if [[ -n ${user_targets} ]]; then
|
||||
mkdir "${S}/user-build"
|
||||
qemu_src_configure "user" "${S}/user-build"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if [[ -n ${user_targets} ]]; then
|
||||
cd "${S}/user-build"
|
||||
default
|
||||
fi
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
cd "${S}/softmmu-build"
|
||||
default
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${S}/softmmu-build"
|
||||
emake -j1 check
|
||||
emake -j1 check-report.html
|
||||
}
|
||||
|
||||
qemu_python_install() {
|
||||
python_domodule "${S}/QMP/qmp.py"
|
||||
|
||||
python_doscript "${S}/scripts/kvm/kvm_stat"
|
||||
python_doscript "${S}/scripts/kvm/vmxcap"
|
||||
python_doscript "${S}/QMP/qmp-shell"
|
||||
python_doscript "${S}/QMP/qemu-ga-client"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if [[ -n ${user_targets} ]]; then
|
||||
cd "${S}/user-build"
|
||||
emake DESTDIR="${ED}" install
|
||||
|
||||
# Install binfmt handler init script for user targets
|
||||
newinitd "${FILESDIR}/qemu-binfmt.initd-r1" qemu-binfmt
|
||||
fi
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
cd "${S}/softmmu-build"
|
||||
emake DESTDIR="${ED}" install
|
||||
|
||||
if use test; then
|
||||
dohtml check-report.html
|
||||
fi
|
||||
|
||||
if use kernel_linux; then
|
||||
udev_dorules "${FILESDIR}"/65-kvm.rules
|
||||
fi
|
||||
|
||||
if use qemu_softmmu_targets_x86_64 ; then
|
||||
newbin "${FILESDIR}/qemu-kvm-1.4" qemu-kvm
|
||||
ewarn "The deprecated '/usr/bin/kvm' symlink is no longer installed"
|
||||
ewarn "You should use '/usr/bin/qemu-kvm', you may need to edit"
|
||||
ewarn "your libvirt configs or other wrappers for ${PN}"
|
||||
elif use x86 || use amd64; then
|
||||
elog "You disabled QEMU_SOFTMMU_TARGETS=x86_64, this disables install"
|
||||
elog "of the /usr/bin/qemu-kvm script."
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
python_foreach_impl qemu_python_install
|
||||
fi
|
||||
fi
|
||||
|
||||
# Install config file example for qemu-bridge-helper
|
||||
insinto "/etc/qemu"
|
||||
doins "${FILESDIR}/bridge.conf"
|
||||
|
||||
# Remove the docdir placed qmp-commands.txt
|
||||
mv "${ED}/usr/share/doc/${PF}/html/qmp-commands.txt" "${S}/QMP/"
|
||||
|
||||
cd "${S}"
|
||||
dodoc Changelog MAINTAINERS docs/specs/pci-ids.txt
|
||||
newdoc pc-bios/README README.pc-bios
|
||||
dodoc QMP/qmp-commands.txt QMP/qmp-events.txt QMP/qmp-spec.txt
|
||||
|
||||
# Remove SeaBIOS since we're using the SeaBIOS packaged one
|
||||
rm "${ED}/usr/share/qemu/bios.bin"
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../seabios/bios.bin /usr/share/qemu/bios.bin
|
||||
fi
|
||||
|
||||
# Remove vgabios since we're using the vgabios packaged one
|
||||
rm "${ED}/usr/share/qemu/vgabios.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-cirrus.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-qxl.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-stdvga.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-vmware.bin"
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../vgabios/vgabios.bin /usr/share/qemu/vgabios.bin
|
||||
dosym ../vgabios/vgabios-cirrus.bin /usr/share/qemu/vgabios-cirrus.bin
|
||||
dosym ../vgabios/vgabios-qxl.bin /usr/share/qemu/vgabios-qxl.bin
|
||||
dosym ../vgabios/vgabios-stdvga.bin /usr/share/qemu/vgabios-stdvga.bin
|
||||
dosym ../vgabios/vgabios-vmware.bin /usr/share/qemu/vgabios-vmware.bin
|
||||
fi
|
||||
|
||||
# Remove sgabios since we're using the sgabios packaged one
|
||||
rm "${ED}/usr/share/qemu/sgabios.bin"
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../sgabios/sgabios.bin /usr/share/qemu/sgabios.bin
|
||||
fi
|
||||
|
||||
# Remove iPXE since we're using the iPXE packaged one
|
||||
rm "${ED}"/usr/share/qemu/pxe-*.rom
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../ipxe/8086100e.rom /usr/share/qemu/pxe-e1000.rom
|
||||
dosym ../ipxe/80861209.rom /usr/share/qemu/pxe-eepro100.rom
|
||||
dosym ../ipxe/10500940.rom /usr/share/qemu/pxe-ne2k_pci.rom
|
||||
dosym ../ipxe/10222000.rom /usr/share/qemu/pxe-pcnet.rom
|
||||
dosym ../ipxe/10ec8139.rom /usr/share/qemu/pxe-rtl8139.rom
|
||||
dosym ../ipxe/1af41000.rom /usr/share/qemu/pxe-virtio.rom
|
||||
fi
|
||||
|
||||
qemu_support_kvm && readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local virtfs_caps=
|
||||
|
||||
if qemu_support_kvm; then
|
||||
readme.gentoo_print_elog
|
||||
ewarn "Migration from qemu-kvm instances and loading qemu-kvm created"
|
||||
ewarn "save states will be removed in the next release (1.7.x)"
|
||||
ewarn
|
||||
ewarn "It is recommended that you migrate any VMs that may be running"
|
||||
ewarn "on qemu-kvm to a host with a newer qemu and regenerate"
|
||||
ewarn "any saved states with a newer qemu."
|
||||
ewarn
|
||||
ewarn "qemu-kvm was the primary qemu provider in Gentoo through 1.2.x"
|
||||
fi
|
||||
|
||||
virtfs_caps+="cap_chown,cap_dac_override,cap_fowner,cap_fsetid,"
|
||||
virtfs_caps+="cap_setgid,cap_mknod,cap_setuid"
|
||||
|
||||
fcaps cap_net_admin /usr/libexec/qemu-bridge-helper
|
||||
use virtfs && fcaps ${virtfs_caps} /usr/bin/virtfs-proxy-helper
|
||||
}
|
||||
|
||||
pkg_info() {
|
||||
echo "Using:"
|
||||
echo " $(best_version app-emulation/spice-protocol)"
|
||||
echo " $(best_version sys-firmware/ipxe)"
|
||||
echo " $(best_version sys-firmware/seabios)"
|
||||
if has_version sys-firmware/seabios[binary]; then
|
||||
echo " USE=binary"
|
||||
else
|
||||
echo " USE=''"
|
||||
fi
|
||||
echo " $(best_version sys-firmware/vgabios)"
|
||||
}
|
@ -1,233 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-player/vmware-player-3.1.6.744570.ebuild,v 1.3 2013/06/22 22:37:55 dilfridge Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils versionator fdo-mime gnome2-utils vmware-bundle
|
||||
|
||||
MY_PN="VMware-Player"
|
||||
MY_PV="$(replace_version_separator 3 - $PV)"
|
||||
MY_P="${MY_PN}-${MY_PV}"
|
||||
PV_MINOR=$(get_version_component_range 3)
|
||||
|
||||
DESCRIPTION="Emulate a complete PC on your PC without the usual performance overhead of most emulators"
|
||||
HOMEPAGE="http://www.vmware.com/products/player/"
|
||||
SRC_URI="
|
||||
x86? ( ${MY_P}.i386.bundle )
|
||||
amd64? ( ${MY_P}.x86_64.bundle )
|
||||
"
|
||||
|
||||
LICENSE="vmware GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
IUSE="doc +vmware-tools"
|
||||
RESTRICT="fetch strip"
|
||||
|
||||
# vmware-workstation should not use virtual/libc as this is a
|
||||
# precompiled binary package thats linked to glibc.
|
||||
RDEPEND="dev-cpp/cairomm
|
||||
dev-cpp/glibmm:2
|
||||
dev-cpp/gtkmm:2.4
|
||||
dev-cpp/libgnomecanvasmm:2.6
|
||||
dev-cpp/libsexymm
|
||||
dev-cpp/pangomm:1.4
|
||||
dev-libs/atk
|
||||
dev-libs/glib:2
|
||||
dev-libs/libaio
|
||||
dev-libs/libsigc++
|
||||
dev-libs/libxml2
|
||||
=dev-libs/openssl-0.9.8*
|
||||
dev-libs/xmlrpc-c
|
||||
gnome-base/libgnomecanvas
|
||||
gnome-base/libgtop:2
|
||||
gnome-base/librsvg:2
|
||||
gnome-base/orbit
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
media-libs/libart_lgpl
|
||||
=media-libs/libpng-1.2*
|
||||
net-misc/curl
|
||||
sys-devel/gcc
|
||||
sys-fs/fuse
|
||||
sys-libs/glibc
|
||||
sys-libs/zlib
|
||||
x11-libs/cairo
|
||||
x11-libs/gtk+:2
|
||||
x11-libs/libgksu
|
||||
x11-libs/libICE
|
||||
x11-libs/libsexy
|
||||
x11-libs/libSM
|
||||
>=x11-libs/libview-0.6.6
|
||||
x11-libs/libX11
|
||||
x11-libs/libXau
|
||||
x11-libs/libxcb
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXdmcp
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXft
|
||||
x11-libs/libXi
|
||||
x11-libs/libXinerama
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXtst
|
||||
x11-libs/pango
|
||||
x11-libs/startup-notification
|
||||
!app-emulation/vmware-workstation"
|
||||
PDEPEND="~app-emulation/vmware-modules-238.${PV_MINOR}
|
||||
vmware-tools? ( app-emulation/vmware-tools )"
|
||||
|
||||
S=${WORKDIR}/vmware-player-app
|
||||
VM_INSTALL_DIR="/opt/vmware"
|
||||
|
||||
pkg_nofetch() {
|
||||
local bundle
|
||||
|
||||
if use x86; then
|
||||
bundle="${MY_P}.i386.bundle"
|
||||
elif use amd64; then
|
||||
bundle="${MY_P}.x86_64.bundle"
|
||||
fi
|
||||
|
||||
einfo "Please download ${bundle}"
|
||||
einfo "from ${HOMEPAGE}"
|
||||
einfo "and place it in ${DISTDIR}"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
vmware-bundle_extract-bundle-component "${DISTDIR}/${A}" vmware-player-app
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
rm -f bin/vmware-modconfig
|
||||
rm -rf lib/modules/binary
|
||||
|
||||
# remove superfluous libraries
|
||||
ebegin 'Removing superfluous libraries'
|
||||
cd lib/lib || die
|
||||
# exclude OpenSSL from unbundling until the AES-NI patch gets into the tree
|
||||
# see http://forums.gentoo.org/viewtopic-t-835867.html
|
||||
ldconfig -p | sed 's:^\s\+\([^(]*[^( ]\).*=> /.*$:\1:g;t;d' | fgrep -vx 'libcrypto.so.0.9.8
|
||||
libssl.so.0.9.8' | xargs -d'\n' -r rm -rf
|
||||
eend
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local major_minor_revision=$(get_version_component_range 1-3 "${PV}")
|
||||
local build=$(get_version_component_range 4 "${PV}")
|
||||
|
||||
# install the binaries
|
||||
into "${VM_INSTALL_DIR}"
|
||||
dobin bin/* || die "failed to install bin"
|
||||
dosbin sbin/* || die "failed to install sbin"
|
||||
|
||||
# install the libraries
|
||||
insinto "${VM_INSTALL_DIR}"/lib/vmware
|
||||
doins -r lib/* || die "failed to install lib"
|
||||
|
||||
# commented out until Portage gets OpenSSL 0.9.8 with AES-NI support
|
||||
# see http://forums.gentoo.org/viewtopic-t-835867.html
|
||||
## these two libraries do not like to load from /usr/lib*
|
||||
#local each ; for each in libcrypto.so.0.9.8 libssl.so.0.9.8 ; do
|
||||
# if [[ ! -f "${VM_INSTALL_DIR}/lib/vmware/lib/${each}" ]] ; then
|
||||
# dosym "/usr/$(get_libdir)/${each}" \
|
||||
# "${VM_INSTALL_DIR}/lib/vmware/lib/${each}/${each}"
|
||||
# fi
|
||||
#done
|
||||
|
||||
# install the ancillaries
|
||||
insinto /usr
|
||||
doins -r share || die "failed to install share"
|
||||
|
||||
# install documentation
|
||||
if use doc; then
|
||||
dodoc doc/* || die "failed to install docs"
|
||||
fi
|
||||
|
||||
# create symlinks for the various tools
|
||||
local tool ; for tool in vmplayer{,-daemon} \
|
||||
vmware-{acetool,unity-helper,modconfig{,-console},gksu,fuseUI} ; do
|
||||
dosym appLoader "${VM_INSTALL_DIR}"/lib/vmware/bin/"${tool}" || die
|
||||
done
|
||||
dosym "${VM_INSTALL_DIR}"/lib/vmware/bin/vmplayer "${VM_INSTALL_DIR}"/bin/vmplayer || die
|
||||
|
||||
# fix up permissions
|
||||
chmod 0755 "${D}${VM_INSTALL_DIR}"/lib/vmware/{bin/*,lib/wrapper-gtk24.sh}
|
||||
chmod 04711 "${D}${VM_INSTALL_DIR}"/sbin/vmware-authd
|
||||
chmod 04711 "${D}${VM_INSTALL_DIR}"/lib/vmware/bin/vmware-vmx*
|
||||
|
||||
# create the environment
|
||||
local envd="${T}/90vmware"
|
||||
cat > "${envd}" <<-EOF
|
||||
PATH='${VM_INSTALL_DIR}/bin'
|
||||
ROOTPATH='${VM_INSTALL_DIR}/bin'
|
||||
EOF
|
||||
doenvd "${envd}" || die
|
||||
|
||||
# create the configuration
|
||||
dodir /etc/vmware || die
|
||||
|
||||
cat > "${D}"/etc/vmware/bootstrap <<-EOF
|
||||
BINDIR='${VM_INSTALL_DIR}/bin'
|
||||
LIBDIR='${VM_INSTALL_DIR}/lib'
|
||||
EOF
|
||||
|
||||
cat > "${D}"/etc/vmware/config <<-EOF
|
||||
bindir = "${VM_INSTALL_DIR}/bin"
|
||||
libdir = "${VM_INSTALL_DIR}/lib/vmware"
|
||||
initscriptdir = "/etc/init.d"
|
||||
authd.fullpath = "${VM_INSTALL_DIR}/sbin/vmware-authd"
|
||||
gksu.rootMethod = "su"
|
||||
VMCI_CONFED = "yes"
|
||||
VMBLOCK_CONFED = "yes"
|
||||
VSOCK_CONFED = "yes"
|
||||
NETWORKING = "yes"
|
||||
player.product.version = "${major_minor_revision}"
|
||||
product.buildNumber = "${build}"
|
||||
EOF
|
||||
|
||||
# install the init.d script
|
||||
local initscript="${T}/vmware.rc"
|
||||
|
||||
sed -e "s:@@BINDIR@@:${VM_INSTALL_DIR}/bin:g" \
|
||||
"${FILESDIR}/vmware-3.0.rc" > "${initscript}" || die
|
||||
newinitd "${initscript}" vmware || die
|
||||
|
||||
# fill in variable placeholders
|
||||
sed -e "s:@@LIBCONF_DIR@@:${VM_INSTALL_DIR}/lib/vmware/libconf:g" \
|
||||
-i "${D}${VM_INSTALL_DIR}"/lib/vmware/libconf/etc/{gtk-2.0/{gdk-pixbuf.loaders,gtk.immodules},pango/pango{.modules,rc}} || die
|
||||
sed -e "s:@@BINARY@@:${VM_INSTALL_DIR}/bin/vmplayer:g" \
|
||||
-i "${D}/usr/share/applications/${PN}.desktop" || die
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
"${VM_INSTALL_DIR}"/bin/vmware-networks --postinstall ${PN},old,new
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
|
||||
ewarn "/etc/env.d was updated. Please run:"
|
||||
ewarn "env-update && source /etc/profile"
|
||||
ewarn ""
|
||||
ewarn "Before you can use vmware-player, you must configure a default network setup."
|
||||
ewarn "You can do this by running 'emerge --config ${PN}'."
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
einfo "Stopping ${PN} for safe unmerge"
|
||||
/etc/init.d/vmware stop
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1,6 +1,2 @@
|
||||
DIST byobu_5.49.orig.tar.gz 603524 SHA256 7bd8d1de30de56c1541c581585baf370941d8e907d157fe071976bbbbfa2c66f SHA512 009e1a0a9689b29a34ed80f5a74e24169d2755fa2d6f851599a4fb1f8d9ff7282d38be39f4dff9d596cc10a837d8c7a64cb160037fa9b990854d1b91d715115c WHIRLPOOL 424cf01d62b28f393f7d28a3d3e70d76e595627e5f7ee6d4fb5828304242f13aefb55b7a278f903aa0d6681e1a1d9df2581cbb0c2f509422516678126b90e808
|
||||
DIST byobu_5.55.orig.tar.gz 604844 SHA256 372ce92426971bed38bf1db9169e6307142c084daddba5c67914982116a5f802 SHA512 adb84dd2295280d1eb43da79c67dacc174de046e53a09c67b7f34f690a9ce519cb15a9b783b198c8ad9160bc98cc5fafb3a517578bc2aad3455d3f08d85d6c8c WHIRLPOOL d47fca7f5033330ba7d6ea7e981bca9dc66cfd29f576ddc13132ad144601d470f8c58063c1c38561f0023f2a2f9493ac10692a3b14f75629588751928dbdd56c
|
||||
DIST byobu_5.56.orig.tar.gz 604796 SHA256 ac96c386279a805b9612c47cc6658f5cc1d8ae60c783288e20415fa759dfecef SHA512 5b8d0d219dfcc206c91018f0f192d480101ab6bc8812954619b2ff15f1d84e557ddf4a84e21a825ac974b1dfc53ce03be7bb052624f3469a89f0d482d7fcc448 WHIRLPOOL 8c124590e740c722530880d4cbafab3775369efb5cc844fa9860d01042ff1eb443d4023ca9c5cdf857246c31b01fd6537c57eb4f9882c16bc860f2349e61682d
|
||||
DIST byobu_5.58.orig.tar.gz 604999 SHA256 9e08c27d1cfd56574414794579e9555b7951ec09b8de02bf731e4da860ae1baf SHA512 d88da0c3bd1379ca69d6c0b8a1591b27f10272b6560425fc4607e9b19fbcf8311147230aae0370848e3ecbba8d03428237505af3758c2d25f396e18893e37f3b WHIRLPOOL 556777f6d7d3be62061111efc077f3843a6ab9efca157166279c05f1e1ee90f1ea3817c9fc6feb00b98bbf5a6534ec21fd4ca10165870bfcd860d5a17428e3d0
|
||||
DIST byobu_5.59.orig.tar.gz 605479 SHA256 c56a601113b8810459ea9a99089d930a9620296e7021f26c9e9a13ae52363117 SHA512 8ae8db18500ee7887f8ba177e8085d1e460712f1233a38fe51f29cab0a3f99d0f6c1c43fb3feecc0dca36bdf11cf4bea4e656f39d0211c343f39fbb1b13f6696 WHIRLPOOL 84e722f6bb1f9587c8be2c60e790fe97529e86e93e3ac235b742826c6766d5766b17cc635f0cb8af55557fcec498c8b255fd17ec1ecc320190530c317a8aaf91
|
||||
DIST byobu_5.60.orig.tar.gz 605674 SHA256 e87ade7d4121ccf4747605137af001c403b82fdec93167b5fb83c2821c25cad9 SHA512 78ebc15768c164db959c1175e5be1285a16b7089357a4d4d457c80aecfdb42283ded814393f7d5bbe67a29550ceb48506b61a380de5aee81af2cb7bd701e1a0c WHIRLPOOL 69a249a84411c0174badccae69372d539f49c0d33e778d83a44b18193e14e166886ca98a3b540c5669b781f3b20ab13966367e1ff3fe8352ce8c78be610edcf4
|
||||
DIST byobu_5.61.orig.tar.gz 630523 SHA256 cecff76fd666ebd76c6fe002b54f9f17a4901cdecf5e3d363fe3b660b3f2fb09 SHA512 f8a90f909461627b6b20aeea9bd3e36d6e7aaf57d57c1221f084330551ce257e087eb212012236e31a15fb8581d3b2f05241a992cab792c9726d9fca687d0c02 WHIRLPOOL 3c3d26386ac8ebd71a6b4e76880767e5189e9201453db9d2a1031faddb85f0d71ef83c998f641efdf50936908a594ef9950927b2884e7284724951cb01dabf76
|
||||
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/byobu/byobu-5.55.ebuild,v 1.1 2013/08/16 04:14:02 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit python-single-r1
|
||||
|
||||
DESCRIPTION="A set of profiles for the GNU Screen console window manager (app-misc/screen)"
|
||||
HOMEPAGE="http://byobu.co"
|
||||
SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P/-/_}.orig.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="screen"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-libs/newt[${PYTHON_USEDEP}]
|
||||
screen? ( app-misc/screen )
|
||||
!screen? ( app-misc/tmux )"
|
||||
|
||||
src_prepare() {
|
||||
python_fix_shebang .
|
||||
|
||||
# Set default system backend to screen
|
||||
if use screen ; then
|
||||
sed -i -e 's/#\(BYOBU_BACKEND\).*/\1="screen"/' etc/byobu/backend || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# Create symlinks for backends
|
||||
dosym ${PN} /usr/bin/${PN}-screen
|
||||
dosym ${PN} /usr/bin/${PN}-tmux
|
||||
|
||||
docompress -x /usr/share/doc/${PN}
|
||||
}
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/byobu/byobu-5.56.ebuild,v 1.1 2013/08/27 05:57:01 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit python-single-r1
|
||||
|
||||
DESCRIPTION="A set of profiles for the GNU Screen console window manager (app-misc/screen)"
|
||||
HOMEPAGE="http://byobu.co"
|
||||
SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P/-/_}.orig.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="screen"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-libs/newt[${PYTHON_USEDEP}]
|
||||
screen? ( app-misc/screen )
|
||||
!screen? ( app-misc/tmux )"
|
||||
|
||||
src_prepare() {
|
||||
python_fix_shebang .
|
||||
|
||||
# Set default system backend to screen
|
||||
if use screen ; then
|
||||
sed -i -e 's/#\(BYOBU_BACKEND\).*/\1="screen"/' etc/byobu/backend || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# Create symlinks for backends
|
||||
dosym ${PN} /usr/bin/${PN}-screen
|
||||
dosym ${PN} /usr/bin/${PN}-tmux
|
||||
|
||||
docompress -x /usr/share/doc/${PN}
|
||||
}
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/byobu/byobu-5.58.ebuild,v 1.1 2013/09/16 15:52:19 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit python-single-r1
|
||||
|
||||
DESCRIPTION="A set of profiles for the GNU Screen console window manager (app-misc/screen)"
|
||||
HOMEPAGE="http://byobu.co"
|
||||
SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P/-/_}.orig.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="screen"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-libs/newt[${PYTHON_USEDEP}]
|
||||
screen? ( app-misc/screen )
|
||||
!screen? ( app-misc/tmux )"
|
||||
|
||||
src_prepare() {
|
||||
python_fix_shebang .
|
||||
|
||||
# Set default system backend to screen
|
||||
if use screen ; then
|
||||
sed -i -e 's/#\(BYOBU_BACKEND\).*/\1="screen"/' etc/byobu/backend || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# Create symlinks for backends
|
||||
dosym ${PN} /usr/bin/${PN}-screen
|
||||
dosym ${PN} /usr/bin/${PN}-tmux
|
||||
|
||||
docompress -x /usr/share/doc/${PN}
|
||||
}
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/byobu/byobu-5.59.ebuild,v 1.1 2013/09/20 20:04:25 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit python-single-r1
|
||||
|
||||
DESCRIPTION="A set of profiles for the GNU Screen console window manager (app-misc/screen)"
|
||||
HOMEPAGE="http://byobu.co"
|
||||
SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P/-/_}.orig.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="screen"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-libs/newt[${PYTHON_USEDEP}]
|
||||
screen? ( app-misc/screen )
|
||||
!screen? ( app-misc/tmux )"
|
||||
|
||||
src_prepare() {
|
||||
python_fix_shebang .
|
||||
|
||||
# Set default system backend to screen
|
||||
if use screen ; then
|
||||
sed -i -e 's/#\(BYOBU_BACKEND\).*/\1="screen"/' etc/byobu/backend || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# Create symlinks for backends
|
||||
dosym ${PN} /usr/bin/${PN}-screen
|
||||
dosym ${PN} /usr/bin/${PN}-tmux
|
||||
|
||||
docompress -x /usr/share/doc/${PN}
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/byobu/byobu-5.49.ebuild,v 1.1 2013/07/30 06:21:07 radhermit Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/byobu/byobu-5.61.ebuild,v 1.1 2013/10/20 19:27:56 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
@ -1,2 +1,3 @@
|
||||
DIST qpdfview-0.4.3.tar.gz 351371 SHA256 66c579e6e837aed532a1389ced4987cce1055cea36f8b3d61b634dd8cbdd8c79 SHA512 eff18828bda1fbec5004d301ba9beea912064451a3ebe686853dedc64faeb2a423a49d3cf281f48740e144552f8f3bec6be70bb5e38f4a6604b89e68fe5bfa3b WHIRLPOOL 74bf95f126d95efec68401d33391ce09b560f1ee4fa4a57e35e7941c9a33e55206b7f1a7771ffb8349447447e544f0cc9008f91c73f07f37d6ea73d2f290184c
|
||||
DIST qpdfview-0.4.4.tar.gz 383702 SHA256 54992547416f841bd9cd8918dce835028b0a73fafcdbe78b0defd74715094723 SHA512 dfbe92f8899fd9645a3abc15dc4b55a0cd674005860270fe386d6ea58f7ea46932b655b3615e1eb76accd288cb590d5c81a6ef0004e969dcaa88a7eada143362 WHIRLPOOL c4cf82bec03c85371b056ff6f7a8048644a71586c6df11866b4736a3cc98a9e64b241ae0fa73c1c763dadba74e6564c21051b0239d76f430e6fac4a8922bc8e6
|
||||
DIST qpdfview-0.4.6.tar.gz 419343 SHA256 90ef4c3183a54cefeecf247e2365fb1670bf82605b7c1048a3140f4af8c40776 SHA512 7caa73996a464818f5901535edf871e7855c7f8353ef49bfd9d29e869a2e2523c39427a2fa6790b2235ddedbc21fa2b0c051be72646d5b55524ff4a7f9d5deaa WHIRLPOOL 372abed347aa8aa1f2f007d73e081a7d877bc6c1f78a08cede2aa9f69a1bd2493e970faeac630896ef8af8fe7a74d8dcfd02509cd594dd31693a9f8c45a0c1bd
|
||||
|
@ -0,0 +1,70 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/qpdfview/qpdfview-0.4.6.ebuild,v 1.1 2013/10/21 03:46:37 yngwin Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PLOCALES="ast az bg bs ca cs da de el en_GB eo es eu fi fr gl he hr id it kk ky ms my pl pt pt_BR ro ru sk tr ug uk zh_CN"
|
||||
inherit l10n multilib qt4-r2
|
||||
|
||||
DESCRIPTION="A tabbed document viewer"
|
||||
HOMEPAGE="http://launchpad.net/qpdfview"
|
||||
SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="cups dbus djvu +pdf postscript sqlite +svg synctex"
|
||||
|
||||
RDEPEND="dev-qt/qtcore:4[iconv]
|
||||
dev-qt/qtgui:4
|
||||
cups? ( net-print/cups )
|
||||
dbus? ( dev-qt/qtdbus:4 )
|
||||
djvu? ( app-text/djvu )
|
||||
pdf? ( app-text/poppler[qt4] )
|
||||
postscript? ( app-text/libspectre )
|
||||
sqlite? ( dev-qt/qtsql:4[sqlite] )
|
||||
svg? ( dev-qt/qtsvg:4 )
|
||||
!svg? ( virtual/freedesktop-icon-theme )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS=( CHANGES CONTRIBUTORS README TODO )
|
||||
|
||||
prepare_locale() {
|
||||
lrelease "translations/${PN}_${1}.ts" || die "preparing ${1} locale failed"
|
||||
}
|
||||
|
||||
rm_help() {
|
||||
if [[ -e "miscellaneous/help_${1}.html" ]]; then
|
||||
rm "miscellaneous/help_${1}.html" || die "removing extraneous help files failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
l10n_find_plocales_changes "translations" "${PN}_" '.ts'
|
||||
l10n_for_each_locale_do prepare_locale
|
||||
l10n_for_each_disabled_locale_do rm_help
|
||||
|
||||
qt4-r2_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local config i
|
||||
|
||||
for i in cups dbus pdf djvu svg synctex ; do
|
||||
if ! use ${i} ; then
|
||||
config+=" without_${i}"
|
||||
fi
|
||||
done
|
||||
|
||||
if ! use sqlite ; then
|
||||
config+=" without_sql"
|
||||
fi
|
||||
|
||||
if ! use postscript ; then
|
||||
config+=" without_ps"
|
||||
fi
|
||||
|
||||
eqmake4 CONFIG+="${config}" PLUGIN_INSTALL_PATH="/usr/$(get_libdir)/${PN}"
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST easy-align-2.5.1.tar.gz 13019 SHA256 8a441063b8926c7b5d29027624af61a5a1e6a6759fa6752e1429a0ded961ab14 SHA512 d8ac03f8fbd40eef7dc2c31e5460db2c540b8ea766146e89f9a6cf97e0fafece8dec411a8139e64bf8921e453c937a0e02c6935a22d89088da547b03b4baacdb WHIRLPOOL 7e4c28bf3f6e7f94199e9da9a5052766d8311f2e9a1d51fe09b3f541ce8c4ff0935daddde0eee90dfcce1cf9683a454d1794e708e2489f8eb94acfa5df3d5f15
|
||||
DIST easy-align-2.6.0.tar.gz 13845 SHA256 331229a2ea13de6c51fc38899efec4228394a2924816c35194f7c650ff7b0c70 SHA512 b04e9eed5c5ad5c448c45c2567ba82dfd669cf009d2b3105b5bac4d26637e1d6e5a0c071dde22dfbb8a5ba2f2085b4386055384ec63f1042d1d0171dabf3bb0a WHIRLPOOL e8e3f13b5f04fcd4cf60a1e2d7a65e6a26694ecd9f111f43f7a6801fd80eb8cf49d7aa71e1f8f2c37ba023a05fee05c3e6780b046234bee0df1a09dbd17c5376
|
||||
DIST easy-align-2.6.1.tar.gz 14066 SHA256 d83693510039388b84fc9fccb6931baaa7b41bf41ff71ac84deb70873e340135 SHA512 6a5127b3f160d7399d0f4822c1bf4743e704ed5d60ff453291754f53c23cc19aa006cc65b84be15d5693244a26ee5f08755da004aa89ec360f0aa84c1566ecb8 WHIRLPOOL 919c984a55fdc97b0a4225ce7cd313bec886068e6742b3a5303aeb08635f2baf0f916cce128dbeb0eb490dd08e46aab03c37ca92161e93992ca68878b0856cdf
|
||||
DIST easy-align-2.7.0.tar.gz 15241 SHA256 e071cfdda67268365efaf78bbb640469c1c2da7eeb0f5b819525e7049cffc8d9 SHA512 5654ab3daad29a5451de7db6ef011022d7f1b32fb616c4fe966d173f7031b0e90efe312f26ebe411dc64c7f418457e1468869b87346777c760ebf3737a9809ae WHIRLPOOL c3e76858822add429ca70f1881dbf9e71ff955e076ef0eae43c75e0dc06c5fed80ecd1891684089b63e4b21e9326def6c13f7a0a5f6f8d78edfeaf980391df62
|
||||
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/easy-align/easy-align-2.7.0.ebuild,v 1.1 2013/10/21 21:57:11 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit vim-plugin
|
||||
|
||||
MY_PN="vim-${PN}"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
DESCRIPTION="vim plugin: a simple alignment plugin"
|
||||
HOMEPAGE="https://github.com/junegunn/vim-easy-align http://www.vim.org/scripts/script.php?script_id=4520"
|
||||
SRC_URI="https://github.com/junegunn/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
VIM_PLUGIN_HELPFILES="${PN}"
|
||||
|
||||
S=${WORKDIR}/${MY_PN}-${PV}
|
||||
|
||||
src_prepare() {
|
||||
rmdir test || die
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST barman-1.2.1.tar.gz 70413 SHA256 7389b7c7e532e4b67adc2f606c74fcbdd3dc0c7284c16256da9a0e0a3a4f8060 SHA512 044b87570262ca8ac953ead93c87c1f75bea68214b6417a88e9d8df0af7feae9b22c77f695cfda89a555982d2c65dfe8fb212d18ab399828ddd8f883c8c49016 WHIRLPOOL 018cf64473ea22fcdadeb4c0fbb6e477a9bf2f08d99e1174a9252bd9482bc06d61c2f228666e6ac140b749f2576712cd7d82d1e0ee86583d7553abf456fc70cd
|
||||
DIST barman-1.2.2.tar.gz 70412 SHA256 fd4f941bab62f5875ecf238a90f5ad05a59622f3bea88265ee483629112ef366 SHA512 7603e2b0387331e044283445943317f44d2c0fd20dcb44364d506ec966b61b5d31aeaf49ba81bac66d137a4747393676de5ff74894034aa6e26c19d5d2589b8f WHIRLPOOL a1a65077b7fb3975cf20b49a8abb06adb9fc7bd72628185c2a744d1185997361566bd792c0ac3b884c01f1a0b2156ffbbbacbd41cc17458c245490d6f206eba6
|
||||
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/barman/barman-1.2.2.ebuild,v 1.1 2013/10/21 05:02:37 patrick Exp $
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7})
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Administration tool for disaster recovery of PostgreSQL servers"
|
||||
|
||||
HOMEPAGE="http://www.pgbarman.org"
|
||||
SRC_URI="http://downloads.sourceforge.net/project/pgbarman/${PV}/${P}.tar.gz"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-python/argh[${PYTHON_USEDEP}]
|
||||
>=dev-python/psycopg-2[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
net-misc/rsync
|
||||
dev-db/postgresql-server"
|
||||
DEPEND=""
|
@ -0,0 +1,108 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/mongodb-2.2.6-r1.ebuild,v 1.1 2013/10/21 10:17:05 ultrabug Exp $
|
||||
|
||||
EAPI=4
|
||||
SCONS_MIN_VERSION="1.2.0"
|
||||
|
||||
inherit eutils flag-o-matic multilib pax-utils scons-utils user versionator
|
||||
|
||||
MY_P=${PN}-src-r${PV/_rc/-rc}
|
||||
|
||||
DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
|
||||
HOMEPAGE="http://www.mongodb.org"
|
||||
SRC_URI="http://downloads.mongodb.org/src/${MY_P}.tar.gz
|
||||
mms-agent? ( http://dev.gentoo.org/~ultrabug/20130821-10gen-mms-agent.zip )"
|
||||
|
||||
LICENSE="AGPL-3 Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="mms-agent static-libs"
|
||||
|
||||
PDEPEND="mms-agent? ( dev-python/pymongo app-arch/unzip )"
|
||||
RDEPEND="
|
||||
>=dev-libs/boost-1.50[threads(+)]
|
||||
dev-libs/libpcre[cxx]
|
||||
dev-util/google-perftools
|
||||
net-libs/libpcap
|
||||
app-arch/snappy"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-libs/readline
|
||||
sys-libs/ncurses"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup mongodb
|
||||
enewuser mongodb -1 -1 /var/lib/${PN} mongodb
|
||||
|
||||
scons_opts=" --cc=$(tc-getCC) --cxx=$(tc-getCXX) --sharedclient --usesm"
|
||||
scons_opts+=" --use-system-tcmalloc"
|
||||
scons_opts+=" --use-system-pcre"
|
||||
scons_opts+=" --use-system-snappy"
|
||||
scons_opts+=" --use-system-boost"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-2.2-r1-fix-scons.patch"
|
||||
epatch "${FILESDIR}/${PN}-2.2-r1-fix-boost.patch"
|
||||
epatch "${FILESDIR}/${PN}-2.2-r2-boost-1.50.patch"
|
||||
epatch "${FILESDIR}/${PN}-2.2-fix-sharedclient.patch"
|
||||
|
||||
# FIXME: apply only this fix [1] on x86 boxes as it breaks /usr/lib symlink
|
||||
# on amd64 machines [2].
|
||||
# [1] https://jira.mongodb.org/browse/SERVER-5575
|
||||
# [2] https://bugs.gentoo.org/show_bug.cgi?id=434664
|
||||
if use !prefix && [[ "$(get_libdir)" == "lib" ]]; then
|
||||
epatch "${FILESDIR}/${PN}-2.2-fix-x86client.patch"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
escons ${scons_opts} all
|
||||
}
|
||||
|
||||
src_install() {
|
||||
escons ${scons_opts} --full --nostrip install --prefix="${ED}"/usr
|
||||
|
||||
use static-libs || rm "${ED}/usr/$(get_libdir)/libmongoclient.a"
|
||||
|
||||
for x in /var/{lib,log}/${PN}; do
|
||||
keepdir "${x}"
|
||||
fowners mongodb:mongodb "${x}"
|
||||
done
|
||||
|
||||
doman debian/mongo*.1
|
||||
dodoc README docs/building.md
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd-r1" ${PN}
|
||||
newconfd "${FILESDIR}/${PN}.confd" ${PN}
|
||||
newinitd "${FILESDIR}/${PN/db/s}.initd-r1" ${PN/db/s}
|
||||
newconfd "${FILESDIR}/${PN/db/s}.confd" ${PN/db/s}
|
||||
|
||||
insinto /etc/logrotate.d/
|
||||
newins "${FILESDIR}/${PN}.logrotate" ${PN}
|
||||
|
||||
if use mms-agent; then
|
||||
local MY_PN="mms-agent"
|
||||
local MY_D="/opt/${MY_PN}"
|
||||
insinto ${MY_D}
|
||||
doins "${WORKDIR}/${MY_PN}/"*
|
||||
fowners -R mongodb:mongodb ${MY_D}
|
||||
newinitd "${FILESDIR}/${MY_PN}.initd" ${MY_PN}
|
||||
newconfd "${FILESDIR}/${MY_PN}.confd" ${MY_PN}
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
escons ${scons_opts} test
|
||||
"${S}"/test --dbpath=unittest || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ${REPLACING_VERSIONS} < 1.8 ]]; then
|
||||
ewarn "You just upgraded from a previous version of mongodb !"
|
||||
ewarn "Make sure you run 'mongod --upgrade' before using this version."
|
||||
fi
|
||||
elog "Journaling is now enabled by default, see /etc/conf.d/${PN}"
|
||||
}
|
@ -0,0 +1,140 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/mongodb-2.4.6-r2.ebuild,v 1.1 2013/10/21 10:17:05 ultrabug Exp $
|
||||
|
||||
EAPI=4
|
||||
SCONS_MIN_VERSION="1.2.0"
|
||||
|
||||
inherit eutils flag-o-matic multilib pax-utils scons-utils systemd user versionator
|
||||
|
||||
MY_P=${PN}-src-r${PV/_rc/-rc}
|
||||
|
||||
DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
|
||||
HOMEPAGE="http://www.mongodb.org"
|
||||
SRC_URI="http://downloads.mongodb.org/src/${MY_P}.tar.gz
|
||||
mms-agent? ( http://dev.gentoo.org/~ultrabug/20130821-10gen-mms-agent.zip )"
|
||||
|
||||
LICENSE="AGPL-3 Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="kerberos mms-agent sharedclient spidermonkey ssl static-libs"
|
||||
|
||||
PDEPEND="mms-agent? ( dev-python/pymongo app-arch/unzip )"
|
||||
RDEPEND="
|
||||
>=dev-libs/boost-1.50[threads(+)]
|
||||
dev-libs/libpcre[cxx]
|
||||
dev-util/google-perftools
|
||||
net-libs/libpcap
|
||||
app-arch/snappy
|
||||
ssl? ( >=dev-libs/openssl-1.0.1c )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-libs/readline
|
||||
sys-libs/ncurses
|
||||
kerberos? ( dev-libs/cyrus-sasl[kerberos] )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup mongodb
|
||||
enewuser mongodb -1 -1 /var/lib/${PN} mongodb
|
||||
|
||||
scons_opts=" --cc=$(tc-getCC) --cxx=$(tc-getCXX)"
|
||||
scons_opts+=" --use-system-tcmalloc"
|
||||
scons_opts+=" --use-system-pcre"
|
||||
scons_opts+=" --use-system-snappy"
|
||||
scons_opts+=" --use-system-boost"
|
||||
|
||||
if use prefix; then
|
||||
scons_opts+=" --cpppath=${EPREFIX}/usr/include"
|
||||
scons_opts+=" --libpath=${EPREFIX}/usr/$(get_libdir)"
|
||||
fi
|
||||
|
||||
if use kerberos; then
|
||||
scons_opts+=" --use-sasl-client"
|
||||
fi
|
||||
|
||||
if use sharedclient; then
|
||||
scons_opts+=" --sharedclient"
|
||||
fi
|
||||
|
||||
if use spidermonkey; then
|
||||
scons_opts+=" --usesm"
|
||||
else
|
||||
scons_opts+=" --usev8"
|
||||
fi
|
||||
|
||||
if use ssl; then
|
||||
scons_opts+=" --ssl"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-2.4.5-fix-scons.patch"
|
||||
epatch "${FILESDIR}/${PN}-2.2-r1-fix-boost.patch"
|
||||
|
||||
# bug #462606
|
||||
sed -i -e "s@\$INSTALL_DIR/lib@\$INSTALL_DIR/$(get_libdir)@g" src/SConscript.client || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
escons ${scons_opts} all
|
||||
}
|
||||
|
||||
src_install() {
|
||||
escons ${scons_opts} --full --nostrip install --prefix="${ED}"/usr
|
||||
|
||||
use static-libs || find "${ED}"/usr/ -type f -name "*.a" -delete
|
||||
|
||||
if ! use spidermonkey; then
|
||||
pax-mark m "${ED}"/usr/bin/{mongo,mongod}
|
||||
fi
|
||||
|
||||
for x in /var/{lib,log}/${PN}; do
|
||||
keepdir "${x}"
|
||||
fowners mongodb:mongodb "${x}"
|
||||
done
|
||||
|
||||
doman debian/mongo*.1
|
||||
dodoc README docs/building.md
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd-r1" ${PN}
|
||||
newconfd "${FILESDIR}/${PN}.confd" ${PN}
|
||||
newinitd "${FILESDIR}/${PN/db/s}.initd-r1" ${PN/db/s}
|
||||
newconfd "${FILESDIR}/${PN/db/s}.confd" ${PN/db/s}
|
||||
systemd_dounit "${FILESDIR}"/${PN}.service
|
||||
insinto /etc
|
||||
doins "${FILESDIR}"/${PN}.conf
|
||||
|
||||
insinto /etc/logrotate.d/
|
||||
newins "${FILESDIR}/${PN}.logrotate" ${PN}
|
||||
|
||||
if use mms-agent; then
|
||||
local MY_PN="mms-agent"
|
||||
local MY_D="/opt/${MY_PN}"
|
||||
insinto ${MY_D}
|
||||
doins "${WORKDIR}/${MY_PN}/"*
|
||||
fowners -R mongodb:mongodb ${MY_D}
|
||||
newinitd "${FILESDIR}/${MY_PN}.initd" ${MY_PN}
|
||||
newconfd "${FILESDIR}/${MY_PN}.confd" ${MY_PN}
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# wrt bug #461466
|
||||
if [[ "$(get_libdir)" == "lib64" ]]; then
|
||||
rmdir "${ED}"/usr/lib/ &>/dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
escons ${scons_opts} test
|
||||
"${S}"/test --dbpath=unittest || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ${REPLACING_VERSIONS} < 2.4 ]]; then
|
||||
ewarn "You just upgraded from a previous version of mongodb !"
|
||||
ewarn "Make sure you run 'mongod --upgrade' before using this version."
|
||||
fi
|
||||
elog "Journaling is now enabled by default, see /etc/conf.d/${PN}"
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST pgadmin3-1.16.1.tar.gz 13783723 SHA256 d4ba243dc24dc28e6d0db4104baec373ab3bec11c6dc0e6cfa4bd665a5b7c28e SHA512 f5f110f99d15801dc2b2253c803cf038871461909cb63f114ee769ff0977183d6825f3bf13f378822f874fc15aa593f52cd999ccb97370b786b6e02f45ce4a81 WHIRLPOOL 375f444147e2ff850d1fdffe8d88bbd9296aff652f1008447242e7cbe5995ad1ba37822fafe5012d09bf963cf4485183f72087c3ade3740c2eab974e931fb5b1
|
||||
DIST pgadmin3-1.18.0.tar.gz 14257838 SHA256 58f29f5a380a49065e4b97bd9c8effd12ae99f464fa8834ba403baa2a658278d SHA512 dbf052269e4c0478239f111bca2e09b430a590778d19460f24b1f39c0204dad4a182ee93df06675c5640fd532ad289f5425468e5c08d11d833429e3076e2ed7b WHIRLPOOL 30a07cfb3a6fd0525fe1677186f9cb95f232c65e7851807abf0e929ccc4e34a36ec7fcb4f9f0df8ff5e1fdcc93b8f67ee9acb4c90a8ce33337bcb8ae15c5999f
|
||||
DIST pgadmin3-1.18.1.tar.gz 14265392 SHA256 27ac3e296a6ca3da9da8ee22ed98eabfe1377be507877ffc26048fc2a9c6cbc0 SHA512 e292aaf95159eda98fe5f5112aad758cc08c38fe325ef92c698009defeb3891d9e0d485c00a0cbb82b70a95f54755eeb7f90b82a34354e77b485f738b5458c99 WHIRLPOOL 1f1af18a721c2c99b0dc52ec571e5831aac89eb998d9917e82134f9a900fce5b5a8edcc55640c962bd9b14de1ebae42cf9d896e1a3f84a05402674252dfeeb17
|
||||
|
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/pgadmin3/pgadmin3-1.18.1.ebuild,v 1.1 2013/10/21 04:00:33 patrick Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
WX_GTK_VER="2.8"
|
||||
|
||||
inherit multilib versionator wxwidgets
|
||||
|
||||
DESCRIPTION="wxWidgets GUI for PostgreSQL."
|
||||
HOMEPAGE="http://www.pgadmin.org/"
|
||||
SRC_URI="mirror://postgresql/${PN}/release/v${PV}/src/${P}.tar.gz"
|
||||
|
||||
LICENSE="POSTGRESQL"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
|
||||
SLOT="0"
|
||||
IUSE="debug +databasedesigner"
|
||||
|
||||
DEPEND="x11-libs/wxGTK:2.8[X,debug=]
|
||||
>=dev-db/postgresql-base-8.4.0
|
||||
>=dev-libs/libxml2-2.6.18
|
||||
>=dev-libs/libxslt-1.1"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
local pgslot=$(postgresql-config show)
|
||||
|
||||
if [[ ${pgslot//.} < 84 ]] ; then
|
||||
eerror "PostgreSQL slot must be set to 8.4 or higher."
|
||||
eerror " postgresql-config set 8.4"
|
||||
die "PostgreSQL slot is not set to 8.4 or higher."
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/pgadmin3-desktop.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf --with-wx-version=2.8 \
|
||||
$(use_enable debug) \
|
||||
$(use_enable databasedesigner)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
newicon "${S}/pgadmin/include/images/pgAdmin3.png" ${PN}.png
|
||||
|
||||
# icon location for the desktop file provided in pkg folder
|
||||
insinto /usr/share/pgadmin3
|
||||
doins "${S}/pgadmin/include/images/pgAdmin3.png"
|
||||
|
||||
domenu "${S}/pkg/pgadmin3.desktop"
|
||||
|
||||
# Fixing world-writable files
|
||||
fperms -R go-w /usr/share
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST redis-2.6.13.tar.gz 994331 SHA256 3b9439636c58ca06bee538a0f7298e02a33fcf98b8fa845c0b0cf8567751e948 SHA512 2676b4afb688aac7b4bfdcd2e6b054ab8ea8b94294c948189ebbf4d29f019d07f5c764328b2fd148ae35627612887b7e7ab9037e5e370c6275a998d9d3a4262b WHIRLPOOL 2813a36e2550873d4201721018486cadc98ac9176919006d496a49f2e1c9266f38be91137f3c8e979c27717b3fff5eb379d60a71c75ccf1870705ad9ebb2523c
|
||||
DIST redis-2.6.15.tar.gz 998865 SHA256 b0105c6ec526d40e90a0a0bc9d070a5602d839b930776b8ecaeb9fa32493e3bc SHA512 8614b5531049f99a19e3ba87c7d632ab43d02e1c62b6287534ebec35e4a484e3eefabd94d7ca52eb31eb56675451aef94265514be78fdaebd50db5230a525563 WHIRLPOOL c1eba6bccb17c6733d3b5f6e06933ff7ea8689d4cb16e0005f002fda75bda1d730b815546e5d3b50fcd6f85a05a35585244a7a69263795e7bda53bd1a588db03
|
||||
DIST redis-2.6.16.tar.gz 999579 SHA256 81490918dcf82d124b36e48b0a9911bfba3f13abba04d8c89820324eff7df03a SHA512 469a29e2a755543a3b2c3deb467a72ae62b81c54a60ed1baf6f9d5687ef4b87c22d9cec6a43cec43dd90d4b5561f5bbcd2448f6edf8a784041233b80d9403b0b WHIRLPOOL ed10212f6465083cc689d83cb0c4db63e15697a232a7e6621fb3b41e263cb8d16c7c3085317f0147e3cfe2d1620672b40049b764ebfb2f2710fd6737350f4804
|
||||
DIST redis-2.6.9.tar.gz 989119 SHA256 4d967eff2038aebea33875d17e85ed67179df6505df68529a622f7836d1c7489 SHA512 5263bccd4e175dd00318436be3818c07b880ba6f2e2552e1811d909fddf1fbbff5addbd684e116bd7f8cca727c61f6f45cd264fff61d2ffad18d57f6ae0456e5 WHIRLPOOL 57828b815e3591bd4b4ce6b1812b8f594062b6e63055fc88f50498aa2605ee79f829350026ac7ebb946bd1207c34935768db2f270197a4b979f8cec9b6d3d6a8
|
||||
|
@ -0,0 +1,109 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/redis/redis-2.6.16.ebuild,v 1.1 2013/10/21 06:55:24 djc Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools eutils flag-o-matic systemd toolchain-funcs user
|
||||
|
||||
DESCRIPTION="A persistent caching system, key-value and data structures database."
|
||||
HOMEPAGE="http://redis.io/"
|
||||
SRC_URI="http://download.redis.io/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="~amd64 ~x86 ~x86-macos ~x86-solaris"
|
||||
IUSE="+jemalloc tcmalloc test"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="tcmalloc? ( dev-util/google-perftools )
|
||||
jemalloc? ( >=dev-libs/jemalloc-3.2 )"
|
||||
DEPEND=">=sys-devel/autoconf-2.63
|
||||
test? ( dev-lang/tcl )
|
||||
${RDEPEND}"
|
||||
REQUIRED_USE="tcmalloc? ( !jemalloc )
|
||||
jemalloc? ( !tcmalloc )"
|
||||
|
||||
S="${WORKDIR}/${PN}-${PV/_/-}"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup redis 75
|
||||
enewuser redis 75 -1 /var/lib/redis redis
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-2.6.7"-{shared,config}.patch
|
||||
|
||||
# bug 467172, 467174
|
||||
sed -i -e 's:AR=:AR?=:g' -e 's:RANLIB=:RANLIB?=:g' "${S}/deps/lua/src/Makefile" || die
|
||||
|
||||
# now we will rewrite present Makefiles
|
||||
local makefiles=""
|
||||
for MKF in $(find -name 'Makefile' | cut -b 3-); do
|
||||
mv "${MKF}" "${MKF}.in"
|
||||
sed -i -e 's:$(CC):@CC@:g' \
|
||||
-e 's:$(CFLAGS):@AM_CFLAGS@:g' \
|
||||
-e 's: $(DEBUG)::g' \
|
||||
-e 's:$(OBJARCH)::g' \
|
||||
-e 's:ARCH:TARCH:g' \
|
||||
-e '/^CCOPT=/s:$: $(LDFLAGS):g' \
|
||||
"${MKF}.in" \
|
||||
|| die "Sed failed for ${MKF}"
|
||||
makefiles+=" ${MKF}"
|
||||
done
|
||||
# autodetection of compiler and settings; generates the modified Makefiles
|
||||
cp "${FILESDIR}"/configure.ac-2.2 configure.ac
|
||||
sed -i -e "s:AC_CONFIG_FILES(\[Makefile\]):AC_CONFIG_FILES([${makefiles}]):g" \
|
||||
configure.ac || die "Sed failed for configure.ac"
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf
|
||||
|
||||
# Linenoise can't be built with -std=c99, see https://bugs.gentoo.org/451164
|
||||
# also, don't define ANSI/c99 for lua twice
|
||||
sed -i -e "s:-std=c99::g" deps/linenoise/Makefile deps/Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export CC AR RANLIB
|
||||
|
||||
local myconf=""
|
||||
|
||||
if use tcmalloc ; then
|
||||
myconf="${myconf} USE_TCMALLOC=yes"
|
||||
elif use jemalloc ; then
|
||||
myconf="${myconf} JEMALLOC_SHARED=yes"
|
||||
else
|
||||
myconf="${myconf} MALLOC=yes"
|
||||
fi
|
||||
|
||||
emake ${myconf} V=1 CC="${CC}" AR="${AR} rcu" RANLIB="${RANLIB}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /etc/
|
||||
doins redis.conf sentinel.conf
|
||||
use prefix || fowners redis:redis /etc/{redis,sentinel}.conf
|
||||
fperms 0644 /etc/{redis,sentinel}.conf
|
||||
|
||||
newconfd "${FILESDIR}/redis.confd" redis
|
||||
newinitd "${FILESDIR}/redis.initd-3" redis
|
||||
|
||||
systemd_dounit "${FILESDIR}/redis.service"
|
||||
systemd_newtmpfilesd "${FILESDIR}/redis.tmpfiles" redis.conf
|
||||
|
||||
nonfatal dodoc 00-RELEASENOTES BUGS CONTRIBUTING MANIFESTO README
|
||||
|
||||
dobin src/redis-cli
|
||||
dosbin src/redis-benchmark src/redis-server src/redis-check-aof src/redis-check-dump
|
||||
fperms 0750 /usr/sbin/redis-benchmark
|
||||
dosym /usr/sbin/redis-server /usr/sbin/redis-sentinel
|
||||
|
||||
if use prefix; then
|
||||
diropts -m0750
|
||||
else
|
||||
diropts -m0750 -o redis -g redis
|
||||
fi
|
||||
keepdir /var/{log,lib}/redis
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/luajit/luajit-2.0.1_p1-r1.ebuild,v 1.2 2013/08/12 22:03:01 bicatali Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/luajit/luajit-2.0.2.ebuild,v 1.1 2013/10/21 01:08:41 rafaelmartins Exp $
|
||||
|
||||
EAPI=5
|
||||
|
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/go-fuse/go-fuse-9999.ebuild,v 1.3 2013/10/21 01:21:10 zerochaos Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit git-r3
|
||||
|
||||
RESTRICT="strip"
|
||||
|
||||
DESCRIPTION="native bindings for the FUSE kernel module"
|
||||
HOMEPAGE="https://github.com/hanwen/go-fuse"
|
||||
EGIT_REPO_URI="https://github.com/hanwen/go-fuse.git"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-lang/go"
|
||||
RDEPEND=""
|
||||
|
||||
GO_PN="github.com/hanwen/${PN}"
|
||||
EGIT_CHECKOUT_DIR="${S}/src/${GO_PN}"
|
||||
|
||||
export GOPATH="${S}"
|
||||
|
||||
src_compile() {
|
||||
#no examples right now
|
||||
# example/hello example/loopback example/zipfs \
|
||||
# example/multizip example/unionfs example/memfs \
|
||||
# example/autounionfs ; \
|
||||
#or tests
|
||||
#fuse/test
|
||||
for d in fuse fuse/pathfs zipfs unionfs
|
||||
do
|
||||
go build -v -x -work ${GO_PN}/${d} || die
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
for d in fuse fuse/pathfs zipfs unionfs
|
||||
do
|
||||
go install -v -x -work ${GO_PN}/${d} || die
|
||||
done
|
||||
|
||||
insinto /usr/lib/go/
|
||||
doins -r "${S}/pkg"
|
||||
insinto /usr/lib/go/src/pkg
|
||||
doins -r "${S}/src/."
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>zerochaos@gentoo.org</email>
|
||||
<name>Rick Farina</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -1,2 +1,3 @@
|
||||
DIST jansson-2.3.1.tar.gz 397756 SHA256 5f2ebf63580c73cc115634861b5da1c919499dde37d2e73b16e28b0c8ddc3921 SHA512 cb1f622d44fde174f71f63d3fc6856da8b082d8cdde413bd153861e123d6d752c0b0cbfa701d4fbb254ddb63333c80ee361b6b09bf322a864f61be9d35a021e1 WHIRLPOOL 492e1bf63cb23c5d6ccd417f408d8b574e62f4c069533c8e73ccf758e00fd10b6d721b092d01c9cac0d06b7347dfde8c64321670accf4f03236c28a410b1c977
|
||||
DIST jansson-2.4.tar.gz 401597 SHA256 1fcbd1ac3d8b610644acf86a5731d760bb228c9acbace20a2ad0f23baec79b41 SHA512 52c82ea2e70b9a1b72a62e07d917e5b2f8dc1b0fd6022397cbdd60b98aee176cc02f8c65b60d371b4007c60644898667f6bc0dfd11a26a411f167fac0e4df9a0 WHIRLPOOL c028243d8ecd0763f6f6d012113cbbb6ac58698532f94563372994311650762a7eb2d7f1831779dabcce0be2c013d4cb103bde5c3ad919afeeb82f2c875c2460
|
||||
DIST jansson-2.5.tar.gz 408185 SHA256 dd8bbfb38ad5031ce88e066b14d3b7e9c7113243daa7f4cde1994b7fc90bb1b1 SHA512 a35a5b7e8413419e74e9a5e8a85508f6695484ea2341adcefa74365eda3fe562a586a46774e4d2baa4d99383f399b86d51b5260835d7da189b0c6adc3f66b7a6 WHIRLPOOL eb852f2a5a94790ad13f5a09417779f00abed0ce3be0cd747e4f9bef0a48b55b2b1b41e6321351241ecf83e7b3f787d5ed4d2fe811888873298f594a60aea178
|
||||
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/jansson/jansson-2.5.ebuild,v 1.1 2013/10/21 07:42:19 tomwij Exp $
|
||||
|
||||
EAPI="4"
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
|
||||
inherit autotools-utils
|
||||
|
||||
DESCRIPTION="C library for encoding, decoding and manipulating JSON data"
|
||||
HOMEPAGE="http://www.digip.org/jansson/"
|
||||
SRC_URI="http://www.digip.org/jansson/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
|
||||
IUSE="doc static-libs"
|
||||
|
||||
DEPEND="doc? ( >=dev-python/sphinx-1.0.4 )"
|
||||
RDEPEND=""
|
||||
|
||||
DOCS=(CHANGES README.rst)
|
||||
|
||||
src_prepare() {
|
||||
sed -ie 's/-Werror//' src/Makefile.am || die
|
||||
autotools-utils_src_prepare
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
autotools-utils_src_compile
|
||||
|
||||
use doc && autotools-utils_src_compile html
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use doc && HTML_DOCS=("${AUTOTOOLS_BUILD_DIR}/doc/_build/html/")
|
||||
autotools-utils_src_install
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST Unicode-LineBreak-2012.10.tar.gz 281832 SHA256 e4a37ace916aa74061321267364b5eeb840d50094a613ce9e0274ffff5e9e3e1 SHA512 ee5bb1158e71c0c92a831784865632c709ef86f45e041d01e27d54149c0cf17c30f61514acc56e0613a3ad8c63e5110573c732e89f99c4f433650e72fbf3fbc1 WHIRLPOOL 546c7c1db3a3a6c16b36e979133b93e79f553c4be5f3c25466d914dd2d5216dc2104937a9a3abd28b286f3954fb3fc0f6f860c9c17c207b45b328dc2ba07b1ef
|
||||
DIST Unicode-LineBreak-2013.10.tar.gz 293277 SHA256 83e1b9214d49837dd8c6d071168aa07d84741f783ff076186f525b5fe0602925 SHA512 07dbbb8cfdcf4824d19984ebc9aae7000d8706a012256b8d0f08232fd45555412b4e855ad0de3d2d01b4d750cc3ae6b17928cc5688853490381fa23c3ac60f6c WHIRLPOOL b8cbde0bbbac0ee485f9147c011ba364b988aa044808c119d915a11f22ef4410e0d54abb3a730c52ccf787e4989e0c60ed2473f65e90794adbe91f2d4c21193c
|
||||
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Unicode-LineBreak/Unicode-LineBreak-2013.10.ebuild,v 1.1 2013/10/21 07:24:27 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR="NEZUMI"
|
||||
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION=" UAX #14 Unicode Line Breaking Algorithm"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-perl/MIME-Charset
|
||||
virtual/perl-Encode"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
SRC_TEST="do"
|
@ -1,5 +1,6 @@
|
||||
DIST Smarty-2.6.24.tar.gz 153038 SHA256 062840673eabac025b9c033f42b6466d70f7b0c5d99469203f6c0d51e62d8e58 SHA512 f6726f8be489d83c118ebc08eeeca0e5edd5d3cc3e54f7bacdee6be81d909c2ca853c54bf866c907acc3f97685d9e27dde5aa6d8f996466905193319cdc1339c WHIRLPOOL a7200601ea2fbc4bda34fdb819268a5531032aee1292e9b8f23fc9056c3596196788f4c0eaef6e5a3872b6ce45ce2092fa477285b6906c1ba0b22a50366753e9
|
||||
DIST Smarty-2.6.27.tar.gz 154312 SHA256 72f48f90e01a8ec3cd98f9771ace7112254a82594fab93137a503db831afe1dd SHA512 cb84d2d3fb90a434d2eb53636a52c1e9fb71013a20113012ae484597257e6775a5bb505b4779b9d6b2e7bb9b0de2c52be4a2e26bc06ddcf586f0dae7bc667ad4 WHIRLPOOL 35086588367d23e1dedf5e502d06136894cba9aa9d8a6dc3d0b4a787c51b8ca80d2136a710d6aa9ea8889d3d04da14f09434b7b59148fd3645236dab951d6a14
|
||||
DIST Smarty-2.6.28.tar.gz 154154 SHA256 362bd7599ff714766f97c86d9bf4b00f8d1343c1016167044c877a5ff05c1c33 SHA512 9c5def27aa7e04be211d4d72cd71ada7985c6d9412a97e6b1826224fca3b184b451adc591b1b6985f0754e595a2b3e230d9074e884a83013aab44365ece3218d WHIRLPOOL 2258c6303b02f2ba52c2cb6374ecc6c6e1da121225e153589c2def519a6196c5a08ad17443390d0eedb0ed1c47ebcb19eb36d60664cbe83328fa95ac225305cf
|
||||
DIST Smarty-3.1.12.tar.gz 203062 SHA256 af6a944823ce0ad24792f2adf19d651890dce276469be940a63452b024400c36 SHA512 2982911347b409ce7631404adcab1f4a5437ddc2ec651b0e7c21f831134aa6c810e0590546857b29f0c7269dc7d49815e792591f01a27620403441476d1ff32c WHIRLPOOL 2d318103243c359f91869ab9e0efd4a3ae2f469ce0addd7fc111bbed8e956c2a93a8ddd193c3ca49be190dcc5581ecfe195faa4fd24d538627591c6dd2a51a54
|
||||
DIST Smarty-3.1.8.tar.gz 199634 SHA256 49d3827cf84e8943a9bbf7e4b7229b1880cbb864d16232357e2bed15b38c08ef SHA512 1d92f0a298ff15a40521a6a07621c46914809422c8b6fab2e6abb084e8312ab810cc0acadc9dd638339e87e978e67a8a2fbbef2a13ce7b92d192b5bfe3551d9a WHIRLPOOL 8c9068b5f66db074e4026a745a1dbddc295e4cc2248e9abdd07816acbc10dccac5245829bbc3ee17a2da10ab1267a22ad37052bef459e4c557f185176ae667d0
|
||||
DIST manual-en-3.1.8.zip 413723 SHA256 83c06b1acc3e921b08c6c0076cc1ea888654244d3fbb5cc2f2a78d17a41dceae SHA512 644fda80416572cc8e2e7e757ee76afdfd1ff466c923a57091fc31182bc2a53e71d1a0a0d4970ca91f93ff60795ce943a14da2333af97b2eb4fa4e0802798fa1 WHIRLPOOL 476a56af0bd85c259a887ca221b260027ace493af17c528c8dd8d41c0767b6a77f0cc5e57783990aabd0839b5e7380056ad0081429c28bf56cc9836aa8445e00
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue