7014 changed files with 15730 additions and 14341 deletions
-
1app-backup/backup-manager/backup-manager-0.7.10.1-r2.ebuild
-
3app-backup/backup-manager/backup-manager-0.7.5.ebuild
-
5app-cdr/cuetools/cuetools-1.3.1-r2.ebuild
-
2app-editors/emacs/emacs-23.4-r14.ebuild
-
2app-emacs/ebuild-mode/ebuild-mode-1.29.ebuild
-
29app-emulation/ganeti-htools/files/ganeti-htools-0.3.1-ghc-7.10.patch
-
1app-emulation/ganeti-htools/ganeti-htools-0.3.1.ebuild
-
2app-misc/ca-certificates/ca-certificates-20151214.3.21.ebuild
-
5app-misc/cdcat/cdcat-0.3.ebuild
-
1app-misc/pax-utils/Manifest
-
58app-misc/pax-utils/pax-utils-1.1.5.ebuild
-
3app-text/atril/atril-1.10.3-r1.ebuild
-
1app-text/sigil/metadata.xml
-
4dev-db/phpmyadmin/phpmyadmin-4.5.4.1.ebuild
-
7dev-go/bee/Manifest
-
62dev-go/bee/bee-1.4.1_p20160125.ebuild
-
10dev-go/bee/metadata.xml
-
2dev-go/beego/beego-1.6.0_p20160126.ebuild
-
2dev-go/go-sqlite3/go-sqlite3-1.1.0_p20160131.ebuild
-
4dev-java/javacup/javacup-0.11a_beta20060608.ebuild
-
1dev-java/junit/junit-4.10.ebuild
-
1dev-java/junit/junit-4.11.ebuild
-
3dev-java/tomcat-servlet-api/Manifest
-
35dev-java/tomcat-servlet-api/tomcat-servlet-api-7.0.65.ebuild
-
4dev-java/tomcat-servlet-api/tomcat-servlet-api-8.0.32.ebuild
-
6dev-lang/ghc/ghc-7.10.2-r1.ebuild
-
6dev-lang/ghc/ghc-7.10.2.ebuild
-
5dev-lang/ghc/ghc-7.4.2.ebuild
-
5dev-lang/ghc/ghc-7.6.3-r1.ebuild
-
6dev-lang/ghc/ghc-7.8.3.ebuild
-
6dev-lang/ghc/ghc-7.8.4.ebuild
-
4dev-lang/swi-prolog/Manifest
-
142dev-lang/swi-prolog/swi-prolog-7.3.12.ebuild
-
2dev-lang/swi-prolog/swi-prolog-7.3.15.ebuild
-
2dev-libs/libbsd/libbsd-0.8.2.ebuild
-
326dev-libs/libgcrypt/files/libgcrypt-1.5.4-CVE-2015-7511.patch
-
3dev-libs/libgcrypt/libgcrypt-1.5.4-r101.ebuild
-
58dev-libs/libgcrypt/libgcrypt-1.5.4-r2.ebuild
-
2dev-libs/libgit2/libgit2-0.23.4.ebuild
-
3dev-libs/libpcre/libpcre-7.9-r1.ebuild
-
3dev-libs/libpcre/libpcre-8.35.ebuild
-
3dev-libs/libpcre/libpcre-8.36.ebuild
-
3dev-libs/libpcre/libpcre-8.37-r2.ebuild
-
3dev-libs/libpcre/libpcre-8.38.ebuild
-
1dev-libs/libzip/Manifest
-
29dev-libs/libzip/libzip-1.1.1.ebuild
-
2dev-ml/mirage-profile/metadata.xml
-
1dev-ml/ocaml-cstruct/Manifest
-
3dev-ml/ocaml-cstruct/metadata.xml
-
45dev-ml/ocaml-cstruct/ocaml-cstruct-1.8.0.ebuild
-
2dev-ml/ocaml-dns/metadata.xml
-
2dev-ml/ocaml-pcap/metadata.xml
-
2dev-ml/ocaml-uri/metadata.xml
-
2dev-ml/ocplib-endian/metadata.xml
-
36dev-ml/qcheck/metadata.xml
-
2dev-ml/stringext/metadata.xml
-
2dev-perl/Gentoo-PerlMod-Version/Gentoo-PerlMod-Version-0.8.0.ebuild
-
2dev-perl/Getopt-Long-Descriptive/Getopt-Long-Descriptive-0.97.0.ebuild
-
2dev-perl/glib-perl/glib-perl-1.314.0.ebuild
-
1dev-python/croniter/Manifest
-
19dev-python/croniter/croniter-0.3.11.ebuild
-
11dev-python/croniter/metadata.xml
-
2dev-python/hypothesis/hypothesis-1.19.0.ebuild
-
1dev-python/packaging/Manifest
-
47dev-python/packaging/packaging-16.2.ebuild
-
18dev-python/pyopencl/pyopencl-2015.2.4.ebuild
-
4dev-python/pyqwt/pyqwt-5.2.0-r1.ebuild
-
1dev-python/python-gflags/Manifest
-
29dev-python/python-gflags/files/python-gflags-3.0.2-scripts-install.patch
-
25dev-python/python-gflags/python-gflags-3.0.2.ebuild
-
1dev-python/pytools/Manifest
-
32dev-python/pytools/pytools-2016.1.ebuild
-
0dev-qt/qtcore/qtcore-5.5.1-r1.ebuild
-
2dev-ruby/commander/Manifest
-
4dev-ruby/commander/commander-4.3.8.ebuild
-
4dev-ruby/listen/Manifest
-
38dev-ruby/listen/listen-2.8.5.ebuild
-
38dev-ruby/listen/listen-2.8.6.ebuild
-
47dev-ruby/listen/listen-3.0.3.ebuild
-
8dev-ruby/listen/listen-3.0.6.ebuild
-
3dev-ruby/parser/Manifest
-
34dev-ruby/parser/parser-2.2.2.6.ebuild
-
0dev-ruby/parser/parser-2.3.0.4.ebuild
-
1dev-ruby/rdoc/Manifest
-
98dev-ruby/rdoc/rdoc-4.2.2.ebuild
-
2dev-ruby/shoulda-matchers/Manifest
-
4dev-ruby/shoulda-matchers/shoulda-matchers-3.1.1.ebuild
-
2dev-util/cyclo/Manifest
-
23dev-util/cyclo/cyclo-2.1.0.ebuild
-
2dev-util/pkgconf/pkgconf-0.9.12.ebuild
-
2eclass/cmake-utils.eclass
-
3eclass/go-mono.eclass
-
102eclass/java-utils-2.eclass
-
3eclass/nvidia-driver.eclass
-
20eclass/qt5-build.eclass
-
1games-kids/gcompris/Manifest
-
81games-kids/gcompris/files/gcompris-15.10-build.patch
-
89games-kids/gcompris/gcompris-15.10.ebuild
-
1games-roguelike/tomenet/Manifest
-
77games-roguelike/tomenet/files/tomenet-4.6.1a-makefile.patch
@ -0,0 +1,29 @@ |
|||
diff --git a/Ganeti/HTools/Types.hs b/Ganeti/HTools/Types.hs
|
|||
index 104bf64..8146870 100644
|
|||
--- a/Ganeti/HTools/Types.hs
|
|||
+++ b/Ganeti/HTools/Types.hs
|
|||
@@ -65,2 +65,4 @@ import qualified Data.Map as M
|
|||
import qualified Text.JSON as JSON |
|||
+import Control.Applicative
|
|||
+import Control.Monad
|
|||
|
|||
@@ -221,2 +223,9 @@ data Result a
|
|||
|
|||
+instance Functor Result where
|
|||
+ fmap = liftM
|
|||
+
|
|||
+instance Applicative Result where
|
|||
+ pure = return
|
|||
+ (<*>) = ap -- defined in Control.Monad
|
|||
+
|
|||
instance Monad Result where |
|||
@@ -252,2 +261,9 @@ data OpResult a = OpFail FailMode -- ^ Failed operation
|
|||
|
|||
+instance Functor OpResult where
|
|||
+ fmap = liftM
|
|||
+
|
|||
+instance Applicative OpResult where
|
|||
+ pure = return
|
|||
+ (<*>) = ap -- defined in Control.Monad
|
|||
+
|
|||
instance Monad OpResult where |
@ -0,0 +1,58 @@ |
|||
# Copyright 1999-2015 Gentoo Foundation |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
# $Id$ |
|||
|
|||
EAPI="4" |
|||
|
|||
inherit eutils toolchain-funcs unpacker |
|||
|
|||
DESCRIPTION="ELF related utils for ELF 32/64 binaries that can check files for security relevant properties" |
|||
HOMEPAGE="https://wiki.gentoo.org/index.php?title=Project:Hardened/PaX_Utilities" |
|||
SRC_URI="mirror://gentoo/${P}.tar.xz |
|||
http://dev.gentoo.org/~solar/pax/${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 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
|||
IUSE="caps debug python seccomp" |
|||
|
|||
RDEPEND="caps? ( >=sys-libs/libcap-2.24 ) |
|||
python? ( dev-python/pyelftools ) |
|||
seccomp? ( sys-libs/libseccomp )" |
|||
DEPEND="${RDEPEND} |
|||
caps? ( virtual/pkgconfig ) |
|||
seccomp? ( virtual/pkgconfig ) |
|||
app-arch/xz-utils" |
|||
|
|||
_emake() { |
|||
emake \ |
|||
USE_CAP=$(usex caps) \ |
|||
USE_DEBUG=$(usex debug) \ |
|||
USE_PYTHON=$(usex python) \ |
|||
USE_SECCOMP=$(usex seccomp) \ |
|||
"$@" |
|||
} |
|||
|
|||
src_configure() { |
|||
# 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' || true |
|||
then |
|||
econf $(use_with caps) $(use_with debug) $(use_with python) $(use_with seccomp) |
|||
else |
|||
tc-export CC |
|||
fi |
|||
} |
|||
|
|||
src_compile() { |
|||
_emake |
|||
} |
|||
|
|||
src_test() { |
|||
_emake check |
|||
} |
|||
|
|||
src_install() { |
|||
_emake DESTDIR="${ED}" PKGDOCDIR='$(DOCDIR)'/${PF} install |
|||
} |
@ -0,0 +1,7 @@ |
|||
DIST assertions-287b4346dc4e71a038c346375a9d572453bc469b.tar.gz 139764 SHA256 5a6c02a44b20425695e54433a9c72a88372fdb35beee764a2cceeb7264cda55f SHA512 8911ee27ba4aad8371e5095cfb7a63aaae08dfc89aca9d7dd72d1c55f7d9e3e2661050965ba123c031165c31733ad6599b9c16716ce01c5f850f2759fc180b90 WHIRLPOOL ecf94dd7e83d783b05a0d69f8c75b7f9243505d01a806e34f57b09cca60047dcf020b81a8bf3383acca28d44485cfdf83c812680d03375c81372ecca274fccb9 |
|||
DIST bee-1.4.1_p20160125.tar.gz 114965 SHA256 28d368e445e651d50d1262359130621b9ee6e03e51a40c21f48582ebfdb24600 SHA512 fbecfac3fbeb23d00a8b7c6b9933233d29e60ee353def0540a6f75e84d0add7202e7d2f428b6139e21d4c17fb30b67711be46704aae543d8dfff55dce7152568 WHIRLPOOL 58025ad445213a8dba26218814efa64ceb85473e8550a0e0b3cdd91fe217ad37a4771afec64780a238116ef08667370f16d6c3932e7646cd6eead9581656fbb8 |
|||
DIST fsnotify-f0c08ee9c60704c1879025f2ae0ff3e000082c13.tar.gz 19325 SHA256 fe6567ac79ef0d030e8442df4039f095454602a2a4f5d493e4381492b2a232eb SHA512 a0b1a13d82303fb2eed7f884360b6010722a47233bccacc0b048cbea7bab9be981fff9197fa0aaef587b191b68a50fffa7997ffc2b819dbff4af2b17005b136f WHIRLPOOL 0dce8b0cf1042b1ba2b4ba0833bf16fd0f3c6c5e7e11ed793388ea2f93837f63ec20d25f227f9dd72a8c28db7d2f70022b0011683875b997d9c1c5a54a04f199 |
|||
DIST gls-8ddce2a84170772b95dd5d576c48d517b22cac63.tar.gz 6472 SHA256 dd9df462edb33ab82fa1007d934f2750600a8d41ec7e0176cb8a8d5db890addb SHA512 4d1f45289929b48f8801d9d51f1acb017dd703b75636cf2930b4222158e14d1850c526903459163d04a2831894bb0fcc9bd80d0e7a23a1f54930f2fc89965dc2 WHIRLPOOL 60b01c33f279fe54b8b02acdbd97fd584bf04bc3867724b7501b83d30996878e9879b1525cfd541859b154747e4bddbe3c2c22e183c855591ced42bbf03cd4b2 |
|||
DIST go-mysql-267b128680c46286b9ca13475c3cca5de8f79bd7.tar.gz 56401 SHA256 3aa79d9b80b92e7ed08436f82915ece3d211c86d41ba6fdfe56643448dcbe706 SHA512 0c7158e94e0034ce19de5c3cab4dff55bc808b47bd2ec0ddc282a18d971de2362ae72746217d9621a37435cb2fe32dd2f91a0e3ee125303d268a46f765b363e7 WHIRLPOOL 155ec234f9d39be381851530d7280fc6cb03e09f6ec5580e7e61333e1657fbdf4e4b31116363ef3fb87b27658e87c60f239ee26fc57bb0f550c232d85f547a7a |
|||
DIST goconvey-bf58a9a1291224109919756b4dcc469c670cc7e4.tar.gz 1161670 SHA256 b54809495f137dab6c798a332a46431df6580e116395233e6cb1daa90a03bd37 SHA512 717663991e54470acb0626a1272a9644486ab3f4552c347eea26d05acf603b713276036433e1997e9c27fe769316d3ba2582e04da9e08b84850b8c5ad494338e WHIRLPOOL e6f059af524fd26b8fd3731b63be9802f30d96aee92392411c67771019ee9cf886152ac1774a96ce35f60cf04ea7ee0f3a34a373b4aec78ebe86b476366cf822 |
|||
DIST pq-f59175c2986495ff94109dee3835c504a96c3e81.tar.gz 68877 SHA256 681711e05991a904f69c837357723e1524fc326e0e0cdba3c0f956c2d96d8c8a SHA512 c68b62816cec1994848009de420b601307e6b9581f35903b28828d9cab0c8e6763d90bde7b8f297002407086525df3b0da7adaf1c7e0f3b786a0d4fcbda7d2eb WHIRLPOOL e61adb00ca89dcd3631dfce1aeaf72aff63043aa80944234992e2579b03119ddba1f58d51e11ef40004994bc86e406bc092bc1b3334079662791c623b0fe941a |
@ -0,0 +1,62 @@ |
|||
# Copyright 1999-2016 Gentoo Foundation |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
# $Id$ |
|||
|
|||
EAPI=5 |
|||
inherit golang-build |
|||
|
|||
KEYWORDS="~amd64" |
|||
DESCRIPTION="A tool for helping develop with beego app framework" |
|||
EGO_PN="github.com/beego/bee/..." |
|||
EGIT_COMMIT="1566ca7da16102eab17a81346a1bc223642bc183" |
|||
SRC_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz |
|||
https://github.com/go-sql-driver/mysql/archive/267b128680c46286b9ca13475c3cca5de8f79bd7.tar.gz -> go-mysql-267b128680c46286b9ca13475c3cca5de8f79bd7.tar.gz |
|||
https://github.com/howeyc/fsnotify/archive/f0c08ee9c60704c1879025f2ae0ff3e000082c13.tar.gz -> fsnotify-f0c08ee9c60704c1879025f2ae0ff3e000082c13.tar.gz |
|||
https://github.com/lib/pq/archive/f59175c2986495ff94109dee3835c504a96c3e81.tar.gz -> pq-f59175c2986495ff94109dee3835c504a96c3e81.tar.gz |
|||
https://github.com/smartystreets/goconvey/archive/bf58a9a1291224109919756b4dcc469c670cc7e4.tar.gz -> goconvey-bf58a9a1291224109919756b4dcc469c670cc7e4.tar.gz |
|||
https://github.com/smartystreets/assertions/archive/287b4346dc4e71a038c346375a9d572453bc469b.tar.gz -> assertions-287b4346dc4e71a038c346375a9d572453bc469b.tar.gz |
|||
https://github.com/jtolds/gls/archive/8ddce2a84170772b95dd5d576c48d517b22cac63.tar.gz -> gls-8ddce2a84170772b95dd5d576c48d517b22cac63.tar.gz" |
|||
|
|||
HOMEPAGE="https://${EGO_PN%/*}" |
|||
LICENSE="Apache-2.0" |
|||
SLOT="0" |
|||
IUSE="" |
|||
DEPEND="dev-go/beego:=" |
|||
|
|||
get_archive_go_package() { |
|||
local archive=${1} uri x |
|||
for x in ${SRC_URI}; do |
|||
if [[ ${x} == http* ]]; then |
|||
uri=${x} |
|||
elif [[ ${x} == ${archive} ]]; then |
|||
break |
|||
fi |
|||
done |
|||
uri=${uri#https://} |
|||
echo ${uri%/archive/*} |
|||
} |
|||
|
|||
unpack_go_packages() { |
|||
local go_package x |
|||
# Unpack packages to appropriate locations for GOPATH |
|||
for x in ${A}; do |
|||
unpack ${x} |
|||
if [[ ${x} == *.tar.gz ]]; then |
|||
go_package=$(get_archive_go_package ${x}) |
|||
mkdir -p "${S}/src/${go_package%/*}" |
|||
for x in ${go_package##*/}-*; do |
|||
[[ ${x} -ef ${S} ]] && continue |
|||
mv "${x}" "${S}/src/${go_package}" || die |
|||
done |
|||
fi |
|||
done |
|||
} |
|||
|
|||
src_unpack() { |
|||
unpack_go_packages |
|||
} |
|||
|
|||
src_install() { |
|||
dobin bee |
|||
dodoc "${S}/src/${EGO_PN%/*}/README.md" |
|||
} |
@ -0,0 +1,10 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
|||
<pkgmetadata> |
|||
<maintainer type="person"> |
|||
<email>zmedico@gentoo.org</email> |
|||
</maintainer> |
|||
<upstream> |
|||
<remote-id type="github">beego/bee</remote-id> |
|||
</upstream> |
|||
</pkgmetadata> |
@ -1,35 +0,0 @@ |
|||
# Copyright 1999-2016 Gentoo Foundation |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
# $Id$ |
|||
|
|||
EAPI="5" |
|||
JAVA_PKG_IUSE="source" |
|||
|
|||
inherit eutils java-pkg-2 java-ant-2 |
|||
|
|||
MY_A="apache-${P}-src" |
|||
MY_P="${MY_A/-servlet-api/}" |
|||
DESCRIPTION="Tomcat's Servlet API 3.0/JSP API 2.2 implementation" |
|||
HOMEPAGE="http://tomcat.apache.org/" |
|||
SRC_URI="mirror://apache/tomcat/tomcat-7/v${PV}/src/${MY_P}.tar.gz" |
|||
|
|||
LICENSE="Apache-2.0" |
|||
SLOT="3.0" |
|||
KEYWORDS="amd64 ~ppc64 x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris" |
|||
IUSE="" |
|||
|
|||
DEPEND=">=virtual/jdk-1.6" |
|||
RDEPEND=">=virtual/jre-1.6" |
|||
|
|||
S="${WORKDIR}/${MY_P}/" |
|||
|
|||
java_prepare() { |
|||
cp "${FILESDIR}/${SLOT}-build.xml" build.xml || die "Could not replace build.xml" |
|||
rm -fR */*/build.xml ||die |
|||
java-pkg_clean |
|||
} |
|||
|
|||
src_install() { |
|||
java-pkg_dojar "${S}"/output/build/lib/*.jar |
|||
use source && java-pkg_dosrc java/javax/servlet/ |
|||
} |
@ -1,8 +1,6 @@ |
|||
DIST pl-6.6.6.tar.gz 14838653 SHA256 9f80bb274e2f31fd68b0acbe35982c012d5f8311dbe44ec1d8d04351a776996d SHA512 a850b0f6b283d34aa77d5e9d8a0053161fa534fa6d8935c7472362ff7b59ea6035de0658d9e38c317e2d92ed810370f2adc3e92b6346fc0ff392d18f1c8012a6 WHIRLPOOL 448d844fe45aee97ad2e37bea3f81dd5eb388e1dcb9f1c4dc54c18991aa91d481bff5b70174fb06edb06c1361759621a570a083fe36d62bffdf6028c49244b2a |
|||
DIST swi-prolog-6.6.6-gentoo-patchset-0.tar.gz 1590 SHA256 2b240d15562603120e0314bb69bde50089326c11876b7a62106c05f9d48ace71 SHA512 807c7e897dd5b9eef14e063ea53c03047f3acb23174a70a613258adf7f85dc1f7637158fde70aab2e0f40de4bc6ac5e3548dd09dbe3745d916a388f43eb832eb WHIRLPOOL 0a0dbc361cfbe343c8b3562a2c0535905eb1443eea0783b14f96bda43c04e8db6264f476c07da766c6936dc6088e34059f799a3244717390644bf0f5ae83018e |
|||
DIST swi-prolog-7.2.3-gentoo-patchset-1.tar.gz 1875 SHA256 c11e48122dc468f21e08da4a65f5a2daa9e0ddbc2e186bbd952626c95b29db04 SHA512 3506f4168d52f7d3539cd753c5153750df8c3239b78ffac1784c634b585d5fb0c825700e77abc9c1f467af71473ae1861eef629ebdf76b7c783d276c393f40fc WHIRLPOOL 8b70ab91592280d0634c6c897771696c0c63d30680044994cedf69f18cd4f386adf833998e64d4ad892cff97300b5bbfaa8dec8448ea04ebaba7e31f7e9c30d0 |
|||
DIST swi-prolog-7.3.12-gentoo-patchset-0.tar.gz 334 SHA256 648fa255ffa3a88f94bab11cf746a4a39f69554c2a4b97a2fc7cc65a0c7a954f SHA512 36ad39132eef380f620f29b3d05acbd499667cf2c82a8952d2047ebaea4dea4a7d1c54fdfa290b76fe5eda2e9e1698b25f7f707825485cf56be56db57b433a6c WHIRLPOOL e8a8988d51f40670abfa25a6788785932dbb01c8cdb885f4b4dc8c46fba793e30aa2d014af57c544f0e863ceb6c5b15dbfd89cdd69ff1ca069fc1e56ebbec2ce |
|||
DIST swipl-7.2.3.tar.gz 16192142 SHA256 43657d51b7c5887bc2d2bced50a9822b86a08a6841399b8e76ee877f51d646b5 SHA512 da27a6b171d3b471401f1a91e86a4dbe98973d8a1db8c72aa27e452311d08b893b01a1de8f9f4dafcdac460774b4ea980050256d37284546941e1bdf84f8cd7b WHIRLPOOL de695c8e0317921dcc13898f7a3c88d1012e3f87f633cd25766ca5cb6637b29ca81b9245d015614089291a7d9abd0d8c7109ccae1df9297d78301d241cb258b3 |
|||
DIST swipl-7.3.12.tar.gz 16176445 SHA256 33b5c8fbdcabc1a297f577e5a95dbc0d52150890e577f94809aa85dc9cc4b798 SHA512 d45785467eeef5f7f102597e2b61ee29e5fe973996f8d11fc1ae94276ce3de2b2b7335d1cbf9e6a0257b74ab409e7b12231ae29fff4e27fafc834d5c0894c370 WHIRLPOOL 400d2e41f7fa24f6e0cfce81cd32b97d36aa28af3f440b4b697cf2c6f631943d0cb7bad82b20253e71a2077fb3daa3d159208da358f51cd92fd11a77ae0a808c |
|||
DIST swipl-7.3.13.tar.gz 16182766 SHA256 eb1cad792dea0b1c53cb1822049084720b7391e6c4c4ff4d428b48a46962cea0 SHA512 4b3f077ffc140de98b76d67e692b41ab6084020d9594c1522201880655cbb203af1616e7eca8c889a044303d65a682a702ef8ba1a467133a443ecad71bd4c9ed WHIRLPOOL 25f78f2fb437a54d5e07a4aff3c16022b8e9e1544a80a3e49c1b781e2b0ab11bed1f24d2f7be92a57b8ba6352e37103d85d511243b923a8d982a72d43dbfc281 |
|||
DIST swipl-7.3.14.tar.gz 16190376 SHA256 2f201f79a01c65a9c2296b622d207749442c3ae1c62d3d9866a4a03f71d5e64f SHA512 3a88329d2c244b8614dfd55cbd0978bb1b59c975b6767ff18255d7c5dcfe713f04e252dc180b70d2daac4790c940d31ab060cec0371d0b36b13fd4e4b482e1c8 WHIRLPOOL 74e023c56f074c279249759f40e009c70698e282094201ae0f9ab0a88d42b29080b7db5c3337303b5b1f42615d7ff8afe1d96a2b2887e933440252778daa03b6 |
|||
DIST swipl-7.3.15.tar.gz 16216228 SHA256 4ff611d8db31ff097edba66f8ee45cdffb229be75f66974d3d1beb114ab85d47 SHA512 2a2d61413e7c98366cb4dd472044b381b296b60b68867e61a2a38f52f3be538603c60710770f766e6f4fa53383bd40043f053352fd96d5054766225e91b4f8d9 WHIRLPOOL 76224d6db53090ffd4d44573acb463c8c79b2d08699625d98ee9e23da7a8211a84ba3aaea054d81d18228f1ce84be32811f5d4d61fadb12431e0ab29f47ffd05 |
@ -1,142 +0,0 @@ |
|||
# Copyright 1999-2015 Gentoo Foundation |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
# $Id$ |
|||
|
|||
EAPI=5 |
|||
|
|||
inherit eutils flag-o-matic java-pkg-opt-2 multilib |
|||
|
|||
PATCHSET_VER="0" |
|||
|
|||
DESCRIPTION="free, small, and standard compliant Prolog compiler" |
|||
HOMEPAGE="http://www.swi-prolog.org/" |
|||
SRC_URI="http://www.swi-prolog.org/download/devel/src/swipl-${PV}.tar.gz |
|||
mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz" |
|||
|
|||
LICENSE="LGPL-2.1" |
|||
SLOT="0" |
|||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" |
|||
IUSE="archive berkdb debug doc +gmp hardened java libressl minimal odbc +readline ssl static-libs test uuid zlib X" |
|||
|
|||
RDEPEND="sys-libs/ncurses:= |
|||
archive? ( app-arch/libarchive ) |
|||
berkdb? ( >=sys-libs/db-4:= ) |
|||
zlib? ( sys-libs/zlib ) |
|||
odbc? ( dev-db/unixODBC ) |
|||
readline? ( sys-libs/readline:= ) |
|||
gmp? ( dev-libs/gmp:0 ) |
|||
ssl? ( |
|||
!libressl? ( dev-libs/openssl:0 ) |
|||
libressl? ( dev-libs/libressl ) |
|||
) |
|||
java? ( >=virtual/jdk-1.5:= ) |
|||
uuid? ( dev-libs/ossp-uuid ) |
|||
X? ( |
|||
virtual/jpeg:0 |
|||
x11-libs/libX11 |
|||
x11-libs/libXft |
|||
x11-libs/libXpm |
|||
x11-libs/libXt |
|||
x11-libs/libICE |
|||
x11-libs/libSM )" |
|||
|
|||
DEPEND="${RDEPEND} |
|||
X? ( x11-proto/xproto ) |
|||
java? ( test? ( =dev-java/junit-3.8* ) )" |
|||
|
|||
S="${WORKDIR}/swipl-${PV}" |
|||
|
|||
src_prepare() { |
|||
EPATCH_FORCE=yes |
|||
EPATCH_SUFFIX=patch |
|||
epatch "${WORKDIR}"/${PV} |
|||
|
|||
if ! use uuid; then |
|||
mv packages/clib/uuid.pl packages/clib/uuid.pl.unused || die |
|||
fi |
|||
|
|||
# OSX/Intel ld doesn't like an archive without table of contents |
|||
sed -i -e 's/-cru/-scru/' packages/nlp/libstemmer_c/Makefile.pl || die |
|||
} |
|||
|
|||
src_configure() { |
|||
append-flags -fno-strict-aliasing |
|||
use ppc && append-flags -mno-altivec |
|||
use hardened && append-flags -fno-unit-at-a-time |
|||
use debug && append-flags -DO_DEBUG |
|||
|
|||
# ARCH is used in the configure script to figure out host and target |
|||
# specific stuff |
|||
export ARCH=${CHOST} |
|||
|
|||
export CC_FOR_BUILD=$(tc-getBUILD_CC) |
|||
|
|||
cd "${S}"/src || die |
|||
econf \ |
|||
--libdir="${EPREFIX}"/usr/$(get_libdir) \ |
|||
$(use_enable gmp) \ |
|||
$(use_enable readline) \ |
|||
$(use_enable static-libs static) \ |
|||
--enable-shared \ |
|||
--enable-custom-flags COFLAGS="${CFLAGS}" |
|||
|
|||
if ! use minimal ; then |
|||
local jpltestconf |
|||
if use java && use test ; then |
|||
jpltestconf="--with-junit=$(java-config --classpath junit)" |
|||
fi |
|||
|
|||
cd "${S}/packages" || die |
|||
econf \ |
|||
--libdir="${EPREFIX}"/usr/$(get_libdir) \ |
|||
$(use_with archive) \ |
|||
$(use_with berkdb bdb ) \ |
|||
$(use_with java jpl) \ |
|||
${jpltestconf} \ |
|||
$(use_with odbc) \ |
|||
$(use_with ssl) \ |
|||
$(use_with X xpce) \ |
|||
$(use_with zlib) \ |
|||
COFLAGS='"${CFLAGS}"' |
|||
fi |
|||
} |
|||
|
|||
src_compile() { |
|||
cd "${S}"/src || die |
|||
emake |
|||
|
|||
if ! use minimal ; then |
|||
cd "${S}/packages" || die |
|||
emake |
|||
./report-failed || die "Cannot report failed packages" |
|||
fi |
|||
} |
|||
|
|||
src_test() { |
|||
cd "${S}/src" || die |
|||
emake check |
|||
|
|||
if ! use minimal ; then |
|||
unset DISPLAY |
|||
cd "${S}/packages" || die |
|||
emake \ |
|||
USE_PUBLIC_NETWORK_TESTS=false \ |
|||
USE_ODBC_TESTS=false \ |
|||
check |
|||
./report-failed || die |
|||
fi |
|||
} |
|||
|
|||
src_install() { |
|||
emake -C src DESTDIR="${D}" install |
|||
|
|||
if ! use minimal ; then |
|||
emake -C packages DESTDIR="${D}" install |
|||
if use doc ; then |
|||
emake -C packages DESTDIR="${D}" html-install |
|||
fi |
|||
./packages/report-failed || die "Cannot report failed packages" |
|||
fi |
|||
|
|||
dodoc ReleaseNotes/relnotes-5.10 INSTALL README VERSION |
|||
} |
@ -0,0 +1,326 @@ |
|||
From fcbb9fcc2e6983ea61bf565b6ee2e29816b8cd57 Mon Sep 17 00:00:00 2001 |
|||
From: NIIBE Yutaka <gniibe@fsij.org> |
|||
Date: Wed, 10 Feb 2016 17:43:03 +0900 |
|||
Subject: [PATCH] ecc: Fix for chosen cipher text attacks. |
|||
|
|||
* src/mpi.h (_gcry_mpi_ec_curve_point): New internal function. |
|||
* cipher/ecc.c (ecc_decrypt_raw): Validate input. Remove duplicated |
|||
point_free. |
|||
* mpi/ec.c (_gcry_mpi_ec_mul_point):Use simple left-to-right binary |
|||
method for when SCALAR is secure. |
|||
(_gcry_mpi_ec_curve_point): New. |
|||
|
|||
--
|
|||
|
|||
CVE-id: CVE-2015-7511 |
|||
|
|||
Thanks to Daniel Genkin, Lev Pachmanov, Itamar Pipman, and Eran |
|||
Tromer. http://www.cs.tau.ac.IL/~tromer/ecdh/ |
|||
|
|||
This could be an effective contermeasure to some chosen cipher text |
|||
attacks. |
|||
|
|||
(backport from master |
|||
commit 88e1358962e902ff1cbec8d53ba3eee46407851a) |
|||
(backport from LIBGCRYPT-1-6-BRANCH |
|||
commit 28eb424e4427b320ec1c9c4ce56af25d495230bd) |
|||
|
|||
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org> |
|||
---
|
|||
cipher/ecc.c | 11 ++- |
|||
mpi/ec.c | 226 +++++++++++++++++++++++++++++++++++------------------------ |
|||
src/mpi.h | 2 +- |
|||
3 files changed, 145 insertions(+), 94 deletions(-) |
|||
|
|||
diff --git a/cipher/ecc.c b/cipher/ecc.c
|
|||
index b8487dc..80b67ae 100644
|
|||
--- a/cipher/ecc.c
|
|||
+++ b/cipher/ecc.c
|
|||
@@ -1535,12 +1535,19 @@ ecc_decrypt_raw (int algo, gcry_mpi_t *result, gcry_mpi_t *data,
|
|||
|
|||
ctx = _gcry_mpi_ec_init (sk.E.p, sk.E.a); |
|||
|
|||
+ if (!_gcry_mpi_ec_curve_point (&kG, sk.E.b, ctx))
|
|||
+ {
|
|||
+ point_free (&kG);
|
|||
+ point_free (&sk.E.G);
|
|||
+ point_free (&sk.Q);
|
|||
+ _gcry_mpi_ec_free (ctx);
|
|||
+ return GPG_ERR_INV_DATA;
|
|||
+ }
|
|||
+
|
|||
/* R = dkG */ |
|||
point_init (&R); |
|||
_gcry_mpi_ec_mul_point (&R, sk.d, &kG, ctx); |
|||
|
|||
- point_free (&kG);
|
|||
-
|
|||
/* The following is false: assert( mpi_cmp_ui( R.x, 1 )==0 );, so: */ |
|||
{ |
|||
gcry_mpi_t x, y; |
|||
diff --git a/mpi/ec.c b/mpi/ec.c
|
|||
index fa00818..bdb155a 100644
|
|||
--- a/mpi/ec.c
|
|||
+++ b/mpi/ec.c
|
|||
@@ -612,110 +612,154 @@ _gcry_mpi_ec_mul_point (mpi_point_t *result,
|
|||
gcry_mpi_t scalar, mpi_point_t *point, |
|||
mpi_ec_t ctx) |
|||
{ |
|||
-#if 0
|
|||
- /* Simple left to right binary method. GECC Algorithm 3.27 */
|
|||
- unsigned int nbits;
|
|||
- int i;
|
|||
-
|
|||
- nbits = mpi_get_nbits (scalar);
|
|||
- mpi_set_ui (result->x, 1);
|
|||
- mpi_set_ui (result->y, 1);
|
|||
- mpi_set_ui (result->z, 0);
|
|||
-
|
|||
- for (i=nbits-1; i >= 0; i--)
|
|||
+ if (mpi_is_secure(scalar))
|
|||
{ |
|||
- _gcry_mpi_ec_dup_point (result, result, ctx);
|
|||
- if (mpi_test_bit (scalar, i) == 1)
|
|||
- _gcry_mpi_ec_add_points (result, result, point, ctx);
|
|||
- }
|
|||
-
|
|||
-#else
|
|||
- gcry_mpi_t x1, y1, z1, k, h, yy;
|
|||
- unsigned int i, loops;
|
|||
- mpi_point_t p1, p2, p1inv;
|
|||
-
|
|||
- x1 = mpi_alloc_like (ctx->p);
|
|||
- y1 = mpi_alloc_like (ctx->p);
|
|||
- h = mpi_alloc_like (ctx->p);
|
|||
- k = mpi_copy (scalar);
|
|||
- yy = mpi_copy (point->y);
|
|||
+ /* Simple left to right binary method. GECC Algorithm 3.27 */
|
|||
+ unsigned int nbits;
|
|||
+ int i;
|
|||
+ mpi_point_t tmppnt;
|
|||
|
|||
- if ( mpi_is_neg (k) )
|
|||
- {
|
|||
- k->sign = 0;
|
|||
- ec_invm (yy, yy, ctx);
|
|||
- }
|
|||
+ nbits = mpi_get_nbits (scalar);
|
|||
+ mpi_set_ui (result->x, 1);
|
|||
+ mpi_set_ui (result->y, 1);
|
|||
+ mpi_set_ui (result->z, 0);
|
|||
|
|||
- if (!mpi_cmp_ui (point->z, 1))
|
|||
- {
|
|||
- mpi_set (x1, point->x);
|
|||
- mpi_set (y1, yy);
|
|||
+ point_init (&tmppnt);
|
|||
+ for (i=nbits-1; i >= 0; i--)
|
|||
+ {
|
|||
+ _gcry_mpi_ec_dup_point (result, result, ctx);
|
|||
+ _gcry_mpi_ec_add_points (&tmppnt, result, point, ctx);
|
|||
+ if (mpi_test_bit (scalar, i) == 1)
|
|||
+ point_set (result, &tmppnt);
|
|||
+ }
|
|||
+ point_free (&tmppnt);
|
|||
} |
|||
else |
|||
{ |
|||
- gcry_mpi_t z2, z3;
|
|||
-
|
|||
- z2 = mpi_alloc_like (ctx->p);
|
|||
- z3 = mpi_alloc_like (ctx->p);
|
|||
- ec_mulm (z2, point->z, point->z, ctx);
|
|||
- ec_mulm (z3, point->z, z2, ctx);
|
|||
- ec_invm (z2, z2, ctx);
|
|||
- ec_mulm (x1, point->x, z2, ctx);
|
|||
- ec_invm (z3, z3, ctx);
|
|||
- ec_mulm (y1, yy, z3, ctx);
|
|||
- mpi_free (z2);
|
|||
- mpi_free (z3);
|
|||
- }
|
|||
- z1 = mpi_copy (ctx->one);
|
|||
+ gcry_mpi_t x1, y1, z1, k, h, yy;
|
|||
+ unsigned int i, loops;
|
|||
+ mpi_point_t p1, p2, p1inv;
|
|||
|
|||
- mpi_mul (h, k, ctx->three); /* h = 3k */
|
|||
- loops = mpi_get_nbits (h);
|
|||
- if (loops < 2)
|
|||
- {
|
|||
- /* If SCALAR is zero, the above mpi_mul sets H to zero and thus
|
|||
- LOOPs will be zero. To avoid an underflow of I in the main
|
|||
- loop we set LOOP to 2 and the result to (0,0,0). */
|
|||
- loops = 2;
|
|||
- mpi_clear (result->x);
|
|||
- mpi_clear (result->y);
|
|||
- mpi_clear (result->z);
|
|||
- }
|
|||
- else
|
|||
- {
|
|||
- mpi_set (result->x, point->x);
|
|||
- mpi_set (result->y, yy);
|
|||
- mpi_set (result->z, point->z);
|
|||
- }
|
|||
- mpi_free (yy); yy = NULL;
|
|||
+ x1 = mpi_alloc_like (ctx->p);
|
|||
+ y1 = mpi_alloc_like (ctx->p);
|
|||
+ h = mpi_alloc_like (ctx->p);
|
|||
+ k = mpi_copy (scalar);
|
|||
+ yy = mpi_copy (point->y);
|
|||
|
|||
- p1.x = x1; x1 = NULL;
|
|||
- p1.y = y1; y1 = NULL;
|
|||
- p1.z = z1; z1 = NULL;
|
|||
- point_init (&p2);
|
|||
- point_init (&p1inv);
|
|||
+ if ( mpi_is_neg (k) )
|
|||
+ {
|
|||
+ k->sign = 0;
|
|||
+ ec_invm (yy, yy, ctx);
|
|||
+ }
|
|||
|
|||
- for (i=loops-2; i > 0; i--)
|
|||
- {
|
|||
- _gcry_mpi_ec_dup_point (result, result, ctx);
|
|||
- if (mpi_test_bit (h, i) == 1 && mpi_test_bit (k, i) == 0)
|
|||
+ if (!mpi_cmp_ui (point->z, 1))
|
|||
+ {
|
|||
+ mpi_set (x1, point->x);
|
|||
+ mpi_set (y1, yy);
|
|||
+ }
|
|||
+ else
|
|||
{ |
|||
- point_set (&p2, result);
|
|||
- _gcry_mpi_ec_add_points (result, &p2, &p1, ctx);
|
|||
+ gcry_mpi_t z2, z3;
|
|||
+
|
|||
+ z2 = mpi_alloc_like (ctx->p);
|
|||
+ z3 = mpi_alloc_like (ctx->p);
|
|||
+ ec_mulm (z2, point->z, point->z, ctx);
|
|||
+ ec_mulm (z3, point->z, z2, ctx);
|
|||
+ ec_invm (z2, z2, ctx);
|
|||
+ ec_mulm (x1, point->x, z2, ctx);
|
|||
+ ec_invm (z3, z3, ctx);
|
|||
+ ec_mulm (y1, yy, z3, ctx);
|
|||
+ mpi_free (z2);
|
|||
+ mpi_free (z3);
|
|||
} |
|||
- if (mpi_test_bit (h, i) == 0 && mpi_test_bit (k, i) == 1)
|
|||
+ z1 = mpi_copy (ctx->one);
|
|||
+
|
|||
+ mpi_mul (h, k, ctx->three); /* h = 3k */
|
|||
+ loops = mpi_get_nbits (h);
|
|||
+ if (loops < 2)
|
|||
{ |
|||
- point_set (&p2, result);
|
|||
- /* Invert point: y = p - y mod p */
|
|||
- point_set (&p1inv, &p1);
|
|||
- ec_subm (p1inv.y, ctx->p, p1inv.y, ctx);
|
|||
- _gcry_mpi_ec_add_points (result, &p2, &p1inv, ctx);
|
|||
+ /* If SCALAR is zero, the above mpi_mul sets H to zero and thus
|
|||
+ LOOPs will be zero. To avoid an underflow of I in the main
|
|||
+ loop we set LOOP to 2 and the result to (0,0,0). */
|
|||
+ loops = 2;
|
|||
+ mpi_clear (result->x);
|
|||
+ mpi_clear (result->y);
|
|||
+ mpi_clear (result->z);
|
|||
+ }
|
|||
+ else
|
|||
+ {
|
|||
+ mpi_set (result->x, point->x);
|
|||
+ mpi_set (result->y, yy);
|
|||
+ mpi_set (result->z, point->z);
|
|||
+ }
|
|||
+ mpi_free (yy); yy = NULL;
|
|||
+
|
|||
+ p1.x = x1; x1 = NULL;
|
|||
+ p1.y = y1; y1 = NULL;
|
|||
+ p1.z = z1; z1 = NULL;
|
|||
+ point_init (&p2);
|
|||
+ point_init (&p1inv);
|
|||
+
|
|||
+ for (i=loops-2; i > 0; i--)
|
|||
+ {
|
|||
+ _gcry_mpi_ec_dup_point (result, result, ctx);
|
|||
+ if (mpi_test_bit (h, i) == 1 && mpi_test_bit (k, i) == 0)
|
|||
+ {
|
|||
+ point_set (&p2, result);
|
|||
+ _gcry_mpi_ec_add_points (result, &p2, &p1, ctx);
|
|||
+ }
|
|||
+ if (mpi_test_bit (h, i) == 0 && mpi_test_bit (k, i) == 1)
|
|||
+ {
|
|||
+ point_set (&p2, result);
|
|||
+ /* Invert point: y = p - y mod p */
|
|||
+ point_set (&p1inv, &p1);
|
|||
+ ec_subm (p1inv.y, ctx->p, p1inv.y, ctx);
|
|||
+ _gcry_mpi_ec_add_points (result, &p2, &p1inv, ctx);
|
|||
+ }
|
|||
} |
|||
+
|
|||
+ point_free (&p1);
|
|||
+ point_free (&p2);
|
|||
+ point_free (&p1inv);
|
|||
+ mpi_free (h);
|
|||
+ mpi_free (k);
|
|||
} |
|||
+}
|
|||
+
|
|||
+
|
|||
+/* Return true if POINT is on the curve described by CTX. */
|
|||
+int
|
|||
+_gcry_mpi_ec_curve_point (mpi_point_t *point, gcry_mpi_t b, mpi_ec_t ctx)
|
|||
+{
|
|||
+ int res = 0;
|
|||
+ gcry_mpi_t x, y, w;
|
|||
+ gcry_mpi_t xxx;
|
|||
+
|
|||
+ x = mpi_new (0);
|
|||
+ y = mpi_new (0);
|
|||
+ w = mpi_new (0);
|
|||
+ xxx = mpi_new (0);
|
|||
+
|
|||
+ if (_gcry_mpi_ec_get_affine (x, y, point, ctx))
|
|||
+ goto leave;
|
|||
+
|
|||
+ /* y^2 == x^3 + aรยทx + b */
|
|||
+ ec_mulm (y, y, y, ctx);
|
|||
+
|
|||
+ ec_mulm (xxx, x, x, ctx);
|
|||
+ ec_mulm (xxx, xxx, x, ctx);
|
|||
+ ec_mulm (w, ctx->a, x, ctx);
|
|||
+ ec_addm (w, w, b, ctx);
|
|||
+ ec_addm (w, w, xxx, ctx);
|
|||
+
|
|||
+ if (!mpi_cmp (y, w))
|
|||
+ res = 1;
|
|||
+
|
|||
+ leave:
|
|||
+ _gcry_mpi_release (xxx);
|
|||
+ _gcry_mpi_release (w);
|
|||
+ _gcry_mpi_release (x);
|
|||
+ _gcry_mpi_release (y);
|
|||
|
|||
- point_free (&p1);
|
|||
- point_free (&p2);
|
|||
- point_free (&p1inv);
|
|||
- mpi_free (h);
|
|||
- mpi_free (k);
|
|||
-#endif
|
|||
+ return res;
|
|||
} |
|||
diff --git a/src/mpi.h b/src/mpi.h
|
|||
index 65a4f97..adc65e2 100644
|
|||
--- a/src/mpi.h
|
|||
+++ b/src/mpi.h
|
|||
@@ -257,7 +257,7 @@ void _gcry_mpi_ec_add_points (mpi_point_t *result,
|
|||
void _gcry_mpi_ec_mul_point (mpi_point_t *result, |
|||
gcry_mpi_t scalar, mpi_point_t *point, |
|||
mpi_ec_t ctx); |
|||
-
|
|||
+int _gcry_mpi_ec_curve_point (mpi_point_t *point, gcry_mpi_t b, mpi_ec_t ctx);
|
|||
|
|||
|
|||
#endif /*G10_MPI_H*/ |
|||
--
|
|||
2.1.4 |
|||
|
@ -0,0 +1,58 @@ |
|||
# Copyright 1999-2016 Gentoo Foundation |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
# $Id$ |
|||
|
|||
EAPI=5 |
|||
AUTOTOOLS_AUTORECONF=1 |
|||
|
|||
inherit autotools-multilib |
|||
|
|||
DESCRIPTION="General purpose crypto library based on the code used in GnuPG" |
|||
HOMEPAGE="http://www.gnupg.org/" |
|||
SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2" |
|||
|
|||
LICENSE="LGPL-2.1 MIT" |
|||
SLOT="0/11" # subslot = soname major version |
|||
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 ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
|||
IUSE="static-libs" |
|||
|
|||
RDEPEND=">=dev-libs/libgpg-error-1.12[${MULTILIB_USEDEP}] |
|||
!dev-libs/libgcrypt:11 |
|||
abi_x86_32? ( |
|||
!<=app-emulation/emul-linux-x86-baselibs-20131008-r19 |
|||
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32] |
|||
)" |
|||
DEPEND="${RDEPEND}" |
|||
|
|||
DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO ) |
|||
|
|||
PATCHES=( |
|||
"${FILESDIR}"/${PN}-1.5.0-uscore.patch |
|||
"${FILESDIR}"/${PN}-multilib-syspath.patch |
|||
"${FILESDIR}"/${P}-clang-arm.patch |
|||
"${FILESDIR}"/${P}-CVE-2015-7511.patch |
|||
) |
|||
|
|||
MULTILIB_CHOST_TOOLS=( |
|||
/usr/bin/libgcrypt-config |
|||
) |
|||
|
|||
src_configure() { |
|||
local myeconfargs=( |
|||
--disable-padlock-support # bug 201917 |
|||
--disable-dependency-tracking |
|||
--enable-noexecstack |
|||
--disable-O-flag-munging |
|||
$(use_enable static-libs static) |
|||
|
|||
# disabled due to various applications requiring privileges |
|||
# after libgcrypt drops them (bug #468616) |
|||
--without-capabilities |
|||
|
|||
# http://trac.videolan.org/vlc/ticket/620 |
|||
# causes bus-errors on sparc64-solaris |
|||
$([[ ${CHOST} == *86*-darwin* ]] && echo "--disable-asm") |
|||
$([[ ${CHOST} == sparcv9-*-solaris* ]] && echo "--disable-asm") |
|||
) |
|||
autotools-multilib_src_configure |
|||
} |
@ -1,2 +1,3 @@ |
|||
DIST libzip-1.0.1.tar.xz 450308 SHA256 f948d597afbb471de8d528d0e35ed977de85b2f4d76fdd74abbb985550e5d840 SHA512 df51ca44e97e2644a5d6930e3c76830453579c1486d11b9529d3cef173bb5ae873ef34b0af0ea6403dd4076805371fa93975a18ce56e37aa2a52500eb279887b WHIRLPOOL 6705e5739417738d474a85e10c72718c2feaae68698d6fc71af17d2761c76acab705fcf6c8c69be165afca9230dc55c47843d9b0281abde445aad23addef1c41 |
|||
DIST libzip-1.1.1.tar.xz 458864 SHA256 69e690f567e172d8f69b58ca237b61a690eaa1c5aa2293e1a2a446496bdf14c1 SHA512 24f6d3026986bbc3b9633ed78bb38e13d468cf9be307871db4fa11cc37218eaf2b2019d49882ec57ce773922e5ab2383472715bd438662db83fcb4ba9c01ce69 WHIRLPOOL 65e8c41b3369edc705a1ac3f1411849d44888611754e8737a9efecb7b5bb34b5d556bd226c274875b0cba4e8a4a3b370ec30b49d6fe5175510c377d57379aaaa |
|||
DIST libzip-1.1.tar.xz 458528 SHA256 13b0b49637f9857ab8ba7335f529e26d02aadacf2074bf0c9b28889a0fc83b24 SHA512 0a250835155eb2ed19a00718e086b3e05741c9bcf01c7c73ed6e83fd989d9fb0bddf192f69c989f75860e4e9a44490b263fd08d9b06994e534fc0374667df2f0 WHIRLPOOL 7d59cbfb32d96230ef57e4dd7e57fbef5e3d2e1a3c92044bcee876c8de855e84eb189608c0c123265cb9e47ccf4b3cf216186f27a0f6afb14c1dca3dfd4d42fc |
@ -0,0 +1,29 @@ |
|||
# Copyright 1999-2016 Gentoo Foundation |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
# $Id$ |
|||
|
|||
EAPI=5 |
|||
|
|||
AUTOTOOLS_AUTORECONF=1 |
|||
AUTOTOOLS_IN_SOURCE_BUILD=1 |
|||
inherit autotools-utils |
|||
|
|||
DESCRIPTION="Library for manipulating zip archives" |
|||
HOMEPAGE="http://www.nih.at/libzip/" |
|||
SRC_URI="http://www.nih.at/libzip/${P}.tar.xz" |
|||
|
|||
LICENSE="BSD" |
|||
SLOT="0/4" |
|||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos" |
|||
IUSE="static-libs" |
|||
|
|||
RDEPEND="sys-libs/zlib" |
|||
DEPEND="${RDEPEND} |
|||
app-arch/xz-utils |
|||
" |
|||
|
|||
DOCS=( AUTHORS NEWS README THANKS ) |
|||
|
|||
PATCHES=( |
|||
"${FILESDIR}/${PN}-0.11.2-headers.patch" |
|||
) |
@ -1 +1,2 @@ |
|||
DIST ocaml-cstruct-1.7.1.tar.gz 245894 SHA256 7869d096fe7c6231bbceefe3b2205417b28b6c10f4174b7e2cfdfa46956eaaa5 SHA512 67dd276ab2f895ef80cc7ba5b48d51bcfcf52ac49aa29cd4b17aa00be109198347a50229b81fbe506d831ace753d72f3b4bb80f19e8e57fa29d9ba65da472f19 WHIRLPOOL 8145930a1dcadbcf48c1da0dcba10a45f3d52c8ae2565aee7e609bd3eeb5eead9cee9ef423332a580ab77ceabb2f301917226d1a73e1b7f6efc7a3096c4112d6 |
|||
DIST ocaml-cstruct-1.8.0.tar.gz 250696 SHA256 e1635072283ae5db7889966ce92e916749bcd192012a0c46285827beba1263d7 SHA512 38ea6301b48603f8b63c73a7aa42312d25bbd16fb8524e1de2b69a54e45e9e1c1326201e19fcf2953d2719607139c903d76296a32fb7058998c079ac112adc9c WHIRLPOOL 6fdabfc1143331662757826de11c62c3947fb59155ba68e866a2f9939963deacd52d5832417997833deff9a9ff902675d266a98b41e0d2cf9f29c4d4c628601e |
@ -0,0 +1,45 @@ |
|||
# Copyright 1999-2015 Gentoo Foundation |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
# $Id$ |
|||
|
|||
EAPI=5 |
|||
OASIS_BUILD_DOCS=1 |
|||
OASIS_BUILD_TESTS=1 |
|||
|
|||
inherit oasis |
|||
|
|||
DESCRIPTION="Map OCaml arrays onto C-like structs" |
|||
HOMEPAGE="https://github.com/mirage/ocaml-cstruct https://mirage.io" |
|||
SRC_URI="https://github.com/mirage/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
|||
|
|||
LICENSE="ISC" |
|||
SLOT="0/${PV}" |
|||
KEYWORDS="~amd64" |
|||
IUSE="async +camlp4 +lwt +ppx" |
|||
|
|||
RDEPEND=" |
|||
async? ( dev-ml/async:= ) |
|||
camlp4? ( dev-ml/camlp4:= ) |
|||
lwt? ( dev-ml/lwt:= ) |
|||
ppx? ( dev-ml/ppx_tools:= ) |
|||
>=dev-lang/ocaml-4.01:= |
|||
dev-ml/ocplib-endian:= |
|||
dev-ml/sexplib:= |
|||
dev-ml/type-conv:= |
|||
" |
|||
DEPEND=" |
|||
test? ( dev-ml/ounit ) |
|||
${RDEPEND} |
|||
" |
|||
|
|||
src_configure() { |
|||
oasis_configure_opts=" |
|||
$(use_enable lwt) |
|||
$(use_enable camlp4) |
|||
$(use_enable async) |
|||
$(use_enable ppx) |
|||
--enable-unix |
|||
" oasis_src_configure |
|||
} |
|||
|
|||
DOCS=( CHANGES README.md TODO.md ) |
@ -1,21 +1,23 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
|||
<pkgmetadata> |
|||
<maintainer type="person"> |
|||
<email>tomboy64@sina.cn</email> |
|||
</maintainer> |
|||
<maintainer type="project"> |
|||
<email>ml@gentoo.org</email> |
|||
<name>Gentoo ML Project</name> |
|||
</maintainer> |
|||
<maintainer type="project"> |
|||
<email>proxy-maint@gentoo.org</email> |
|||
<name>Proxy Maintainers</name> |
|||
</maintainer> |
|||
<use> |
|||
<flag name="ounit">Enable integration with ounit</flag> |
|||
</use> |
|||
<upstream> |
|||
<remote-id type="github">c-cube/qcheck</remote-id> |
|||
</upstream> |
|||
<maintainer type="person"> |
|||
<email>tomboy64@sina.cn</email> |
|||
<name>M.B.</name> |
|||
<description>Maintainer, assign bugs to him</description> |
|||
</maintainer> |
|||
<maintainer type="project"> |
|||
<email>ml@gentoo.org</email> |
|||
<name>Gentoo ML Project</name> |
|||
</maintainer> |
|||
<maintainer type="project"> |
|||
<email>proxy-maint@gentoo.org</email> |
|||
<name>Proxy Maintainers</name> |
|||
</maintainer> |
|||
<use> |
|||
<flag name="ounit">Enable integration with ounit</flag> |
|||
</use> |
|||
<upstream> |
|||
<remote-id type="github">OCamlPro/ocplib-endian</remote-id> |
|||
</upstream> |
|||
</pkgmetadata> |