parent
4a9a3694c2
commit
f719c52aea
@ -0,0 +1,40 @@
|
||||
diff --git a/src/kdc/Makefile.in b/src/kdc/Makefile.in
|
||||
index f46cad3..102fbaa 100644
|
||||
--- a/src/kdc/Makefile.in
|
||||
+++ b/src/kdc/Makefile.in
|
||||
@@ -67,6 +67,7 @@ check-unix:: rtest
|
||||
|
||||
check-pytests::
|
||||
$(RUNPYTEST) $(srcdir)/t_workers.py $(PYTESTFLAGS)
|
||||
+ $(RUNPYTEST) $(srcdir)/t_emptytgt.py $(PYTESTFLAGS)
|
||||
|
||||
install::
|
||||
$(INSTALL_PROGRAM) krb5kdc ${DESTDIR}$(SERVER_BINDIR)/krb5kdc
|
||||
diff --git a/src/kdc/do_tgs_req.c b/src/kdc/do_tgs_req.c
|
||||
index c169c54..840a2ef 100644
|
||||
--- a/src/kdc/do_tgs_req.c
|
||||
+++ b/src/kdc/do_tgs_req.c
|
||||
@@ -243,7 +243,8 @@ tgt_again:
|
||||
if (!tgs_1 || !data_eq(*server_1, *tgs_1)) {
|
||||
errcode = find_alternate_tgs(request, &server);
|
||||
firstpass = 0;
|
||||
- goto tgt_again;
|
||||
+ if (errcode == 0)
|
||||
+ goto tgt_again;
|
||||
}
|
||||
}
|
||||
status = "UNKNOWN_SERVER";
|
||||
diff --git a/src/kdc/t_emptytgt.py b/src/kdc/t_emptytgt.py
|
||||
new file mode 100644
|
||||
index 0000000..1760bcd
|
||||
--- /dev/null
|
||||
+++ b/src/kdc/t_emptytgt.py
|
||||
@@ -0,0 +1,8 @@
|
||||
+#!/usr/bin/python
|
||||
+from k5test import *
|
||||
+
|
||||
+realm = K5Realm(start_kadmind=False, create_host=False)
|
||||
+output = realm.run_as_client([kvno, 'krbtgt/'], expected_code=1)
|
||||
+if 'not found in Kerberos database' not in output:
|
||||
+ fail('TGT lookup for empty realm failed in unexpected way')
|
||||
+success('Empty tgt lookup.')
|
@ -0,0 +1,122 @@
|
||||
# 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/mit-krb5-1.9.2-r1.ebuild,v 1.1 2011/12/07 08:05:41 eras Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
inherit eutils flag-o-matic versionator
|
||||
|
||||
MY_P="${P/mit-}"
|
||||
P_DIR=$(get_version_component_range 1-2)
|
||||
DESCRIPTION="MIT Kerberos V"
|
||||
HOMEPAGE="http://web.mit.edu/kerberos/www/"
|
||||
SRC_URI="http://web.mit.edu/kerberos/dist/krb5/${P_DIR}/${MY_P}-signed.tar"
|
||||
|
||||
LICENSE="as-is"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="doc +keyutils openldap +pkinit +threads test xinetd"
|
||||
|
||||
RDEPEND="!!app-crypt/heimdal
|
||||
>=sys-libs/e2fsprogs-libs-1.41.0
|
||||
keyutils? ( sys-apps/keyutils )
|
||||
openldap? ( net-nds/openldap )
|
||||
xinetd? ( sys-apps/xinetd )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/yacc
|
||||
doc? ( virtual/latex-base )
|
||||
test? ( dev-lang/tcl
|
||||
dev-lang/python
|
||||
dev-util/dejagnu )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}/src
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
unpack ./"${MY_P}".tar.gz
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-kprop_exit_on_error.patch"
|
||||
epatch "${FILESDIR}/CVE-2011-1530.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-flags "-I${EPREFIX}/usr/include/et"
|
||||
# QA
|
||||
append-flags -fno-strict-aliasing
|
||||
append-flags -fno-strict-overflow
|
||||
use keyutils || export ac_cv_header_keyutils_h=no
|
||||
econf \
|
||||
$(use_with openldap ldap) \
|
||||
"$(use_with test tcl "${EPREFIX}/usr")" \
|
||||
$(use_enable pkinit) \
|
||||
$(use_enable threads thread-support) \
|
||||
--without-hesiod \
|
||||
--enable-shared \
|
||||
--with-system-et \
|
||||
--with-system-ss \
|
||||
--enable-dns-for-realm \
|
||||
--enable-kdc-lookaside-cache \
|
||||
--disable-rpath
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1 || die "emake failed"
|
||||
|
||||
if use doc ; then
|
||||
cd ../doc
|
||||
for dir in api implement ; do
|
||||
emake -C "${dir}" || die "doc emake failed"
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
EXAMPLEDIR="${EPREFIX}/usr/share/doc/${PF}/examples" \
|
||||
install || die "install failed"
|
||||
|
||||
# default database dir
|
||||
keepdir /var/lib/krb5kdc
|
||||
|
||||
cd ..
|
||||
dodoc NOTICE README
|
||||
dodoc doc/*.{ps,txt}
|
||||
doinfo doc/*.info*
|
||||
dohtml -r doc/*.html
|
||||
|
||||
# die if we cannot respect a USE flag
|
||||
if use doc ; then
|
||||
dodoc doc/{api,implement}/*.ps || die "dodoc failed"
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}"/mit-krb5kadmind.initd mit-krb5kadmind || die
|
||||
newinitd "${FILESDIR}"/mit-krb5kdc.initd mit-krb5kdc || die
|
||||
newinitd "${FILESDIR}"/mit-krb5kpropd.initd mit-krb5kpropd || die
|
||||
|
||||
insinto /etc
|
||||
newins "${ED}/usr/share/doc/${PF}/examples/krb5.conf" krb5.conf.example
|
||||
insinto /var/lib/krb5kdc
|
||||
newins "${ED}/usr/share/doc/${PF}/examples/kdc.conf" kdc.conf.example
|
||||
|
||||
if use openldap ; then
|
||||
insinto /etc/openldap/schema
|
||||
doins "${S}/plugins/kdb/ldap/libkdb_ldap/kerberos.schema" || die
|
||||
fi
|
||||
|
||||
if use xinetd ; then
|
||||
insinto /etc/xinetd.d
|
||||
newins "${FILESDIR}/kpropd.xinetd" kpropd || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if has_version "<${CATEGORY}/${PN}-1.8.0" ; then
|
||||
elog "MIT split the Kerberos applications from the base Kerberos"
|
||||
elog "distribution. Kerberized versions of telnet, rlogin, rsh, rcp,"
|
||||
elog "ftp clients and telnet, ftp deamons now live in"
|
||||
elog "\"app-crypt/mit-krb5-appl\" package."
|
||||
fi
|
||||
}
|
@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-forensics/afflib/afflib-3.3.4.ebuild,v 1.7 2011/07/24 18:23:44 armin76 Exp $
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Library that implements the AFF image standard"
|
||||
HOMEPAGE="http://www.afflib.org/"
|
||||
SRC_URI="http://www.afflib.org/downloads/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-4"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~x86"
|
||||
IUSE="ewf fuse ncurses python qemu readline s3 threads"
|
||||
|
||||
DEPEND="
|
||||
ewf? ( app-forensics/libewf )
|
||||
fuse? ( sys-fs/fuse )
|
||||
ncurses? ( sys-libs/ncurses )
|
||||
python? ( dev-lang/python )
|
||||
readline? ( sys-libs/readline )
|
||||
s3? ( net-misc/curl dev-libs/expat )
|
||||
sys-libs/zlib
|
||||
dev-libs/openssl"
|
||||
RDEPEND=${DEPEND}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}"/${P}-glibc-2.10.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
econf \
|
||||
$(use_enable fuse) \
|
||||
$(use_enable ewf libewf) \
|
||||
$(use_enable python) \
|
||||
$(use_enable qemu) \
|
||||
$(use_enable s3) \
|
||||
$(use_enable threads threading)
|
||||
emake || die "build failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" || die "install failed"
|
||||
use s3 || {
|
||||
rm -f "${D}/usr/bin/s3"
|
||||
}
|
||||
}
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-forensics/afflib/afflib-3.5.2.ebuild,v 1.2 2011/07/24 18:23:44 armin76 Exp $
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Library that implements the AFF image standard"
|
||||
HOMEPAGE="http://www.afflib.org/"
|
||||
SRC_URI="http://www.afflib.org/downloads/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-4"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~x86"
|
||||
IUSE="ewf fuse ncurses python qemu readline s3 threads"
|
||||
|
||||
DEPEND="
|
||||
ewf? ( app-forensics/libewf )
|
||||
fuse? ( sys-fs/fuse )
|
||||
ncurses? ( sys-libs/ncurses )
|
||||
python? ( dev-lang/python )
|
||||
readline? ( sys-libs/readline )
|
||||
s3? ( net-misc/curl dev-libs/expat )
|
||||
sys-libs/zlib
|
||||
dev-libs/openssl"
|
||||
RDEPEND=${DEPEND}
|
||||
|
||||
src_compile() {
|
||||
econf \
|
||||
$(use_enable fuse) \
|
||||
$(use_enable ewf libewf) \
|
||||
$(use_enable python) \
|
||||
$(use_enable qemu) \
|
||||
$(use_enable s3) \
|
||||
$(use_enable threads threading)
|
||||
emake || die "build failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" || die "install failed"
|
||||
use s3 || {
|
||||
rm -f "${D}/usr/bin/s3"
|
||||
}
|
||||
}
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-forensics/afflib/afflib-3.5.8.ebuild,v 1.2 2011/07/24 18:23:44 armin76 Exp $
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Library that implements the AFF image standard"
|
||||
HOMEPAGE="http://www.afflib.org/"
|
||||
SRC_URI="http://www.afflib.org/downloads/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-4"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~x86"
|
||||
IUSE="ewf fuse ncurses python qemu readline s3 threads"
|
||||
|
||||
DEPEND="
|
||||
ewf? ( app-forensics/libewf )
|
||||
fuse? ( sys-fs/fuse )
|
||||
ncurses? ( sys-libs/ncurses )
|
||||
python? ( dev-lang/python )
|
||||
readline? ( sys-libs/readline )
|
||||
s3? ( net-misc/curl dev-libs/expat )
|
||||
sys-libs/zlib
|
||||
dev-libs/openssl"
|
||||
RDEPEND=${DEPEND}
|
||||
|
||||
src_compile() {
|
||||
econf \
|
||||
$(use_enable fuse) \
|
||||
$(use_enable ewf libewf) \
|
||||
$(use_enable python) \
|
||||
$(use_enable qemu) \
|
||||
$(use_enable s3) \
|
||||
$(use_enable threads threading)
|
||||
emake || die "build failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" || die "install failed"
|
||||
use s3 || {
|
||||
rm -f "${D}/usr/bin/s3"
|
||||
}
|
||||
}
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-forensics/afflib/afflib-3.6.8.ebuild,v 1.5 2011/10/11 17:10:05 jer Exp $
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Library that implements the AFF image standard"
|
||||
HOMEPAGE="http://www.afflib.org/"
|
||||
SRC_URI="http://www.afflib.org/downloads/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-4"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 hppa ~ppc x86"
|
||||
IUSE="ewf fuse ncurses python qemu readline s3 threads"
|
||||
|
||||
DEPEND="
|
||||
ewf? ( app-forensics/libewf )
|
||||
fuse? ( sys-fs/fuse )
|
||||
ncurses? ( sys-libs/ncurses )
|
||||
python? ( dev-lang/python )
|
||||
readline? ( sys-libs/readline )
|
||||
s3? ( net-misc/curl dev-libs/expat )
|
||||
sys-libs/zlib
|
||||
dev-libs/openssl"
|
||||
RDEPEND=${DEPEND}
|
||||
|
||||
src_compile() {
|
||||
econf \
|
||||
$(use_enable fuse) \
|
||||
$(use_enable ewf libewf) \
|
||||
$(use_enable python) \
|
||||
$(use_enable qemu) \
|
||||
$(use_enable s3) \
|
||||
$(use_enable threads threading)
|
||||
emake || die "build failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" || die "install failed"
|
||||
use s3 || {
|
||||
rm -f "${D}/usr/bin/s3"
|
||||
}
|
||||
}
|
@ -1,22 +0,0 @@
|
||||
diff -up afflib-3.3.4/tools/afverify.cpp.gcc44 afflib-3.3.4/tools/afverify.cpp
|
||||
--- afflib-3.3.4/tools/afverify.cpp.gcc44 2008-07-21 06:25:29.000000000 +0200
|
||||
+++ afflib-3.3.4/tools/afverify.cpp 2009-03-02 12:48:59.000000000 +0100
|
||||
@@ -240,12 +240,16 @@ string get_xml_field(const char *buf,con
|
||||
int verify_bom_signature(AFFILE *af,const char *buf)
|
||||
{
|
||||
const char *cce = "</" AF_XML_AFFBOM ">\n";
|
||||
- char *chain_end = strstr(buf,cce);
|
||||
+ char *buf_tmp;
|
||||
+ char *cce_tmp;
|
||||
+ strcpy(buf_tmp, buf);
|
||||
+ strcpy(cce_tmp, cce);
|
||||
+ char *chain_end = strstr(buf_tmp,cce_tmp);
|
||||
if(!chain_end){
|
||||
warn("end of chain XML can't be found\n");
|
||||
return -1; // can't find it
|
||||
}
|
||||
- char *sig_start = chain_end + strlen(cce);
|
||||
+ char *sig_start = chain_end + strlen(cce_tmp);
|
||||
|
||||
BIO *seg = BIO_new_mem_buf((void *)buf,strlen(buf));
|
||||
BIO_seek(seg,0);
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-forensics/libewf/libewf-20090209.ebuild,v 1.6 2011/07/24 18:24:51 armin76 Exp $
|
||||
|
||||
inherit eutils autotools
|
||||
|
||||
MY_P=${P/libewf/libewf-beta}
|
||||
|
||||
DESCRIPTION="Implementation of the EWF (SMART and EnCase) image format"
|
||||
HOMEPAGE="http://libewf.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/libewf/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~x86"
|
||||
# upstream bug #2597171, pyewf has implicit declarations
|
||||
#IUSE="debug python rawio unicode"
|
||||
IUSE="debug rawio unicode"
|
||||
|
||||
DEPEND="
|
||||
sys-libs/e2fsprogs-libs
|
||||
sys-libs/zlib
|
||||
dev-libs/openssl"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
econf \
|
||||
$(use_enable unicode wide-character-type) \
|
||||
$(use_enable rawio raw-access) \
|
||||
$(use_enable debug verbose-output) \
|
||||
$(use_enable debug debug-output)
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}"
|
||||
dodoc AUTHORS ChangeLog NEWS README documents/*.txt
|
||||
doman manuals/*.1 manuals/*.3
|
||||
}
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-forensics/libewf/libewf-20091108.ebuild,v 1.2 2011/07/24 18:24:51 armin76 Exp $
|
||||
|
||||
inherit eutils autotools
|
||||
|
||||
MY_P=${P/libewf/libewf-beta}
|
||||
|
||||
DESCRIPTION="Implementation of the EWF (SMART and EnCase) image format"
|
||||
HOMEPAGE="http://libewf.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/libewf/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~x86"
|
||||
# upstream bug #2597171, pyewf has implicit declarations
|
||||
#IUSE="debug python rawio unicode"
|
||||
IUSE="debug rawio unicode"
|
||||
|
||||
DEPEND="
|
||||
sys-libs/e2fsprogs-libs
|
||||
sys-libs/zlib
|
||||
dev-libs/openssl"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
econf \
|
||||
$(use_enable unicode wide-character-type) \
|
||||
$(use_enable rawio raw-access) \
|
||||
$(use_enable debug verbose-output) \
|
||||
$(use_enable debug debug-output)
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}"
|
||||
dodoc AUTHORS ChangeLog NEWS README documents/*.txt
|
||||
doman manuals/*.1 manuals/*.3
|
||||
}
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-forensics/libewf/libewf-20100226.ebuild,v 1.6 2011/10/11 17:09:32 jer Exp $
|
||||
|
||||
inherit eutils autotools
|
||||
|
||||
DESCRIPTION="Implementation of the EWF (SMART and EnCase) image format"
|
||||
HOMEPAGE="http://libewf.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/libewf/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 hppa ~ppc x86"
|
||||
# upstream bug #2597171, pyewf has implicit declarations
|
||||
#IUSE="debug python rawio unicode"
|
||||
IUSE="debug rawio unicode"
|
||||
|
||||
DEPEND="
|
||||
sys-libs/e2fsprogs-libs
|
||||
sys-libs/zlib
|
||||
dev-libs/openssl"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
econf \
|
||||
$(use_enable unicode wide-character-type) \
|
||||
$(use_enable rawio low-level-functions) \
|
||||
$(use_enable debug verbose-output) \
|
||||
$(use_enable debug debug-output)
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}"
|
||||
dodoc AUTHORS ChangeLog NEWS README documents/*.txt
|
||||
doman manuals/*.1 manuals/*.3
|
||||
}
|
@ -0,0 +1,94 @@
|
||||
UpstreamStatus: Pending
|
||||
|
||||
When LONG_MIN is passed to val, -val is undefined. This patch fixes
|
||||
it. See for details: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50066
|
||||
|
||||
Received this patch from H.J. Lu <hjl.tools@gmail.com>
|
||||
|
||||
Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com> 2011/12/01
|
||||
|
||||
--- gmp-4.3.2/mpf/iset_si.c.ll 2010-01-07 12:09:03.000000000 -0800
|
||||
+++ gmp-4.3.2/mpf/iset_si.c 2011-11-30 16:42:35.827944358 -0800
|
||||
@@ -31,7 +31,7 @@ mpf_init_set_si (mpf_ptr r, long int val
|
||||
r->_mp_prec = prec;
|
||||
r->_mp_d = (mp_ptr) (*__gmp_allocate_func) ((prec + 1) * BYTES_PER_MP_LIMB);
|
||||
|
||||
- vl = (mp_limb_t) (unsigned long int) (val >= 0 ? val : -val);
|
||||
+ vl = (mp_limb_t) (val >= 0 ? (unsigned long int) val : -(unsigned long int) val);
|
||||
|
||||
r->_mp_d[0] = vl & GMP_NUMB_MASK;
|
||||
size = vl != 0;
|
||||
--- gmp-4.3.2/mpf/set_si.c.ll 2010-01-07 12:09:03.000000000 -0800
|
||||
+++ gmp-4.3.2/mpf/set_si.c 2011-11-30 16:42:47.823878367 -0800
|
||||
@@ -27,7 +27,7 @@ mpf_set_si (mpf_ptr dest, long val)
|
||||
mp_size_t size;
|
||||
mp_limb_t vl;
|
||||
|
||||
- vl = (mp_limb_t) (unsigned long int) (val >= 0 ? val : -val);
|
||||
+ vl = (mp_limb_t) (val >= 0 ? (unsigned long int) val : -(unsigned long int) val);
|
||||
|
||||
dest->_mp_d[0] = vl & GMP_NUMB_MASK;
|
||||
size = vl != 0;
|
||||
--- gmp-4.3.2/mpz/cmp_si.c.ll 2010-01-07 12:09:03.000000000 -0800
|
||||
+++ gmp-4.3.2/mpz/cmp_si.c 2011-11-30 13:44:25.923319700 -0800
|
||||
@@ -27,7 +27,7 @@ _mpz_cmp_si (mpz_srcptr u, signed long i
|
||||
{
|
||||
mp_size_t usize = u->_mp_size;
|
||||
mp_size_t vsize;
|
||||
- mp_limb_t u_digit;
|
||||
+ mp_limb_t u_digit, vl_digit;
|
||||
|
||||
#if GMP_NAIL_BITS != 0
|
||||
/* FIXME. This isn't very pretty. */
|
||||
@@ -41,11 +41,14 @@ _mpz_cmp_si (mpz_srcptr u, signed long i
|
||||
|
||||
vsize = 0;
|
||||
if (v_digit > 0)
|
||||
- vsize = 1;
|
||||
+ {
|
||||
+ vsize = 1;
|
||||
+ vl_digit = (mp_limb_t) (unsigned long) v_digit;
|
||||
+ }
|
||||
else if (v_digit < 0)
|
||||
{
|
||||
vsize = -1;
|
||||
- v_digit = -v_digit;
|
||||
+ vl_digit = (mp_limb_t) -(unsigned long) v_digit;
|
||||
}
|
||||
|
||||
if (usize != vsize)
|
||||
@@ -56,10 +59,10 @@ _mpz_cmp_si (mpz_srcptr u, signed long i
|
||||
|
||||
u_digit = u->_mp_d[0];
|
||||
|
||||
- if (u_digit == (mp_limb_t) (unsigned long) v_digit)
|
||||
+ if (u_digit == vl_digit)
|
||||
return 0;
|
||||
|
||||
- if (u_digit > (mp_limb_t) (unsigned long) v_digit)
|
||||
+ if (u_digit > vl_digit)
|
||||
return usize;
|
||||
else
|
||||
return -usize;
|
||||
--- gmp-4.3.2/mpz/iset_si.c.ll 2010-01-07 12:09:03.000000000 -0800
|
||||
+++ gmp-4.3.2/mpz/iset_si.c 2011-11-30 13:44:25.924319695 -0800
|
||||
@@ -31,7 +31,7 @@ mpz_init_set_si (mpz_ptr dest, signed lo
|
||||
dest->_mp_alloc = 1;
|
||||
dest->_mp_d = (mp_ptr) (*__gmp_allocate_func) (BYTES_PER_MP_LIMB);
|
||||
|
||||
- vl = (mp_limb_t) (unsigned long int) (val >= 0 ? val : -val);
|
||||
+ vl = (mp_limb_t) (val >= 0 ? (unsigned long int) val : -(unsigned long int) val);
|
||||
|
||||
dest->_mp_d[0] = vl & GMP_NUMB_MASK;
|
||||
size = vl != 0;
|
||||
--- gmp-4.3.2/mpz/set_si.c.ll 2010-01-07 12:09:03.000000000 -0800
|
||||
+++ gmp-4.3.2/mpz/set_si.c 2011-11-30 13:44:25.947319574 -0800
|
||||
@@ -27,7 +27,7 @@ mpz_set_si (mpz_ptr dest, signed long in
|
||||
mp_size_t size;
|
||||
mp_limb_t vl;
|
||||
|
||||
- vl = (mp_limb_t) (unsigned long int) (val >= 0 ? val : -val);
|
||||
+ vl = (mp_limb_t) (val >= 0 ? (unsigned long int) val : -(unsigned long int) val);
|
||||
|
||||
dest->_mp_d[0] = vl & GMP_NUMB_MASK;
|
||||
size = vl != 0;
|
@ -0,0 +1,45 @@
|
||||
Upstream-Status: Pending
|
||||
|
||||
Add X32 support in gmp configure.
|
||||
|
||||
Patch Originator: H J Lu @ Intel
|
||||
Patch modified for Yocto by Nitin Kamble
|
||||
Signed Off By: Nitin A Kamble <nitin.a.kamble@intel.com> 2011/11/21
|
||||
|
||||
--- gmp-4.3.2/configure
|
||||
+++ gmp-4.3.2/configure
|
||||
@@ -1499,6 +1499,25 @@ case $host in
|
||||
path_64="x86_64/atom x86_64"
|
||||
;;
|
||||
esac
|
||||
+
|
||||
+ # X32 support.
|
||||
+ case x"$path_64" in
|
||||
+ xx86_64*)
|
||||
+ case x"$CC $CFLAGS" in
|
||||
+ x*-mx32*)
|
||||
+ abilist="x32 64 32"
|
||||
+ path_x32="$path_64"
|
||||
+ limb_x32=longlong
|
||||
+ cclist_x32="gcc"
|
||||
+ gcc_x32_cflags="-O2 -mx32"
|
||||
+ any_x32_testlist="sizeof-long-4"
|
||||
+ CALLING_CONVENTIONS_OBJS_x32='amd64call.lo amd64check$U.lo'
|
||||
+ SPEED_CYCLECOUNTER_OBJ_x32=x86_64.lo
|
||||
+ cyclecounter_size_x32=2
|
||||
+ ;;
|
||||
+ esac
|
||||
+ ;;
|
||||
+ esac
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
@@ -3039,7 +3058,7 @@ if test "$gmp_asm_syntax_testing" != no;
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
- 64)
|
||||
+ 64|x32)
|
||||
|
||||
echo "include_mpn(\`x86_64/x86_64-defs.m4')" >> $gmp_tmpconfigm4i
|
||||
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/systemu/systemu-2.4.1.ebuild,v 1.1 2011/12/07 06:44:00 graaff Exp $
|
||||
|
||||
EAPI="2"
|
||||
USE_RUBY="ruby18"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Universal capture of STDOUT and STDERR and handling of child process PID"
|
||||
HOMEPAGE="http://codeforpeople.com/lib/ruby/systemu/"
|
||||
|
||||
LICENSE="Ruby"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r samples
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST fmtools-0.99.1.tar.gz 16616 RMD160 ced3143822ead08f0d2178aefb70787434d34a70 SHA1 e8a7f947c790c12803b8257532ff8bba002ed804 SHA256 f3d49dec34bf37d70c95c1d5affd6ec41b14cc142e7b106f978ca458ff57d13f
|
||||
DIST fmtools-1.0.2.tar.gz 23607 RMD160 6e43eb91615ac5526aa955ec9adcaff1618fd4f5 SHA1 b5af99537378d7c2bb816d97611212b508c10b3f SHA256 60a55ba4a57b5ed430c62662283e9cb6de685c8497173f1f2065f684b2aceabd
|
||||
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2005 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/fmtools/fmtools-0.99.1.ebuild,v 1.8 2005/11/07 10:40:28 flameeyes Exp $
|
||||
|
||||
IUSE=""
|
||||
|
||||
DESCRIPTION="A collection of programs for controlling v4l radio card drivers."
|
||||
HOMEPAGE="http://www.stanford.edu/~blp/fmtools/"
|
||||
SRC_URI="http://www.stanford.edu/~blp/fmtools/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="amd64 x86 -ppc -sparc -alpha"
|
||||
|
||||
DEPEND=""
|
||||
|
||||
src_compile() {
|
||||
emake || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin fm
|
||||
dobin fmscan
|
||||
doman fm.1
|
||||
doman fmscan.1
|
||||
dodoc README CHANGES
|
||||
}
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/fmtools/fmtools-1.0.2.ebuild,v 1.5 2010/10/19 20:05:00 chainsaw Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="A collection of programs for controlling v4l radio card drivers."
|
||||
HOMEPAGE="http://www.stanford.edu/~blp/fmtools"
|
||||
SRC_URI="http://www.stanford.edu/~blp/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~sparc x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND=""
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin fm fmscan || die "dobin failed"
|
||||
doman fm.1 fmscan.1
|
||||
dodoc CHANGES README
|
||||
}
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/ttaenc/ttaenc-3.4.1.ebuild,v 1.3 2010/01/14 21:00:36 maekke Exp $
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="True Audio Compressor Software"
|
||||
HOMEPAGE="http://tta.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/tta/${P}-src.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="sys-apps/sed"
|
||||
|
||||
S=${WORKDIR}/${P}-src
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
sed -i -e "s:gcc:$(tc-getCC):g" Makefile
|
||||
}
|
||||
|
||||
src_compile () {
|
||||
emake CFLAGS="${CFLAGS}" || die "emake failed."
|
||||
}
|
||||
|
||||
src_install () {
|
||||
dobin ttaenc
|
||||
dodoc ChangeLog-${PV} README
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
!!app-crypt/heimdal >=sys-libs/e2fsprogs-libs-1.41.0 keyutils? ( sys-apps/keyutils ) openldap? ( net-nds/openldap ) xinetd? ( sys-apps/xinetd ) virtual/yacc doc? ( virtual/latex-base ) test? ( dev-lang/tcl dev-lang/python dev-util/dejagnu )
|
||||
!!app-crypt/heimdal >=sys-libs/e2fsprogs-libs-1.41.0 keyutils? ( sys-apps/keyutils ) openldap? ( net-nds/openldap ) xinetd? ( sys-apps/xinetd )
|
||||
0
|
||||
http://web.mit.edu/kerberos/dist/krb5/1.9/krb5-1.9.2-signed.tar
|
||||
|
||||
http://web.mit.edu/kerberos/www/
|
||||
as-is
|
||||
MIT Kerberos V
|
||||
~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos
|
||||
eutils flag-o-matic multilib portability toolchain-funcs user versionator
|
||||
doc +keyutils openldap +pkinit +threads test xinetd
|
||||
|
||||
|
||||
|
||||
3
|
||||
|
||||
compile configure install preinst prepare unpack
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,22 +0,0 @@
|
||||
ewf? ( app-forensics/libewf ) fuse? ( sys-fs/fuse ) ncurses? ( sys-libs/ncurses ) python? ( dev-lang/python ) readline? ( sys-libs/readline ) s3? ( net-misc/curl dev-libs/expat ) sys-libs/zlib dev-libs/openssl
|
||||
ewf? ( app-forensics/libewf ) fuse? ( sys-fs/fuse ) ncurses? ( sys-libs/ncurses ) python? ( dev-lang/python ) readline? ( sys-libs/readline ) s3? ( net-misc/curl dev-libs/expat ) sys-libs/zlib dev-libs/openssl
|
||||
0
|
||||
http://www.afflib.org/downloads/afflib-3.3.4.tar.gz
|
||||
|
||||
http://www.afflib.org/
|
||||
BSD-4
|
||||
Library that implements the AFF image standard
|
||||
~amd64 ~hppa ~ppc ~x86
|
||||
eutils multilib portability toolchain-funcs user
|
||||
ewf fuse ncurses python qemu readline s3 threads
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
compile install unpack
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,22 +0,0 @@
|
||||
ewf? ( app-forensics/libewf ) fuse? ( sys-fs/fuse ) ncurses? ( sys-libs/ncurses ) python? ( dev-lang/python ) readline? ( sys-libs/readline ) s3? ( net-misc/curl dev-libs/expat ) sys-libs/zlib dev-libs/openssl
|
||||
ewf? ( app-forensics/libewf ) fuse? ( sys-fs/fuse ) ncurses? ( sys-libs/ncurses ) python? ( dev-lang/python ) readline? ( sys-libs/readline ) s3? ( net-misc/curl dev-libs/expat ) sys-libs/zlib dev-libs/openssl
|
||||
0
|
||||
http://www.afflib.org/downloads/afflib-3.5.2.tar.gz
|
||||
|
||||
http://www.afflib.org/
|
||||
BSD-4
|
||||
Library that implements the AFF image standard
|
||||
~amd64 ~hppa ~ppc ~x86
|
||||
eutils multilib portability toolchain-funcs user
|
||||
ewf fuse ncurses python qemu readline s3 threads
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
compile install
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,22 +0,0 @@
|
||||
ewf? ( app-forensics/libewf ) fuse? ( sys-fs/fuse ) ncurses? ( sys-libs/ncurses ) python? ( dev-lang/python ) readline? ( sys-libs/readline ) s3? ( net-misc/curl dev-libs/expat ) sys-libs/zlib dev-libs/openssl
|
||||
ewf? ( app-forensics/libewf ) fuse? ( sys-fs/fuse ) ncurses? ( sys-libs/ncurses ) python? ( dev-lang/python ) readline? ( sys-libs/readline ) s3? ( net-misc/curl dev-libs/expat ) sys-libs/zlib dev-libs/openssl
|
||||
0
|
||||
http://www.afflib.org/downloads/afflib-3.5.8.tar.gz
|
||||
|
||||
http://www.afflib.org/
|
||||
BSD-4
|
||||
Library that implements the AFF image standard
|
||||
~amd64 ~hppa ~ppc ~x86
|
||||
eutils multilib portability toolchain-funcs user
|
||||
ewf fuse ncurses python qemu readline s3 threads
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
compile install
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,22 +0,0 @@
|
||||
ewf? ( app-forensics/libewf ) fuse? ( sys-fs/fuse ) ncurses? ( sys-libs/ncurses ) python? ( dev-lang/python ) readline? ( sys-libs/readline ) s3? ( net-misc/curl dev-libs/expat ) sys-libs/zlib dev-libs/openssl
|
||||
ewf? ( app-forensics/libewf ) fuse? ( sys-fs/fuse ) ncurses? ( sys-libs/ncurses ) python? ( dev-lang/python ) readline? ( sys-libs/readline ) s3? ( net-misc/curl dev-libs/expat ) sys-libs/zlib dev-libs/openssl
|
||||
0
|
||||
http://www.afflib.org/downloads/afflib-3.6.8.tar.gz
|
||||
|
||||
http://www.afflib.org/
|
||||
BSD-4
|
||||
Library that implements the AFF image standard
|
||||
amd64 hppa ~ppc x86
|
||||
eutils multilib portability toolchain-funcs user
|
||||
ewf fuse ncurses python qemu readline s3 threads
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
compile install
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,22 +0,0 @@
|
||||
sys-libs/e2fsprogs-libs sys-libs/zlib dev-libs/openssl || ( =sys-devel/automake-1.11* ) >=sys-devel/autoconf-2.61 sys-devel/libtool
|
||||
sys-libs/e2fsprogs-libs sys-libs/zlib dev-libs/openssl
|
||||
0
|
||||
mirror://sourceforge/libewf/libewf-beta-20090209.tar.gz
|
||||
|
||||
http://libewf.sourceforge.net
|
||||
BSD
|
||||
Implementation of the EWF (SMART and EnCase) image format
|
||||
~amd64 ~hppa ~ppc ~x86
|
||||
autotools eutils libtool multilib portability toolchain-funcs user
|
||||
debug rawio unicode
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
compile install unpack
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,22 +0,0 @@
|
||||
sys-libs/e2fsprogs-libs sys-libs/zlib dev-libs/openssl || ( =sys-devel/automake-1.11* ) >=sys-devel/autoconf-2.61 sys-devel/libtool
|
||||
sys-libs/e2fsprogs-libs sys-libs/zlib dev-libs/openssl
|
||||
0
|
||||
mirror://sourceforge/libewf/libewf-beta-20091108.tar.gz
|
||||
|
||||
http://libewf.sourceforge.net
|
||||
BSD
|
||||
Implementation of the EWF (SMART and EnCase) image format
|
||||
~amd64 ~hppa ~ppc ~x86
|
||||
autotools eutils libtool multilib portability toolchain-funcs user
|
||||
debug rawio unicode
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
compile install unpack
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,22 +0,0 @@
|
||||
sys-libs/e2fsprogs-libs sys-libs/zlib dev-libs/openssl || ( =sys-devel/automake-1.11* ) >=sys-devel/autoconf-2.61 sys-devel/libtool
|
||||
sys-libs/e2fsprogs-libs sys-libs/zlib dev-libs/openssl
|
||||
0
|
||||
mirror://sourceforge/libewf/libewf-20100226.tar.gz
|
||||
|
||||
http://libewf.sourceforge.net
|
||||
BSD
|
||||
Implementation of the EWF (SMART and EnCase) image format
|
||||
amd64 hppa ~ppc x86
|
||||
autotools eutils libtool multilib portability toolchain-funcs user
|
||||
debug rawio unicode
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
compile install unpack
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,22 @@
|
||||
ruby_targets_ruby18? ( dev-lang/ruby:1.8 ) ruby_targets_ruby18? ( virtual/rubygems[ruby_targets_ruby18] ) test? ( ruby_targets_ruby18? ( virtual/rubygems[ruby_targets_ruby18] ) )
|
||||
ruby_targets_ruby18? ( dev-lang/ruby:1.8 ) ruby_targets_ruby18? ( virtual/rubygems[ruby_targets_ruby18] )
|
||||
0
|
||||
mirror://rubygems/systemu-2.4.1.gem
|
||||
|
||||
http://codeforpeople.com/lib/ruby/systemu/
|
||||
Ruby
|
||||
Universal capture of STDOUT and STDERR and handling of child process PID
|
||||
~amd64 ~x86
|
||||
eutils java-utils-2 multilib portability ruby-fakegem ruby-ng toolchain-funcs user versionator
|
||||
elibc_FreeBSD ruby_targets_ruby18 test
|
||||
|
||||
|
||||
|
||||
2
|
||||
|
||||
compile configure install prepare setup test unpack
|
||||
|
||||
|
||||
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue