parent
57db00d32d
commit
0c512091dd
Binary file not shown.
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
DIST pkcs11-helper-1.21.tar.bz2 417527 BLAKE2B 39b2b405ada79e0077c810b3537853051bbaf1cb4d79bedaedf04156066b573c9186ee587c869ed49053a0b471fa239447edef71184d421fb6ac2e65e3a58830 SHA512 064b04c1ece2db0757e14263955c0f7488edde5f5f4415ebda9c4370e608d7df681706ddefcdba2392e5642d00ebd4c211f15266bb39baf8da46ffaec4f3e572
|
||||
DIST pkcs11-helper-1.24.tar.bz2 425627 BLAKE2B 2489af89dc4be6d056facedecf38fc42079c18ee74ca4f9621cf11b1060e2f463318d0efc263df5009eab01771c98e44a3efe7246ccbdc8982a130592327beca SHA512 28e9b53dd36e4e3fa8e30b7ad76af3bcfce1947d228f07e607a26aa6b06ee3bf1fd6f5a0ebf8ec581a16074de7b21e53f3b225e1cb1f58d4ded7bff2c50a6376
|
||||
DIST pkcs11-helper-1.25.tar.bz2 425599 BLAKE2B 6272b5ff2d3eb2ea366ec2b9a6772f93877455b3349a51d696e0450ebd6c6947ced9a2565b2d11a4407abb80348aafabc8e56eb95bce720e3d01bb339fc2f8f7 SHA512 2b425d010cd0a7d6a21b3189f65d2db93d904e1634fa4b23df9a1417521d72fda7bcd595951295bbcdec8151dc5a167fdd7c4310a16474e404f578e2d20db69d
|
||||
DIST pkcs11-helper-1.25.1.tar.bz2 425719 BLAKE2B 527b387a981dbfd855d4eb0024dd7625388cda27c3a0e993b49315e311d46f1735afc8d436361ac1b75a7b3d7f1f712d7dda8eb546ab7adc3dc046bc85fd4c5a SHA512 a5954f4d07a166ed7e711b7a0aa84b454b25774b2fb187ca65bba439f59539c8074bda8ddd5f579d635fe0dc27d8415d8bd22707dc91327bbe05ce03e277b499
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,62 @@
|
||||
diff -urN a/intern/ffmpeg/ffmpeg_compat.h b/intern/ffmpeg/ffmpeg_compat.h
|
||||
--- a/intern/ffmpeg/ffmpeg_compat.h 2018-03-23 15:22:25.000000000 +0000
|
||||
+++ b/intern/ffmpeg/ffmpeg_compat.h 2018-08-16 14:39:23.484489828 +0100
|
||||
@@ -109,6 +109,45 @@
|
||||
|
||||
#endif
|
||||
|
||||
+/* XXX TODO Probably fix to correct modern flags in code? Not sure how old FFMPEG we want to support though,
|
||||
+ * so for now this will do. */
|
||||
+
|
||||
+#ifndef FF_MIN_BUFFER_SIZE
|
||||
+# ifdef AV_INPUT_BUFFER_MIN_SIZE
|
||||
+# define FF_MIN_BUFFER_SIZE AV_INPUT_BUFFER_MIN_SIZE
|
||||
+# endif
|
||||
+#endif
|
||||
+
|
||||
+#ifndef FF_INPUT_BUFFER_PADDING_SIZE
|
||||
+# ifdef AV_INPUT_BUFFER_PADDING_SIZE
|
||||
+# define FF_INPUT_BUFFER_PADDING_SIZE AV_INPUT_BUFFER_PADDING_SIZE
|
||||
+# endif
|
||||
+#endif
|
||||
+
|
||||
+#ifndef CODEC_FLAG_GLOBAL_HEADER
|
||||
+# ifdef AV_CODEC_FLAG_GLOBAL_HEADER
|
||||
+# define CODEC_FLAG_GLOBAL_HEADER AV_CODEC_FLAG_GLOBAL_HEADER
|
||||
+# endif
|
||||
+#endif
|
||||
+
|
||||
+#ifndef CODEC_FLAG_GLOBAL_HEADER
|
||||
+# ifdef AV_CODEC_FLAG_GLOBAL_HEADER
|
||||
+# define CODEC_FLAG_GLOBAL_HEADER AV_CODEC_FLAG_GLOBAL_HEADER
|
||||
+# endif
|
||||
+#endif
|
||||
+
|
||||
+#ifndef CODEC_FLAG_INTERLACED_DCT
|
||||
+# ifdef AV_CODEC_FLAG_INTERLACED_DCT
|
||||
+# define CODEC_FLAG_INTERLACED_DCT AV_CODEC_FLAG_INTERLACED_DCT
|
||||
+# endif
|
||||
+#endif
|
||||
+
|
||||
+#ifndef CODEC_FLAG_INTERLACED_ME
|
||||
+# ifdef AV_CODEC_FLAG_INTERLACED_ME
|
||||
+# define CODEC_FLAG_INTERLACED_ME AV_CODEC_FLAG_INTERLACED_ME
|
||||
+# endif
|
||||
+#endif
|
||||
+
|
||||
/* FFmpeg upstream 1.0 is the first who added AV_ prefix. */
|
||||
#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(54, 59, 100)
|
||||
# define AV_CODEC_ID_NONE CODEC_ID_NONE
|
||||
diff -urN a/source/blender/blenkernel/intern/writeffmpeg.c b/source/blender/blenkernel/intern/writeffmpeg.c
|
||||
--- a/source/blender/blenkernel/intern/writeffmpeg.c 2018-03-23 15:22:25.000000000 +0000
|
||||
+++ b/source/blender/blenkernel/intern/writeffmpeg.c 2018-08-16 14:39:21.702484751 +0100
|
||||
@@ -605,7 +605,8 @@
|
||||
c->rc_buffer_aggressivity = 1.0;
|
||||
#endif
|
||||
|
||||
- c->me_method = ME_EPZS;
|
||||
+ /* Deprecated and not doing anything since July 2015, deleted in recent ffmpeg */
|
||||
+ //c->me_method = ME_EPZS;
|
||||
|
||||
codec = avcodec_find_encoder(c->codec_id);
|
||||
if (!codec)
|
Binary file not shown.
@ -0,0 +1,45 @@
|
||||
From 909a8cfc7bca9b2e6707425bdb74da997e8fa499 Mon Sep 17 00:00:00 2001
|
||||
From: DRC <information@libjpeg-turbo.org>
|
||||
Date: Tue, 12 Jun 2018 16:08:26 -0500
|
||||
Subject: [PATCH] Fix CVE-2018-11813
|
||||
|
||||
Refer to change log for details.
|
||||
|
||||
Fixes #242
|
||||
---
|
||||
ChangeLog.md | 14 ++++++++++++++
|
||||
rdtarga.c | 6 ++----
|
||||
2 files changed, 16 insertions(+), 4 deletions(-)
|
||||
|
||||
--- libjpeg-turbo-1.5.3/rdtarga.c
|
||||
+++ libjpeg-turbo-1.5.3/rdtarga.c
|
||||
@@ -125,11 +125,10 @@
|
||||
read_non_rle_pixel (tga_source_ptr sinfo)
|
||||
/* Read one Targa pixel from the input file; no RLE expansion */
|
||||
{
|
||||
- register FILE *infile = sinfo->pub.input_file;
|
||||
register int i;
|
||||
|
||||
for (i = 0; i < sinfo->pixel_size; i++) {
|
||||
- sinfo->tga_pixel[i] = (U_CHAR) getc(infile);
|
||||
+ sinfo->tga_pixel[i] = (U_CHAR) read_byte(sinfo);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -138,7 +137,6 @@
|
||||
read_rle_pixel (tga_source_ptr sinfo)
|
||||
/* Read one Targa pixel from the input file, expanding RLE data as needed */
|
||||
{
|
||||
- register FILE *infile = sinfo->pub.input_file;
|
||||
register int i;
|
||||
|
||||
/* Duplicate previously read pixel? */
|
||||
@@ -160,7 +158,7 @@
|
||||
|
||||
/* Read next pixel */
|
||||
for (i = 0; i < sinfo->pixel_size; i++) {
|
||||
- sinfo->tga_pixel[i] = (U_CHAR) getc(infile);
|
||||
+ sinfo->tga_pixel[i] = (U_CHAR) read_byte(sinfo);
|
||||
}
|
||||
}
|
||||
|
@ -1,332 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
|
||||
|
||||
inherit toolchain-funcs cmake-utils python-r1 java-pkg-opt-2 java-ant-2
|
||||
|
||||
DESCRIPTION="A collection of algorithms and sample code for various computer vision problems"
|
||||
HOMEPAGE="https://opencv.org"
|
||||
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||
contrib? ( https://github.com/${PN}/${PN}_contrib/archive/${PV}.tar.gz -> ${P}_contrib.tar.gz
|
||||
contrib_xfeatures2d? ( https://dev.gentoo.org/~amynka/snap/vgg_boostdesc-${PV}.tar.gz ) )"
|
||||
LICENSE="BSD"
|
||||
SLOT="0/3.2" # subslot = libopencv* soname version
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux"
|
||||
IUSE="contrib cuda debug +eigen examples ffmpeg gdal gflags glog gphoto2 gstreamer gtk ieee1394 ipp jpeg jpeg2k lapack libav opencl openexr opengl openmp pch png +python qt5 tesseract testprograms threads tiff vaapi v4l vtk webp xine contrib_cvv contrib_hdf contrib_sfm contrib_xfeatures2d"
|
||||
|
||||
# OpenGL needs gtk or Qt installed to activate, otherwise build system
|
||||
# will silently disable it without the user knowing, which defeats the
|
||||
# purpose of the opengl use flag.
|
||||
REQUIRED_USE="
|
||||
cuda? ( tesseract? ( opencl ) )
|
||||
gflags? ( contrib )
|
||||
glog? ( contrib )
|
||||
contrib_cvv? ( contrib qt5 )
|
||||
contrib_hdf? ( contrib )
|
||||
contrib_sfm? ( contrib eigen gflags glog )
|
||||
opengl? ( || ( gtk qt5 ) )
|
||||
python? ( ${PYTHON_REQUIRED_USE} )
|
||||
tesseract? ( contrib )"
|
||||
|
||||
# The following logic is intrinsic in the build system, but we do not enforce
|
||||
# it on the useflags since this just blocks emerging pointlessly:
|
||||
# gtk? ( !qt5 )
|
||||
# openmp? ( !threads )
|
||||
|
||||
RDEPEND="
|
||||
app-arch/bzip2
|
||||
sys-libs/zlib
|
||||
cuda? ( dev-util/nvidia-cuda-toolkit:0= )
|
||||
contrib_hdf? ( sci-libs/hdf5 )
|
||||
ffmpeg? (
|
||||
libav? ( media-video/libav:0= )
|
||||
!libav? ( media-video/ffmpeg:0= )
|
||||
)
|
||||
gdal? ( sci-libs/gdal:= )
|
||||
gflags? ( dev-cpp/gflags )
|
||||
glog? ( dev-cpp/glog )
|
||||
gphoto2? ( media-libs/libgphoto2 )
|
||||
gstreamer? (
|
||||
media-libs/gstreamer:1.0
|
||||
media-libs/gst-plugins-base:1.0
|
||||
)
|
||||
gtk? (
|
||||
dev-libs/glib:2
|
||||
x11-libs/gtk+:2
|
||||
opengl? ( x11-libs/gtkglext )
|
||||
)
|
||||
ieee1394? (
|
||||
media-libs/libdc1394
|
||||
sys-libs/libraw1394
|
||||
)
|
||||
ipp? ( sci-libs/ipp )
|
||||
java? ( >=virtual/jre-1.6:* )
|
||||
jpeg? ( virtual/jpeg:0 )
|
||||
jpeg2k? ( media-libs/jasper:= )
|
||||
lapack? ( virtual/lapack )
|
||||
opencl? ( virtual/opencl )
|
||||
openexr? ( media-libs/openexr )
|
||||
opengl? ( virtual/opengl virtual/glu )
|
||||
png? ( media-libs/libpng:0= )
|
||||
python? ( ${PYTHON_DEPS} dev-python/numpy[${PYTHON_USEDEP}] )
|
||||
qt5? (
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qttest:5
|
||||
dev-qt/qtconcurrent:5
|
||||
opengl? ( dev-qt/qtopengl:5 )
|
||||
)
|
||||
tesseract? ( app-text/tesseract[opencl=] )
|
||||
threads? ( dev-cpp/tbb )
|
||||
tiff? ( media-libs/tiff:0 )
|
||||
v4l? ( >=media-libs/libv4l-0.8.3 )
|
||||
vtk? ( sci-libs/vtk[rendering] )
|
||||
webp? ( media-libs/libwebp )
|
||||
xine? ( media-libs/xine-lib )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
eigen? ( dev-cpp/eigen:3 )
|
||||
java? ( >=virtual/jdk-1.6 )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-3.0.0-gles.patch"
|
||||
"${FILESDIR}/${PN}-3.1.0-java-magic.patch"
|
||||
"${FILESDIR}/${PN}-3.1.0-find-libraries-fix.patch"
|
||||
"${FILESDIR}/${P}-vtk.patch"
|
||||
"${FILESDIR}/${P}-gcc-6.0.patch"
|
||||
"${FILESDIR}/${PN}-3.2.0-fix_ussage_cpu_instructions.patch"
|
||||
"${FILESDIR}/${P}-cpu-mno-sse2.patch"
|
||||
)
|
||||
|
||||
pkg_pretend() {
|
||||
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
||||
java-pkg-opt-2_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
|
||||
# remove bundled stuff
|
||||
rm -rf 3rdparty || die "Removing 3rd party components failed"
|
||||
sed -e '/add_subdirectory(.*3rdparty.*)/ d' \
|
||||
-i CMakeLists.txt cmake/*cmake || die
|
||||
|
||||
if use contrib && use contrib_xfeatures2d; then
|
||||
cd "${WORKDIR}/${PN}_contrib-${PV}" || die
|
||||
eapply "${FILESDIR}/${P}-contrib_xfeatures2d-autodownload.patch"
|
||||
mv "${WORKDIR}"/*.i "${WORKDIR}/${PN}_contrib-${PV}"/modules/xfeatures2d/src/ || die
|
||||
fi
|
||||
|
||||
java-pkg-opt-2_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
JAVA_ANT_ENCODING="iso-8859-1"
|
||||
# set encoding so even this cmake build will pick it up.
|
||||
export ANT_OPTS+=" -Dfile.encoding=iso-8859-1"
|
||||
java-ant-2_src_configure
|
||||
|
||||
# please dont sort here, order is the same as in CMakeLists.txt
|
||||
GLOBALCMAKEARGS=(
|
||||
# Optional 3rd party components
|
||||
# ===================================================
|
||||
-DWITH_1394=$(usex ieee1394)
|
||||
# -DWITH_AVFOUNDATION=OFF # IOS
|
||||
-DWITH_VTK=$(usex vtk)
|
||||
-DWITH_EIGEN=$(usex eigen)
|
||||
-DWITH_VFW=OFF # Video windows support
|
||||
-DWITH_FFMPEG=$(usex ffmpeg)
|
||||
-DWITH_GSTREAMER=$(usex gstreamer)
|
||||
-DWITH_GSTREAMER_0_10=OFF # Don't want this
|
||||
-DWITH_GTK=$(usex gtk)
|
||||
-DWITH_GTK_2_X=$(usex gtk)
|
||||
-DWITH_IPP=$(usex ipp)
|
||||
-DWITH_JASPER=$(usex jpeg2k)
|
||||
-DWITH_JPEG=$(usex jpeg)
|
||||
-DWITH_WEBP=$(usex webp)
|
||||
-DWITH_OPENEXR=$(usex openexr)
|
||||
-DWITH_OPENGL=$(usex opengl)
|
||||
-DWITH_OPENVX=OFF
|
||||
-DWITH_OPENNI=OFF # Not packaged
|
||||
-DWITH_OPENNI2=OFF # Not packaged
|
||||
-DWITH_PNG=$(usex png)
|
||||
-DWITH_GDCM=OFF
|
||||
-DWITH_PVAPI=OFF
|
||||
-DWITH_GIGEAPI=OFF
|
||||
-DWITH_ARAVIS=OFF
|
||||
-DWITH_QT=$(usex qt5 5 OFF)
|
||||
-DWITH_WIN32UI=OFF # Windows only
|
||||
# -DWITH_QUICKTIME=OFF
|
||||
# -DWITH_QTKIT=OFF
|
||||
-DWITH_TBB=$(usex threads)
|
||||
-DWITH_OPENMP=$(usex openmp)
|
||||
-DWITH_CSTRIPES=OFF
|
||||
-DWITH_PTHREADS_PF=ON
|
||||
-DWITH_TIFF=$(usex tiff)
|
||||
-DWITH_UNICAP=OFF # Not packaged
|
||||
-DWITH_V4L=$(usex v4l)
|
||||
-DWITH_LIBV4L=$(usex v4l)
|
||||
-DWITH_DSHOW=ON # direct show supp
|
||||
-DWITH_MSMF=OFF
|
||||
-DWITH_XIMEA=OFF # Windows only
|
||||
-DWITH_XINE=$(usex xine)
|
||||
-DWITH_CLP=OFF
|
||||
-DWITH_OPENCL=$(usex opencl)
|
||||
-DWITH_OPENCL_SVM=OFF
|
||||
-DWITH_OPENCLAMDFFT=$(usex opencl)
|
||||
-DWITH_OPENCLAMDBLAS=$(usex opencl)
|
||||
-DWITH_DIRECTX=OFF
|
||||
-DWITH_INTELPERC=OFF
|
||||
-DWITH_JAVA=$(usex java) # Ant needed, no compile flag
|
||||
-DWITH_IPP_A=OFF
|
||||
-DWITH_MATLAB=OFF
|
||||
-DWITH_VA=$(usex vaapi)
|
||||
-DWITH_VA_INTEL=$(usex vaapi)
|
||||
-DWITH_GDAL=$(usex gdal)
|
||||
-DWITH_GPHOTO2=$(usex gphoto2)
|
||||
-DWITH_LAPACK=$(usex lapack)
|
||||
# ===================================================
|
||||
# CUDA build components: nvidia-cuda-toolkit takes care of GCC version
|
||||
# ===================================================
|
||||
-DWITH_CUDA=$(usex cuda)
|
||||
-DWITH_CUBLAS=$(usex cuda)
|
||||
-DWITH_CUFFT=$(usex cuda)
|
||||
-DWITH_NVCUVID=OFF
|
||||
# -DWITH_NVCUVID=$(usex cuda)
|
||||
-DCUDA_NPP_LIBRARY_ROOT_DIR=$(usex cuda "${EPREFIX}/opt/cuda" "")
|
||||
# ===================================================
|
||||
# OpenCV build components
|
||||
# ===================================================
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
-DBUILD_ANDROID_EXAMPLES=OFF
|
||||
-BUILD_opencv_apps=
|
||||
-DBUILD_DOCS=OFF # Doesn't install anyways.
|
||||
-DBUILD_EXAMPLES=$(usex examples)
|
||||
-DBUILD_PERF_TESTS=OFF
|
||||
-DBUILD_TESTS=$(usex testprograms)
|
||||
-DBUILD_WITH_DEBUG_INFO=$(usex debug)
|
||||
# -DBUILD_WITH_STATIC_CRT=OFF
|
||||
-DBUILD_WITH_DYNAMIC_IPP=OFF
|
||||
-DBUILD_FAT_JAVA_LIB=$(usex java)
|
||||
# -DBUILD_ANDROID_SERVICE=OFF
|
||||
-DBUILD_CUDA_STUBS=$(usex cuda)
|
||||
-DOPENCV_EXTRA_MODULES_PATH=$(usex contrib "${WORKDIR}/opencv_contrib-${PV}/modules" "")
|
||||
# ===================================================
|
||||
# OpenCV installation options
|
||||
# ===================================================
|
||||
-DINSTALL_CREATE_DISTRIB=OFF
|
||||
-DINSTALL_C_EXAMPLES=$(usex examples)
|
||||
-DINSTALL_TESTS=$(usex testprograms)
|
||||
-DINSTALL_PYTHON_EXAMPLES=$(usex examples)
|
||||
# -DINSTALL_ANDROID_EXAMPLES=OFF
|
||||
-DINSTALL_TO_MANGLED_PATHS=OFF
|
||||
# ===================================================
|
||||
# OpenCV build options
|
||||
# ===================================================
|
||||
-DENABLE_CCACHE=OFF
|
||||
-DENABLE_PRECOMPILED_HEADERS=$(usex pch)
|
||||
-DENABLE_SOLUTION_FOLDERS=OFF
|
||||
-DENABLE_PROFILING=OFF
|
||||
-DENABLE_COVERAGE=OFF
|
||||
-DENABLE_OMIT_FRAME_POINTER=OFF
|
||||
-DENABLE_FAST_MATH=OFF
|
||||
-DENABLE_SSE=OFF
|
||||
-DENABLE_SSE2=OFF
|
||||
-DENABLE_SSE3=OFF
|
||||
-DENABLE_SSSE3=OFF
|
||||
-DENABLE_SSE41=OFF
|
||||
-DENABLE_SSE42=OFF
|
||||
-DENABLE_POPCNT=OFF
|
||||
-DENABLE_AVX=OFF
|
||||
-DENABLE_AVX=OFF
|
||||
-DENABLE_AVX2=OFF
|
||||
-DENABLE_FMA3=OFF
|
||||
-DENABLE_NEON=OFF
|
||||
|
||||
-DHAVE_opencv_java=$(usex java YES NO)
|
||||
-DENABLE_NOISY_WARNINGS=OFF
|
||||
-DOPENCV_WARNINGS_ARE_ERRORS=OFF
|
||||
-DENABLE_IMPL_COLLECTION=OFF
|
||||
-DENABLE_INSTRUMENTATION=OFF
|
||||
-DGENERATE_ABI_DESCRIPTOR=OFF
|
||||
-DDOWNLOAD_EXTERNAL_TEST_DATA=OFF
|
||||
# ===================================================
|
||||
# things we want to be hard off or not yet figured out
|
||||
# ===================================================
|
||||
-DBUILD_PACKAGE=OFF
|
||||
-DENABLE_PROFILING=OFF
|
||||
# ===================================================
|
||||
# things we want to be hard enabled not worth useflag
|
||||
# ===================================================
|
||||
-DCMAKE_SKIP_RPATH=ON
|
||||
-DOPENCV_DOC_INSTALL_PATH=
|
||||
)
|
||||
|
||||
# ===================================================
|
||||
# OpenCV Contrib Modules
|
||||
# ===================================================
|
||||
if use contrib; then
|
||||
GLOBALCMAKEARGS+=(
|
||||
-DBUILD_opencv_dnn=OFF
|
||||
-DBUILD_opencv_dnns_easily_fooled=OFF
|
||||
-DBUILD_opencv_xfeatures2d=$(usex contrib_xfeatures2d ON OFF)
|
||||
-DBUILD_opencv_cvv=$(usex contrib_cvv ON OFF)
|
||||
-DBUILD_opencv_hdf=$(usex contrib_hdf ON OFF)
|
||||
-DBUILD_opencv_sfm=$(usex contrib_sfm ON OFF)
|
||||
)
|
||||
fi
|
||||
|
||||
# workaround for bug 413429
|
||||
tc-export CC CXX
|
||||
|
||||
local mycmakeargs=( ${GLOBALCMAKEARGS[@]}
|
||||
-DPYTHON_EXECUTABLE=OFF
|
||||
-DINSTALL_PYTHON_EXAMPLES=OFF
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
python_module_compile() {
|
||||
local mycmakeargs=( ${GLOBALCMAKEARGS[@]} )
|
||||
|
||||
# Set all python variables to load the correct Gentoo paths
|
||||
mycmakeargs+=(
|
||||
# cheap trick: python_setup sets one of them as a symlink
|
||||
# to the correct interpreter, and the other to fail-wrapper
|
||||
-DPYTHON2_EXECUTABLE=$(type -P python2)
|
||||
-DPYTHON3_EXECUTABLE=$(type -P python3)
|
||||
-DINSTALL_PYTHON_EXAMPLES=$(usex examples)
|
||||
)
|
||||
|
||||
# Compile and install all at once because configuration will be wiped
|
||||
# for each impl of Python
|
||||
BUILD_DIR="${WORKDIR}"/${P}_build
|
||||
cd "${BUILD_DIR}" || die "cd failed"
|
||||
|
||||
# Regenerate cache file. Can't use rebuild_cache as it won't
|
||||
# have the Gentoo specific options.
|
||||
rm -rf CMakeCache.txt || die "rm failed"
|
||||
cmake-utils_src_configure
|
||||
cmake-utils_src_compile
|
||||
cmake-utils_src_install
|
||||
|
||||
# Remove compiled binary so new version compiles
|
||||
# Avoid conflicts with new module builds as build system doesn't
|
||||
# really support it.
|
||||
rm -rf modules/python2 || die "rm failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
# Build and install the python modules for all targets
|
||||
use python && python_foreach_impl python_module_compile
|
||||
}
|
@ -1,361 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
|
||||
|
||||
inherit toolchain-funcs python-r1 java-pkg-opt-2 java-ant-2 cmake-multilib
|
||||
|
||||
DESCRIPTION="A collection of algorithms and sample code for various computer vision problems"
|
||||
HOMEPAGE="https://opencv.org"
|
||||
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://dev.gentoo.org/~amynka/snap/imgcodecs-${P}.tar.gz
|
||||
contrib? ( https://github.com/${PN}/${PN}_contrib/archive/${PV}.tar.gz -> ${P}_contrib.tar.gz
|
||||
contrib_xfeatures2d? ( https://dev.gentoo.org/~amynka/snap/vgg_boostdesc-3.2.0.tar.gz ) ) "
|
||||
LICENSE="BSD"
|
||||
SLOT="0/3.3" # subslot = libopencv* soname version
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux"
|
||||
IUSE="contrib cuda debug +eigen examples ffmpeg gdal gflags glog gphoto2 gstreamer gtk ieee1394 ipp jpeg jpeg2k lapack libav opencl openexr opengl openmp pch png +python qt5 tesseract testprograms threads tiff vaapi v4l vtk webp xine contrib_cvv contrib_hdf contrib_sfm contrib_xfeatures2d"
|
||||
|
||||
# OpenGL needs gtk or Qt installed to activate, otherwise build system
|
||||
# will silently disable it without the user knowing, which defeats the
|
||||
# purpose of the opengl use flag.
|
||||
REQUIRED_USE="
|
||||
cuda? ( tesseract? ( opencl ) )
|
||||
gflags? ( contrib )
|
||||
glog? ( contrib )
|
||||
contrib_cvv? ( contrib qt5 )
|
||||
contrib_hdf? ( contrib )
|
||||
contrib_sfm? ( contrib eigen gflags glog )
|
||||
contrib_xfeatures2d? ( contrib cuda )
|
||||
java? ( python )
|
||||
opengl? ( || ( gtk qt5 ) )
|
||||
python? ( ${PYTHON_REQUIRED_USE} )
|
||||
tesseract? ( contrib )"
|
||||
|
||||
# The following logic is intrinsic in the build system, but we do not enforce
|
||||
# it on the useflags since this just blocks emerging pointlessly:
|
||||
# gtk? ( !qt5 )
|
||||
# openmp? ( !threads )
|
||||
|
||||
RDEPEND="
|
||||
app-arch/bzip2[${MULTILIB_USEDEP}]
|
||||
dev-libs/protobuf:=[${MULTILIB_USEDEP}]
|
||||
sys-libs/zlib[${MULTILIB_USEDEP}]
|
||||
cuda? ( dev-util/nvidia-cuda-toolkit:0= )
|
||||
contrib_hdf? ( sci-libs/hdf5 )
|
||||
ffmpeg? (
|
||||
libav? ( media-video/libav:0=[${MULTILIB_USEDEP}] )
|
||||
!libav? ( media-video/ffmpeg:0=[${MULTILIB_USEDEP}] )
|
||||
)
|
||||
gdal? ( sci-libs/gdal:= )
|
||||
gflags? ( dev-cpp/gflags[${MULTILIB_USEDEP}] )
|
||||
glog? ( dev-cpp/glog[${MULTILIB_USEDEP}] )
|
||||
gphoto2? ( media-libs/libgphoto2[${MULTILIB_USEDEP}] )
|
||||
gstreamer? (
|
||||
media-libs/gstreamer:1.0[${MULTILIB_USEDEP}]
|
||||
media-libs/gst-plugins-base:1.0[${MULTILIB_USEDEP}]
|
||||
)
|
||||
gtk? (
|
||||
dev-libs/glib:2[${MULTILIB_USEDEP}]
|
||||
x11-libs/gtk+:2[${MULTILIB_USEDEP}]
|
||||
opengl? ( x11-libs/gtkglext[${MULTILIB_USEDEP}] )
|
||||
)
|
||||
ieee1394? (
|
||||
media-libs/libdc1394[${MULTILIB_USEDEP}]
|
||||
sys-libs/libraw1394[${MULTILIB_USEDEP}]
|
||||
)
|
||||
ipp? ( sci-libs/ipp )
|
||||
java? ( >=virtual/jre-1.6:* )
|
||||
jpeg? ( virtual/jpeg:0[${MULTILIB_USEDEP}] )
|
||||
jpeg2k? ( media-libs/jasper:=[${MULTILIB_USEDEP}] )
|
||||
lapack? ( virtual/lapack )
|
||||
opencl? ( virtual/opencl[${MULTILIB_USEDEP}] )
|
||||
openexr? ( media-libs/openexr[${MULTILIB_USEDEP}] )
|
||||
opengl? (
|
||||
virtual/opengl[${MULTILIB_USEDEP}]
|
||||
virtual/glu[${MULTILIB_USEDEP}]
|
||||
)
|
||||
png? ( media-libs/libpng:0=[${MULTILIB_USEDEP}] )
|
||||
python? ( ${PYTHON_DEPS} dev-python/numpy[${PYTHON_USEDEP}] )
|
||||
qt5? (
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qttest:5
|
||||
dev-qt/qtconcurrent:5
|
||||
opengl? ( dev-qt/qtopengl:5 )
|
||||
)
|
||||
tesseract? ( app-text/tesseract[opencl=] )
|
||||
threads? ( dev-cpp/tbb[${MULTILIB_USEDEP}] )
|
||||
tiff? ( media-libs/tiff:0[${MULTILIB_USEDEP}] )
|
||||
v4l? ( >=media-libs/libv4l-0.8.3[${MULTILIB_USEDEP}] )
|
||||
vtk? ( sci-libs/vtk[rendering] )
|
||||
webp? ( media-libs/libwebp[${MULTILIB_USEDEP}] )
|
||||
xine? ( media-libs/xine-lib )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig[${MULTILIB_USEDEP}]
|
||||
eigen? ( dev-cpp/eigen:3 )
|
||||
java? ( >=virtual/jdk-1.6 )"
|
||||
|
||||
MULTILIB_WRAPPED_HEADERS=(
|
||||
/usr/include/opencv2/cvconfig.h
|
||||
/usr/include/opencv2/opencv_modules.hpp
|
||||
# [contrib_cvv]
|
||||
/usr/include/opencv2/cvv.hpp
|
||||
/usr/include/opencv2/cvv/call_meta_data.hpp
|
||||
/usr/include/opencv2/cvv/cvv.hpp
|
||||
/usr/include/opencv2/cvv/debug_mode.hpp
|
||||
/usr/include/opencv2/cvv/dmatch.hpp
|
||||
/usr/include/opencv2/cvv/filter.hpp
|
||||
/usr/include/opencv2/cvv/final_show.hpp
|
||||
/usr/include/opencv2/cvv/show_image.hpp
|
||||
# [contrib_hdf]
|
||||
/usr/include/opencv2/hdf.hpp
|
||||
/usr/include/opencv2/hdf/hdf5.hpp
|
||||
# [vtk]
|
||||
/usr/include/opencv2/viz.hpp
|
||||
/usr/include/opencv2/viz/types.hpp
|
||||
/usr/include/opencv2/viz/viz3d.hpp
|
||||
/usr/include/opencv2/viz/vizcore.hpp
|
||||
/usr/include/opencv2/viz/widget_accessor.hpp
|
||||
/usr/include/opencv2/viz/widgets.hpp
|
||||
)
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-3.0.0-gles.patch"
|
||||
"${FILESDIR}/${PN}-3.1.0-java-magic.patch"
|
||||
"${FILESDIR}/${PN}-3.1.0-find-libraries-fix.patch"
|
||||
"${WORKDIR}/${P}-imgcodecs-gcc.patch" # bug 627958 and https://github.com/opencv/opencv/pull/9376
|
||||
)
|
||||
|
||||
pkg_pretend() {
|
||||
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
||||
java-pkg-opt-2_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
|
||||
# remove bundled stuff
|
||||
rm -rf 3rdparty || die "Removing 3rd party components failed"
|
||||
sed -e '/add_subdirectory(.*3rdparty.*)/ d' \
|
||||
-i CMakeLists.txt cmake/*cmake || die
|
||||
|
||||
if use contrib && use contrib_xfeatures2d; then
|
||||
cd "${WORKDIR}/${PN}_contrib-${PV}" || die
|
||||
eapply "${FILESDIR}/${P}-contrib-xfeatures2d.patch"
|
||||
mv "${WORKDIR}"/*.i "${WORKDIR}/${PN}_contrib-${PV}"/modules/xfeatures2d/src/ || die
|
||||
fi
|
||||
|
||||
java-pkg-opt-2_src_prepare
|
||||
|
||||
# this really belongs in src_prepare() too
|
||||
JAVA_ANT_ENCODING="iso-8859-1"
|
||||
# set encoding so even this cmake build will pick it up.
|
||||
export ANT_OPTS+=" -Dfile.encoding=iso-8859-1"
|
||||
java-ant-2_src_configure
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
# please dont sort here, order is the same as in CMakeLists.txt
|
||||
GLOBALCMAKEARGS=(
|
||||
# Optional 3rd party components
|
||||
# ===================================================
|
||||
-DWITH_1394=$(usex ieee1394)
|
||||
# -DWITH_AVFOUNDATION=OFF # IOS
|
||||
-DWITH_VTK=$(multilib_native_usex vtk)
|
||||
-DWITH_EIGEN=$(usex eigen)
|
||||
-DWITH_VFW=OFF # Video windows support
|
||||
-DWITH_FFMPEG=$(usex ffmpeg)
|
||||
-DWITH_GSTREAMER=$(usex gstreamer)
|
||||
-DWITH_GSTREAMER_0_10=OFF # Don't want this
|
||||
-DWITH_GTK=$(usex gtk)
|
||||
-DWITH_GTK_2_X=$(usex gtk)
|
||||
-DWITH_IPP=$(multilib_native_usex ipp)
|
||||
-DWITH_JASPER=$(usex jpeg2k)
|
||||
-DWITH_JPEG=$(usex jpeg)
|
||||
-DWITH_WEBP=$(usex webp)
|
||||
-DWITH_OPENEXR=$(usex openexr)
|
||||
-DWITH_OPENGL=$(usex opengl)
|
||||
-DWITH_OPENVX=OFF
|
||||
-DWITH_OPENNI=OFF # Not packaged
|
||||
-DWITH_OPENNI2=OFF # Not packaged
|
||||
-DWITH_PNG=$(usex png)
|
||||
-DWITH_GDCM=OFF
|
||||
-DWITH_PVAPI=OFF
|
||||
-DWITH_GIGEAPI=OFF
|
||||
-DWITH_ARAVIS=OFF
|
||||
-DWITH_QT=$(multilib_native_usex qt5 5 OFF)
|
||||
-DWITH_WIN32UI=OFF # Windows only
|
||||
# -DWITH_QUICKTIME=OFF
|
||||
# -DWITH_QTKIT=OFF
|
||||
-DWITH_TBB=$(usex threads)
|
||||
-DWITH_OPENMP=$(usex openmp)
|
||||
-DWITH_CSTRIPES=OFF
|
||||
-DWITH_PTHREADS_PF=ON
|
||||
-DWITH_TIFF=$(usex tiff)
|
||||
-DWITH_UNICAP=OFF # Not packaged
|
||||
-DWITH_V4L=$(usex v4l)
|
||||
-DWITH_LIBV4L=$(usex v4l)
|
||||
-DWITH_DSHOW=ON # direct show supp
|
||||
-DWITH_MSMF=OFF
|
||||
-DWITH_XIMEA=OFF # Windows only
|
||||
-DWITH_XINE=$(multilib_native_usex xine)
|
||||
-DWITH_CLP=OFF
|
||||
-DWITH_OPENCL=$(usex opencl)
|
||||
-DWITH_OPENCL_SVM=OFF
|
||||
-DWITH_OPENCLAMDFFT=$(usex opencl)
|
||||
-DWITH_OPENCLAMDBLAS=$(usex opencl)
|
||||
-DWITH_DIRECTX=OFF
|
||||
-DWITH_INTELPERC=OFF
|
||||
-DWITH_JAVA=$(multilib_native_usex java) # Ant needed, no compile flag
|
||||
-DWITH_IPP_A=OFF
|
||||
-DWITH_MATLAB=OFF
|
||||
-DWITH_VA=$(usex vaapi)
|
||||
-DWITH_VA_INTEL=$(usex vaapi)
|
||||
-DWITH_GDAL=$(multilib_native_usex gdal)
|
||||
-DWITH_GPHOTO2=$(usex gphoto2)
|
||||
-DWITH_LAPACK=$(multilib_native_usex lapack)
|
||||
-DWITH_ITT=OFF # 3dparty libs itt_notify
|
||||
# ===================================================
|
||||
# CUDA build components: nvidia-cuda-toolkit takes care of GCC version
|
||||
# ===================================================
|
||||
-DWITH_CUDA=$(multilib_native_usex cuda)
|
||||
-DWITH_CUBLAS=$(multilib_native_usex cuda)
|
||||
-DWITH_CUFFT=$(multilib_native_usex cuda)
|
||||
-DWITH_NVCUVID=OFF
|
||||
# -DWITH_NVCUVID=$(usex cuda)
|
||||
-DCUDA_NPP_LIBRARY_ROOT_DIR=$(usex cuda "${EPREFIX}/opt/cuda" "")
|
||||
# ===================================================
|
||||
# OpenCV build components
|
||||
# ===================================================
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
-DBUILD_ANDROID_EXAMPLES=OFF
|
||||
-BUILD_opencv_apps=
|
||||
-DBUILD_DOCS=OFF # Doesn't install anyways.
|
||||
-DBUILD_EXAMPLES=$(multilib_native_usex examples)
|
||||
-DBUILD_PERF_TESTS=OFF
|
||||
-DBUILD_TESTS=$(multilib_native_usex testprograms)
|
||||
-DBUILD_WITH_DEBUG_INFO=$(usex debug)
|
||||
# -DBUILD_WITH_STATIC_CRT=OFF
|
||||
-DBUILD_WITH_DYNAMIC_IPP=OFF
|
||||
-DBUILD_FAT_JAVA_LIB=$(multilib_native_usex java)
|
||||
# -DBUILD_ANDROID_SERVICE=OFF
|
||||
-DBUILD_CUDA_STUBS=$(multilib_native_usex cuda)
|
||||
-DOPENCV_EXTRA_MODULES_PATH=$(usex contrib "${WORKDIR}/opencv_contrib-${PV}/modules" "")
|
||||
# ===================================================
|
||||
# OpenCV installation options
|
||||
# ===================================================
|
||||
-DINSTALL_CREATE_DISTRIB=OFF
|
||||
-DINSTALL_C_EXAMPLES=$(multilib_native_usex examples)
|
||||
-DINSTALL_TESTS=$(multilib_native_usex testprograms)
|
||||
-DINSTALL_PYTHON_EXAMPLES=$(multilib_native_usex examples)
|
||||
# -DINSTALL_ANDROID_EXAMPLES=OFF
|
||||
-DINSTALL_TO_MANGLED_PATHS=OFF
|
||||
# ===================================================
|
||||
# OpenCV build options
|
||||
# ===================================================
|
||||
-DENABLE_CCACHE=OFF
|
||||
-DENABLE_PRECOMPILED_HEADERS=$(usex pch)
|
||||
-DENABLE_SOLUTION_FOLDERS=OFF
|
||||
-DENABLE_PROFILING=OFF
|
||||
-DENABLE_COVERAGE=OFF
|
||||
|
||||
-DHAVE_opencv_java=$(multilib_native_usex java YES NO)
|
||||
-DENABLE_NOISY_WARNINGS=OFF
|
||||
-DOPENCV_WARNINGS_ARE_ERRORS=OFF
|
||||
-DENABLE_IMPL_COLLECTION=OFF
|
||||
-DENABLE_INSTRUMENTATION=OFF
|
||||
-DGENERATE_ABI_DESCRIPTOR=OFF
|
||||
-DDOWNLOAD_EXTERNAL_TEST_DATA=OFF
|
||||
# ===================================================
|
||||
# things we want to be hard off or not yet figured out
|
||||
# ===================================================
|
||||
-DBUILD_PACKAGE=OFF
|
||||
# ===================================================
|
||||
# Not building protobuf but update files bug #631418
|
||||
# ===================================================
|
||||
-DBUILD_PROTOBUF=OFF
|
||||
-DPROTOBUF_UPDATE_FILES=ON
|
||||
# ===================================================
|
||||
# things we want to be hard enabled not worth useflag
|
||||
# ===================================================
|
||||
-DCMAKE_SKIP_RPATH=ON
|
||||
-DOPENCV_DOC_INSTALL_PATH=
|
||||
)
|
||||
|
||||
# ===================================================
|
||||
# OpenCV Contrib Modules
|
||||
# ===================================================
|
||||
if use contrib; then
|
||||
GLOBALCMAKEARGS+=(
|
||||
-DBUILD_opencv_dnn=OFF
|
||||
-DBUILD_opencv_dnns_easily_fooled=OFF
|
||||
-DBUILD_opencv_xfeatures2d=$(usex contrib_xfeatures2d ON OFF)
|
||||
-DBUILD_opencv_cvv=$(usex contrib_cvv ON OFF)
|
||||
-DBUILD_opencv_hdf=$(multilib_native_usex contrib_hdf ON OFF)
|
||||
-DBUILD_opencv_sfm=$(usex contrib_sfm ON OFF)
|
||||
)
|
||||
|
||||
if multilib_is_native_abi; then
|
||||
GLOBALCMAKEARGS+=(
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_Tesseract=$(usex !tesseract)
|
||||
)
|
||||
else
|
||||
GLOBALCMAKEARGS+=(
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_Tesseract=ON
|
||||
)
|
||||
fi
|
||||
fi
|
||||
|
||||
# workaround for bug 413429
|
||||
tc-export CC CXX
|
||||
|
||||
local mycmakeargs=( ${GLOBALCMAKEARGS[@]}
|
||||
-DPYTHON_EXECUTABLE=OFF
|
||||
-DINSTALL_PYTHON_EXAMPLES=OFF
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
python_module_compile() {
|
||||
local BUILD_DIR=${orig_BUILD_DIR}
|
||||
local mycmakeargs=( ${GLOBALCMAKEARGS[@]} )
|
||||
|
||||
# Set all python variables to load the correct Gentoo paths
|
||||
mycmakeargs+=(
|
||||
# cheap trick: python_setup sets one of them as a symlink
|
||||
# to the correct interpreter, and the other to fail-wrapper
|
||||
-DPYTHON2_EXECUTABLE=$(type -P python2)
|
||||
-DPYTHON3_EXECUTABLE=$(type -P python3)
|
||||
-DINSTALL_PYTHON_EXAMPLES=$(usex examples)
|
||||
)
|
||||
|
||||
# Regenerate cache file. Can't use rebuild_cache as it won't
|
||||
# have the Gentoo specific options.
|
||||
rm -rf CMakeCache.txt || die "rm failed"
|
||||
cmake-utils_src_configure
|
||||
cmake-utils_src_compile
|
||||
cmake-utils_src_install
|
||||
|
||||
# Remove compiled binary so new version compiles
|
||||
# Avoid conflicts with new module builds as build system doesn't
|
||||
# really support it.
|
||||
rm -rf modules/python2 || die "rm failed"
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
# Build and install the python modules for all targets
|
||||
if multilib_is_native_abi && use python; then
|
||||
local orig_BUILD_DIR=${BUILD_DIR}
|
||||
python_foreach_impl python_module_compile
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1 +1 @@
|
||||
Thu, 16 Aug 2018 10:38:43 +0000
|
||||
Thu, 16 Aug 2018 17:08:42 +0000
|
||||
|
@ -1 +1 @@
|
||||
Thu, 16 Aug 2018 10:38:43 +0000
|
||||
Thu, 16 Aug 2018 17:08:43 +0000
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,14 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install preinst prepare setup test
|
||||
DEPEND=app-arch/bzip2 sys-libs/zlib cuda? ( >=dev-util/nvidia-cuda-toolkit-5.5 ) ffmpeg? ( libav? ( media-video/libav:0= ) !libav? ( media-video/ffmpeg:0= ) ) gstreamer? ( media-libs/gstreamer:1.0 media-libs/gst-plugins-base:1.0 ) gtk? ( dev-libs/glib:2 x11-libs/gtk+:2 opengl? ( x11-libs/gtkglext ) ) java? ( >=virtual/jre-1.6:* ) jpeg? ( virtual/jpeg:0 ) jpeg2k? ( media-libs/jasper:= ) ieee1394? ( media-libs/libdc1394 sys-libs/libraw1394 ) ipp? ( sci-libs/ipp ) opencl? ( virtual/opencl ) openexr? ( media-libs/openexr ) opengl? ( virtual/opengl virtual/glu ) png? ( media-libs/libpng:0= ) python? ( python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-),python_single_target_python2_7(+)] dev-python/numpy[python_targets_python2_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-),python_single_target_python2_7(+)] ) qt5? ( dev-qt/qtconcurrent:5 dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qttest:5 opengl? ( dev-qt/qtopengl:5 ) ) threads? ( dev-cpp/tbb ) tiff? ( media-libs/tiff:0 ) v4l? ( >=media-libs/libv4l-0.8.3 ) vtk? ( sci-libs/vtk[rendering] ) xine? ( media-libs/xine-lib ) virtual/pkgconfig eigen? ( dev-cpp/eigen:3 ) java? ( >=virtual/jdk-1.6 ) sys-devel/make >=dev-util/cmake-3.9.6 java? ( >=dev-java/java-config-2.2.0-r3 ) java? ( >=dev-java/ant-core-1.8.2:0 >=dev-java/javatoolkit-0.3.0-r2 )
|
||||
DEPEND=app-arch/bzip2 sys-libs/zlib cuda? ( >=dev-util/nvidia-cuda-toolkit-5.5 ) ffmpeg? ( libav? ( media-video/libav:0= ) !libav? ( media-video/ffmpeg:0= ) ) gstreamer? ( media-libs/gstreamer:1.0 media-libs/gst-plugins-base:1.0 ) gtk? ( dev-libs/glib:2 x11-libs/gtk+:2 opengl? ( x11-libs/gtkglext ) ) java? ( >=virtual/jre-1.6:* ) jpeg? ( virtual/jpeg:0 ) jpeg2k? ( media-libs/jasper:= ) ieee1394? ( media-libs/libdc1394 sys-libs/libraw1394 ) opencl? ( virtual/opencl ) openexr? ( media-libs/openexr ) opengl? ( virtual/opengl virtual/glu ) png? ( media-libs/libpng:0= ) python? ( python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-),python_single_target_python2_7(+)] dev-python/numpy[python_targets_python2_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-),python_single_target_python2_7(+)] ) qt5? ( dev-qt/qtconcurrent:5 dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qttest:5 opengl? ( dev-qt/qtopengl:5 ) ) threads? ( dev-cpp/tbb ) tiff? ( media-libs/tiff:0 ) v4l? ( >=media-libs/libv4l-0.8.3 ) vtk? ( sci-libs/vtk[rendering] ) xine? ( media-libs/xine-lib ) virtual/pkgconfig eigen? ( dev-cpp/eigen:3 ) java? ( >=virtual/jdk-1.6 ) sys-devel/make >=dev-util/cmake-3.9.6 java? ( >=dev-java/java-config-2.2.0-r3 ) java? ( >=dev-java/ant-core-1.8.2:0 >=dev-java/javatoolkit-0.3.0-r2 )
|
||||
DESCRIPTION=A collection of algorithms and sample code for various computer vision problems
|
||||
EAPI=6
|
||||
HOMEPAGE=https://opencv.org
|
||||
IUSE=cuda +eigen examples ffmpeg gstreamer gtk ieee1394 ipp jpeg jpeg2k libav opencl openexr opengl openmp pch png +python qt5 testprograms threads tiff v4l vtk xine python_targets_python2_7 elibc_FreeBSD java elibc_FreeBSD
|
||||
IUSE=cuda +eigen examples ffmpeg gstreamer gtk ieee1394 jpeg jpeg2k libav opencl openexr opengl openmp pch png +python qt5 testprograms threads tiff v4l vtk xine python_targets_python2_7 elibc_FreeBSD java elibc_FreeBSD
|
||||
KEYWORDS=amd64 ~arm ~ppc ~ppc64 x86 ~amd64-linux
|
||||
LICENSE=BSD
|
||||
RDEPEND=app-arch/bzip2 sys-libs/zlib cuda? ( >=dev-util/nvidia-cuda-toolkit-5.5 ) ffmpeg? ( libav? ( media-video/libav:0= ) !libav? ( media-video/ffmpeg:0= ) ) gstreamer? ( media-libs/gstreamer:1.0 media-libs/gst-plugins-base:1.0 ) gtk? ( dev-libs/glib:2 x11-libs/gtk+:2 opengl? ( x11-libs/gtkglext ) ) java? ( >=virtual/jre-1.6:* ) jpeg? ( virtual/jpeg:0 ) jpeg2k? ( media-libs/jasper:= ) ieee1394? ( media-libs/libdc1394 sys-libs/libraw1394 ) ipp? ( sci-libs/ipp ) opencl? ( virtual/opencl ) openexr? ( media-libs/openexr ) opengl? ( virtual/opengl virtual/glu ) png? ( media-libs/libpng:0= ) python? ( python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-),python_single_target_python2_7(+)] dev-python/numpy[python_targets_python2_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-),python_single_target_python2_7(+)] ) qt5? ( dev-qt/qtconcurrent:5 dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qttest:5 opengl? ( dev-qt/qtopengl:5 ) ) threads? ( dev-cpp/tbb ) tiff? ( media-libs/tiff:0 ) v4l? ( >=media-libs/libv4l-0.8.3 ) vtk? ( sci-libs/vtk[rendering] ) xine? ( media-libs/xine-lib ) java? ( >=dev-java/java-config-2.2.0-r3 )
|
||||
RDEPEND=app-arch/bzip2 sys-libs/zlib cuda? ( >=dev-util/nvidia-cuda-toolkit-5.5 ) ffmpeg? ( libav? ( media-video/libav:0= ) !libav? ( media-video/ffmpeg:0= ) ) gstreamer? ( media-libs/gstreamer:1.0 media-libs/gst-plugins-base:1.0 ) gtk? ( dev-libs/glib:2 x11-libs/gtk+:2 opengl? ( x11-libs/gtkglext ) ) java? ( >=virtual/jre-1.6:* ) jpeg? ( virtual/jpeg:0 ) jpeg2k? ( media-libs/jasper:= ) ieee1394? ( media-libs/libdc1394 sys-libs/libraw1394 ) opencl? ( virtual/opencl ) openexr? ( media-libs/openexr ) opengl? ( virtual/opengl virtual/glu ) png? ( media-libs/libpng:0= ) python? ( python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-),python_single_target_python2_7(+)] dev-python/numpy[python_targets_python2_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-),python_single_target_python2_7(+)] ) qt5? ( dev-qt/qtconcurrent:5 dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qttest:5 opengl? ( dev-qt/qtopengl:5 ) ) threads? ( dev-cpp/tbb ) tiff? ( media-libs/tiff:0 ) v4l? ( >=media-libs/libv4l-0.8.3 ) vtk? ( sci-libs/vtk[rendering] ) xine? ( media-libs/xine-lib ) java? ( >=dev-java/java-config-2.2.0-r3 )
|
||||
REQUIRED_USE=python? ( python_targets_python2_7 )
|
||||
SLOT=0/2.4
|
||||
SRC_URI=https://github.com/Itseez/opencv/archive/2.4.13.tar.gz -> opencv-2.4.13.tar.gz
|
||||
_eclasses_=cmake-utils ec27c4d90ac99a1a0fb77d97bfc597ee desktop b1d22ac8bdd4679ab79c71aca235009d epatch ed88001f77c6dd0d5f09e45c1a5b480e estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 6e6c2737b59a4b982de6fb3ecefd87f8 flag-o-matic 5128c4729303400bd8d4b0b966530955 java-ant-2 ea15ab9e838d1062abd6b53de2045d50 java-pkg-opt-2 77d2e22d0de7640f817d20e861c0ff3f java-utils-2 0ee72667014428e01a01df2345244cf3 ltprune 08f9e1d9ee0af8f5d9a7854efbcd8c0e multilib 97f470f374f2e94ccab04a2fb21d811e multiprocessing cac3169468f893670dac3e7cb940e045 ninja-utils 132cbb376048d079b5a012f5467c4e7f preserve-libs ef207dc62baddfddfd39a164d9797648 python-single-r1 3a0fc81f484bfdbd9c2b7448015a36e4 python-utils-r1 12114a2a9aab35b93efc037a196b3234 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf versionator 2352c3fc97241f6a02042773c8287748 xdg-utils 89bb9f083a2590d9b447fd0b78a96186
|
||||
_md5_=dbb0be6f401ffb448b480f2d5227dd4d
|
||||
_md5_=981a8fec18d4c14eb69b382b36850ad4
|
||||
|
@ -1,14 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install preinst prepare pretend setup test
|
||||
DEPEND=app-arch/bzip2 sys-libs/zlib cuda? ( dev-util/nvidia-cuda-toolkit:0= ) contrib_hdf? ( sci-libs/hdf5 ) ffmpeg? ( libav? ( media-video/libav:0= ) !libav? ( media-video/ffmpeg:0= ) ) gdal? ( sci-libs/gdal:= ) gflags? ( dev-cpp/gflags ) glog? ( dev-cpp/glog ) gphoto2? ( media-libs/libgphoto2 ) gstreamer? ( media-libs/gstreamer:1.0 media-libs/gst-plugins-base:1.0 ) gtk? ( dev-libs/glib:2 x11-libs/gtk+:2 opengl? ( x11-libs/gtkglext ) ) ieee1394? ( media-libs/libdc1394 sys-libs/libraw1394 ) ipp? ( sci-libs/ipp ) java? ( >=virtual/jre-1.6:* ) jpeg? ( virtual/jpeg:0 ) jpeg2k? ( media-libs/jasper:= ) lapack? ( virtual/lapack ) opencl? ( virtual/opencl ) openexr? ( media-libs/openexr ) opengl? ( virtual/opengl virtual/glu ) png? ( media-libs/libpng:0= ) python? ( python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] dev-python/numpy[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] ) qt5? ( dev-qt/qtgui:5 dev-qt/qtwidgets:5 dev-qt/qttest:5 dev-qt/qtconcurrent:5 opengl? ( dev-qt/qtopengl:5 ) ) tesseract? ( app-text/tesseract[opencl=] ) threads? ( dev-cpp/tbb ) tiff? ( media-libs/tiff:0 ) v4l? ( >=media-libs/libv4l-0.8.3 ) vtk? ( sci-libs/vtk[rendering] ) webp? ( media-libs/libwebp ) xine? ( media-libs/xine-lib ) virtual/pkgconfig eigen? ( dev-cpp/eigen:3 ) java? ( >=virtual/jdk-1.6 ) sys-devel/make >=dev-util/cmake-3.9.6 java? ( >=dev-java/java-config-2.2.0-r3 ) java? ( >=dev-java/ant-core-1.8.2:0 >=dev-java/javatoolkit-0.3.0-r2 )
|
||||
DESCRIPTION=A collection of algorithms and sample code for various computer vision problems
|
||||
EAPI=6
|
||||
HOMEPAGE=https://opencv.org
|
||||
IUSE=contrib cuda debug +eigen examples ffmpeg gdal gflags glog gphoto2 gstreamer gtk ieee1394 ipp jpeg jpeg2k lapack libav opencl openexr opengl openmp pch png +python qt5 tesseract testprograms threads tiff vaapi v4l vtk webp xine contrib_cvv contrib_hdf contrib_sfm contrib_xfeatures2d python_targets_python2_7 python_targets_python3_4 python_targets_python3_5 elibc_FreeBSD java elibc_FreeBSD
|
||||
KEYWORDS=~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux
|
||||
LICENSE=BSD
|
||||
RDEPEND=app-arch/bzip2 sys-libs/zlib cuda? ( dev-util/nvidia-cuda-toolkit:0= ) contrib_hdf? ( sci-libs/hdf5 ) ffmpeg? ( libav? ( media-video/libav:0= ) !libav? ( media-video/ffmpeg:0= ) ) gdal? ( sci-libs/gdal:= ) gflags? ( dev-cpp/gflags ) glog? ( dev-cpp/glog ) gphoto2? ( media-libs/libgphoto2 ) gstreamer? ( media-libs/gstreamer:1.0 media-libs/gst-plugins-base:1.0 ) gtk? ( dev-libs/glib:2 x11-libs/gtk+:2 opengl? ( x11-libs/gtkglext ) ) ieee1394? ( media-libs/libdc1394 sys-libs/libraw1394 ) ipp? ( sci-libs/ipp ) java? ( >=virtual/jre-1.6:* ) jpeg? ( virtual/jpeg:0 ) jpeg2k? ( media-libs/jasper:= ) lapack? ( virtual/lapack ) opencl? ( virtual/opencl ) openexr? ( media-libs/openexr ) opengl? ( virtual/opengl virtual/glu ) png? ( media-libs/libpng:0= ) python? ( python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] dev-python/numpy[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] ) qt5? ( dev-qt/qtgui:5 dev-qt/qtwidgets:5 dev-qt/qttest:5 dev-qt/qtconcurrent:5 opengl? ( dev-qt/qtopengl:5 ) ) tesseract? ( app-text/tesseract[opencl=] ) threads? ( dev-cpp/tbb ) tiff? ( media-libs/tiff:0 ) v4l? ( >=media-libs/libv4l-0.8.3 ) vtk? ( sci-libs/vtk[rendering] ) webp? ( media-libs/libwebp ) xine? ( media-libs/xine-lib ) java? ( >=dev-java/java-config-2.2.0-r3 )
|
||||
REQUIRED_USE=cuda? ( tesseract? ( opencl ) ) gflags? ( contrib ) glog? ( contrib ) contrib_cvv? ( contrib qt5 ) contrib_hdf? ( contrib ) contrib_sfm? ( contrib eigen gflags glog ) opengl? ( || ( gtk qt5 ) ) python? ( || ( python_targets_python2_7 python_targets_python3_4 python_targets_python3_5 ) ) tesseract? ( contrib )
|
||||
SLOT=0/3.2
|
||||
SRC_URI=https://github.com/opencv/opencv/archive/3.2.0.tar.gz -> opencv-3.2.0.tar.gz contrib? ( https://github.com/opencv/opencv_contrib/archive/3.2.0.tar.gz -> opencv-3.2.0_contrib.tar.gz contrib_xfeatures2d? ( https://dev.gentoo.org/~amynka/snap/vgg_boostdesc-3.2.0.tar.gz ) )
|
||||
_eclasses_=cmake-utils ec27c4d90ac99a1a0fb77d97bfc597ee desktop b1d22ac8bdd4679ab79c71aca235009d epatch ed88001f77c6dd0d5f09e45c1a5b480e estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 6e6c2737b59a4b982de6fb3ecefd87f8 flag-o-matic 5128c4729303400bd8d4b0b966530955 java-ant-2 ea15ab9e838d1062abd6b53de2045d50 java-pkg-opt-2 77d2e22d0de7640f817d20e861c0ff3f java-utils-2 0ee72667014428e01a01df2345244cf3 ltprune 08f9e1d9ee0af8f5d9a7854efbcd8c0e multibuild 40fe59465edacd730c644ec2bc197809 multilib 97f470f374f2e94ccab04a2fb21d811e multiprocessing cac3169468f893670dac3e7cb940e045 ninja-utils 132cbb376048d079b5a012f5467c4e7f preserve-libs ef207dc62baddfddfd39a164d9797648 python-r1 ce1cd23cfdc1848e8e32743efe34f299 python-utils-r1 12114a2a9aab35b93efc037a196b3234 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf versionator 2352c3fc97241f6a02042773c8287748 xdg-utils 89bb9f083a2590d9b447fd0b78a96186
|
||||
_md5_=dccc61a5a7970551d71dbea49cc5efaa
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) python_targets_python3_6? ( dev-lang/python:3.6 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)]
|
||||
DESCRIPTION=A Nagios plugin to check whether an OpenVPN server is alive
|
||||
EAPI=6
|
||||
HOMEPAGE=https://github.com/liquidat/nagios-icinga-openvpn
|
||||
IUSE=python_targets_python2_7 python_targets_python3_4 python_targets_python3_5 python_targets_python3_6
|
||||
KEYWORDS=~amd64
|
||||
LICENSE=MIT
|
||||
RDEPEND=python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) python_targets_python3_6? ( dev-lang/python:3.6 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)]
|
||||
REQUIRED_USE=|| ( python_targets_python2_7 python_targets_python3_4 python_targets_python3_5 python_targets_python3_6 )
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/liquidat/nagios-icinga-openvpn/archive/0.0.1.tar.gz -> nagios-icinga-openvpn-0.0.1.tar.gz
|
||||
_eclasses_=distutils-r1 8595c9c7530ac3963f3aa0d77aa7e2d8 multibuild 40fe59465edacd730c644ec2bc197809 multilib 97f470f374f2e94ccab04a2fb21d811e multiprocessing cac3169468f893670dac3e7cb940e045 python-r1 ce1cd23cfdc1848e8e32743efe34f299 python-utils-r1 12114a2a9aab35b93efc037a196b3234 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 xdg-utils 89bb9f083a2590d9b447fd0b78a96186
|
||||
_md5_=9387d50a6f7e8998ed425c7d11b1496e
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,15 @@
|
||||
DEFINED_PHASES=configure install postinst preinst prepare pretend test
|
||||
DEPEND=!static? ( audit? ( sys-process/audit ) ldns? ( net-libs/ldns !bindist? ( net-libs/ldns[ecdsa,ssl(+)] ) bindist? ( net-libs/ldns[-ecdsa,ssl(+)] ) ) libedit? ( dev-libs/libedit:= ) sctp? ( net-misc/lksctp-tools ) selinux? ( >=sys-libs/libselinux-1.28 ) skey? ( >=sys-auth/skey-1.1.5-r1 ) ssl? ( !libressl? ( >=dev-libs/openssl-1.0.1:0=[bindist=] dev-libs/openssl:0= ) libressl? ( dev-libs/libressl:0= ) ) >=sys-libs/zlib-1.2.3:= ) pam? ( virtual/pam ) kerberos? ( virtual/krb5 ) static? ( audit? ( sys-process/audit[static-libs(+)] ) ldns? ( net-libs/ldns[static-libs(+)] !bindist? ( net-libs/ldns[ecdsa,ssl(+)] ) bindist? ( net-libs/ldns[-ecdsa,ssl(+)] ) ) libedit? ( dev-libs/libedit:=[static-libs(+)] ) sctp? ( net-misc/lksctp-tools[static-libs(+)] ) selinux? ( >=sys-libs/libselinux-1.28[static-libs(+)] ) skey? ( >=sys-auth/skey-1.1.5-r1[static-libs(+)] ) ssl? ( !libressl? ( >=dev-libs/openssl-1.0.1:0=[bindist=] dev-libs/openssl:0=[static-libs(+)] ) libressl? ( dev-libs/libressl:0=[static-libs(+)] ) ) >=sys-libs/zlib-1.2.3:=[static-libs(+)] ) virtual/pkgconfig virtual/os-headers sys-devel/autoconf >=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 virtual/pkgconfig
|
||||
DESCRIPTION=Port of OpenBSD's free SSH release
|
||||
EAPI=6
|
||||
HOMEPAGE=https://www.openssh.com/
|
||||
IUSE=abi_mips_n32 audit bindist debug hpn kerberos kernel_linux ldns libedit libressl livecd pam +pie sctp selinux skey +ssl static test X X509
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
|
||||
LICENSE=BSD GPL-2
|
||||
RDEPEND=!static? ( audit? ( sys-process/audit ) ldns? ( net-libs/ldns !bindist? ( net-libs/ldns[ecdsa,ssl(+)] ) bindist? ( net-libs/ldns[-ecdsa,ssl(+)] ) ) libedit? ( dev-libs/libedit:= ) sctp? ( net-misc/lksctp-tools ) selinux? ( >=sys-libs/libselinux-1.28 ) skey? ( >=sys-auth/skey-1.1.5-r1 ) ssl? ( !libressl? ( >=dev-libs/openssl-1.0.1:0=[bindist=] dev-libs/openssl:0= ) libressl? ( dev-libs/libressl:0= ) ) >=sys-libs/zlib-1.2.3:= ) pam? ( virtual/pam ) kerberos? ( virtual/krb5 ) pam? ( >=sys-auth/pambase-20081028 ) userland_GNU? ( virtual/shadow ) X? ( x11-apps/xauth )
|
||||
REQUIRED_USE=ldns? ( ssl ) pie? ( !static ) static? ( !kerberos !pam ) X509? ( !sctp ssl ) test? ( ssl )
|
||||
RESTRICT=!test? ( test )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://openbsd/OpenSSH/portable/openssh-7.7p1.tar.gz https://dev.gentoo.org/~whissi/dist/openssh/openssh-7.7p1-patches-1.2.tar.xz sctp? ( https://dev.gentoo.org/~whissi/dist/openssh/openssh-7.7p1-sctp-1.1.patch.xz ) hpn? ( https://dev.gentoo.org/~whissi/dist/openssh/openssh-7.7p1-hpnssh14v15-gentoo2.patch.xz ) X509? ( https://dev.gentoo.org/~whissi/dist/openssh/openssh-7.7p1-x509-11.3.1.patch.xz )
|
||||
_eclasses_=autotools d0e5375d47f4c809f406eb892e531513 desktop b1d22ac8bdd4679ab79c71aca235009d epatch ed88001f77c6dd0d5f09e45c1a5b480e estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 6e6c2737b59a4b982de6fb3ecefd87f8 flag-o-matic 5128c4729303400bd8d4b0b966530955 libtool 0081a71a261724730ec4c248494f044d ltprune 08f9e1d9ee0af8f5d9a7854efbcd8c0e multilib 97f470f374f2e94ccab04a2fb21d811e pam 3e788d86170dfcd5b06824d898315e18 preserve-libs ef207dc62baddfddfd39a164d9797648 systemd 47c677ae1d7b69031f11f630ac09f0d1 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 user 8bc2845510e2109af75e3eeac607ec81 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf versionator 2352c3fc97241f6a02042773c8287748
|
||||
_md5_=a9d7cd4d681953cfb8b6b0c350d3eed4
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile install postinst postrm preinst prepare setup test unpack
|
||||
DEPEND=!build? ( sys-apps/sed >=sys-devel/binutils-2.11.90.0.31 )
|
||||
DESCRIPTION=Full sources including the Gentoo patchset for the 4.14 kernel tree
|
||||
EAPI=6
|
||||
HOMEPAGE=https://dev.gentoo.org/~mpagano/genpatches
|
||||
IUSE=experimental symlink build
|
||||
KEYWORDS=~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86
|
||||
LICENSE=GPL-2 linux-firmware
|
||||
RDEPEND=!build? ( dev-lang/perl sys-devel/bc sys-devel/bison sys-devel/flex sys-devel/make >=sys-libs/ncurses-5.2 virtual/libelf )
|
||||
RESTRICT=binchecks strip
|
||||
SLOT=4.14.63-r1
|
||||
SRC_URI=mirror://kernel/linux/kernel/v4.x/linux-4.14.tar.xz mirror://gentoo/genpatches-4.14-69.base.tar.xz mirror://gentoo/genpatches-4.14-69.extras.tar.xz experimental? ( mirror://gentoo/genpatches-4.14-69.experimental.tar.xz )
|
||||
_eclasses_=eapi7-ver 756b3f27d8e46131d5cf3c51bd876446 estack 43ddf5aaffa7a8d0482df54d25a66a1f kernel-2 bc2f2b5caeb6f89c673a8a4dced6511e multilib 97f470f374f2e94ccab04a2fb21d811e python-any-r1 4900ae970f827a22d33d41bd8b8f9ace python-utils-r1 12114a2a9aab35b93efc037a196b3234 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607
|
||||
_md5_=4ba22c8cc596f70d18c4f57bd47ff0ba
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile install postinst postrm preinst prepare setup test unpack
|
||||
DEPEND=!build? ( sys-apps/sed >=sys-devel/binutils-2.11.90.0.31 )
|
||||
DESCRIPTION=Full sources including the Gentoo patchset for the 4.17 kernel tree
|
||||
EAPI=6
|
||||
HOMEPAGE=https://dev.gentoo.org/~mpagano/genpatches
|
||||
IUSE=experimental symlink build
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 -hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86
|
||||
LICENSE=GPL-2 linux-firmware
|
||||
RDEPEND=!build? ( dev-lang/perl sys-devel/bc sys-devel/bison sys-devel/flex sys-devel/make >=sys-libs/ncurses-5.2 virtual/libelf )
|
||||
RESTRICT=binchecks strip
|
||||
SLOT=4.17.15-r1
|
||||
SRC_URI=mirror://kernel/linux/kernel/v4.x/linux-4.17.tar.xz mirror://gentoo/genpatches-4.17-17.base.tar.xz mirror://gentoo/genpatches-4.17-17.extras.tar.xz experimental? ( mirror://gentoo/genpatches-4.17-17.experimental.tar.xz )
|
||||
_eclasses_=eapi7-ver 756b3f27d8e46131d5cf3c51bd876446 estack 43ddf5aaffa7a8d0482df54d25a66a1f kernel-2 bc2f2b5caeb6f89c673a8a4dced6511e multilib 97f470f374f2e94ccab04a2fb21d811e python-any-r1 4900ae970f827a22d33d41bd8b8f9ace python-utils-r1 12114a2a9aab35b93efc037a196b3234 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607
|
||||
_md5_=206aebf71a772caace2fc070b54b2e39
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile install postinst postrm preinst prepare setup test unpack
|
||||
DEPEND=!build? ( sys-apps/sed >=sys-devel/binutils-2.11.90.0.31 )
|
||||
DESCRIPTION=Full sources including the Gentoo patchset for the 4.18 kernel tree
|
||||
EAPI=6
|
||||
HOMEPAGE=https://dev.gentoo.org/~mpagano/genpatches
|
||||
IUSE=experimental symlink build
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 -hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86
|
||||
LICENSE=GPL-2 linux-firmware
|
||||
RDEPEND=!build? ( dev-lang/perl sys-devel/bc sys-devel/bison sys-devel/flex sys-devel/make >=sys-libs/ncurses-5.2 virtual/libelf )
|
||||
RESTRICT=binchecks strip
|
||||
SLOT=4.18.1-r1
|
||||
SRC_URI=mirror://kernel/linux/kernel/v4.x/linux-4.18.tar.xz mirror://gentoo/genpatches-4.18-4.base.tar.xz mirror://gentoo/genpatches-4.18-4.extras.tar.xz experimental? ( mirror://gentoo/genpatches-4.18-4.experimental.tar.xz )
|
||||
_eclasses_=eapi7-ver 756b3f27d8e46131d5cf3c51bd876446 estack 43ddf5aaffa7a8d0482df54d25a66a1f kernel-2 bc2f2b5caeb6f89c673a8a4dced6511e multilib 97f470f374f2e94ccab04a2fb21d811e python-any-r1 4900ae970f827a22d33d41bd8b8f9ace python-utils-r1 12114a2a9aab35b93efc037a196b3234 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607
|
||||
_md5_=c118194f2219b16286f95c0437f27df7
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile install postinst postrm preinst prepare setup test unpack
|
||||
DEPEND=!build? ( sys-apps/sed >=sys-devel/binutils-2.11.90.0.31 )
|
||||
DESCRIPTION=Full sources including the Gentoo patchset for the 4.9 kernel tree
|
||||
EAPI=6
|
||||
HOMEPAGE=https://dev.gentoo.org/~mpagano/genpatches
|
||||
IUSE=experimental symlink build
|
||||
KEYWORDS=~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86
|
||||
LICENSE=GPL-2 linux-firmware
|
||||
RDEPEND=!build? ( dev-lang/perl sys-devel/bc sys-devel/bison sys-devel/flex sys-devel/make >=sys-libs/ncurses-5.2 virtual/libelf )
|
||||
RESTRICT=binchecks strip
|
||||
SLOT=4.9.120-r1
|
||||
SRC_URI=mirror://kernel/linux/kernel/v4.x/linux-4.9.tar.xz mirror://gentoo/genpatches-4.9-124.base.tar.xz mirror://gentoo/genpatches-4.9-124.extras.tar.xz experimental? ( mirror://gentoo/genpatches-4.9-124.experimental.tar.xz )
|
||||
_eclasses_=eapi7-ver 756b3f27d8e46131d5cf3c51bd876446 estack 43ddf5aaffa7a8d0482df54d25a66a1f kernel-2 bc2f2b5caeb6f89c673a8a4dced6511e multilib 97f470f374f2e94ccab04a2fb21d811e python-any-r1 4900ae970f827a22d33d41bd8b8f9ace python-utils-r1 12114a2a9aab35b93efc037a196b3234 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607
|
||||
_md5_=109febec758b08f6cb7652a285fc0f1f
|
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=configure install setup
|
||||
DEPEND=python_single_target_python3_4? ( dev-lang/python:3.4 ) python_single_target_python3_5? ( dev-lang/python:3.5 ) python_single_target_python3_6? ( dev-lang/python:3.6 ) python_single_target_python3_7? ( dev-lang/python:3.7 ) >=dev-lang/python-exec-2:=[python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,python_targets_python3_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),python_single_target_python3_4(+)?,python_single_target_python3_5(+)?,python_single_target_python3_6(+)?,python_single_target_python3_7(+)?]
|
||||
DESCRIPTION=Simple application to manage Xfce panel layouts
|
||||
EAPI=7
|
||||
HOMEPAGE=https://git.xfce.org/apps/xfce4-panel-profiles/about/
|
||||
IUSE=python_targets_python3_4 python_targets_python3_5 python_targets_python3_6 python_targets_python3_7 python_single_target_python3_4 python_single_target_python3_5 python_single_target_python3_6 python_single_target_python3_7
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-3+
|
||||
RDEPEND=python_single_target_python3_4? ( dev-lang/python:3.4 ) python_single_target_python3_5? ( dev-lang/python:3.5 ) python_single_target_python3_6? ( dev-lang/python:3.6 ) python_single_target_python3_7? ( dev-lang/python:3.7 ) >=dev-lang/python-exec-2:=[python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,python_targets_python3_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),python_single_target_python3_4(+)?,python_single_target_python3_5(+)?,python_single_target_python3_6(+)?,python_single_target_python3_7(+)?] dev-libs/gobject-introspection dev-python/pygobject:3[python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,python_targets_python3_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),python_single_target_python3_4(+)?,python_single_target_python3_5(+)?,python_single_target_python3_6(+)?,python_single_target_python3_7(+)?] x11-libs/gtk+:3[introspection] xfce-base/xfce4-panel
|
||||
REQUIRED_USE=^^ ( python_single_target_python3_4 python_single_target_python3_5 python_single_target_python3_6 python_single_target_python3_7 ) python_single_target_python3_4? ( python_targets_python3_4 ) python_single_target_python3_5? ( python_targets_python3_5 ) python_single_target_python3_6? ( python_targets_python3_6 ) python_single_target_python3_7? ( python_targets_python3_7 )
|
||||
SLOT=0
|
||||
SRC_URI=https://archive.xfce.org/src/apps/xfce4-panel-profiles/1.0/xfce4-panel-profiles-1.0.8.tar.bz2
|
||||
_eclasses_=multilib 97f470f374f2e94ccab04a2fb21d811e python-single-r1 3a0fc81f484bfdbd9c2b7448015a36e4 python-utils-r1 12114a2a9aab35b93efc037a196b3234 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607
|
||||
_md5_=ac9f59ac47def787bf63550d789a170f
|
@ -1 +1 @@
|
||||
Thu, 16 Aug 2018 10:38:43 +0000
|
||||
Thu, 16 Aug 2018 17:08:43 +0000
|
||||
|
@ -1 +1 @@
|
||||
Thu Aug 16 10:38:43 UTC 2018
|
||||
Thu Aug 16 17:08:42 UTC 2018
|
||||
|
@ -1 +1 @@
|
||||
Thu, 16 Aug 2018 11:00:01 +0000
|
||||
Thu, 16 Aug 2018 17:30:01 +0000
|
||||
|
@ -1 +1 @@
|
||||
d2af2a9cb09efe629c01cc68327e4a8cb08bcd52 1534414850 2018-08-16T10:20:50+00:00
|
||||
c5a6f6fac0565ec3879c890bdbf021e5dc8b6659 1534434964 2018-08-16T15:56:04+00:00
|
||||
|
@ -1 +1 @@
|
||||
1534415701 Thu 16 Aug 2018 10:35:01 AM UTC
|
||||
1534439101 Thu 16 Aug 2018 05:05:01 PM UTC
|
||||
|
@ -1 +1 @@
|
||||
Thu, 16 Aug 2018 10:38:43 +0000
|
||||
Thu, 16 Aug 2018 17:08:42 +0000
|
||||
|
Binary file not shown.
@ -0,0 +1 @@
|
||||
DIST nagios-icinga-openvpn-0.0.1.tar.gz 4637 BLAKE2B 365b6450cccd5f7f25348583eae45c0b15932ec1e858d375171911e4108dd2b7fc133559a35399ece8d2a349f05b2f51897cf9e271f498b6bbaa2c6bba3551a9 SHA512 0dae6c2df71a20e287720767aa4ba41d0568f3cd4bd2a6eb252f86d810d3de265ddc38397df15bb1b115ba35ac68aa6e18345dc4432d4d13b08b500483ffbb11
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>mjo@gentoo.org</email>
|
||||
<name>Michael Orlitzky</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="check_openvpn"
|
||||
DESCRIPTION="A Nagios plugin to check whether an OpenVPN server is alive"
|
||||
HOMEPAGE="https://github.com/liquidat/${PN}"
|
||||
SRC_URI="${HOMEPAGE}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
|
||||
local nagiosplugindir="/usr/$(get_libdir)/nagios/plugins"
|
||||
dodir "${nagiosplugindir}"
|
||||
|
||||
# Create a symlink from the nagios plugin directory to the /usr/bin
|
||||
# location. The "binary" in /usr/bin should also be a symlink, since
|
||||
# the python machinery allows the user to switch out the
|
||||
# interpreter. We don't want to mess with any of that, so we just
|
||||
# point to whatever the system would use if the user executed
|
||||
# ${MY_PN}.
|
||||
#
|
||||
# The relative symlink is preferred so that if the package is
|
||||
# installed e.g. while in a chroot, the symlink will never point
|
||||
# outside of that chroot.
|
||||
#
|
||||
dosym "../../../bin/${MY_PN}" "${nagiosplugindir}/${MY_PN}"
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,444 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit user flag-o-matic multilib autotools pam systemd versionator
|
||||
|
||||
# Make it more portable between straight releases
|
||||
# and _p? releases.
|
||||
PARCH=${P/_}
|
||||
|
||||
HPN_VER="14v15-gentoo2" HPN_PATCH="${PARCH}-hpnssh${HPN_VER}.patch.xz"
|
||||
SCTP_VER="1.1" SCTP_PATCH="${PARCH}-sctp-${SCTP_VER}.patch.xz"
|
||||
X509_VER="11.3.1" X509_PATCH="${PARCH}-x509-${X509_VER}.patch.xz"
|
||||
|
||||
PATCH_SET="openssh-7.7p1-patches-1.2"
|
||||
|
||||
DESCRIPTION="Port of OpenBSD's free SSH release"
|
||||
HOMEPAGE="https://www.openssh.com/"
|
||||
SRC_URI="mirror://openbsd/OpenSSH/portable/${PARCH}.tar.gz
|
||||
https://dev.gentoo.org/~whissi/dist/${PN}/${PATCH_SET}.tar.xz
|
||||
${SCTP_PATCH:+sctp? ( https://dev.gentoo.org/~whissi/dist/openssh/${SCTP_PATCH} )}
|
||||
${HPN_PATCH:+hpn? ( https://dev.gentoo.org/~whissi/dist/openssh/${HPN_PATCH} )}
|
||||
${X509_PATCH:+X509? ( https://dev.gentoo.org/~whissi/dist/openssh/${X509_PATCH} )}
|
||||
"
|
||||
|
||||
LICENSE="BSD GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
# Probably want to drop ssl defaulting to on in a future version.
|
||||
IUSE="abi_mips_n32 audit bindist debug hpn kerberos kernel_linux ldns libedit libressl livecd pam +pie sctp selinux skey +ssl static test X X509"
|
||||
RESTRICT="!test? ( test )"
|
||||
REQUIRED_USE="ldns? ( ssl )
|
||||
pie? ( !static )
|
||||
static? ( !kerberos !pam )
|
||||
X509? ( !sctp ssl )
|
||||
test? ( ssl )"
|
||||
|
||||
LIB_DEPEND="
|
||||
audit? ( sys-process/audit[static-libs(+)] )
|
||||
ldns? (
|
||||
net-libs/ldns[static-libs(+)]
|
||||
!bindist? ( net-libs/ldns[ecdsa,ssl(+)] )
|
||||
bindist? ( net-libs/ldns[-ecdsa,ssl(+)] )
|
||||
)
|
||||
libedit? ( dev-libs/libedit:=[static-libs(+)] )
|
||||
sctp? ( net-misc/lksctp-tools[static-libs(+)] )
|
||||
selinux? ( >=sys-libs/libselinux-1.28[static-libs(+)] )
|
||||
skey? ( >=sys-auth/skey-1.1.5-r1[static-libs(+)] )
|
||||
ssl? (
|
||||
!libressl? (
|
||||
>=dev-libs/openssl-1.0.1:0=[bindist=]
|
||||
dev-libs/openssl:0=[static-libs(+)]
|
||||
)
|
||||
libressl? ( dev-libs/libressl:0=[static-libs(+)] )
|
||||
)
|
||||
>=sys-libs/zlib-1.2.3:=[static-libs(+)]"
|
||||
RDEPEND="
|
||||
!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
|
||||
pam? ( virtual/pam )
|
||||
kerberos? ( virtual/krb5 )"
|
||||
DEPEND="${RDEPEND}
|
||||
static? ( ${LIB_DEPEND} )
|
||||
virtual/pkgconfig
|
||||
virtual/os-headers
|
||||
sys-devel/autoconf"
|
||||
RDEPEND="${RDEPEND}
|
||||
pam? ( >=sys-auth/pambase-20081028 )
|
||||
userland_GNU? ( virtual/shadow )
|
||||
X? ( x11-apps/xauth )"
|
||||
|
||||
S="${WORKDIR}/${PARCH}"
|
||||
|
||||
pkg_pretend() {
|
||||
# this sucks, but i'd rather have people unable to `emerge -u openssh`
|
||||
# than not be able to log in to their server any more
|
||||
maybe_fail() { [[ -z ${!2} ]] && echo "$1" ; }
|
||||
local fail="
|
||||
$(use hpn && maybe_fail hpn HPN_PATCH)
|
||||
$(use sctp && maybe_fail sctp SCTP_PATCH)
|
||||
$(use X509 && maybe_fail X509 X509_PATCH)
|
||||
"
|
||||
fail=$(echo ${fail})
|
||||
if [[ -n ${fail} ]] ; then
|
||||
eerror "Sorry, but this version does not yet support features"
|
||||
eerror "that you requested: ${fail}"
|
||||
eerror "Please mask ${PF} for now and check back later:"
|
||||
eerror " # echo '=${CATEGORY}/${PF}' >> /etc/portage/package.mask"
|
||||
die "booooo"
|
||||
fi
|
||||
|
||||
# Make sure people who are using tcp wrappers are notified of its removal. #531156
|
||||
if grep -qs '^ *sshd *:' "${EROOT%/}"/etc/hosts.{allow,deny} ; then
|
||||
ewarn "Sorry, but openssh no longer supports tcp-wrappers, and it seems like"
|
||||
ewarn "you're trying to use it. Update your ${EROOT}etc/hosts.{allow,deny} please."
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e "/_PATH_XAUTH/s:/usr/X11R6/bin/xauth:${EPREFIX%/}/usr/bin/xauth:" \
|
||||
pathnames.h || die
|
||||
|
||||
# don't break .ssh/authorized_keys2 for fun
|
||||
sed -i '/^AuthorizedKeysFile/s:^:#:' sshd_config || die
|
||||
|
||||
eapply "${FILESDIR}"/${PN}-7.7_p1-GSSAPI-dns.patch #165444 integrated into gsskex
|
||||
eapply "${FILESDIR}"/${PN}-6.7_p1-openssl-ignore-status.patch
|
||||
eapply "${FILESDIR}"/${PN}-7.5_p1-disable-conch-interop-tests.patch
|
||||
|
||||
local PATCHSET_VERSION_MACROS=()
|
||||
|
||||
if use X509 ; then
|
||||
eapply "${WORKDIR}"/${X509_PATCH%.*}
|
||||
|
||||
# We need to patch package version or any X.509 sshd will reject our ssh client
|
||||
# with "userauth_pubkey: could not parse key: string is too large [preauth]"
|
||||
# error
|
||||
einfo "Patching package version for X.509 patch set ..."
|
||||
sed -i \
|
||||
-e "s/^AC_INIT(\[OpenSSH\], \[Portable\]/AC_INIT([OpenSSH], [${X509_VER}]/" \
|
||||
"${S}"/configure.ac || die "Failed to patch package version for X.509 patch"
|
||||
|
||||
einfo "Patching version.h to expose X.509 patch set ..."
|
||||
sed -i \
|
||||
-e "/^#define SSH_PORTABLE.*/a #define SSH_X509 \"-PKIXSSH-${X509_VER}\"" \
|
||||
"${S}"/version.h || die "Failed to sed-in X.509 patch version"
|
||||
PATCHSET_VERSION_MACROS+=( 'SSH_X509' )
|
||||
|
||||
einfo "Disabling broken X.509 agent test ..."
|
||||
sed -i \
|
||||
-e "/^ agent$/d" \
|
||||
"${S}"/tests/CA/config || die "Failed to disable broken X.509 agent test"
|
||||
|
||||
# The following patches don't apply on top of X509 patch
|
||||
rm "${WORKDIR}"/patch/2002_all_openssh-7.7p1_upstream_bug2840.patch || die
|
||||
rm "${WORKDIR}"/patch/2009_all_openssh-7.7p1_make-shell-tests-portable.patch || die
|
||||
rm "${WORKDIR}"/patch/2016_all_openssh-7.7p1_implement-EMFILE-mitigation-for-ssh-agent.patch || die
|
||||
rm "${WORKDIR}"/patch/2025_all_openssh-7.7p1_prefer-argv0-to-ssh-when-re-executing-ssh-for-proxyjump.patch || die
|
||||
else
|
||||
rm "${WORKDIR}"/patch/2016_all_openssh-7.7p1-X509_implement-EMFILE-mitigation-for-ssh-agent.patch || die
|
||||
rm "${WORKDIR}"/patch/2025_all_openssh-7.7p1-X509_prefer-argv0-to-ssh-when-re-executing-ssh-for-proxyjump.patch || die
|
||||
fi
|
||||
|
||||
if use sctp ; then
|
||||
eapply "${WORKDIR}"/${SCTP_PATCH%.*}
|
||||
|
||||
einfo "Patching version.h to expose SCTP patch set ..."
|
||||
sed -i \
|
||||
-e "/^#define SSH_PORTABLE/a #define SSH_SCTP \"-sctp-${SCTP_VER}\"" \
|
||||
"${S}"/version.h || die "Failed to sed-in SCTP patch version"
|
||||
PATCHSET_VERSION_MACROS+=( 'SSH_SCTP' )
|
||||
|
||||
einfo "Disabling know failing test (cfgparse) caused by SCTP patch ..."
|
||||
sed -i \
|
||||
-e "/\t\tcfgparse \\\/d" \
|
||||
"${S}"/regress/Makefile || die "Failed to disable known failing test (cfgparse) caused by SCTP patch"
|
||||
fi
|
||||
|
||||
if use hpn ; then
|
||||
eapply "${WORKDIR}"/${HPN_PATCH%.*}
|
||||
|
||||
einfo "Patching Makefile.in for HPN patch set ..."
|
||||
sed -i \
|
||||
-e "/^LIBS=/ s/\$/ -lpthread/" \
|
||||
"${S}"/Makefile.in || die "Failed to patch Makefile.in"
|
||||
|
||||
einfo "Patching version.h to expose HPN patch set ..."
|
||||
sed -i \
|
||||
-e "/^#define SSH_PORTABLE/a #define SSH_HPN \"-hpn${HPN_VER}\"" \
|
||||
"${S}"/version.h || die "Failed to sed-in HPN patch version"
|
||||
PATCHSET_VERSION_MACROS+=( 'SSH_HPN' )
|
||||
|
||||
if [[ -n "${HPN_DISABLE_MTAES}" ]] ; then
|
||||
einfo "Disabling known non-working MT AES cipher per default ..."
|
||||
|
||||
cat > "${T}"/disable_mtaes.conf <<- EOF
|
||||
|
||||
# HPN's Multi-Threaded AES CTR cipher is currently known to be broken
|
||||
# and therefore disabled per default.
|
||||
DisableMTAES yes
|
||||
EOF
|
||||
sed -i \
|
||||
-e "/^#HPNDisabled.*/r ${T}/disable_mtaes.conf" \
|
||||
"${S}"/sshd_config || die "Failed to disabled MT AES ciphers in sshd_config"
|
||||
|
||||
sed -i \
|
||||
-e "/AcceptEnv.*_XXX_TEST$/a \\\tDisableMTAES\t\tyes" \
|
||||
"${S}"/regress/test-exec.sh || die "Failed to disable MT AES ciphers in test config"
|
||||
fi
|
||||
fi
|
||||
|
||||
if use X509 || use hpn ; then
|
||||
einfo "Patching packet.c for X509 and/or HPN patch set ..."
|
||||
sed -i \
|
||||
-e "s/const struct sshcipher/struct sshcipher/" \
|
||||
"${S}"/packet.c || die "Failed to patch ssh_packet_set_connection() (packet.c)"
|
||||
fi
|
||||
|
||||
if use X509 || use sctp || use hpn ; then
|
||||
einfo "Patching sshconnect.c to use SSH_RELEASE in send_client_banner() ..."
|
||||
sed -i \
|
||||
-e "s/PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, SSH_VERSION/PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, SSH_RELEASE/" \
|
||||
"${S}"/sshconnect.c || die "Failed to patch send_client_banner() to use SSH_RELEASE (sshconnect.c)"
|
||||
|
||||
einfo "Patching sshd.c to use SSH_RELEASE in sshd_exchange_identification() ..."
|
||||
sed -i \
|
||||
-e "s/PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, SSH_VERSION/PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, SSH_RELEASE/" \
|
||||
"${S}"/sshd.c || die "Failed to patch sshd_exchange_identification() to use SSH_RELEASE (sshd.c)"
|
||||
|
||||
einfo "Patching version.h to add our patch sets to SSH_RELEASE ..."
|
||||
sed -i \
|
||||
-e "s/^#define SSH_RELEASE.*/#define SSH_RELEASE SSH_VERSION SSH_PORTABLE ${PATCHSET_VERSION_MACROS[*]}/" \
|
||||
"${S}"/version.h || die "Failed to patch SSH_RELEASE (version.h)"
|
||||
fi
|
||||
|
||||
sed -i \
|
||||
-e "/#UseLogin no/d" \
|
||||
"${S}"/sshd_config || die "Failed to remove removed UseLogin option (sshd_config)"
|
||||
|
||||
eapply "${WORKDIR}"/patch/*.patch
|
||||
|
||||
eapply_user #473004
|
||||
|
||||
tc-export PKG_CONFIG
|
||||
local sed_args=(
|
||||
-e "s:-lcrypto:$(${PKG_CONFIG} --libs openssl):"
|
||||
# Disable PATH reset, trust what portage gives us #254615
|
||||
-e 's:^PATH=/:#PATH=/:'
|
||||
# Disable fortify flags ... our gcc does this for us
|
||||
-e 's:-D_FORTIFY_SOURCE=2::'
|
||||
)
|
||||
|
||||
# The -ftrapv flag ICEs on hppa #505182
|
||||
use hppa && sed_args+=(
|
||||
-e '/CFLAGS/s:-ftrapv:-fdisable-this-test:'
|
||||
-e '/OSSH_CHECK_CFLAG_LINK.*-ftrapv/d'
|
||||
)
|
||||
# _XOPEN_SOURCE causes header conflicts on Solaris
|
||||
[[ ${CHOST} == *-solaris* ]] && sed_args+=(
|
||||
-e 's/-D_XOPEN_SOURCE//'
|
||||
)
|
||||
sed -i "${sed_args[@]}" configure{.ac,} || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
addwrite /dev/ptmx
|
||||
|
||||
use debug && append-cppflags -DSANDBOX_SECCOMP_FILTER_DEBUG
|
||||
use static && append-ldflags -static
|
||||
|
||||
local myconf=(
|
||||
--with-ldflags="${LDFLAGS}"
|
||||
--disable-strip
|
||||
--with-pid-dir="${EPREFIX}"$(usex kernel_linux '' '/var')/run
|
||||
--sysconfdir="${EPREFIX%/}"/etc/ssh
|
||||
--libexecdir="${EPREFIX%/}"/usr/$(get_libdir)/misc
|
||||
--datadir="${EPREFIX%/}"/usr/share/openssh
|
||||
--with-privsep-path="${EPREFIX%/}"/var/empty
|
||||
--with-privsep-user=sshd
|
||||
$(use_with audit audit linux)
|
||||
$(use_with kerberos kerberos5 "${EPREFIX%/}"/usr)
|
||||
# We apply the sctp patch conditionally, so can't pass --without-sctp
|
||||
# unconditionally else we get unknown flag warnings.
|
||||
$(use sctp && use_with sctp)
|
||||
$(use_with ldns)
|
||||
$(use_with libedit)
|
||||
$(use_with pam)
|
||||
$(use_with pie)
|
||||
$(use_with selinux)
|
||||
$(use_with skey)
|
||||
$(use_with ssl openssl)
|
||||
$(use_with ssl md5-passwords)
|
||||
$(use_with ssl ssl-engine)
|
||||
)
|
||||
|
||||
# stackprotect is broken on musl x86
|
||||
use elibc_musl && use x86 && myconf+=( --without-stackprotect )
|
||||
|
||||
# The seccomp sandbox is broken on x32, so use the older method for now. #553748
|
||||
use amd64 && [[ ${ABI} == "x32" ]] && myconf+=( --with-sandbox=rlimit )
|
||||
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local t skipped=() failed=() passed=()
|
||||
local tests=( interop-tests compat-tests )
|
||||
|
||||
local shell=$(egetshell "${UID}")
|
||||
if [[ ${shell} == */nologin ]] || [[ ${shell} == */false ]] ; then
|
||||
elog "Running the full OpenSSH testsuite requires a usable shell for the 'portage'"
|
||||
elog "user, so we will run a subset only."
|
||||
skipped+=( tests )
|
||||
else
|
||||
tests+=( tests )
|
||||
fi
|
||||
|
||||
# It will also attempt to write to the homedir .ssh.
|
||||
local sshhome=${T}/homedir
|
||||
mkdir -p "${sshhome}"/.ssh
|
||||
for t in "${tests[@]}" ; do
|
||||
# Some tests read from stdin ...
|
||||
HOMEDIR="${sshhome}" HOME="${sshhome}" \
|
||||
emake -k -j1 ${t} </dev/null \
|
||||
&& passed+=( "${t}" ) \
|
||||
|| failed+=( "${t}" )
|
||||
done
|
||||
|
||||
einfo "Passed tests: ${passed[*]}"
|
||||
[[ ${#skipped[@]} -gt 0 ]] && ewarn "Skipped tests: ${skipped[*]}"
|
||||
[[ ${#failed[@]} -gt 0 ]] && die "Some tests failed: ${failed[*]}"
|
||||
}
|
||||
|
||||
# Gentoo tweaks to default config files.
|
||||
tweak_ssh_configs() {
|
||||
local locale_vars=(
|
||||
# These are language variables that POSIX defines.
|
||||
# http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap08.html#tag_08_02
|
||||
LANG LC_ALL LC_COLLATE LC_CTYPE LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME
|
||||
|
||||
# These are the GNU extensions.
|
||||
# https://www.gnu.org/software/autoconf/manual/html_node/Special-Shell-Variables.html
|
||||
LANGUAGE LC_ADDRESS LC_IDENTIFICATION LC_MEASUREMENT LC_NAME LC_PAPER LC_TELEPHONE
|
||||
)
|
||||
|
||||
# First the server config.
|
||||
cat <<-EOF >> "${ED%/}"/etc/ssh/sshd_config
|
||||
|
||||
# Allow client to pass locale environment variables. #367017
|
||||
AcceptEnv ${locale_vars[*]}
|
||||
|
||||
# Allow client to pass COLORTERM to match TERM. #658540
|
||||
AcceptEnv COLORTERM
|
||||
EOF
|
||||
|
||||
# Then the client config.
|
||||
cat <<-EOF >> "${ED%/}"/etc/ssh/ssh_config
|
||||
|
||||
# Send locale environment variables. #367017
|
||||
SendEnv ${locale_vars[*]}
|
||||
|
||||
# Send COLORTERM to match TERM. #658540
|
||||
SendEnv COLORTERM
|
||||
EOF
|
||||
|
||||
if use pam ; then
|
||||
sed -i \
|
||||
-e "/^#UsePAM /s:.*:UsePAM yes:" \
|
||||
-e "/^#PasswordAuthentication /s:.*:PasswordAuthentication no:" \
|
||||
-e "/^#PrintMotd /s:.*:PrintMotd no:" \
|
||||
-e "/^#PrintLastLog /s:.*:PrintLastLog no:" \
|
||||
"${ED%/}"/etc/ssh/sshd_config || die
|
||||
fi
|
||||
|
||||
if use livecd ; then
|
||||
sed -i \
|
||||
-e '/^#PermitRootLogin/c# Allow root login with password on livecds.\nPermitRootLogin Yes' \
|
||||
"${ED%/}"/etc/ssh/sshd_config || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install-nokeys DESTDIR="${D}"
|
||||
fperms 600 /etc/ssh/sshd_config
|
||||
dobin contrib/ssh-copy-id
|
||||
newinitd "${FILESDIR}"/sshd.rc6.5 sshd
|
||||
newconfd "${FILESDIR}"/sshd-r1.confd sshd
|
||||
|
||||
newpamd "${FILESDIR}"/sshd.pam_include.2 sshd
|
||||
|
||||
tweak_ssh_configs
|
||||
|
||||
doman contrib/ssh-copy-id.1
|
||||
dodoc CREDITS OVERVIEW README* TODO sshd_config
|
||||
use hpn && dodoc HPN-README
|
||||
use X509 || dodoc ChangeLog
|
||||
|
||||
diropts -m 0700
|
||||
dodir /etc/skel/.ssh
|
||||
|
||||
keepdir /var/empty
|
||||
|
||||
systemd_dounit "${FILESDIR}"/sshd.{service,socket}
|
||||
systemd_newunit "${FILESDIR}"/sshd_at.service 'sshd@.service'
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
enewgroup sshd 22
|
||||
enewuser sshd 22 -1 /var/empty sshd
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if has_version "<${CATEGORY}/${PN}-5.8_p1" ; then
|
||||
elog "Starting with openssh-5.8p1, the server will default to a newer key"
|
||||
elog "algorithm (ECDSA). You are encouraged to manually update your stored"
|
||||
elog "keys list as servers update theirs. See ssh-keyscan(1) for more info."
|
||||
fi
|
||||
if has_version "<${CATEGORY}/${PN}-7.0_p1" ; then
|
||||
elog "Starting with openssh-6.7, support for USE=tcpd has been dropped by upstream."
|
||||
elog "Make sure to update any configs that you might have. Note that xinetd might"
|
||||
elog "be an alternative for you as it supports USE=tcpd."
|
||||
fi
|
||||
if has_version "<${CATEGORY}/${PN}-7.1_p1" ; then #557388 #555518
|
||||
elog "Starting with openssh-7.0, support for ssh-dss keys were disabled due to their"
|
||||
elog "weak sizes. If you rely on these key types, you can re-enable the key types by"
|
||||
elog "adding to your sshd_config or ~/.ssh/config files:"
|
||||
elog " PubkeyAcceptedKeyTypes=+ssh-dss"
|
||||
elog "You should however generate new keys using rsa or ed25519."
|
||||
|
||||
elog "Starting with openssh-7.0, the default for PermitRootLogin changed from 'yes'"
|
||||
elog "to 'prohibit-password'. That means password auth for root users no longer works"
|
||||
elog "out of the box. If you need this, please update your sshd_config explicitly."
|
||||
fi
|
||||
if has_version "<${CATEGORY}/${PN}-7.6_p1" ; then
|
||||
elog "Starting with openssh-7.6p1, openssh upstream has removed ssh1 support entirely."
|
||||
elog "Furthermore, rsa keys with less than 1024 bits will be refused."
|
||||
fi
|
||||
if has_version "<${CATEGORY}/${PN}-7.7_p1" ; then
|
||||
elog "Starting with openssh-7.7p1, we no longer patch openssh to provide LDAP functionality."
|
||||
elog "Install sys-auth/ssh-ldap-pubkey and use OpenSSH's \"AuthorizedKeysCommand\" option"
|
||||
elog "if you need to authenticate against LDAP."
|
||||
elog "See https://wiki.gentoo.org/wiki/SSH/LDAP_migration for more details."
|
||||
fi
|
||||
if ! use ssl && has_version "${CATEGORY}/${PN}[ssl]" ; then
|
||||
elog "Be aware that by disabling openssl support in openssh, the server and clients"
|
||||
elog "no longer support dss/rsa/ecdsa keys. You will need to generate ed25519 keys"
|
||||
elog "and update all clients/servers that utilize them."
|
||||
fi
|
||||
|
||||
if use hpn && [[ -n "${HPN_DISABLE_MTAES}" ]] ; then
|
||||
elog ""
|
||||
elog "HPN's multi-threaded AES CTR cipher is currently known to be broken"
|
||||
elog "and therefore disabled at runtime per default."
|
||||
elog "Make sure your sshd_config is up to date and contains"
|
||||
elog ""
|
||||
elog " DisableMTAES yes"
|
||||
elog ""
|
||||
elog "Otherwise you maybe unable to connect to this sshd using any AES CTR cipher."
|
||||
elog ""
|
||||
fi
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue