parent
a044750815
commit
cdb2404968
@ -1 +1,2 @@
|
||||
DIST emacs-updater-1.13.tar.xz 6976 SHA256 da2aba0a1b264fc8065294614870756015bb2d5ddab920ec675c04b452b61af5 SHA512 78b0ce6aec3969f83bc5ce37d1411deccb1dbfa175718b6223233a74af816c6bf481ac15e81f1adc31ea594ffd187c3c38c08b709275f3c878021a03ee9c3403 WHIRLPOOL aa42bd8eb7ec864d576e1be310285402971550ee56680dd66dd680e97d799ece60f962f895189aeaf1b92c16dbaba9fde082cc4331848859becda505025d865b
|
||||
DIST emacs-updater-1.14.tar.xz 6920 SHA256 2b5ab546212d48fa8dc5114e4ef7028f8168a306726d04293d5b8314c1508f95 SHA512 849efdb7af61a6ca5854c1afabf38e5898d129c5901712f38293f9fa96f60abbaf97f053f9542ea2d40fd2c7b19f4037aec3e4226aee92e4ce56a3fced3b488b WHIRLPOOL 3296466ddea6da0d720b76ad8b62c9138fa7c23726526572fa7d5ef536a8418e70ab74ce4ebba66ed99db33fd0736ab572fa109e316f057931213fcd9c8f9e27
|
||||
|
@ -1,52 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-python/eselect-python-20091230.ebuild,v 1.9 2013/03/22 03:09:50 vapier Exp $
|
||||
|
||||
EAPI="1"
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Eselect module for management of multiple Python versions"
|
||||
HOMEPAGE="http://www.gentoo.org/proj/en/Python/"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-admin/eselect-1.2.3"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/autoconf
|
||||
>=sys-devel/gcc-3.4"
|
||||
|
||||
pkg_setup() {
|
||||
if [[ $(gcc-major-version) -lt 3 || ($(gcc-major-version) -eq 3 && $(gcc-minor-version) -lt 4) ]]; then
|
||||
die "GCC >=3.4 is required"
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
./autogen.sh || die "autogen.sh failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
keepdir /etc/env.d/python
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if has_version "<${CATEGORY}/${PN}-20090804" || ! has_version "${CATEGORY}/${PN}"; then
|
||||
run_eselect_python_update="1"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ "${run_eselect_python_update}" == "1" ]]; then
|
||||
ebegin "Running \`eselect python update\`"
|
||||
eselect python update --ignore 3.0 --ignore 3.1 --ignore 3.2 > /dev/null
|
||||
eend "$?"
|
||||
fi
|
||||
}
|
@ -1,52 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-python/eselect-python-20100321.ebuild,v 1.7 2013/03/22 03:09:50 vapier Exp $
|
||||
|
||||
EAPI="1"
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Eselect module for management of multiple Python versions"
|
||||
HOMEPAGE="http://www.gentoo.org/proj/en/Python/"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-admin/eselect-1.2.3"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/autoconf
|
||||
>=sys-devel/gcc-3.4"
|
||||
|
||||
pkg_setup() {
|
||||
if [[ $(gcc-major-version) -lt 3 || ($(gcc-major-version) -eq 3 && $(gcc-minor-version) -lt 4) ]]; then
|
||||
die "GCC >=3.4 is required"
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
./autogen.sh || die "autogen.sh failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
keepdir /etc/env.d/python
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if has_version "<${CATEGORY}/${PN}-20090804" || ! has_version "${CATEGORY}/${PN}"; then
|
||||
run_eselect_python_update="1"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ "${run_eselect_python_update}" == "1" ]]; then
|
||||
ebegin "Running \`eselect python update\`"
|
||||
eselect python update --python2 > /dev/null
|
||||
eend "$?"
|
||||
fi
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/duply/duply-1.7.3-r1.ebuild,v 1.1 2014/06/05 12:54:24 jlec Exp $
|
||||
|
||||
EAPI="5"
|
||||
inherit readme.gentoo
|
||||
|
||||
DESCRIPTION="A shell frontend for duplicity"
|
||||
HOMEPAGE="http://duply.net"
|
||||
SRC_URI="mirror://sourceforge/ftplicity/${PN}_${PV}.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-text/txt2man"
|
||||
RDEPEND="app-backup/duplicity"
|
||||
|
||||
S=${WORKDIR}/${PN}_${PV}
|
||||
|
||||
DOC_CONTENTS="
|
||||
If you use ${PN} at the first time please have a
|
||||
look at the the usage help text \"${PN} usage\"
|
||||
for further information."
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
./${PN} txt2man > ${PN}.1
|
||||
doman ${PN}.1
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
readme.gentoo_print_elog
|
||||
}
|
@ -1,12 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>proxy-maintainers</herd>
|
||||
<maintainer>
|
||||
<email>gentoo@pennewiss.de</email>
|
||||
<name>Marcel Pennewiß</name>
|
||||
<description>Proxy-maintainer. Assign bugs to him</description>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
<herd>proxy-maintainers</herd>
|
||||
<maintainer>
|
||||
<email>gentoo@pennewiss.de</email>
|
||||
<name>Marcel Pennewiß</name>
|
||||
<description>Proxy-maintainer. Assign bugs to him</description>
|
||||
</maintainer>
|
||||
<maintainer>
|
||||
<email>jlec@gentoo.org</email>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST gnupg-1.4.16.tar.bz2 3656752 SHA256 7b3b748e6aaa338092a0b26b1730cd9355765b55e3684f58dd70f9a1b00f4a2f SHA512 62bccf22211c25cf2ffbf9d35b8f47211e3a71fd92828705d12b23e7d658c9c65c6d845eb5e887e0d855d90a49a5033ecf9de4e22a63e7d3fc052eb1ed33dff4 WHIRLPOOL 7b84449fe7e49e7009d30cdfb8e4b7e1067e3d4bddf94cfa9fca6b3fcfccaa4cd1bd86c3e08507a7f9f1080feb3057b7db1ddcbbaabf42a4fc84d0c36bc91d70
|
||||
DIST gnupg-2.0.22.tar.bz2 4277117 SHA256 437d0ab259854359fc48aa8795af80cff4975e559c111c92c03d0bc91408e251 SHA512 de534b2f4b8d3c320e97519fe0834bc403c96c6dbb2e24fc24eb68f4ff80374360ef66d83ddc3d6fa096c5199d3782abc5d06b866203378cba130b42802cc855 WHIRLPOOL c45e7b2560ae31f013f732863db99f6e23d0de83d03371fe592192c2b5f800503f7a1e273c59e4c99f3aa0401e8cfb2bdbf1c5029534f642305e768009f15fef
|
||||
DIST gnupg-2.0.23.tar.bz2 4297195 SHA256 cf196b8056eafb4236f000a3e12543e0022a1fec4d6edff1b91b48936c109841 SHA512 5982b25a470b8e6c2874cfadbd2da7db7fb219b5a0be254d73772488b47e2fa1b3825c6640c3659e27905d56d53eaffd34728540081ff160bffea80678d37847 WHIRLPOOL 95184a59be90de483be82b064e8222be0957b0d17466ba80de5b6d8cd8774ca9a3fd83ac967437e4b296905f06ca0f0b2e446fa905ef5871ab1492c7db7e1b3b
|
||||
|
@ -0,0 +1,164 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/gnupg-2.0.23.ebuild,v 1.1 2014/06/06 05:57:26 radhermit Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="The GNU Privacy Guard, a GPL pgp replacement"
|
||||
HOMEPAGE="http://www.gnupg.org/"
|
||||
SRC_URI="mirror://gnupg/gnupg/${P}.tar.bz2"
|
||||
# SRC_URI="ftp://ftp.gnupg.org/gcrypt/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-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="adns bzip2 doc ldap nls mta readline static selinux smartcard usb"
|
||||
|
||||
COMMON_DEPEND_LIBS="
|
||||
>=dev-libs/libassuan-2
|
||||
>=dev-libs/libgcrypt-1.4:0=
|
||||
>=dev-libs/libgpg-error-1.11
|
||||
>=dev-libs/libksba-1.0.7
|
||||
>=dev-libs/pth-1.3.7
|
||||
>=net-misc/curl-7.10
|
||||
sys-libs/zlib
|
||||
adns? ( >=net-libs/adns-1.4 )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
readline? ( sys-libs/readline )
|
||||
smartcard? ( usb? ( virtual/libusb:0 ) )
|
||||
ldap? ( net-nds/openldap )"
|
||||
COMMON_DEPEND_BINS="|| ( app-crypt/pinentry app-crypt/pinentry-qt )"
|
||||
|
||||
# Existence of executables is checked during configuration.
|
||||
DEPEND="${COMMON_DEPEND_LIBS}
|
||||
${COMMON_DEPEND_BINS}
|
||||
static? (
|
||||
>=dev-libs/libassuan-2[static-libs]
|
||||
>=dev-libs/libgcrypt-1.4:0=[static-libs]
|
||||
>=dev-libs/libgpg-error-1.11[static-libs]
|
||||
>=dev-libs/libksba-1.0.7[static-libs]
|
||||
>=dev-libs/pth-1.3.7[static-libs]
|
||||
>=net-misc/curl-7.10[static-libs]
|
||||
sys-libs/zlib[static-libs]
|
||||
bzip2? ( app-arch/bzip2[static-libs] )
|
||||
)
|
||||
nls? ( sys-devel/gettext )
|
||||
doc? ( sys-apps/texinfo )"
|
||||
|
||||
RDEPEND="!static? ( ${COMMON_DEPEND_LIBS} )
|
||||
${COMMON_DEPEND_BINS}
|
||||
mta? ( virtual/mta )
|
||||
!<=app-crypt/gnupg-2.0.1
|
||||
selinux? ( sec-policy/selinux-gpg )
|
||||
nls? ( virtual/libintl )"
|
||||
|
||||
REQUIRED_USE="smartcard? ( !static )"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-2.0.17-gpgsm-gencert.patch"
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=()
|
||||
|
||||
# 'USE=static' support was requested:
|
||||
# gnupg1: bug #29299
|
||||
# gnupg2: bug #159623
|
||||
use static && append-ldflags -static
|
||||
|
||||
if use smartcard; then
|
||||
myconf+=(
|
||||
--enable-scdaemon
|
||||
$(use_enable usb ccid-driver)
|
||||
)
|
||||
else
|
||||
myconf+=( --disable-scdaemon )
|
||||
fi
|
||||
|
||||
if use elibc_SunOS || use elibc_AIX; then
|
||||
myconf+=( --disable-symcryptrun )
|
||||
else
|
||||
myconf+=( --enable-symcryptrun )
|
||||
fi
|
||||
|
||||
econf \
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
--enable-gpg \
|
||||
--enable-gpgsm \
|
||||
--enable-agent \
|
||||
"${myconf[@]}" \
|
||||
$(use_with adns) \
|
||||
$(use_enable bzip2) \
|
||||
$(use_enable nls) \
|
||||
$(use_enable mta mailto) \
|
||||
$(use_enable ldap) \
|
||||
$(use_with readline) \
|
||||
CC_FOR_BUILD="$(tc-getBUILD_CC)"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if use doc; then
|
||||
cd doc
|
||||
emake html
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# bug#192151
|
||||
dobin tools/gpgsplit tools/gpg-zip
|
||||
|
||||
emake DESTDIR="${D}" -f doc/Makefile uninstall-nobase_dist_docDATA
|
||||
rm "${ED}"/usr/share/gnupg/help* || die
|
||||
|
||||
dodoc ChangeLog NEWS README THANKS TODO VERSION doc/FAQ doc/DETAILS \
|
||||
doc/HACKING doc/TRANSLATE doc/OpenPGP doc/KEYSERVER doc/help*
|
||||
|
||||
dosym gpg2 /usr/bin/gpg
|
||||
dosym gpgv2 /usr/bin/gpgv
|
||||
dosym gpg2keys_hkp /usr/libexec/gpgkeys_hkp
|
||||
dosym gpg2keys_finger /usr/libexec/gpgkeys_finger
|
||||
dosym gpg2keys_curl /usr/libexec/gpgkeys_curl
|
||||
if use ldap; then
|
||||
dosym gpg2keys_ldap /usr/libexec/gpgkeys_ldap
|
||||
fi
|
||||
echo ".so man1/gpg2.1" > "${ED}"/usr/share/man/man1/gpg.1
|
||||
echo ".so man1/gpgv2.1" > "${ED}"/usr/share/man/man1/gpgv.1
|
||||
|
||||
dodir /etc/env.d
|
||||
echo "CONFIG_PROTECT=/usr/share/gnupg/qualified.txt" >> "${ED}"/etc/env.d/30gnupg
|
||||
|
||||
if use doc; then
|
||||
dohtml doc/gnupg.html/* doc/*.png
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "If you wish to view images emerge:"
|
||||
elog "media-gfx/xloadimage, media-gfx/xli or any other viewer"
|
||||
elog "Remember to use photo-viewer option in configuration file to activate"
|
||||
elog "the right viewer."
|
||||
elog
|
||||
|
||||
if use smartcard; then
|
||||
elog "To use your OpenPGP smartcard (or token) with GnuPG you need one of"
|
||||
use usb && elog " - a CCID-compatible reader, used directly through libusb;"
|
||||
elog " - sys-apps/pcsc-lite and a compatible reader device;"
|
||||
elog " - dev-libs/openct and a compatible reader device;"
|
||||
elog " - a reader device and drivers exporting either PC/SC or CT-API interfaces."
|
||||
elog ""
|
||||
elog "General hint: you probably want to try installing sys-apps/pcsc-lite and"
|
||||
elog "app-crypt/ccid first."
|
||||
fi
|
||||
|
||||
ewarn "Please remember to restart gpg-agent if a different version"
|
||||
ewarn "of the agent is currently used. If you are unsure of the gpg"
|
||||
ewarn "agent you are using please run 'killall gpg-agent',"
|
||||
ewarn "and to start a fresh daemon just run 'gpg-agent --daemon'."
|
||||
}
|
@ -1,5 +1,4 @@
|
||||
DIST TeXmacs-1.0.7.2-src.tar.gz 4763348 SHA256 98ca44418f4d4644bdee03add2e2baf18f0839d4d8336189ff4a095329f7a2ba SHA512 e8ba14c8419de262c13e5eddc003ba0d341b4d570685526c73f0cf1bf437dcae86ac37952147b72b653eb66bcdd94f41eca9ff000f8f0fd80786ba13ee1b57fc WHIRLPOOL ca208be8c784e8a957421ce2b5db94958c38212c71ccb01d792ad9281bbabad3fd58a38e5ed48d8c2240a52e9c67b072080e277e631f210a1997ffd3f74bd8cc
|
||||
DIST TeXmacs-1.0.7.20-src.tar.gz 18599912 SHA256 02828e5b8286db43a501c5924d5718f2c7702ac5fa0541d5b6ce8fda220fdef8 SHA512 bb5f8d47e37cb8228a7096176595d1243abe8c9935c33f2779e6a85d8903d8d28a425f56995a12621cdaa1c096732995a34437cc6501b8ffc71cc1f5758e9b66 WHIRLPOOL 0117f3bfa7d02b1ddd0113f17b12b255b13d33e2795efd966c56ce968a711a33c20dea275b4b91f2ae0b77acd9eb90bc0db02ffd7f3a39a7868c870841c3a1cb
|
||||
DIST TeXmacs-1.0.7.21-src.tar.gz 18712991 SHA256 0c945611cd057c4af5f7c2232d19b8129caeef0289fa43a53bab1dabb2d603d2 SHA512 7a825297b84c34aa7b097026932a99bcaf7bdddeb44ad7d141cae1b03893e2472241f4cf73f3798dfebd9b226f94bc0ef665d5defb1b133d897e0ba3c8213fee WHIRLPOOL 8d12788ac4458e3b5085d1e11e3c5b1a92de1027fed3652bc232f395e2e77bddd141d4607690990c8a8ad29624f151557bcd9b20847b95d2c164e9772c103976
|
||||
DIST TeXmacs-1.99.1-src.tar.gz 19048884 SHA256 7e8425d65b1a02f270eaa021389cb9c3f627c9064cc986bd1ec7f66e0681b2ac SHA512 4b599e020aafa5b0e832d5e4ca9d1fe2013f1880b32f4ddc63e42582ed553d1e6a8ac9a5b2189db040e7bbaef3faffae5c8f79da3657cb2356ba0700f85f7840 WHIRLPOOL 5457169699cbc4ccded02f0a3ee369910ade70f902f1a41d9c43349acb940022afdb08611681e0b20da66a09b507aaa648c147d4a57d9a7e8d12bb53795b7003
|
||||
DIST TeXmacs-600dpi-fonts.tar.gz 2899193 SHA256 e8eeb3c97a1405fd037b0567f683a6d2225d47c7829893b9768bd6c1c707cc81 SHA512 b04a9661a9b59aec46279fd78121e56b24fc66df821f62baa09df179958d3260bde04fc17e9c1dbbe186dbc39f4580f34858c1ed2c7549c8249c42ac81b27d28 WHIRLPOOL 5a29ff42d89fd54150effe0ef0b395ee09d37c098725455e80608f60395fb736597c249e6b1b76e68d05e5cc2eec6b8d0567c6f54cbd37d76f1b419b0884323c
|
||||
|
@ -1,13 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>sci</herd>
|
||||
<maintainer>
|
||||
<email>grozin@gentoo.org</email>
|
||||
<name>Andrey Grozin</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name='netpbm'>Add support for <pkg>media-libs/netpbm</pkg></flag>
|
||||
<flag name='pdf'>Add the experimental native pdf export</flag>
|
||||
</use>
|
||||
<herd>sci</herd>
|
||||
<maintainer>
|
||||
<email>grozin@gentoo.org</email>
|
||||
<name>Andrey Grozin</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="netpbm">Add support for <pkg>media-libs/netpbm</pkg></flag>
|
||||
<flag name="pdf">Add the experimental native pdf export</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
@ -1,69 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/texmacs/texmacs-1.0.7.20.ebuild,v 1.1 2013/10/14 11:17:53 grozin Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit autotools eutils fdo-mime gnome2-utils
|
||||
|
||||
MY_P=${P/tex/TeX}-src
|
||||
|
||||
DESCRIPTION="Wysiwyg text processor with high-quality maths"
|
||||
HOMEPAGE="http://www.texmacs.org/"
|
||||
SRC_URI="ftp://ftp.texmacs.org/pub/TeXmacs/tmftp/source/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="imlib jpeg netpbm qt4 svg spell"
|
||||
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~x86-interix ~amd64-linux ~x86-linux"
|
||||
|
||||
RDEPEND="dev-scheme/guile[deprecated]
|
||||
virtual/latex-base
|
||||
app-text/ghostscript-gpl
|
||||
media-libs/freetype
|
||||
x11-libs/libXext
|
||||
x11-apps/xmodmap
|
||||
qt4? ( dev-qt/qtgui:4 )
|
||||
imlib? ( media-libs/imlib2 )
|
||||
jpeg? ( || ( media-gfx/imagemagick media-gfx/jpeg2ps ) )
|
||||
svg? ( || ( media-gfx/inkscape gnome-base/librsvg:2 ) )
|
||||
netpbm? ( media-libs/netpbm )
|
||||
spell? ( app-text/aspell )"
|
||||
DEPEND="${RDEPEND}
|
||||
x11-proto/xproto"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
# respect LDFLAGS, bug #338459
|
||||
epatch "${FILESDIR}"/${PN}-plugins.patch
|
||||
|
||||
# dont update mime and desktop databases and icon cache
|
||||
epatch "${FILESDIR}"/${PN}-updates.patch
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_with imlib imlib2) \
|
||||
--enable-optimize="${CXXFLAGS}" \
|
||||
$(use_enable qt4 qt)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
domenu "${FILESDIR}"/TeXmacs.desktop
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -0,0 +1,234 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/bash-4.3_p18-r1.ebuild,v 1.1 2014/06/05 06:30:18 polynomial-c Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs multilib
|
||||
|
||||
# Official patchlevel
|
||||
# See ftp://ftp.cwru.edu/pub/bash/bash-4.3-patches/
|
||||
PLEVEL=${PV##*_p}
|
||||
MY_PV=${PV/_p*}
|
||||
MY_PV=${MY_PV/_/-}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
[[ ${PV} != *_p* ]] && PLEVEL=0
|
||||
patches() {
|
||||
local opt=$1 plevel=${2:-${PLEVEL}} pn=${3:-${PN}} pv=${4:-${MY_PV}}
|
||||
[[ ${plevel} -eq 0 ]] && return 1
|
||||
eval set -- {1..${plevel}}
|
||||
set -- $(printf "${pn}${pv/\.}-%03d " "$@")
|
||||
if [[ ${opt} == -s ]] ; then
|
||||
echo "${@/#/${DISTDIR}/}"
|
||||
else
|
||||
local u
|
||||
for u in ftp://ftp.cwru.edu/pub/bash mirror://gnu/${pn} ; do
|
||||
printf "${u}/${pn}-${pv}-patches/%s " "$@"
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
# The version of readline this bash normally ships with.
|
||||
READLINE_VER="6.3"
|
||||
|
||||
DESCRIPTION="The standard GNU Bourne again shell"
|
||||
HOMEPAGE="http://tiswww.case.edu/php/chet/bash/bashtop.html"
|
||||
SRC_URI="mirror://gnu/bash/${MY_P}.tar.gz $(patches)"
|
||||
[[ ${PV} == *_rc* ]] && SRC_URI+=" ftp://ftp.cwru.edu/pub/bash/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="afs bashlogger examples mem-scramble +net nls plugins +readline vanilla"
|
||||
|
||||
DEPEND=">=sys-libs/ncurses-5.2-r2
|
||||
readline? ( >=sys-libs/readline-${READLINE_VER} )
|
||||
nls? ( virtual/libintl )"
|
||||
RDEPEND="${DEPEND}
|
||||
!<sys-apps/portage-2.1.6.7_p1
|
||||
!<sys-apps/paludis-0.26.0_alpha5"
|
||||
# we only need yacc when the .y files get patched (bash42-005)
|
||||
DEPEND+=" virtual/yacc"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
if is-flag -malign-double ; then #7332
|
||||
eerror "Detected bad CFLAGS '-malign-double'. Do not use this"
|
||||
eerror "as it breaks LFS (struct stat64) on x86."
|
||||
die "remove -malign-double from your CFLAGS mr ricer"
|
||||
fi
|
||||
if use bashlogger ; then
|
||||
ewarn "The logging patch should ONLY be used in restricted (i.e. honeypot) envs."
|
||||
ewarn "This will log ALL output you enter into the shell, you have been warned."
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${MY_P}.tar.gz
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Include official patches
|
||||
[[ ${PLEVEL} -gt 0 ]] && epatch $(patches -s)
|
||||
|
||||
# Clean out local libs so we know we use system ones w/releases.
|
||||
if [[ ${PV} != *_rc* ]] ; then
|
||||
rm -rf lib/{readline,termcap}/*
|
||||
touch lib/{readline,termcap}/Makefile.in # for config.status
|
||||
sed -ri -e 's:\$[(](RL|HIST)_LIBSRC[)]/[[:alpha:]]*.h::g' Makefile.in || die
|
||||
fi
|
||||
|
||||
# Avoid regenerating docs after patches #407985
|
||||
sed -i -r '/^(HS|RL)USER/s:=.*:=:' doc/Makefile.in || die
|
||||
touch -r . doc/*
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-4.3-here-doc-ps2-comsub.patch
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=()
|
||||
|
||||
# For descriptions of these, see config-top.h
|
||||
# bashrc/#26952 bash_logout/#90488 ssh/#24762
|
||||
append-cppflags \
|
||||
-DDEFAULT_PATH_VALUE=\'\"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"\' \
|
||||
-DSTANDARD_UTILS_PATH=\'\"/bin:/usr/bin:/sbin:/usr/sbin\"\' \
|
||||
-DSYS_BASHRC=\'\"/etc/bash/bashrc\"\' \
|
||||
-DSYS_BASH_LOGOUT=\'\"/etc/bash/bash_logout\"\' \
|
||||
-DNON_INTERACTIVE_LOGIN_SHELLS \
|
||||
-DSSH_SOURCE_BASHRC \
|
||||
$(use bashlogger && echo -DSYSLOG_HISTORY)
|
||||
|
||||
# Don't even think about building this statically without
|
||||
# reading Bug 7714 first. If you still build it statically,
|
||||
# don't come crying to us with bugs ;).
|
||||
#use static && export LDFLAGS="${LDFLAGS} -static"
|
||||
use nls || myconf+=( --disable-nls )
|
||||
|
||||
# Historically, we always used the builtin readline, but since
|
||||
# our handling of SONAME upgrades has gotten much more stable
|
||||
# in the PM (and the readline ebuild itself preserves the old
|
||||
# libs during upgrades), linking against the system copy should
|
||||
# be safe.
|
||||
# Exact cached version here doesn't really matter as long as it
|
||||
# is at least what's in the DEPEND up above.
|
||||
export ac_cv_rl_version=${READLINE_VER}
|
||||
|
||||
# Force linking with system curses ... the bundled termcap lib
|
||||
# sucks bad compared to ncurses. For the most part, ncurses
|
||||
# is here because readline needs it. But bash itself calls
|
||||
# ncurses in one or two small places :(.
|
||||
|
||||
if [[ ${PV} != *_rc* ]] ; then
|
||||
# Use system readline only with released versions.
|
||||
myconf+=( --with-installed-readline=. )
|
||||
fi
|
||||
|
||||
use plugins && append-ldflags -Wl,-rpath,/usr/$(get_libdir)/bash
|
||||
tc-export AR #444070
|
||||
econf \
|
||||
--docdir='$(datarootdir)'/doc/${PF} \
|
||||
--htmldir='$(docdir)/html' \
|
||||
--with-curses \
|
||||
$(use_with afs) \
|
||||
$(use_enable net net-redirections) \
|
||||
--disable-profiling \
|
||||
$(use_enable mem-scramble) \
|
||||
$(use_with mem-scramble bash-malloc) \
|
||||
$(use_enable readline) \
|
||||
$(use_enable readline history) \
|
||||
$(use_enable readline bang-history) \
|
||||
"${myconf[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
|
||||
if use plugins ; then
|
||||
emake -C examples/loadables all others
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local d f
|
||||
|
||||
default
|
||||
|
||||
dodir /bin
|
||||
mv "${ED}"/usr/bin/bash "${ED}"/bin/ || die
|
||||
dosym bash /bin/rbash
|
||||
|
||||
insinto /etc/bash
|
||||
doins "${FILESDIR}"/{bashrc,bash_logout}
|
||||
insinto /etc/skel
|
||||
for f in bash{_logout,_profile,rc} ; do
|
||||
newins "${FILESDIR}"/dot-${f} .${f}
|
||||
done
|
||||
|
||||
local sed_args=(
|
||||
-e "s:#${USERLAND}#@::"
|
||||
-e '/#@/d'
|
||||
)
|
||||
if ! use readline ; then
|
||||
sed_args+=( #432338
|
||||
-e '/^shopt -s histappend/s:^:#:'
|
||||
-e 's:use_color=true:use_color=false:'
|
||||
)
|
||||
fi
|
||||
sed -i \
|
||||
"${sed_args[@]}" \
|
||||
"${ED}"/etc/skel/.bashrc \
|
||||
"${ED}"/etc/bash/bashrc || die
|
||||
|
||||
if use plugins ; then
|
||||
exeinto /usr/$(get_libdir)/bash
|
||||
doexe $(echo examples/loadables/*.o | sed 's:\.o::g')
|
||||
insinto /usr/include/bash-plugins
|
||||
doins *.h builtins/*.h examples/loadables/*.h include/*.h \
|
||||
lib/{glob/glob.h,tilde/tilde.h}
|
||||
fi
|
||||
|
||||
if use examples ; then
|
||||
for d in examples/{functions,misc,scripts,scripts.noah,scripts.v2} ; do
|
||||
exeinto /usr/share/doc/${PF}/${d}
|
||||
insinto /usr/share/doc/${PF}/${d}
|
||||
for f in ${d}/* ; do
|
||||
if [[ ${f##*/} != PERMISSION ]] && [[ ${f##*/} != *README ]] ; then
|
||||
doexe ${f}
|
||||
else
|
||||
doins ${f}
|
||||
fi
|
||||
done
|
||||
done
|
||||
fi
|
||||
|
||||
doman doc/*.1
|
||||
newdoc CWRU/changelog ChangeLog
|
||||
dosym bash.info /usr/share/info/bashref.info
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if [[ -e ${EROOT}/etc/bashrc ]] && [[ ! -d ${EROOT}/etc/bash ]] ; then
|
||||
mkdir -p "${EROOT}"/etc/bash
|
||||
mv -f "${EROOT}"/etc/bashrc "${EROOT}"/etc/bash/
|
||||
fi
|
||||
|
||||
if [[ -L ${EROOT}/bin/sh ]] ; then
|
||||
# rewrite the symlink to ensure that its mtime changes. having /bin/sh
|
||||
# missing even temporarily causes a fatal error with paludis.
|
||||
local target=$(readlink "${EROOT}"/bin/sh)
|
||||
local tmp=$(emktemp "${EROOT}"/bin)
|
||||
ln -sf "${target}" "${tmp}"
|
||||
mv -f "${tmp}" "${EROOT}"/bin/sh
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# If /bin/sh does not exist, provide it
|
||||
if [[ ! -e ${EROOT}/bin/sh ]] ; then
|
||||
ln -sf bash "${EROOT}"/bin/sh
|
||||
fi
|
||||
}
|
@ -0,0 +1,47 @@
|
||||
*** ../bash-4.3-patched/shell.h 2012-12-25 21:11:01.000000000 -0500
|
||||
--- shell.h 2014-06-03 09:24:28.000000000 -0400
|
||||
***************
|
||||
*** 169,173 ****
|
||||
int expand_aliases;
|
||||
int echo_input_at_read;
|
||||
!
|
||||
} sh_parser_state_t;
|
||||
|
||||
--- 169,174 ----
|
||||
int expand_aliases;
|
||||
int echo_input_at_read;
|
||||
! int need_here_doc;
|
||||
!
|
||||
} sh_parser_state_t;
|
||||
|
||||
*** ../bash-4.3-patched/parse.y 2014-05-14 09:16:40.000000000 -0400
|
||||
--- parse.y 2014-04-30 09:27:59.000000000 -0400
|
||||
***************
|
||||
*** 2643,2647 ****
|
||||
|
||||
r = 0;
|
||||
! while (need_here_doc)
|
||||
{
|
||||
parser_state |= PST_HEREDOC;
|
||||
--- 2643,2647 ----
|
||||
|
||||
r = 0;
|
||||
! while (need_here_doc > 0)
|
||||
{
|
||||
parser_state |= PST_HEREDOC;
|
||||
***************
|
||||
*** 6076,6079 ****
|
||||
--- 6076,6080 ----
|
||||
ps->expand_aliases = expand_aliases;
|
||||
ps->echo_input_at_read = echo_input_at_read;
|
||||
+ ps->need_here_doc = need_here_doc;
|
||||
|
||||
ps->token = token;
|
||||
***************
|
||||
*** 6124,6127 ****
|
||||
--- 6125,6129 ----
|
||||
expand_aliases = ps->expand_aliases;
|
||||
echo_input_at_read = ps->echo_input_at_read;
|
||||
+ need_here_doc = ps->need_here_doc;
|
||||
|
||||
FREE (token);
|
@ -0,0 +1,533 @@
|
||||
--- /dev/null
|
||||
+++ platform/debian/mupdf.desktop
|
||||
@@ -0,0 +1,15 @@
|
||||
+[Desktop Entry]
|
||||
+Name=MuPDF
|
||||
+GenericName=PDF file viewer
|
||||
+Exec=mupdf-select-file %f
|
||||
+TryExec=mupdf-select-file
|
||||
+Icon=mupdf
|
||||
+Terminal=false
|
||||
+Type=Application
|
||||
+MimeType=application/pdf;application/x-pdf;application/x-cbz;application/oxps;application/vnd.ms-xpsdocument;image/jpeg;image/pjpeg;image/png;image/tiff;image/x-tiff
|
||||
+Categories=Viewer;Graphics;
|
||||
+Actions=View
|
||||
+
|
||||
+[Desktop Action View]
|
||||
+Name=View with mupdf
|
||||
+Exec=mupdf %f
|
||||
--- /dev/null
|
||||
+++ platform/debian/mupdf.pc
|
||||
@@ -0,0 +1,12 @@
|
||||
+prefix=/usr
|
||||
+exec_prefix=${prefix}
|
||||
+libdir=${exec_prefix}/lib
|
||||
+includedir=${prefix}/include
|
||||
+
|
||||
+Name: mupdf
|
||||
+Description: Library for rendering PDF documents
|
||||
+Requires.private: freetype2
|
||||
+Version: 0.5.0
|
||||
+Libs: -L${libdir} -lmupdf
|
||||
+Libs.private: -lopenjpeg -ljbig2dec -ljpeg -lz -lm
|
||||
+Cflags: -I${includedir}
|
||||
--- /dev/null
|
||||
+++ platform/debian/mupdf.xpm
|
||||
@@ -0,0 +1,497 @@
|
||||
+/* XPM */
|
||||
+static char *mupdf[] = {
|
||||
+/* width height ncolors chars_per_pixel */
|
||||
+"48 48 442 2",
|
||||
+/* colors */
|
||||
+" c #000000",
|
||||
+" . c #2E4558",
|
||||
+" X c #252121",
|
||||
+" o c #AFAFAF",
|
||||
+" O c #28313B",
|
||||
+" + c #231F1F",
|
||||
+" @ c #686666",
|
||||
+" # c #98BDD7",
|
||||
+" $ c #201B1C",
|
||||
+" % c #7CABCC",
|
||||
+" & c #4487B6",
|
||||
+" * c #DFDEDE",
|
||||
+" = c #4285B4",
|
||||
+" - c #615E5F",
|
||||
+" ; c #605E5E",
|
||||
+" : c #23262C",
|
||||
+" > c #D9D8D8",
|
||||
+" , c #F7FAFC",
|
||||
+" < c #D7D6D6",
|
||||
+" 1 c #BFD6E6",
|
||||
+" 2 c #6BA0C5",
|
||||
+" 3 c #232122",
|
||||
+" 4 c #555253",
|
||||
+" 5 c #CDCCCC",
|
||||
+" 6 c #E7EFF6",
|
||||
+" 7 c #4786B2",
|
||||
+" 8 c #CADDEA",
|
||||
+" 9 c #4085B5",
|
||||
+" 0 c #AECBDF",
|
||||
+" q c #CBCACA",
|
||||
+" w c #92B9D4",
|
||||
+" e c #365F7D",
|
||||
+" r c #5A95BE",
|
||||
+" t c #3E83B3",
|
||||
+" y c #304B60",
|
||||
+" u c #C7C6C6",
|
||||
+" i c #4D8EBB",
|
||||
+" p c #F1F6F9",
|
||||
+" a c #C1C0C0",
|
||||
+" s c #454243",
|
||||
+" d c #669CC3",
|
||||
+" f c #81AECD",
|
||||
+" g c #7A7777",
|
||||
+" h c #434041",
|
||||
+" j c #3E779F",
|
||||
+" k c #272E36",
|
||||
+" l c #413E3F",
|
||||
+" z c #3F3C3D",
|
||||
+" x c #5895BF",
|
||||
+" c c #3D3A3B",
|
||||
+" v c #C6DBE9",
|
||||
+" b c #B8B6B7",
|
||||
+" n c #4282B0",
|
||||
+" m c #FDFDFE",
|
||||
+" M c #B7B6B6",
|
||||
+" N c #8DB5D2",
|
||||
+" B c #242529",
|
||||
+" V c #B3B2B2",
|
||||
+" C c #222327",
|
||||
+" Z c #B0AEAF",
|
||||
+" A c #EDF4F8",
|
||||
+" S c #686565",
|
||||
+" D c #488AB9",
|
||||
+" F c #9ABED8",
|
||||
+" G c #7EACCD",
|
||||
+" H c #ECF2F7",
|
||||
+" J c #211C1C",
|
||||
+" K c #666363",
|
||||
+" L c #F1F1F2",
|
||||
+" P c #ABAAAA",
|
||||
+" I c #4588B6",
|
||||
+" U c #A9A8A8",
|
||||
+" Y c #2D2A2B",
|
||||
+" T c #A7A6A6",
|
||||
+" R c #615D5E",
|
||||
+" E c #2B2829",
|
||||
+" W c #8DB7D5",
|
||||
+" Q c #F9FBFD",
|
||||
+" ! c #DDE9F2",
|
||||
+" ~ c #F8FBFC",
|
||||
+" ^ c #DCE9F1",
|
||||
+" / c #A5C5DC",
|
||||
+" ( c #89B3D1",
|
||||
+" ) c #5C5959",
|
||||
+" _ c #A4C5DB",
|
||||
+" ` c #335A76",
|
||||
+" ' c #518FBB",
|
||||
+" ] c #E6E7E7",
|
||||
+" [ c #5A5757",
|
||||
+" { c #232021",
|
||||
+" } c #33536C",
|
||||
+" | c #98BED9",
|
||||
+". c #E0E1E1",
|
||||
+".. c #7CACCE",
|
||||
+".X c #4488B8",
|
||||
+".o c #2D3F4F",
|
||||
+".O c #999898",
|
||||
+".+ c #4388B7",
|
||||
+".@ c #5E98C1",
|
||||
+".# c #CDCDCB",
|
||||
+".$ c #524F4F",
|
||||
+".% c #B0CCE0",
|
||||
+".& c #979696",
|
||||
+".* c #78A8CA",
|
||||
+".= c #5C96BF",
|
||||
+".- c #969495",
|
||||
+".; c #4084B4",
|
||||
+".: c #252930",
|
||||
+".> c #949293",
|
||||
+"., c #929091",
|
||||
+".< c #417FAB",
|
||||
+".1 c #4F8FBC",
|
||||
+".2 c #F3F7FA",
|
||||
+".3 c #D3D3D4",
|
||||
+".4 c #D7E5EF",
|
||||
+".5 c #222023",
|
||||
+".6 c #9FC1D9",
|
||||
+".7 c #679DC3",
|
||||
+".8 c #37678A",
|
||||
+".9 c #4B8BB8",
|
||||
+".0 c #3E769E",
|
||||
+".q c #3C749C",
|
||||
+".w c #403D3D",
|
||||
+".e c #92BAD6",
|
||||
+".r c #C8DCEA",
|
||||
+".t c #FEFEFE",
|
||||
+".y c #3D393A",
|
||||
+".u c #3B3738",
|
||||
+".i c #355974",
|
||||
+".p c #353132",
|
||||
+".a c #7A7879",
|
||||
+".s c #498BB9",
|
||||
+".d c #9BBFD8",
|
||||
+".f c #4E8AB4",
|
||||
+".g c #787677",
|
||||
+".h c #F2F2F2",
|
||||
+".j c #F0F0F0",
|
||||
+".k c #2F2B2C",
|
||||
+".l c #EEEEEE",
|
||||
+".z c #727071",
|
||||
+".x c #26282D",
|
||||
+".c c #ECECEC",
|
||||
+".v c #2B2728",
|
||||
+".b c #FAFCFD",
|
||||
+".n c #EAEAEA",
|
||||
+".m c #DEEAF2",
|
||||
+".M c #E9EAE9",
|
||||
+".N c #C2D8E7",
|
||||
+".B c #6E6C6D",
|
||||
+".V c #5390BC",
|
||||
+".C c #E8E8E8",
|
||||
+".Z c #6EA2C6",
|
||||
+".A c #272324",
|
||||
+".S c #E7E6E7",
|
||||
+".D c #E6E6E6",
|
||||
+".F c #252122",
|
||||
+".G c #29333D",
|
||||
+".H c #E4E4E4",
|
||||
+".J c #3F7AA5",
|
||||
+".K c #231F20",
|
||||
+".L c #E2E2E2",
|
||||
+".P c #211D1E",
|
||||
+".I c #E0E0E0",
|
||||
+".U c #EAF1F7",
|
||||
+".Y c #6099C2",
|
||||
+".T c #1F1B1C",
|
||||
+".R c #E9F1F6",
|
||||
+".E c #CDDFEB",
|
||||
+".W c #4387B6",
|
||||
+".Q c #96BBD6",
|
||||
+".! c #B1CDE0",
|
||||
+".~ c #DEDEDE",
|
||||
+".^ c #79A9CA",
|
||||
+"./ c #4285B5",
|
||||
+".( c #272A31",
|
||||
+".) c #5D97BF",
|
||||
+"._ c #4185B4",
|
||||
+".` c #DCDCDC",
|
||||
+".' c #959393",
|
||||
+".] c #DADADA",
|
||||
+".[ c #314B5F",
|
||||
+".{ c #D8D8D8",
|
||||
+".} c #D7D8D7",
|
||||
+".| c #D6D6D6",
|
||||
+"X c #F5F8FB",
|
||||
+"X. c #D4D4D4",
|
||||
+"XX c #6AA0C5",
|
||||
+"Xo c #BDD4E5",
|
||||
+"XO c #3A6A8C",
|
||||
+"X+ c #232123",
|
||||
+"X@ c #D3D4D3",
|
||||
+"X# c #D2D2D2",
|
||||
+"X$ c #D0D0D0",
|
||||
+"X% c #CECECE",
|
||||
+"X& c #CCCCCC",
|
||||
+"X* c #CADDEB",
|
||||
+"X= c #37617F",
|
||||
+"X- c #242A31",
|
||||
+"X; c #CACACA",
|
||||
+"X: c #C8DBE9",
|
||||
+"X> c #90B7D3",
|
||||
+"X, c #817F7F",
|
||||
+"X< c #3F7EAB",
|
||||
+"X1 c #548FB9",
|
||||
+"X2 c #355873",
|
||||
+"X3 c #7D7B7B",
|
||||
+"X4 c #C2C2C2",
|
||||
+"X5 c #4B8CBA",
|
||||
+"X6 c #C0C0C0",
|
||||
+"X7 c #D4E4EE",
|
||||
+"X8 c #81AECE",
|
||||
+"X9 c #659CC3",
|
||||
+"X0 c #787576",
|
||||
+"Xq c #4788B6",
|
||||
+"Xw c #252C35",
|
||||
+"Xe c #757373",
|
||||
+"Xr c #BABABA",
|
||||
+"Xt c #FCFDFE",
|
||||
+"Xy c #B6B6B6",
|
||||
+"Xu c #C4D9E8",
|
||||
+"Xi c #706D6E",
|
||||
+"Xp c #8CB5D2",
|
||||
+"Xa c #70A3C7",
|
||||
+"Xs c #8BB5D1",
|
||||
+"Xd c #5491BC",
|
||||
+"Xf c #5391BB",
|
||||
+"Xg c #282424",
|
||||
+"Xh c #272223",
|
||||
+"Xj c #6C696A",
|
||||
+"Xk c #2F4659",
|
||||
+"Xl c #6B6969",
|
||||
+"Xz c #407BA5",
|
||||
+"Xx c #6A6768",
|
||||
+"Xc c #E4E3E3",
|
||||
+"Xv c #3E79A3",
|
||||
+"Xb c #231E1F",
|
||||
+"Xn c #221E1E",
|
||||
+"Xm c #E2E1E1",
|
||||
+"XM c #211C1D",
|
||||
+"XN c #EBF2F7",
|
||||
+"XB c #201C1C",
|
||||
+"XV c #CFE0EC",
|
||||
+"XC c #4588B7",
|
||||
+"XZ c #B3CEE1",
|
||||
+"XA c #366384",
|
||||
+"XS c #5F98C0",
|
||||
+"XD c #4386B5",
|
||||
+"XF c #DEDDDD",
|
||||
+"XG c #2B3D4B",
|
||||
+"XH c #615F5F",
|
||||
+"XJ c #5F5D5D",
|
||||
+"XK c #5E5B5C",
|
||||
+"XL c #DCE9F2",
|
||||
+"XP c #407DA8",
|
||||
+"XI c #86B1CF",
|
||||
+"XU c #D4D3D3",
|
||||
+"XY c #3A698B",
|
||||
+"XT c #3E7BA6",
|
||||
+"XR c #232022",
|
||||
+"XE c #545152",
|
||||
+"XW c #999899",
|
||||
+"XQ c #79AACC",
|
||||
+"X! c #524F50",
|
||||
+"X~ c #CCCDCB",
|
||||
+"X^ c #3D749B",
|
||||
+"X/ c #93BAD5",
|
||||
+"X( c #77A8CA",
|
||||
+"X) c #37607E",
|
||||
+"X_ c #5B96BF",
|
||||
+"X` c #3F84B4",
|
||||
+"X' c #CAC9C9",
|
||||
+"X] c #C6C5C5",
|
||||
+"X[ c #3F7DAA",
|
||||
+"X{ c #F2F7FA",
|
||||
+"X} c #C2C1C1",
|
||||
+"X| c #212023",
|
||||
+"o c #9EC1D9",
|
||||
+"o. c #444142",
|
||||
+"oX c #3F78A0",
|
||||
+"oo c #90B8D5",
|
||||
+"oO c #FEFEFF",
|
||||
+"o+ c #E2ECF4",
|
||||
+"o@ c #2B3A47",
|
||||
+"o# c #25262A",
|
||||
+"o$ c #B1AFB0",
|
||||
+"o% c #28313A",
|
||||
+"o& c #221D1D",
|
||||
+"o* c #262F38",
|
||||
+"o= c #629BC2",
|
||||
+"o- c #302D2E",
|
||||
+"o; c #6199C1",
|
||||
+"o: c #201B1B",
|
||||
+"o> c #4587B6",
|
||||
+"o, c #F0F0F1",
|
||||
+"o< c #2D3E4C",
|
||||
+"o1 c #2E2B2C",
|
||||
+"o2 c #4385B4",
|
||||
+"o3 c #A8A7A7",
|
||||
+"o4 c #A7A5A6",
|
||||
+"o5 c #3D7197",
|
||||
+"o6 c #4183B2",
|
||||
+"o7 c #4083B1",
|
||||
+"o8 c #A5A3A4",
|
||||
+"o9 c #3B6F95",
|
||||
+"o0 c #5290BC",
|
||||
+"oq c #A4C4DB",
|
||||
+"ow c #E9F1F7",
|
||||
+"oe c #4387B7",
|
||||
+"or c #E7EFF5",
|
||||
+"ot c #CBDDEA",
|
||||
+"oy c #4185B5",
|
||||
+"ou c #5B95BE",
|
||||
+"oi c #3F83B3",
|
||||
+"op c #939192",
|
||||
+"oa c #929191",
|
||||
+"os c #2B3743",
|
||||
+"od c #4C4849",
|
||||
+"of c #2A3742",
|
||||
+"og c #F4F8FB",
|
||||
+"oh c #D8E6F0",
|
||||
+"oj c #4C8CB9",
|
||||
+"ok c #211F22",
|
||||
+"ol c #CFD0D0",
|
||||
+"oz c #444041",
|
||||
+"ox c #262C34",
|
||||
+"oc c #413E3E",
|
||||
+"ov c #403C3D",
|
||||
+"ob c #3B739B",
|
||||
+"on c #858384",
|
||||
+"om c #FFFFFF",
|
||||
+"oM c #E3EDF4",
|
||||
+"oN c #5995BF",
|
||||
+"oB c #3E3A3B",
|
||||
+"oV c #C7DBE9",
|
||||
+"oC c #2F4B61",
|
||||
+"oZ c #5793BD",
|
||||
+"oA c #3C3839",
|
||||
+"oS c #2A3945",
|
||||
+"oD c #7E7D7D",
|
||||
+"oF c #345873",
|
||||
+"oG c #363233",
|
||||
+"oH c #7B797A",
|
||||
+"oJ c #EFF4F9",
|
||||
+"oK c #EEF4F8",
|
||||
+"oL c #F3F3F3",
|
||||
+"oP c #9ABED7",
|
||||
+"oI c #4788B7",
|
||||
+"oU c #629AC1",
|
||||
+"oY c #ACAAAA",
|
||||
+"oT c #F1F1F1",
|
||||
+"oR c #EFEFEF",
|
||||
+"oE c #737172",
|
||||
+"oW c #EDEDED",
|
||||
+"oQ c #A9C9DF",
|
||||
+"o! c #FBFDFE",
|
||||
+"o~ c #EBEBEB",
|
||||
+"o^ c #DFEBF3",
|
||||
+"o/ c #4581AB",
|
||||
+"o( c #6F6D6E",
|
||||
+"o) c #EAE9EA",
|
||||
+"o_ c #E9E9E9",
|
||||
+"o` c #C1D7E6",
|
||||
+"o' c #E7E7E7",
|
||||
+"o] c #E6E7E6",
|
||||
+"o[ c #E5E5E5",
|
||||
+"o{ c #3F7BA5",
|
||||
+"o} c #242021",
|
||||
+"o| c #E3E3E3",
|
||||
+"O c #3E79A4",
|
||||
+"O. c #221E1F",
|
||||
+"OX c #26303A",
|
||||
+"Oo c #9C9A9A",
|
||||
+"OO c #E1E1E1",
|
||||
+"O+ c #201C1D",
|
||||
+"O@ c #4488B7",
|
||||
+"O# c #DFDFDF",
|
||||
+"O$ c #7BAACC",
|
||||
+"O% c #356384",
|
||||
+"O& c #1E1A1B",
|
||||
+"O* c #4386B6",
|
||||
+"O= c #4286B5",
|
||||
+"O- c #95BAD5",
|
||||
+"O; c #DDDDDD",
|
||||
+"O: c #1C1819",
|
||||
+"O> c #DBDBDB",
|
||||
+"O, c #D9D9D9",
|
||||
+"O< c #D7D7D7",
|
||||
+"O1 c #417FAA",
|
||||
+"O2 c #DAE7F1",
|
||||
+"O3 c #F5F9FB",
|
||||
+"O4 c #D5D5D5",
|
||||
+"O5 c #242224",
|
||||
+"O6 c #D4D3D4",
|
||||
+"O7 c #85B1CF",
|
||||
+"O8 c #D3D3D3",
|
||||
+"O9 c #699FC4",
|
||||
+"O0 c #4D8DB9",
|
||||
+"Oq c #222022",
|
||||
+"Ow c #34556F",
|
||||
+"Oe c #D1D1D1",
|
||||
+"Or c #D0CFD0",
|
||||
+"Ot c #8A8888",
|
||||
+"Oy c #CFCFCF",
|
||||
+"Ou c #CDCDCD",
|
||||
+"Oi c #CCCDCC",
|
||||
+"Op c #CADEEB",
|
||||
+"Oa c #E5EEF5",
|
||||
+"Os c #C9DCEA",
|
||||
+"Od c #ADCADF",
|
||||
+"Of c #C8DCE9",
|
||||
+"Og c #91B8D4",
|
||||
+"Oh c #5994BE",
|
||||
+"Oj c #3D82B3",
|
||||
+"Ok c #5894BD",
|
||||
+"Ol c #3C82B2",
|
||||
+"Oz c #4181AD",
|
||||
+"Ox c #3B3737",
|
||||
+"Oc c #C5C5C5",
|
||||
+"Ov c #293643",
|
||||
+"Ob c #3E7DAA",
|
||||
+"On c #C1C1C1",
|
||||
+"Om c #353131",
|
||||
+"OM c #D4E3EE",
|
||||
+"ON c #B8D1E3",
|
||||
+"OB c #BFBFBF",
|
||||
+"OV c #9CBFD8",
|
||||
+"OC c #80ADCD",
|
||||
+"OZ c #649BC2",
|
||||
+"OA c #4889B7",
|
||||
+"OS c #BDBDBD",
|
||||
+"OD c #2E292A",
|
||||
+"OF c #4283B1",
|
||||
+"OG c #B7B7B7",
|
||||
+"OH c #4183B0",
|
||||
+"OJ c #5794BF",
|
||||
+"OK c #A7C6DC",
|
||||
+"OL c #365B77",
|
||||
+"OP c #8BB4D1",
|
||||
+"OI c #282324",
|
||||
+"OU c #272323",
|
||||
+"OY c #6C6A6A",
|
||||
+"OT c None",
|
||||
+/* pixels */
|
||||
+" oToToToT L.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h.h LoToToToT ",
|
||||
+"o,.joToToToToToToToToToToToToToToToToToToToT.h.h.h.hoToToToToToToToToToToToToToToToToToToToT.j.j",
|
||||
+".j.j.j.j.j.j.j.j.j.j.j.j.j.j.j.j.joToLoLoR.D.~ > >.~.DoRoLoLoT.j.j.j.j.j.j.j.j.j.j.j.j.j.j.j.j.j",
|
||||
+"oRoRoRoRoRoRoRoRoRoRoRoRoRoRoRoT.hXcOBoaXjX!oz c cozX!XjoaOBXc.hoToRoRoRoRoRoRoRoRoRoRoRoRoRoRoR",
|
||||
+".l.l.l.l.l.l.l.l.l.l.l.l.loR.j <.'X! Y.P.To: $ J J $o:.T.P YX!.' <.joR.l.l.l.l.l.l.l.l.l.l.l.l.l",
|
||||
+".l.l.l.l.l.l.l.l.l.l.l.l.jXm.&oz + $o& 3.x OoSXGXGoS O.x 3o& $ +oz.&Xm.j.l.l.l.l.l.l.l.l.l.l.l.l",
|
||||
+"oWoWoWoWoWoWoWoWoWoWoWoR uXK X $XRo% yXA.qo/.fX1X1.fo/.qXA yo%XR $ XXK uoRoWoWoWoWoWoWoWoWoWoWoW",
|
||||
+".c.c.c.c.c.c.c.c.c.coW Z z $ {os eXTo0..oQX*XLoMoMXLOpoQ..o0XT eos { $ z ZoW.c.c.c.c.c.c.c.c.c.c",
|
||||
+"o~o~o~o~o~o~o~o~o~.co3.p $.(X2X[OJ FOM !Of 0.d wOg.d 0Os.mOM FOJObX2.( $.po3.co~o~o~o~o~o~o~o~o~",
|
||||
+".n.n.n.n.n.n.n.noW VoGXMoso9XC G.N.!.^XfXD tOjOlOlOj tXDXd.^.% 1O$O@o9osXMoG VoW.n.n.n.n.n.n.n.n",
|
||||
+".n.n.n.n.n.n.n.c qo.XBo<XvX5 No oUO0 fOPXpXpXpXpXpXpXpXpOP ( NOdo^OV.sXvo<XBo. q.c.n.n.n.n.n.n.n",
|
||||
+"o_o_o_o_o_o_.M.L @ $o@o{.s.^.Z & t.* ~omomomomomomomomomomomom.toO.b _ D.Jo@ $ @.Lo)o_o_o_o_o_o_",
|
||||
+".C.C.C.C.C.Co~o8Xg kX^oeoZXf._XDXD 0omomomomomomomomomomomomomomomom.b #XCX^ kXgo8o~.C.C.C.C.C.C",
|
||||
+"o'o'o'o'o'.CO>.$okX=oeXDo>O=XD./Xd.momomomomomomomomomomomomomom pX7.NOK 'oeX=ok.$O>.Co'o'o'o'o'",
|
||||
+" ]o'o'o'.So_ TXh.o nXDXDXDXDXD.; %.bomomomomomomomomomomomomoOo`O9ojo>XDXDXD n.oXh To_ ]o'o'o'.S",
|
||||
+".D.D.D.D.Do| SX|XY.+XDXDXDXDXDXDXZomomomomomomomomomomomomom.4Xd.;O=XDXDXDXD.+XYX| So|.D.D.D.D.D",
|
||||
+"o[o[o[o[.D 5OxOvOzO*XDXDXDXD =oZo+omomomomomomomomomomomomomoP.;XDXDXDXDXDXDO*OzOvOx 5o]o[o[o[o[",
|
||||
+".H.H.H.Ho' POU }oeXDXDXDXDXD.;X8o!omomomomomomomomomomomom.bX(.;XDXDXDXDXDXDXDoe }OU Po'.H.H.H.H",
|
||||
+"o|o|o|o|.DOt.5XO.+XDXDXDXDXD &ONomomomomomomomomomomomomom.2.7._XDXDXDXDXDXDXD.+XO.5Ot.Do|o|o|o|",
|
||||
+"o|o|o|o|o|Xi : j.WXDXDXDXD = rOaomomomomomomomomomomomomom AXS._XDXDXDXDXDXDXD.W j :Xio|o|o|o|o|",
|
||||
+".L.L.L.L.I RXwXP.WXDXDXDXD.;XI momomomomomomomomomomomomomXN.=._XDXDXDXDXDXDXD.WXPXw R.I.L.L.L.L",
|
||||
+"OOOOOOOOO; [OX.<O*XDXDXDXD IXoomomomomomomomomomomomomomom.UX_._XDXDXDXDXDXDXDO*.<OX [O;OOOOOOOO",
|
||||
+".I.I.I.IO; )o*O1O*XDXDXD._.).Romomomomomog ~omomomomomomom.UX_._XDXDXDXDXDXDXDO*O1o* )O;.I.I.I.I",
|
||||
+"O#O#O#O#O# KX-Xz.WXDXDXD.;XsoOomomomomom vowomomomomomomom.UX_._XDXDXDXDXDXDXD.WXzX- KO#O#O#O#O#",
|
||||
+"O#O#O#O#. g Co5oeXDXDXDXq.Nomomomomom ,X>oromomomomomomom.UX_._XDXDXDXDXDXDXDoeo5 C gOOO#O#O#O#",
|
||||
+".~.~.~.~OO.- {X).XXDXD._o; HomomomomomohO9.Romomomomomomom.UX_._XDXDXDXDXDXDXD.XX) {.-OO.~.~.~.~",
|
||||
+"O;O;O;O;O#XyOD .o2XDXD.;Ogomomomomomom / r.Uomomomomomomom.UX_._XDXDXDXDXDXDXDo2 .ODXyO#O;O;O;O;",
|
||||
+".`.`.`.`O;Oeod.:oX.WXDOAoVomomomomomO3XaOk.Uomomomomomomom.UX_._XDXDXDXDXDXD.WoX.:odOeO;.`.`.`.`",
|
||||
+"O>O>O>O>O>O;X,.POw.W._ doJomomomomomOMoj r.Uomomomomomomom.UX_._XDXDXDXDXDXD.WOw.PX,O;O>O>O>O>O>",
|
||||
+"O>O>O>O>O>O;XrOmox.0 9X8Xtomomomomom.6X`ou.Uomomomomomomom.UX_._XDXDXDXDXDoe.0oxOmXrO;O>O>O>O>O>",
|
||||
+".].].].].].]O,.z JXkOH.VotomomomomX{ 2oiou.Uomomomomomomom.UX_._XDO= &O0 &OFXk J.zO,.].].].].].]",
|
||||
+"O,O,O,O,O,O,O>OS.yOq.i._OZ ^omomom.E.9._ou.Uomomomomomomom.UX_._._.9.ZXdO=.iOq.yOSO>O,O,O,O,O,O,",
|
||||
+".{.{.{.{.{.{.{.].,.A BX)oyXXO2omom.Q.;._ou.Uomomomomomomom.UOh._ dO-X9O=X) BOI.,.].{.{.{.{.{.{.{",
|
||||
+"O<O<O<O<O<O<O<.{O8o(Xno#OLo7.YXuX O7oIoiOk.Romomomomomomom HOCoqOdo=o6OLo#Xno(O8.{O<O<O<O<O<O<O<",
|
||||
+"O<O<O<O<O<O<O<O<.{X'XJ.PO5.[O iOgXVX:OVXsoKomomomomomomom.bOMX/.1O .[O5.PXJX'.{O<O<O<O<O<O<O<O<",
|
||||
+".|.|.|.|.|.|.|.|.|.}X]XH.KXn.G eX<oN.e 8 6 Qomomomom.bXN.roo xX< e.GXn.KXHX].}.|.|.|.|.|.|.|.|.|",
|
||||
+"O4O4O4O4O4O4O4O4O4O4O<X;Xe.vXBX+ofoFob 7.@XQ W | | WXQ.@ 7oboFofX+XB.vXeX;O<O4O4O4O4O4O4O4O4O4O4",
|
||||
+"X.X.X.X.X.X.X.X.X.X.X.O4X#XW sO. J.K.xo@oC `O%.8.8O% `oCo@.x.K JO. sXWX#O4X.X.X.X.X.X.X.X.X.X.X.",
|
||||
+"O8O8O8O6O8XUXUO8O8XUXUO8X..|OnX,oc.F $ Jo&XbXRO5O5XRXbo& J $.FocX,On.|X.O8XUX@X@O8.3O8O8O8O8O8X@",
|
||||
+"O8O8O8O8O8O8O8O8O8O8O8O8O8O8X.X. aop ; c Eo}.PXMXM.Po} E c ;op aX.X.O8O8O8O8O8O8O8O8O8O8O8O8O8O8",
|
||||
+"X#X#X#X#X#X#X#X#X#X#X#X#X#X#X#X#O8O4X$X6 P.-onX3X3on.- PX6X$O4O8X#X#X#X#X#X#X#X#X#X#X#X#X#X#X#X#",
|
||||
+"OeOeOeOeOeOeOeOeOeOeOeOeOeOeOeOeOeOeOeO8X4OGOnOcOcX} MOSX#OeOeOeOeOeOeOeOeOeOeOeOeOeOeOeOeOeOeOe",
|
||||
+"X$X$X$X$X$X$X$X$X$X$X$X$X$X$X$X$X$X$X$O8ono-oAov.w.u.koEX#X$X$X$X$X$X$X$X$X$X$X$X$X$X$X$X$X$X$X$",
|
||||
+"X$X$X$X$X$X$X$X$X$olX$X$X$X$X$X$X$X$X$X#oD l.>o1O+.P.T.BOeX$X$X$X$X$X$X$OrOrX$X$X$X$X$X$X$X$X$X$",
|
||||
+"OyOyOyOyOyOyOyOyOyOyOyOyOyOyOyOyOyOyOyX#oHXEXFoBO&.TO:OYX$OyOyOyOyOyOyOyOyOyOyOyOyOyOyOyOyOyOyOy",
|
||||
+"X%X%X%X%X%X%X%X%X%X%X%X%X%X%X%X%X%X%X%Oy POo.CX0 -Xx.g TOyX%X%X%X%X%X%X%X%X%X%X%X%X%X%X%X%X%X%X%",
|
||||
+"X%X%OuOuOuOuOuOuOuOuOuOuOuOuOuOuOuOuOuX% oo$.h boYo4.O UX%OuOuOuOuOuOuOuOuOuOuOuOuOuOuOuOuOuX%X%",
|
||||
+" Ou.#OuOuOiX&X&X&X&X&X&X&X&X&X&X&X&X&Oy.a 4 * h.K.KO&XlX%X&X&X&X&X&X&X&X&X&X&X&X&X&X&OuOuX~Ou "
|
||||
+};
|
@ -1,2 +1,3 @@
|
||||
DIST apache-couchdb-1.4.0.tar.gz 3422107 SHA256 bdbb9c35c2738ae0fe63280bd818a50443253f3db2184f8b9c386e5615ae02b5 SHA512 558009ec11befbb8b18541f19d3e31b1321e4c6413b66c7142bf67cd40feea33a3c32347a91ab3bf30cdd455931831794c6dd21085fff9370e3317780279c877 WHIRLPOOL 517fe6d14b1fd8e83c9b9e75b3c85c1730defe03f51f5ce6edb0138460f02bd6002509209d1cc0186d021f2c8b307b320814dbe82965e7271a472cce4671ed7c
|
||||
DIST apache-couchdb-1.5.0.tar.gz 11594978 SHA256 abbdb2a6433124a4a4b902856f6a8a070d53bf7a55faa7aa8b6feb7127638fef SHA512 557f712cf927b8713285e716a9dce624960316af0c481c98553c12b310fc228d30b585d25bf2c3e3debde5b25fc3d94dbbedaf79a7ae480e92a847abff73c2de WHIRLPOOL cecc476c7266623a823d4b2aa1641f9b15c43ac012859483fc97f0aae6ec7afcd716baa27aac455d0eafbe80b042ce0329327a72e3df90af1eb920e70e870d86
|
||||
DIST apache-couchdb-1.5.1.tar.gz 11601057 SHA256 d9d5dcc1c16633cef45f94d3f04ae72eb08390c75c2bc95f8be2c09fc46d4d47 SHA512 0837bc95da6b0cd6784915133c07d1dc1c965bf23f5e768794e7a46ae70d0947b9fc008b03c48a79893dfb7b0de0ea5e580f59617399c623618ceac6b1106da6 WHIRLPOOL 025058bcc3b08fd1b318b4a6952394a7334313ce6ba2d9a285a2a27129638103d2dc1c03d7be4e2b0a7f848b210eb7172257196c3613c1ff430a59e2d3b0d63b
|
||||
|
@ -0,0 +1,75 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/couchdb/couchdb-1.5.1.ebuild,v 1.1 2014/06/05 08:10:53 djc Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils multilib pax-utils user
|
||||
|
||||
DESCRIPTION="Apache CouchDB is a distributed, fault-tolerant and schema-free document-oriented database."
|
||||
HOMEPAGE="http://couchdb.apache.org/"
|
||||
SRC_URI="mirror://apache/couchdb/source/${PV}/apache-${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="selinux test"
|
||||
|
||||
RDEPEND=">=dev-libs/icu-4.3.1:=
|
||||
dev-lang/erlang[ssl]
|
||||
>=dev-libs/openssl-0.9.8j:0
|
||||
>=net-misc/curl-7.18.2
|
||||
<dev-lang/spidermonkey-1.8.7
|
||||
selinux? ( sec-policy/selinux-couchdb )"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
RESTRICT=test
|
||||
|
||||
S="${WORKDIR}/apache-${P}"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup couchdb
|
||||
enewuser couchdb -1 -1 /var/lib/couchdb couchdb
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i ./src/couchdb/priv/Makefile.* -e 's|-Werror||g'
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--with-erlang=/usr/lib/erlang/usr/include \
|
||||
--localstatedir=/var \
|
||||
--with-js-lib=/usr/lib
|
||||
# bug 296609, upstream bug #COUCHDB-621
|
||||
sed -e "s#localdocdir = /usr/share/doc/couchdb#localdocdir = /usr/share/doc/${PF}#" -i Makefile || die "sed failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
# bug 442616
|
||||
pax-mark mr src/couchdb/priv/couchjs
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake distcheck
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
fowners couchdb:couchdb \
|
||||
/var/lib/couchdb \
|
||||
/var/log/couchdb
|
||||
|
||||
for f in "${D}"/etc/couchdb/*.ini ; do
|
||||
fowners root:couchdb "${f#${D}}"
|
||||
fperms 660 "${f#${D}}"
|
||||
done
|
||||
fperms 664 /etc/couchdb/default.ini
|
||||
|
||||
newinitd "${FILESDIR}/couchdb.init-4" couchdb
|
||||
newconfd "${FILESDIR}/couchdb.conf-2" couchdb
|
||||
|
||||
sed -i -e "s:LIBDIR:$(get_libdir):" "${D}/etc/conf.d/couchdb"
|
||||
}
|
@ -1,6 +1,2 @@
|
||||
DIST gtk2hs-buildtools-0.12.0.tar.gz 211213 SHA256 4819b3270d0b5e4775808679815764e7a86ac0866c7c200304ecc39fb2aff4b3 SHA512 24250a2048092cf4c77d0ac627a5c64dc76dbb4391162e007538c06be1681a45dd68403c502b97f7e131045837519c6d9178dc19a77e90e6552f1da49a72d19f WHIRLPOOL 083c9a289469fe7985db82668a813fe3bd8a996cd6abc899c8f2f38aaf2486d8071001c6150faca09e6f4cbfe12602e6d337d598ae3de03f5973cb524df1c834
|
||||
DIST gtk2hs-buildtools-0.12.3.1.tar.gz 212286 SHA256 c6ff1fbb9b50e0c5bbc65ab7e16f2b5ff80536b2704bac6c34f106ff8357b428 SHA512 9a32d8cd0c1686787fdf691067ad1c8997fa87a77093a0184d85fa6ab9fed3ed3a9733a9072fece35d0a00e3c629e1f4cbdd62a392d17c8b69533aac247ff1b3 WHIRLPOOL 2e0715214900880b1b204241458815713bb87fb68fad1d67cbcbded3c10093d59dbb73a02acf855976839e76b12901972c62d9333d2685b6c1106a3f89171544
|
||||
DIST gtk2hs-buildtools-0.12.3.tar.gz 167845 SHA256 71e58c0de00b6436a0ad761170b61c86890d8e9971107cffb1b16e0896b84984 SHA512 b9d83f42d3c184d0a4e77eacd880bea88f8dddf8962e951256d3100618146bb31a399d89628a7703030daa78b3b1f0a5fbe6d313f733c8e321af041b97ecb326 WHIRLPOOL 95e495850d66559c0f4d90f5032f3ee2e83d991425410587cbbdb3d11e702d2708d650b8ca953a294ac55109a41203b8e2570f4fa65d6ee807e47562efeabeb1
|
||||
DIST gtk2hs-buildtools-0.12.4.tar.gz 212505 SHA256 5fe05fee08484ee9a8515b04536426fe263c830094c548534304971e2ffa0576 SHA512 7d3131751e54a5cf912bf3b09404c06c010e71515b3cf3477ac0391f2195dd4474aef3a55de901da48166f3a5b05a462072fbe9fc33f165c479cf8a6f9951b1d WHIRLPOOL 4a3504fbdb8fcb80d0882560bbfd37523e9a44b17178d168a271301157147e760bec95c902d660fd7dab4c4791afbf91face011e7563c7fa134ff2c2f017d18d
|
||||
DIST gtk2hs-buildtools-0.12.5.1.tar.gz 169038 SHA256 d541edd4738f01395bfb9a79bda1730484ea9a3ff86936f0292b2180863f55fe SHA512 ec25d74209c79414b66cf15e7b041be39f2179d37a4ecc5a2859022db2245ebf7258d13e130d9b8eae53a35575fc200c7ab0bbc4e99571bc2e7b410a9d268c56 WHIRLPOOL 9ee06c11b87737f40533773414c35268af7df3696ddbaa806f4d56d206c16b284dacd206bdb3efa339d207cde01f35f41849b87f9c6f479ac2c4c676d20d39ca
|
||||
DIST gtk2hs-buildtools-0.12.5.2.tar.gz 169072 SHA256 3c7a0c106acaad01b9816c13755687c650bbcdaa1112da43eb89461c277795f0 SHA512 a76dcf90fb591424fb61943a73ab3be97c13289ac76b6119bb4d613cf3fd8ced373250d8c75653b409d4550ab52b5eb1da2b1fc65232c4d0989a5e57e7a470ae WHIRLPOOL f723433f934c0cbcb41cfb3843b03471620d1b2770afc29fc2167d5cf7dc09d53d16334ad25d5b7666b967893eb25e53a80181710d344d5d5fcff0d43f53f24c
|
||||
|
@ -1,19 +0,0 @@
|
||||
diff --git a/c2hs/toplevel/Main.hs b/c2hs/toplevel/Main.hs
|
||||
index 47ddd0a..f921c8d 100644
|
||||
--- a/c2hs/toplevel/Main.hs
|
||||
+++ b/c2hs/toplevel/Main.hs
|
||||
@@ -363,9 +363,11 @@ execute opts args | Help `elem` opts = help
|
||||
|
||||
preCompFile <- getSwitch preCompSB
|
||||
|
||||
- unless (preCompFile==Nothing) $
|
||||
- preCompileHeader headerFile (fromJust preCompFile)
|
||||
- `fatalsHandledBy` ioErrorHandler
|
||||
+ -- broken when .chs contains C preproc code:
|
||||
+ -- http://www.mail-archive.com/gtk2hs-devel@lists.sourceforge.net/msg01160.html
|
||||
+ -- unless (preCompFile==Nothing) $
|
||||
+ -- preCompileHeader headerFile (fromJust preCompFile)
|
||||
+ -- `fatalsHandledBy` ioErrorHandler
|
||||
|
||||
let bndFileWithoutSuffix = stripSuffix bndFile
|
||||
unless (null bndFile) $ do
|
@ -1,51 +0,0 @@
|
||||
--- gtk2hs-buildtools-0.12.3.1-orig/c2hs/base/general/FileOps.hs 2012-05-28 08:17:27.000000000 +1000
|
||||
+++ gtk2hs-buildtools-0.12.3.1/c2hs/base/general/FileOps.hs 2012-07-14 14:17:58.121511985 +1000
|
||||
@@ -36,6 +36,7 @@
|
||||
import System.Directory (doesFileExist)
|
||||
import System.IO (Handle, IOMode(..), openFile)
|
||||
import Control.Monad (liftM)
|
||||
+import qualified Control.Exception
|
||||
import System.Random (newStdGen, randomRs)
|
||||
|
||||
import FNameOps (dirname, stripDirname, addPath)
|
||||
@@ -89,7 +90,9 @@
|
||||
in do
|
||||
h <- openFile fname ReadWriteMode
|
||||
return (h, fname)
|
||||
- `catch` \_ -> createLoop (attempts - 1) rs'
|
||||
+ `Control.Exception.catch` ((\_ -> createLoop (attempts - 1) rs') ::
|
||||
+ Control.Exception.SomeException ->
|
||||
+ IO (Handle, FilePath))
|
||||
--
|
||||
sixChars :: [Int] -> ([Int], String)
|
||||
sixChars is =
|
||||
--- gtk2hs-buildtools-0.12.3.1-orig/c2hs/base/state/StateTrans.hs 2012-05-28 08:17:27.000000000 +1000
|
||||
+++ gtk2hs-buildtools-0.12.3.1/c2hs/base/state/StateTrans.hs 2012-07-14 14:14:12.365626559 +1000
|
||||
@@ -80,6 +80,7 @@
|
||||
where
|
||||
|
||||
import Control.Monad (liftM)
|
||||
+import qualified Control.Exception
|
||||
import System.IO (fixIO)
|
||||
import Data.IORef (IORef, newIORef, readIORef, writeIORef)
|
||||
|
||||
@@ -337,7 +338,7 @@
|
||||
ioError err
|
||||
Right a -> return state
|
||||
)
|
||||
- `catch` (\err -> let
|
||||
+ `Control.Exception.catch` (\err -> let
|
||||
STB handler' = handler err
|
||||
in
|
||||
handler' bs gs)
|
||||
--- gtk2hs-buildtools-0.12.3.1-orig/c2hs/toplevel/C2HSConfig.hs 2012-05-28 08:17:27.000000000 +1000
|
||||
+++ gtk2hs-buildtools-0.12.3.1/c2hs/toplevel/C2HSConfig.hs 2012-07-14 14:12:10.172439583 +1000
|
||||
@@ -46,7 +46,7 @@
|
||||
|
||||
import Foreign (Ptr, FunPtr)
|
||||
import Foreign (Storable(sizeOf, alignment), toBool)
|
||||
-import Foreign.C (CInt)
|
||||
+import Foreign.C (CInt(..))
|
||||
import System.Info (os)
|
||||
|
||||
-- program settings
|
@ -1,14 +0,0 @@
|
||||
--- gtk2hs-buildtools-0.12.3.1-orig/hierarchyGen/Hierarchy.chs.template 2012-05-28 08:17:27.000000000 +1000
|
||||
+++ gtk2hs-buildtools-0.12.3.1/hierarchyGen/Hierarchy.chs.template 2012-10-11 12:28:58.851901084 +1100
|
||||
@@ -38,11 +38,7 @@
|
||||
) where
|
||||
|
||||
import Foreign.ForeignPtr (ForeignPtr, castForeignPtr, unsafeForeignPtrToPtr)
|
||||
-#if __GLASGOW_HASKELL__>=704
|
||||
import Foreign.C.Types (CULong(..), CUInt(..))
|
||||
-#else
|
||||
-import Foreign.C.Types (CULong, CUInt)
|
||||
-#endif
|
||||
import System.Glib.GType (GType, typeInstanceIsA)
|
||||
@MODULE_IMPORTS@
|
||||
{# context lib="@CONTEXT_LIB@" prefix="@CONTEXT_PREFIX@" #}
|
@ -1,51 +0,0 @@
|
||||
--- gtk2hs-buildtools-0.12.4-orig/gtk2hs-buildtools.cabal 2012-11-12 10:26:45.000000000 +1100
|
||||
+++ gtk2hs-buildtools-0.12.4/gtk2hs-buildtools.cabal 2012-12-09 14:03:02.311776181 +1100
|
||||
@@ -55,6 +55,8 @@
|
||||
build-depends: base >= 4 && < 5,
|
||||
process, directory, array, containers, pretty,
|
||||
filepath, random
|
||||
+ if (impl(ghc >= 7.6))
|
||||
+ build-depends: hashtables
|
||||
build-tools: alex, happy
|
||||
other-modules: BaseVersion
|
||||
Config
|
||||
--- gtk2hs-buildtools-0.12.4-orig/c2hs/base/general/Binary.hs 2012-11-12 10:26:43.000000000 +1100
|
||||
+++ gtk2hs-buildtools-0.12.4/c2hs/base/general/Binary.hs 2012-12-09 13:43:37.136585903 +1100
|
||||
@@ -61,8 +61,14 @@
|
||||
import Map (Map)
|
||||
import qualified Map as Map
|
||||
# if __GLASGOW_HASKELL__>=602
|
||||
+# if __GLASGOW_HASKELL__>=706
|
||||
+import Data.HashTable.IO as HashTable hiding (mapM_)
|
||||
+import Prelude
|
||||
+import Data.List (foldl')
|
||||
+#else
|
||||
import Data.HashTable as HashTable
|
||||
# endif
|
||||
+# endif
|
||||
import Data.Array.IO
|
||||
import Data.Array
|
||||
import Data.Bits
|
||||
@@ -94,6 +100,10 @@
|
||||
|
||||
type BinArray = IOUArray Int Word8
|
||||
|
||||
+# if __GLASGOW_HASKELL__>=706
|
||||
+type HashTable k v = HashTable.BasicHashTable k v
|
||||
+#endif
|
||||
+
|
||||
---------------------------------------------------------------
|
||||
-- BinHandle
|
||||
---------------------------------------------------------------
|
||||
@@ -714,7 +724,11 @@
|
||||
newWriteState = do
|
||||
j_r <- newIORef 0
|
||||
#if __GLASGOW_HASKELL__>=602
|
||||
+# if __GLASGOW_HASKELL__>=706
|
||||
+ out_r <- HashTable.new
|
||||
+#else
|
||||
out_r <- HashTable.new (==) HashTable.hashString
|
||||
+#endif
|
||||
#else
|
||||
out_r <- newIORef Map.empty
|
||||
#endif
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/gtk2hs-buildtools/gtk2hs-buildtools-0.12.0.ebuild,v 1.6 2013/12/12 06:05:04 gienah Exp $
|
||||
|
||||
# ebuild generated by hackport 0.2.13
|
||||
|
||||
EAPI="3"
|
||||
|
||||
CABAL_FEATURES="bin"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="Tools to build the Gtk2Hs suite of User Interface libraries."
|
||||
HOMEPAGE="http://www.haskell.org/gtk2hs/"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
dev-haskell/alex
|
||||
>=dev-haskell/cabal-1.6.0
|
||||
dev-haskell/happy
|
||||
>=dev-lang/ghc-6.10.1"
|
@ -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-haskell/gtk2hs-buildtools/gtk2hs-buildtools-0.12.3-r3.ebuild,v 1.6 2013/12/12 06:05:04 gienah Exp $
|
||||
|
||||
# ebuild generated by hackport 0.2.13
|
||||
|
||||
EAPI="3"
|
||||
|
||||
CABAL_FEATURES="bin"
|
||||
inherit base haskell-cabal
|
||||
|
||||
DESCRIPTION="Tools to build the Gtk2Hs suite of User Interface libraries."
|
||||
HOMEPAGE="http://projects.haskell.org/gtk2hs/"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
dev-haskell/alex
|
||||
>=dev-haskell/cabal-1.8
|
||||
dev-haskell/happy
|
||||
>=dev-lang/ghc-6.10.1"
|
||||
|
||||
PATCHES=("${FILESDIR}"/${P}-workaround-UName.patch)
|
@ -1,37 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/gtk2hs-buildtools/gtk2hs-buildtools-0.12.3.1.ebuild,v 1.7 2013/12/12 06:05:04 gienah Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
CABAL_FEATURES="bin"
|
||||
inherit base haskell-cabal
|
||||
|
||||
DESCRIPTION="Tools to build the Gtk2Hs suite of User Interface libraries."
|
||||
HOMEPAGE="http://projects.haskell.org/gtk2hs/"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
dev-haskell/alex
|
||||
>=dev-haskell/cabal-1.8
|
||||
dev-haskell/happy
|
||||
dev-haskell/random
|
||||
>=dev-lang/ghc-6.10.1"
|
||||
|
||||
PATCHES=("${FILESDIR}"/${PN}-0.12.3-workaround-UName.patch
|
||||
"${FILESDIR}"/${PN}-0.12.3.1-ghc-7.5.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
base_src_prepare
|
||||
# c2hs ignores #if __GLASGOW_HASKELL__ >= 704
|
||||
if has_version ">=dev-lang/ghc-7.6.1"; then
|
||||
epatch "${FILESDIR}"/${PN}-0.12.3.1-remove-conditional-compilation-as-it-is-ignored-ghc-7.6.patch
|
||||
fi
|
||||
}
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/gtk2hs-buildtools/gtk2hs-buildtools-0.12.4-r2.ebuild,v 1.7 2014/02/02 11:13:33 ago Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# ebuild generated by hackport 0.3.9999
|
||||
|
||||
GTK_MAJ_VER="2"
|
||||
|
||||
CABAL_FEATURES="bin"
|
||||
inherit base haskell-cabal
|
||||
|
||||
DESCRIPTION="Tools to build the Gtk2Hs suite of User Interface libraries."
|
||||
HOMEPAGE="http://projects.haskell.org/gtk2hs/"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~alpha amd64 ~ia64 ppc ppc64 sparc x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
dev-haskell/alex
|
||||
>=dev-haskell/cabal-1.8
|
||||
dev-haskell/happy
|
||||
dev-haskell/hashtables
|
||||
dev-haskell/random
|
||||
>=dev-lang/ghc-6.10.4"
|
||||
|
||||
PATCHES=("${FILESDIR}/${PN}-0.12.4-hashtables.patch")
|
||||
|
||||
src_prepare() {
|
||||
base_src_prepare
|
||||
sed -e "s@Executable gtk2hsTypeGen@Executable gtk2hsTypeGen${GTK_MAJ_VER}@" \
|
||||
-e "s@Executable gtk2hsHookGenerator@Executable gtk2hsHookGenerator${GTK_MAJ_VER}@" \
|
||||
-e "s@Executable gtk2hsC2hs@Executable gtk2hsC2hs${GTK_MAJ_VER}@" \
|
||||
-i "${S}/${PN}.cabal" \
|
||||
|| die "Could not change ${PN}.cabal for GTK+ slot 0"
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST go1.2.2.src.tar.gz 9520571 SHA256 fbcfe1fe6dfe660cae1c973811c5e2075e3f7b06feea32b4b91c7f0b48352391 SHA512 4e3cfb655888f064a447f969dbb12666f7f9b4300d860d8718a9a374135da6e137f887eec48feb171769ba1c11e3646806f67fcebf9acb257dcb8f8fc77b9050 WHIRLPOOL 03988bd5f7109e90eab21e448d6101503bc6360d4994c6e565914df267397c8ab88749897955c78b7acc94ea272042aaf90277321fe6402a55b75008432be4a0
|
||||
DIST go1.2.src.tar.gz 9519109 SHA256 9ab83fb8eafe39f4204ef0f8e84e5ff7e8f1d533ddb05f51e6dc81503e8c0ae4 SHA512 c5ded60ba6db97107669146e1723fa5efbd89eb7432a6584b831549fe19f257c658a7cad19ee0033e305eb360e84fd18e67a6445ad0f945166b4d7315adbae7f WHIRLPOOL 1c0c87f01189b60c77e6b770d06bfb4ee06f1b133d9fc221d404a81ce344be5821c6c39c7e2ff91f6ac184e3d182d51a459adba91ce2bb424a54c2745e46e2c1
|
||||
|
@ -0,0 +1,144 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/go/go-1.2.2.ebuild,v 1.1 2014/06/05 07:43:14 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
export CTARGET=${CTARGET:-${CHOST}}
|
||||
|
||||
inherit bash-completion-r1 elisp-common eutils
|
||||
|
||||
if [[ ${PV} = 9999 ]]; then
|
||||
EHG_REPO_URI="https://go.googlecode.com/hg"
|
||||
inherit mercurial
|
||||
else
|
||||
SRC_URI="https://storage.googleapis.com/golang/go${PV}.src.tar.gz"
|
||||
# Upstream only supports go on amd64, arm and x86 architectures.
|
||||
KEYWORDS="-* ~amd64 ~arm ~x86 ~amd64-fbsd ~x86-fbsd ~x64-macos"
|
||||
fi
|
||||
|
||||
DESCRIPTION="A concurrent garbage collected and typesafe programming language"
|
||||
HOMEPAGE="http://www.golang.org"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE="bash-completion emacs vim-syntax zsh-completion"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="bash-completion? ( app-shells/bash-completion )
|
||||
emacs? ( virtual/emacs )
|
||||
vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )
|
||||
zsh-completion? ( app-shells/zsh-completion )"
|
||||
|
||||
# The tools in /usr/lib/go should not cause the multilib-strict check to fail.
|
||||
QA_MULTILIB_PATHS="usr/lib/go/pkg/tool/.*/.*"
|
||||
|
||||
# The go language uses *.a files which are _NOT_ libraries and should not be
|
||||
# stripped.
|
||||
STRIP_MASK="/usr/lib/go/pkg/linux*/*.a /usr/lib/go/pkg/freebsd*/*.a"
|
||||
|
||||
if [[ ${PV} != 9999 ]]; then
|
||||
S="${WORKDIR}"/go
|
||||
fi
|
||||
|
||||
src_prepare()
|
||||
{
|
||||
if [[ ${PV} != 9999 ]]; then
|
||||
epatch "${FILESDIR}"/${PN}-1.2-no-Werror.patch
|
||||
fi
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_compile()
|
||||
{
|
||||
export GOROOT_FINAL="${EPREFIX}"/usr/lib/go
|
||||
export GOROOT="$(pwd)"
|
||||
export GOBIN="${GOROOT}/bin"
|
||||
if [[ $CTARGET = armv5* ]]
|
||||
then
|
||||
export GOARM=5
|
||||
fi
|
||||
|
||||
cd src
|
||||
./make.bash || die "build failed"
|
||||
cd ..
|
||||
|
||||
if use emacs; then
|
||||
elisp-compile misc/emacs/*.el
|
||||
fi
|
||||
}
|
||||
|
||||
src_test()
|
||||
{
|
||||
cd src
|
||||
PATH="${GOBIN}:${PATH}" \
|
||||
./run.bash --no-rebuild --banner || die "tests failed"
|
||||
}
|
||||
|
||||
src_install()
|
||||
{
|
||||
dobin bin/*
|
||||
dodoc AUTHORS CONTRIBUTORS PATENTS README
|
||||
|
||||
dodir /usr/lib/go
|
||||
insinto /usr/lib/go
|
||||
|
||||
# There is a known issue which requires the source tree to be installed [1].
|
||||
# Once this is fixed, we can consider using the doc use flag to control
|
||||
# installing the doc and src directories.
|
||||
# [1] http://code.google.com/p/go/issues/detail?id=2775
|
||||
doins -r doc include lib pkg src
|
||||
|
||||
if use bash-completion; then
|
||||
dobashcomp misc/bash/go
|
||||
fi
|
||||
|
||||
if use emacs; then
|
||||
elisp-install ${PN} misc/emacs/*.el misc/emacs/*.elc
|
||||
fi
|
||||
|
||||
if use vim-syntax; then
|
||||
insinto /usr/share/vim/vimfiles
|
||||
doins -r misc/vim/ftdetect
|
||||
doins -r misc/vim/ftplugin
|
||||
doins -r misc/vim/syntax
|
||||
doins -r misc/vim/plugin
|
||||
doins -r misc/vim/indent
|
||||
fi
|
||||
|
||||
if use zsh-completion; then
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins misc/zsh/go
|
||||
fi
|
||||
|
||||
fperms -R +x /usr/lib/go/pkg/tool
|
||||
}
|
||||
|
||||
pkg_postinst()
|
||||
{
|
||||
if use emacs; then
|
||||
elisp-site-regen
|
||||
fi
|
||||
|
||||
# If the go tool sees a package file timestamped older than a dependancy it
|
||||
# will rebuild that file. So, in order to stop go from rebuilding lots of
|
||||
# packages for every build we need to fix the timestamps. The compiler and
|
||||
# linker are also checked - so we need to fix them too.
|
||||
ebegin "fixing timestamps to avoid unnecessary rebuilds"
|
||||
tref="usr/lib/go/pkg/*/runtime.a"
|
||||
find "${EROOT}"usr/lib/go -type f \
|
||||
-exec touch -r "${EROOT}"${tref} {} \;
|
||||
eend $?
|
||||
|
||||
if [[ ${PV} != 9999 && -n ${REPLACING_VERSIONS} &&
|
||||
${REPLACING_VERSIONS} != ${PV} ]]; then
|
||||
elog "Release notes are located at http://golang.org/doc/go${PV}"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm()
|
||||
{
|
||||
if use emacs; then
|
||||
elisp-site-regen
|
||||
fi
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST liblinear-194.tar.gz 335240 SHA256 cce039e66cb82c77e7e816c42f2c1808fcb8df6a1050c94999c419cd20be9f55 SHA512 88ccfa469f3e2cef53ebf8c892197ef9d045877bbdda9073dac59ef6adf878beddb11c751f8b82c281180589a91859d2f13cc94affde5bc417a568d89adad42b WHIRLPOOL 971eb69f51e4eb0e27582c6d30666e8b70be261d0b357b10e95bcd86ac45a0c16a047661c07747b48014c02422cebc77e7e634ca942f75d43a4dcec3db452c61
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/liblinear/liblinear-194.ebuild,v 1.3 2014/06/06 00:32:10 jer Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="A Library for Large Linear Classification"
|
||||
HOMEPAGE="http://www.csie.ntu.edu.tw/~cjlin/liblinear/"
|
||||
SRC_URI="https://github.com/cjlin1/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~x86"
|
||||
|
||||
# /usr/bin/predict collision
|
||||
RDEPEND="!sci-astronomy/predict"
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e '/^AR/s|=|?=|g' \
|
||||
-e '/^RANLIB/s|=|?=|g' \
|
||||
-e '/^CFLAGS/d;/^CXXFLAGS/d' \
|
||||
blas/Makefile || die
|
||||
sed -i \
|
||||
-e 's|make|$(MAKE)|g' \
|
||||
-e '/$(LIBS)/s|$(CFLAGS)|& $(LDFLAGS)|g' \
|
||||
-e '/^CFLAGS/d;/^CXXFLAGS/d' \
|
||||
-e 's|$${SHARED_LIB_FLAG}|& $(LDFLAGS)|g' \
|
||||
Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
CC=$(tc-getCC) \
|
||||
CXX=$(tc-getCXX) \
|
||||
CFLAGS="${CFLAGS} -fPIC" \
|
||||
CXXFLAGS="${CXXFLAGS} -fPIC" \
|
||||
AR="$(tc-getAR) rcv" \
|
||||
RANLIB="$(tc-getRANLIB)" \
|
||||
emake lib all
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dolib ${PN}.so.1
|
||||
dosym ${PN}.so.1 /usr/$(get_libdir)/${PN}.so
|
||||
|
||||
dobin predict train
|
||||
|
||||
insinto /usr/include
|
||||
doins linear.h
|
||||
|
||||
dodoc README
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>jer@gentoo.org</email>
|
||||
<name>Jeroen Roovers</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,6 +1,8 @@
|
||||
DIST openssl-0.9.8y.tar.gz 3785001 SHA256 bbecf13495e612936e3a9860c29c0701413564b7a964bf771a3575eaa867cee3 SHA512 cdc05067343d6b06a0d0278e90abcea9bf58439c98279ce0ce22673bf6f4a6597babcb276635c3b15cf04ec76cf53320236f5b6bbc46544a61280825f5b7b3cc WHIRLPOOL c8c9cb00f303c2d95a1d2000c74bb146fb069da9471093bf7a2c00db2a5955c2d63908b3314eb9cd12ea1e80c3bac143d3774bc27515f2ab03c5ef4d88b61612
|
||||
DIST openssl-1.0.0j.tar.gz 4047852 SHA256 626fb8fcb3eb7e966edbe71553ff993d137f6e8a87b05051a3695e621098b8af SHA512 9796c75b4d5de57928708f5f0a8ca01aff5b4974b60006454657ed54c34998bc54d747af03860d319db7e7a57b0cd3c267758ffaac31be2be045c977d5fc33d4 WHIRLPOOL 239f051930d9562e7266edd69cf3a1060d381a95228fd17813dd2dbf469c2cf066786b277c2fd56973b830a6b43f28934f5f15d3b6dfac8f37a6e6a65fcae455
|
||||
DIST openssl-1.0.0m.tar.gz 4054477 SHA256 224dbbfaee3ad7337665e24eab516c67446d5081379a40b2f623cf7801e672de SHA512 0a8024bcffe0bfa488aa6a8592a393017481573aac563223c171ed62e040d2fba2396a65123ba3d7287ebecd33c3c9183b1c09783121fe480c8eef8f8f938b9d WHIRLPOOL 6bab33e9b0fb25505cf94035aef5997c7c4eef29192f00abeb0ed7137114e00082bd7ffff6eb3091b19439a75fdb4a7bbb00df0192d21a21e9ff3359ce024d06
|
||||
DIST openssl-1.0.1g.tar.gz 4509047 SHA256 53cb818c3b90e507a8348f4f5eaedb05d8bfe5358aabb508b7263cc670c3e028 SHA512 66ebbad3c8ad98a07b486d39d0c3ae62b00133f8f2877cf8b97c461e7c7f40b29cf9c3cae82cf73a92dcf1daa63d33aa76c910fbcbe60158589fc7cb48f41e6d WHIRLPOOL 6bfb30d1f41b051f794e2eb80ad9116b064f6d464c22698538c4e16b85739b80744387ca160fd1a86b92814b5b1b3fc7d0658a709942b7b31b198da8cce37056
|
||||
DIST openssl-1.0.1h.tar.gz 4475692 SHA256 9d1c8a9836aa63e2c6adb684186cbd4371c9e9dcc01d6e3bb447abf2d4d3d093 SHA512 687d12ae13e364b15622f68933894050d577a4f8647bd68c7e9e86eb9d9f49cd2ebb0da3c5d3ded0a8746cf7b87e23b167b536116aa9a0402d7e7cc2ee401a92 WHIRLPOOL d453aaf24c6e2c8d9c5c76f76acfdaf8b511719fe25a4748c1681ff1d9e8a64b88249270e94900336cd110e1d7ee53a5e6d778a701967b7addb3f80c8335e5b2
|
||||
DIST openssl-1.0.2-beta1.tar.gz 4901640 SHA256 4dbb1812d8129c9f1d0444e8947666668844137a52b59722f3f847cff006cf9b SHA512 5e5c36fd05710052d3fc791d0bb52494533e817af5cb9f9d3604e67bbc459f22a4e64a901b38f14f3f949069bc6a9f79dee7ecdce7a362f8285ce9a9ea9e22a6 WHIRLPOOL d6a4b38c256aed2cad98d7e978a2ca61b215bdc1b7f5fdaf5759ebb211da3988f3bc403410f6ac68ca801d2b20b459e4a0d916db7eb6126e87b84d93d5433776
|
||||
DIST openssl-1.0.2_beta1-patches-02.tar.xz 10348 SHA256 a96887bf2de2bc87c280a98d90bedaac0e12935abfb027b1924a2ac992dc3d31 SHA512 ee09ab3d2c68e265357225a5575d68e3e41bbbf355fd3c81c69382feb6fb4ff834e436242744955f195002f561448c4d93d04da73cfe9e6e3c47aa0d5671553b WHIRLPOOL c318fed3571f29c6a1afc28f210db62c5f53d04311e3b563eda230bb53ef9fcfb7dc488450bc91e9148531ffd7e9a66f2393ba3603d6195046bb0d34996c6549
|
||||
DIST openssl-c_rehash.sh.1.7 4167 SHA256 4999ee79892f52bd6a4a7baba9fac62262454d573bbffd72685d3aae9e48cee0 SHA512 55e8c2e827750a4f375cb83c86bfe2d166c01ffa5d7e9b16657b72b38b747c8985dd2c98f854c911dfbbee2ff3e92aff39fdf089d979b2e3534b7685ee8b80da WHIRLPOOL c88f06a3b8651f76b6289552cccceb64e13f6697c5f0ce3ff114c781ce1c218912b8ee308af9d087cd76a9600fdacda1953175bff07d7d3eb21b0c0b7f4f1ce1
|
||||
|
@ -0,0 +1,675 @@
|
||||
http://rt.openssl.org/Ticket/Display.html?id=2051
|
||||
user/pass: guest/guest
|
||||
|
||||
Forward ported from openssl-1.0.1e-ipv6.patch
|
||||
|
||||
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
|
||||
|
||||
--- openssl-1.0.1h/apps/s_apps.h
|
||||
+++ openssl-1.0.1h/apps/s_apps.h
|
||||
@@ -148,7 +148,7 @@
|
||||
#define PORT_STR "4433"
|
||||
#define PROTOCOL "tcp"
|
||||
|
||||
-int do_server(int port, int type, int *ret, int (*cb) (char *hostname, int s, unsigned char *context), unsigned char *context);
|
||||
+int do_server(int port, int type, int *ret, int (*cb) (char *hostname, int s, unsigned char *context), unsigned char *context, int use_ipv4, int use_ipv6);
|
||||
#ifdef HEADER_X509_H
|
||||
int MS_CALLBACK verify_callback(int ok, X509_STORE_CTX *ctx);
|
||||
#endif
|
||||
@@ -156,7 +156,7 @@
|
||||
int set_cert_stuff(SSL_CTX *ctx, char *cert_file, char *key_file);
|
||||
int set_cert_key_stuff(SSL_CTX *ctx, X509 *cert, EVP_PKEY *key);
|
||||
#endif
|
||||
-int init_client(int *sock, char *server, int port, int type);
|
||||
+int init_client(int *sock, char *server, int port, int type, int use_ipv4, int use_ipv6);
|
||||
int should_retry(int i);
|
||||
int extract_port(char *str, short *port_ptr);
|
||||
int extract_host_port(char *str,char **host_ptr,unsigned char *ip,short *p);
|
||||
--- openssl-1.0.1h/apps/s_client.c
|
||||
+++ openssl-1.0.1h/apps/s_client.c
|
||||
@@ -285,6 +285,10 @@
|
||||
{
|
||||
BIO_printf(bio_err,"usage: s_client args\n");
|
||||
BIO_printf(bio_err,"\n");
|
||||
+ BIO_printf(bio_err," -4 - use IPv4 only\n");
|
||||
+#if OPENSSL_USE_IPV6
|
||||
+ BIO_printf(bio_err," -6 - use IPv6 only\n");
|
||||
+#endif
|
||||
BIO_printf(bio_err," -host host - use -connect instead\n");
|
||||
BIO_printf(bio_err," -port port - use -connect instead\n");
|
||||
BIO_printf(bio_err," -connect host:port - who to connect to (default is %s:%s)\n",SSL_HOST_NAME,PORT_STR);
|
||||
@@ -568,6 +572,7 @@
|
||||
int sbuf_len,sbuf_off;
|
||||
fd_set readfds,writefds;
|
||||
short port=PORT;
|
||||
+ int use_ipv4, use_ipv6;
|
||||
int full_log=1;
|
||||
char *host=SSL_HOST_NAME;
|
||||
char *cert_file=NULL,*key_file=NULL;
|
||||
@@ -613,7 +618,11 @@
|
||||
#endif
|
||||
char *sess_in = NULL;
|
||||
char *sess_out = NULL;
|
||||
- struct sockaddr peer;
|
||||
+#if OPENSSL_USE_IPV6
|
||||
+ struct sockaddr_storage peer;
|
||||
+#else
|
||||
+ struct sockaddr_in peer;
|
||||
+#endif
|
||||
int peerlen = sizeof(peer);
|
||||
int enable_timeouts = 0 ;
|
||||
long socket_mtu = 0;
|
||||
@@ -628,6 +637,12 @@
|
||||
|
||||
meth=SSLv23_client_method();
|
||||
|
||||
+ use_ipv4 = 1;
|
||||
+#if OPENSSL_USE_IPV6
|
||||
+ use_ipv6 = 1;
|
||||
+#else
|
||||
+ use_ipv6 = 0;
|
||||
+#endif
|
||||
apps_startup();
|
||||
c_Pause=0;
|
||||
c_quiet=0;
|
||||
@@ -949,6 +964,18 @@
|
||||
jpake_secret = *++argv;
|
||||
}
|
||||
#endif
|
||||
+ else if (strcmp(*argv,"-4") == 0)
|
||||
+ {
|
||||
+ use_ipv4 = 1;
|
||||
+ use_ipv6 = 0;
|
||||
+ }
|
||||
+#if OPENSSL_USE_IPV6
|
||||
+ else if (strcmp(*argv,"-6") == 0)
|
||||
+ {
|
||||
+ use_ipv4 = 0;
|
||||
+ use_ipv6 = 1;
|
||||
+ }
|
||||
+#endif
|
||||
#ifndef OPENSSL_NO_SRTP
|
||||
else if (strcmp(*argv,"-use_srtp") == 0)
|
||||
{
|
||||
@@ -1260,7 +1287,7 @@
|
||||
|
||||
re_start:
|
||||
|
||||
- if (init_client(&s,host,port,socket_type) == 0)
|
||||
+ if (init_client(&s,host,port,socket_type,use_ipv4,use_ipv6) == 0)
|
||||
{
|
||||
BIO_printf(bio_err,"connect:errno=%d\n",get_last_socket_error());
|
||||
SHUTDOWN(s);
|
||||
@@ -1286,7 +1313,7 @@
|
||||
{
|
||||
|
||||
sbio=BIO_new_dgram(s,BIO_NOCLOSE);
|
||||
- if (getsockname(s, &peer, (void *)&peerlen) < 0)
|
||||
+ if (getsockname(s, (struct sockaddr *)&peer, (void *)&peerlen) < 0)
|
||||
{
|
||||
BIO_printf(bio_err, "getsockname:errno=%d\n",
|
||||
get_last_socket_error());
|
||||
--- openssl-1.0.1h/apps/s_server.c
|
||||
+++ openssl-1.0.1h/apps/s_server.c
|
||||
@@ -560,6 +560,10 @@
|
||||
BIO_printf(bio_err," -use_srtp profiles - Offer SRTP key management with a colon-separated profile list\n");
|
||||
# endif
|
||||
#endif
|
||||
+ BIO_printf(bio_err," -4 - use IPv4 only\n");
|
||||
+#if OPENSSL_USE_IPV6
|
||||
+ BIO_printf(bio_err," -6 - use IPv6 only\n");
|
||||
+#endif
|
||||
BIO_printf(bio_err," -keymatexport label - Export keying material using label\n");
|
||||
BIO_printf(bio_err," -keymatexportlen len - Export len bytes of keying material (default 20)\n");
|
||||
}
|
||||
@@ -947,6 +951,7 @@
|
||||
int state=0;
|
||||
const SSL_METHOD *meth=NULL;
|
||||
int socket_type=SOCK_STREAM;
|
||||
+ int use_ipv4, use_ipv6;
|
||||
ENGINE *e=NULL;
|
||||
char *inrand=NULL;
|
||||
int s_cert_format = FORMAT_PEM, s_key_format = FORMAT_PEM;
|
||||
@@ -975,6 +980,12 @@
|
||||
#endif
|
||||
meth=SSLv23_server_method();
|
||||
|
||||
+ use_ipv4 = 1;
|
||||
+#if OPENSSL_USE_IPV6
|
||||
+ use_ipv6 = 1;
|
||||
+#else
|
||||
+ use_ipv6 = 0;
|
||||
+#endif
|
||||
local_argc=argc;
|
||||
local_argv=argv;
|
||||
|
||||
@@ -1323,6 +1334,18 @@
|
||||
jpake_secret = *(++argv);
|
||||
}
|
||||
#endif
|
||||
+ else if (strcmp(*argv,"-4") == 0)
|
||||
+ {
|
||||
+ use_ipv4 = 1;
|
||||
+ use_ipv6 = 0;
|
||||
+ }
|
||||
+#if OPENSSL_USE_IPV6
|
||||
+ else if (strcmp(*argv,"-6") == 0)
|
||||
+ {
|
||||
+ use_ipv4 = 0;
|
||||
+ use_ipv6 = 1;
|
||||
+ }
|
||||
+#endif
|
||||
#ifndef OPENSSL_NO_SRTP
|
||||
else if (strcmp(*argv,"-use_srtp") == 0)
|
||||
{
|
||||
@@ -1881,9 +1904,9 @@
|
||||
BIO_printf(bio_s_out,"ACCEPT\n");
|
||||
(void)BIO_flush(bio_s_out);
|
||||
if (www)
|
||||
- do_server(port,socket_type,&accept_socket,www_body, context);
|
||||
+ do_server(port,socket_type,&accept_socket,www_body, context, use_ipv4, use_ipv6);
|
||||
else
|
||||
- do_server(port,socket_type,&accept_socket,sv_body, context);
|
||||
+ do_server(port,socket_type,&accept_socket,sv_body, context, use_ipv4, use_ipv6);
|
||||
print_stats(bio_s_out,ctx);
|
||||
ret=0;
|
||||
end:
|
||||
--- openssl-1.0.1h/apps/s_socket.c
|
||||
+++ openssl-1.0.1h/apps/s_socket.c
|
||||
@@ -97,16 +97,16 @@
|
||||
#include "netdb.h"
|
||||
#endif
|
||||
|
||||
-static struct hostent *GetHostByName(char *name);
|
||||
+static struct hostent *GetHostByName(char *name, int domain);
|
||||
#if defined(OPENSSL_SYS_WINDOWS) || (defined(OPENSSL_SYS_NETWARE) && !defined(NETWARE_BSDSOCK))
|
||||
static void ssl_sock_cleanup(void);
|
||||
#endif
|
||||
static int ssl_sock_init(void);
|
||||
-static int init_client_ip(int *sock,unsigned char ip[4], int port, int type);
|
||||
-static int init_server(int *sock, int port, int type);
|
||||
-static int init_server_long(int *sock, int port,char *ip, int type);
|
||||
+static int init_client_ip(int *sock,unsigned char *ip, int port, int type, int domain);
|
||||
+static int init_server(int *sock, int port, int type, int use_ipv4, int use_ipv6);
|
||||
+static int init_server_long(int *sock, int port,char *ip, int type, int use_ipv4, int use_ipv6);
|
||||
static int do_accept(int acc_sock, int *sock, char **host);
|
||||
-static int host_ip(char *str, unsigned char ip[4]);
|
||||
+static int host_ip(char *str, unsigned char *ip, int domain);
|
||||
|
||||
#ifdef OPENSSL_SYS_WIN16
|
||||
#define SOCKET_PROTOCOL 0 /* more microsoft stupidity */
|
||||
@@ -234,38 +234,68 @@
|
||||
return(1);
|
||||
}
|
||||
|
||||
-int init_client(int *sock, char *host, int port, int type)
|
||||
+int init_client(int *sock, char *host, int port, int type, int use_ipv4, int use_ipv6)
|
||||
{
|
||||
+#if OPENSSL_USE_IPV6
|
||||
+ unsigned char ip[16];
|
||||
+#else
|
||||
unsigned char ip[4];
|
||||
+#endif
|
||||
|
||||
- memset(ip, '\0', sizeof ip);
|
||||
- if (!host_ip(host,&(ip[0])))
|
||||
- return 0;
|
||||
- return init_client_ip(sock,ip,port,type);
|
||||
- }
|
||||
-
|
||||
-static int init_client_ip(int *sock, unsigned char ip[4], int port, int type)
|
||||
- {
|
||||
- unsigned long addr;
|
||||
+ if (use_ipv4)
|
||||
+ if (host_ip(host,ip,AF_INET))
|
||||
+ return(init_client_ip(sock,ip,port,type,AF_INET));
|
||||
+#if OPENSSL_USE_IPV6
|
||||
+ if (use_ipv6)
|
||||
+ if (host_ip(host,ip,AF_INET6))
|
||||
+ return(init_client_ip(sock,ip,port,type,AF_INET6));
|
||||
+#endif
|
||||
+ return 0;
|
||||
+ }
|
||||
+
|
||||
+static int init_client_ip(int *sock, unsigned char ip[4], int port, int type, int domain)
|
||||
+ {
|
||||
+#if OPENSSL_USE_IPV6
|
||||
+ struct sockaddr_storage them;
|
||||
+ struct sockaddr_in *them_in = (struct sockaddr_in *)&them;
|
||||
+ struct sockaddr_in6 *them_in6 = (struct sockaddr_in6 *)&them;
|
||||
+#else
|
||||
struct sockaddr_in them;
|
||||
+ struct sockaddr_in *them_in = &them;
|
||||
+#endif
|
||||
+ socklen_t addr_len;
|
||||
int s,i;
|
||||
|
||||
if (!ssl_sock_init()) return(0);
|
||||
|
||||
memset((char *)&them,0,sizeof(them));
|
||||
- them.sin_family=AF_INET;
|
||||
- them.sin_port=htons((unsigned short)port);
|
||||
- addr=(unsigned long)
|
||||
- ((unsigned long)ip[0]<<24L)|
|
||||
- ((unsigned long)ip[1]<<16L)|
|
||||
- ((unsigned long)ip[2]<< 8L)|
|
||||
- ((unsigned long)ip[3]);
|
||||
- them.sin_addr.s_addr=htonl(addr);
|
||||
+ if (domain == AF_INET)
|
||||
+ {
|
||||
+ addr_len = (socklen_t)sizeof(struct sockaddr_in);
|
||||
+ them_in->sin_family=AF_INET;
|
||||
+ them_in->sin_port=htons((unsigned short)port);
|
||||
+#ifndef BIT_FIELD_LIMITS
|
||||
+ memcpy(&them_in->sin_addr.s_addr, ip, 4);
|
||||
+#else
|
||||
+ memcpy(&them_in->sin_addr, ip, 4);
|
||||
+#endif
|
||||
+ }
|
||||
+ else
|
||||
+#if OPENSSL_USE_IPV6
|
||||
+ {
|
||||
+ addr_len = (socklen_t)sizeof(struct sockaddr_in6);
|
||||
+ them_in6->sin6_family=AF_INET6;
|
||||
+ them_in6->sin6_port=htons((unsigned short)port);
|
||||
+ memcpy(&(them_in6->sin6_addr), ip, sizeof(struct in6_addr));
|
||||
+ }
|
||||
+#else
|
||||
+ return(0);
|
||||
+#endif
|
||||
|
||||
if (type == SOCK_STREAM)
|
||||
- s=socket(AF_INET,SOCK_STREAM,SOCKET_PROTOCOL);
|
||||
+ s=socket(domain,SOCK_STREAM,SOCKET_PROTOCOL);
|
||||
else /* ( type == SOCK_DGRAM) */
|
||||
- s=socket(AF_INET,SOCK_DGRAM,IPPROTO_UDP);
|
||||
+ s=socket(domain,SOCK_DGRAM,IPPROTO_UDP);
|
||||
|
||||
if (s == INVALID_SOCKET) { perror("socket"); return(0); }
|
||||
|
||||
@@ -277,29 +307,27 @@
|
||||
if (i < 0) { closesocket(s); perror("keepalive"); return(0); }
|
||||
}
|
||||
#endif
|
||||
-
|
||||
- if (connect(s,(struct sockaddr *)&them,sizeof(them)) == -1)
|
||||
+ if (connect(s,(struct sockaddr *)&them,addr_len) == -1)
|
||||
{ closesocket(s); perror("connect"); return(0); }
|
||||
*sock=s;
|
||||
return(1);
|
||||
}
|
||||
|
||||
-int do_server(int port, int type, int *ret, int (*cb)(char *hostname, int s, unsigned char *context), unsigned char *context)
|
||||
+int do_server(int port, int type, int *ret, int (*cb)(char *hostname, int s, unsigned char *context), unsigned char *context, int use_ipv4, int use_ipv6)
|
||||
{
|
||||
int sock;
|
||||
char *name = NULL;
|
||||
int accept_socket = 0;
|
||||
int i;
|
||||
|
||||
- if (!init_server(&accept_socket,port,type)) return(0);
|
||||
-
|
||||
+ if (!init_server(&accept_socket,port,type, use_ipv4, use_ipv6)) return(0);
|
||||
if (ret != NULL)
|
||||
{
|
||||
*ret=accept_socket;
|
||||
/* return(1);*/
|
||||
}
|
||||
- for (;;)
|
||||
- {
|
||||
+ for (;;)
|
||||
+ {
|
||||
if (type==SOCK_STREAM)
|
||||
{
|
||||
if (do_accept(accept_socket,&sock,&name) == 0)
|
||||
@@ -322,41 +350,88 @@
|
||||
}
|
||||
}
|
||||
|
||||
-static int init_server_long(int *sock, int port, char *ip, int type)
|
||||
+static int init_server_long(int *sock, int port, char *ip, int type, int use_ipv4, int use_ipv6)
|
||||
{
|
||||
int ret=0;
|
||||
+ int domain;
|
||||
+#if OPENSSL_USE_IPV6
|
||||
+ struct sockaddr_storage server;
|
||||
+ struct sockaddr_in *server_in = (struct sockaddr_in *)&server;
|
||||
+ struct sockaddr_in6 *server_in6 = (struct sockaddr_in6 *)&server;
|
||||
+#else
|
||||
struct sockaddr_in server;
|
||||
+ struct sockaddr_in *server_in = &server;
|
||||
+#endif
|
||||
+ socklen_t addr_len;
|
||||
int s= -1;
|
||||
|
||||
+ if (!use_ipv4 && !use_ipv6)
|
||||
+ goto err;
|
||||
+#if OPENSSL_USE_IPV6
|
||||
+ /* we are fine here */
|
||||
+#else
|
||||
+ if (use_ipv6)
|
||||
+ goto err;
|
||||
+#endif
|
||||
if (!ssl_sock_init()) return(0);
|
||||
|
||||
- memset((char *)&server,0,sizeof(server));
|
||||
- server.sin_family=AF_INET;
|
||||
- server.sin_port=htons((unsigned short)port);
|
||||
- if (ip == NULL)
|
||||
- server.sin_addr.s_addr=INADDR_ANY;
|
||||
- else
|
||||
-/* Added for T3E, address-of fails on bit field (beckman@acl.lanl.gov) */
|
||||
-#ifndef BIT_FIELD_LIMITS
|
||||
- memcpy(&server.sin_addr.s_addr,ip,4);
|
||||
+#if OPENSSL_USE_IPV6
|
||||
+ domain = use_ipv6 ? AF_INET6 : AF_INET;
|
||||
#else
|
||||
- memcpy(&server.sin_addr,ip,4);
|
||||
+ domain = AF_INET;
|
||||
#endif
|
||||
-
|
||||
- if (type == SOCK_STREAM)
|
||||
- s=socket(AF_INET,SOCK_STREAM,SOCKET_PROTOCOL);
|
||||
- else /* type == SOCK_DGRAM */
|
||||
- s=socket(AF_INET, SOCK_DGRAM,IPPROTO_UDP);
|
||||
+ if (type == SOCK_STREAM)
|
||||
+ s=socket(domain,SOCK_STREAM,SOCKET_PROTOCOL);
|
||||
+ else /* type == SOCK_DGRAM */
|
||||
+ s=socket(domain, SOCK_DGRAM,IPPROTO_UDP);
|
||||
|
||||
if (s == INVALID_SOCKET) goto err;
|
||||
#if defined SOL_SOCKET && defined SO_REUSEADDR
|
||||
+ {
|
||||
+ int j = 1;
|
||||
+ setsockopt(s, SOL_SOCKET, SO_REUSEADDR,
|
||||
+ (void *) &j, sizeof j);
|
||||
+ }
|
||||
+#endif
|
||||
+#if OPENSSL_USE_IPV6
|
||||
+ if ((use_ipv4 == 0) && (use_ipv6 == 1))
|
||||
+ {
|
||||
+ const int on = 1;
|
||||
+
|
||||
+ setsockopt(s, IPPROTO_IPV6, IPV6_V6ONLY,
|
||||
+ (const void *) &on, sizeof(int));
|
||||
+ }
|
||||
+#endif
|
||||
+ if (domain == AF_INET)
|
||||
+ {
|
||||
+ addr_len = (socklen_t)sizeof(struct sockaddr_in);
|
||||
+ memset(server_in, 0, sizeof(struct sockaddr_in));
|
||||
+ server_in->sin_family=AF_INET;
|
||||
+ server_in->sin_port = htons((unsigned short)port);
|
||||
+ if (ip == NULL)
|
||||
+ server_in->sin_addr.s_addr = htonl(INADDR_ANY);
|
||||
+ else
|
||||
+/* Added for T3E, address-of fails on bit field (beckman@acl.lanl.gov) */
|
||||
+#ifndef BIT_FIELD_LIMITS
|
||||
+ memcpy(&server_in->sin_addr.s_addr, ip, 4);
|
||||
+#else
|
||||
+ memcpy(&server_in->sin_addr, ip, 4);
|
||||
+#endif
|
||||
+ }
|
||||
+#if OPENSSL_USE_IPV6
|
||||
+ else
|
||||
{
|
||||
- int j = 1;
|
||||
- setsockopt(s, SOL_SOCKET, SO_REUSEADDR,
|
||||
- (void *) &j, sizeof j);
|
||||
+ addr_len = (socklen_t)sizeof(struct sockaddr_in6);
|
||||
+ memset(server_in6, 0, sizeof(struct sockaddr_in6));
|
||||
+ server_in6->sin6_family = AF_INET6;
|
||||
+ server_in6->sin6_port = htons((unsigned short)port);
|
||||
+ if (ip == NULL)
|
||||
+ server_in6->sin6_addr = in6addr_any;
|
||||
+ else
|
||||
+ memcpy(&server_in6->sin6_addr, ip, sizeof(struct in6_addr));
|
||||
}
|
||||
#endif
|
||||
- if (bind(s,(struct sockaddr *)&server,sizeof(server)) == -1)
|
||||
+ if (bind(s, (struct sockaddr *)&server, addr_len) == -1)
|
||||
{
|
||||
#ifndef OPENSSL_SYS_WINDOWS
|
||||
perror("bind");
|
||||
@@ -375,16 +450,23 @@
|
||||
return(ret);
|
||||
}
|
||||
|
||||
-static int init_server(int *sock, int port, int type)
|
||||
+static int init_server(int *sock, int port, int type, int use_ipv4, int use_ipv6)
|
||||
{
|
||||
- return(init_server_long(sock, port, NULL, type));
|
||||
+ return(init_server_long(sock, port, NULL, type, use_ipv4, use_ipv6));
|
||||
}
|
||||
|
||||
static int do_accept(int acc_sock, int *sock, char **host)
|
||||
{
|
||||
int ret;
|
||||
struct hostent *h1,*h2;
|
||||
- static struct sockaddr_in from;
|
||||
+#if OPENSSL_USE_IPV6
|
||||
+ struct sockaddr_storage from;
|
||||
+ struct sockaddr_in *from_in = (struct sockaddr_in *)&from;
|
||||
+ struct sockaddr_in6 *from_in6 = (struct sockaddr_in6 *)&from;
|
||||
+#else
|
||||
+ struct sockaddr_in from;
|
||||
+ struct sockaddr_in *from_in = &from;
|
||||
+#endif
|
||||
int len;
|
||||
/* struct linger ling; */
|
||||
|
||||
@@ -431,13 +513,23 @@
|
||||
*/
|
||||
|
||||
if (host == NULL) goto end;
|
||||
+#if OPENSSL_USE_IPV6
|
||||
+ if (from.ss_family == AF_INET)
|
||||
+#else
|
||||
+ if (from.sin_family == AF_INET)
|
||||
+#endif
|
||||
#ifndef BIT_FIELD_LIMITS
|
||||
- /* I should use WSAAsyncGetHostByName() under windows */
|
||||
- h1=gethostbyaddr((char *)&from.sin_addr.s_addr,
|
||||
- sizeof(from.sin_addr.s_addr),AF_INET);
|
||||
+ /* I should use WSAAsyncGetHostByName() under windows */
|
||||
+ h1=gethostbyaddr((char *)&from_in->sin_addr.s_addr,
|
||||
+ sizeof(from_in->sin_addr.s_addr), AF_INET);
|
||||
#else
|
||||
- h1=gethostbyaddr((char *)&from.sin_addr,
|
||||
- sizeof(struct in_addr),AF_INET);
|
||||
+ h1=gethostbyaddr((char *)&from_in->sin_addr,
|
||||
+ sizeof(struct in_addr), AF_INET);
|
||||
+#endif
|
||||
+#if OPENSSL_USE_IPV6
|
||||
+ else
|
||||
+ h1=gethostbyaddr((char *)&from_in6->sin6_addr,
|
||||
+ sizeof(struct in6_addr), AF_INET6);
|
||||
#endif
|
||||
if (h1 == NULL)
|
||||
{
|
||||
@@ -455,16 +547,25 @@
|
||||
}
|
||||
BUF_strlcpy(*host,h1->h_name,strlen(h1->h_name)+1);
|
||||
|
||||
- h2=GetHostByName(*host);
|
||||
+#if OPENSSL_USE_IPV6
|
||||
+ h2=GetHostByName(*host, from.ss_family);
|
||||
+#else
|
||||
+ h2=GetHostByName(*host, from.sin_family);
|
||||
+#endif
|
||||
+
|
||||
if (h2 == NULL)
|
||||
{
|
||||
BIO_printf(bio_err,"gethostbyname failure\n");
|
||||
closesocket(ret);
|
||||
return(0);
|
||||
}
|
||||
- if (h2->h_addrtype != AF_INET)
|
||||
+#if OPENSSL_USE_IPV6
|
||||
+ if (h2->h_addrtype != from.ss_family)
|
||||
+#else
|
||||
+ if (h2->h_addrtype != from.sin_family)
|
||||
+#endif
|
||||
{
|
||||
- BIO_printf(bio_err,"gethostbyname addr is not AF_INET\n");
|
||||
+ BIO_printf(bio_err,"gethostbyname addr address is not correct\n");
|
||||
closesocket(ret);
|
||||
return(0);
|
||||
}
|
||||
@@ -480,7 +581,7 @@
|
||||
char *h,*p;
|
||||
|
||||
h=str;
|
||||
- p=strchr(str,':');
|
||||
+ p=strrchr(str,':');
|
||||
if (p == NULL)
|
||||
{
|
||||
BIO_printf(bio_err,"no port defined\n");
|
||||
@@ -488,7 +589,7 @@
|
||||
}
|
||||
*(p++)='\0';
|
||||
|
||||
- if ((ip != NULL) && !host_ip(str,ip))
|
||||
+ if ((ip != NULL) && !host_ip(str,ip,AF_INET))
|
||||
goto err;
|
||||
if (host_ptr != NULL) *host_ptr=h;
|
||||
|
||||
@@ -499,48 +600,58 @@
|
||||
return(0);
|
||||
}
|
||||
|
||||
-static int host_ip(char *str, unsigned char ip[4])
|
||||
+static int host_ip(char *str, unsigned char *ip, int domain)
|
||||
{
|
||||
- unsigned int in[4];
|
||||
+ unsigned int in[4];
|
||||
+ unsigned long l;
|
||||
int i;
|
||||
|
||||
- if (sscanf(str,"%u.%u.%u.%u",&(in[0]),&(in[1]),&(in[2]),&(in[3])) == 4)
|
||||
+ if ((domain == AF_INET) &&
|
||||
+ (sscanf(str,"%u.%u.%u.%u",&(in[0]),&(in[1]),&(in[2]),&(in[3])) == 4))
|
||||
{
|
||||
+
|
||||
for (i=0; i<4; i++)
|
||||
if (in[i] > 255)
|
||||
{
|
||||
BIO_printf(bio_err,"invalid IP address\n");
|
||||
goto err;
|
||||
}
|
||||
- ip[0]=in[0];
|
||||
- ip[1]=in[1];
|
||||
- ip[2]=in[2];
|
||||
- ip[3]=in[3];
|
||||
- }
|
||||
+ l=htonl((in[0]<<24L)|(in[1]<<16L)|(in[2]<<8L)|in[3]);
|
||||
+ memcpy(ip, &l, 4);
|
||||
+ return 1;
|
||||
+ }
|
||||
+#if OPENSSL_USE_IPV6
|
||||
+ else if ((domain == AF_INET6) &&
|
||||
+ (inet_pton(AF_INET6, str, ip) == 1))
|
||||
+ return 1;
|
||||
+#endif
|
||||
else
|
||||
{ /* do a gethostbyname */
|
||||
struct hostent *he;
|
||||
|
||||
if (!ssl_sock_init()) return(0);
|
||||
|
||||
- he=GetHostByName(str);
|
||||
+ he=GetHostByName(str,domain);
|
||||
if (he == NULL)
|
||||
{
|
||||
BIO_printf(bio_err,"gethostbyname failure\n");
|
||||
goto err;
|
||||
}
|
||||
/* cast to short because of win16 winsock definition */
|
||||
- if ((short)he->h_addrtype != AF_INET)
|
||||
+ if ((short)he->h_addrtype != domain)
|
||||
{
|
||||
- BIO_printf(bio_err,"gethostbyname addr is not AF_INET\n");
|
||||
+ BIO_printf(bio_err,"gethostbyname addr family is not correct\n");
|
||||
return(0);
|
||||
}
|
||||
- ip[0]=he->h_addr_list[0][0];
|
||||
- ip[1]=he->h_addr_list[0][1];
|
||||
- ip[2]=he->h_addr_list[0][2];
|
||||
- ip[3]=he->h_addr_list[0][3];
|
||||
+ if (domain == AF_INET)
|
||||
+ memset(ip, 0, 4);
|
||||
+#if OPENSSL_USE_IPV6
|
||||
+ else
|
||||
+ memset(ip, 0, 16);
|
||||
+#endif
|
||||
+ memcpy(ip, he->h_addr_list[0], he->h_length);
|
||||
+ return 1;
|
||||
}
|
||||
- return(1);
|
||||
err:
|
||||
return(0);
|
||||
}
|
||||
@@ -577,7 +688,7 @@
|
||||
static unsigned long ghbn_hits=0L;
|
||||
static unsigned long ghbn_miss=0L;
|
||||
|
||||
-static struct hostent *GetHostByName(char *name)
|
||||
+static struct hostent *GetHostByName(char *name, int domain)
|
||||
{
|
||||
struct hostent *ret;
|
||||
int i,lowi=0;
|
||||
@@ -592,14 +703,20 @@
|
||||
}
|
||||
if (ghbn_cache[i].order > 0)
|
||||
{
|
||||
- if (strncmp(name,ghbn_cache[i].name,128) == 0)
|
||||
+ if ((strncmp(name,ghbn_cache[i].name,128) == 0) &&
|
||||
+ (ghbn_cache[i].ent.h_addrtype == domain))
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (i == GHBN_NUM) /* no hit*/
|
||||
{
|
||||
ghbn_miss++;
|
||||
- ret=gethostbyname(name);
|
||||
+ if (domain == AF_INET)
|
||||
+ ret=gethostbyname(name);
|
||||
+#if OPENSSL_USE_IPV6
|
||||
+ else
|
||||
+ ret=gethostbyname2(name, AF_INET6);
|
||||
+#endif
|
||||
if (ret == NULL) return(NULL);
|
||||
/* else add to cache */
|
||||
if(strlen(name) < sizeof ghbn_cache[0].name)
|
||||
--- openssl-1.0.1h/apps/s_socket.c.rej
|
||||
+++ openssl-1.0.1h/apps/s_socket.c.rej
|
||||
@@ -0,0 +1,29 @@
|
||||
+--- apps/s_socket.c 2 Dec 2011 14:39:40 -0000 1.43.2.3.2.2
|
||||
++++ apps/s_socket.c 28 Dec 2011 00:28:14 -0000
|
||||
+@@ -546,15 +646,23 @@
|
||||
+ }
|
||||
+ BUF_strlcpy(*host,h1->h_name,strlen(h1->h_name)+1);
|
||||
+
|
||||
+- h2=GetHostByName(*host);
|
||||
++#if OPENSSL_USE_IPV6
|
||||
++ h2=GetHostByName(*host, from.ss_family);
|
||||
++#else
|
||||
++ h2=GetHostByName(*host, from.sin_family);
|
||||
++#endif
|
||||
+ if (h2 == NULL)
|
||||
+ {
|
||||
+ BIO_printf(bio_err,"gethostbyname failure\n");
|
||||
+ return(0);
|
||||
+ }
|
||||
+- if (h2->h_addrtype != AF_INET)
|
||||
++#if OPENSSL_USE_IPV6
|
||||
++ if (h2->h_addrtype != from.ss_family)
|
||||
++#else
|
||||
++ if (h2->h_addrtype != from.sin_family)
|
||||
++#endif
|
||||
+ {
|
||||
+- BIO_printf(bio_err,"gethostbyname addr is not AF_INET\n");
|
||||
++ BIO_printf(bio_err,"gethostbyname addr address is not correct\n");
|
||||
+ return(0);
|
||||
+ }
|
||||
+ }
|
@ -0,0 +1,213 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-1.0.0m.ebuild,v 1.1 2014/06/05 12:53:23 polynomial-c Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs multilib
|
||||
|
||||
REV="1.7"
|
||||
DESCRIPTION="full-strength general purpose cryptography library (including SSL v2/v3 and TLS v1)"
|
||||
HOMEPAGE="http://www.openssl.org/"
|
||||
SRC_URI="mirror://openssl/source/${P}.tar.gz
|
||||
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/${PN}/${PN}-c_rehash.sh?rev=${REV} -> ${PN}-c_rehash.sh.${REV}"
|
||||
|
||||
LICENSE="openssl"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="bindist gmp kerberos rfc3779 sse2 static-libs test zlib"
|
||||
|
||||
# Have the sub-libs in RDEPEND with [static-libs] since, logically,
|
||||
# our libssl.a depends on libz.a/etc... at runtime.
|
||||
LIB_DEPEND="gmp? ( dev-libs/gmp[static-libs(+)] )
|
||||
zlib? ( sys-libs/zlib[static-libs(+)] )
|
||||
kerberos? ( app-crypt/mit-krb5 )"
|
||||
RDEPEND="static-libs? ( ${LIB_DEPEND} )
|
||||
!static-libs? ( ${LIB_DEPEND//\[static-libs(+)]} )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-apps/diffutils
|
||||
>=dev-lang/perl-5
|
||||
test? ( sys-devel/bc )"
|
||||
PDEPEND="app-misc/ca-certificates"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${P}.tar.gz
|
||||
SSL_CNF_DIR="/etc/ssl"
|
||||
sed \
|
||||
-e "/^DIR=/s:=.*:=${SSL_CNF_DIR}:" \
|
||||
"${DISTDIR}"/${PN}-c_rehash.sh.${REV} \
|
||||
> "${WORKDIR}"/c_rehash || die #416717
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Make sure we only ever touch Makefile.org and avoid patching a file
|
||||
# that gets blown away anyways by the Configure script in src_configure
|
||||
rm -f Makefile
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-1.0.0a-ldflags.patch #327421
|
||||
#epatch "${FILESDIR}"/${PN}-1.0.0d-fbsd-amd64.patch #363089
|
||||
epatch "${FILESDIR}"/${PN}-1.0.0d-windres.patch #373743
|
||||
epatch "${FILESDIR}"/${PN}-1.0.0h-pkg-config.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.0.0e-parallel-build.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.0.0e-x32.patch
|
||||
epatch_user #332661
|
||||
|
||||
# disable fips in the build
|
||||
# make sure the man pages are suffixed #302165
|
||||
# don't bother building man pages if they're disabled
|
||||
sed -i \
|
||||
-e '/DIRS/s: fips : :g' \
|
||||
-e '/^MANSUFFIX/s:=.*:=ssl:' \
|
||||
-e '/^MAKEDEPPROG/s:=.*:=$(CC):' \
|
||||
-e $(has noman FEATURES \
|
||||
&& echo '/^install:/s:install_docs::' \
|
||||
|| echo '/^MANDIR=/s:=.*:=/usr/share/man:') \
|
||||
Makefile.org \
|
||||
|| die
|
||||
# show the actual commands in the log
|
||||
sed -i '/^SET_X/s:=.*:=set -x:' Makefile.shared
|
||||
|
||||
# allow openssl to be cross-compiled
|
||||
cp "${FILESDIR}"/gentoo.config-1.0.0 gentoo.config || die
|
||||
chmod a+rx gentoo.config
|
||||
|
||||
append-flags -fno-strict-aliasing
|
||||
append-flags $(test-flags-CC -Wa,--noexecstack)
|
||||
|
||||
sed -i '1s,^:$,#!/usr/bin/perl,' Configure #141906
|
||||
./config --test-sanity || die "I AM NOT SANE"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
unset APPS #197996
|
||||
unset SCRIPTS #312551
|
||||
unset CROSS_COMPILE #311473
|
||||
|
||||
tc-export CC AR RANLIB RC
|
||||
|
||||
# Clean out patent-or-otherwise-encumbered code
|
||||
# Camellia: Royalty Free http://en.wikipedia.org/wiki/Camellia_(cipher)
|
||||
# IDEA: Expired http://en.wikipedia.org/wiki/International_Data_Encryption_Algorithm
|
||||
# EC: ????????? ??/??/2015 http://en.wikipedia.org/wiki/Elliptic_Curve_Cryptography
|
||||
# MDC2: Expired http://en.wikipedia.org/wiki/MDC-2
|
||||
# RC5: 5,724,428 03/03/2015 http://en.wikipedia.org/wiki/RC5
|
||||
|
||||
use_ssl() { usex $1 "enable-${2:-$1}" "no-${2:-$1}" " ${*:3}" ; }
|
||||
echoit() { echo "$@" ; "$@" ; }
|
||||
|
||||
local krb5=$(has_version app-crypt/mit-krb5 && echo "MIT" || echo "Heimdal")
|
||||
|
||||
local sslout=$(./gentoo.config)
|
||||
einfo "Use configuration ${sslout:-(openssl knows best)}"
|
||||
local config="Configure"
|
||||
[[ -z ${sslout} ]] && config="config"
|
||||
echoit \
|
||||
./${config} \
|
||||
${sslout} \
|
||||
$(use sse2 || echo "no-sse2") \
|
||||
enable-camellia \
|
||||
$(use_ssl !bindist ec) \
|
||||
enable-idea \
|
||||
enable-mdc2 \
|
||||
$(use_ssl !bindist rc5) \
|
||||
enable-tlsext \
|
||||
$(use_ssl gmp gmp -lgmp) \
|
||||
$(use_ssl kerberos krb5 --with-krb5-flavor=${krb5}) \
|
||||
$(use_ssl rfc3779) \
|
||||
$(use_ssl zlib) \
|
||||
--prefix=/usr \
|
||||
--openssldir=${SSL_CNF_DIR} \
|
||||
--libdir=$(get_libdir) \
|
||||
shared threads \
|
||||
|| die
|
||||
|
||||
# Clean out hardcoded flags that openssl uses
|
||||
local CFLAG=$(grep ^CFLAG= Makefile | LC_ALL=C sed \
|
||||
-e 's:^CFLAG=::' \
|
||||
-e 's:-fomit-frame-pointer ::g' \
|
||||
-e 's:-O[0-9] ::g' \
|
||||
-e 's:-march=[-a-z0-9]* ::g' \
|
||||
-e 's:-mcpu=[-a-z0-9]* ::g' \
|
||||
-e 's:-m[a-z0-9]* ::g' \
|
||||
)
|
||||
sed -i \
|
||||
-e "/^CFLAG/s|=.*|=${CFLAG} ${CFLAGS}|" \
|
||||
-e "/^SHARED_LDFLAGS=/s|$| ${LDFLAGS}|" \
|
||||
Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# depend is needed to use $confopts; it also doesn't matter
|
||||
# that it's -j1 as the code itself serializes subdirs
|
||||
emake -j1 depend || die
|
||||
emake all || die
|
||||
# rehash is needed to prep the certs/ dir; do this
|
||||
# separately to avoid parallel build issues.
|
||||
emake rehash || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 test || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_PREFIX="${D}" install || die
|
||||
dobin "${WORKDIR}"/c_rehash || die #333117
|
||||
dodoc CHANGES* FAQ NEWS README doc/*.txt doc/c-indentation.el
|
||||
dohtml -r doc/*
|
||||
use rfc3779 && dodoc engines/ccgost/README.gost
|
||||
|
||||
# This is crappy in that the static archives are still built even
|
||||
# when USE=static-libs. But this is due to a failing in the openssl
|
||||
# build system: the static archives are built as PIC all the time.
|
||||
# Only way around this would be to manually configure+compile openssl
|
||||
# twice; once with shared lib support enabled and once without.
|
||||
use static-libs || rm -f "${D}"/usr/lib*/lib*.a
|
||||
|
||||
# create the certs directory
|
||||
dodir ${SSL_CNF_DIR}/certs
|
||||
cp -RP certs/* "${D}"${SSL_CNF_DIR}/certs/ || die
|
||||
rm -r "${D}"${SSL_CNF_DIR}/certs/{demo,expired}
|
||||
|
||||
# Namespace openssl programs to prevent conflicts with other man pages
|
||||
cd "${D}"/usr/share/man
|
||||
local m d s
|
||||
for m in $(find . -type f | xargs grep -L '#include') ; do
|
||||
d=${m%/*} ; d=${d#./} ; m=${m##*/}
|
||||
[[ ${m} == openssl.1* ]] && continue
|
||||
[[ -n $(find -L ${d} -type l) ]] && die "erp, broken links already!"
|
||||
mv ${d}/{,ssl-}${m}
|
||||
# fix up references to renamed man pages
|
||||
sed -i '/^[.]SH "SEE ALSO"/,/^[.]/s:\([^(, ]*(1)\):ssl-\1:g' ${d}/ssl-${m}
|
||||
ln -s ssl-${m} ${d}/openssl-${m}
|
||||
# locate any symlinks that point to this man page ... we assume
|
||||
# that any broken links are due to the above renaming
|
||||
for s in $(find -L ${d} -type l) ; do
|
||||
s=${s##*/}
|
||||
rm -f ${d}/${s}
|
||||
ln -s ssl-${m} ${d}/ssl-${s}
|
||||
ln -s ssl-${s} ${d}/openssl-${s}
|
||||
done
|
||||
done
|
||||
[[ -n $(find -L ${d} -type l) ]] && die "broken manpage links found :("
|
||||
|
||||
dodir /etc/sandbox.d #254521
|
||||
echo 'SANDBOX_PREDICT="/dev/crypto"' > "${D}"/etc/sandbox.d/10openssl
|
||||
|
||||
diropts -m0700
|
||||
keepdir ${SSL_CNF_DIR}/private
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
has_version ${CATEGORY}/${PN}:0.9.8 && return 0
|
||||
preserve_old_lib /usr/$(get_libdir)/lib{crypto,ssl}.so.0.9.8
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ebegin "Running 'c_rehash ${ROOT%/}${SSL_CNF_DIR}/certs/' to rebuild hashes #333069"
|
||||
c_rehash "${ROOT%/}${SSL_CNF_DIR}/certs" >/dev/null
|
||||
eend $?
|
||||
|
||||
has_version ${CATEGORY}/${PN}:0.9.8 && return 0
|
||||
preserve_old_lib_notify /usr/$(get_libdir)/lib{crypto,ssl}.so.0.9.8
|
||||
}
|
@ -0,0 +1,238 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-1.0.1h-r1.ebuild,v 1.7 2014/06/06 05:13:00 vapier Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs multilib
|
||||
|
||||
REV="1.7"
|
||||
DESCRIPTION="full-strength general purpose cryptography library (including SSL and TLS)"
|
||||
HOMEPAGE="http://www.openssl.org/"
|
||||
SRC_URI="mirror://openssl/source/${P}.tar.gz
|
||||
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/${PN}/${PN}-c_rehash.sh?rev=${REV} -> ${PN}-c_rehash.sh.${REV}"
|
||||
|
||||
LICENSE="openssl"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
|
||||
IUSE="bindist gmp kerberos rfc3779 sse2 static-libs test +tls-heartbeat vanilla zlib"
|
||||
|
||||
# Have the sub-libs in RDEPEND with [static-libs] since, logically,
|
||||
# our libssl.a depends on libz.a/etc... at runtime.
|
||||
LIB_DEPEND="gmp? ( dev-libs/gmp[static-libs(+)] )
|
||||
zlib? ( sys-libs/zlib[static-libs(+)] )
|
||||
kerberos? ( app-crypt/mit-krb5 )"
|
||||
# The blocks are temporary just to make sure people upgrade to a
|
||||
# version that lack runtime version checking. We'll drop them in
|
||||
# the future.
|
||||
RDEPEND="static-libs? ( ${LIB_DEPEND} )
|
||||
!static-libs? ( ${LIB_DEPEND//\[static-libs(+)]} )
|
||||
!<net-misc/openssh-5.9_p1-r4
|
||||
!<net-libs/neon-0.29.6-r1"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-apps/diffutils
|
||||
>=dev-lang/perl-5
|
||||
test? ( sys-devel/bc )"
|
||||
PDEPEND="app-misc/ca-certificates"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${P}.tar.gz
|
||||
SSL_CNF_DIR="/etc/ssl"
|
||||
sed \
|
||||
-e "/^DIR=/s:=.*:=${EPREFIX}${SSL_CNF_DIR}:" \
|
||||
-e "s:SSL_CMD=/usr:SSL_CMD=${EPREFIX}/usr:" \
|
||||
"${DISTDIR}"/${PN}-c_rehash.sh.${REV} \
|
||||
> "${WORKDIR}"/c_rehash || die #416717
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Make sure we only ever touch Makefile.org and avoid patching a file
|
||||
# that gets blown away anyways by the Configure script in src_configure
|
||||
rm -f Makefile
|
||||
|
||||
if ! use vanilla ; then
|
||||
epatch "${FILESDIR}"/${PN}-1.0.0a-ldflags.patch #327421
|
||||
epatch "${FILESDIR}"/${PN}-1.0.0d-windres.patch #373743
|
||||
epatch "${FILESDIR}"/${PN}-1.0.0h-pkg-config.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.0.1-parallel-build.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.0.1-x32.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.0.1h-ipv6.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.0.1e-s_client-verify.patch #472584
|
||||
epatch "${FILESDIR}"/${PN}-1.0.1f-revert-alpha-perl-generation.patch #499086
|
||||
epatch_user #332661
|
||||
fi
|
||||
|
||||
# disable fips in the build
|
||||
# make sure the man pages are suffixed #302165
|
||||
# don't bother building man pages if they're disabled
|
||||
sed -i \
|
||||
-e '/DIRS/s: fips : :g' \
|
||||
-e '/^MANSUFFIX/s:=.*:=ssl:' \
|
||||
-e '/^MAKEDEPPROG/s:=.*:=$(CC):' \
|
||||
-e $(has noman FEATURES \
|
||||
&& echo '/^install:/s:install_docs::' \
|
||||
|| echo '/^MANDIR=/s:=.*:='${EPREFIX}'/usr/share/man:') \
|
||||
Makefile.org \
|
||||
|| die
|
||||
# show the actual commands in the log
|
||||
sed -i '/^SET_X/s:=.*:=set -x:' Makefile.shared
|
||||
|
||||
# allow openssl to be cross-compiled
|
||||
cp "${FILESDIR}"/gentoo.config-1.0.1 gentoo.config || die
|
||||
chmod a+rx gentoo.config
|
||||
|
||||
append-flags -fno-strict-aliasing
|
||||
append-flags $(test-flags-CC -Wa,--noexecstack)
|
||||
|
||||
sed -i '1s,^:$,#!'${EPREFIX}'/usr/bin/perl,' Configure #141906
|
||||
# The config script does stupid stuff to prompt the user. Kill it.
|
||||
sed -i '/stty -icanon min 0 time 50; read waste/d' config || die
|
||||
./config --test-sanity || die "I AM NOT SANE"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
unset APPS #197996
|
||||
unset SCRIPTS #312551
|
||||
unset CROSS_COMPILE #311473
|
||||
|
||||
tc-export CC AR RANLIB RC
|
||||
|
||||
# Clean out patent-or-otherwise-encumbered code
|
||||
# Camellia: Royalty Free http://en.wikipedia.org/wiki/Camellia_(cipher)
|
||||
# IDEA: Expired http://en.wikipedia.org/wiki/International_Data_Encryption_Algorithm
|
||||
# EC: ????????? ??/??/2015 http://en.wikipedia.org/wiki/Elliptic_Curve_Cryptography
|
||||
# MDC2: Expired http://en.wikipedia.org/wiki/MDC-2
|
||||
# RC5: 5,724,428 03/03/2015 http://en.wikipedia.org/wiki/RC5
|
||||
|
||||
use_ssl() { usex $1 "enable-${2:-$1}" "no-${2:-$1}" " ${*:3}" ; }
|
||||
echoit() { echo "$@" ; "$@" ; }
|
||||
|
||||
local krb5=$(has_version app-crypt/mit-krb5 && echo "MIT" || echo "Heimdal")
|
||||
|
||||
# See if our toolchain supports __uint128_t. If so, it's 64bit
|
||||
# friendly and can use the nicely optimized code paths. #460790
|
||||
local ec_nistp_64_gcc_128
|
||||
# Disable it for now though #469976
|
||||
#if ! use bindist ; then
|
||||
# echo "__uint128_t i;" > "${T}"/128.c
|
||||
# if ${CC} ${CFLAGS} -c "${T}"/128.c -o /dev/null >&/dev/null ; then
|
||||
# ec_nistp_64_gcc_128="enable-ec_nistp_64_gcc_128"
|
||||
# fi
|
||||
#fi
|
||||
|
||||
local sslout=$(./gentoo.config)
|
||||
einfo "Use configuration ${sslout:-(openssl knows best)}"
|
||||
local config="Configure"
|
||||
[[ -z ${sslout} ]] && config="config"
|
||||
echoit \
|
||||
./${config} \
|
||||
${sslout} \
|
||||
$(use sse2 || echo "no-sse2") \
|
||||
enable-camellia \
|
||||
$(use_ssl !bindist ec) \
|
||||
${ec_nistp_64_gcc_128} \
|
||||
enable-idea \
|
||||
enable-mdc2 \
|
||||
$(use_ssl !bindist rc5) \
|
||||
enable-tlsext \
|
||||
$(use_ssl gmp gmp -lgmp) \
|
||||
$(use_ssl kerberos krb5 --with-krb5-flavor=${krb5}) \
|
||||
$(use_ssl rfc3779) \
|
||||
$(use_ssl tls-heartbeat heartbeats) \
|
||||
$(use_ssl zlib) \
|
||||
--prefix="${EPREFIX}"/usr \
|
||||
--openssldir="${EPREFIX}"${SSL_CNF_DIR} \
|
||||
--libdir=$(get_libdir) \
|
||||
shared threads \
|
||||
|| die
|
||||
|
||||
# Clean out hardcoded flags that openssl uses
|
||||
local CFLAG=$(grep ^CFLAG= Makefile | LC_ALL=C sed \
|
||||
-e 's:^CFLAG=::' \
|
||||
-e 's:-fomit-frame-pointer ::g' \
|
||||
-e 's:-O[0-9] ::g' \
|
||||
-e 's:-march=[-a-z0-9]* ::g' \
|
||||
-e 's:-mcpu=[-a-z0-9]* ::g' \
|
||||
-e 's:-m[a-z0-9]* ::g' \
|
||||
)
|
||||
sed -i \
|
||||
-e "/^CFLAG/s|=.*|=${CFLAG} ${CFLAGS}|" \
|
||||
-e "/^SHARED_LDFLAGS=/s|$| ${LDFLAGS}|" \
|
||||
Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# depend is needed to use $confopts; it also doesn't matter
|
||||
# that it's -j1 as the code itself serializes subdirs
|
||||
emake -j1 depend
|
||||
emake all
|
||||
# rehash is needed to prep the certs/ dir; do this
|
||||
# separately to avoid parallel build issues.
|
||||
emake rehash
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_PREFIX="${D}" install
|
||||
dobin "${WORKDIR}"/c_rehash #333117
|
||||
dodoc CHANGES* FAQ NEWS README doc/*.txt doc/c-indentation.el
|
||||
dohtml -r doc/*
|
||||
use rfc3779 && dodoc engines/ccgost/README.gost
|
||||
|
||||
# This is crappy in that the static archives are still built even
|
||||
# when USE=static-libs. But this is due to a failing in the openssl
|
||||
# build system: the static archives are built as PIC all the time.
|
||||
# Only way around this would be to manually configure+compile openssl
|
||||
# twice; once with shared lib support enabled and once without.
|
||||
use static-libs || rm -f "${ED}"/usr/lib*/lib*.a
|
||||
|
||||
# create the certs directory
|
||||
dodir ${SSL_CNF_DIR}/certs
|
||||
cp -RP certs/* "${ED}"${SSL_CNF_DIR}/certs/ || die
|
||||
rm -r "${ED}"${SSL_CNF_DIR}/certs/{demo,expired}
|
||||
|
||||
# Namespace openssl programs to prevent conflicts with other man pages
|
||||
cd "${ED}"/usr/share/man
|
||||
local m d s
|
||||
for m in $(find . -type f | xargs grep -L '#include') ; do
|
||||
d=${m%/*} ; d=${d#./} ; m=${m##*/}
|
||||
[[ ${m} == openssl.1* ]] && continue
|
||||
[[ -n $(find -L ${d} -type l) ]] && die "erp, broken links already!"
|
||||
mv ${d}/{,ssl-}${m}
|
||||
# fix up references to renamed man pages
|
||||
sed -i '/^[.]SH "SEE ALSO"/,/^[.]/s:\([^(, ]*(1)\):ssl-\1:g' ${d}/ssl-${m}
|
||||
ln -s ssl-${m} ${d}/openssl-${m}
|
||||
# locate any symlinks that point to this man page ... we assume
|
||||
# that any broken links are due to the above renaming
|
||||
for s in $(find -L ${d} -type l) ; do
|
||||
s=${s##*/}
|
||||
rm -f ${d}/${s}
|
||||
ln -s ssl-${m} ${d}/ssl-${s}
|
||||
ln -s ssl-${s} ${d}/openssl-${s}
|
||||
done
|
||||
done
|
||||
[[ -n $(find -L ${d} -type l) ]] && die "broken manpage links found :("
|
||||
|
||||
dodir /etc/sandbox.d #254521
|
||||
echo 'SANDBOX_PREDICT="/dev/crypto"' > "${ED}"/etc/sandbox.d/10openssl
|
||||
|
||||
diropts -m0700
|
||||
keepdir ${SSL_CNF_DIR}/private
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
has_version ${CATEGORY}/${PN}:0.9.8 && return 0
|
||||
preserve_old_lib /usr/$(get_libdir)/lib{crypto,ssl}.so.0.9.8
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ebegin "Running 'c_rehash ${EROOT%/}${SSL_CNF_DIR}/certs/' to rebuild hashes #333069"
|
||||
c_rehash "${EROOT%/}${SSL_CNF_DIR}/certs" >/dev/null
|
||||
eend $?
|
||||
|
||||
has_version ${CATEGORY}/${PN}:0.9.8 && return 0
|
||||
preserve_old_lib_notify /usr/$(get_libdir)/lib{crypto,ssl}.so.0.9.8
|
||||
}
|
@ -0,0 +1,248 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-1.0.1h-r2.ebuild,v 1.1 2014/06/05 18:14:56 chainsaw Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs multilib multilib-minimal
|
||||
|
||||
REV="1.7"
|
||||
DESCRIPTION="full-strength general purpose cryptography library (including SSL and TLS)"
|
||||
HOMEPAGE="http://www.openssl.org/"
|
||||
SRC_URI="mirror://openssl/source/${P}.tar.gz
|
||||
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/${PN}/${PN}-c_rehash.sh?rev=${REV} -> ${PN}-c_rehash.sh.${REV}"
|
||||
|
||||
LICENSE="openssl"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
|
||||
IUSE="bindist gmp kerberos rfc3779 sse2 static-libs test +tls-heartbeat vanilla zlib"
|
||||
|
||||
# The blocks are temporary just to make sure people upgrade to a
|
||||
# version that lack runtime version checking. We'll drop them in
|
||||
# the future.
|
||||
RDEPEND="gmp? ( dev-libs/gmp[static-libs(+)?,${MULTILIB_USEDEP}] )
|
||||
zlib? ( sys-libs/zlib[static-libs(+)?,${MULTILIB_USEDEP}] )
|
||||
kerberos? ( app-crypt/mit-krb5[${MULTILIB_USEDEP}] )
|
||||
abi_x86_32? (
|
||||
!<=app-emulation/emul-linux-x86-baselibs-20140406-r3
|
||||
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
|
||||
)
|
||||
!<net-misc/openssh-5.9_p1-r4
|
||||
!<net-libs/neon-0.29.6-r1"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-apps/diffutils
|
||||
>=dev-lang/perl-5
|
||||
test? ( sys-devel/bc )"
|
||||
PDEPEND="app-misc/ca-certificates"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${P}.tar.gz
|
||||
SSL_CNF_DIR="/etc/ssl"
|
||||
sed \
|
||||
-e "/^DIR=/s:=.*:=${EPREFIX}${SSL_CNF_DIR}:" \
|
||||
-e "s:SSL_CMD=/usr:SSL_CMD=${EPREFIX}/usr:" \
|
||||
"${DISTDIR}"/${PN}-c_rehash.sh.${REV} \
|
||||
> "${WORKDIR}"/c_rehash || die #416717
|
||||
}
|
||||
|
||||
MULTILIB_WRAPPED_HEADERS=(
|
||||
usr/include/openssl/opensslconf.h
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# Make sure we only ever touch Makefile.org and avoid patching a file
|
||||
# that gets blown away anyways by the Configure script in src_configure
|
||||
rm -f Makefile
|
||||
|
||||
if ! use vanilla ; then
|
||||
epatch "${FILESDIR}"/${PN}-1.0.0a-ldflags.patch #327421
|
||||
epatch "${FILESDIR}"/${PN}-1.0.0d-windres.patch #373743
|
||||
epatch "${FILESDIR}"/${PN}-1.0.0h-pkg-config.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.0.1-parallel-build.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.0.1-x32.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.0.1h-ipv6.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.0.1e-s_client-verify.patch #472584
|
||||
epatch "${FILESDIR}"/${PN}-1.0.1f-revert-alpha-perl-generation.patch #499086
|
||||
epatch_user #332661
|
||||
fi
|
||||
|
||||
# disable fips in the build
|
||||
# make sure the man pages are suffixed #302165
|
||||
# don't bother building man pages if they're disabled
|
||||
sed -i \
|
||||
-e '/DIRS/s: fips : :g' \
|
||||
-e '/^MANSUFFIX/s:=.*:=ssl:' \
|
||||
-e '/^MAKEDEPPROG/s:=.*:=$(CC):' \
|
||||
-e $(has noman FEATURES \
|
||||
&& echo '/^install:/s:install_docs::' \
|
||||
|| echo '/^MANDIR=/s:=.*:='${EPREFIX}'/usr/share/man:') \
|
||||
Makefile.org \
|
||||
|| die
|
||||
# show the actual commands in the log
|
||||
sed -i '/^SET_X/s:=.*:=set -x:' Makefile.shared
|
||||
|
||||
# allow openssl to be cross-compiled
|
||||
cp "${FILESDIR}"/gentoo.config-1.0.1 gentoo.config || die
|
||||
chmod a+rx gentoo.config
|
||||
|
||||
append-flags -fno-strict-aliasing
|
||||
append-flags $(test-flags-CC -Wa,--noexecstack)
|
||||
|
||||
sed -i '1s,^:$,#!'${EPREFIX}'/usr/bin/perl,' Configure #141906
|
||||
# The config script does stupid stuff to prompt the user. Kill it.
|
||||
sed -i '/stty -icanon min 0 time 50; read waste/d' config || die
|
||||
./config --test-sanity || die "I AM NOT SANE"
|
||||
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
unset APPS #197996
|
||||
unset SCRIPTS #312551
|
||||
unset CROSS_COMPILE #311473
|
||||
|
||||
tc-export CC AR RANLIB RC
|
||||
|
||||
# Clean out patent-or-otherwise-encumbered code
|
||||
# Camellia: Royalty Free http://en.wikipedia.org/wiki/Camellia_(cipher)
|
||||
# IDEA: Expired http://en.wikipedia.org/wiki/International_Data_Encryption_Algorithm
|
||||
# EC: ????????? ??/??/2015 http://en.wikipedia.org/wiki/Elliptic_Curve_Cryptography
|
||||
# MDC2: Expired http://en.wikipedia.org/wiki/MDC-2
|
||||
# RC5: 5,724,428 03/03/2015 http://en.wikipedia.org/wiki/RC5
|
||||
|
||||
use_ssl() { usex $1 "enable-${2:-$1}" "no-${2:-$1}" " ${*:3}" ; }
|
||||
echoit() { echo "$@" ; "$@" ; }
|
||||
|
||||
local krb5=$(has_version app-crypt/mit-krb5 && echo "MIT" || echo "Heimdal")
|
||||
|
||||
# See if our toolchain supports __uint128_t. If so, it's 64bit
|
||||
# friendly and can use the nicely optimized code paths. #460790
|
||||
local ec_nistp_64_gcc_128
|
||||
# Disable it for now though #469976
|
||||
#if ! use bindist ; then
|
||||
# echo "__uint128_t i;" > "${T}"/128.c
|
||||
# if ${CC} ${CFLAGS} -c "${T}"/128.c -o /dev/null >&/dev/null ; then
|
||||
# ec_nistp_64_gcc_128="enable-ec_nistp_64_gcc_128"
|
||||
# fi
|
||||
#fi
|
||||
|
||||
local sslout=$(./gentoo.config)
|
||||
einfo "Use configuration ${sslout:-(openssl knows best)}"
|
||||
local config="Configure"
|
||||
[[ -z ${sslout} ]] && config="config"
|
||||
|
||||
echoit \
|
||||
./${config} \
|
||||
${sslout} \
|
||||
$(use sse2 || echo "no-sse2") \
|
||||
enable-camellia \
|
||||
$(use_ssl !bindist ec) \
|
||||
${ec_nistp_64_gcc_128} \
|
||||
enable-idea \
|
||||
enable-mdc2 \
|
||||
$(use_ssl !bindist rc5) \
|
||||
enable-tlsext \
|
||||
$(use_ssl gmp gmp -lgmp) \
|
||||
$(use_ssl kerberos krb5 --with-krb5-flavor=${krb5}) \
|
||||
$(use_ssl rfc3779) \
|
||||
$(use_ssl tls-heartbeat heartbeats) \
|
||||
$(use_ssl zlib) \
|
||||
--prefix="${EPREFIX}"/usr \
|
||||
--openssldir="${EPREFIX}"${SSL_CNF_DIR} \
|
||||
--libdir=$(get_libdir) \
|
||||
shared threads \
|
||||
|| die
|
||||
|
||||
# Clean out hardcoded flags that openssl uses
|
||||
local CFLAG=$(grep ^CFLAG= Makefile | LC_ALL=C sed \
|
||||
-e 's:^CFLAG=::' \
|
||||
-e 's:-fomit-frame-pointer ::g' \
|
||||
-e 's:-O[0-9] ::g' \
|
||||
-e 's:-march=[-a-z0-9]* ::g' \
|
||||
-e 's:-mcpu=[-a-z0-9]* ::g' \
|
||||
-e 's:-m[a-z0-9]* ::g' \
|
||||
)
|
||||
sed -i \
|
||||
-e "/^CFLAG/s|=.*|=${CFLAG} ${CFLAGS}|" \
|
||||
-e "/^SHARED_LDFLAGS=/s|$| ${LDFLAGS}|" \
|
||||
Makefile || die
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
# depend is needed to use $confopts; it also doesn't matter
|
||||
# that it's -j1 as the code itself serializes subdirs
|
||||
emake -j1 depend
|
||||
emake all
|
||||
# rehash is needed to prep the certs/ dir; do this
|
||||
# separately to avoid parallel build issues.
|
||||
emake rehash
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
emake -j1 test
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake INSTALL_PREFIX="${D}" install
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
dobin "${WORKDIR}"/c_rehash #333117
|
||||
dodoc CHANGES* FAQ NEWS README doc/*.txt doc/c-indentation.el
|
||||
dohtml -r doc/*
|
||||
use rfc3779 && dodoc engines/ccgost/README.gost
|
||||
|
||||
# This is crappy in that the static archives are still built even
|
||||
# when USE=static-libs. But this is due to a failing in the openssl
|
||||
# build system: the static archives are built as PIC all the time.
|
||||
# Only way around this would be to manually configure+compile openssl
|
||||
# twice; once with shared lib support enabled and once without.
|
||||
use static-libs || rm -f "${ED}"/usr/lib*/lib*.a
|
||||
|
||||
# create the certs directory
|
||||
dodir ${SSL_CNF_DIR}/certs
|
||||
cp -RP certs/* "${ED}"${SSL_CNF_DIR}/certs/ || die
|
||||
rm -r "${ED}"${SSL_CNF_DIR}/certs/{demo,expired}
|
||||
|
||||
# Namespace openssl programs to prevent conflicts with other man pages
|
||||
cd "${ED}"/usr/share/man
|
||||
local m d s
|
||||
for m in $(find . -type f | xargs grep -L '#include') ; do
|
||||
d=${m%/*} ; d=${d#./} ; m=${m##*/}
|
||||
[[ ${m} == openssl.1* ]] && continue
|
||||
[[ -n $(find -L ${d} -type l) ]] && die "erp, broken links already!"
|
||||
mv ${d}/{,ssl-}${m}
|
||||
# fix up references to renamed man pages
|
||||
sed -i '/^[.]SH "SEE ALSO"/,/^[.]/s:\([^(, ]*(1)\):ssl-\1:g' ${d}/ssl-${m}
|
||||
ln -s ssl-${m} ${d}/openssl-${m}
|
||||
# locate any symlinks that point to this man page ... we assume
|
||||
# that any broken links are due to the above renaming
|
||||
for s in $(find -L ${d} -type l) ; do
|
||||
s=${s##*/}
|
||||
rm -f ${d}/${s}
|
||||
ln -s ssl-${m} ${d}/ssl-${s}
|
||||
ln -s ssl-${s} ${d}/openssl-${s}
|
||||
done
|
||||
done
|
||||
[[ -n $(find -L ${d} -type l) ]] && die "broken manpage links found :("
|
||||
|
||||
dodir /etc/sandbox.d #254521
|
||||
echo 'SANDBOX_PREDICT="/dev/crypto"' > "${ED}"/etc/sandbox.d/10openssl
|
||||
|
||||
diropts -m0700
|
||||
keepdir ${SSL_CNF_DIR}/private
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
has_version ${CATEGORY}/${PN}:0.9.8 && return 0
|
||||
preserve_old_lib /usr/$(get_libdir)/lib{crypto,ssl}.so.0.9.8
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ebegin "Running 'c_rehash ${EROOT%/}${SSL_CNF_DIR}/certs/' to rebuild hashes #333069"
|
||||
c_rehash "${EROOT%/}${SSL_CNF_DIR}/certs" >/dev/null
|
||||
eend $?
|
||||
|
||||
has_version ${CATEGORY}/${PN}:0.9.8 && return 0
|
||||
preserve_old_lib_notify /usr/$(get_libdir)/lib{crypto,ssl}.so.0.9.8
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST bpython-0.11.tar.gz 86569 SHA256 60cf39712564f0a2516f7b0acf86f3c0392e67a79914eeed189400ffaaaeb309 SHA512 fc798422bd8220220302f08d919c854b832ebb9174e1467dc416e29bd47d69d58f910b827be67ac6c7516ed9b8d02f7706e6e2ecd790e9ccc6bc4d4cc5e8cbf7 WHIRLPOOL f8ca4fa4ad19527e476953ef20d3f4bd159cfde5d355bb2e3f28f5f9d5c8e46e552790a8d665126be9bfe34cbb331f27c2e1c034e59722ec61836d7604bcadf5
|
||||
DIST bpython-0.12.tar.gz 130968 SHA256 74a9074c5d5448e09ea9efe6b5305a4f580617d73c38f21eab5fe983312a8ec6 SHA512 001deb068dbc31e592b1c9c524cfbb5061cc9f1abb30d7597472920032285d20632f4ca75a10d4444be947413f9d2d65f476b64a66717956bca7d52b6b7ce948 WHIRLPOOL 15c7b6821af6893a88f91bc25b624af99423324a29bfc97eae5861a83e722cb1e3da478ef1838bb650e836e2b3e51dc90a5cca130bd95e64c3e0d8799af082b2
|
||||
DIST bpython-0.13.tar.gz 153843 SHA256 151cadfa376341c04728c9f1cf54c28528ffa2f9f7e420bcdf517169eb55260a SHA512 72eaa6a5fc9275381e64a96d7bdc72faff5b1bfbe598ee3a7afbd0a149d94084e4d70329b479d8581a3b110cc8031276be0a3bf64a92a4cdf1cde4b8dd606268 WHIRLPOOL 82b920100084443a57d400b8791155cfe01978c62ee5556379e1fd563c2094adeb24473da0eb282ae0b20666d9ca7760a8fa97bb4d4b94f1be646f22a24ccb3b
|
||||
|
@ -1,57 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/bpython/bpython-0.11.ebuild,v 1.4 2012/11/20 20:47:49 ago Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="*:2.5"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.4 *-jython"
|
||||
PYTHON_USE_WITH="ncurses"
|
||||
|
||||
inherit distutils eutils
|
||||
|
||||
DESCRIPTION="Syntax highlighting and autocompletion for the Python interpreter"
|
||||
HOMEPAGE="http://www.bpython-interpreter.org/ https://bitbucket.org/bobf/bpython/ http://pypi.python.org/pypi/bpython"
|
||||
SRC_URI="http://www.bpython-interpreter.org/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="gtk urwid"
|
||||
|
||||
RDEPEND="dev-python/pygments
|
||||
dev-python/setuptools
|
||||
gtk? ( dev-python/pygobject:2 dev-python/pygtk )
|
||||
urwid? ( dev-python/urwid )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS="sample-config sample.theme light.theme"
|
||||
|
||||
src_prepare() {
|
||||
distutils_src_prepare
|
||||
epatch "${FILESDIR}"/${PN}-desktop.patch
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
if use gtk; then
|
||||
# pygobject and pygtk currently don't support Python 3.
|
||||
rm -f "${ED}"usr/bin/bpython-gtk-3.*
|
||||
else
|
||||
rm -f "${ED}"usr/bin/bpython-gtk*
|
||||
|
||||
delete_unneeded_modules() {
|
||||
rm -f "${ED}$(python_get_sitedir)/bpython/gtk_.py"
|
||||
}
|
||||
python_execute_function -q delete_unneeded_modules
|
||||
fi
|
||||
if ! use urwid; then
|
||||
rm -f "${ED}"usr/bin/bpython-urwid*
|
||||
|
||||
delete_urwid() {
|
||||
rm -f "${ED}$(python_get_sitedir)/bpython/urwid.py"
|
||||
}
|
||||
python_execute_function -q delete_urwid
|
||||
fi
|
||||
}
|
@ -0,0 +1,66 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/bpython/bpython-0.13.ebuild,v 1.1 2014/06/05 08:35:31 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3} )
|
||||
PYTHON_REQ_USE="ncurses"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Syntax highlighting and autocompletion for the Python interpreter"
|
||||
HOMEPAGE="http://www.bpython-interpreter.org/ https://bitbucket.org/bobf/bpython/ http://pypi.python.org/pypi/bpython"
|
||||
SRC_URI="http://www.bpython-interpreter.org/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc gtk"
|
||||
|
||||
RDEPEND="dev-python/pygments[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
gtk? ( dev-python/pygobject:2[$(python_gen_usedep python2_7)]
|
||||
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
||||
dev-python/pygtk[$(python_gen_usedep python2_7)] )
|
||||
dev-python/urwid[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
|
||||
|
||||
DOCS=( AUTHORS CHANGELOG TODO sample-config sample.theme light.theme )
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-desktop.patch )
|
||||
# Req'd for clean build by each impl
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
sphinx-build -b html -c doc/sphinx/source/ \
|
||||
doc/sphinx/source/ doc/sphinx/source/html || die "docs build failed"
|
||||
fi
|
||||
}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install
|
||||
if ! use gtk; then
|
||||
rm -f "${D}"usr/bin/bpython-gtk*
|
||||
# delete_unneeded_modules() {
|
||||
rm -f "${D}$(python_get_sitedir)/bpython/gtk_.py"
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
pushd build/lib > /dev/null
|
||||
# https://bitbucket.org/bobf/bpython/issue/289/test-failures-in-latest-release-py27-py33
|
||||
sed -e s':test_enter:_&:' -i bpython/test/test_repl.py || die
|
||||
if python_is_python3; then
|
||||
sed -e s':test_fuzzy_global_complete:_&:' \
|
||||
-i bpython/test/test_repl.py || die
|
||||
fi
|
||||
"${PYTHON}" -m unittest discover || die "dud"
|
||||
popd > /dev/null
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/sphinx/source/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST natsort-3.2.0.tar.gz 14223 SHA256 283d488e4d3bb5f1a2bd7ed5d28c9d467e56fe9636f1d373f42357eb60a355f8 SHA512 bd6022d8d488a2391820ce8f06391b3c52c77a3ecd74d58bd18bf6af3a2648f6f8b502c4fb68899176eb83015d23d91dc8a8d1918fba0db63bc85d7902bc4205 WHIRLPOOL 398cac91e22054e1cab3d4c9017a4eaf4917afb66c3a4cc528968b5def40f207616cbe7e32fee15469dd39dc4cc288d964900d1d93a7430bee33165ee91c458a
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>python</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,20 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/natsort/natsort-3.2.0.ebuild,v 1.2 2014/06/06 03:13:53 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Natural sorting for Python"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/natsort"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ia64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
@ -1,4 +1,2 @@
|
||||
DIST pyopencl-2011.2.tar.gz 1293749 SHA256 44e63472cfd3783e60c4c5a7f0ae3537fb95ffd6034ca3db226f5ca5a726d9b9 SHA512 ca0b74ca4d5a85e5aae25183156784740d278d1c111d71f4d57cfefb36daa5971d60562ce10355f5b77dcaf7b916a1208ee1cc09c273b7287a8d10e42607793b WHIRLPOOL aa1e61de187ee709b63ab09c02edeea36b7df2a8509f0589ce7450bc5e86a70069c4da745e3e4b6ba2dc96449fb70b16cfd89254d73a869c05c11bdc98c43004
|
||||
DIST pyopencl-2012.1.tar.gz 1416097 SHA256 823c9af3540ab84221acf7978bf688d98c7635e19d6bdb4d6818c48235184297 SHA512 4f96703a3905049db5fa3217a053df7d37b7a875e71322ee8782862ec19631e6c93bd77bb281f26a66f4308bb951a7bca9eba6369e83321b9d19f67ce194e4c4 WHIRLPOOL 2542ce021a7df003fd6c01da9e94a64c50fe42c621b8ab92ffe12831d861e67f25b6149b475db0834225a1f4de2ef86f2a118686b83a52b3dc1160f23dd2c9a8
|
||||
DIST pyopencl-2013.1.tar.gz 1657749 SHA256 5c1360a27bdc12ca9868158cc8eb3daa93d0efb05ad6f27f47a8bb4e4c9c5403 SHA512 665550f4b4a50d3f42218b371b260bd50789be6e699edb96598c58589746f64b4191dbd1803443f6254fb906e513411c7a51cb846b37f2efedcc3c7df9c2bca6 WHIRLPOOL a8aaa15c30377e9105a5acff6195f9507cb50489f8ff600b7eeb58988ccde4048110d1e8ef108faa15be768598448fd9f88f16a5fe8fbf0cfa209d7de97eedca
|
||||
DIST pyopencl-2013.2.tar.gz 1637274 SHA256 f8e4218e4e47d397886f5dabde16a4d8dcc12caa0cb16ec68cae31f89c94d918 SHA512 1b5d1aa7421025dbbd06e7b58cac1e42eca24d55e3c24dc526a8b95f5b302c5d5553fcf615241abf6d9089c939980e912b5416a94290633704ef998509afddb7 WHIRLPOOL 8a868a72764b0b7d3fb8fa9d056f1be2329a70a4c5752bc4cc88ef6826b3349b15badfc3fce05a95dff62ce989297a51c5555bb892c08873c1c887f1e9b8dc23
|
||||
DIST pyopencl-2014.1.tar.gz 1642825 SHA256 7c8df4f22ef49516a1444760dc622a037c83079ff60ff81779e60cb9fc5410e7 SHA512 da3e4e8d95605381d87db482f61fe7030fe244611a3c35d84c88210bcfb3472dc197be721f92e46e6828cc5d0245981ae004331a7c19e7fd8011a0aab593072f WHIRLPOOL e9d3c742c6ef217cf1f223990f852ae5b5ef50b7eae3513955da00f41134d9805e2078c16cd31429e327ea64a7ea16c15c014a749a3a532c3a11e4babdb91202
|
||||
|
@ -1,65 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyopencl/pyopencl-2011.2-r1.ebuild,v 1.6 2012/04/19 07:32:38 xarthisius Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Python wrapper for OpenCL"
|
||||
HOMEPAGE="http://mathema.tician.de/software/pyopencl http://pypi.python.org/pypi/pyopencl"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="examples opengl"
|
||||
|
||||
RDEPEND=">=dev-libs/boost-1.48[python]
|
||||
dev-python/decorator
|
||||
dev-python/numpy
|
||||
dev-python/mako
|
||||
dev-python/pytools
|
||||
>=virtual/opencl-0-r1"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1"
|
||||
|
||||
src_configure()
|
||||
{
|
||||
configuration() {
|
||||
local myconf=()
|
||||
|
||||
if use opengl; then
|
||||
myconf+=(--cl-enable-gl)
|
||||
fi
|
||||
|
||||
"$(PYTHON)" configure.py \
|
||||
--boost-compiler=gcc \
|
||||
--boost-python-libname=boost_python-${PYTHON_ABI}-mt \
|
||||
--no-use-shipped-boost \
|
||||
"${myconf[@]}"
|
||||
}
|
||||
python_execute_function -s configuration
|
||||
}
|
||||
|
||||
src_install()
|
||||
{
|
||||
distutils_src_install
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r examples
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst()
|
||||
{
|
||||
distutils_pkg_postinst
|
||||
if use examples; then
|
||||
elog "Some of the examples provided by this package require dev-python/matplotlib."
|
||||
fi
|
||||
}
|
@ -1,65 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyopencl/pyopencl-2012.1.ebuild,v 1.1 2012/06/28 07:20:28 patrick Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Python wrapper for OpenCL"
|
||||
HOMEPAGE="http://mathema.tician.de/software/pyopencl http://pypi.python.org/pypi/pyopencl"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="examples opengl"
|
||||
|
||||
RDEPEND=">=dev-libs/boost-1.48[python]
|
||||
dev-python/decorator
|
||||
dev-python/numpy
|
||||
dev-python/mako
|
||||
dev-python/pytools
|
||||
>=virtual/opencl-0-r1"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1"
|
||||
|
||||
src_configure()
|
||||
{
|
||||
configuration() {
|
||||
local myconf=()
|
||||
|
||||
if use opengl; then
|
||||
myconf+=(--cl-enable-gl)
|
||||
fi
|
||||
|
||||
"$(PYTHON)" configure.py \
|
||||
--boost-compiler=gcc \
|
||||
--boost-python-libname=boost_python-${PYTHON_ABI}-mt \
|
||||
--no-use-shipped-boost \
|
||||
"${myconf[@]}"
|
||||
}
|
||||
python_execute_function -s configuration
|
||||
}
|
||||
|
||||
src_install()
|
||||
{
|
||||
distutils_src_install
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r examples
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst()
|
||||
{
|
||||
distutils_pkg_postinst
|
||||
if use examples; then
|
||||
elog "Some of the examples provided by this package require dev-python/matplotlib."
|
||||
fi
|
||||
}
|
@ -1,65 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyopencl/pyopencl-2013.1.ebuild,v 1.1 2013/07/08 05:13:15 patrick Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Python wrapper for OpenCL"
|
||||
HOMEPAGE="http://mathema.tician.de/software/pyopencl http://pypi.python.org/pypi/pyopencl"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="examples opengl"
|
||||
|
||||
RDEPEND=">=dev-libs/boost-1.48[python]
|
||||
dev-python/decorator
|
||||
dev-python/numpy
|
||||
dev-python/mako
|
||||
dev-python/pytools
|
||||
>=virtual/opencl-0-r1"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1"
|
||||
|
||||
src_configure()
|
||||
{
|
||||
configuration() {
|
||||
local myconf=()
|
||||
|
||||
if use opengl; then
|
||||
myconf+=(--cl-enable-gl)
|
||||
fi
|
||||
|
||||
"$(PYTHON)" configure.py \
|
||||
--boost-compiler=gcc \
|
||||
--boost-python-libname=boost_python-${PYTHON_ABI}-mt \
|
||||
--no-use-shipped-boost \
|
||||
"${myconf[@]}"
|
||||
}
|
||||
python_execute_function -s configuration
|
||||
}
|
||||
|
||||
src_install()
|
||||
{
|
||||
distutils_src_install
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r examples
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst()
|
||||
{
|
||||
distutils_pkg_postinst
|
||||
if use examples; then
|
||||
elog "Some of the examples provided by this package require dev-python/matplotlib."
|
||||
fi
|
||||
}
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyopencl/pyopencl-2014.1.ebuild,v 1.1 2014/06/05 08:14:17 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_2,3_3} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python wrapper for OpenCL"
|
||||
HOMEPAGE="http://mathema.tician.de/software/pyopencl http://pypi.python.org/pypi/pyopencl"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="examples opengl"
|
||||
|
||||
RDEPEND=">=dev-libs/boost-1.48[python]
|
||||
dev-python/decorator[${PYTHON_USEDEP}]
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
dev-python/mako[${PYTHON_USEDEP}]
|
||||
dev-python/pytools[${PYTHON_USEDEP}]
|
||||
>=virtual/opencl-0-r1"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_configure()
|
||||
{
|
||||
local myconf=()
|
||||
if use opengl; then
|
||||
myconf+=(--cl-enable-gl)
|
||||
fi
|
||||
|
||||
"${PYTHON}" configure.py \
|
||||
--boost-compiler=gcc \
|
||||
--boost-python-libname=boost_python-${PYTHON_ABI}-mt \
|
||||
--no-use-shipped-boost \
|
||||
"${myconf[@]}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
if use examples; then
|
||||
local EXAMPLES=( examples/. )
|
||||
einfo "Some of the examples provided by this package require dev-python/matplotlib."
|
||||
fi
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST pyramid-1.4.3.tar.gz 2426125 SHA256 8484ceb740ae5e21bda40fa9f9a8fd3be2cdd323eb64ff7e21c0bf3b6388c5b7 SHA512 c892b261e6f866e369cf1327a084436554dd13989fbf96828c1db166cf3abe1a49c3be0c242cd59a6b97bc11291a6ec6864290c031cfa43f694b7f9577461aa5 WHIRLPOOL d6fd2e7af36ce7cb241f349590b9a8df82e7be4da72575397b2b5f33e38171a23a9741de87dad7bc2dd9acfb2510a67dae397b67534e8285909b989bf0c5d6cf
|
||||
DIST pyramid-1.5.1.tar.gz 2401767 SHA256 2fe0b4012f10444682acc0df3b9cb85c7cfff2508ba5cbe6db83f5f14b510d86 SHA512 70b04111020d0f02ef21c52c44d7b6a5e78d198daee0068921df048bcae8b07567aee05d57f1a9e7329ef418116a0f7682aee30c6f785a4d1ec847e2519e7cc5 WHIRLPOOL 16e17ccba24f6a76c4ef0f2e361580e832c6450f453f88229bf1204cd123719e08e8565bb46d8b0bef5b395af2dfa87cb7ac7a9dc0dc9a0cc2d019490716e151
|
||||
DIST pyramid-1.5.tar.gz 2413504 SHA256 db3216f61d9dbb5358fcb3f9eb2d772948c5b2bc608eb2f643159b4abd993621 SHA512 158617587cacd1c660e97d65a92739a4b04c795f1bc08db6afea574a603fcbca7aa69f0389000ed1e69a067a9007a63996c273843a4e5b7e6135d9d46a283cd9 WHIRLPOOL 46c284cbbf3e94af1ff8c26651ea773558a1791436387a6f515ae4b82013f7764159ffa2d9f24d3502536993bd4caa54b79328f85afd90bfb5c507f15f086de7
|
||||
|
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyramid/pyramid-1.5.1.ebuild,v 1.1 2014/06/05 07:53:28 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_2,3_3} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
RESTRICT="test" # Can't package dependencies
|
||||
|
||||
DESCRIPTION="A small open source Python web framework."
|
||||
HOMEPAGE="http://www.pylonsproject.org/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="repoze"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
#IUSE="test"
|
||||
# tests would pull in net-zope/zope-deprecation with its deps - not a good idea
|
||||
|
||||
RDEPEND="
|
||||
dev-python/chameleon[${PYTHON_USEDEP}]
|
||||
dev-python/mako[${PYTHON_USEDEP}]
|
||||
dev-python/webob[${PYTHON_USEDEP}]
|
||||
dev-python/repoze-lru[${PYTHON_USEDEP}]
|
||||
dev-python/mako[${PYTHON_USEDEP}]
|
||||
net-zope/zope-interface[${PYTHON_USEDEP}]
|
||||
dev-python/translationstring[${PYTHON_USEDEP}]
|
||||
dev-python/pastedeploy[${PYTHON_USEDEP}]
|
||||
dev-python/venusian[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
"
|
||||
#test? ( dev-python/webtest[${PYTHON_USEDEP}]
|
||||
# dev-python/nose[${PYTHON_USEDEP}]
|
||||
# dev-python/coverage[${PYTHON_USEDEP}]
|
||||
# dev-python/virtualenv[${PYTHON_USEDEP}]
|
||||
# )
|
||||
#"
|
||||
|
||||
python_test() {
|
||||
nosetests || die "Tests fail with ${EPYTHON}"
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST charlock_holmes-0.6.9.4.gem 651776 SHA256 e52db7af0f7a652f55244455f84b4f1c09144f0d5e416f677a912f9147d6dfef SHA512 00a1d920418a1ebaf43245f8f94de831de15f29d972eac9e69ae9bcccc88140282c3a57f4f1a35ad49cb336df82589c19f7852bc60f9debfb1253b7111c36d32 WHIRLPOOL 1e743109f32ed81890f6e6f4ef771afc32299836e6e0eefe9ac6546b63cafcc61713601a774c11bd253489f6f51399f9decd157e53953d80d7f7f729ba0cb9a7
|
||||
DIST charlock_holmes-0.7.1.gem 1195520 SHA256 181c4c4930e6b3ee1aecad20aae9f7cdf5cc946ee384569d70b54c17ea685907 SHA512 214b772375cab0432cdfab68534b88e28de9cd8130d1afece938ecbca94009d4e27238c3144941bb54794aa0dd1b411dc1516e2140a5e3a7d562cf317c3cf387 WHIRLPOOL 72d33a47fb106e7a978e2f8a43e158809fb43797011adf16feee476d1c2a37b607da40eb09dd23d7f343532256bc42f97c7b5171879261fc84f82231b4d9c10e
|
||||
DIST charlock_holmes-0.7.2.gem 1196544 SHA256 1ba453c0707cf82e9fc00e3ce0ccbfc34221f11d646c6eff28dd084055f2edf5 SHA512 cec6c78c46780745211e2be6f06109bb667185bcb1add75e5787cbe05b063266d9b4413c431b1690fbff775aa9b8d2feafd98c7ff59aba467c173da00f3f4af2 WHIRLPOOL d140b95821b3bf5a6a481646f146c85ebc00964b83f58fe9dabc61fcfec0beea1cea5feffdf124954006edd32b63c4b2a06c168fa66151a3b39a08c6e4fd5fc4
|
||||
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/charlock_holmes/charlock_holmes-0.7.2.ebuild,v 1.1 2014/06/06 05:35:37 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Character encoding detecting library for Ruby using ICU"
|
||||
HOMEPAGE="http://github.com/brianmario/charlock_holmes"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
dev-ruby/minitest )"
|
||||
|
||||
CDEPEND="dev-libs/icu
|
||||
sys-libs/zlib"
|
||||
DEPEND+=" ${CDEPEND}"
|
||||
RDEPEND+=" ${CDEPEND}"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/bundler/d' test/helper.rb || die
|
||||
|
||||
# Avoid dependency on rake-compiler
|
||||
sed -i -e '/rake-compiler/,$ s:^:#:' Rakefile || die
|
||||
}
|
||||
|
||||
each_ruby_configure() {
|
||||
${RUBY} -Cext/${PN} extconf.rb || die
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
emake V=1 -Cext/${PN}
|
||||
cp ext/${PN}/${PN}$(get_modname) lib/${PN}/ || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -Ilib test/*.rb || die
|
||||
}
|
@ -1 +1 @@
|
||||
DIST rogue5.4.4-src.tar.gz 209839 RMD160 5988b9425c2ba42e82d8d8f961001378554032f6 SHA1 aef9e589c4f31eb6d3eeb9d543ab8787b00fb022 SHA256 7d37a61fc098bda0e6fac30799da347294067e8e079e4b40d6c781468e08e8a1
|
||||
DIST rogue5.4.4-src.tar.gz 209839 SHA256 7d37a61fc098bda0e6fac30799da347294067e8e079e4b40d6c781468e08e8a1 SHA512 d83f6f953ca8e18630cd8e459b7219393969ab1d6b56c2c0d1fd18d5e2a48e3964300916bcf968d52700973bab60811b73183df1ec89b4e37145a0848586402f WHIRLPOOL 09f63827df6378fb2568824bf0cc8381594831f1a26995449567d9a947d34803a4e33e8526c06f7b2c3a04640181cbe1cd4cd663f089e43fd1c45830994b9952
|
||||
|
@ -1,5 +1,4 @@
|
||||
DIST evolution-data-server-2.32.3-patches.tar.xz 24072 SHA256 7b1f29fad87a7e868736380c69880a29ddf5d4bd365734df53042e4bc9e8b0fa SHA512 20e12257e7153d074f20c158fc16a5a8feed8e9ed34035c6d752e31ca5b21436e08d767433aa16b885ad0aa8a95b18b41f79c80f2b30db42a5af402082882d55 WHIRLPOOL 660000ccaa0160325b92cf26ea031c96190645ce4bd2a6fc83b03411c6a2bb7f7aadc0ca0a493e1ff386fd4ac4471035af2da0decb436db7f8cf74b792ac4bd2
|
||||
DIST evolution-data-server-2.32.3.tar.bz2 4322281 SHA256 744026a745b711b3e393b61fed21c4926d1b10a3aa7da64f4b33a3e3bf5b085c SHA512 863ccea7717a7fe743155513e74fc8ea35f558702bd4ff1075e15d1a36c1ecd9d5e285bd2a81245d680c05cf0521029583134b4e1d12668244042df3f5e62dfb WHIRLPOOL 3c56210f477901c3ea2d4712e631d219969cb113ff1c4cba3fcefccb67fed363a6207025b46922b9c1f6ba3427b962b5e0565c6b1441249c74b29afa314e3580
|
||||
DIST evolution-data-server-3.10.4.tar.xz 3961320 SHA256 5c2d5e19af19ecfa81f31306411ab6155c3c62cf407d5a5aaa675a8ce940fa2d SHA512 6ca596f2a99e599316d897f78c0504d0f184c0a8726e48adb8b3450412b624cb388851539f9d7270213b5679404d9a8cd8323e61f4499ed674fdfbe3eb1ce21d WHIRLPOOL 4a37519c690993260c2965a1cdc17f3c2d818c2354ff9720509c8e92d18df8059f2a90fcb4906c707017362b1d91636e65464bd1af2b9f21c2789bfeea391dea
|
||||
DIST evolution-data-server-3.12.1.tar.xz 4994796 SHA256 8c794d7f3e5241cc8856ab1d9fccab29487c575d3a3b7d9b884064864b96caa3 SHA512 184cf2086461371ae9e5e8cecad2c4b5f9149e872d35bd3631ce48590499527be21f393ec8771a2542b22fab24f69536bb0778d16156e774cf7ef5794f7cd0b0 WHIRLPOOL 24cad093d354ae4d7764c2ff4c79d705f98d132ebda9cdfb8f531b635f9880e081aad60617da6244a393a18c7df9a38c12f964bb77dc32046a61255a03b7f325
|
||||
DIST evolution-data-server-3.12.2.tar.xz 5000908 SHA256 91c95e17a8c1cd1086dafcd99a40bdf8f5993770f251f8b0a10e5395e3f5a3b6 SHA512 81e651fbc6f893426c341e48e25ee5ff55821e7a27b391324cc6a1596a5e45e2b75aba21e59cc6f0bb9713d42be628d64e4405a1dbe477ba22a6262ca0ec3a8f WHIRLPOOL 49395f321da209ff82e5f5b0837c1054aa4ebc09ad4bc568a46970726d66c3676ebf83df0fe41ccbcfdcc7889d2e0043bae9250ea2e2e7852c57b89b6db17d0a
|
||||
|
@ -1,127 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/evolution-data-server/evolution-data-server-3.12.1.ebuild,v 1.2 2014/05/27 06:49:44 pacho Exp $
|
||||
|
||||
EAPI="5"
|
||||
GCONF_DEBUG="no"
|
||||
# python3 not really supported, bug #478678
|
||||
PYTHON_COMPAT=( python2_7 pypy pypy2_0 )
|
||||
VALA_MIN_API_VERSION="0.18"
|
||||
VALA_USE_DEPEND="vapigen"
|
||||
|
||||
inherit db-use flag-o-matic gnome2 python-any-r1 vala virtualx
|
||||
|
||||
DESCRIPTION="Evolution groupware backend"
|
||||
HOMEPAGE="https://wiki.gnome.org/Apps/Evolution"
|
||||
|
||||
# Note: explicitly "|| ( LGPL-2 LGPL-3 )", not "LGPL-2+".
|
||||
LICENSE="|| ( LGPL-2 LGPL-3 ) BSD Sleepycat"
|
||||
SLOT="0/49" # subslot = libcamel-1.2 soname version
|
||||
IUSE="api-doc-extras +gnome-online-accounts +gtk +introspection ipv6 ldap kerberos vala +weather"
|
||||
REQUIRED_USE="vala? ( introspection )"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-solaris"
|
||||
|
||||
RDEPEND="
|
||||
>=app-crypt/gcr-3.4
|
||||
>=app-crypt/libsecret-0.5[crypt]
|
||||
>=dev-db/sqlite-3.5:=
|
||||
>=dev-libs/glib-2.36:2
|
||||
>=dev-libs/libgdata-0.10:=
|
||||
>=dev-libs/libical-0.43:=
|
||||
>=net-libs/libsoup-2.42:2.4
|
||||
>=dev-libs/libxml2-2
|
||||
>=dev-libs/nspr-4.4:=
|
||||
>=dev-libs/nss-3.9:=
|
||||
>=sys-libs/db-4:=
|
||||
|
||||
dev-libs/icu:=
|
||||
sys-libs/zlib:=
|
||||
virtual/libiconv
|
||||
|
||||
gtk? (
|
||||
>=app-crypt/gcr-3.4[gtk]
|
||||
>=x11-libs/gtk+-3.2:3
|
||||
)
|
||||
gnome-online-accounts? ( >=net-libs/gnome-online-accounts-3.8 )
|
||||
introspection? ( >=dev-libs/gobject-introspection-0.9.12 )
|
||||
kerberos? ( virtual/krb5:= )
|
||||
ldap? ( >=net-nds/openldap-2:= )
|
||||
weather? ( >=dev-libs/libgweather-3.8:2= )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
dev-util/gperf
|
||||
>=dev-util/gtk-doc-am-1.14
|
||||
>=dev-util/intltool-0.35.5
|
||||
>=gnome-base/gnome-common-3.5.5
|
||||
>=sys-devel/gettext-0.17
|
||||
virtual/pkgconfig
|
||||
vala? ( $(vala_depend) )"
|
||||
# eautoreconf needs:
|
||||
# >=gnome-base/gnome-common-2
|
||||
|
||||
# Some tests fail due to missings locales.
|
||||
# It looks like a nightmare to disable those for now.
|
||||
RESTRICT="test"
|
||||
|
||||
pkg_setup() {
|
||||
python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
use vala && vala_src_prepare
|
||||
|
||||
# Fix relink issues in src_install
|
||||
ELTCONF="--reverse-deps"
|
||||
|
||||
gnome2_src_prepare
|
||||
|
||||
# FIXME: Fix compilation flags crazyness
|
||||
sed 's/^\(AM_CFLAGS="\)$WARNING_FLAGS/\1/' \
|
||||
-i configure || die "sed failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# /usr/include/db.h is always db-1 on FreeBSD
|
||||
# so include the right dir in CPPFLAGS
|
||||
append-cppflags "-I$(db_includedir)"
|
||||
|
||||
# phonenumber does not exist in tree
|
||||
gnome2_src_configure \
|
||||
$(use_enable api-doc-extras gtk-doc) \
|
||||
$(use_with api-doc-extras private-docs) \
|
||||
$(use_enable gnome-online-accounts goa) \
|
||||
$(use_enable gtk) \
|
||||
$(use_enable introspection) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_with kerberos krb5 "${EPREFIX}"/usr) \
|
||||
$(use_with ldap openldap) \
|
||||
$(use_enable vala vala-bindings) \
|
||||
$(use_enable weather) \
|
||||
--enable-google \
|
||||
--enable-largefile \
|
||||
--enable-smime \
|
||||
--with-libdb="${EPREFIX}"/usr \
|
||||
--without-phonenumber \
|
||||
--disable-examples \
|
||||
--disable-uoa
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
|
||||
if use ldap; then
|
||||
insinto /etc/openldap/schema
|
||||
doins "${FILESDIR}"/calentry.schema
|
||||
dosym /usr/share/${PN}/evolutionperson.schema /etc/openldap/schema/evolutionperson.schema
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
unset DBUS_SESSION_BUS_ADDRESS
|
||||
unset ORBIT_SOCKETDIR
|
||||
unset SESSION_MANAGER
|
||||
unset DISPLAY
|
||||
Xemake check
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST dovecot_deleted_to_trash-0.3.tar 20480 SHA256 e434f49b0bdfb6cd042a36285fc7846a46b7f026a73356f1cdaa3d706fdc061b SHA512 a21e3d6fd6c09011dfc688fc21b03745e658184ff3ae0fb12a78334fcbfed91b8a51b7b50d0282ce43255e176b2b603e352794142b86ce7d726f098e068b7466 WHIRLPOOL ed15585345fe6f7ffcf3050620b61aaa899d3ea8d124fe7285041712b79ba29af3924d037460c35f389cb040ee326f3d7a1e438dc8e14161b069263ac5c5324c
|
||||
DIST dovecot_deleted_to_trash-0.5.tar.bz2 3539 SHA256 4c2b31d0d2e78e7045dfc50a8e9a6bdb2d2920bd7a2dd41a27e27cb163aba6c4 SHA512 8631c344e5c06691487b9c58b22a5f59220f385b1d1a88a8fc2a6bddba1fd98b30f7894a7262394e794eafd73238cbe8286ead31bde1756921af6aabfd1434b5 WHIRLPOOL d88223fb1d3590215513001d95383d52b7e6ded684681c534d56553b81369a20fbf4a05552122f54101d32338e39e84a0927efee3eaf31fe30bafbe5391fb11c
|
||||
DIST dovecot_deleted_to_trash-0.6.tar.gz 4805 SHA256 68d128092a42ad1a0aecaf273a59aee22c9b23e9697203fd7e629ab327d638cb SHA512 41da1b622f30ee137ac8c06a687466a36c21035fd54b83393543c944b4e7cb4f3576556f220734d934033e6804d371eb5a1ec4f1d2491f3bf808782a59e2cb12 WHIRLPOOL 1c9e6e516b9f2c350a087aaf525c6e7f2d879fe240797a6f38b088a5c0bd4d8232592900a250b0e64486870a92d52c6badfabc2da5628d789923951108037b58
|
||||
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-filter/dovecot_deleted_to_trash/dovecot_deleted_to_trash-0.3.ebuild,v 1.7 2013/02/25 13:31:45 ago Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit base multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="Deleted to trash IMAP plugin for Dovecot"
|
||||
HOMEPAGE="http://wiki.dovecot.org/Plugins/deleted-to-trash"
|
||||
SRC_URI="http://wiki2.dovecot.org/Plugins/deleted-to-trash?action=AttachFile&do=get&target=deleted-to-trash-plugin_${PV}_for_dovecot_2.tar -> ${P}.tar"
|
||||
|
||||
LICENSE="ZLIB" # ZLIB without 3rd clause
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="=net-mail/dovecot-2.0*"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_prepare() {
|
||||
sed -e "/DOVECOT_IMAP_PLUGIN_PATH/s/lib/$(get_libdir)/g" \
|
||||
-e "/DOVECOT_IMAP_PLUGIN_PATH/s/imap//" \
|
||||
-e "/PLUGIN_NAME/s/lib/lib99/" -i Makefile || die 'sed on Makefile failed'
|
||||
base_src_prepare
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
base_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
base_src_install
|
||||
|
||||
insinto /etc/dovecot/conf.d
|
||||
doins "${FILESDIR}"/29-delete-to-trash.conf
|
||||
}
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-filter/dovecot_deleted_to_trash/dovecot_deleted_to_trash-0.5.ebuild,v 1.1 2013/07/14 07:31:04 qnikst Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit toolchain-funcs base
|
||||
|
||||
DESCRIPTION="Deleted to trash IMAP plugin for Dovecot"
|
||||
HOMEPAGE="https://github.com/lexbrugman/dovecot_deleted_to_trash"
|
||||
SRC_URI="http://rion-overlay.googlecode.com/files/dovecot_deleted_to_trash-0.5.tar.bz2"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
|
||||
IUSE=""
|
||||
RDEPEND="=net-mail/dovecot-2.1*
|
||||
!!<net-mail/dovecot-2.1.0
|
||||
!!<=mail-filter/dovecot_deleted_to_trash-0.3
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/fix_names_and_destdir.patch )
|
||||
|
||||
#S="${WORKDIR}"
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
base_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
base_src_install
|
||||
|
||||
insinto /etc/dovecot/conf.d
|
||||
doins "${FILESDIR}"/29-delete-to-trash.conf
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-filter/dovecot_deleted_to_trash/dovecot_deleted_to_trash-0.6.ebuild,v 1.1 2014/06/05 08:34:49 pinkbyte Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="Deleted to trash IMAP plugin for Dovecot"
|
||||
HOMEPAGE="https://github.com/lexbrugman/dovecot_deleted_to_trash"
|
||||
SRC_URI="https://github.com/lexbrugman/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="=net-mail/dovecot-2.2*
|
||||
!!<net-mail/dovecot-2.2.0
|
||||
!!<=mail-filter/dovecot_deleted_to_trash-0.3
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
tc-export CC
|
||||
sed -i \
|
||||
-e "/DOVECOT_IMAP_PLUGIN_PATH/s:lib/dovecot/modules:$(get_libdir)/dovecot:" \
|
||||
-e "/PLUGIN_NAME/s/lib/lib99/" \
|
||||
Makefile || die
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
insinto /etc/dovecot/conf.d
|
||||
doins "${FILESDIR}"/29-delete-to-trash.conf
|
||||
}
|
@ -1,18 +0,0 @@
|
||||
--- Makefile.old 2012-08-24 11:10:58.083907845 +0300
|
||||
+++ Makefile 2012-08-24 11:13:34.167906088 +0300
|
||||
@@ -5,13 +5,13 @@
|
||||
# Dovecot's header directory
|
||||
DOVECOT_INC_PATH = /usr/include/dovecot
|
||||
# Dovecot's IMAP plugin path
|
||||
-DOVECOT_IMAP_PLUGIN_PATH = /usr/lib/dovecot/imap
|
||||
+DOVECOT_IMAP_PLUGIN_PATH = /usr/lib/dovecot/
|
||||
|
||||
## usually no need to configure anything below this line ##
|
||||
|
||||
# plugin source & target name #
|
||||
PLUGIN_SOURCES = deleted-to-trash-plugin.c
|
||||
-PLUGIN_NAME = lib_deleted_to_trash_plugin.so
|
||||
+PLUGIN_NAME = lib99_deleted_to_trash_plugin.so
|
||||
|
||||
#### configuration end ####
|
||||
|
@ -1,4 +1,4 @@
|
||||
DIST pypolicyd-spf-1.1.2.tar.gz 30813 SHA256 f8999a9febc5ccb4a66f9961e4ec2d8f81b407bdc3ac1c84563cd5085429cdea SHA512 17321c6df59620a1fd49a67564d3ecf2156027bbeee9b0f532a3d5f7bfadb060ffc61556b2126d98ea285f80cb552239636e2f461af6256c4568fb8696fec951 WHIRLPOOL a7a02de368037ba9a15520cbdfcf2e2e42c9b9016e3f7d6d83c93eaa6584af147b84acfa3f5a659238dc49057052c8189c20e19ba760b07677fc25cef7fc9ff2
|
||||
DIST pypolicyd-spf-1.1.tar.gz 469687 SHA256 93ca747e1e62d05a3e3fa54b9415f6c6da7fa40644e32507d0bb56980e31cc56 SHA512 7968425ae5b966571b0787769eff484f4d779f02c8460f515b98549117fdf270de70861f61b8c3e7d9da2092e91c191055cd9a312303c50a2b4707e9dd92840e WHIRLPOOL cd47648c122a13e99c08dac9cfee5cbe12b5b4301dc389397ca824ef19ed976beeee02e7f17fb0faf8abe29184be3aeb73c7ab327a0e6b19d7f84434f20b3635
|
||||
DIST pypolicyd-spf-1.2.tar.gz 30783 SHA256 e1a94c79ad91cfea17b9c8b19b035536f06d75ff9ee2e8478191e7c27fe69f74 SHA512 266dc129f0d0bf59b809d3ec6f47369c73d6c5287b1505f0762a9e92ab9dbc3b6afc14ff59d8298012dc4c8b2e7c05d85bab227e71592bc0ee47b0a88cf4df45 WHIRLPOOL 8817c0357aa6850010f144d66408048edf569977eb65f733bedbc3f996273a1d636948ce86ec38cf4b81df66d5546acc2d8dced0185ec93f469d919242405e8e
|
||||
DIST pypolicyd-spf-1.3.tar.gz 31833 SHA256 ad2c435eed63b5c7e9499abe30bb0bda927a1346fab115c3955262b15ecb2b83 SHA512 95bdb677476a0d1a64dd14efd965e180f432f40edd4fd9a6c25f69f55bc9d852f5973b9ecbebd9a27f6feb25a84b70726fdd9640f1df5f0700793620944fae2a WHIRLPOOL 9da6f84b67fce7dd859b9c04f9a58c6b08c7bd99ad1ce18bea9924ace76b2b82730191cf3c6f0f6735bc9396e5ecccf9ad85ec2e109a77afd12afe7cb783869e
|
||||
DIST pypolicyd-spf-1.3.1.tar.gz 32093 SHA256 5b575638e3d30db5583ed4e3c0902b9a6d90ba7e126a9d37b9bffe2e6b201808 SHA512 3ae52b22ef3c4f801a523aa98b6c918b7afd76c5867e8cb431b643555e4191f85b1232d7ef431fbfbdd76cfc59bd021ce452b2f323ab0166ab68d1bf06cc1a10 WHIRLPOOL ebd9997369510ead087c039ec505904fb58fd36eed3c9d38bc1602569b7c3b1e0d1648b69fbf6b1c83a84a7ec4de52f180fc30498cc2850fb53c836cec1e5900
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-filter/pypolicyd-spf/pypolicyd-spf-1.3.ebuild,v 1.1 2014/05/11 02:11:13 mjo Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-filter/pypolicyd-spf/pypolicyd-spf-1.3.1.ebuild,v 1.1 2014/06/05 13:08:39 mjo Exp $
|
||||
|
||||
EAPI=5
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue