367 changed files with 2096 additions and 937 deletions
-
4app-admin/logrotate/logrotate-3.8.9-r1.ebuild
-
4app-admin/system-config-printer/system-config-printer-1.4.8.ebuild
-
4app-arch/par2cmdline/par2cmdline-0.6.12.ebuild
-
4app-arch/rar/rar-5.2.1.ebuild
-
4app-crypt/ssh-multiadd/ssh-multiadd-1.3.2-r1.ebuild
-
4app-editors/adie/adie-1.7.49.ebuild
-
4app-emacs/ruby-mode/ruby-mode-2.0.0_p247.ebuild
-
6app-emulation/libspectrum/libspectrum-1.1.1.ebuild
-
33app-emulation/lxc/files/lxc-1.1.2-fix-gentoo-moresecure-template.patch
-
195app-emulation/lxc/lxc-1.1.2-r1.ebuild
-
4app-i18n/rime-data/rime-data-0.35.ebuild
-
3app-misc/elasticsearch/Manifest
-
84app-misc/elasticsearch/elasticsearch-1.5.0.ebuild
-
23app-misc/elasticsearch/elasticsearch-1.6.0.ebuild
-
87app-misc/elasticsearch/files/elasticsearch.init4
-
11app-misc/elasticsearch/files/elasticsearch.service3
-
5app-misc/elasticsearch/metadata.xml
-
6app-misc/task/task-2.3.0-r1.ebuild
-
4app-office/texmacs/texmacs-1.99.2-r1.ebuild
-
4app-shells/sash/sash-3.8.ebuild
-
4app-text/dvisvgm/dvisvgm-1.8.1.ebuild
-
4app-text/ghostscript-gpl/ghostscript-gpl-9.15-r1.ebuild
-
4app-text/stardict/stardict-3.0.6.ebuild
-
6app-vim/c-support/c-support-6.1.1.ebuild
-
6app-vim/vim-misc/vim-misc-1.17.1.ebuild
-
6dev-db/mysql++/mysql++-3.2.1.ebuild
-
4dev-haskell/ansi-wl-pprint/ansi-wl-pprint-0.6.7.1.ebuild
-
6dev-haskell/crypto-cipher-tests/crypto-cipher-tests-0.0.11-r1.ebuild
-
6dev-haskell/dlist/dlist-0.7.1.ebuild
-
6dev-haskell/drift/drift-2.4.2.ebuild
-
6dev-haskell/gluraw/gluraw-1.4.0.1.ebuild
-
6dev-haskell/glut/glut-2.5.1.1.ebuild
-
6dev-haskell/haskeline/haskeline-0.7.1.3.ebuild
-
6dev-haskell/haskell-src/haskell-src-1.0.1.6.ebuild
-
6dev-haskell/opengl/opengl-2.9.2.0.ebuild
-
6dev-haskell/openglraw/openglraw-1.5.0.0.ebuild
-
6dev-haskell/regex-pcre-builtin/regex-pcre-builtin-0.94.4.8.8.35.ebuild
-
6dev-java/commons-compress/commons-compress-1.8.1-r1.ebuild
-
1dev-java/jfreesvg/Manifest
-
40dev-java/jfreesvg/jfreesvg-3.0.ebuild
-
4dev-lang/luajit/luajit-2.0.3-r1.ebuild
-
4dev-lang/php/php-5.5.25-r1.ebuild
-
4dev-lang/php/php-5.6.9.ebuild
-
4dev-libs/apr-util/apr-util-1.5.4.ebuild
-
4dev-libs/apr/apr-1.5.2.ebuild
-
4dev-libs/libp11/libp11-0.2.8-r3.ebuild
-
4dev-libs/nettle/nettle-2.7.1-r4.ebuild
-
3dev-libs/openssl/Manifest
-
160dev-libs/openssl/openssl-0.9.8z_p7.ebuild
-
258dev-libs/openssl/openssl-1.0.1n.ebuild
-
264dev-libs/openssl/openssl-1.0.2b.ebuild
-
4dev-ml/camlp5/camlp5-6.12.ebuild
-
4dev-perl/Class-Load/Class-Load-0.220.0.ebuild
-
4dev-python/m2crypto/m2crypto-0.22.3-r4.ebuild
-
4dev-python/markdown/markdown-2.6.1.ebuild
-
1dev-python/python-glanceclient/Manifest
-
76dev-python/python-glanceclient/python-glanceclient-0.19.0.ebuild
-
1dev-python/python-openstackclient/Manifest
-
16dev-python/python-openstackclient/metadata.xml
-
88dev-python/python-openstackclient/python-openstackclient-1.0.4.ebuild
-
4dev-python/reportlab/reportlab-3.1.44-r1.ebuild
-
4dev-ruby/builder/builder-3.0.4-r1.ebuild
-
4dev-ruby/bundler/bundler-1.7.13.ebuild
-
4dev-ruby/capistrano/capistrano-2.15.5-r1.ebuild
-
4dev-ruby/daemons/daemons-1.1.9-r1.ebuild
-
4dev-ruby/rdtool/rdtool-0.6.38-r1.ebuild
-
4dev-ruby/ruby-odbc/ruby-odbc-0.99997.ebuild
-
4dev-util/lcov/lcov-1.11.ebuild
-
6dev-util/suse-build/suse-build-2014.09.18.ebuild
-
4dev-vcs/subversion/subversion-1.8.13-r1.ebuild
-
16eclass/qt4-build-multilib.eclass
-
4kde-frameworks/plasma/plasma-5.10.0.ebuild
-
4kde-plasma/kinfocenter/kinfocenter-5.3.1.ebuild
-
4kde-plasma/kwin/kwin-5.3.1.ebuild
-
4lxde-base/lxpanel/lxpanel-0.7.0-r1.ebuild
-
4lxde-base/lxtask/lxtask-0.1.6.ebuild
-
5mail-client/evolution/evolution-3.16.3.ebuild
-
6mail-filter/libspf2/libspf2-1.2.10.ebuild
-
4mail-mta/exim/exim-4.85.ebuild
-
4mail-mta/postfix/postfix-3.0.1-r1.ebuild
-
6media-gfx/gif2png/gif2png-2.5.9.ebuild
-
6media-gfx/gifsicle/gifsicle-1.86.ebuild
-
6media-gfx/viewnior/viewnior-1.4.ebuild
-
6media-libs/flickcurl/flickcurl-1.26.ebuild
-
4media-libs/lensfun/lensfun-0.3.0.ebuild
-
4media-libs/libdvdcss/libdvdcss-1.3.0.ebuild
-
6media-libs/libdvdnav/libdvdnav-5.0.3.ebuild
-
6media-libs/libdvdread/libdvdread-5.0.3.ebuild
-
4media-libs/libmikmod/libmikmod-3.3.7.ebuild
-
6media-libs/libmygpo-qt/libmygpo-qt-1.0.7-r1.ebuild
-
4media-libs/libsbsms/libsbsms-2.0.2.ebuild
-
6media-libs/libsidplay/libsidplay-2.1.1-r4.ebuild
-
6media-libs/mutagen/mutagen-1.27.ebuild
-
4media-libs/taglib-extras/taglib-extras-1.0.1-r1.ebuild
-
23media-libs/taglib-extras/taglib-extras-1.0.1.ebuild
-
4media-libs/xine-lib/xine-lib-1.2.6-r1.ebuild
-
4media-plugins/gst-plugins-ffmpeg/gst-plugins-ffmpeg-0.10.13_p201211-r4.ebuild
-
2media-plugins/live/Manifest
-
6media-plugins/live/live-2013.02.11.ebuild
-
4media-plugins/quodlibet-plugins/quodlibet-plugins-3.1.2.ebuild
@ -0,0 +1,33 @@ |
|||
Patch from https://github.com/lxc/lxc/pull/563 didn't make it to stable-1.1 |
|||
yes so lets just include it here in case it doesn't end up in 1.1.X in the |
|||
future. |
|||
|
|||
Signed-off-by: Markos Chandras <hwoarang@gentoo.org> |
|||
|
|||
From bc19636d587fbabfbc2252f1bf4887fee87bb247 Mon Sep 17 00:00:00 2001 |
|||
From: Dennis Schridde <devurandom@gmx.net> |
|||
Date: Thu, 11 Jun 2015 15:21:19 +0200 |
|||
Subject: [PATCH] Fix creation of dev/mqueue and dev/shm on Gentoo |
|||
|
|||
The dev/mqueue and dev/shm directories do not exist when using lxc.autodev, thus they have to be created upon mount. |
|||
|
|||
Signed-off-by: Dennis Schridde <devurandom@gmx.net> |
|||
---
|
|||
config/templates/gentoo.moresecure.conf.in | 4 ++-- |
|||
1 file changed, 2 insertions(+), 2 deletions(-) |
|||
|
|||
diff --git a/config/templates/gentoo.moresecure.conf.in b/config/templates/gentoo.moresecure.conf.in
|
|||
index 270e9df..f827ad2 100644
|
|||
--- a/config/templates/gentoo.moresecure.conf.in
|
|||
+++ b/config/templates/gentoo.moresecure.conf.in
|
|||
@@ -8,8 +8,8 @@ lxc.include = @LXCTEMPLATECONFIG@/common.conf
|
|||
# Container user ? see gentoo.common.conf |
|||
|
|||
# do not mount sysfs, see http://blog.bofh.it/debian/id_413 |
|||
-lxc.mount.entry=mqueue dev/mqueue mqueue rw,nodev,noexec,nosuid 0 0
|
|||
-lxc.mount.entry=shm dev/shm tmpfs rw,nosuid,nodev,noexec,relatime 0 0
|
|||
+lxc.mount.entry=mqueue dev/mqueue mqueue rw,nodev,noexec,nosuid,create=dir 0 0
|
|||
+lxc.mount.entry=shm dev/shm tmpfs rw,nosuid,nodev,noexec,relatime,create=dir 0 0
|
|||
lxc.mount.entry=run run tmpfs rw,nosuid,nodev,relatime,mode=755 0 0 |
|||
|
|||
# this part is based on 'linux capabilities', see: man 7 capabilities |
@ -0,0 +1,195 @@ |
|||
# Copyright 1999-2015 Gentoo Foundation |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/lxc/lxc-1.1.2-r1.ebuild,v 1.1 2015/06/11 17:06:21 hwoarang Exp $ |
|||
|
|||
EAPI="5" |
|||
|
|||
MY_P="${P/_/-}" |
|||
PYTHON_COMPAT=( python{3_3,3_4} ) |
|||
DISTUTILS_OPTIONAL=1 |
|||
|
|||
inherit autotools bash-completion-r1 distutils-r1 eutils linux-info versionator flag-o-matic systemd |
|||
|
|||
DESCRIPTION="LinuX Containers userspace utilities" |
|||
HOMEPAGE="https://linuxcontainers.org/" |
|||
SRC_URI="https://github.com/lxc/lxc/archive/${MY_P}.tar.gz" |
|||
|
|||
KEYWORDS="~amd64 ~arm ~arm64" |
|||
|
|||
LICENSE="LGPL-3" |
|||
SLOT="0" |
|||
IUSE="cgmanager doc examples lua python seccomp" |
|||
|
|||
RDEPEND="net-libs/gnutls |
|||
sys-libs/libcap |
|||
cgmanager? ( app-admin/cgmanager ) |
|||
lua? ( >=dev-lang/lua-5.1:= ) |
|||
python? ( ${PYTHON_DEPS} ) |
|||
seccomp? ( sys-libs/libseccomp )" |
|||
|
|||
DEPEND="${RDEPEND} |
|||
doc? ( app-text/docbook-sgml-utils ) |
|||
>=sys-kernel/linux-headers-3.2" |
|||
|
|||
RDEPEND="${RDEPEND} |
|||
sys-process/criu |
|||
sys-apps/util-linux |
|||
app-misc/pax-utils |
|||
virtual/awk" |
|||
|
|||
CONFIG_CHECK="~CGROUPS ~CGROUP_DEVICE |
|||
~CPUSETS ~CGROUP_CPUACCT |
|||
~CGROUP_SCHED |
|||
|
|||
~NAMESPACES |
|||
~IPC_NS ~USER_NS ~PID_NS |
|||
|
|||
~NETLINK_DIAG ~PACKET_DIAG |
|||
~INET_UDP_DIAG ~INET_TCP_DIAG |
|||
~UNIX_DIAG ~CHECKPOINT_RESTORE |
|||
|
|||
~DEVPTS_MULTIPLE_INSTANCES |
|||
~CGROUP_FREEZER |
|||
~UTS_NS ~NET_NS |
|||
~VETH ~MACVLAN |
|||
|
|||
~POSIX_MQUEUE |
|||
~!NETPRIO_CGROUP |
|||
|
|||
~!GRKERNSEC_CHROOT_MOUNT |
|||
~!GRKERNSEC_CHROOT_DOUBLE |
|||
~!GRKERNSEC_CHROOT_PIVOT |
|||
~!GRKERNSEC_CHROOT_CHMOD |
|||
~!GRKERNSEC_CHROOT_CAPS |
|||
" |
|||
|
|||
ERROR_DEVPTS_MULTIPLE_INSTANCES="CONFIG_DEVPTS_MULTIPLE_INSTANCES: needed for pts inside container" |
|||
|
|||
ERROR_CGROUP_FREEZER="CONFIG_CGROUP_FREEZER: needed to freeze containers" |
|||
|
|||
ERROR_UTS_NS="CONFIG_UTS_NS: needed to unshare hostnames and uname info" |
|||
ERROR_NET_NS="CONFIG_NET_NS: needed for unshared network" |
|||
|
|||
ERROR_VETH="CONFIG_VETH: needed for internal (host-to-container) networking" |
|||
ERROR_MACVLAN="CONFIG_MACVLAN: needed for internal (inter-container) networking" |
|||
|
|||
ERROR_NETLINK_DIAG="CONFIG_NETLINK_DIAG: needed for lxc-checkpoint" |
|||
ERROR_PACKET_DIAG="CONFIG_PACKET_DIAG: needed for lxc-checkpoint" |
|||
ERROR_INET_UDP_DIAG="CONFIG_INET_UDP_DIAG: needed for lxc-checkpoint" |
|||
ERROR_INET_TCP_DIAG="CONFIG_INET_TCP_DIAG: needed for lxc-checkpoint" |
|||
ERROR_UNIX_DIAG="CONFIG_UNIX_DIAG: needed for lxc-checkpoint" |
|||
ERROR_CHECKPOINT_RESTORE="CONFIG_CHECKPOINT_RESTORE: needed for lxc-checkpoint" |
|||
|
|||
ERROR_POSIX_MQUEUE="CONFIG_POSIX_MQUEUE: needed for lxc-execute command" |
|||
|
|||
ERROR_NETPRIO_CGROUP="CONFIG_NETPRIO_CGROUP: as of kernel 3.3 and lxc 0.8.0_rc1 this causes LXCs to fail booting." |
|||
|
|||
ERROR_GRKERNSEC_CHROOT_MOUNT="CONFIG_GRKERNSEC_CHROOT_MOUNT: some GRSEC features make LXC unusable see postinst notes" |
|||
ERROR_GRKERNSEC_CHROOT_DOUBLE="CONFIG_GRKERNSEC_CHROOT_DOUBLE: some GRSEC features make LXC unusable see postinst notes" |
|||
ERROR_GRKERNSEC_CHROOT_PIVOT="CONFIG_GRKERNSEC_CHROOT_PIVOT: some GRSEC features make LXC unusable see postinst notes" |
|||
ERROR_GRKERNSEC_CHROOT_CHMOD="CONFIG_GRKERNSEC_CHROOT_CHMOD: some GRSEC features make LXC unusable see postinst notes" |
|||
ERROR_GRKERNSEC_CHROOT_CAPS="CONFIG_GRKERNSEC_CHROOT_CAPS: some GRSEC features make LXC unusable see postinst notes" |
|||
|
|||
DOCS=(AUTHORS CONTRIBUTING MAINTAINERS NEWS README doc/FAQ.txt) |
|||
|
|||
S="${WORKDIR}/${PN}-${MY_P}" |
|||
|
|||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
|||
|
|||
src_prepare() { |
|||
|
|||
epatch "${FILESDIR}"/${PN}-1.0.6-bash-completion.patch |
|||
epatch "${FILESDIR}"/${P}-fix-gentoo-moresecure-template.patch |
|||
eautoreconf |
|||
} |
|||
|
|||
src_configure() { |
|||
append-flags -fno-strict-aliasing |
|||
|
|||
if use python; then |
|||
#541932 |
|||
python_setup "python3*" |
|||
export PKG_CONFIG_PATH="${T}/${EPYTHON}/pkgconfig:${PKG_CONFIG_PATH}" |
|||
fi |
|||
|
|||
# I am not sure about the --with-rootfs-path |
|||
# /var/lib/lxc is probably more appropriate than |
|||
# /usr/lib/lxc. |
|||
econf \ |
|||
--localstatedir=/var \ |
|||
--bindir=/usr/bin \ |
|||
--sbindir=/usr/bin \ |
|||
--docdir=/usr/share/doc/${PF} \ |
|||
--with-config-path=/var/lib/lxc \ |
|||
--with-rootfs-path=/var/lib/lxc/rootfs \ |
|||
--with-distro=gentoo \ |
|||
--with-runtime-path=/run \ |
|||
--disable-apparmor \ |
|||
$(use_enable cgmanager) \ |
|||
$(use_enable doc) \ |
|||
$(use_enable examples) \ |
|||
$(use_enable lua) \ |
|||
$(use_enable python) \ |
|||
$(use_enable seccomp) |
|||
} |
|||
|
|||
python_compile() { |
|||
distutils-r1_python_compile build_ext -I ../ -L ../${PN} |
|||
} |
|||
|
|||
src_compile() { |
|||
default |
|||
|
|||
if use python; then |
|||
pushd "${S}/src/python-${PN}" > /dev/null |
|||
distutils-r1_src_compile |
|||
popd > /dev/null |
|||
fi |
|||
} |
|||
|
|||
src_install() { |
|||
default |
|||
|
|||
mv "${ED}"/usr/share/bash-completion/completions/${PN} "${ED}"/$(get_bashcompdir)/${PN}-start || die |
|||
bashcomp_alias ${PN}-start \ |
|||
${PN}-{attach,cgroup,clone,console,create,destroy,device,execute,freeze,info,monitor,snapshot,start-ephemeral,stop,unfreeze,wait} |
|||
|
|||
if use python; then |
|||
pushd "${S}/src/python-lxc" > /dev/null |
|||
# Unset DOCS. This has been handled by the default target |
|||
unset DOCS |
|||
distutils-r1_src_install |
|||
popd > /dev/null |
|||
fi |
|||
|
|||
keepdir /etc/lxc /var/lib/lxc/rootfs /var/log/lxc |
|||
|
|||
find "${D}" -name '*.la' -delete |
|||
|
|||
# Gentoo-specific additions! |
|||
# Use initd.3 per #517144 |
|||
newinitd "${FILESDIR}/${PN}.initd.3" ${PN} |
|||
|
|||
# lxc-devsetup script |
|||
exeinto /usr/libexec/${PN} |
|||
doexe config/init/systemd/${PN}-devsetup |
|||
# Remember to compare our systemd unit file with the upstream one |
|||
# config/init/systemd/lxc.service.in |
|||
systemd_newunit "${FILESDIR}"/${PN}_at.service.2 "lxc@.service" |
|||
} |
|||
|
|||
pkg_postinst() { |
|||
elog "" |
|||
elog "Starting from version ${PN}-1.1.0-r3, the default lxc path has been" |
|||
elog "moved from /etc/lxc to /var/lib/lxc. If you still want to use /etc/lxc" |
|||
elog "please add the following to your /etc/lxc/default.conf" |
|||
elog "lxc.lxcpath = /etc/lxc" |
|||
elog "" |
|||
elog "There is an init script provided with the package now; no documentation" |
|||
elog "is currently available though, so please check out /etc/init.d/lxc ." |
|||
elog "You _should_ only need to symlink it to /etc/init.d/lxc.configname" |
|||
elog "to start the container defined into /etc/lxc/configname.conf ." |
|||
elog "For further information about LXC development see" |
|||
elog "http://blog.flameeyes.eu/tag/lxc" # remove once proper doc is available |
|||
elog "" |
|||
} |
@ -1,2 +1 @@ |
|||
DIST elasticsearch-1.4.4.tar.gz 27900004 SHA256 a3158d474e68520664debaea304be22327fc7ee1f410e0bfd940747b413e8586 SHA512 afc24c5d778d346e24c656e040fb7d0036e16ae42b35ca4f97b2e4d31dc815467ae5462f922ea5222307acf0fa0579f6cd38c603bc996c1f4ba723aa6a2b01ed WHIRLPOOL 37a1a057539ae29525a78fa51f3d19f403e389129e54054edfa1bbd08d12bdbb88acb4e879b6795aa63d583fd70eedefcae5b13b6bf1a7c8314e3aafa49e2b33 |
|||
DIST elasticsearch-1.5.0.tar.gz 28182213 SHA256 acf572c606552bc446cceef3f8e93814a363ba0d215b323a2864682b3abfbe45 SHA512 c0529b0bbf6c610c1a9ee2eef0b0ce5f60b2ebc70abc4576089da0f82284059aa5e404da25a83e40c2975ef3ea63bacc3949ead67ead2f74694a6257328f3b3c WHIRLPOOL 99a3f2e6176993d3d965c01149873a3b4ab18eae7977e37dfb90f178f5d9cbba109569de2b45c44627cbe06f4b55e47849df0fe83c761be4b7374aa9acb19411 |
|||
DIST elasticsearch-1.6.0.tar.gz 28401477 SHA256 dc336c83394b2f2f72f362e0f959a4cfdec2109aa3de15668401afeab0b02d2e SHA512 098b657702f568de43d516077231df42652fee2315d55caef1b6b26c9d36ff6373380b827810cdc88410cf33ca0d782ffebb760221efa6babd491ce6cc6f75e5 WHIRLPOOL aec4ec5e5042550e284db55092e18c1ae1f04960a314833b8092488afec938fce56493dbb65c7aabbdf3a4caedf3bac224370c962992ace1702e6c369dc74887 |
@ -1,84 +0,0 @@ |
|||
# Copyright 1999-2015 Gentoo Foundation |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
# $Header: /var/cvsroot/gentoo-x86/app-misc/elasticsearch/elasticsearch-1.5.0.ebuild,v 1.1 2015/04/01 17:33:46 blueness Exp $ |
|||
|
|||
EAPI=5 |
|||
|
|||
inherit eutils systemd user |
|||
|
|||
MY_PN="${PN%-bin}" |
|||
DESCRIPTION="Open Source, Distributed, RESTful, Search Engine" |
|||
HOMEPAGE="http://www.elasticsearch.org/" |
|||
SRC_URI="http://download.${MY_PN}.org/${MY_PN}/${MY_PN}/${MY_PN}-${PV}.tar.gz" |
|||
LICENSE="Apache-2.0" |
|||
SLOT="0" |
|||
KEYWORDS="~amd64" |
|||
|
|||
RESTRICT="strip" |
|||
QA_PREBUILT="usr/share/elasticsearch/lib/sigar/libsigar-*.so" |
|||
|
|||
RDEPEND="virtual/jre:1.7" |
|||
|
|||
pkg_setup() { |
|||
enewgroup ${MY_PN} |
|||
enewuser ${MY_PN} -1 /bin/bash /var/lib/${MY_PN} ${MY_PN} |
|||
} |
|||
|
|||
src_prepare() { |
|||
rm -rf lib/sigar/*{solaris,winnt,freebsd,macosx}* |
|||
rm -rf bin/*.{bat,exe} |
|||
rm lib/sigar/libsigar-ia64-linux.so |
|||
rm LICENSE.txt |
|||
|
|||
use amd64 && { |
|||
rm lib/sigar/libsigar-x86-linux.so |
|||
} |
|||
|
|||
use x86 && { |
|||
rm lib/sigar/libsigar-amd64-linux.so |
|||
} |
|||
} |
|||
|
|||
src_install() { |
|||
dodir /etc/${MY_PN} |
|||
|
|||
insinto /usr/share/doc/${P}/examples |
|||
doins bin/${MY_PN}.in.sh |
|||
doins config/* |
|||
rm bin/${MY_PN}.in.sh |
|||
rm -rf config |
|||
|
|||
insinto /usr/share/${MY_PN} |
|||
doins -r ./* |
|||
chmod +x "${D}"/usr/share/${MY_PN}/bin/* |
|||
|
|||
keepdir /var/{lib,log}/${MY_PN} |
|||
|
|||
local rcscript=elasticsearch.init3 |
|||
local eshome="/usr/share/${MY_PN}" |
|||
local jarfile="${MY_PN}-${PV}.jar" |
|||
local esclasspath="${eshome}/lib/${jarfile}:${eshome}/lib/*:${eshome}/lib/sigar/*" |
|||
|
|||
cp "${FILESDIR}/${rcscript}" "${T}" || die |
|||
sed -i \ |
|||
-e "s|@ES_CLASS_PATH@|${esclasspath}|" \ |
|||
"${T}/${rcscript}" \ |
|||
|| die "failed to filter ${rcscript}" |
|||
|
|||
newinitd "${T}/${rcscript}" "${MY_PN}" |
|||
newconfd "${FILESDIR}/${MY_PN}.conf" "${MY_PN}" |
|||
systemd_newunit "${FILESDIR}"/${PN}.service2 "${PN}.service" |
|||
} |
|||
|
|||
pkg_postinst() { |
|||
elog |
|||
elog "You may create multiple instances of ${MY_PN} by" |
|||
elog "symlinking the init script:" |
|||
elog "ln -sf /etc/init.d/${MY_PN} /etc/init.d/${MY_PN}.instance" |
|||
elog |
|||
elog "Each of the example files in /usr/share/doc/${P}/examples" |
|||
elog "should be extracted to the proper configuration directory:" |
|||
elog "/etc/${MY_PN} (for standard init)" |
|||
elog "/etc/${MY_PN}/instance (for symlinked init)" |
|||
elog |
|||
} |
@ -0,0 +1,87 @@ |
|||
#!/sbin/runscript |
|||
|
|||
name="Elasticsearch" |
|||
description="" |
|||
|
|||
ES_USER=${ES_USER:="elasticsearch"} |
|||
ES_INSTANCE=${SVCNAME#*.} |
|||
|
|||
if [ -n "${ES_INSTANCE}" ] && [ ${SVCNAME} != "elasticsearch" ]; then |
|||
PIDFILE="/run/elasticsearch/elasticsearch.${ES_INSTANCE}.pid" |
|||
ES_BASE_PATH="/var/lib/elasticsearch/${ES_INSTANCE}" |
|||
ES_CONF_PATH="/etc/elasticsearch/${ES_INSTANCE}" |
|||
ES_LOG_PATH="/var/log/elasticsearch/${ES_INSTANCE}" |
|||
else |
|||
PIDFILE="/run/elasticsearch/elasticsearch.pid" |
|||
ES_BASE_PATH="/var/lib/elasticsearch/_default" |
|||
ES_CONF_PATH="/etc/elasticsearch" |
|||
ES_LOG_PATH="/var/log/elasticsearch/_default" |
|||
fi |
|||
|
|||
ES_DATA_PATH="${ES_BASE_PATH}/data" |
|||
ES_WORK_PATH="${ES_BASE_PATH}/work" |
|||
|
|||
export ES_INCLUDE="/usr/share/elasticsearch/bin/elasticsearch.in.sh" |
|||
export JAVA_OPTS |
|||
export ES_JAVA_OPTS |
|||
export ES_HEAP_SIZE |
|||
export ES_HEAP_NEWSIZE |
|||
export ES_DIRECT_SIZE |
|||
export ES_USE_IPV4 |
|||
|
|||
server_command="/usr/share/elasticsearch/bin/elasticsearch" |
|||
server_args=" -p ${PIDFILE} -Des.default.path.conf=\"${ES_CONF_PATH}\" -Des.default.path.data=\"${ES_DATA_PATH}\" -Des.default.path.work=\"${ES_WORK_PATH}\" -Des.default.path.logs=\"${ES_LOG_PATH}\"" |
|||
|
|||
depend() { |
|||
use net |
|||
} |
|||
|
|||
start() { |
|||
# elasticsearch -Des.config=/path/to/config/file |
|||
# elasticsearch -Des.network.host=10.0.0.4 |
|||
|
|||
[ ! -f "${ES_INCLUDE}" ] && { |
|||
eerror "${ES_INCLUDE} must be copied into place" |
|||
return 1 |
|||
} |
|||
|
|||
local conf |
|||
local conf_file |
|||
for conf in elasticsearch.yml logging.yml; do |
|||
conf_file="${ES_CONF_PATH}/${conf}" |
|||
if [ ! -f "${conf_file}" ]; then |
|||
eerror "${conf_file} must be copied into place" |
|||
return 1 |
|||
fi |
|||
done |
|||
|
|||
ebegin "Starting ${SVCNAME}" |
|||
|
|||
if [ -n "${ES_MAX_FD}" ]; then |
|||
ulimit -n ${ES_MAX_FD} |
|||
einfo "Max open filedescriptors : ${ES_MAX_FD}" |
|||
fi |
|||
|
|||
checkpath -d -o "${ES_USER}" -m750 "/var/lib/elasticsearch" |
|||
checkpath -d -o "${ES_USER}" -m750 "/var/log/elasticsearch" |
|||
checkpath -d -o "${ES_USER}" -m750 "$(dirname "${PIDFILE}")" |
|||
checkpath -d -o "${ES_USER}" -m750 "${ES_BASE_PATH}" |
|||
checkpath -d -o "${ES_USER}" -m750 "${ES_LOG_PATH}" |
|||
|
|||
start-stop-daemon --start \ |
|||
--background \ |
|||
--chdir "${ES_BASE_PATH}" \ |
|||
--user="${ES_USER}" \ |
|||
--pidfile="${PIDFILE}" \ |
|||
--exec ${server_command} -- ${server_args} |
|||
eend $? |
|||
} |
|||
|
|||
stop() { |
|||
ebegin "Stopping ${SVCNAME}" |
|||
start-stop-daemon --stop \ |
|||
--pidfile=${PIDFILE} \ |
|||
--user="${ES_USER}" \ |
|||
--retry=TERM/20/KILL/5 |
|||
eend $? |
|||
} |
@ -0,0 +1,11 @@ |
|||
[Unit] |
|||
Description=Elasticsearch |
|||
After=network.target |
|||
|
|||
[Service] |
|||
User=elasticsearch |
|||
Environment=ES_INCLUDE=/usr/share/elasticsaerch/bin/elasticsearch.in.sh |
|||
ExecStart=/usr/share/elasticsearch/bin/elasticsearch -Des.default.path.conf=/etc/elasticsearch |
|||
|
|||
[Install] |
|||
WantedBy=multi-user.target |
@ -1 +1,2 @@ |
|||
DIST jfreesvg-2.1.zip 2042545 SHA256 51601035bd7d35c16c2bb7ffafa38e94ffa57f52c7df37a9a7f53e773a89be46 SHA512 6c1556c640e749778aeb969540db7724895fe2113a7ceea732793730301dd04a1beafef35249b27b75696271bcd67a59236a15c106f7717482561011a1a08bc4 WHIRLPOOL b4e6e4c527822ed6729910059b480a3213e7c3b11f34b55c197793e84f3e9de54986fc2480f03f353ad019935fd927e4d57b61c55c01128a8b93545e5653b10c |
|||
DIST jfreesvg-3.0.zip 1946062 SHA256 b7045b95ef51ef68b3c48308b72d5aee666a02606ace938bd1e54e3eca4502d0 SHA512 7d0bdcbf56f0a7110058137d53e291c41e53040cbc19442989a0c6d28f5d6d3ed26ecedbfc947ce845b8a971729e2d784e8ce5a041f6f095ff626a3494a55715 WHIRLPOOL e179d71b71ca25171f58baf729e89e0cea9a6ebd9ea7c723ee6391fdb2fa2c59a4aef73d4d42e49335b53b78cdd4b3813ac9c3aef990ac8ce7881f8b666ee957 |
@ -0,0 +1,40 @@ |
|||
# Copyright 1999-2015 Gentoo Foundation |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
# $Header: /var/cvsroot/gentoo-x86/dev-java/jfreesvg/jfreesvg-3.0.ebuild,v 1.1 2015/06/11 15:01:46 monsieurp Exp $ |
|||
|
|||
EAPI=5 |
|||
|
|||
JAVA_PKG_IUSE="doc source" |
|||
|
|||
inherit java-pkg-2 java-ant-2 |
|||
|
|||
DESCRIPTION="JFreeSVG is a fast, light-weight, vector graphics library for the Java platform" |
|||
HOMEPAGE="http://www.jfree.org/jfreesvg/" |
|||
SRC_URI="mirror://sourceforge/jfreegraphics2d/${P}.zip" |
|||
|
|||
LICENSE="GPL-3" |
|||
SLOT="3.0" |
|||
KEYWORDS="~amd64 ~ppc ~x86" |
|||
IUSE="debug" |
|||
|
|||
DEPEND=">=virtual/jdk-1.6 |
|||
app-arch/unzip" |
|||
RDEPEND=">=virtual/jre-1.6" |
|||
|
|||
java_prepare() { |
|||
find "${WORKDIR}" -name '*.jar' -print -delete || die |
|||
} |
|||
|
|||
src_compile() { |
|||
if ! use debug; then |
|||
antflags="-Dbuild.debug=false -Dbuild.optimize=true" |
|||
fi |
|||
eant -f ant/build.xml compile $(use_doc) $antflags |
|||
} |
|||
|
|||
src_install() { |
|||
java-pkg_newjar "./lib/${P}.jar" ${PN}.jar |
|||
dodoc README.md |
|||
use doc && java-pkg_dojavadoc javadoc |
|||
use source && java-pkg_dosrc src/main/java |
|||
} |
@ -1,8 +1,11 @@ |
|||
DIST openssl-0.9.8ze.tar.gz 3734873 SHA256 ee3da602826e975b47e4d7af8a27be8258c160876194898c58881eab814b55b8 SHA512 6ab08065ab2cdf6699e462e2a082e6d4c21f027383e12d4dd1d0dce2a4073ae52230494215b3fe24b8a8d73f5f5dd3a1fe53c66acd8db6e162e4bf3636e229c3 WHIRLPOOL 8a5de0aed7b48007b3b8092726c9c8eb6771c49d388baaff4d7ba3591be0b1856cb17842db5bc608994b38f5d87a8b07a441c874523e577b786a4612bba7789f |
|||
DIST openssl-0.9.8zf.tar.gz 3822386 SHA256 d5245a29128984192acc5b1fc01e37429b7a01c53cadcb2645e546718b300edb SHA512 8a68f024c31b7de25e19732ad556a27d69cface8e7a546ca4221873053a270e5e36336626f7fe857bbbec5427204bddbb5fc9dea8d7a187a8db6719d970431ab WHIRLPOOL 842e5bc71a12bf363fe797e95faf988ae949aa15f8faee935ee8861e4093e9d4e0b766b24dda8d415f29d2ee2821050cfc3ce095d265d59574e7fe0af4024c66 |
|||
DIST openssl-0.9.8zg.tar.gz 3826891 SHA256 06500060639930e471050474f537fcd28ec934af92ee282d78b52460fbe8f580 SHA512 c757454de321d168ac6d89fe2859966a9f07a8b28305bf697af9018db13fc457e0883346b3d35977461ab058442375563554ecb2a8756a687ff9fc2fdd9103c9 WHIRLPOOL 55ecf50a264a2ddd9b5755b5d90b9b736d2f27e0ba2fd529ccff3b68bbd726d1f60460182a0d215ae6712dbc4d3ef2df11339fb2d8424e049f54c3e904fcfab0 |
|||
DIST openssl-1.0.0r.tar.gz 4095201 SHA256 6538b33a1b95681c86ac8c5cc54d22835f0f0a5bf42ee6df4138c672d7e75f17 SHA512 a65292a7b43f7d0637952476356a95908b5843ca17f717158dd4d2171113192f04c92f4f9133bb4750172f06367dae64733aa239b90c52d4d9323f467012428f WHIRLPOOL 71c7d726a3a5d70735d4b34c3e00c15fa2ef8640801f8a265e4e92cf01db4a517630084dd7632850f3df6f4dbd848a3a7ec908a71db996a45c29f1ac53ac7877 |
|||
DIST openssl-1.0.1l.tar.gz 4429979 SHA256 b2cf4d48fe5d49f240c61c9e624193a6f232b5ed0baf010681e725963c40d1d4 SHA512 27fe42f33815a3aafff75f2b9a5604c328fe5945c5cecaca74e5d2c2a1e066d64ddcc1fdb14b54fc7523cc730ab8a57d7d56b2879c289e86673f91fee0cca65e WHIRLPOOL 79f5698585c68ba647fcdfc4b342a43d06d69230658ca1bc265dd10d8da939c3e27b9a4125bd2adfbf50002b1dddef18be086dfc23a5050e69fb77350131909f |
|||
DIST openssl-1.0.1m.tar.gz 4533406 SHA256 095f0b7b09116c0c5526422088058dc7e6e000aa14d22acca6a4e2babcdfef74 SHA512 f37b60cb4449674d5c06a4056acc3d11f1c9773da6111148fa3fbf8d14362ba1ff5eb5e0c0e06c2b5c84543b2b974584617e393ca83de2230cbbe69b52975afc WHIRLPOOL c33cc05debc31d5044be4de58267e1a07281f28f9d68f4288d3da1c3cdfcff6939a47abe1f50b377272d0dbd9475ae5fec84919b0c53d37e0bd3d94c44f68c91 |
|||
DIST openssl-1.0.1n.tar.gz 4545564 SHA256 3581a405ccbe0fd1f6f17ea41773f77cdd51db55c01e1b4d8549e519882c6caf SHA512 439e37879e379b77ae0e912222771ac54c0dcc4ad187b8e2eb6771df6cf71d56c4369931f4e16b8922b9d4a22e8f0aa9802c6828b8406fba7481426eade628aa WHIRLPOOL 8c08fc98863c444db3c1fee6970d1866123b7a525f4fe303016c0cf040351f7cb71f49a00ac1f1948ae9b7edaf9a4e5664814415447c8a88d4c49fe9014411d5 |
|||
DIST openssl-1.0.2.tar.gz 5265809 SHA256 8c48baf3babe0d505d16cfc0cf272589c66d3624264098213db0fb00034728e9 SHA512 dea46225a5445edc4986b02b99fbc90153819374b9a9bfdd892b60cd18ac7fefaf21a7e9d2bb05d0e3bfa4d2704e0ee24b06cc8e7081a542d7598cc9e73c67c5 WHIRLPOOL fe628a38125390deb75728b31427c308efbf65637a569fd1f139f6313fea533514ef05bf3d01bbdc793f77eb259400c95c53074a294d32d73576939d16f22e25 |
|||
DIST openssl-1.0.2a.tar.gz 5262089 SHA256 15b6393c20030aab02c8e2fe0243cb1d1d18062f6c095d67bca91871dc7f324a SHA512 02d228578824add52b73433d64697706e6503c2334933fe8dd6b477f59c430977012c3c34da207096229a425e1dcb6f3ae806043894b5ac98c27bbcddb794dd4 WHIRLPOOL a590c71794f5d29b80afa28b18621b7535e96b714b3690d793c1422a90b09a89cbcb912841d400c5982a8197bb02c13051190e96ba0e4d530509b48b43067cd7 |
|||
DIST openssl-1.0.2b.tar.gz 5281009 SHA256 d5d488cc9f0a07974195a7427094ea3cab9800a4e90178b989aa621fbc238e3f SHA512 563eb662113668bb9ccf17a6e36697ad6392321ac1a32aa2cada9d8f4047651c2fa4da61f508ee3e1834fea343dbba189e09c1d6cabe5d1de5e3e6d022c31f4f WHIRLPOOL d828dc76842d25f02f211031b3ab9a2a8fd44975e9aaf87d0fd5fca9935a27b61c3e4f896a2186194f1a7b4d668fc48cafc5be9f7c670017ba342ce40113935f |
|||
DIST openssl-c_rehash.sh.1.7 4167 SHA256 4999ee79892f52bd6a4a7baba9fac62262454d573bbffd72685d3aae9e48cee0 SHA512 55e8c2e827750a4f375cb83c86bfe2d166c01ffa5d7e9b16657b72b38b747c8985dd2c98f854c911dfbbee2ff3e92aff39fdf089d979b2e3534b7685ee8b80da WHIRLPOOL c88f06a3b8651f76b6289552cccceb64e13f6697c5f0ce3ff114c781ce1c218912b8ee308af9d087cd76a9600fdacda1953175bff07d7d3eb21b0c0b7f4f1ce1 |
@ -0,0 +1,160 @@ |
|||
# Copyright 1999-2015 Gentoo Foundation |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-0.9.8z_p7.ebuild,v 1.1 2015/06/11 15:57:04 vapier Exp $ |
|||
|
|||
# this ebuild is only for the libcrypto.so.0.9.8 and libssl.so.0.9.8 SONAME for ABI compat |
|||
|
|||
EAPI="5" |
|||
|
|||
inherit eutils flag-o-matic toolchain-funcs multilib multilib-minimal |
|||
|
|||
PLEVEL=$(echo "${PV##*_p}" | tr '[1-9]' '[a-i]') |
|||
MY_PV=${PV/_p*/${PLEVEL}} |
|||
MY_P=${PN}-${MY_PV} |
|||
S="${WORKDIR}/${MY_P}" |
|||
DESCRIPTION="Toolkit for SSL v2/v3 and TLS v1" |
|||
HOMEPAGE="http://www.openssl.org/" |
|||
SRC_URI="mirror://openssl/source/${MY_P}.tar.gz" |
|||
|
|||
LICENSE="openssl" |
|||
SLOT="0.9.8" |
|||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" |
|||
IUSE="bindist gmp kerberos cpu_flags_x86_sse2 test zlib" |
|||
RESTRICT="!bindist? ( bindist )" |
|||
|
|||
RDEPEND="gmp? ( >=dev-libs/gmp-5.1.3-r1[${MULTILIB_USEDEP}] ) |
|||
zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] ) |
|||
kerberos? ( >=app-crypt/mit-krb5-1.11.4[${MULTILIB_USEDEP}] ) |
|||
abi_x86_32? ( |
|||
!<=app-emulation/emul-linux-x86-baselibs-20140508-r4 |
|||
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] |
|||
) |
|||
!=dev-libs/openssl-0.9.8*:0" |
|||
DEPEND="${RDEPEND} |
|||
sys-apps/diffutils |
|||
>=dev-lang/perl-5 |
|||
test? ( sys-devel/bc )" |
|||
|
|||
# Do not install any docs |
|||
DOCS=() |
|||
|
|||
src_prepare() { |
|||
epatch "${FILESDIR}"/${PN}-0.9.8e-bsd-sparc64.patch |
|||
epatch "${FILESDIR}"/${PN}-0.9.8h-ldflags.patch #181438 |
|||
epatch "${FILESDIR}"/${PN}-0.9.8m-binutils.patch #289130 |
|||
|
|||
# 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 |
|||
# update the enginedir path. |
|||
# punt broken config we don't care about as it fails sanity check. |
|||
sed -i \ |
|||
-e '/^"debug-ben-debug-64"/d' \ |
|||
-e "/foo.*engines/s|/lib/engines|/$(get_libdir)/engines|" \ |
|||
Configure || die |
|||
|
|||
# since we're forcing $(CC) as makedep anyway, just fix |
|||
# the conditional as always-on |
|||
# helps clang (#417795), and versioned gcc (#499818) |
|||
sed -i 's/expr.*MAKEDEPEND.*;/true;/' util/domd || die |
|||
|
|||
# quiet out unknown driver argument warnings since openssl |
|||
# doesn't have well-split CFLAGS and we're making it even worse |
|||
# and 'make depend' uses -Werror for added fun (#417795 again) |
|||
[[ ${CC} == *clang* ]] && append-flags -Qunused-arguments |
|||
|
|||
# allow openssl to be cross-compiled |
|||
cp "${FILESDIR}"/gentoo.config-0.9.8 gentoo.config || die "cp cross-compile failed" |
|||
chmod a+rx gentoo.config |
|||
|
|||
append-flags -fno-strict-aliasing |
|||
append-flags -Wa,--noexecstack |
|||
|
|||
sed -i '1s,^:$,#!/usr/bin/perl,' Configure #141906 |
|||
sed -i '/^"debug-bodo/d' Configure # 0.9.8za shipped broken |
|||
./config --test-sanity || die "I AM NOT SANE" |
|||
|
|||
multilib_copy_sources |
|||
} |
|||
|
|||
multilib_src_configure() { |
|||
unset APPS #197996 |
|||
unset SCRIPTS #312551 |
|||
|
|||
tc-export CC AR RANLIB |
|||
|
|||
# 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() { use $1 && echo "enable-${2:-$1} ${*:3}" || echo "no-${2:-$1}" ; } |
|||
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 cpu_flags_x86_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 zlib) \ |
|||
--prefix=/usr \ |
|||
--openssldir=/etc/ssl \ |
|||
shared threads \ |
|||
|| die "Configure failed" |
|||
|
|||
# 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 "/^LIBDIR=/s|=.*|=$(get_libdir)|" \ |
|||
-e "/^CFLAG/s|=.*|=${CFLAG} ${CFLAGS}|" \ |
|||
-e "/^SHARED_LDFLAGS=/s|$| ${LDFLAGS}|" \ |
|||
Makefile || die |
|||
} |
|||
|
|||
multilib_src_compile() { |
|||
# depend is needed to use $confopts |
|||
emake -j1 depend |
|||
emake -j1 build_libs |
|||
} |
|||
|
|||
multilib_src_test() { |
|||
emake -j1 test |
|||
} |
|||
|
|||
multilib_src_install() { |
|||
dolib.so lib{crypto,ssl}.so.0.9.8 |
|||
} |
@ -0,0 +1,258 @@ |
|||
# Copyright 1999-2015 Gentoo Foundation |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-1.0.1n.ebuild,v 1.1 2015/06/11 15:57:04 vapier 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 cpu_flags_x86_sse2 static-libs test +tls-heartbeat vanilla zlib" |
|||
RESTRICT="!bindist? ( bindist )" |
|||
|
|||
# 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-5.1.3-r1[static-libs(+)?,${MULTILIB_USEDEP}] ) |
|||
zlib? ( >=sys-libs/zlib-1.2.8-r1[static-libs(+)?,${MULTILIB_USEDEP}] ) |
|||
kerberos? ( >=app-crypt/mit-krb5-1.11.4[${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 |
|||
} |
|||
|
|||