parent
c598b54f76
commit
8d9ba6f591
@ -1,8 +1,2 @@
|
||||
DIST john-1.7.6-jumbo-4.diff.gz 206601 SHA256 12760c528c3eabe0e429954745f016107c08ce936ed4be2e63d2a75c64717f3a SHA512 7e26d103d202d2458c961c840678f82124c733b449db1b47c13f8ecdd08e47b91aa0c329762d76a0c2efbebd1a38dcf5158d6d936c2e2dc43917e09b157b825a WHIRLPOOL 3ac4b610539da97e16caf39269de0a2c066ab49259f5f229454dbd5b826cc5bb0d2692feee2905ae4df46b5c19c32c6a3b5c48dd7acf502cedc1b2047aadebec
|
||||
DIST john-1.7.6.tar.gz 832790 SHA256 77e44d068d317648c41d3ac61b8ea1df18d5c7401083e7a4f6681816900c1a73 SHA512 9fd70b3d77b021b90b7b156982fcfd238a742fa114c8a739923ac8214868a69399ff02f4609993be3c5a7d8386b05783f312de172d33749bbe61e9faaccc62a1 WHIRLPOOL a6b8a71a3d8af14b60b0fd02ab9dadcf2363e40e6a4e02ab00e36425a4f0e29f66bdddcef74ba9446ddc65ea11400f8ee178f9c271e0bf61e877db2d269ad368
|
||||
DIST john-1.7.8-jumbo-2.diff.gz 402639 SHA256 fb1b83f1a5db8f42de25d65f78b605e44d1d0dfefb87161ed38c5216a75039a6 SHA512 565a936b92c03bbde8dc4fd55b81235e49fa80ac5c82247ec20fd31dcbdce512fe3c3a4cb5119985d7015d97c8725b07cd16e6d5f141e2d21a9c1de300be5d21 WHIRLPOOL f3b43ae08c0f0a3b8e2a94785767f12fee671a79f1ceb8b01f3c61553593eb777b225b0c8dcc3a71dfe9729af66c95f5342f3410ccf20ddb43a0e66226c69669
|
||||
DIST john-1.7.8.tar.gz 849810 SHA256 12f4307602b9a8f0d3f82daf28e0f59de21aa82c9dcccd16819b288ec83ab559 SHA512 a1d9cd984a271b6cf9ed61d283bee08b33a014bc2af164df6dee9e37a7dd4a9a092eda5ec7cb49775befb53a48781db393307f343eb05da136de3edf4ccf0149 WHIRLPOOL 0ac6f04a7a665aff5ebc37e0490540bb863afe11ce36fd848d21ed23922fd73a19fbb0828d7f86f301184da64ce43bad20989278f4739649eda06fff86d1c0b0
|
||||
DIST john-1.7.9-jumbo-5.diff.gz 622881 SHA256 9a0ff6b912723a393122fa969b9af8efd9f47b154917870053141a372d5963bd SHA512 06b49db26c2a4794d657a4e2869b67abdbd4e93555f752a1b2aae62bd05cbf4604c997b55ba3e0c1afd6747d6f22d0fe634aa84dc97a646fa8a8983e0469eab4 WHIRLPOOL 262082d460538c11e151b32107609d5ca7cf67aae1c3ab59032569048c16e197020c055b068a2939d32e41082b865440e30ed79de5cc6e0b4862c59ed7393c77
|
||||
DIST john-1.7.9-jumbo-6.diff.gz 1016874 SHA256 1f314caef8d4c6b98b24a74d28c89ee92c07456b8d7c6386a280f9b529073ac6 SHA512 ea7ed1733d25a7958e6fb27465a08ebb84b2cd2e6e2518f64d7764c641949a87fe616eaa895c9795e9c57cffda4b6eaad017ac03ed874ffe28450bc9909308f3 WHIRLPOOL 75dccfe58d0558c99ce1d043f8c6118c8d0e74bf4749b438823468eb6111d688625595ea05c5f9e133d2556573b19ebb8c70b1786b0216bd66a25e96b78d0b6c
|
||||
DIST john-1.7.9-jumbo-7.diff.gz 1074044 SHA256 9e87e5660965e6e55214176299f67dd1b8a40820805441c62a57af6a6a4a19f5 SHA512 07a461df199fc776e8f62e969a95762fc1c99b72cdbd4a83d06f05ed236eaac9a918356ec9b8f8d060d1a9b2b8aa5c4021dfe53382761a5a76269ec66a5bd28a WHIRLPOOL da09df93277d90580cd08de2981a9d45df89f9a82f901f8bdc43acc66b97b6eb5515e603dc691cc000852a0847b943a104dee1826a59a000e09488604224f15a
|
||||
DIST john-1.7.9.tar.bz2 717505 SHA256 1d40083e37a7bc1ba1177651cbb27898dcf2a812b8ccf1430db0c372ac6dc199 SHA512 121b4aa6fbb62b14db366aed739d7db760c136a4c3a39d8bba32bde269350354b3d18d15ee783f61b17913b0dd6773068cb01b3d3bbad290c309ae1cd027568b WHIRLPOOL e217d3ae3bafaa0d2465402a1c98f05018da9a95ce61effc7f2f20af4aa9ef9a54a636fc7025dfc283e815f5ebd07fafd64e4b01564739fe97053dbeafbd2b13
|
||||
|
@ -1,176 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/johntheripper/johntheripper-1.7.6-r1.ebuild,v 1.15 2015/01/28 19:13:24 mgorny Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs pax-utils
|
||||
|
||||
MY_PN="john"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
JUMBO="jumbo-4"
|
||||
#MPI="mpi10"
|
||||
|
||||
DESCRIPTION="fast password cracker"
|
||||
HOMEPAGE="http://www.openwall.com/john/"
|
||||
|
||||
SRC_URI="http://www.openwall.com/john/g/${MY_P}.tar.gz
|
||||
!minimal? ( http://www.openwall.com/john/contrib/${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 cpu_flags_x86_mmx openmp cpu_flags_x86_sse2"
|
||||
#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:0 )"
|
||||
# mpi? ( sys-cluster/openmpi )
|
||||
DEPEND="${RDEPEND}
|
||||
openmp? ( >=sys-devel/gcc-4.2[openmp] )"
|
||||
|
||||
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 cpu_flags_x86_sse2; then
|
||||
echo "linux-x86-sse2"
|
||||
elif use cpu_flags_x86_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 cpu_flags_x86_sse2; then
|
||||
echo "macosx-x86-sse2"
|
||||
else
|
||||
echo "macosx-x86"
|
||||
fi
|
||||
elif use x86-solaris; then
|
||||
echo "solaris-x86-any"
|
||||
else
|
||||
echo "generic"
|
||||
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) || die "emake failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd run
|
||||
if [[ -f "${EPREFIX}/etc/john/john.conf" || -f "${EPREFIX}/etc/john/john.ini" ]]; then
|
||||
# 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
|
||||
|
||||
./john --test || die 'self test failed'
|
||||
else
|
||||
ewarn "Tests require '${EPREFIX}/etc/john/john.conf' or '${EPREFIX}/etc/john/john.ini'"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# executables
|
||||
dosbin run/john || die
|
||||
newsbin run/mailer john-mailer || die
|
||||
|
||||
pax-mark -m "${ED}usr/sbin/john" || die
|
||||
|
||||
dosym john /usr/sbin/unafs || die
|
||||
dosym john /usr/sbin/unique || die
|
||||
dosym john /usr/sbin/unshadow || die
|
||||
|
||||
# jumbo-patch additions
|
||||
if ! use minimal; then
|
||||
dosym john /usr/sbin/undrop || die
|
||||
dosbin run/calc_stat || die
|
||||
dosbin run/genmkvpwd || die
|
||||
dosbin run/mkvcalcproba || die
|
||||
insinto /etc/john
|
||||
doins run/genincstats.rb run/stats || die
|
||||
doins run/netscreen.py run/sap_prepare.pl || die
|
||||
fi
|
||||
|
||||
# config files
|
||||
insinto /etc/john
|
||||
doins run/john.conf || die
|
||||
doins run/*.chr run/password.lst || die
|
||||
|
||||
# documentation
|
||||
dodoc doc/* || die
|
||||
}
|
@ -1,187 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/johntheripper/johntheripper-1.7.8.ebuild,v 1.4 2015/01/28 19:13:24 mgorny Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs pax-utils
|
||||
|
||||
MY_PN="john"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
JUMBO="jumbo-2"
|
||||
#MPI="mpi10"
|
||||
|
||||
DESCRIPTION="fast password cracker"
|
||||
HOMEPAGE="http://www.openwall.com/john/"
|
||||
|
||||
SRC_URI="http://www.openwall.com/john/g/${MY_P}.tar.gz
|
||||
!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-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE="custom-cflags -minimal cpu_flags_x86_mmx openmp cpu_flags_x86_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:0 )"
|
||||
# mpi? ( sys-cluster/openmpi )
|
||||
DEPEND="${RDEPEND}
|
||||
openmp? ( >=sys-devel/gcc-4.2[openmp] )"
|
||||
|
||||
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 cpu_flags_x86_sse2; then
|
||||
echo "linux-x86-sse2"
|
||||
elif use cpu_flags_x86_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 cpu_flags_x86_sse2; then
|
||||
echo "macosx-x86-sse2"
|
||||
else
|
||||
echo "macosx-x86"
|
||||
fi
|
||||
elif use x86-solaris; then
|
||||
echo "solaris-x86-any"
|
||||
elif use x86-fbsd; then
|
||||
if use cpu_flags_x86_sse2; then
|
||||
echo "freebsd-x86-sse2"
|
||||
elif use cpu_flags_x86_mmx; then
|
||||
echo "freebsd-x86-mmx"
|
||||
else
|
||||
echo "freebsd-x86-any"
|
||||
fi
|
||||
elif use amd64-fbsd; then
|
||||
echo "freebsd-x86-64"
|
||||
else
|
||||
echo "generic"
|
||||
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
|
||||
if [[ -f "${EPREFIX}/etc/john/john.conf" || -f "${EPREFIX}/etc/john/john.ini" ]]; then
|
||||
# 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
|
||||
|
||||
./john --test || die 'self test failed'
|
||||
else
|
||||
ewarn "Tests require '${EPREFIX}/etc/john/john.conf' or '${EPREFIX}/etc/john/john.ini'"
|
||||
fi
|
||||
}
|
||||
|
||||
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/john.conf
|
||||
doins run/*.chr run/password.lst
|
||||
|
||||
# documentation
|
||||
dodoc doc/*
|
||||
}
|
@ -1,213 +0,0 @@
|
||||
# Copyright 1999-2015 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-r1.ebuild,v 1.7 2015/01/28 19:13:24 mgorny Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs pax-utils
|
||||
|
||||
MY_PN="john"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
JUMBO="jumbo-5"
|
||||
|
||||
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 )"
|
||||
|
||||
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-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
#Remove AltiVec USE flag. Appears to be an upstream issue.
|
||||
IUSE="custom-cflags -minimal cpu_flags_x86_mmx mpi openmp cpu_flags_x86_sse2"
|
||||
REQUIRED_USE="openmp? ( !minimal )
|
||||
mpi? ( !minimal )"
|
||||
|
||||
RDEPEND="!minimal? ( >=dev-libs/openssl-0.9.7:0 )
|
||||
mpi? ( virtual/mpi )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
has_xop() {
|
||||
echo | $(tc-getCC) ${CFLAGS} -E -dM - | grep -q "#define __XOP__ 1"
|
||||
}
|
||||
|
||||
has_avx() {
|
||||
echo | $(tc-getCC) ${CFLAGS} -E -dM - | grep -q "#define __AVX__ 1"
|
||||
}
|
||||
|
||||
get_target() {
|
||||
if use alpha; then
|
||||
echo "linux-alpha"
|
||||
elif use amd64; then
|
||||
if has_xop; then
|
||||
echo "linux-x86-64-xop"
|
||||
elif has_avx; then
|
||||
echo "linux-x86-64-avx"
|
||||
else
|
||||
echo "linux-x86-64"
|
||||
fi
|
||||
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 has_xop; then
|
||||
echo "linux-x86-xop"
|
||||
elif has_avx; then
|
||||
echo "linux-x86-avx"
|
||||
elif use cpu_flags_x86_sse2; then
|
||||
echo "linux-x86-sse2"
|
||||
elif use cpu_flags_x86_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 cpu_flags_x86_sse2; then
|
||||
echo "macosx-x86-sse2"
|
||||
else
|
||||
echo "macosx-x86"
|
||||
fi
|
||||
elif use x86-solaris; then
|
||||
echo "solaris-x86-any"
|
||||
elif use x86-fbsd; then
|
||||
if use cpu_flags_x86_sse2; then
|
||||
echo "freebsd-x86-sse2"
|
||||
elif use cpu_flags_x86_mmx; then
|
||||
echo "freebsd-x86-mmx"
|
||||
else
|
||||
echo "freebsd-x86-any"
|
||||
fi
|
||||
elif use amd64-fbsd; then
|
||||
echo "freebsd-x86-64"
|
||||
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 minimal; then
|
||||
epatch "${WORKDIR}/${MY_P}-${JUMBO}.diff"
|
||||
if use mpi ; then
|
||||
sed -e "s/^#CC = mpicc/CC = mpicc/" \
|
||||
-e "s/^#MPIOBJ =/MPIOBJ =/" \
|
||||
-i src/Makefile || die
|
||||
fi
|
||||
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
|
||||
gcc-specs-pie && append-ldflags -nopie
|
||||
use openmp && OMP="-fopenmp"
|
||||
|
||||
CPP="$(tc-getCXX)" CC="$(tc-getCC)" AS="$(tc-getCC)" LD="$(tc-getCC)"
|
||||
if use mpi; then
|
||||
CPP=mpicxx CC=mpicc AS=mpicc LD=mpicc
|
||||
fi
|
||||
|
||||
emake -C src/ \
|
||||
CPP="${CPP}" CC="${CC}" AS="${AS}" LD="${LD}" \
|
||||
CFLAGS="-c -Wall -include \\\"${S}\\\"/config.gentoo ${CFLAGS} ${OMP}" \
|
||||
LDFLAGS="${LDFLAGS}" \
|
||||
OPT_NORMAL="" \
|
||||
OMPFLAGS="${OMP}" \
|
||||
$(get_target)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd run
|
||||
if [[ -f "${EPREFIX}/etc/john/john.conf" || -f "${EPREFIX}/etc/john/john.ini" ]] ; then
|
||||
# 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
|
||||
|
||||
./john --test || die 'self test failed'
|
||||
else
|
||||
ewarn "Tests require '${EPREFIX}/etc/john/john.conf' or '${EPREFIX}/etc/john/john.ini'"
|
||||
fi
|
||||
}
|
||||
|
||||
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
|
||||
dosbin run/tgtsnarf
|
||||
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/*
|
||||
}
|
@ -1,219 +0,0 @@
|
||||
# Copyright 1999-2015 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-r2.ebuild,v 1.4 2015/01/28 19:13:24 mgorny Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs pax-utils
|
||||
|
||||
MY_PN="john"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
JUMBO="jumbo-5"
|
||||
|
||||
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 )"
|
||||
|
||||
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-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
#Remove AltiVec USE flag. Appears to be an upstream issue.
|
||||
IUSE="custom-cflags -minimal cpu_flags_x86_mmx mpi openmp cpu_flags_x86_sse2"
|
||||
REQUIRED_USE="openmp? ( !minimal )
|
||||
mpi? ( !minimal )"
|
||||
|
||||
RDEPEND="!minimal? ( >=dev-libs/openssl-0.9.7:0 )
|
||||
mpi? ( virtual/mpi )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
has_xop() {
|
||||
echo | $(tc-getCC) ${CFLAGS} -E -dM - | grep -q "#define __XOP__ 1"
|
||||
}
|
||||
|
||||
has_avx() {
|
||||
echo | $(tc-getCC) ${CFLAGS} -E -dM - | grep -q "#define __AVX__ 1"
|
||||
}
|
||||
|
||||
get_target() {
|
||||
if use alpha; then
|
||||
echo "linux-alpha"
|
||||
elif use amd64; then
|
||||
if has_xop; then
|
||||
echo "linux-x86-64-xop"
|
||||
elif has_avx; then
|
||||
echo "linux-x86-64-avx"
|
||||
else
|
||||
echo "linux-x86-64"
|
||||
fi
|
||||
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 has_xop; then
|
||||
echo "linux-x86-xop"
|
||||
elif has_avx; then
|
||||
echo "linux-x86-avx"
|
||||
elif use cpu_flags_x86_sse2; then
|
||||
echo "linux-x86-sse2"
|
||||
elif use cpu_flags_x86_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 cpu_flags_x86_sse2; then
|
||||
echo "macosx-x86-sse2"
|
||||
else
|
||||
echo "macosx-x86"
|
||||
fi
|
||||
elif use x86-solaris; then
|
||||
echo "solaris-x86-any"
|
||||
elif use x86-fbsd; then
|
||||
if use cpu_flags_x86_sse2; then
|
||||
echo "freebsd-x86-sse2"
|
||||
elif use cpu_flags_x86_mmx; then
|
||||
echo "freebsd-x86-mmx"
|
||||
else
|
||||
echo "freebsd-x86-any"
|
||||
fi
|
||||
elif use amd64-fbsd; then
|
||||
echo "freebsd-x86-64"
|
||||
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 minimal; then
|
||||
epatch "${WORKDIR}/${MY_P}-${JUMBO}.diff"
|
||||
|
||||
if use mpi ; then
|
||||
sed -e "s/^#CC = mpicc/CC = mpicc/" \
|
||||
-e "s/^#MPIOBJ =/MPIOBJ =/" \
|
||||
-i src/Makefile || die
|
||||
fi
|
||||
|
||||
# fix typo in jumbo patch
|
||||
sed -i 's:All15:All5:' run/john.conf || die
|
||||
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
|
||||
epatch "${FILESDIR}/${P}-jumbo-5-NT-performance-02.patch"
|
||||
|
||||
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
|
||||
gcc-specs-pie && append-ldflags -nopie
|
||||
use openmp && OMP="-fopenmp"
|
||||
|
||||
CPP="$(tc-getCXX)" CC="$(tc-getCC)" AS="$(tc-getCC)" LD="$(tc-getCC)"
|
||||
if use mpi; then
|
||||
CPP=mpicxx CC=mpicc AS=mpicc LD=mpicc
|
||||
fi
|
||||
|
||||
emake -C src/ \
|
||||
CPP="${CPP}" CC="${CC}" AS="${AS}" LD="${LD}" \
|
||||
CFLAGS="-c -Wall -include \\\"${S}\\\"/config.gentoo ${CFLAGS} ${OMP}" \
|
||||
LDFLAGS="${LDFLAGS}" \
|
||||
OPT_NORMAL="" \
|
||||
OMPFLAGS="${OMP}" \
|
||||
$(get_target)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd run
|
||||
if [[ -f "${EPREFIX}/etc/john/john.conf" || -f "${EPREFIX}/etc/john/john.ini" ]] ; then
|
||||
# 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
|
||||
|
||||
./john --test || die 'self test failed'
|
||||
else
|
||||
ewarn "Tests require '${EPREFIX}/etc/john/john.conf' or '${EPREFIX}/etc/john/john.ini'"
|
||||
fi
|
||||
}
|
||||
|
||||
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
|
||||
dosbin run/tgtsnarf
|
||||
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/*
|
||||
}
|
@ -1,217 +0,0 @@
|
||||
# Copyright 1999-2015 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-r3.ebuild,v 1.4 2015/01/28 19:13:24 mgorny Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs pax-utils
|
||||
|
||||
MY_PN="john"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
JUMBO="jumbo-6"
|
||||
|
||||
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 )"
|
||||
|
||||
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-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
#Remove AltiVec USE flag. Appears to be an upstream issue.
|
||||
IUSE="custom-cflags -minimal cpu_flags_x86_mmx mpi openmp cpu_flags_x86_sse2"
|
||||
REQUIRED_USE="openmp? ( !minimal )
|
||||
mpi? ( !minimal )"
|
||||
|
||||
RDEPEND="!minimal? ( >=dev-libs/openssl-0.9.7:0 )
|
||||
mpi? ( virtual/mpi )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
has_xop() {
|
||||
echo | $(tc-getCC) ${CFLAGS} -E -dM - | grep -q "#define __XOP__ 1"
|
||||
}
|
||||
|
||||
has_avx() {
|
||||
echo | $(tc-getCC) ${CFLAGS} -E -dM - | grep -q "#define __AVX__ 1"
|
||||
}
|
||||
|
||||
get_target() {
|
||||
if use alpha; then
|
||||
echo "linux-alpha"
|
||||
elif use amd64; then
|
||||
if has_xop; then
|
||||
echo "linux-x86-64-xop"
|
||||
elif has_avx; then
|
||||
echo "linux-x86-64-avx"
|
||||
else
|
||||
echo "linux-x86-64"
|
||||
fi
|
||||
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 has_xop; then
|
||||
echo "linux-x86-xop"
|
||||
elif has_avx; then
|
||||
echo "linux-x86-avx"
|
||||
elif use cpu_flags_x86_sse2; then
|
||||
echo "linux-x86-sse2"
|
||||
elif use cpu_flags_x86_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 cpu_flags_x86_sse2; then
|
||||
echo "macosx-x86-sse2"
|
||||
else
|
||||
echo "macosx-x86"
|
||||
fi
|
||||
elif use x86-solaris; then
|
||||
echo "solaris-x86-any"
|
||||
elif use x86-fbsd; then
|
||||
if use cpu_flags_x86_sse2; then
|
||||
echo "freebsd-x86-sse2"
|
||||
elif use cpu_flags_x86_mmx; then
|
||||
echo "freebsd-x86-mmx"
|
||||
else
|
||||
echo "freebsd-x86-any"
|
||||
fi
|
||||
elif use amd64-fbsd; then
|
||||
echo "freebsd-x86-64"
|
||||
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 minimal; then
|
||||
epatch "${WORKDIR}/${MY_P}-${JUMBO}.diff"
|
||||
|
||||
if use mpi ; then
|
||||
sed -e "s/^#CC = mpicc/CC = mpicc/" \
|
||||
-e "s/^#MPIOBJ =/MPIOBJ =/" \
|
||||
-i src/Makefile || die
|
||||
fi
|
||||
|
||||
# fix typo in jumbo patch
|
||||
sed -i 's:All15:All5:' run/john.conf || die
|
||||
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
|
||||
gcc-specs-pie && append-ldflags -nopie
|
||||
use openmp && OMP="-fopenmp"
|
||||
|
||||
CPP="$(tc-getCXX)" CC="$(tc-getCC)" AS="$(tc-getCC)" LD="$(tc-getCC)"
|
||||
if use mpi; then
|
||||
CPP=mpicxx CC=mpicc AS=mpicc LD=mpicc
|
||||
fi
|
||||
|
||||
emake -C src/ \
|
||||
CPP="${CPP}" CC="${CC}" AS="${AS}" LD="${LD}" \
|
||||
CFLAGS="-c -Wall -include \\\"${S}\\\"/config.gentoo ${CFLAGS} ${OMP}" \
|
||||
LDFLAGS="${LDFLAGS}" \
|
||||
OPT_NORMAL="" \
|
||||
OMPFLAGS="${OMP}" \
|
||||
$(get_target)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd run
|
||||
if [[ -f "${EPREFIX}/etc/john/john.conf" || -f "${EPREFIX}/etc/john/john.ini" ]] ; then
|
||||
# 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
|
||||
|
||||
./john --test || die 'self test failed'
|
||||
else
|
||||
ewarn "Tests require '${EPREFIX}/etc/john/john.conf' or '${EPREFIX}/etc/john/john.ini'"
|
||||
fi
|
||||
}
|
||||
|
||||
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
|
||||
dosbin run/tgtsnarf
|
||||
insinto /etc/john
|
||||
doins run/genincstats.rb run/stats
|
||||
doins run/netscreen.py run/sap2john.pl
|
||||
fi
|
||||
|
||||
# config files
|
||||
insinto /etc/john
|
||||
doins run/*.chr run/password.lst
|
||||
doins run/*.conf
|
||||
|
||||
# documentation
|
||||
dodoc doc/*
|
||||
}
|
@ -1,245 +0,0 @@
|
||||
# Copyright 1999-2015 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-r4.ebuild,v 1.4 2015/01/28 19:13:24 mgorny Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs pax-utils multilib
|
||||
|
||||
MY_PN="john"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
JUMBO="jumbo-6"
|
||||
|
||||
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 )"
|
||||
|
||||
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-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
#Remove AltiVec USE flag. Appears to be an upstream issue.
|
||||
IUSE="cuda custom-cflags -minimal cpu_flags_x86_mmx mpi opencl openmp cpu_flags_x86_sse2"
|
||||
REQUIRED_USE="openmp? ( !minimal )
|
||||
mpi? ( !minimal )
|
||||
cuda? ( !minimal )
|
||||
opencl? ( !minimal )"
|
||||
|
||||
RDEPEND="!minimal? ( >=dev-libs/openssl-0.9.7:0 )
|
||||
mpi? ( virtual/mpi )
|
||||
cuda? ( x11-drivers/nvidia-drivers dev-util/nvidia-cuda-toolkit )
|
||||
opencl? ( virtual/opencl )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
has_xop() {
|
||||
echo | $(tc-getCC) ${CFLAGS} -E -dM - | grep -q "#define __XOP__ 1"
|
||||
}
|
||||
|
||||
has_avx() {
|
||||
echo | $(tc-getCC) ${CFLAGS} -E -dM - | grep -q "#define __AVX__ 1"
|
||||
}
|
||||
|
||||
get_target() {
|
||||
if use alpha; then
|
||||
echo "linux-alpha"
|
||||
elif use amd64; then
|
||||
if has_xop; then
|
||||
echo "linux-x86-64-xop"
|
||||
elif has_avx; then
|
||||
echo "linux-x86-64-avx"
|
||||
else
|
||||
echo "linux-x86-64"
|
||||
fi
|
||||
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 has_xop; then
|
||||
echo "linux-x86-xop"
|
||||
elif has_avx; then
|
||||
echo "linux-x86-avx"
|
||||
elif use cpu_flags_x86_sse2; then
|
||||
echo "linux-x86-sse2"
|
||||
elif use cpu_flags_x86_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 cpu_flags_x86_sse2; then
|
||||
echo "macosx-x86-sse2"
|
||||
else
|
||||
echo "macosx-x86"
|
||||
fi
|
||||
elif use x86-solaris; then
|
||||
echo "solaris-x86-any"
|
||||
elif use x86-fbsd; then
|
||||
if use cpu_flags_x86_sse2; then
|
||||
echo "freebsd-x86-sse2"
|
||||
elif use cpu_flags_x86_mmx; then
|
||||
echo "freebsd-x86-mmx"
|
||||
else
|
||||
echo "freebsd-x86-any"
|
||||
fi
|
||||
elif use amd64-fbsd; then
|
||||
echo "freebsd-x86-64"
|
||||
else
|
||||
echo "generic"
|
||||
fi
|
||||
}
|
||||
|
||||
get_john_objs() {
|
||||
echo -n '${JOHN_COMMON_OBJS} '
|
||||
if use opencl; then
|
||||
echo -n '${OCL_OBJS} '
|
||||
fi
|
||||
if use cuda; then
|
||||
echo -n '${CUDA_OBJS}'
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
if use openmp ; then
|
||||
tc-has-openmp || die "Please switch to an openmp compatible compiler"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if ! use minimal; then
|
||||
epatch "${WORKDIR}/${MY_P}-${JUMBO}.diff"
|
||||
|
||||
if use mpi ; then
|
||||
sed -e "s/^#CC = mpicc/CC = mpicc/" \
|
||||
-e "s/^#MPIOBJ =/MPIOBJ =/" \
|
||||
-i src/Makefile || die
|
||||
fi
|
||||
|
||||
# fix typo in jumbo patch
|
||||
sed -i 's:All15:All5:' run/john.conf || die
|
||||
fi
|
||||
|
||||
cd src
|
||||
epatch "${FILESDIR}/${PN}-1.7.6-cflags.patch"
|
||||
epatch "${FILESDIR}/${PN}-1.7.3.1-mkdir-sandbox.patch"
|
||||
|
||||
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"
|
||||
sed -i 's#/usr/local#/opt#g' Makefile || die
|
||||
fi
|
||||
sed -i 's#JOHN_OBJS = \\#JOHN_COMMON_OBJS = \\#g' Makefile || die
|
||||
}
|
||||
|
||||
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
|
||||
gcc-specs-pie && append-ldflags -nopie
|
||||
use openmp && OMP="-fopenmp"
|
||||
|
||||
CPP="$(tc-getCXX)" CC="$(tc-getCC)" AS="$(tc-getCC)" LD="$(tc-getCC)"
|
||||
if use mpi; then
|
||||
CPP=mpicxx CC=mpicc AS=mpicc LD=mpicc
|
||||
fi
|
||||
|
||||
#this stuff was all stolen from the Makefile, if build breaks, check this first
|
||||
if use opencl; then
|
||||
GPUCFLAGS="${GPUCFLAGS} -DCL_VERSION_1_0"
|
||||
GPULDFLAGS="${GPULDFLAGS} -lOpenCL"
|
||||
fi
|
||||
if use cuda; then
|
||||
GPUCFLAGS="${GPUCFLAGS} -DHAVE_CUDA"
|
||||
GPULDFLAGS="${GPULDFLAGS} -L/opt/cuda/$(get_libdir) -lcudart"
|
||||
fi
|
||||
|
||||
emake -C src/ \
|
||||
CPP="${CPP}" CC="${CC}" AS="${AS}" LD="${LD}" \
|
||||
CFLAGS="-c -Wall -include \\\"${S}\\\"/config.gentoo ${CFLAGS} ${OMP} ${GPUCFLAGS}" \
|
||||
LDFLAGS="${LDFLAGS} ${GPULDFLAGS}" \
|
||||
OPT_NORMAL="" \
|
||||
OMPFLAGS="${OMP}" \
|
||||
JOHN_OBJS="$(get_john_objs)" \
|
||||
$(get_target)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd run
|
||||
if [[ -f "${EPREFIX}/etc/john/john.conf" || -f "${EPREFIX}/etc/john/john.ini" ]] ; then
|
||||
# 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
|
||||
|
||||
./john --test || die 'self test failed'
|
||||
else
|
||||
ewarn "Tests require '${EPREFIX}/etc/john/john.conf' or '${EPREFIX}/etc/john/john.ini'"
|
||||
fi
|
||||
}
|
||||
|
||||
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
|
||||
dosbin run/tgtsnarf
|
||||
insinto /etc/john
|
||||
doins run/genincstats.rb run/stats
|
||||
doins run/netscreen.py run/sap2john.pl
|
||||
if use opencl; then
|
||||
doins src/opencl/*.cl
|
||||
doins src/opencl_*.h
|
||||
fi
|
||||
fi
|
||||
|
||||
# config files
|
||||
insinto /etc/john
|
||||
doins run/*.chr run/password.lst
|
||||
doins run/*.conf
|
||||
|
||||
# documentation
|
||||
dodoc doc/*
|
||||
}
|
@ -1,242 +0,0 @@
|
||||
# Copyright 1999-2015 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-r5.ebuild,v 1.6 2015/01/28 19:13:24 mgorny Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs pax-utils multilib
|
||||
|
||||
MY_PN="john"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
JUMBO="jumbo-7"
|
||||
|
||||
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 )"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
#Remove AltiVec USE flag. Appears to be an upstream issue.
|
||||
IUSE="cuda custom-cflags -minimal cpu_flags_x86_mmx mpi opencl openmp cpu_flags_x86_sse2"
|
||||
REQUIRED_USE="openmp? ( !minimal )
|
||||
mpi? ( !minimal )
|
||||
cuda? ( !minimal )
|
||||
opencl? ( !minimal )"
|
||||
|
||||
RDEPEND="!minimal? ( >=dev-libs/openssl-0.9.7:0 )
|
||||
mpi? ( virtual/mpi )
|
||||
cuda? ( x11-drivers/nvidia-drivers dev-util/nvidia-cuda-toolkit )
|
||||
opencl? ( virtual/opencl )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
has_xop() {
|
||||
echo | $(tc-getCC) ${CFLAGS} -E -dM - | grep -q "#define __XOP__ 1"
|
||||
}
|
||||
|
||||
has_avx() {
|
||||
echo | $(tc-getCC) ${CFLAGS} -E -dM - | grep -q "#define __AVX__ 1"
|
||||
}
|
||||
|
||||
get_target() {
|
||||
if use alpha; then
|
||||
echo "linux-alpha"
|
||||
elif use amd64; then
|
||||
if has_xop; then
|
||||
echo "linux-x86-64-xop"
|
||||
elif has_avx; then
|
||||
echo "linux-x86-64-avx"
|
||||
else
|
||||
echo "linux-x86-64"
|
||||
fi
|
||||
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 has_xop; then
|
||||
echo "linux-x86-xop"
|
||||
elif has_avx; then
|
||||
echo "linux-x86-avx"
|
||||
elif use cpu_flags_x86_sse2; then
|
||||
echo "linux-x86-sse2"
|
||||
elif use cpu_flags_x86_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 cpu_flags_x86_sse2; then
|
||||
echo "macosx-x86-sse2"
|
||||
else
|
||||
echo "macosx-x86"
|
||||
fi
|
||||
elif use x86-solaris; then
|
||||
echo "solaris-x86-any"
|
||||
elif use x86-fbsd; then
|
||||
if use cpu_flags_x86_sse2; then
|
||||
echo "freebsd-x86-sse2"
|
||||
elif use cpu_flags_x86_mmx; then
|
||||
echo "freebsd-x86-mmx"
|
||||
else
|
||||
echo "freebsd-x86-any"
|
||||
fi
|
||||
elif use amd64-fbsd; then
|
||||
echo "freebsd-x86-64"
|
||||
else
|
||||
echo "generic"
|
||||
fi
|
||||
}
|
||||
|
||||
get_john_objs() {
|
||||
echo -n '${JOHN_COMMON_OBJS} '
|
||||
if use opencl; then
|
||||
echo -n '${OCL_OBJS} '
|
||||
fi
|
||||
if use cuda; then
|
||||
echo -n '${CUDA_OBJS}'
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
if use openmp ; then
|
||||
tc-has-openmp || die "Please switch to an openmp compatible compiler"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if ! use minimal; then
|
||||
epatch "${WORKDIR}/${MY_P}-${JUMBO}.diff"
|
||||
|
||||
if use mpi ; then
|
||||
sed -e "s/^#CC = mpicc/CC = mpicc/" \
|
||||
-e "s/^#MPIOBJ =/MPIOBJ =/" \
|
||||
-i src/Makefile || die
|
||||
fi
|
||||
|
||||
# fix typo in jumbo patch
|
||||
sed -i 's:All15:All5:' run/john.conf || die
|
||||
fi
|
||||
|
||||
cd src
|
||||
epatch "${FILESDIR}/${PN}-1.7.6-cflags.patch"
|
||||
epatch "${FILESDIR}/${PN}-1.7.3.1-mkdir-sandbox.patch"
|
||||
|
||||
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"
|
||||
sed -i 's#/usr/local#/opt#g' Makefile || die
|
||||
fi
|
||||
sed -i 's#JOHN_OBJS = \\#JOHN_COMMON_OBJS = \\#g' Makefile || die
|
||||
}
|
||||
|
||||
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
|
||||
gcc-specs-pie && append-ldflags -nopie
|
||||
use openmp && OMP="-fopenmp"
|
||||
|
||||
CPP="$(tc-getCXX)" CC="$(tc-getCC)" AS="$(tc-getCC)" LD="$(tc-getCC)"
|
||||
if use mpi; then
|
||||
CPP=mpicxx CC=mpicc AS=mpicc LD=mpicc
|
||||
fi
|
||||
|
||||
#this stuff was all stolen from the Makefile, if build breaks, check this first
|
||||
if use opencl; then
|
||||
GPUCFLAGS="${GPUCFLAGS} -DCL_VERSION_1_0"
|
||||
GPULDFLAGS="${GPULDFLAGS} -lOpenCL"
|
||||
fi
|
||||
if use cuda; then
|
||||
GPUCFLAGS="${GPUCFLAGS} -DHAVE_CUDA"
|
||||
GPULDFLAGS="${GPULDFLAGS} -L/opt/cuda/$(get_libdir) -lcudart"
|
||||
fi
|
||||
|
||||
emake -C src/ \
|
||||
CPP="${CPP}" CC="${CC}" AS="${AS}" LD="${LD}" \
|
||||
CFLAGS="-c -Wall -include \\\"${S}\\\"/config.gentoo ${CFLAGS} ${OMP} ${GPUCFLAGS}" \
|
||||
LDFLAGS="${LDFLAGS} ${GPULDFLAGS}" \
|
||||
OPT_NORMAL="" \
|
||||
OMPFLAGS="${OMP}" \
|
||||
JOHN_OBJS="$(get_john_objs)" \
|
||||
$(get_target)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if use opencl; then
|
||||
cp src/opencl/*.cl run/
|
||||
cp src/opencl_*.h run/
|
||||
fi
|
||||
pax-mark -mr run/john
|
||||
if use opencl || use cuda; then
|
||||
ewarn "GPU tests fail, skipping all tests..."
|
||||
else
|
||||
make -C src/ check
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# executables
|
||||
dosbin run/john
|
||||
newsbin run/mailer john-mailer
|
||||
|
||||
pax-mark -mr "${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
|
||||
dosbin run/tgtsnarf
|
||||
insinto /etc/john
|
||||
doins run/genincstats.rb run/stats
|
||||
doins run/netscreen.py run/sap2john.pl
|
||||
if use opencl; then
|
||||
doins src/opencl/*.cl
|
||||
doins src/opencl_*.h
|
||||
fi
|
||||
fi
|
||||
|
||||
# config files
|
||||
insinto /etc/john
|
||||
doins run/*.chr run/password.lst
|
||||
doins run/*.conf
|
||||
|
||||
# documentation
|
||||
dodoc doc/*
|
||||
}
|
@ -1,250 +0,0 @@
|
||||
# Copyright 1999-2015 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-r6.ebuild,v 1.14 2015/01/28 19:13:24 mgorny Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs pax-utils multilib
|
||||
|
||||
MY_PN="john"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
JUMBO="jumbo-7"
|
||||
|
||||
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 )"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ~mips ppc ppc64 sparc x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
#Remove AltiVec USE flag. Appears to be an upstream issue.
|
||||
IUSE="cuda custom-cflags -minimal cpu_flags_x86_mmx mpi opencl openmp cpu_flags_x86_sse2"
|
||||
REQUIRED_USE="openmp? ( !minimal )
|
||||
mpi? ( !minimal )
|
||||
cuda? ( !minimal )
|
||||
opencl? ( !minimal )"
|
||||
|
||||
RDEPEND="!minimal? ( >=dev-libs/openssl-0.9.7:0 )
|
||||
mpi? ( virtual/mpi )
|
||||
cuda? ( x11-drivers/nvidia-drivers dev-util/nvidia-cuda-toolkit )
|
||||
opencl? ( virtual/opencl )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
has_xop() {
|
||||
echo | $(tc-getCC) ${CFLAGS} -E -dM - | grep -q "#define __XOP__ 1"
|
||||
}
|
||||
|
||||
has_avx() {
|
||||
echo | $(tc-getCC) ${CFLAGS} -E -dM - | grep -q "#define __AVX__ 1"
|
||||
}
|
||||
|
||||
get_target() {
|
||||
if use alpha; then
|
||||
echo "linux-alpha"
|
||||
elif use amd64; then
|
||||
if has_xop; then
|
||||
echo "linux-x86-64-xop"
|
||||
elif has_avx; then
|
||||
echo "linux-x86-64-avx"
|
||||
else
|
||||
echo "linux-x86-64"
|
||||
fi
|
||||
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 has_xop; then
|
||||
echo "linux-x86-xop"
|
||||
elif has_avx; then
|
||||
echo "linux-x86-avx"
|
||||
elif use cpu_flags_x86_sse2; then
|
||||
echo "linux-x86-sse2"
|
||||
elif use cpu_flags_x86_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 cpu_flags_x86_sse2; then
|
||||
echo "macosx-x86-sse2"
|
||||
else
|
||||
echo "macosx-x86"
|
||||
fi
|
||||
elif use x86-solaris; then
|
||||
echo "solaris-x86-any"
|
||||
elif use x86-fbsd; then
|
||||
if use cpu_flags_x86_sse2; then
|
||||
echo "freebsd-x86-sse2"
|
||||
elif use cpu_flags_x86_mmx; then
|
||||
echo "freebsd-x86-mmx"
|
||||
else
|
||||
echo "freebsd-x86-any"
|
||||
fi
|
||||
elif use amd64-fbsd; then
|
||||
echo "freebsd-x86-64"
|
||||
else
|
||||
echo "generic"
|
||||
fi
|
||||
}
|
||||
|
||||
get_john_objs() {
|
||||
echo -n '${JOHN_COMMON_OBJS} '
|
||||
if use opencl; then
|
||||
echo -n '${OCL_OBJS} '
|
||||
fi
|
||||
if use cuda; then
|
||||
echo -n '${CUDA_OBJS}'
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
if use openmp ; then
|
||||
tc-has-openmp || die "Please switch to an openmp compatible compiler"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if ! use minimal; then
|
||||
epatch "${WORKDIR}/${MY_P}-${JUMBO}.diff"
|
||||
|
||||
if use mpi ; then
|
||||
sed -e "s/^#CC = mpicc/CC = mpicc/" \
|
||||
-e "s/^#MPIOBJ =/MPIOBJ =/" \
|
||||
-i src/Makefile || die
|
||||
fi
|
||||
|
||||
# fix typo in jumbo patch
|
||||
sed -i 's:All15:All5:' run/john.conf || die
|
||||
# fix compile on ppc (only needed for jumbo-7)
|
||||
epatch "${FILESDIR}/${P}-ppc-compile-fix.patch"
|
||||
fi
|
||||
|
||||
cd src
|
||||
epatch "${FILESDIR}/${PN}-1.7.6-cflags.patch"
|
||||
epatch "${FILESDIR}/${PN}-1.7.3.1-mkdir-sandbox.patch"
|
||||
|
||||
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"
|
||||
sed -i 's#/usr/local#/opt#g' Makefile || die
|
||||
fi
|
||||
sed -i 's#JOHN_OBJS = \\#JOHN_COMMON_OBJS = \\#g' Makefile || die
|
||||
}
|
||||
|
||||
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
|
||||
gcc-specs-pie && append-ldflags -nopie
|
||||
use openmp && OMP="-fopenmp"
|
||||
|
||||
CPP="$(tc-getCXX)" CC="$(tc-getCC)" AS="$(tc-getCC)" LD="$(tc-getCC)"
|
||||
if use mpi; then
|
||||
CPP=mpicxx CC=mpicc AS=mpicc LD=mpicc
|
||||
fi
|
||||
|
||||
#this stuff was all stolen from the Makefile, if build breaks, check this first
|
||||
if use opencl; then
|
||||
GPUCFLAGS="${GPUCFLAGS} -DCL_VERSION_1_0"
|
||||
GPULDFLAGS="${GPULDFLAGS} -lOpenCL"
|
||||
fi
|
||||
if use cuda; then
|
||||
GPUCFLAGS="${GPUCFLAGS} -DHAVE_CUDA"
|
||||
GPULDFLAGS="${GPULDFLAGS} -L/opt/cuda/$(get_libdir) -lcudart"
|
||||
fi
|
||||
|
||||
emake -C src/ \
|
||||
CPP="${CPP}" CC="${CC}" AS="${AS}" LD="${LD}" \
|
||||
CFLAGS="-c -Wall -include ../config.gentoo ${CFLAGS} ${OMP} ${GPUCFLAGS}" \
|
||||
LDFLAGS="${LDFLAGS} ${GPULDFLAGS}" \
|
||||
OPT_NORMAL="" \
|
||||
OMPFLAGS="${OMP}" \
|
||||
JOHN_OBJS="$(get_john_objs)" \
|
||||
$(get_target)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if use opencl; then
|
||||
cp src/opencl/*.cl run/
|
||||
cp src/opencl_*.h run/
|
||||
fi
|
||||
pax-mark -mr run/john
|
||||
if use opencl || use cuda; then
|
||||
ewarn "GPU tests fail, skipping all tests..."
|
||||
else
|
||||
make -C src/ check
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# executables
|
||||
dosbin run/john
|
||||
newsbin run/mailer john-mailer
|
||||
|
||||
pax-mark -mr "${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
|
||||
for s in \
|
||||
keychain2john keepass2john pwsafe2john hccap2john \
|
||||
racf2john zip2john rar2john pdf2john ssh2john undrop \
|
||||
; do
|
||||
dosym john /usr/sbin/$s
|
||||
done
|
||||
dosbin run/calc_stat
|
||||
dosbin run/genmkvpwd
|
||||
dosbin run/mkvcalcproba
|
||||
dosbin run/raw2dyna
|
||||
dosbin run/tgtsnarf
|
||||
insinto /etc/john
|
||||
doins run/genincstats.rb run/stats
|
||||
doins run/netscreen.py run/sap2john.pl
|
||||
if use opencl; then
|
||||
doins src/opencl/*.cl
|
||||
doins src/opencl_*.h
|
||||
fi
|
||||
fi
|
||||
|
||||
# config files
|
||||
insinto /etc/john
|
||||
doins run/*.chr run/password.lst
|
||||
doins run/*.conf
|
||||
|
||||
# documentation
|
||||
dodoc doc/*
|
||||
}
|
@ -1,251 +0,0 @@
|
||||
# Copyright 1999-2015 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-r7.ebuild,v 1.4 2015/01/28 19:13:24 mgorny Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs pax-utils multilib
|
||||
|
||||
MY_PN="john"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
JUMBO="jumbo-7"
|
||||
|
||||
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 )"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
#Remove AltiVec USE flag. Appears to be an upstream issue.
|
||||
IUSE="cuda custom-cflags -minimal cpu_flags_x86_mmx mpi opencl openmp cpu_flags_x86_sse2"
|
||||
REQUIRED_USE="openmp? ( !minimal )
|
||||
mpi? ( !minimal )
|
||||
cuda? ( !minimal )
|
||||
opencl? ( !minimal )"
|
||||
|
||||
DEPEND="!minimal? ( >=dev-libs/openssl-0.9.7:0 )
|
||||
mpi? ( virtual/mpi )
|
||||
cuda? ( x11-drivers/nvidia-drivers
|
||||
dev-util/nvidia-cuda-toolkit:= )
|
||||
opencl? ( virtual/opencl )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
has_xop() {
|
||||
echo | $(tc-getCC) ${CFLAGS} -E -dM - | grep -q "#define __XOP__ 1"
|
||||
}
|
||||
|
||||
has_avx() {
|
||||
echo | $(tc-getCC) ${CFLAGS} -E -dM - | grep -q "#define __AVX__ 1"
|
||||
}
|
||||
|
||||
get_target() {
|
||||
if use alpha; then
|
||||
echo "linux-alpha"
|
||||
elif use amd64; then
|
||||
if has_xop; then
|
||||
echo "linux-x86-64-xop"
|
||||
elif has_avx; then
|
||||
echo "linux-x86-64-avx"
|
||||
else
|
||||
echo "linux-x86-64"
|
||||
fi
|
||||
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 has_xop; then
|
||||
echo "linux-x86-xop"
|
||||
elif has_avx; then
|
||||
echo "linux-x86-avx"
|
||||
elif use cpu_flags_x86_sse2; then
|
||||
echo "linux-x86-sse2"
|
||||
elif use cpu_flags_x86_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 cpu_flags_x86_sse2; then
|
||||
echo "macosx-x86-sse2"
|
||||
else
|
||||
echo "macosx-x86"
|
||||
fi
|
||||
elif use x86-solaris; then
|
||||
echo "solaris-x86-any"
|
||||
elif use x86-fbsd; then
|
||||
if use cpu_flags_x86_sse2; then
|
||||
echo "freebsd-x86-sse2"
|
||||
elif use cpu_flags_x86_mmx; then
|
||||
echo "freebsd-x86-mmx"
|
||||
else
|
||||
echo "freebsd-x86-any"
|
||||
fi
|
||||
elif use amd64-fbsd; then
|
||||
echo "freebsd-x86-64"
|
||||
else
|
||||
echo "generic"
|
||||
fi
|
||||
}
|
||||
|
||||
get_john_objs() {
|
||||
echo -n '${JOHN_COMMON_OBJS} '
|
||||
if use opencl; then
|
||||
echo -n '${OCL_OBJS} '
|
||||
fi
|
||||
if use cuda; then
|
||||
echo -n '${CUDA_OBJS}'
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
if use openmp ; then
|
||||
tc-has-openmp || die "Please switch to an openmp compatible compiler"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if ! use minimal; then
|
||||
epatch "${WORKDIR}/${MY_P}-${JUMBO}.diff"
|
||||
|
||||
if use mpi ; then
|
||||
sed -e "s/^#CC = mpicc/CC = mpicc/" \
|
||||
-e "s/^#MPIOBJ =/MPIOBJ =/" \
|
||||
-i src/Makefile || die
|
||||
fi
|
||||
|
||||
# fix typo in jumbo patch
|
||||
sed -i 's:All15:All5:' run/john.conf || die
|
||||
# fix compile on ppc (only needed for jumbo-7)
|
||||
epatch "${FILESDIR}/${P}-ppc-compile-fix.patch"
|
||||
fi
|
||||
|
||||
cd src
|
||||
epatch "${FILESDIR}/${PN}-1.7.6-cflags.patch"
|
||||
epatch "${FILESDIR}/${PN}-1.7.3.1-mkdir-sandbox.patch"
|
||||
|
||||
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"
|
||||
sed -i 's#/usr/local#/opt#g' Makefile || die
|
||||
fi
|
||||
sed -i 's#JOHN_OBJS = \\#JOHN_COMMON_OBJS = \\#g' Makefile || die
|
||||
}
|
||||
|
||||
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
|
||||
gcc-specs-pie && append-ldflags -nopie
|
||||
use openmp && OMP="-fopenmp"
|
||||
|
||||
CPP="$(tc-getCXX)" CC="$(tc-getCC)" AS="$(tc-getCC)" LD="$(tc-getCC)"
|
||||
if use mpi; then
|
||||
CPP=mpicxx CC=mpicc AS=mpicc LD=mpicc
|
||||
fi
|
||||
|
||||
#this stuff was all stolen from the Makefile, if build breaks, check this first
|
||||
if use opencl; then
|
||||
GPUCFLAGS="${GPUCFLAGS} -DCL_VERSION_1_0"
|
||||
GPULDFLAGS="${GPULDFLAGS} -lOpenCL"
|
||||
fi
|
||||
if use cuda; then
|
||||
GPUCFLAGS="${GPUCFLAGS} -DHAVE_CUDA"
|
||||
GPULDFLAGS="${GPULDFLAGS} -L/opt/cuda/$(get_libdir) -lcudart"
|
||||
fi
|
||||
|
||||
emake -C src/ \
|
||||
CPP="${CPP}" CC="${CC}" AS="${AS}" LD="${LD}" \
|
||||
CFLAGS="-c -Wall -include ../config.gentoo ${CFLAGS} ${OMP} ${GPUCFLAGS}" \
|
||||
LDFLAGS="${LDFLAGS} ${GPULDFLAGS}" \
|
||||
OPT_NORMAL="" \
|
||||
OMPFLAGS="${OMP}" \
|
||||
JOHN_OBJS="$(get_john_objs)" \
|
||||
$(get_target)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if use opencl; then
|
||||
cp src/opencl/*.cl run/
|
||||
cp src/opencl_*.h run/
|
||||
fi
|
||||
pax-mark -mr run/john
|
||||
if use opencl || use cuda; then
|
||||
ewarn "GPU tests fail, skipping all tests..."
|
||||
else
|
||||
make -C src/ check
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# executables
|
||||
dosbin run/john
|
||||
newsbin run/mailer john-mailer
|
||||
|
||||
pax-mark -mr "${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
|
||||
for s in \
|
||||
keychain2john keepass2john pwsafe2john hccap2john \
|
||||
racf2john zip2john rar2john pdf2john ssh2john undrop \
|
||||
; do
|
||||
dosym john /usr/sbin/$s
|
||||
done
|
||||
dosbin run/calc_stat
|
||||
dosbin run/genmkvpwd
|
||||
dosbin run/mkvcalcproba
|
||||
dosbin run/raw2dyna
|
||||
dosbin run/tgtsnarf
|
||||
insinto /etc/john
|
||||
doins run/genincstats.rb run/stats
|
||||
doins run/netscreen.py run/sap2john.pl
|
||||
if use opencl; then
|
||||
doins src/opencl/*.cl
|
||||
doins src/opencl_*.h
|
||||
fi
|
||||
fi
|
||||
|
||||
# config files
|
||||
insinto /etc/john
|
||||
doins run/*.chr run/password.lst
|
||||
doins run/*.conf
|
||||
|
||||
# documentation
|
||||
dodoc doc/*
|
||||
}
|
@ -1,258 +0,0 @@
|
||||
# Copyright 1999-2015 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-r8.ebuild,v 1.5 2015/01/28 19:13:24 mgorny Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit cuda eutils flag-o-matic toolchain-funcs pax-utils multilib
|
||||
|
||||
MY_PN="john"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
JUMBO="jumbo-7"
|
||||
|
||||
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 )"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
#Remove AltiVec USE flag. Appears to be an upstream issue.
|
||||
IUSE="cuda custom-cflags -minimal cpu_flags_x86_mmx mpi opencl openmp cpu_flags_x86_sse2"
|
||||
REQUIRED_USE="openmp? ( !minimal )
|
||||
mpi? ( !minimal )
|
||||
cuda? ( !minimal )
|
||||
opencl? ( !minimal )"
|
||||
|
||||
DEPEND="!minimal? ( >=dev-libs/openssl-0.9.7:0 )
|
||||
mpi? ( virtual/mpi )
|
||||
cuda? ( x11-drivers/nvidia-drivers
|
||||
dev-util/nvidia-cuda-toolkit:= )
|
||||
opencl? ( virtual/opencl )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
has_xop() {
|
||||
echo | $(tc-getCC) ${CFLAGS} -E -dM - | grep -q "#define __XOP__ 1"
|
||||
}
|
||||
|
||||
has_avx() {
|
||||
echo | $(tc-getCC) ${CFLAGS} -E -dM - | grep -q "#define __AVX__ 1"
|
||||
}
|
||||
|
||||
get_target() {
|
||||
if use alpha; then
|
||||
echo "linux-alpha"
|
||||
elif use amd64; then
|
||||
if has_xop; then
|
||||
echo "linux-x86-64-xop"
|
||||
elif has_avx; then
|
||||
echo "linux-x86-64-avx"
|
||||
else
|
||||
echo "linux-x86-64"
|
||||
fi
|
||||
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 has_xop; then
|
||||
echo "linux-x86-xop"
|
||||
elif has_avx; then
|
||||
echo "linux-x86-avx"
|
||||
elif use cpu_flags_x86_sse2; then
|
||||
echo "linux-x86-sse2"
|
||||
elif use cpu_flags_x86_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 cpu_flags_x86_sse2; then
|
||||
echo "macosx-x86-sse2"
|
||||
else
|
||||
echo "macosx-x86"
|
||||
fi
|
||||
elif use x86-solaris; then
|
||||
echo "solaris-x86-any"
|
||||
elif use x86-fbsd; then
|
||||
if use cpu_flags_x86_sse2; then
|
||||
echo "freebsd-x86-sse2"
|
||||
elif use cpu_flags_x86_mmx; then
|
||||
echo "freebsd-x86-mmx"
|
||||
else
|
||||
echo "freebsd-x86-any"
|
||||
fi
|
||||
elif use amd64-fbsd; then
|
||||
echo "freebsd-x86-64"
|
||||
else
|
||||
echo "generic"
|
||||
fi
|
||||
}
|
||||
|
||||
get_john_objs() {
|
||||
echo -n '${JOHN_COMMON_OBJS} '
|
||||
if use opencl; then
|
||||
echo -n '${OCL_OBJS} '
|
||||
fi
|
||||
if use cuda; then
|
||||
echo -n '${CUDA_OBJS}'
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
if use openmp && [[ ${MERGE_TYPE} != binary ]]; then
|
||||
tc-has-openmp || die "Please switch to an openmp compatible compiler"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if ! use minimal; then
|
||||
epatch "${WORKDIR}/${MY_P}-${JUMBO}.diff"
|
||||
|
||||
if use mpi ; then
|
||||
sed -e "s/^#CC = mpicc/CC = mpicc/" \
|
||||
-e "s/^#MPIOBJ =/MPIOBJ =/" \
|
||||
-i src/Makefile || die
|
||||
fi
|
||||
|
||||
# fix typo in jumbo patch
|
||||
sed -i 's:All15:All5:' run/john.conf || die
|
||||
# fix compile on ppc (only needed for jumbo-7)
|
||||
epatch "${FILESDIR}/${P}-ppc-compile-fix.patch"
|
||||
fi
|
||||
|
||||
cd src
|
||||
epatch "${FILESDIR}/${PN}-1.7.6-cflags.patch"
|
||||
epatch "${FILESDIR}/${PN}-1.7.3.1-mkdir-sandbox.patch"
|
||||
|
||||
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"
|
||||
sed -i 's#/usr/local#/opt#g' Makefile || die
|
||||
fi
|
||||
sed -i 's#JOHN_OBJS = \\#JOHN_COMMON_OBJS = \\#g' Makefile || die
|
||||
|
||||
if use cuda; then
|
||||
cuda_src_prepare
|
||||
sed \
|
||||
-e "/^NVCC_FLAGS/s:$: ${NVCCFLAGS}:g" \
|
||||
-i Makefile || die
|
||||
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
|
||||
gcc-specs-pie && append-ldflags -nopie
|
||||
use openmp && OMP="-fopenmp"
|
||||
|
||||
CPP="$(tc-getCXX)" CC="$(tc-getCC)" AS="$(tc-getCC)" LD="$(tc-getCC)"
|
||||
if use mpi; then
|
||||
CPP=mpicxx CC=mpicc AS=mpicc LD=mpicc
|
||||
fi
|
||||
|
||||
#this stuff was all stolen from the Makefile, if build breaks, check this first
|
||||
if use opencl; then
|
||||
GPUCFLAGS="${GPUCFLAGS} -DCL_VERSION_1_0"
|
||||
GPULDFLAGS="${GPULDFLAGS} -lOpenCL"
|
||||
fi
|
||||
if use cuda; then
|
||||
GPUCFLAGS="${GPUCFLAGS} -DHAVE_CUDA"
|
||||
GPULDFLAGS="${GPULDFLAGS} -L/opt/cuda/$(get_libdir) -lcudart"
|
||||
fi
|
||||
|
||||
emake -C src/ \
|
||||
CPP="${CPP}" CC="${CC}" AS="${AS}" LD="${LD}" \
|
||||
CFLAGS="-c -Wall -include ../config.gentoo ${CFLAGS} ${OMP} ${GPUCFLAGS}" \
|
||||
LDFLAGS="${LDFLAGS} ${GPULDFLAGS}" \
|
||||
OPT_NORMAL="" \
|
||||
OMPFLAGS="${OMP}" \
|
||||
JOHN_OBJS="$(get_john_objs)" \
|
||||
$(get_target)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if use opencl; then
|
||||
cp src/opencl/*.cl run/
|
||||
cp src/opencl_*.h run/
|
||||
fi
|
||||
pax-mark -mr run/john
|
||||
if use opencl || use cuda; then
|
||||
ewarn "GPU tests fail, skipping all tests..."
|
||||
else
|
||||
make -C src/ check
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# executables
|
||||
dosbin run/john
|
||||
newsbin run/mailer john-mailer
|
||||
|
||||
pax-mark -mr "${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
|
||||
for s in \
|
||||
keychain2john keepass2john pwsafe2john hccap2john \
|
||||
racf2john zip2john rar2john pdf2john ssh2john undrop \
|
||||
; do
|
||||
dosym john /usr/sbin/$s
|
||||
done
|
||||
dosbin run/calc_stat
|
||||
dosbin run/genmkvpwd
|
||||
dosbin run/mkvcalcproba
|
||||
dosbin run/raw2dyna
|
||||
dosbin run/tgtsnarf
|
||||
insinto /etc/john
|
||||
doins run/genincstats.rb run/stats
|
||||
doins run/netscreen.py run/sap2john.pl
|
||||
if use opencl; then
|
||||
doins src/opencl/*.cl
|
||||
doins src/opencl_*.h
|
||||
fi
|
||||
fi
|
||||
|
||||
# config files
|
||||
insinto /etc/john
|
||||
doins run/*.chr run/password.lst
|
||||
doins run/*.conf
|
||||
|
||||
# documentation
|
||||
dodoc doc/*
|
||||
}
|
@ -1,206 +0,0 @@
|
||||
# Copyright 1999-2015 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.5 2015/01/28 19:13:24 mgorny 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-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE="custom-cflags -minimal cpu_flags_x86_mmx openmp cpu_flags_x86_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:0 )"
|
||||
# mpi? ( sys-cluster/openmpi )
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
has_xop() {
|
||||
echo | $(tc-getCC) ${CFLAGS} -E -dM - | grep -q "#define __XOP__ 1"
|
||||
}
|
||||
|
||||
has_avx() {
|
||||
echo | $(tc-getCC) ${CFLAGS} -E -dM - | grep -q "#define __AVX__ 1"
|
||||
}
|
||||
|
||||
get_target() {
|
||||
if use alpha; then
|
||||
echo "linux-alpha"
|
||||
elif use amd64; then
|
||||
if has_xop; then
|
||||
echo "linux-x86-64-xop"
|
||||
elif has_avx; then
|
||||
echo "linux-x86-64-avx"
|
||||
else
|
||||
echo "linux-x86-64"
|
||||
fi
|
||||
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 has_xop; then
|
||||
echo "linux-x86-xop"
|
||||
elif has_avx; then
|
||||
echo "linux-x86-avx"
|
||||
elif use cpu_flags_x86_sse2; then
|
||||
echo "linux-x86-sse2"
|
||||
elif use cpu_flags_x86_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 cpu_flags_x86_sse2; then
|
||||
echo "macosx-x86-sse2"
|
||||
else
|
||||
echo "macosx-x86"
|
||||
fi
|
||||
elif use x86-solaris; then
|
||||
echo "solaris-x86-any"
|
||||
elif use x86-fbsd; then
|
||||
if use cpu_flags_x86_sse2; then
|
||||
echo "freebsd-x86-sse2"
|
||||
elif use cpu_flags_x86_mmx; then
|
||||
echo "freebsd-x86-mmx"
|
||||
else
|
||||
echo "freebsd-x86-any"
|
||||
fi
|
||||
elif use amd64-fbsd; then
|
||||
echo "freebsd-x86-64"
|
||||
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/*
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST emacs-common-gentoo-1.4.tar.xz 40848 SHA256 c36081d809c47f4414d623726eeff54d6512eca7f178f864e1f0c71e58a5b78f SHA512 f993ef83bdfe1e622688d93b81f1317663f2918f1dace8785474db759f411c0dc883e9946872e05cc406a1191bf29abe193af5212d652d2e64d5f64576a28cbe WHIRLPOOL 9861d4fadad9a420ebc2ac7f61dec2441ce934903cded6efeeb91600d2ef98fdf1af9f78ebb3518b7810034a2fc8cbb1f7e34ca2467c679083a1de193f181bb5
|
||||
DIST emacs-common-gentoo-1.5.tar.xz 40844 SHA256 fbec52de8552c6b22f56382a28d469d9346c02c7569c05cdb0db6a54b39995a1 SHA512 61ac2a1bb8bc449480137789f4d93228d81d2a7ea87a255a7fd82072ce98eecf5f585d102db95f0deda06102e27efbd5d9fce8cd21d6b58239f7a2b6d4ee4d55 WHIRLPOOL bb6d58d8afb55c9d6204f82553962190cd50f64d25ea5fb50308827f88ea3b1c42dc0e072155567391ffc7745b8871c733c9aee5042b57bfcbef5e5419d0b6cf
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/emacs-common-gentoo/emacs-common-gentoo-1.4-r2.ebuild,v 1.2 2015/02/22 15:07:48 ulm Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/emacs-common-gentoo/emacs-common-gentoo-1.5.ebuild,v 1.1 2015/02/23 20:48:30 ulm Exp $
|
||||
|
||||
EAPI=5
|
||||
|
@ -0,0 +1,35 @@
|
||||
From 425aa66d33e1833cfa47b988785def8b42b72f1a Mon Sep 17 00:00:00 2001
|
||||
From: Markos Chandras <hwoarang@gentoo.org>
|
||||
Date: Sun, 22 Feb 2015 01:25:36 +0200
|
||||
Subject: [PATCH] templates/lxc-gentoo.in: Fix stage3 autodetection code
|
||||
|
||||
The latest-stage3-$variant.txt files list both the tarball name
|
||||
and the released date but we only need to pass the stage3 tarball
|
||||
name to the subsequent wget command otherwise we end up with 404
|
||||
errors.
|
||||
|
||||
Signed-off-by: Markos Chandras <hwoarang@gentoo.org>
|
||||
---
|
||||
Different patches have been posted to the mailing lists or github so this is
|
||||
likely to be fixed upstream really soon
|
||||
---
|
||||
templates/lxc-gentoo.in | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/templates/lxc-gentoo.in b/templates/lxc-gentoo.in
|
||||
index 5a87866..464c948 100644
|
||||
--- a/templates/lxc-gentoo.in
|
||||
+++ b/templates/lxc-gentoo.in
|
||||
@@ -160,7 +160,8 @@ cache_stage3()
|
||||
printf "Determining path to latest Gentoo %s (%s) stage3 archive...\n" "${arch}" "${variant}"
|
||||
printf " => downloading and processing %s\n" "${stage3_pointer}"
|
||||
|
||||
- local stage3_latest_tarball=$(wget -q -O - "${stage3_pointer}" | tail -n1 ) \
|
||||
+ local stage3_latest_tarball=$(wget -q -O - "${stage3_pointer}" | \
|
||||
+ tail -n1 | cut -d " " -f 1) \
|
||||
|| die 6 "Error: unable to fetch\n"
|
||||
|
||||
printf " => Got: %s\n" "${stage3_latest_tarball}"
|
||||
--
|
||||
2.3.0
|
||||
|
@ -0,0 +1,194 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/lxc/lxc-1.1.0-r3.ebuild,v 1.2 2015/02/23 20:36:27 hwoarang Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
MY_P="${P/_/-}"
|
||||
PYTHON_COMPAT=( python{3_2,3_3,3_4} )
|
||||
DISTUTILS_OPTIONAL=1
|
||||
|
||||
inherit autotools bash-completion-r1 distutils-r1 eutils linux-info versionator flag-o-matic systemd
|
||||
|
||||
DESCRIPTION="LinuX Containers userspace utilities"
|
||||
HOMEPAGE="https://linuxcontainers.org/"
|
||||
SRC_URI="https://github.com/lxc/lxc/archive/${MY_P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
IUSE="cgmanager doc examples lua python seccomp"
|
||||
|
||||
RDEPEND="net-libs/gnutls
|
||||
sys-libs/libcap
|
||||
cgmanager? ( app-admin/cgmanager )
|
||||
lua? ( >=dev-lang/lua-5.1:= )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
seccomp? ( sys-libs/libseccomp )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-text/docbook-sgml-utils )
|
||||
>=sys-kernel/linux-headers-3.2"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
sys-process/criu
|
||||
sys-apps/util-linux
|
||||
app-misc/pax-utils
|
||||
virtual/awk"
|
||||
|
||||
CONFIG_CHECK="~CGROUPS ~CGROUP_DEVICE
|
||||
~CPUSETS ~CGROUP_CPUACCT
|
||||
~RESOURCE_COUNTERS
|
||||
~CGROUP_SCHED
|
||||
|
||||
~NAMESPACES
|
||||
~IPC_NS ~USER_NS ~PID_NS
|
||||
|
||||
~NETLINK_DIAG ~PACKET_DIAG
|
||||
~INET_UDP_DIAG ~INET_TCP_DIAG
|
||||
~UNIX_DIAG ~CHECKPOINT_RESTORE
|
||||
|
||||
~DEVPTS_MULTIPLE_INSTANCES
|
||||
~CGROUP_FREEZER
|
||||
~UTS_NS ~NET_NS
|
||||
~VETH ~MACVLAN
|
||||
|
||||
~POSIX_MQUEUE
|
||||
~!NETPRIO_CGROUP
|
||||
|
||||
~!GRKERNSEC_CHROOT_MOUNT
|
||||
~!GRKERNSEC_CHROOT_DOUBLE
|
||||
~!GRKERNSEC_CHROOT_PIVOT
|
||||
~!GRKERNSEC_CHROOT_CHMOD
|
||||
~!GRKERNSEC_CHROOT_CAPS
|
||||
"
|
||||
|
||||
ERROR_DEVPTS_MULTIPLE_INSTANCES="CONFIG_DEVPTS_MULTIPLE_INSTANCES: needed for pts inside container"
|
||||
|
||||
ERROR_CGROUP_FREEZER="CONFIG_CGROUP_FREEZER: needed to freeze containers"
|
||||
|
||||
ERROR_UTS_NS="CONFIG_UTS_NS: needed to unshare hostnames and uname info"
|
||||
ERROR_NET_NS="CONFIG_NET_NS: needed for unshared network"
|
||||
|
||||
ERROR_VETH="CONFIG_VETH: needed for internal (host-to-container) networking"
|
||||
ERROR_MACVLAN="CONFIG_MACVLAN: needed for internal (inter-container) networking"
|
||||
|
||||
ERROR_NETLINK_DIAG="CONFIG_NETLINK_DIAG: needed for lxc-checkpoint"
|
||||
ERROR_PACKET_DIAG="CONFIG_PACKET_DIAG: needed for lxc-checkpoint"
|
||||
ERROR_INET_UDP_DIAG="CONFIG_INET_UDP_DIAG: needed for lxc-checkpoint"
|
||||
ERROR_INET_TCP_DIAG="CONFIG_INET_TCP_DIAG: needed for lxc-checkpoint"
|
||||
ERROR_UNIX_DIAG="CONFIG_UNIX_DIAG: needed for lxc-checkpoint"
|
||||
ERROR_CHECKPOINT_RESTORE="CONFIG_CHECKPOINT_RESTORE: needed for lxc-checkpoint"
|
||||
|
||||
ERROR_POSIX_MQUEUE="CONFIG_POSIX_MQUEUE: needed for lxc-execute command"
|
||||
|
||||
ERROR_NETPRIO_CGROUP="CONFIG_NETPRIO_CGROUP: as of kernel 3.3 and lxc 0.8.0_rc1 this causes LXCs to fail booting."
|
||||
|
||||
ERROR_GRKERNSEC_CHROOT_MOUNT="CONFIG_GRKERNSEC_CHROOT_MOUNT: some GRSEC features make LXC unusable see postinst notes"
|
||||
ERROR_GRKERNSEC_CHROOT_DOUBLE="CONFIG_GRKERNSEC_CHROOT_DOUBLE: some GRSEC features make LXC unusable see postinst notes"
|
||||
ERROR_GRKERNSEC_CHROOT_PIVOT="CONFIG_GRKERNSEC_CHROOT_PIVOT: some GRSEC features make LXC unusable see postinst notes"
|
||||
ERROR_GRKERNSEC_CHROOT_CHMOD="CONFIG_GRKERNSEC_CHROOT_CHMOD: some GRSEC features make LXC unusable see postinst notes"
|
||||
ERROR_GRKERNSEC_CHROOT_CAPS="CONFIG_GRKERNSEC_CHROOT_CAPS: some GRSEC features make LXC unusable see postinst notes"
|
||||
|
||||
DOCS=(AUTHORS CONTRIBUTING MAINTAINERS NEWS README doc/FAQ.txt)
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_P}"
|
||||
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
src_prepare() {
|
||||
sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.ac || die
|
||||
if [[ -n ${BACKPORTS} ]]; then
|
||||
epatch "${WORKDIR}"/patches/*
|
||||
fi
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-1.0.6-bash-completion.patch
|
||||
epatch "${FILESDIR}"/${P}-fix-gentoo-template.patch
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-flags -fno-strict-aliasing
|
||||
|
||||
# I am not sure about the --with-rootfs-path
|
||||
# /var/lib/lxc is probably more appropriate than
|
||||
# /usr/lib/lxc.
|
||||
econf \
|
||||
--localstatedir=/var \
|
||||
--bindir=/usr/sbin \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
--with-config-path=/var/lib/lxc \
|
||||
--with-rootfs-path=/var/lib/lxc/rootfs \
|
||||
--with-distro=gentoo \
|
||||
--with-runtime-path=/run \
|
||||
--disable-apparmor \
|
||||
$(use_enable cgmanager) \
|
||||
$(use_enable doc) \
|
||||
$(use_enable examples) \
|
||||
$(use_enable lua) \
|
||||
--disable-python \
|
||||
$(use_enable seccomp)
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
distutils-r1_python_compile build_ext -I ../ -L ../${PN}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if use python; then
|
||||
pushd "${S}/src/python-${PN}" > /dev/null
|
||||
distutils-r1_src_compile
|
||||
popd > /dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
mv "${ED}"/usr/share/bash-completion/completions/${PN} "${ED}"/$(get_bashcompdir)/${PN}-start || die
|
||||
bashcomp_alias ${PN}-start \
|
||||
${PN}-{attach,cgroup,clone,console,create,destroy,device,execute,freeze,info,monitor,snapshot,start-ephemeral,stop,unfreeze,wait}
|
||||
|
||||
if use python; then
|
||||
pushd "${S}/src/python-lxc" > /dev/null
|
||||
# Unset DOCS. This has been handled by the default target
|
||||
unset DOCS
|
||||
distutils-r1_src_install
|
||||
popd > /dev/null
|
||||
fi
|
||||
|
||||
keepdir /etc/lxc /var/lib/lxc/rootfs /var/log/lxc
|
||||
|
||||
find "${D}" -name '*.la' -delete
|
||||
|
||||
# Gentoo-specific additions!
|
||||
# Use initd.3 per #517144
|
||||
newinitd "${FILESDIR}/${PN}.initd.3" ${PN}
|
||||
|
||||
# lxc-devsetup script
|
||||
exeinto /usr/libexec/${PN}
|
||||
doexe config/init/systemd/${PN}-devsetup
|
||||
# Remember to compare our systemd unit file with the upstream one
|
||||
# config/init/systemd/lxc.service.in
|
||||
systemd_newunit "${FILESDIR}"/${PN}_at.service.2 "lxc@.service"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog ""
|
||||
elog "Starting from version ${PN}-1.1.0-r3, the default lxc path has been"
|
||||
elog "moved from /etc/lxc to /var/lib/lxc. If you still want to use /etc/lxc"
|
||||
elog "please add the following to your /etc/lxc/default.conf"
|
||||
elog "lxc.lxcpath = /etc/lxc"
|
||||
elog ""
|
||||
elog "There is an init script provided with the package now; no documentation"
|
||||
elog "is currently available though, so please check out /etc/init.d/lxc ."
|
||||
elog "You _should_ only need to symlink it to /etc/init.d/lxc.configname"
|
||||
elog "to start the container defined into /etc/lxc/configname.conf ."
|
||||
elog "For further information about LXC development see"
|
||||
elog "http://blog.flameeyes.eu/tag/lxc" # remove once proper doc is available
|
||||
elog ""
|
||||
}
|
@ -0,0 +1,76 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/portage-utils/portage-utils-0.54.ebuild,v 1.1 2015/02/24 01:26:08 vapier Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit flag-o-matic toolchain-funcs eutils
|
||||
|
||||
DESCRIPTION="small and fast portage helper tools written in C"
|
||||
HOMEPAGE="https://wiki.gentoo.org/wiki/Portage-utils"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.xz
|
||||
http://dev.gentoo.org/~vapier/dist/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="nls static"
|
||||
|
||||
DEPEND="app-arch/xz-utils"
|
||||
RDEPEND=""
|
||||
|
||||
src_prepare() {
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use static && append-ldflags -static
|
||||
|
||||
# Avoid slow configure+gnulib+make if on an up-to-date Linux system
|
||||
if use prefix || ! use kernel_linux || \
|
||||
has_version '<sys-libs/glibc-2.10'
|
||||
then
|
||||
econf --with-eprefix="${EPREFIX}"
|
||||
else
|
||||
tc-export CC
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake NLS=$(usex nls)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
exeinto /etc/portage/bin
|
||||
doexe "${FILESDIR}"/post_sync
|
||||
insinto /etc/portage/postsync.d
|
||||
doins "${FILESDIR}"/q-reinitialize
|
||||
|
||||
# Portage fixes shebangs, we just need to fix the paths in the files
|
||||
sed -i \
|
||||
-e "s:\(/etc/portage/postsync.d\|/usr/bin/q\):${EPREFIX}&:g" \
|
||||
"${ED}"/etc/portage/bin/post_sync \
|
||||
"${ED}"/etc/portage/postsync.d/q-reinitialize || die
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# preserve +x bit on postsync files #301721
|
||||
local x
|
||||
pushd "${ED}" >/dev/null
|
||||
for x in etc/portage/postsync.d/* ; do
|
||||
[[ -x ${EROOT}/${x} ]] && chmod +x "${x}"
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]] ; then
|
||||
elog "${EPREFIX}/etc/portage/postsync.d/q-reinitialize has been installed for convenience"
|
||||
elog "If you wish for it to be automatically run at the end of every --sync:"
|
||||
elog " # chmod +x ${EPREFIX}/etc/portage/postsync.d/q-reinitialize"
|
||||
elog "Normally this should only take a few seconds to run but file systems"
|
||||
elog "such as ext3 can take a lot longer. To disable, simply do:"
|
||||
elog " # chmod -x ${EPREFIX}/etc/portage/postsync.d/q-reinitialize"
|
||||
fi
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST airline-0.4.tar.gz 28561 SHA256 7adc9356662f229fefeb799fc511899a5dc9fe8d4e3b50f1f3682913e1fb6012 SHA512 4aa2d247746911ad352a83ea46275235f7c45d8cfb9f7c5d1138a7135045fb00c88cda48d6bffb2890c725564416454642f3637786a8f005217a271b8d7d518a WHIRLPOOL e0bfad3fbb1645e55e70fbcec67f2a287fb14a80d7f37e3f3e53284bc9c72c4d92bd08c7ce30050de8363fc6a5808e3e293f619ecfbd4ef536221f65cbded422
|
||||
DIST airline-0.5.tar.gz 38670 SHA256 ab00124f8853de6a0fd37073055e4dced2d6f532d263f7aae5c982bb55692e7e SHA512 870d66e30aefd96621ce1f756b053ee45eda12ce2d96640454dc4e1d0bfe70b4f679f4dcebc4f85b86cc35e9c0202c74156867dd305c413620d4a6c76e5c704e WHIRLPOOL 21aa436f0aa516fb26760e44ef3b10b640e5a9cc3ab11358a275a998fd5d9c713fa5798412bd1c3739648568b9ee905c391a2b6de6cab24b4e38afaca69426f8
|
||||
DIST airline-0.6.tar.gz 43866 SHA256 47fc3c84331e977ef01beaa5e13045e314c9e6d0868d2f4725daa3b3139ed0b6 SHA512 20fb94c2e5d0f67a6fedf87d80f39d35a5cba6c3f88a05e4803c0602d2dd95f01b9b120e4fce45d1fcda065f8a8d983f980415b6d262d1cf44c747156258a424 WHIRLPOOL 4a71c418e2d741ccf1ef5a9d5ece93a94de6982d29228b3a31e04653d61ff1ebe3d7ab257484757e1f1a2bf59c547bd43ed3310025e517988aad858fe933c208
|
||||
DIST airline-0.7.tar.gz 54318 SHA256 5d6b8840ccef133662f420fb1dba132d54bf0f5cc663657945e6cbea7e4b609e SHA512 5e8b072538d8c19083bb4fe6e5f8a5df76cf00735eb8a8a08078fba33d5fc25d89f49b9d9e07276e1661748b04901f1bfdf52d054330931785eab3df71a496b5 WHIRLPOOL c664423ebfbc1e830feb81aa4573c991388756396263fdf3cd0f37b8391b673f94c6eda0cff1c7517ab7fb5de7735ac39a8d066212ea43bd03ef82e2e9aff71c
|
||||
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/airline/airline-0.7.ebuild,v 1.1 2015/02/24 02:12:11 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit vim-plugin
|
||||
|
||||
if [[ ${PV} != 9999* ]] ; then
|
||||
MY_PN=vim-${PN}
|
||||
MY_P=${MY_PN}-${PV}
|
||||
SRC_URI="https://github.com/bling/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
else
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/bling/vim-airline.git"
|
||||
fi
|
||||
|
||||
DESCRIPTION="vim plugin: lean & mean statusline for vim that's light as air"
|
||||
HOMEPAGE="https://github.com/bling/vim-airline/ http://www.vim.org/scripts/script.php?script_id=4661"
|
||||
LICENSE="MIT"
|
||||
VIM_PLUGIN_HELPFILES="${PN}.txt"
|
||||
|
||||
src_prepare() {
|
||||
# remove unwanted files
|
||||
rm -rf t Gemfile Rakefile LICENSE README*
|
||||
}
|
@ -0,0 +1,372 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea/icedtea-6.1.13.6.ebuild,v 1.1 2015/02/23 21:21:01 fordfrog Exp $
|
||||
# Build written by Andrew John Hughes (gnu_andrew@member.fsf.org)
|
||||
|
||||
# *********************************************************
|
||||
# * IF YOU CHANGE THIS EBUILD, CHANGE ICEDTEA-7.* AS WELL *
|
||||
# *********************************************************
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit check-reqs java-pkg-2 java-vm-2 multiprocessing pax-utils prefix versionator virtualx
|
||||
|
||||
ICEDTEA_PKG=${PN}$(replace_version_separator 1 -)
|
||||
ICEDTEA_BRANCH=$(get_version_component_range 1-3)
|
||||
OPENJDK_BUILD="34"
|
||||
OPENJDK_DATE="20_jan_2015"
|
||||
OPENJDK_TARBALL="openjdk-6-src-b${OPENJDK_BUILD}-${OPENJDK_DATE}.tar.xz"
|
||||
# Download cacao and jamvm regardless for use with EXTRA_ECONF
|
||||
CACAO_TARBALL="68fe50ac34ec.tar.gz"
|
||||
JAMVM_TARBALL="jamvm-ec18fb9e49e62dce16c5094ef1527eed619463aa.tar.gz"
|
||||
|
||||
CACAO_GENTOO_TARBALL="icedtea-${ICEDTEA_BRANCH}-cacao-${CACAO_TARBALL}"
|
||||
JAMVM_GENTOO_TARBALL="icedtea-${ICEDTEA_BRANCH}-${JAMVM_TARBALL}"
|
||||
|
||||
DESCRIPTION="A harness to build OpenJDK using Free Software build tools and dependencies"
|
||||
HOMEPAGE="http://icedtea.classpath.org"
|
||||
SRC_PKG="${ICEDTEA_PKG}.tar.xz"
|
||||
SRC_URI="
|
||||
http://icedtea.classpath.org/download/source/${SRC_PKG}
|
||||
https://java.net/downloads/openjdk6/${OPENJDK_TARBALL}
|
||||
http://icedtea.classpath.org/download/drops/cacao/${CACAO_TARBALL} -> ${CACAO_GENTOO_TARBALL}
|
||||
http://icedtea.classpath.org/download/drops/jamvm/${JAMVM_TARBALL} -> ${JAMVM_GENTOO_TARBALL}"
|
||||
|
||||
LICENSE="Apache-1.1 Apache-2.0 GPL-1 GPL-2 GPL-2-with-linking-exception LGPL-2 MPL-1.0 MPL-1.1 public-domain W3C"
|
||||
SLOT="6"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="+X +alsa cacao cjk +cups debug doc examples javascript +jbootstrap kerberos +nsplugin
|
||||
+nss pax_kernel pulseaudio selinux +source systemtap test zero +webstart"
|
||||
|
||||
# Ideally the following were optional at build time.
|
||||
ALSA_COMMON_DEP="
|
||||
>=media-libs/alsa-lib-1.0"
|
||||
CUPS_COMMON_DEP="
|
||||
>=net-print/cups-1.2.12"
|
||||
X_COMMON_DEP="
|
||||
dev-libs/glib
|
||||
>=media-libs/freetype-2.3.5:2=
|
||||
>=x11-libs/gtk+-2.8:2=
|
||||
>=x11-libs/libX11-1.1.3
|
||||
>=x11-libs/libXext-1.1.1
|
||||
>=x11-libs/libXi-1.1.3
|
||||
>=x11-libs/libXrender-0.9.4
|
||||
>=x11-libs/libXtst-1.0.3
|
||||
x11-libs/libXt"
|
||||
X_DEPEND="
|
||||
>=x11-libs/libXau-1.0.3
|
||||
>=x11-libs/libXdmcp-1.0.2
|
||||
>=x11-libs/libXinerama-1.0.2
|
||||
x11-proto/inputproto
|
||||
>=x11-proto/xextproto-7.1.1
|
||||
x11-proto/xineramaproto
|
||||
x11-proto/xproto"
|
||||
|
||||
COMMON_DEP="
|
||||
>=media-libs/giflib-4.1.6:=
|
||||
>=media-libs/libpng-1.2:=
|
||||
>=sys-libs/zlib-1.2.3:=
|
||||
virtual/jpeg:0=
|
||||
>=media-libs/lcms-2.5
|
||||
javascript? ( dev-java/rhino:1.6 )
|
||||
kerberos? ( virtual/krb5 )
|
||||
nss? ( >=dev-libs/nss-3.12.5-r1 )
|
||||
pulseaudio? ( >=media-sound/pulseaudio-0.9.11:= )
|
||||
systemtap? ( >=dev-util/systemtap-1 )
|
||||
!dev-java/icedtea-web:6"
|
||||
|
||||
# media-fonts/lklug needs ppc ppc64 keywords
|
||||
RDEPEND="${COMMON_DEP}
|
||||
!dev-java/icedtea6
|
||||
X? (
|
||||
${X_COMMON_DEP}
|
||||
media-fonts/dejavu
|
||||
cjk? (
|
||||
media-fonts/arphicfonts
|
||||
media-fonts/baekmuk-fonts
|
||||
!ppc? ( !ppc64? ( media-fonts/lklug ) )
|
||||
media-fonts/lohit-fonts
|
||||
media-fonts/sazanami
|
||||
)
|
||||
)
|
||||
alsa? ( ${ALSA_COMMON_DEP} )
|
||||
cups? ( ${CUPS_COMMON_DEP} )
|
||||
selinux? ( sec-policy/selinux-java )"
|
||||
|
||||
# Only ant-core-1.8.1 has fixed ant -diagnostics when xerces+xalan are not present.
|
||||
# ca-certificates, perl and openssl are used for the cacerts keystore generation
|
||||
# xext headers have two variants depending on version - bug #288855
|
||||
# !eclipse-ecj-3.7 - bug #392587
|
||||
# autoconf - as long as we use eautoreconf, version restrictions for bug #294918
|
||||
DEPEND="${COMMON_DEP} ${ALSA_COMMON_DEP} ${CUPS_COMMON_DEP} ${X_COMMON_DEP}
|
||||
|| (
|
||||
>=dev-java/gcj-jdk-4.3
|
||||
dev-java/icedtea-bin:6
|
||||
dev-java/icedtea:6
|
||||
)
|
||||
app-arch/cpio
|
||||
app-arch/unzip
|
||||
app-arch/zip
|
||||
app-misc/ca-certificates
|
||||
>=dev-java/ant-core-1.8.2
|
||||
dev-lang/perl
|
||||
>=dev-libs/libxslt-1.1.26
|
||||
dev-libs/openssl
|
||||
virtual/pkgconfig
|
||||
sys-apps/lsb-release
|
||||
${X_DEPEND}
|
||||
pax_kernel? ( sys-apps/elfix )"
|
||||
|
||||
PDEPEND="webstart? ( dev-java/icedtea-web:0 )
|
||||
nsplugin? ( dev-java/icedtea-web:0[nsplugin] )"
|
||||
|
||||
S="${WORKDIR}"/${ICEDTEA_PKG}
|
||||
|
||||
icedtea_check_requirements() {
|
||||
local CHECKREQS_DISK_BUILD
|
||||
|
||||
if use doc; then
|
||||
CHECKREQS_DISK_BUILD="8500M"
|
||||
else
|
||||
CHECKREQS_DISK_BUILD="8000M"
|
||||
fi
|
||||
|
||||
check-reqs_pkg_${EBUILD_PHASE}
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
icedtea_check_requirements
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
icedtea_check_requirements
|
||||
|
||||
JAVA_PKG_WANT_BUILD_VM="
|
||||
icedtea-6 icedtea-bin-6 icedtea6 icedtea6-bin
|
||||
gcj-jdk"
|
||||
JAVA_PKG_WANT_SOURCE="1.5"
|
||||
JAVA_PKG_WANT_TARGET="1.5"
|
||||
|
||||
java-vm-2_pkg_setup
|
||||
java-pkg-2_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${SRC_PKG}
|
||||
}
|
||||
|
||||
java_prepare() {
|
||||
# For bootstrap builds as the sandbox control file might not yet exist.
|
||||
addpredict /proc/self/coredump_filter
|
||||
|
||||
# icedtea doesn't like some locales. #330433 #389717
|
||||
export LANG="C" LC_ALL="C"
|
||||
}
|
||||
|
||||
bootstrap_impossible() {
|
||||
# Fill this according to testing what works and what not
|
||||
has "${1}" # icedtea6 icedtea-6 icedtea6-bin icedtea-bin-6
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local bootstrap cacao_config config hotspot_port use_cacao use_zero zero_config
|
||||
local vm=$(java-pkg_get-current-vm)
|
||||
|
||||
# IcedTea6 can't be built using IcedTea7; its class files are too new
|
||||
# Whether to bootstrap
|
||||
bootstrap="disable"
|
||||
if use jbootstrap; then
|
||||
if bootstrap_impossible "${vm}"; then
|
||||
einfo "Bootstrap with ${vm} is currently not possible and thus disabled, ignoring USE=jbootstrap"
|
||||
else
|
||||
bootstrap="enable"
|
||||
fi
|
||||
fi
|
||||
|
||||
if has "${vm}" gcj-jdk; then
|
||||
# gcj-jdk ensures ecj is present.
|
||||
use jbootstrap || einfo "bootstrap is necessary when building with ${vm}, ignoring USE=\"-jbootstrap\""
|
||||
bootstrap="enable"
|
||||
fi
|
||||
|
||||
config+=" --${bootstrap}-bootstrap"
|
||||
|
||||
# Use Zero if requested
|
||||
if use zero; then
|
||||
use_zero="yes"
|
||||
fi
|
||||
|
||||
# Use CACAO if requested
|
||||
if use cacao; then
|
||||
use_cacao="yes"
|
||||
fi
|
||||
|
||||
# Are we on a architecture with a HotSpot port?
|
||||
# In-tree JIT ports are available for amd64, arm, sparc and x86.
|
||||
if { use amd64 || use arm || use sparc || use x86; }; then
|
||||
hotspot_port="yes"
|
||||
fi
|
||||
|
||||
# Always use HotSpot as the primary VM if available. #389521 #368669 #357633 ...
|
||||
# Otherwise use CACAO on ppc and Zero on anything else
|
||||
if test "x${hotspot_port}" != "xyes"; then
|
||||
if { use ppc || use ppc64; }; then
|
||||
use_cacao="yes"
|
||||
else
|
||||
use_zero="yes"
|
||||
fi
|
||||
fi
|
||||
|
||||
# Turn on CACAO if needed (non-HS archs) or requested
|
||||
if test "x${use_cacao}" = "xyes"; then
|
||||
if test "x${hotspot_port}" = "xyes"; then
|
||||
ewarn 'Enabling CACAO on an architecture with HotSpot support; issues may result.'
|
||||
ewarn 'If so, please rebuild with USE="-cacao"'
|
||||
fi
|
||||
cacao_config="--enable-cacao"
|
||||
fi
|
||||
|
||||
# Turn on Zero if needed (non-HS/CACAO archs) or requested
|
||||
if test "x${use_zero}" = "xyes"; then
|
||||
zero_config="--enable-zero"
|
||||
fi
|
||||
|
||||
config+=" --with-parallel-jobs=$(makeopts_jobs)"
|
||||
|
||||
if use javascript ; then
|
||||
config+=" --with-rhino=$(java-pkg_getjar rhino-1.6 js.jar)"
|
||||
else
|
||||
config+=" --without-rhino"
|
||||
fi
|
||||
|
||||
unset JAVA_HOME JDK_HOME CLASSPATH JAVAC JAVACFLAGS
|
||||
|
||||
econf ${config} \
|
||||
--with-openjdk-src-zip="${DISTDIR}/${OPENJDK_TARBALL}" \
|
||||
--with-cacao-src-zip="${DISTDIR}/${CACAO_GENTOO_TARBALL}" \
|
||||
--with-jamvm-src-zip="${DISTDIR}/${JAMVM_GENTOO_TARBALL}" \
|
||||
--with-jdk-home="$(java-config -O)" \
|
||||
--with-abs-install-dir="${EPREFIX}/usr/$(get_libdir)/icedtea${SLOT}" \
|
||||
--with-pkgversion="Gentoo package ${PF}" \
|
||||
--disable-downloading --disable-Werror \
|
||||
$(use_enable !debug optimizations) \
|
||||
$(use_enable doc docs) \
|
||||
$(use_enable kerberos system-kerberos) \
|
||||
$(use_enable nss) \
|
||||
$(use_enable pulseaudio pulse-java) \
|
||||
$(use_enable systemtap) \
|
||||
$(use_with pax_kernel pax "${EPREFIX}/usr/sbin/paxmark.sh") \
|
||||
${zero_config} ${cacao_config}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Would use GENTOO_VM otherwise.
|
||||
export ANT_RESPECT_JAVA_HOME=TRUE
|
||||
|
||||
# With ant >=1.8.2 all required tasks are part of ant-core
|
||||
export ANT_TASKS="none"
|
||||
|
||||
emake
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Use Xvfb for tests
|
||||
unset DISPLAY
|
||||
|
||||
Xemake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local dest="/usr/$(get_libdir)/icedtea${SLOT}"
|
||||
local ddest="${ED}/${dest}"
|
||||
dodir "${dest}"
|
||||
|
||||
dodoc README NEWS AUTHORS
|
||||
dosym /usr/share/doc/${PF} /usr/share/doc/${PN}${SLOT}
|
||||
|
||||
cd openjdk.build/j2sdk-image || die
|
||||
|
||||
# Ensures HeadlessGraphicsEnvironment is used.
|
||||
if ! use X; then
|
||||
rm -r jre/lib/$(get_system_arch)/xawt || die
|
||||
fi
|
||||
|
||||
# Don't hide classes
|
||||
rm lib/ct.sym || die
|
||||
|
||||
#402507
|
||||
mkdir jre/.systemPrefs || die
|
||||
touch jre/.systemPrefs/.system.lock || die
|
||||
touch jre/.systemPrefs/.systemRootModFile || die
|
||||
|
||||
# doins can't handle symlinks.
|
||||
cp -vRP bin include jre lib man "${ddest}" || die
|
||||
|
||||
dodoc ASSEMBLY_EXCEPTION THIRD_PARTY_README
|
||||
|
||||
if use doc; then
|
||||
# java-pkg_dohtml needed for package-list #302654
|
||||
java-pkg_dohtml -A dtd -r ../docs/* || die
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
dodir "${dest}/share"
|
||||
cp -vRP demo sample "${ddest}/share/" || die
|
||||
fi
|
||||
|
||||
if use source; then
|
||||
cp src.zip "${ddest}" || die
|
||||
fi
|
||||
|
||||
# provided by icedtea-web but we need it in JAVA_HOME to work with run-java-tool
|
||||
if use webstart || use nsplugin; then
|
||||
dosym /usr/libexec/icedtea-web/itweb-settings ${dest}/bin/itweb-settings
|
||||
dosym /usr/libexec/icedtea-web/itweb-settings ${dest}/jre/bin/itweb-settings
|
||||
fi
|
||||
if use webstart; then
|
||||
dosym /usr/libexec/icedtea-web/javaws ${dest}/bin/javaws
|
||||
dosym /usr/libexec/icedtea-web/javaws ${dest}/jre/bin/javaws
|
||||
fi
|
||||
|
||||
# Fix the permissions.
|
||||
find "${ddest}" \! -type l \( -perm /111 -exec chmod 755 {} \; -o -exec chmod 644 {} \; \) || die
|
||||
|
||||
# Needs to be done before generating cacerts
|
||||
java-vm_set-pax-markings "${ddest}"
|
||||
|
||||
# We need to generate keystore - bug #273306
|
||||
einfo "Generating cacerts file from certificates in ${EPREFIX}/usr/share/ca-certificates/"
|
||||
mkdir "${T}/certgen" && cd "${T}/certgen" || die
|
||||
cp "${FILESDIR}/generate-cacerts.pl" . && chmod +x generate-cacerts.pl || die
|
||||
for c in "${EPREFIX}"/usr/share/ca-certificates/*/*.crt; do
|
||||
openssl x509 -text -in "${c}" >> all.crt || die
|
||||
done
|
||||
./generate-cacerts.pl "${ddest}/bin/keytool" all.crt || die
|
||||
cp -vRP cacerts "${ddest}/jre/lib/security/" || die
|
||||
chmod 644 "${ddest}/jre/lib/security/cacerts" || die
|
||||
|
||||
# Bug 390663
|
||||
cp "${FILESDIR}"/fontconfig.Gentoo.properties.src "${T}"/fontconfig.Gentoo.properties || die
|
||||
eprefixify "${T}"/fontconfig.Gentoo.properties
|
||||
insinto "${dest}"/jre/lib
|
||||
doins "${T}"/fontconfig.Gentoo.properties
|
||||
|
||||
set_java_env "${FILESDIR}/icedtea.env"
|
||||
if ! use X || ! use alsa || ! use cups; then
|
||||
java-vm_revdep-mask "${dest}"
|
||||
fi
|
||||
java-vm_sandbox-predict /proc/self/coredump_filter
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if has_version "<=dev-java/icedtea-6.1.10.4:${SLOT}"; then
|
||||
# portage would preserve the symlink otherwise, related to bug #384397
|
||||
rm -f "${EROOT}/usr/lib/jvm/icedtea6"
|
||||
elog "To unify the layout and simplify scripts, the identifier of Icedtea-6*"
|
||||
elog "has changed from 'icedtea6' to 'icedtea-6' starting from version 6.1.10.4-r1"
|
||||
elog "If you had icedtea6 as system VM, the change should be automatic, however"
|
||||
elog "build VM settings in /etc/java-config-2/build/jdk.conf are not changed"
|
||||
elog "and the same holds for any user VM settings. Sorry for the inconvenience."
|
||||
fi
|
||||
}
|
@ -0,0 +1,405 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea/icedtea-7.2.5.4.ebuild,v 1.1 2015/02/23 21:21:01 fordfrog Exp $
|
||||
# Build written by Andrew John Hughes (gnu_andrew@member.fsf.org)
|
||||
|
||||
# *********************************************************
|
||||
# * IF YOU CHANGE THIS EBUILD, CHANGE ICEDTEA-6.* AS WELL *
|
||||
# *********************************************************
|
||||
|
||||
EAPI="5"
|
||||
SLOT="7"
|
||||
|
||||
inherit check-reqs java-pkg-2 java-vm-2 multiprocessing pax-utils prefix versionator virtualx
|
||||
|
||||
ICEDTEA_VER=$(get_version_component_range 2-)
|
||||
ICEDTEA_BRANCH=$(get_version_component_range 2-3)
|
||||
ICEDTEA_PKG=icedtea-${ICEDTEA_VER}
|
||||
CORBA_TARBALL="3c9f523bf96e.tar.bz2"
|
||||
JAXP_TARBALL="ca26767d3375.tar.bz2"
|
||||
JAXWS_TARBALL="9a6c90336922.tar.bz2"
|
||||
JDK_TARBALL="1e6db4f8b0f3.tar.bz2"
|
||||
LANGTOOLS_TARBALL="960cdffa8b3f.tar.bz2"
|
||||
OPENJDK_TARBALL="6cf2880aab5e.tar.bz2"
|
||||
HOTSPOT_TARBALL="6144ca9b6a72.tar.bz2"
|
||||
CACAO_TARBALL="e215e36be9fc.tar.gz"
|
||||
JAMVM_TARBALL="jamvm-ec18fb9e49e62dce16c5094ef1527eed619463aa.tar.gz"
|
||||
|
||||
CORBA_GENTOO_TARBALL="icedtea-${ICEDTEA_BRANCH}-corba-${CORBA_TARBALL}"
|
||||
JAXP_GENTOO_TARBALL="icedtea-${ICEDTEA_BRANCH}-jaxp-${JAXP_TARBALL}"
|
||||
JAXWS_GENTOO_TARBALL="icedtea-${ICEDTEA_BRANCH}-jaxws-${JAXWS_TARBALL}"
|
||||
JDK_GENTOO_TARBALL="icedtea-${ICEDTEA_BRANCH}-jdk-${JDK_TARBALL}"
|
||||
LANGTOOLS_GENTOO_TARBALL="icedtea-${ICEDTEA_BRANCH}-langtools-${LANGTOOLS_TARBALL}"
|
||||
OPENJDK_GENTOO_TARBALL="icedtea-${ICEDTEA_BRANCH}-openjdk-${OPENJDK_TARBALL}"
|
||||
HOTSPOT_GENTOO_TARBALL="icedtea-${ICEDTEA_BRANCH}-hotspot-${HOTSPOT_TARBALL}"
|
||||
CACAO_GENTOO_TARBALL="icedtea-${ICEDTEA_BRANCH}-cacao-${CACAO_TARBALL}"
|
||||
JAMVM_GENTOO_TARBALL="icedtea-${ICEDTEA_BRANCH}-${JAMVM_TARBALL}"
|
||||
|
||||
DROP_URL="http://icedtea.classpath.org/download/drops"
|
||||
ICEDTEA_URL="${DROP_URL}/icedtea${SLOT}/${ICEDTEA_VER}"
|
||||
|
||||
DESCRIPTION="A harness to build OpenJDK using Free Software build tools and dependencies"
|
||||
HOMEPAGE="http://icedtea.classpath.org"
|
||||
SRC_PKG="${ICEDTEA_PKG}.tar.xz"
|
||||
SRC_URI="
|
||||
http://icedtea.classpath.org/download/source/${SRC_PKG}
|
||||
${ICEDTEA_URL}/openjdk.tar.bz2 -> ${OPENJDK_GENTOO_TARBALL}
|
||||
${ICEDTEA_URL}/corba.tar.bz2 -> ${CORBA_GENTOO_TARBALL}
|
||||
${ICEDTEA_URL}/jaxp.tar.bz2 -> ${JAXP_GENTOO_TARBALL}
|
||||
${ICEDTEA_URL}/jaxws.tar.bz2 -> ${JAXWS_GENTOO_TARBALL}
|
||||
${ICEDTEA_URL}/jdk.tar.bz2 -> ${JDK_GENTOO_TARBALL}
|
||||
${ICEDTEA_URL}/hotspot.tar.bz2 -> ${HOTSPOT_GENTOO_TARBALL}
|
||||
${ICEDTEA_URL}/langtools.tar.bz2 -> ${LANGTOOLS_GENTOO_TARBALL}
|
||||
${DROP_URL}/cacao/${CACAO_TARBALL} -> ${CACAO_GENTOO_TARBALL}
|
||||
${DROP_URL}/jamvm/${JAMVM_TARBALL} -> ${JAMVM_GENTOO_TARBALL}"
|
||||
|
||||
LICENSE="Apache-1.1 Apache-2.0 GPL-1 GPL-2 GPL-2-with-linking-exception LGPL-2 MPL-1.0 MPL-1.1 public-domain W3C"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="+X +alsa cacao cjk +cups debug doc examples infinality jamvm javascript +jbootstrap kerberos +nsplugin
|
||||
+nss pax_kernel pulseaudio selinux smartcard +source sunec test zero +webstart"
|
||||
|
||||
# Ideally the following were optional at build time.
|
||||
ALSA_COMMON_DEP="
|
||||
>=media-libs/alsa-lib-1.0"
|
||||
CUPS_COMMON_DEP="
|
||||
>=net-print/cups-1.2.12"
|
||||
X_COMMON_DEP="
|
||||
>=dev-libs/atk-1.30.0
|
||||
>=dev-libs/glib-2.26
|
||||
media-libs/fontconfig
|
||||
>=media-libs/freetype-2.5.3:2=[infinality?]
|
||||
>=x11-libs/cairo-1.8.8:=
|
||||
x11-libs/gdk-pixbuf:2
|
||||
>=x11-libs/gtk+-2.8:2=
|
||||
>=x11-libs/libX11-1.1.3
|
||||
>=x11-libs/libXext-1.1.1
|
||||
>=x11-libs/libXi-1.1.3
|
||||
>=x11-libs/libXrender-0.9.4
|
||||
>=x11-libs/libXtst-1.0.3
|
||||
x11-libs/libXt
|
||||
>=x11-libs/pango-1.24.5"
|
||||
X_DEPEND="
|
||||
>=x11-libs/libXau-1.0.3
|
||||
>=x11-libs/libXdmcp-1.0.2
|
||||
>=x11-libs/libXinerama-1.0.2
|
||||
x11-proto/inputproto
|
||||
>=x11-proto/xextproto-7.1.1
|
||||
x11-proto/xineramaproto
|
||||
x11-proto/xproto"
|
||||
|
||||
COMMON_DEP="
|
||||
>=media-libs/giflib-4.1.6:=
|
||||
>=media-libs/lcms-2.5
|
||||
>=media-libs/libpng-1.2:=
|
||||
>=sys-libs/zlib-1.2.3:=
|
||||
virtual/jpeg:0=
|
||||
javascript? ( dev-java/rhino:1.6 )
|
||||
nss? ( >=dev-libs/nss-3.12.5-r1 )
|
||||
kerberos? ( virtual/krb5 )
|
||||
>=dev-util/systemtap-1
|
||||
smartcard? ( sys-apps/pcsc-lite )
|
||||
sunec? ( >=dev-libs/nss-3.16.1-r1 )
|
||||
!dev-java/icedtea-web:7"
|
||||
|
||||
# cups is needed for X. #390945 #390975
|
||||
RDEPEND="${COMMON_DEP}
|
||||
!dev-java/icedtea:0
|
||||
X? (
|
||||
${CUPS_COMMON_DEP}
|
||||
${X_COMMON_DEP}
|
||||
media-fonts/dejavu
|
||||
cjk? (
|
||||
media-fonts/arphicfonts
|
||||
media-fonts/baekmuk-fonts
|
||||
media-fonts/lklug
|
||||
media-fonts/lohit-fonts
|
||||
media-fonts/sazanami
|
||||
)
|
||||
)
|
||||
alsa? ( ${ALSA_COMMON_DEP} )
|
||||
cups? ( ${CUPS_COMMON_DEP} )
|
||||
selinux? ( sec-policy/selinux-java )"
|
||||
|
||||
# Only ant-core-1.8.1 has fixed ant -diagnostics when xerces+xalan are not present.
|
||||
# ca-certificates, perl and openssl are used for the cacerts keystore generation
|
||||
# xext headers have two variants depending on version - bug #288855
|
||||
# autoconf - as long as we use eautoreconf, version restrictions for bug #294918
|
||||
DEPEND="${COMMON_DEP} ${ALSA_COMMON_DEP} ${CUPS_COMMON_DEP} ${X_COMMON_DEP}
|
||||
|| (
|
||||
>=dev-java/gcj-jdk-4.3
|
||||
dev-java/icedtea-bin:7
|
||||
dev-java/icedtea-bin:6
|
||||
dev-java/icedtea:7
|
||||
dev-java/icedtea:6
|
||||
)
|
||||
app-arch/cpio
|
||||
app-arch/unzip
|
||||
app-arch/zip
|
||||
app-misc/ca-certificates
|
||||
>=dev-java/ant-core-1.8.2
|
||||
dev-lang/perl
|
||||
>=dev-libs/libxslt-1.1.26
|
||||
dev-libs/openssl
|
||||
virtual/pkgconfig
|
||||
sys-apps/attr
|
||||
sys-apps/lsb-release
|
||||
${X_DEPEND}
|
||||
pax_kernel? ( sys-apps/elfix )"
|
||||
|
||||
PDEPEND="webstart? ( dev-java/icedtea-web:0[icedtea7] )
|
||||
nsplugin? ( dev-java/icedtea-web:0[icedtea7,nsplugin] )
|
||||
pulseaudio? ( dev-java/icedtea-sound )"
|
||||
|
||||
S="${WORKDIR}"/${ICEDTEA_PKG}
|
||||
|
||||
icedtea_check_requirements() {
|
||||
local CHECKREQS_DISK_BUILD
|
||||
|
||||
if use doc; then
|
||||
CHECKREQS_DISK_BUILD="9000M"
|
||||
else
|
||||
CHECKREQS_DISK_BUILD="8500M"
|
||||
fi
|
||||
|
||||
check-reqs_pkg_${EBUILD_PHASE}
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
icedtea_check_requirements
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
icedtea_check_requirements
|
||||
|
||||
JAVA_PKG_WANT_BUILD_VM="
|
||||
icedtea-7 icedtea-bin-7 icedtea7
|
||||
icedtea-6 icedtea-bin-6 icedtea6 icedtea6-bin
|
||||
gcj-jdk"
|
||||
JAVA_PKG_WANT_SOURCE="1.5"
|
||||
JAVA_PKG_WANT_TARGET="1.5"
|
||||
|
||||
java-vm-2_pkg_setup
|
||||
java-pkg-2_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${SRC_PKG}
|
||||
}
|
||||
|
||||
java_prepare() {
|
||||
# For bootstrap builds as the sandbox control file might not yet exist.
|
||||
addpredict /proc/self/coredump_filter
|
||||
|
||||
# icedtea doesn't like some locales. #330433 #389717
|
||||
export LANG="C" LC_ALL="C"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local bootstrap cacao_config config hotspot_port use_cacao use_zero zero_config
|
||||
local vm=$(java-pkg_get-current-vm)
|
||||
|
||||
# Whether to bootstrap
|
||||
bootstrap="disable"
|
||||
if use jbootstrap; then
|
||||
bootstrap="enable"
|
||||
fi
|
||||
|
||||
if has "${vm}" gcj-jdk; then
|
||||
# gcj-jdk ensures ecj is present.
|
||||
use jbootstrap || einfo "bootstrap is necessary when building with ${vm}, ignoring USE=\"-jbootstrap\""
|
||||
bootstrap="enable"
|
||||
local ecj_jar="$(readlink "${EPREFIX}"/usr/share/eclipse-ecj/ecj.jar)"
|
||||
config+=" --with-ecj-jar=${ecj_jar}"
|
||||
fi
|
||||
|
||||
config+=" --${bootstrap}-bootstrap"
|
||||
|
||||
# Use Zero if requested
|
||||
if use zero; then
|
||||
use_zero="yes"
|
||||
fi
|
||||
|
||||
# Use CACAO if requested
|
||||
if use cacao; then
|
||||
use_cacao="yes"
|
||||
fi
|
||||
|
||||
# Are we on a architecture with a HotSpot port?
|
||||
# In-tree JIT ports are available for amd64, arm, arm64, ppc64 (be&le), SPARC and x86.
|
||||
if { use amd64 || use arm || use arm64 || use ppc64 || use sparc || use x86; }; then
|
||||
hotspot_port="yes"
|
||||
fi
|
||||
|
||||
# Always use HotSpot as the primary VM if available. #389521 #368669 #357633 ...
|
||||
# Otherwise use CACAO on ppc and Zero on anything else
|
||||
if test "x${hotspot_port}" != "xyes"; then
|
||||
if use ppc; then
|
||||
use_cacao="yes"
|
||||
else
|
||||
use_zero="yes"
|
||||
fi
|
||||
fi
|
||||
|
||||
# Turn on CACAO if needed (non-HS archs) or requested
|
||||
if test "x${use_cacao}" = "xyes"; then
|
||||
if test "x${hotspot_port}" = "xyes"; then
|
||||
ewarn 'Enabling CACAO on an architecture with HotSpot support; issues may result.'
|
||||
ewarn 'If so, please rebuild with USE="-cacao"'
|
||||
fi
|
||||
cacao_config="--enable-cacao"
|
||||
fi
|
||||
|
||||
# Turn on Zero if needed (non-HS/CACAO archs) or requested
|
||||
if test "x${use_zero}" = "xyes"; then
|
||||
zero_config="--enable-zero"
|
||||
fi
|
||||
|
||||
config+=" --with-parallel-jobs=$(makeopts_jobs)"
|
||||
|
||||
if use javascript ; then
|
||||
config+=" --with-rhino=$(java-pkg_getjar rhino-1.6 js.jar)"
|
||||
else
|
||||
config+=" --without-rhino"
|
||||
fi
|
||||
|
||||
unset JAVA_HOME JDK_HOME CLASSPATH JAVAC JAVACFLAGS
|
||||
|
||||
econf ${config} \
|
||||
--with-openjdk-src-zip="${DISTDIR}/${OPENJDK_GENTOO_TARBALL}" \
|
||||
--with-corba-src-zip="${DISTDIR}/${CORBA_GENTOO_TARBALL}" \
|
||||
--with-jaxp-src-zip="${DISTDIR}/${JAXP_GENTOO_TARBALL}" \
|
||||
--with-jaxws-src-zip="${DISTDIR}/${JAXWS_GENTOO_TARBALL}" \
|
||||
--with-jdk-src-zip="${DISTDIR}/${JDK_GENTOO_TARBALL}" \
|
||||
--with-hotspot-src-zip="${DISTDIR}/${HOTSPOT_GENTOO_TARBALL}" \
|
||||
--with-langtools-src-zip="${DISTDIR}/${LANGTOOLS_GENTOO_TARBALL}" \
|
||||
--with-cacao-src-zip="${DISTDIR}/${CACAO_GENTOO_TARBALL}" \
|
||||
--with-jamvm-src-zip="${DISTDIR}/${JAMVM_GENTOO_TARBALL}" \
|
||||
--with-jdk-home="$(java-config -O)" \
|
||||
--prefix="${EPREFIX}/usr/$(get_libdir)/icedtea${SLOT}" \
|
||||
--with-pkgversion="Gentoo package ${PF}" \
|
||||
--disable-downloading --disable-Werror \
|
||||
--enable-system-lcms \
|
||||
$(use_enable !debug optimizations) \
|
||||
$(use_enable doc docs) \
|
||||
$(use_enable nss) \
|
||||
$(use_enable jamvm) \
|
||||
$(use_enable kerberos system-kerberos) \
|
||||
$(use_with pax_kernel pax "${EPREFIX}/usr/sbin/paxmark.sh") \
|
||||
$(use_enable smartcard system-pcsc) \
|
||||
$(use_enable sunec) \
|
||||
$(use_enable infinality) \
|
||||
${zero_config} ${cacao_config}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Would use GENTOO_VM otherwise.
|
||||
export ANT_RESPECT_JAVA_HOME=TRUE
|
||||
|
||||
# With ant >=1.8.2 all required tasks are part of ant-core
|
||||
export ANT_TASKS="none"
|
||||
|
||||
emake
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Use Xvfb for tests
|
||||
unset DISPLAY
|
||||
|
||||
Xemake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local dest="/usr/$(get_libdir)/icedtea${SLOT}"
|
||||
local ddest="${ED}/${dest}"
|
||||
dodir "${dest}"
|
||||
|
||||
dodoc README NEWS AUTHORS
|
||||
dosym /usr/share/doc/${PF} /usr/share/doc/${PN}${SLOT}
|
||||
|
||||
cd openjdk.build/j2sdk-image || die
|
||||
|
||||
# Ensures HeadlessGraphicsEnvironment is used.
|
||||
if ! use X; then
|
||||
rm -r jre/lib/$(get_system_arch)/xawt || die
|
||||
fi
|
||||
|
||||
# Don't hide classes
|
||||
rm lib/ct.sym || die
|
||||
|
||||
#402507
|
||||
mkdir jre/.systemPrefs || die
|
||||
touch jre/.systemPrefs/.system.lock || die
|
||||
touch jre/.systemPrefs/.systemRootModFile || die
|
||||
|
||||
# doins can't handle symlinks.
|
||||
cp -vRP bin include jre lib man "${ddest}" || die
|
||||
|
||||
dodoc ASSEMBLY_EXCEPTION THIRD_PARTY_README
|
||||
|
||||
if use doc; then
|
||||
# java-pkg_dohtml needed for package-list #302654
|
||||
java-pkg_dohtml -A dtd -r ../docs/* || die
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
dodir "${dest}/share"
|
||||
cp -vRP demo sample "${ddest}/share/" || die
|
||||
fi
|
||||
|
||||
if use source; then
|
||||
cp src.zip "${ddest}" || die
|
||||
fi
|
||||
|
||||
# provided by icedtea-web but we need it in JAVA_HOME to work with run-java-tool
|
||||
if use webstart || use nsplugin; then
|
||||
dosym /usr/libexec/icedtea-web/itweb-settings ${dest}/bin/itweb-settings
|
||||
dosym /usr/libexec/icedtea-web/itweb-settings ${dest}/jre/bin/itweb-settings
|
||||
fi
|
||||
if use webstart; then
|
||||
dosym /usr/libexec/icedtea-web/javaws ${dest}/bin/javaws
|
||||
dosym /usr/libexec/icedtea-web/javaws ${dest}/jre/bin/javaws
|
||||
fi
|
||||
|
||||
# Fix the permissions.
|
||||
find "${ddest}" \! -type l \( -perm /111 -exec chmod 755 {} \; -o -exec chmod 644 {} \; \) || die
|
||||
|
||||
# Needs to be done before generating cacerts
|
||||
java-vm_set-pax-markings "${ddest}"
|
||||
|
||||
# We need to generate keystore - bug #273306
|
||||
einfo "Generating cacerts file from certificates in ${EPREFIX}/usr/share/ca-certificates/"
|
||||
mkdir "${T}/certgen" && cd "${T}/certgen" || die
|
||||
cp "${FILESDIR}/generate-cacerts.pl" . && chmod +x generate-cacerts.pl || die
|
||||
for c in "${EPREFIX}"/usr/share/ca-certificates/*/*.crt; do
|
||||
openssl x509 -text -in "${c}" >> all.crt || die
|
||||
done
|
||||
./generate-cacerts.pl "${ddest}/bin/keytool" all.crt || die
|
||||
cp -vRP cacerts "${ddest}/jre/lib/security/" || die
|
||||
chmod 644 "${ddest}/jre/lib/security/cacerts" || die
|
||||
|
||||
# OpenJDK7 should be able to use fontconfig instead, but wont hurt to
|
||||
# install it anyway. Bug 390663
|
||||
cp "${FILESDIR}"/fontconfig.Gentoo.properties.src "${T}"/fontconfig.Gentoo.properties || die
|
||||
eprefixify "${T}"/fontconfig.Gentoo.properties
|
||||
insinto "${dest}"/jre/lib
|
||||
doins "${T}"/fontconfig.Gentoo.properties
|
||||
|
||||
set_java_env "${FILESDIR}/icedtea.env"
|
||||
if ! use X || ! use alsa || ! use cups; then
|
||||
java-vm_revdep-mask "${dest}"
|
||||
fi
|
||||
java-vm_sandbox-predict /proc/self/coredump_filter
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if has_version "<=dev-java/icedtea-7.2.0:7"; then
|
||||
# portage would preserve the symlink otherwise, related to bug #384397
|
||||
rm -f "${EROOT}/usr/lib/jvm/icedtea7"
|
||||
elog "To unify the layout and simplify scripts, the identifier of Icedtea-7*"
|
||||
elog "has changed from 'icedtea7' to 'icedtea-7' starting from version 7.2.0-r1"
|
||||
elog "If you had icedtea7 as system VM, the change should be automatic, however"
|
||||
elog "build VM settings in /etc/java-config-2/build/jdk.conf are not changed"
|
||||
elog "and the same holds for any user VM settings. Sorry for the inconvenience."
|
||||
fi
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST secp256k1-v0.0.0_pre20141212.tgz 60007 SHA256 f5d3a7cac425caf64040395d99c1a91ab2ca1c973b228a66772ba4a290f355ce SHA512 ab2a211c1bf882ebb62e78891e4e12c3ed7244d46d532e37ff2a669ba08db8dcafec7b4c57c073310e463957fd2fa0dffb940c4f35b61890cb8ce86d4283f0f6 WHIRLPOOL 3aa8b7545ca24028ceb17e770fdbf997e2895212ec25a193fcd926660e78f16d704bf27a5b1aa7cf3cabe643c33b128bf0b0568172c15833eb82fcc58e5941c1
|
@ -0,0 +1,289 @@
|
||||
diff --git a/build-aux/m4/bitcoin_secp.m4 b/build-aux/m4/bitcoin_secp.m4
|
||||
index 1373478..4a398d6 100644
|
||||
--- a/build-aux/m4/bitcoin_secp.m4
|
||||
+++ b/build-aux/m4/bitcoin_secp.m4
|
||||
@@ -1,12 +1,6 @@
|
||||
dnl libsecp25k1 helper checks
|
||||
AC_DEFUN([SECP_INT128_CHECK],[
|
||||
has_int128=$ac_cv_type___int128
|
||||
-if test x"$has_int128" != x"yes" && test x"$set_field" = x"64bit"; then
|
||||
- AC_MSG_ERROR([$set_field field support explicitly requested but is not compatible with this host])
|
||||
-fi
|
||||
-if test x"$has_int128" != x"yes" && test x"$set_scalar" = x"64bit"; then
|
||||
- AC_MSG_ERROR([$set_scalar scalar support explicitly requested but is not compatible with this host])
|
||||
-fi
|
||||
])
|
||||
|
||||
dnl
|
||||
@@ -18,11 +12,6 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
||||
__asm__ __volatile__("movq $0x100000000,%1; mulq %%rsi" : "+a"(a) : "S"(tmp) : "cc", "%rdx");
|
||||
]])],[has_64bit_asm=yes],[has_64bit_asm=no])
|
||||
AC_MSG_RESULT([$has_64bit_asm])
|
||||
-if test x"$set_field" == x"64bit_asm"; then
|
||||
- if test x"$has_64bit_asm" == x"no"; then
|
||||
- AC_MSG_ERROR([$set_field field support explicitly requested but no x86_64 assembly available])
|
||||
- fi
|
||||
-fi
|
||||
])
|
||||
|
||||
dnl
|
||||
@@ -43,7 +32,7 @@ else
|
||||
)])
|
||||
LIBS=
|
||||
fi
|
||||
-if test x"$has_libcrypto" == x"yes" && test x"$has_openssl_ec" = x; then
|
||||
+if test x"$has_libcrypto" = x"yes" && test x"$has_openssl_ec" = x; then
|
||||
AC_MSG_CHECKING(for EC functions in libcrypto)
|
||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
||||
#include <openssl/ec.h>
|
||||
@@ -69,11 +58,4 @@ if test x"$has_gmp" != x"yes"; then
|
||||
CPPFLAGS="$CPPFLAGS_TEMP"
|
||||
LIBS="$LIBS_TEMP"
|
||||
fi
|
||||
-if test x"$set_field" = x"gmp" && test x"$has_gmp" != x"yes"; then
|
||||
- AC_MSG_ERROR([$set_field field support explicitly requested but libgmp was not found])
|
||||
-fi
|
||||
-if test x"$set_bignum" = x"gmp" && test x"$has_gmp" != x"yes"; then
|
||||
- AC_MSG_ERROR([$set_bignum field support explicitly requested but libgmp was not found])
|
||||
-fi
|
||||
])
|
||||
-
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 40e121e..bd99013 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -23,7 +23,7 @@ if test "x$CFLAGS" = "x"; then
|
||||
fi
|
||||
|
||||
AC_PROG_CC_C99
|
||||
-if test x"$ac_cv_prog_cc_c99" == x"no"; then
|
||||
+if test x"$ac_cv_prog_cc_c99" = x"no"; then
|
||||
AC_MSG_ERROR([c99 compiler support required])
|
||||
fi
|
||||
|
||||
@@ -96,15 +96,18 @@ AC_ARG_ENABLE(endomorphism,
|
||||
[use_endomorphism=$enableval],
|
||||
[use_endomorphism=no])
|
||||
|
||||
-AC_ARG_WITH([field], [AS_HELP_STRING([--with-field=gmp|64bit|64bit_asm|32bit|auto],
|
||||
+AC_ARG_WITH([field], [AS_HELP_STRING([--with-field=gmp|64bit|32bit|auto],
|
||||
[Specify Field Implementation. Default is auto])],[req_field=$withval], [req_field=auto])
|
||||
|
||||
-AC_ARG_WITH([bignum], [AS_HELP_STRING([--with-bignum=gmp|none|auto],
|
||||
+AC_ARG_WITH([bignum], [AS_HELP_STRING([--with-bignum=gmp|no|auto],
|
||||
[Specify Bignum Implementation. Default is auto])],[req_bignum=$withval], [req_bignum=auto])
|
||||
|
||||
AC_ARG_WITH([scalar], [AS_HELP_STRING([--with-scalar=64bit|32bit|auto],
|
||||
[Specify scalar implementation. Default is auto])],[req_scalar=$withval], [req_scalar=auto])
|
||||
|
||||
+AC_ARG_WITH([asm], [AS_HELP_STRING([--with-asm=x86_64|no|auto]
|
||||
+[Specify assembly optimizations to use. Default is auto])],[req_asm=$withval], [req_asm=auto])
|
||||
+
|
||||
AC_CHECK_TYPES([__int128])
|
||||
|
||||
AC_MSG_CHECKING([for __builtin_expect])
|
||||
@@ -113,40 +116,66 @@ AC_COMPILE_IFELSE([AC_LANG_SOURCE([[void myfunc() {__builtin_expect(0,0);}]])],
|
||||
[ AC_MSG_RESULT([no])
|
||||
])
|
||||
|
||||
-if test x"$req_field" = x"auto"; then
|
||||
+if test x"$req_asm" = x"auto"; then
|
||||
SECP_64BIT_ASM_CHECK
|
||||
if test x"$has_64bit_asm" = x"yes"; then
|
||||
- set_field=64bit_asm
|
||||
+ set_asm=x86_64
|
||||
+ fi
|
||||
+ if test x"$set_asm" = x; then
|
||||
+ set_asm=no
|
||||
fi
|
||||
+else
|
||||
+ set_asm=$req_asm
|
||||
+ case $set_asm in
|
||||
+ x86_64)
|
||||
+ SECP_64BIT_ASM_CHECK
|
||||
+ if test x"$has_64bit_asm" != x"yes"; then
|
||||
+ AC_MSG_ERROR([x86_64 assembly optimization requested but not available])
|
||||
+ fi
|
||||
+ ;;
|
||||
+ no)
|
||||
+ ;;
|
||||
+ *)
|
||||
+ AC_MSG_ERROR([invalid assembly optimization selection])
|
||||
+ ;;
|
||||
+ esac
|
||||
+fi
|
||||
|
||||
+if test x"$req_field" = x"auto"; then
|
||||
+ if test x"set_asm" = x"x86_64"; then
|
||||
+ set_field=64bit
|
||||
+ fi
|
||||
if test x"$set_field" = x; then
|
||||
SECP_INT128_CHECK
|
||||
if test x"$has_int128" = x"yes"; then
|
||||
set_field=64bit
|
||||
fi
|
||||
fi
|
||||
-
|
||||
if test x"$set_field" = x; then
|
||||
SECP_GMP_CHECK
|
||||
if test x"$has_gmp" = x"yes"; then
|
||||
set_field=gmp
|
||||
fi
|
||||
fi
|
||||
-
|
||||
if test x"$set_field" = x; then
|
||||
set_field=32bit
|
||||
fi
|
||||
else
|
||||
set_field=$req_field
|
||||
case $set_field in
|
||||
- 64bit_asm)
|
||||
- SECP_64BIT_ASM_CHECK
|
||||
- ;;
|
||||
64bit)
|
||||
- SECP_INT128_CHECK
|
||||
+ if test x"$set_asm" != x"x86_64"; then
|
||||
+ SECP_INT128_CHECK
|
||||
+ if test x"$has_int128" != x"yes"; then
|
||||
+ AC_MSG_ERROR([64bit field explicitly requested but neither __int128 support or x86_64 assembly available])
|
||||
+ fi
|
||||
+ fi
|
||||
;;
|
||||
gmp)
|
||||
SECP_GMP_CHECK
|
||||
+ if test x"$has_gmp" != x"yes"; then
|
||||
+ AC_MSG_ERROR([gmp field explicitly requested but libgmp not available])
|
||||
+ fi
|
||||
;;
|
||||
32bit)
|
||||
;;
|
||||
@@ -157,11 +186,9 @@ else
|
||||
fi
|
||||
|
||||
if test x"$req_scalar" = x"auto"; then
|
||||
- if test x"$set_scalar" = x; then
|
||||
- SECP_INT128_CHECK
|
||||
- if test x"$has_int128" = x"yes"; then
|
||||
- set_scalar=64bit
|
||||
- fi
|
||||
+ SECP_INT128_CHECK
|
||||
+ if test x"$has_int128" = x"yes"; then
|
||||
+ set_scalar=64bit
|
||||
fi
|
||||
if test x"$set_scalar" = x; then
|
||||
set_scalar=32bit
|
||||
@@ -171,6 +198,9 @@ else
|
||||
case $set_scalar in
|
||||
64bit)
|
||||
SECP_INT128_CHECK
|
||||
+ if test x"$has_int128" != x"yes"; then
|
||||
+ AC_MSG_ERROR([64bit scalar explicitly requested but __int128 support not available])
|
||||
+ fi
|
||||
;;
|
||||
32bit)
|
||||
;;
|
||||
@@ -187,15 +217,18 @@ if test x"$req_bignum" = x"auto"; then
|
||||
fi
|
||||
|
||||
if test x"$set_bignum" = x; then
|
||||
- set_bignum=none
|
||||
+ set_bignum=no
|
||||
fi
|
||||
else
|
||||
set_bignum=$req_bignum
|
||||
case $set_bignum in
|
||||
gmp)
|
||||
SECP_GMP_CHECK
|
||||
+ if test x"$has_gmp" != x"yes"; then
|
||||
+ AC_MSG_ERROR([gmp bignum explicitly requested but libgmp not available])
|
||||
+ fi
|
||||
;;
|
||||
- none)
|
||||
+ no)
|
||||
;;
|
||||
*)
|
||||
AC_MSG_ERROR([invalid bignum implementation selection])
|
||||
@@ -203,14 +236,21 @@ else
|
||||
esac
|
||||
fi
|
||||
|
||||
+# select assembly optimization
|
||||
+case $set_asm in
|
||||
+x86_64)
|
||||
+ AC_DEFINE(USE_ASM_X86_64, 1, [Define this symbol to enable x86_64 assembly optimizations])
|
||||
+ ;;
|
||||
+no)
|
||||
+ ;;
|
||||
+*)
|
||||
+ AC_MSG_ERROR([invalid assembly optimizations])
|
||||
+ ;;
|
||||
+esac
|
||||
+
|
||||
# select field implementation
|
||||
case $set_field in
|
||||
-64bit_asm)
|
||||
- AC_DEFINE(USE_FIELD_5X52_ASM, 1, [Define this symbol to use the assembly version for the 5x52 field implementation])
|
||||
- AC_DEFINE(USE_FIELD_5X52, 1, [Define this symbol to use the FIELD_5X52 implementation])
|
||||
- ;;
|
||||
64bit)
|
||||
- AC_DEFINE(USE_FIELD_5X52_INT128, 1, [Define this symbol to use the __int128 version for the 5x52 field implementation])
|
||||
AC_DEFINE(USE_FIELD_5X52, 1, [Define this symbol to use the FIELD_5X52 implementation])
|
||||
;;
|
||||
gmp)
|
||||
@@ -233,7 +273,7 @@ gmp)
|
||||
AC_DEFINE(USE_FIELD_INV_NUM, 1, [Define this symbol to use the num-based field inverse implementation])
|
||||
AC_DEFINE(USE_SCALAR_INV_NUM, 1, [Define this symbol to use the num-based scalar inverse implementation])
|
||||
;;
|
||||
-none)
|
||||
+no)
|
||||
AC_DEFINE(USE_NUM_NONE, 1, [Define this symbol to use no num implementation])
|
||||
AC_DEFINE(USE_FIELD_INV_BUILTIN, 1, [Define this symbol to use the native field inverse implementation])
|
||||
AC_DEFINE(USE_SCALAR_INV_BUILTIN, 1, [Define this symbol to use the native scalar inverse implementation])
|
||||
@@ -258,7 +298,7 @@ esac
|
||||
|
||||
if test x"$use_tests" = x"yes"; then
|
||||
SECP_OPENSSL_CHECK
|
||||
- if test x"$has_openssl_ec" == x"yes"; then
|
||||
+ if test x"$has_openssl_ec" = x"yes"; then
|
||||
AC_DEFINE(ENABLE_OPENSSL_TESTS, 1, [Define this symbol if OpenSSL EC functions are available])
|
||||
SECP_TEST_INCLUDES="$SSL_CFLAGS $CRYPTO_CFLAGS"
|
||||
SECP_TEST_LIBS="$CRYPTO_LIBS"
|
||||
@@ -281,9 +321,11 @@ if test x"$use_endomorphism" = x"yes"; then
|
||||
AC_DEFINE(USE_ENDOMORPHISM, 1, [Define this symbol to use endomorphism optimization])
|
||||
fi
|
||||
|
||||
+AC_MSG_NOTICE([Using assembly optimizations: $set_asm])
|
||||
AC_MSG_NOTICE([Using field implementation: $set_field])
|
||||
AC_MSG_NOTICE([Using bignum implementation: $set_bignum])
|
||||
AC_MSG_NOTICE([Using scalar implementation: $set_scalar])
|
||||
+AC_MSG_NOTICE([Using endomorphism optimizations: $use_endomorphism])
|
||||
|
||||
AC_CONFIG_HEADERS([src/libsecp256k1-config.h])
|
||||
AC_CONFIG_FILES([Makefile libsecp256k1.pc])
|
||||
@@ -291,7 +333,6 @@ AC_SUBST(SECP_INCLUDES)
|
||||
AC_SUBST(SECP_LIBS)
|
||||
AC_SUBST(SECP_TEST_LIBS)
|
||||
AC_SUBST(SECP_TEST_INCLUDES)
|
||||
-AM_CONDITIONAL([USE_ASM], [test x"$set_field" == x"64bit_asm"])
|
||||
AM_CONDITIONAL([USE_TESTS], [test x"$use_tests" != x"no"])
|
||||
AM_CONDITIONAL([USE_BENCHMARK], [test x"$use_benchmark" != x"no"])
|
||||
|
||||
diff --git a/src/field_5x52_impl.h b/src/field_5x52_impl.h
|
||||
index 63176d6..a045db3 100644
|
||||
--- a/src/field_5x52_impl.h
|
||||
+++ b/src/field_5x52_impl.h
|
||||
@@ -16,12 +16,10 @@
|
||||
#include "num.h"
|
||||
#include "field.h"
|
||||
|
||||
-#if defined(USE_FIELD_5X52_ASM)
|
||||
+#if defined(USE_ASM_X86_64)
|
||||
#include "field_5x52_asm_impl.h"
|
||||
-#elif defined(USE_FIELD_5X52_INT128)
|
||||
-#include "field_5x52_int128_impl.h"
|
||||
#else
|
||||
-#error "Please select field_5x52 implementation"
|
||||
+#include "field_5x52_int128_impl.h"
|
||||
#endif
|
||||
|
||||
/** Implements arithmetic modulo FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFE FFFFFC2F,
|
@ -0,0 +1,74 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20141212.ebuild,v 1.1 2015/02/23 21:46:44 blueness Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools eutils
|
||||
|
||||
MyPN=secp256k1
|
||||
DESCRIPTION="Optimized C library for EC operations on curve secp256k1"
|
||||
HOMEPAGE="https://github.com/bitcoin/${MyPN}"
|
||||
COMMITHASH="2a53a472f24acd9ff10878b5bf21b5b27ab8060a"
|
||||
SRC_URI="https://github.com/bitcoin/${MyPN}/archive/${COMMITHASH}.tar.gz -> ${MyPN}-v${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="asm doc endomorphism gmp test"
|
||||
|
||||
REQUIRED_USE="
|
||||
asm? ( amd64 )
|
||||
"
|
||||
RDEPEND="
|
||||
gmp? ( dev-libs/gmp )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
>=sys-devel/gcc-4.7
|
||||
test? ( dev-libs/openssl )
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MyPN}-${COMMITHASH}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/20141212-fixes.patch"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local field
|
||||
if use gmp && ! use asm; then
|
||||
field=gmp
|
||||
elif use amd64; then
|
||||
field=64bit
|
||||
else
|
||||
field=32bit
|
||||
fi
|
||||
|
||||
econf \
|
||||
--disable-benchmark \
|
||||
$(use_enable test tests) \
|
||||
$(use_enable endomorphism) \
|
||||
--with-asm=$(usex asm auto no) \
|
||||
--with-bignum=$(usex gmp gmp no) \
|
||||
--with-field=${field} \
|
||||
--disable-static
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use doc; then
|
||||
dodoc README.md
|
||||
fi
|
||||
|
||||
emake DESTDIR="${D}" install
|
||||
prune_libtool_files
|
||||
}
|
@ -0,0 +1,91 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lisp/ecls/ecls-15.2.21.ebuild,v 1.1 2015/02/23 22:46:07 grozin Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils multilib
|
||||
|
||||
# test phase only works if ecls already installed #516876
|
||||
RESTRICT="test"
|
||||
|
||||
MY_P=ecl-${PV}
|
||||
|
||||
DESCRIPTION="ECL is an embeddable Common Lisp implementation"
|
||||
HOMEPAGE="http://ecls.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tgz"
|
||||
|
||||
LICENSE="BSD LGPL-2"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE="debug emacs gengc precisegc cpu_flags_x86_sse +threads +unicode +libatomic X"
|
||||
|
||||
CDEPEND="dev-libs/gmp:0
|
||||
virtual/libffi
|
||||
libatomic? ( dev-libs/libatomic_ops )
|
||||
>=dev-libs/boehm-gc-7.1[threads?]
|
||||
>=dev-lisp/asdf-2.33-r3:="
|
||||
DEPEND="${CDEPEND}
|
||||
app-text/texi2html
|
||||
emacs? ( virtual/emacs >=app-admin/eselect-emacs-1.12 )"
|
||||
RDEPEND="${CDEPEND}"
|
||||
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
pkg_setup () {
|
||||
if use gengc || use precisegc ; then
|
||||
ewarn "You have enabled the generational garbage collector or"
|
||||
ewarn "the precise collection routines. These features are not very stable"
|
||||
ewarn "at the moment and may cause crashes."
|
||||
ewarn "Don't enable them unless you know what you're doing."
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PV}-headers-gentoo.patch
|
||||
cp "${EPREFIX}"/usr/share/common-lisp/source/asdf/build/asdf.lisp contrib/asdf/ || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--with-system-gmp \
|
||||
--enable-boehm=system \
|
||||
--enable-longdouble=yes \
|
||||
--with-dffi \
|
||||
$(use_enable gengc) \
|
||||
$(use_enable precisegc) \
|
||||
$(use_with debug debug-cflags) \
|
||||
$(use_enable libatomic libatomic system) \
|
||||
$(use_with cpu_flags_x86_sse sse) \
|
||||
$(use_enable threads) \
|
||||
$(use_with threads __thread) \
|
||||
$(use_enable unicode) \
|
||||
$(use_with unicode unicode-names) \
|
||||
$(use_with X x) \
|
||||
$(use_with X clx)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if use emacs; then
|
||||
local ETAGS=$(eselect --brief etags list | sed -ne '/emacs/{p;q}')
|
||||
[[ -n ${ETAGS} ]] || die "No etags implementation found"
|
||||
pushd build > /dev/null || die
|
||||
emake ETAGS=${ETAGS} TAGS
|
||||
popd > /dev/null
|
||||
else
|
||||
touch build/TAGS
|
||||
fi
|
||||
|
||||
#parallel make fails
|
||||
emake -j1 || die "Compilation failed"
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake DESTDIR="${D}" install || die "Installation failed"
|
||||
|
||||
dodoc ANNOUNCEMENT Copyright
|
||||
dodoc "${FILESDIR}"/README.Gentoo
|
||||
pushd build/doc
|
||||
newman ecl.man ecl.1
|
||||
newman ecl-config.man ecl-config.1
|
||||
popd
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/IO-Socket-SSL/IO-Socket-SSL-2.12.0.ebuild,v 1.1 2015/02/23 23:44:29 dilfridge Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=SULLR
|
||||
MODULE_VERSION=2.012
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Nearly transparent SSL encapsulation for IO::Socket::INET"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="idn"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-perl/Net-SSLeay-1.330.0
|
||||
virtual/perl-Scalar-List-Utils
|
||||
idn? (
|
||||
|| (
|
||||
>=dev-perl/URI-1.50
|
||||
dev-perl/Net-LibIDN
|
||||
)
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
"
|
||||
|
||||
SRC_TEST="do"
|
@ -1,3 +1,4 @@
|
||||
DIST IO-Socket-SSL-1.953.tar.gz 89807 SHA256 4fa57c9385999e942a1f296b9f45c387a78bccb40db574585b38a9da5736a3d1 SHA512 062a75b44dc4075d64412c22dbab28b8cccc4b396bb3a18eb8c5b27b44853cec89f34cea0b82226070fc3b0a68ede00c9d5117f89e0b6e9ffc9322afa55cae94 WHIRLPOOL 390d3db13d0243344106793ddfd2ffbed128243658d7150aeb45141c96b141d1f773a4e2ae4c8e48ee17d94b6386e6f1b2effc28b41f220712e58820b252cad8
|
||||
DIST IO-Socket-SSL-1.967.tar.gz 97036 SHA256 d9ee42bf667ac92732e8c35d3930757fad6b8996d24a5e5b8eeb6250ba411299 SHA512 4705fa2d641030ad10d5d2f7e1a7aecac6da8b06c3b19c13c3c8d1396a91332e829c3d211a29d3db2d8d1db57d413a03db90df43f231169be335fcc728e28358 WHIRLPOOL 03c3d6e15b9a3c6808d94d27fc53bc6960ea0e2d68cc2d3689a1cd587b8aaacb3092146254deb0386e2608463e0535fced7c7ddffeb3eb3bded00442a74b497e
|
||||
DIST IO-Socket-SSL-1.998.tar.gz 187327 SHA256 73c976ec288341f5ab30305590658b563a91f1af1ec3c3f531adbb434741711c SHA512 5faab280ab2d7ecef348ce70382302d482478aacb6e3e3d36b8c805e4d4446bbc924ea257c039f76be16f1fc29ff1f832d67bc4a7ed1bc535e329179c3ac6148 WHIRLPOOL b43b3f4f536583c63eb9f89761c341cd62e32cd2b6bd518d7a0831076b0b7145e97e10b296290205c9394bcbb17eae196c91e7e66d31d54e65faff4cf6d910e1
|
||||
DIST IO-Socket-SSL-2.012.tar.gz 193636 SHA256 02bd7f17ceb492e396eca6627f50aaa2a3ddfcb5bfa3889ddf145383b0b179d9 SHA512 b77e89ec83ff78e59d8f11fde9f268ae47cc1a090338c3d17855cb6043120b9ce29867e297e5b7b83c0c98af37b9672826748b21f75dea50beecc7deb5a9f1ae WHIRLPOOL 4d4464c9807ed1a971c6aca7663130de2ee0df37af88ee5cada7fff43f0eb8d211e5a3afb3c33c37d2d46c2852718bdd83266a60e04298a32ea9494dc3df30ac
|
||||
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/JSON/JSON-2.900.0.ebuild,v 1.1 2015/02/24 00:37:36 dilfridge Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=MAKAMAKA
|
||||
MODULE_VERSION=2.90
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="JSON (JavaScript Object Notation) encoder/decoder"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
test? ( virtual/perl-Test-Simple )
|
||||
"
|
||||
|
||||
SRC_TEST="do"
|
@ -1 +1,2 @@
|
||||
DIST JSON-2.59.tar.gz 83997 SHA256 349b191b624474245648f4e8810463433ac8065cc7a44171634902ba113cda6d SHA512 141003524e5b5187abdcf935bf16807dfab6d770add373cc571b8b137015f9e29966e5836a38f523147259d573534b1f50048acac712389939de6e67cb1e78f9 WHIRLPOOL 7a47e4d59dc5f848405349588a750a99847848f7673d194521b2bd6788b4aeb6fccd973678790a97ce3fc058576e04e43c12c50177af2865ef533a0c1be73d12
|
||||
DIST JSON-2.90.tar.gz 85333 SHA256 4ddbb3cb985a79f69a34e7c26cde1c81120d03487e87366f9a119f90f7bdfe88 SHA512 72462a468aa37da73d164c91b5123c237c268f87215019fae49b7f212b0a25e0b48cd57b3cf0bd93c9fff6afc553b2417faafc0c319e62cb0cf4b1cf432698e7 WHIRLPOOL b737d158dbbeb516c6208b91f9aeea33f557d4f6ee17beb92d148c47c5ee23e7bf6fc6132db557c39eb95c13b209e7b0d73cbefdefb1578de7572e5bf1b0f02c
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST Module-Install-1.06.tar.gz 135467 SHA256 de9ec8395b3b497d6d9629859b54086643c3911dff80cc7e0e22b380cb194519 SHA512 0bc90ee5e53923af7d1bf0359587762c4a79cc35608ff38e9c4a3bb0e3fb122a596a29c3cc6e91c75e7c7670d65683ce9cb2510ca39d889676fb88c038e444fa WHIRLPOOL 022e7668c8a3190f23720d7b9f0bbe8c4a6e4f79a498d7edefe3e55f796c819f2ca3695ede05bfa61b7c2986cb8dbcc710c80e67048f6616cd7102ddba2ac1c6
|
||||
DIST Module-Install-1.12.tar.gz 128175 SHA256 3ba58f4ab7dea442501550372dfa1a72f6a6652af6fbea8a04b31adb181d5503 SHA512 b988e6cf66a592319e441210574ecdd616849b44ce02dacf03f9186122905e1e9eace6dbc35c04539beab233bc9f7783d73121711893dcc1113617c4723ec351 WHIRLPOOL 61bf310b284c6c58a8b7bd836dbbcfd4c132857018f6be559c23b6ff700a38149d624500a7d09da9d1d9f4fd24adc87817e6eaeffdbe6b72e7ec8d5fa50fc26a
|
||||
DIST Module-Install-1.14.tar.gz 128795 SHA256 3f02f0a33603aff2f5cf06d15f74d1a9be65e844ada99e1a9c2102330ffa0d49 SHA512 2a2c8686b8a5b8aba6314d8434a75dca75e692d1e251bad9287fd9555bf62c5bdab52e88a64d6723f4b9bfe6b57958496869d5fbb35ca45adba4c75fd9d5cf9f WHIRLPOOL 99fb42ab9cf4211c6d41931015402f49a71d7c9d0117c5247fd4cdc7955c5e003ec64b4c37d2208f4179bc65600476a7e4a78572c2a48d50665ca69198958844
|
||||
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Module-Install/Module-Install-1.140.0.ebuild,v 1.1 2015/02/24 00:39:14 dilfridge Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=BINGOS
|
||||
MODULE_VERSION=1.14
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Standalone, extensible Perl module installer"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/perl-Devel-PPPort-3.160.0
|
||||
>=virtual/perl-ExtUtils-Install-1.520.0
|
||||
>=virtual/perl-ExtUtils-MakeMaker-6.590.0
|
||||
>=virtual/perl-ExtUtils-ParseXS-2.190.0
|
||||
>=dev-perl/File-Remove-1.420.0
|
||||
>=virtual/perl-File-Spec-3.280.0
|
||||
>=virtual/perl-Module-Build-0.290.0
|
||||
>=virtual/perl-Module-CoreList-2.170.0
|
||||
>=dev-perl/Module-ScanDeps-1.90.0
|
||||
>=virtual/perl-Parse-CPAN-Meta-1.441.300
|
||||
>=dev-perl/YAML-Tiny-1.380.0
|
||||
>=dev-perl/Archive-Zip-1.370.0
|
||||
>=dev-perl/File-HomeDir-1
|
||||
>=dev-perl/JSON-2.900.0
|
||||
>=dev-perl/libwww-perl-6
|
||||
>=dev-perl/PAR-Dist-0.290.0
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
>=virtual/perl-ExtUtils-MakeMaker-6.590.0
|
||||
test? (
|
||||
>=virtual/perl-Test-Harness-3.130.0
|
||||
>=virtual/perl-Test-Simple-0.860.0
|
||||
)
|
||||
"
|
||||
|
||||
SRC_TEST=do
|
@ -1,3 +1,2 @@
|
||||
DIST MooX-Types-MooseLike-0.18.tar.gz 13239 SHA256 96abd7ad5b30393caf7cbd5d82cc1f1da859c728bb5b0d22d74fb818a8448f34 SHA512 338881cec8b15fd57263e2536faa58839715c8fc74b153d82582e619c3a0dcc410b88b8ed72e77f92101709bd7cc6dc6b83cc3dd1cf35f6ccce9f0577d407ca8 WHIRLPOOL 49a00ea5a86f67d48abb0b33acdb5e6f14647e922c42fdd9c24cd9561c88752329d378f54298a4af89cc7a799e52b44355b97240303404c8476543eae72ee349
|
||||
DIST MooX-Types-MooseLike-0.21.tar.gz 15730 SHA256 2b599d74d36f835ecc074d390f209bef3f7828f4fd4100936147363df40f27d5 SHA512 97ea40c29e6642442f3323d4bc6302ee7abf451561379ca5851dc51299e14e4e1ad41b4a5aab168419d83d5afffa1bad580aff27895953f515cd9783f322fb4f WHIRLPOOL 44a14f82444e69d1975dc0fa69289eb5becf5b1f3255c30bf1ba8d1fe1eb341f531a456a6c184563f7fbeedf28d57d618085b0bb74137d399154f76aa8055962
|
||||
DIST MooX-Types-MooseLike-0.25.tar.gz 15254 SHA256 33e26df9853ab429a2978d8131304b91b4baadce4b3a908863de44061e4b69c9 SHA512 0d80103fa8f6b2ac76669e3ee37e768fc03cd680db006e06be2ddcc8c1710d3c80909a4d1ee0c5c0a596e84a632e0bbd9176f50212cdf377f363137753e2f418 WHIRLPOOL fc92b5fe7fb8ac83c520b5679aed22d5be36bf21c59441afbafdd6ef2c9497b2aac585f670d88c7178b4522f54a57800dbb860bf7822d8a9a268e185bd5a3417
|
||||
DIST MooX-Types-MooseLike-0.27.tar.gz 15307 SHA256 ee35e2d85d48bb2785449a4fa42c67513e843c803a0d5074665f54a52b550991 SHA512 bfd221e2dd6b2f292b87b6bb3062fc00fa1f90426961c1c6de0dc266e0745e6ec3a3a9443aec006d8e999912c03f24a0735d01a3a4228803b556e14b608f2153 WHIRLPOOL e45a284cd90ee3833d8abaa85913a214d33859c01d9d5511ee0cfe67833ddc066b587ec03730fe63fc583b732c032ac0ef167705a0cfd1e188c737b3894dad74
|
||||
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/MooX-Types-MooseLike/MooX-Types-MooseLike-0.180.0.ebuild,v 1.1 2013/02/10 08:51:22 tove Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=MATEU
|
||||
MODULE_VERSION=0.18
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Some Moosish types and a type builder"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-perl/Module-Runtime-0.12.0
|
||||
>=dev-perl/Moo-0.91.10
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
>=dev-perl/Test-Fatal-0.3.0
|
||||
>=virtual/perl-Test-Simple-0.960.0
|
||||
)
|
||||
"
|
||||
|
||||
SRC_TEST=do
|
@ -1,11 +1,11 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/MooX-Types-MooseLike/MooX-Types-MooseLike-0.210.0.ebuild,v 1.1 2013/02/19 16:17:19 tove Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/MooX-Types-MooseLike/MooX-Types-MooseLike-0.270.0.ebuild,v 1.1 2015/02/24 00:16:50 dilfridge Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=MATEU
|
||||
MODULE_VERSION=0.21
|
||||
MODULE_VERSION=0.27
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Some Moosish types and a type builder"
|
@ -1 +1,2 @@
|
||||
DIST Net-Twitter-4.00006.tar.gz 126439 SHA256 cf1caaad7b6b5d5fa9abe98bbc2fb88625cdd9a9081ad60cc1e7ffb741b205e9 SHA512 746a4673a10758e9c3c250814d70834f8bd3517185b4790ce047e74a7acd81754eba13dceeada1feb3ca8d2d77a7343cdd24566f18f96e65e77e3e731fb60395 WHIRLPOOL 2dfb567df9e7fcf852d0333cefa725f1678a46bef7f17853c6a534d7a41882e6ff871466dd876da86629e430a12e974917ff10f7ad211ff4f4054dc794cca911
|
||||
DIST Net-Twitter-4.01008.tar.gz 129953 SHA256 3c42d3bd61d0850e86e65d1b144fdf137034a6ba509b1a6fb18641381ff85a25 SHA512 7fe7c68f0c8926f398c120ed3ed15e2aba69ec123495eec1fe7b517da7f60f5d192e6f682ee5d36b70ccf0ea55824318b9d74e4add261c93083fcca080d83c65 WHIRLPOOL 5bdea6922ed726a045b5da2e7c6987913f4dcfaa0e81b575a2665a0deaf9d55a2bd7bf6f2940fca8269a5a7d6f186be9f5ee033c207e712fd263b6cdb4c993cb
|
||||
|
@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Net-Twitter/Net-Twitter-4.10.80.ebuild,v 1.1 2015/02/23 23:45:13 dilfridge Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=MMIMS
|
||||
MODULE_VERSION=4.01008
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="A perl interface to the Twitter API"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~x64-macos"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-perl/Carp-Clan
|
||||
dev-perl/Class-Load
|
||||
dev-perl/Data-Visitor
|
||||
>=dev-perl/DateTime-0.51
|
||||
dev-perl/DateTime-Format-Strptime
|
||||
>=dev-perl/Devel-StackTrace-1.21
|
||||
virtual/perl-Digest-SHA
|
||||
virtual/perl-Encode
|
||||
dev-perl/HTML-Parser
|
||||
dev-perl/HTTP-Message
|
||||
>=dev-perl/IO-Socket-SSL-2.5.0
|
||||
dev-perl/JSON
|
||||
dev-perl/LWP-Protocol-https
|
||||
virtual/perl-Scalar-List-Utils
|
||||
>=dev-perl/Moose-0.94
|
||||
dev-perl/MooseX-Role-Parameterized
|
||||
dev-perl/Net-HTTP
|
||||
virtual/perl-libnet
|
||||
>=dev-perl/Net-OAuth-0.25
|
||||
virtual/perl-Time-HiRes
|
||||
>=dev-perl/Try-Tiny-0.03
|
||||
>=dev-perl/URI-1.40
|
||||
dev-perl/namespace-autoclean
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-Module-Build
|
||||
test? (
|
||||
virtual/perl-Carp
|
||||
virtual/perl-File-Spec
|
||||
virtual/perl-File-Temp
|
||||
dev-perl/libwww-perl
|
||||
dev-perl/Test-Fatal
|
||||
virtual/perl-Test-Simple
|
||||
dev-perl/Test-Warn
|
||||
)
|
||||
"
|
||||
|
||||
# online test
|
||||
SRC_TEST=skip
|
@ -0,0 +1 @@
|
||||
DIST jsonfield-1.0.3.tar.gz 7950 SHA256 7e7f73a675c518712badd783279e26d164140f3fc2ed7a32102c3d08a6a2a4a7 SHA512 b69b783266f593d40b588f8deb42828b36fe31f62aba0a80286a24fd788bbea543c74b0566a70fb336fb80105f488a16932bab417a01d3730fa89201f542deb0 WHIRLPOOL 456205636a57171ab952172233204e249b786138d2afc2be60e603399d6802122d19acdcad3fa2cb5df981368144b610668b12e14f9e51fff0994ce8e7e2c661
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/jsonfield/jsonfield-1.0.3.ebuild,v 1.1 2015/02/24 07:24:16 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Reusable Django field that allows you to store validated JSON in your model"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/jsonfield https://github.com/bradjasper/django-jsonfield"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="test? ( dev-python/django[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>jlec@gentoo.org</email>
|
||||
<name>Justin Lecher</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,94 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-keystoneclient/python-keystoneclient-1.1.0.ebuild,v 1.1 2015/02/24 04:48:08 alunduil Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 python3_3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Client Library for OpenStack Identity"
|
||||
HOMEPAGE="http://www.openstack.org/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~amd64-linux ~x86 ~x86-linux"
|
||||
IUSE="doc examples test"
|
||||
|
||||
# Note: blacklist version not in portage:
|
||||
#doc? ( !~dev-python/sphinx-1.3_preb1[${PYTHON_USEDEP}] )
|
||||
|
||||
CDEPEND="
|
||||
>=dev-python/pbr-0.6[${PYTHON_USEDEP}]
|
||||
!~dev-python/pbr-0.7[${PYTHON_USEDEP}]
|
||||
<dev-python/pbr-1.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
TCDEPEND="
|
||||
>=dev-python/lxml-2.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/mox3-0.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-mock-0.5.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/testresources-0.2.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/webob-1.2.3[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
${CDEPEND}
|
||||
test? (
|
||||
${TCDEPEND}
|
||||
<dev-python/hacking-0.11[${PYTHON_USEDEP}]
|
||||
>=dev-python/hacking-0.10.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/keyring-2.1[${PYTHON_USEDEP}]
|
||||
!~dev-python/keyring-3.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/oauthlib-0.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslotest-1.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycrypto-2.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-mock-0.5.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/testtools-0.9.36[${PYTHON_USEDEP}]
|
||||
!~dev-python/testtools-1.2.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
doc? (
|
||||
${TCDEPEND}
|
||||
>=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-sphinx-2.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
|
||||
!~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}]
|
||||
<dev-python/sphinx-1.3[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
>=dev-python/Babel-1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/iso8601-0.1.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/netaddr-0.7.12[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-config-1.6.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-i18n-1.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-serialization-1.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-utils-1.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/prettytable-0.7[${PYTHON_USEDEP}]
|
||||
<dev-python/prettytable-0.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.2.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/requests-2.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/stevedore-1.1.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
python_prepare_all() {
|
||||
use doc && esetup.py build_sphinx
|
||||
}
|
||||
|
||||
python_test() {
|
||||
rm -rf .testrepository || die "couldn't remove '.testrepository' under ${EPYTHON}"
|
||||
|
||||
testr init || die "testr init failed under ${EPYTHON}"
|
||||
testr run || die "testr run failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/build/html/. )
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST facter-1.7.6.gem 203776 SHA256 592ab025a91011b80a82cdc1a105a3b84e85d17c65154ee97478f02f745da45d SHA512 81ae55625a732e149699f79df0bf0c6d6b666b1eefa553af309dab8538d7c71651efd293f67ff1f8f732ac16d6025a9c64b22cd42081f8005c0afea4a0f84065 WHIRLPOOL 5a3ff8a56efa4bab2bbed6814050d7710dc1c7c0d962ff155a325b0614c27ed9fb761e80c3a3428925025bcef66299cc7a3f5a9a0f820319bf0e337a1025dec0
|
||||
DIST facter-2.2.0.gem 238592 SHA256 1003ebd3f368577a498d5cc8d2b402a4d0403b6a8c5349c561c468d1a9bf859e SHA512 4da0a60a70b7ccbc69027d85cb08338170086edc7dad3b91f1f2450ea77524114ebbc20a54e923aec5b0812b07368f7b0e3fbae2a0cb46fb166a338a2ef9f808 WHIRLPOOL 305ba16196f0bd49f8bb66162aff41a1325ec1feefb9ec244bf99a57e8bda0876faa11cecdca233c844c6d46e75925a7665e42366774b6c96a028b91f24d4368
|
||||
DIST facter-2.4.1.gem 236544 SHA256 4c8836066378d387c0561e4c3574865fa10d85d7474d472b049ecc7d5e4c67fa SHA512 5690f059961ba981d2e174f45ebdbb4e9b75aad3599cbc896f1c3d25f9b12c36500e09be70c36ebf27aed602c22d811604c344c7ccc71ecb200d4aeb78f28a4b WHIRLPOOL 1b6b4079b0449c646e06e9fd868b1de29a61facdacea956b032fbbef94e8c4c85594f50021b3f78a3668c5a0f6d29c448bd97c34fdb8a215de2ee74b164af6fd
|
||||
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/facter/facter-1.7.6.ebuild,v 1.8 2014/11/11 11:01:16 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19"
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
RUBY_FAKEGEM_BINWRAP="facter"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A cross-platform Ruby library for retrieving facts from operating systems"
|
||||
HOMEPAGE="http://www.puppetlabs.com/puppet/related-projects/facter/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="+dmi +pciutils"
|
||||
KEYWORDS="amd64 hppa ppc ppc64 sparc x86"
|
||||
|
||||
CDEPEND="
|
||||
sys-apps/net-tools
|
||||
sys-apps/lsb-release
|
||||
dmi? ( sys-apps/dmidecode )
|
||||
pciutils? ( sys-apps/pciutils )"
|
||||
|
||||
RDEPEND+=" ${CDEPEND}"
|
||||
DEPEND+=" test? ( ${CDEPEND} )"
|
||||
|
||||
RUBY_PATCHES=( )
|
||||
|
||||
ruby_add_bdepend "test? ( >=dev-ruby/mocha-0.10.5:0.10 )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Provide explicit path since /sbin is not in the default PATH on
|
||||
# Gentoo.
|
||||
sed -i -e 's:arp -an:/sbin/arp -an:' lib/facter/util/ec2.rb spec/unit/util/ec2_spec.rb || die
|
||||
|
||||
# Ensure the correct version of mocha is used without using bundler.
|
||||
sed -i -e '9igem "mocha", "~>0.10.5"' spec/spec_helper.rb || die
|
||||
}
|
@ -1,62 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/facter/facter-2.2.0.ebuild,v 1.9 2015/01/08 11:30:09 ago Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19 ruby20"
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
RUBY_FAKEGEM_BINWRAP="facter"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A cross-platform Ruby library for retrieving facts from operating systems"
|
||||
HOMEPAGE="http://www.puppetlabs.com/puppet/related-projects/facter/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="+dmi +pciutils +virt"
|
||||
#KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
|
||||
KEYWORDS="amd64 hppa ppc ppc64 sparc x86"
|
||||
|
||||
CDEPEND="
|
||||
app-emulation/virt-what
|
||||
sys-apps/net-tools
|
||||
sys-apps/lsb-release
|
||||
dmi? ( sys-apps/dmidecode )
|
||||
pciutils? ( sys-apps/pciutils )"
|
||||
|
||||
RDEPEND+=" ${CDEPEND}"
|
||||
DEPEND+=" test? ( ${CDEPEND} )"
|
||||
|
||||
#RUBY_PATCHES=( ${P}-fix-proc-self-status.patch )
|
||||
|
||||
ruby_add_bdepend "test? ( >=dev-ruby/mocha-0.10.5:0.10 )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Provide explicit path since /sbin is not in the default PATH on
|
||||
# Gentoo.
|
||||
sed -i -e 's:arp -an:/sbin/arp -an:' lib/facter/util/ec2.rb spec/unit/util/ec2_spec.rb || die
|
||||
|
||||
# Ensure the correct version of mocha is used without using bundler.
|
||||
sed -i -e '1igem "mocha", "~>0.10.5"' spec/spec_helper.rb || die
|
||||
|
||||
#removing because tests try to access outside stuffs
|
||||
#1) Facter::Util::Loader should load facts on the facter search path only once
|
||||
# Failure/Error: Facter::Util::Loader.new.load_all
|
||||
# Errno::EACCES:
|
||||
# Permission denied - /sys/block/
|
||||
|
||||
rm spec/unit/util/loader_spec.rb || die
|
||||
|
||||
sed -i -e '1irequire "rspec-expectations"' spec/puppetlabs_spec/matchers.rb || die
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
# Create the directory for custom facts.
|
||||
keepdir /etc/facter/facts.d
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST fxruby-1.6.25.gem 1422848 SHA256 1a2bd0e74e9138df8004ddec006a7dd99646c08d68892898f0d6238e33e47a12 SHA512 82a2914bf8c770eea5732f26ac10ace39918b82ae30b51b20d9e6d1100ab8853e70e3ad36f7cffdee708cb677314c04cf3324d6727ea8f28d403f7c10c4102a3 WHIRLPOOL 3acb162cdd26a79855d4b2e793f13ca9d5eb8df8aa8bdf3ab6e453268bda250ce6dbb0652cb4bede8690d3edecb23076b9e4719a8d5d39945ddae5eb0bd85cdc
|
||||
DIST fxruby-1.6.28.gem 1404928 SHA256 456bcec231af10e522a38e1e89bcaa762f26b6ae382ab95b565aab9965bccf76 SHA512 bd6783f0f0c82aa9d26b18d5c5fda5c21b035cb09b1704c7c5277b6776ad7a78b9434a5eb0c1bd11ed92ed9fb4f94a0119f97b7b4281c7932e19eda1f883ebd4 WHIRLPOOL 709ff8c9171d41de9996b4544c22f6b1d24a8ea1c0fd9c0fb7cb019bbb1a81c7563e9b120ec70d7565b123d4ddbab63de7dcb04255ac3d5c1c939db84b6410a9
|
||||
DIST fxruby-1.6.29.gem 1894400 SHA256 d6e81d984a27e9abb9f51097a796b0d082ef08d186d2da8e1b948125a9ddb22e SHA512 5438ae48b1e95ef1247c214d44a8334ce54fd8396a7348de4796ab309a554014bd4f82e4a738d9192fe792d4decb91118f66e11e68e38d4a0620be33258b1823 WHIRLPOOL 5cf110f5a7c70ab14c047fb47a2554706adbf978faa46fec625f74651e3397b724e35c8dd805aae20884c826bc9bb17a82bd1891c21a1c08830135bac0602fe2
|
||||
|
@ -0,0 +1,76 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fxruby/fxruby-1.6.29.ebuild,v 1.1 2015/02/24 07:08:21 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_NAME="fxruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="History.txt index.html README.rdoc TODO"
|
||||
|
||||
inherit multilib virtualx ruby-fakegem toolchain-funcs
|
||||
|
||||
DESCRIPTION="Ruby language binding to the FOX GUI toolkit"
|
||||
HOMEPAGE="http://www.fxruby.org/"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="1.6"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd"
|
||||
IUSE="examples doc"
|
||||
|
||||
CDEPEND="x11-libs/fox:1.6 >=x11-libs/fxscintilla-1.62-r1"
|
||||
DEPEND="${DEPEND} ${CDEPEND} dev-lang/swig"
|
||||
RDEPEND="${RDEPEND} ${CDEPEND}"
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/ruby-opengl )"
|
||||
|
||||
ruby_add_bdepend "doc? ( dev-ruby/rdoc )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/\[:compile\]/d' Rakefile || die
|
||||
einfo "Avoid -O0 builds"
|
||||
sed -i -e 's:-O0 -I:-I:' \
|
||||
ext/fox16_c/extconf.rb || die "Can't fix forced -O0"
|
||||
|
||||
# Use a more modern swig.
|
||||
sed -i -e 's/swig-1.3.22/swig/g' Rakefile || die
|
||||
|
||||
# Remove failing tests. We did not run tests before so this is not a
|
||||
# regression for now.
|
||||
rm test/TC_FXFileStream.rb test/TC_FXId.rb test/TC_FXMainWindow.rb test/TC_FXMaterial.rb || die
|
||||
}
|
||||
|
||||
each_ruby_configure() {
|
||||
${RUBY} -Cext/fox16_c extconf.rb || die
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
CXX=$(tc-getCXX) emake V=1 -Cext/fox16_c || die
|
||||
cp ext/fox16_c/fox16_c$(get_modname) lib/ || die
|
||||
}
|
||||
|
||||
all_ruby_compile() {
|
||||
all_fakegem_compile
|
||||
|
||||
rdoc --main rdoc-sources/README.rdoc --exclude ext/fox16_c --exclude "/aliases|kwargs|missingdep|responder/" || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
VIRTUALX_COMMAND=${RUBY} virtualmake -S testrb -Ilib test/TC_*.rb || die
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
if use examples; then
|
||||
for dir in sample samples example examples; do
|
||||
if [ -d ${dir} ] ; then
|
||||
dodir /usr/share/doc/${PF}
|
||||
cp -pPR ${dir} "${D}"/usr/share/doc/${PF} || die "cp failed"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
@ -0,0 +1,2 @@
|
||||
DIST bitcoin-0.10.0.ljr20150220.patches.tar.xz 34536 SHA256 cac6b61e34f1903d369568895072b7c31e4aed2cceae4c25c1e5b80150c92494 SHA512 08913029dcbf9b43fafbc76525061c18d4e033ac1e88b781301064a35d2f099b4de83e4e964197361657a8c0de49ad463d7004c6af485c09df3589a75928ef19 WHIRLPOOL 0032fc98e947b68c37350b2defc7b2cc160570078bcd8bf0d0e4c435dec16f9bc3149a1117acc7998862bf0206fdbc3752e2b426fe1d51eb4bcb4942bf67b77d
|
||||
DIST bitcoin-v0.10.0.tgz 5022212 SHA256 ecff92e184fac4a96684085590a67554a27db72d0ac235b7cc054887644c0b70 SHA512 f362a9d4ba405c02b2d01024a61b68f984dd6e441ef2254d05bf65cfe803c8b084bd3b14a76a3472251d96087e450091f95f26a691c248836c6d0b43dece8255 WHIRLPOOL 2185413c6d073b0dcb30001c8fb56301390206680ffc6d705ed99e102e68e5c4c1d08c495c38703631696fa9a4a3784befd71acfbec0e94b164bbbfde76158c3
|
@ -0,0 +1,25 @@
|
||||
# Copyright 2010-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/bitcoin-tx/bitcoin-tx-0.10.0.ebuild,v 1.1 2015/02/23 21:58:12 blueness Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
BITCOINCORE_COMMITHASH="047a89831760ff124740fe9f58411d57ee087078"
|
||||
BITCOINCORE_LJR_DATE="20150220"
|
||||
BITCOINCORE_IUSE=""
|
||||
inherit bitcoincore
|
||||
|
||||
DESCRIPTION="Command-line Bitcoin transaction tool"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
|
||||
src_prepare() {
|
||||
bitcoincore_prepare
|
||||
bitcoincore_autoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
bitcoincore_conf \
|
||||
--enable-util-tx
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
# Copyright 2010-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/bitcoin-tx/bitcoin-tx-9999.ebuild,v 1.1 2015/02/23 21:58:12 blueness Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
BITCOINCORE_NO_SYSLIBS=1
|
||||
BITCOINCORE_IUSE=""
|
||||
inherit bitcoincore
|
||||
|
||||
DESCRIPTION="Command-line Bitcoin transaction tool"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
|
||||
src_prepare() {
|
||||
bitcoincore_prepare
|
||||
sed -i 's/bitcoin-cli//' src/Makefile.am
|
||||
bitcoincore_autoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
bitcoincore_conf \
|
||||
--with-utils
|
||||
}
|
@ -0,0 +1,80 @@
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 6784521..3598bab 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -634,6 +634,12 @@ AC_ARG_WITH([daemon],
|
||||
|
||||
BITCOIN_QT_INIT
|
||||
|
||||
+PKG_CHECK_MODULES([libsecp256k1],[libsecp256k1],,[true])
|
||||
+AC_ARG_WITH([libsecp256k1-verify],[],[use_libsecp256k1=$withval],[use_libsecp256k1=yes])
|
||||
+if test "x$use_libsecp256k1" = "xyes"; then
|
||||
+ AC_DEFINE(USE_SECP256K1,1,[USE_SECP256K1])
|
||||
+fi
|
||||
+
|
||||
if test x$use_pkgconfig = xyes; then
|
||||
|
||||
if test x"$PKG_CONFIG" = "x"; then
|
||||
@@ -869,9 +875,6 @@ PKGCONFIG_LIBDIR_TEMP="$PKG_CONFIG_LIBDIR"
|
||||
unset PKG_CONFIG_LIBDIR
|
||||
PKG_CONFIG_LIBDIR="$PKGCONFIG_LIBDIR_TEMP"
|
||||
|
||||
-ac_configure_args="${ac_configure_args} --disable-shared --with-pic"
|
||||
-AC_CONFIG_SUBDIRS([src/secp256k1])
|
||||
-
|
||||
AC_OUTPUT
|
||||
|
||||
dnl Taken from https://wiki.debian.org/RpathIssue
|
||||
diff --git a/src/Makefile.am b/src/Makefile.am
|
||||
index 0d45203..3a44a16 100644
|
||||
--- a/src/Makefile.am
|
||||
+++ b/src/Makefile.am
|
||||
@@ -1,4 +1,3 @@
|
||||
-DIST_SUBDIRS = secp256k1
|
||||
AM_LDFLAGS = $(PTHREAD_CFLAGS) $(LIBTOOL_LDFLAGS)
|
||||
|
||||
|
||||
@@ -20,7 +19,7 @@ endif
|
||||
BITCOIN_CONFIG_INCLUDES=-I$(builddir)/config
|
||||
BITCOIN_INCLUDES=-I$(builddir) -I$(builddir)/obj $(BOOST_CPPFLAGS) $(LEVELDB_CPPFLAGS) $(CRYPTO_CFLAGS) $(SSL_CFLAGS)
|
||||
|
||||
-BITCOIN_INCLUDES += -I$(srcdir)/secp256k1/include
|
||||
+BITCOIN_INCLUDES += $(libsecp256k1_CFLAGS)
|
||||
|
||||
LIBBITCOIN_SERVER=libbitcoin_server.a
|
||||
LIBBITCOIN_WALLET=libbitcoin_wallet.a
|
||||
@@ -30,10 +29,7 @@ LIBBITCOIN_UTIL=libbitcoin_util.a
|
||||
LIBBITCOIN_CRYPTO=crypto/libbitcoin_crypto.a
|
||||
LIBBITCOIN_UNIVALUE=univalue/libbitcoin_univalue.a
|
||||
LIBBITCOINQT=qt/libbitcoinqt.a
|
||||
-LIBSECP256K1=secp256k1/libsecp256k1.la
|
||||
-
|
||||
-$(LIBSECP256K1): $(wildcard secp256k1/src/*) $(wildcard secp256k1/include/*)
|
||||
- $(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) -C $(@D) $(@F)
|
||||
+LIBSECP256K1=$(libsecp256k1_LIBS)
|
||||
|
||||
# Make is not made aware of per-object dependencies to avoid limiting building parallelization
|
||||
# But to build the less dependent modules first, we manually select their order here:
|
||||
@@ -364,7 +360,7 @@ libbitcoinconsensus_la_LDFLAGS = -no-undefined $(RELDFLAGS)
|
||||
libbitcoinconsensus_la_LIBADD = $(CRYPTO_LIBS)
|
||||
libbitcoinconsensus_la_CPPFLAGS = $(CRYPTO_CFLAGS) -I$(builddir)/obj -DBUILD_BITCOIN_INTERNAL
|
||||
if USE_LIBSECP256K1
|
||||
-libbitcoinconsensus_la_LIBADD += secp256k1/libsecp256k1.la
|
||||
+libbitcoinconsensus_la_LIBADD += $(LIBSECP256K1)
|
||||
endif
|
||||
endif
|
||||
|
||||
diff --git a/src/Makefile.test.include b/src/Makefile.test.include
|
||||
index 5fd2afe..014092a 100644
|
||||
--- a/src/Makefile.test.include
|
||||
+++ b/src/Makefile.test.include
|
||||
@@ -104,9 +104,6 @@ bitcoin_test_check: $(TEST_BINARY) FORCE
|
||||
bitcoin_test_clean : FORCE
|
||||
rm -f $(CLEAN_BITCOIN_TEST) $(test_test_bitcoin_OBJECTS) $(TEST_BINARY)
|
||||
|
||||
-check-local:
|
||||
- $(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) -C secp256k1 check
|
||||
-
|
||||
%.json.h: %.json
|
||||
@$(MKDIR_P) $(@D)
|
||||
@echo "namespace json_tests{" > $@
|
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>proxy-maintainers</herd>
|
||||
<maintainer>
|
||||
<email>blueness@gentoo.org</email>
|
||||
<name>Anthony G. Basile</name>
|
||||
</maintainer>
|
||||
<maintainer>
|
||||
<email>luke-jr+gentoobugs@utopios.org</email>
|
||||
<name>Luke Dashjr</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,288 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/eclass/bitcoincore.eclass,v 1.1 2015/02/23 21:13:35 blueness Exp $
|
||||
#
|
||||
# @ECLASS: bitcoincore.eclass
|
||||
# @MAINTAINER:
|
||||
# Luke Dashjr <luke_gentoo_bitcoin@dashjr.org>
|
||||
# @BLURB: common code for Bitcoin Core ebuilds
|
||||
# @DESCRIPTION:
|
||||
# This eclass is used in Bitcoin Core ebuilds (bitcoin-qt, bitcoind,
|
||||
# libbitcoinconsensus) to provide a single common place for the common ebuild
|
||||
# stuff.
|
||||
#
|
||||
# The eclass provides all common dependencies as well as common use flags.
|
||||
|
||||
has "${EAPI:-0}" 5 || die "EAPI=${EAPI} not supported"
|
||||
|
||||
if [[ ! ${_BITCOINCORE_ECLASS} ]]; then
|
||||
|
||||
in_bcc_iuse() {
|
||||
local liuse=( ${BITCOINCORE_IUSE} )
|
||||
has "${1}" "${liuse[@]#[+-]}"
|
||||
}
|
||||
|
||||
in_bcc_policy() {
|
||||
local liuse=( ${BITCOINCORE_POLICY_PATCHES} )
|
||||
has "${1}" "${liuse[@]#[+-]}"
|
||||
}
|
||||
|
||||
DB_VER="4.8"
|
||||
inherit autotools db-use eutils
|
||||
|
||||
if [ -z "$BITCOINCORE_COMMITHASH" ]; then
|
||||
inherit git-2
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
EXPORT_FUNCTIONS src_prepare src_test src_install
|
||||
|
||||
if in_bcc_iuse ljr || in_bcc_iuse 1stclassmsg || in_bcc_iuse zeromq || [ -n "$BITCOINCORE_POLICY_PATCHES" ]; then
|
||||
EXPORT_FUNCTIONS pkg_pretend
|
||||
fi
|
||||
|
||||
if [[ ! ${_BITCOINCORE_ECLASS} ]]; then
|
||||
|
||||
# @ECLASS-VARIABLE: BITCOINCORE_COMMITHASH
|
||||
# @DESCRIPTION:
|
||||
# Set this variable before the inherit line, to the upstream commit hash.
|
||||
|
||||
# @ECLASS-VARIABLE: BITCOINCORE_IUSE
|
||||
# @DESCRIPTION:
|
||||
# Set this variable before the inherit line, to the USE flags supported.
|
||||
|
||||
# @ECLASS-VARIABLE: BITCOINCORE_LJR_DATE
|
||||
# @DESCRIPTION:
|
||||
# Set this variable before the inherit line, to the datestamp of the ljr
|
||||
# patchset.
|
||||
|
||||
# @ECLASS-VARIABLE: BITCOINCORE_POLICY_PATCHES
|
||||
# @DESCRIPTION:
|
||||
# Set this variable before the inherit line, to a space-delimited list of
|
||||
# supported policies.
|
||||
|
||||
# These are expected to change in future versions
|
||||
DOCS="${DOCS} doc/README.md doc/release-notes.md"
|
||||
OPENSSL_DEPEND="dev-libs/openssl:0[-bindist]"
|
||||
WALLET_DEPEND="sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx]"
|
||||
|
||||
case "${PV}" in
|
||||
0.10*)
|
||||
BITCOINCORE_SERIES="0.10.x"
|
||||
LIBSECP256K1_DEPEND="=dev-libs/libsecp256k1-0.0.0_pre20141212"
|
||||
BITCOINCORE_RBF_DIFF="e43f25c5b1c7b38d28cd0fba09098a9d56d9ac6b...eb22364e5a7cd2595d98c890e3668e97c0905a06"
|
||||
BITCOINCORE_XT_DIFF="047a89831760ff124740fe9f58411d57ee087078...d4084b62c42c38bfe302d712b98909ab26ecce2f"
|
||||
;;
|
||||
9999*)
|
||||
BITCOINCORE_SERIES="9999"
|
||||
LIBSECP256K1_DEPEND="=dev-libs/libsecp256k1-9999"
|
||||
;;
|
||||
*)
|
||||
die "Unrecognised version"
|
||||
;;
|
||||
esac
|
||||
|
||||
MyPV="${PV/_/}"
|
||||
MyPN="bitcoin"
|
||||
MyP="${MyPN}-${MyPV}"
|
||||
LJR_PV() { echo "${MyPV}.${1}${BITCOINCORE_LJR_DATE}"; }
|
||||
LJR_PATCHDIR="${MyPN}-$(LJR_PV ljr).patches"
|
||||
LJR_PATCH() { echo "${WORKDIR}/${LJR_PATCHDIR}/${MyPN}-$(LJR_PV ljr).$@.patch"; }
|
||||
LJR_PATCH_DESC="http://luke.dashjr.org/programs/${MyPN}/files/${MyPN}d/luke-jr/${BITCOINCORE_SERIES}/$(LJR_PV ljr)/${MyPN}-$(LJR_PV ljr).desc.txt"
|
||||
|
||||
HOMEPAGE="https://github.com/bitcoin/bitcoin"
|
||||
|
||||
if [ -z "$BITCOINCORE_COMMITHASH" ]; then
|
||||
EGIT_PROJECT='bitcoin'
|
||||
EGIT_REPO_URI="git://github.com/bitcoin/bitcoin.git https://github.com/bitcoin/bitcoin.git"
|
||||
else
|
||||
SRC_URI="https://github.com/${MyPN}/${MyPN}/archive/${BITCOINCORE_COMMITHASH}.tar.gz -> ${MyPN}-v${PV}.tgz"
|
||||
if [ -z "${BITCOINCORE_NO_SYSLIBS}" ]; then
|
||||
SRC_URI="${SRC_URI} http://luke.dashjr.org/programs/${MyPN}/files/${MyPN}d/luke-jr/${BITCOINCORE_SERIES}/$(LJR_PV ljr)/${LJR_PATCHDIR}.txz -> ${LJR_PATCHDIR}.tar.xz"
|
||||
fi
|
||||
if in_bcc_iuse xt; then
|
||||
BITCOINXT_PATCHFILE="${MyPN}xt-v${PV}.patch"
|
||||
SRC_URI="${SRC_URI} xt? ( https://github.com/bitcoinxt/bitcoinxt/compare/${BITCOINCORE_XT_DIFF}.diff -> ${BITCOINXT_PATCHFILE} )"
|
||||
fi
|
||||
if in_bcc_policy rbf; then
|
||||
BITCOINCORE_RBF_PATCHFILE="${MyPN}-rbf-v${PV}.patch"
|
||||
SRC_URI="${SRC_URI} bitcoin_policy_rbf? ( https://github.com/petertodd/bitcoin/compare/${BITCOINCORE_RBF_DIFF}.diff -> ${BITCOINCORE_RBF_PATCHFILE} )"
|
||||
fi
|
||||
S="${WORKDIR}/${MyPN}-${BITCOINCORE_COMMITHASH}"
|
||||
fi
|
||||
|
||||
bitcoincore_policy_iuse() {
|
||||
local mypolicy iuse_def new_BITCOINCORE_IUSE=
|
||||
for mypolicy in ${BITCOINCORE_POLICY_PATCHES}; do
|
||||
if [[ "${mypolicy:0:1}" =~ ^[+-] ]]; then
|
||||
iuse_def=${mypolicy:0:1}
|
||||
mypolicy="${mypolicy:1}"
|
||||
else
|
||||
iuse_def=
|
||||
fi
|
||||
new_BITCOINCORE_IUSE="$new_BITCOINCORE_IUSE ${iuse_def}bitcoin_policy_${mypolicy}"
|
||||
done
|
||||
echo $new_BITCOINCORE_IUSE
|
||||
}
|
||||
IUSE="$IUSE $BITCOINCORE_IUSE $(bitcoincore_policy_iuse)"
|
||||
if in_bcc_policy rbf && in_bcc_iuse xt; then
|
||||
REQUIRED_USE="${REQUIRED_USE} bitcoin_policy_rbf? ( !xt )"
|
||||
fi
|
||||
|
||||
BITCOINCORE_COMMON_DEPEND="
|
||||
${OPENSSL_DEPEND}
|
||||
$LIBSECP256K1_DEPEND
|
||||
"
|
||||
if [ "${PN}" != "libbitcoinconsensus" ]; then
|
||||
BITCOINCORE_COMMON_DEPEND=">=dev-libs/boost-1.52.0[threads(+)]"
|
||||
fi
|
||||
bitcoincore_common_depend_use() {
|
||||
in_bcc_iuse "$1" || return
|
||||
BITCOINCORE_COMMON_DEPEND="${BITCOINCORE_COMMON_DEPEND} $1? ( $2 )"
|
||||
}
|
||||
bitcoincore_common_depend_use upnp net-libs/miniupnpc
|
||||
bitcoincore_common_depend_use wallet "${WALLET_DEPEND}"
|
||||
bitcoincore_common_depend_use zeromq net-libs/zeromq
|
||||
RDEPEND="${RDEPEND} ${BITCOINCORE_COMMON_DEPEND}"
|
||||
DEPEND="${DEPEND} ${BITCOINCORE_COMMON_DEPEND}
|
||||
>=app-shells/bash-4.1
|
||||
sys-apps/sed
|
||||
"
|
||||
if in_bcc_iuse ljr && [ "$BITCOINCORE_SERIES" = "0.10.x" ]; then
|
||||
DEPEND="${DEPEND} ljr? ( dev-vcs/git )"
|
||||
fi
|
||||
|
||||
bitcoincore_policymsg() {
|
||||
local USEFlag="bitcoin_policy_$1"
|
||||
in_iuse "${USEFlag}" || return
|
||||
if use "${USEFlag}"; then
|
||||
[ -n "$2" ] && einfo "$2"
|
||||
else
|
||||
[ -n "$3" ] && einfo "$3"
|
||||
fi
|
||||
bitcoincore_policymsg_flag=true
|
||||
}
|
||||
|
||||
bitcoincore_pkg_pretend() {
|
||||
bitcoincore_policymsg_flag=false
|
||||
if use_if_iuse ljr || use_if_iuse 1stclassmsg || use_if_iuse xt || use_if_iuse zeromq; then
|
||||
einfo "Extra functionality improvements to Bitcoin Core are enabled."
|
||||
bitcoincore_policymsg_flag=true
|
||||
fi
|
||||
bitcoincore_policymsg cpfp \
|
||||
"CPFP policy is enabled: If you mine, you will give consideration to child transaction fees to pay for their parents." \
|
||||
"CPFP policy is disabled: If you mine, you will ignore transactions unless they have sufficient fee themselves, even if child transactions offer a fee to cover their cost."
|
||||
bitcoincore_policymsg dcmp \
|
||||
"Data Carrier Multi-Push policy is enabled: Your node will assist transactions with at most a single multiple-'push' data carrier output." \
|
||||
"Data Carrier Multi-Push policy is disabled: Your node will assist transactions with at most a single data carrier output with only a single 'push'."
|
||||
bitcoincore_policymsg rbf \
|
||||
"Replace By Fee policy is enabled: Your node will preferentially mine and relay transactions paying the highest fee, regardless of receive order." \
|
||||
"Replace By Fee policy is disabled: Your node will only accept the first transaction seen consuming a conflicting input, regardless of fee offered by later ones."
|
||||
bitcoincore_policymsg spamfilter \
|
||||
"Enhanced spam filter policy is enabled: Notorious spammers will not be assisted by your node. This may impact your ability to use some spammy services (see link for a list)." \
|
||||
"Enhanced spam filter policy is DISABLED: Your node will not be checking for notorious spammers, and may assist them. Set BITCOIN_POLICY=spamfilter to enable."
|
||||
$bitcoincore_policymsg_flag && einfo "For more information on any of the above, see ${LJR_PATCH_DESC}"
|
||||
}
|
||||
|
||||
bitcoincore_prepare() {
|
||||
if [ -n "${BITCOINCORE_NO_SYSLIBS}" ]; then
|
||||
true
|
||||
elif [ "${PV}" = "9999" ]; then
|
||||
epatch "${FILESDIR}/0.9.0-sys_leveldb.patch"
|
||||
# Temporarily use embedded secp256k1 while API is in flux
|
||||
#epatch "${FILESDIR}/${PV}-sys_libsecp256k1.patch"
|
||||
else
|
||||
epatch "$(LJR_PATCH syslibs)"
|
||||
fi
|
||||
if use_if_iuse ljr; then
|
||||
if [ "${BITCOINCORE_SERIES}" = "0.10.x" ]; then
|
||||
# Regular epatch won't work with binary files
|
||||
local patchfile="$(LJR_PATCH ljrF)"
|
||||
einfo "Applying ${patchfile##*/} ..."
|
||||
git apply --whitespace=nowarn "${patchfile}" || die
|
||||
else
|
||||
epatch "$(LJR_PATCH ljrF)"
|
||||
fi
|
||||
fi
|
||||
if use_if_iuse 1stclassmsg; then
|
||||
epatch "$(LJR_PATCH 1stclassmsg)"
|
||||
fi
|
||||
if use_if_iuse xt; then
|
||||
epatch "${DISTDIR}/${BITCOINXT_PATCHFILE}"
|
||||
fi
|
||||
use_if_iuse zeromq && epatch "$(LJR_PATCH zeromq)"
|
||||
for mypolicy in ${BITCOINCORE_POLICY_PATCHES}; do
|
||||
mypolicy="${mypolicy#[-+]}"
|
||||
use bitcoin_policy_${mypolicy} || continue
|
||||
case "${mypolicy}" in
|
||||
rbf)
|
||||
epatch "${DISTDIR}/${BITCOINCORE_RBF_PATCHFILE}"
|
||||
;;
|
||||
*)
|
||||
epatch "$(LJR_PATCH ${mypolicy})"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
}
|
||||
|
||||
bitcoincore_autoreconf() {
|
||||
eautoreconf
|
||||
rm -r src/leveldb || die
|
||||
|
||||
# Temporarily using embedded secp256k1 for 9999 while API is in flux
|
||||
if [ "${PV}" != "9999" ]; then
|
||||
rm -r src/secp256k1 || die
|
||||
fi
|
||||
}
|
||||
|
||||
bitcoincore_src_prepare() {
|
||||
bitcoincore_prepare
|
||||
bitcoincore_autoreconf
|
||||
}
|
||||
|
||||
bitcoincore_conf() {
|
||||
local my_econf=
|
||||
if use_if_iuse upnp; then
|
||||
my_econf="${my_econf} --with-miniupnpc --enable-upnp-default"
|
||||
else
|
||||
my_econf="${my_econf} --without-miniupnpc --disable-upnp-default"
|
||||
fi
|
||||
if use_if_iuse test; then
|
||||
my_econf="${my_econf} --enable-tests"
|
||||
else
|
||||
my_econf="${my_econf} --disable-tests"
|
||||
fi
|
||||
if use_if_iuse wallet; then
|
||||
my_econf="${my_econf} --enable-wallet"
|
||||
else
|
||||
my_econf="${my_econf} --disable-wallet"
|
||||
fi
|
||||
if [ -z "${BITCOINCORE_NO_SYSLIBS}" ] && [ "${PV}" != "9999" ]; then
|
||||
my_econf="${my_econf} --disable-util-cli --disable-util-tx"
|
||||
else
|
||||
my_econf="${my_econf} --without-utils"
|
||||
fi
|
||||
econf \
|
||||
--disable-ccache \
|
||||
--disable-static \
|
||||
--with-system-leveldb \
|
||||
--with-system-libsecp256k1 \
|
||||
--without-libs \
|
||||
--without-daemon \
|
||||
--without-gui \
|
||||
${my_econf} \
|
||||
"$@"
|
||||
}
|
||||
|
||||
bitcoincore_src_test() {
|
||||
emake check
|
||||
}
|
||||
|
||||
bitcoincore_src_install() {
|
||||
default
|
||||
[ "${PN}" = "libbitcoinconsensus" ] || rm "${D}/usr/bin/test_bitcoin"
|
||||
}
|
||||
|
||||
_BITCOINCORE_ECLASS=1
|
||||
fi
|
@ -1 +1,2 @@
|
||||
DIST avp-20070130.tar.bz2 1523270 SHA256 f857040fc591ff7e8983be4e0d1ca44ea290e6b954ba9a234a6664ff01b4be58 SHA512 1b48f739a72bc90888bf41bff75a079453cb090839edcbf3a6b04c06748e44bd616323633f7979a47e6bc7cd74821735f33c7c4107fa531a3222904082eb7f04 WHIRLPOOL 6c673a3131eeeb52bbf296fbb6ac15fbabdf850fa6cf7a6ee27bc55063cb808f5b36e126a49a293f0d1b3c75941541bc42b41ed4348e9748f50d2f42deb4b780
|
||||
DIST avp-20150214.tar.gz 1718303 SHA256 3cfed951482deae709a7e0743ebba9e3ef27aeec2d68d0588e6361b6368a4a85 SHA512 c485a55ff455498bcf82bc17f2056d35d4c646bdf7809f4c326fc7063a9ce5db9e4893af67dff3f6bedb7d5f96e82f792d7f516044fdbab638113091a5505158 WHIRLPOOL 5fd6ee1d893c0feddab44fd84fb7d3bcd231bd337e28bf2089a2120b367bdc5f22bf9ddad5cb0b911065944266fe7d7efb207e64d34b7ba0090c252e74e8efd3
|
||||
|
@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-fps/avp/avp-20070130-r2.ebuild,v 1.2 2014/07/03 20:29:50 axs Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils games
|
||||
|
||||
DESCRIPTION="Linux port of Aliens vs Predator"
|
||||
HOMEPAGE="http://www.icculus.org/avp/"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
||||
|
||||
LICENSE="AvP"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="|| (
|
||||
(
|
||||
>=media-libs/openal-1.15.1[abi_x86_32(-)]
|
||||
>=media-libs/libsdl-1.2.15-r4[video,joystick,opengl,abi_x86_32(-)]
|
||||
)
|
||||
amd64? ( app-emulation/emul-linux-x86-sdl[-abi_x86_32(-)] )
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-gcc42.patch \
|
||||
"${FILESDIR}"/${P}-glibc2.10.patch
|
||||
sed -i \
|
||||
-e '/^CC /s:=:?=:' \
|
||||
-e '/^CXX /s:=:?=:' \
|
||||
-e "/^CFLAGS/s/-g.*/${CFLAGS}/" \
|
||||
-e "/^LDLIBS/s/$/${LDFLAGS}/" \
|
||||
-e "s:openal-config:pkg-config openal:" \
|
||||
Makefile \
|
||||
|| die "sed failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newgamesbin AvP.bin AvP || die "newgamesbin failed"
|
||||
dodoc README TODO
|
||||
prepgamesdirs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
games_pkg_postinst
|
||||
elog "please follow the instructions in"
|
||||
elog "/usr/share/doc/${PF}"
|
||||
elog "to install the rest of the game"
|
||||
}
|
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-fps/avp/avp-20150214.ebuild,v 1.1 2015/02/24 05:46:19 mr_bones_ Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils cmake-utils games
|
||||
|
||||
DESCRIPTION="Linux port of Aliens vs Predator"
|
||||
HOMEPAGE="http://www.icculus.org/avp/"
|
||||
SRC_URI="http://www.icculus.org/avp/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="AvP"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="media-libs/openal
|
||||
media-libs/libsdl[video,joystick,opengl]"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
CMAKE_BUILD_TYPE=Release
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
"-DCMAKE_VERBOSE_MAKEFILE=TRUE"
|
||||
-DSDL_TYPE=SDL
|
||||
-DOPENGL_TYPE=OPENGL
|
||||
"-DINSTALL_PREFIX=${GAMES_PREFIX}"
|
||||
"-DINSTALL_DATADIR=${GAMES_DATADIR}/${PN}"
|
||||
"-DINSTALL_BINDIR=${GAMES_BINDIR}"
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dogamesbin "${BUILD_DIR}/${PN}"
|
||||
dodoc README
|
||||
prepgamesdirs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
games_pkg_postinst
|
||||
elog "Please follow the instructions in /usr/share/doc/${PF}"
|
||||
elog "to install the rest of the game."
|
||||
}
|
@ -1,4 +1 @@
|
||||
DIST roundcubemail-1.0.2.tar.gz 3980298 SHA256 1c1560a7a56e6884b45c49f52961dbbb3f6bacbc7e7c755440750a1ab027171c SHA512 4076be3846f3c39c481c5546d7d2f8843cd87f1dde868aa06c9432db4a8786269e4297975802c841a0476ae4462cb7dbcc40e375bdafb6ea0a74b9c5ba9bb780 WHIRLPOOL 773b9f687dc82fdc2a879187d40bd79936d3103427a28e35b602eb7648ea397be5afeb412ff9523ff59653d50a7c3ac9ea4f14eec605e41e88158fc2f628d426
|
||||
DIST roundcubemail-1.0.3.tar.gz 3984245 SHA256 8840bb6c1b08d35eeb35dff5e8d40f7771d19bae8cb65d13753f71a538f9a9ca SHA512 164f095a93f6b6216f3344072ffe90727a328838fcc58d69eb6f1ca3fd17138fd8256520d3e22f6cbfe03c99246abdce2dddb58c22f2b96798e1607f0e02c4db WHIRLPOOL 3e557e8bd79afbd5263b11b9b0ca2483d6445e2dcf668e9629f809ce1e49f9e1a7f15ff026dfc9ab6b4666dc9b402ac94d6ddf997df63f27bed84b9a3e170610
|
||||
DIST roundcubemail-1.0.4.tar.gz 4055848 SHA256 ef890de63cadaad2a75435c22345c589362c8e82b0986eb4d980d3f657275226 SHA512 eb434d9eca19e000f5b10ba3339aaf64318003a43918b5465512eeb66651011b45ec0e361ee060b3f77beb09d5c3717559e5e512b8819ead9019d79feb39409d WHIRLPOOL 1e24b57fcae46530c0d4b5eadb861ab23af1cffc55df7834ce7fa7109976f83e5a57d2c789f40bd594a2055e069bbd3614ace79d324787ee73c062bd9ef8c7f0
|
||||
DIST roundcubemail-1.0.5.tar.gz 4056852 SHA256 22af84480f2c543884b17c9b0196ed105d2ea7f429bfcc34a6fb7c96dd712792 SHA512 28016a8b05bdf4777486c63d95a91a22022006252e61e4e93320d81448cbc630ed5a04a1388d8576a40617d8e0630b90290341fcd3fed4f5080ab250fb568c6c WHIRLPOOL f0e48173e0fe07a8f3a00a49ad1091c33f76dbeb153941e32c35684f4eb41e04f805f63ec9623e3664c165c6e88407db3665f1e60a01c2076a3c60bc96c4a122
|
||||
|
@ -1,72 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-client/roundcube/roundcube-1.0.2.ebuild,v 1.8 2014/09/14 22:39:43 jer Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit webapp
|
||||
|
||||
MY_PN=${PN}mail
|
||||
MY_P=${MY_PN}-${PV/_/-}
|
||||
|
||||
DESCRIPTION="A browser-based multilingual IMAP client with an application-like user interface"
|
||||
HOMEPAGE="http://roundcube.net"
|
||||
SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
# roundcube is GPL-licensed, the rest of the licenses here are
|
||||
# for bundled PEAR components, googiespell and utf8.class.php
|
||||
LICENSE="GPL-3 BSD PHP-2.02 PHP-3 MIT public-domain"
|
||||
KEYWORDS="amd64 arm ~hppa ppc ~ppc64 ~sparc x86"
|
||||
IUSE="ldap +mysql postgres sqlite ssl spell"
|
||||
|
||||
# this function only sets DEPEND so we need to include that in RDEPEND
|
||||
need_httpd_cgi
|
||||
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
>=dev-lang/php-5.3[crypt,filter,gd,iconv,json,ldap?,pdo,postgres?,session,sockets,ssl?,unicode,xml]
|
||||
>=dev-php/PEAR-Auth_SASL-1.0.3
|
||||
>=dev-php/PEAR-Crypt_GPG-1.3.2
|
||||
>=dev-php/PEAR-Mail_Mime-1.8.1
|
||||
>=dev-php/PEAR-Net_IDNA2-0.1.1
|
||||
>=dev-php/PEAR-Net_SMTP-1.4.2
|
||||
>=dev-php/PEAR-Net_Sieve-1.3.2
|
||||
>=dev-php/PEAR-Net_Socket-1.0.14
|
||||
mysql? ( || ( dev-lang/php[mysql] dev-lang/php[mysqli] ) )
|
||||
spell? ( dev-lang/php[curl,spell] )
|
||||
sqlite? ( dev-lang/php[sqlite] )
|
||||
virtual/httpd-php
|
||||
"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
# Remove bundled PEAR packages
|
||||
rm -r program/lib/{Auth,Crypt,Mail,Net,PEAR*} || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
webapp_src_preinst
|
||||
dodoc CHANGELOG INSTALL README.md UPGRADING
|
||||
|
||||
insinto "${MY_HTDOCSDIR}"
|
||||
doins -r [[:lower:]]* SQL
|
||||
doins .htaccess
|
||||
|
||||
webapp_serverowned "${MY_HTDOCSDIR}"/logs
|
||||
webapp_serverowned "${MY_HTDOCSDIR}"/temp
|
||||
|
||||
webapp_configfile "${MY_HTDOCSDIR}"/config/defaults.inc.php
|
||||
webapp_postupgrade_txt en UPGRADING
|
||||
webapp_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "When upgrading from <= 0.9, note that the old configuration files"
|
||||
ewarn "named main.inc.php and db.inc.php are deprecated and should be"
|
||||
ewarn "replaced with one single config.inc.php file."
|
||||
ewarn "Run the ./bin/update.sh script to convert those"
|
||||
ewarn "or manually merge the files."
|
||||
ewarn "The new config.inc.php should only contain options that"
|
||||
ewarn "differ from the ones listed in defaults.inc.php."
|
||||
}
|
@ -1,72 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-client/roundcube/roundcube-1.0.3.ebuild,v 1.1 2014/10/08 21:43:49 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit webapp
|
||||
|
||||
MY_PN=${PN}mail
|
||||
MY_P=${MY_PN}-${PV/_/-}
|
||||
|
||||
DESCRIPTION="A browser-based multilingual IMAP client with an application-like user interface"
|
||||
HOMEPAGE="http://roundcube.net"
|
||||
SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
# roundcube is GPL-licensed, the rest of the licenses here are
|
||||
# for bundled PEAR components, googiespell and utf8.class.php
|
||||
LICENSE="GPL-3 BSD PHP-2.02 PHP-3 MIT public-domain"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="ldap +mysql postgres sqlite ssl spell"
|
||||
|
||||
# this function only sets DEPEND so we need to include that in RDEPEND
|
||||
need_httpd_cgi
|
||||
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
>=dev-lang/php-5.3[crypt,filter,gd,iconv,json,ldap?,pdo,postgres?,session,sockets,ssl?,unicode,xml]
|
||||
>=dev-php/PEAR-Auth_SASL-1.0.3
|
||||
>=dev-php/PEAR-Crypt_GPG-1.3.2
|
||||
>=dev-php/PEAR-Mail_Mime-1.8.1
|
||||
>=dev-php/PEAR-Net_IDNA2-0.1.1
|
||||
>=dev-php/PEAR-Net_SMTP-1.4.2
|
||||
>=dev-php/PEAR-Net_Sieve-1.3.2
|
||||
>=dev-php/PEAR-Net_Socket-1.0.14
|
||||
mysql? ( || ( dev-lang/php[mysql] dev-lang/php[mysqli] ) )
|
||||
spell? ( dev-lang/php[curl,spell] )
|
||||
sqlite? ( dev-lang/php[sqlite] )
|
||||
virtual/httpd-php
|
||||
"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
# Remove bundled PEAR packages
|
||||
rm -r program/lib/{Auth,Crypt,Mail,Net,PEAR*} || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
webapp_src_preinst
|
||||
dodoc CHANGELOG INSTALL README.md UPGRADING
|
||||
|
||||
insinto "${MY_HTDOCSDIR}"
|
||||
doins -r [[:lower:]]* SQL
|
||||
doins .htaccess
|
||||
|
||||
webapp_serverowned "${MY_HTDOCSDIR}"/logs
|
||||
webapp_serverowned "${MY_HTDOCSDIR}"/temp
|
||||
|
||||
webapp_configfile "${MY_HTDOCSDIR}"/config/defaults.inc.php
|
||||
webapp_postupgrade_txt en UPGRADING
|
||||
webapp_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "When upgrading from <= 0.9, note that the old configuration files"
|
||||
ewarn "named main.inc.php and db.inc.php are deprecated and should be"
|
||||
ewarn "replaced with one single config.inc.php file."
|
||||
ewarn "Run the ./bin/update.sh script to convert those"
|
||||
ewarn "or manually merge the files."
|
||||
ewarn "The new config.inc.php should only contain options that"
|
||||
ewarn "differ from the ones listed in defaults.inc.php."
|
||||
}
|
@ -1,72 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-client/roundcube/roundcube-1.0.4.ebuild,v 1.1 2014/12/21 00:55:37 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit webapp
|
||||
|
||||
MY_PN=${PN}mail
|
||||
MY_P=${MY_PN}-${PV/_/-}
|
||||
|
||||
DESCRIPTION="A browser-based multilingual IMAP client with an application-like user interface"
|
||||
HOMEPAGE="http://roundcube.net"
|
||||
SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
# roundcube is GPL-licensed, the rest of the licenses here are
|
||||
# for bundled PEAR components, googiespell and utf8.class.php
|
||||
LICENSE="GPL-3 BSD PHP-2.02 PHP-3 MIT public-domain"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="ldap +mysql postgres sqlite ssl spell"
|
||||
|
||||
# this function only sets DEPEND so we need to include that in RDEPEND
|
||||
need_httpd_cgi
|
||||
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
>=dev-lang/php-5.3[crypt,filter,gd,iconv,json,ldap?,pdo,postgres?,session,sockets,ssl?,unicode,xml]
|
||||
>=dev-php/PEAR-Auth_SASL-1.0.3
|
||||
>=dev-php/PEAR-Crypt_GPG-1.3.2
|
||||
>=dev-php/PEAR-Mail_Mime-1.8.1
|
||||
>=dev-php/PEAR-Net_IDNA2-0.1.1
|
||||
>=dev-php/PEAR-Net_SMTP-1.4.2
|
||||
>=dev-php/PEAR-Net_Sieve-1.3.2
|
||||
>=dev-php/PEAR-Net_Socket-1.0.14
|
||||
mysql? ( || ( dev-lang/php[mysql] dev-lang/php[mysqli] ) )
|
||||
spell? ( dev-lang/php[curl,spell] )
|
||||
sqlite? ( dev-lang/php[sqlite] )
|
||||
virtual/httpd-php
|
||||
"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
# Remove bundled PEAR packages
|
||||
rm -r program/lib/{Auth,Crypt,Mail,Net,PEAR*} || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
webapp_src_preinst
|
||||
dodoc CHANGELOG INSTALL README.md UPGRADING
|
||||
|
||||
insinto "${MY_HTDOCSDIR}"
|
||||
doins -r [[:lower:]]* SQL
|
||||
doins .htaccess
|
||||
|
||||
webapp_serverowned "${MY_HTDOCSDIR}"/logs
|
||||
webapp_serverowned "${MY_HTDOCSDIR}"/temp
|
||||
|
||||
webapp_configfile "${MY_HTDOCSDIR}"/config/defaults.inc.php
|
||||
webapp_postupgrade_txt en UPGRADING
|
||||
webapp_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "When upgrading from <= 0.9, note that the old configuration files"
|
||||
ewarn "named main.inc.php and db.inc.php are deprecated and should be"
|
||||
ewarn "replaced with one single config.inc.php file."
|
||||
ewarn "Run the ./bin/update.sh script to convert those"
|
||||
ewarn "or manually merge the files."
|
||||
ewarn "The new config.inc.php should only contain options that"
|
||||
ewarn "differ from the ones listed in defaults.inc.php."
|
||||
}
|
@ -1,6 +1,4 @@
|
||||
DIST Image-ExifTool-9.78.tar.gz 3900065 SHA256 b85c66bc8f6a3b151b3258954969b8fa77c25f0f28be1ba45c6fc1877e12455f SHA512 928cad54c4395f4f3f9686c005d116fe53b3ee8ab36433a71c4dc5257363955e0b83ddeb5fed82124e45688766cc8512f1068de0328ef3ff38b05a929f913dc6 WHIRLPOOL dcd10d7611aceaf71d22b77726316cb2718f9c7b465c3c46264ec95a2b8dd8f261c26fae7b399d604eeba4150704f61921ea5c8cf5c40d710a3f319c057b17bb
|
||||
DIST Image-ExifTool-9.79.tar.gz 3903753 SHA256 de3da090fad0d9ff99e115cd37f2ebb6f0b47c0a8587e804b17e4ef116d74811 SHA512 e7f067debd5ff2df0bbb27621aabe05ac44272c4f89c55b180e39cb9fe95055e709c6e1d502069a28677936fb491279ca071ed0136792071164b416bb5fbac02 WHIRLPOOL e6490c38261b2c3941fb16107853eb4b3a4a52e011de93093167c1d79143da88d18fd41880903e62fe94c0b9225c165e4f560ddccda96831803688f04cbf710a
|
||||
DIST Image-ExifTool-9.80.tar.gz 3905030 SHA256 d360b9dc2e8f3ecbebf67d7bdd09724178d2fd51d3a891354a9eedf0cac5023a SHA512 7835aafdd603d2f400728dd4b2c95c9456d48157efd9dc2b4fb00f70833871632582e39d5991e45c87f7e2e6e20fba16381a00f7c5bc7639beb884522120366c WHIRLPOOL a921fffa2eeb4c87b21e29f6752cda2d5f905ee0b1e39b0e0055d06f9c95713503222cec0c84c42cdeea75f60a6b08d053b2655d37fc84215c8accf99e0bada8
|
||||
DIST Image-ExifTool-9.81.tar.gz 3906049 SHA256 2dd13ff814d1333f3d81e8f8a0df9660ce1d5921bf0987709b22889247c1f7dd SHA512 d98bb337dfd00f791bec82a5107b59ff762f6b6b1a15aca908b450c45c03b783eff6544243c11b8a3870c656ec802e864fc10d9285b63456d392bb88da46710a WHIRLPOOL 85a9aa6bb94d06347a347715da18ea9a2ab761bbcf3072b1f3e5c598a593373414965bac431fd8c8107a48947b29e52c8f1dd7e0f827a82be857bebab4307591
|
||||
DIST Image-ExifTool-9.82.tar.gz 3909913 SHA256 b200673dc2e13898cbcbfd95e6285876d39a8d3beb85ccc1abfca009396e5f4b SHA512 e95e1d78edd2b14a34b422e23332e0185e2a884c16d96643b27f6661e4a08b4c2714b73f9dce2b2f4bb5d24e544da3f61245af91715aeffda65678c747252365 WHIRLPOOL 9c8963748981819c5edecabd4eb8690afa61bdfcc29ed0758df7adf9e5cc05bf05e759a03a6b5ab99c499f354a7a2b602b4e486043e22e4966c91dbc1c31b097
|
||||
DIST Image-ExifTool-9.85.tar.gz 3922393 SHA256 118fa9c3787bb9b7d99521cc0330a3d449d8866afb717ed6dbcbb34fd940e145 SHA512 5535d985bd73921006836e804e28cb692c15066a09c9a6475129f92bc071d9ecb83c91d0c1a123243b282a63d1e08879a330234ccd0fe9746ff02bf8adb62f74 WHIRLPOOL 7b8dfab23d492d5823113bdbdc6a8d466ef6a00d12d852c8733928b31a63349d89f9bd7a3da17ae3d5ab1af5f95f7783585969bca871686e2ab2ebe12fabf0cd
|
||||
DIST Image-ExifTool-9.86.tar.gz 3924748 SHA256 43ff9f27f32f9eefa431332525b71ee97dd5bd1fde39f64450d387f03bab475b SHA512 fa4efd55a3804c814eb195b26f0367b5bfadce32027bd740cfd826dfb817397268ea1b383cbaf75c38ac6f5370fdafb889c463c3c1fb0d616da4be0366cec56d WHIRLPOOL 22d3646ae7c35902107123e33cd8a7131e750a5b626f2937a272283153636c2841cb978a2969a586538c6ec8ebe427005e8155ba848fbe2db099b04d164aad30
|
||||
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/exiftool/exiftool-9.79.ebuild,v 1.1 2015/01/06 16:14:43 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MY_PN=Image-ExifTool
|
||||
MY_P=${MY_PN}-${PV}
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Read and write meta information in image, audio and video files"
|
||||
HOMEPAGE="http://www.sno.phy.queensu.ca/~phil/exiftool/ ${HOMEPAGE}"
|
||||
SRC_URI="http://www.sno.phy.queensu.ca/~phil/exiftool/${MY_P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x64-macos"
|
||||
|
||||
SRC_TEST="do"
|
||||
|
||||
src_install() {
|
||||
perl-module_src_install
|
||||
dohtml -r html/
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/exiftool/exiftool-9.80.ebuild,v 1.1 2015/01/08 05:18:37 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MY_PN=Image-ExifTool
|
||||
MY_P=${MY_PN}-${PV}
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Read and write meta information in image, audio and video files"
|
||||
HOMEPAGE="http://www.sno.phy.queensu.ca/~phil/exiftool/ ${HOMEPAGE}"
|
||||
SRC_URI="http://www.sno.phy.queensu.ca/~phil/exiftool/${MY_P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x64-macos"
|
||||
|
||||
SRC_TEST="do"
|
||||
|
||||
src_install() {
|
||||
perl-module_src_install
|
||||
dohtml -r html/
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/exiftool/exiftool-9.81.ebuild,v 1.1 2015/01/15 05:31:42 radhermit Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/exiftool/exiftool-9.86.ebuild,v 1.1 2015/02/23 17:40:32 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
@ -1,12 +1,4 @@
|
||||
DIST abcm2ps-6.6.22.tar.gz 298108 SHA256 be3dde653a349c8875dd1c98810c7a5263ddaaee9bc99085a41749c3e53ce560 SHA512 fb7e526e7036456df8f8826c9d552de1ff9b007cdf5b5a623ac164a346cad9af07d26ed081d8693ff549cfde37fc541a02eea2d8cb45f4902b66ac05ab96f939 WHIRLPOOL e7d82037462f60ec4c9f6a8411c109eaeebae09373169d5d3b751d789c2c221d88a7062a9b6750e25b8062f999ea213f0c3d031390ea750dcfe9868469424363
|
||||
DIST abcm2ps-7.7.1.tar.gz 325159 SHA256 aa0ee2c618fb2d9d9148e891911573363ddebcce757214d1d1416456411fd490 SHA512 1d0920bf00dc303030eeb1c0c5bc44b9fefc9bccfc0b6de51acc0136e9ecb30649eec95ed6106c8e04e976ea8a0f9b984220c00cf9990789a98ba843c9c3d640 WHIRLPOOL 70a19a4df5e077a5485bdc8976a910e014b946036565b85b774b45fa4f4f12dbb837bc37f733fc2b0d5dd6bf9d0a226e8a3e87318a03cee39a459932b754edbe
|
||||
DIST abcm2ps-7.7.2.tar.gz 325716 SHA256 209b9f7172d28c661454321d3d7d5f58564caf88cb3f5856210c173f825a2798 SHA512 a6e4f604e31973d2c98c0ef20d1646e5c03309a6c3386484bfc403db92a7eaffbc7153ac73d9622c7e8f629c9549c5b081fb11908ecf823862c42f9cf42f8d25 WHIRLPOOL 02a52815e21be7b97cc4b26bc7ab88c2b6ec08842c199965a834043ee48f7e651097aa4e73f486319ba40658e07232da4fc8acd1a45c9bb64c1f0d409cd31d9e
|
||||
DIST abcm2ps-7.8.0.tar.gz 326568 SHA256 1c85e05493e35b2628ba9e76775a0a421c2c431b16c3122acd2e0b878c50f048 SHA512 b746ddf39f98ceb4607a7ad08856aeaac5bf4d48907b2261d7949911019b24a0f42332bd07666f178d28af6e640c239fd0dd32385a3072d29e04bd18f8c0509f WHIRLPOOL 88d17cd98e0386b2aaa3d92466442a807fe7ed4747b789ba71f767c2a0815b0b95231e2fbe1d12f1c077261ac79ae37f1bd9c40a4177a187223da66b4bfdf4f4
|
||||
DIST abcm2ps-7.8.1.tar.gz 326739 SHA256 3451b2ecc96e9361719196fbe1b032babd47392d792f852bca6f02f3273dd613 SHA512 f131faeff717f77e917d797e69e93dabb12fb5edc046959e2be95bcfe68f2029b81c389b1c60ff2bfdfc0a051e1b6eaa1b17cf695ae8135b38a901a81d876fc9 WHIRLPOOL 58c4a22470122bd107194b72a45c0804127a8af3ef8e394842b37986a50ca748ff8ae406b8731ead43102b35ef81988fd1b868b4b9586963dc11adf0e910d9c9
|
||||
DIST abcm2ps-7.8.3.tar.gz 327272 SHA256 0d60fe1cf9e6e1ace646219753b94c5b261593d0513bd5c96816c9c54e8a28c1 SHA512 7750f41068378ce44412603d9e1c94ca031abd091e587f268548258da94c54c4aaaafd26bc549424bb723e97022fadc770dbabb95fcf64675e700a61ebe65d86 WHIRLPOOL 8b6c8d6bcf67c91a8f93b5b8d5492336db8fb6ed33d013edd4a64953e3507881b947e83369fb408b6390b0db755b85b2adb3e7cefa6eb770ba40cf57b03dfa3a
|
||||
DIST abcm2ps-8.0.2.tar.gz 250504 SHA256 671128f51ffb13ed5f98de9d4eafd7c46062d5bccda8c8ff88daa7bd291c09b5 SHA512 acca61ed4115dd9d831362b89345059c22a108380e4d1dbabf34c5b4deaf994a86f9dc9c959ff43cf705519982bc801f54435996eda61a8e38f281cd3b9075fa WHIRLPOOL de11e6efae76e2524c546fd378e03479a038b6f6654c5062441bfce7a383a05ea46a056a025460d5daf5ea31cd6347eabe7f23247cdb95e7da2d373b1219f4bb
|
||||
DIST abcm2ps-8.0.4.tar.gz 249813 SHA256 7b57917f8ff78405523c69af89cc039108d9d47209703da26a8a9fe115e59f71 SHA512 86f80bd8562f2cbc560bf1f4313b24b4c679ba27e5eacfe68d93053314d32227eb15f0aa36d48712a5b4259003b190b9366b3033f2157d77bdcc3e911fb278ac WHIRLPOOL 65b03a74ed55073b20dde65dbf88fb0e4ad22759f1e3d6cbe748a9e3abcc764a2180a5ea79b338548c05669b5f79466501316e1b682bb90e99d8760bd9f553e4
|
||||
DIST abcm2ps-8.3.1.tar.gz 249582 SHA256 aa0090c44d0a33454d57919b9a6fcfb529f3bac8332e99f3a5d4cc6990eacbc4 SHA512 e0f3316893b94b97edcfdcf29b8630a67006e6ff3b85b8523181f8ee0c11e3a5595c6ef78dd2f64505bf6a0f141ab5e4391590af6676606fcb6f5336286f8f11 WHIRLPOOL 85740113cbda28b980e1ceed956b6f9f78e345ae457339f4a2db1543e4a4aa4831e459203c9056414f27a34af74da1192b49a9b316b8e37c9be270517b46befe
|
||||
DIST abcm2ps-8.3.2.tar.gz 234154 SHA256 c6d5da1a2e914ce48745f5b45965c51c7e6fc25bd35da29f18d150b4c16e4108 SHA512 8e68b78400eb8347af9da121ad357f88bfe6286d0216f03fcc0a80e9f58f1a884795407fd724115a76c3932bcd4d436b8adc58da8331811963c131fcf01f167c WHIRLPOOL 198adcb25dab46926b328a8a50a37f5b9ac7c74ba20064716c016443986d77f239571c73ca53c7a2c0f42fff8366bdd97e4885c4b41a12067c50f171c2b3a8af
|
||||
DIST abcm2ps-8.3.4.tar.gz 234794 SHA256 1ca8a669218f4c62a58dc9947e01d27c2c64dcec37d1b0939a0ed4496de1cd3c SHA512 c8e5cd5649d1588f8ec235439f3b0709d6a7ccbec2bfccf241e6e1b5010b9241f314b0778d020caddcf18b1c728ad9b4946979dc83dcfaafd031ea6e71f4dac4 WHIRLPOOL 88179655f16a1a1a8cd3f65cc930871232e079c59e9c53ebd3a99da47fb74e815d2fdb8dbb39b9f3df53ea84eefac77fbcf82d76c0ebebb16fd960c049720574
|
||||
DIST abcm2ps-8.5.2.tar.gz 231017 SHA256 466446ef3007a3bbedf01667e647ba66fcdd81e3bc714bfe5b13a1c16f536c69 SHA512 605ad9eed7470ab89ce87cb0192d58cdfce6dd481b787f58c829c8cfed999fb11ffccbc1fe0ad325a311eabf40405f1ae676c7c64ce84db0ecaf9d58b509b293 WHIRLPOOL 06ad4b92557cd65fcf18b80a40aae36b688137793397cf9aef8e286b73af1218cedacfcbaff8e6e4bd29ab78aac158ef174dfc3eb7cbe00ae560a54cd169636e
|
||||
DIST transpose_abc.pl 21045 SHA256 bd6960872bfbc9f71f183f36d533ea33b8cf62a6027b447f0b0b8adfa25a2848 SHA512 dc2623608a7b59d7e0c4d25160e69f696f170e9938dc3e035edbaf6f0163b4c6139892ec8734ea2aaba997507dcf32208562e898690600dc3c199046d4d151f3 WHIRLPOOL 81e327bbd76b40826adab06f7756c79c60289b21432b792c848db3ba1354528fa4f1a074cba890b6087cfac6e712427c6cbb2c9e6679c8ced22c362f6ec005f3
|
||||
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/abcm2ps/abcm2ps-7.7.1.ebuild,v 1.1 2014/02/28 11:17:26 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="A program to convert abc files to Postscript files"
|
||||
HOMEPAGE="http://moinejf.free.fr/"
|
||||
SRC_URI="http://moinejf.free.fr/${P}.tar.gz
|
||||
http://moinejf.free.fr/transpose_abc.pl"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="examples pango"
|
||||
|
||||
RDEPEND="pango? ( x11-libs/pango media-libs/freetype:2 )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--enable-a4 \
|
||||
--enable-deco-is-roll \
|
||||
$(use_enable pango)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin abcm2ps
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
doins *.fmt
|
||||
|
||||
dodoc Changes README *.txt
|
||||
|
||||
if use examples ; then
|
||||
docinto examples
|
||||
dodoc *.{abc,eps}
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
|
||||
docinto contrib
|
||||
dodoc "${DISTDIR}"/transpose_abc.pl
|
||||
}
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/abcm2ps/abcm2ps-7.7.2.ebuild,v 1.1 2014/03/08 23:35:13 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="A program to convert abc files to Postscript files"
|
||||
HOMEPAGE="http://moinejf.free.fr/"
|
||||
SRC_URI="http://moinejf.free.fr/${P}.tar.gz
|
||||
http://moinejf.free.fr/transpose_abc.pl"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="examples pango"
|
||||
|
||||
RDEPEND="pango? ( x11-libs/pango media-libs/freetype:2 )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--enable-a4 \
|
||||
--enable-deco-is-roll \
|
||||
$(use_enable pango)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin abcm2ps
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
doins *.fmt
|
||||
|
||||
dodoc Changes README *.txt
|
||||
|
||||
if use examples ; then
|
||||
docinto examples
|
||||
dodoc *.{abc,eps}
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
|
||||
docinto contrib
|
||||
dodoc "${DISTDIR}"/transpose_abc.pl
|
||||
}
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/abcm2ps/abcm2ps-7.8.0.ebuild,v 1.1 2014/03/31 03:03:40 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="A program to convert abc files to Postscript files"
|
||||
HOMEPAGE="http://moinejf.free.fr/"
|
||||
SRC_URI="http://moinejf.free.fr/${P}.tar.gz
|
||||
http://moinejf.free.fr/transpose_abc.pl"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="examples pango"
|
||||
|
||||
RDEPEND="pango? ( x11-libs/pango media-libs/freetype:2 )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--enable-a4 \
|
||||
--enable-deco-is-roll \
|
||||
$(use_enable pango)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin abcm2ps
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
doins *.fmt
|
||||
|
||||
dodoc Changes README *.txt
|
||||
|
||||
if use examples ; then
|
||||
docinto examples
|
||||
dodoc *.{abc,eps}
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
|
||||
docinto contrib
|
||||
dodoc "${DISTDIR}"/transpose_abc.pl
|
||||
}
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/abcm2ps/abcm2ps-7.8.1.ebuild,v 1.1 2014/04/04 08:14:26 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="A program to convert abc files to Postscript files"
|
||||
HOMEPAGE="http://moinejf.free.fr/"
|
||||
SRC_URI="http://moinejf.free.fr/${P}.tar.gz
|
||||
http://moinejf.free.fr/transpose_abc.pl"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="examples pango"
|
||||
|
||||
RDEPEND="pango? ( x11-libs/pango media-libs/freetype:2 )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--enable-a4 \
|
||||
--enable-deco-is-roll \
|
||||
$(use_enable pango)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin abcm2ps
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
doins *.fmt
|
||||
|
||||
dodoc Changes README *.txt
|
||||
|
||||
if use examples ; then
|
||||
docinto examples
|
||||
dodoc *.{abc,eps}
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
|
||||
docinto contrib
|
||||
dodoc "${DISTDIR}"/transpose_abc.pl
|
||||
}
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/abcm2ps/abcm2ps-7.8.3.ebuild,v 1.1 2014/06/03 06:42:34 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="A program to convert abc files to Postscript files"
|
||||
HOMEPAGE="http://moinejf.free.fr/"
|
||||
SRC_URI="http://moinejf.free.fr/${P}.tar.gz
|
||||
http://moinejf.free.fr/transpose_abc.pl"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="examples pango"
|
||||
|
||||
RDEPEND="pango? ( x11-libs/pango media-libs/freetype:2 )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--enable-a4 \
|
||||
--enable-deco-is-roll \
|
||||
$(use_enable pango)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin abcm2ps
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
doins *.fmt
|
||||
|
||||
dodoc Changes README *.txt
|
||||
|
||||
if use examples ; then
|
||||
docinto examples
|
||||
dodoc *.{abc,eps}
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
|
||||
docinto contrib
|
||||
dodoc "${DISTDIR}"/transpose_abc.pl
|
||||
}
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/abcm2ps/abcm2ps-8.0.2.ebuild,v 1.1 2014/04/04 08:14:26 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="A program to convert abc files to Postscript files"
|
||||
HOMEPAGE="http://moinejf.free.fr/"
|
||||
SRC_URI="http://moinejf.free.fr/${P}.tar.gz
|
||||
http://moinejf.free.fr/transpose_abc.pl"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="examples pango"
|
||||
|
||||
RDEPEND="pango? ( x11-libs/pango media-libs/freetype:2 )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--enable-a4 \
|
||||
--enable-deco-is-roll \
|
||||
$(use_enable pango)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin abcm2ps
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
doins *.fmt
|
||||
|
||||
dodoc Changes README *.txt
|
||||
|
||||
if use examples ; then
|
||||
docinto examples
|
||||
dodoc *.{abc,eps}
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
|
||||
docinto contrib
|
||||
dodoc "${DISTDIR}"/transpose_abc.pl
|
||||
}
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/abcm2ps/abcm2ps-8.0.4.ebuild,v 1.1 2014/06/03 06:42:34 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="A program to convert abc files to Postscript files"
|
||||
HOMEPAGE="http://moinejf.free.fr/"
|
||||
SRC_URI="http://moinejf.free.fr/${P}.tar.gz
|
||||
http://moinejf.free.fr/transpose_abc.pl"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="examples pango"
|
||||
|
||||
RDEPEND="pango? ( x11-libs/pango media-libs/freetype:2 )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--enable-a4 \
|
||||
--enable-deco-is-roll \
|
||||
$(use_enable pango)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin abcm2ps
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
doins *.fmt
|
||||
|
||||
dodoc Changes README *.txt
|
||||
|
||||
if use examples ; then
|
||||
docinto examples
|
||||
dodoc *.{abc,eps}
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
|
||||
docinto contrib
|
||||
dodoc "${DISTDIR}"/transpose_abc.pl
|
||||
}
|
@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/abcm2ps/abcm2ps-8.3.2.ebuild,v 1.1 2014/11/05 07:00:45 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="A program to convert abc files to Postscript files"
|
||||
HOMEPAGE="http://moinejf.free.fr/"
|
||||
SRC_URI="http://moinejf.free.fr/${P}.tar.gz
|
||||
http://moinejf.free.fr/transpose_abc.pl"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="examples pango"
|
||||
|
||||
RDEPEND="pango? ( x11-libs/pango media-libs/freetype:2 )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--enable-a4 \
|
||||
--enable-deco-is-roll \
|
||||
$(use_enable pango)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin abcm2ps
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
doins *.fmt
|
||||
|
||||
dodoc Changes README *.txt
|
||||
|
||||
if use examples ; then
|
||||
docinto examples
|
||||
dodoc *.{abc,eps}
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
|
||||
docinto contrib
|
||||
dodoc "${DISTDIR}"/transpose_abc.pl
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/abcm2ps/abcm2ps-8.3.1.ebuild,v 1.1 2014/10/18 03:23:52 radhermit Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/abcm2ps/abcm2ps-8.5.2.ebuild,v 1.1 2015/02/24 02:29:05 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit toolchain-funcs
|
@ -1,9 +1,2 @@
|
||||
DIST abcMIDI-2014-02-05.zip 506837 SHA256 bd4acfc7e7a296d2dece7ef46154e7b4733ee46eb94a5e2a57e1982064c71e35 SHA512 8654c9a396e1522c144e8a5893832d64d76bb34496b2f3a948649ff1e85f85ca7e91a6cbfbf49f769047c4c78c9f9d9029a1943c2bc8aad7d6620a57408f65da WHIRLPOOL 2ed3f40008111029c3b0073b7e14073ca8f6e6df933dfeebe0e798ace89ada03311ba1d771cdd1f67a363d818bfefe8598c00cffec2e9ba9a2117945bc8654b8
|
||||
DIST abcMIDI-2014-04-03.zip 507208 SHA256 e595b705adb513ea3f5e8b9a503f4e04872b1ad14a11bdfaa006a9ab8a0f5309 SHA512 1f28f12992818b3fbe92cbc2418d2a9376a3406abc3dee8683744c03ef267a432abdc26e638ad2b72eea835aeb6cf4b31cedba89d0ae998a3dd0044f7f207c80 WHIRLPOOL 5ffaa3250b3c26d1ca813b9222e9e1d830f4c03acd03e73778b868f72da491ca9d7ba2f3559bfe440626ac728c91e41f0ef0b1eae36991ed7d71a7a31eb735bd
|
||||
DIST abcMIDI-2014-04-10.zip 507563 SHA256 ef7cb39129f4f3e8088eeb57aecc727c6de0df006a4dd8496bf6601847560fe4 SHA512 df5ced48aa3791b24f70be256a7c743a910dc0527d86552856897aa7797ad039a56dae0d45ebe7b95c656755f7122ed7e45bae144384947f112191bd397e3cd5 WHIRLPOOL 8dc30d1947101ad21c9267c661f4e1231c5dc34202ea093dd73bba8d9b73041b8f5b63d17d85fc48a64b7aaf305047a459fe4e61b6983235997dce26a78d9590
|
||||
DIST abcMIDI-2014-04-24.zip 507954 SHA256 bb75b235b08f9ba64fb819973238f136491334bfc0e50909c41914a92ac1d6dd SHA512 9531a307b45ed1550e89ccc354e6cd1ebfa2d7092f1c35ee0310e9932af7ce1815918ecf3738ceff509604921c6f8ed17eeac8a2c978432261bc611558631c7d WHIRLPOOL 094d1b9feee3e9427bbeb30a68f64f7c4a7cdd55ed39db329e1649de526a8279c6e6213f98b36ad435736500a9856c6ccca94035d3644f5d86a515c8c4fb0603
|
||||
DIST abcMIDI-2014-09-28.zip 510496 SHA256 c8ebad8e28823e2314ce7561e8864572fe19ff87fbfd341faba139c120a7edc6 SHA512 1023d18a70f5e245ed2fbdc532b6a0a40bd416952bba895ce7b493fb5c5db9dedc811eb5be60063c9764bfe96633971ea346d6da7245b2a93c2429d5fa6fdea6 WHIRLPOOL 11185e6a08607ce9f7ec61a1790cdd5d2f753c44b55d257c01f383482f5556be2f591baa3073bb6ef40b9b3925c459ea773a6f5588dbe6941728a173956fd591
|
||||
DIST abcMIDI-2014-10-16.zip 510732 SHA256 f8a63f5a7250333660ceb6e6eb5b9571adb328272eaf9358693e3361ca8cc3ee SHA512 d0c671061027b73f82a55a19812f565ef031a24fa1769db0062759dbb12977fd14c19a85a5a79db267975668aa1e6bbdefadbd3dee4ea282c5d0c426528f8f63 WHIRLPOOL 116377737619e58f0dafebf056ef47a6a7613e7e0c1db24c58c3c61bd9b6aff0362c503da7a08b404a2fd27ddcfd4e2a6484a7ba2e44633ee8a8f90afb4bab3b
|
||||
DIST abcMIDI-2014-11-02.zip 513754 SHA256 70ddc0e6f8d11acc579b026d430a7cfc33a56e0e4c735e160b9d9abefe642132 SHA512 44da4d500cb52e8019c946bde8a7551c74b22f97cb0ebeb1cd614ecc08e4999777fb0431b7941ebfe4541d9a860b0d4ce40923ee9bd8678531c7f38a7a559f40 WHIRLPOOL 1357849a35d7ee45588a3995ddcdae88d2282e6e33bc2071505f8f8348c11a88fe0da1a931b0de6e63dd41cf6cd329d4f8be42a20a287fe18963f2db57db0a8a
|
||||
DIST abcMIDI-2014-11-18.zip 514720 SHA256 03cabb945dd597b8b111165449af3094ee704e27b5185f5eef272a7846b0f787 SHA512 4d12d35cea60dc94deff16c4a455f8327d7e4cf2cd60d1fd45396a1bcfc4f2fcbd876bc0e209058d2a8d1eeed6261615e7424675ec2455b8be334c45453d524b WHIRLPOOL 688205e8a666ef2c6a4c10582cf5ff4deea74b20a7780277c21f61f1261206130d296fd883da1867eacbd04bf5ab8810b13aba71537ee3c92d12b2cc6c2c3b8d
|
||||
DIST abcMIDI-2014-12-25.zip 515102 SHA256 eb58236eb80c4b454c16c7df36ebb38712f60074ebbd0cc5cc992fb2ff6bc3cc SHA512 3801a35c23d3bc145c50d652f61c2ffd245cb78d080836985dd6f495d37a31742b2bfd372c7d8ccf12d75fd2d7ccd70a119eb03f2f7abdc45ff666b26d535968 WHIRLPOOL 94f15fc6689da6f7b91b9601bf329b86bc5024ca1e24b8fd6189917390715c701d75cbaa529430cb5a295703d2f2b74393336f5e20365d446c7027e417e6e562
|
||||
DIST abcMIDI-2015-02-22.zip 515257 SHA256 56576371a551f7a83d5eb60578fb0af4b17e55c27ebbd78431b8919b7259fb60 SHA512 a9b686dcbcbc63e5ca2284bf4a355718aeca12853b3b0a01a578bfd2b9e2c1c4ede5a7a33c413882e9e0254349591a82a7e13bfb2e1c4e9b2b967fcb089376e2 WHIRLPOOL 15661abcd8fbef72d3e04af3181251575def6d5942fbd38c0a133e95d82af1f903ef2b03b302c0dc7c1a9703243c9a96470dff459f87c2f2a1446b37c869559b
|
||||
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/abcmidi/abcmidi-2014.04.03.ebuild,v 1.1 2014/04/04 08:13:06 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils versionator autotools
|
||||
|
||||
MY_P="abcMIDI-$(replace_all_version_separators '-')"
|
||||
DESCRIPTION="Programs for processing ABC music notation files"
|
||||
HOMEPAGE="http://abc.sourceforge.net/abcMIDI/"
|
||||
SRC_URI="http://ifdo.pugmarks.com/~seymour/runabc/${MY_P}.zip"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="examples"
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-2011.10.19-install.patch
|
||||
rm configure makefile || die
|
||||
sed -i "s:-O2::" configure.ac || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dodoc doc/{AUTHORS,CHANGES,abcguide.txt,abcmatch.txt,history.txt,readme.txt,yapshelp.txt}
|
||||
|
||||
if use examples ; then
|
||||
docinto examples
|
||||
dodoc samples/*.abc
|
||||
fi
|
||||
}
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/abcmidi/abcmidi-2014.04.10.ebuild,v 1.1 2014/04/15 05:09:05 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils versionator autotools
|
||||
|
||||
MY_P="abcMIDI-$(replace_all_version_separators '-')"
|
||||
DESCRIPTION="Programs for processing ABC music notation files"
|
||||
HOMEPAGE="http://abc.sourceforge.net/abcMIDI/"
|
||||
SRC_URI="http://ifdo.pugmarks.com/~seymour/runabc/${MY_P}.zip"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="examples"
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-2011.10.19-install.patch
|
||||
rm configure makefile || die
|
||||
sed -i "s:-O2::" configure.ac || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dodoc doc/{AUTHORS,CHANGES,abcguide.txt,abcmatch.txt,history.txt,readme.txt,yapshelp.txt}
|
||||
|
||||
if use examples ; then
|
||||
docinto examples
|
||||
dodoc samples/*.abc
|
||||
fi
|
||||
}
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/abcmidi/abcmidi-2014.04.24.ebuild,v 1.1 2014/04/25 08:07:02 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils versionator autotools
|
||||
|
||||
MY_P="abcMIDI-$(replace_all_version_separators '-')"
|
||||
DESCRIPTION="Programs for processing ABC music notation files"
|
||||
HOMEPAGE="http://abc.sourceforge.net/abcMIDI/"
|
||||
SRC_URI="http://ifdo.pugmarks.com/~seymour/runabc/${MY_P}.zip"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="examples"
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-2011.10.19-install.patch
|
||||
rm configure makefile || die
|
||||
sed -i "s:-O2::" configure.ac || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dodoc doc/{AUTHORS,CHANGES,abcguide.txt,abcmatch.txt,history.txt,readme.txt,yapshelp.txt}
|
||||
|
||||
if use examples ; then
|
||||
docinto examples
|
||||
dodoc samples/*.abc
|
||||
fi
|
||||
}
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/abcmidi/abcmidi-2014.09.28.ebuild,v 1.1 2014/10/09 03:34:06 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils versionator autotools
|
||||
|
||||
MY_P="abcMIDI-$(replace_all_version_separators '-')"
|
||||
DESCRIPTION="Programs for processing ABC music notation files"
|
||||
HOMEPAGE="http://abc.sourceforge.net/abcMIDI/"
|
||||
SRC_URI="http://ifdo.pugmarks.com/~seymour/runabc/${MY_P}.zip"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="examples"
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-2011.10.19-install.patch
|
||||
rm configure makefile || die
|
||||
sed -i "s:-O2::" configure.ac || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dodoc doc/{AUTHORS,CHANGES,abcguide.txt,abcmatch.txt,history.txt,readme.txt,yapshelp.txt}
|
||||
|
||||
if use examples ; then
|
||||
docinto examples
|
||||
dodoc samples/*.abc
|
||||
fi
|
||||
}
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/abcmidi/abcmidi-2014.10.16.ebuild,v 1.1 2014/10/18 03:25:34 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils versionator autotools
|
||||
|
||||
MY_P="abcMIDI-$(replace_all_version_separators '-')"
|
||||
DESCRIPTION="Programs for processing ABC music notation files"
|
||||
HOMEPAGE="http://abc.sourceforge.net/abcMIDI/"
|
||||
SRC_URI="http://ifdo.pugmarks.com/~seymour/runabc/${MY_P}.zip"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="examples"
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-2011.10.19-install.patch
|
||||
rm configure makefile || die
|
||||
sed -i "s:-O2::" configure.ac || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dodoc doc/{AUTHORS,CHANGES,abcguide.txt,abcmatch.txt,history.txt,readme.txt,yapshelp.txt}
|
||||
|
||||
if use examples ; then
|
||||
docinto examples
|
||||
dodoc samples/*.abc
|
||||
fi
|
||||
}
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/abcmidi/abcmidi-2014.11.02.ebuild,v 1.1 2014/11/05 06:59:09 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils versionator autotools
|
||||
|
||||
MY_P="abcMIDI-$(replace_all_version_separators '-')"
|
||||
DESCRIPTION="Programs for processing ABC music notation files"
|
||||
HOMEPAGE="http://abc.sourceforge.net/abcMIDI/"
|
||||
SRC_URI="http://ifdo.pugmarks.com/~seymour/runabc/${MY_P}.zip"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="examples"
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-2011.10.19-install.patch
|
||||
rm configure makefile || die
|
||||
sed -i "s:-O2::" configure.ac || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dodoc doc/{AUTHORS,CHANGES,abcguide.txt,abcmatch.txt,history.txt,readme.txt,yapshelp.txt}
|
||||
|
||||
if use examples ; then
|
||||
docinto examples
|
||||
dodoc samples/*.abc
|
||||
fi
|
||||
}
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/abcmidi/abcmidi-2014.11.18.ebuild,v 1.1 2014/11/24 02:12:45 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils versionator autotools
|
||||
|
||||
MY_P="abcMIDI-$(replace_all_version_separators '-')"
|
||||
DESCRIPTION="Programs for processing ABC music notation files"
|
||||
HOMEPAGE="http://abc.sourceforge.net/abcMIDI/"
|
||||
SRC_URI="http://ifdo.pugmarks.com/~seymour/runabc/${MY_P}.zip"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="examples"
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-2011.10.19-install.patch
|
||||
rm configure makefile || die
|
||||
sed -i "s:-O2::" configure.ac || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dodoc doc/{AUTHORS,CHANGES,abcguide.txt,abcmatch.txt,history.txt,readme.txt,yapshelp.txt}
|
||||
|
||||
if use examples ; then
|
||||
docinto examples
|
||||
dodoc samples/*.abc
|
||||
fi
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/abcmidi/abcmidi-2014.02.05.ebuild,v 1.1 2014/02/06 10:09:51 radhermit Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/abcmidi/abcmidi-2015.02.22.ebuild,v 1.1 2015/02/24 02:25:25 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
@ -1 +1 @@
|
||||
Mon, 23 Feb 2015 17:36:50 +0000
|
||||
Tue, 24 Feb 2015 08:06:50 +0000
|
||||
|
@ -1 +1 @@
|
||||
Mon, 23 Feb 2015 17:36:50 +0000
|
||||
Tue, 24 Feb 2015 08:06:51 +0000
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue