parent
7cccc76d35
commit
48de6dee64
@ -0,0 +1,16 @@
|
||||
Stolen shamelessly from FreeBSD
|
||||
|
||||
Index: crypto/heimdal/appl/telnet/libtelnet/encrypt.c
|
||||
===================================================================
|
||||
--- appl/telnet/libtelnet/encrypt.c (revision 228798)
|
||||
+++ appl/telnet/libtelnet/encrypt.c (working copy)
|
||||
@@ -736,6 +736,9 @@
|
||||
int dir = kp->dir;
|
||||
int ret = 0;
|
||||
|
||||
+ if (len > MAXKEYLEN)
|
||||
+ len = MAXKEYLEN;
|
||||
+
|
||||
if (!(ep = (*kp->getcrypt)(*kp->modep))) {
|
||||
if (len == 0)
|
||||
return;
|
@ -0,0 +1,11 @@
|
||||
--- base/test_base.c 2011-09-30 15:58:45.000000000 +0300
|
||||
+++ base/test_base.c 2011-12-27 23:04:50.482955923 +0200
|
||||
@@ -39,6 +39,8 @@
|
||||
#include "heimbase.h"
|
||||
#include "heimbasepriv.h"
|
||||
|
||||
+#include <stdlib.h>
|
||||
+
|
||||
static void
|
||||
memory_free(heim_object_t obj)
|
||||
{
|
@ -0,0 +1,138 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/heimdal-1.5.1-r1.ebuild,v 1.1 2011/12/27 21:15:10 eras Exp $
|
||||
|
||||
EAPI=2
|
||||
# PYTHON_BDEPEND="2"
|
||||
VIRTUALX_REQUIRED="manual"
|
||||
|
||||
inherit autotools db-use eutils libtool python toolchain-funcs virtualx flag-o-matic
|
||||
|
||||
MY_P="${P}"
|
||||
DESCRIPTION="Kerberos 5 implementation from KTH"
|
||||
HOMEPAGE="http://www.h5l.org/"
|
||||
SRC_URI="http://www.h5l.org/dist/src/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE="afs +berkdb caps hdb-ldap ipv6 otp +pkinit ssl static-libs threads test X"
|
||||
|
||||
RDEPEND="ssl? ( dev-libs/openssl )
|
||||
berkdb? ( sys-libs/db )
|
||||
!berkdb? ( sys-libs/gdbm )
|
||||
caps? ( sys-libs/libcap-ng )
|
||||
>=dev-db/sqlite-3.5.7
|
||||
>=sys-libs/e2fsprogs-libs-1.41.11
|
||||
afs? ( net-fs/openafs )
|
||||
hdb-ldap? ( >=net-nds/openldap-2.3.0 )
|
||||
!!app-crypt/mit-krb5"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
=dev-lang/python-2*
|
||||
dev-util/pkgconfig
|
||||
>=sys-devel/autoconf-2.62
|
||||
test? ( X? ( ${VIRTUALX_DEPEND} ) )"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/heimdal_missing-include.patch"
|
||||
epatch "${FILESDIR}/CVE-2011-4862.patch"
|
||||
epatch "${FILESDIR}/heimdal_db5.patch"
|
||||
epatch "${FILESDIR}/heimdal_disable-check-iprop.patch"
|
||||
epatch "${FILESDIR}/heimdal_link_order.patch"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# QA
|
||||
append-flags -fno-strict-aliasing
|
||||
|
||||
local myconf=""
|
||||
if use berkdb; then
|
||||
myconf="--with-berkeley-db --with-berkeley-db-include=$(db_includedir)"
|
||||
else
|
||||
myconf="--without-berkeley-db"
|
||||
fi
|
||||
econf \
|
||||
--enable-kcm \
|
||||
--disable-osfc2 \
|
||||
--enable-shared \
|
||||
--with-libintl=/usr \
|
||||
--with-readline=/usr \
|
||||
--with-sqlite3=/usr \
|
||||
--libexecdir=/usr/sbin \
|
||||
$(use_enable afs afs-support) \
|
||||
$(use_enable otp) \
|
||||
$(use_enable pkinit kx509) \
|
||||
$(use_enable pkinit pk-init) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable threads pthread-support) \
|
||||
$(use_with caps capng) \
|
||||
$(use_with hdb-ldap openldap /usr) \
|
||||
$(use_with ipv6) \
|
||||
$(use_with ssl openssl /usr) \
|
||||
$(use_with X x) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1 || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
INSTALL_CATPAGES="no" emake DESTDIR="${D}" install || die "emake install failed"
|
||||
|
||||
dodoc ChangeLog README NEWS TODO
|
||||
|
||||
# Begin client rename and install
|
||||
for i in {telnetd,ftpd,rshd,popper}
|
||||
do
|
||||
mv "${D}"/usr/share/man/man8/{,k}${i}.8
|
||||
mv "${D}"/usr/sbin/{,k}${i}
|
||||
done
|
||||
|
||||
for i in {rcp,rsh,telnet,ftp,su,login,pagsh,kf}
|
||||
do
|
||||
mv "${D}"/usr/share/man/man1/{,k}${i}.1
|
||||
mv "${D}"/usr/bin/{,k}${i}
|
||||
done
|
||||
|
||||
mv "${D}"/usr/share/man/man5/{,k}ftpusers.5
|
||||
mv "${D}"/usr/share/man/man5/{,k}login.access.5
|
||||
|
||||
newinitd "${FILESDIR}"/heimdal-kdc.initd-r1 heimdal-kdc
|
||||
newinitd "${FILESDIR}"/heimdal-kadmind.initd-r1 heimdal-kadmind
|
||||
newinitd "${FILESDIR}"/heimdal-kpasswdd.initd-r1 heimdal-kpasswdd
|
||||
newinitd "${FILESDIR}"/heimdal-kcm.initd-r1 heimdal-kcm
|
||||
|
||||
newconfd "${FILESDIR}"/heimdal-kdc.confd heimdal-kdc
|
||||
newconfd "${FILESDIR}"/heimdal-kadmind.confd heimdal-kadmind
|
||||
newconfd "${FILESDIR}"/heimdal-kpasswdd.confd heimdal-kpasswdd
|
||||
newconfd "${FILESDIR}"/heimdal-kcm.confd heimdal-kcm
|
||||
|
||||
insinto /etc
|
||||
newins "${FILESDIR}"/krb5.conf krb5.conf.example
|
||||
|
||||
if use hdb-ldap; then
|
||||
insinto /etc/openldap/schema
|
||||
doins "${S}/lib/hdb/hdb.schema"
|
||||
fi
|
||||
|
||||
use static-libs || find "${D}"/usr/lib* -name '*.la' -delete
|
||||
|
||||
# default database dir
|
||||
keepdir /var/heimdal
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
preserve_old_lib /usr/$(get_libdir)/libgssapi.so.2
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
preserve_old_lib_notify /usr/$(get_libdir)/libgssapi.so.2
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST krb5-appl-1.0.1-signed.tar 645120 RMD160 ca0668b623dcf4dc5a0699fa47d86660aac5544a SHA1 128662c9860f61a51c9bcaf1b6217467faa12324 SHA256 124322481e4f8e0b119b527071f2f707168060e17748cf34c8bf5af747c3e311
|
||||
DIST krb5-appl-1.0.2-signed.tar 634880 RMD160 af6e0c8ece7fe3821b373621672ad15e09508a90 SHA1 f9a75c1e3b495ab6b3a4004274ffb35f9fe24756 SHA256 ca82209ba11e37390a7b79b0eb27abac9526442d296d60b752a0a94969bbad7d
|
||||
DIST krb5-appl-1.0.3-signed.tar 634880 RMD160 491359af5da2ea3c680811b08d9696eb43794a21 SHA1 6711c1b46633e666e6e707363ffffce5e1c84d9d SHA256 feb88581eba566554ad515a6fcf18cee11e8409a2c4755bf5188db96f0b7f039
|
||||
|
@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5-appl/mit-krb5-appl-1.0.3.ebuild,v 1.1 2011/12/27 21:20:40 eras Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit flag-o-matic versionator eutils
|
||||
|
||||
MY_P=${P/mit-}
|
||||
MAJOR_MINOR="$( get_version_component_range 1-2 )"
|
||||
DESCRIPTION="Kerberized applications split from the main MIT Kerberos V distribution"
|
||||
HOMEPAGE="http://web.mit.edu/kerberos/www/"
|
||||
SRC_URI="http://web.mit.edu/kerberos/dist/krb5-appl/${MAJOR_MINOR}/${MY_P}-signed.tar"
|
||||
|
||||
LICENSE="as-is"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-crypt/mit-krb5-1.8.0
|
||||
sys-libs/e2fsprogs-libs
|
||||
sys-libs/ncurses"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
unpack ./"${MY_P}".tar.gz
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-flags "-I/usr/include/et"
|
||||
append-flags -fno-strict-aliasing
|
||||
append-flags -fno-strict-overflow
|
||||
econf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
for i in {telnetd,ftpd} ; do
|
||||
mv "${D}"/usr/share/man/man8/${i}.8 "${D}"/usr/share/man/man8/k${i}.8 \
|
||||
|| die "mv failed (man)"
|
||||
mv "${D}"/usr/sbin/${i} "${D}"/usr/sbin/k${i} || die "mv failed"
|
||||
done
|
||||
|
||||
for i in {rcp,rlogin,rsh,telnet,ftp} ; do
|
||||
mv "${D}"/usr/share/man/man1/${i}.1 "${D}"/usr/share/man/man1/k${i}.1 \
|
||||
|| die "mv failed (man)"
|
||||
mv "${D}"/usr/bin/${i} "${D}"/usr/bin/k${i} || die "mv failed"
|
||||
done
|
||||
|
||||
rm "${D}"/usr/share/man/man1/tmac.doc
|
||||
dodoc README
|
||||
}
|
@ -1,13 +1,9 @@
|
||||
DIST pl-5.10.4.tar.gz 13242637 RMD160 5891908606a3676a2c6c6008f8cb2f6724cd211f SHA1 481828a00b6fa0ea3e60a081b75ed7cf55591b97 SHA256 e65275402e6d1aaaa07fa3dbb56f2f08cb688366d292324cc18b17bf0500bfb3
|
||||
DIST pl-5.10.5.tar.gz 13329752 RMD160 1ed3594b46efead1fd66b232ff8bdd765d749200 SHA1 bc27e997e20120aed9be68af2fdccfb093ff16eb SHA256 38d938d6a64e894685aa44bf9ea34b5505764cd084e07e6b4c21a9dd89b579d5
|
||||
DIST pl-5.11.31.tar.gz 13421230 RMD160 2050615ba9e923beff1955316e0cb8e8f6488f27 SHA1 c35ae1d9f037fe0e31fe98ad8e085cabbd775783 SHA256 09ed7dca88c7de4758514edf6f4256c6c900248f460c088b2ddaa0d79c7be938
|
||||
DIST pl-5.11.32.tar.gz 13423554 RMD160 8c70a93667ca0f51e10e7d7943e20e52c7e47501 SHA1 f361e17aeb1ed4f1c5b950570b7176ef6766839c SHA256 aa4eb6c45ae598f283e3d374e066262795537cd9ccddbf0b71c907e30f320c4a
|
||||
DIST pl-5.11.33.tar.gz 13449876 RMD160 c791cec5edcca720c1c0a00cadb03f753d1bcf32 SHA1 8545cf0a24f74c22b21bffb4f227f322883d0c12 SHA256 6b870bf424b3575fd3c36371b1ed69b2139b5e871df837754996a6100f88fcdd
|
||||
DIST pl-5.11.34.tar.gz 13460186 RMD160 1f7ee32e7a0b85163c0501754d0d00b661950189 SHA1 9c933db1d3587ea35bfcd342595ede94ce8db7a9 SHA256 0cc7a7e58eb98914175992b06b8e4f73c976b952edb3c7061f1056e7882e67ec
|
||||
DIST pl-5.11.35.tar.gz 13461875 RMD160 4f8e6738eabda36f325c507a8dafb73cc6a24382 SHA1 4e06f6ba717b7c8e40e3363dbaba149ac641b865 SHA256 ebc212f629e536b4076a83107d4e1601531c50df155e6f379c5801a21a8e8bfa
|
||||
DIST swi-prolog-5.10.4-gentoo-patchset-3.tar.gz 9770 RMD160 6bf3af5c57da54407f260db9ee5203ee6fa8c032 SHA1 3fc7483226a7ea5363ee083105bcf1d81d645b1e SHA256 8745a67d34f83afdbb1ed852606d40fadfe7de7bca00c8a88690efb65aace21b
|
||||
DIST swi-prolog-5.10.5-gentoo-patchset-0.tar.gz 5860 RMD160 ec0c8237fecf838101602875a9e4eb64a1c84271 SHA1 57b97c3284158e0fad2c0371479284bf79e85654 SHA256 a20cb42ed5385076a2ba759898f44b82fe0d40b5f2f16063535f1635763c6aa6
|
||||
DIST swi-prolog-5.10.5-gentoo-patchset-4.tar.gz 9587 RMD160 1867f6320810bfb7f356716e6006c40e77507006 SHA1 79a27dc241e6fe1c6e86c5769eba16a5b984f6cd SHA256 0f00bb91ed0039fc861c7f60251a752a836b8ef18d2fdd920bb5fcb88f64f653
|
||||
DIST swi-prolog-5.11.31-gentoo-patchset-0.tar.gz 4228 RMD160 5ad348c890a3212c0ddde8727a25f7139d663b8f SHA1 3a0a8efdb7e24e8edfedd4cdc2c0a2d8968115b7 SHA256 baf8e541f1a5fe7af501c55472694fb75a1517fbc0839d5023cb41bebe484165
|
||||
DIST swi-prolog-5.11.32-gentoo-patchset-0.tar.gz 3839 RMD160 29accfa80b175a25560e628a0d4d1ce50fb13fdc SHA1 498011ddfd6086793cd97dd28800b1f595ddb887 SHA256 bbccb04540a12c143099f865d3447362afb8c76a8b6b338d1b896f59f8d339b5
|
||||
DIST swi-prolog-5.11.33-gentoo-patchset-0.tar.gz 3889 RMD160 0998148319f548b32487de44ed32dc5be3a75ff4 SHA1 e5c54fe30f4302ec1f52e63b6cd2845509fb5809 SHA256 8d570399085cfaf535808881f90268562b29bbcadc091525422a7e7643091416
|
||||
DIST swi-prolog-5.11.34-gentoo-patchset-0.tar.gz 4126 RMD160 5dd7a6d95a90fe87886b9c52f59a0b1a9acd6ed9 SHA1 4003e2101d148ed70a516dee079ab25c956231cb SHA256 a902e81d819055e365916a6c5e01b13b9bbc2477f00de192f6b751b0efc2cc99
|
||||
DIST swi-prolog-5.11.35-gentoo-patchset-0.tar.gz 5009 RMD160 11bf91da332023963625d9951b742c0412603aee SHA1 1479822638cdeed72387b768aa34c9daec651aae SHA256 13feae1275699fdd8b644f5eddf6f5ba058febb23400825e2e60eee4b91ba417
|
||||
|
@ -1,125 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/swi-prolog-5.11.32.ebuild,v 1.1 2011/11/18 19:13:00 keri Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils flag-o-matic java-pkg-opt-2
|
||||
|
||||
PATCHSET_VER="0"
|
||||
|
||||
DESCRIPTION="free, small, and standard compliant Prolog compiler"
|
||||
HOMEPAGE="http://www.swi-prolog.org/"
|
||||
SRC_URI="http://www.swi-prolog.org/download/devel/src/pl-${PV}.tar.gz
|
||||
mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="debug doc gmp hardened java minimal odbc readline ssl static test zlib X"
|
||||
|
||||
RDEPEND="sys-libs/ncurses
|
||||
zlib? ( sys-libs/zlib )
|
||||
odbc? ( dev-db/unixODBC )
|
||||
readline? ( sys-libs/readline )
|
||||
gmp? ( dev-libs/gmp )
|
||||
ssl? ( dev-libs/openssl )
|
||||
java? ( >=virtual/jdk-1.4 )
|
||||
X? (
|
||||
virtual/jpeg
|
||||
x11-libs/libX11
|
||||
x11-libs/libXft
|
||||
x11-libs/libXpm
|
||||
x11-libs/libXt
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
X? ( x11-proto/xproto )
|
||||
java? ( test? ( =dev-java/junit-3.8* ) )"
|
||||
|
||||
S="${WORKDIR}/pl-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_FORCE=yes
|
||||
EPATCH_SUFFIX=patch
|
||||
epatch "${WORKDIR}"/${PV}
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-flags -fno-strict-aliasing
|
||||
use ppc && append-flags -mno-altivec
|
||||
use hardened && append-flags -fno-unit-at-a-time
|
||||
use debug && append-flags -DO_DEBUG
|
||||
|
||||
cd "${S}"/src
|
||||
econf \
|
||||
--libdir=/usr/$(get_libdir) \
|
||||
$(use_enable gmp) \
|
||||
$(use_enable readline) \
|
||||
$(use_enable !static shared) \
|
||||
--enable-custom-flags COFLAGS="${CFLAGS}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${S}"/src
|
||||
emake || die "emake failed"
|
||||
|
||||
if ! use minimal ; then
|
||||
local jpltestconf
|
||||
if use java && use test ; then
|
||||
jpltestconf="--with-junit=$(java-config --classpath junit)"
|
||||
fi
|
||||
|
||||
cd "${S}/packages"
|
||||
econf \
|
||||
--libdir=/usr/$(get_libdir) \
|
||||
--with-chr \
|
||||
--with-clib \
|
||||
--with-clpqr \
|
||||
--with-cpp \
|
||||
--with-http \
|
||||
$(use_with java jpl) \
|
||||
${jpltestconf} \
|
||||
--with-nlp \
|
||||
$(use_with odbc) \
|
||||
--with-pldoc \
|
||||
--with-plunit \
|
||||
--with-protobufs \
|
||||
--with-R \
|
||||
--with-RDF \
|
||||
--with-semweb \
|
||||
--with-sgml \
|
||||
$(use_with ssl) \
|
||||
--with-table \
|
||||
--with-tipc \
|
||||
$(use_with X xpce) \
|
||||
$(use_with zlib) \
|
||||
COFLAGS='"${CFLAGS}"'
|
||||
|
||||
emake || die "packages emake failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${S}/src"
|
||||
emake check || die "make check failed. See above for details."
|
||||
|
||||
if ! use minimal ; then
|
||||
cd "${S}/packages"
|
||||
emake check || die "make check failed. See above for details."
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -C src DESTDIR="${D}" install || die "install src failed"
|
||||
|
||||
if ! use minimal ; then
|
||||
emake -C packages DESTDIR="${D}" install || die "install packages failed"
|
||||
if use doc ; then
|
||||
emake -C packages DESTDIR="${D}" html-install || die "html-install failed"
|
||||
fi
|
||||
fi
|
||||
|
||||
dodoc ReleaseNotes/relnotes-5.10 INSTALL README VERSION || die
|
||||
}
|
@ -1,125 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/swi-prolog-5.11.33.ebuild,v 1.1 2011/12/15 06:03:28 keri Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils flag-o-matic java-pkg-opt-2
|
||||
|
||||
PATCHSET_VER="0"
|
||||
|
||||
DESCRIPTION="free, small, and standard compliant Prolog compiler"
|
||||
HOMEPAGE="http://www.swi-prolog.org/"
|
||||
SRC_URI="http://www.swi-prolog.org/download/devel/src/pl-${PV}.tar.gz
|
||||
mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="debug doc gmp hardened java minimal odbc readline ssl static test zlib X"
|
||||
|
||||
RDEPEND="sys-libs/ncurses
|
||||
zlib? ( sys-libs/zlib )
|
||||
odbc? ( dev-db/unixODBC )
|
||||
readline? ( sys-libs/readline )
|
||||
gmp? ( dev-libs/gmp )
|
||||
ssl? ( dev-libs/openssl )
|
||||
java? ( >=virtual/jdk-1.4 )
|
||||
X? (
|
||||
virtual/jpeg
|
||||
x11-libs/libX11
|
||||
x11-libs/libXft
|
||||
x11-libs/libXpm
|
||||
x11-libs/libXt
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
X? ( x11-proto/xproto )
|
||||
java? ( test? ( =dev-java/junit-3.8* ) )"
|
||||
|
||||
S="${WORKDIR}/pl-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_FORCE=yes
|
||||
EPATCH_SUFFIX=patch
|
||||
epatch "${WORKDIR}"/${PV}
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-flags -fno-strict-aliasing
|
||||
use ppc && append-flags -mno-altivec
|
||||
use hardened && append-flags -fno-unit-at-a-time
|
||||
use debug && append-flags -DO_DEBUG
|
||||
|
||||
cd "${S}"/src
|
||||
econf \
|
||||
--libdir=/usr/$(get_libdir) \
|
||||
$(use_enable gmp) \
|
||||
$(use_enable readline) \
|
||||
$(use_enable !static shared) \
|
||||
--enable-custom-flags COFLAGS="${CFLAGS}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${S}"/src
|
||||
emake || die "emake failed"
|
||||
|
||||
if ! use minimal ; then
|
||||
local jpltestconf
|
||||
if use java && use test ; then
|
||||
jpltestconf="--with-junit=$(java-config --classpath junit)"
|
||||
fi
|
||||
|
||||
cd "${S}/packages"
|
||||
econf \
|
||||
--libdir=/usr/$(get_libdir) \
|
||||
--with-chr \
|
||||
--with-clib \
|
||||
--with-clpqr \
|
||||
--with-cpp \
|
||||
--with-http \
|
||||
$(use_with java jpl) \
|
||||
${jpltestconf} \
|
||||
--with-nlp \
|
||||
$(use_with odbc) \
|
||||
--with-pldoc \
|
||||
--with-plunit \
|
||||
--with-protobufs \
|
||||
--with-R \
|
||||
--with-RDF \
|
||||
--with-semweb \
|
||||
--with-sgml \
|
||||
$(use_with ssl) \
|
||||
--with-table \
|
||||
--with-tipc \
|
||||
$(use_with X xpce) \
|
||||
$(use_with zlib) \
|
||||
COFLAGS='"${CFLAGS}"'
|
||||
|
||||
emake || die "packages emake failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${S}/src"
|
||||
emake check || die "make check failed. See above for details."
|
||||
|
||||
if ! use minimal ; then
|
||||
cd "${S}/packages"
|
||||
emake check || die "make check failed. See above for details."
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -C src DESTDIR="${D}" install || die "install src failed"
|
||||
|
||||
if ! use minimal ; then
|
||||
emake -C packages DESTDIR="${D}" install || die "install packages failed"
|
||||
if use doc ; then
|
||||
emake -C packages DESTDIR="${D}" html-install || die "html-install failed"
|
||||
fi
|
||||
fi
|
||||
|
||||
dodoc ReleaseNotes/relnotes-5.10 INSTALL README VERSION || die
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/swi-prolog-5.11.31.ebuild,v 1.1 2011/11/13 04:13:15 keri Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/swi-prolog-5.11.35.ebuild,v 1.1 2011/12/27 19:20:46 keri Exp $
|
||||
|
||||
EAPI=2
|
||||
|
@ -1 +1,2 @@
|
||||
DIST apr-util-1.3.12.tar.bz2 607646 RMD160 c23f9e8f312edbb4c484c839c071648c79a00140 SHA1 4902165fc5f2f077afbcc7ddf7ebbf61556a1cda SHA256 93976dc2f40d8622c4e9c355f419bb20f2c0dd843ee21a295a092d1c1b950d9c
|
||||
DIST apr-util-1.4.1.tar.bz2 635000 RMD160 a16ca2c192e82ff811570e84b88f9b6b60141ca6 SHA1 229a1df48822e3048ae90e2467a5c078474e99a6 SHA256 302a135df2531451e567e65e5bd806fb95cf53d74064fadfce20465f7170d1cf
|
||||
|
@ -0,0 +1,102 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr-util/apr-util-1.4.1.ebuild,v 1.1 2011/12/27 23:35:41 neurogeek Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
# Usually apr-util has the same PV as apr, but in case of security fixes, this may change.
|
||||
# APR_PV="${PV}"
|
||||
APR_PV="1.4.5"
|
||||
|
||||
inherit autotools db-use eutils libtool multilib
|
||||
|
||||
DESCRIPTION="Apache Portable Runtime Utility Library"
|
||||
HOMEPAGE="http://apr.apache.org/"
|
||||
SRC_URI="mirror://apache/apr/${P}.tar.bz2"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="1"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="berkdb doc freetds gdbm ldap mysql nss odbc openssl postgres sqlite static-libs"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="dev-libs/expat
|
||||
>=dev-libs/apr-${APR_PV}:1
|
||||
berkdb? ( >=sys-libs/db-4 )
|
||||
freetds? ( dev-db/freetds )
|
||||
gdbm? ( sys-libs/gdbm )
|
||||
ldap? ( =net-nds/openldap-2* )
|
||||
mysql? ( =virtual/mysql-5* )
|
||||
nss? ( dev-libs/nss )
|
||||
odbc? ( dev-db/unixODBC )
|
||||
openssl? ( dev-libs/openssl )
|
||||
postgres? ( dev-db/postgresql-base )
|
||||
sqlite? ( dev-db/sqlite:3 )"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-doc/doxygen )"
|
||||
|
||||
DOCS=(CHANGES NOTICE README)
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-1.3.12-bdb-5.2.patch"
|
||||
eautoreconf
|
||||
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
if use berkdb; then
|
||||
local db_version
|
||||
db_version="$(db_findver sys-libs/db)" || die "Unable to find Berkeley DB version"
|
||||
db_version="$(db_ver_to_slot "${db_version}")"
|
||||
db_version="${db_version/\./}"
|
||||
myconf+=" --with-dbm=db${db_version} --with-berkeley-db=$(db_includedir 2> /dev/null):/usr/$(get_libdir)"
|
||||
else
|
||||
myconf+=" --without-berkeley-db"
|
||||
fi
|
||||
|
||||
econf \
|
||||
--datadir=/usr/share/apr-util-1 \
|
||||
--with-apr=/usr \
|
||||
--with-expat=/usr \
|
||||
--without-sqlite2 \
|
||||
$(use_with freetds) \
|
||||
$(use_with gdbm) \
|
||||
$(use_with ldap) \
|
||||
$(use_with mysql) \
|
||||
$(use_with nss) \
|
||||
$(use_with odbc) \
|
||||
$(use_with openssl) \
|
||||
$(use_with postgres pgsql) \
|
||||
$(use_with sqlite sqlite3) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
|
||||
if use doc; then
|
||||
emake dox
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
find "${ED}" -name "*.la" -exec rm -f {} +
|
||||
find "${ED}usr/$(get_libdir)/apr-util-${SLOT}" -name "*.a" -exec rm -f {} +
|
||||
|
||||
if use doc; then
|
||||
dohtml -r docs/dox/html/*
|
||||
fi
|
||||
|
||||
if ! use static-libs; then
|
||||
find "${ED}" -name "*.a" -exec rm -f {} +
|
||||
fi
|
||||
|
||||
# This file is only used on AIX systems, which Gentoo is not,
|
||||
# and causes collisions between the SLOTs, so remove it.
|
||||
rm -f "${ED}usr/$(get_libdir)/aprutil.exp"
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST yaml-0.0.1.tar.gz 410784 RMD160 7bac5b9cc55e01b46bd51105fc6a13cd5c6b2bec SHA1 d1065c045bfc06613f8c0c8ce4f2ea2530cbad8d SHA256 a8f1b4910898eecdc611d6c0a527e225ce82fe3a030f344ee690b86c07c6f52e
|
||||
DIST yaml-0.1.2.tar.gz 460685 RMD160 7da49975832132205efa0a96e1789e48ac341115 SHA1 db151c273474bb0b76b17974e7625d094c8cce53 SHA256 5beb94529cc7ac79b17e354f9b03aea311f5af17be5d48bc39e6f1db5059f70f
|
||||
DIST yaml-0.1.3.tar.gz 466845 RMD160 a8c310d6fc5ef461134a88cea902f244aeaaba9a SHA1 5fa17579f6436f1d8739ad38399dff3e739bbf56 SHA256 a8bbad7e5250b3735126b7e3bd9f6fce9db19d6be7cc13abad17a24b59ec144a
|
||||
DIST yaml-0.1.4.tar.gz 471759 RMD160 5051545022ffa4c78e63fed6f3af30f90e931497 SHA1 e0e5e09192ab10a607e3da2970db492118f560f2 SHA256 7bf81554ae5ab2d9b6977da398ea789722e0db75b86bffdaeb4e66d961de6a37
|
||||
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libyaml/libyaml-0.1.4.ebuild,v 1.1 2011/12/27 22:24:14 sbriesen Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils
|
||||
|
||||
MY_P="${P/lib}"
|
||||
|
||||
DESCRIPTION="YAML 1.1 parser and emitter written in C"
|
||||
HOMEPAGE="http://pyyaml.org/wiki/LibYAML"
|
||||
SRC_URI="http://pyyaml.org/download/${PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
|
||||
IUSE="doc examples test static-libs"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
DOCS="README"
|
||||
|
||||
src_prepare() {
|
||||
# conditionally remove tests
|
||||
if use test; then
|
||||
sed -i -e 's: tests::g' Makefile*
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
use doc && dohtml -r doc/html/.
|
||||
if use examples ; then
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins tests/example-*.c
|
||||
fi
|
||||
}
|
@ -1,20 +0,0 @@
|
||||
# Copyright 1999-2006 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Business-FedEx-DirectConnect/Business-FedEx-DirectConnect-1.01.ebuild,v 1.10 2006/10/20 21:45:45 mcummings Exp $
|
||||
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Interface to FedEx Ship Manager Direct"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.gz"
|
||||
HOMEPAGE="http://www.cpan.org/modules/by-authors/id/J/JP/JPOWERS/${P}.readme"
|
||||
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
LICENSE="|| ( Artistic GPL-2 )"
|
||||
KEYWORDS="amd64 ia64 x86"
|
||||
|
||||
SRC_TEST="do"
|
||||
|
||||
DEPEND="dev-perl/libwww-perl
|
||||
dev-perl/Tie-StrictHash
|
||||
dev-lang/perl"
|
@ -1,17 +0,0 @@
|
||||
# Copyright 1999-2007 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/CDDB_get/CDDB_get-2.27.ebuild,v 1.10 2007/01/14 22:38:43 mcummings Exp $
|
||||
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Read the CDDB entry for an audio CD in your drive"
|
||||
SRC_URI="http://armin.emx.at/cddb/${P}.tar.gz"
|
||||
HOMEPAGE="http://armin.emx.at/cddb/"
|
||||
|
||||
SLOT="2"
|
||||
LICENSE="|| ( Artistic GPL-2 )"
|
||||
KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86"
|
||||
IUSE=""
|
||||
|
||||
SRC_TEST="do"
|
||||
DEPEND="dev-lang/perl"
|
@ -1,3 +1 @@
|
||||
DIST Wx-0.9702.tar.gz 364474 RMD160 630202c757331fa83d38dce5aa189e71d7e8cdd0 SHA1 bf8d795103fb207d2bcd983cf8b9f821d9850c68 SHA256 1ab19a373c90809f46d1ee4905b8a426a5b68d28eb46489809b689ab416d7371
|
||||
DIST Wx-0.9901.tar.gz 405699 RMD160 45a9140da1c8da5fc3fd5ebce8ce6287b49c773e SHA1 11764ef4a5431cf2196618b84489c479129040e6 SHA256 9c31b6c0b3a6a9167ae19306de9e982699e68eb27568b17dd070475fbe494949
|
||||
DIST Wx-0.9902.tar.gz 406639 RMD160 5449d549af27fd966ac552aaec7b3cea4632a17b SHA1 eed36c9e7e9064519dca7d0aec57542060413c81 SHA256 ea4982993de1a188d4bc130d785f10faa0fda4c8521b08b3768915d0ed8b7ebf
|
||||
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/wxperl/wxperl-0.97.02.ebuild,v 1.2 2010/06/15 05:39:18 tove Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit versionator
|
||||
MODULE_AUTHOR=MBARBON
|
||||
MY_PN=Wx
|
||||
MY_P=${MY_PN}-$(delete_version_separator 2 )
|
||||
S=${WORKDIR}/${MY_P}
|
||||
WX_GTK_VER="2.8"
|
||||
inherit wxwidgets perl-module
|
||||
|
||||
DESCRIPTION="Perl bindings for wxGTK"
|
||||
HOMEPAGE="http://wxperl.sourceforge.net/"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="x11-libs/wxGTK:2.8
|
||||
>=dev-perl/Alien-wxWidgets-0.25
|
||||
>=virtual/perl-File-Spec-0.82"
|
||||
DEPEND="${RDEPEND}
|
||||
>=virtual/perl-ExtUtils-ParseXS-0.22.03
|
||||
>=dev-perl/ExtUtils-XSpp-0.11"
|
||||
|
||||
MAKEOPTS="${MAKEOPTS} -j1"
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/wxperl/wxperl-0.990.100.ebuild,v 1.1 2011/06/06 17:19:50 tove Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MY_PN=Wx
|
||||
WX_GTK_VER="2.8"
|
||||
MODULE_AUTHOR=MDOOTSON
|
||||
MODULE_VERSION=0.9901
|
||||
inherit wxwidgets perl-module
|
||||
|
||||
DESCRIPTION="Perl bindings for wxGTK"
|
||||
HOMEPAGE="http://wxperl.sourceforge.net/"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=dev-perl/Alien-wxWidgets-0.25
|
||||
>=virtual/perl-File-Spec-0.82"
|
||||
DEPEND="${RDEPEND}
|
||||
>=virtual/perl-ExtUtils-ParseXS-0.22.03
|
||||
>=dev-perl/ExtUtils-XSpp-0.160.200"
|
||||
|
||||
MAKEOPTS="${MAKEOPTS} -j1"
|
@ -1,2 +1,3 @@
|
||||
DIST DB-1.7.12.tgz 131836 RMD160 4235d456f273ce59ca6745ee870bf7eb37c0a1f0 SHA1 7e14a2581e901eb094fdd1e021eb8bfb82375f88 SHA256 dc1134fb12444848f851c034555845f553eef46ab32473e598f4cfbf83d43d52
|
||||
DIST DB-1.7.14.tgz 133103 RMD160 4d6cdc4703c9b6cb9b4a536613373ba59322c69e SHA1 b82a49cafcf1b87fd3075be5e1f2855c54447d1e SHA256 a574483fd5c4440a4bf08018e8bcdde7f4619e9b964de2b357bd60733ec5919c
|
||||
DIST DB-1.7.14RC1.tgz 132604 RMD160 66f422d3ce4c66a70959a2a907077ffceeeab980 SHA1 a2b7424f8f671935071986e922bb1ed70662f2fe SHA256 57dbaabb73bc30d94eb7336dbd8fbc035a5d14d060c65240d2ad4787d4608119
|
||||
|
@ -0,0 +1,12 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-DB/PEAR-DB-1.7.14.ebuild,v 1.1 2011/12/27 19:45:00 olemarkus Exp $
|
||||
|
||||
inherit php-pear-r1
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
|
||||
DESCRIPTION="Database abstraction layer for PHP."
|
||||
LICENSE="PHP-3"
|
||||
SLOT="0"
|
||||
IUSE=""
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue