parent
28a449ce28
commit
54a2231200
@ -1 +1,2 @@
|
||||
DIST lastpass-cli-0.3.0.tar.gz 48596 SHA256 7956fe945aae64bd57350c3ed89773dd1449b99e8e0369eefcea14382e4aea08 SHA512 9993de2a8d8d66440d318985d1f15ed44033beb9932193f3ef90c5fdc2b598d9b9099d8a0bf871877dbf08014f028fad5305d33cc30bc9b1a7367a582e17002b WHIRLPOOL e7337847500c3a251ed81151517c4f3d8e4a8bd7089195f22748a117aad9c12f36c22471ea84a81ca7e2c4838063dbd852b34a86cf9701749d75278bec7c40ef
|
||||
DIST lastpass-cli-0.5.0.tar.gz 59237 SHA256 09e7b1e5c1520db2a34a49e7ae07e5b3a7555a4ed2490ed7b56f047065bca812 SHA512 7c34ba4cbf43b299656881766e40302edce1db27fb5eb20bed82fbd141354c7682f49d7dd114af0b1eae512e21f7b334b5bd9b820bac53aa52ad7400a579d925 WHIRLPOOL 443898d70290658900140f4262218b1923eed09a67a0aca18fb1c530a12b466b8362a1f190aaa73586e5ddfb4e843fbce9262e26d4ce2d66e38eed6e59b5820c
|
||||
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/lastpass-cli/lastpass-cli-0.5.0.ebuild,v 1.1 2015/03/14 18:57:43 jdhore Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="Interfaces with LastPass.com from the command line."
|
||||
SRC_URI="https://github.com/lastpass/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
HOMEPAGE="https://github.com/lastpass/lastpass-cli"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="X +pinentry"
|
||||
|
||||
RDEPEND="
|
||||
X? ( || ( x11-misc/xclip x11-misc/xsel ) )
|
||||
dev-libs/openssl:0
|
||||
net-misc/curl
|
||||
dev-libs/libxml2
|
||||
pinentry? ( app-crypt/pinentry )
|
||||
"
|
||||
DEPEND="${RDEPEND} app-text/asciidoc"
|
||||
|
||||
src_prepare() {
|
||||
sed -i 's/install -s/install/' Makefile || die "Could not remove stripping"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake PREFIX="${EPREFIX}/usr"
|
||||
emake PREFIX="${EPREFIX}/usr" doc-man
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
|
||||
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install-doc
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST syslog-ng_3.4.7.tar.gz 3203894 SHA256 7b1114ff0bd9d2c52a8ce407f0f59102ea4123ff7efb3f84253961e0de6ac1b0 SHA512 66c1dafaa9441fd909b450e79ec3d1011bd423301602b0eea372e141ff267ddb60aa0280ef49b1f62d24b3f17fc1909a6ce8cc5bea0e3c6708df64815a534279 WHIRLPOOL b3b9aef566cc4577b4ec6ad96f696e29abd84d663205cadca766a50c933d29e3b195b6679cbb8e0edca96cc6995ab10fe409531eb15c90bfeb82a598ad7cf3fe
|
||||
DIST syslog-ng_3.4.8.tar.gz 3169372 SHA256 96c2f970fbba4fdd7659b1fee5e476d2858c911d4304d42099f495493762ff49 SHA512 23ba9908664e594c186cbe4bd5dcfb5d2ed3faf02ec45b931bb91b078660547989c2340a08b478a33adb530d39a6d6f39a2e7519107a3f6b923ac9f39529620e WHIRLPOOL 1085fa2c90e0c85421c64ed50e8a357f29006afea2f3e329e42d1e27f4210a10fe0f05d4af95a11c245d68b43644a4a829a50c05b7d541f59a6f580b3643b434
|
||||
DIST syslog-ng_3.6.2.tar.gz 3207456 SHA256 ef47fada52981e09af570457a5af30f815f5d5b6c2e33754cedd4ca9780d8261 SHA512 15603b4df2001e1ce7e0019d0dd9a0f4295445e3fd19a527ebf3d49486da7da27fac6c465727ec0354f8f70ca0f671a285ec132f9aa0de62b40f18b44af2a226 WHIRLPOOL 7135db242374d6e5789c0820a06187b7e325054fd214e3aee75aac5b8dde56786b432cc4519c07ce0cd413c3a560e8e74ee6eca319c21eaa750ca8140ef1b63f
|
||||
|
@ -1,38 +0,0 @@
|
||||
--- syslog-ng-3.4.1.orig/configure.in
|
||||
+++ syslog-ng-3.4.1/configure.in
|
||||
@@ -68,7 +68,7 @@
|
||||
pidfiledir='${localstatedir}'
|
||||
moduledir='${exec_prefix}/lib/syslog-ng'
|
||||
|
||||
-AM_CONFIG_HEADER(config.h)
|
||||
+AC_CONFIG_HEADERS(config.h)
|
||||
|
||||
dnl ***************************************************************************
|
||||
dnl Arguments
|
||||
@@ -227,7 +227,6 @@
|
||||
dnl ***************************************************************************
|
||||
dnl Checks for programs.
|
||||
AC_PROG_CC
|
||||
-AM_PROG_CC_STDC
|
||||
AC_PROG_CC_C99
|
||||
if test "x$ac_cv_prog_cc_c99" = "xno"; then
|
||||
AC_MSG_ERROR("C99 standard compliant C compiler required. Try GCC 3.x or later.")
|
||||
--- syslog-ng-3.4.1.orig/modules/afmongodb/libmongo-client/configure.ac
|
||||
+++ syslog-ng-3.4.1/modules/afmongodb/libmongo-client/configure.ac
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
|
||||
-AM_CONFIG_HEADER(config.h)
|
||||
+AC_CONFIG_HEADERS(config.h)
|
||||
|
||||
AC_ARG_WITH([versioned-symbols], AC_HELP_STRING([--with-versioned-symbols],[Use versioned symbols]),[dnl
|
||||
vsymldflags="-Wl,--version-script,\${srcdir}/libmongo-client.ver -Wl,-O1"
|
||||
@@ -24,7 +24,6 @@
|
||||
dnl ***************************************************************************
|
||||
dnl Checks for programs.
|
||||
AC_PROG_CC
|
||||
-AM_PROG_CC_STDC
|
||||
AC_PROG_MAKE_SET
|
||||
PKG_PROG_PKG_CONFIG
|
||||
LT_INIT([shared])
|
@ -1,10 +0,0 @@
|
||||
--- syslog-ng-3.4.1/lib/persist-state.c
|
||||
+++ syslog-ng-3.4-master/lib/persist-state.c
|
||||
@@ -26,6 +26,7 @@
|
||||
#include "serialize.h"
|
||||
#include "messages.h"
|
||||
#include "mainloop.h"
|
||||
+#include "misc.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
@ -1,117 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/syslog-ng-3.4.7.ebuild,v 1.13 2014/06/10 00:00:00 vapier Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils multilib systemd
|
||||
|
||||
MY_PV=${PV/_/}
|
||||
DESCRIPTION="syslog replacement with advanced filtering features"
|
||||
HOMEPAGE="http://www.balabit.com/network-security/syslog-ng"
|
||||
SRC_URI="http://www.balabit.com/downloads/files/syslog-ng/sources/${MY_PV}/source/syslog-ng_${MY_PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+ LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
|
||||
IUSE="caps dbi geoip ipv6 json mongodb +pcre smtp spoof-source ssl systemd tcpd"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
pcre? ( dev-libs/libpcre )
|
||||
spoof-source? ( net-libs/libnet:1.1 )
|
||||
ssl? ( dev-libs/openssl:= )
|
||||
smtp? ( net-libs/libesmtp )
|
||||
tcpd? ( >=sys-apps/tcp-wrappers-7.6 )
|
||||
>=dev-libs/eventlog-0.2.12
|
||||
>=dev-libs/glib-2.10.1:2
|
||||
json? ( >=dev-libs/json-c-0.9 )
|
||||
caps? ( sys-libs/libcap )
|
||||
geoip? ( >=dev-libs/geoip-1.5.0 )
|
||||
dbi? ( >=dev-db/libdbi-0.8.3 )
|
||||
systemd? ( sys-apps/systemd )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
sys-devel/flex"
|
||||
|
||||
S=${WORKDIR}/${PN}-${MY_PV}
|
||||
|
||||
src_prepare() {
|
||||
cp "${FILESDIR}"/*logrotate*.in "${TMPDIR}" || die
|
||||
cd "${TMPDIR}" || die
|
||||
|
||||
for f in *logrotate*.in ; do
|
||||
if use systemd ; then
|
||||
sed \
|
||||
's/@GENTOO_RESTART@/systemctl kill -s HUP syslog-ng/' \
|
||||
$f > ${f/.in/} || die
|
||||
else
|
||||
sed \
|
||||
's:@GENTOO_RESTART@:/etc/init.d/syslog-ng reload:' \
|
||||
$f > ${f/.in/} || die
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-docs \
|
||||
--with-ivykis=internal \
|
||||
--with-libmongo-client=internal \
|
||||
--sysconfdir=/etc/syslog-ng \
|
||||
--localstatedir=/var/lib/syslog-ng \
|
||||
--with-pidfile-dir=/var/run \
|
||||
--with-module-dir=/usr/$(get_libdir)/syslog-ng \
|
||||
$(systemd_with_unitdir) \
|
||||
$(use_enable systemd) \
|
||||
$(use_enable caps linux-caps) \
|
||||
$(use_enable geoip) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable json) \
|
||||
$(use_enable mongodb) \
|
||||
$(use_enable pcre) \
|
||||
$(use_enable smtp) \
|
||||
$(use_enable spoof-source) \
|
||||
$(use_enable dbi sql) \
|
||||
$(use_enable ssl) \
|
||||
$(use_enable tcpd tcp-wrapper)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# -j1 for bug #484470
|
||||
emake -j1 DESTDIR="${D}" install
|
||||
|
||||
dodoc AUTHORS NEWS contrib/syslog-ng.conf* contrib/syslog2ng \
|
||||
"${FILESDIR}/${PV%.*}/syslog-ng.conf.gentoo.hardened" \
|
||||
"${TMPDIR}/syslog-ng.logrotate.hardened" \
|
||||
"${FILESDIR}/README.hardened"
|
||||
|
||||
# Install default configuration
|
||||
insinto /etc/syslog-ng
|
||||
if use userland_BSD ; then
|
||||
newins "${FILESDIR}/${PV%.*}/syslog-ng.conf.gentoo.fbsd" syslog-ng.conf
|
||||
else
|
||||
newins "${FILESDIR}/${PV%.*}/syslog-ng.conf.gentoo" syslog-ng.conf
|
||||
fi
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${TMPDIR}/syslog-ng.logrotate" syslog-ng
|
||||
|
||||
newinitd "${FILESDIR}/${PV%.*}/syslog-ng.rc6" syslog-ng
|
||||
newconfd "${FILESDIR}/${PV%.*}/syslog-ng.confd" syslog-ng
|
||||
keepdir /etc/syslog-ng/patterndb.d /var/lib/syslog-ng
|
||||
prune_libtool_files --modules
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "For detailed documentation please see the upstream website:"
|
||||
elog "http://www.balabit.com/sites/default/files/documents/syslog-ng-ose-3.4-guides/en/syslog-ng-ose-v3.4-guide-admin/html/index.html"
|
||||
|
||||
# bug #355257
|
||||
if ! has_version app-admin/logrotate ; then
|
||||
echo
|
||||
elog "It is highly recommended that app-admin/logrotate be emerged to"
|
||||
elog "manage the log files. ${PN} installs a file in /etc/logrotate.d"
|
||||
elog "for logrotate to use."
|
||||
echo
|
||||
fi
|
||||
}
|
@ -1,9 +1,12 @@
|
||||
DIST rarlinux-4.2.0.tar.gz 938809 SHA256 6826646bc9620055689f465e61f7d4a86e6ccc66940178d24f48d01734968eb5 SHA512 6cf2df60719e06eacedfecb7c30ba941803a537949a04d2a53b261f6975c322391195605873f7ba5307bfd4072d77ded436eb923da7bbaf12f1a3c675ad0e827 WHIRLPOOL 07dcacf990f8e4d2b419a2ff7816154066270aa87ad2e721af37228a0a0f607113f329cca31d56061372b86e171687a5a121f05f19824875889f601026021a50
|
||||
DIST rarlinux-5.0.0.tar.gz 1098525 SHA256 4f942d79bb16dc1981ccb52893e4a24dbee908089d783d766ac45cd4f2c78610 SHA512 46ef3d9703a71555e1166467d9658b7d0d210a21cce72957510bbb22870a3a10fc55a6298774c7dfd2ee0d1a2b02dd38fe2e4bcc248d025a7cb276d4d77a6629 WHIRLPOOL af2008d3bca69afc064ff9f5c9201ba99601c2f14173aeb949331cec22e2c9a25b451a7b6375f3c61b848adf003ac6d3788d5b9905bdac64217153d331205761
|
||||
DIST rarlinux-5.1.0.tar.gz 1103841 SHA256 586ba2671ace61f2d56fe85e54710b6a588cd9f87f95030b81d9b2aff2292636 SHA512 affe60f9865ad172bb8053af50e977afbb70a43e0cfeefb4e9d6924f2d9718670662a24770e46cf990715d9841ae3387d2c30522075f5cde97a05a2b0da23f22 WHIRLPOOL 9e957ff470130e40d05c2c80064ea39fa5c2fbb3c3ce85381bf9d3c8bac7487e10ab773c2752c8b7cb38906c8792c4b23bb96cd2fe22fdb7f2f764a274d5d2be
|
||||
DIST rarlinux-5.2.1.tar.gz 1109839 SHA256 dafe2deb46d0a9cc99b5f4e7204913051d4a2010e08311a0d3565050bd74026f SHA512 bb7ad791f5a34b8d48008a75f9d8008237f36261be6e722d8fdf97a19e70e444c42232544ac63514c354e1d173260dcb635024f72c77afff172f326a137ef21c WHIRLPOOL 6ee7d38bac0c158f0ab6b534544dd7fcd3bf3459219790d2f05ae60df86e7502ca8211580035d62279e99bd427577c4a79bd2eca6e1b99dc2dfde679a07537ec
|
||||
DIST rarlinux-x64-4.2.0.tar.gz 979938 SHA256 db4a35d1092eade42fd4233e200c8a24b942c7d67a4b7d0f92914781924b3985 SHA512 48da42222d4e8cc6eb23d21b7f3df1f699dd9624d525cafa81760ca1ed86d7a8c1a70a18a4f89ffd6b4ac65c8aa81c77895692f2c79f8f439dd179ba8d1433be WHIRLPOOL a8c949dffccd8e8774f575b2ac1aaae098e6f253e5c3a355586d2194a753b8f746096e6b3e3a4232001b68c29f39d939ed3c7c4ee89335a850813f32f41cdf56
|
||||
DIST rarlinux-x64-5.0.0.tar.gz 1134245 SHA256 aceefdab919a03dfab9892dbd7d25cbc0681f76608de2c73e400887fd625f30c SHA512 0b479703ea5c999274b246ef0d5ff5481bafb814f3342a13993586e252e3979b7e903818dbede7a72f9211150cca62a303d3f98c2e9830c5a4020a3d0635ad74 WHIRLPOOL 8195d69ab7811ea46f73ad11ce49fb183767f0160981891ef65f4183e933a11e90c52929db8f40af6d3fe8da6c6092a7f3985a5c944e3e38ca03c9b8054c78d7
|
||||
DIST rarlinux-x64-5.1.0.tar.gz 1139386 SHA256 8c04474201179cc3d3a4f3d1aa7bdd6ee3244479aa16371d2449cf416f882299 SHA512 76b1bf5f7cfc950415d3b9295b010766d1caf7207b86eae00edaf325898e7934909982658c6bc7d113dcc2dbcd7fdb40dc02dddeca63cbc90d69950fde426bb7 WHIRLPOOL 0fa10a995777a2aad7575b2842d5e82c741de9458fd9349c21cb3c8842a260ebc1b8480451c287239a6047b543330279f63fc3a6ac9b0517629997e70ba246dd
|
||||
DIST rarlinux-x64-5.2.1.tar.gz 1145110 SHA256 54015e921bf2789ca90afdf913c5a5d57db612bfdbf33eedae7b068aa1016a2d SHA512 fe0f866aa7437608e60d3d760263aa2428d7154f0574140008d19a088b6968b06a02d056bd6e9f1b30f4b06c5fd447bf8383bd823d958c6676cd7d835f14de2c WHIRLPOOL b82f153a9aa1e239e2b1e137c71005ce812ce446911e9f62c43609a810cfb86874aa7137698b7a79326d693d4571da20df19973206412be429f1b593908fa86e
|
||||
DIST winrar-x64-420.exe 1656459 SHA256 e1039b5051eef12c37200ab0d3e93d407a5027aad6b59ba705526f670f0634b1 SHA512 906ddbd30ce8503df8b71d5446bfc7a7aae0076313f58dd94523e63acd525b9a323d42f937b772f75fa274740d96c8d21030e6de68610c93d56d37935f40022e WHIRLPOOL 683b96c7c6af6a2562a7de5ab394182d27c58df71a13a0650b5a93edefda14795402d19f8277bfbb08692d3c813671adfef363847b370b53741949708ece608f
|
||||
DIST winrar-x64-500.exe 1970848 SHA256 72b1577d0993d1358c7e4d0ebc651b8236c5d6e1a2390b839fb9b34e79fcbb02 SHA512 f99d9bca49d401baeb82108e22728a8cc5652eb17f5fc9ea5ca44d66197ecdb1a0c3a85a114bfaafd4e61593a5c2ceac9c182774af02f17f8e6f9a11eeec0da5 WHIRLPOOL b4d779f9e90eecb59fa94c005576417d92d93491da049512f7c49bbcafdaccfc43d1658d529f8b7e662ebfec930a2e8f68e32916b836ab859585b7a4b1c1de93
|
||||
DIST winrar-x64-510.exe 1915800 SHA256 3dad374e0a3b38e5629e8e9d591c77e73199e7714fef2cfb651a133e843971ed SHA512 a7d723ca45d376fe1b003be0ccd0477e51b057784ee14feeb78727207c390a9e31efe481eb998f316ea27f33298b0235690eed71242fa4f591603f3cc7238f20 WHIRLPOOL 9a6992d1cf6e52f352199f037b410853134e77245cb758f641569c91e208a1f693f5a9eb0e0680763b5bd0539fca2bac55b8af13106957a40d32297b8078536e
|
||||
DIST winrar-x64-521.exe 1941744 SHA256 e315674d9e2f5f63977fb5fd8e8bcafcdc106594b83e7ba062c5bec24901a5d2 SHA512 b08be6ea9dcbd19ac3849045a18d59a968ade46bcdfe3c6451dbcb5856d294b9dbdb89b1d38dff1749b44c47dc47b4de519ae5561825f06498455ffec48c7822 WHIRLPOOL 4faf6f2379e8b589974bff8fbb4a8a9561d2d60473f7874c0bf163a8915e902d7550847bd808e32ace3f48cfc02246b07b69b50ed848881d84d59d0594fd2322
|
||||
|
@ -0,0 +1,79 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/rar/rar-5.2.1.ebuild,v 1.1 2015/03/14 19:01:09 jdhore Exp $
|
||||
EAPI=4
|
||||
MY_PV="${PV/0_beta/b}"
|
||||
DESCRIPTION="RAR compressor/uncompressor"
|
||||
HOMEPAGE="http://www.rarsoft.com/"
|
||||
URI_x86="http://www.rarlab.com/rar/rarlinux-${MY_PV}.tar.gz"
|
||||
URI_amd64="http://www.rarlab.com/rar/rarlinux-x64-${MY_PV}.tar.gz"
|
||||
URI_w64="http://www.rarlab.com/rar/winrar-x64-${MY_PV//.}.exe"
|
||||
SRC_URI="x86? ( ${URI_x86} )
|
||||
amd64? ( ${URI_amd64} )
|
||||
all_sfx? (
|
||||
${URI_x86}
|
||||
${URI_amd64}
|
||||
${URI_w64}
|
||||
)"
|
||||
|
||||
LICENSE="RAR"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
IUSE="all_sfx static"
|
||||
|
||||
DEPEND="all_sfx? ( app-arch/unrar )"
|
||||
RDEPEND="sys-libs/glibc"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
QA_FLAGS_IGNORED="opt/rar/default.sfx
|
||||
opt/rar/default-elf32.sfx
|
||||
opt/rar/default-elf64.sfx
|
||||
opt/rar/default-win32.sfx
|
||||
opt/rar/default-win64.sfx
|
||||
opt/rar/WinCon.SFX
|
||||
opt/rar/WinCon64.SFX
|
||||
opt/rar/Zip.SFX
|
||||
opt/rar/Zip64.SFX
|
||||
opt/rar/unrar
|
||||
opt/rar/rar"
|
||||
QA_PRESTRIPPED=${QA_FLAGS_IGNORED}
|
||||
|
||||
src_unpack() {
|
||||
use x86 && unpack ${URI_x86##*/}
|
||||
use amd64 && unpack ${URI_amd64##*/}
|
||||
rm -f "${S}"/license.txt
|
||||
if use all_sfx ; then
|
||||
mkdir sfx
|
||||
cd sfx
|
||||
unpack ${URI_x86##*/}
|
||||
mv rar/default.sfx default-elf32.sfx || die
|
||||
unpack ${URI_amd64##*/}
|
||||
mv rar/default.sfx default-elf64.sfx || die
|
||||
ln -s "${DISTDIR}"/${URI_w64##*/} w64.rar
|
||||
unpack ./w64.rar
|
||||
mv Default.SFX default-win32.sfx || die
|
||||
mv Default64.SFX default-win64.sfx || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
exeinto /opt/rar
|
||||
doexe rar unrar || die
|
||||
use static && { newexe rar_static rar || die ; }
|
||||
|
||||
dodir /opt/bin
|
||||
dosym ../rar/rar /opt/bin/rar || die
|
||||
dosym ../rar/unrar /opt/bin/unrar || die
|
||||
|
||||
insinto /opt/rar
|
||||
if use all_sfx ; then
|
||||
doins "${WORKDIR}"/sfx/*.{sfx,SFX} || die
|
||||
else
|
||||
doins default.sfx || die
|
||||
fi
|
||||
doins rarfiles.lst || die
|
||||
dodoc *.txt
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
diff --git a/tools/cfgupgrade b/tools/cfgupgrade
|
||||
index c8dfdec..0f886b2 100755
|
||||
--- a/tools/cfgupgrade
|
||||
+++ b/tools/cfgupgrade
|
||||
@@ -169,6 +169,10 @@ def UpgradeCluster(config_data):
|
||||
cluster.get("zeroing_image", "")
|
||||
cluster["compression_tools"] = \
|
||||
cluster.get("compression_tools", constants.IEC_DEFAULT_TOOLS)
|
||||
+ cluster["hv_state_static"] = \
|
||||
+ cluster.get("hv_state_static", {})
|
||||
+ cluster["disk_state_static"] = \
|
||||
+ cluster.get("disk_state_static", {})
|
||||
if "enabled_user_shutdown" not in cluster:
|
||||
cluster["enabled_user_shutdown"] = False
|
||||
|
@ -0,0 +1,197 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/lxc/lxc-1.1.0-r5.ebuild,v 1.1 2015/03/14 09:21:31 hwoarang Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
MY_P="${P/_/-}"
|
||||
PYTHON_COMPAT=( python{3_2,3_3,3_4} )
|
||||
DISTUTILS_OPTIONAL=1
|
||||
|
||||
inherit autotools bash-completion-r1 distutils-r1 eutils linux-info versionator flag-o-matic systemd
|
||||
|
||||
DESCRIPTION="LinuX Containers userspace utilities"
|
||||
HOMEPAGE="https://linuxcontainers.org/"
|
||||
SRC_URI="https://github.com/lxc/lxc/archive/${MY_P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
IUSE="cgmanager doc examples lua python seccomp"
|
||||
|
||||
RDEPEND="net-libs/gnutls
|
||||
sys-libs/libcap
|
||||
cgmanager? ( app-admin/cgmanager )
|
||||
lua? ( >=dev-lang/lua-5.1:= )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
seccomp? ( sys-libs/libseccomp )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-text/docbook-sgml-utils )
|
||||
>=sys-kernel/linux-headers-3.2"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
sys-process/criu
|
||||
sys-apps/util-linux
|
||||
app-misc/pax-utils
|
||||
virtual/awk"
|
||||
|
||||
CONFIG_CHECK="~CGROUPS ~CGROUP_DEVICE
|
||||
~CPUSETS ~CGROUP_CPUACCT
|
||||
~RESOURCE_COUNTERS
|
||||
~CGROUP_SCHED
|
||||
|
||||
~NAMESPACES
|
||||
~IPC_NS ~USER_NS ~PID_NS
|
||||
|
||||
~NETLINK_DIAG ~PACKET_DIAG
|
||||
~INET_UDP_DIAG ~INET_TCP_DIAG
|
||||
~UNIX_DIAG ~CHECKPOINT_RESTORE
|
||||
|
||||
~DEVPTS_MULTIPLE_INSTANCES
|
||||
~CGROUP_FREEZER
|
||||
~UTS_NS ~NET_NS
|
||||
~VETH ~MACVLAN
|
||||
|
||||
~POSIX_MQUEUE
|
||||
~!NETPRIO_CGROUP
|
||||
|
||||
~!GRKERNSEC_CHROOT_MOUNT
|
||||
~!GRKERNSEC_CHROOT_DOUBLE
|
||||
~!GRKERNSEC_CHROOT_PIVOT
|
||||
~!GRKERNSEC_CHROOT_CHMOD
|
||||
~!GRKERNSEC_CHROOT_CAPS
|
||||
"
|
||||
|
||||
ERROR_DEVPTS_MULTIPLE_INSTANCES="CONFIG_DEVPTS_MULTIPLE_INSTANCES: needed for pts inside container"
|
||||
|
||||
ERROR_CGROUP_FREEZER="CONFIG_CGROUP_FREEZER: needed to freeze containers"
|
||||
|
||||
ERROR_UTS_NS="CONFIG_UTS_NS: needed to unshare hostnames and uname info"
|
||||
ERROR_NET_NS="CONFIG_NET_NS: needed for unshared network"
|
||||
|
||||
ERROR_VETH="CONFIG_VETH: needed for internal (host-to-container) networking"
|
||||
ERROR_MACVLAN="CONFIG_MACVLAN: needed for internal (inter-container) networking"
|
||||
|
||||
ERROR_NETLINK_DIAG="CONFIG_NETLINK_DIAG: needed for lxc-checkpoint"
|
||||
ERROR_PACKET_DIAG="CONFIG_PACKET_DIAG: needed for lxc-checkpoint"
|
||||
ERROR_INET_UDP_DIAG="CONFIG_INET_UDP_DIAG: needed for lxc-checkpoint"
|
||||
ERROR_INET_TCP_DIAG="CONFIG_INET_TCP_DIAG: needed for lxc-checkpoint"
|
||||
ERROR_UNIX_DIAG="CONFIG_UNIX_DIAG: needed for lxc-checkpoint"
|
||||
ERROR_CHECKPOINT_RESTORE="CONFIG_CHECKPOINT_RESTORE: needed for lxc-checkpoint"
|
||||
|
||||
ERROR_POSIX_MQUEUE="CONFIG_POSIX_MQUEUE: needed for lxc-execute command"
|
||||
|
||||
ERROR_NETPRIO_CGROUP="CONFIG_NETPRIO_CGROUP: as of kernel 3.3 and lxc 0.8.0_rc1 this causes LXCs to fail booting."
|
||||
|
||||
ERROR_GRKERNSEC_CHROOT_MOUNT="CONFIG_GRKERNSEC_CHROOT_MOUNT: some GRSEC features make LXC unusable see postinst notes"
|
||||
ERROR_GRKERNSEC_CHROOT_DOUBLE="CONFIG_GRKERNSEC_CHROOT_DOUBLE: some GRSEC features make LXC unusable see postinst notes"
|
||||
ERROR_GRKERNSEC_CHROOT_PIVOT="CONFIG_GRKERNSEC_CHROOT_PIVOT: some GRSEC features make LXC unusable see postinst notes"
|
||||
ERROR_GRKERNSEC_CHROOT_CHMOD="CONFIG_GRKERNSEC_CHROOT_CHMOD: some GRSEC features make LXC unusable see postinst notes"
|
||||
ERROR_GRKERNSEC_CHROOT_CAPS="CONFIG_GRKERNSEC_CHROOT_CAPS: some GRSEC features make LXC unusable see postinst notes"
|
||||
|
||||
DOCS=(AUTHORS CONTRIBUTING MAINTAINERS NEWS README doc/FAQ.txt)
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_P}"
|
||||
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
src_prepare() {
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-1.0.6-bash-completion.patch
|
||||
epatch "${FILESDIR}"/${P}-fix-gentoo-template.patch
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-flags -fno-strict-aliasing
|
||||
|
||||
if use python; then
|
||||
#541932
|
||||
python_setup "python3*"
|
||||
export PKG_CONFIG_PATH="${T}/${EPYTHON}/pkgconfig:${PKG_CONFIG_PATH}"
|
||||
fi
|
||||
|
||||
# I am not sure about the --with-rootfs-path
|
||||
# /var/lib/lxc is probably more appropriate than
|
||||
# /usr/lib/lxc.
|
||||
econf \
|
||||
--localstatedir=/var \
|
||||
--bindir=/usr/bin \
|
||||
--sbindir=/usr/bin \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
--with-config-path=/var/lib/lxc \
|
||||
--with-rootfs-path=/var/lib/lxc/rootfs \
|
||||
--with-distro=gentoo \
|
||||
--with-runtime-path=/run \
|
||||
--disable-apparmor \
|
||||
$(use_enable cgmanager) \
|
||||
$(use_enable doc) \
|
||||
$(use_enable examples) \
|
||||
$(use_enable lua) \
|
||||
$(use_enable python) \
|
||||
$(use_enable seccomp)
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
distutils-r1_python_compile build_ext -I ../ -L ../${PN}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if use python; then
|
||||
pushd "${S}/src/python-${PN}" > /dev/null
|
||||
distutils-r1_src_compile
|
||||
popd > /dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
mv "${ED}"/usr/share/bash-completion/completions/${PN} "${ED}"/$(get_bashcompdir)/${PN}-start || die
|
||||
bashcomp_alias ${PN}-start \
|
||||
${PN}-{attach,cgroup,clone,console,create,destroy,device,execute,freeze,info,monitor,snapshot,start-ephemeral,stop,unfreeze,wait}
|
||||
|
||||
if use python; then
|
||||
pushd "${S}/src/python-lxc" > /dev/null
|
||||
# Unset DOCS. This has been handled by the default target
|
||||
unset DOCS
|
||||
distutils-r1_src_install
|
||||
popd > /dev/null
|
||||
fi
|
||||
|
||||
keepdir /etc/lxc /var/lib/lxc/rootfs /var/log/lxc
|
||||
|
||||
find "${D}" -name '*.la' -delete
|
||||
|
||||
# Gentoo-specific additions!
|
||||
# Use initd.3 per #517144
|
||||
newinitd "${FILESDIR}/${PN}.initd.3" ${PN}
|
||||
|
||||
# lxc-devsetup script
|
||||
exeinto /usr/libexec/${PN}
|
||||
doexe config/init/systemd/${PN}-devsetup
|
||||
# Remember to compare our systemd unit file with the upstream one
|
||||
# config/init/systemd/lxc.service.in
|
||||
systemd_newunit "${FILESDIR}"/${PN}_at.service.2 "lxc@.service"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog ""
|
||||
elog "Starting from version ${PN}-1.1.0-r3, the default lxc path has been"
|
||||
elog "moved from /etc/lxc to /var/lib/lxc. If you still want to use /etc/lxc"
|
||||
elog "please add the following to your /etc/lxc/default.conf"
|
||||
elog "lxc.lxcpath = /etc/lxc"
|
||||
elog ""
|
||||
elog "There is an init script provided with the package now; no documentation"
|
||||
elog "is currently available though, so please check out /etc/init.d/lxc ."
|
||||
elog "You _should_ only need to symlink it to /etc/init.d/lxc.configname"
|
||||
elog "to start the container defined into /etc/lxc/configname.conf ."
|
||||
elog "For further information about LXC development see"
|
||||
elog "http://blog.flameeyes.eu/tag/lxc" # remove once proper doc is available
|
||||
elog ""
|
||||
}
|
@ -1,396 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-4.3.3-r1.ebuild,v 1.3 2014/11/01 14:54:13 dlan Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
PYTHON_REQ_USE='xml,threads'
|
||||
|
||||
if [[ $PV == *9999 ]]; then
|
||||
KEYWORDS=""
|
||||
REPO="xen-unstable.hg"
|
||||
EHG_REPO_URI="http://xenbits.xensource.com/${REPO}"
|
||||
S="${WORKDIR}/${REPO}"
|
||||
live_eclass="mercurial"
|
||||
else
|
||||
KEYWORDS="amd64 -x86"
|
||||
UPSTREAM_VER=0
|
||||
# xen-tools's gentoo patches tarball
|
||||
GENTOO_VER=0
|
||||
# xen-tools's gentoo patches version which apply to this specific ebuild
|
||||
GENTOO_GPV=0
|
||||
SEABIOS_VER=1.7.1-stable-xen
|
||||
|
||||
[[ -n ${UPSTREAM_VER} ]] && \
|
||||
UPSTREAM_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-upstream-patches-${UPSTREAM_VER}.tar.xz"
|
||||
[[ -n ${GENTOO_VER} ]] && \
|
||||
GENTOO_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${PN/-tools/}-gentoo-patches-${GENTOO_VER}.tar.xz"
|
||||
|
||||
SRC_URI="http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz
|
||||
http://code.coreboot.org/p/seabios/downloads/get/seabios-${SEABIOS_VER}.tar.gz
|
||||
http://dev.gentoo.org/~dlan/distfiles/seabios-${SEABIOS_VER}.tar.gz
|
||||
${UPSTREAM_PATCHSET_URI}
|
||||
${GENTOO_PATCHSET_URI}"
|
||||
S="${WORKDIR}/xen-${PV}"
|
||||
fi
|
||||
|
||||
inherit bash-completion-r1 eutils flag-o-matic multilib python-single-r1 toolchain-funcs udev ${live_eclass}
|
||||
|
||||
DESCRIPTION="Xend daemon and tools"
|
||||
HOMEPAGE="http://xen.org/"
|
||||
DOCS=( README docs/README.xen-bugtool )
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
# Inclusion of IUSE ocaml on stabalizing requires maintainer of ocaml to (get off his hands and) make
|
||||
# >=dev-lang/ocaml-4 stable
|
||||
# Masked in profiles/eapi-5-files instead
|
||||
IUSE="api custom-cflags debug doc flask hvm qemu ocaml +pam python pygrub screen static-libs system-seabios"
|
||||
|
||||
REQUIRED_USE="hvm? ( qemu )
|
||||
${PYTHON_REQUIRED_USE}
|
||||
pygrub? ( python )"
|
||||
|
||||
DEPEND="dev-libs/lzo:2
|
||||
dev-libs/glib:2
|
||||
dev-libs/yajl
|
||||
dev-libs/libgcrypt:0
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
pam? ( dev-python/pypam[${PYTHON_USEDEP}] )
|
||||
sys-libs/zlib
|
||||
sys-power/iasl
|
||||
system-seabios? ( sys-firmware/seabios )
|
||||
sys-firmware/ipxe
|
||||
hvm? ( media-libs/libsdl )
|
||||
${PYTHON_DEPS}
|
||||
api? ( dev-libs/libxml2
|
||||
net-misc/curl )
|
||||
pygrub? ( ${PYTHON_DEPS//${PYTHON_REQ_USE}/ncurses} )
|
||||
sys-devel/bin86
|
||||
sys-devel/dev86
|
||||
dev-lang/perl
|
||||
app-misc/pax-utils
|
||||
dev-python/markdown[${PYTHON_USEDEP}]
|
||||
doc? (
|
||||
app-doc/doxygen
|
||||
dev-tex/latex2html[png,gif]
|
||||
media-gfx/graphviz
|
||||
dev-tex/xcolor
|
||||
media-gfx/transfig
|
||||
dev-texlive/texlive-latexextra
|
||||
virtual/latex-base
|
||||
dev-tex/latexmk
|
||||
dev-texlive/texlive-latex
|
||||
dev-texlive/texlive-pictures
|
||||
dev-texlive/texlive-latexrecommended
|
||||
)
|
||||
hvm? ( x11-proto/xproto
|
||||
!net-libs/libiscsi )
|
||||
qemu? ( x11-libs/pixman )
|
||||
ocaml? ( dev-ml/findlib
|
||||
>=dev-lang/ocaml-4 )"
|
||||
RDEPEND="sys-apps/iproute2
|
||||
net-misc/bridge-utils
|
||||
screen? (
|
||||
app-misc/screen
|
||||
app-admin/logrotate
|
||||
)
|
||||
virtual/udev"
|
||||
|
||||
# hvmloader is used to bootstrap a fully virtualized kernel
|
||||
# Approved by QA team in bug #144032
|
||||
QA_WX_LOAD="usr/lib/xen/boot/hvmloader"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
export "CONFIG_LOMOUNT=y"
|
||||
|
||||
#bug 522642, disable compile tools/tests
|
||||
export "CONFIG_TESTS=n"
|
||||
|
||||
if has_version dev-libs/libgcrypt:0; then
|
||||
export "CONFIG_GCRYPT=y"
|
||||
fi
|
||||
|
||||
if use qemu; then
|
||||
export "CONFIG_IOEMU=y"
|
||||
else
|
||||
export "CONFIG_IOEMU=n"
|
||||
fi
|
||||
|
||||
if [[ -z ${XEN_TARGET_ARCH} ]] ; then
|
||||
if use x86 && use amd64; then
|
||||
die "Confusion! Both x86 and amd64 are set in your use flags!"
|
||||
elif use x86; then
|
||||
export XEN_TARGET_ARCH="x86_32"
|
||||
elif use amd64 ; then
|
||||
export XEN_TARGET_ARCH="x86_64"
|
||||
else
|
||||
die "Unsupported architecture!"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Upstream's patchset
|
||||
if [[ -n ${UPSTREAM_VER} ]]; then
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
EPATCH_OPTS="-p1" \
|
||||
epatch "${WORKDIR}"/patches-upstream
|
||||
fi
|
||||
|
||||
# Gentoo's patchset
|
||||
if [[ -n ${GENTOO_VER} && -n ${GENTOO_GPV} ]]; then
|
||||
source "${FILESDIR}"/gentoo-patches.conf
|
||||
_gpv=_gpv_${PN/-/_}_${PV//./}_${GENTOO_GPV}
|
||||
for i in ${!_gpv}; do
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches-gentoo/$i
|
||||
done
|
||||
fi
|
||||
|
||||
# Bug 496708
|
||||
use system-seabios && epatch "${WORKDIR}"/patches-gentoo/${PN}-4-unbundle-seabios.patch
|
||||
|
||||
# Bug 478064
|
||||
mv tools/qemu-xen/qemu-bridge-helper.c tools/qemu-xen/xen-bridge-helper.c || die
|
||||
|
||||
mv ../seabios-${SEABIOS_VER} tools/firmware/seabios-dir-remote || die
|
||||
pushd tools/firmware/ > /dev/null
|
||||
ln -s seabios-dir-remote seabios-dir || die
|
||||
popd > /dev/null
|
||||
|
||||
# if the user *really* wants to use their own custom-cflags, let them
|
||||
if use custom-cflags; then
|
||||
einfo "User wants their own CFLAGS - removing defaults"
|
||||
|
||||
# try and remove all the default cflags
|
||||
find "${S}" \( -name Makefile -o -name Rules.mk -o -name Config.mk \) \
|
||||
-exec sed \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-i {} + || die "failed to re-set custom-cflags"
|
||||
fi
|
||||
|
||||
if ! use pygrub; then
|
||||
sed -e '/^SUBDIRS-y += pygrub/d' -i tools/Makefile || die
|
||||
fi
|
||||
|
||||
if ! use python; then
|
||||
sed -e '/^SUBDIRS-y += python$/d' -i tools/Makefile || die
|
||||
fi
|
||||
|
||||
# Disable hvm support on systems that don't support x86_32 binaries.
|
||||
if ! use hvm; then
|
||||
sed -e '/^CONFIG_IOEMU := y$/d' -i config/*.mk || die
|
||||
sed -e '/SUBDIRS-$(CONFIG_X86) += firmware/d' -i tools/Makefile || die
|
||||
# Bug 351648
|
||||
elif ! use x86 && ! has x86 $(get_all_abis); then
|
||||
mkdir -p "${WORKDIR}"/extra-headers/gnu || die
|
||||
touch "${WORKDIR}"/extra-headers/gnu/stubs-32.h || die
|
||||
export CPATH="${WORKDIR}"/extra-headers
|
||||
fi
|
||||
|
||||
# Don't bother with qemu, only needed for fully virtualised guests
|
||||
if ! use qemu; then
|
||||
sed -e "/^CONFIG_IOEMU := y$/d" -i config/*.mk || die
|
||||
sed -e "s:install-tools\: tools/ioemu-dir:install-tools\: :g" -i Makefile || die
|
||||
fi
|
||||
|
||||
# Reset bash completion dir; Bug 472438
|
||||
sed -e "s:^BASH_COMPLETION_DIR ?= \$(CONFIG_DIR)/bash_completion.d:BASH_COMPLETION_DIR ?= $(get_bashcompdir):" \
|
||||
-i Config.mk || die
|
||||
sed -i -e "/bash-completion/s/xl\.sh/xl/g" tools/libxl/Makefile || die
|
||||
|
||||
use flask || sed -e "/SUBDIRS-y += flask/d" -i tools/Makefile || die
|
||||
use api || sed -e "/SUBDIRS-\$(LIBXENAPI_BINDINGS) += libxen/d" -i tools/Makefile || die
|
||||
sed -e 's:$(MAKE) PYTHON=$(PYTHON) subdirs-$@:LC_ALL=C "$(MAKE)" PYTHON=$(PYTHON) subdirs-$@:' \
|
||||
-i tools/firmware/Makefile || die
|
||||
|
||||
# xencommons, Bug #492332, sed lighter weight than patching
|
||||
sed -e 's:\$QEMU_XEN -xen-domid:test -e "\$QEMU_XEN" \&\& &:' \
|
||||
-i tools/hotplug/Linux/init.d/xencommons || die
|
||||
|
||||
# Bug 493232 fix from http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1844
|
||||
sed -e 's:bl->argsspace = 7 + :bl->argsspace = 9 + :' \
|
||||
-i tools/libxl/libxl_bootloader.c || die
|
||||
|
||||
# fix QA warning, create /var/run/, /var/lock dynamically
|
||||
sed -i -e "/\$(INSTALL_DIR) \$(DESTDIR)\$(XEN_RUN_DIR)/d" \
|
||||
tools/libxl/Makefile || die
|
||||
|
||||
sed -i -e "/\/var\/run\//d" \
|
||||
tools/xenstore/Makefile \
|
||||
tools/pygrub/Makefile || die
|
||||
|
||||
sed -i -e "/\/var\/lock\/subsys/d" \
|
||||
tools/Makefile || die
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf="--prefix=/usr --disable-werror"
|
||||
|
||||
if use ocaml
|
||||
then
|
||||
myconf="${myconf} $(use_enable ocaml ocamltools)"
|
||||
else
|
||||
myconf="${myconf} --disable-ocamltools"
|
||||
fi
|
||||
|
||||
if ! use pam
|
||||
then
|
||||
myconf="${myconf} --disable-pam"
|
||||
fi
|
||||
|
||||
econf ${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export VARTEXFONTS="${T}/fonts"
|
||||
local myopt
|
||||
use debug && myopt="${myopt} debug=y"
|
||||
|
||||
use custom-cflags || unset CFLAGS
|
||||
if test-flag-CC -fno-strict-overflow; then
|
||||
append-flags -fno-strict-overflow
|
||||
fi
|
||||
|
||||
unset LDFLAGS
|
||||
unset CFLAGS
|
||||
emake V=1 CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" -C tools ${myopt}
|
||||
|
||||
use doc && emake -C docs txt html
|
||||
emake -C docs man-pages
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Override auto-detection in the build system, bug #382573
|
||||
export INITD_DIR=/tmp/init.d
|
||||
export CONFIG_LEAF_DIR=../tmp/default
|
||||
|
||||
# Let the build system compile installed Python modules.
|
||||
local PYTHONDONTWRITEBYTECODE
|
||||
export PYTHONDONTWRITEBYTECODE
|
||||
|
||||
emake DESTDIR="${ED}" DOCDIR="/usr/share/doc/${PF}" \
|
||||
XEN_PYTHON_NATIVE_INSTALL=y install-tools
|
||||
|
||||
# Fix the remaining Python shebangs.
|
||||
python_fix_shebang "${D}"
|
||||
|
||||
# Remove RedHat-specific stuff
|
||||
rm -rf "${D}"tmp || die
|
||||
|
||||
# uncomment lines in xl.conf
|
||||
sed -e 's:^#autoballoon=1:autoballoon=1:' \
|
||||
-e 's:^#lockfile="/var/lock/xl":lockfile="/var/lock/xl":' \
|
||||
-e 's:^#vifscript="vif-bridge":vifscript="vif-bridge":' \
|
||||
-i tools/examples/xl.conf || die
|
||||
|
||||
if use doc; then
|
||||
emake DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" install-docs
|
||||
|
||||
dohtml -r docs/
|
||||
docinto pdf
|
||||
dodoc ${DOCS[@]}
|
||||
[ -d "${D}"/usr/share/doc/xen ] && mv "${D}"/usr/share/doc/xen/* "${D}"/usr/share/doc/${PF}/html
|
||||
fi
|
||||
|
||||
rm -rf "${D}"/usr/share/doc/xen/
|
||||
doman docs/man?/*
|
||||
|
||||
newconfd "${FILESDIR}"/xendomains.confd xendomains
|
||||
newconfd "${FILESDIR}"/xenstored.confd xenstored
|
||||
newconfd "${FILESDIR}"/xenconsoled.confd xenconsoled
|
||||
newinitd "${FILESDIR}"/xendomains.initd-r2 xendomains
|
||||
newinitd "${FILESDIR}"/xenstored.initd xenstored
|
||||
newinitd "${FILESDIR}"/xenconsoled.initd xenconsoled
|
||||
newinitd "${FILESDIR}"/xencommons.initd xencommons
|
||||
newconfd "${FILESDIR}"/xencommons.confd xencommons
|
||||
newinitd "${FILESDIR}"/xenqemudev.initd xenqemudev
|
||||
newconfd "${FILESDIR}"/xenqemudev.confd xenqemudev
|
||||
|
||||
if use screen; then
|
||||
cat "${FILESDIR}"/xendomains-screen.confd >> "${D}"/etc/conf.d/xendomains || die
|
||||
cp "${FILESDIR}"/xen-consoles.logrotate "${D}"/etc/xen/ || die
|
||||
keepdir /var/log/xen-consoles
|
||||
fi
|
||||
|
||||
# Move files built with use qemu, Bug #477884
|
||||
if [[ "${ARCH}" == 'amd64' ]] && use qemu; then
|
||||
mkdir -p "${D}"usr/$(get_libdir)/xen/bin || die
|
||||
mv "${D}"usr/lib/xen/bin/* "${D}"usr/$(get_libdir)/xen/bin/ || die
|
||||
fi
|
||||
|
||||
# For -static-libs wrt Bug 384355
|
||||
if ! use static-libs; then
|
||||
rm -f "${D}"usr/$(get_libdir)/*.a "${D}"usr/$(get_libdir)/ocaml/*/*.a
|
||||
fi
|
||||
|
||||
# xend expects these to exist
|
||||
keepdir /var/lib/xenstored /var/xen/dump /var/lib/xen /var/log/xen
|
||||
|
||||
# for xendomains
|
||||
keepdir /etc/xen/auto
|
||||
|
||||
# Temp QA workaround
|
||||
dodir "$(get_udevdir)"
|
||||
mv "${D}"/etc/udev/* "${D}/$(get_udevdir)"
|
||||
rm -rf "${D}"/etc/udev
|
||||
|
||||
# Remove files failing QA AFTER emake installs them, avoiding seeking absent files
|
||||
find "${D}" \( -name openbios-sparc32 -o -name openbios-sparc64 \
|
||||
-o -name openbios-ppc -o -name palcode-clipper \) -delete || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Official Xen Guide and the offical wiki page:"
|
||||
elog "https://wiki.gentoo.org/wiki/Xen"
|
||||
elog "http://wiki.xen.org/wiki/Main_Page"
|
||||
elog ""
|
||||
elog "Recommended to utilise the xencommons script to config sytem At boot"
|
||||
elog "Add by use of rc-update on completion of the install"
|
||||
|
||||
# TODO: we need to have the current Python slot here.
|
||||
if ! has_version "dev-lang/python[ncurses]"; then
|
||||
echo
|
||||
ewarn "NB: Your dev-lang/python is built without USE=ncurses."
|
||||
ewarn "Please rebuild python with USE=ncurses to make use of xenmon.py."
|
||||
fi
|
||||
|
||||
if has_version "sys-apps/iproute2[minimal]"; then
|
||||
echo
|
||||
ewarn "Your sys-apps/iproute2 is built with USE=minimal. Networking"
|
||||
ewarn "will not work until you rebuild iproute2 without USE=minimal."
|
||||
fi
|
||||
|
||||
if ! use hvm; then
|
||||
echo
|
||||
elog "HVM (VT-x and AMD-V) support has been disabled. If you need hvm"
|
||||
elog "support enable the hvm use flag."
|
||||
elog "An x86 or amd64 system is required to build HVM support."
|
||||
fi
|
||||
|
||||
if use qemu; then
|
||||
elog "The qemu-bridge-helper is renamed to the xen-bridge-helper in the in source"
|
||||
elog "build of qemu. This allows for app-emulation/qemu to be emerged concurrently"
|
||||
elog "with the qemu capable xen. It is up to the user to distinguish between and utilise"
|
||||
elog "the qemu-bridge-helper and the xen-bridge-helper. File bugs of any issues that arise"
|
||||
fi
|
||||
|
||||
if grep -qsF XENSV= "${ROOT}/etc/conf.d/xend"; then
|
||||
echo
|
||||
elog "xensv is broken upstream (Gentoo bug #142011)."
|
||||
elog "Please remove '${ROOT%/}/etc/conf.d/xend', as it is no longer needed."
|
||||
fi
|
||||
}
|
@ -1,396 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-4.3.3-r4.ebuild,v 1.1 2015/02/16 06:57:16 dlan Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
PYTHON_REQ_USE='xml,threads'
|
||||
|
||||
if [[ $PV == *9999 ]]; then
|
||||
KEYWORDS=""
|
||||
REPO="xen-unstable.hg"
|
||||
EHG_REPO_URI="http://xenbits.xensource.com/${REPO}"
|
||||
S="${WORKDIR}/${REPO}"
|
||||
live_eclass="mercurial"
|
||||
else
|
||||
KEYWORDS="~amd64 -x86"
|
||||
UPSTREAM_VER=4
|
||||
# xen-tools's gentoo patches tarball
|
||||
GENTOO_VER=0
|
||||
# xen-tools's gentoo patches version which apply to this specific ebuild
|
||||
GENTOO_GPV=0
|
||||
SEABIOS_VER=1.7.1-stable-xen
|
||||
|
||||
[[ -n ${UPSTREAM_VER} ]] && \
|
||||
UPSTREAM_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-upstream-patches-${UPSTREAM_VER}.tar.xz"
|
||||
[[ -n ${GENTOO_VER} ]] && \
|
||||
GENTOO_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${PN/-tools/}-gentoo-patches-${GENTOO_VER}.tar.xz"
|
||||
|
||||
SRC_URI="http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz
|
||||
http://code.coreboot.org/p/seabios/downloads/get/seabios-${SEABIOS_VER}.tar.gz
|
||||
http://dev.gentoo.org/~dlan/distfiles/seabios-${SEABIOS_VER}.tar.gz
|
||||
${UPSTREAM_PATCHSET_URI}
|
||||
${GENTOO_PATCHSET_URI}"
|
||||
S="${WORKDIR}/xen-${PV}"
|
||||
fi
|
||||
|
||||
inherit bash-completion-r1 eutils flag-o-matic multilib python-single-r1 toolchain-funcs udev ${live_eclass}
|
||||
|
||||
DESCRIPTION="Xend daemon and tools"
|
||||
HOMEPAGE="http://xen.org/"
|
||||
DOCS=( README docs/README.xen-bugtool )
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
# Inclusion of IUSE ocaml on stabalizing requires maintainer of ocaml to (get off his hands and) make
|
||||
# >=dev-lang/ocaml-4 stable
|
||||
# Masked in profiles/eapi-5-files instead
|
||||
IUSE="api custom-cflags debug doc flask hvm qemu ocaml +pam python pygrub screen static-libs system-seabios"
|
||||
|
||||
REQUIRED_USE="hvm? ( qemu )
|
||||
${PYTHON_REQUIRED_USE}
|
||||
pygrub? ( python )"
|
||||
|
||||
DEPEND="dev-libs/lzo:2
|
||||
dev-libs/glib:2
|
||||
dev-libs/yajl
|
||||
dev-libs/libgcrypt:0
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
pam? ( dev-python/pypam[${PYTHON_USEDEP}] )
|
||||
sys-libs/zlib
|
||||
sys-power/iasl
|
||||
system-seabios? ( sys-firmware/seabios )
|
||||
sys-firmware/ipxe
|
||||
hvm? ( media-libs/libsdl )
|
||||
${PYTHON_DEPS}
|
||||
api? ( dev-libs/libxml2
|
||||
net-misc/curl )
|
||||
pygrub? ( ${PYTHON_DEPS//${PYTHON_REQ_USE}/ncurses} )
|
||||
sys-devel/bin86
|
||||
sys-devel/dev86
|
||||
dev-lang/perl
|
||||
app-misc/pax-utils
|
||||
dev-python/markdown[${PYTHON_USEDEP}]
|
||||
doc? (
|
||||
app-doc/doxygen
|
||||
dev-tex/latex2html[png,gif]
|
||||
media-gfx/graphviz
|
||||
dev-tex/xcolor
|
||||
media-gfx/transfig
|
||||
dev-texlive/texlive-latexextra
|
||||
virtual/latex-base
|
||||
dev-tex/latexmk
|
||||
dev-texlive/texlive-latex
|
||||
dev-texlive/texlive-pictures
|
||||
dev-texlive/texlive-latexrecommended
|
||||
)
|
||||
hvm? ( x11-proto/xproto
|
||||
!net-libs/libiscsi )
|
||||
qemu? ( x11-libs/pixman )
|
||||
ocaml? ( dev-ml/findlib
|
||||
>=dev-lang/ocaml-4 )"
|
||||
RDEPEND="sys-apps/iproute2
|
||||
net-misc/bridge-utils
|
||||
screen? (
|
||||
app-misc/screen
|
||||
app-admin/logrotate
|
||||
)
|
||||
virtual/udev"
|
||||
|
||||
# hvmloader is used to bootstrap a fully virtualized kernel
|
||||
# Approved by QA team in bug #144032
|
||||
QA_WX_LOAD="usr/lib/xen/boot/hvmloader"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
export "CONFIG_LOMOUNT=y"
|
||||
|
||||
#bug 522642, disable compile tools/tests
|
||||
export "CONFIG_TESTS=n"
|
||||
|
||||
if has_version dev-libs/libgcrypt:0; then
|
||||
export "CONFIG_GCRYPT=y"
|
||||
fi
|
||||
|
||||
if use qemu; then
|
||||
export "CONFIG_IOEMU=y"
|
||||
else
|
||||
export "CONFIG_IOEMU=n"
|
||||
fi
|
||||
|
||||
if [[ -z ${XEN_TARGET_ARCH} ]] ; then
|
||||
if use x86 && use amd64; then
|
||||
die "Confusion! Both x86 and amd64 are set in your use flags!"
|
||||
elif use x86; then
|
||||
export XEN_TARGET_ARCH="x86_32"
|
||||
elif use amd64 ; then
|
||||
export XEN_TARGET_ARCH="x86_64"
|
||||
else
|
||||
die "Unsupported architecture!"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Upstream's patchset
|
||||
if [[ -n ${UPSTREAM_VER} ]]; then
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
EPATCH_OPTS="-p1" \
|
||||
epatch "${WORKDIR}"/patches-upstream
|
||||
fi
|
||||
|
||||
# Gentoo's patchset
|
||||
if [[ -n ${GENTOO_VER} && -n ${GENTOO_GPV} ]]; then
|
||||
source "${FILESDIR}"/gentoo-patches.conf
|
||||
_gpv=_gpv_${PN/-/_}_${PV//./}_${GENTOO_GPV}
|
||||
for i in ${!_gpv}; do
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches-gentoo/$i
|
||||
done
|
||||
fi
|
||||
|
||||
# Bug 496708
|
||||
use system-seabios && epatch "${WORKDIR}"/patches-gentoo/${PN}-4-unbundle-seabios.patch
|
||||
|
||||
# Bug 478064
|
||||
mv tools/qemu-xen/qemu-bridge-helper.c tools/qemu-xen/xen-bridge-helper.c || die
|
||||
|
||||
mv ../seabios-${SEABIOS_VER} tools/firmware/seabios-dir-remote || die
|
||||
pushd tools/firmware/ > /dev/null
|
||||
ln -s seabios-dir-remote seabios-dir || die
|
||||
popd > /dev/null
|
||||
|
||||
# if the user *really* wants to use their own custom-cflags, let them
|
||||
if use custom-cflags; then
|
||||
einfo "User wants their own CFLAGS - removing defaults"
|
||||
|
||||
# try and remove all the default cflags
|
||||
find "${S}" \( -name Makefile -o -name Rules.mk -o -name Config.mk \) \
|
||||
-exec sed \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-i {} + || die "failed to re-set custom-cflags"
|
||||
fi
|
||||
|
||||
if ! use pygrub; then
|
||||
sed -e '/^SUBDIRS-y += pygrub/d' -i tools/Makefile || die
|
||||
fi
|
||||
|
||||
if ! use python; then
|
||||
sed -e '/^SUBDIRS-y += python$/d' -i tools/Makefile || die
|
||||
fi
|
||||
|
||||
# Disable hvm support on systems that don't support x86_32 binaries.
|
||||
if ! use hvm; then
|
||||
sed -e '/^CONFIG_IOEMU := y$/d' -i config/*.mk || die
|
||||
sed -e '/SUBDIRS-$(CONFIG_X86) += firmware/d' -i tools/Makefile || die
|
||||
# Bug 351648
|
||||
elif ! use x86 && ! has x86 $(get_all_abis); then
|
||||
mkdir -p "${WORKDIR}"/extra-headers/gnu || die
|
||||
touch "${WORKDIR}"/extra-headers/gnu/stubs-32.h || die
|
||||
export CPATH="${WORKDIR}"/extra-headers
|
||||
fi
|
||||
|
||||
# Don't bother with qemu, only needed for fully virtualised guests
|
||||
if ! use qemu; then
|
||||
sed -e "/^CONFIG_IOEMU := y$/d" -i config/*.mk || die
|
||||
sed -e "s:install-tools\: tools/ioemu-dir:install-tools\: :g" -i Makefile || die
|
||||
fi
|
||||
|
||||
# Reset bash completion dir; Bug 472438
|
||||
sed -e "s:^BASH_COMPLETION_DIR ?= \$(CONFIG_DIR)/bash_completion.d:BASH_COMPLETION_DIR ?= $(get_bashcompdir):" \
|
||||
-i Config.mk || die
|
||||
sed -i -e "/bash-completion/s/xl\.sh/xl/g" tools/libxl/Makefile || die
|
||||
|
||||
use flask || sed -e "/SUBDIRS-y += flask/d" -i tools/Makefile || die
|
||||
use api || sed -e "/SUBDIRS-\$(LIBXENAPI_BINDINGS) += libxen/d" -i tools/Makefile || die
|
||||
sed -e 's:$(MAKE) PYTHON=$(PYTHON) subdirs-$@:LC_ALL=C "$(MAKE)" PYTHON=$(PYTHON) subdirs-$@:' \
|
||||
-i tools/firmware/Makefile || die
|
||||
|
||||
# xencommons, Bug #492332, sed lighter weight than patching
|
||||
sed -e 's:\$QEMU_XEN -xen-domid:test -e "\$QEMU_XEN" \&\& &:' \
|
||||
-i tools/hotplug/Linux/init.d/xencommons || die
|
||||
|
||||
# Bug 493232 fix from http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1844
|
||||
sed -e 's:bl->argsspace = 7 + :bl->argsspace = 9 + :' \
|
||||
-i tools/libxl/libxl_bootloader.c || die
|
||||
|
||||
# fix QA warning, create /var/run/, /var/lock dynamically
|
||||
sed -i -e "/\$(INSTALL_DIR) \$(DESTDIR)\$(XEN_RUN_DIR)/d" \
|
||||
tools/libxl/Makefile || die
|
||||
|
||||
sed -i -e "/\/var\/run\//d" \
|
||||
tools/xenstore/Makefile \
|
||||
tools/pygrub/Makefile || die
|
||||
|
||||
sed -i -e "/\/var\/lock\/subsys/d" \
|
||||
tools/Makefile || die
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf="--prefix=/usr --disable-werror"
|
||||
|
||||
if use ocaml
|
||||
then
|
||||
myconf="${myconf} $(use_enable ocaml ocamltools)"
|
||||
else
|
||||
myconf="${myconf} --disable-ocamltools"
|
||||
fi
|
||||
|
||||
if ! use pam
|
||||
then
|
||||
myconf="${myconf} --disable-pam"
|
||||
fi
|
||||
|
||||
econf ${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export VARTEXFONTS="${T}/fonts"
|
||||
local myopt
|
||||
use debug && myopt="${myopt} debug=y"
|
||||
|
||||
use custom-cflags || unset CFLAGS
|
||||
if test-flag-CC -fno-strict-overflow; then
|
||||
append-flags -fno-strict-overflow
|
||||
fi
|
||||
|
||||
unset LDFLAGS
|
||||
unset CFLAGS
|
||||
emake V=1 CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" -C tools ${myopt}
|
||||
|
||||
use doc && emake -C docs txt html
|
||||
emake -C docs man-pages
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Override auto-detection in the build system, bug #382573
|
||||
export INITD_DIR=/tmp/init.d
|
||||
export CONFIG_LEAF_DIR=../tmp/default
|
||||
|
||||
# Let the build system compile installed Python modules.
|
||||
local PYTHONDONTWRITEBYTECODE
|
||||
export PYTHONDONTWRITEBYTECODE
|
||||
|
||||
emake DESTDIR="${ED}" DOCDIR="/usr/share/doc/${PF}" \
|
||||
XEN_PYTHON_NATIVE_INSTALL=y install-tools
|
||||
|
||||
# Fix the remaining Python shebangs.
|
||||
python_fix_shebang "${D}"
|
||||
|
||||
# Remove RedHat-specific stuff
|
||||
rm -rf "${D}"tmp || die
|
||||
|
||||
# uncomment lines in xl.conf
|
||||
sed -e 's:^#autoballoon=1:autoballoon=1:' \
|
||||
-e 's:^#lockfile="/var/lock/xl":lockfile="/var/lock/xl":' \
|
||||
-e 's:^#vifscript="vif-bridge":vifscript="vif-bridge":' \
|
||||
-i tools/examples/xl.conf || die
|
||||
|
||||
if use doc; then
|
||||
emake DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" install-docs
|
||||
|
||||
dohtml -r docs/
|
||||
docinto pdf
|
||||
dodoc ${DOCS[@]}
|
||||
[ -d "${D}"/usr/share/doc/xen ] && mv "${D}"/usr/share/doc/xen/* "${D}"/usr/share/doc/${PF}/html
|
||||
fi
|
||||
|
||||
rm -rf "${D}"/usr/share/doc/xen/
|
||||
doman docs/man?/*
|
||||
|
||||
newconfd "${FILESDIR}"/xendomains.confd xendomains
|
||||
newconfd "${FILESDIR}"/xenstored.confd xenstored
|
||||
newconfd "${FILESDIR}"/xenconsoled.confd xenconsoled
|
||||
newinitd "${FILESDIR}"/xendomains.initd-r2 xendomains
|
||||
newinitd "${FILESDIR}"/xenstored.initd xenstored
|
||||
newinitd "${FILESDIR}"/xenconsoled.initd xenconsoled
|
||||
newinitd "${FILESDIR}"/xencommons.initd xencommons
|
||||
newconfd "${FILESDIR}"/xencommons.confd xencommons
|
||||
newinitd "${FILESDIR}"/xenqemudev.initd xenqemudev
|
||||
newconfd "${FILESDIR}"/xenqemudev.confd xenqemudev
|
||||
|
||||
if use screen; then
|
||||
cat "${FILESDIR}"/xendomains-screen.confd >> "${D}"/etc/conf.d/xendomains || die
|
||||
cp "${FILESDIR}"/xen-consoles.logrotate "${D}"/etc/xen/ || die
|
||||
keepdir /var/log/xen-consoles
|
||||
fi
|
||||
|
||||
# Move files built with use qemu, Bug #477884
|
||||
if [[ "${ARCH}" == 'amd64' ]] && use qemu; then
|
||||
mkdir -p "${D}"usr/$(get_libdir)/xen/bin || die
|
||||
mv "${D}"usr/lib/xen/bin/* "${D}"usr/$(get_libdir)/xen/bin/ || die
|
||||
fi
|
||||
|
||||
# For -static-libs wrt Bug 384355
|
||||
if ! use static-libs; then
|
||||
rm -f "${D}"usr/$(get_libdir)/*.a "${D}"usr/$(get_libdir)/ocaml/*/*.a
|
||||
fi
|
||||
|
||||
# xend expects these to exist
|
||||
keepdir /var/lib/xenstored /var/xen/dump /var/lib/xen /var/log/xen
|
||||
|
||||
# for xendomains
|
||||
keepdir /etc/xen/auto
|
||||
|
||||
# Temp QA workaround
|
||||
dodir "$(get_udevdir)"
|
||||
mv "${D}"/etc/udev/* "${D}/$(get_udevdir)"
|
||||
rm -rf "${D}"/etc/udev
|
||||
|
||||
# Remove files failing QA AFTER emake installs them, avoiding seeking absent files
|
||||
find "${D}" \( -name openbios-sparc32 -o -name openbios-sparc64 \
|
||||
-o -name openbios-ppc -o -name palcode-clipper \) -delete || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Official Xen Guide and the offical wiki page:"
|
||||
elog "https://wiki.gentoo.org/wiki/Xen"
|
||||
elog "http://wiki.xen.org/wiki/Main_Page"
|
||||
elog ""
|
||||
elog "Recommended to utilise the xencommons script to config sytem At boot"
|
||||
elog "Add by use of rc-update on completion of the install"
|
||||
|
||||
# TODO: we need to have the current Python slot here.
|
||||
if ! has_version "dev-lang/python[ncurses]"; then
|
||||
echo
|
||||
ewarn "NB: Your dev-lang/python is built without USE=ncurses."
|
||||
ewarn "Please rebuild python with USE=ncurses to make use of xenmon.py."
|
||||
fi
|
||||
|
||||
if has_version "sys-apps/iproute2[minimal]"; then
|
||||
echo
|
||||
ewarn "Your sys-apps/iproute2 is built with USE=minimal. Networking"
|
||||
ewarn "will not work until you rebuild iproute2 without USE=minimal."
|
||||
fi
|
||||
|
||||
if ! use hvm; then
|
||||
echo
|
||||
elog "HVM (VT-x and AMD-V) support has been disabled. If you need hvm"
|
||||
elog "support enable the hvm use flag."
|
||||
elog "An x86 or amd64 system is required to build HVM support."
|
||||
fi
|
||||
|
||||
if use qemu; then
|
||||
elog "The qemu-bridge-helper is renamed to the xen-bridge-helper in the in source"
|
||||
elog "build of qemu. This allows for app-emulation/qemu to be emerged concurrently"
|
||||
elog "with the qemu capable xen. It is up to the user to distinguish between and utilise"
|
||||
elog "the qemu-bridge-helper and the xen-bridge-helper. File bugs of any issues that arise"
|
||||
fi
|
||||
|
||||
if grep -qsF XENSV= "${ROOT}/etc/conf.d/xend"; then
|
||||
echo
|
||||
elog "xensv is broken upstream (Gentoo bug #142011)."
|
||||
elog "Please remove '${ROOT%/}/etc/conf.d/xend', as it is no longer needed."
|
||||
fi
|
||||
}
|
@ -1,10 +1,10 @@
|
||||
DIST xen-4.2.5-upstream-patches-2.tar.xz 16768 SHA256 5d63f9f4c0619465c4421ad4f9087e82f833b4b1683f0aa2a38c191aee36c71a SHA512 14bd3ed218d4c4711c084789e89914c1550c4154fa7e228f663eb5a635dfd8e0031e0d762d5502e0673a2991a8790ce3208fca5649093378066794f3ed32a1d5 WHIRLPOOL 54fcc148f70ddfde0b7bfb160850c473c1d8336ca4417bb27681ffd75127123c44d67ca04886dfc709fcbe45040abb9ffa49d392f1a82a9da525e7d93aadaba2
|
||||
DIST xen-4.2.5-upstream-patches-5.tar.xz 18600 SHA256 0deb548dc5b4c5bbeea590133c3e2037bc356a49b069645c552fc5e695b88fae SHA512 18f34981a4ebc2cb8510dd903438dab1f322ba0e8c4b7da2d2e7d57be70dec7342e729cc1b3790ca3f4a1ce3fff9668f2a7fb948d649be79c25ad8dd368fe350 WHIRLPOOL c67b960ec92311844d65128dd3c16a1a8788c0d50df36d589302e2505e4bd6b91a41dfcabedc14d032f51668d94ecba19aaeba0bbd19dee5a0194cea9ba674d4
|
||||
DIST xen-4.2.5-upstream-patches-6.tar.xz 19908 SHA256 29e0eb892f18fba8de51a7cfae9d7781e376f45adda7b57ab295b619832cbb95 SHA512 0f1a00b1a339e0d9fc0f0dbb440cc68b80bc8acc030898e7ad5de5b9c064ac0459b1a9228a4b7ef06fc46572fd921bd70121f407d8481ace9a5495607d94e7bd WHIRLPOOL 06e4eabbe9be3a2f94fa65e7658d3019155f802f7fff90c0b8250e5fd21435b08cde9ce4ddb9322f52a5c6e45a5f04dc2a2f7082402af736d34dbb37844f0f28
|
||||
DIST xen-4.2.5.tar.gz 15671925 SHA256 3cf440866315e8085050eb0586f0447b6b47a08dbed6a72226bf5ed5d89ec567 SHA512 42c0fc241952fc55fc44480fb6752b004b54ae40e946159ec047adf229b65cbfbd810271d01b064ad8fdbddb73c640dcdcb6bc19f91e8968829889c129920dac WHIRLPOOL 762a91c0111892b33e6bd3e7f7714709b04697ad7c2b0919fef6cc9570a343a77fd5a2b82833e75dac9d12d4e41acdcf0743b0d593595910ddd326f5cd721368
|
||||
DIST xen-4.3.3-upstream-patches-2.tar.xz 36832 SHA256 f4abfddb5fda721c899702798a1d4e067b15079e7c3146d4ebf574253ad3f000 SHA512 dde846e13bffb65b80487ab6072486183b67ea1aa30fad2dfffdf242bf35f52839b2c8f055473a85a565e263b484ceba538efef680c7166d5a59d5f2c23ee81e WHIRLPOOL 76e01f62580b27ed7ab0c5816f2015e0ddae8bee8abcd3b48746427a759d55accb29caa3b8ac77ceb0161b9ae02966a41c7e3f31559d111d43ecdb18a1085a1d
|
||||
DIST xen-4.3.3-upstream-patches-6.tar.xz 55384 SHA256 4174e89e93c62b5643b198f099ffceed222a2f7ec3360f83a0b3da0ae1b2d673 SHA512 9b5e20f7186b78f8c24991795c98c0ad0634632ac7e357dbce37c1487fb1f2b630b33e8ae85fec03e94f45f6760e1e34e4a3354077129a0cae52cc5d574e62e3 WHIRLPOOL 18c22e103cc8a8219ff256cf3bc269a130eaca5229b219e907ebc86d20d6c38cff37b9d62677c6a0717717fccd65ef0cd9ca6bc8ec0150dc56ef7f6313be4d70
|
||||
DIST xen-4.3.3-upstream-patches-7.tar.xz 56984 SHA256 781e429fc441cb1a6c1fca94c62b9ea2754eee64b5b916096847eb319733ac7f SHA512 597fd2dcd68887debd08082f47d941352f4d991296cbcba073d19b998b8f039eb516d02572592835a86ed822adbb63287ae2b10b54d3706a6730e421a84f0340 WHIRLPOOL 38c2606eb858b3d145be1d9405db6a7840c58f27193cfaa37f2f48e1c42a25f6f2bb2821188f2b86e87773ac1b8cc7223f04e557b5a8732713bce298431b0fe5
|
||||
DIST xen-4.3.3.tar.gz 16479922 SHA256 59eb0e1c4a1f66965fe56dcf27cdb5872bf7e0585b7f2e60bd7967ec7f744ebf SHA512 cd9b7199d2859a856c719b75ee50a059c480f7493bbc493bcc3701d20321bd6d83c6fe1dd58e7b37695639bccf15e6420fb52f7e699586e7750ea665e99f82fc WHIRLPOOL 17ee263cb2a4c7b37d399e8baa88dab5b01386959de9d481e8666340d486bc9f32d57d6e1cef1568009fe8dbb2437b9ad90c1bed832cdfedd4be3fe5bf0a7dec
|
||||
DIST xen-4.4.1-upstream-patches-7.tar.xz 63336 SHA256 7a6a81759485416972fb8237c2f93f7e4b3ecadcfb15eb4ddad9f69f4c50be25 SHA512 d8e4bbfd41aed49b6e0f7eb62ca478abd94401d8d5a9f88290bfda6461f33f276c0340a51af5d5b6e1d3e5fb06764f3fdf5702e5d5f6cda8f06b265694909baf WHIRLPOOL 1a1267eb5fff947663860030a819d2960c8682dc8cfcc6108bf7c42c97a9ce8450ef9b0210df804dfba1dcbc5685c17e6009aba8d754e9a47e4001f9568e90f8
|
||||
DIST xen-4.4.1-upstream-patches-8.tar.xz 65272 SHA256 727d76c83e0697f9698b6bf52d36060372c1030a24f29798b39108c6ba850f38 SHA512 fc435be990ff8bf4b4d79150e7de54b63d8673be1fcc75c6f89a985d83052d19f45e350c21365d8301118b8bf1f386d2c5e0b5dda9dc44d2104de1ad3c46c745 WHIRLPOOL 0833495199258f53099c7e141c5cc641f45db6ec648487c2c624cb59ba788cd61d73baf7c5b3d2f155b91814c42173e15d101c5f1baa27cb153a2ac9455d65dc
|
||||
DIST xen-4.4.1.tar.gz 18134427 SHA256 55b49d3c4575d7791275125ff87c0f86f1d1e0f7f2718b6fd1c4f88a9bc7ea25 SHA512 bcd577014f4e8cb37b934f17a4dfb6f12e72e865a9e553cc435fdbe6665c733a4d20a812bf126727eca0946188a6abbd9419579757d7e03a38059f3656371c1c WHIRLPOOL f29eab626729f36de3f2e2c6c8446da4a05085818e18c28f07fe364065e05f0af67602eeb988091df3027a844ad0ccd52b6a0ee86592c7ff6008f961b9bd4bcf
|
||||
DIST xen-4.5.0-upstream-patches-2.tar.xz 25484 SHA256 423eaed699020bf602554bf554588ff4c1b3d933363a60b9a01eb7b0bb4365c2 SHA512 34b8f04e19c8565078a1bd9f22417b7c2a827005c8c97ff8ab94f7b5585153306fcd27393069c6257fcb3776124a5d0d9a032e28f6128043000bacee5baa88c8 WHIRLPOOL 68f021cc259601a680d2b4a56ad7ec835c27be6be72211281cdf70f28498910f389ade0182080906b278304aca20f0dee479c8d052ed7a1b161c2c0e12db2b17
|
||||
DIST xen-4.5.0-upstream-patches-3.tar.xz 27560 SHA256 25bd1414f56b2279efc0ba6a915fd86cf5d3c2fdee26da5876a8a4e875aa0132 SHA512 73bfba732b344bc45bf484b586b004852207fed08d69263ba1354ad14a2941df131526c2669a93b8bc55f231ddfc13f1d30a3f4aefdbb7e609616ab555396f76 WHIRLPOOL 454f8d1b5e4b433bca7691323220867ab50467aca998ccdfeb4dc51a44e4315ac32d830560cdf29ea31f39fc3c41d03945aee2ec0bb4e8cb8c8912654ac34ff6
|
||||
DIST xen-4.5.0.tar.gz 18404933 SHA256 5bdb40e2b28d2eeb541bd71a9777f40cbe2ae444b987521d33f099541a006f3b SHA512 31621fbaf621ad350125d03366ecff4dec5d810b0c1242ca0e28788f7556ac1443d7ee9247e1f76dec07e148e0b4ae16d08a7c10101bb78d6529375f3e40998e WHIRLPOOL 4a77588a4aa4846cfbf9493ab20bd2f293c55a941a5639fdd166a43f284cc0cc7218969def755a1acd89e640181bdd862fff0b566cfb8e628d73deeb6369c924
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST epkg-0.2.tar.gz 702 SHA256 93e7171a31800e1e8c69f14fb43d1738e7fda595b4eab9a045374e28708af8f4 SHA512 bbb3579be7138dcaee177b31deea406c3775e9f9ca01b79704a0b13279a5ebc1eaa1f9bbf47067370332c58102acdbc0fab718923c34e4cfcb062ffff773b165 WHIRLPOOL 2bfd1982fb2422f410f5c2a202a144735baad8b0adbefb9d1b4830c775b0d842f27b970d213ad31ceec1041842e1499bf6230de048734cebd28ea7f1c7dc587e
|
||||
DIST epkg-0.3.tar.gz 2926 SHA256 f996ab4aaa64c42d1e4635da46e65d57445d2f6c9a059e0b471dd140d5798b5e SHA512 2b815305c00b50a7a7e433345dd722591a1106edbf9b79715e70296489f4203fc1585a9abff826413d89ce8dde2680a78c375659fd1767e8c13e6fe1b48d4c40 WHIRLPOOL 5caba1df0fc8c1e7a79fa2cbb44e6245b32f0bfda2f5f27feec9e7e779bf047947e0adf9d10045f05cfaaa5b665be25595bce901b23bc7024df76ff496dfeaad
|
||||
DIST epkg-0.4.tar.gz 3696 SHA256 7b3f51ed9fbbc931d2378525595379559e6d893d0c71b41a4529ea6f91b853a7 SHA512 2b9ef0e2d0ec123a1e333403371d0d4d750bc5247a05771dc2f694d225ea5db2702dbc9a126cec1d0ddca38dffa837dd66acaa046ac94d00a28890f3e3cd7879 WHIRLPOOL 63bf5fc3ce3017ad708cb9e42585e934369fb9249d9910f49bce52a6c71edf2729df8d065b80dc4dc4555433538b0f457531566603492412d1512bb227d4104c
|
||||
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/epkg/epkg-0.4.ebuild,v 1.1 2015/03/14 18:50:32 jdhore Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="A simple portage wrapper which works like other package managers"
|
||||
HOMEPAGE="http://github.com/jdhore/epkg"
|
||||
SRC_URI="https://github.com/jdhore/${PN}/archive/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}/${PN}-${P}"
|
||||
DEPEND=""
|
||||
RDEPEND="app-portage/eix
|
||||
app-portage/gentoolkit
|
||||
sys-apps/portage"
|
||||
|
||||
src_install() {
|
||||
dobin epkg
|
||||
doman doc/epkg.1
|
||||
}
|
@ -1,6 +1,5 @@
|
||||
DIST calibre-1.20.0.tar.xz 32430560 SHA256 475e09b1be4b9977240cbbe6743ab79da4b1f1afe3fe6015d212d868e8f2fac4 SHA512 84ac25080cf4948398b79f9a1af688cca9cf9a5a9200b2aad649f5fda1cd0556be4ade0c8b09ea6ffcc95654eac0aaaa5b8f8ed6ea9830174bc150e64de85e31 WHIRLPOOL 61b6ecde2e3f8679c1afea95dcd152a94ce03522c06dff34b406a5705f6255243f0565fbb5f9bef3ac96d7127190bd1b4363233fa24fafcd0412e061201f6fe8
|
||||
DIST calibre-1.47.0.tar.xz 36581960 SHA256 efeb71a5bb4742a9c0a99038fdd97baa55c35e8ba5312e19e422c004bbf5b8c2 SHA512 c6131422891bed0615644336ad1dfc52803ff28d7d33994bea4a34f70655d12ab6b638432156665132805a900324742c41f8d5b7963f24eee4b68359fc433ece WHIRLPOOL dac2b04e195206d7956d7bdb5f45b37cd1e7a873db542d26bd0802d886fb9111aba1e603a795d03a2bf3b55d8cdb92671e11dfdc9fdcdc0707e280a380548f0b
|
||||
DIST calibre-1.48.0.tar.xz 35126680 SHA256 e704090f6611c5e374252c3f1b58e077ccd3170a3ea39893e5bf687287abf472 SHA512 0b70f16b10e6c9bbc24955baf74e8fc8e116aaaa1d75d018f5135f657606286de3bfffbebf3b367b2be52708deb05a162de919bba930dcbff59c4ec15c13b28d WHIRLPOOL 1a07a8c916119e92bdf41276db1aef572b704271808bcd6c3a0a4e823c8a76bd2f4267765dee2f378430beec401288b25b35dee6859980adf5b7a9ebe885eff9
|
||||
DIST calibre-2.18.0.tar.xz 36196564 SHA256 bd470b1dc3e286912866e83f2fa23646594065102896f8efb6705502a39bc716 SHA512 bad35d108e5a46c56e901c006e07f4897eab82a02ff1cc064763bcee913cac278ba31454a0ea0a047f214810fda52f9a1dc0357849864f3071994f63ca9e44d9 WHIRLPOOL 5f56cc8337e6d0a8d300eb134beaa88884831b96824cceca138057099aac3e576a6c0f5d67fea5e6f58c54d4154d984a05789ba5efc551d0a992142f004bc3a5
|
||||
DIST calibre-2.19.0.tar.xz 36149428 SHA256 76318803979456e9dbac5903436ea8a1a47355a22d69f6a44c292e0a510c92a9 SHA512 8535e4fc27b9196a3f72134d73fb0496ee0c95cb0615f4e1c4abf392022498aabfa7abb3cfa24262e03f77710754a2eea53e5a4d906d76ac815bab72567b975e WHIRLPOOL 5593a9f200ea16a140ad6306253dd80521d2f030437bd9b803794050b5f686cefae1a8989747d9741ffb462d424b2a9b94c35c3562efc1a523856b87d232a1f4
|
||||
DIST calibre-2.20.0.tar.xz 36187720 SHA256 6d529240eb317c34aa82ca85779c9685453e1bb7192652d8d097fcbe8933448c SHA512 3df3f7ba92d81c6ef47efbdb2ab995db0d3f19cee9857836a603c96f7a145657e16e5ed0b5cc5a59a449e1fa2e76d203e70ad2587871ecb38f06ecf75a309350 WHIRLPOOL 3236a89098d4e171f27b7a42e694c9fa3ca628077fbc495b1a911984a1d7670eb43740fa957578e5c145c19416ce0441849ce0c773ed0abd607d7ff54ad710fa
|
||||
DIST calibre-2.21.0.tar.xz 36415844 SHA256 eb15469ece3f8ac3005f6a0ec1a6ad68b58f185c5e493334ebba2edea578b1a9 SHA512 e6ebd09c8a1d981598e2d7df994682cb8adc1d0f78be1cee4afe750e72e58834ef69d4d95cd2edcd163b12771468ee44c161c66287d17130e8a6451063ca4b6d WHIRLPOOL 1e5da868d73566a0f9779a51655a045b4c1a1ab96b132a735e5e2410ebce826ed9bb72df2b04a6273a25853997836c8a3416da41cea70de8908bbd88a950020c
|
||||
|
@ -1,233 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-2.19.0.ebuild,v 1.2 2015/02/12 07:26:43 yngwin Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils fdo-mime bash-completion-r1 multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="Ebook management application"
|
||||
HOMEPAGE="http://calibre-ebook.com/"
|
||||
[[ ${PV} == ${PV%.*}.${PV#*.} ]] && MY_PV=${PV}.0 || MY_PV=${PV}
|
||||
SRC_URI="http://sourceforge.net/projects/calibre/files/${MY_PV}/${PN}-${MY_PV}.tar.xz"
|
||||
|
||||
LICENSE="
|
||||
GPL-3+
|
||||
GPL-3
|
||||
GPL-2+
|
||||
GPL-2
|
||||
GPL-1+
|
||||
LGPL-3+
|
||||
LGPL-2.1+
|
||||
LGPL-2.1
|
||||
BSD
|
||||
MIT
|
||||
Old-MIT
|
||||
Apache-2.0
|
||||
public-domain
|
||||
|| ( Artistic GPL-1+ )
|
||||
CC-BY-3.0
|
||||
OFL-1.1
|
||||
PSF-2
|
||||
unRAR
|
||||
"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
SLOT="0"
|
||||
IUSE="+udisks"
|
||||
|
||||
# Note, dropped dep on >=app-text/poppler-0.20.2:=[qt4,xpdf-headers(+)] as #1, its qt5 now, and
|
||||
# 2, because repoman blew up when it was there, and my installed copy doesnt seem to link to it.
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=app-text/podofo-0.8.2:=
|
||||
>=dev-lang/python-2.7.1:2.7[sqlite,ssl]
|
||||
>=dev-libs/chmlib-0.40:=
|
||||
>=dev-libs/icu-4.4:=
|
||||
dev-libs/glib:2
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5
|
||||
>=media-gfx/imagemagick-6.5.9[jpeg,png]
|
||||
media-libs/fontconfig
|
||||
>=media-libs/freetype-2:=
|
||||
>=media-libs/libmtp-1.1.5:=
|
||||
sys-libs/zlib
|
||||
udisks? ( virtual/libudev )
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXrender
|
||||
>=dev-python/apsw-3.7.17[python_targets_python2_7(-)]
|
||||
>=dev-python/beautifulsoup-3.0.5:python-2[python_targets_python2_7(-)]
|
||||
dev-python/netifaces[python_targets_python2_7(-)]
|
||||
>=dev-python/dnspython-1.6.0[python_targets_python2_7(-)]
|
||||
>=dev-python/cssselect-0.7.1[python_targets_python2_7(-)]
|
||||
>=dev-python/cssutils-0.9.9[python_targets_python2_7(-)]
|
||||
>=dev-python/dbus-python-0.82.2[python_targets_python2_7(-)]
|
||||
>=dev-python/lxml-3.2.1[python_targets_python2_7(-)]
|
||||
>=dev-python/mechanize-0.1.11[python_targets_python2_7(-)]
|
||||
>=dev-python/python-dateutil-1.4.1[python_targets_python2_7(-)]
|
||||
>=dev-python/PyQt5-5.2.0[gui,svg,webkit,widgets,network,printsupport,python_targets_python2_7(-)]
|
||||
media-fonts/liberation-fonts
|
||||
>=media-libs/libwmf-0.2.8
|
||||
virtual/libusb:1=
|
||||
virtual/python-imaging[python_targets_python2_7(-)]
|
||||
>=x11-misc/xdg-utils-1.0.2-r2"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
udisks? ( || ( sys-fs/udisks:2 sys-fs/udisks:0 ) )"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=dev-python/setuptools-0.6_rc5
|
||||
>=virtual/podofo-build-0.8.2"
|
||||
|
||||
src_prepare() {
|
||||
# Fix outdated version constant.
|
||||
#sed -e "s#\\(^numeric_version =\\).*#\\1 (${PV//./, })#" \
|
||||
# -i src/calibre/constants.py || \
|
||||
# die "sed failed to patch constants.py"
|
||||
|
||||
# Avoid sandbox violation in /usr/share/gnome/apps when linux.py
|
||||
# calls xdg-* (bug #258938).
|
||||
sed -e "s|'xdg-desktop-menu', 'install'|\\0, '--mode', 'user'|" \
|
||||
-e "s|check_call(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \
|
||||
-e "s|\\(CurrentDir(tdir)\\), \\\\\$|\\1:|" \
|
||||
-e "s|PreserveMIMEDefaults():||" \
|
||||
-e "s|xdg-icon-resource install|\\0 --mode user|" \
|
||||
-e "s|cc(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \
|
||||
-e "s|'xdg-mime', 'install'|\\0, '--mode', 'user'|" \
|
||||
-i src/calibre/linux.py || die "sed failed to patch linux.py"
|
||||
|
||||
# Disable unnecessary privilege dropping for bug #287067.
|
||||
sed -e "s:if os.geteuid() == 0:if False and os.geteuid() == 0:" \
|
||||
-i setup/install.py || die "sed failed to patch install.py"
|
||||
|
||||
sed -e "/^ self\\.check_call(qmc + \\[.*\\.pro'\\])$/a\
|
||||
\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ self.check_call(['sed', \
|
||||
'-e', 's|^CFLAGS .*|\\\\\\\\0 ${CFLAGS}|', \
|
||||
'-e', 's|^CXXFLAGS .*|\\\\\\\\0 ${CXXFLAGS}|', \
|
||||
'-e', 's|^LFLAGS .*|\\\\\\\\0 ${LDFLAGS}|', \
|
||||
'-i', 'Makefile'])" \
|
||||
-i setup/extensions.py || die "sed failed to patch extensions.py"
|
||||
|
||||
# use system beautifulsoup, instead of bundled
|
||||
rm -f "${S}"/src/calibre/ebooks/BeautifulSoup.py \
|
||||
|| die "could not remove bundled beautifulsoup"
|
||||
find "${S}" -type f -name \*.py -exec \
|
||||
sed -e 's/calibre.ebooks.BeautifulSoup/BeautifulSoup/' -i {} + \
|
||||
|| die "could not sed bundled beautifulsoup out of the source tree"
|
||||
|
||||
# avoid failure of xdg tools to recognize vendor prefix
|
||||
sed -e "s|xdg-icon-resource install|xdg-icon-resource install --novendor|" \
|
||||
-e "s|'xdg-mime', 'install'|'xdg-mime', 'install', '--novendor'|" \
|
||||
-e "s|'xdg-desktop-menu', 'install'|'xdg-desktop-menu', 'install', '--novendor'|" \
|
||||
-i "${S}"/src/calibre/linux.py || die 'sed failed'
|
||||
|
||||
# no_updates: do not annoy user with "new version is availible all the time
|
||||
# disable_plugins: walking sec-hole, wait for upstream to use GHNS interface
|
||||
epatch \
|
||||
"${FILESDIR}/${PN}-2.9.0-no_updates_dialog.patch" \
|
||||
"${FILESDIR}/${PN}-disable_plugins.patch"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Bypass kbuildsycoca and update-mime-database in order to
|
||||
# avoid sandbox violations if xdg-mime tries to call them.
|
||||
cat - > "${T}/kbuildsycoca" <<-EOF
|
||||
#!${BASH}
|
||||
echo $0 : $@
|
||||
exit 0
|
||||
EOF
|
||||
|
||||
cp "${T}"/{kbuildsycoca,update-mime-database}
|
||||
chmod +x "${T}"/{kbuildsycoca,update-mime-database}
|
||||
|
||||
export QMAKE="${EPREFIX}/usr/$(get_libdir)/qt5/bin/qmake"
|
||||
|
||||
# Unset DISPLAY in order to prevent xdg-mime from triggering a sandbox
|
||||
# violation with kbuildsycoca as in bug #287067, comment #13.
|
||||
export -n DISPLAY
|
||||
|
||||
# Bug #352625 - Some LANGUAGE values can trigger the following ValueError:
|
||||
# File "/usr/lib/python2.6/locale.py", line 486, in getdefaultlocale
|
||||
# return _parse_localename(localename)
|
||||
# File "/usr/lib/python2.6/locale.py", line 418, in _parse_localename
|
||||
# raise ValueError, 'unknown locale: %s' % localename
|
||||
#ValueError: unknown locale: 46
|
||||
export -n LANGUAGE
|
||||
|
||||
# Bug #295672 - Avoid sandbox violation in ~/.config by forcing
|
||||
# variables to point to our fake temporary $HOME.
|
||||
export HOME="${T}/fake_homedir"
|
||||
export XDG_CONFIG_HOME="${HOME}/.config"
|
||||
export XDG_DATA_HOME="${HOME}/.local/share"
|
||||
export CALIBRE_CONFIG_DIRECTORY="${XDG_CONFIG_HOME}/calibre"
|
||||
mkdir -p "${XDG_DATA_HOME}" "${CALIBRE_CONFIG_DIRECTORY}"
|
||||
|
||||
tc-export CC CXX
|
||||
# Bug #334243 - respect LDFLAGS when building extensions
|
||||
export OVERRIDE_CFLAGS="$CFLAGS" OVERRIDE_LDFLAGS="$LDFLAGS"
|
||||
local libdir=$(get_libdir)
|
||||
[[ -n $libdir ]] || die "get_libdir returned an empty string"
|
||||
|
||||
# Bug #472690 - Avoid sandbox violation for /dev/dri/card0.
|
||||
local x
|
||||
for x in /dev/dri/card[0-9] ; do
|
||||
[[ -e ${x} ]] && addpredict ${x}
|
||||
done
|
||||
|
||||
dodir "/usr/$(get_libdir)/python2.7/site-packages" # for init_calibre.py
|
||||
PATH=${T}:${PATH} PYTHONPATH=${S}/src${PYTHONPATH:+:}${PYTHONPATH} \
|
||||
"${EPREFIX}"/usr/bin/python2.7 setup.py install \
|
||||
--root="${D}" \
|
||||
--prefix="${EPREFIX}/usr" \
|
||||
--libdir="${EPREFIX}/usr/${libdir}" \
|
||||
--staging-root="${ED}usr" \
|
||||
--staging-libdir="${ED}usr/${libdir}" || die
|
||||
|
||||
grep -rlZ "${ED}" "${ED}" | xargs -0 sed -e "s:${D}:/:g" -i ||
|
||||
die "failed to fix harcoded \$D in paths"
|
||||
|
||||
# The menu entries end up here due to '--mode user' being added to
|
||||
# xdg-* options in src_prepare.
|
||||
dodir /usr/share/mime/packages
|
||||
chmod -fR a+rX,u+w,g-w,o-w "${HOME}"/.local
|
||||
mv "${HOME}"/.local/share/mime/packages/* "${ED}"usr/share/mime/packages/ ||
|
||||
die "failed to register mime types"
|
||||
dodir /usr/share/icons
|
||||
mv "${HOME}"/.local/share/icons/* "${ED}"usr/share/icons/ ||
|
||||
die "failed to install icon files"
|
||||
|
||||
domenu "${HOME}"/.local/share/applications/*.desktop ||
|
||||
die "failed to install .desktop menu files"
|
||||
|
||||
find "${ED}"usr/share -type d -empty -delete
|
||||
|
||||
cd "${ED}"/usr/share/calibre/fonts/liberation || die
|
||||
local x
|
||||
for x in * ; do
|
||||
[[ -f ${EROOT}usr/share/fonts/liberation-fonts/${x} ]] || continue
|
||||
ln -sf "../../../fonts/liberation-fonts/${x}" "${x}" || die
|
||||
done
|
||||
|
||||
einfo "Converting python shebangs"
|
||||
while read -r -d $'\0' ; do
|
||||
local shebang=$(head -n1 "$REPLY")
|
||||
if [[ ${shebang} == "#!"*python* ]] ; then
|
||||
sed -i -e "1s:.*:#!${EPREFIX}/usr/bin/python2.7:" "$REPLY" || \
|
||||
die "sed failed"
|
||||
fi
|
||||
done < <(find "${ED}" -type f -print0)
|
||||
|
||||
einfo "Compiling python modules"
|
||||
"${EPREFIX}"/usr/bin/python2.7 -m compileall -q -f \
|
||||
-d "${EPREFIX}"/usr/lib/calibre "${ED}"usr/lib/calibre || die
|
||||
|
||||
newinitd "${FILESDIR}"/calibre-server.init calibre-server
|
||||
newconfd "${FILESDIR}"/calibre-server.conf calibre-server
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
}
|
@ -0,0 +1,106 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/poppler/poppler-0.32.0.ebuild,v 1.1 2015/03/13 22:59:46 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit cmake-utils toolchain-funcs
|
||||
|
||||
if [[ "${PV}" == "9999" ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="git://git.freedesktop.org/git/${PN}/${PN}"
|
||||
KEYWORDS=""
|
||||
SLOT="0/9999"
|
||||
else
|
||||
SRC_URI="http://poppler.freedesktop.org/${P}.tar.xz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
SLOT="0/51" # CHECK THIS WHEN BUMPING!!! SUBSLOT IS libpoppler.so SOVERSION
|
||||
fi
|
||||
|
||||
DESCRIPTION="PDF rendering library based on the xpdf-3.0 code base"
|
||||
HOMEPAGE="http://poppler.freedesktop.org/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
IUSE="cairo cjk curl cxx debug doc +introspection +jpeg jpeg2k +lcms png qt4 qt5 tiff +utils"
|
||||
|
||||
# No test data provided
|
||||
RESTRICT="test"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=media-libs/fontconfig-2.6.0
|
||||
>=media-libs/freetype-2.3.9
|
||||
sys-libs/zlib
|
||||
cairo? (
|
||||
dev-libs/glib:2
|
||||
>=x11-libs/cairo-1.10.0
|
||||
introspection? ( >=dev-libs/gobject-introspection-1.32.1 )
|
||||
)
|
||||
curl? ( net-misc/curl )
|
||||
jpeg? ( virtual/jpeg:0 )
|
||||
jpeg2k? ( media-libs/openjpeg:0 )
|
||||
lcms? ( media-libs/lcms:2 )
|
||||
png? ( media-libs/libpng:0= )
|
||||
qt4? (
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtgui:4
|
||||
)
|
||||
qt5? (
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtxml:5
|
||||
)
|
||||
tiff? ( media-libs/tiff:0 )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
cjk? ( >=app-text/poppler-data-0.4.4 )
|
||||
"
|
||||
|
||||
DOCS=(AUTHORS NEWS README README-XPDF TODO)
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.26.0-qt5-dependencies.patch"
|
||||
"${FILESDIR}/${PN}-0.28.1-respect-cflags.patch"
|
||||
"${FILESDIR}/${PN}-0.28.1-fix-multilib-configuration.patch" )
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_GTK_TESTS=OFF
|
||||
-DBUILD_QT4_TESTS=OFF
|
||||
-DBUILD_QT5_TESTS=OFF
|
||||
-DBUILD_CPP_TESTS=OFF
|
||||
-DENABLE_SPLASH=ON
|
||||
-DENABLE_ZLIB=ON
|
||||
-DENABLE_XPDF_HEADERS=ON
|
||||
$(cmake-utils_use_enable curl LIBCURL)
|
||||
$(cmake-utils_use_enable cxx CPP)
|
||||
$(cmake-utils_use_enable jpeg2k LIBOPENJPEG)
|
||||
$(cmake-utils_use_enable utils)
|
||||
$(cmake-utils_use_with cairo)
|
||||
$(cmake-utils_use_with introspection GObjectIntrospection)
|
||||
$(cmake-utils_use_with jpeg)
|
||||
$(cmake-utils_use_with png)
|
||||
$(cmake-utils_use_with qt4)
|
||||
$(cmake-utils_use_find_package qt5 Qt5Core)
|
||||
$(cmake-utils_use_with tiff)
|
||||
)
|
||||
if use lcms; then
|
||||
mycmakeargs+=(-DENABLE_CMS=lcms2)
|
||||
else
|
||||
mycmakeargs+=(-DENABLE_CMS=)
|
||||
fi
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
if use cairo && use doc; then
|
||||
# For now install gtk-doc there
|
||||
insinto /usr/share/gtk-doc/html/poppler
|
||||
doins -r "${S}"/glib/reference/html/*
|
||||
fi
|
||||
}
|
@ -1,8 +1,6 @@
|
||||
DIST phpMyAdmin-4.0.10.8-all-languages.tar.xz 4776844 SHA256 50b4038d6b3335291fc1204cc3959db30afd69165db327b8c3eaeb5b38ef817d SHA512 98d5c843154e0c926678ab8ed9f40bede84a14dc477fee36936c20811a4e270952f756400701c407f9535c05b7fac2272eebe3a43d8e8dbcf989eb6940b4b493 WHIRLPOOL 3b8e06fa7cc16dd57cf9912ccc9e6122afe11150eb8ce983bb83f471df4b63f3af58074a026989af38465a45a1160088155fdda56e9e3b93008d2e0b47d9fb12
|
||||
DIST phpMyAdmin-4.1.14.7-all-languages.tar.xz 4879304 SHA256 72b954bbf95bacc70436450026915e4740274ee0c71eeb314a9f491788bb63b6 SHA512 03ffdd485b9e7ad4661189bcf3fca8892fb2c34d0b995d44b2c5e88c27b28095f0e8654109741b41543b56872c8b5d6dadb94e929e6332565f4a3ca5c3302383 WHIRLPOOL 850021d72cdec8af74433f8cd9f6c9a92e9950dd893ad96941a2146079f88bbbd3eb95e3fc45e7e81d656f3a952b5fdce6f4dd109804de2d19a78f06d5275ff4
|
||||
DIST phpMyAdmin-4.0.10.9-all-languages.tar.xz 4776232 SHA256 ca8399711dcd613f3e13de706ced326885001a0891b31dc9677dd3a23cc78258 SHA512 fbc973b2719162c2aa8a7c88d395d513c2425259a3b69ecbdfc08f954c6dc25146fae41e4d67c57815782e3cf36580ef50ed870ee245463f59948f9062882b2a WHIRLPOOL 6dc1c230f3ed95ee828909d6b96fadcca25c19ea90fcdc38359d7ddd8ee8acf1724e9f4fd592ef60a6a41498badc1ec3ab983a36ca9f41f4e4e4efbed59952d0
|
||||
DIST phpMyAdmin-4.1.14.8-all-languages.tar.xz 4881004 SHA256 e2a2fee1658e3108048907a257b8f291fcfbd5840690e8f4711f9ea28233dce8 SHA512 34d28f04d6a808565ecc3d7187b2719d1e25e55d6248e3ea516e5914bd5a70aab0d9c4df3525cb8e77b37949a78671235af46e22871fe26ba999aa01b01c44d2 WHIRLPOOL a2e236a47154117c1bee3b9a51d4c3da9d1bd5834e3167174cbd80e562b5c14424b7e75de814f85d1ade1f6501b665a2af21cedd1c87be2ea6a9e151c0d8a2cf
|
||||
DIST phpMyAdmin-4.2.13-all-languages.tar.xz 5204232 SHA256 1bab6ef2e930ea4a92346c0945908cffba3efa45d6f39413b351cc8a2a017377 SHA512 d3cc81a9fdf212a0e86f88c77a1de195894998a338762ea8896e3c20c17f0faae56cb3752ef6fffdd67f5073b8a7e800001d1a11d8e8475ffe594879348ed0b5 WHIRLPOOL 4b6e69e630ccb350d1e3b5ddae1f0f81008b71ad4f43298c983d45d8a91e8be220adbd4f6a43a2b5cb26e87e0ce32d1bd349099a1634c024fcf0e394cc517b2e
|
||||
DIST phpMyAdmin-4.2.13.1-all-languages.tar.xz 5205324 SHA256 bc179dd35f6aa6d01b573f1e11b594d357fb2c09405b7fec06de5059adbec7c4 SHA512 121e6f063d7f4c4e8eaf048c9f68aaff713206ae077090fed671328f3fbd6f7d723309719c38e3a800c149630c1e2038b3f002bff7b48337278925cecf178b58 WHIRLPOOL 0bf85889e37f68907e8565a41d2e9ba804d41f8ad223a6d650117a93bd0900de242bed318a3cb467556b17eb2618d46571908090165cab666a2782a6f7465b3c
|
||||
DIST phpMyAdmin-4.3.10-all-languages.tar.xz 5443264 SHA256 9485bc83366ff0f556005941d74b5f93499937e213e8bfcef3e20368eeeedcbb SHA512 4524ed3bde2b5df870e3e7fb452e1ca6a28360ba1346752d54c8bbe1d6cc412d42352147da67a00ef198ea1f1ad5c8324ec8f6ddcb17dc167e89792191140762 WHIRLPOOL 06c40a7ae38c714dfbb25deadb434dcfe6257c97038153ae3ef7abfd56bc97a701c80b0948b6053ed7f7c177b08d14af8482ccb0c2cddb5d317859c717e5b755
|
||||
DIST phpMyAdmin-4.3.5-all-languages.tar.xz 5397680 SHA256 d499fb0c6178dcb488cf522124f84fc5babfcd6ce336706978f4020daf667df8 SHA512 dd8f29e96392a362718b793c3f649ab13f29d443f456a38d2b84c1eebba6bad194609d35329c51449c242fcdb0c5c085e25b6bb75ef8ae01f9b8e6029a616dbb WHIRLPOOL ef796804c4f14f5ddc931414fd9e6f82d4eedcee3e0537ca9cc7580faa9f1c3769387b319e548569f7609d2c9c597fc182d2300dc36abc8ef9ab5aefb6d4a669
|
||||
DIST phpMyAdmin-4.3.8-all-languages.tar.xz 5364656 SHA256 6d3a41382d878f59a959ceb25a671c8ed3a4ac9d0dc54e8de567c3ba264460e7 SHA512 e1ebb87a93e8557524b491be332f45af406de34a44f585692828276f5bfa6e65567f0747e466dbfbcc728715ab3702032b5172bc0cb48a8e2cb4bfedf632d177 WHIRLPOOL 130c00e3ca1145846ce5ef1eb2fb50dca216a7d12ecc7a6130afaa41aeaaba3dac8583989682ca223631e1e3779e4eeade1a876807b915bdbc09f3e5dd09593c
|
||||
DIST phpMyAdmin-4.2.13.2-all-languages.tar.xz 5204448 SHA256 3a8262fe392337d1963e8bc4364e280ced8ecace32c94cae0a4394cbf19256ee SHA512 944a324269b28290e57d15d7ed247594ab62c7117c763069ee4739c4bde2b09dbc59297745459dde4ec083771318ccb1f462eb828bdca31451fa13c5e9e2f6bd WHIRLPOOL bdeced7f9ff774be06c68c2b0dfd461133012530795b1530155f67d36a6ad6b9e9da418ce842ed1b79e900cf19fe0659547b0cd4c2ffd696e9f96b69d9b8eefb
|
||||
DIST phpMyAdmin-4.3.12-all-languages.tar.xz 5370996 SHA256 2ef69b32af8dfb51523378b654b0d3ee58a08fc80ab7ef2d1bdc38e0e26956ce SHA512 d7bb599ed3f2d5674e0b03df519a8c7a293f8a2814b7d28dab66161e0e3eb40e8e4943f436d113829df5187d1b802cb53dad7495efbeccc64f79d2190df4d688 WHIRLPOOL a008f10f2901fe774af151ac28230f0eb0294d74213a1a0f95909d5c98dee543b81647dbe9d5f014513743aca5d00847871506d46f5dcaf430e4936c493ff8be
|
||||
DIST phpMyAdmin-4.4.0-beta1-all-languages.tar.xz 5665800 SHA256 7d3379b377618850d358e6d2760c71f48616068fd7b454662866fa8f8ce90854 SHA512 8d77b437122da5f2315628d442eae9eacacab0c03f85a15026f991d09d7c5f0a5e8148414f77353a2f4b55a913eb4828e3c1781e84cf7a346791d7d5af21d15c WHIRLPOOL 89f6dc1b7fa64a33fa09b2a7cf0bf9510f5eee65f74e08f6920bdd64ae968d4182704f712a9d193c5ba301480c9b4ef29003d4d5b0a6c1e8c3945c730932b3b5
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/phpmyadmin-4.0.10.8.ebuild,v 1.1 2015/01/07 16:23:03 jmbsvicetto Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/phpmyadmin-4.0.10.9.ebuild,v 1.1 2015/03/14 15:33:38 jmbsvicetto Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/phpmyadmin-4.1.14.7.ebuild,v 1.8 2014/12/26 09:28:43 ago Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils webapp depend.php
|
||||
|
||||
MY_PV=${PV/_/-}
|
||||
MY_P="phpMyAdmin-${MY_PV}-all-languages"
|
||||
|
||||
DESCRIPTION="Web-based administration for MySQL database in PHP"
|
||||
HOMEPAGE="http://www.phpmyadmin.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="alpha amd64 hppa ~ia64 ppc ppc64 sparc x86 ~x86-fbsd ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="setup"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/php[crypt,ctype,filter,json,session,unicode]
|
||||
|| (
|
||||
dev-lang/php[mysqli]
|
||||
dev-lang/php[mysql]
|
||||
)
|
||||
"
|
||||
|
||||
need_httpd_cgi
|
||||
need_php_httpd
|
||||
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
webapp_pkg_setup
|
||||
}
|
||||
|
||||
src_install() {
|
||||
webapp_src_preinst
|
||||
|
||||
dodoc README RELEASE-DATE-${MY_PV} ChangeLog || die
|
||||
rm -f LICENSE README* RELEASE-DATE-${MY_PV}
|
||||
|
||||
if ! use setup; then
|
||||
rm -rf setup || die "Cannot remove setup utility"
|
||||
elog "The phpMyAdmin setup utility has been removed."
|
||||
elog "It is a regular target of various exploits. If you need it, set USE=setup."
|
||||
else
|
||||
elog "You should consider disabling the setup USE flag"
|
||||
elog "to exclude the setup utility if you don't use it."
|
||||
elog "It regularly is the target of various exploits."
|
||||
fi
|
||||
|
||||
insinto "${MY_HTDOCSDIR#${EPREFIX}}"
|
||||
doins -r .
|
||||
|
||||
webapp_configfile "${MY_HTDOCSDIR#${EPREFIX}}"/libraries/config.default.php
|
||||
webapp_serverowned "${MY_HTDOCSDIR#${EPREFIX}}"/libraries/config.default.php
|
||||
|
||||
webapp_postinst_txt en "${FILESDIR}"/postinstall-en-3.1.txt
|
||||
webapp_src_install
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/phpmyadmin-4.3.8.ebuild,v 1.1 2015/02/02 04:43:23 jmbsvicetto Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/phpmyadmin-4.2.13.2.ebuild,v 1.1 2015/03/14 15:33:38 jmbsvicetto Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/phpmyadmin-4.2.13.ebuild,v 1.8 2014/12/26 09:28:43 ago Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils webapp depend.php
|
||||
|
||||
MY_PV=${PV/_/-}
|
||||
MY_P="phpMyAdmin-${MY_PV}-all-languages"
|
||||
|
||||
DESCRIPTION="Web-based administration for MySQL database in PHP"
|
||||
HOMEPAGE="http://www.phpmyadmin.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="alpha amd64 hppa ~ia64 ppc ppc64 sparc x86 ~x86-fbsd ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="setup"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/php[crypt,ctype,filter,json,session,unicode]
|
||||
|| (
|
||||
dev-lang/php[mysqli]
|
||||
dev-lang/php[mysql]
|
||||
)
|
||||
"
|
||||
|
||||
need_httpd_cgi
|
||||
need_php_httpd
|
||||
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
webapp_pkg_setup
|
||||
}
|
||||
|
||||
src_install() {
|
||||
webapp_src_preinst
|
||||
|
||||
dodoc README RELEASE-DATE-${MY_PV} ChangeLog || die
|
||||
rm -f LICENSE README* RELEASE-DATE-${MY_PV}
|
||||
|
||||
if ! use setup; then
|
||||
rm -rf setup || die "Cannot remove setup utility"
|
||||
elog "The phpMyAdmin setup utility has been removed."
|
||||
elog "It is a regular target of various exploits. If you need it, set USE=setup."
|
||||
else
|
||||
elog "You should consider disabling the setup USE flag"
|
||||
elog "to exclude the setup utility if you don't use it."
|
||||
elog "It regularly is the target of various exploits."
|
||||
fi
|
||||
|
||||
insinto "${MY_HTDOCSDIR#${EPREFIX}}"
|
||||
doins -r .
|
||||
|
||||
webapp_configfile "${MY_HTDOCSDIR#${EPREFIX}}"/libraries/config.default.php
|
||||
webapp_serverowned "${MY_HTDOCSDIR#${EPREFIX}}"/libraries/config.default.php
|
||||
|
||||
webapp_postinst_txt en "${FILESDIR}"/postinstall-en-3.1.txt
|
||||
webapp_src_install
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/phpmyadmin-4.3.5.ebuild,v 1.1 2015/01/05 22:01:59 jmbsvicetto Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/phpmyadmin-4.3.12.ebuild,v 1.1 2015/03/14 15:33:38 jmbsvicetto Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/phpmyadmin-4.3.10.ebuild,v 1.1 2015/03/01 17:02:21 jmbsvicetto Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/phpmyadmin-4.4.0_beta1.ebuild,v 1.1 2015/03/14 15:33:38 jmbsvicetto Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST MyGUI3.2.1.tar.gz 22076936 SHA256 37232d736159cd7d1a4d0291d714964505b7edc8d65cb0147533259d102f78cc SHA512 38a5fd89504f6f620d4bf539ab3e369695572adfa75bc846e2eb63c1ccd6d3d4edc3ec0f24e720edd0c780a36ec35eae251e32a6ee457f129b3ca9e88cab8f91 WHIRLPOOL 78929a8215f145bfa47a26d29aa37ac5aacdb0e46f41d082e808562ee8874e5f5a449eba98abfd280c1c87a69cc05ef3edb8a52296ebd206a084feaafd80d1b9
|
||||
DIST MyGUI3.2.2.tar.gz 22081236 SHA256 0a28d7ec8a47993cb68deb48b36331e28f12dd92580b709eaef21d599b67a78f SHA512 1290ce1d78b9e4bfe72bea3fb1bc6cdd25969b44be2844df62a1f425b3e221a68b61658fdf45271fb50a1957f12b5ada1c9be971e00ecfe41f53ae0a83ae18d4 WHIRLPOOL d79a765f4442a3a07e5cb886ac5f14a3d444cdb8c7d43f6900a8855316f71af643faa2a4a2f04a64d49a36f2e4fb6065292c856d1aaef2bca6ad79a7508d5bad
|
||||
DIST MyGUI_3.2.0.zip 14383788 SHA256 1704006f364b733b2d2cc6807c6dc10833cf695542b797aee50b8fd061eea19a SHA512 8ff8de065a6f355a03e45bfeac6d8db706ee7a122346f41ef26664dc8280d4d1cba8ac943afbaae27c5a1b7fb8bfa8729a1758cc87e8764370284aec943f9278 WHIRLPOOL 982c8fd9e714d7ebc5583a884953ef41fd6a2b2c1f62ec56bc81768ee607135116c14973e3eb4f528e636cf3ca1df6dd155931ea93b26fe537a66cb09a44aba4
|
||||
|
@ -0,0 +1,44 @@
|
||||
From: Julian Ospald <hasufell@gentoo.org>
|
||||
Date: Sat Oct 27 22:39:31 UTC 2012
|
||||
Subject: FHS
|
||||
|
||||
paths hardcoded until upstream fixed the logic
|
||||
|
||||
--- mygui-MyGUI3.2.2.orig/CMake/InstallResources.cmake
|
||||
+++ mygui-MyGUI3.2.2/CMake/InstallResources.cmake
|
||||
@@ -24,7 +24,7 @@
|
||||
else ()
|
||||
install(FILES
|
||||
${MYGUI_BINARY_DIR}/bin/${FILENAME}
|
||||
- DESTINATION "bin"
|
||||
+ DESTINATION "/etc/MYGUI"
|
||||
)
|
||||
endif ()
|
||||
endfunction(install_file)
|
||||
@@ -53,7 +53,7 @@
|
||||
if (WIN32)
|
||||
set(MYGUI_MEDIA_DIR "../../Media")
|
||||
elseif (UNIX)
|
||||
- set(MYGUI_MEDIA_DIR "../share/MYGUI/Media")
|
||||
+ set(MYGUI_MEDIA_DIR "${CMAKE_INSTALL_PREFIX}/share/MYGUI/Media")
|
||||
else ()
|
||||
set(MYGUI_MEDIA_DIR "../../Media")
|
||||
endif ()
|
||||
--- mygui-MyGUI3.2.2.orig/Common/Base/Ogre/BaseManager.cpp
|
||||
+++ mygui-MyGUI3.2.2/Common/Base/Ogre/BaseManager.cpp
|
||||
@@ -49,13 +49,13 @@
|
||||
mWindow(nullptr),
|
||||
mExit(false),
|
||||
mPluginCfgName("plugins.cfg"),
|
||||
- mResourceXMLName("resources.xml"),
|
||||
+ mResourceXMLName("/etc/MYGUI/resources.xml"),
|
||||
mResourceFileName("MyGUI_Core.xml")
|
||||
{
|
||||
#if MYGUI_PLATFORM == MYGUI_PLATFORM_APPLE
|
||||
mResourcePath = macBundlePath() + "/Contents/Resources/";
|
||||
#else
|
||||
- mResourcePath = "";
|
||||
+ mResourcePath = "/etc/MYGUI/";
|
||||
#endif
|
||||
}
|
||||
|
@ -0,0 +1,61 @@
|
||||
diff -ru mygui-MyGUI3.2.2.orig/CMake/ConfigureBuild.cmake mygui-MyGUI3.2.2/CMake/ConfigureBuild.cmake
|
||||
--- mygui-MyGUI3.2.2.orig/CMake/ConfigureBuild.cmake 2015-01-26 10:32:35.000000000 -0500
|
||||
+++ mygui-MyGUI3.2.2/CMake/ConfigureBuild.cmake 2015-03-14 01:09:40.743621643 -0400
|
||||
@@ -4,6 +4,8 @@
|
||||
# also prepare package files for pkg-config and CMake.
|
||||
#######################################################################
|
||||
|
||||
+include(GNUInstallDirs)
|
||||
+
|
||||
# should we build static libs?
|
||||
if (MYGUI_STATIC)
|
||||
set(MYGUI_LIB_TYPE STATIC)
|
||||
@@ -47,7 +49,7 @@
|
||||
else ()
|
||||
configure_file(${MYGUI_TEMPLATES_DIR}/MYGUI.pc.in ${MYGUI_BINARY_DIR}/pkgconfig/MYGUI${MYGUI_LIB_SUFFIX}.pc @ONLY)
|
||||
endif ()
|
||||
- install(FILES ${MYGUI_BINARY_DIR}/pkgconfig/MYGUI${MYGUI_LIB_SUFFIX}.pc DESTINATION lib/pkgconfig)
|
||||
+ install(FILES ${MYGUI_BINARY_DIR}/pkgconfig/MYGUI${MYGUI_LIB_SUFFIX}.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
|
||||
|
||||
# configure additional packages
|
||||
|
||||
diff -ru mygui-MyGUI3.2.2.orig/CMake/Utils/MyGUIConfigTargets.cmake mygui-MyGUI3.2.2/CMake/Utils/MyGUIConfigTargets.cmake
|
||||
--- mygui-MyGUI3.2.2.orig/CMake/Utils/MyGUIConfigTargets.cmake 2015-01-26 10:32:35.000000000 -0500
|
||||
+++ mygui-MyGUI3.2.2/CMake/Utils/MyGUIConfigTargets.cmake 2015-03-14 01:08:44.905791784 -0400
|
||||
@@ -1,6 +1,8 @@
|
||||
# Configure settings and install targets
|
||||
# FIXME: Copypasted from Ogre and need lots of changes
|
||||
|
||||
+include(GNUInstallDirs)
|
||||
+
|
||||
if (WIN32)
|
||||
set(MYGUI_RELEASE_PATH "/Release")
|
||||
set(MYGUI_RELWDBG_PATH "/RelWithDebInfo")
|
||||
@@ -60,6 +62,12 @@
|
||||
# install targets according to current build type
|
||||
function(mygui_install_target TARGETNAME SUFFIX)
|
||||
install(TARGETS ${TARGETNAME}
|
||||
+ RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" CONFIGURATIONS Gentoo ""
|
||||
+ LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}" CONFIGURATIONS Gentoo ""
|
||||
+ ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}" CONFIGURATIONS Gentoo ""
|
||||
+ FRAMEWORK DESTINATION "${MYGUI_FRAMEWORK_PATH}" CONFIGURATIONS Gentoo ""
|
||||
+ )
|
||||
+ install(TARGETS ${TARGETNAME}
|
||||
RUNTIME DESTINATION "bin${MYGUI_RELEASE_PATH}" CONFIGURATIONS Release None ""
|
||||
LIBRARY DESTINATION "lib${MYGUI_LIB_RELEASE_PATH}${SUFFIX}" CONFIGURATIONS Release None ""
|
||||
ARCHIVE DESTINATION "lib${MYGUI_LIB_RELEASE_PATH}${SUFFIX}" CONFIGURATIONS Release None ""
|
||||
@@ -171,7 +179,13 @@
|
||||
endif ()
|
||||
add_executable(${PROJECTNAME} ${MYGUI_EXEC_TYPE} ${HEADER_FILES} ${SOURCE_FILES})
|
||||
endif ()
|
||||
- set_target_properties(${PROJECTNAME} PROPERTIES FOLDER ${SOLUTIONFOLDER})
|
||||
+
|
||||
+ # rename demo target^M
|
||||
+ if (${SOLUTIONFOLDER} STREQUAL "Demos")
|
||||
+ set_target_properties(${PROJECTNAME} PROPERTIES FOLDER ${SOLUTIONFOLDER} OUTPUT_NAME MYGUI-${PROJECTNAME})
|
||||
+ else()
|
||||
+ set_target_properties(${PROJECTNAME} PROPERTIES FOLDER ${SOLUTIONFOLDER})
|
||||
+ endif()
|
||||
|
||||
add_dependencies(${PROJECTNAME} MyGUIEngine Common)
|
||||
|
@ -0,0 +1,20 @@
|
||||
From: Julian Ospald <hasufell@gentoo.org>
|
||||
Date: Fri Jun 15 10:42:42 UTC 2012
|
||||
Subject: build system
|
||||
|
||||
fix underlinking
|
||||
|
||||
--- MyGUIEngine/CMakeLists.txt
|
||||
+++ MyGUIEngine/CMakeLists.txt
|
||||
@@ -48,7 +48,10 @@
|
||||
if (MYGUI_USE_FREETYPE)
|
||||
target_link_libraries(${PROJECTNAME}
|
||||
${FREETYPE_LIBRARIES}
|
||||
- )
|
||||
+ dl)
|
||||
+else()
|
||||
+ target_link_libraries(${PROJECTNAME}
|
||||
+ dl)
|
||||
endif()
|
||||
|
||||
# platform specific dependencies
|
@ -0,0 +1,143 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-games/mygui/mygui-3.2.2.ebuild,v 1.1 2015/03/14 05:27:23 mr_bones_ Exp $
|
||||
|
||||
EAPI=5
|
||||
CMAKE_REMOVE_MODULES="yes"
|
||||
CMAKE_REMOVE_MODULES_LIST="FindFreetype"
|
||||
inherit eutils cmake-utils flag-o-matic multilib
|
||||
|
||||
MY_PN=MyGUI
|
||||
MY_P=${MY_PN}${PV}
|
||||
|
||||
DESCRIPTION="A library for creating GUIs for games"
|
||||
HOMEPAGE="http://mygui.info/"
|
||||
SRC_URI="https://github.com/MyGUI/mygui/archive/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug doc +ogre -opengl plugins samples static-libs test tools linguas_ru"
|
||||
REQUIRED_USE="ogre? ( !opengl )
|
||||
opengl? ( !ogre )"
|
||||
|
||||
RDEPEND="
|
||||
media-libs/freetype:2
|
||||
ogre? (
|
||||
dev-games/ogre:=[freeimage,opengl]
|
||||
samples? ( dev-games/ois )
|
||||
)
|
||||
opengl? ( virtual/opengl
|
||||
media-libs/glew )
|
||||
tools? ( dev-games/ois )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? ( app-doc/doxygen )"
|
||||
|
||||
S=${WORKDIR}/mygui-${MY_P}
|
||||
STATIC_BUILD=${WORKDIR}/${P}_build_static
|
||||
|
||||
pkg_setup() {
|
||||
if use samples && use !ogre ; then
|
||||
ewarn "Samples disabled, because they only work with ogre!"
|
||||
ewarn "Enable ogre USE flag if you want to use samples."
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-underlinking.patch \
|
||||
"${FILESDIR}"/${P}-build.patch \
|
||||
"${FILESDIR}"/${P}-FHS.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use debug && append-cppflags -DDEBUG
|
||||
|
||||
local mycmakeargs=()
|
||||
|
||||
# static configuration
|
||||
if use static-libs ; then
|
||||
mycmakeargs=( -DMYGUI_STATIC=ON
|
||||
-DMYGUI_BUILD_DOCS=OFF
|
||||
-DMYGUI_INSTALL_DOCS=OFF
|
||||
-DMYGUI_USE_FREETYPE=ON
|
||||
$(cmake-utils_use plugins MYGUI_BUILD_PLUGINS)
|
||||
-DMYGUI_BUILD_DEMOS=OFF
|
||||
-DMYGUI_INSTALL_SAMPLES=OFF
|
||||
-DMYGUI_BUILD_TOOLS=OFF
|
||||
-DMYGUI_INSTALL_TOOLS=OFF
|
||||
-DMYGUI_BUILD_WRAPPER=OFF
|
||||
-DMYGUI_RENDERSYSTEM=$(usex opengl "4" "$(usex ogre "3" "1")") )
|
||||
|
||||
CMAKE_BUILD_DIR=${STATIC_BUILD} cmake-utils_src_configure
|
||||
unset mycmakeargs
|
||||
fi
|
||||
|
||||
# main configuration
|
||||
mycmakeargs=( -DMYGUI_STATIC=OFF
|
||||
$(cmake-utils_use doc MYGUI_BUILD_DOCS)
|
||||
$(cmake-utils_use doc MYGUI_INSTALL_DOCS)
|
||||
-DMYGUI_USE_FREETYPE=ON
|
||||
$(cmake-utils_use plugins MYGUI_BUILD_PLUGINS)
|
||||
$(usex ogre "$(cmake-utils_use samples MYGUI_BUILD_DEMOS)" "-DMYGUI_BUILD_DEMOS=OFF")
|
||||
$(usex ogre "$(cmake-utils_use samples MYGUI_INSTALL_SAMPLES)" "-DMYGUI_INSTALL_SAMPLES=OFF")
|
||||
$(cmake-utils_use tools MYGUI_BUILD_TOOLS)
|
||||
$(cmake-utils_use tools MYGUI_INSTALL_TOOLS)
|
||||
$(cmake-utils_use opengl MYGUI_USE_SYSTEM_GLEW)
|
||||
-DMYGUI_BUILD_WRAPPER=OFF
|
||||
-DMYGUI_RENDERSYSTEM=$(usex opengl "4" "$(usex ogre "3" "1")") )
|
||||
|
||||
if use tools || (use samples && use ogre) ; then
|
||||
mycmakeargs+=( -DMYGUI_INSTALL_MEDIA=ON )
|
||||
else
|
||||
mycmakeargs+=( -DMYGUI_INSTALL_MEDIA=OFF )
|
||||
fi
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# build system does not support building static and shared at once,
|
||||
# run a double build
|
||||
if use static-libs ; then
|
||||
CMAKE_BUILD_DIR=${STATIC_BUILD} cmake-utils_src_compile
|
||||
fi
|
||||
|
||||
cmake-utils_src_compile
|
||||
|
||||
use doc && emake -C "${CMAKE_BUILD_DIR}"/Docs api-docs
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
if use static-libs ; then
|
||||
find "${STATIC_BUILD}" -name "*.a" \! -name "libCommon.a" -exec dolib.a '{}' \;
|
||||
insinto /usr/$(get_libdir)/pkgconfig
|
||||
doins "${STATIC_BUILD}"/pkgconfig/MYGUIStatic.pc
|
||||
fi
|
||||
|
||||
if use doc ; then
|
||||
dohtml -r "${CMAKE_BUILD_DIR}"/Docs/html/*
|
||||
|
||||
if use linguas_ru ; then
|
||||
docompress -x /usr/share/doc/${PF}/Papers
|
||||
dodoc -r Docs/Papers
|
||||
fi
|
||||
fi
|
||||
|
||||
keepdir /etc/MYGUI
|
||||
fperms o+w /etc/MYGUI
|
||||
|
||||
# test media not needed at runtime
|
||||
rm -rf "${D}"/usr/share/MYGUI/Media/UnitTests
|
||||
# wrapper not available for linux, remove related media
|
||||
rm -rf "${D}"/usr/share/MYGUI/Media/Wrapper
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo
|
||||
elog "ogre.cfg and Ogre.log are created as"
|
||||
elog "/etc/MYGUI/mygui-ogre.cfg and /etc/MYGUI/mygui-Ogre.log"
|
||||
einfo
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST BCEL_6_0_RC3.tar.gz 929878 SHA256 74a4a75cc7aea8dab4c17c6ff6c00c2c19411942974b4bd6871e6984235101a0 SHA512 05ccf95ebf6b374fb112296509b4011d741acf2315b331aa971f8c3bc6be2f73b39592721a8c769b6b9d631e78e348c124c56f567adc2338ed5508d5ec3bed77 WHIRLPOOL 6bd53b49a7b8b6cfd422b3249461c1ec685855e0e5dd33c7b3d1eac04f8d61f1cd14b357d1d560002fadec1ab21c1a2b0abaae553340e0b055c6446cc4d5a3ce
|
||||
DIST bcel-5.2-src.tar.gz 261455 SHA256 68039d59a38379d7b65ea3fc72276c43ba234776460e14361af35771bcaab295 SHA512 c8c1d5250b0d8c2f194038551afbe322bd65cde2990277eb6b30e2cd8cc0af2576946afdbcd011b3804386a09fbbc2ae10fd20ae72a24232630b077e79b8847b WHIRLPOOL fae7334f7735e5f5be924bc35c434a2e6ea2ca85d1e038c7ffe6b4636ae9dd2e839c3d775cb17c054a48655c8539802d4db75fcb5e178c51eea2ad2cc9f152e1
|
||||
DIST findbugs-bcel-5.2_p20070531.patch.bz2 7190 SHA256 43d049134de3eab3914fe850f4ddd89cd304ab21d87ca2669153a24f734f7981 SHA512 84bf652cac3992fa3311af4962c0ae064c3f18dda43c91afc256592631f2597815bf07f92b3071680e3cef327b06530f689cf3320fb5ebf6342dc5eaf5d7a953 WHIRLPOOL 6d1d2b3e2d045c7368b4ef7fcd6bc13ce337e60910e24998359df5cccb489fd1077d96c7e7ac763b5041b8b38fe5d4194d1ccf1cc1f7ac68b625076e28c0abe3
|
||||
|
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/bcel/bcel-6.0_rc3.ebuild,v 1.1 2015/03/14 14:51:12 chewi Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MY_PV="${PV//./_}"
|
||||
MY_PV="${MY_PV/rc/RC}"
|
||||
MY_P="BCEL_${MY_PV}"
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="The Byte Code Engineering Library: analyze, create, manipulate Java class files"
|
||||
HOMEPAGE="http://commons.apache.org/bcel/"
|
||||
SRC_URI="https://github.com/apache/commons-${PN}/archive/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.5"
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
test? ( dev-java/junit:4 )"
|
||||
|
||||
S="${WORKDIR}/commons-${PN}-${MY_P}/src"
|
||||
JAVA_SRC_DIR="main/java"
|
||||
|
||||
src_install() {
|
||||
java-pkg-simple_src_install
|
||||
dodoc ../{NOTICE,README,RELEASE-NOTES}.txt
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd test/java || die
|
||||
|
||||
local CP=".:${S}/${PN}.jar:$(java-pkg_getjars junit-4)"
|
||||
local TESTS=$(find * -name "*TestCase.java" ! -name "Abstract*")
|
||||
TESTS="${TESTS//.java}"
|
||||
TESTS="${TESTS//\//.}"
|
||||
|
||||
ejavac -g -cp "${CP}" -d . $(find * -name "*.java")
|
||||
ejunit4 -classpath "${CP}" ${TESTS}
|
||||
}
|
@ -1 +1 @@
|
||||
DIST hawtjni-project-1.8.tar.gz 1601493 SHA256 b0422c0388a93bd4cfc9051eccb3cf03e4a5b8064a009d57c20a43480bd9288d SHA512 a3a1ea727663dce457e1b53dc3d0330c04193df281e58433dc4703ddcb6b42d42d09c7c67cd5f40f9e67528531a1026b30625f0ca4c3051d0134b14e0c3fec5f WHIRLPOOL 8e6716f38389007d718dadc5f3d3b07524ec332b25ae930af67784d4506405d0bddb8a1b275d421c41adc87585a6f0633df5900127e1500ab08dfa33e15922f1
|
||||
DIST hawtjni-project-1.10.tar.gz 1602839 SHA256 364c271819b7907e404dee939fc2a3f0f5ea860f2e81810d631f59467f006115 SHA512 3bd94d20bf2d8953c60753aa404077c96c93704c2bd5bebfb5fe790fc29e15d97f6172706f06cea13c4806b652405ccfef824cccf76ff018dafb7262ff845490 WHIRLPOOL 9d6a0fa421d5609d74c13ba39afc2bfd94174474557a0189a530a5c8e5bb9ab0fdf30199a2b3fd4b99c8a068a713357dc1223250182ab0b16fed61c4ee289d1e
|
||||
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/hawtjni-runtime/hawtjni-runtime-1.10.ebuild,v 1.1 2015/03/13 23:37:24 chewi Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
MY_P="hawtjni-project-${PV}"
|
||||
|
||||
DESCRIPTION="A JNI code generator based on the generator used by the Eclipse SWT project"
|
||||
HOMEPAGE="https://github.com/fusesource/hawtjni"
|
||||
SRC_URI="https://github.com/fusesource/hawtjni/archive/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.5"
|
||||
RDEPEND=">=virtual/jre-1.5"
|
||||
|
||||
S="${WORKDIR}/hawtjni-${MY_P}/${PN}/src"
|
||||
JAVA_SRC_DIR="main/java"
|
||||
|
||||
src_install() {
|
||||
java-pkg-simple_src_install
|
||||
dodoc ../../{changelog,notice,readme}.md
|
||||
}
|
@ -1,37 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/hawtjni-runtime/hawtjni-runtime-1.8.ebuild,v 1.2 2014/01/08 19:43:53 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit vcs-snapshot java-pkg-2 java-pkg-simple
|
||||
|
||||
MY_P="hawtjni-project-${PV}"
|
||||
|
||||
DESCRIPTION="A JNI code generator based on the generator used by the Eclipse SWT project"
|
||||
HOMEPAGE="http://jansi.fusesource.org/"
|
||||
SRC_URI="https://github.com/fusesource/hawtjni/tarball/${MY_P} -> ${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.5"
|
||||
RDEPEND=">=virtual/jre-1.5"
|
||||
|
||||
S="${WORKDIR}/${MY_P}/${PN}"
|
||||
|
||||
JAVA_SRC_DIR="src/main/java"
|
||||
|
||||
java_prepare() {
|
||||
# Easier to use java-pkg-simple.
|
||||
rm -v pom.xml || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg-simple_src_install
|
||||
|
||||
dodoc ../{changelog,notice,readme}.md
|
||||
}
|
@ -1 +1 @@
|
||||
DIST jformatstring-0.9.tar.gz 15710 SHA256 b9311e645313060df5cb65cc604bd0cc692c3b327d46db0245cbbf0984958f5c SHA512 b3e2880195d3f33e39ed4fe61487b1c600c89cbf82a95d420fa2b6b47dbade1970e670e0e37d2fbd1d382cc249fdd640833cae79c9942d305b467e65406b016d WHIRLPOOL d47fba868c56395d53bb0e6e7779a1b13f343d37517192adfc445e196da6dba5372e3400973e434a5eae883cfeddffe1a4ea3eaccf27108c1c66daf096a45654
|
||||
DIST findbugs-3.0.1-source.zip 9625065 SHA256 bd8ec66550d419ed40283bd78a6268f9af57dcad20b732a9309fd1835abd33ff SHA512 d967769f2356f28b34d92c7451cf3e2ac004e667bfc3b049b5b10b1c19d7be2cfa0db132a77698d042300330f77a2bb5dd8c4baa0d67c37b7e5ae6da9e83a64f WHIRLPOOL 9e407cb5733560d6a548da37becdf1b1b120459a2453d85d4a345a7ff30a3ba1d92179a2586ebfac3c23c6d20f591aed6429b501d6ec791f4b1a390ab77ce387
|
||||
|
@ -1,60 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- author: Ralph Sennhauser -->
|
||||
<project name="jformatstring" default="jar">
|
||||
|
||||
<property name="junit.jar" value="lib/junit.jar"/>
|
||||
|
||||
<target name="clean">
|
||||
<delete dir="build"/>
|
||||
</target>
|
||||
|
||||
<target name="compile">
|
||||
<mkdir dir="build/classes"/>
|
||||
<javac srcdir="src/java"
|
||||
destdir="build/classes"
|
||||
encoding="UTF-8"
|
||||
includeantruntime="false">
|
||||
</javac>
|
||||
</target>
|
||||
|
||||
<target name="jar" depends="compile">
|
||||
<jar destfile="build/${ant.project.name}.jar">
|
||||
<fileset dir="build/classes"/>
|
||||
</jar>
|
||||
</target>
|
||||
|
||||
<target name="javadoc">
|
||||
<mkdir dir="build/javadoc"/>
|
||||
<javadoc destdir="build/javadoc"
|
||||
encoding="UTF-8">
|
||||
<fileset dir="src/java"/>
|
||||
</javadoc>
|
||||
</target>
|
||||
|
||||
<target name="compile-tests" depends="jar">
|
||||
<mkdir dir="build/test-classes"/>
|
||||
<javac srcdir="src/junit"
|
||||
destdir="build/test-classes"
|
||||
encoding="UTF-8"
|
||||
includeantruntime="false">
|
||||
<classpath>
|
||||
<fileset file="build/${ant.project.name}.jar"/>
|
||||
<fileset file="${junit.jar}"/>
|
||||
</classpath>
|
||||
</javac>
|
||||
</target>
|
||||
|
||||
<target name="test" depends="compile-tests">
|
||||
<mkdir dir="build/test-results"/>
|
||||
<junit haltonfailure="true" printsummary="on">
|
||||
<classpath>
|
||||
<fileset file="build/${ant.project.name}.jar"/>
|
||||
<pathelement location="build/test-classes"/>
|
||||
</classpath>
|
||||
<batchtest todir="build/test-results">
|
||||
<fileset dir="build/test-classes"/>
|
||||
<formatter type="xml"/>
|
||||
</batchtest>
|
||||
</junit>
|
||||
</target>
|
||||
</project>
|
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/jformatstring/jformatstring-0.9-r1.ebuild,v 1.1 2012/06/17 15:20:15 sera Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Compile time checking for Java Format Strings"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.gz"
|
||||
HOMEPAGE="https://jformatstring.dev.java.net/"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=virtual/jre-1.5"
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
app-arch/unzip
|
||||
test? (
|
||||
dev-java/ant-junit:0
|
||||
dev-java/junit:4
|
||||
)"
|
||||
|
||||
java_prepare() {
|
||||
# Upstreams is aargh!
|
||||
cp "${FILESDIR}"/build.xml . || die
|
||||
}
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
EANT_TEST_GENTOO_CLASSPATH="junit:4"
|
||||
|
||||
src_test() {
|
||||
java-pkg-2_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Rename to match old name it was installed under
|
||||
# should be fixed on slot bump
|
||||
java-pkg_newjar build/${PN}.jar jFormatString.jar
|
||||
|
||||
use source && java-pkg_dosrc src/java/*
|
||||
use doc && java-pkg_dojavadoc build/javadoc
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/jformatstring/jformatstring-2.0.3.ebuild,v 1.1 2015/03/14 14:58:54 chewi Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
FINDBUGS_PV="3.0.1"
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="Compile time checking for Java format strings"
|
||||
SRC_URI="mirror://sourceforge/findbugs/findbugs-${FINDBUGS_PV}-source.zip"
|
||||
HOMEPAGE="http://code.google.com/p/j-format-string"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=virtual/jre-1.5"
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
app-arch/unzip"
|
||||
|
||||
src_unpack() {
|
||||
unzip -qoj "${DISTDIR}/findbugs-${FINDBUGS_PV}-source.zip" "findbugs-${FINDBUGS_PV}/lib/jFormatString.jar" || die
|
||||
unpack ./jFormatString.jar
|
||||
}
|
||||
|
||||
java_prepare() {
|
||||
find -name "*.class" -delete || die
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST jline-1.0.zip 463082 SHA256 761458d1541a44e678b3847917116a90001cf5cd22287c24c55dcf2c69ec73ca SHA512 2957e19a3536d89aeaf8f27afb1f8eb4eb8bcc99560244c7f1ba14693a84a2f5e677a6c21d5f85ec519674cc4cd6cb3c9e4725cb4797144168d2f6df3954aba9 WHIRLPOOL d80416660992a9fd6d13f350d7620556f46f48fe9071e939de555bbee35d3e68f6c6eee64ae18e03d826e8928987f4e2193bcf8fee1cb027a1a9791ca89c0cce
|
||||
DIST jline-2.11.tar.gz 90597 SHA256 58dab6b0f7322104a38e92e4d3400ecebb3c4a660cfdb7cfd5372a3c96086607 SHA512 1c9fc35fadc0f530c580253cfb1b23c9819c8a874b31d0da7e6094bee7112d43872ba0f10fb97ca3041672513a09eff30a6c47895cd20d47264b9703813a2391 WHIRLPOOL 0de880cba5bb931e6ff8a102e5d0fb7924d0247831fd697581ce28175eab334283cd57d92669b3ff1419184976f1193e2144ceb3c1ef4f54926e6eaee34d037a
|
||||
DIST jline-2.12.1.tar.gz 97289 SHA256 41c03847f862c7eceb3c5b1cef9bc89f62db43c53f3328e46a6257bebcc7d68d SHA512 368492fa0b28e6aa3827db05d266b332935d9a03c2f6645d039941c61a698e85fd57accfac444503de4cb2f2dae5787496924b8d258faad1c18b6cafe787f99d WHIRLPOOL fdbebc7e16fadced5c0744be0175d47b3a0f12379c588f994d5870f685f421adeeb842192e0c14f855bf0a094ace4d11cb541397b19453324a1e6b031a3f5166
|
||||
|
@ -1,13 +0,0 @@
|
||||
diff --git a/src/src/main/java/jline/Terminal.java b/src/src/main/java/jline/Terminal.java
|
||||
index b9b9061..3b22995 100644
|
||||
--- a/src/src/main/java/jline/Terminal.java
|
||||
+++ b/src/src/main/java/jline/Terminal.java
|
||||
@@ -8,8 +8,6 @@ package jline;
|
||||
|
||||
import java.io.*;
|
||||
|
||||
-import com.sun.jmx.snmp.ThreadContext;
|
||||
-
|
||||
/**
|
||||
* Representation of the input terminal for a platform. Handles
|
||||
* any initialization that the platform may need to perform
|
@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/jline/jline-2.11.ebuild,v 1.1 2013/06/04 17:48:29 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit vcs-snapshot java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="A Java library for handling console input"
|
||||
HOMEPAGE="https://github.com/jline/jline2"
|
||||
SRC_URI="https://github.com/jline/jline2/tarball/${P} -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="test"
|
||||
|
||||
CDEPEND="dev-java/jansi:0
|
||||
dev-java/jansi-native:0"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
>=virtual/jdk-1.5
|
||||
test? ( dev-java/junit:4 )"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
>=virtual/jre-1.5"
|
||||
|
||||
S="${WORKDIR}/${P}"
|
||||
|
||||
JAVA_SRC_DIR="src/main/java"
|
||||
JAVA_GENTOO_CLASSPATH="jansi,jansi-native"
|
||||
|
||||
java_prepare() {
|
||||
# Easier to use java-pkg-simple.
|
||||
rm -v pom.xml || die
|
||||
|
||||
# Don't forget the resources!
|
||||
mkdir -p target/classes || die
|
||||
cp -r src/main/resources/* target/classes || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg-simple_src_install
|
||||
|
||||
dodoc {CHANGELOG,README}.md
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd src/test/java || die
|
||||
|
||||
local CP=".:../resources:${S}/${PN}.jar:$(java-pkg_getjars junit-4,${JAVA_GENTOO_CLASSPATH})"
|
||||
local TESTS=$(find * -name "*Test.java")
|
||||
TESTS="${TESTS//.java}"
|
||||
TESTS="${TESTS//\//.}"
|
||||
|
||||
ejavac -cp "${CP}" -d . $(find * -name "*.java")
|
||||
ejunit4 -classpath "${CP}" ${TESTS}
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue