parent
5e8721d0cb
commit
980e26f245
@ -1,8 +1,8 @@
|
||||
AUX calamares-pkexec 43 SHA256 1a9c278c085bcb7cb3b1027bf6ad19d153492667730afd2b94c8736387355168 SHA512 768148cd58cdfb5c6791b76ec60c21a4ca852120f53ed31a83bc7a2e0a26aa77b10bd3756182d3dff03208e820def4b83c45edba0484fa2f5a33c93880c3f4bb WHIRLPOOL bda196e8adb3b9207e9f98677dff5a4664504c114ab72bd0879d8518b74b95b558a2c90bcc612dd6f570b04c9f21fd5b46a51d55dd0f73b4fa288b3482d61f4d
|
||||
DIST calamares-3.1.5.tar.gz 2266110 SHA256 02bd3c10e06ac207cdee0ee29f8d20bfe48eba491800e3eab704e1d294736260 SHA512 92e29668ddab880b76319fbf4eeffea21bfa0bd5b8807cb5a2c2786eafe4921f442a9a5773243fafe5942a346d46b89285e9472d4c8da70b70979a049923df06 WHIRLPOOL 74b396551aee5c7831b05a0c40df56f047bf6bd1fb0c9e3e51b2791696b9e19eb1db78128c1167a668d0d4e412cddbb819c807dfb52cc8bea667307921752a80
|
||||
DIST calamares-3.1.6.tar.gz 2266993 SHA256 d18d50aca6dc8b8d4d4933b507fdaabeb607adc9c9c14646f1031c005aeaaf98 SHA512 d6e7fa5a040e507141bbd6b3863f5743b9646e503cfec26ed710718835a782b0acf582f24959eb52d906eeca60061d39e01b4a542c3d83535efa17eb4a5b0b85 WHIRLPOOL 3fc71da001282cbe7c670b192335ddac460f3fb053849a51d95d9113b6c31a27ff65ce64811ca26c456ec01911ce8685d73c793183e71bc696cd896f9bf38507
|
||||
EBUILD calamares-3.1.5.ebuild 1974 SHA256 e085c918ef2eabc105c18edd8ccc071e76b71a48f384a969cb185def6ccbc754 SHA512 e6b308f8fe540fc520d4f071e6276e924dfbff7c0176a3b27bd0ca9ebf400ffdcbf54483cbcdcc2eaca11bf72463ceb80505262f5dfa06c4c02f519d645c8b38 WHIRLPOOL c7a51d470b9c62172866746df925699bdc96323f07a2e85d291d5eeb37d36f7b253e8dde2aeebb1d676efde79c71467731507f7198a10b82323637fc0b768d5f
|
||||
DIST calamares-3.1.7.tar.gz 2275893 SHA256 91ffee72df1d222c50db81c3f48d44e617019db95d1f58ab16a962b1fb47d749 SHA512 eaf516db4d97b89a5854c5dac5fd556a2deb47bebb88e7c55e2bb7d4ce050e913afbf08c6536503f5c3af7427a43b75f67bfa317e1601bb5a6f05f17c5bf6760 WHIRLPOOL 71e248e3dd8a9e05b5a0d25807607c3d026ba896835edd559ce716c9edf5ae8b840570ae453772558cd05757d99acc09c90f23423045f1754cd56b8693b99a4d
|
||||
EBUILD calamares-3.1.6.ebuild 1974 SHA256 e085c918ef2eabc105c18edd8ccc071e76b71a48f384a969cb185def6ccbc754 SHA512 e6b308f8fe540fc520d4f071e6276e924dfbff7c0176a3b27bd0ca9ebf400ffdcbf54483cbcdcc2eaca11bf72463ceb80505262f5dfa06c4c02f519d645c8b38 WHIRLPOOL c7a51d470b9c62172866746df925699bdc96323f07a2e85d291d5eeb37d36f7b253e8dde2aeebb1d676efde79c71467731507f7198a10b82323637fc0b768d5f
|
||||
EBUILD calamares-3.1.7.ebuild 1974 SHA256 e085c918ef2eabc105c18edd8ccc071e76b71a48f384a969cb185def6ccbc754 SHA512 e6b308f8fe540fc520d4f071e6276e924dfbff7c0176a3b27bd0ca9ebf400ffdcbf54483cbcdcc2eaca11bf72463ceb80505262f5dfa06c4c02f519d645c8b38 WHIRLPOOL c7a51d470b9c62172866746df925699bdc96323f07a2e85d291d5eeb37d36f7b253e8dde2aeebb1d676efde79c71467731507f7198a10b82323637fc0b768d5f
|
||||
MISC ChangeLog 7327 SHA256 06876264cef6e8962030c803f3add9300544f649cd1b76266580629be569e897 SHA512 66c97585da7e7083117bd87828614f7f003e87ef90fd5f232153b7de58bb44573dacb648ebd697b92765ac081b84667601c636c3d33b33c5293a8e5887e5a5b7 WHIRLPOOL 6a131253a3cd20cd043be6c32be5acd737c7e74760efca0237a06f514e9a58c92e18703fd20ad47ccf5d8b5137eea7cdf1f05b72087f7ff485114ee2e57c7182
|
||||
MISC ChangeLog-2015 671 SHA256 0e30b76881788f8c37df34e842750d456934309aa7e72026870766986f94f978 SHA512 707ea2c09d816d98ffce58fe26b62d85cfdabe4b8967208fc4e870cc12162381a335646be30a9bdfb16f17a90f359f3168dd9bf0d85513368f8707de06a935d2 WHIRLPOOL ccef8a153f1546f1ffc2f5a4433f87703715e86555445add9d75542550ecf62b9074117977fc3761c85b5205bbef3b168a8032069826b4335d756694fdd26faa
|
||||
MISC metadata.xml 1055 SHA256 8fb8c7c1b36c5350743885f9e922cbfdc8e2396f5b955abc5651c7a140da08ed SHA512 0269dad0b0a05e7c729ad5b9f1f7d6790c117b0d76b904dc909b868b1c298ff3352faafe91104b39cfc3c2e4f5e1a20244d3f5321c937d2334bd15bd910dc89f WHIRLPOOL 30ffb01457383c8d69cfea217c66d93123cf17a15a9553101013d64b6328f1f9b51ec42e3e5215aa0b71241355364bbccace3ea32baa23b072c32a76d7c6113d
|
||||
|
@ -1,67 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit golang-vcs-snapshot systemd user
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
EGO_PN="github.com/hashicorp/consul"
|
||||
DESCRIPTION="A tool for service discovery, monitoring and configuration"
|
||||
HOMEPAGE="http://www.consul.io"
|
||||
SRC_URI="https://github.com/hashicorp/consul/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="MPL-2.0"
|
||||
IUSE=""
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="dev-go/gox
|
||||
>=dev-lang/go-1.7.5:=
|
||||
>=dev-go/go-tools-0_pre20160121"
|
||||
RDEPEND=""
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup consul
|
||||
enewuser consul -1 -1 /var/lib/${PN} consul
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
eapply_user
|
||||
|
||||
sed -e 's:^\(GIT_DESCRIBE=\).*:\1v'${PV}':' \
|
||||
-e 's:^\(GIT_COMMIT=\).*:\1:' \
|
||||
-e 's:^\(GIT_DIRTY=\).*:\1:' \
|
||||
-e 's:go get -u -v $(GOTOOLS)::' \
|
||||
-i "${S}/src/${EGO_PN}/GNUmakefile" || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# The dev target sets causes build.sh to set appropriate XC_OS
|
||||
# and XC_ARCH, and skips generation of an unused zip file,
|
||||
# avoiding a dependency on app-arch/zip.
|
||||
GOPATH="${S}" \
|
||||
emake -C "${S}/src/${EGO_PN}" dev
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local x
|
||||
|
||||
dobin "${S}/bin/${PN}"
|
||||
|
||||
keepdir /etc/consul.d
|
||||
insinto /etc/consul.d
|
||||
doins "${FILESDIR}/"*.json.example
|
||||
|
||||
for x in /var/{lib,log}/${PN}; do
|
||||
keepdir "${x}"
|
||||
fowners consul:consul "${x}"
|
||||
done
|
||||
|
||||
newinitd "${FILESDIR}/consul.initd" "${PN}"
|
||||
newconfd "${FILESDIR}/consul.confd" "${PN}"
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/${PN}.logrotated" "${PN}"
|
||||
systemd_dounit "${FILESDIR}/consul.service"
|
||||
}
|
@ -1,8 +1,7 @@
|
||||
AUX tmpwatch-2.11-boottime.patch 1034 SHA256 5150b5d350213a6d3d4c5d747520077e5a1d7558c5f7174bacc138e72ec92d0a SHA512 6ad3cfe0dcd1a14d071ac64ca09279aae853c3b5a47604d99c2ff24319145d5c599ed6e780ac7eb9a2e2d185495e9d7e2133c905490b647f6b639a4bcd0def92 WHIRLPOOL 553353bb72b312aaebec9aa04b2211ec1e9340c41b08cde52caeb316861b39dc260bff3548d631e94a3c6c88fd5dff463ef3618994b6dd1c6865c01685daec22
|
||||
AUX tmpwatch.cron 1533 SHA256 ece4417d5ce022d647753e2005a11ee3b905d9f25e8f559a361c59a7760057f0 SHA512 9c96eaccc70d6eadac1233b6cd6772c61dbe8fed348fbe45d729bba8d8434f32bb4ba800cf92f151d7576763f7fde7c5c25b55293ecdac5f5254ce387da8b016 WHIRLPOOL 5ec5ef4f7ea2ad491c39656ae6cd84884cf5dab28bc36e5b7e890a818715185307b3a422a840ac35a12056fe6364ad09c336256e860e4ce05cc78c315f4b802b
|
||||
DIST tmpwatch-2.11.tar.bz2 145609 SHA256 93168112b2515bc4c7117e8113b8d91e06b79550d2194d62a0c174fe6c2aa8d4 SHA512 9242c5e1812c2ffc756cfc4cdc3023d0c0515e7c180e58ca3a838aa075d09fe4dc08dbc9afbc87ce3382e8aa8cb80a70e406deeab4ce10b39b6845d667989d97 WHIRLPOOL 94d83c4a2b1c1a19ab88632c61de37903b709bc7fa88aff9f8ac4f4b71a26b8e6fbcb1564b3bce08ed5d1d0a78511c3470978a13211356f5fdf10b4d40f2de1c
|
||||
EBUILD tmpwatch-2.11-r2.ebuild 722 SHA256 000e6d20aed139b7ac3fcf4663ca45d206dfe8efb323b64d0ade2583fc94239a SHA512 91a43b7cf57e996674560d685b49d7e2fcbdf005782d787e129da6a13d1a784997ba2c0ec030073b73034575a71687e1bc31b1ee4b9e08401d65fa6b51b62973 WHIRLPOOL df164934639bae18f14992619536ee469f1d1304c4b6375159ec039dfa993e011d33a4989d6ee5e6d6f2aa28569d86fb8eaaef67546fdfbb9bf7e1aa71135fd8
|
||||
EBUILD tmpwatch-2.11.ebuild 722 SHA256 12e154c3f0197ebf62c68c338273b519d6b213f37c7357e116c2ebc75cc026b5 SHA512 a7543348e40cca314a89a04ab8d1d6e2c226172cd1b819cc26516cc92d81bbe0f71e8ff6673b16ec6e88e57aa34c9e55a69cc33badd1b7844a1c0e4dd14ff11a WHIRLPOOL a71956b225a739226885c667575f44f8a2da4d374c5c840ff301cccadd3742740dbcf7442273311b912ec126fdeac981b8943fccdee4240c2339c3b09f6fd39a
|
||||
EBUILD tmpwatch-2.11-r2.ebuild 704 SHA256 b1650aa07d29ef1fa13ab43d58c38eae828b068705aa511d8fb9838da320d6d4 SHA512 297c4f41388e35eae3c1f0a4b13354bdb638b7df16d70e676be67faaead0a76ab71cd90c312cb97eed39bc18be1b06e674856e0afd832084a8cb0677a68b021b WHIRLPOOL 2494421dd6c33cb9cb84ba6b4c1207680a91575fc43711355b8abba36822805db06d094a2ad7ff7bd69160111904308554d03e2e3c390049bb381798879dd26e
|
||||
MISC ChangeLog 3011 SHA256 98b53b719c552a79f897a1b602b768a8ead92f8217d62c8b35128c760c3e3cb2 SHA512 cf128f51a822d6f80c36fa89237a13b893d5765f4c7d1bf001935fa784c725f46057bf467408f6be9e520dd1ca81e03580a3831d5e1db7205043c26512b515de WHIRLPOOL c663c0bc940b186591ee5380299a36acc79316ad80841cf1eb0f0aa9107b2b6f58b433401cfe20376bcc27d7b47c27714152777985d4e99e45677dd2ade7d4f6
|
||||
MISC ChangeLog-2015 13646 SHA256 241cb43ec00ffaffefbf3c8a0f4c0ffa7cbaa293a0e257bd6f3f7b056d80f653 SHA512 288f1be301627114bbbf8135b7631d715eedc037f99b32b053fc915f123678835deaa59625b3f4a82cf2e98fcfcdd422afb8c28b1bc5dbafeadbfc30fc628a88 WHIRLPOOL e6cb093b566e4de6675d912aaac8b0f4f9581b1d947414487689df0050d0a588a219e42fd716bf94b7c7455966b7d9b14eae19905ae38c667617f88c4516a1d7
|
||||
MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
|
||||
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Files which haven't been accessed are removed from specified directories"
|
||||
HOMEPAGE="https://fedorahosted.org/tmpwatch/"
|
||||
SRC_URI="https://fedorahosted.org/releases/t/m/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86"
|
||||
IUSE="selinux"
|
||||
|
||||
RDEPEND="selinux? ( sec-policy/selinux-tmpreaper )"
|
||||
DEPEND=""
|
||||
|
||||
src_compile() {
|
||||
emake AR="$(tc-getAR)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dosbin tmpwatch || die
|
||||
doman tmpwatch.8 || die
|
||||
dodoc ChangeLog NEWS README AUTHORS || die
|
||||
|
||||
exeinto /etc/cron.daily
|
||||
newexe "${FILESDIR}/${PN}.cron" "${PN}" || die
|
||||
}
|
@ -1,196 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
inherit depend.apache eutils user systemd
|
||||
|
||||
MY_P="BackupPC-${PV}"
|
||||
|
||||
DESCRIPTION="High-performance backups to a server's disk"
|
||||
HOMEPAGE="http://backuppc.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
IUSE="rss samba"
|
||||
|
||||
# The CGI modules are handled in $RDEPEND.
|
||||
APACHE_MODULES="apache2_modules_alias," # RedirectMatch
|
||||
APACHE_MODULES+="apache2_modules_authn_core," # AuthType
|
||||
APACHE_MODULES+="apache2_modules_authz_core," # Require
|
||||
APACHE_MODULES+="apache2_modules_authz_host," # Require host
|
||||
APACHE_MODULES+="apache2_modules_authz_user" # Require valid-user
|
||||
|
||||
DEPEND="dev-lang/perl
|
||||
app-admin/apache-tools
|
||||
app-admin/makepasswd"
|
||||
|
||||
# Older versions of mod_perl think they're compatibile with apache-2.4,
|
||||
# so we require the new one explicitly.
|
||||
RDEPEND="${DEPEND}
|
||||
virtual/perl-IO-Compress
|
||||
dev-perl/Archive-Zip
|
||||
dev-perl/CGI
|
||||
dev-perl/libwww-perl
|
||||
app-arch/tar
|
||||
app-arch/par2cmdline
|
||||
app-arch/gzip
|
||||
app-arch/bzip2
|
||||
virtual/mta
|
||||
>=www-apache/mod_perl-2.0.9
|
||||
www-apache/mpm_itk
|
||||
|| ( >=www-servers/apache-2.4[${APACHE_MODULES},apache2_modules_cgi]
|
||||
>=www-servers/apache-2.4[${APACHE_MODULES},apache2_modules_cgid]
|
||||
>=www-servers/apache-2.4[${APACHE_MODULES},apache2_modules_fcgid] )
|
||||
net-misc/rsync
|
||||
dev-perl/File-RsyncP
|
||||
rss? ( dev-perl/XML-RSS )
|
||||
samba? ( net-fs/samba )"
|
||||
|
||||
need_apache2_4
|
||||
|
||||
SLOT="0"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
CGIDIR="/usr/lib/backuppc/htdocs"
|
||||
CONFDIR="/etc/BackupPC"
|
||||
DATADIR="/var/lib/backuppc"
|
||||
DOCDIR="/usr/share/doc/${PF}"
|
||||
LOGDIR="/var/log/BackupPC"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup backuppc
|
||||
enewuser backuppc -1 /bin/bash /var/lib/backuppc backuppc
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/3.3.0/01-fix-configure.pl.patch"
|
||||
epatch "${FILESDIR}/3.3.0/02-fix-config.pl-formatting.patch"
|
||||
epatch "${FILESDIR}/3.3.0/03-reasonable-config.pl-defaults.patch"
|
||||
|
||||
epatch "${FILESDIR}/3.2.0/04-add-docdir-marker.patch"
|
||||
epatch "${FILESDIR}/3.2.0/05-nicelevel.patch"
|
||||
|
||||
epatch "${FILESDIR}"/${P}-perl522.patch #580254
|
||||
|
||||
# Fix docs location using the marker that we've patched in.
|
||||
sed -i "s+__DOCDIR__+${DOCDIR}+" "lib/BackupPC/CGI/View.pm" \
|
||||
|| die "failed to sed the documentation location"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local myconf
|
||||
myconf=""
|
||||
if use samba ; then
|
||||
myconf="--bin-path smbclient=$(type -p smbclient)"
|
||||
myconf="${myconf} --bin-path nmblookup=$(type -p nmblookup)"
|
||||
fi
|
||||
|
||||
/usr/bin/env perl ./configure.pl \
|
||||
--batch \
|
||||
--bin-path perl=$(type -p perl) \
|
||||
--bin-path tar=$(type -p tar) \
|
||||
--bin-path rsync=$(type -p rsync) \
|
||||
--bin-path ping=$(type -p ping) \
|
||||
--bin-path df=$(type -p df) \
|
||||
--bin-path ssh=$(type -p ssh) \
|
||||
--bin-path sendmail=$(type -p sendmail) \
|
||||
--bin-path hostname=$(type -p hostname) \
|
||||
--bin-path gzip=$(type -p gzip) \
|
||||
--bin-path bzip2=$(type -p bzip2) \
|
||||
--config-dir "${CONFDIR}" \
|
||||
--install-dir /usr \
|
||||
--data-dir "${DATADIR}" \
|
||||
--hostname 127.0.0.1 \
|
||||
--uid-ignore \
|
||||
--dest-dir "${D%/}" \
|
||||
--html-dir "${CGIDIR}"/image \
|
||||
--html-dir-url /image \
|
||||
--cgi-dir "${CGIDIR}" \
|
||||
--fhs \
|
||||
${myconf} || die "failed the configure.pl script"
|
||||
|
||||
ebegin "Installing documentation"
|
||||
|
||||
pod2man \
|
||||
-errors=none \
|
||||
--section=8 \
|
||||
--center="BackupPC manual" \
|
||||
"${S}"/doc/BackupPC.pod backuppc.8 \
|
||||
|| die "failed to generate man page"
|
||||
|
||||
doman backuppc.8
|
||||
|
||||
# Place the documentation in the correct location
|
||||
dodoc "${D}/usr/doc/BackupPC.html"
|
||||
dodoc "${D}/usr/doc/BackupPC.pod"
|
||||
rm -rf "${D}/usr/doc" || die
|
||||
|
||||
eend 0
|
||||
|
||||
# Setup directories
|
||||
dodir "${CONFDIR}/pc"
|
||||
|
||||
keepdir "${CONFDIR}"
|
||||
keepdir "${CONFDIR}/pc"
|
||||
keepdir "${DATADIR}"/{trash,pool,pc,cpool}
|
||||
keepdir "${LOGDIR}"
|
||||
|
||||
ebegin "Setting up init.d/conf.d/systemd scripts"
|
||||
newinitd "${S}"/init.d/gentoo-backuppc backuppc
|
||||
newconfd "${S}"/init.d/gentoo-backuppc.conf backuppc
|
||||
systemd_dounit "${FILESDIR}/${PN}.service"
|
||||
|
||||
insinto "${APACHE_MODULES_CONFDIR}"
|
||||
doins "${FILESDIR}"/99_backuppc.conf
|
||||
|
||||
# Make sure that the ownership is correct
|
||||
chown -R backuppc:backuppc "${D}${CONFDIR}" || die
|
||||
chown -R backuppc:backuppc "${D}${DATADIR}" || die
|
||||
chown -R backuppc:backuppc "${D}${LOGDIR}" || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Installation finished, you may now start using BackupPC."
|
||||
elog
|
||||
elog "- Read the documentation in /usr/share/doc/${PF}/BackupPC.html"
|
||||
elog " Please pay special attention to the security section."
|
||||
elog
|
||||
elog "- You can launch backuppc by running:"
|
||||
elog
|
||||
elog " # /etc/init.d/backuppc start"
|
||||
elog
|
||||
elog "- To enable the GUI, first edit ${ROOT}etc/conf.d/apache2 and add,"
|
||||
elog
|
||||
elog " \"-D BACKUPPC -D PERL -D MPM_ITK\""
|
||||
elog
|
||||
elog " to the APACHE2_OPTS line."
|
||||
elog
|
||||
elog " Then you must edit ${ROOT}etc/apache2/modules.d/00_mpm_itk.conf"
|
||||
elog " and adjust the values of LimitUIDRange/LimitGIDRange to include"
|
||||
elog " the UID and GID of the backuppc user."
|
||||
elog
|
||||
elog " Finally, start apache:"
|
||||
elog
|
||||
elog " # /etc/init.d/apache2 start"
|
||||
elog
|
||||
elog " The web interface should now be running on,"
|
||||
elog
|
||||
elog " http://127.0.0.1:8080/"
|
||||
elog
|
||||
|
||||
# Generate a new password if there's no auth file
|
||||
if [[ ! -f "${CONFDIR}/users.htpasswd" ]]; then
|
||||
adminuser="backuppc"
|
||||
adminpass=$( makepasswd --chars=12 )
|
||||
htpasswd -bc "${CONFDIR}/users.htpasswd" $adminuser $adminpass
|
||||
|
||||
elog ""
|
||||
elog "- Created admin user $adminuser with password $adminpass"
|
||||
elog " To add new users, run: "
|
||||
elog ""
|
||||
elog " # htpasswd ${CONFDIR}/users.htpasswd newUser"
|
||||
fi
|
||||
}
|
@ -1,6 +1,8 @@
|
||||
AUX wrk-3.1.1-makefile.patch 1338 SHA256 deb6a89add9bc93c159b2cbc40d5f8b89d9d1147cb7463a01932689e63616f8a SHA512 7f2e3e1b9ebac680f5c5df73114181960c41030d66c63ca7ec625caa3e748e566e0068766b2c350923d11d0f0de63a1bfbb4d5fbfa7447f303b190ef9adcd643 WHIRLPOOL affaf23958f5925060e41905fa272cdc7f403012ab44b423a2b21d9127a1973f9b02b920fa0abd2a743ed987fbcce8e95fecfd31f4c73b1e9b55be9c505a3983
|
||||
DIST wrk-3.1.2.tar.gz 902868 SHA256 da88a25f0eeb9e1fd6a9dcf4a96859e9e758f9446f0787cf7c95e4ccde14eefc SHA512 399f33c2c008c21ac8fae1b561fe16ebcca324b5171340ffa706e84c256bf13a9983b5c18d258be6f87cb9fe8e38a434f9bfa7059395a01cb783f77faf952b15 WHIRLPOOL 3460aadf5f3e54cf64d0779b45efba291200f0344a55b3a8c35a603d9fbb917c006ff2035fb91bfdce7652b7e4231fc43c558115cab4ff73b91087163655fe85
|
||||
DIST wrk-4.0.2.tar.gz 6146798 SHA256 a4a6ad6727733023771163e7250189a9a23e6253b5e5025191baa6092d5a26fb SHA512 4279cf7136e2919779be3f61f462136a7a5288eac481104b844193682a8fc554581fd3942624d0be9317a3e82c82497927a124b9b4dbdf455e30d3f0cad1fdea WHIRLPOOL 123e3233b211b06d4542f504db2cd5bded5eb4405fc647a1f4edd1ee2eed8ccb7757b77d2baa7867fac02bf73114de9221cefbf347425498d656fdd2fd9ca000
|
||||
EBUILD wrk-3.1.2.ebuild 749 SHA256 a4a78a895cb2aa105a735cd2eb62aeacd52c81fbd5e30d371edb37ec40f67729 SHA512 3621a749c2b9c4b3768332f2eb3c95a3979b6d9aed8cdbb1ca3267fcdeec8cb288bcbb2f31c8eb7070d6b86ae9c0e647ee087bc959831bc26047055a2c8e2432 WHIRLPOOL d4561304b66b18c0b0134901578c9768ee518c3fc189a950e81278f9d80b870f0b160b161da79c764b6e2ba000b5c67583954ff88a35e13a93b57c53143a1a22
|
||||
EBUILD wrk-4.0.2.ebuild 693 SHA256 f9dd30a1c0621775f0bba8cb85264e3f4acdf00457688209ed8375d9426a1bd9 SHA512 07431134cff46cbfff1971d7dc82bf59c2d6b326bb7dac4df413bd2c819713229808927c0277c95756952ecbb743c35a8111f59b478c64ffa5c1608039642f95 WHIRLPOOL a6a30bc9c88145de4df98604d83e349ae5e3b1efb12570635c965b92799f91ec1387a7664585a214c04dd5acff7620320f69590cb2551312bac81727ffa32e41
|
||||
MISC ChangeLog 2656 SHA256 0e2fb42ad64b037dbbc84e5193ecc74900239f7a12f7a1e5ba5d849d609bbbea SHA512 8d37fd1c2e26557540b96c88e4b5f8c7df5ea34880f1cbb5f055720747a9b8a0f97455997b8b26b805ea77f49ef0147e14ddd8ab812d1bb886b606522474569f WHIRLPOOL ec83cdf128bb20e55154837b83c512ed9a9aa9d2eaa77a1fac3a721a5c0ae8d0d45931a0278850be8d26e7bac5760788cc8a7cecbb6b6355706bd9bc6dd6f9f7
|
||||
MISC ChangeLog-2015 720 SHA256 6e30aa92f7f5af730ac3a6019f71047f7834f030500d2b661ce48d85cd5a37ae SHA512 f5fba76f0a2b5ce72a9764228b75f1f0347fb8bad32b6227b3e68135b0c2b10627910e58c1c2798f9eee971f170002cc47679be630cb08a12cf11613c3608d8f WHIRLPOOL 642155819a22b889016b27d78b4540ea7358828d9a17ba101409e5350bfe130090d22e18dbf0ad6f6d3a3f42763d80912714ca9e21a8ffdefb2cc1b071ae9b73
|
||||
MISC metadata.xml 729 SHA256 6dcf73bb2b35fcbe91dffeada056c7b7ee3a1f15b7114c42bd15d14a4fe8a900 SHA512 2c6513f32e7f7b67aed0021d6cae23f59aaf8f57ab88cd57fbe346422997617813f8a92208535397cd391935028174fce5cd88364eeff038481fd0362513d89f WHIRLPOOL 18d586d38d9808dddf9b01787f34db7ff8f753125df7b84682e013039ef29c861c3417dae90646f4589eda7834fc8d0c2f9eb3446c93be11736ef13b3bc38d78
|
||||
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="A modern HTTP benchmarking tool"
|
||||
HOMEPAGE="https://github.com/wg/wrk"
|
||||
SRC_URI="https://github.com/wg/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE="libressl"
|
||||
|
||||
DEPEND=">=dev-lang/luajit-2.0.2
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
emake VER="${PV}" WITH_LUAJIT="${EPREFIX}"/usr WITH_OPENSSL="${EPREFIX}"/usr
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
dodoc README NOTICE
|
||||
insinto /usr/share/${PN}
|
||||
doins -r scripts
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
# Copyright 2014-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
DESCRIPTION="A OpenPGP/GPG keyring of official Gentoo release media GPG keys"
|
||||
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Gentoo-keys"
|
||||
SRC_URI="https://dev.gentoo.org/~dolsen/releases/keyrings/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc64 ~ppc ~sparc ~x86 ~arm64 ~x86-fbsd ~amd64-fbsd ~m68k ~mips ~s390 ~sh"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_install() {
|
||||
insinto /var/lib/gentoo/gkeys/keyrings
|
||||
doins -r gentoo
|
||||
}
|
@ -1,7 +1,5 @@
|
||||
AUX kencfs-1.4.0-encfs5.patch 413 SHA256 4c0eab8077163535d519cdd9de70c8561a4f3f5698f8c1a9c559d3271b1ee317 SHA512 47cb411f80bb4270d3c7e0b132949e2b0185b5170228120ee336fc1bb8ee83c9c0a960746407e8934097381a558be941d08d6e28b774423e58102a3f82a66ae0 WHIRLPOOL 5565e1de3feb3c10ef76afd90015f633e7b90ea985956ad0e2f6d37905bbd4d8ca2c0eb93bf67140bdc7b9c7d3c56d3cd16017b530ee87b6ce4950c401cb035b
|
||||
AUX kencfs-1.6.2-desktop.patch 228 SHA256 d39d44d5714e6976e7cdf18abe22e0134b02800ca7c45651d98225fa310ddcf4 SHA512 0f96b65f43fd08cfa116381e5db1ceec81eebb076dca9349d7d3781651bdc7d04e8f4d0cc611f793e581416304174286db98c6aee814059520a47f26bf885d92 WHIRLPOOL 2685f3cd9f7fc2bb385a19d228e95d254255fd010f4dbb37ecb3b2ce7f506ff74d032874540d674ae915997a12c3b780d10e25952e19182b832ccef41d317b49
|
||||
DIST kencfs-1.6.4.tar.gz 221386 SHA256 3e88cd2bf0d11ce83746fb5b1e385f172ed506cde922ee2811f9cdbaaa80c4ca SHA512 44dacd0a17194b61d2d73820851b496d6052dbab3893a030db2e63c1be0d1569d80cc75ce0c179381e98b60c5e27ccead8ee257f53f57dea508808616abb514d WHIRLPOOL 8b7f372c8c8304f3a3249a74a565ea77c4c3f255c6db3cf66a2a62951be1b8010e9696dc5d5ac44ea1e39d189c63e4a1ccf562cd4886578e8a2383756e48d24b
|
||||
EBUILD kencfs-1.6.4.ebuild 832 SHA256 e695d523b5078cc5537bf8323e25c9a681b892d932c7007831f368fe96b9e52d SHA512 a849eb9d03e52c4401f1320d2aa2d51cc60f5411748a3c7b06c88efc1f18fb0db8be77bc7e33b531287b4e0e491b7160ea35a281d66b3b85845a5a1e4736a7fb WHIRLPOOL bd2327b4d5cb1f4f19e56a7420997fb33e8eeccbf5adb98dfbcb7d580010307e4dc2c8cf6b45bdb1c5d151d60a3767ff5250c81b95dcf09fc20587d41cc1e6e5
|
||||
MISC ChangeLog 3459 SHA256 b79badaf2ac0ea794180447405622082098e4e7cac9a35435ec1ee44c58d8032 SHA512 16d14016c0d406385e5c95926dd4267ef49904b86843220f1a7bee6ae095286324a98973c6b540c953e269e15e4fa2784189caca43f5489423235e926899009c WHIRLPOOL c1d29c802eb5da17421e02396725ac04b604accf9042213c667fd0176d52308f982d84112e25f3ed2234a5b0f7b218f4ec084cea11f801857ca5a7c3ed423327
|
||||
MISC ChangeLog-2015 2644 SHA256 01a32d4dfeca20561235cc382f170cda00ea155b5863970820ecfe5298e58f84 SHA512 24df8a5a5ead26fe64c9f9059d52fa74be7bf5da54ca07eb327b57f38f30c90221c519868ad9c8deffd16a9f3f71022848d2a5b7adbed3dcef03679094ea0141 WHIRLPOOL 1e4c5302fa53aa2b738c4b8c9e619b6122ee391e574986fa8943a8f5f50baaf04a471d76f0371e00befe5fa27e8da65a5196c8d72507df012d68ae44897c5f6d
|
||||
EBUILD kencfs-1.6.4.ebuild 805 SHA256 374ce9cd282fc74d25616707dbac1e38b1e374025e48a7d12e14b193e8dbbd2e SHA512 05d4af92d22c41b323c03f2c38fb0793a5af86cd4f31b93a10cb22a4af5b103c8dc5738343813a484bb7a95630a86c3208bd9b036dc0aeda8fa39dc047b3c447 WHIRLPOOL b74e442356ea505c7ee0be21e98fda5a3477ecf7d18a582c06b7210c4c840b8d41ea6408f027a83c1aae659e8070426064461e7a2a797ddc08598e9f26caf7a7
|
||||
MISC metadata.xml 249 SHA256 584f1dcf51866dc24a9abf7a89bfba0fad11dde81ae1c1b715da41770d233c99 SHA512 76a5a340b13f0053ca3c5e94ed24380ea8d29b45ac8655419e22eaadb1e4a827c04d2e7e36b65145c4964e6526f656618fc6ac144e277ef53cb7373e6239e3c3 WHIRLPOOL 200c07a8bf7c55b11b7936d5cd30e991a511684913334e72f59def66c0ced5fed0b4a8754e2d98bffbab631cb90d4e17fcccc59d5dcc5a8e988f69e47c85518c
|
||||
|
@ -1,7 +1,7 @@
|
||||
AUX tpm-emulator.confd-0.7.4 34 SHA256 3af4a1b3f83919225c4a66f3de3159bed4e8eec4d55e9da848018c5ea66541ee SHA512 61b5145d3fa5b778ba09e66a25ea183165fafbdafe54aa77d171aed2a87f6b5febc918d33603a9bf58320e9ff3f79e3ec58d03d4674562d31c1c90b942faf504 WHIRLPOOL e95e8e0326f2c64695b63ba8242bf0ff9cdf256411b05b9aff9553b5bb69266d5a8bc1aef0cca701502ad94852cec254dfa0e74fdf546952f13afdabd9cc3598
|
||||
AUX tpm-emulator.initd-0.7.4 1100 SHA256 db1036e23b953ce7568eec3fe0ad0842d102429c06c87655065a51d6924b0cf4 SHA512 5fab6f4c9b7057fa1bf23b179747d125ec77729a1a69b762735c429824ce6dfee3033012b027a44e5c731ec86a4e78b8b64c44d27b207867a26a9663382a84f9 WHIRLPOOL 25b5c8fc5689dc5625149e34fec2b9e8b0b503bbf31d2360f9a033f854b23b86858114dbd0262d687bc538d9878651307c2cf0d2e99eb9878e3eb28c1c4515ba
|
||||
DIST tpm_emulator-0.7.4.tar.gz 214145 SHA256 4e48ea0d83dd9441cc1af04ab18cd6c961b9fa54d5cbf2c2feee038988dea459 SHA512 4928b5b82f57645be9408362706ff2c4d9baa635b21b0d41b1c82930e8c60a759b1ea4fa74d7e6c7cae1b7692d006aa5cb72df0c3b88bf049779aa2b566f9d35 WHIRLPOOL c75d49e834f8df6c810d7cb7ca3553e742fde0fd6050af7f7aeda8bbdf652084dda6600719eb0b816e1d51bbc5d9f0e119ea40ce3e59af05fd8d55971056fd6f
|
||||
EBUILD tpm-emulator-0.7.4-r1.ebuild 1645 SHA256 feac767d59c90a46c69ad9cc5d17dee6b5112ef7c611854d9c581fa407e67b58 SHA512 3de1ecea2853ebc08e6d1f39f998c267348c3f8f5bdf1df10892bb1341e57dbc35e5df2ba7eb65781998dca0428ca912c4744a0e05d1045755ad94b80c672e3a WHIRLPOOL f54eb925f8198ae6c4bc1e8208aa95a2fa9faf6811d51ab972b5f14e9b5f9cae4683f7199d02229a87d9ce680b6db0d13e3ef8d0c97ba37f1057505cc2a0f967
|
||||
EBUILD tpm-emulator-0.7.4-r1.ebuild 1668 SHA256 dea25c9dddabd7f87aece320809d552c3fccec059a55fc0a7efa4bb1f888d2e9 SHA512 d35b538d777a826a7d9e329edb1b69ca3974205a2d71aacec3138575ff0a693d92119fca21b15de2baf11dff8eaa2885a0917f31ac3d99f5623dd3ad06d87932 WHIRLPOOL 4d9fa7bbff0236cee544f4989e8f6905ecc15639b3535d7f306dac6f45efaa5d0ff9eec620e8700651bb73aa8ff25f4c6a07c041936b7032d1a37c7557255e98
|
||||
MISC ChangeLog 3387 SHA256 f55e1133580bf004cfe86cdd6497dd73f9e4da8376f4f153f800836595d19e39 SHA512 f5282dd2eae01c78af9221eb8c04e4b66a9b5ca8e2a9f675354a8bfb0aeff852c6c589eb3710bee63ae7ade9601c6273ef1658408e69ff75d0808160e47d318a WHIRLPOOL 5a2ab0aeb39d795129ab9244babe18c93f3c013871110406bc60f1e4f9a078c0c31b53ba46d0c2f0c3ff45a85a7a6625cb7014db484da39bdbb8da74e8863839
|
||||
MISC ChangeLog-2015 4068 SHA256 cf829802bcc9ccc92c8962e33f031b5a73ea11e79d4bd4df8088db6bbc1b3101 SHA512 bbf9dd6c4bdbbb0a0dec33a11bbfebd995e8d50b78126d0c9281e856d41316b7593c5b4080319d50e1e923e3c7a01488f4b29cfff81187290870a9bd6ff77e3b WHIRLPOOL b53340261f9e958ff00ebfcdf0f6bd854b8dada9d4d4ff5ce62616fe0b5e15211fc771d7b569154da4d8f4659229cffc5bf6a7f72bb2b3551777ce4375050c63
|
||||
MISC metadata.xml 322 SHA256 cf1287a6ed50b56fe582bdf43aa900fc5c4d4cf6c14d5ff97d04c7012ed9370a SHA512 59ca2140630f6c408c51176a30ad8357ecaf8c1a3b37b495176b25cf2b1cb259882dded5072440cfbfe2d16741520a0b30b41384db89c794ec183b318419b578 WHIRLPOOL 7feeeddeadeaa17e666f1a304709b12ea88edbfc603f706eba71776e935b788e3d8462297166ff4bdab7079359be9448f8a4200cb01722845cfea1031d7e0156
|
||||
|
@ -1,3 +1,5 @@
|
||||
DIST yubikey-manager-qt-0.3.1.tar.gz 175215 SHA256 e41bcda5aae5e0f92158f591e8e584d25c9b4872475f8e4253c7a7671e94c859 SHA512 d47a6b75b50c2dca073ab74ea2d7c7c46ff86ec338f52d49afd39796cc1f3de7ddd74664b5f60f9013393b9ca24621da63d218eb3c2cb3017fefed2370b269d1 WHIRLPOOL 1d6de66f0450d72e29b9e9a2a959f4ca8ed7c8614b976115ecfb433e8b5f1795d12e6d907f73152b6bef3de6510cbcf236b2386b18a3cba2094269f78522196a
|
||||
DIST yubikey-manager-qt-0.3.2.tar.gz 175662 SHA256 5dd780c75e17a141ab882c8c10b04dcfcc61dae7e574c1404a606b05b047cae1 SHA512 5ae0b802f041a37a67bef6f7c8b5224fe47d145bcb3bef8c42e300048e849bbcf333de6d15a9a671ced21741d412af9419c08fd3b018276ce997b3cdd5ba55f5 WHIRLPOOL 5284a3e2f1e64d3b793b82d1064feab7325de12c0b8b6b5328f66440668d7b2628a5dc0df2d0b3b5e3a72a6f4aca511777cd6e2ae9fb3f337cc908cb1a2f1586
|
||||
EBUILD yubikey-manager-qt-0.3.1.ebuild 1043 SHA256 3244211d12397be8fe7ac51c50de02f9fc43dfdb664eff6f5c6ebf351e397602 SHA512 74a284e243a833f9e8f7eee39f9ec82004f4fbc9059fdc306b6e5b173904931437199cc982221c257fe79567db6002b03c26c3a1eab88bd8deca62c13986e788 WHIRLPOOL 35d74d60c28a240c49fe7ad6775a9d0a4437a48db690f8b5a3509cdbec812c112b79445d2b742cdd3810501ac45cda3a14b2cf99bd99d4c817917b8589bb8c12
|
||||
EBUILD yubikey-manager-qt-0.3.2.ebuild 1168 SHA256 53deb7ff9ddb036123a9b4c6325c489dad5f63dc4c16ff055744b7f365470cec SHA512 fcc73dae2936bdc038d43ac092c23bb2f43d956d779b87a97d41bd38b61b68c9b85bc6be40c2210b6fcbb8eb5d93be73ff50dabbf23d2aacdcf1b98144e5e002 WHIRLPOOL 6269ed15d20b838343f9f922d3eb0fb9e1aa72804f67ed5b8c36bb4ef2e447bfbd2a9196cbdfe9cbdf2e6fcc7b9bfe61d63fc55189b9dc4b65b207c5497e1967
|
||||
MISC metadata.xml 245 SHA256 6fedd876236c2f1fe2687e73628381650ebecef9734f88f6d483bec5bf475a7f SHA512 ce14e948c06d19eefb8504b77746e191099fd4d66083ad01ac62d874029b397af4edc5940312dac09c9ed18ccbcd98909b93fc0bc463c15db97bf68d13c9fec4 WHIRLPOOL 4957affde63b54e118270c40ce12683872777b41ec1a798f7b03807a99917148279d392f71cbcf95ec4e5d586ee5fc0400aea77d9e46083873a441a4907ba13d
|
||||
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python3_{4,5,6} )
|
||||
|
||||
inherit eutils qmake-utils python-single-r1 vcs-snapshot
|
||||
|
||||
DESCRIPTION="Cross-platform application for configuring any YubiKey over all USB transports"
|
||||
HOMEPAGE="https://developers.yubico.com/yubikey-manager-qt https://github.com/Yubico/yubikey-manager-qt"
|
||||
SRC_URI="https://github.com/Yubico/yubikey-manager-qt/archive/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=app-crypt/yubikey-manager-0.4[${PYTHON_USEDEP}]
|
||||
dev-python/pyotherside[${PYTHON_USEDEP}]
|
||||
dev-qt/qtsingleapplication[qt5]
|
||||
dev-qt/qtdeclarative:5
|
||||
dev-qt/qtquickcontrols:5[widgets]
|
||||
dev-qt/qtwidgets:5"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
rm -rf vendor ykman-gui/vendor || die
|
||||
sed -i -e "s/ykman-cli//" ${PN}.pro || die
|
||||
sed -i -e "/qtsingleapplication.pri/d" -e "/CONFIG += c++11/a CONFIG += qtsingleapplication" -i ykman-gui/ykman-gui.pro || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake5
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install INSTALL_ROOT="${D}"
|
||||
domenu resources/ykman-gui.desktop
|
||||
doicon -s 128 resources/icons/ykman.png
|
||||
}
|
@ -1,14 +0,0 @@
|
||||
--- a/build/app/src/config-schema.js
|
||||
+++ b/build/app/src/config-schema.js
|
||||
@@ -9,6 +9,11 @@
|
||||
core: {
|
||||
type: 'object',
|
||||
properties: {
|
||||
+ apmPath: {
|
||||
+ type: 'string',
|
||||
+ "default": '/usr/bin/apm{{ATOM_SUFFIX}}',
|
||||
+ description: 'Path to apm executable.'
|
||||
+ },
|
||||
ignoredNames: {
|
||||
type: 'array',
|
||||
"default": [".git", ".hg", ".svn", ".DS_Store", "._*", "Thumbs.db"],
|
@ -1,24 +0,0 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index ccad5d1..304c0aa 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -190,6 +190,9 @@ add_library ( ${JUFFLIB} SHARED
|
||||
target_link_libraries ( ${JUFFLIB}
|
||||
${QT_LIBRARIES}
|
||||
)
|
||||
+if (ENCA_FOUND)
|
||||
+ target_link_libraries( ${JUFFLIB} ${ENCA_LIBRARIES} )
|
||||
+endif (ENCA_FOUND)
|
||||
|
||||
add_library ( ${QSCI_ENGINE} SHARED
|
||||
${juffed_qsci_SRCS}
|
||||
@@ -277,9 +280,6 @@ target_link_libraries ( ${JUFFED}
|
||||
${QT_LIBRARIES}
|
||||
${QT_QTNETWORK_LIBRARY}
|
||||
)
|
||||
-if (ENCA_FOUND)
|
||||
- target_link_libraries( ${JUFFED} ${ENCA_LIBRARIES} )
|
||||
-endif (ENCA_FOUND)
|
||||
|
||||
if ( UNIX )
|
||||
set(CMAKE_CXX_FLAGS "-Wall -Werror -Wextra")
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="QScintilla-based tabbed text editor with syntax highlighting"
|
||||
HOMEPAGE="http://juffed.com/en/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}-1054.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc ~ppc64 x86"
|
||||
IUSE="debug"
|
||||
|
||||
RDEPEND="
|
||||
app-i18n/enca
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtgui:4
|
||||
dev-qt/qtsingleapplication[qt4(+),X]
|
||||
x11-libs/qscintilla:=[qt4(-)]
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS=( ChangeLog README )
|
||||
|
||||
PATCHES=(
|
||||
# bug 540554
|
||||
"${FILESDIR}/0.10-link-libjuff-against-libenca.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
|
||||
sed -i -e '/set(CMAKE_CXX_FLAGS/d' CMakeLists.txt || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DUSE_SYSTEM_QTSINGLEAPPLICATION=ON
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
@ -1,87 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools eutils flag-o-matic pax-utils toolchain-funcs
|
||||
|
||||
P_FD="dosemu-freedos-1.0-bin"
|
||||
COMMIT="15cfb41ff20a052769d753c3262c57ecb050ad71"
|
||||
|
||||
DESCRIPTION="DOS Emulator"
|
||||
HOMEPAGE="http://www.dosemu.org/"
|
||||
SRC_URI="mirror://sourceforge/dosemu/${P_FD}.tgz
|
||||
https://sourceforge.net/code-snapshots/git/d/do/dosemu/code.git/dosemu-code-${COMMIT}.zip -> ${P}.zip"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* amd64 x86"
|
||||
IUSE="X svga gpm debug alsa sndfile fluidsynth"
|
||||
|
||||
RDEPEND="X? ( x11-libs/libX11
|
||||
x11-libs/libXxf86vm
|
||||
x11-libs/libXau
|
||||
x11-libs/libXext
|
||||
x11-libs/libXdmcp
|
||||
x11-apps/xset
|
||||
x11-apps/xlsfonts
|
||||
x11-apps/bdftopcf
|
||||
x11-apps/mkfontdir )
|
||||
svga? ( media-libs/svgalib )
|
||||
gpm? ( sys-libs/gpm )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
sndfile? ( media-libs/libsndfile )
|
||||
fluidsynth? ( media-sound/fluidsynth
|
||||
media-sound/fluid-soundfont )
|
||||
media-libs/libsdl
|
||||
>=sys-libs/slang-1.4"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
X? ( x11-proto/xf86dgaproto )
|
||||
>=sys-devel/autoconf-2.57"
|
||||
|
||||
S="${WORKDIR}/${PN}-code-${COMMIT}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-fortify.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.4.1_pre20091009-dash.patch
|
||||
epatch "${FILESDIR}"/${P}-no-glibc.patch
|
||||
epatch "${FILESDIR}"/${P}-flex-2.6.3.patch
|
||||
|
||||
epatch_user
|
||||
|
||||
# Has problems with -O3 on some systems
|
||||
replace-flags -O[3-9] -O2
|
||||
|
||||
# This one is from media-sound/fluid-soundfont (bug #479534)
|
||||
sed "s,/usr/share/soundfonts/default.sf2,${EPREFIX}/usr/share/sounds/sf2/FluidR3_GM.sf2,"\
|
||||
-i src/plugin/fluidsynth/mid_o_flus.c || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with X x) \
|
||||
$(use_with svga svgalib) \
|
||||
$(use_enable debug) \
|
||||
$(use_with gpm) \
|
||||
$(use_with alsa) \
|
||||
$(use_with sndfile) \
|
||||
$(use_with fluidsynth) \
|
||||
--with-fdtarball="${DISTDIR}"/${P_FD}.tgz \
|
||||
--sysconfdir="${EPREFIX}"/etc/dosemu/ \
|
||||
--with-docdir="${EPREFIX}"/usr/share/doc/${PF}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake AR=$(tc-getAR)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# r - randmmap: dosemu tries to get address mapping
|
||||
# exactly where asked, loops otherwise.
|
||||
# m - allow RWX mapping: as it's an emulator / code loader
|
||||
pax-mark -mr "${ED}/usr/bin/dosemu.bin"
|
||||
}
|
@ -0,0 +1,784 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE="ncurses,readline"
|
||||
|
||||
PLOCALES="bg de_DE fr_FR hu it tr zh_CN"
|
||||
|
||||
FIRMWARE_ABI_VERSION="2.9.0-r52"
|
||||
|
||||
inherit eutils flag-o-matic linux-info toolchain-funcs multilib python-r1 \
|
||||
user udev fcaps readme.gentoo-r1 pax-utils l10n
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
EGIT_REPO_URI="git://git.qemu.org/qemu.git"
|
||||
inherit git-r3
|
||||
SRC_URI=""
|
||||
else
|
||||
SRC_URI="http://wiki.qemu-project.org/download/${P}.tar.bz2"
|
||||
KEYWORDS="~amd64 ~arm64 ~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 bzip2 +caps +curl debug +fdt
|
||||
glusterfs gnutls gtk gtk2 infiniband iscsi +jpeg kernel_linux
|
||||
kernel_FreeBSD lzo ncurses nfs nls numa opengl +pin-upstream-blobs +png
|
||||
pulseaudio python rbd sasl +seccomp sdl sdl2 selinux smartcard snappy
|
||||
spice ssh static static-user systemtap tci test usb usbredir vde
|
||||
+vhost-net virgl virtfs +vnc vte xattr xen xfs"
|
||||
|
||||
COMMON_TARGETS="aarch64 alpha arm cris i386 m68k microblaze microblazeel
|
||||
mips mips64 mips64el mipsel nios2 or1k ppc ppc64 s390x sh4 sh4eb sparc
|
||||
sparc64 x86_64"
|
||||
IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS}
|
||||
lm32 moxie ppcemb tricore unicore32 xtensa xtensaeb"
|
||||
IUSE_USER_TARGETS="${COMMON_TARGETS}
|
||||
armeb hppa mipsn32 mipsn32el ppc64abi32 ppc64le sparc32plus tilegx"
|
||||
|
||||
use_softmmu_targets=$(printf ' qemu_softmmu_targets_%s' ${IUSE_SOFTMMU_TARGETS})
|
||||
use_user_targets=$(printf ' qemu_user_targets_%s' ${IUSE_USER_TARGETS})
|
||||
IUSE+=" ${use_softmmu_targets} ${use_user_targets}"
|
||||
|
||||
# Allow no targets to be built so that people can get a tools-only build.
|
||||
# Block USE flag configurations known to not work.
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}
|
||||
gtk2? ( gtk )
|
||||
qemu_softmmu_targets_arm? ( fdt )
|
||||
qemu_softmmu_targets_microblaze? ( fdt )
|
||||
qemu_softmmu_targets_mips64el? ( fdt )
|
||||
qemu_softmmu_targets_ppc? ( fdt )
|
||||
qemu_softmmu_targets_ppc64? ( fdt )
|
||||
sdl2? ( sdl )
|
||||
static? ( static-user !alsa !bluetooth !gtk !gtk2 !opengl !pulseaudio )
|
||||
virtfs? ( xattr )
|
||||
vte? ( gtk )"
|
||||
|
||||
# Dependencies required for qemu tools (qemu-nbd, qemu-img, qemu-io, ...)
|
||||
# and user/softmmu targets (qemu-*, qemu-system-*).
|
||||
#
|
||||
# Yep, you need both libcap and libcap-ng since virtfs only uses libcap.
|
||||
#
|
||||
# The attr lib isn't always linked in (although the USE flag is always
|
||||
# respected). This is because qemu supports using the C library's API
|
||||
# when available rather than always using the extranl library.
|
||||
ALL_DEPEND="
|
||||
>=dev-libs/glib-2.0[static-libs(+)]
|
||||
sys-libs/zlib[static-libs(+)]
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
systemtap? ( dev-util/systemtap )
|
||||
xattr? ( sys-apps/attr[static-libs(+)] )"
|
||||
|
||||
# Dependencies required for qemu tools (qemu-nbd, qemu-img, qemu-io, ...)
|
||||
# softmmu targets (qemu-system-*).
|
||||
SOFTMMU_TOOLS_DEPEND="
|
||||
>=x11-libs/pixman-0.28.0[static-libs(+)]
|
||||
accessibility? (
|
||||
app-accessibility/brltty[api]
|
||||
app-accessibility/brltty[static-libs(+)]
|
||||
)
|
||||
aio? ( dev-libs/libaio[static-libs(+)] )
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.13 )
|
||||
bluetooth? ( net-wireless/bluez )
|
||||
bzip2? ( app-arch/bzip2[static-libs(+)] )
|
||||
caps? ( sys-libs/libcap-ng[static-libs(+)] )
|
||||
curl? ( >=net-misc/curl-7.15.4[static-libs(+)] )
|
||||
fdt? ( >=sys-apps/dtc-1.4.2[static-libs(+)] )
|
||||
glusterfs? ( >=sys-cluster/glusterfs-3.4.0[static-libs(+)] )
|
||||
gnutls? (
|
||||
dev-libs/nettle:=[static-libs(+)]
|
||||
>=net-libs/gnutls-3.0:=[static-libs(+)]
|
||||
)
|
||||
gtk? (
|
||||
gtk2? (
|
||||
x11-libs/gtk+:2
|
||||
vte? ( x11-libs/vte:0 )
|
||||
)
|
||||
!gtk2? (
|
||||
x11-libs/gtk+:3
|
||||
vte? ( x11-libs/vte:2.91 )
|
||||
)
|
||||
)
|
||||
infiniband? ( sys-fabric/librdmacm:=[static-libs(+)] )
|
||||
iscsi? ( net-libs/libiscsi )
|
||||
jpeg? ( virtual/jpeg:0=[static-libs(+)] )
|
||||
lzo? ( dev-libs/lzo:2[static-libs(+)] )
|
||||
ncurses? (
|
||||
sys-libs/ncurses:0=[unicode]
|
||||
sys-libs/ncurses:0=[static-libs(+)]
|
||||
)
|
||||
nfs? ( >=net-fs/libnfs-1.9.3[static-libs(+)] )
|
||||
numa? ( sys-process/numactl[static-libs(+)] )
|
||||
opengl? (
|
||||
virtual/opengl
|
||||
media-libs/libepoxy[static-libs(+)]
|
||||
media-libs/mesa[static-libs(+)]
|
||||
media-libs/mesa[egl,gbm]
|
||||
)
|
||||
png? ( media-libs/libpng:0=[static-libs(+)] )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
rbd? ( sys-cluster/ceph[static-libs(+)] )
|
||||
sasl? ( dev-libs/cyrus-sasl[static-libs(+)] )
|
||||
sdl? (
|
||||
!sdl2? (
|
||||
media-libs/libsdl[X]
|
||||
>=media-libs/libsdl-1.2.11[static-libs(+)]
|
||||
)
|
||||
sdl2? (
|
||||
media-libs/libsdl2[X]
|
||||
media-libs/libsdl2[static-libs(+)]
|
||||
)
|
||||
)
|
||||
seccomp? ( >=sys-libs/libseccomp-2.1.0[static-libs(+)] )
|
||||
smartcard? ( >=app-emulation/libcacard-2.5.0[static-libs(+)] )
|
||||
snappy? ( app-arch/snappy:=[static-libs(+)] )
|
||||
spice? (
|
||||
>=app-emulation/spice-protocol-0.12.3
|
||||
>=app-emulation/spice-0.12.0[static-libs(+)]
|
||||
)
|
||||
ssh? ( >=net-libs/libssh2-1.2.8[static-libs(+)] )
|
||||
usb? ( >=virtual/libusb-1-r2[static-libs(+)] )
|
||||
usbredir? ( >=sys-apps/usbredir-0.6[static-libs(+)] )
|
||||
vde? ( net-misc/vde[static-libs(+)] )
|
||||
virgl? ( media-libs/virglrenderer[static-libs(+)] )
|
||||
virtfs? ( sys-libs/libcap )
|
||||
xen? ( app-emulation/xen-tools:= )
|
||||
xfs? ( sys-fs/xfsprogs[static-libs(+)] )"
|
||||
|
||||
X86_FIRMWARE_DEPEND="
|
||||
pin-upstream-blobs? (
|
||||
~sys-firmware/edk2-ovmf-2017_pre20170505[binary]
|
||||
~sys-firmware/ipxe-1.0.0_p20160620
|
||||
~sys-firmware/seabios-1.10.2[binary,seavgabios]
|
||||
~sys-firmware/sgabios-0.1_pre8
|
||||
)
|
||||
!pin-upstream-blobs? (
|
||||
sys-firmware/edk2-ovmf
|
||||
sys-firmware/ipxe
|
||||
>=sys-firmware/seabios-1.10.2[seavgabios]
|
||||
sys-firmware/sgabios
|
||||
)"
|
||||
|
||||
CDEPEND="
|
||||
!static? (
|
||||
${ALL_DEPEND//\[static-libs(+)]}
|
||||
${SOFTMMU_TOOLS_DEPEND//\[static-libs(+)]}
|
||||
)
|
||||
qemu_softmmu_targets_i386? ( ${X86_FIRMWARE_DEPEND} )
|
||||
qemu_softmmu_targets_x86_64? ( ${X86_FIRMWARE_DEPEND} )"
|
||||
DEPEND="${CDEPEND}
|
||||
dev-lang/perl
|
||||
=dev-lang/python-2*
|
||||
sys-apps/texinfo
|
||||
virtual/pkgconfig
|
||||
kernel_linux? ( >=sys-kernel/linux-headers-2.6.35 )
|
||||
gtk? ( nls? ( sys-devel/gettext ) )
|
||||
static? (
|
||||
${ALL_DEPEND}
|
||||
${SOFTMMU_TOOLS_DEPEND}
|
||||
)
|
||||
static-user? ( ${ALL_DEPEND} )
|
||||
test? (
|
||||
dev-libs/glib[utils]
|
||||
sys-devel/bc
|
||||
)"
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-qemu )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.5.0-cflags.patch
|
||||
"${FILESDIR}"/${PN}-2.5.0-sysmacros.patch
|
||||
"${FILESDIR}"/${PN}-2.10.0-CVE-2017-13711.patch # bug 629350
|
||||
)
|
||||
|
||||
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
|
||||
usr/share/qemu/s390-netboot.img
|
||||
usr/share/qemu/u-boot.e500"
|
||||
|
||||
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-or1k
|
||||
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.
|
||||
For AMD CPUs the module is called 'kvm-amd'.
|
||||
For Intel CPUs the module is called 'kvm-intel'.
|
||||
Please review /etc/conf.d/modules for how to load these.
|
||||
|
||||
Make sure your user is in the 'kvm' group. Just run
|
||||
$ gpasswd -a <USER> kvm
|
||||
then have <USER> re-login.
|
||||
|
||||
For brand new installs, the default permissions on /dev/kvm might not let
|
||||
you access it. You can tell udev to reset ownership/perms:
|
||||
$ udevadm trigger -c add /dev/kvm
|
||||
|
||||
If you want to register binfmt handlers for qemu user targets:
|
||||
For openrc:
|
||||
# rc-update add qemu-binfmt
|
||||
For systemd:
|
||||
# ln -s /usr/share/qemu/binfmt.d/qemu.conf /etc/binfmt.d/qemu.conf"
|
||||
|
||||
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
|
||||
|
||||
if grep -qs '/usr/bin/qemu-kvm' "${EROOT}"/etc/libvirt/qemu/*.xml; then
|
||||
eerror "The kvm/qemu-kvm wrappers no longer exist, but your libvirt"
|
||||
eerror "instances are still pointing to it. Please update your"
|
||||
eerror "configs in /etc/libvirt/qemu/ to use the -enable-kvm flag"
|
||||
eerror "and the right system binary (e.g. qemu-system-x86_64)."
|
||||
die "update your virt configs to not use qemu-kvm"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup kvm 78
|
||||
}
|
||||
|
||||
# Sanity check to make sure target lists are kept up-to-date.
|
||||
check_targets() {
|
||||
local var=$1 mak=$2
|
||||
local detected sorted
|
||||
|
||||
pushd "${S}"/default-configs >/dev/null || die
|
||||
|
||||
# Force C locale until glibc is updated. #564936
|
||||
detected=$(echo $(printf '%s\n' *-${mak}.mak | sed "s:-${mak}.mak::" | LC_COLLATE=C sort -u))
|
||||
sorted=$(echo $(printf '%s\n' ${!var} | LC_COLLATE=C sort -u))
|
||||
if [[ ${sorted} != "${detected}" ]] ; then
|
||||
eerror "The ebuild needs to be kept in sync."
|
||||
eerror "${var}: ${sorted}"
|
||||
eerror "$(printf '%-*s' ${#var} configure): ${detected}"
|
||||
die "sync ${var} to the list of targets"
|
||||
fi
|
||||
|
||||
popd >/dev/null
|
||||
}
|
||||
|
||||
handle_locales() {
|
||||
# Make sure locale list is kept up-to-date.
|
||||
local detected sorted
|
||||
detected=$(echo $(cd po && printf '%s\n' *.po | grep -v messages.po | sed 's:.po$::' | sort -u))
|
||||
sorted=$(echo $(printf '%s\n' ${PLOCALES} | sort -u))
|
||||
if [[ ${sorted} != "${detected}" ]] ; then
|
||||
eerror "The ebuild needs to be kept in sync."
|
||||
eerror "PLOCALES: ${sorted}"
|
||||
eerror " po/*.po: ${detected}"
|
||||
die "sync PLOCALES"
|
||||
fi
|
||||
|
||||
# Deal with selective install of locales.
|
||||
if use nls ; then
|
||||
# Delete locales the user does not want. #577814
|
||||
rm_loc() { rm po/$1.po || die; }
|
||||
l10n_for_each_disabled_locale_do rm_loc
|
||||
else
|
||||
# Cheap hack to disable gettext .mo generation.
|
||||
rm -f po/*.po
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
check_targets IUSE_SOFTMMU_TARGETS softmmu
|
||||
check_targets IUSE_USER_TARGETS linux-user
|
||||
|
||||
# Alter target makefiles to accept CFLAGS set via flag-o
|
||||
sed -i -r \
|
||||
-e 's/^(C|OP_C|HELPER_C)FLAGS=/\1FLAGS+=/' \
|
||||
Makefile Makefile.target || die
|
||||
|
||||
default
|
||||
|
||||
# Fix ld and objcopy being called directly
|
||||
tc-export AR LD OBJCOPY
|
||||
|
||||
# Verbose builds
|
||||
MAKEOPTS+=" V=1"
|
||||
|
||||
# Run after we've applied all patches.
|
||||
handle_locales
|
||||
|
||||
# Remove bundled copy of libfdt
|
||||
rm -r dtc || die
|
||||
}
|
||||
|
||||
##
|
||||
# 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="${S}/${buildtype}-build"
|
||||
|
||||
mkdir "${builddir}"
|
||||
|
||||
local conf_opts=(
|
||||
--prefix=/usr
|
||||
--sysconfdir=/etc
|
||||
--libdir=/usr/$(get_libdir)
|
||||
--docdir=/usr/share/doc/${PF}/html
|
||||
--disable-bsd-user
|
||||
--disable-guest-agent
|
||||
--disable-strip
|
||||
--disable-werror
|
||||
# We support gnutls/nettle for crypto operations. It is possible
|
||||
# to use gcrypt when gnutls/nettle are disabled (but not when they
|
||||
# are enabled), but it's not really worth the hassle. Disable it
|
||||
# all the time to avoid automatically detecting it. #568856
|
||||
--disable-gcrypt
|
||||
--python="${PYTHON}"
|
||||
--cc="$(tc-getCC)"
|
||||
--cxx="$(tc-getCXX)"
|
||||
--host-cc="$(tc-getBUILD_CC)"
|
||||
$(use_enable debug debug-info)
|
||||
$(use_enable debug debug-tcg)
|
||||
--enable-docs
|
||||
$(use_enable tci tcg-interpreter)
|
||||
$(use_enable xattr attr)
|
||||
)
|
||||
|
||||
# Disable options not used by user targets. This simplifies building
|
||||
# static user targets (USE=static-user) considerably.
|
||||
conf_notuser() {
|
||||
if [[ ${buildtype} == "user" ]] ; then
|
||||
echo "--disable-${2:-$1}"
|
||||
else
|
||||
use_enable "$@"
|
||||
fi
|
||||
}
|
||||
conf_opts+=(
|
||||
$(conf_notuser accessibility brlapi)
|
||||
$(conf_notuser aio linux-aio)
|
||||
$(conf_notuser bzip2)
|
||||
$(conf_notuser bluetooth bluez)
|
||||
$(conf_notuser caps cap-ng)
|
||||
$(conf_notuser curl)
|
||||
$(conf_notuser fdt)
|
||||
$(conf_notuser glusterfs)
|
||||
$(conf_notuser gnutls)
|
||||
$(conf_notuser gnutls nettle)
|
||||
$(conf_notuser gtk)
|
||||
$(conf_notuser infiniband rdma)
|
||||
$(conf_notuser iscsi libiscsi)
|
||||
$(conf_notuser jpeg vnc-jpeg)
|
||||
$(conf_notuser kernel_linux kvm)
|
||||
$(conf_notuser lzo)
|
||||
$(conf_notuser ncurses curses)
|
||||
$(conf_notuser nfs libnfs)
|
||||
$(conf_notuser numa)
|
||||
$(conf_notuser opengl)
|
||||
$(conf_notuser png vnc-png)
|
||||
$(conf_notuser rbd)
|
||||
$(conf_notuser sasl vnc-sasl)
|
||||
$(conf_notuser sdl)
|
||||
$(conf_notuser seccomp)
|
||||
$(conf_notuser smartcard)
|
||||
$(conf_notuser snappy)
|
||||
$(conf_notuser spice)
|
||||
$(conf_notuser ssh libssh2)
|
||||
$(conf_notuser usb libusb)
|
||||
$(conf_notuser usbredir usb-redir)
|
||||
$(conf_notuser vde)
|
||||
$(conf_notuser vhost-net)
|
||||
$(conf_notuser virgl virglrenderer)
|
||||
$(conf_notuser virtfs)
|
||||
$(conf_notuser vnc)
|
||||
$(conf_notuser vte)
|
||||
$(conf_notuser xen)
|
||||
$(conf_notuser xen xen-pci-passthrough)
|
||||
$(conf_notuser xfs xfsctl)
|
||||
)
|
||||
|
||||
if [[ ! ${buildtype} == "user" ]] ; then
|
||||
# audio options
|
||||
local audio_opts="oss"
|
||||
use alsa && audio_opts="alsa,${audio_opts}"
|
||||
use sdl && audio_opts="sdl,${audio_opts}"
|
||||
use pulseaudio && audio_opts="pa,${audio_opts}"
|
||||
conf_opts+=(
|
||||
--audio-drv-list="${audio_opts}"
|
||||
)
|
||||
use gtk && conf_opts+=( --with-gtkabi=$(usex gtk2 2.0 3.0) )
|
||||
use sdl && conf_opts+=( --with-sdlabi=$(usex sdl2 2.0 1.2) )
|
||||
fi
|
||||
|
||||
case ${buildtype} in
|
||||
user)
|
||||
conf_opts+=(
|
||||
--enable-linux-user
|
||||
--disable-system
|
||||
--disable-blobs
|
||||
--disable-tools
|
||||
)
|
||||
local static_flag="static-user"
|
||||
;;
|
||||
softmmu)
|
||||
conf_opts+=(
|
||||
--disable-linux-user
|
||||
--enable-system
|
||||
--disable-tools
|
||||
--with-system-pixman
|
||||
)
|
||||
local static_flag="static"
|
||||
;;
|
||||
tools)
|
||||
conf_opts+=(
|
||||
--disable-linux-user
|
||||
--disable-system
|
||||
--disable-blobs
|
||||
--enable-tools
|
||||
)
|
||||
local static_flag="static"
|
||||
;;
|
||||
esac
|
||||
|
||||
local targets="${buildtype}_targets"
|
||||
[[ -n ${targets} ]] && conf_opts+=( --target-list="${!targets}" )
|
||||
|
||||
# Add support for SystemTAP
|
||||
use systemtap && conf_opts+=( --enable-trace-backend=dtrace )
|
||||
|
||||
# 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}; then
|
||||
conf_opts+=( --static --disable-pie )
|
||||
else
|
||||
tc-enables-pie && conf_opts+=( --enable-pie )
|
||||
fi
|
||||
|
||||
echo "../configure ${conf_opts[*]}"
|
||||
cd "${builddir}"
|
||||
../configure "${conf_opts[@]}" || die "configure failed"
|
||||
|
||||
# FreeBSD's kernel does not support QEMU assigning/grabbing
|
||||
# host USB devices yet
|
||||
use kernel_FreeBSD && \
|
||||
sed -i -E -e "s|^(HOST_USB=)bsd|\1stub|" "${S}"/config-host.mak
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local target
|
||||
|
||||
python_setup
|
||||
|
||||
softmmu_targets= softmmu_bins=()
|
||||
user_targets= user_bins=()
|
||||
|
||||
for target in ${IUSE_SOFTMMU_TARGETS} ; do
|
||||
if use "qemu_softmmu_targets_${target}"; then
|
||||
softmmu_targets+=",${target}-softmmu"
|
||||
softmmu_bins+=( "qemu-system-${target}" )
|
||||
fi
|
||||
done
|
||||
|
||||
for target in ${IUSE_USER_TARGETS} ; do
|
||||
if use "qemu_user_targets_${target}"; then
|
||||
user_targets+=",${target}-linux-user"
|
||||
user_bins+=( "qemu-${target}" )
|
||||
fi
|
||||
done
|
||||
|
||||
softmmu_targets=${softmmu_targets#,}
|
||||
user_targets=${user_targets#,}
|
||||
|
||||
[[ -n ${softmmu_targets} ]] && qemu_src_configure "softmmu"
|
||||
[[ -n ${user_targets} ]] && qemu_src_configure "user"
|
||||
qemu_src_configure "tools"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if [[ -n ${user_targets} ]]; then
|
||||
cd "${S}/user-build"
|
||||
default
|
||||
fi
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
cd "${S}/softmmu-build"
|
||||
default
|
||||
fi
|
||||
|
||||
cd "${S}/tools-build"
|
||||
default
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
cd "${S}/softmmu-build"
|
||||
pax-mark m */qemu-system-* #515550
|
||||
emake -j1 check
|
||||
emake -j1 check-report.html
|
||||
fi
|
||||
}
|
||||
|
||||
qemu_python_install() {
|
||||
python_domodule "${S}/scripts/qmp/qmp.py"
|
||||
|
||||
python_doscript "${S}/scripts/kvm/vmxcap"
|
||||
python_doscript "${S}/scripts/qmp/qmp-shell"
|
||||
python_doscript "${S}/scripts/qmp/qemu-ga-client"
|
||||
}
|
||||
|
||||
# Generate binfmt support files.
|
||||
# - /etc/init.d/qemu-binfmt script which registers the user handlers (openrc)
|
||||
# - /usr/share/qemu/binfmt.d/qemu.conf (for use with systemd-binfmt)
|
||||
generate_initd() {
|
||||
local out="${T}/qemu-binfmt"
|
||||
local out_systemd="${T}/qemu.conf"
|
||||
local d="${T}/binfmt.d"
|
||||
|
||||
einfo "Generating qemu binfmt scripts and configuration files"
|
||||
|
||||
# Generate the debian fragments first.
|
||||
mkdir -p "${d}"
|
||||
"${S}"/scripts/qemu-binfmt-conf.sh \
|
||||
--debian \
|
||||
--exportdir "${d}" \
|
||||
--qemu-path "${EPREFIX}/usr/bin" \
|
||||
|| die
|
||||
# Then turn the fragments into a shell script we can source.
|
||||
sed -E -i \
|
||||
-e 's:^([^ ]+) (.*)$:\1="\2":' \
|
||||
"${d}"/* || die
|
||||
|
||||
# Generate the init.d script by assembling the fragments from above.
|
||||
local f qcpu package interpreter magic mask
|
||||
cat "${FILESDIR}"/qemu-binfmt.initd.head >"${out}" || die
|
||||
for f in "${d}"/qemu-* ; do
|
||||
source "${f}"
|
||||
|
||||
# Normalize the cpu logic like we do in the init.d for the native cpu.
|
||||
qcpu=${package#qemu-}
|
||||
case ${qcpu} in
|
||||
arm*) qcpu="arm";;
|
||||
mips*) qcpu="mips";;
|
||||
ppc*) qcpu="ppc";;
|
||||
s390*) qcpu="s390";;
|
||||
sh*) qcpu="sh";;
|
||||
sparc*) qcpu="sparc";;
|
||||
esac
|
||||
|
||||
cat <<EOF >>"${out}"
|
||||
if [ "\${cpu}" != "${qcpu}" -a -x "${interpreter}" ] ; then
|
||||
echo ':${package}:M::${magic}:${mask}:${interpreter}:'"\${QEMU_BINFMT_FLAGS}" >/proc/sys/fs/binfmt_misc/register
|
||||
fi
|
||||
EOF
|
||||
|
||||
echo ":${package}:M::${magic}:${mask}:${interpreter}:OC" >>"${out_systemd}"
|
||||
|
||||
done
|
||||
cat "${FILESDIR}"/qemu-binfmt.initd.tail >>"${out}" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if [[ -n ${user_targets} ]]; then
|
||||
cd "${S}/user-build"
|
||||
emake DESTDIR="${ED}" install
|
||||
|
||||
# Install binfmt handler init script for user targets.
|
||||
generate_initd
|
||||
doinitd "${T}/qemu-binfmt"
|
||||
|
||||
# Install binfmt/qemu.conf.
|
||||
insinto "/usr/share/qemu/binfmt.d"
|
||||
doins "${T}/qemu.conf"
|
||||
fi
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
cd "${S}/softmmu-build"
|
||||
emake DESTDIR="${ED}" install
|
||||
|
||||
# This might not exist if the test failed. #512010
|
||||
[[ -e check-report.html ]] && dohtml check-report.html
|
||||
|
||||
if use kernel_linux; then
|
||||
udev_newrules "${FILESDIR}"/65-kvm.rules-r1 65-kvm.rules
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
python_foreach_impl qemu_python_install
|
||||
fi
|
||||
fi
|
||||
|
||||
cd "${S}/tools-build"
|
||||
emake DESTDIR="${ED}" install
|
||||
|
||||
# Disable mprotect on the qemu binaries as they use JITs to be fast #459348
|
||||
pushd "${ED}"/usr/bin >/dev/null
|
||||
pax-mark mr "${softmmu_bins[@]}" "${user_bins[@]}" # bug 575594
|
||||
popd >/dev/null
|
||||
|
||||
# Install config file example for qemu-bridge-helper
|
||||
insinto "/etc/qemu"
|
||||
doins "${FILESDIR}/bridge.conf"
|
||||
|
||||
cd "${S}"
|
||||
dodoc Changelog MAINTAINERS docs/specs/pci-ids.txt
|
||||
newdoc pc-bios/README README.pc-bios
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
# Remove SeaBIOS since we're using the SeaBIOS packaged one
|
||||
rm "${ED}/usr/share/qemu/bios.bin"
|
||||
rm "${ED}/usr/share/qemu/bios-256k.bin"
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../seabios/bios.bin /usr/share/qemu/bios.bin
|
||||
dosym ../seabios/bios-256k.bin /usr/share/qemu/bios-256k.bin
|
||||
fi
|
||||
|
||||
# Remove vgabios since we're using the seavgabios 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-virtio.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-vmware.bin"
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../seavgabios/vgabios-isavga.bin /usr/share/qemu/vgabios.bin
|
||||
dosym ../seavgabios/vgabios-cirrus.bin /usr/share/qemu/vgabios-cirrus.bin
|
||||
dosym ../seavgabios/vgabios-qxl.bin /usr/share/qemu/vgabios-qxl.bin
|
||||
dosym ../seavgabios/vgabios-stdvga.bin /usr/share/qemu/vgabios-stdvga.bin
|
||||
dosym ../seavgabios/vgabios-virtio.bin /usr/share/qemu/vgabios-virtio.bin
|
||||
dosym ../seavgabios/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
|
||||
fi
|
||||
|
||||
DISABLE_AUTOFORMATTING=true
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
firmware_abi_change() {
|
||||
local pv
|
||||
for pv in ${REPLACING_VERSIONS}; do
|
||||
if ! version_is_at_least ${FIRMWARE_ABI_VERSION} ${pv}; then
|
||||
return 0
|
||||
fi
|
||||
done
|
||||
return 1
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -n ${softmmu_targets} ]] && use kernel_linux; then
|
||||
udev_reload
|
||||
fi
|
||||
|
||||
fcaps cap_net_admin /usr/libexec/qemu-bridge-helper
|
||||
|
||||
DISABLE_AUTOFORMATTING=true
|
||||
readme.gentoo_print_elog
|
||||
|
||||
if use pin-upstream-blobs && firmware_abi_change; then
|
||||
ewarn "This version of qemu pins new versions of firmware blobs:"
|
||||
ewarn " $(best_version sys-firmware/edk2-ovmf)"
|
||||
ewarn " $(best_version sys-firmware/ipxe)"
|
||||
ewarn " $(best_version sys-firmware/seabios)"
|
||||
ewarn " $(best_version sys-firmware/sgabios)"
|
||||
ewarn "This might break resume of hibernated guests (started with a different"
|
||||
ewarn "firmware version) and live migration to/from qemu versions with different"
|
||||
ewarn "firmware. Please (cold) restart all running guests. For functional"
|
||||
ewarn "guest migration ensure that all"
|
||||
ewarn "hosts run at least"
|
||||
ewarn " app-emulation/qemu-${FIRMWARE_ABI_VERSION}."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_info() {
|
||||
echo "Using:"
|
||||
echo " $(best_version app-emulation/spice-protocol)"
|
||||
echo " $(best_version sys-firmware/edk2-ovmf)"
|
||||
if has_version 'sys-firmware/edk2-ovmf[binary]'; then
|
||||
echo " USE=binary"
|
||||
else
|
||||
echo " USE=''"
|
||||
fi
|
||||
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/sgabios)"
|
||||
}
|
@ -0,0 +1,796 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE="ncurses,readline"
|
||||
|
||||
PLOCALES="bg de_DE fr_FR hu it tr zh_CN"
|
||||
|
||||
FIRMWARE_ABI_VERSION="2.9.0-r52"
|
||||
|
||||
inherit eutils flag-o-matic linux-info toolchain-funcs multilib python-r1 \
|
||||
user udev fcaps readme.gentoo-r1 pax-utils l10n
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
EGIT_REPO_URI="git://git.qemu.org/qemu.git"
|
||||
inherit git-r3
|
||||
SRC_URI=""
|
||||
else
|
||||
SRC_URI="http://wiki.qemu-project.org/download/${P}.tar.bz2"
|
||||
KEYWORDS="~amd64 ~arm64 ~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 bzip2 +caps +curl debug +fdt
|
||||
glusterfs gnutls gtk gtk2 infiniband iscsi +jpeg kernel_linux
|
||||
kernel_FreeBSD lzo ncurses nfs nls numa opengl +pin-upstream-blobs +png
|
||||
pulseaudio python rbd sasl +seccomp sdl sdl2 selinux smartcard snappy
|
||||
spice ssh static static-user systemtap tci test usb usbredir vde
|
||||
+vhost-net virgl virtfs +vnc vte xattr xen xfs"
|
||||
|
||||
COMMON_TARGETS="aarch64 alpha arm cris i386 m68k microblaze microblazeel
|
||||
mips mips64 mips64el mipsel nios2 or1k ppc ppc64 s390x sh4 sh4eb sparc
|
||||
sparc64 x86_64"
|
||||
IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS}
|
||||
lm32 moxie ppcemb tricore unicore32 xtensa xtensaeb"
|
||||
IUSE_USER_TARGETS="${COMMON_TARGETS}
|
||||
armeb hppa mipsn32 mipsn32el ppc64abi32 ppc64le sparc32plus tilegx"
|
||||
|
||||
use_softmmu_targets=$(printf ' qemu_softmmu_targets_%s' ${IUSE_SOFTMMU_TARGETS})
|
||||
use_user_targets=$(printf ' qemu_user_targets_%s' ${IUSE_USER_TARGETS})
|
||||
IUSE+=" ${use_softmmu_targets} ${use_user_targets}"
|
||||
|
||||
# Allow no targets to be built so that people can get a tools-only build.
|
||||
# Block USE flag configurations known to not work.
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}
|
||||
gtk2? ( gtk )
|
||||
qemu_softmmu_targets_arm? ( fdt )
|
||||
qemu_softmmu_targets_microblaze? ( fdt )
|
||||
qemu_softmmu_targets_mips64el? ( fdt )
|
||||
qemu_softmmu_targets_ppc? ( fdt )
|
||||
qemu_softmmu_targets_ppc64? ( fdt )
|
||||
sdl2? ( sdl )
|
||||
static? ( static-user !alsa !bluetooth !gtk !gtk2 !opengl !pulseaudio )
|
||||
virtfs? ( xattr )
|
||||
vte? ( gtk )"
|
||||
|
||||
# Dependencies required for qemu tools (qemu-nbd, qemu-img, qemu-io, ...)
|
||||
# and user/softmmu targets (qemu-*, qemu-system-*).
|
||||
#
|
||||
# Yep, you need both libcap and libcap-ng since virtfs only uses libcap.
|
||||
#
|
||||
# The attr lib isn't always linked in (although the USE flag is always
|
||||
# respected). This is because qemu supports using the C library's API
|
||||
# when available rather than always using the extranl library.
|
||||
ALL_DEPEND="
|
||||
>=dev-libs/glib-2.0[static-libs(+)]
|
||||
sys-libs/zlib[static-libs(+)]
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
systemtap? ( dev-util/systemtap )
|
||||
xattr? ( sys-apps/attr[static-libs(+)] )"
|
||||
|
||||
# Dependencies required for qemu tools (qemu-nbd, qemu-img, qemu-io, ...)
|
||||
# softmmu targets (qemu-system-*).
|
||||
SOFTMMU_TOOLS_DEPEND="
|
||||
>=x11-libs/pixman-0.28.0[static-libs(+)]
|
||||
accessibility? (
|
||||
app-accessibility/brltty[api]
|
||||
app-accessibility/brltty[static-libs(+)]
|
||||
)
|
||||
aio? ( dev-libs/libaio[static-libs(+)] )
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.13 )
|
||||
bluetooth? ( net-wireless/bluez )
|
||||
bzip2? ( app-arch/bzip2[static-libs(+)] )
|
||||
caps? ( sys-libs/libcap-ng[static-libs(+)] )
|
||||
curl? ( >=net-misc/curl-7.15.4[static-libs(+)] )
|
||||
fdt? ( >=sys-apps/dtc-1.4.2[static-libs(+)] )
|
||||
glusterfs? ( >=sys-cluster/glusterfs-3.4.0[static-libs(+)] )
|
||||
gnutls? (
|
||||
dev-libs/nettle:=[static-libs(+)]
|
||||
>=net-libs/gnutls-3.0:=[static-libs(+)]
|
||||
)
|
||||
gtk? (
|
||||
gtk2? (
|
||||
x11-libs/gtk+:2
|
||||
vte? ( x11-libs/vte:0 )
|
||||
)
|
||||
!gtk2? (
|
||||
x11-libs/gtk+:3
|
||||
vte? ( x11-libs/vte:2.91 )
|
||||
)
|
||||
)
|
||||
infiniband? ( sys-fabric/librdmacm:=[static-libs(+)] )
|
||||
iscsi? ( net-libs/libiscsi )
|
||||
jpeg? ( virtual/jpeg:0=[static-libs(+)] )
|
||||
lzo? ( dev-libs/lzo:2[static-libs(+)] )
|
||||
ncurses? (
|
||||
sys-libs/ncurses:0=[unicode]
|
||||
sys-libs/ncurses:0=[static-libs(+)]
|
||||
)
|
||||
nfs? ( >=net-fs/libnfs-1.9.3[static-libs(+)] )
|
||||
numa? ( sys-process/numactl[static-libs(+)] )
|
||||
opengl? (
|
||||
virtual/opengl
|
||||
media-libs/libepoxy[static-libs(+)]
|
||||
media-libs/mesa[static-libs(+)]
|
||||
media-libs/mesa[egl,gbm]
|
||||
)
|
||||
png? ( media-libs/libpng:0=[static-libs(+)] )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
rbd? ( sys-cluster/ceph[static-libs(+)] )
|
||||
sasl? ( dev-libs/cyrus-sasl[static-libs(+)] )
|
||||
sdl? (
|
||||
!sdl2? (
|
||||
media-libs/libsdl[X]
|
||||
>=media-libs/libsdl-1.2.11[static-libs(+)]
|
||||
)
|
||||
sdl2? (
|
||||
media-libs/libsdl2[X]
|
||||
media-libs/libsdl2[static-libs(+)]
|
||||
)
|
||||
)
|
||||
seccomp? ( >=sys-libs/libseccomp-2.1.0[static-libs(+)] )
|
||||
smartcard? ( >=app-emulation/libcacard-2.5.0[static-libs(+)] )
|
||||
snappy? ( app-arch/snappy:=[static-libs(+)] )
|
||||
spice? (
|
||||
>=app-emulation/spice-protocol-0.12.3
|
||||
>=app-emulation/spice-0.12.0[static-libs(+)]
|
||||
)
|
||||
ssh? ( >=net-libs/libssh2-1.2.8[static-libs(+)] )
|
||||
usb? ( >=virtual/libusb-1-r2[static-libs(+)] )
|
||||
usbredir? ( >=sys-apps/usbredir-0.6[static-libs(+)] )
|
||||
vde? ( net-misc/vde[static-libs(+)] )
|
||||
virgl? ( media-libs/virglrenderer[static-libs(+)] )
|
||||
virtfs? ( sys-libs/libcap )
|
||||
xen? ( app-emulation/xen-tools:= )
|
||||
xfs? ( sys-fs/xfsprogs[static-libs(+)] )"
|
||||
|
||||
X86_FIRMWARE_DEPEND="
|
||||
pin-upstream-blobs? (
|
||||
~sys-firmware/edk2-ovmf-2017_pre20170505[binary]
|
||||
~sys-firmware/ipxe-1.0.0_p20160620
|
||||
~sys-firmware/seabios-1.10.2[binary,seavgabios]
|
||||
~sys-firmware/sgabios-0.1_pre8
|
||||
)
|
||||
!pin-upstream-blobs? (
|
||||
sys-firmware/edk2-ovmf
|
||||
sys-firmware/ipxe
|
||||
>=sys-firmware/seabios-1.10.2[seavgabios]
|
||||
sys-firmware/sgabios
|
||||
)"
|
||||
|
||||
CDEPEND="
|
||||
!static? (
|
||||
${ALL_DEPEND//\[static-libs(+)]}
|
||||
${SOFTMMU_TOOLS_DEPEND//\[static-libs(+)]}
|
||||
)
|
||||
qemu_softmmu_targets_i386? ( ${X86_FIRMWARE_DEPEND} )
|
||||
qemu_softmmu_targets_x86_64? ( ${X86_FIRMWARE_DEPEND} )"
|
||||
DEPEND="${CDEPEND}
|
||||
dev-lang/perl
|
||||
=dev-lang/python-2*
|
||||
sys-apps/texinfo
|
||||
virtual/pkgconfig
|
||||
kernel_linux? ( >=sys-kernel/linux-headers-2.6.35 )
|
||||
gtk? ( nls? ( sys-devel/gettext ) )
|
||||
static? (
|
||||
${ALL_DEPEND}
|
||||
${SOFTMMU_TOOLS_DEPEND}
|
||||
)
|
||||
static-user? ( ${ALL_DEPEND} )
|
||||
test? (
|
||||
dev-libs/glib[utils]
|
||||
sys-devel/bc
|
||||
)"
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-qemu )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.5.0-cflags.patch
|
||||
"${FILESDIR}"/${PN}-2.5.0-sysmacros.patch
|
||||
"${FILESDIR}"/${PN}-2.9.0-CVE-2017-8309.patch # bug 616870
|
||||
"${FILESDIR}"/${PN}-2.9.0-CVE-2017-8379.patch # bug 616872
|
||||
"${FILESDIR}"/${PN}-2.9.0-CVE-2017-8380.patch # bug 616874
|
||||
"${FILESDIR}"/${PN}-2.9.0-CVE-2017-8112.patch # bug 616636
|
||||
"${FILESDIR}"/${PN}-2.9.0-CVE-2017-7493.patch # bug 618808
|
||||
"${FILESDIR}"/${PN}-2.9.0-CVE-2017-11434.patch # bug 625614
|
||||
"${FILESDIR}"/${PN}-2.9.0-CVE-2017-11334.patch # bug 621292
|
||||
"${FILESDIR}"/${PN}-2.9.0-CVE-2017-9524-1.patch # bug 621292
|
||||
"${FILESDIR}"/${PN}-2.9.0-CVE-2017-9524-2.patch
|
||||
"${FILESDIR}"/${PN}-2.9.0-CVE-2017-9503-1.patch # bug 621184
|
||||
"${FILESDIR}"/${PN}-2.9.0-CVE-2017-9503-2.patch
|
||||
"${FILESDIR}"/${PN}-2.9.0-CVE-2017-10664.patch # bug 623016
|
||||
"${FILESDIR}"/${PN}-2.9.0-CVE-2017-10806.patch # bug 624088
|
||||
)
|
||||
|
||||
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
|
||||
usr/share/qemu/u-boot.e500"
|
||||
|
||||
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-or1k
|
||||
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.
|
||||
For AMD CPUs the module is called 'kvm-amd'.
|
||||
For Intel CPUs the module is called 'kvm-intel'.
|
||||
Please review /etc/conf.d/modules for how to load these.
|
||||
|
||||
Make sure your user is in the 'kvm' group. Just run
|
||||
$ gpasswd -a <USER> kvm
|
||||
then have <USER> re-login.
|
||||
|
||||
For brand new installs, the default permissions on /dev/kvm might not let
|
||||
you access it. You can tell udev to reset ownership/perms:
|
||||
$ udevadm trigger -c add /dev/kvm
|
||||
|
||||
If you want to register binfmt handlers for qemu user targets:
|
||||
For openrc:
|
||||
# rc-update add qemu-binfmt
|
||||
For systemd:
|
||||
# ln -s /usr/share/qemu/binfmt.d/qemu.conf /etc/binfmt.d/qemu.conf"
|
||||
|
||||
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
|
||||
|
||||
if grep -qs '/usr/bin/qemu-kvm' "${EROOT}"/etc/libvirt/qemu/*.xml; then
|
||||
eerror "The kvm/qemu-kvm wrappers no longer exist, but your libvirt"
|
||||
eerror "instances are still pointing to it. Please update your"
|
||||
eerror "configs in /etc/libvirt/qemu/ to use the -enable-kvm flag"
|
||||
eerror "and the right system binary (e.g. qemu-system-x86_64)."
|
||||
die "update your virt configs to not use qemu-kvm"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup kvm 78
|
||||
}
|
||||
|
||||
# Sanity check to make sure target lists are kept up-to-date.
|
||||
check_targets() {
|
||||
local var=$1 mak=$2
|
||||
local detected sorted
|
||||
|
||||
pushd "${S}"/default-configs >/dev/null || die
|
||||
|
||||
# Force C locale until glibc is updated. #564936
|
||||
detected=$(echo $(printf '%s\n' *-${mak}.mak | sed "s:-${mak}.mak::" | LC_COLLATE=C sort -u))
|
||||
sorted=$(echo $(printf '%s\n' ${!var} | LC_COLLATE=C sort -u))
|
||||
if [[ ${sorted} != "${detected}" ]] ; then
|
||||
eerror "The ebuild needs to be kept in sync."
|
||||
eerror "${var}: ${sorted}"
|
||||
eerror "$(printf '%-*s' ${#var} configure): ${detected}"
|
||||
die "sync ${var} to the list of targets"
|
||||
fi
|
||||
|
||||
popd >/dev/null
|
||||
}
|
||||
|
||||
handle_locales() {
|
||||
# Make sure locale list is kept up-to-date.
|
||||
local detected sorted
|
||||
detected=$(echo $(cd po && printf '%s\n' *.po | grep -v messages.po | sed 's:.po$::' | sort -u))
|
||||
sorted=$(echo $(printf '%s\n' ${PLOCALES} | sort -u))
|
||||
if [[ ${sorted} != "${detected}" ]] ; then
|
||||
eerror "The ebuild needs to be kept in sync."
|
||||
eerror "PLOCALES: ${sorted}"
|
||||
eerror " po/*.po: ${detected}"
|
||||
die "sync PLOCALES"
|
||||
fi
|
||||
|
||||
# Deal with selective install of locales.
|
||||
if use nls ; then
|
||||
# Delete locales the user does not want. #577814
|
||||
rm_loc() { rm po/$1.po || die; }
|
||||
l10n_for_each_disabled_locale_do rm_loc
|
||||
else
|
||||
# Cheap hack to disable gettext .mo generation.
|
||||
rm -f po/*.po
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
check_targets IUSE_SOFTMMU_TARGETS softmmu
|
||||
check_targets IUSE_USER_TARGETS linux-user
|
||||
|
||||
# Alter target makefiles to accept CFLAGS set via flag-o
|
||||
sed -i -r \
|
||||
-e 's/^(C|OP_C|HELPER_C)FLAGS=/\1FLAGS+=/' \
|
||||
Makefile Makefile.target || die
|
||||
|
||||
default
|
||||
|
||||
# Fix ld and objcopy being called directly
|
||||
tc-export AR LD OBJCOPY
|
||||
|
||||
# Verbose builds
|
||||
MAKEOPTS+=" V=1"
|
||||
|
||||
# Run after we've applied all patches.
|
||||
handle_locales
|
||||
|
||||
#remove bundled copy of libfdt
|
||||
rm -r dtc || die
|
||||
}
|
||||
|
||||
##
|
||||
# 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="${S}/${buildtype}-build"
|
||||
|
||||
mkdir "${builddir}"
|
||||
|
||||
local conf_opts=(
|
||||
--prefix=/usr
|
||||
--sysconfdir=/etc
|
||||
--libdir=/usr/$(get_libdir)
|
||||
--docdir=/usr/share/doc/${PF}/html
|
||||
--disable-bsd-user
|
||||
--disable-guest-agent
|
||||
--disable-strip
|
||||
--disable-werror
|
||||
# We support gnutls/nettle for crypto operations. It is possible
|
||||
# to use gcrypt when gnutls/nettle are disabled (but not when they
|
||||
# are enabled), but it's not really worth the hassle. Disable it
|
||||
# all the time to avoid automatically detecting it. #568856
|
||||
--disable-gcrypt
|
||||
--python="${PYTHON}"
|
||||
--cc="$(tc-getCC)"
|
||||
--cxx="$(tc-getCXX)"
|
||||
--host-cc="$(tc-getBUILD_CC)"
|
||||
$(use_enable debug debug-info)
|
||||
$(use_enable debug debug-tcg)
|
||||
--enable-docs
|
||||
$(use_enable tci tcg-interpreter)
|
||||
$(use_enable xattr attr)
|
||||
)
|
||||
|
||||
# Disable options not used by user targets. This simplifies building
|
||||
# static user targets (USE=static-user) considerably.
|
||||
conf_notuser() {
|
||||
if [[ ${buildtype} == "user" ]] ; then
|
||||
echo "--disable-${2:-$1}"
|
||||
else
|
||||
use_enable "$@"
|
||||
fi
|
||||
}
|
||||
conf_opts+=(
|
||||
$(conf_notuser accessibility brlapi)
|
||||
$(conf_notuser aio linux-aio)
|
||||
$(conf_notuser bzip2)
|
||||
$(conf_notuser bluetooth bluez)
|
||||
$(conf_notuser caps cap-ng)
|
||||
$(conf_notuser curl)
|
||||
$(conf_notuser fdt)
|
||||
$(conf_notuser glusterfs)
|
||||
$(conf_notuser gnutls)
|
||||
$(conf_notuser gnutls nettle)
|
||||
$(conf_notuser gtk)
|
||||
$(conf_notuser infiniband rdma)
|
||||
$(conf_notuser iscsi libiscsi)
|
||||
$(conf_notuser jpeg vnc-jpeg)
|
||||
$(conf_notuser kernel_linux kvm)
|
||||
$(conf_notuser lzo)
|
||||
$(conf_notuser ncurses curses)
|
||||
$(conf_notuser nfs libnfs)
|
||||
$(conf_notuser numa)
|
||||
$(conf_notuser opengl)
|
||||
$(conf_notuser png vnc-png)
|
||||
$(conf_notuser rbd)
|
||||
$(conf_notuser sasl vnc-sasl)
|
||||
$(conf_notuser sdl)
|
||||
$(conf_notuser seccomp)
|
||||
$(conf_notuser smartcard)
|
||||
$(conf_notuser snappy)
|
||||
$(conf_notuser spice)
|
||||
$(conf_notuser ssh libssh2)
|
||||
$(conf_notuser usb libusb)
|
||||
$(conf_notuser usbredir usb-redir)
|
||||
$(conf_notuser vde)
|
||||
$(conf_notuser vhost-net)
|
||||
$(conf_notuser virgl virglrenderer)
|
||||
$(conf_notuser virtfs)
|
||||
$(conf_notuser vnc)
|
||||
$(conf_notuser vte)
|
||||
$(conf_notuser xen)
|
||||
$(conf_notuser xen xen-pci-passthrough)
|
||||
$(conf_notuser xfs xfsctl)
|
||||
)
|
||||
|
||||
if [[ ! ${buildtype} == "user" ]] ; then
|
||||
# audio options
|
||||
local audio_opts="oss"
|
||||
use alsa && audio_opts="alsa,${audio_opts}"
|
||||
use sdl && audio_opts="sdl,${audio_opts}"
|
||||
use pulseaudio && audio_opts="pa,${audio_opts}"
|
||||
conf_opts+=(
|
||||
--audio-drv-list="${audio_opts}"
|
||||
)
|
||||
use gtk && conf_opts+=( --with-gtkabi=$(usex gtk2 2.0 3.0) )
|
||||
use sdl && conf_opts+=( --with-sdlabi=$(usex sdl2 2.0 1.2) )
|
||||
fi
|
||||
|
||||
case ${buildtype} in
|
||||
user)
|
||||
conf_opts+=(
|
||||
--enable-linux-user
|
||||
--disable-system
|
||||
--disable-blobs
|
||||
--disable-tools
|
||||
)
|
||||
local static_flag="static-user"
|
||||
;;
|
||||
softmmu)
|
||||
conf_opts+=(
|
||||
--disable-linux-user
|
||||
--enable-system
|
||||
--disable-tools
|
||||
--with-system-pixman
|
||||
)
|
||||
local static_flag="static"
|
||||
;;
|
||||
tools)
|
||||
conf_opts+=(
|
||||
--disable-linux-user
|
||||
--disable-system
|
||||
--disable-blobs
|
||||
--enable-tools
|
||||
)
|
||||
local static_flag="static"
|
||||
;;
|
||||
esac
|
||||
|
||||
local targets="${buildtype}_targets"
|
||||
[[ -n ${targets} ]] && conf_opts+=( --target-list="${!targets}" )
|
||||
|
||||
# Add support for SystemTAP
|
||||
use systemtap && conf_opts+=( --enable-trace-backend=dtrace )
|
||||
|
||||
# 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}; then
|
||||
conf_opts+=( --static --disable-pie )
|
||||
else
|
||||
tc-enables-pie && conf_opts+=( --enable-pie )
|
||||
fi
|
||||
|
||||
echo "../configure ${conf_opts[*]}"
|
||||
cd "${builddir}"
|
||||
../configure "${conf_opts[@]}" || die "configure failed"
|
||||
|
||||
# FreeBSD's kernel does not support QEMU assigning/grabbing
|
||||
# host USB devices yet
|
||||
use kernel_FreeBSD && \
|
||||
sed -i -E -e "s|^(HOST_USB=)bsd|\1stub|" "${S}"/config-host.mak
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local target
|
||||
|
||||
python_setup
|
||||
|
||||
softmmu_targets= softmmu_bins=()
|
||||
user_targets= user_bins=()
|
||||
|
||||
for target in ${IUSE_SOFTMMU_TARGETS} ; do
|
||||
if use "qemu_softmmu_targets_${target}"; then
|
||||
softmmu_targets+=",${target}-softmmu"
|
||||
softmmu_bins+=( "qemu-system-${target}" )
|
||||
fi
|
||||
done
|
||||
|
||||
for target in ${IUSE_USER_TARGETS} ; do
|
||||
if use "qemu_user_targets_${target}"; then
|
||||
user_targets+=",${target}-linux-user"
|
||||
user_bins+=( "qemu-${target}" )
|
||||
fi
|
||||
done
|
||||
|
||||
softmmu_targets=${softmmu_targets#,}
|
||||
user_targets=${user_targets#,}
|
||||
|
||||
[[ -n ${softmmu_targets} ]] && qemu_src_configure "softmmu"
|
||||
[[ -n ${user_targets} ]] && qemu_src_configure "user"
|
||||
qemu_src_configure "tools"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if [[ -n ${user_targets} ]]; then
|
||||
cd "${S}/user-build"
|
||||
default
|
||||
fi
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
cd "${S}/softmmu-build"
|
||||
default
|
||||
fi
|
||||
|
||||
cd "${S}/tools-build"
|
||||
default
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
cd "${S}/softmmu-build"
|
||||
pax-mark m */qemu-system-* #515550
|
||||
emake -j1 check
|
||||
emake -j1 check-report.html
|
||||
fi
|
||||
}
|
||||
|
||||
qemu_python_install() {
|
||||
python_domodule "${S}/scripts/qmp/qmp.py"
|
||||
|
||||
python_doscript "${S}/scripts/kvm/vmxcap"
|
||||
python_doscript "${S}/scripts/qmp/qmp-shell"
|
||||
python_doscript "${S}/scripts/qmp/qemu-ga-client"
|
||||
}
|
||||
|
||||
# Generate binfmt support files.
|
||||
# - /etc/init.d/qemu-binfmt script which registers the user handlers (openrc)
|
||||
# - /usr/share/qemu/binfmt.d/qemu.conf (for use with systemd-binfmt)
|
||||
generate_initd() {
|
||||
local out="${T}/qemu-binfmt"
|
||||
local out_systemd="${T}/qemu.conf"
|
||||
local d="${T}/binfmt.d"
|
||||
|
||||
einfo "Generating qemu binfmt scripts and configuration files"
|
||||
|
||||
# Generate the debian fragments first.
|
||||
mkdir -p "${d}"
|
||||
"${S}"/scripts/qemu-binfmt-conf.sh \
|
||||
--debian \
|
||||
--exportdir "${d}" \
|
||||
--qemu-path "${EPREFIX}/usr/bin" \
|
||||
|| die
|
||||
# Then turn the fragments into a shell script we can source.
|
||||
sed -E -i \
|
||||
-e 's:^([^ ]+) (.*)$:\1="\2":' \
|
||||
"${d}"/* || die
|
||||
|
||||
# Generate the init.d script by assembling the fragments from above.
|
||||
local f qcpu package interpreter magic mask
|
||||
cat "${FILESDIR}"/qemu-binfmt.initd.head >"${out}" || die
|
||||
for f in "${d}"/qemu-* ; do
|
||||
source "${f}"
|
||||
|
||||
# Normalize the cpu logic like we do in the init.d for the native cpu.
|
||||
qcpu=${package#qemu-}
|
||||
case ${qcpu} in
|
||||
arm*) qcpu="arm";;
|
||||
mips*) qcpu="mips";;
|
||||
ppc*) qcpu="ppc";;
|
||||
s390*) qcpu="s390";;
|
||||
sh*) qcpu="sh";;
|
||||
sparc*) qcpu="sparc";;
|
||||
esac
|
||||
|
||||
cat <<EOF >>"${out}"
|
||||
if [ "\${cpu}" != "${qcpu}" -a -x "${interpreter}" ] ; then
|
||||
echo ':${package}:M::${magic}:${mask}:${interpreter}:'"\${QEMU_BINFMT_FLAGS}" >/proc/sys/fs/binfmt_misc/register
|
||||
fi
|
||||
EOF
|
||||
|
||||
echo ":${package}:M::${magic}:${mask}:${interpreter}:OC" >>"${out_systemd}"
|
||||
|
||||
done
|
||||
cat "${FILESDIR}"/qemu-binfmt.initd.tail >>"${out}" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if [[ -n ${user_targets} ]]; then
|
||||
cd "${S}/user-build"
|
||||
emake DESTDIR="${ED}" install
|
||||
|
||||
# Install binfmt handler init script for user targets.
|
||||
generate_initd
|
||||
doinitd "${T}/qemu-binfmt"
|
||||
|
||||
# Install binfmt/qemu.conf.
|
||||
insinto "/usr/share/qemu/binfmt.d"
|
||||
doins "${T}/qemu.conf"
|
||||
fi
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
cd "${S}/softmmu-build"
|
||||
emake DESTDIR="${ED}" install
|
||||
|
||||
# This might not exist if the test failed. #512010
|
||||
[[ -e check-report.html ]] && dohtml check-report.html
|
||||
|
||||
if use kernel_linux; then
|
||||
udev_newrules "${FILESDIR}"/65-kvm.rules-r1 65-kvm.rules
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
python_foreach_impl qemu_python_install
|
||||
fi
|
||||
fi
|
||||
|
||||
cd "${S}/tools-build"
|
||||
emake DESTDIR="${ED}" install
|
||||
|
||||
# Disable mprotect on the qemu binaries as they use JITs to be fast #459348
|
||||
pushd "${ED}"/usr/bin >/dev/null
|
||||
pax-mark mr "${softmmu_bins[@]}" "${user_bins[@]}" # bug 575594
|
||||
popd >/dev/null
|
||||
|
||||
# Install config file example for qemu-bridge-helper
|
||||
insinto "/etc/qemu"
|
||||
doins "${FILESDIR}/bridge.conf"
|
||||
|
||||
cd "${S}"
|
||||
dodoc Changelog MAINTAINERS docs/specs/pci-ids.txt
|
||||
newdoc pc-bios/README README.pc-bios
|
||||
dodoc docs/qmp-*.txt
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
# Remove SeaBIOS since we're using the SeaBIOS packaged one
|
||||
rm "${ED}/usr/share/qemu/bios.bin"
|
||||
rm "${ED}/usr/share/qemu/bios-256k.bin"
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../seabios/bios.bin /usr/share/qemu/bios.bin
|
||||
dosym ../seabios/bios-256k.bin /usr/share/qemu/bios-256k.bin
|
||||
fi
|
||||
|
||||
# Remove vgabios since we're using the seavgabios 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-virtio.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-vmware.bin"
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../seavgabios/vgabios-isavga.bin /usr/share/qemu/vgabios.bin
|
||||
dosym ../seavgabios/vgabios-cirrus.bin /usr/share/qemu/vgabios-cirrus.bin
|
||||
dosym ../seavgabios/vgabios-qxl.bin /usr/share/qemu/vgabios-qxl.bin
|
||||
dosym ../seavgabios/vgabios-stdvga.bin /usr/share/qemu/vgabios-stdvga.bin
|
||||
dosym ../seavgabios/vgabios-virtio.bin /usr/share/qemu/vgabios-virtio.bin
|
||||
dosym ../seavgabios/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
|
||||
fi
|
||||
|
||||
DISABLE_AUTOFORMATTING=true
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
firmware_abi_change() {
|
||||
local pv
|
||||
for pv in ${REPLACING_VERSIONS}; do
|
||||
if ! version_is_at_least ${FIRMWARE_ABI_VERSION} ${pv}; then
|
||||
return 0
|
||||
fi
|
||||
done
|
||||
return 1
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -n ${softmmu_targets} ]] && use kernel_linux; then
|
||||
udev_reload
|
||||
fi
|
||||
|
||||
fcaps cap_net_admin /usr/libexec/qemu-bridge-helper
|
||||
|
||||
DISABLE_AUTOFORMATTING=true
|
||||
readme.gentoo_print_elog
|
||||
|
||||
if use pin-upstream-blobs && firmware_abi_change; then
|
||||
ewarn "This version of qemu pins new versions of firmware blobs:"
|
||||
ewarn " $(best_version sys-firmware/edk2-ovmf)"
|
||||
ewarn " $(best_version sys-firmware/ipxe)"
|
||||
ewarn " $(best_version sys-firmware/seabios)"
|
||||
ewarn " $(best_version sys-firmware/sgabios)"
|
||||
ewarn "This might break resume of hibernated guests (started with a different"
|
||||
ewarn "firmware version) and live migration to/from qemu versions with different"
|
||||
ewarn "firmware. Please (cold) restart all running guests. For functional"
|
||||
ewarn "guest migration ensure that all"
|
||||
ewarn "hosts run at least"
|
||||
ewarn " app-emulation/qemu-${FIRMWARE_ABI_VERSION}."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_info() {
|
||||
echo "Using:"
|
||||
echo " $(best_version app-emulation/spice-protocol)"
|
||||
echo " $(best_version sys-firmware/edk2-ovmf)"
|
||||
if has_version 'sys-firmware/edk2-ovmf[binary]'; then
|
||||
echo " USE=binary"
|
||||
else
|
||||
echo " USE=''"
|
||||
fi
|
||||
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/sgabios)"
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
DIST freemind-src-1.0.1.tar.gz 31617138 SHA256 018285126b27eae7392b8c3bfb513f25bd70b9907440e5eb8209f20b4fbd8619 SHA512 f3b7bd526da3075e883292fc88dd5b01f5b0112c58cfeae25a6be9c7dbf4a5444839821e3e2554303032d832b4520fa742894c09ded2705270f51aca98167fb5 WHIRLPOOL 5c3e1c795060bb92bced84fcf785c721c0ecf2ea8fcd8440cfe4935255bb4685c78dc4ad5991ee425a3c7d37589a8698ee9e1b3e4c63d362bc172edbe4e281da
|
||||
EBUILD freemind-1.0.1-r2.ebuild 3041 SHA256 4e8a390015f14ee5bbc5076ec1577affe4831eb9975ea23465fe84bf1fedfff2 SHA512 e5cfa780adc91cf4dda6aba410458711f3b9b5de0fd1f977a359ad406ca0ad9d1dd154fc3249ba34cafd11ef312f458065cd01151ef3cbf636b646a37432e412 WHIRLPOOL b9dff36f784cae4afbe763d652f3996fbc426e72e263a94d7a068b7e545711c87fb758e8f34cf6c8749f258a013c4288f1377c893e1a53d40dbd983406b400cd
|
||||
EBUILD freemind-1.0.1-r3.ebuild 3041 SHA256 65ec56738107578fbe6213d3cbeabbfead7fb052565d32974f07beadb4204e6c SHA512 5b637ec3cc9c36d0a9466d47b0bbc9f355d492d09bbc6457ab9fc0fb87c8665a17309f323f3711713c4b0b411257f371832a1afa1164b6126232cd95b76ac6e6 WHIRLPOOL 346f1f83061553425f0555619bc6d3325a45b333f21da05a8e02fd2fb94403f4631c148ec6c57bb406913282c4dd1c0b388cf94da925dd44ac7e939dc80be509
|
||||
MISC ChangeLog 2957 SHA256 9e704d407321b1de7d44ade1e9604594d1fbda3c3920528486ba70be8c80ff51 SHA512 2134d58eaccf7497506ad7a78b107112045c05abf15889f98bb4239b9882d3e82a1e8a3f8583157563e080ce36ca06346cb388ec3de20a107c44881eca660cc2 WHIRLPOOL 337ca02b5f6b09a542db66b07e5c6ee65b094aaae13144108becee7a8cd4cd4efa641e9b560e04c7ba5ce4b6094037efd52b24bec85d85fd59bd2213dde5c530
|
||||
MISC ChangeLog-2015 12051 SHA256 c3f7fbf2e1b8217042491cf3eda417093b041c0b0b9e48097825bbc80fdfd3bf SHA512 a2f278195afae2254eaa4d3d2af0d41292c20934facd55d34c9fd7258a952b1f7216610776b794647bd01c991f8cfa03d01dcd698075cc67a3d6e24fcdc228a0 WHIRLPOOL 6e29465592ddcc3ef11e5cdbaa7fac5fb3651e8d4b778d7817f777fae78e92133ce66130dfd31209ddc51f11979c71cd1453bf2814c640b72351a65ee698faa0
|
||||
MISC metadata.xml 643 SHA256 bb4552970de23143cb509d162bb941de0634e992e29ac9ed468e8afed4704ee1 SHA512 2075eb39f587784119d83827cd4614dab2146bac37440ed3b8430fcb29fb4b0a1f53470e72f64ba875908e0b64a894074627e7beb6aa5d29d1893afa47445788 WHIRLPOOL 8af0ec2f6029967e033c7d652b76e55a33510cb695cd0cc72b464611740c13b8ae462b10bed2af91fa16880c3b3ccda906e4ec9b577120e799cc47870be5dadc
|
||||
|
@ -1,5 +1,7 @@
|
||||
AUX icdiff-1.7.3-dont-check-changelog.patch 546 SHA256 4e6d151fb694052ae91d62302a0dd2b78c86a8e06290297362b1c466d81ac8ad SHA512 e3cf4f6238b3d49b6f3b1ce42a340815c535bc7482af22e722d0f5afcb0e3bbb1771b9de4a76fa77f5abe47b7b2f7c4b27e933e9e6a27d48b020975e95a7abc0 WHIRLPOOL ea63db5fe58d33ed9feece4fa219e2ab1aad8ca148cef2fcfba0d1794480e3549a7f100f65efee4a4675eeeb60af9e7fc1de2271f7637f087afcdc7abc48d184
|
||||
DIST icdiff-1.7.3.tar.gz 20215 SHA256 5161265f72a7c9c1d2d7b0780a381743ef3d3127944a96786422802a6bc14ca5 SHA512 ae8ca394c3fdf820d4795282672bc44eb01f88f9614d6240f035c31f99130b188185a0e241c3c17974d76f604b85ef48aa8296835b5dfb46463a88cb1f68d305 WHIRLPOOL 994bbc53673db6559444908b9a08e71283060648fdbc86e607b5ee229a933d13627b4e02b7b41fc25bf41021b9d86bed4d9e1b9df978922102b724e7be0a4642
|
||||
DIST icdiff-1.9.1.tar.gz 24387 SHA256 18cf11866150eba1ecec1370611921246918310f4b5cb101045db523a05fb37d SHA512 f73108f6f3a4a2fc40e041bbe7b5934acd76684bb54a3fa544e9f146fd3c528528928378496f53ad92d649547ccc491a77296b6fa57e4534abb13d61c0df8d58 WHIRLPOOL 6599f4fb4bd399ca89510f7a1980d86cab9443e97850f9ba77f6431a74cb4cb363b2c32d6bf7e834b55bc8ac9698177c104484656c02df6ada2d3ba85ed7f8b3
|
||||
EBUILD icdiff-1.7.3.ebuild 623 SHA256 f07fea63b988ac68d911e8263a414c2266e0aacbbae004bfcb8d065c2ed2b496 SHA512 162251baecd2754230ea9d50793783c595e8f24cc07c20590f3daa789fda3a4252af69358a2197bdc9b385d61a2a5a01f02d6874d8c44a43bc0840219ab6e412 WHIRLPOOL eb86c8be41342595e52f1554a4086d2268279befbb511efd1e9d6d4f0f330f6239a5b850fab90b909dcad74f5c8c177abfd3802a9a3b3d6e677ecfd758695936
|
||||
EBUILD icdiff-1.9.1.ebuild 556 SHA256 bfac58f9f212c9ae3fb0fc983b45722fa2c6f529e970ed7b7906d5fd7833abd8 SHA512 f9dea5dbff160a7b185ef6cb40c917dda0d33d29e77f1c491090f25e38d99b24be9c663a424d5949113b00cbe8ff6e74adcb15bc0933eb3a4bdbba9045084a1b WHIRLPOOL 7677d6fcd204f58531772ad9ce9a2811278850a1f0312bbbcc4012a2098e85cd371f892975c14cffa8e8fb542b90ab4fc20edc636e9922548d4d29accd1c32fe
|
||||
MISC ChangeLog 355 SHA256 ff5dbe5983ee64401cc9f77dfa44f30961a46c056bf0d48a6c50efd910f548c2 SHA512 e4b10518c7f3e46865217b647884fc47de558f128b58fc0b91d086336e6fedd9b4cf8bb8c1e1036fd2525947d108ef2aded44ffa579e5ee9101687ea607ea6d2 WHIRLPOOL b3ec8c25e95914aaaf3bb6fe48db41871f84dc11919d8fd8d19ffcde7ab12dbdbe1ba97a960017af35e717f9b8a4b56cde54482ed7a04342a1d6fc51da8f2efb
|
||||
MISC metadata.xml 342 SHA256 fe27728b1552e91ea542b7eed023a58f23dc8e86d84a58fcd37162721869ae24 SHA512 a897866e5d709999db69d3b1a4c8d1d1b15328970b27015f7549cf7b4fc6be688063f94fe31b0144227318c252e80bfd189fdf9f34dfdbf4dbfe0412e0b818ed WHIRLPOOL bf714366e2e82d0018a654e4018c5811d493a7a115567f93403033ac5d26a1e944de08550c75a91d644d892d837bad0fb3290f63c75890d2f52254f4385a07eb
|
||||
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=(python2_7 python3_4 python3_5)
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Colourized diff that supports side-by-side diffing"
|
||||
HOMEPAGE="http://www.jefftk.com/icdiff"
|
||||
SRC_URI="https://github.com/jeffkaufman/${PN}/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DOCS=(README.md ChangeLog)
|
||||
|
||||
S="${WORKDIR}/${PN}-release-${PV}"
|
||||
|
||||
python_test() {
|
||||
./test.sh "${EPYTHON%.*}" || die "Tests failed"
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
AUX ttyrec-1.0.8-flags.patch 591 SHA256 a7500040b86a41c7dbac7b5a84fb6d45877dfd3f75adf0c8fd6b35d4cf3fae95 SHA512 245a5e34611869d4b612a25922cde034ad3e54a3b7579850f2ddce3e0200726ed3707a518464c176044c9a9ab5f60737ded7941f1882d560d963c59e6221861c WHIRLPOOL 948911ee3ba4b50449f91138c2b4f12b5b8c105a9da2cd7291a00fb770999ce85eeed77afd4dea4d55731dafd305170ead59e30ccd594972c9217e8620401b8c
|
||||
DIST ttyrec-1.0.8.tar.gz 8528 SHA256 ef5e9bf276b65bb831f9c2554cd8784bd5b4ee65353808f82b7e2aef851587ec SHA512 b7f6f4c78c5148dacc7058534d89f13fcf333ee9e099d4475135e9c15a99a8aed72bf4bd5954652a6bb044d11ad35b4cb8d07208a5349c79c811f68fde7e8611 WHIRLPOOL d8f51ea4c88082b0f272170fec7aed0fa14d153b145f17958dc6101b5e383bbf7dfc4c5ed9cdbac23c08cef6baf25f4b65f3db13f7575bae65bf9ca3f58d48e3
|
||||
EBUILD ttyrec-1.0.8-r2.ebuild 692 SHA256 94abd28adfa2300d9d8569497890b947449b7ea443db5dc64762084176e58632 SHA512 f3c65b0fe210ef0f5703ca1499eda212e38b293ae6cc0c8445c38e419ccdd0581a546390341e54a53e34f1f389214f822939e29a782b12d14e24ae8f9dd7be08 WHIRLPOOL f2f3636774b7f208a3249cc2615541613e12aaf8598e766b7a3ab82f3e99ddf52fe7ba96bc43b397400c007006298798bbc534a8f6e0489336bdedbc96999a4a
|
||||
EBUILD ttyrec-1.0.8-r2.ebuild 691 SHA256 a233f98d68dcf72536e80521abf191b6e91a04b78447845a6b57d9cfc970417d SHA512 d1429e73569e47f932ad1cb9e85f7d0fff3e31d384025fce0b4adc4f37f7de624bd2e7258cd9affd291ba6770a58997b238e2837479d162a9e329326540063c8 WHIRLPOOL de4ef8f9cff2c884b63a321929d416ba31ef5c94e2dff4257fc41c9be91bff95bdf1b1ca95572970edecdbfe56a50053212c2461953595d311ef64d881065a72
|
||||
MISC ChangeLog 2560 SHA256 04eda61f241c162d03859e38bc8815f72f8ef12f62e15f5d688074948b337f05 SHA512 c6e2ad1150421b6dfe44200e9920304e7531c0bcf2ae48d4db0f6432f6be716771cfd4375a52c90015dd4070b82887424f71c93b725241a9de8db0f3a4ba0cfc WHIRLPOOL 29e0e105acb674ad79912b4c5f737d08e704348c2e3ae169b66dad4d47db5c367139655c90abf5e329ff38500d5d09c4994402da9e064d55d85eed5a0ef9dfdb
|
||||
MISC ChangeLog-2015 3181 SHA256 556555b8b3f9eeb9e89672e9b602bd12cd7fb13e844f7558b3ebb7c0e9d1959c SHA512 efccd026856a7bd9b93e0436f893e771b8bb272404ffd3cda853b3b93ca425487cf6023679d626eab769d28d68ed5bf80c77a12770ed210594031edab510df91 WHIRLPOOL 4b88e585f7b8be8d28ed0892ff4d521697edaf53b13ce8e4d297187c85326acecb03e37cf68b5d3ca0f7965d42d0c213732b20f0085d04daaa04c9b57ed20030
|
||||
MISC metadata.xml 575 SHA256 43d494a91bc668699a2f6fa128e1fd2971668d92f2e136765c359891589776a4 SHA512 57adba15d5ac7ae8f49445e81c7aefd99a840721b8636505908493e3e76ed12c24eb5ae87970de701395415c096ca360ad81fe27139fb4db79cfc3da1b7784fa WHIRLPOOL da0fa028a2e557e1a440ff090f2f7610dcd470887c414b3289469de23b5ec6ee3d1dd47920872ef05362dcaca889be5a9c4043515f462860401c05fc1e1b1d48
|
||||
|
@ -1,6 +1,7 @@
|
||||
AUX 50ledger-gentoo-3.1.1.el 166 SHA256 e16c4eaa7a034e44c7cc53d5288d6506ad791765510d534adf964a38c96dff0e SHA512 d5e2450d19d5d24e2db22429fa2ee8d46ae7284c91b1f2ed6eb32a0e6b70e1996f4b2f41812084b0330011d33fbcb2da11bf2d5b9f28a157f4c05d1106c418d5 WHIRLPOOL 3eb8764fd439bdba197c879d7e6e127485249afeb83f5c65855f56a51202842b12d0f051020447ccf7862eb47ea1d6df769c2fe7ad8bf8616f391fbf978ddde4
|
||||
AUX ledger-3.1.1-boost.patch 774 SHA256 3fe6750973d1ac10c822735759b35f362a68afb3dfa9887aaa7d83839a9e99eb SHA512 7f7eaa69ef377df1e9e449981c446ea52ef1d2311a9d96e325bf067af702f0361b05d70d6d52bdeefc7c9471cb68eceaa6fae313976e9b9676110b4e97198ba8 WHIRLPOOL 2f29624ef089cc31477ce8f000706906d90a8c24d28202f88151e52442f5176a1c49e1e7c4ec1008a5c29daf66bba54d42ee9c7827d10e313196a84cfd6ccc69
|
||||
DIST ledger-3.1.1.tar.gz 842364 SHA256 90f06561ab692b192d46d67bc106158da9c6c6813cc3848b503243a9dfd8548a SHA512 3f81b98a414cdfc0e272de4e958770149fb1acc8bda880d270e1459ce35294a220c52820bb9af49a751ac3a80b878f81fc7799ba41e0a1be43eba72081351bf5 WHIRLPOOL 89a83818adbe206167dbfc999dd589f1943d199cf84979fa82754f597a863c115fec85bbdabc4413714b4253502833170e6327bfc0d2321c392b9a3d73400061
|
||||
EBUILD ledger-3.1.1.ebuild 3145 SHA256 8dbfa834dedaf4dd47ee30aa2558e6c7f53530d835e20d4835ab09ae1cca589f SHA512 ac3f3f0ac50fd428dc00adc379a03a0454d9db9290d86af6c27695b585b12fbfe59f7a755bf485c4f14185275ca37012e7658b3e26f1126c210c9d02d94fa441 WHIRLPOOL 0036e33dfcbda823948c10e8bc52ef8a73333536a7845c9775f6565266bbcfca16b8da6a43701446b977f6cc15ec318240c9d86d96097d457e0987039c121c5d
|
||||
EBUILD ledger-3.1.1.ebuild 3202 SHA256 c5ba8445587edbde8b2672ffab0c38eb944c4ac5a144552241bc1b9b6236d464 SHA512 86954ff4ffac4f5105e13f4a362e8a5f46dccedf236e0a465dce878996308e12a7302931c87bf08f7bbedfdd5b577fe486c363c5dd80ee28afebc6f7b8e78082 WHIRLPOOL 2fe01fb8924d79931e20333d857a4699df6bd7b6341d0629cd8135a19c67df0f4a643d5aee1d23bff93c242146abf0411ac7886882a1430debbf464fbdb9258c
|
||||
MISC ChangeLog 3839 SHA256 bc9a08e3e77d41a35d6ef3105976de882b36d931433af67f63f39119e1492e53 SHA512 e3803d9055adf59ad8014014209416d79437aa705057eb7b8fdade921dbe47d62153a744c6e7f9c1d7f26228ed29f798a45fb19cabe469f98660dea5c9c50991 WHIRLPOOL 94dbb592ca0d98bc172229bafdad430c2e6d5869908919e7acc8830f93019f0c51cb9e4da73a2ee8eb8d3940b54325b01bf1f7a31134dbeb8dd84f010ab8b603
|
||||
MISC ChangeLog-2015 5605 SHA256 f7f8807d67c60170c3c6dab4b9b2731fbe325c1f1fa6fb2152598852f303c3a9 SHA512 2f174a32b13ee74e74c92add0fb5575af76513aad6d76d5c1f2ef3ca242fa21f91caf068876e7df33ea730386966d0e6faab907d00eae5e716e2d4352eb61747 WHIRLPOOL 1861fe794e918e7c536ca2d50262acbddeb2c613d155cd706dbbbd4b9d5e46b03ba49dc871c98f62930fb6992ff49cb89ba7e3bed060fbb5126f7ffda4ded661
|
||||
MISC metadata.xml 306 SHA256 ca968234f5aa5aa39ded94b12d271aa7190b5445ad2a2b28c030a63f2d6b3adb SHA512 c83b1be9474bbfa3296040c56bf14e22afd214835a44907bcb4db2a8047f05e1fe49b1d1ebe5bcd72fe5ed2f27c832d20169aa813f0d9bd619fc1f7a1c5e15cb WHIRLPOOL 9247dec90625b7ba70fdc239496ff4ed2fab88dc4d31fadcf280824c28ee0557076e70141dde4f1f552d35ab285890e2a9096d5b48f38ee82c4086c15c07b5b9
|
||||
|
@ -0,0 +1,22 @@
|
||||
From 1856b8c4902498843f4da37a7aaeb2ce85acc1d3 Mon Sep 17 00:00:00 2001
|
||||
From: Denis <dkasak@users.noreply.github.com>
|
||||
Date: Mon, 12 Sep 2016 12:49:40 +0200
|
||||
Subject: [PATCH] Fix compilation error with boost 1.61
|
||||
|
||||
---
|
||||
src/item.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/item.h b/src/item.h
|
||||
index ca16d87b3..4dc6df7e6 100644
|
||||
--- a/src/item.h
|
||||
+++ b/src/item.h
|
||||
@@ -92,7 +92,7 @@ class item_t : public supports_flags<uint_least16_t>, public scope_t
|
||||
|
||||
typedef std::pair<optional<value_t>, bool> tag_data_t;
|
||||
typedef std::map<string, tag_data_t,
|
||||
- function<bool(string, string)> > string_map;
|
||||
+ std::function<bool(string, string)> > string_map;
|
||||
|
||||
state_t _state;
|
||||
optional<date_t> _date;
|
@ -1,73 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
|
||||
PYTHON_REQ_USE='bzip2(+)'
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Repoman is a Quality Assurance tool for Gentoo ebuilds"
|
||||
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage"
|
||||
SRC_URI="https://dev.gentoo.org/~dolsen/releases/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
!<sys-apps/portage-2.3.0_rc
|
||||
>=dev-python/lxml-3.6.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-2.3.0-bug-586864.patch )
|
||||
|
||||
python_prepare_all() {
|
||||
distutils-r1_python_prepare_all
|
||||
|
||||
if [[ -n "${EPREFIX}" ]] ; then
|
||||
einfo "Prefixing shebangs ..."
|
||||
|
||||
local file
|
||||
while read -r -d $'\0' file; do
|
||||
local shebang=$(head -n1 "${file}")
|
||||
|
||||
if [[ ${shebang} == "#!"* && ! ${shebang} == "#!${EPREFIX}/"* ]] ; then
|
||||
sed -i -e "1s:.*:#!${EPREFIX}${shebang:2}:" "${file}" || \
|
||||
die "sed failed"
|
||||
fi
|
||||
done < <(find . -type f -print0)
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_install() {
|
||||
# Install sbin scripts to bindir for python-exec linking
|
||||
# they will be relocated in pkg_preinst()
|
||||
distutils-r1_python_install \
|
||||
--system-prefix="${EPREFIX}/usr" \
|
||||
--bindir="$(python_get_scriptdir)" \
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
--htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \
|
||||
--sbindir="$(python_get_scriptdir)" \
|
||||
--sysconfdir="${EPREFIX}/etc" \
|
||||
"${@}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo ""
|
||||
einfo "This release of repoman is from the new portage/repoman split"
|
||||
einfo "release code base."
|
||||
einfo "This new repoman code base is still being developed. So its API's"
|
||||
einfo "are not to be considered stable and are subject to change."
|
||||
einfo "The code released has been tested and considered ready for use."
|
||||
einfo "This however does not guarantee it to be completely bug free."
|
||||
einfo "Please report any bugs you may encounter."
|
||||
einfo ""
|
||||
}
|
@ -1,92 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=(
|
||||
pypy
|
||||
python3_3 python3_4 python3_5
|
||||
python2_7
|
||||
)
|
||||
PYTHON_REQ_USE='bzip2(+)'
|
||||
|
||||
inherit distutils-r1 multilib
|
||||
|
||||
DESCRIPTION="Repoman is a Quality Assurance tool for Gentoo ebuilds"
|
||||
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-lang/python-exec:2"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/python-exec:2
|
||||
!<sys-apps/portage-2.3.0_rc
|
||||
>=dev-python/lxml-3.6.0
|
||||
"
|
||||
|
||||
SRC_ARCHIVES="https://dev.gentoo.org/~dolsen/releases/repoman"
|
||||
|
||||
prefix_src_archives() {
|
||||
local x y
|
||||
for x in ${@}; do
|
||||
for y in ${SRC_ARCHIVES}; do
|
||||
echo ${y}/${x}
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
TARBALL_PV=${PV}
|
||||
SRC_URI="mirror://gentoo/${PN}-${TARBALL_PV}.tar.bz2
|
||||
$(prefix_src_archives ${PN}-${TARBALL_PV}.tar.bz2)"
|
||||
|
||||
python_prepare_all() {
|
||||
distutils-r1_python_prepare_all
|
||||
|
||||
if [[ -n ${EPREFIX} ]] ; then
|
||||
einfo "Prefixing shebangs ..."
|
||||
while read -r -d $'\0' ; do
|
||||
local shebang=$(head -n1 "$REPLY")
|
||||
if [[ ${shebang} == "#!"* && ! ${shebang} == "#!${EPREFIX}/"* ]] ; then
|
||||
sed -i -e "1s:.*:#!${EPREFIX}${shebang:2}:" "$REPLY" || \
|
||||
die "sed failed"
|
||||
fi
|
||||
done < <(find . -type f -print0)
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_install() {
|
||||
# Install sbin scripts to bindir for python-exec linking
|
||||
# they will be relocated in pkg_preinst()
|
||||
distutils-r1_python_install \
|
||||
--system-prefix="${EPREFIX}/usr" \
|
||||
--bindir="$(python_get_scriptdir)" \
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
--htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \
|
||||
--sbindir="$(python_get_scriptdir)" \
|
||||
--sysconfdir="${EPREFIX}/etc" \
|
||||
"${@}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo ""
|
||||
einfo "This release of repoman is from the new portage/repoman split"
|
||||
einfo "release code base."
|
||||
einfo "This new repoman code base is still being developed. So its API's"
|
||||
einfo "are not to be considered stable and are subject to change."
|
||||
einfo "The code released has been tested and considered ready for use."
|
||||
einfo "This however does not guarantee it to be completely bug free."
|
||||
einfo "Please report any bugs you may encounter."
|
||||
einfo ""
|
||||
}
|
@ -1,78 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
|
||||
PYTHON_REQ_USE='bzip2(+)'
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/portage.git"
|
||||
S="${WORKDIR}/${P}/repoman"
|
||||
else
|
||||
SRC_URI="https://dev.gentoo.org/~dolsen/releases/${PN}/${P}.tar.bz2"
|
||||
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Repoman is a Quality Assurance tool for Gentoo ebuilds"
|
||||
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=sys-apps/portage-2.3.0_rc[${PYTHON_USEDEP}]
|
||||
>=dev-python/lxml-3.6.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
python_prepare_all() {
|
||||
distutils-r1_python_prepare_all
|
||||
|
||||
if [[ -n "${EPREFIX}" ]] ; then
|
||||
einfo "Prefixing shebangs ..."
|
||||
|
||||
local file
|
||||
while read -r -d $'\0' file; do
|
||||
local shebang=$(head -n1 "${file}")
|
||||
|
||||
if [[ ${shebang} == "#!"* && ! ${shebang} == "#!${EPREFIX}/"* ]] ; then
|
||||
sed -i -e "1s:.*:#!${EPREFIX}${shebang:2}:" "${file}" || \
|
||||
die "sed failed"
|
||||
fi
|
||||
done < <(find . -type f -print0)
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_install() {
|
||||
# Install sbin scripts to bindir for python-exec linking
|
||||
# they will be relocated in pkg_preinst()
|
||||
distutils-r1_python_install \
|
||||
--system-prefix="${EPREFIX}/usr" \
|
||||
--bindir="$(python_get_scriptdir)" \
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
--htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \
|
||||
--sbindir="$(python_get_scriptdir)" \
|
||||
--sysconfdir="${EPREFIX}/etc" \
|
||||
"${@}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo ""
|
||||
einfo "This release of repoman is from the new portage/repoman split"
|
||||
einfo "release code base."
|
||||
einfo "This new repoman code base is still being developed. So its API's"
|
||||
einfo "are not to be considered stable and are subject to change."
|
||||
einfo "The code released has been tested and considered ready for use."
|
||||
einfo "This however does not guarantee it to be completely bug free."
|
||||
einfo "Please report any bugs you may encounter."
|
||||
einfo ""
|
||||
}
|
@ -1,78 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
|
||||
PYTHON_REQ_USE='bzip2(+)'
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/portage.git"
|
||||
S="${WORKDIR}/${P}/repoman"
|
||||
else
|
||||
SRC_URI="https://dev.gentoo.org/~dolsen/releases/${PN}/${P}.tar.bz2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Repoman is a Quality Assurance tool for Gentoo ebuilds"
|
||||
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=sys-apps/portage-2.3.0_rc[${PYTHON_USEDEP}]
|
||||
>=dev-python/lxml-3.6.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
python_prepare_all() {
|
||||
distutils-r1_python_prepare_all
|
||||
|
||||
if [[ -n "${EPREFIX}" ]] ; then
|
||||
einfo "Prefixing shebangs ..."
|
||||
|
||||
local file
|
||||
while read -r -d $'\0' file; do
|
||||
local shebang=$(head -n1 "${file}")
|
||||
|
||||
if [[ ${shebang} == "#!"* && ! ${shebang} == "#!${EPREFIX}/"* ]] ; then
|
||||
sed -i -e "1s:.*:#!${EPREFIX}${shebang:2}:" "${file}" || \
|
||||
die "sed failed"
|
||||
fi
|
||||
done < <(find . -type f -print0)
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_install() {
|
||||
# Install sbin scripts to bindir for python-exec linking
|
||||
# they will be relocated in pkg_preinst()
|
||||
distutils-r1_python_install \
|
||||
--system-prefix="${EPREFIX}/usr" \
|
||||
--bindir="$(python_get_scriptdir)" \
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
--htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \
|
||||
--sbindir="$(python_get_scriptdir)" \
|
||||
--sysconfdir="${EPREFIX}/etc" \
|
||||
"${@}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo ""
|
||||
einfo "This release of repoman is from the new portage/repoman split"
|
||||
einfo "release code base."
|
||||
einfo "This new repoman code base is still being developed. So its API's"
|
||||
einfo "are not to be considered stable and are subject to change."
|
||||
einfo "The code released has been tested and considered ready for use."
|
||||
einfo "This however does not guarantee it to be completely bug free."
|
||||
einfo "Please report any bugs you may encounter."
|
||||
einfo ""
|
||||
}
|
@ -1,6 +1,8 @@
|
||||
AUX kbibtex-0.6.2-webkit.patch 2775 SHA256 c3211929b130b5281553fc40f4829bcc07f111bcf22404ef54f540f2c8640393 SHA512 742407fff818b164a3bd730d60f52dc92f32c4cea97ca9b28465e833b442fde6edaaf1e7dd34851cd569a627548b20e905b8e6ffc744cb1c8dbf81fd3337813b WHIRLPOOL 130d427af24fefd6a7b668be6cfc75e229a9b95dedd5fc3537295ca21299fe04a1457ff134395c6e9edc87a65ff2b85e0c4ff0f95125583d879221ed92aff90d
|
||||
DIST kbibtex-0.6.2.tar.xz 3081364 SHA256 d99e419aec1d3af0a57eba6d7498de4e6be25ddbd5a5e56fc9de09e7e17dcdf3 SHA512 aa23e80cb273c0ae721ecc917f540070deea520fea2d7ca7ee97fde2c6918dba84769ad083fed93b9d0260539273c20c214b92c94269b413f46cb644d16dc270 WHIRLPOOL 4ab308a8a44df4f3e3a485a67b265ecaf28d2c4a9e4e126d5ab4b95eac12ecacdd3b49bd03f67167a358d86b8359d758e3c4cbc72bd5eed8c10873d181f7e32e
|
||||
DIST kbibtex-0.8_pre20171028.tar.gz 11423361 SHA256 e7fd595ab0c9cedcb794ebd8a1050d03855a0d315ced59a649c3d9c01aa23239 SHA512 28c8eefa3e8b3e59bc7069929ea6dbf3070e755ec3b2cd0fa96d7de37337a3f6ede20c52f73406fca05b99e1ee04f07bee91b5ca2f88381c98c5ee7424de193e WHIRLPOOL 2a6fae7dc53096e615dca3751d320d51036818ffb84c1952c732021fc918715cc0643165b7fa8b3f6b8816c0488b12c3416d1b309f55e8443cf6079aead3b848
|
||||
EBUILD kbibtex-0.6.2.ebuild 668 SHA256 69407f68275278898d406fd41f2ff3bad4a8c7087a5bdddade64389033d540ae SHA512 8f7cad285dabeb9816ed881f0a55a9f155516730891896e1b87bfb39be97f420e411d6a282a21593b69579e3599bca4523133c64e7d1ab108cd699e2754909b8 WHIRLPOOL aea1c65830d4c00b995466d04ac604e0b198c084fea3bb510c0805ae1bc19b27e967b4786272276e0293b4682baf437f4289358836c8be6cbad90bc2de7bfef8
|
||||
EBUILD kbibtex-0.8_pre20171028.ebuild 1978 SHA256 c422d14eb3e94d182d65252440cbe3020d7300899a50c65bd14e8a90761e8b76 SHA512 6e154de261b53b6edfcff4dd5e1693e1d3d66244f6ec3e308b5ba86e7d50309550ed619ee0a8fc6b195883b36a0401cc294cca2e4d002d037dbfb6cc1cbdccf7 WHIRLPOOL 2f652341986793a51427e5471c1827f3c82151ff605c6a0e6087a89a98e62e7d228d0cd40bcfab2120a26a6b4656b17d598f36b0835c6e36f94335cc475c6938
|
||||
MISC ChangeLog 3633 SHA256 37cb6f156decc4f678a63c3b0ea04ee987747ef8b69d30f982cb86d3d2a250a6 SHA512 56f600aa975da762f5bb93c1b9260c8890c44076e92b9475bb9b8a78339f998bc626e6d643e7062d7b2a20d3f515a0e6809b60719bbffed2c1df7ec713a4378a WHIRLPOOL bb060dae179908100af322e1d5e8eee98bc2cd0155fbfb0cb1f51ab873e6965d238c1a9808be6f7fbeb5e3428139ddf119f583cf9b1b3fcf4889fa5da56aec70
|
||||
MISC ChangeLog-2015 3808 SHA256 ce37bac1a969142355638aefc0a4945b20e35c4b2308127584c8fa39a7687978 SHA512 f8f980715fc99e02d43a1a5b72fd6eb59d1fcba8d8e4d9263d58f69ee7a5bc12dbb0e0b3a25b5e88c67af27d293532dceeb251099a365a20c0915df1c37bbe33 WHIRLPOOL 8fb56fb596aef41b314fb7070b5f3619b2e9e7bed51ab9b55beceed1832bb6f540d7970b29dd9436406e0d7429d1c7e09f1acfc39b3dcb22934cd7363c746d69
|
||||
MISC metadata.xml 249 SHA256 584f1dcf51866dc24a9abf7a89bfba0fad11dde81ae1c1b715da41770d233c99 SHA512 76a5a340b13f0053ca3c5e94ed24380ea8d29b45ac8655419e22eaadb1e4a827c04d2e7e36b65145c4964e6526f656618fc6ac144e277ef53cb7373e6239e3c3 WHIRLPOOL 200c07a8bf7c55b11b7936d5cd30e991a511684913334e72f59def66c0ced5fed0b4a8754e2d98bffbab631cb90d4e17fcccc59d5dcc5a8e988f69e47c85518c
|
||||
MISC metadata.xml 518 SHA256 02201822617c520f8cc1dcebe50495ca2bc0e2210329f259f4a53c84999afc5f SHA512 be7be6b52a067ed23384344706adaa13cd06667e768a9b5adc2d93b2edeb5feec426dc83395a226219a469bb5fbe99d378b5e1c87ea82e17a05c9751f03e12bb WHIRLPOOL f729d6e78977b3b2b2bbe19086e4461c0f4ea9463b85b49f179f6b4bc1bd72c1ab4cd5f3a0dd8769bf086f62eab1e10b5027f672b5faedf77281b49582cc1e9e
|
||||
|
@ -0,0 +1,78 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
COMMIT=49764d8677e46cddee0b20e60749983b7924c79d
|
||||
KDE_HANDBOOK="optional"
|
||||
KDE_TEST="true"
|
||||
inherit kde5 vcs-snapshot
|
||||
|
||||
DESCRIPTION="BibTeX editor to edit bibliographies used with LaTeX"
|
||||
HOMEPAGE="https://userbase.kde.org/KBibTeX"
|
||||
if [[ ${KDE_BUILD_TYPE} != live ]]; then
|
||||
SRC_URI="https://github.com/KDE/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
IUSE="webengine webkit zotero"
|
||||
|
||||
REQUIRED_USE="?? ( webengine webkit )"
|
||||
|
||||
DEPEND="
|
||||
$(add_frameworks_dep kcompletion)
|
||||
$(add_frameworks_dep kconfig)
|
||||
$(add_frameworks_dep kconfigwidgets)
|
||||
$(add_frameworks_dep kcoreaddons)
|
||||
$(add_frameworks_dep kcrash)
|
||||
$(add_frameworks_dep ki18n)
|
||||
$(add_frameworks_dep kiconthemes)
|
||||
$(add_frameworks_dep kio)
|
||||
$(add_frameworks_dep kitemviews)
|
||||
$(add_frameworks_dep kjobwidgets)
|
||||
$(add_frameworks_dep kparts)
|
||||
$(add_frameworks_dep kservice)
|
||||
$(add_frameworks_dep ktextwidgets)
|
||||
$(add_frameworks_dep kwallet)
|
||||
$(add_frameworks_dep kwidgetsaddons)
|
||||
$(add_frameworks_dep kxmlgui)
|
||||
$(add_qt_dep qtdbus)
|
||||
$(add_qt_dep qtgui)
|
||||
$(add_qt_dep qtnetwork)
|
||||
$(add_qt_dep qtwidgets)
|
||||
$(add_qt_dep qtxml)
|
||||
$(add_qt_dep qtxmlpatterns)
|
||||
app-text/poppler[qt5]
|
||||
dev-libs/icu:=
|
||||
virtual/tex-base
|
||||
webengine? ( $(add_qt_dep qtwebengine 'widgets') )
|
||||
webkit? ( $(add_qt_dep qtwebkit) )
|
||||
zotero? (
|
||||
app-crypt/qca[qt5]
|
||||
dev-libs/qoauth:5
|
||||
)
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
!app-text/kbibtex:4
|
||||
dev-tex/bibtex2html
|
||||
x11-misc/shared-mime-info
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake-utils_use_find_package webengine Qt5WebEngineWidgets)
|
||||
$(cmake-utils_use_find_package webkit Qt5WebKitWidgets)
|
||||
$(cmake-utils_use_find_package zotero Qca-qt5)
|
||||
)
|
||||
|
||||
kde5_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
kde5_pkg_postinst
|
||||
|
||||
if ! has_version "kde-apps/okular:${SLOT}" ; then
|
||||
elog "For PDF or PostScript document preview support, please install kde-apps/okular:${SLOT}"
|
||||
fi
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
DIST master-pdf-editor-4.3.61_qt5.amd64.tar.gz 14950654 SHA256 d54ea747dc17bc5fb3020495688be529d4c8c7314b7703d171d71bc82cead5bc SHA512 0c416df191a2796fdafa6014c258166d47037039fcc9205398138a46d59b1f771d9ffe38eb16f22f4300c3e965435300037d7413a86efb997395e6e974baecb5 WHIRLPOOL 5a40bf8589abcfb9681a920cca686f160f482d330c1086a3af6bf8ce11678ff3cc362ebdb60b8e0c4bb36852d378e70ae0aa017c859689580300408def39b706
|
||||
EBUILD master-pdf-editor-4.3.61.ebuild 1629 SHA256 b91613a4767e176f57e43e0ae5e7abf9621b57fafbbb150219d66beae2d6265f SHA512 8c5ac33caf8c69d9a606da47152c84aae104d4b566653003c5e437e5f018a09201a65ffd954f779404bd51cbdce43591e73a6a56867ff1eb3cd1ce6546aa2a9a WHIRLPOOL 5cc9ccf367d6a5f48b10b7745a690ddf4892103470bf710d27478890195ae2b2f9feebc98f73e6e840cf138998c4b1b9d7ea2e249f6ccf36a08395556e706c1f
|
||||
MISC metadata.xml 367 SHA256 925278b2cadffc19f6deafd8f637158b911860f1c318b58a940eb8960fd28e5e SHA512 d54bf635e54008ebabde5039e2527297b8f80204138c90c7744d928041445ca667232a92e6b7ca357f844f2c8ada6b80f13b7de4ae4768e30ec676b55ae73156 WHIRLPOOL 22c401ff9d910104e0ac66cf5d90fd49ac3cef030bfe222b13cace3e3bd604ecf75cd3d92c3bf3d26056c5755608c1ce69c4f2d0334028066c01f359222bdc2c
|
@ -0,0 +1,72 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit xdg-utils eutils versionator
|
||||
|
||||
DESCRIPTION="Master PDF Editor is a complete solution for viewing and editing PDF files"
|
||||
HOMEPAGE="https://code-industry.net/free-pdf-editor/"
|
||||
|
||||
SRC_URI="http://get.code-industry.net/public/${P}_qt5.amd64.tar.gz"
|
||||
|
||||
LICENSE="master-pdf-editor"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
RESTRICT="mirror"
|
||||
|
||||
COMMON_DEPEND="
|
||||
app-arch/bzip2
|
||||
dev-libs/double-conversion
|
||||
dev-libs/glib
|
||||
dev-libs/icu
|
||||
dev-libs/openssl
|
||||
media-gfx/graphite2
|
||||
media-gfx/sane-backends
|
||||
media-libs/freetype
|
||||
media-libs/harfbuzz
|
||||
media-libs/libjpeg-turbo
|
||||
media-libs/libpng
|
||||
media-libs/tiff
|
||||
x11-libs/libX11
|
||||
x11-libs/libXau
|
||||
x11-libs/libxcb
|
||||
x11-libs/libXdmcp
|
||||
x11-libs/libXext
|
||||
>=dev-qt/qtsvg-5.4:5
|
||||
>=dev-qt/qtnetwork-5.4:5
|
||||
>=dev-qt/qtgui-5.4:5
|
||||
>=dev-qt/qtprintsupport-5.4:5
|
||||
"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN}-$(get_major_version ${PV})"
|
||||
|
||||
src_install() {
|
||||
local dest=/opt/${PN}
|
||||
local bin_name=masterpdfeditor4
|
||||
|
||||
insinto ${dest}
|
||||
doins -r fonts lang stamps templates ${bin_name}.png
|
||||
|
||||
exeinto ${dest}
|
||||
doexe ${bin_name}
|
||||
|
||||
dosym ${dest}/${bin_name} /opt/bin/${bin_name}
|
||||
make_desktop_entry ${bin_name} \
|
||||
"Master PDF Editor ${PV}" ${dest}/${bin_name}.png \
|
||||
"Office;Graphics;Viewer" \
|
||||
"MimeType=application/pdf;application/x-bzpdf;application/x-gzpdf;\nTerminal=false"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
sed -i -e \
|
||||
'/^Exec=/s/masterpdfeditor4/masterpdfeditor4 %f/' \
|
||||
/usr/share/applications/masterpdfeditor4-${PN}.desktop || die
|
||||
xdg_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>joaompssantos@gmail.com</email>
|
||||
<name>Joao Santos</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,8 +1,8 @@
|
||||
AUX xmlto-0.0.22-format_fo_passivetex_check.patch 2286 SHA256 64c1df49f92a44d4219c10b60e60bee34063fc6b99ae5f0ed1b14e11b27ea16d SHA512 c8eeb3dc909431dd2fb9f5286b6ee98a40dce80a29606a9884bdab50c039ac90097720b9b968dfac76546492844de0b72f2f6c937da14b47142ad81b897023f4 WHIRLPOOL ae83df73b7682f05b6e048aa7908331ef5b1ece0f2a40dfb968bfadd1991611fb998edd33dcef2984f0e5259e11a597a1620f9025a1f2d98554bd96da52b18be
|
||||
DIST xmlto-0.0.26.tar.bz2 119819 SHA256 efb49b2fb3bc27c1a1e24fe34abf19b6bf6cbb40844e6fd58034cdf21c54b5ec SHA512 85110f22a7b5a5c8de4115ae5d0391645a223191b17455a4f9539b02f56f7003fd4ba70e48f0e5e46cdb91220a9027802e725f88ca8659e3ce1576f8609ccd18 WHIRLPOOL f7ded4ceb65adcfc7c06bfdb8a3d22ca7195c098b5bcf26b3884111f536b72efbf5e642eeeee8be17d4a33db3accc139d78178dba2fe5a98037712048c2410e4
|
||||
DIST xmlto-0.0.28.tar.bz2 127921 SHA256 1130df3a7957eb9f6f0d29e4aa1c75732a7dfb6d639be013859b5c7ec5421276 SHA512 6e0c4968d4f1b7a3b132904182aa72a73f6167553eabdeb65cfafa6295ef7b960541685769d04144207963cca77b0c44db4f9fbb2796348ffcb37b3b399f18f1 WHIRLPOOL 4adbd66f85ed0ca90cb122dc08f9817d82e0b2bd417ae2ca8bb97e1fa3e301ab344d1ff9b9dec8571a6a519f1e0a80f0ce133d2618a211a64b0982c0b2b8c5f6
|
||||
EBUILD xmlto-0.0.26-r1.ebuild 1394 SHA256 27aee9ffd5aef12b1695d0849ba15d00442e15a070ba9f88233a8c17edf0aa89 SHA512 464125df8e6123886a7bb032544460e34d3fac328800f8a099fa3bbbfe162b2bfc2accc5dee39c65a11dc57e49523a7f8bea4a72a7b534487e92d9a7d24a5c56 WHIRLPOOL 74b0b2b21ed7003c410d3e7d809b5442816585771951dd94386bc94f2606c142a286f376e9e22b67d0a449ed5396b2bf982606bb74274f42b3882c73206f4437
|
||||
EBUILD xmlto-0.0.28-r1.ebuild 1406 SHA256 861137815545632fb61d697b9b641a19e4f6f40b0fd09adf78505d641ccff3e3 SHA512 e7c6e876c892f9596c19fd10f06b5d8d69f92ab55c9cf92624a1c87545c737bbc8f57ac8b952c02985c4a6385b42d97c0b904515120b0369cc0714f478eccc21 WHIRLPOOL c2334262be9de0538c0caaf02e6b3e7957e2412fc7c72e9a216924cf09cd2a453d3e1376e06842b20946016a7ac3e97ffd16bae21dfe3304cb7fa174ec14f3f1
|
||||
EBUILD xmlto-0.0.26-r1.ebuild 1360 SHA256 2343404586120c60b9f0221922a4121db50fec19878ea3a694ce857bcb87481e SHA512 2ef0a60cc7f8ea950070edcfef7b6582ac4b641d1a6e1e3f4206c20ad1b254f85f48c162b0a98e7633ee736157734984c7e4e03f978357b013262f8bd8e67ca0 WHIRLPOOL 6f3121e14f3d4bfcc7ddfed2cf77883ef5c0bef43a8c82de7d7b7b2aaaa35a85ce664b969a6296e1890084172aad7cb2dfca10c098e47ca6a274ee2d8aa16097
|
||||
EBUILD xmlto-0.0.28-r1.ebuild 1372 SHA256 5dbfca9d917a28fef4b88f7bc0d2d822a3c7b302f202b6bac7e0801e7be932f8 SHA512 a520e13daa04aedf7952859e30bdfd87c96a35e39363e1c379af6158d6f47704f0f11af766c8041340a4558dfd513b376fc48e1a41f9d446a52d9365abf5dec8 WHIRLPOOL 5eebbf6cd0db4534340e11f4d62912639d863e16f3ebe7fc20c7d034fb0b2ddd9ffea2bbcd0d761a31a52de6a38649a523c2167de6d40b3f6cb80c7fa992b4e7
|
||||
MISC ChangeLog 3521 SHA256 8b2e90c61add15760ba829b26949e4533f30ae5fbf1240331efa38bbf5a26463 SHA512 4b5aef60fcf5d0afcdafe36e99abe9e3eb5892279e3dca2302eb08307aae1192d301786fa1eb25bb84a7f6d38468fb671f6b8e859bf2beb397d57e4685d7868f WHIRLPOOL 3d31d93b06d6d0650c8175a12186060654635333b3362e1bfe31bcab5154c36eba256a9efcb990071eead8cab68bd6490875feb727a1d7d921c033dd4ab69048
|
||||
MISC ChangeLog-2015 12889 SHA256 664e2564cde09621649415b636efae8d8b846c5eaef9dea2eccc321b519721dc SHA512 962a84dc23501ed2699789e4383ff4085b9d14353f6375254bbdec8de766a34b106eeb1f859a4f7dc28209311443c12911b7362e5520bf9a5e42d9700bfcb96c WHIRLPOOL 30dcbad24d85623a3cce1607d6a4181ee34a8f3847a2c1b0589035ac9ce511d2802c6f167c904dbb4985c70563d934265a55f03867751b542d40a613993bfbcf
|
||||
MISC metadata.xml 247 SHA256 8afdfa1e3d4e32c0657326871389067326bcc1dc1ca57efd4165808c6c649ffc SHA512 f2b92e9bda8e4466d98436c15ee46b2a382afa4bfcf868678bb245abda936298ed41d03f3dcf5a61000ae1b1031a5578635e15293d63c531773d6a42d356af47 WHIRLPOOL 0e83d34a4f68934b022a4e0fcd3b60de44a8149fd6faf62176d15288eac700ca1b62de073912f7a2e61bfb2023e1ac1e8364642576135e0c631229fb3603e809
|
||||
|
@ -0,0 +1,3 @@
|
||||
DIST vim-go-1.13.zip 900566 SHA256 b4a6212becad775f90dedcb8045b04bf691f32c258c1fead68d5fbb7b775b463 SHA512 3a1818c126c6ab01cd6993336c9e87f88357375b5252e0aeed434dccd0514cbcb1b7c96dce2aaf8f8c2e21909a17bf4bbb39a386ee1f7049b50a85ed9c635817 WHIRLPOOL 0c92fe8f0f685401a9014124a0fb7341b7891dc5346b5af50124a5d2435614d11ed9d24922e0d5fe4cbfe0045ee0539769b3592ff5a0fdecf0f260a090e7b28d
|
||||
EBUILD vim-go-1.13.ebuild 581 SHA256 d38557282d9ca1fa81bdb185f139a5caa06b46e3b506cedab7dedd094edb79cf SHA512 39be06222c2466c2fee043542a471fd2e75b237c276c9126a63024fe2ac94f29f5ee0b08fe4afcfde4902aa6b3f5f74aacf89cdcda6449d67e5789c5fb3c8349 WHIRLPOOL eae35cde204f1e76339f1635fc45469dffa9f6782d2d7259dced69f6c51eb693842635a74bcd9b0b4891931ee08afb63b8f869094f1b77dff6db304aeb3f59e9
|
||||
MISC metadata.xml 326 SHA256 648cc60fed079e73be22699873a0923c49a9f06dcd29c5282f8af475f172f7cc SHA512 0075500c50b5ad7cf5610fbc4bb71e3ee3d655bc089916371ee0d66731387a2268df98ed6d7fcad6e70db28d6852b48c2e6742e131b7c5d50fc7a9656807fc60 WHIRLPOOL bd244d65f5f9eaa9dccc7a08f2fe382a8ac6e3b699af2dff0ef3361776abe70e054e67873ae4ff3f69b7d3c74b6c0475782ad6a8bb7b2d66e945e881c32070a8
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
DESCRIPTION="vim plugin: Go development plugin for Vim"
|
||||
HOMEPAGE="https://github.com/fatih/vim-go"
|
||||
SRC_URI="https://github.com/fatih/${PN}/archive/v${PV}.zip -> ${P}.zip"
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
VIM_PLUGIN_HELPFILES="$PN"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
src_compile() {
|
||||
# safely skip `make test` triggered by `make` as it runs `go get` commands
|
||||
# TODO: see :GoInstallBinaries (https://github.com/fatih/vim-go/blob/master/doc/vim-go.txt)
|
||||
:;
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue