parent
5aa6dcd89c
commit
a4b1d5133b
@ -0,0 +1,12 @@
|
||||
diff -Naur flite-1.4-release/config/common_make_rules flite-1.4-release.new/config/common_make_rules
|
||||
--- flite-1.4-release/config/common_make_rules 2009-07-30 14:52:56.000000000 +0000
|
||||
+++ flite-1.4-release.new/config/common_make_rules 2011-03-26 20:22:59.000000000 +0000
|
||||
@@ -123,7 +123,7 @@
|
||||
@ rm -rf shared_os && mkdir shared_os
|
||||
@ rm -f $@ $@.${PROJECT_VERSION} $@.${PROJECT_SHLIB_VERSION}
|
||||
@ (cd shared_os && ar x ../$<)
|
||||
- @ (cd shared_os && $(CC) -shared -Wl,-soname,`basename $@`.${PROJECT_SHLIB_VERSION} -o ../$@.${PROJECT_VERSION} *.os)
|
||||
+ @ (cd shared_os && $(CC) $(LDFLAGS) -shared -Wl,-soname,`basename $@`.${PROJECT_SHLIB_VERSION} -o ../$@.${PROJECT_VERSION} *.os)
|
||||
@ (cd $(LIBDIR) && ln -s `basename $@.${PROJECT_VERSION}` `basename $@.${PROJECT_SHLIB_VERSION}` )
|
||||
@ (cd $(LIBDIR) && ln -s `basename $@.${PROJECT_SHLIB_VERSION}` `basename $@` )
|
||||
@ rm -rf shared_os
|
@ -1,6 +1,2 @@
|
||||
DIST tardy-1.12.tar.gz 185481 RMD160 5b4c4bb1fca84d159bbfc68a836be97196c424b0 SHA1 d46f57d85c352b18a86cd4a449a08b260c4e5624 SHA256 18b0a0a14b0bf7d08be3638a76cef2ddebcc4e6db8445500384f11447d69caf7
|
||||
DIST tardy-1.16.tar.gz 1693228 RMD160 af3800fcb971a453b581b4df55aadb966ccc2f20 SHA1 315f55733c1fea181d279f3619cc0839edf2cc43 SHA256 021350d120cf307b73988f4cd61639d61221ccf02d427425d2895f39631becc1
|
||||
DIST tardy-1.17.tar.gz 1693148 RMD160 1c994148c0eed003cb0b83d69766368cc6dc6c94 SHA1 d9beb66b930ef02fbe152257a71a42e32b28e33a SHA256 b2058a1b43cd5060299dcd3bfc3f6240679b85419ee182af5160ae3d6aa09108
|
||||
DIST tardy-1.23.tar.gz 1830709 RMD160 b247fa72dec4dfb0960d7b5501b66f1db4de4407 SHA1 258dad1e7d7c4c5a2f04459dcca2ba0cc679e34c SHA256 f9c37ac7bd6ecbcdc9f921e60ceb5e35d444d5a9e95883d2e4017f695d848b5b
|
||||
DIST tardy-1.24.tar.gz 1831193 RMD160 d1bc50ff8b642dea5fe23c1f14a7792fe76453ca SHA1 f302533ac3bcb8a6ddd589d7e9cbf415bbf900d2 SHA256 b0eb792f33284078ee841e2747bfa48c261a8d1ede5b842a61dbf82a6f3c0cd9
|
||||
DIST tardy-1.25.tar.gz 1834343 RMD160 70575466371ac212cdd06c6345f0df0483c23ae1 SHA1 f657b9298eef19ddbbef5f350601c2846f699f19 SHA256 8ae113b1d10d7e645f1f6a4ebf2bc31b37cae7871b057a275aa787288ce60bb0
|
||||
|
@ -1,11 +0,0 @@
|
||||
diff --exclude='*~' -Naur tardy-1.16.orig/common/filenamelist/filter/progress.cc tardy-1.16/common/filenamelist/filter/progress.cc
|
||||
--- tardy-1.16.orig/common/filenamelist/filter/progress.cc 2008-04-28 22:54:43.000000000 +0000
|
||||
+++ tardy-1.16/common/filenamelist/filter/progress.cc 2008-06-22 15:14:33.000000000 +0000
|
||||
@@ -23,6 +23,7 @@
|
||||
#include <ac/unistd.h>
|
||||
#include <ac/sys/types.h>
|
||||
#include <ac/sys/stat.h>
|
||||
+#include <string.h>
|
||||
|
||||
#include <filenamelist/filter/progress.h>
|
||||
|
@ -1,42 +0,0 @@
|
||||
diff -ur tardy-1.17.orig/common/arglex.cc tardy-1.17/common/arglex.cc
|
||||
--- tardy-1.17.orig/common/arglex.cc 2008-06-23 05:50:02.000000000 +0300
|
||||
+++ tardy-1.17/common/arglex.cc 2009-08-09 19:46:21.000000000 +0300
|
||||
@@ -418,7 +418,7 @@
|
||||
{
|
||||
char *eqp;
|
||||
|
||||
- eqp = strchr(arg, '=');
|
||||
+ eqp = const_cast<char*> (strchr(arg, '='));
|
||||
if (eqp)
|
||||
{
|
||||
pushback = eqp + 1;
|
||||
diff -ur tardy-1.17.orig/common/trace.cc tardy-1.17/common/trace.cc
|
||||
--- tardy-1.17.orig/common/trace.cc 2008-06-23 05:50:02.000000000 +0300
|
||||
+++ tardy-1.17/common/trace.cc 2009-08-09 19:48:36.000000000 +0300
|
||||
@@ -256,7 +256,7 @@
|
||||
trace_printf("%s = '", name);
|
||||
if (*vp < ' ' || *vp > '~' || strchr("(){}[]", *vp))
|
||||
{
|
||||
- char *s;
|
||||
+ const char *s;
|
||||
|
||||
s = strchr("\bb\nn\tt\rr\ff", *vp);
|
||||
if (s)
|
||||
@@ -283,7 +283,7 @@
|
||||
trace_printf("%s = '", name);
|
||||
if (*vp < ' ' || *vp > '~' || strchr("(){}[]", *vp))
|
||||
{
|
||||
- char *s;
|
||||
+ const char *s;
|
||||
|
||||
s = strchr("\bb\nn\tt\rr\ff", *vp);
|
||||
if (s)
|
||||
@@ -400,7 +400,7 @@
|
||||
c = *s;
|
||||
if (c < ' ' || c > '~')
|
||||
{
|
||||
- char *cp;
|
||||
+ const char *cp;
|
||||
|
||||
cp = strchr("\bb\ff\nn\rr\tt", c);
|
||||
if (cp)
|
@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/tardy/tardy-1.16.ebuild,v 1.2 2011/10/12 01:59:02 jer Exp $
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="A tar post-processor"
|
||||
HOMEPAGE="http://tardy.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/tardy/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
sed -i '/^CFLAGS/d' Makefile.in
|
||||
epatch "${FILESDIR}"/${PN}-1.16-gcc43.patch
|
||||
}
|
||||
|
||||
src_test() {
|
||||
make sure || die "test failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make RPM_BUILD_ROOT="${D}" install || die "make install failed"
|
||||
dodoc README
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/tardy/tardy-1.17-r1.ebuild,v 1.2 2011/10/12 01:59:02 jer Exp $
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="A tar post-processor"
|
||||
HOMEPAGE="http://tardy.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/tardy/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
sed -i \
|
||||
-e '/^CFLAGS/d' \
|
||||
-e '/^LDFLAGS =/d' \
|
||||
-e 's/$(CXX) $(CFLAGS)/$(CXX) $(CXXFLAGS) -o $@/' \
|
||||
-e '/mv \(.*\)\.o \(.*\)\/\1\.o/d' \
|
||||
-e '/@sleep 1/d' \
|
||||
Makefile.in || die
|
||||
epatch "${FILESDIR}"/${P}-glibc-2.10.patch
|
||||
}
|
||||
|
||||
src_test() {
|
||||
make sure || die "test failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make RPM_BUILD_ROOT="${D}" install || die "make install failed"
|
||||
dodoc README
|
||||
}
|
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/tardy/tardy-1.23.ebuild,v 1.1 2011/09/10 10:06:35 radhermit Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="A tar post-processor"
|
||||
HOMEPAGE="http://tardy.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/tardy/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-libs/libexplain
|
||||
sys-libs/zlib"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e 's/$(CXX) .* $(CXXFLAGS) -I./\0 -o $@/' \
|
||||
-e '/mv \(.*\)\.o \(.*\)\/\1\.o/d' \
|
||||
-e '/@sleep 1/d' \
|
||||
-e 's#^\(install-man: $(mandir)/man1/tardy.1\).*#\1#' \
|
||||
Makefile.in || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake AR="$(tc-getAR)"
|
||||
}
|
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/tardy/tardy-1.24.ebuild,v 1.1 2011/10/04 03:36:39 radhermit Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="A tar post-processor"
|
||||
HOMEPAGE="http://tardy.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/tardy/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-libs/libexplain
|
||||
sys-libs/zlib"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e 's/$(CXX) .* $(CXXFLAGS) -I./\0 -o $@/' \
|
||||
-e '/mv \(.*\)\.o \(.*\)\/\1\.o/d' \
|
||||
-e '/@sleep 1/d' \
|
||||
-e 's#^\(install-man: $(mandir)/man1/tardy.1\).*#\1#' \
|
||||
Makefile.in || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake AR="$(tc-getAR)"
|
||||
}
|
@ -0,0 +1,178 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/johntheripper/johntheripper-1.7.9.ebuild,v 1.1 2012/02/23 10:04:21 radhermit Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs pax-utils
|
||||
|
||||
MY_PN="john"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
JUMBO="jumbo-5"
|
||||
#MPI="mpi10"
|
||||
|
||||
DESCRIPTION="fast password cracker"
|
||||
HOMEPAGE="http://www.openwall.com/john/"
|
||||
|
||||
SRC_URI="http://www.openwall.com/john/g/${MY_P}.tar.bz2
|
||||
!minimal? ( http://www.openwall.com/john/g/${MY_P}-${JUMBO}.diff.gz )"
|
||||
# mpi? ( ftp://ftp.openwall.com/john/contrib/mpi/2009-bindshell/${MY_P}-${MPI}.patch.gz )
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
# This package can't be marked stable for ppc or ppc64 before bug 327211 is closed.
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE="custom-cflags -minimal mmx openmp sse2"
|
||||
REQUIRED_USE="openmp? ( !minimal )"
|
||||
#Remove AltiVec USE flag. Appears to be an upstream issue.
|
||||
#IUSE="altivec custom-cflags -minimal mmx openmp sse2"
|
||||
#IUSE="altivec custom-cflags -minimal mmx -mpi sse2"
|
||||
|
||||
# Seems a bit fussy with other MPI implementations.
|
||||
RDEPEND="!minimal? ( >=dev-libs/openssl-0.9.7 )"
|
||||
# mpi? ( sys-cluster/openmpi )
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
get_target() {
|
||||
if use alpha; then
|
||||
echo "linux-alpha"
|
||||
elif use amd64; then
|
||||
echo "linux-x86-64"
|
||||
elif use ppc; then
|
||||
#if use altivec; then
|
||||
# echo "linux-ppc32-altivec"
|
||||
#else
|
||||
echo "linux-ppc32"
|
||||
#fi
|
||||
elif use ppc64; then
|
||||
#if use altivec; then
|
||||
# echo "linux-ppc32-altivec"
|
||||
#else
|
||||
echo "linux-ppc64"
|
||||
#fi
|
||||
# linux-ppc64-altivec is slightly slower than linux-ppc32-altivec for most hash types.
|
||||
# as per the Makefile comments
|
||||
elif use sparc; then
|
||||
echo "linux-sparc"
|
||||
elif use x86; then
|
||||
if use sse2; then
|
||||
echo "linux-x86-sse2"
|
||||
elif use mmx; then
|
||||
echo "linux-x86-mmx"
|
||||
else
|
||||
echo "linux-x86-any"
|
||||
fi
|
||||
elif use ppc-macos; then
|
||||
# force AltiVec, the non-altivec profile contains ancient compiler cruft
|
||||
# if use altivec; then
|
||||
echo "macosx-ppc32-altivec"
|
||||
# else
|
||||
# echo "macosx-ppc32"
|
||||
# fi
|
||||
# for Tiger this can be macosx-ppc64
|
||||
elif use x86-macos; then
|
||||
if use sse2; then
|
||||
echo "macosx-x86-sse2"
|
||||
else
|
||||
echo "macosx-x86"
|
||||
fi
|
||||
elif use x86-solaris; then
|
||||
echo "solaris-x86-any"
|
||||
else
|
||||
echo "generic"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
if use openmp ; then
|
||||
tc-has-openmp || die "Please switch to an openmp compatible compiler"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# if use mpi; then
|
||||
# epatch "${WORKDIR}/${MY_P}-${MPI}.patch"
|
||||
# fi
|
||||
if ! use minimal; then
|
||||
epatch "${WORKDIR}/${MY_P}-${JUMBO}.diff"
|
||||
fi
|
||||
local PATCHLIST="1.7.6-cflags 1.7.3.1-mkdir-sandbox"
|
||||
|
||||
cd src
|
||||
for p in ${PATCHLIST}; do
|
||||
epatch "${FILESDIR}/${PN}-${p}.patch"
|
||||
done
|
||||
|
||||
if ! use minimal; then
|
||||
sed -e "s/LDFLAGS *= */override LDFLAGS += /" -e "/LDFLAGS/s/-s//" \
|
||||
-e "/LDFLAGS/s/-L[^ ]*//g" -e "/CFLAGS/s/-[IL][^ ]*//g" \
|
||||
-i Makefile || die "sed Makefile failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local OMP
|
||||
|
||||
use custom-cflags || strip-flags
|
||||
echo "#define JOHN_SYSTEMWIDE 1" >> config.gentoo
|
||||
echo "#define JOHN_SYSTEMWIDE_HOME \"${EPREFIX}/etc/john\"" >> config.gentoo
|
||||
echo "#define JOHN_SYSTEMWIDE_EXEC \"${EPREFIX}/usr/libexec/john\"" >> config.gentoo
|
||||
append-flags -fPIC -fPIE -include "${S}"/config.gentoo
|
||||
gcc-specs-pie && append-ldflags -nopie
|
||||
use openmp && OMP="-fopenmp"
|
||||
|
||||
CPP=$(tc-getCXX) CC=$(tc-getCC) AS=$(tc-getCC) LD=$(tc-getCC)
|
||||
# use mpi && CPP=mpicxx CC=mpicc AS=mpicc LD=mpicc
|
||||
emake -C src/ \
|
||||
CPP=${CPP} CC=${CC} AS=${AS} LD=${LD} \
|
||||
CFLAGS="-c -Wall ${CFLAGS} ${OMP}" \
|
||||
LDFLAGS="${LDFLAGS}" \
|
||||
OPT_NORMAL="" \
|
||||
OMPFLAGS="${OMP}" \
|
||||
$(get_target)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd run
|
||||
./john --test || die "self test failed"
|
||||
|
||||
# This requires that MPI is actually 100% online on your system, which might not
|
||||
# be the case, depending on which MPI implementation you are using.
|
||||
#if use mpi; then
|
||||
# mpirun -np 2 ./john --test || die "self test failed"
|
||||
#else
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# executables
|
||||
dosbin run/john
|
||||
newsbin run/mailer john-mailer
|
||||
|
||||
pax-mark -m "${ED}usr/sbin/john" || die
|
||||
|
||||
dosym john /usr/sbin/unafs
|
||||
dosym john /usr/sbin/unique
|
||||
dosym john /usr/sbin/unshadow
|
||||
|
||||
# jumbo-patch additions
|
||||
if ! use minimal; then
|
||||
dosym john /usr/sbin/undrop
|
||||
dosbin run/calc_stat
|
||||
dosbin run/genmkvpwd
|
||||
dosbin run/mkvcalcproba
|
||||
insinto /etc/john
|
||||
doins run/genincstats.rb run/stats
|
||||
doins run/netscreen.py run/sap_prepare.pl
|
||||
fi
|
||||
|
||||
# config files
|
||||
insinto /etc/john
|
||||
doins run/*.chr run/password.lst
|
||||
doins run/*.conf
|
||||
|
||||
# documentation
|
||||
dodoc doc/*
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
diff --git a/src/ui/cairostuff/cairostuff.c b/src/ui/cairostuff/cairostuff.c
|
||||
index 3c70d99..174b67a 100644
|
||||
--- a/src/ui/cairostuff/cairostuff.c
|
||||
+++ b/src/ui/cairostuff/cairostuff.c
|
||||
@@ -80,7 +80,7 @@ StringSizeWithContextReal(cairo_t * c, const char *str, int* w, int* h)
|
||||
if (h) *h = 0;
|
||||
return;
|
||||
}
|
||||
- if (!utf8_check_string(str)) {
|
||||
+ if (!fcitx_utf8_check_string(str)) {
|
||||
if (w) *w = 0;
|
||||
if (h) *h = 0;
|
||||
|
@ -1,3 +1,2 @@
|
||||
DIST email2trac-1.6.0.tar.gz 95718 RMD160 70f24b880c4abc3984e267b4f90be68c6a8ef8a2 SHA1 f10c397349fbf0ce9725051da1fc29a2918138bb SHA256 9210984b289ed55a8c4a1e8145bd1425ac6b50829049f2e78837308251b14e6c
|
||||
DIST email2trac-2.4.2.tar.gz 101547 RMD160 99693d47b2b5b56e7d6f602263b7469087f9eda2 SHA1 f631c47aad86d14719d6d0107096a632fa65abe1 SHA256 8ec46a676e5b3a2e8b1720138892d01bd875f6ba0981c7670a609e4e3d546d1e
|
||||
DIST email2trac-2.4.7.tar.gz 107343 RMD160 8921dd1905c486be3a833f0cb282ad2debc82072 SHA1 98e6d9ff0ddd9bee7157a86306e8abc0d9696fa1 SHA256 87fdb57d88441632e58b000b88bafd676e12940e19cd6d22caa99c0ea438620c
|
||||
DIST email2trac-2.5.0.tar.gz 108571 RMD160 62a9da93aa81216138e2840b1985c675aac8e61d SHA1 698d59105eeced07dec12aac2877303c2c2a08b4 SHA256 04d3128b7784a948b53c77e741c67895be8ab4eaee734d241e3dc3982411ac2f
|
||||
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/email2trac/email2trac-1.6.0.ebuild,v 1.1 2010/08/22 07:36:04 hollow Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit python
|
||||
|
||||
DESCRIPTION="Utilites to convert emails into trac objects"
|
||||
HOMEPAGE="https://subtrac.sara.nl/oss/email2trac/"
|
||||
SRC_URI="ftp://ftp.sara.nl/pub/outgoing/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="=www-apps/trac-0.12*"
|
||||
|
||||
pkg_setup() {
|
||||
einfo "You can set the following variables in make.conf:"
|
||||
einfo " - EMAIL2TRAC_TRAC_USER (default: apache)"
|
||||
einfo " - EMAIL2TRAC_MTA_USER (default: nobody)"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e "/^CFLAGS/s:=:&${CFLAGS} :" \
|
||||
-e "s:\$(CC):& ${LDFLAGS} :" \
|
||||
Makefile.in
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf --sysconfdir=/etc/${PN}/ \
|
||||
--with-trac_user=${EMAIL2TRAC_TRAC_USER:-apache} \
|
||||
--with-mta_user=${EMAIL2TRAC_MTA_USER:-nobody}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST task-1.9.4.tar.gz 479079 RMD160 4f17bfd08d94fc2c9c2da74a2fe0a7322d15623d SHA1 b9bae255f4fa03970eced3ac0876935271d1d7a1 SHA256 1020621c9bf885c3216a5c11cacced3c916b6495e0d09846b7438a152618d34a
|
||||
DIST task-2.0.0.beta4.tar.gz 4167015 RMD160 dd803784b60bf5168b6c0d243598ff8211103ec9 SHA1 9b31fa334cc64c2e0e89aa66c5bf2d578325b32f SHA256 3cd8ccdf909af07608b46da6ad084766cdd6657d786b6b639da50e4fcb3236b1
|
||||
DIST task-2.0.0.beta5.tar.gz 4229189 RMD160 dda56ba0273d100be0d0e193641daa868ccd0b80 SHA1 9ad58e9232f54bd5ae93cc018c6d82a62dab3168 SHA256 191b920e3e30e29f88ec62fdf43dcb8ff4db816296c566e1db29027eccc3d0ee
|
||||
|
@ -0,0 +1,64 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/task/task-2.0.0_beta5.ebuild,v 1.1 2012/02/23 04:31:03 radhermit Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils cmake-utils bash-completion-r1
|
||||
|
||||
MY_P="${P/_/.}"
|
||||
DESCRIPTION="A task management tool with a command-line interface"
|
||||
HOMEPAGE="http://taskwarrior.org/projects/show/taskwarrior/"
|
||||
SRC_URI="http://taskwarrior.org/download/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="lua vim-syntax zsh-completion"
|
||||
|
||||
DEPEND="lua? ( dev-lang/lua )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
# Use the correct directory locations
|
||||
sed -i -e "s:/usr/local/share/doc/task/rc:/usr/share/task/rc:" \
|
||||
doc/man/taskrc.5.in doc/man/task-tutorial.5.in doc/man/task-color.5.in || die
|
||||
sed -i -e "s:/usr/local/bin:/usr/bin:" doc/man/task-faq.5.in scripts/add-ons/* || die
|
||||
|
||||
# Don't automatically install scripts
|
||||
sed -i -e '/scripts/d' CMakeLists.txt || die
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-2.0.0_beta4-rcdir.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.9.4-lua-automagic.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs=(
|
||||
$(cmake-utils_use_enable lua LUA)
|
||||
-DTASK_DOCDIR=/usr/share/doc/${PF}
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
newbashcomp scripts/bash/task_completion.sh task
|
||||
|
||||
if use vim-syntax ; then
|
||||
rm scripts/vim/README
|
||||
insinto /usr/share/vim/vimfiles
|
||||
doins -r scripts/vim/*
|
||||
fi
|
||||
|
||||
if use zsh-completion ; then
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins scripts/zsh/*
|
||||
fi
|
||||
|
||||
exeinto /usr/share/${PN}/scripts
|
||||
doexe scripts/add-ons/*
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
DIST amd64-debug-libreoffice-base-3.4.5.2-r1.tbz2 401594386 RMD160 41ebf335e3a1adeaacb498465e6039322d064366 SHA1 adfee701a5ec2fcf0ac9469af851cc6cd5eb425f SHA256 d7594e78b2804d258714e8329aea4e5b5ced1fe71c2c997503b81458530965b5
|
||||
DIST amd64-debug-libreoffice-base-java-3.4.5.2-r1.tbz2 405367077 RMD160 b56794a57a908b9ba94158bf52d317bff1e5101d SHA1 4d4820ed99c693c89a939b2499d93a8575dd7efb SHA256 3f622d5d617eb560cfd59c40b34f86e3b8955c754ecb528a23e510b12c676bec
|
||||
DIST amd64-debug-libreoffice-gnome-3.4.5.2-r1.tbz2 402719568 RMD160 fa63f7c3c5e9c56e4ba430a1858528e8549e38fe SHA1 7239d1078b6c8bfe054293376caf70fc32997e4e SHA256 f91a3334890c6599bf588dd70fe03fbb283a1510274f6cb93eeef0e037c7d662
|
||||
DIST amd64-debug-libreoffice-gnome-java-3.4.5.2-r1.tbz2 406558896 RMD160 27dd7739472d77ae7428d4374870816f789fd0d3 SHA1 5766f55498a2473fa08d90de4c9e742376421263 SHA256 2ed4f75e3ad9d20956372afb4c14abdeb256627d1a41c7a4d3c9ef7524e8c684
|
||||
DIST amd64-debug-libreoffice-kde-3.4.5.2-r1.tbz2 402546607 RMD160 10620d928bceb17caa154179e3c9e09adebb5e36 SHA1 b9053f1d2058e655edb3ba9e5bb187fbe9b7bd7e SHA256 004aa7c94e6682d874e188248cd2f0bd54c2b23402727f9f132ce54cc3b6bb06
|
||||
DIST amd64-debug-libreoffice-kde-java-3.4.5.2-r1.tbz2 406397036 RMD160 ca80b721b095d8ee632dff825917607f3f8314c8 SHA1 5ee6cd5c3000f80094f737bda106d85c897e97de SHA256 c32a6ac7a26e0035e2cbd9bf269e7156be69438aa14debf43036ef068b649f6d
|
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-bin-debug/libreoffice-bin-debug-3.4.5.2-r1.ebuild,v 1.1 2012/02/22 22:59:57 dilfridge Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
BASE_AMD64_URI="mirror://gentoo/amd64-debug-"
|
||||
|
||||
DESCRIPTION="LibreOffice, a full office productivity suite. Binary package, debug info."
|
||||
HOMEPAGE="http://www.libreoffice.org"
|
||||
SRC_URI_AMD64="
|
||||
kde? (
|
||||
!java? ( ${BASE_AMD64_URI}${PN/-bin-debug}-kde-${PVR}.tbz2 )
|
||||
java? ( ${BASE_AMD64_URI}${PN/-bin-debug}-kde-java-${PVR}.tbz2 )
|
||||
)
|
||||
gnome? (
|
||||
!java? ( ${BASE_AMD64_URI}${PN/-bin-debug}-gnome-${PVR}.tbz2 )
|
||||
java? ( ${BASE_AMD64_URI}${PN/-bin-debug}-gnome-java-${PVR}.tbz2 )
|
||||
)
|
||||
!kde? ( !gnome? (
|
||||
!java? ( ${BASE_AMD64_URI}${PN/-bin-debug}-base-${PVR}.tbz2 )
|
||||
java? ( ${BASE_AMD64_URI}${PN/-bin-debug}-base-java-${PVR}.tbz2 )
|
||||
) )
|
||||
"
|
||||
|
||||
SRC_URI="
|
||||
amd64? ( ${SRC_URI_AMD64} )
|
||||
"
|
||||
|
||||
IUSE="gnome java kde"
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64"
|
||||
|
||||
RDEPEND="=app-office/${PN}-${PVR}[gnome=,java=,kde=]"
|
||||
|
||||
RESTRICT="test strip"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_configure() { :; }
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
dodir /usr
|
||||
cp -aR "${S}"/usr/* "${ED}"/usr/
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>openoffice</herd>
|
||||
<longdescription>LibreOffice is a free office suite.
|
||||
This is debug info for the binary version of Libreoffice. Use this if you don't want to wait for the source version to build, but still debug crashes etc</longdescription>
|
||||
</pkgmetadata>
|
@ -1,2 +1,3 @@
|
||||
DIST gtkpod-2.0.2.tar.gz 2982482 RMD160 0810947c013c137f57599a999f63d07d6710b6c7 SHA1 d93e7618653d00a8bc845fd070305c5b38eea1e8 SHA256 2c5dd3d193cd73ba107ccb158e48198768f1dd26724834f8f5ab804281ea4648
|
||||
DIST gtkpod-2.1.0.tar.gz 2988353 RMD160 238bb6155960045815f71c0ff0d5e087d369e2d2 SHA1 aede305a68bb49ee3ed76dcc3a90830124a064f8 SHA256 6f617d765028ec7929c96610dbbfddbd3cf7746730b48d1f2219f79e3de02f7a
|
||||
DIST gtkpod-2.1.1.tar.gz 3120542 RMD160 5f30795cf7cda5744181f56875c7648d430d76fc SHA1 aa0bd06395f878bdf9578f8e4350536216fcd2b6 SHA256 a474bb44ed42df554b02c2bd592485ee4fbe91cb9d0fe43576a63bb8b174c37a
|
||||
|
@ -0,0 +1,85 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-pda/gtkpod/gtkpod-2.1.1.ebuild,v 1.1 2012/02/23 06:49:20 ssuominen Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit gnome2-utils
|
||||
|
||||
DESCRIPTION="A graphical user interface to the Apple productline"
|
||||
HOMEPAGE="http://gtkpod.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 FDL-1.2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="aac clutter curl flac gstreamer mp3 vorbis webkit"
|
||||
|
||||
COMMON_DEPEND="dev-libs/gdl:3
|
||||
>=dev-libs/glib-2.28.5
|
||||
>=dev-libs/libxml2-2.7.7
|
||||
>=dev-util/anjuta-2.91
|
||||
>=media-libs/libgpod-0.7.0
|
||||
>=media-libs/libid3tag-0.15
|
||||
>=x11-libs/gtk+-3.0.8:3
|
||||
aac? (
|
||||
media-libs/faad2
|
||||
media-libs/libmp4v2
|
||||
)
|
||||
clutter? ( media-libs/clutter-gtk:1.0 )
|
||||
curl? ( >=net-misc/curl-7.10 )
|
||||
flac? ( media-libs/flac )
|
||||
gstreamer? ( >=media-libs/gst-plugins-base-0.10.25:0.10 )
|
||||
mp3? ( media-sound/lame )
|
||||
vorbis? (
|
||||
media-libs/libvorbis
|
||||
media-sound/vorbis-tools
|
||||
)
|
||||
webkit? ( >=net-libs/webkit-gtk-1.3:3 )"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
gstreamer? ( media-plugins/gst-plugins-meta:0.10 )"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-util/intltool
|
||||
dev-util/pkgconfig
|
||||
sys-devel/flex
|
||||
sys-devel/gettext
|
||||
virtual/os-headers"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-static \
|
||||
$(use_enable webkit plugin-coverweb) \
|
||||
$(use_enable clutter plugin-clarity) \
|
||||
$(use_enable gstreamer plugin-media-player) \
|
||||
$(use_with curl) \
|
||||
$(use_with vorbis ogg) \
|
||||
$(use_with flac) \
|
||||
$(use_with aac faad)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
docdir=/usr/share/doc/${PF}/html \
|
||||
figuresdir=/usr/share/doc/${PF}/html/figures \
|
||||
install
|
||||
|
||||
dodoc AUTHORS ChangeLog NEWS README TODO TROUBLESHOOTING
|
||||
|
||||
find "${D}" -name '*.la' -exec rm -f {} +
|
||||
rm -f "${D}"/usr/share/gtkpod/data/{AUTHORS,COPYING}
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
gnome2_schemas_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
gnome2_schemas_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
gnome2_schemas_update
|
||||
}
|
@ -0,0 +1,181 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/zsh/zsh-4.3.17.ebuild,v 1.1 2012/02/24 02:22:56 radhermit Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
# doc package for -dev version exists?
|
||||
doc_available=true
|
||||
|
||||
inherit eutils flag-o-matic multilib prefix
|
||||
|
||||
MY_PV=${PV/_p/-dev-}
|
||||
S=${WORKDIR}/${PN}-${MY_PV}
|
||||
|
||||
zsh_ftp="ftp://ftp.zsh.org/pub"
|
||||
|
||||
if [[ ${PV} != "${MY_PV}" ]] ; then
|
||||
ZSH_URI="${zsh_ftp}/development/${PN}-${MY_PV}.tar.bz2"
|
||||
if ${doc_available} ; then
|
||||
ZSH_DOC_URI="${zsh_ftp}/development/${PN}-${MY_PV}-doc.tar.bz2"
|
||||
else
|
||||
ZSH_DOC_URI="${zsh_ftp}/${PN}-${PV%_*}-doc.tar.bz2"
|
||||
fi
|
||||
else
|
||||
ZSH_URI="mirror://sourceforge/${PN}/${P}.tar.bz2
|
||||
${zsh_ftp}/${P}.tar.bz2"
|
||||
ZSH_DOC_URI="${zsh_ftp}/${PN}-${PV%_*}-doc.tar.bz2"
|
||||
fi
|
||||
|
||||
DESCRIPTION="UNIX Shell similar to the Korn shell"
|
||||
HOMEPAGE="http://www.zsh.org/"
|
||||
SRC_URI="${ZSH_URI}
|
||||
doc? ( ${ZSH_DOC_URI} )"
|
||||
|
||||
LICENSE="ZSH gdbm? ( GPL-2 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="caps debug doc examples gdbm maildir pcre static unicode"
|
||||
|
||||
RDEPEND="
|
||||
>=sys-libs/ncurses-5.1
|
||||
static? ( >=sys-libs/ncurses-5.7-r4[static-libs] )
|
||||
caps? ( sys-libs/libcap )
|
||||
pcre? ( >=dev-libs/libpcre-3.9
|
||||
static? ( >=dev-libs/libpcre-3.9[static-libs] ) )
|
||||
gdbm? ( sys-libs/gdbm )
|
||||
"
|
||||
DEPEND="sys-apps/groff
|
||||
${RDEPEND}"
|
||||
PDEPEND="
|
||||
examples? ( app-doc/zsh-lovers )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
# fix zshall problem with soelim
|
||||
ln -s Doc man1
|
||||
mv Doc/zshall.1 Doc/zshall.1.soelim
|
||||
soelim Doc/zshall.1.soelim > Doc/zshall.1
|
||||
|
||||
epatch "${FILESDIR}/${PN}"-init.d-gentoo-r1.diff
|
||||
|
||||
cp "${FILESDIR}"/zprofile-1 "${T}"/zprofile || die
|
||||
eprefixify "${T}"/zprofile || die
|
||||
if use prefix ; then
|
||||
sed -i -e 's|@ZSH_PREFIX@||' -e '/@ZSH_NOPREFIX@/d' "${T}"/zprofile || die
|
||||
else
|
||||
sed -i -e 's|@ZSH_NOPREFIX@||' -e '/@ZSH_PREFIX@/d' -e 's|""||' "${T}"/zprofile || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=
|
||||
|
||||
if use static ; then
|
||||
myconf+=" --disable-dynamic"
|
||||
append-ldflags -static
|
||||
fi
|
||||
if use debug ; then
|
||||
myconf+=" \
|
||||
--enable-zsh-debug \
|
||||
--enable-zsh-mem-debug \
|
||||
--enable-zsh-mem-warning \
|
||||
--enable-zsh-secure-free \
|
||||
--enable-zsh-hash-debug"
|
||||
fi
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
myconf+=" --enable-libs=-liconv"
|
||||
append-ldflags -Wl,-x
|
||||
fi
|
||||
|
||||
econf \
|
||||
--bindir="${EPREFIX}"/bin \
|
||||
--libdir="${EPREFIX}"/usr/$(get_libdir) \
|
||||
--enable-etcdir="${EPREFIX}"/etc/zsh \
|
||||
--enable-fndir="${EPREFIX}"/usr/share/zsh/${PV%_*}/functions \
|
||||
--enable-site-fndir="${EPREFIX}"/usr/share/zsh/site-functions \
|
||||
--enable-function-subdirs \
|
||||
--with-term-lib="ncursesw ncurses" \
|
||||
--with-tcsetpgrp \
|
||||
$(use_enable maildir maildir-support) \
|
||||
$(use_enable pcre) \
|
||||
$(use_enable caps cap) \
|
||||
$(use_enable unicode multibyte) \
|
||||
$(use_enable gdbm ) \
|
||||
${myconf}
|
||||
|
||||
if use static ; then
|
||||
# compile all modules statically, see Bug #27392
|
||||
# removed cap and curses because linking failes
|
||||
sed -i \
|
||||
-e "s,link=no,link=static,g" \
|
||||
-e "/^name=zsh\/cap/s,link=static,link=no," \
|
||||
-e "/^name=zsh\/curses/s,link=static,link=no," \
|
||||
"${S}"/config.modules || die
|
||||
if ! use gdbm ; then
|
||||
sed -i '/^name=zsh\/db\/gdbm/s,link=static,link=no,' \
|
||||
"${S}"/config.modules || die
|
||||
fi
|
||||
# else
|
||||
# sed -i -e "/LIBS/s%-lpcre%${EPREFIX}/usr/$(get_libdir)/libpcre.a%" Makefile
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local i
|
||||
addpredict /dev/ptmx
|
||||
for i in C02cond.ztst Y01completion.ztst Y02compmatch.ztst Y03arguments.ztst ; do
|
||||
rm "${S}"/Test/${i} || die
|
||||
done
|
||||
emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install install.info
|
||||
|
||||
insinto /etc/zsh
|
||||
doins "${T}"/zprofile
|
||||
|
||||
keepdir /usr/share/zsh/site-functions
|
||||
insinto /usr/share/zsh/${PV%_*}/functions/Prompts
|
||||
newins "${FILESDIR}"/prompt_gentoo_setup-1 prompt_gentoo_setup
|
||||
|
||||
# install miscellaneous scripts; bug #54520
|
||||
local i
|
||||
sed -i -e "s:/usr/local/bin/perl:${EPREFIX}/usr/bin/perl:g" \
|
||||
-e "s:/usr/local/bin/zsh:${EPREFIX}/bin/zsh:g" "${S}"/{Util,Misc}/* || die
|
||||
for i in Util Misc ; do
|
||||
insinto /usr/share/zsh/${PV%_*}/${i}
|
||||
doins ${i}/*
|
||||
done
|
||||
|
||||
dodoc ChangeLog* META-FAQ NEWS README config.modules
|
||||
|
||||
if use doc ; then
|
||||
pushd "${WORKDIR}/${PN}-${PV%_*}" >/dev/null
|
||||
dohtml -r Doc/*
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins Doc/zsh.{dvi,pdf}
|
||||
popd >/dev/null
|
||||
fi
|
||||
|
||||
docinto StartupFiles
|
||||
dodoc StartupFiles/z*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# should link to http://www.gentoo.org/doc/en/zsh.xml
|
||||
elog
|
||||
elog "If you want to enable Portage completions and Gentoo prompt,"
|
||||
elog "emerge app-shells/zsh-completion and add"
|
||||
elog " autoload -U compinit promptinit"
|
||||
elog " compinit"
|
||||
elog " promptinit; prompt gentoo"
|
||||
elog "to your ~/.zshrc"
|
||||
elog
|
||||
elog "Also, if you want to enable cache for the completions, add"
|
||||
elog " zstyle ':completion::complete:*' use-cache 1"
|
||||
elog "to your ~/.zshrc"
|
||||
elog
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST libwps-0.2.2.tar.bz2 295486 RMD160 72aff204a2a386ade5b7d5a6cede4c75f1929eb5 SHA1 d8c126cb5601afaaaf14507fc09990f8ca41b301 SHA256 81f05f98708e4b9ad1b2d16644cae9b46647aa63013885b0254092ea631e2a1e
|
||||
DIST libwps-0.2.3.tar.xz 265400 RMD160 4a7fbfdc89c8217a09278cda6031c1e1b438c95b SHA1 e8a2db0335ddf47cf393cd41b2c1806c29d56333 SHA256 ca2a34fbc3f5b3894f77ff98b76bec5ab9991c7c5a0f84ca916fd2645c50ab26
|
||||
DIST libwps-0.2.4.tar.xz 271784 RMD160 693969eeb90b29bc5d34fa31f038e7e142d80f42 SHA1 bc32ac4c566191ffa51161cceacdffc931692f25 SHA256 40e7ec96e7715b2063b7fe87ff679956558e46bb3f1ca9f86b3bab6e3f2596d6
|
||||
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/libwps/libwps-0.2.2.ebuild,v 1.6 2011/10/21 13:40:59 phajdan.jr Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="Microsoft Works file word processor format import filter library"
|
||||
HOMEPAGE="http://libwps.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc debug"
|
||||
|
||||
RDEPEND="app-text/libwpd:0.9"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-doc/doxygen[-nodot] )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's: -Werror::' configure.in || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-static \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
$(use_with doc docs) \
|
||||
$(use_enable debug)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${ED}" -name '*.la' -delete
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST xlsx2csv-0.14.zip 269176 RMD160 e926faf7eafcfd5fd4c5bbc4f7638e2ffcb0f08a SHA1 91ce4d8579504cbadb45ec843fd257a92bd4ea74 SHA256 1cd50285e24ecca7505de150e4baa5b0afedfc17f7a6e2a5428642646ddef9c1
|
||||
DIST xlsx2csv-0.15.zip 415509 RMD160 ec23f90466b8bd3926d850b96d771acd4c1c0ec7 SHA1 0387323fb3a3522f912f62be0b599da1dfde403d SHA256 fe04967cefd105af7d3297d790b06ae961829484f92acfbfe73253322a886873
|
||||
DIST xlsx2csv-0.16.zip 424037 RMD160 67c33009220af710fbad5fc4b35dbbd1e33179ef SHA1 d91c2af4e4457fc5a8be87870be49fdb516f54a4 SHA256 ac718ff32cd34dd675ee3e8cfa26c9fa1ed4be0db1041666886f39b45e747769
|
||||
DIST xlsx2csv-0.17.zip 458707 RMD160 63ea80f8182fd8f585f7e748dba08902058dc97e SHA1 f234372125c60650b41cc1d19710efb5a4ad0765 SHA256 fe011e8c9f22316cdfb879f0b72150b5d334059a720950d89fdaac9198d80a7d
|
||||
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/xlsx2csv/xlsx2csv-0.14.ebuild,v 1.1 2011/07/19 19:12:20 radhermit Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Convert MS Office xlsx files to CSV"
|
||||
HOMEPAGE="https://github.com/dilshod/xlsx2csv"
|
||||
SRC_URI="https://github.com/downloads/dilshod/${PN}/${P}.zip"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="app-arch/unzip
|
||||
test? ( dev-lang/python[xml] )"
|
||||
RDEPEND="dev-lang/python[xml]"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
src_test() {
|
||||
local failure=0
|
||||
for i in test/*.xlsx ; do
|
||||
echo -n "test: $i "
|
||||
if [[ $(basename $i) == "sheets.xlsx" ]] ; then
|
||||
./xlsx2csv.py -s 0 "$i" | diff -u "test/$(basename "$i" .xlsx).csv" - >/dev/null
|
||||
else
|
||||
./xlsx2csv.py -i "$i" | diff -u "test/$(basename "$i" .xlsx).csv" - >/dev/null
|
||||
fi
|
||||
if [[ $? -ne 0 ]] ; then
|
||||
echo "FAILED"
|
||||
failure=1
|
||||
else
|
||||
echo "PASSED"
|
||||
fi
|
||||
done
|
||||
[[ $failure -ne 0 ]] && die "tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newbin xlsx2csv.py xlsx2csv
|
||||
dodoc CHANGELOG README
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/xbase/xbase-2.0.0-r1.ebuild,v 1.1 2012/02/23 11:57:17 pacho Exp $
|
||||
|
||||
EAPI="4"
|
||||
inherit base eutils
|
||||
|
||||
DESCRIPTION="XBase is an xbase (i.e. dBase, FoxPro, etc.) compatible C++ class library"
|
||||
HOMEPAGE="http://www.rekallrevealed.org/"
|
||||
SRC_URI="http://www.rekallrevealed.org/packages/${P}.tgz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${DEPEND}
|
||||
sys-devel/automake
|
||||
sys-devel/libtool"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-gcc43.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
base_src_install
|
||||
# media-tv/linuxtv-dvb-apps collision, bug #208596
|
||||
mv "${ED}/usr/bin/zap" "${ED}/usr/bin/xbase-zap" || die
|
||||
find "${D}" -name '*.la' -exec rm -f {} +
|
||||
|
||||
dodoc AUTHORS ChangeLog NEWS README TODO
|
||||
if use doc; then
|
||||
dohtml html/*
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins examples/{*.cpp,examples.ide,makefile.g95}
|
||||
fi
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST css-validator-20120222.tar.bz2 27482733 RMD160 bff82ac729586d2c143d2278b3a628ba49714527 SHA1 b0ed4873747eba896c31a93fc98c09f02c1f8578 SHA256 41c80ccc808c20e4f66d493ed365c9be9f77e787f5c0f5f3ba7060c520bac207
|
@ -0,0 +1,78 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/css-validator/css-validator-20120222.ebuild,v 1.1 2012/02/23 20:31:30 nelchael Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
# How to create the release tarball:
|
||||
# $ export CVSROOT=":pserver:anonymous@dev.w3.org:/sources/public"
|
||||
# $ cvs login
|
||||
# $ cvs get 2002/css-validator
|
||||
# $ cd 2002
|
||||
# $ tar jcf css-validator-$(date "+%Y%m%d") css-validator --exclude=CVS
|
||||
|
||||
inherit java-pkg-2 java-ant-2 eutils
|
||||
|
||||
DESCRIPTION="Check Cascading Style Sheets (CSS) and (X)HTML documents with style sheets"
|
||||
HOMEPAGE="http://jigsaw.w3.org/css-validator/DOWNLOAD.html"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
||||
|
||||
LICENSE="W3C"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEP="java-virtuals/servlet-api:2.5
|
||||
dev-java/velocity
|
||||
dev-java/commons-lang:2.1
|
||||
dev-java/tagsoup
|
||||
dev-java/jigsaw
|
||||
dev-java/xerces:2
|
||||
dev-java/htmlparser
|
||||
"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.5
|
||||
${COMMON_DEP}"
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
app-arch/unzip
|
||||
${COMMON_DEP}"
|
||||
|
||||
EANT_BUILD_TARGET="jar war"
|
||||
EANT_DOC_TARGET="javadoc"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
src_prepare() {
|
||||
rm -f tmp/*.jar
|
||||
mkdir -p "${S}/lib" || die "mkdir failed"
|
||||
|
||||
epatch "${FILESDIR}/${P}-build.xml.patch"
|
||||
|
||||
java-pkg_jarfrom --into lib/ servlet-api-2.5
|
||||
java-pkg_jarfrom --into lib/ velocity
|
||||
java-pkg_jarfrom --into lib/ commons-lang-2.1
|
||||
java-pkg_jarfrom --into lib/ tagsoup
|
||||
java-pkg_jarfrom --into lib/ jigsaw
|
||||
java-pkg_jarfrom --into lib/ xerces-2
|
||||
java-pkg_jarfrom --into lib/ htmlparser
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar "${PN}.jar"
|
||||
|
||||
use source && java-pkg_dosrc org
|
||||
if use doc; then
|
||||
java-pkg_dojavadoc javadoc
|
||||
|
||||
insinto "/usr/share/${PN}"
|
||||
doins "${PN}.war"
|
||||
einfo "Documentation for ${PN} has been installed as:"
|
||||
einfo " /usr/share/${PN}/${PN}.war"
|
||||
einfo "You need to deploy this file using one of:"
|
||||
einfo " * www-servers/tomcat"
|
||||
einfo " * www-servers/resin"
|
||||
fi
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
Index: build.xml
|
||||
===================================================================
|
||||
RCS file: /sources/public/2002/css-validator/build.xml,v
|
||||
retrieving revision 1.23
|
||||
diff -u -r1.23 build.xml
|
||||
--- build.xml 1 Nov 2011 07:51:20 -0000 1.23
|
||||
+++ build.xml 22 Feb 2012 23:57:47 -0000
|
||||
@@ -75,10 +75,10 @@
|
||||
<copy file="tmp/htmlparser-1.3.1/htmlparser-1.3.1.jar" tofile="lib/htmlparser-1.3.1.jar"/>
|
||||
</target>
|
||||
|
||||
- <target name="build" description="Builds the validator" depends="prepare">
|
||||
+ <target name="build" description="Builds the validator">
|
||||
<mkdir dir="./build"/>
|
||||
<javac classpathref="build.class.path" destdir="./build" encoding="UTF-8"
|
||||
- debug="yes" includes="org/w3c/**" srcdir="." source="1.6" target="1.6"/>
|
||||
+ includes="org/w3c/**" srcdir="."/>
|
||||
<copy todir="./build">
|
||||
<fileset dir="./">
|
||||
<include name="org/**"/>
|
||||
@@ -91,7 +91,7 @@
|
||||
<target name="jigsaw" description="Builds the validator for Jigsaw" depends="prepare">
|
||||
<mkdir dir="./build"/>
|
||||
<javac classpathref="build.class.path" destdir="." encoding="UTF-8"
|
||||
- debug="yes" source="1.6" target="1.6">
|
||||
+ >
|
||||
<src path="./org/w3c"/>
|
||||
</javac>
|
||||
</target>
|
||||
@@ -99,6 +99,7 @@
|
||||
<target name="javadoc" description="Generates API docs">
|
||||
<mkdir dir="./javadoc"/>
|
||||
<javadoc
|
||||
+ classpathref="build.class.path"
|
||||
packagenames="org.w3c.*"
|
||||
sourcepath="./"
|
||||
destdir="./javadoc"
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>java</herd>
|
||||
<maintainer>
|
||||
<email>nelchael@gentoo.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1 @@
|
||||
DIST htmlparser-1.3.1.zip 1196979 RMD160 09d259ae495d252be5eadffb65774007d36f2b0d SHA1 c0033234031b0a01ae98f7c541a712f32fd6302b SHA256 abe5ca8e226f4104adbe361551024d73b964a583217acbbf7020d69b5b733556
|
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0"?>
|
||||
<project name="htmlparser" default="jar">
|
||||
<path id="build.classpath">
|
||||
<fileset dir="lib/">
|
||||
<include name="*.jar"/>
|
||||
</fileset>
|
||||
</path>
|
||||
<target name="compile">
|
||||
<mkdir dir="build"/>
|
||||
<javac srcdir="src" destdir="build" classpathref="build.classpath"/>
|
||||
</target>
|
||||
<target name="jar" depends="compile">
|
||||
<jar destfile="htmlparser.jar" basedir="build"/>
|
||||
</target>
|
||||
<target name="javadoc" depends="compile">
|
||||
<mkdir dir="docs"/>
|
||||
<javadoc sourcepath="src" destdir="docs" classpathref="build.classpath"/>
|
||||
</target>
|
||||
</project>
|
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/htmlparser/htmlparser-1.3.1.ebuild,v 1.1 2012/02/23 20:15:28 nelchael Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Implementation of the HTML5 parsing algorithm in Java"
|
||||
HOMEPAGE="http://about.validator.nu/htmlparser/"
|
||||
SRC_URI="http://about.validator.nu/${PN}/${P}.zip"
|
||||
|
||||
LICENSE="W3C"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEP="dev-java/icu4j:4
|
||||
dev-java/xom
|
||||
dev-java/jchardet"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.5
|
||||
${COMMON_DEP}"
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
app-arch/unzip
|
||||
${COMMON_DEP}"
|
||||
|
||||
src_prepare() {
|
||||
rm -f *.jar
|
||||
mkdir -p "${S}/build" || die "mkdir failed"
|
||||
mkdir -p "${S}/lib" || die "mkdir failed"
|
||||
|
||||
cp "${FILESDIR}/build.xml" "${S}" || die "cp failed"
|
||||
|
||||
java-pkg_jarfrom --into lib/ icu4j-4
|
||||
java-pkg_jarfrom --into lib/ xom
|
||||
java-pkg_jarfrom --into lib/ jchardet
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar htmlparser.jar
|
||||
|
||||
use source && java-pkg_dosrc src/*
|
||||
use doc && java-pkg_dojavadoc docs
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>java</herd>
|
||||
<maintainer>
|
||||
<email>nelchael@gentoo.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1 @@
|
||||
DIST jchardet-1.1.zip 82782 RMD160 66ca29bd852b3ee5b4b1b278db3d783ab0b09c38 SHA1 57982ee08218d826163e2c70dcf3ff19dca60a23 SHA256 2d83cd7a24a5a5c1cbf02f649008b0d792f5e4bc11e18a7df8ce4f885bc8650a
|
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0"?>
|
||||
<project name="htmlparser" default="jar">
|
||||
<path id="build.classpath">
|
||||
<fileset dir="lib/">
|
||||
<include name="*.jar"/>
|
||||
</fileset>
|
||||
</path>
|
||||
<target name="compile">
|
||||
<mkdir dir="build"/>
|
||||
<javac srcdir="src" destdir="build" classpathref="build.classpath"/>
|
||||
</target>
|
||||
<target name="jar" depends="compile">
|
||||
<jar destfile="htmlparser.jar" basedir="build"/>
|
||||
</target>
|
||||
<target name="javadoc" depends="compile">
|
||||
<mkdir dir="docs"/>
|
||||
<javadoc sourcepath="src" destdir="docs" classpathref="build.classpath"/>
|
||||
</target>
|
||||
</project>
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/jchardet/jchardet-1.1.ebuild,v 1.1 2012/02/23 20:11:47 nelchael Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
JAVA_PKG_IUSE="source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Java port of Mozilla's Automatic Charset Detection algorithm"
|
||||
HOMEPAGE="http://jchardet.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}/${P}.zip"
|
||||
|
||||
LICENSE="MPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=virtual/jre-1.5"
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
app-arch/unzip"
|
||||
|
||||
EANT_BUILD_TARGET="dist"
|
||||
|
||||
src_prepare() {
|
||||
rm -f dist/lib/chardet.jar
|
||||
|
||||
mkdir -p src/org/mozilla/intl/chardet/ || die
|
||||
mv src/*.java src/org/mozilla/intl/chardet || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar dist/lib/chardet.jar
|
||||
|
||||
use source && java-pkg_dosrc src/*
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>java</herd>
|
||||
<maintainer>
|
||||
<email>nelchael@gentoo.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1 @@
|
||||
DIST jigsaw_2.2.6.tar.bz2 4674802 RMD160 04388d19d6f1866016370ec763901a2701445746 SHA1 aecc6b8a0d75c340a6f88c5ff6bd0214d5d4289e SHA256 9d0b177c6e2bc07aff91648270ef09e50d3fc2fee0ce87940e29b43695265342
|
@ -0,0 +1,48 @@
|
||||
--- build.xml.vanilla 2012-02-23 01:17:09.137602588 +0100
|
||||
+++ build.xml 2012-02-23 01:21:35.431836983 +0100
|
||||
@@ -79,6 +79,9 @@
|
||||
<pathelement path="classes/xp.jar"/>
|
||||
<pathelement path="classes/servlet.jar"/>
|
||||
<pathelement path="${build.core.classes}"/>
|
||||
+ <fileset dir="jars">
|
||||
+ <include name="**/*.jar"/>
|
||||
+ </fileset>
|
||||
</path>
|
||||
|
||||
<!-- =================================================================== -->
|
||||
@@ -99,6 +102,7 @@
|
||||
<!-- =================================================================== -->
|
||||
<target name="compile.core" depends="prepare">
|
||||
<javac srcdir="${src.dir}"
|
||||
+ encoding="iso-8859-1"
|
||||
destdir="${build.core.classes}"
|
||||
debug="${debug}"
|
||||
excludes="org/w3c/jigadm/** org/w3c/jigedit/**"
|
||||
@@ -111,6 +115,7 @@
|
||||
<!-- =================================================================== -->
|
||||
<target name="compile.admin" depends="compile.core">
|
||||
<javac srcdir="${src.dir}"
|
||||
+ encoding="iso-8859-1"
|
||||
destdir="${build.admin.classes}"
|
||||
debug="${debug}"
|
||||
includes="org/w3c/jigadm/**"
|
||||
@@ -122,7 +127,8 @@
|
||||
<!-- Compiles the edit package -->
|
||||
<!-- =================================================================== -->
|
||||
<target name="compile.edit" depends="compile.core">
|
||||
- <javac srcdir="${src.dir}"
|
||||
+ <javac srcdir="${src.dir}"
|
||||
+ encoding="iso-8859-1"
|
||||
destdir="${build.edit.classes}"
|
||||
debug="${debug}"
|
||||
includes="org/w3c/jigedit/**"
|
||||
@@ -173,7 +179,9 @@
|
||||
<target name="javadocs" depends="prepare">
|
||||
<mkdir dir="${build.javadocs}"/>
|
||||
<javadoc packagenames="${packages}"
|
||||
+ encoding="iso-8859-1"
|
||||
sourcepath="${src.dir}"
|
||||
+ classpathref="build.classpath"
|
||||
destdir="${build.javadocs}"
|
||||
author="true"
|
||||
version="true"
|
@ -0,0 +1,62 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/jigsaw/jigsaw-2.2.6.ebuild,v 1.1 2012/02/23 20:28:22 nelchael Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
# Jigsaw is actually a WWW server, it would be nice to package it as such, not
|
||||
# as a raw library like this ebuild does.
|
||||
|
||||
inherit java-pkg-2 java-ant-2 eutils
|
||||
|
||||
DESCRIPTION="W3 Consortium's Java-based Web server libraries"
|
||||
HOMEPAGE="http://jigsaw.w3.org/"
|
||||
SRC_URI="http://jigsaw.w3.org/Distrib/${PN}_${PV}.tar.bz2"
|
||||
|
||||
LICENSE="W3C"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEP="dev-java/jakarta-oro:2.0
|
||||
java-virtuals/servlet-api:2.3
|
||||
dev-java/xerces:2
|
||||
dev-java/jtidy"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.5
|
||||
${COMMON_DEP}"
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
app-arch/unzip
|
||||
${COMMON_DEP}"
|
||||
|
||||
EANT_DOC_TARGET="javadocs"
|
||||
|
||||
S="${WORKDIR}/Jigsaw"
|
||||
|
||||
src_prepare() {
|
||||
rm -f classes/*.jar
|
||||
mkdir -p "${S}/jars" || die "mkdir failed"
|
||||
|
||||
epatch "${FILESDIR}/${P}-build.xml.patch"
|
||||
|
||||
java-pkg_jar-from --into jars/ jakarta-oro-2.0
|
||||
java-pkg_jar-from --into jars/ servlet-api-2.3
|
||||
java-pkg_jar-from --into jars/ xerces-2
|
||||
java-pkg_jar-from --into jars/ jtidy
|
||||
|
||||
cd jars/
|
||||
ln -s $(java-config --tools)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar classes/jigsaw.jar
|
||||
java-pkg_dojar classes/jigadmin.jar
|
||||
java-pkg_dojar classes/jigedit.jar
|
||||
|
||||
use doc && java-pkg_dojavadoc ant.build/javadocs
|
||||
|
||||
dodoc ANNOUNCE README
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>java</herd>
|
||||
<maintainer>
|
||||
<email>nelchael@gentoo.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/tomcat-servlet-api/tomcat-servlet-api-7.0.26.ebuild,v 1.1 2012/02/22 17:35:38 fordfrog Exp $
|
||||
|
||||
EAPI="2"
|
||||
JAVA_PKG_IUSE="source"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
MY_A="apache-${P}-src"
|
||||
MY_P="${MY_A/-servlet-api/}"
|
||||
DESCRIPTION="Tomcat's Servlet API 3.0/JSP API 2.2 implementation"
|
||||
HOMEPAGE="http://tomcat.apache.org/"
|
||||
SRC_URI="mirror://apache/tomcat/tomcat-7/v${PV}/src/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="3.0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=virtual/jdk-1.6"
|
||||
RDEPEND=">=virtual/jre-1.6"
|
||||
|
||||
S="${WORKDIR}/${MY_P}/"
|
||||
|
||||
java_prepare() {
|
||||
cp "${FILESDIR}/${SLOT}-build.xml" build.xml || die "Could not replace build.xml"
|
||||
rm -fR */*/build.xml
|
||||
einfo "Removing bundled jars and classes"
|
||||
find "${S}" '(' -name '*.class' -o -name '*.jar' ')' -delete
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar "${S}"/output/build/lib/*.jar
|
||||
use source && java-pkg_dosrc java/javax/servlet/
|
||||
}
|
@ -1,12 +1,16 @@
|
||||
DIST path64-assembler-1.0.0_pre20110821.tbz2 1095418 RMD160 4d7ac9aa10933ef5f377a1a9efb73a2dffbd2244 SHA1 b1b377d6a94e2d1324d915455607cc23de55d171 SHA256 6046a032a8172a16046588388e73caf364f1537c33b85396b8ce7e64d59ff031
|
||||
DIST path64-assembler-1.0.0_pre20110924.tbz2 1095149 RMD160 55fc06ec772b9a623f43ae7217573e318e7a6942 SHA1 36c9a2803476aa8b72931b0be6a510ea67e1cbc0 SHA256 90425c8d70b6083e728946be8dd059d7c264e8f6d5953826fa4ac5636e1da688
|
||||
DIST path64-assembler-1.0.0_pre20111108.tbz2 1359302 RMD160 28a45295097a3eb808a84d99a28c8624e1922a91 SHA1 0e7663538d819a0d04275e74eb9c8bd3c4d96198 SHA256 3e81bed49f092506c5f7e7032c541dacf6f9e80f422aac6b8239e9488822d679
|
||||
DIST path64-assembler-1.0.0_pre20120223.tbz2 1359028 RMD160 46566d42504699e47c77a4b71c89a63194465e5c SHA1 09766de5777c0671ca8f65cc32566c608ff917e1 SHA256 ecf1b3b1cffc83d1e63b064ac0ed0de1b75d1c4692cf9b2613cb251faabcd33c
|
||||
DIST path64-compiler-1.0.0_pre20110821.tbz2 21221669 RMD160 09b1e3e508eb104d52fd9eeee1eb275f5afaf349 SHA1 60823ae4a6229618b412b602e71e584f4dc89f42 SHA256 70e47bc04e32708a9c70cad552f4f51acb511707fb3ecd8456875b8f8f7d0b02
|
||||
DIST path64-compiler-1.0.0_pre20110924.tbz2 21084223 RMD160 9718184fbc93ed001c3a6e483a744d47fa6933f4 SHA1 659e757db159da49178f4e110c21484900fc52cf SHA256 aef5fcef24bdc11eea277dc5fb2ecf490ab4e949a0f490b57614b0907d0d8bab
|
||||
DIST path64-compiler-1.0.0_pre20111108.tbz2 21176793 RMD160 f3607e1a3753a27e7a5d1615d180444c3190397a SHA1 c9bd3db6d6b836c2e35f242fef0979815202e5c5 SHA256 56fcb586b75e65c2cc00b77c247ddaf50d74d99b6953d920064fdbd61d0bbc05
|
||||
DIST path64-compiler-1.0.0_pre20120223.tbz2 21191645 RMD160 0eab2048df936089a9bd08c96a64c3e4dee94149 SHA1 d3ada903142b5ac959fdfe40820f409e489642af SHA256 dd6ca637f80d0a2f442ce01bbb3d7931b8f1f6a25206443d21aa247d282db7d6
|
||||
DIST path64-debugger-1.0.0_pre20110821.tbz2 304870 RMD160 651db34ff11821fdd12bea21891bec1671389e24 SHA1 8d126780922c4ea64dd6ee5384c8b80b4901b90a SHA256 ac8a8141a9626e38cceb469c36bdd0a6793b91c09ef02d4379e5a737fe47d7ac
|
||||
DIST path64-debugger-1.0.0_pre20110924.tbz2 305006 RMD160 4ffd25d813328b386a2a582f4194ac2a43d0fc36 SHA1 500fedbfd007a1b1f6b4ced844fe6f3eebe332ce SHA256 2537b7d6fae6aa868dafb2704b764fdffa884a727d08e695f86baee6cd3a5034
|
||||
DIST path64-debugger-1.0.0_pre20111108.tbz2 304753 RMD160 e2b047b15ae04e9c904dfb0ec3b5f78b37b65652 SHA1 906ac1f5905c6e6e3085e55d1f670cbc71cd511e SHA256 766427a341d8b08c39cdd25b06e79e7c59a30955a02dccb3b340d7dfc76f6315
|
||||
DIST path64-debugger-1.0.0_pre20120223.tbz2 304639 RMD160 8f16d8b670c64adce4b085963253740143690c1a SHA1 9c612d213d3c1dcddcec4d6ff2d02cb5e98a8b2b SHA256 28044cdd27c6a143e5c310e22dfd22513d7ebac43ba78887f9a2eea223809484
|
||||
DIST path64-suite-1.0.0_pre20110821.tbz2 9850 RMD160 7cacabf531e2a143cded990cc991bfbd685d365f SHA1 7f31dd1ccd8a6454ba2ec60a0e900f6a76fa5f9a SHA256 de50ecb38951847e941a826443fdcc3de8119b86cb0efc38b63e8e98837a1342
|
||||
DIST path64-suite-1.0.0_pre20110924.tbz2 10596 RMD160 86e1cd73890ce96d8f17157d0b01b4f7e3514483 SHA1 9bf307545fb7303c759e4f4abbdf31eaa2e63298 SHA256 345f15eff3a4a86ad1540b9b2d9bb1205321883c400b00dfa94e3646cf196782
|
||||
DIST path64-suite-1.0.0_pre20111108.tbz2 12941 RMD160 d07f4f10c4e007fe4e60936472d8c1fdc0d7a7d4 SHA1 cce82d0aa768a9d7c949c10e3dc8eb03a5ee6235 SHA256 7620caef7911a45477b6efd1334dff1ed961ce79fdc9db8de8870745b4d7b320
|
||||
DIST path64-suite-1.0.0_pre20120223.tbz2 12976 RMD160 d1c61b7bf4bce1956358139c5e8abbb78501df78 SHA1 d837ec25793811c6d9498a991ed843c940826b28 SHA256 4e21590204a10eba873509461d97cf97d857f2018ab04127c50625571483178b
|
||||
|
@ -0,0 +1,94 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/path64/path64-1.0.0_pre20120223.ebuild,v 1.1 2012/02/23 12:57:51 xarthisius Exp $
|
||||
|
||||
EAPI=4
|
||||
CMAKE_VERBOSE=1
|
||||
MY_MIRROR=http://dev.gentoo.org/~xarthisius/distfiles
|
||||
|
||||
inherit cmake-utils multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="Path64 Compiler Suite Community Edition"
|
||||
HOMEPAGE="http://www.pathscale.com/ekopath-compiler-suite"
|
||||
SRC_URI="${MY_MIRROR}/${PN}-suite-${PV}.tbz2
|
||||
${MY_MIRROR}/${PN}-compiler-${PV}.tbz2
|
||||
assembler? ( ${MY_MIRROR}/${PN}-assembler-${PV}.tbz2 )
|
||||
debugger? ( ${MY_MIRROR}/${PN}-debugger-${PV}.tbz2 )"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="assembler custom-cflags debugger fortran +native +openmp valgrind"
|
||||
|
||||
DEPEND="!native? ( sys-devel/gcc[vanilla] )
|
||||
native? ( || ( dev-lang/ekopath dev-lang/path64 ) )
|
||||
valgrind? ( dev-util/valgrind )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
pkg_setup() {
|
||||
if use custom-cflags ; then
|
||||
ewarn "You are trying to build ${PN} with custom-cflags"
|
||||
ewarn "There is a high chance that you will utterly fail!"
|
||||
ewarn "Unless you know what you are doing you'd better stop now"
|
||||
ewarn "Should you decide to proceed, you are on your own..."
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local ver=$(grep 'SET(PSC_FULL_VERSION' CMakeLists.txt | cut -d'"' -f2)
|
||||
cat > "98${PN}" <<-EOF
|
||||
PATH=/usr/$(get_libdir)/${PN}/bin
|
||||
ROOTPATH=/usr/$(get_libdir)/${PN}/bin
|
||||
LDPATH=/usr/$(get_libdir)/${PN}/lib:/usr/$(get_libdir)/${PN}/lib/${ver}/x8664/64
|
||||
EOF
|
||||
sed -i -e "s/-Wl,-s //" CMakeLists.txt || die #strip
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local linker=$($(tc-getCC) --help -v 2>&1 >/dev/null | \
|
||||
sed -n -e '/dynamic-linker/s:.* -dynamic-linker \([^ ]\+\) .*:\1:p')
|
||||
local libgcc=$($(tc-getCC) -print-libgcc-file-name)
|
||||
use custom-cflags && flags=(
|
||||
-DCMAKE_C_FLAGS="${CFLAGS}"
|
||||
-DCMAKE_CXX_FLAGS="${CXXFLAGS}"
|
||||
)
|
||||
|
||||
# Yup, I know how bad it is, but I'd rather have a working compiler
|
||||
unset FC F90 F77 FCFLAGS F90FLAGS FFLAGS CFLAGS CXXFLAGS
|
||||
|
||||
if use native ; then
|
||||
export CMAKE_BUILD_TYPE=Release
|
||||
export CC=pathcc
|
||||
export CXX=pathCC
|
||||
export MYCMAKEARGS="-UCMAKE_USER_MAKE_RULES_OVERRIDE"
|
||||
else
|
||||
export CMAKE_BUILD_TYPE=Debug
|
||||
fi
|
||||
mycmakeargs=(
|
||||
-DCMAKE_INSTALL_PREFIX=/usr/$(get_libdir)/${PN}
|
||||
-DPATH64_ENABLE_TARGETS="x86_64"
|
||||
-DPATH64_ENABLE_PROFILING=ON
|
||||
-DPATH64_ENABLE_MATHLIBS=ON
|
||||
-DPATH64_ENABLE_PATHOPT2=OFF
|
||||
$(cmake-utils_use assembler PATH64_ENABLE_PATHAS)
|
||||
$(cmake-utils_use assembler PATH64_ENABLE_DEFAULT_PATHAS)
|
||||
$(cmake-utils_use fortran PATH64_ENABLE_FORTRAN)
|
||||
$(cmake-utils_use openmp PATH64_ENABLE_OPENMP)
|
||||
$(cmake-utils_use debugger PATH64_ENABLE_PATHDB)
|
||||
$(cmake-utils_use valgrind PATH64_ENABLE_VALGRIND)
|
||||
-DPSC_CRT_PATH_x86_64=/usr/$(get_libdir)
|
||||
-DPSC_CRTBEGIN_PATH=$(dirname ${libgcc})
|
||||
-DPSC_DYNAMIC_LINKER_x86_64=${linker}
|
||||
-DCMAKE_C_COMPILER="$(tc-getCC)"
|
||||
-DCMAKE_CXX_COMPILER="$(tc-getCXX)"
|
||||
"${flags[@]}"
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
doenvd "98${PN}"
|
||||
}
|
@ -0,0 +1,93 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/elfutils-0.153.ebuild,v 1.1 2012/02/23 22:06:43 vapier Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Libraries/utilities to handle ELF objects (drop in replacement for libelf)"
|
||||
HOMEPAGE="https://fedorahosted.org/elfutils/"
|
||||
SRC_URI="https://fedorahosted.org/releases/e/l/${PN}/${PV}/${P}.tar.bz2
|
||||
https://fedorahosted.org/releases/e/l/${PN}/${PV}/${PN}-portability.patch -> ${P}-portability.patch
|
||||
https://fedorahosted.org/releases/e/l/${PN}/${PV}/${PN}-robustify.patch -> ${P}-robustify.patch"
|
||||
|
||||
LICENSE="GPL-2-with-exceptions"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="bzip2 lzma nls zlib"
|
||||
|
||||
# This pkg does not actually seem to compile currently in a uClibc
|
||||
# environment (xrealloc errs), but we need to ensure that glibc never
|
||||
# gets pulled in as a dep since this package does not respect virtual/libc
|
||||
RDEPEND="zlib? ( >=sys-libs/zlib-1.2.2.3 )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
lzma? ( app-arch/xz-utils )
|
||||
!dev-libs/libelf"
|
||||
DEPEND="${RDEPEND}
|
||||
nls? ( sys-devel/gettext )
|
||||
>=sys-devel/flex-2.5.4a
|
||||
sys-devel/m4"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-0.118-PaX-support.patch
|
||||
epatch "${DISTDIR}"/${P}-{portability,robustify}.patch
|
||||
sed -i -e 's:-Werror::g' $(find -name Makefile.in) || die
|
||||
use test || sed -i -e 's: tests::' Makefile.in #226349
|
||||
# some patches touch both configure and configure.ac
|
||||
find -type f -exec touch -r configure {} +
|
||||
mkdir -p ${CBUILD} ${CHOST}
|
||||
}
|
||||
|
||||
econf_build() {
|
||||
CFLAGS=${BUILD_CFLAGS:--O1 -pipe} \
|
||||
CXXFLAGS=${BUILD_CXXFLAGS:--O1 -pipe} \
|
||||
CPPFLAGS=${BUILD_CPPFLAGS} \
|
||||
LDFLAGS=${BUILD_LDFLAGS} \
|
||||
CC=$(tc-getBUILD_CC) \
|
||||
LD=$(tc-getBUILD_LD) \
|
||||
econf --host=${CBUILD} "$@"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
ECONF_SOURCE=${S}
|
||||
|
||||
if tc-is-cross-compiler ; then
|
||||
pushd ${CBUILD} >/dev/null
|
||||
econf_build --disable-nls --without-{zlib,bzlib,lzma}
|
||||
popd >/dev/null
|
||||
fi
|
||||
|
||||
pushd ${CHOST} >/dev/null
|
||||
econf \
|
||||
$(use_enable nls) \
|
||||
--program-prefix="eu-" \
|
||||
$(use_with zlib) \
|
||||
$(use_with bzip2 bzlib) \
|
||||
$(use_with lzma)
|
||||
popd >/dev/null
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if tc-is-cross-compiler ; then
|
||||
pushd ${CBUILD} >/dev/null
|
||||
emake -C lib || die
|
||||
emake -C libcpu || die
|
||||
popd >/dev/null
|
||||
ln ${CBUILD}/libcpu/i386_gendis ${CHOST}/libcpu/ || die
|
||||
sed -i -e '/^%_dis.h: %_defs/s: i386_gendis::' ${CHOST}/libcpu/Makefile || die
|
||||
fi
|
||||
|
||||
emake -C ${CHOST} || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
env LD_LIBRARY_PATH="${S}/libelf:${S}/libebl:${S}/libdw:${S}/libasm" \
|
||||
LC_ALL="C" \
|
||||
emake -C ${CHOST} -j1 check || die "test failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -C ${CHOST} DESTDIR="${D}" install || die
|
||||
dodoc AUTHORS ChangeLog NEWS NOTES README THANKS TODO
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST libexplain-0.49.D001.tar.gz 4477127 RMD160 e71bf8854bbcd7ba3e94de8434557e5192060fe8 SHA1 93aba2641ad61810b62eccd2d58f762d880edde7 SHA256 c6792f1ddf304cf1af2f7aaf03340ec4aee6d73a97b52a066e153bd967fbbedb
|
||||
DIST libexplain-0.50.D001.tar.gz 4484874 RMD160 80f90e363f12e0f9aaa04f4cd7639b478dc1c057 SHA1 dcf3a7a92370195810b96ae033f08b6e5794cf99 SHA256 7ffbf63ed820becdc26ed43f9299978f80a1edf617768b37cbdf99c80b57aaa6
|
||||
DIST libexplain-0.51.D001.tar.gz 4485218 RMD160 059f4fbe520ed9bacdf5098dcbef006c33759e1d SHA1 e8e1fd2b7a607fa823d6b13285c406e4e1197041 SHA256 2f49e8bc6c4b11c7d603e1d5b041fdf99712becc8cc67be475fe60272566681c
|
||||
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libexplain/libexplain-0.49.ebuild,v 1.4 2011/11/28 01:53:50 radhermit Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit autotools-utils
|
||||
|
||||
MY_P="${P}.D001"
|
||||
|
||||
DESCRIPTION="Library which may be used to explain Unix and Linux system call errors"
|
||||
HOMEPAGE="http://libexplain.sourceforge.net/"
|
||||
SRC_URI="http://libexplain.sourceforge.net/${MY_P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||
LICENSE="GPL-3"
|
||||
IUSE="static-libs"
|
||||
|
||||
DEPEND="
|
||||
>=sys-kernel/linux-headers-2.6.35
|
||||
sys-libs/libcap
|
||||
>=sys-libs/glibc-2.11"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
DOCS=( README )
|
||||
|
||||
AUTOTOOLS_IN_SOURCE_BUILD=1
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.45-configure.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# Portage incompatible test
|
||||
sed \
|
||||
-e '/t0524a/d' \
|
||||
-e '/t0363a/d' \
|
||||
-i Makefile.in || die
|
||||
|
||||
cp "${S}"/etc/configure.ac "${S}"
|
||||
|
||||
autotools-utils_src_prepare
|
||||
eautoreconf
|
||||
}
|
@ -0,0 +1,297 @@
|
||||
From 8973d58b7498fa5100a876815476b81fd1a2412a Mon Sep 17 00:00:00 2001
|
||||
From: Daniel Veillard <veillard@redhat.com>
|
||||
Date: Sat, 4 Feb 2012 19:07:44 +0800
|
||||
Subject: [PATCH] Add hash randomization to hash and dict structures
|
||||
|
||||
Following http://www.ocert.org/advisories/ocert-2011-003.html
|
||||
it seems that having hash randomization might be a good idea
|
||||
when using XML with untrusted data
|
||||
* configure.in: lookup for rand, srand and time
|
||||
* dict.c: add randomization to dictionaries hash tables
|
||||
* hash.c: add randomization to normal hash tables
|
||||
---
|
||||
configure.in | 1 +
|
||||
dict.c | 81 ++++++++++++++++++++++++++++++++++++++++-----------------
|
||||
hash.c | 38 ++++++++++++++++++++++++++-
|
||||
3 files changed, 95 insertions(+), 25 deletions(-)
|
||||
|
||||
diff --git a/configure.in b/configure.in
|
||||
index fa80375..828b66a 100644
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -512,6 +512,7 @@ AC_CHECK_FUNCS(strdup strndup strerror)
|
||||
AC_CHECK_FUNCS(finite isnand fp_class class fpclass)
|
||||
AC_CHECK_FUNCS(strftime localtime gettimeofday ftime)
|
||||
AC_CHECK_FUNCS(stat _stat signal)
|
||||
+AC_CHECK_FUNCS(rand srand time)
|
||||
|
||||
dnl Checking the standard string functions availability
|
||||
AC_CHECK_FUNCS(printf sprintf fprintf snprintf vfprintf vsprintf vsnprintf sscanf,,
|
||||
diff --git a/dict.c b/dict.c
|
||||
index 3eff231..ae4966b 100644
|
||||
--- a/dict.c
|
||||
+++ b/dict.c
|
||||
@@ -2,7 +2,7 @@
|
||||
* dict.c: dictionary of reusable strings, just used to avoid allocation
|
||||
* and freeing operations.
|
||||
*
|
||||
- * Copyright (C) 2003 Daniel Veillard.
|
||||
+ * Copyright (C) 2003-2012 Daniel Veillard.
|
||||
*
|
||||
* Permission to use, copy, modify, and distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
@@ -19,6 +19,28 @@
|
||||
#define IN_LIBXML
|
||||
#include "libxml.h"
|
||||
|
||||
+#ifdef HAVE_STDLIB_H
|
||||
+#include <stdlib.h>
|
||||
+#endif
|
||||
+#ifdef HAVE_TIME_H
|
||||
+#include <time.h>
|
||||
+#endif
|
||||
+
|
||||
+/*
|
||||
+ * Following http://www.ocert.org/advisories/ocert-2011-003.html
|
||||
+ * it seems that having hash randomization might be a good idea
|
||||
+ * when using XML with untrusted data
|
||||
+ * Note1: that it works correctly only if compiled with WITH_BIG_KEY
|
||||
+ * which is the default.
|
||||
+ * Note2: the fast function used for a small dict won't protect very
|
||||
+ * well but since the attack is based on growing a very big hash
|
||||
+ * list we will use the BigKey algo as soon as the hash size grows
|
||||
+ * over MIN_DICT_SIZE so this actually works
|
||||
+ */
|
||||
+#if defined(HAVE_RAND) && defined(HAVE_SRAND) && defined(HAVE_TIME)
|
||||
+#define DICT_RANDOMIZATION
|
||||
+#endif
|
||||
+
|
||||
#include <string.h>
|
||||
#ifdef HAVE_STDINT_H
|
||||
#include <stdint.h>
|
||||
@@ -44,23 +66,23 @@ typedef unsigned __int32 uint32_t;
|
||||
#define WITH_BIG_KEY
|
||||
|
||||
#ifdef WITH_BIG_KEY
|
||||
-#define xmlDictComputeKey(dict, name, len) \
|
||||
- (((dict)->size == MIN_DICT_SIZE) ? \
|
||||
- xmlDictComputeFastKey(name, len) : \
|
||||
- xmlDictComputeBigKey(name, len))
|
||||
-
|
||||
-#define xmlDictComputeQKey(dict, prefix, plen, name, len) \
|
||||
- (((prefix) == NULL) ? \
|
||||
- (xmlDictComputeKey(dict, name, len)) : \
|
||||
- (((dict)->size == MIN_DICT_SIZE) ? \
|
||||
- xmlDictComputeFastQKey(prefix, plen, name, len) : \
|
||||
- xmlDictComputeBigQKey(prefix, plen, name, len)))
|
||||
+#define xmlDictComputeKey(dict, name, len) \
|
||||
+ (((dict)->size == MIN_DICT_SIZE) ? \
|
||||
+ xmlDictComputeFastKey(name, len, (dict)->seed) : \
|
||||
+ xmlDictComputeBigKey(name, len, (dict)->seed))
|
||||
+
|
||||
+#define xmlDictComputeQKey(dict, prefix, plen, name, len) \
|
||||
+ (((prefix) == NULL) ? \
|
||||
+ (xmlDictComputeKey(dict, name, len)) : \
|
||||
+ (((dict)->size == MIN_DICT_SIZE) ? \
|
||||
+ xmlDictComputeFastQKey(prefix, plen, name, len, (dict)->seed) : \
|
||||
+ xmlDictComputeBigQKey(prefix, plen, name, len, (dict)->seed)))
|
||||
|
||||
#else /* !WITH_BIG_KEY */
|
||||
-#define xmlDictComputeKey(dict, name, len) \
|
||||
- xmlDictComputeFastKey(name, len)
|
||||
-#define xmlDictComputeQKey(dict, prefix, plen, name, len) \
|
||||
- xmlDictComputeFastQKey(prefix, plen, name, len)
|
||||
+#define xmlDictComputeKey(dict, name, len) \
|
||||
+ xmlDictComputeFastKey(name, len, (dict)->seed)
|
||||
+#define xmlDictComputeQKey(dict, prefix, plen, name, len) \
|
||||
+ xmlDictComputeFastQKey(prefix, plen, name, len, (dict)->seed)
|
||||
#endif /* WITH_BIG_KEY */
|
||||
|
||||
/*
|
||||
@@ -98,6 +120,8 @@ struct _xmlDict {
|
||||
xmlDictStringsPtr strings;
|
||||
|
||||
struct _xmlDict *subdict;
|
||||
+ /* used for randomization */
|
||||
+ int seed;
|
||||
};
|
||||
|
||||
/*
|
||||
@@ -125,6 +149,9 @@ static int xmlInitializeDict(void) {
|
||||
if ((xmlDictMutex = xmlNewRMutex()) == NULL)
|
||||
return(0);
|
||||
|
||||
+#ifdef DICT_RANDOMIZATION
|
||||
+ srand(time(NULL));
|
||||
+#endif
|
||||
xmlDictInitialized = 1;
|
||||
return(1);
|
||||
}
|
||||
@@ -277,13 +304,13 @@ found_pool:
|
||||
*/
|
||||
|
||||
static uint32_t
|
||||
-xmlDictComputeBigKey(const xmlChar* data, int namelen) {
|
||||
+xmlDictComputeBigKey(const xmlChar* data, int namelen, int seed) {
|
||||
uint32_t hash;
|
||||
int i;
|
||||
|
||||
if (namelen <= 0 || data == NULL) return(0);
|
||||
|
||||
- hash = 0;
|
||||
+ hash = seed;
|
||||
|
||||
for (i = 0;i < namelen; i++) {
|
||||
hash += data[i];
|
||||
@@ -310,12 +337,12 @@ xmlDictComputeBigKey(const xmlChar* data, int namelen) {
|
||||
*/
|
||||
static unsigned long
|
||||
xmlDictComputeBigQKey(const xmlChar *prefix, int plen,
|
||||
- const xmlChar *name, int len)
|
||||
+ const xmlChar *name, int len, int seed)
|
||||
{
|
||||
uint32_t hash;
|
||||
int i;
|
||||
|
||||
- hash = 0;
|
||||
+ hash = seed;
|
||||
|
||||
for (i = 0;i < plen; i++) {
|
||||
hash += prefix[i];
|
||||
@@ -346,8 +373,8 @@ xmlDictComputeBigQKey(const xmlChar *prefix, int plen,
|
||||
* for low hash table fill.
|
||||
*/
|
||||
static unsigned long
|
||||
-xmlDictComputeFastKey(const xmlChar *name, int namelen) {
|
||||
- unsigned long value = 0L;
|
||||
+xmlDictComputeFastKey(const xmlChar *name, int namelen, int seed) {
|
||||
+ unsigned long value = seed;
|
||||
|
||||
if (name == NULL) return(0);
|
||||
value = *name;
|
||||
@@ -381,9 +408,9 @@ xmlDictComputeFastKey(const xmlChar *name, int namelen) {
|
||||
*/
|
||||
static unsigned long
|
||||
xmlDictComputeFastQKey(const xmlChar *prefix, int plen,
|
||||
- const xmlChar *name, int len)
|
||||
+ const xmlChar *name, int len, int seed)
|
||||
{
|
||||
- unsigned long value = 0L;
|
||||
+ unsigned long value = (unsigned long) seed;
|
||||
|
||||
if (plen == 0)
|
||||
value += 30 * (unsigned long) ':';
|
||||
@@ -460,6 +487,11 @@ xmlDictCreate(void) {
|
||||
dict->subdict = NULL;
|
||||
if (dict->dict) {
|
||||
memset(dict->dict, 0, MIN_DICT_SIZE * sizeof(xmlDictEntry));
|
||||
+#ifdef DICT_RANDOMIZATION
|
||||
+ dict->seed = rand();
|
||||
+#else
|
||||
+ dict->seed = 0;
|
||||
+#endif
|
||||
return(dict);
|
||||
}
|
||||
xmlFree(dict);
|
||||
@@ -486,6 +518,7 @@ xmlDictCreateSub(xmlDictPtr sub) {
|
||||
#ifdef DICT_DEBUG_PATTERNS
|
||||
fprintf(stderr, "R");
|
||||
#endif
|
||||
+ dict->seed = sub->seed;
|
||||
dict->subdict = sub;
|
||||
xmlDictReference(dict->subdict);
|
||||
}
|
||||
diff --git a/hash.c b/hash.c
|
||||
index b78bc2d..fe1424f 100644
|
||||
--- a/hash.c
|
||||
+++ b/hash.c
|
||||
@@ -3,7 +3,7 @@
|
||||
*
|
||||
* Reference: Your favorite introductory book on algorithms
|
||||
*
|
||||
- * Copyright (C) 2000 Bjorn Reese and Daniel Veillard.
|
||||
+ * Copyright (C) 2000,2012 Bjorn Reese and Daniel Veillard.
|
||||
*
|
||||
* Permission to use, copy, modify, and distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
@@ -21,6 +21,22 @@
|
||||
#include "libxml.h"
|
||||
|
||||
#include <string.h>
|
||||
+#ifdef HAVE_STDLIB_H
|
||||
+#include <stdlib.h>
|
||||
+#endif
|
||||
+#ifdef HAVE_TIME_H
|
||||
+#include <time.h>
|
||||
+#endif
|
||||
+
|
||||
+/*
|
||||
+ * Following http://www.ocert.org/advisories/ocert-2011-003.html
|
||||
+ * it seems that having hash randomization might be a good idea
|
||||
+ * when using XML with untrusted data
|
||||
+ */
|
||||
+#if defined(HAVE_RAND) && defined(HAVE_SRAND) && defined(HAVE_TIME)
|
||||
+#define HASH_RANDOMIZATION
|
||||
+#endif
|
||||
+
|
||||
#include <libxml/parser.h>
|
||||
#include <libxml/hash.h>
|
||||
#include <libxml/xmlmemory.h>
|
||||
@@ -31,6 +47,10 @@
|
||||
|
||||
/* #define DEBUG_GROW */
|
||||
|
||||
+#ifdef HASH_RANDOMIZATION
|
||||
+static int hash_initialized = 0;
|
||||
+#endif
|
||||
+
|
||||
/*
|
||||
* A single entry in the hash table
|
||||
*/
|
||||
@@ -53,6 +73,9 @@ struct _xmlHashTable {
|
||||
int size;
|
||||
int nbElems;
|
||||
xmlDictPtr dict;
|
||||
+#ifdef HASH_RANDOMIZATION
|
||||
+ int random_seed;
|
||||
+#endif
|
||||
};
|
||||
|
||||
/*
|
||||
@@ -65,6 +88,9 @@ xmlHashComputeKey(xmlHashTablePtr table, const xmlChar *name,
|
||||
unsigned long value = 0L;
|
||||
char ch;
|
||||
|
||||
+#ifdef HASH_RANDOMIZATION
|
||||
+ value = table->random_seed;
|
||||
+#endif
|
||||
if (name != NULL) {
|
||||
value += 30 * (*name);
|
||||
while ((ch = *name++) != 0) {
|
||||
@@ -92,6 +118,9 @@ xmlHashComputeQKey(xmlHashTablePtr table,
|
||||
unsigned long value = 0L;
|
||||
char ch;
|
||||
|
||||
+#ifdef HASH_RANDOMIZATION
|
||||
+ value = table->random_seed;
|
||||
+#endif
|
||||
if (prefix != NULL)
|
||||
value += 30 * (*prefix);
|
||||
else
|
||||
@@ -156,6 +185,13 @@ xmlHashCreate(int size) {
|
||||
table->table = xmlMalloc(size * sizeof(xmlHashEntry));
|
||||
if (table->table) {
|
||||
memset(table->table, 0, size * sizeof(xmlHashEntry));
|
||||
+#ifdef HASH_RANDOMIZATION
|
||||
+ if (!hash_initialized) {
|
||||
+ srand(time(NULL));
|
||||
+ hash_initialized = 1;
|
||||
+ }
|
||||
+ table->random_seed = rand();
|
||||
+#endif
|
||||
return(table);
|
||||
}
|
||||
xmlFree(table);
|
||||
--
|
||||
1.7.8.4
|
||||
|
@ -1,219 +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/libxml2/libxml2-2.7.8-r1.ebuild,v 1.8 2012/02/20 09:08:18 patrick Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="python? 2"
|
||||
PYTHON_USE_WITH="-build 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 ~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 python readline 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}/${P}.tar.gz
|
||||
test? (
|
||||
${XSTS_HOME}/${XSTS_NAME_1}/${XSTS_TARBALL_1}
|
||||
${XSTS_HOME}/${XSTS_NAME_2}/${XSTS_TARBALL_2} )"
|
||||
|
||||
RDEPEND="sys-libs/zlib
|
||||
icu? ( dev-libs/icu )
|
||||
readline? ( sys-libs/readline )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
hppa? ( >=sys-devel/binutils-2.15.92.0.2 )"
|
||||
|
||||
pkg_setup() {
|
||||
if use python; then
|
||||
python_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
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}.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"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Patches needed for prefix support
|
||||
epatch "${FILESDIR}"/${PN}-2.7.1-catalog_path.patch
|
||||
epatch "${FILESDIR}"/${PN}-2.7.2-winnt.patch
|
||||
|
||||
eprefixify catalog.c xmlcatalog.c runtest.c xmllint.c
|
||||
|
||||
epunt_cxx
|
||||
|
||||
# Reactivate the shared library versionning script
|
||||
epatch "${FILESDIR}/${P}-reactivate-script.patch"
|
||||
|
||||
# Fix a potential memory access error
|
||||
epatch "${FILESDIR}/${P}-xpath-memory.patch"
|
||||
|
||||
# Fix a potential freeing error in XPath
|
||||
epatch "${FILESDIR}/${P}-xpath-freeing.patch"
|
||||
epatch "${FILESDIR}/${P}-xpath-freeing2.patch"
|
||||
|
||||
# Fix some potential problems on reallocation failures
|
||||
epatch "${FILESDIR}/${P}-reallocation-failures.patch"
|
||||
|
||||
epatch "${FILESDIR}/${P}-disable_static_modules.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 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 python)
|
||||
$(use_with readline)
|
||||
$(use_with readline history)
|
||||
$(use_enable ipv6)"
|
||||
|
||||
# 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* || die "dodoc failed"
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
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
|
||||
}
|
@ -1,231 +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/libxml2/libxml2-2.7.8-r3.ebuild,v 1.8 2012/02/20 09:08:18 patrick Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="python? 2"
|
||||
PYTHON_USE_WITH="-build 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 ~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 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}/${P}.tar.gz
|
||||
test? (
|
||||
${XSTS_HOME}/${XSTS_NAME_1}/${XSTS_TARBALL_1}
|
||||
${XSTS_HOME}/${XSTS_NAME_2}/${XSTS_TARBALL_2} )"
|
||||
|
||||
RDEPEND="sys-libs/zlib
|
||||
icu? ( dev-libs/icu )
|
||||
readline? ( sys-libs/readline )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
hppa? ( >=sys-devel/binutils-2.15.92.0.2 )"
|
||||
|
||||
pkg_setup() {
|
||||
if use python; then
|
||||
python_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
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}.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"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Patches needed for prefix support
|
||||
epatch "${FILESDIR}"/${PN}-2.7.1-catalog_path.patch
|
||||
epatch "${FILESDIR}"/${PN}-2.7.2-winnt.patch
|
||||
|
||||
eprefixify catalog.c xmlcatalog.c runtest.c xmllint.c
|
||||
|
||||
epunt_cxx
|
||||
|
||||
# Reactivate the shared library versionning script
|
||||
epatch "${FILESDIR}/${P}-reactivate-script.patch"
|
||||
|
||||
# Fix a potential memory access error
|
||||
epatch "${FILESDIR}/${P}-xpath-memory.patch"
|
||||
|
||||
# Fix a potential freeing error in XPath
|
||||
epatch "${FILESDIR}/${P}-xpath-freeing.patch"
|
||||
epatch "${FILESDIR}/${P}-xpath-freeing2.patch"
|
||||
|
||||
# Fix some potential problems on reallocation failures
|
||||
epatch "${FILESDIR}/${P}-reallocation-failures.patch"
|
||||
|
||||
epatch "${FILESDIR}/${P}-disable_static_modules.patch"
|
||||
|
||||
# Hardening of XPath evaluation
|
||||
epatch "${FILESDIR}/${P}-hardening-xpath.patch"
|
||||
|
||||
# Fix missing error status in XPath evaluation
|
||||
epatch "${FILESDIR}/${P}-error-xpath.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 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 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* || die "dodoc failed"
|
||||
|
||||
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
|
||||
|
||||
if ! use static-libs; then
|
||||
# Remove useless .la files
|
||||
find "${D}" -name '*.la' -exec rm -f {} + || die "la file removal failed"
|
||||
fi
|
||||
}
|
||||
|
||||
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
|
||||
}
|
@ -1,63 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ml/bin-prot/bin-prot-1.3.1.ebuild,v 1.1 2011/06/25 18:56:12 aballier Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit findlib eutils multilib
|
||||
|
||||
DESCRIPTION="A binary protocol generator"
|
||||
HOMEPAGE="http://ocaml.janestreet.com/?q=node/13"
|
||||
SRC_URI="http://www.janestreet.com/ocaml/bin_prot-${PV}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1-linking-exception"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="debug doc +ocamlopt"
|
||||
|
||||
RDEPEND=">=dev-lang/ocaml-3.12[ocamlopt?]
|
||||
dev-ml/findlib
|
||||
>=dev-ml/ounit-1.0.2
|
||||
>=dev-ml/type-conv-2.3.0"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-ml/ounit-1.0.2
|
||||
doc? ( virtual/latex-base dev-texlive/texlive-latexextra )"
|
||||
|
||||
S=${WORKDIR}/bin_prot-${PV}
|
||||
|
||||
oasis_use_enable() {
|
||||
echo "--override $2 `use $1 && echo \"true\" || echo \"false\"`"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./configure --prefix usr \
|
||||
--libdir /usr/$(get_libdir) \
|
||||
--destdir "${D}" \
|
||||
$(oasis_use_enable debug debug) \
|
||||
$(oasis_use_enable ocamlopt is_native) \
|
||||
|| die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake || die
|
||||
if use doc ; then
|
||||
cd "${S}/doc"
|
||||
pdflatex README || die
|
||||
pdflatex README || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
LD_LIBRARY_PATH="${S}/_build/lib" emake test || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
findlib_src_install
|
||||
|
||||
dodoc README Changelog || die
|
||||
if use doc; then
|
||||
dodoc doc/README.pdf || die
|
||||
fi
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST camlp5-5.14.tgz 685253 RMD160 0643a1fcf78d4848fd7090d105911dc43990eb66 SHA1 cae1cb1dfa506f640393c28d9b510a03f947ef9d SHA256 1b45413a3477ef6143ace5185122c162b765d86c6d963ab8bd2b771feda3baa5
|
||||
DIST camlp5-6.02.3.tgz 653958 RMD160 519d8d79c6de63c374ff43f8348b7791de9e9fa5 SHA1 eb0f4f9ade52c2c1e972d61b334bcf01fea76dfc SHA256 329f8e577a6f9ac749a0d6fd22acb8385ae17dda3942ba415e27846304e42bfd
|
||||
DIST camlp5-6.03.tgz 659839 RMD160 2a2451cf38e2f061d25ee2c8e3eef57ca283a103 SHA1 9166ee6057caabda641be29152f28b1f58a3c830 SHA256 085e3cfaec319855e818f218b1d50ef1c0ca4742a40526f35cbc2b23df7acad5
|
||||
|
@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ml/camlp5/camlp5-5.14.ebuild,v 1.7 2011/12/18 17:33:47 armin76 Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit multilib findlib eutils
|
||||
|
||||
DESCRIPTION="A preprocessor-pretty-printer of ocaml"
|
||||
HOMEPAGE="http://pauillac.inria.fr/~ddr/camlp5/"
|
||||
SRC_URI="http://pauillac.inria.fr/~ddr/camlp5/distrib/src/${P}.tgz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86 ~x86-fbsd"
|
||||
IUSE="doc +ocamlopt"
|
||||
|
||||
DEPEND=">=dev-lang/ocaml-3.10[ocamlopt?]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-ocaml312.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./configure \
|
||||
-prefix /usr \
|
||||
-bindir /usr/bin \
|
||||
-libdir /usr/$(get_libdir)/ocaml \
|
||||
-mandir /usr/share/man || die "configure failed"
|
||||
}
|
||||
|
||||
src_compile(){
|
||||
emake -j1 || die "emake failed"
|
||||
if use ocamlopt; then
|
||||
emake -j1 opt || die "Compiling native code programs failed"
|
||||
emake -j1 opt.opt || die "Compiling native code programs failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
# findlib support
|
||||
insinto "$(ocamlfind printconf destdir)/${PN}"
|
||||
doins etc/META || die "failed to install META file for findlib support"
|
||||
|
||||
use doc && dohtml -r doc/*
|
||||
|
||||
dodoc CHANGES DEVEL ICHANGES README UPGRADING MODE
|
||||
}
|
@ -1,18 +0,0 @@
|
||||
Index: camlp5-5.14/ocaml_stuff/3.12.0/utils/warnings.mli
|
||||
===================================================================
|
||||
--- camlp5-5.14.orig/ocaml_stuff/3.12.0/utils/warnings.mli
|
||||
+++ camlp5-5.14/ocaml_stuff/3.12.0/utils/warnings.mli
|
||||
@@ -44,6 +44,7 @@ type t =
|
||||
| Unused_var_strict of string (* 27 *)
|
||||
| Wildcard_arg_to_constant_constr (* 28 *)
|
||||
| Eol_in_string (* 29 *)
|
||||
+ | Duplicate_definitions of string * string * string * string (*30 *)
|
||||
;;
|
||||
|
||||
val parse_options : bool -> string -> unit;;
|
||||
@@ -61,3 +62,5 @@ val print : formatter -> t -> int;;
|
||||
exception Errors of int;;
|
||||
|
||||
val check_fatal : unit -> unit;;
|
||||
+
|
||||
+val help_warnings: unit -> unit
|
@ -1,3 +1,2 @@
|
||||
DIST camomile-0.8.1.tar.bz2 2281142 RMD160 e8c455fa89ac7e3a8ad78d47a14218ffcd579655 SHA1 331651050f82ff918efc36b34c0ce76c7b85ba5d SHA256 ca3c50f5442fce0ec9a9d35bfa99ab78084a2b5b02638c6e95f38340f9f104e5
|
||||
DIST camomile-0.8.3.tar.bz2 2646968 RMD160 56651ff4625dbdd9876784c1369c5a6ed6b290a6 SHA1 9f2600010820689805b5ab6e4048217ea821d535 SHA256 94c8d65d417c90301f6b3b21e4b00e151c434a3e2d406c3d5b3363859034f27b
|
||||
DIST camomile-0.8.4.tar.bz2 2649800 RMD160 a3c1cba2d4e8d2597bf420ae64e93128e9c85d70 SHA1 20fc38316e19bcca2401f799afb84e05a3553e3c SHA256 ef521f96fe984e6b0118041ed68a7a165beda54d8541c248ed402b7ef693de50
|
||||
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ml/camomile/camomile-0.8.1.ebuild,v 1.3 2011/06/30 15:06:51 ranger Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit findlib eutils
|
||||
|
||||
DESCRIPTION="Camomile is a comprehensive Unicode library for ocaml."
|
||||
HOMEPAGE="http://camomile.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/camomile/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ppc x86"
|
||||
IUSE="debug +ocamlopt"
|
||||
|
||||
RDEPEND=">=dev-lang/ocaml-3.10.2[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable debug)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1 byte unidata unimaps charmap_data locale_data || die "failed to build"
|
||||
if use ocamlopt; then
|
||||
emake -j1 opt || die "failed to build native code"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr/bin
|
||||
findlib_src_install DATADIR="${D}/usr/share" BINDIR="${D}/usr/bin"
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST core-0.7.0.tar.gz 357415 RMD160 52a5e2a101b0ef33eb6ef7aca827aa69bdefb02b SHA1 966a93901b8e168ecca4d010fa99b4c1d3b22bf8 SHA256 8abfa4c2fa74bc8a57258ff2d986ebbf11d5102eb4135b573ca873582ee292e4
|
||||
DIST core-107.01.tar.gz 364373 RMD160 5a496d71ac40bd709675e12a90233956a7a9309d SHA1 ef4443939cb42f5778912608d3023a669b06d44f SHA256 1a8c6e5806e452cf7afe75b89c1678ae58648ee15d1a843a4d1be360de8cc97e
|
||||
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ml/core/core-0.7.0.ebuild,v 1.1 2011/06/25 18:57:01 aballier Exp $
|
||||
|
||||
EAPI="2"
|
||||
inherit findlib eutils multilib
|
||||
|
||||
MY_P=${P/_/\~}
|
||||
DESCRIPTION="Jane Street's alternative to the standard library"
|
||||
HOMEPAGE="http://www.janestreet.com/ocaml"
|
||||
SRC_URI="http://www.janestreet.com/ocaml/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1-linking-exception"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="debug +ocamlopt test"
|
||||
|
||||
RDEPEND=">=dev-lang/ocaml-3.12[ocamlopt?]
|
||||
dev-ml/res
|
||||
>=dev-ml/sexplib-5.2.1
|
||||
>=dev-ml/bin-prot-1.3.1
|
||||
>=dev-ml/fieldslib-0.1.2"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( >=dev-ml/ounit-1.0.2 )"
|
||||
|
||||
oasis_use_enable() {
|
||||
echo "--override $2 `use $1 && echo \"true\" || echo \"false\"`"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./configure --prefix usr \
|
||||
--libdir /usr/$(get_libdir) \
|
||||
--docdir /usr/share/doc/${PF}/html \
|
||||
--destdir "${D}" \
|
||||
$(oasis_use_enable debug debug) \
|
||||
$(oasis_use_enable ocamlopt is_native) \
|
||||
|| die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
LD_LIBRARY_PATH="${S}/_build/lib" emake test || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
findlib_src_install
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST lwt-2.3.0.tar.gz 462480 RMD160 482c671814e3e2bde797c3deb924a5a2446db376 SHA1 10a35aecd6ebe312e939872307f7daa71f51d15a SHA256 f15497f246a9894fdac58e100f69163cb0d44e5aa0b8647285b1df1e8c519626
|
||||
DIST lwt-2.3.1.tar.gz 447270 RMD160 379ac57f13c22860354120b0d42d0efdf351a041 SHA1 ff24f98362c03df0df620011c31b6cc06308ef4e SHA256 da18aa9c0723963c51918af22fbb067f81c70ef22f555e0e1d440bf41fea81c9
|
||||
DIST lwt-2.3.2.tar.gz 474410 RMD160 69243c2989493e90a043d7d541371e78c536fb44 SHA1 5d1cb1a5180283708fb93d44e911acafdf6be850 SHA256 b892ec80b869e53ca711d0e42f0a9fa5997958781382247ff3cfc4880f75db00
|
||||
|
@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ml/lwt/lwt-2.3.0.ebuild,v 1.1 2011/04/18 18:17:46 aballier Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit findlib eutils multilib
|
||||
|
||||
MY_P=${P/_/+}
|
||||
DESCRIPTION="Cooperative light-weight thread library for OCaml"
|
||||
SRC_URI="http://ocsigen.org/download/${MY_P}.tar.gz"
|
||||
HOMEPAGE="http://ocsigen.org/lwt"
|
||||
|
||||
IUSE="gtk +ocamlopt +react +ssl"
|
||||
|
||||
DEPEND=">=dev-lang/ocaml-3.12[ocamlopt?]
|
||||
react? ( dev-ml/react )
|
||||
dev-libs/libev
|
||||
ssl? ( >=dev-ml/ocaml-ssl-0.4.0 )
|
||||
gtk? ( dev-ml/lablgtk dev-libs/glib:2 )"
|
||||
|
||||
RDEPEND="${DEPEND}
|
||||
!<www-servers/ocsigen-1.1"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="LGPL-2.1 LGPL-2.1-linking-exception"
|
||||
KEYWORDS="~amd64 ~x86 ~x86-fbsd"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
oasis_use_enable() {
|
||||
echo "--override $2 `use $1 && echo \"true\" || echo \"false\"`"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./configure --prefix usr \
|
||||
--libdir /usr/$(get_libdir) \
|
||||
--docdir /usr/share/doc/${PF}/html \
|
||||
--destdir "${D}" \
|
||||
$(use_enable gtk glib) \
|
||||
$(use_enable react) \
|
||||
$(use_enable ssl) \
|
||||
$(oasis_use_enable ocamlopt is_native) \
|
||||
|| die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
findlib_src_install
|
||||
dodoc CHANGES* README || die
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue