parent
f79511a458
commit
a838ddfc2a
@ -1,4 +1,6 @@
|
||||
DIST appliance-1.17.14.tar.xz 46644196 SHA256 7cf81ef8a31d5d9ce6c8b1b601a8bf83cbd5521a397879fb7d1c55814b8b9be3 SHA512 d6ef9cecde12c4cc5d5744d99e75069f6aa2e6c1c7cd50e03ce81b8c77cf7b92a91d2dc94350e077510b94f9f11c985e1f78bdc15af4f1178534a74296e7cdf3 WHIRLPOOL 2d3b635eb55ad0b63d13c282d58f3a6f4b499c1cd1dc08260c77a21cd2ee298dffc4c36d8b4d05c73c2cc91dd93fde6232642c09731d174447cf069c0f3fff82
|
||||
DIST appliance-1.18.5.tar.xz 46800644 SHA256 b281df1ba5a91c75979a3d4fb919bb39c0cdbfd390811f49669252dc5abb61da SHA512 4603ac8ae8bff8d9fec5b79368577c443af05b040ebc4fce66f3944fe0632d53440f29582cbc08f66070bd062559ed3fa9d3dce85bf6002d63a3872bfe3e121e WHIRLPOOL 222784ac1dcf51aaf5185896d49bd4476a9cb4cbe10fc712a05055ac37941daae0b5b7085a3cd96aeb3241bf8006198029083641cc7cd9527be790e20ddfa6f9
|
||||
DIST appliance-1.18.9.tar.xz 48228180 SHA256 eaf56515673218e3fda20dd7a4dd5cfc102d1b4196f408876716a64c9e12cc3b SHA512 50d348430e533982078672ab31d026f8e12922ed4476ecc6c45061faa4ea47426de762b2e783b654790ec1eb4934d0444dfc639fb7644b5e131db461e2266929 WHIRLPOOL 5f771455c56d071025d99a7351e7ec10928f3afad9c8a29e60e06a96e12682c5a3b512a997bd112e8989f7ca5225403baee9ae7c5551dfa11001d95ca6108b99
|
||||
DIST libguestfs-1.16.25.tar.gz 6632470 SHA256 7811d27afbf645d1e34e5e60fc23eab2695532a256116a2bda6e0cfdf3661e0e SHA512 cb5963e9d10c9fe28c1a5b1ef41351faa5659ff05337cbe930aaf2d6adbbab64cfec5cfe8e742e781f6ae82bce072a44173cd5b32bb47f85928514bde9d4b958 WHIRLPOOL 6115031a8b075e43cecae9b7ae76e14e7a909525c84a5dad7fb557a46515efff0389280a6098b535c53edcfabac2fbd4cd1c7af2d727de101d2d58a4220ad664
|
||||
DIST libguestfs-1.18.10.tar.gz 7684383 SHA256 091c7b81aeae0eb243ff1ee7e3c5d5655532787e860de015dd408f5ca57dbc4e SHA512 c86dfc35ca88f197cf29c0be5786a29278ae1b3b12d1d37d0eddcc56333e487d036ee09dc5a3953b63feb7c116f3029d5919ffd514a96782c05186fff8364713 WHIRLPOOL d71ac65f3ff5b425fafe085b66f48c43ff247a57bb1e8de9b890f242f888e77ca3becdc88e69a7823f45aa395b6f2a5beaae2e20872387f524fd6f098ab6dc7c
|
||||
DIST libguestfs-1.18.9.tar.gz 7808189 SHA256 adb88b3fabb700129f02676d828c335e2098464ccd370d802a6a44d7243a2d53 SHA512 7b2ffdd4115bc42caac3858c5682eae87592e9b4a615f4564a446ec08aec62db332ed956d0582d684ba6e9253f5482ab54da2f58775adefda62ebc0d90ceee5a WHIRLPOOL ecd71090498e19e4c3d80565bcfaac7a6b75c2fc244a25cfddd96d4bf70aad8887fdb7aa9b78a45b6d4e91f49b20a80e9ef4d4beb897c077d9032f2cbda0a07f
|
||||
|
@ -0,0 +1,157 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libguestfs/libguestfs-1.18.10.ebuild,v 1.1 2012/11/26 18:36:15 maksbotan Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
APLANCE_PV="1.18.9"
|
||||
APPL_P="appliance-${APLANCE_PV}"
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
AUTOTOOLS_IN_SOURCE_BUILD=1
|
||||
|
||||
inherit check-reqs bash-completion-r1 autotools-utils versionator eutils \
|
||||
multilib linux-info perl-module
|
||||
|
||||
MY_PV_1="$(get_version_component_range 1-2)"
|
||||
MY_PV_2="$(get_version_component_range 2)"
|
||||
|
||||
[[ $(( $(get_version_component_range 2) % 2 )) -eq 0 ]] && SD="stable" || SD="development"
|
||||
|
||||
DESCRIPTION="Tools for accessing, inspect and modifying virtual machine (VM) disk images"
|
||||
HOMEPAGE="http://libguestfs.org/"
|
||||
SRC_URI="http://libguestfs.org/download/${MY_PV_1}-${SD}/${P}.tar.gz
|
||||
http://dev.gentoo.org/~maksbotan/${APPL_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2"
|
||||
SLOT="0"
|
||||
# Upstream NOT supported 32-bit version, keyword in own risk
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="bash-completion erlang +fuse debug ocaml doc +perl ruby static-libs
|
||||
selinux systemtap introspection inspect-icons"
|
||||
|
||||
# Failires - doc
|
||||
|
||||
COMMON_DEPEND="
|
||||
sys-libs/ncurses
|
||||
sys-devel/gettext
|
||||
>=app-misc/hivex-1.3.1
|
||||
dev-libs/libpcre
|
||||
app-arch/cpio
|
||||
dev-lang/perl
|
||||
app-cdr/cdrkit
|
||||
>=app-emulation/qemu-1.0[qemu_user_targets_x86_64,qemu_softmmu_targets_x86_64,tci,systemtap?]
|
||||
sys-apps/fakeroot
|
||||
sys-apps/file
|
||||
app-emulation/libvirt
|
||||
dev-libs/libxml2:2
|
||||
>=sys-apps/fakechroot-2.8
|
||||
>=app-admin/augeas-0.7.1
|
||||
sys-fs/squashfs-tools
|
||||
dev-libs/libconfig
|
||||
dev-libs/libpcre
|
||||
sys-libs/readline
|
||||
>=sys-libs/db-4.6
|
||||
perl? ( virtual/perl-ExtUtils-MakeMaker
|
||||
>=dev-perl/Sys-Virt-0.2.4
|
||||
virtual/perl-Getopt-Long
|
||||
virtual/perl-Data-Dumper
|
||||
dev-perl/libintl-perl
|
||||
>=app-misc/hivex-1.3.1[perl?]
|
||||
dev-perl/String-ShellQuote
|
||||
)
|
||||
fuse? ( sys-fs/fuse )
|
||||
introspection? (
|
||||
>=dev-libs/gobject-introspection-1.30.0
|
||||
dev-libs/gjs
|
||||
)
|
||||
selinux? ( sys-libs/libselinux sys-libs/libsemanage )
|
||||
systemtap? ( dev-util/systemtap )
|
||||
ocaml? ( dev-lang/ocaml[ocamlopt] dev-ml/findlib[ocamlopt] )
|
||||
erlang? ( dev-lang/erlang )
|
||||
inspect-icons? ( media-libs/netpbm
|
||||
media-gfx/icoutils )
|
||||
"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-util/gperf
|
||||
doc? ( app-text/po4a )
|
||||
ruby? ( dev-lang/ruby virtual/rubygems dev-ruby/rake )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}"
|
||||
|
||||
PATCHES=("${FILESDIR}"/1.18/0*.patch )
|
||||
|
||||
DOCS=(AUTHORS BUGS HACKING README RELEASE-NOTES ROADMAP TODO)
|
||||
|
||||
pkg_pretend() {
|
||||
CHECKREQS_DISK_BUILD="5G"
|
||||
CHECKREQS_DISK_USR="5G"
|
||||
check-reqs_pkg_pretend
|
||||
}
|
||||
|
||||
pkg_setup () {
|
||||
CONFIG_CHECK="~KVM ~VIRTIO"
|
||||
[ -n "${CONFIG_CHECK}" ] && check_extra_config;
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
autotools-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
|
||||
# Disable feature test for kvm for more reason
|
||||
# i.e: not loaded module in __build__ time,
|
||||
# build server not supported kvm, etc. ...
|
||||
#
|
||||
# In fact, this feature is virtio support and requires
|
||||
# configured kernel.
|
||||
export vmchannel_test=no
|
||||
|
||||
local myeconfargs=(
|
||||
--disable-appliance
|
||||
--disable-daemon
|
||||
--with-drive-if=virtio
|
||||
--with-net-if=virtio-net-pci
|
||||
--with-extra="-gentoo"
|
||||
--with-readline
|
||||
--disable-php
|
||||
--disable-python
|
||||
--without-java
|
||||
$(use_enable perl)
|
||||
$(use_enable fuse)
|
||||
$(use_enable ocaml)
|
||||
$(use_enable ruby)
|
||||
--disable-haskell
|
||||
$(use_enable doc)
|
||||
$(use_enable introspection gobject)
|
||||
$(use_enable erlang)
|
||||
$(use_enable systemtap probes)
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
autotools-utils_src_compile
|
||||
|
||||
}
|
||||
|
||||
src_test() {
|
||||
autotools-utils_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
strip-linguas -i po
|
||||
autotools-utils_src_install "LINGUAS=""${LINGUAS}"""
|
||||
|
||||
use bash-completion && dobashcomp "${D}/etc"/bash_completion.d/guestfish-bash-completion.sh
|
||||
|
||||
rm -fr "${D}/etc"/bash* || die
|
||||
|
||||
insinto /usr/share/guestfs/
|
||||
doins -r "${WORKDIR}"/appliance
|
||||
newenvd "${FILESDIR}"/env.file 99"${PN}"
|
||||
|
||||
use perl && fixlocalpod
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST vim-latex-1.8.23-20110214.1049-git089726a.tar.gz 277250 SHA256 991c31f4e8eadd61aa0f17c8bfa77761e1b76afcaa0e9c483b8e453172607cf8 SHA512 09c8073f59a09aef846925615395a028f1934e4ab88e44ca696a31840c5105d4c4db5df82533a746e00ef7c30b196a9ca432d541553f694419d082f140dc8357 WHIRLPOOL b26f4d1d7b1a1fb9a95aee9b637a28b6b073aef4cb4432cc7d53b89da6bc04a7901178a077a2fe94e07d38afcb087a56bc97b76cb715f309ecdbd48273171596
|
||||
DIST vim-latex-1.8.23-20121116.784-git1c17b37.tar.gz 287744 SHA256 fde239e394348dc639b27bcdb493523e356fbfed09b556269d8d2b85ceb1e86f SHA512 fff4188102ce3b2e21529dca416ba54a522867e4f4e1bf8b388ddb610e587762e98095f09abd50cac7977a33c2c7bf09e1a39c95ab1da75aa0e75184ed64353b WHIRLPOOL 5066828ecfae8c3bb407059b2ed022bdb6c128a8415138d5c739c7837c47efd23b9a7137971465aed3e556db38b3a1edfb782987a8839e467b93535b62fb2e8f
|
||||
|
@ -0,0 +1,61 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/vim-latex/vim-latex-1.8.23.20121116.ebuild,v 1.1 2012/11/27 01:55:16 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit vim-plugin versionator python
|
||||
|
||||
MY_REV="784-git1c17b37"
|
||||
MY_P="${PN}-$( replace_version_separator 3 - ).${MY_REV}"
|
||||
|
||||
DESCRIPTION="vim plugin: a comprehensive set of tools to view, edit and compile LaTeX documents"
|
||||
HOMEPAGE="http://vim-latex.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="vim"
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
|
||||
IUSE="html"
|
||||
|
||||
RDEPEND="|| ( app-editors/vim[python] app-editors/gvim[python] )
|
||||
virtual/latex-base"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
VIM_PLUGIN_HELPFILES="latex-suite.txt latex-suite-quickstart.txt latexhelp.txt imaps.txt"
|
||||
|
||||
src_prepare() {
|
||||
# The makefiles do weird stuff, including running the svn command
|
||||
rm Makefile Makefile.in || die "rm Makefile Makefile.in failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use html && dohtml -r doc/
|
||||
|
||||
# Don't mess up vim's doc dir with random files
|
||||
mv doc mydoc || die
|
||||
mkdir doc || die
|
||||
mv mydoc/*.txt doc/ || die
|
||||
rm -rf mydoc || die
|
||||
|
||||
# Don't install buggy tags scripts, use ctags instead
|
||||
rm latextags ltags || die
|
||||
|
||||
vim-plugin_src_install
|
||||
|
||||
# Use executable permissions (bug #352403)
|
||||
fperms a+x /usr/share/vim/vimfiles/ftplugin/latex-suite/outline.py
|
||||
|
||||
python_convert_shebangs -r 2 "${ED}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
vim-plugin_pkg_postinst
|
||||
elog
|
||||
elog "To use the vim-latex plugin add:"
|
||||
elog " filetype plugin on"
|
||||
elog ' set grepprg=grep\ -nH\ $*'
|
||||
elog " let g:tex_flavor='latex'"
|
||||
elog "to your ~/.vimrc-file"
|
||||
elog
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
Index: mysql-workbench-gpl-5.2.44-src/modules/db.mysql.sqlparser/Makefile.am
|
||||
===================================================================
|
||||
--- mysql-workbench-gpl-5.2.44-src.orig/modules/db.mysql.sqlparser/Makefile.am
|
||||
+++ mysql-workbench-gpl-5.2.44-src/modules/db.mysql.sqlparser/Makefile.am
|
||||
@@ -64,6 +64,7 @@ db_mysql_sqlparser_grt_la_SOURCES=\
|
||||
$(top_srcdir)/library/sql-parser/source/myx_statement_parser.cpp\
|
||||
$(top_srcdir)/library/sql-parser/source/myx_unicode_scanner.cpp\
|
||||
$(top_srcdir)/library/sql-parser/source/sql_parser_symbols.cpp\
|
||||
+ $(top_srcdir)/library/sql-parser/source/my_lib.cpp\
|
||||
$(top_srcdir)/library/sql-parser/source/my_messnc.cpp\
|
||||
$(top_srcdir)/library/sql-parser/source/my_static.cpp\
|
||||
$(top_srcdir)/library/sql-parser/source/my_strtoll10.cpp\
|
@ -0,0 +1,92 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-workbench/mysql-workbench-5.2.44-r1.ebuild,v 1.1 2012/11/26 20:41:43 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
GCONF_DEBUG="no"
|
||||
PYTHON_DEPEND=2
|
||||
|
||||
inherit gnome2 eutils flag-o-matic python autotools
|
||||
|
||||
MY_P="${PN}-gpl-${PV}-src"
|
||||
|
||||
DESCRIPTION="MySQL Workbench"
|
||||
HOMEPAGE="http://dev.mysql.com/workbench/"
|
||||
SRC_URI="mirror://mysql/Downloads/MySQLGUITools/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debug doc gnome-keyring nls static-libs"
|
||||
|
||||
# Build system bundles an unreleased copy of dev-libs/antlr-c 3.4 so we
|
||||
# can't depend on our own packaged version right now.
|
||||
|
||||
CDEPEND="dev-db/sqlite:3
|
||||
>=x11-libs/gtk+-2.6:2
|
||||
dev-libs/glib:2
|
||||
gnome-base/libglade:2.0
|
||||
dev-libs/libsigc++:2
|
||||
dev-libs/boost
|
||||
>=dev-cpp/ctemplate-0.95
|
||||
>=dev-libs/libxml2-2.6.2:2
|
||||
>=dev-cpp/glibmm-2.14:2
|
||||
>=dev-cpp/gtkmm-2.14:2.4
|
||||
dev-db/libiodbc
|
||||
dev-libs/libzip
|
||||
>=virtual/mysql-5.1
|
||||
dev-libs/libpcre
|
||||
virtual/opengl
|
||||
>=dev-lang/lua-5.1[deprecated]
|
||||
x11-libs/pango
|
||||
|| ( sys-libs/e2fsprogs-libs
|
||||
dev-libs/ossp-uuid )
|
||||
>=x11-libs/cairo-1.5.12[svg]
|
||||
dev-python/pexpect
|
||||
>=dev-python/paramiko-1.7.4
|
||||
doc? ( dev-python/pysqlite:2 )
|
||||
gnome-keyring? ( gnome-base/libgnome-keyring )
|
||||
nls? ( sys-devel/gettext )"
|
||||
RDEPEND="${CDEPEND}
|
||||
app-admin/sudo
|
||||
>=sys-apps/net-tools-1.60_p20120127084908"
|
||||
DEPEND="${CDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
S="${WORKDIR}"/"${MY_P}"
|
||||
|
||||
pkg_setup() {
|
||||
# Make sure we use Python 2 since the code is not compatible with 3.
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Remove hardcoded CXXFLAGS
|
||||
sed -i -e 's/debug_flags="-ggdb3 /debug_flags="/' configure || die
|
||||
sed -i -e 's/-O0 -g3//' ext/scintilla/gtk/Makefile.in ext/scintilla/gtk/Makefile.am || die
|
||||
|
||||
# Remove bundled ctemplate version to make sure we use the system
|
||||
# version, but leave a directory to avoid confusing configure, bug
|
||||
# 357539.
|
||||
rm -rf ext/ctemplate || die
|
||||
mkdir -p ext/ctemplate/ctemplate-src || die
|
||||
|
||||
epatch "${FILESDIR}"/${P}-my_lib.patch
|
||||
|
||||
# Regenerate autotools files to work around broken libtool for
|
||||
# antlr, bug 431756.
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable nls i18n) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" || die
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
@ -1 +1,3 @@
|
||||
DIST libcgroup-0.37.tar.bz2 415475 SHA256 15c8f3febb546530d3495af4e4904b3189c273277ca2d8553dec882cde1cd0f6 SHA512 56444062f290b73dc3f1bf938efacd6bb79db7f4b4bbdb9fbfee7c6ce9f412912ed7bfa1d59e493521ae745fe0951524f187d276beba4a77a7789bec36df5c43 WHIRLPOOL 19a1c346fbb5950bbef88873ad805d6d43cdc92339441c05cb99ff703ef8ea8d2a92c17513f4c37f77b1f34ec2053683cfccdecf0a87d7a9123cde019c21989b
|
||||
DIST libcgroup-0.38.tar.bz2 475657 SHA256 5d36d1a48b95f62fe9fcdf74a5a4089512e5e43e6011aa1504fd6f2a0909867f SHA512 763e52bee699b0461508eabb6fdf3a79f15d1d8cdbc6631fcae93127eb7648e6bab660cf3a31019b966095113f9a086d55b5351c7999f3654f8e6c95507725d5 WHIRLPOOL d6a6e9c629687608698817346e1eda1e1406554665ea6aea055844bd47b0a21b0f3301c4a3acb0c2492be0a6536d25c1b609ee3ade8c11376f25b3335859814b
|
||||
DIST libcgroup-0.39.rc1.tar.bz2 497250 SHA256 9d27e4b16b92fb9917d0807934023b8cc691f3b5258c4ee581957645fa7ba143 SHA512 0aad3389cb52e6f4c6f130ba24a4e2f2348562254dee10f343607b78c2e28930753ece70b6b3f2cce57d72f3d0bc78352cfbf15a659b3ec75421d233ac50750f WHIRLPOOL 09e4f444a589e68373ce52f96707a4026175392bc26090a85bc50d7a35233ad5356638d250d1292511110e235aab1d77992f77e35d1be399a017b319354d235e
|
||||
|
@ -0,0 +1,96 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcgroup/libcgroup-0.38.ebuild,v 1.1 2012/11/26 18:45:24 maksbotan Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit autotools eutils linux-info pam
|
||||
|
||||
DESCRIPTION="Tools and libraries to configure and manage kernel control groups"
|
||||
HOMEPAGE="http://libcg.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/libcg/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="+daemon debug pam static-libs +tools"
|
||||
|
||||
RDEPEND="pam? ( virtual/pam )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/bison
|
||||
sys-devel/flex"
|
||||
|
||||
pkg_setup() {
|
||||
if use daemon && ! use tools; then
|
||||
eerror "The daemon USE flag requires tools USE flag."
|
||||
die "Please enable tools or disable daemon."
|
||||
fi
|
||||
|
||||
local CONFIG_CHECK="~CGROUPS"
|
||||
if use daemon; then
|
||||
CONFIG_CHECK="${CONFIG_CHECK} ~CONNECTOR ~PROC_EVENTS"
|
||||
fi
|
||||
linux-info_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Change rules file location
|
||||
sed -e 's:/etc/cgrules.conf:/etc/cgroup/cgrules.conf:' \
|
||||
-i src/libcgroup-internal.h || die "sed failed"
|
||||
sed -e 's:\(pam_cgroup_la_LDFLAGS.*\):\1\ -avoid-version:' \
|
||||
-i src/pam/Makefile.am || die "sed failed"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
my_conf="--enable-shared
|
||||
--libdir=/usr/$(get_libdir)
|
||||
$(use_enable daemon)
|
||||
$(use_enable debug)
|
||||
$(use_enable pam)
|
||||
$(use_enable static-libs static)
|
||||
$(use_enable tools)"
|
||||
|
||||
if use pam; then
|
||||
my_conf="${my_conf} --enable-pam-module-dir=$(getpam_mod_dir)"
|
||||
fi
|
||||
|
||||
econf ${my_conf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "Install failed"
|
||||
find "${D}" -name "*.la" -delete || die "la removal failed"
|
||||
|
||||
insinto /etc/cgroup
|
||||
doins samples/cgrules.conf || die
|
||||
|
||||
if use tools; then
|
||||
doins samples/cgconfig.conf || die
|
||||
|
||||
newconfd "${FILESDIR}"/cgconfig.confd cgconfig || die
|
||||
newinitd "${FILESDIR}"/cgconfig.initd cgconfig || die
|
||||
fi
|
||||
|
||||
if use daemon; then
|
||||
newconfd "${FILESDIR}"/cgred.confd cgred || die
|
||||
newinitd "${FILESDIR}"/cgred.initd cgred || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Read the kernel docs on cgroups, related schedulers, and the"
|
||||
elog "block I/O controllers. The Redhat Resource Management Guide"
|
||||
elog "is also helpful. DO NOT enable the cgroup namespace subsytem"
|
||||
elog "if you want a custom config, rule processing, etc. This option"
|
||||
elog "should only be enabled for a VM environment. The UID wildcard"
|
||||
elog "rules seem to work only without a custom config (since wildcards"
|
||||
elog "don't work in config blocks). Specific user-id configs *do*"
|
||||
elog "work, but be careful about how the mem limits add up if using"
|
||||
elog "the memory.limit_* directives. There should be a basic task"
|
||||
elog "partitioning into the default group when running cgred with no"
|
||||
elog "specific config blocks or rules (other than the mount directive)."
|
||||
elog "See the docs for the pam module config, and as always, RTFM..."
|
||||
}
|
@ -0,0 +1,114 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcgroup/libcgroup-0.39_rc1.ebuild,v 1.1 2012/11/26 18:45:23 maksbotan Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
|
||||
inherit eutils linux-info pam autotools-utils versionator
|
||||
|
||||
MY_P="${PN}-$(replace_version_separator 2 .)"
|
||||
|
||||
DESCRIPTION="Tools and libraries to configure and manage kernel control groups"
|
||||
HOMEPAGE="http://libcg.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/project/libcg/${PN}/v0.39.rc/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="+daemon debug pam static-libs +tools debug"
|
||||
|
||||
RDEPEND="pam? ( virtual/pam )"
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
"
|
||||
REQUIRED_USE="daemon? ( tools )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
DOCS=(README_daemon README README_systemd INSTALL)
|
||||
pkg_setup() {
|
||||
local CONFIG_CHECK="~CGROUPS"
|
||||
if use daemon; then
|
||||
CONFIG_CHECK="${CONFIG_CHECK} ~CONNECTOR ~PROC_EVENTS"
|
||||
fi
|
||||
linux-info_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
|
||||
# Change rules file location
|
||||
sed -e 's:/etc/cgrules.conf:/etc/cgroup/cgrules.conf:' \
|
||||
-i src/libcgroup-internal.h || die "sed failed"
|
||||
sed -e 's:\(pam_cgroup_la_LDFLAGS.*\):\1\ -avoid-version:' \
|
||||
-i src/pam/Makefile.am || die "sed failed"
|
||||
sed -e 's#/var/run#/run#g' -i configure.in || die "sed failed"
|
||||
|
||||
autotools-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local my_conf
|
||||
|
||||
if use pam; then
|
||||
my_conf=" --enable-pam-module-dir=$(getpam_mod_dir) "
|
||||
fi
|
||||
|
||||
#if use daemon; then
|
||||
# my_conf+=" --enable-cgred-socket=/run/cgred.socket "
|
||||
#fi
|
||||
|
||||
local myeconfargs=(
|
||||
$(use_enable daemon)
|
||||
$(use_enable debug)
|
||||
$(use_enable pam)
|
||||
$(use_enable tools)
|
||||
--enable-silent-rules
|
||||
${my_conf}
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Use mount cgroup to build directory
|
||||
# sandbox restricted to trivial build,
|
||||
# possible kill Diego tanderbox ;)
|
||||
true
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-utils_src_install
|
||||
prune_libtool_files --all
|
||||
|
||||
insinto /etc/cgroup
|
||||
doins samples/*.conf || die
|
||||
|
||||
if use tools; then
|
||||
newconfd "${FILESDIR}"/cgconfig.confd cgconfig || die
|
||||
newinitd "${FILESDIR}"/cgconfig.initd cgconfig || die
|
||||
fi
|
||||
|
||||
if use daemon; then
|
||||
newconfd "${FILESDIR}"/cgred.confd cgred || die
|
||||
newinitd "${FILESDIR}"/cgred.initd cgred || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Read the kernel docs on cgroups, related schedulers, and the"
|
||||
elog "block I/O controllers. The Redhat Resource Management Guide"
|
||||
elog "is also helpful. DO NOT enable the cgroup namespace subsytem"
|
||||
elog "if you want a custom config, rule processing, etc. This option"
|
||||
elog "should only be enabled for a VM environment. The UID wildcard"
|
||||
elog "rules seem to work only without a custom config (since wildcards"
|
||||
elog "don't work in config blocks). Specific user-id configs *do*"
|
||||
elog "work, but be careful about how the mem limits add up if using"
|
||||
elog "the memory.limit_* directives. There should be a basic task"
|
||||
elog "partitioning into the default group when running cgred with no"
|
||||
elog "specific config blocks or rules (other than the mount directive)."
|
||||
elog "See the docs for the pam module config, and as always, RTFM..."
|
||||
}
|
@ -1,9 +1,7 @@
|
||||
DIST libnl-1.1.tar.gz 288932 SHA256 35cea4cfb6cd8af0cafa0f34fff81def5a1f193b8b8384299b4b21883e22edc3 SHA512 add02849845bd0029968a9fb9a642133051196da17cf7b45eef192de1c09ad0b0ad7cc8424fa325f1c63262779d0abfd74e4ecb634abe66a4d2f394b3ad3e3de WHIRLPOOL 1fa96e4206acf5e9091a2aeed9a0694b6f4cce3aaae9a2074cd8713e4f1f526b5af138b69d03e7f233cc52d1acd3b67237455261ee42c56bf69c4b17caef0b84
|
||||
DIST libnl-3.2.13.tar.gz 1177080 SHA256 4deba0ecec0e5aede900b5676ed56d727b688e3d49f3e732c7e294a6a920bcf9 SHA512 30f8063caf288a596e18f3162fdfef1e67d1584322f5064bef3978d2e874177c0dcc9486ab92f7f737896a102e772f15a54451c886436f01abebb3e38e36a2ee WHIRLPOOL dbb2a8b3c69ee53f3cc0019596ba37984b359079ccb88444fb44db3bf387a9215bf2442ce4d48e697244278ef92d245c92895147cb9779382e652651d58cc75e
|
||||
DIST libnl-3.2.14.tar.gz 687883 SHA256 6bb043eea08765bada37a053d932f073db9d51e7a8cd419e237c785ba6369e2c SHA512 14e9b733beb985d83bb4672087c91734954a6e90fe71a825dc089ab797ddf6a9e9ee39a046c5b996a3a0184588160a47830a368540831443615793a1eef647f5 WHIRLPOOL 34f6e4cb8b07b67a5b5abfaa59a0a45f114921b894959ede2e7b44640d6aa012a4bc1e08752b31b11035b745001a43716c3e093b4ccfecfa99a0f6a0b65a7539
|
||||
DIST libnl-3.2.15.tar.gz 712039 SHA256 756f8b31f74e087f180340aa28a181f698062965ca69936ab089f7f6741e6ea9 SHA512 3b9ee8bdb6daba06aa8ecf21466d4d9252988a772a7cd3c306ecb248e7e58a1605c7dcfd62591dae51b47e284fee3c55da28cba09da587eddabc49a1283673f9 WHIRLPOOL 03ff7dbf875d1fa6e9bc01835551d2c2ee1e41c6510d0725c4278a0ca4d281b79e2749ac182846f6e993b6553762248a8bdeb05ac3675d65d11e79cc7194c010
|
||||
DIST libnl-3.2.16.tar.gz 712043 SHA256 c43a42336c6a3cf559f390e202f8f029d165bd767da7cf7a32a815c570b31826 SHA512 7aaeac4b13a374bc89bebd932da522223776c7c3462002bd9c6b9c1fde1ff3620518b335e117ee78f5da0007a19b85c82078c21348db6ad9aa684da7c2083aa9 WHIRLPOOL dd43f8f4a2eb787a84a77ea0e54bcd4401822d333d57fca427fb4ba760ae81be58a8ac916e42decde2fc8f6ee2d7dc8fe570e046d8bff3c82317fb280199542f
|
||||
DIST libnl-3.2.7.tar.gz 1124758 SHA256 1141f3229ebf65f6cee43a898d4832b8c17cb942e23adeccb365e75708a2b08e SHA512 be060ca030a83869575e22761b106e206c9545be92c18e61f09dce99476237ea71ebfb777ebb7ee17da6a2e3886fdfd30ae1fc6b37b775ba6a74cdd79568d1f3 WHIRLPOOL e7ed8f3f1d662d784527ce2a7bfaf5c34c39fbe3a7c1bf799e7cd3aa31703fe662bb3eb0ad59f55ca5b2d9e62946646117bce7ecae99f8b32f201120d11a1dde
|
||||
DIST libnl-doc-3.2.14.tar.gz 8766064 SHA256 1db05aaa61c14ee578fa432cc1973a73379abe175859ef9e92ea033eae005e43 SHA512 2692f6d4c3e3a9d4fe9cc210fdb03751356daaebe19f8d9041804252a6c220dfc7ad4e72da428b56ade30afa2ef3ec3b6c86416f07b12013403dad8f735b0c0b WHIRLPOOL f55436bc28750f4d4d1bf716fc73e36a01b27d8799c0b2d8fee785db3da935fae4c4ab05a03dd4c65b9ef0cc32d2c112182b4e343e97b116a28da90e3035d96c
|
||||
DIST libnl-doc-3.2.15.tar.gz 11792430 SHA256 71c9aef7bf1495b5c2a488abf247ab5a4744783e8b4c6641b0bbb8e28d92605f SHA512 9224f308e3f01fd7a2d98f0cca0bf6f6d6535cfdc905c61bbb242c788a7c6121dee80c135552fd87a6e0dce31be4dea89e981066982f9d4f96b29f35ce92458c WHIRLPOOL 58902aff10580f1374dca9885060a20d32aedf1264c628c0105a860c8870d1ff9f4491a5b16389fb677815ae19aa98b9218ca3ce46385510d4bc88d0f5e574f9
|
||||
DIST libnl-doc-3.2.16.tar.gz 11792430 SHA256 71c9aef7bf1495b5c2a488abf247ab5a4744783e8b4c6641b0bbb8e28d92605f SHA512 9224f308e3f01fd7a2d98f0cca0bf6f6d6535cfdc905c61bbb242c788a7c6121dee80c135552fd87a6e0dce31be4dea89e981066982f9d4f96b29f35ce92458c WHIRLPOOL 58902aff10580f1374dca9885060a20d32aedf1264c628c0105a860c8870d1ff9f4491a5b16389fb677815ae19aa98b9218ca3ce46385510d4bc88d0f5e574f9
|
||||
|
@ -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-libs/libnl/libnl-3.2.15.ebuild,v 1.2 2012/11/23 17:17:40 jer Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit eutils libtool multilib
|
||||
|
||||
DESCRIPTION="A library for applications dealing with netlink socket"
|
||||
HOMEPAGE="http://www.infradead.org/~tgr/libnl/"
|
||||
SRC_URI="
|
||||
http://www.infradead.org/~tgr/libnl/files/${P}.tar.gz
|
||||
http://www.infradead.org/~tgr/libnl/files/${PN}-doc-${PV}.tar.gz
|
||||
"
|
||||
LICENSE="LGPL-2.1 doc? ( GPL-2 ) utils? ( GPL-2 )"
|
||||
SLOT="3"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux"
|
||||
IUSE="doc static-libs utils"
|
||||
|
||||
DEPEND="
|
||||
sys-devel/flex
|
||||
sys-devel/bison
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
elibtoolize
|
||||
epatch "${FILESDIR}"/${PN}-1.1-vlan-header.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-silent-rules \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable utils cli)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
if use doc; then
|
||||
dohtml -r \
|
||||
-a css,html,js,map,png \
|
||||
"${WORKDIR}"/${PN}-doc-${PV}/*
|
||||
fi
|
||||
|
||||
use static-libs || rm -f "${ED}"/usr/$(get_libdir)/lib*.la
|
||||
|
||||
dodoc ChangeLog
|
||||
}
|
@ -1,4 +1,6 @@
|
||||
DIST libxml2-2.8.0-namespace-node-patches.tar.bz2 4929 SHA256 659f4d9fa8971346f545492474a95e655a84c47fe02978c418528b1ad3e23af2 SHA512 37e4b985ebce9fc69f1e58eccb3281d5bc1786e3d886b5a0649d47d2564a998f95dac3b6214bfc597c993828f9d1c43cd1edb60ded8058c376e4ce024036e06d WHIRLPOOL 4209036c5ae8cdf9ab75d248fbb92e042e343f6f806d2c3fffcfa24bfa97cb156d323bec8b867a8df929b1f19f84f922cfbbd23eda6c490447e545b26f4ccf95
|
||||
DIST libxml2-2.8.0.tar.gz 4915203 SHA256 f2e2d0e322685193d1affec83b21dc05d599e17a7306d7b90de95bb5b9ac622a SHA512 e36ca96e5ba18f767346f1310c43d3c8c9a35c53252de18ad63ebce7f1f8df7ae40dd0719b2c6d78f5a64e61be154eec63a36ae738d29e93a9139c524a289ad4 WHIRLPOOL 3731ba80e6f6d6eba4d12d39ff564c81f9c26ff79df8c3f7bd264c5b27332732552186f5e9f3ff10661b1571cda0b75ac966fc65d0cbb3da9e73791f6b2369ad
|
||||
DIST libxml2-2.9.0.tar.gz 5161069 SHA256 ad25d91958b7212abdc12b9611cfb4dc4e5cddb6d1e9891532f48aacee422b82 SHA512 b13268ea3725a8b534974ece33981b001324164e5687df94b0d15c77189070e2a5d9f08c1646e5492e70a607ca0adf00788772fcf300ac2d4a110e9bf57d4afe WHIRLPOOL 652e3b1e9b4241cd9bb7ab5f5c1261091378693057cb552b7f0517ebf7e48569abefde06707d4b2f56a08c13b693dcec76bdc360d7cd11937464bb4f87161116
|
||||
DIST xmlts20080827.tar.gz 638940 SHA256 96151685cec997e1f9f3387e3626d61e6284d4d6e66e0e440c209286c03e9cc7 SHA512 7325d0977c4427fc4944b291ccf896a665f654cc24399e5565c12a849c2bc3aef4fa3ee42a09ac115abcb6570c51a8fbd052c38d64d164279ecdecad5a4e884d WHIRLPOOL 50835380c3ea208df0bf9ce032ed2df69c4c6cb5a53ffdd39a08fb4f1d166f311b2ef2fe0d9911ae1ebff92aeb42f6ea55e727dfe0b7a3b95e6c7240315b3eda
|
||||
DIST xsts-2002-01-16.tar.gz 6894439 SHA256 55e5c08db29946a91ea8e70e8f2418d3fd30d8b6777941dfba7f54726ffd9914 SHA512 43300af6d39c1e2221b0ed7318fe14c7464eeb6eb030ed1e22eb29b4ab17f014e2a4c8887c3a46ae5d243e3072da27f00f4e285498ae6f1288177d38d1108288 WHIRLPOOL 84dd51959460a4f8aa582d57ad39229c546ca7fe155012c57c368b59f5d31400d8b940a343a7320058330ca611303139cacdffed514783f96406ac5366026b11
|
||||
DIST xsts-2004-01-14.tar.gz 2761085 SHA256 09bdf9f81f381ebf9bc158a9472e498e896f7a02eb7461146e9abe1b9493ca17 SHA512 32854388d7e720ad67156baf50bf2bae7bd878ca3e35fd7e44e57cad3f434f69d56bbbedd61509f8a1faf01c9eae74a078df8fe130780b182c05c05cb1c39ebe WHIRLPOOL c46a3bf7d6dd771757f4304995cc177cf51c6cdd0e9778851fc13d3809c7b984690b4f273b3e075abe018110968eb7fc78f5b83170d3e18bacf00a4ed64b213d
|
||||
|
@ -0,0 +1,25 @@
|
||||
From 6a36fbe3b3e001a8a840b5c1fdd81cefc9947f0d Mon Sep 17 00:00:00 2001
|
||||
From: Daniel Veillard <veillard@redhat.com>
|
||||
Date: Mon, 29 Oct 2012 10:39:55 +0800
|
||||
Subject: [PATCH] Fix potential out of bound access
|
||||
|
||||
---
|
||||
parser.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/parser.c b/parser.c
|
||||
index 0d8d7f2..bd634e9 100644
|
||||
--- a/parser.c
|
||||
+++ b/parser.c
|
||||
@@ -4076,7 +4076,7 @@ xmlParseAttValueComplex(xmlParserCtxtPtr ctxt, int *attlen, int normalize) {
|
||||
goto error;
|
||||
|
||||
if ((in_space) && (normalize)) {
|
||||
- while (buf[len - 1] == 0x20) len--;
|
||||
+ while ((len > 0) && (buf[len - 1] == 0x20)) len--;
|
||||
}
|
||||
buf[len] = 0;
|
||||
if (RAW == '<') {
|
||||
--
|
||||
1.8.0
|
||||
|
@ -0,0 +1,21 @@
|
||||
diff --git a/python/Makefile.am b/python/Makefile.am
|
||||
index 4a8b5d5..b976893 100644
|
||||
--- a/python/Makefile.am
|
||||
+++ b/python/Makefile.am
|
||||
@@ -19,13 +19,14 @@ if WITH_PYTHON
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_builddir)/include \
|
||||
-I$(top_srcdir)/include \
|
||||
- -I$(PYTHON_INCLUDES)
|
||||
+ -I$(PYTHON_INCLUDES) \
|
||||
+ -shared
|
||||
|
||||
python_LTLIBRARIES = libxml2mod.la
|
||||
|
||||
libxml2mod_la_SOURCES = libxml.c libxml_wrap.h libxml2-py.h libxml2-py.c types.c
|
||||
libxml2mod_la_LIBADD = $(top_builddir)/libxml2.la $(CYGWIN_EXTRA_PYTHON_LIBADD) $(WIN32_EXTRA_PYTHON_LIBADD) $(PYTHON_LIBS) -lpython$(PYTHON_VERSION)
|
||||
-libxml2mod_la_LDFLAGS = $(CYGWIN_EXTRA_LDFLAGS) $(WIN32_EXTRA_LDFLAGS) -module -avoid-version
|
||||
+libxml2mod_la_LDFLAGS = $(CYGWIN_EXTRA_LDFLAGS) $(WIN32_EXTRA_LDFLAGS) -module -avoid-version -shared
|
||||
|
||||
BUILT_SOURCES = libxml2-export.c libxml2-py.h libxml2-py.c
|
||||
|
@ -0,0 +1,56 @@
|
||||
From 153cf15905cf4ec080612ada6703757d10caba1e Mon Sep 17 00:00:00 2001
|
||||
From: Daniel Veillard <veillard@redhat.com>
|
||||
Date: Fri, 26 Oct 2012 13:50:47 +0800
|
||||
Subject: [PATCH] Fix large parse of file from memory
|
||||
|
||||
https://bugzilla.redhat.com/show_bug.cgi?id=862969
|
||||
The new code trying to detect excessive input lookup would
|
||||
just get wrong sometimes in the case of very large file parsed
|
||||
directly from memory.
|
||||
---
|
||||
libxml.h | 2 ++
|
||||
parser.c | 1 +
|
||||
xmlIO.c | 2 +-
|
||||
3 files changed, 4 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/libxml.h b/libxml.h
|
||||
index efe285b..7558b5f 100644
|
||||
--- a/libxml.h
|
||||
+++ b/libxml.h
|
||||
@@ -91,6 +91,8 @@ void __xmlGlobalInitMutexDestroy(void);
|
||||
int __xmlRandom(void);
|
||||
#endif
|
||||
|
||||
+int xmlNop(void);
|
||||
+
|
||||
#ifdef IN_LIBXML
|
||||
#ifdef __GNUC__
|
||||
#ifdef PIC
|
||||
diff --git a/parser.c b/parser.c
|
||||
index 43f53d9..0d8d7f2 100644
|
||||
--- a/parser.c
|
||||
+++ b/parser.c
|
||||
@@ -2025,6 +2025,7 @@ static void xmlSHRINK (xmlParserCtxtPtr ctxt) {
|
||||
static void xmlGROW (xmlParserCtxtPtr ctxt) {
|
||||
if ((((ctxt->input->end - ctxt->input->cur) > XML_MAX_LOOKUP_LIMIT) ||
|
||||
((ctxt->input->cur - ctxt->input->base) > XML_MAX_LOOKUP_LIMIT)) &&
|
||||
+ ((ctxt->input->buf) && (ctxt->input->buf->readcallback != xmlNop)) &&
|
||||
((ctxt->options & XML_PARSE_HUGE) == 0)) {
|
||||
xmlFatalErr(ctxt, XML_ERR_INTERNAL_ERROR, "Huge input lookup");
|
||||
ctxt->instate = XML_PARSER_EOF;
|
||||
diff --git a/xmlIO.c b/xmlIO.c
|
||||
index f8f438b..44254e4 100644
|
||||
--- a/xmlIO.c
|
||||
+++ b/xmlIO.c
|
||||
@@ -800,7 +800,7 @@ xmlCheckFilename (const char *path)
|
||||
return 1;
|
||||
}
|
||||
|
||||
-static int
|
||||
+int
|
||||
xmlNop(void) {
|
||||
return(0);
|
||||
}
|
||||
--
|
||||
1.8.0
|
||||
|
@ -0,0 +1,27 @@
|
||||
From 711b15d545713b3a34a51ce8163d1162533647c9 Mon Sep 17 00:00:00 2001
|
||||
From: Daniel Veillard <veillard@redhat.com>
|
||||
Date: Thu, 25 Oct 2012 19:23:26 +0800
|
||||
Subject: [PATCH] Fix a bug in the nsclean option of the parser
|
||||
|
||||
Raised as a side effect of:
|
||||
https://bugzilla.gnome.org/show_bug.cgi?id=663844
|
||||
---
|
||||
parser.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/parser.c b/parser.c
|
||||
index 19f1217..43f53d9 100644
|
||||
--- a/parser.c
|
||||
+++ b/parser.c
|
||||
@@ -1540,7 +1540,7 @@ nsPush(xmlParserCtxtPtr ctxt, const xmlChar *prefix, const xmlChar *URL)
|
||||
{
|
||||
if (ctxt->options & XML_PARSE_NSCLEAN) {
|
||||
int i;
|
||||
- for (i = 0;i < ctxt->nsNr;i += 2) {
|
||||
+ for (i = ctxt->nsNr - 2;i >= 0;i -= 2) {
|
||||
if (ctxt->nsTab[i] == prefix) {
|
||||
/* in scope */
|
||||
if (ctxt->nsTab[i + 1] == URL)
|
||||
--
|
||||
1.8.0
|
||||
|
@ -0,0 +1,31 @@
|
||||
From e7715a5963afebfb027120db6914926ec9a7373d Mon Sep 17 00:00:00 2001
|
||||
From: Wouter Van Rooy <rooywo@vasco.com>
|
||||
Date: Fri, 14 Sep 2012 14:39:42 +0800
|
||||
Subject: [PATCH] rand_seed should be static in dict.c
|
||||
|
||||
For https://bugzilla.gnome.org/show_bug.cgi?id=683933
|
||||
rand_seed should be a static variable in dict.c
|
||||
|
||||
We ran into a problem with another library that exports rand_seed as a
|
||||
function. Combined with 2.7.8 this was not a problem but later versions
|
||||
have this problem.
|
||||
---
|
||||
dict.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/dict.c b/dict.c
|
||||
index 9935a25..164c7f2 100644
|
||||
--- a/dict.c
|
||||
+++ b/dict.c
|
||||
@@ -143,7 +143,7 @@ static int xmlDictInitialized = 0;
|
||||
/*
|
||||
* Internal data for random function, protected by xmlDictMutex
|
||||
*/
|
||||
-unsigned int rand_seed = 0;
|
||||
+static unsigned int rand_seed = 0;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
--
|
||||
1.8.0
|
||||
|
@ -0,0 +1,54 @@
|
||||
From 6c91aa384f48ff6d406553a6dd47fd556c1ef2e6 Mon Sep 17 00:00:00 2001
|
||||
From: Daniel Veillard <veillard@redhat.com>
|
||||
Date: Thu, 25 Oct 2012 15:33:59 +0800
|
||||
Subject: [PATCH] Fix a regression in 2.9.0 breaking validation while
|
||||
streaming
|
||||
|
||||
https://bugzilla.gnome.org/show_bug.cgi?id=684774
|
||||
with help from Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
|
||||
---
|
||||
SAX2.c | 2 +-
|
||||
parser.c | 7 +++++--
|
||||
2 files changed, 6 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/SAX2.c b/SAX2.c
|
||||
index a24abc8..3eea39a 100644
|
||||
--- a/SAX2.c
|
||||
+++ b/SAX2.c
|
||||
@@ -2202,7 +2202,7 @@ xmlSAX2StartElementNs(void *ctx,
|
||||
(ctxt->myDoc->intSubset->elements == NULL) &&
|
||||
(ctxt->myDoc->intSubset->attributes == NULL) &&
|
||||
(ctxt->myDoc->intSubset->entities == NULL)))) {
|
||||
- xmlErrValid(ctxt, XML_ERR_NO_DTD,
|
||||
+ xmlErrValid(ctxt, XML_DTD_NO_DTD,
|
||||
"Validation failed: no DTD found !", NULL, NULL);
|
||||
ctxt->validate = 0;
|
||||
}
|
||||
diff --git a/parser.c b/parser.c
|
||||
index 28b0d80..19f1217 100644
|
||||
--- a/parser.c
|
||||
+++ b/parser.c
|
||||
@@ -11633,7 +11633,7 @@ xmlParseTryOrFinish(xmlParserCtxtPtr ctxt, int terminate) {
|
||||
"PP: Parsing internal subset\n");
|
||||
#endif
|
||||
ctxt->inSubset = 1;
|
||||
- ctxt->progressive = 1;
|
||||
+ ctxt->progressive = 0;
|
||||
ctxt->checkIndex = 0;
|
||||
xmlParseDocTypeDecl(ctxt);
|
||||
if (RAW == '[') {
|
||||
@@ -12219,7 +12219,10 @@ xmldecl_done:
|
||||
}
|
||||
ctxt->instate = XML_PARSER_EOF;
|
||||
}
|
||||
- return((xmlParserErrors) ctxt->errNo);
|
||||
+ if (ctxt->wellFormed == 0)
|
||||
+ return((xmlParserErrors) ctxt->errNo);
|
||||
+ else
|
||||
+ return(0);
|
||||
}
|
||||
|
||||
/************************************************************************
|
||||
--
|
||||
1.8.0
|
||||
|
@ -0,0 +1,65 @@
|
||||
From 0ad948ede2b5060a144c72e4e27c38d24a272ef4 Mon Sep 17 00:00:00 2001
|
||||
From: Tim Starling <tstarling@wikimedia.org>
|
||||
Date: Mon, 29 Oct 2012 13:41:55 +1100
|
||||
Subject: [PATCH] Define LIBXML_THREAD_ALLOC_ENABLED via xmlversion.h
|
||||
|
||||
Otherwise, direct calls to xmlFree() etc. from the application will
|
||||
use a different set of allocation functions to what was used to allocate
|
||||
the memory internally.
|
||||
---
|
||||
configure.in | 4 +++-
|
||||
include/libxml/xmlversion.h.in | 9 +++++++++
|
||||
2 files changed, 12 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure.in b/configure.in
|
||||
index 6da057c..245c033 100644
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -954,6 +954,7 @@ WITH_THREADS=0
|
||||
THREAD_CFLAGS=""
|
||||
TEST_THREADS=""
|
||||
THREADS_W32=""
|
||||
+WITH_THREAD_ALLOC=0
|
||||
|
||||
if test "$with_threads" = "no" ; then
|
||||
echo Disabling multithreaded support
|
||||
@@ -1017,7 +1018,7 @@ else
|
||||
fi
|
||||
fi
|
||||
if test "$with_thread_alloc" = "yes" -a "$WITH_THREADS" = "1" ; then
|
||||
- THREAD_CFLAGS="$THREAD_CFLAGS -DLIBXML_THREAD_ALLOC_ENABLED"
|
||||
+ WITH_THREAD_ALLOC=1
|
||||
fi
|
||||
|
||||
AC_SUBST(THREAD_LIBS)
|
||||
@@ -1025,6 +1026,7 @@ AC_SUBST(BASE_THREAD_LIBS)
|
||||
AC_SUBST(WITH_THREADS)
|
||||
AC_SUBST(THREAD_CFLAGS)
|
||||
AC_SUBST(TEST_THREADS)
|
||||
+AC_SUBST(WITH_THREAD_ALLOC)
|
||||
AM_CONDITIONAL([THREADS_W32],[test -n "$THREADS_W32"])
|
||||
|
||||
dnl
|
||||
diff --git a/include/libxml/xmlversion.h.in b/include/libxml/xmlversion.h.in
|
||||
index c98e7ca..00a836f 100644
|
||||
--- a/include/libxml/xmlversion.h.in
|
||||
+++ b/include/libxml/xmlversion.h.in
|
||||
@@ -98,6 +98,15 @@ XMLPUBFUN void XMLCALL xmlCheckVersion(int version);
|
||||
#endif
|
||||
|
||||
/**
|
||||
+ * LIBXML_THREAD_ALLOC_ENABLED:
|
||||
+ *
|
||||
+ * Whether the allocation hooks are per-thread
|
||||
+ */
|
||||
+#if @WITH_THREAD_ALLOC@
|
||||
+#define LIBXML_THREAD_ALLOC_ENABLED
|
||||
+#endif
|
||||
+
|
||||
+/**
|
||||
* LIBXML_TREE_ENABLED:
|
||||
*
|
||||
* Whether the DOM like tree manipulation API support is configured in
|
||||
--
|
||||
1.8.0
|
||||
|
@ -0,0 +1,37 @@
|
||||
From 3f6cfbd1d38d0634a2ddcb9a0a13e1b5a2195a5e Mon Sep 17 00:00:00 2001
|
||||
From: Friedrich Haubensak <hsk@fli-leibniz.de>
|
||||
Date: Wed, 12 Sep 2012 17:34:53 +0200
|
||||
Subject: [PATCH] Fix a thread portability problem
|
||||
|
||||
cannot compile libxml2-2.9.0 using studio 12.1 compiler on solaris 10
|
||||
|
||||
I.M.O. structure initializer (as PTHREAD_ONCE_INIT) cannot be used in
|
||||
a structure assignment anyway
|
||||
---
|
||||
threads.c | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/threads.c b/threads.c
|
||||
index f206149..7e85a26 100644
|
||||
--- a/threads.c
|
||||
+++ b/threads.c
|
||||
@@ -146,6 +146,7 @@ struct _xmlRMutex {
|
||||
static pthread_key_t globalkey;
|
||||
static pthread_t mainthread;
|
||||
static pthread_once_t once_control = PTHREAD_ONCE_INIT;
|
||||
+static pthread_once_t once_control_init = PTHREAD_ONCE_INIT;
|
||||
static pthread_mutex_t global_init_lock = PTHREAD_MUTEX_INITIALIZER;
|
||||
#elif defined HAVE_WIN32_THREADS
|
||||
#if defined(HAVE_COMPILER_TLS)
|
||||
@@ -915,7 +916,7 @@ xmlCleanupThreads(void)
|
||||
#ifdef HAVE_PTHREAD_H
|
||||
if ((libxml_is_threaded) && (pthread_key_delete != NULL))
|
||||
pthread_key_delete(globalkey);
|
||||
- once_control = PTHREAD_ONCE_INIT;
|
||||
+ once_control = once_control_init;
|
||||
#elif defined(HAVE_WIN32_THREADS) && !defined(HAVE_COMPILER_TLS) && (!defined(LIBXML_STATIC) || defined(LIBXML_STATIC_FOR_DLL))
|
||||
if (globalkey != TLS_OUT_OF_INDEXES) {
|
||||
xmlGlobalStateCleanupHelperParams *p;
|
||||
--
|
||||
1.8.0
|
||||
|
@ -0,0 +1,228 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxml2/libxml2-2.8.0-r3.ebuild,v 1.2 2012/11/26 19:56:27 tetromino Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="python? 2"
|
||||
PYTHON_USE_WITH="xml"
|
||||
PYTHON_USE_WITH_OPT="python"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*"
|
||||
|
||||
inherit libtool flag-o-matic eutils python autotools prefix
|
||||
|
||||
DESCRIPTION="Version 2 of the library to manipulate XML files"
|
||||
HOMEPAGE="http://www.xmlsoft.org/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
|
||||
IUSE="debug doc examples icu ipv6 lzma python readline static-libs test"
|
||||
|
||||
XSTS_HOME="http://www.w3.org/XML/2004/xml-schema-test-suite"
|
||||
XSTS_NAME_1="xmlschema2002-01-16"
|
||||
XSTS_NAME_2="xmlschema2004-01-14"
|
||||
XSTS_TARBALL_1="xsts-2002-01-16.tar.gz"
|
||||
XSTS_TARBALL_2="xsts-2004-01-14.tar.gz"
|
||||
|
||||
SRC_URI="ftp://xmlsoft.org/${PN}/${PN}-${PV/_rc/-rc}.tar.gz
|
||||
test? (
|
||||
${XSTS_HOME}/${XSTS_NAME_1}/${XSTS_TARBALL_1}
|
||||
${XSTS_HOME}/${XSTS_NAME_2}/${XSTS_TARBALL_2} )
|
||||
http://dev.gentoo.org/~tetromino/distfiles/${PN}/${P}-namespace-node-patches.tar.bz2"
|
||||
|
||||
RDEPEND="sys-libs/zlib
|
||||
icu? ( dev-libs/icu )
|
||||
lzma? ( app-arch/xz-utils )
|
||||
readline? ( sys-libs/readline )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
hppa? ( >=sys-devel/binutils-2.15.92.0.2 )"
|
||||
|
||||
S="${WORKDIR}/${PN}-${PV%_rc*}"
|
||||
|
||||
pkg_setup() {
|
||||
use python && python_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
# ${A} isn't used to avoid unpacking of test tarballs into $WORKDIR,
|
||||
# as they are needed as tarballs in ${S}/xstc instead and not unpacked
|
||||
unpack ${P/_rc/-rc}.tar.gz
|
||||
unpack "${P}-namespace-node-patches.tar.bz2"
|
||||
cd "${S}"
|
||||
|
||||
if use test; then
|
||||
cp "${DISTDIR}/${XSTS_TARBALL_1}" \
|
||||
"${DISTDIR}/${XSTS_TARBALL_2}" \
|
||||
"${S}"/xstc/ \
|
||||
|| die "Failed to install test tarballs"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Patches needed for prefix support
|
||||
epatch "${FILESDIR}"/${PN}-2.7.1-catalog_path.patch
|
||||
epatch "${FILESDIR}"/${PN}-2.8.0_rc1-winnt.patch
|
||||
|
||||
eprefixify catalog.c xmlcatalog.c runtest.c xmllint.c
|
||||
|
||||
epunt_cxx
|
||||
|
||||
epatch "${FILESDIR}/${PN}-2.7.8-disable_static_modules.patch"
|
||||
|
||||
# Prevent linking to out-of-build-tree libxml2, bug #417539
|
||||
epatch "${FILESDIR}/${PN}-2.8.0-icu-linking.patch"
|
||||
|
||||
# Namespace nodes require special treatment, bug #434344
|
||||
epatch ../patch/*.patch
|
||||
|
||||
# Buffer underflow in xmlParseAttValueComplex, bug #444836; fixed in 2.9.1
|
||||
epatch "${FILESDIR}/${PN}-2.8.0-xmlParseAttValueComplex-underflow.patch"
|
||||
|
||||
# Please do not remove, as else we get references to PORTAGE_TMPDIR
|
||||
# in /usr/lib/python?.?/site-packages/libxml2mod.la among things.
|
||||
# We now need to run eautoreconf at the end to prevent maintainer mode.
|
||||
# elibtoolize
|
||||
|
||||
# Python bindings are built/tested/installed manually.
|
||||
sed -e "s/@PYTHON_SUBDIR@//" -i Makefile.am || die "sed 1 failed"
|
||||
|
||||
# Use Gentoo's python-config naming scheme
|
||||
sed -e 's/python$PYTHON_VERSION-config/python-config-$PYTHON_VERSION/' \
|
||||
-i configure.in || die "sed 2 failed"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# USE zlib support breaks gnome2
|
||||
# (libgnomeprint for instance fails to compile with
|
||||
# fresh install, and existing) - <azarah@gentoo.org> (22 Dec 2002).
|
||||
|
||||
# The meaning of the 'debug' USE flag does not apply to the --with-debug
|
||||
# switch (enabling the libxml2 debug module). See bug #100898.
|
||||
|
||||
# --with-mem-debug causes unusual segmentation faults (bug #105120).
|
||||
|
||||
local myconf=(
|
||||
--with-html-subdir=${PF}/html
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}"
|
||||
$(use_with debug run-debug)
|
||||
$(use_with icu)
|
||||
$(use_with lzma)
|
||||
$(use_with python)
|
||||
$(use_with readline)
|
||||
$(use_with readline history)
|
||||
$(use_enable ipv6)
|
||||
$(use_enable static-libs static) )
|
||||
|
||||
# filter seemingly problematic CFLAGS (#26320)
|
||||
filter-flags -fprefetch-loop-arrays -funroll-loops
|
||||
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if use python; then
|
||||
python_copy_sources python
|
||||
building() {
|
||||
emake PYTHON_INCLUDES="${EPREFIX}$(python_get_includedir)" \
|
||||
PYTHON_SITE_PACKAGES="${EPREFIX}$(python_get_sitedir)"
|
||||
}
|
||||
python_execute_function -s --source-dir python building
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
default
|
||||
|
||||
if use python; then
|
||||
testing() {
|
||||
emake test
|
||||
}
|
||||
python_execute_function -s --source-dir python testing
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" \
|
||||
EXAMPLES_DIR="${EPREFIX}"/usr/share/doc/${PF}/examples \
|
||||
install || die "Installation failed"
|
||||
|
||||
# on windows, xmllint is installed by interix libxml2 in parent prefix.
|
||||
# this is the version to use. the native winnt version does not support
|
||||
# symlinks, which makes repoman fail if the portage tree is linked in
|
||||
# from another location (which is my default). -- mduft
|
||||
if [[ ${CHOST} == *-winnt* ]]; then
|
||||
rm -rf "${ED}"/usr/bin/xmllint
|
||||
rm -rf "${ED}"/usr/bin/xmlcatalog
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
installation() {
|
||||
emake DESTDIR="${D}" \
|
||||
PYTHON_SITE_PACKAGES="${EPREFIX}$(python_get_sitedir)" \
|
||||
docsdir="${EPREFIX}"/usr/share/doc/${PF}/python \
|
||||
exampledir="${EPREFIX}"/usr/share/doc/${PF}/python/examples \
|
||||
install
|
||||
}
|
||||
python_execute_function -s --source-dir python installation
|
||||
|
||||
python_clean_installation_image
|
||||
fi
|
||||
|
||||
rm -rf "${ED}"/usr/share/doc/${P}
|
||||
dodoc AUTHORS ChangeLog Copyright NEWS README* TODO*
|
||||
|
||||
if ! use python; then
|
||||
rm -rf "${ED}"/usr/share/doc/${PF}/python
|
||||
rm -rf "${ED}"/usr/share/doc/${PN}-python-${PV}
|
||||
fi
|
||||
|
||||
if ! use doc; then
|
||||
rm -rf "${ED}"/usr/share/gtk-doc
|
||||
rm -rf "${ED}"/usr/share/doc/${PF}/html
|
||||
fi
|
||||
|
||||
if ! use examples; then
|
||||
rm -rf "${ED}/usr/share/doc/${PF}/examples"
|
||||
rm -rf "${ED}/usr/share/doc/${PF}/python/examples"
|
||||
fi
|
||||
|
||||
# Always remove useless .la files
|
||||
find "${D}" -name '*.la' -exec rm -f {} + || die "la file removal failed"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use python; then
|
||||
python_mod_optimize drv_libxml2.py libxml2.py
|
||||
fi
|
||||
|
||||
# We don't want to do the xmlcatalog during stage1, as xmlcatalog will not
|
||||
# be in / and stage1 builds to ROOT=/tmp/stage1root. This fixes bug #208887.
|
||||
if [ "${ROOT}" != "/" ]
|
||||
then
|
||||
elog "Skipping XML catalog creation for stage building (bug #208887)."
|
||||
else
|
||||
# need an XML catalog, so no-one writes to a non-existent one
|
||||
CATALOG="${EROOT}etc/xml/catalog"
|
||||
|
||||
# we dont want to clobber an existing catalog though,
|
||||
# only ensure that one is there
|
||||
# <obz@gentoo.org>
|
||||
if [ ! -e ${CATALOG} ]; then
|
||||
[ -d "${EROOT}etc/xml" ] || mkdir -p "${EROOT}etc/xml"
|
||||
"${EPREFIX}"/usr/bin/xmlcatalog --create > ${CATALOG}
|
||||
einfo "Created XML catalog in ${CATALOG}"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if use python; then
|
||||
python_mod_cleanup drv_libxml2.py libxml2.py
|
||||
fi
|
||||
}
|
@ -0,0 +1,226 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxml2/libxml2-2.9.0.ebuild,v 1.1 2012/11/27 05:43:54 tetromino Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_DEPEND="python? 2"
|
||||
PYTHON_USE_WITH="xml"
|
||||
PYTHON_USE_WITH_OPT="python"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*"
|
||||
|
||||
inherit libtool flag-o-matic eutils python autotools prefix
|
||||
|
||||
DESCRIPTION="Version 2 of the library to manipulate XML files"
|
||||
HOMEPAGE="http://www.xmlsoft.org/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
|
||||
IUSE="debug examples icu ipv6 lzma python readline static-libs test"
|
||||
|
||||
XSTS_HOME="http://www.w3.org/XML/2004/xml-schema-test-suite"
|
||||
XSTS_NAME_1="xmlschema2002-01-16"
|
||||
XSTS_NAME_2="xmlschema2004-01-14"
|
||||
XSTS_TARBALL_1="xsts-2002-01-16.tar.gz"
|
||||
XSTS_TARBALL_2="xsts-2004-01-14.tar.gz"
|
||||
XMLCONF_TARBALL="xmlts20080827.tar.gz"
|
||||
|
||||
SRC_URI="ftp://xmlsoft.org/${PN}/${PN}-${PV/_rc/-rc}.tar.gz
|
||||
test? (
|
||||
${XSTS_HOME}/${XSTS_NAME_1}/${XSTS_TARBALL_1}
|
||||
${XSTS_HOME}/${XSTS_NAME_2}/${XSTS_TARBALL_2}
|
||||
http://www.w3.org/XML/Test/${XMLCONF_TARBALL} )"
|
||||
|
||||
RDEPEND="sys-libs/zlib
|
||||
icu? ( dev-libs/icu )
|
||||
lzma? ( app-arch/xz-utils )
|
||||
readline? ( sys-libs/readline )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/gtk-doc-am
|
||||
hppa? ( >=sys-devel/binutils-2.15.92.0.2 )"
|
||||
|
||||
S="${WORKDIR}/${PN}-${PV%_rc*}"
|
||||
|
||||
pkg_setup() {
|
||||
use python && python_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
# ${A} isn't used to avoid unpacking of test tarballs into $WORKDIR,
|
||||
# as they are needed as tarballs in ${S}/xstc instead and not unpacked
|
||||
unpack ${P/_rc/-rc}.tar.gz
|
||||
cd "${S}"
|
||||
|
||||
if use test; then
|
||||
cp "${DISTDIR}/${XSTS_TARBALL_1}" \
|
||||
"${DISTDIR}/${XSTS_TARBALL_2}" \
|
||||
"${S}"/xstc/ \
|
||||
|| die "Failed to install test tarballs"
|
||||
unpack ${XMLCONF_TARBALL}
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Patches needed for prefix support
|
||||
epatch "${FILESDIR}"/${PN}-2.7.1-catalog_path.patch
|
||||
epatch "${FILESDIR}"/${PN}-2.8.0_rc1-winnt.patch
|
||||
|
||||
eprefixify catalog.c xmlcatalog.c runtest.c xmllint.c
|
||||
|
||||
epunt_cxx
|
||||
|
||||
epatch "${FILESDIR}/${PN}-2.9.0-disable_static_modules.patch"
|
||||
|
||||
# Important patches from 2.9.1
|
||||
epatch "${FILESDIR}/${P}-rand_seed.patch" \
|
||||
"${FILESDIR}/${P}-thread-portability.patch" \
|
||||
"${FILESDIR}/${P}-streaming-validation.patch" \
|
||||
"${FILESDIR}/${P}-nsclean.patch" \
|
||||
"${FILESDIR}/${P}-large-file-parse.patch" \
|
||||
"${FILESDIR}/${P}-thread-alloc.patch"
|
||||
|
||||
# Buffer underflow in xmlParseAttValueComplex, bug #444836; fixed in 2.9.1
|
||||
epatch "${FILESDIR}/${PN}-2.8.0-xmlParseAttValueComplex-underflow.patch"
|
||||
|
||||
# Please do not remove, as else we get references to PORTAGE_TMPDIR
|
||||
# in /usr/lib/python?.?/site-packages/libxml2mod.la among things.
|
||||
# We now need to run eautoreconf at the end to prevent maintainer mode.
|
||||
# elibtoolize
|
||||
|
||||
# Python bindings are built/tested/installed manually.
|
||||
sed -e 's/$(PYTHON_SUBDIR)//' -i Makefile.am || die "sed 1 failed"
|
||||
|
||||
# Use Gentoo's python-config naming scheme
|
||||
sed -e 's/python$PYTHON_VERSION-config/python-config-$PYTHON_VERSION/' \
|
||||
-i configure.in || die "sed 2 failed"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# USE zlib support breaks gnome2
|
||||
# (libgnomeprint for instance fails to compile with
|
||||
# fresh install, and existing) - <azarah@gentoo.org> (22 Dec 2002).
|
||||
|
||||
# The meaning of the 'debug' USE flag does not apply to the --with-debug
|
||||
# switch (enabling the libxml2 debug module). See bug #100898.
|
||||
|
||||
# --with-mem-debug causes unusual segmentation faults (bug #105120).
|
||||
|
||||
local myconf=(
|
||||
--with-html-subdir=${PF}/html
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}"
|
||||
$(use_with debug run-debug)
|
||||
$(use_with icu)
|
||||
$(use_with lzma)
|
||||
$(use_with python)
|
||||
$(use_with readline)
|
||||
$(use_with readline history)
|
||||
$(use_enable ipv6)
|
||||
$(use_enable static-libs static) )
|
||||
|
||||
# filter seemingly problematic CFLAGS (#26320)
|
||||
filter-flags -fprefetch-loop-arrays -funroll-loops
|
||||
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if use python; then
|
||||
python_copy_sources python
|
||||
building() {
|
||||
emake PYTHON_INCLUDES="${EPREFIX}$(python_get_includedir)" \
|
||||
PYTHON_SITE_PACKAGES="${EPREFIX}$(python_get_sitedir)"
|
||||
}
|
||||
python_execute_function -s --source-dir python building
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
default
|
||||
|
||||
if use python; then
|
||||
testing() {
|
||||
emake test
|
||||
}
|
||||
python_execute_function -s --source-dir python testing
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" \
|
||||
EXAMPLES_DIR="${EPREFIX}"/usr/share/doc/${PF}/examples \
|
||||
install || die "Installation failed"
|
||||
|
||||
# on windows, xmllint is installed by interix libxml2 in parent prefix.
|
||||
# this is the version to use. the native winnt version does not support
|
||||
# symlinks, which makes repoman fail if the portage tree is linked in
|
||||
# from another location (which is my default). -- mduft
|
||||
if [[ ${CHOST} == *-winnt* ]]; then
|
||||
rm -rf "${ED}"/usr/bin/xmllint
|
||||
rm -rf "${ED}"/usr/bin/xmlcatalog
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
installation() {
|
||||
emake DESTDIR="${D}" \
|
||||
PYTHON_SITE_PACKAGES="${EPREFIX}$(python_get_sitedir)" \
|
||||
docsdir="${EPREFIX}"/usr/share/doc/${PF}/python \
|
||||
exampledir="${EPREFIX}"/usr/share/doc/${PF}/python/examples \
|
||||
install
|
||||
}
|
||||
python_execute_function -s --source-dir python installation
|
||||
|
||||
python_clean_installation_image
|
||||
fi
|
||||
|
||||
rm -rf "${ED}"/usr/share/doc/${P}
|
||||
dodoc AUTHORS ChangeLog Copyright NEWS README* TODO*
|
||||
|
||||
if ! use python; then
|
||||
rm -rf "${ED}"/usr/share/doc/${PF}/python
|
||||
rm -rf "${ED}"/usr/share/doc/${PN}-python-${PV}
|
||||
fi
|
||||
|
||||
if ! use examples; then
|
||||
rm -rf "${ED}/usr/share/doc/${PF}/examples"
|
||||
rm -rf "${ED}/usr/share/doc/${PF}/python/examples"
|
||||
fi
|
||||
|
||||
prune_libtool_files
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use python; then
|
||||
python_mod_optimize drv_libxml2.py libxml2.py
|
||||
fi
|
||||
|
||||
# We don't want to do the xmlcatalog during stage1, as xmlcatalog will not
|
||||
# be in / and stage1 builds to ROOT=/tmp/stage1root. This fixes bug #208887.
|
||||
if [ "${ROOT}" != "/" ]
|
||||
then
|
||||
elog "Skipping XML catalog creation for stage building (bug #208887)."
|
||||
else
|
||||
# need an XML catalog, so no-one writes to a non-existent one
|
||||
CATALOG="${EROOT}etc/xml/catalog"
|
||||
|
||||
# we dont want to clobber an existing catalog though,
|
||||
# only ensure that one is there
|
||||
# <obz@gentoo.org>
|
||||
if [ ! -e ${CATALOG} ]; then
|
||||
[ -d "${EROOT}etc/xml" ] || mkdir -p "${EROOT}etc/xml"
|
||||
"${EPREFIX}"/usr/bin/xmlcatalog --create > ${CATALOG}
|
||||
einfo "Created XML catalog in ${CATALOG}"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if use python; then
|
||||
python_mod_cleanup drv_libxml2.py libxml2.py
|
||||
fi
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
From 3736e5234e04cea4dc722247a148b37c6e1884c2 Mon Sep 17 00:00:00 2001
|
||||
From: Pacho Ramos <pachoramos@gmail.com>
|
||||
Date: Sat, 27 Oct 2012 10:38:38 +0000
|
||||
Subject: build: Use gmime-2.6
|
||||
|
||||
Force using gmime-2.6 usage to prevent automagic dependencies
|
||||
now that older versions are deprecated.
|
||||
|
||||
https://bugzilla.gnome.org/show_bug.cgi?id=686975
|
||||
---
|
||||
diff --git a/configure.in b/configure.in
|
||||
index ba40b2e..ea539d2 100644
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -75,15 +75,9 @@ AC_ARG_ENABLE(gmime-i-know-what-im-doing,
|
||||
|
||||
if test "x$enable_gmime" = "xyes" ; then
|
||||
PKG_CHECK_MODULES(GMIME,
|
||||
- gmime-2.4,
|
||||
- [have_gmime=yes GMIME=gmime-2.4],
|
||||
- [have_gmime=no])
|
||||
- if test "x$have_gmime" != "xyes" ; then
|
||||
- PKG_CHECK_MODULES(GMIME,
|
||||
gmime-2.6,
|
||||
[have_gmime=yes GMIME=gmime-2.6],
|
||||
[have_gmime=no])
|
||||
- fi
|
||||
|
||||
if test "x$have_gmime" = "xyes" ; then
|
||||
AC_SUBST(GMIME, $GMIME)
|
||||
--
|
||||
cgit v0.9.0.2
|
@ -0,0 +1,63 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/totem-pl-parser/totem-pl-parser-3.4.3-r1.ebuild,v 1.1 2012/11/26 18:31:42 pacho Exp $
|
||||
|
||||
EAPI="4"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
inherit autotools eutils gnome2
|
||||
|
||||
DESCRIPTION="Playlist parsing library"
|
||||
HOMEPAGE="http://projects.gnome.org/totem/ http://developer.gnome.org/totem-pl-parser/stable/"
|
||||
|
||||
LICENSE="LGPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="archive crypt +introspection +quvi test"
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.31:2
|
||||
dev-libs/gmime:2.6
|
||||
>=net-libs/libsoup-gnome-2.30:2.4
|
||||
archive? ( >=app-arch/libarchive-2.8.4 )
|
||||
crypt? ( dev-libs/libgcrypt )
|
||||
introspection? ( >=dev-libs/gobject-introspection-0.9.5 )
|
||||
quvi? ( >=media-libs/libquvi-0.2.15 )"
|
||||
DEPEND="${RDEPEND}
|
||||
!<media-video/totem-2.21
|
||||
>=dev-util/intltool-0.35
|
||||
>=sys-devel/gettext-0.17
|
||||
dev-util/gtk-doc-am
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
gnome-base/gvfs[http]
|
||||
sys-apps/dbus )"
|
||||
|
||||
src_prepare() {
|
||||
G2CONF="${G2CONF}
|
||||
--disable-static
|
||||
$(use_enable archive libarchive)
|
||||
$(use_enable crypt libgcrypt)
|
||||
$(use_enable quvi)
|
||||
$(use_enable introspection)"
|
||||
DOCS="AUTHORS ChangeLog NEWS"
|
||||
|
||||
# Avoid glib-2.34 dependency for now, bug #435408
|
||||
epatch "${FILESDIR}/${P}-no-g_clear_pointer.patch"
|
||||
|
||||
# build: Use gmime-2.6 (fixed in 'master' (> 3.4.3))
|
||||
epatch "${FILESDIR}/${PN}-2.32.6-gmime26.patch"
|
||||
|
||||
# Disable tests requiring network access, bug #346127
|
||||
sed -e 's:\(g_test_add_func.*/parser/resolution.*\):/*\1*/:' \
|
||||
-e 's:\(g_test_add_func.*/parser/parsing/itms_link.*\):/*\1*/:' \
|
||||
-i plparse/tests/parser.c || die "sed failed"
|
||||
|
||||
eautoreconf
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# This is required as told by upstream in bgo#629542
|
||||
GVFS_DISABLE_FUSE=1 dbus-launch emake check || die "emake check failed"
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST billiard-2.7.3.12.tar.gz 123714 SHA256 e0c4cd45977807731d43461afd02118a398a09238fd7a245033272a1ad5d0625 SHA512 4b7b7c7ca7f4b84cd004551bcfdddef255f748d67cd3101a15962ee5aceaa881358f02366437ea7f7b8a6052b665318ab99c50a36d5f0cde1483916dcc250bb7 WHIRLPOOL bcbccef5012523b87b91438fe2a4904e08ab3a3ae34509465b85b385e5c1cbceee3e9125ef26ff6f5a368f238d168a54c2535226ea7926db9de6fc53f9fec5c0
|
||||
DIST billiard-2.7.3.17.tar.gz 124757 SHA256 9d34b619d83f92c48325d756de11ced457a32d1912323ba1aebe966f7ab67c4a SHA512 35dc31dc5177122449a5288db0eca2f13a0309a852f2c0f01a58752463d5aa1eed8689cc1bbe1af61262a8ffb1c9c9dc6f5b09b0675040eed915c1442f4c095a WHIRLPOOL c77675b37bc7a339cee93b4f492fab6d52f8e4c43e424303e60ff609def5805dad1c5a9b5f630fa3c212c12a5746c23b3998efea56fbb2b3499cea47bb63ac0e
|
||||
DIST billiard-2.7.3.18.tar.gz 125092 SHA256 3ec1c17ff0c51ebb03ec3dea4629f81617424c937360ce1e5ba930dea147b659 SHA512 976db60981cc2e011dac9b43ac81ddbc6a2d51dc7d4b18ed72be8f879f34175cd6351c6f52a219448f7614aecf71f5f9e26393b8653de5bf714aca89e3f051b8 WHIRLPOOL 983d5c44d25a188a6a3a95767e9a9e52b0543a6f6f1b79942b9b587f5149aa5f49d47a866193b5348aad020f8f144846d3d234b703c2a3068cf6c7478227af80
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/billiard/billiard-2.7.3.12.ebuild,v 1.2 2012/11/09 13:26:26 idella4 Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/billiard/billiard-2.7.3.18.ebuild,v 1.1 2012/11/26 22:42:04 iksaif Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
@ -1,3 +1,2 @@
|
||||
DIST kombu-2.4.5.tar.gz 290869 SHA256 909b101c521eca3a3c7d25b52f845b8fa347e602c8db40d5046e3f23039a931f SHA512 c7f1373e7b7f66e6afcc10b08332170431c7057575e5369ab383ab423b41dee5b79412f839f1789babeafb8776b58597136cb5385b796cb59c3f374b9b7a437c WHIRLPOOL 3b5d66dad3fa436c30ba920443356ec201e7775178fd0d4dc4bc3c04c87d104cdb2db0f9489c2ff24f8aa0318422ef15c656dacf87a60a99af42763ef94be294
|
||||
DIST kombu-2.4.7.tar.gz 289883 SHA256 d86d179111fa347bbb40d946feb579a5cf4d93f8b4db946e8a0c12c7257d7cc3 SHA512 6c278e73d98a9d9d5d277a405d8e5cf4ab0f6db7eadb9431fce677d6b229033e11d9629d4320ca27fbf7cae7c1b6b07dbb6af3089034f9b62b2536e53754fcf5 WHIRLPOOL dfb132526dc9b5145d396d4177af7f724cf53220dc6fcdb9eae4a32254a069a419f66e7c8cda96d49b1bb7a1b1c5337fff79d06fcabe27f0b77477e121491bc4
|
||||
DIST kombu-2.4.8.tar.gz 290975 SHA256 c6613158dcb21d630300dbb53fb76dabdc28c21ba2b13386ce39fda136c5907e SHA512 cc340c14e7d081ebfb59c439db39b13aeceb62e803c8738072e4626ee8f23cf1ea73e012f25dd972b11a06520b86831261ace8ff878b0a1ee8e905e3f3f9f5a0 WHIRLPOOL c7a41aea5e99ed4a8f33fb620e8ff177b764484112b1c7ad980f7cb8bcc8bffe8c1a6df5ea7a904e7135e9c53e5ae3393b3591d0056bbf930c6b74e05fffa698
|
||||
DIST kombu-2.4.9.tar.gz 291187 SHA256 94ee2160adbc377fccfa9dc156056103ba566536b831e75c9569815b9f4a9598 SHA512 695aa7750542136227f00e39713de24397ad58279c510afd49070ae1f3d1fec470a64abe8bf67be75800c70ba03adeb40c6cf1f9e412434e4d039eb51acb3e6f WHIRLPOOL a66e5638fcd9404fbe95f282b68ada58e19b509f0240592b10ffcea369839dd4417bd7be3297a94174119c7758c93317f60c7f0c054fc80f376170dac1c8fae3
|
||||
|
@ -1,65 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/kombu/kombu-2.4.5.ebuild,v 1.1 2012/08/31 21:02:39 iksaif Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
PYTHON_TESTS_RESTRICTED_ABIS="3.* 2.7-pypy-*"
|
||||
PYTHON_DEPEND="*:2.5"
|
||||
RESTRICT_PYTHON_ABIS="2.4"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
DISTUTILS_SRC_TEST="nosetests"
|
||||
|
||||
inherit distutils eutils
|
||||
|
||||
DESCRIPTION="AMQP Messaging Framework for Python"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/kombu https://github.com/ask/kombu"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc examples test"
|
||||
|
||||
RDEPEND=">=dev-python/anyjson-0.3.3
|
||||
>=dev-python/amqplib-1.0"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-python/nose-cover3
|
||||
dev-python/mock
|
||||
dev-python/simplejson
|
||||
dev-python/anyjson
|
||||
dev-python/redis-py
|
||||
dev-python/pymongo
|
||||
dev-python/msgpack )
|
||||
doc? ( dev-python/sphinx
|
||||
dev-python/beanstalkc
|
||||
dev-python/couchdb-python )
|
||||
dev-python/setuptools"
|
||||
|
||||
src_prepare() {
|
||||
if use test; then
|
||||
epatch "${FILESDIR}/${PN}-2.1.1-add-assertIsInstance-with-unittest.patch"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
distutils_src_compile
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
src_test() {
|
||||
testing() {
|
||||
nosetests --py3where build-${PYTHON_ABI}/lib/${PN}/tests
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
if use examples; then
|
||||
docompress -x usr/share/doc/${P}/examples/
|
||||
insinto usr/share/doc/${P}/
|
||||
doins -r examples/
|
||||
fi
|
||||
use doc && dohtml -r docs/.build/html/
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/facter/facter-1.6.10.ebuild,v 1.2 2012/08/14 03:29:59 flameeyes Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
USE_RUBY="ruby18 ruby19 ree18 jruby"
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md"
|
||||
RUBY_FAKEGEM_BINWRAP="facter"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A cross-platform Ruby library for retrieving facts from operating systems"
|
||||
HOMEPAGE="http://www.puppetlabs.com/puppet/related-projects/facter/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
|
||||
CDEPEND="
|
||||
sys-apps/dmidecode
|
||||
sys-apps/lsb-release
|
||||
sys-apps/pciutils"
|
||||
|
||||
RDEPEND+=" ${CDEPEND}"
|
||||
DEPEND+=" test? ( ${CDEPEND} )"
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/mocha )"
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/facter/facter-1.6.4.ebuild,v 1.4 2012/03/11 13:47:32 ranger Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
USE_RUBY="ruby18 ruby19 ree18 jruby"
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST="spec"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md"
|
||||
RUBY_FAKEGEM_BINWRAP="facter"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A cross-platform Ruby library for retrieving facts from operating systems"
|
||||
HOMEPAGE="http://www.puppetlabs.com/puppet/related-projects/facter/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
sys-apps/dmidecode
|
||||
sys-apps/lsb-release
|
||||
sys-apps/pciutils"
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
dev-ruby/mocha
|
||||
dev-ruby/rspec:2
|
||||
)"
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/facter/facter-1.6.8.ebuild,v 1.1 2012/05/12 08:17:55 graaff Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
USE_RUBY="ruby18 ruby19 ree18 jruby"
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST="spec"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md"
|
||||
RUBY_FAKEGEM_BINWRAP="facter"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A cross-platform Ruby library for retrieving facts from operating systems"
|
||||
HOMEPAGE="http://www.puppetlabs.com/puppet/related-projects/facter/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
sys-apps/dmidecode
|
||||
sys-apps/lsb-release
|
||||
sys-apps/pciutils"
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
dev-ruby/mocha
|
||||
dev-ruby/rspec:2
|
||||
)"
|
@ -1,4 +1,3 @@
|
||||
DIST glade-3.10.2.tar.xz 2380304 SHA256 0f59ffbd7e1e595396593fedcdb85c51fd01ed05d5ef7c6f724f3a0bcf24d5c4 SHA512 b76efb7934212e8148ddf660f7486e2932cbd0f497fb32fb37f58658329064b1c4ae366afa455713b658db3fac0746faa6f74cef0e1339e2e84492187eaa4359 WHIRLPOOL 6d9eef7d6461bdff727a51177c71c2489f93c5aeb5232d2d936894a188b43877dbb6494e3d277451d9f93a04e3831fab75234eebe9883b66f8b62e509043ad7c
|
||||
DIST glade-3.12.1.tar.xz 2458268 SHA256 27e89fb743adb9996c418aa70cde8ce3c0769103f3691cc8011e6c6846600e76 SHA512 9cb560f8c2605bb8f3debad9986db078ecc1bd0493f070365b07cd28c97504664fbe4c94c2ce361e73163a185909f15b91cef2a4d32cac12efe8ec951470d77c WHIRLPOOL 9959d9293f9b4c6078007eef3dcddc62305dfbe79a98d8c02b73b5f0e464a9ce670747fcd9120bdda6bb96cd88c29bf13bc150e9d3240c5aebd2c66272891fa1
|
||||
DIST glade-3.12.2.tar.xz 2455892 SHA256 8a60ea06528a5994ee2c214faeb834d3dcbffcef2e14d77d55d0e883de8eb3a3 SHA512 000c43b8f74c916f0ee87be0fd4e99eacbd356066b21397004079f6f7241332ec3144477afc8dd39db001bcd6bd2b76edb57b9689d87041bd505912e8a597d5b WHIRLPOOL ca419a59f636771a3558d7c47192acc823fd0ed4628ec721c11df78e841c74196a172c0fb849d25900dbb24b54fa1ac1a561ffa82c9b0d4eaef318a3cd2727cf
|
||||
DIST glade3-3.8.2.tar.xz 2316028 SHA256 f180a5018eee6e3fe574854cb025af897dd9962b01d17d5752e626876d388b19 SHA512 66e16ac22d903be7b3108a3af54086071731fd9f7893e22b0937d77cd4380c1cf2a8352850c2465a4e8bce7b3eaad10fab55b29a7e007b2b7a7ce300939aea55 WHIRLPOOL b42a3d297f11dbadab9d02b4826643a363e747063704ebc3db0f66c3ef1487f128ab543aa8df1b902341aafa813f62762861fcd00f0f0232fc183145858f6e1f
|
||||
|
@ -1,70 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/glade/glade-3.10.2.ebuild,v 1.9 2012/05/04 17:51:44 jdhore Exp $
|
||||
|
||||
EAPI="4"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
GCONF_DEBUG="yes"
|
||||
|
||||
inherit gnome2 versionator
|
||||
|
||||
DESCRIPTION="GNOME GUI Builder"
|
||||
HOMEPAGE="http://glade.gnome.org/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="3.10"
|
||||
KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sh sparc x86 ~x86-fbsd"
|
||||
IUSE="doc +introspection python"
|
||||
|
||||
RDEPEND=">=x11-libs/gtk+-3.0.2:3
|
||||
>=dev-libs/libxml2-2.4.0:2
|
||||
introspection? ( >=dev-libs/gobject-introspection-0.10.1 )
|
||||
python? ( >=dev-python/pygobject-2.27.0:2 )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/scrollkeeper
|
||||
>=dev-util/intltool-0.41.0
|
||||
virtual/pkgconfig
|
||||
>=sys-devel/gettext-0.17
|
||||
>=app-text/gnome-doc-utils-0.18
|
||||
app-text/docbook-xml-dtd:4.1.2
|
||||
doc? ( >=dev-util/gtk-doc-1.13 )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
DOCS="AUTHORS ChangeLog NEWS README TODO"
|
||||
G2CONF="${G2CONF}
|
||||
--disable-maintainer-mode
|
||||
--disable-static
|
||||
--enable-libtool-lock
|
||||
--disable-scrollkeeper
|
||||
$(use_enable introspection)
|
||||
$(use_enable python)"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# to avoid file collision with glade:3, rename GNOME help module from
|
||||
# glade to glade-3.10, and gladeui documentation from gladeui to gladeui-2
|
||||
local i
|
||||
sed -e 's:DOC_MODULE = glade:DOC_MODULE = glade-3.10:' -i help/Makefile.in \
|
||||
|| die "sed of help/Makefile.in failed"
|
||||
sed -e 's:/glade.xml:/glade-3.10.xml:g' -i help/*/*.po \
|
||||
|| die "sed of help .po files failed"
|
||||
for i in help/*/glade.xml ; do
|
||||
mv ${i} ${i/glade/glade-3.10} || die "mv ${i} failed"
|
||||
done
|
||||
sed -e 's:DOC_MODULE = gladeui:DOC_MODULE = gladeui-2:' -i doc/Makefile.in \
|
||||
|| die "sed of doc/Makefile.in failed"
|
||||
for i in doc/gladeui-* doc/gladeui.* ; do
|
||||
mv ${i} ${i/gladeui/gladeui-2} || die "mv ${i} failed"
|
||||
done
|
||||
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# modify Name in .desktop file to avoid confusion with other slots
|
||||
sed -e 's:^\(Name.*=Glade\):\1 '$(get_version_component_range 1-2): \
|
||||
-i data/glade.desktop || die "sed of data/glade.desktop failed"
|
||||
gnome2_src_install
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST stressapptest-1.0.4_autoconf.tar.gz 200370 SHA256 c8c83419e800504682506e10800763759f3f339b2158bae1329bb145ff981b65 SHA512 bcc81057361c9ae09562106398f1a3d6b5a0a41e4bf4e7b61ca8f05144a4295e642136dd5441ad1950b5c2785476593ad30d03052e4fe9e9f4071aabd33b123f WHIRLPOOL fe8befb6f76c33c4b2d525064c47e3b9c69a1352b6a0eb502c06ca3b12143aa7a3127e9b944ab1c871937345978ddc6598f1dbe2f3fb7cd3dc6dd65b4563b537
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>vapier@gentoo.org</email>
|
||||
<description>do whatever</description>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/stressapptest/stressapptest-1.0.4.ebuild,v 1.2 2012/11/27 06:54:01 vapier Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
MY_P="${P}_autoconf"
|
||||
DESCRIPTION="Stressful Application Test"
|
||||
HOMEPAGE="http://code.google.com/p/stressapptest/"
|
||||
SRC_URI="http://stressapptest.googlecode.com/files/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug"
|
||||
|
||||
RDEPEND="dev-libs/libaio"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
'/CXXFLAGS/s:-O3 -funroll-all-loops -funroll-loops::' \
|
||||
configure || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
doman "${ED}"/usr/share/doc/${PN}/${PN}.1
|
||||
rm -rf "${ED}"/usr/share/doc # only installs COPYING & man page
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST 148658-NVidiaDeviceMonitor-0.1.2.tar.gz 99459 SHA256 8f0449b1031c2f907f9fcd15662abd2156a980d53cfb278430c651af01d6ef40 SHA512 cde5df821660628a203ece00f14f0ab706b050f4258a4dd85507c63ae7649466f0ff21597d4bf1cdcd31ffd58a47e7b9b1eb8f69d33a6704a7afbdd66ba8ab7a WHIRLPOOL f98f68d2f54762865e319834315663333963f49a8f828def1b92d43c3a9049c16762065957aa421a08c4b2e481873dbb09d333a1b2d707fcb60afc1a40148570
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>kde</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-misc/nvdevmon/nvdevmon-0.1.2.ebuild,v 1.1 2012/11/27 04:55:16 creffett Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="A device monitor for NVIDIA cards"
|
||||
HOMEPAGE="http://kde-look.org/content/show.php/NVidia+Device+Monitor?content=148658"
|
||||
SRC_URI="http://kde-look.org/CONTENT/content-files/148658-NVidiaDeviceMonitor-${PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="4"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
S="${WORKDIR}/NVidiaDeviceMonitor"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="
|
||||
x11-drivers/nvidia-drivers
|
||||
"
|
@ -1 +1 @@
|
||||
DIST fetchinfo-plugin-0.4.25.tar.gz 375998 SHA256 aaf875d5b26fa8e17246ade413b8007cb33cc36bde1ddafb468c2ac5aa340e36 SHA512 cd25bdf91c30a751baa5a217443c7bdcab8b33e57ee28a058c8b6e97f92060a8e3e9fbaada1f3b3cbf7f251489ba515287e8f8e7d7b84455168e68f438ed34cc WHIRLPOOL 1207655620e123fa4e2a88dd7192a7eac38780de57a583b44a1d5ae3b004de6f36562f855a37a2aeab9c656291df6f6101bdaa1671ad6f7b869b20089c297c0c
|
||||
DIST fetchinfo-plugin-0.4.25.tar.gz 377476 SHA256 94fa60b0bc4245a6e25c453127b8caf2bd356ad27d6c7da57cabb3bd8eeec0e4 SHA512 8b5f6436b499c52a92f5d69ea638bcfce9a4ba88f772c8191ece11a580389d5a0aa501faba319e2613dc19c98eaf7a907e6192a27302a743f25292e541ffdf00 WHIRLPOOL 33e4fe9e52ce6cf47713dcaa18d85756a48d5f93831d8a2bf6ff1b0a5200d7b04ce4e7743e25517496ecd94bde1c76b5617dea30546a7b6e2d0b580e5bc133df
|
||||
|
@ -1,3 +1,2 @@
|
||||
DIST caps_0.4.2.tar.gz 784363 RMD160 6275dcedf607e0ed6c3ab794dac5dabca5cc0684 SHA1 298ed487211ad3738b6260cfaf2352e929630e46 SHA256 2e781f8892ba4071c0f215573892fe2668b3c3fc42962c5720cefdcb12a2a813
|
||||
DIST caps_0.4.4.tar.gz 789281 RMD160 24181c116237f1868abe98c740dda739a61291e1 SHA1 7b1622f3545fa5dfc7d198c2dbc111704a078e9b SHA256 18f0339ce129cfbb506072687390928fea23f2b11673e43c7ccb1747709a1c8e
|
||||
DIST caps_0.4.5.tar.gz 790187 RMD160 5d102ad76e78e268bdf17f5dc0808b242a05cb9b SHA1 10db12fd2dd88c38da8626d5c95ef03e509034e3 SHA256 cba5a7785ab5b1c596250fded999215906bc7eda7c8a688f677de15698e31616
|
||||
DIST caps_0.4.4.tar.gz 789281 SHA256 18f0339ce129cfbb506072687390928fea23f2b11673e43c7ccb1747709a1c8e
|
||||
DIST caps_0.4.5.tar.gz 790187 SHA256 cba5a7785ab5b1c596250fded999215906bc7eda7c8a688f677de15698e31616 SHA512 5ceaa43e40f3a5d746abc847b8c8e4a2aafe1569b3d370b32b09a64ac52e642b172cc6b944b495b902e5c2a81c538f3406e08124475a80cc143c6e33ee960f15 WHIRLPOOL c219010c7c28508ab5c5606742131369ba8c115f17775f61bdea4ccc06ba015014fb871bb3abc4b9896f3ca61f7345d0b829fde87be53772a2fe9d7dc62a8280
|
||||
|
@ -1,33 +1,42 @@
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-plugins/caps-plugins/caps-plugins-0.4.2.ebuild,v 1.2 2008/10/04 14:15:27 maekke Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-plugins/caps-plugins/caps-plugins-0.4.5-r1.ebuild,v 1.1 2012/11/27 00:04:49 aballier Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils toolchain-funcs multilib
|
||||
|
||||
IUSE=""
|
||||
MY_P=caps-${PV}
|
||||
|
||||
DESCRIPTION="The CAPS Audio Plugin Suite - LADSPA plugin suite which includes DSP units emulating instrument amplifiers, stomp-box classics, versatile 'virtual analogue' oscillators, fractal oscillation, reverb, equalization and others"
|
||||
DESCRIPTION="The CAPS Audio Plugin Suite - LADSPA plugin suite"
|
||||
HOMEPAGE="http://quitte.de/dsp/caps.html"
|
||||
SRC_URI="http://quitte.de/dsp/caps_${PV}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="media-libs/ladspa-sdk"
|
||||
RDEPEND=""
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-double-free-corruption.patch"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CFLAGS="${CFLAGS} -fPIC -DPIC" CC=$(tc-getCXX) || die
|
||||
emake CFLAGS="${CXXFLAGS} -fPIC -DPIC" _LDFLAGS="-nostartfiles -shared ${LDFLAGS}" CC="$(tc-getCXX)" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc README
|
||||
dodoc README CHANGES
|
||||
dohtml caps.html
|
||||
|
||||
insinto /usr/$(get_libdir)/ladspa
|
||||
insopts -m0755
|
||||
doins *.so
|
||||
|
||||
insinto /usr/share/ladspa/rdf
|
||||
insopts -m0644
|
||||
doins *.rdf
|
@ -0,0 +1,16 @@
|
||||
https://bugs.gentoo.org/show_bug.cgi?id=418241
|
||||
|
||||
--- interface.cc.orig 2012-08-11 07:35:45.723235289 -0300
|
||||
+++ interface.cc 2012-08-11 07:36:46.656565620 -0300
|
||||
@@ -128,8 +128,10 @@
|
||||
__attribute__ ((destructor))
|
||||
void _fini()
|
||||
{
|
||||
- for (ulong i = 0; i < N; ++i)
|
||||
+ for (ulong i = 0; i < N; ++i) {
|
||||
delete descriptors[i];
|
||||
+ descriptors[i] = NULL;
|
||||
+ }
|
||||
}
|
||||
|
||||
/* /////////////////////////////////////////////////////////////////////// */
|
@ -1 +1 @@
|
||||
Mon, 26 Nov 2012 18:36:54 +0000
|
||||
Tue, 27 Nov 2012 07:06:51 +0000
|
||||
|
@ -1 +1 @@
|
||||
Mon, 26 Nov 2012 18:36:54 +0000
|
||||
Tue, 27 Nov 2012 07:06:51 +0000
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue