parent
f691b9716e
commit
288bad8bfa
@ -0,0 +1,202 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils pam multilib libtool
|
||||
|
||||
MY_P=${P/_/}
|
||||
MY_P=${MY_P/beta/b}
|
||||
|
||||
uri_prefix=
|
||||
case ${P} in
|
||||
*_beta*|*_rc*) uri_prefix=beta/ ;;
|
||||
esac
|
||||
|
||||
DESCRIPTION="Allows users or groups to run commands as other users"
|
||||
HOMEPAGE="http://www.sudo.ws/"
|
||||
SRC_URI="http://www.sudo.ws/sudo/dist/${uri_prefix}${MY_P}.tar.gz
|
||||
ftp://ftp.sudo.ws/pub/sudo/${uri_prefix}${MY_P}.tar.gz"
|
||||
|
||||
# Basic license is ISC-style as-is, some files are released under
|
||||
# 3-clause BSD license
|
||||
LICENSE="ISC BSD"
|
||||
SLOT="0"
|
||||
if [[ ${PV} != *_beta* ]] && [[ ${PV} != *_rc* ]] ; then
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~sparc-solaris"
|
||||
fi
|
||||
IUSE="ldap nls pam offensive selinux skey +sendmail"
|
||||
|
||||
DEPEND="pam? ( virtual/pam )
|
||||
skey? ( >=sys-auth/skey-1.1.5-r1 )
|
||||
ldap? (
|
||||
>=net-nds/openldap-2.1.30-r1
|
||||
dev-libs/cyrus-sasl
|
||||
)
|
||||
sys-libs/zlib"
|
||||
RDEPEND="${DEPEND}
|
||||
selinux? ( sec-policy/selinux-sudo )
|
||||
ldap? ( dev-lang/perl )
|
||||
pam? ( sys-auth/pambase )
|
||||
>=app-misc/editor-wrapper-3
|
||||
virtual/editor
|
||||
sendmail? ( virtual/mta )"
|
||||
DEPEND="${DEPEND}
|
||||
sys-devel/bison"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
REQUIRED_USE="pam? ( !skey ) skey? ( !pam )"
|
||||
|
||||
MAKEOPTS+=" SAMPLES="
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
set_rootpath() {
|
||||
# FIXME: secure_path is a compile time setting. using ROOTPATH
|
||||
# is not perfect, env-update may invalidate this, but until it
|
||||
# is available as a sudoers setting this will have to do.
|
||||
einfo "Setting secure_path ..."
|
||||
|
||||
# first extract the default ROOTPATH from build env
|
||||
ROOTPATH=$(unset ROOTPATH; . "${EPREFIX}"/etc/profile.env; echo "${ROOTPATH}")
|
||||
if [[ -z ${ROOTPATH} ]] ; then
|
||||
ewarn " Failed to find ROOTPATH, please report this"
|
||||
fi
|
||||
|
||||
# then remove duplicate path entries
|
||||
cleanpath() {
|
||||
local newpath thisp IFS=:
|
||||
for thisp in $1 ; do
|
||||
if [[ :${newpath}: != *:${thisp}:* ]] ; then
|
||||
newpath+=:$thisp
|
||||
else
|
||||
einfo " Duplicate entry ${thisp} removed..."
|
||||
fi
|
||||
done
|
||||
ROOTPATH=${newpath#:}
|
||||
}
|
||||
cleanpath /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin${ROOTPATH:+:${ROOTPATH}}
|
||||
|
||||
# finally, strip gcc paths #136027
|
||||
rmpath() {
|
||||
local e newpath thisp IFS=:
|
||||
for thisp in ${ROOTPATH} ; do
|
||||
for e ; do [[ $thisp == $e ]] && continue 2 ; done
|
||||
newpath+=:$thisp
|
||||
done
|
||||
ROOTPATH=${newpath#:}
|
||||
}
|
||||
rmpath '*/gcc-bin/*' '*/gnat-gcc-bin/*' '*/gnat-gcc/*'
|
||||
|
||||
einfo "... done"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local ROOTPATH
|
||||
set_rootpath
|
||||
|
||||
# audit: somebody got to explain me how I can test this before I
|
||||
# enable it.. - Diego
|
||||
# plugindir: autoconf code is crappy and does not delay evaluation
|
||||
# until `make` time, so we have to use a full path here rather than
|
||||
# basing off other values.
|
||||
econf \
|
||||
--enable-zlib=system \
|
||||
--with-secure-path="${ROOTPATH}" \
|
||||
--with-editor="${EPREFIX}"/usr/libexec/editor \
|
||||
--with-env-editor \
|
||||
$(use_with offensive insults) \
|
||||
$(use_with offensive all-insults) \
|
||||
$(use_with ldap ldap_conf_file /etc/ldap.conf.sudo) \
|
||||
$(use_with ldap) \
|
||||
$(use_enable nls) \
|
||||
$(use_with pam) \
|
||||
$(use_with skey) \
|
||||
$(use_with selinux) \
|
||||
$(use_with sendmail) \
|
||||
--without-opie \
|
||||
--without-linux-audit \
|
||||
--with-rundir="${EPREFIX}"/var/run/sudo \
|
||||
--with-vardir="${EPREFIX}"/var/db/sudo \
|
||||
--with-plugindir="${EPREFIX}"/usr/$(get_libdir)/sudo \
|
||||
--docdir="${EPREFIX}"/usr/share/doc/${PF}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use ldap ; then
|
||||
dodoc README.LDAP
|
||||
dosbin plugins/sudoers/sudoers2ldif
|
||||
|
||||
cat <<-EOF > "${T}"/ldap.conf.sudo
|
||||
# See ldap.conf(5) and README.LDAP for details
|
||||
# This file should only be readable by root
|
||||
|
||||
# supported directives: host, port, ssl, ldap_version
|
||||
# uri, binddn, bindpw, sudoers_base, sudoers_debug
|
||||
# tls_{checkpeer,cacertfile,cacertdir,randfile,ciphers,cert,key}
|
||||
EOF
|
||||
|
||||
insinto /etc
|
||||
doins "${T}"/ldap.conf.sudo
|
||||
fperms 0440 /etc/ldap.conf.sudo
|
||||
|
||||
insinto /etc/openldap/schema
|
||||
newins doc/schema.OpenLDAP sudo.schema
|
||||
fi
|
||||
|
||||
pamd_mimic system-auth sudo auth account session
|
||||
|
||||
keepdir /var/db/sudo
|
||||
fperms 0700 /var/db/sudo
|
||||
|
||||
# Don't install into /var/run as that is a tmpfs most of the time
|
||||
# (bug #504854)
|
||||
rm -rf "${D}"/var/run
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use ldap ; then
|
||||
ewarn
|
||||
ewarn "sudo uses the /etc/ldap.conf.sudo file for ldap configuration."
|
||||
ewarn
|
||||
if grep -qs '^[[:space:]]*sudoers:' "${ROOT}"/etc/nsswitch.conf ; then
|
||||
ewarn "In 1.7 series, LDAP is no more consulted, unless explicitly"
|
||||
ewarn "configured in /etc/nsswitch.conf."
|
||||
ewarn
|
||||
ewarn "To make use of LDAP, add this line to your /etc/nsswitch.conf:"
|
||||
ewarn " sudoers: ldap files"
|
||||
ewarn
|
||||
fi
|
||||
fi
|
||||
if use prefix ; then
|
||||
ewarn
|
||||
ewarn "To use sudo, you need to change file ownership and permissions"
|
||||
ewarn "with root privileges, as follows:"
|
||||
ewarn
|
||||
ewarn " # chown root:root ${EPREFIX}/usr/bin/sudo"
|
||||
ewarn " # chown root:root ${EPREFIX}/usr/lib/sudo/sudoers.so"
|
||||
ewarn " # chown root:root ${EPREFIX}/etc/sudoers"
|
||||
ewarn " # chown root:root ${EPREFIX}/etc/sudoers.d"
|
||||
ewarn " # chown root:root ${EPREFIX}/var/db/sudo"
|
||||
ewarn " # chmod 4111 ${EPREFIX}/usr/bin/sudo"
|
||||
ewarn
|
||||
fi
|
||||
|
||||
elog "To use the -A (askpass) option, you need to install a compatible"
|
||||
elog "password program from the following list. Starred packages will"
|
||||
elog "automatically register for the use with sudo (but will not force"
|
||||
elog "the -A option):"
|
||||
elog ""
|
||||
elog " [*] net-misc/ssh-askpass-fullscreen"
|
||||
elog " net-misc/x11-ssh-askpass"
|
||||
elog ""
|
||||
elog "You can override the choice by setting the SUDO_ASKPASS environmnent"
|
||||
elog "variable to the program you want to use."
|
||||
}
|
@ -1,9 +1,7 @@
|
||||
AUX botan-1.10-python3.patch 945 SHA256 ef7aa1f8503e9974f77d8d8515fd8e339d4b3873922838c202c284149cf37c86 SHA512 8862088ea0db9177b76c23aebd5a6b567e17771ce76dce2df15acc087fcc4a381b76425b24bfe4d6721171eca3ac208c26bfeaa78beeabc48aaf6f83d0e02fce WHIRLPOOL bd0706f629d0523f78a5f2649917b1862b12509625f3123eaa152c8f0551554aa9a2086a53bc68fdeb3c69b3d80d1e122c7ab920000e038e8993a06f7b468049
|
||||
AUX botan-1.11.20-build-python.patch 1515 SHA256 036525ee21c85d38b11b3262aea1cbe119c8549fc9dd11a117f6697282a55ade SHA512 fbc9102855f6ba06fda2fad36ae23b62332c90eabd48ad2eee12f5f3ea4ce61e2db944470e1fc9a81d5bc414f62f1cd72864a6c8d3f48c9366421d07a8fdfe29 WHIRLPOOL 30c6e3cd21f96292ac55ac6c89522d76fe2eb09b74f37bedb12f06f76f6ae87551eab5c5c6e543b298819637b36707edd78ec266cd50fda44124671273270f90
|
||||
DIST Botan-1.10.12.tgz 2707397 SHA256 affc3a79919577943f896e64d3e4a4dcc4970c5bf80cc98c7f3a3144745eac27 SHA512 074ed9c89d715ada53a3366139da3f0f2fd7ee01941d301b0a9c1a897927ed88c0ade32f66768091664e6b652b7921b3b4c513106ee6ce1942dece3a25216bf5 WHIRLPOOL bfe7029e5ebf660434b14cd49e0c9f4612e9ee88ad50803edfa589754bede01dc39d71542b62eaaa0f7e85dbf623b4b11a90528bcb903c2333103685ce91401f
|
||||
DIST Botan-1.11.29.tgz 3137027 SHA256 e604eca7f0a733f6ef23ddd9209d82589728a4befd48dff3532740130ebaeb94 SHA512 c6ad6cf3d68c3524b9532e9f52e74d89cc2abfd093f1a46a44efa94a87b0fa50278f11dc5953225160d090cf8ae1c372f54c23b5dffd1f3dae79e210195cfd72 WHIRLPOOL f97f0a013c5ed3c7ec7403b8ae584b7396b91a8fcf9181d7e53f17cbd172301c1c228378e58d851fd591f2be9584b18e3eba05e5c5709750a3cf6cc6538f1bc7
|
||||
EBUILD botan-1.10.12.ebuild 4030 SHA256 259c358c95bf9824ba0981db8c61ca3fcb6a6c207c2ab8bfee54be4c4ed9f2ad SHA512 b1fb166073ca68b99c01e35b1c44e2b10765c1bd3a2811b96825787d4ec02a8d926619f2194e2dcbe99f9f34c8d95585ec336f16c25892583875d4c55ba365e6 WHIRLPOOL 96ecd3a893386dccc902b2e4770dc5c034f3b368d849decf73ae67b729db9acfbdccfb736909e7a415dde292c49f5ec47649df15c5a3d0209d249cd7c1662ea3
|
||||
EBUILD botan-1.11.29.ebuild 3491 SHA256 924b538e12ef9d54065dcbc4d5d39b67dc25768c36393b37228482bf44f923d8 SHA512 d6cd2b1fa725e9d07e3a2c9c234deaad394c4fb5c34baab3ee4d7f46aca53ff8286cf12dd56cfb6a9a56e3177f261117ae78870d0f5a1e2d0ef5ecc0170df4c8 WHIRLPOOL 0c4bfa628c9cf00242e315d3dcde749a4a3d5533d5f1367cb1550e477f91029a5f162f8b0368ab08e2db8d9d88d07e6315a696d7f2a58ff0cfbb7d61917ff473
|
||||
MISC ChangeLog 5229 SHA256 5a0b79fb3bfd49e3d133ea90900d25995cde1deb87062bc31f4be0cc79727c8e SHA512 d5587c9ce20eac16c115687da8b4b6b347c7ed1ff103b26d98be8631e4070df2cf71ccd82f282d83d7bfb8b5b7fade7fe4e7ace6ca7c8ce196a44c9bb619d162 WHIRLPOOL 04b31d20d3c2811e9d64ee9c52c364d85fc0ec3fd0d8433375f22bc7ce506618640db7afa20411bf7369e8472d6795cc3db1f9e9f2eb098292290750e5ba06b3
|
||||
MISC ChangeLog 5378 SHA256 1a99e2d702a4b3f911d414a5e50c31ef06f343aeec692846864ebb825e46f4a2 SHA512 f0f8b276b4dd0ed26f4bd19f1f3e1388a43cb72ad0334d8c667f51294800a5a546da232a687df7cd47dae982a8c63c08cf4764dad71781e1f5ec3df829babb01 WHIRLPOOL a0a2bd631e01cf1f02724ef3c9973bff9b85f922305db3913ac9790825684326d77e28cccd715bf4c38815d3c1ee6a4b66f6a9eff02ae9b60c844e1b16667f56
|
||||
MISC ChangeLog-2015 14001 SHA256 3965f2c6b8727a5d23738c6a204c1786dedff49d5c4ed7a0d5e310993a10dee4 SHA512 89e3c0d3264354d2b926f971a3a86df4eba9961b680e55e951d2fcb17a1c9b02dedb3d098e90502be6c1b4152e0adbd5cf55d2e56ee5904403c1d6d8b2ee1603 WHIRLPOOL 66370d148c79167a19afe2af5061ce9f7d59b36e9d490adf0ed2d6d871c24cba770a3ce077c8f3b5fe9fc8b95fae66966fce151c41f2b5db5b7df2c9361df031
|
||||
MISC metadata.xml 620 SHA256 9c09004cd1f859ecda18c9162ac1ed53ce38b3288bf173b80657b29663e02edd SHA512 9b8e939d448e28904e53a0c6b8c4d561b467a2e7bd22bae9632b8fce90f5d4a4bffd77bc86c30db8f4d9ef7c4b45d4594c1d6b4b908e8ae00a8277d2af6029e5 WHIRLPOOL 5d57394a8e87c9ad99a0874c7f6f6c4c6df7a9e1dd69098d46dd681bd2d097ea0796284c4c49943f857f01471e1e307f1b69058f730e56cd5335ec3a54f28bbc
|
||||
|
@ -1,24 +0,0 @@
|
||||
Make configure script work for Python 3.
|
||||
|
||||
In Python 3, map returns an iterable, not a list, so for a subsequent map to
|
||||
work we have to convert that to a list explicitely. This should work for
|
||||
Python 2 just as well, so the patch can be applied unconditionally.
|
||||
|
||||
2013-09-21 Martin von Gagern
|
||||
|
||||
References:
|
||||
https://bugs.gentoo.org/485490
|
||||
|
||||
Index: Botan-1.10.5/configure.py
|
||||
===================================================================
|
||||
--- Botan-1.10.5.orig/configure.py
|
||||
+++ Botan-1.10.5/configure.py
|
||||
@@ -1780,7 +1780,7 @@ def main(argv = None):
|
||||
gcc_version = stdout.strip()
|
||||
|
||||
logging.info('Detected gcc version %s' % (gcc_version))
|
||||
- return map(int, gcc_version.split('.')[0:2])
|
||||
+ return [int(c) for c in gcc_version.split('.')[0:2]]
|
||||
except OSError:
|
||||
logging.warning('Could not execute %s for version check' % (gcc_bin))
|
||||
return None
|
@ -1,35 +0,0 @@
|
||||
From 5bb0b47e608e083dda5e39132174b840f3b091cf Mon Sep 17 00:00:00 2001
|
||||
From: Alon Bar-Lev <alon.barlev@gmail.com>
|
||||
Date: Tue, 15 Sep 2015 00:18:19 +0300
|
||||
Subject: [PATCH] build: support multiple python versions
|
||||
|
||||
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
|
||||
---
|
||||
src/scripts/install.py | 11 ++++++-----
|
||||
1 file changed, 6 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/src/scripts/install.py b/src/scripts/install.py
|
||||
index 2c69213..d1d62b6 100755
|
||||
--- a/src/scripts/install.py
|
||||
+++ b/src/scripts/install.py
|
||||
@@ -181,11 +181,12 @@ def main(args = None):
|
||||
os.path.join(pkgconfig_dir, os.path.basename(cfg['botan_pkgconfig'])))
|
||||
|
||||
if 'ffi' in cfg['mod_list'].split('\n'):
|
||||
- py_lib_path = os.path.join(lib_dir, 'python%s' % (cfg['python_version']), 'site-packages')
|
||||
- logging.debug('Installing python module to %s' % (py_lib_path))
|
||||
- makedirs(py_lib_path)
|
||||
- for py in ['botan.py']:
|
||||
- copy_file(os.path.join(cfg['python_dir'], py), os.path.join(py_lib_path, py))
|
||||
+ for ver in cfg['python_version'].split(','):
|
||||
+ py_lib_path = os.path.join(lib_dir, 'python%s' % (ver), 'site-packages')
|
||||
+ logging.debug('Installing python module to %s' % (py_lib_path))
|
||||
+ makedirs(py_lib_path)
|
||||
+ for py in ['botan.py']:
|
||||
+ copy_file(os.path.join(cfg['python_dir'], py), os.path.join(py_lib_path, py))
|
||||
|
||||
shutil.rmtree(target_doc_dir, True)
|
||||
shutil.copytree(cfg['doc_output_dir'], target_doc_dir)
|
||||
--
|
||||
2.4.6
|
||||
|
@ -1,36 +0,0 @@
|
||||
--- makefile
|
||||
+++ makefile
|
||||
@@ -241,8 +241,7 @@
|
||||
|
||||
OBJS = $(BNOBJS) $(CERTOBJS) $(CRYPTOBJS) $(CTXOBJS) $(DEVOBJS) \
|
||||
$(ENVOBJS) $(HASHOBJS) $(IOOBJS) $(KEYSETOBJS) $(KRNLOBJS) \
|
||||
- $(LIBOBJS) $(MECHOBJS) $(MISCOBJS) $(SESSOBJS) $(ZLIBOBJS) \
|
||||
- $(OSOBJS)
|
||||
+ $(LIBOBJS) $(MECHOBJS) $(MISCOBJS) $(SESSOBJS) $(OSOBJS)
|
||||
|
||||
# Object files for the self-test code
|
||||
|
||||
@@ -1299,7 +1298,7 @@
|
||||
|
||||
$(SLIBNAME): $(OBJS) $(EXTRAOBJS) $(TESTOBJS)
|
||||
@./tools/buildsharedlib.sh $(OSNAME) $(SLIBNAME) $(LD) $(OBJS) \
|
||||
- $(EXTRAOBJS)
|
||||
+ $(EXTRAOBJS) -lz
|
||||
|
||||
$(DYLIBNAME): $(OBJS) $(EXTRAOBJS) $(TESTOBJS)
|
||||
@$(LD) -dynamiclib -compatibility_version $(MAJ).$(MIN) \
|
||||
--- envelope/envelope.h
|
||||
+++ envelope/envelope.h
|
||||
@@ -17,11 +17,7 @@
|
||||
#endif /* Compiler-specific includes */
|
||||
#endif /* _STREAM_DEFINED */
|
||||
#ifdef USE_COMPRESSION
|
||||
- #if defined( INC_ALL )
|
||||
- #include "zlib.h"
|
||||
- #else
|
||||
- #include "zlib/zlib.h"
|
||||
- #endif /* Compiler-specific includes */
|
||||
+ #include <zlib.h>
|
||||
#endif /* USE_COMPRESSION */
|
||||
|
||||
/****************************************************************************
|
@ -1,49 +0,0 @@
|
||||
From a36ee7501f68ad7ebcfe31f9659430b9d2c3ddd1 Mon Sep 17 00:00:00 2001
|
||||
From: NIIBE Yutaka <gniibe@fsij.org>
|
||||
Date: Thu, 11 Jun 2015 16:19:49 +0900
|
||||
Subject: [PATCH 1/1] mpi: Support FreeBSD 10 or later.
|
||||
|
||||
* mpi/config.links: Include FreeBSD 10 to 29.
|
||||
|
||||
--
|
||||
|
||||
Thanks to Yuta SATOH.
|
||||
|
||||
GnuPG-bug-id: 1936, 1974
|
||||
---
|
||||
mpi/config.links | 12 +++++++-----
|
||||
1 file changed, 7 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/mpi/config.links b/mpi/config.links
|
||||
index 2fb5e8a..3ead4f0 100644
|
||||
--- a/mpi/config.links
|
||||
+++ b/mpi/config.links
|
||||
@@ -50,11 +50,12 @@ case "${host}" in
|
||||
path=""
|
||||
mpi_cpu_arch="x86"
|
||||
;;
|
||||
- i[3467]86*-*-openbsd* | \
|
||||
- i[3467]86*-*-freebsd*-elf | \
|
||||
- i[3467]86*-*-freebsd[3-9]* | \
|
||||
- i[3467]86*-*-freebsdelf* | \
|
||||
- i[3467]86*-*-netbsd* | \
|
||||
+ i[3467]86*-*-openbsd* | \
|
||||
+ i[3467]86*-*-freebsd*-elf | \
|
||||
+ i[3467]86*-*-freebsd[3-9]* | \
|
||||
+ i[3467]86*-*-freebsd[12][0-9]*| \
|
||||
+ i[3467]86*-*-freebsdelf* | \
|
||||
+ i[3467]86*-*-netbsd* | \
|
||||
i[3467]86*-*-k*bsd*)
|
||||
echo '#define ELF_SYNTAX' >>./mpi/asm-syntax.h
|
||||
cat $srcdir/mpi/i386/syntax.h >>./mpi/asm-syntax.h
|
||||
@@ -64,6 +65,7 @@ case "${host}" in
|
||||
i586*-*-openbsd* | \
|
||||
i586*-*-freebsd*-elf | \
|
||||
i586*-*-freebsd[3-9]* | \
|
||||
+ i586*-*-freebsd[12][0-9]*| \
|
||||
i586*-*-freebsdelf* | \
|
||||
i586*-*-netbsd* | \
|
||||
i586*-*-k*bsd* | \
|
||||
--
|
||||
2.1.4
|
||||
|
@ -1 +1 @@
|
||||
Fri, 09 Sep 2016 06:40:40 +0000
|
||||
Fri, 09 Sep 2016 10:40:35 +0000
|
||||
|
@ -1 +1 @@
|
||||
Fri, 09 Sep 2016 06:40:40 +0000
|
||||
Fri, 09 Sep 2016 10:40:35 +0000
|
||||
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=configure install postinst prepare
|
||||
DEPEND=pam? ( virtual/pam ) skey? ( >=sys-auth/skey-1.1.5-r1 ) ldap? ( >=net-nds/openldap-2.1.30-r1 dev-libs/cyrus-sasl ) sys-libs/zlib sys-devel/bison
|
||||
DESCRIPTION=Allows users or groups to run commands as other users
|
||||
EAPI=6
|
||||
HOMEPAGE=http://www.sudo.ws/
|
||||
IUSE=ldap nls pam offensive selinux skey +sendmail
|
||||
LICENSE=ISC BSD
|
||||
RDEPEND=pam? ( virtual/pam ) skey? ( >=sys-auth/skey-1.1.5-r1 ) ldap? ( >=net-nds/openldap-2.1.30-r1 dev-libs/cyrus-sasl ) sys-libs/zlib selinux? ( sec-policy/selinux-sudo ) ldap? ( dev-lang/perl ) pam? ( sys-auth/pambase ) >=app-misc/editor-wrapper-3 virtual/editor sendmail? ( virtual/mta )
|
||||
REQUIRED_USE=pam? ( !skey ) skey? ( !pam )
|
||||
SLOT=0
|
||||
SRC_URI=http://www.sudo.ws/sudo/dist/beta/sudo-1.8.18rc1.tar.gz ftp://ftp.sudo.ws/pub/sudo/beta/sudo-1.8.18rc1.tar.gz
|
||||
_eclasses_=eutils b83a2420b796f7c6eff682679d08fe25 flag-o-matic 8632fcd33a047954f007dee9a137bdcc libtool 4890219c51da247200223277f993e054 multilib 165fc17c38d1b11dac2008280dab6e80 pam 3ecd5b75e39b0bb05a3183c08fcdfdb4 toolchain-funcs 6198c04daba0e1307bd844df7d37f423
|
||||
_md5_=ea220916e3884af338897d718523fa40
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install postinst prepare setup unpack
|
||||
DEPEND=>=dev-libs/glib-2.14:2 netlink? ( dev-libs/libnl:3 ) adns? ( >=net-dns/c-ares-1.5 ) crypt? ( dev-libs/libgcrypt:0 ) caps? ( sys-libs/libcap ) geoip? ( dev-libs/geoip ) gtk3? ( x11-libs/gdk-pixbuf x11-libs/pango x11-misc/xdg-utils x11-libs/gtk+:3 ) kerberos? ( virtual/krb5 ) lua? ( >=dev-lang/lua-5.1:* ) pcap? ( net-libs/libpcap ) portaudio? ( media-libs/portaudio ) qt4? ( dev-qt/qtcore:4 dev-qt/qtgui:4[accessibility] x11-misc/xdg-utils ) qt5? ( dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtmultimedia:5 dev-qt/qtprintsupport:5 dev-qt/qtwidgets:5 x11-misc/xdg-utils ) sbc? ( media-libs/sbc ) smi? ( net-libs/libsmi ) ssl? ( net-libs/gnutls:= ) zlib? ( sys-libs/zlib !=sys-libs/zlib-1.2.4 ) dev-lang/perl !<virtual/perl-Pod-Simple-3.170 !<perl-core/Pod-Simple-3.170 doc? ( app-doc/doxygen app-text/asciidoc dev-libs/libxml2 dev-libs/libxslt doc-pdf? ( dev-java/fop ) www-client/lynx ) sys-devel/bison sys-devel/flex virtual/pkgconfig !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 filecaps? ( sys-libs/libcap )
|
||||
DESCRIPTION=A network protocol analyzer formerly known as ethereal
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.wireshark.org/
|
||||
IUSE=adns androiddump +caps crypt doc doc-pdf geoip +gtk3 ipv6 kerberos lua +netlink +pcap portaudio +qt4 qt5 selinux sbc smi tfshark cpu_flags_x86_sse4_2 ssl zlib +filecaps
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=>=dev-libs/glib-2.14:2 netlink? ( dev-libs/libnl:3 ) adns? ( >=net-dns/c-ares-1.5 ) crypt? ( dev-libs/libgcrypt:0 ) caps? ( sys-libs/libcap ) geoip? ( dev-libs/geoip ) gtk3? ( x11-libs/gdk-pixbuf x11-libs/pango x11-misc/xdg-utils x11-libs/gtk+:3 ) kerberos? ( virtual/krb5 ) lua? ( >=dev-lang/lua-5.1:* ) pcap? ( net-libs/libpcap ) portaudio? ( media-libs/portaudio ) qt4? ( dev-qt/qtcore:4 dev-qt/qtgui:4[accessibility] x11-misc/xdg-utils ) qt5? ( dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtmultimedia:5 dev-qt/qtprintsupport:5 dev-qt/qtwidgets:5 x11-misc/xdg-utils ) sbc? ( media-libs/sbc ) smi? ( net-libs/libsmi ) ssl? ( net-libs/gnutls:= ) zlib? ( sys-libs/zlib !=sys-libs/zlib-1.2.4 ) gtk3? ( virtual/freedesktop-icon-theme ) qt4? ( virtual/freedesktop-icon-theme ) qt5? ( virtual/freedesktop-icon-theme ) selinux? ( sec-policy/selinux-wireshark )
|
||||
REQUIRED_USE=ssl? ( crypt ) ?? ( qt4 qt5 )
|
||||
SLOT=0/2.0.6
|
||||
SRC_URI=http://www.wireshark.org/download/src/all-versions/wireshark-2.0.6.tar.bz2
|
||||
_eclasses_=autotools 07e71b3b5690738ef7e8bc097077e00c base 3fe4f8980633fd7bc69e9887209ba2fe eutils b83a2420b796f7c6eff682679d08fe25 fcaps 6a1091a98b1dde01cc26ab3252da1a9b flag-o-matic 8632fcd33a047954f007dee9a137bdcc libtool 4890219c51da247200223277f993e054 multilib 165fc17c38d1b11dac2008280dab6e80 qmake-utils 0a242e7177789b0028b4045f336dd4db qt4-r2 d6c113024bb3086a1facc65cd338930e toolchain-funcs 6198c04daba0e1307bd844df7d37f423 user 80aaa71614ced86f02ee1a513821dc87
|
||||
_md5_=d4fd34e88f41e609e86adaccaff33c16
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile configure install prepare setup test
|
||||
DEPEND=>=dev-libs/libtasn1-4.3[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/nettle-3.1:=[gmp,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/gmp-5.1.3-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] tools? ( sys-devel/autogen ) crywrap? ( net-dns/libidn ) dane? ( >=net-dns/unbound-1.4.20[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) guile? ( >=dev-scheme/guile-1.8:*[networking] ) nls? ( >=virtual/libintl-0-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) pkcs11? ( >=app-crypt/p11-kit-0.23.1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) zlib? ( >=sys-libs/zlib-1.2.8-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20140508 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] ) >=sys-devel/automake-1.11.6 >=virtual/pkgconfig-0-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] doc? ( sys-apps/texinfo dev-util/gtk-doc ) nls? ( sys-devel/gettext ) test? ( app-misc/datefudge ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
|
||||
DESCRIPTION=A TLS 1.2 and SSL 3.0 implementation for the GNU project
|
||||
EAPI=6
|
||||
HOMEPAGE=http://www.gnutls.org/
|
||||
IUSE=+cxx +crywrap dane doc examples guile nls +openssl pkcs11 static-libs test +tls-heartbeat +tools zlib linguas_en linguas_cs linguas_de linguas_fi linguas_fr linguas_it linguas_ms linguas_nl linguas_pl linguas_sv linguas_uk linguas_vi linguas_zh_CN abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris
|
||||
LICENSE=GPL-3 LGPL-2.1
|
||||
RDEPEND=>=dev-libs/libtasn1-4.3[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/nettle-3.1:=[gmp,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/gmp-5.1.3-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] tools? ( sys-devel/autogen ) crywrap? ( net-dns/libidn ) dane? ( >=net-dns/unbound-1.4.20[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) guile? ( >=dev-scheme/guile-1.8:*[networking] ) nls? ( >=virtual/libintl-0-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) pkcs11? ( >=app-crypt/p11-kit-0.23.1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) zlib? ( >=sys-libs/zlib-1.2.8-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20140508 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] )
|
||||
SLOT=0/30
|
||||
SRC_URI=mirror://gnupg/gnutls/v3.4/gnutls-3.4.15.tar.xz
|
||||
_eclasses_=autotools 07e71b3b5690738ef7e8bc097077e00c eutils b83a2420b796f7c6eff682679d08fe25 libtool 4890219c51da247200223277f993e054 multibuild 742139c87a9fa3766f0c2b155e5522bf multilib 165fc17c38d1b11dac2008280dab6e80 multilib-build 8fe2e81aeb36cdf8a6cc5f50443879cc multilib-minimal 0224dee31c0f98405d572e14ad6dee65 toolchain-funcs 6198c04daba0e1307bd844df7d37f423 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||
_md5_=addcc46ff7262bc7c419cdd1db1c4568
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile configure install prepare setup test
|
||||
DEPEND=>=dev-libs/libtasn1-4.3[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/nettle-3.1:=[gmp,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/gmp-5.1.3-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] tools? ( sys-devel/autogen ) dane? ( >=net-dns/unbound-1.4.20[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) guile? ( >=dev-scheme/guile-1.8:*[networking] ) nls? ( >=virtual/libintl-0-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) pkcs11? ( >=app-crypt/p11-kit-0.23.1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) zlib? ( >=sys-libs/zlib-1.2.8-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20140508 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] ) >=sys-devel/automake-1.11.6 >=virtual/pkgconfig-0-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] doc? ( sys-apps/texinfo dev-util/gtk-doc ) nls? ( sys-devel/gettext ) test? ( app-misc/datefudge ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
|
||||
DESCRIPTION=A TLS 1.2 and SSL 3.0 implementation for the GNU project
|
||||
EAPI=6
|
||||
HOMEPAGE=http://www.gnutls.org/
|
||||
IUSE=+cxx dane doc examples guile nls +openssl pkcs11 sslv2 +sslv3 static-libs test +tls-heartbeat +tools zlib linguas_en linguas_cs linguas_de linguas_fi linguas_fr linguas_it linguas_ms linguas_nl linguas_pl linguas_sv linguas_uk linguas_vi linguas_zh_CN abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris
|
||||
LICENSE=GPL-3 LGPL-2.1
|
||||
RDEPEND=>=dev-libs/libtasn1-4.3[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/nettle-3.1:=[gmp,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/gmp-5.1.3-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] tools? ( sys-devel/autogen ) dane? ( >=net-dns/unbound-1.4.20[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) guile? ( >=dev-scheme/guile-1.8:*[networking] ) nls? ( >=virtual/libintl-0-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) pkcs11? ( >=app-crypt/p11-kit-0.23.1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) zlib? ( >=sys-libs/zlib-1.2.8-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20140508 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] )
|
||||
SLOT=0/30
|
||||
SRC_URI=mirror://gnupg/gnutls/v3.5/gnutls-3.5.4.tar.xz
|
||||
_eclasses_=autotools 07e71b3b5690738ef7e8bc097077e00c eutils b83a2420b796f7c6eff682679d08fe25 libtool 4890219c51da247200223277f993e054 multibuild 742139c87a9fa3766f0c2b155e5522bf multilib 165fc17c38d1b11dac2008280dab6e80 multilib-build 8fe2e81aeb36cdf8a6cc5f50443879cc multilib-minimal 0224dee31c0f98405d572e14ad6dee65 toolchain-funcs 6198c04daba0e1307bd844df7d37f423 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||
_md5_=90c3e961ab85adc9546075d9d8387c3b
|
@ -1 +1 @@
|
||||
Fri, 09 Sep 2016 06:40:40 +0000
|
||||
Fri, 09 Sep 2016 10:40:35 +0000
|
||||
|
@ -1 +1 @@
|
||||
Fri Sep 9 06:39:45 UTC 2016
|
||||
Fri Sep 9 10:39:40 UTC 2016
|
||||
|
@ -1 +1 @@
|
||||
Fri, 09 Sep 2016 07:00:01 +0000
|
||||
Fri, 09 Sep 2016 11:00:01 +0000
|
||||
|
@ -1 +1 @@
|
||||
1473403201 Fri 09 Sep 2016 06:40:01 AM UTC
|
||||
1473417601 Fri 09 Sep 2016 10:40:01 AM UTC
|
||||
|
@ -1 +1 @@
|
||||
Fri, 09 Sep 2016 06:40:40 +0000
|
||||
Fri, 09 Sep 2016 10:40:35 +0000
|
||||
|
@ -0,0 +1,266 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit autotools eutils fcaps flag-o-matic multilib qmake-utils qt4-r2 user
|
||||
|
||||
DESCRIPTION="A network protocol analyzer formerly known as ethereal"
|
||||
HOMEPAGE="http://www.wireshark.org/"
|
||||
SRC_URI="${HOMEPAGE}download/src/all-versions/${P/_/}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="
|
||||
adns androiddump +caps crypt doc doc-pdf geoip +gtk3 ipv6 kerberos lua
|
||||
+netlink +pcap portaudio +qt4 qt5 selinux sbc smi tfshark
|
||||
cpu_flags_x86_sse4_2 ssl zlib
|
||||
"
|
||||
REQUIRED_USE="
|
||||
ssl? ( crypt )
|
||||
?? ( qt4 qt5 )
|
||||
"
|
||||
|
||||
S=${WORKDIR}/${P/_/}
|
||||
|
||||
GTK_COMMON_DEPEND="
|
||||
x11-libs/gdk-pixbuf
|
||||
x11-libs/pango
|
||||
x11-misc/xdg-utils
|
||||
"
|
||||
CDEPEND="
|
||||
>=dev-libs/glib-2.14:2
|
||||
netlink? ( dev-libs/libnl:3 )
|
||||
adns? ( >=net-dns/c-ares-1.5 )
|
||||
crypt? ( dev-libs/libgcrypt:0 )
|
||||
caps? ( sys-libs/libcap )
|
||||
geoip? ( dev-libs/geoip )
|
||||
gtk3? (
|
||||
${GTK_COMMON_DEPEND}
|
||||
x11-libs/gtk+:3
|
||||
)
|
||||
kerberos? ( virtual/krb5 )
|
||||
lua? ( >=dev-lang/lua-5.1:* )
|
||||
pcap? ( net-libs/libpcap )
|
||||
portaudio? ( media-libs/portaudio )
|
||||
qt4? (
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtgui:4[accessibility]
|
||||
x11-misc/xdg-utils
|
||||
)
|
||||
qt5? (
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtmultimedia:5
|
||||
dev-qt/qtprintsupport:5
|
||||
dev-qt/qtwidgets:5
|
||||
x11-misc/xdg-utils
|
||||
)
|
||||
sbc? ( media-libs/sbc )
|
||||
smi? ( net-libs/libsmi )
|
||||
ssl? ( net-libs/gnutls:= )
|
||||
zlib? ( sys-libs/zlib !=sys-libs/zlib-1.2.4 )
|
||||
"
|
||||
# We need perl for `pod2html`. The rest of the perl stuff is to block older
|
||||
# and broken installs. #455122
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
dev-lang/perl
|
||||
!<virtual/perl-Pod-Simple-3.170
|
||||
!<perl-core/Pod-Simple-3.170
|
||||
doc? (
|
||||
app-doc/doxygen
|
||||
app-text/asciidoc
|
||||
dev-libs/libxml2
|
||||
dev-libs/libxslt
|
||||
doc-pdf? ( dev-java/fop )
|
||||
www-client/lynx
|
||||
)
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
virtual/pkgconfig
|
||||
"
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
gtk3? ( virtual/freedesktop-icon-theme )
|
||||
qt4? ( virtual/freedesktop-icon-theme )
|
||||
qt5? ( virtual/freedesktop-icon-theme )
|
||||
selinux? ( sec-policy/selinux-wireshark )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup wireshark
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-1.6.13-ldflags.patch \
|
||||
"${FILESDIR}"/${PN}-1.11.0-oldlibs.patch \
|
||||
"${FILESDIR}"/${PN}-99999999-pkgconfig.patch \
|
||||
"${FILESDIR}"/${PN}-1.99.8-qtchooser.patch \
|
||||
"${FILESDIR}"/${PN}-2.0.0-androiddump-pcap.patch \
|
||||
"${FILESDIR}"/${PN}-2.1.0-sse4_2.patch
|
||||
|
||||
epatch_user
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
# Workaround bug #213705. If krb5-config --libs has -lcrypto then pass
|
||||
# --with-ssl to ./configure. (Mimics code from acinclude.m4).
|
||||
if use kerberos; then
|
||||
case $(krb5-config --libs) in
|
||||
*-lcrypto*)
|
||||
ewarn "Kerberos was built with ssl support: linkage with openssl is enabled."
|
||||
ewarn "Note there are annoying license incompatibilities between the OpenSSL"
|
||||
ewarn "license and the GPL, so do your check before distributing such package."
|
||||
myconf+=( "--with-ssl" )
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# Enable wireshark binary with any supported GUI toolkit (bug #473188)
|
||||
if use gtk3 || use qt4 || use qt5; then
|
||||
myconf+=( "--enable-wireshark" )
|
||||
else
|
||||
myconf+=( "--disable-wireshark" )
|
||||
fi
|
||||
|
||||
if ! use qt4 && ! use qt5; then
|
||||
myconf+=( "--with-qt=no" )
|
||||
fi
|
||||
|
||||
if use qt4; then
|
||||
export QT_MIN_VERSION=4.6.0
|
||||
fi
|
||||
|
||||
if use qt5; then
|
||||
export QT_MIN_VERSION=5.3.0
|
||||
append-cxxflags -fPIC -DPIC
|
||||
fi
|
||||
|
||||
# Hack around inability to disable doxygen/fop doc generation
|
||||
use doc || export ac_cv_prog_HAVE_DOXYGEN=false
|
||||
use doc-pdf || export ac_cv_prog_HAVE_FOP=false
|
||||
|
||||
# dumpcap requires libcap
|
||||
# --disable-profile-build bugs #215806, #292991, #479602
|
||||
econf \
|
||||
$(use androiddump && use pcap && echo --enable-androiddump-use-libpcap=yes) \
|
||||
$(use_enable androiddump) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable tfshark) \
|
||||
$(use_with adns c-ares) \
|
||||
$(use_with caps libcap) \
|
||||
$(use_with crypt gcrypt) \
|
||||
$(use_with geoip) \
|
||||
$(use_with gtk3) \
|
||||
$(use_with kerberos krb5) \
|
||||
$(use_with lua) \
|
||||
$(use_with pcap dumpcap-group wireshark) \
|
||||
$(use_with pcap) \
|
||||
$(use_with portaudio) \
|
||||
$(usex qt4 --with-qt=4 '') \
|
||||
$(usex qt5 --with-qt=5 '') \
|
||||
$(usex qt4 MOC=$(qt4_get_bindir)/moc '') \
|
||||
$(usex qt4 RCC=$(qt4_get_bindir)/rcc '') \
|
||||
$(usex qt4 UIC=$(qt4_get_bindir)/uic '') \
|
||||
$(usex qt5 MOC=$(qt5_get_bindir)/moc '') \
|
||||
$(usex qt5 RCC=$(qt5_get_bindir)/rcc '') \
|
||||
$(usex qt5 UIC=$(qt5_get_bindir)/uic '') \
|
||||
$(use_with sbc) \
|
||||
$(use_with smi libsmi) \
|
||||
$(use_with ssl gnutls) \
|
||||
$(use_with zlib) \
|
||||
$(usex netlink --with-libnl=3 --without-libnl) \
|
||||
$(usex cpu_flags_x86_sse4_2 --enable-sse4_2 '') \
|
||||
--disable-profile-build \
|
||||
--disable-usr-local \
|
||||
--disable-warnings-as-errors \
|
||||
--sysconfdir="${EPREFIX}"/etc/wireshark \
|
||||
--without-adns \
|
||||
${myconf[@]}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
if use doc; then
|
||||
use doc-pdf && addpredict "/root/.java"
|
||||
emake -j1 -C docbook
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use doc; then
|
||||
dohtml -r docbook/{release-notes.html,ws{d,u}g_html{,_chunked}}
|
||||
if use doc-pdf; then
|
||||
insinto /usr/share/doc/${PF}/pdf/
|
||||
doins docbook/{developer,user}-guide-{a4,us}.pdf docbook/release-notes.pdf
|
||||
fi
|
||||
fi
|
||||
|
||||
# FAQ is not required as is installed from help/faq.txt
|
||||
dodoc AUTHORS ChangeLog NEWS README{,.bsd,.linux,.macos,.vmware} \
|
||||
doc/{randpkt.txt,README*}
|
||||
|
||||
# install headers
|
||||
local wsheader
|
||||
for wsheader in \
|
||||
color.h \
|
||||
config.h \
|
||||
epan/*.h \
|
||||
epan/crypt/*.h \
|
||||
epan/dfilter/*.h \
|
||||
epan/dissectors/*.h \
|
||||
epan/ftypes/*.h \
|
||||
epan/wmem/*.h \
|
||||
register.h \
|
||||
wiretap/*.h \
|
||||
ws_symbol_export.h \
|
||||
wsutil/*.h
|
||||
do
|
||||
insinto /usr/include/wireshark/$( dirname ${wsheader} )
|
||||
doins ${wsheader}
|
||||
done
|
||||
|
||||
#with the above this really shouldn't be needed, but things may be looking in wiretap/ instead of wireshark/wiretap/
|
||||
insinto /usr/include/wiretap
|
||||
doins wiretap/wtap.h
|
||||
|
||||
if use gtk3 || use qt4 || use qt5; then
|
||||
local c d
|
||||
for c in hi lo; do
|
||||
for d in 16 32 48; do
|
||||
insinto /usr/share/icons/${c}color/${d}x${d}/apps
|
||||
newins image/${c}${d}-app-wireshark.png wireshark.png
|
||||
done
|
||||
done
|
||||
for d in 16 24 32 48 64 128 256 ; do
|
||||
insinto /usr/share/icons/hicolor/${d}x${d}/mimetypes
|
||||
newins image/WiresharkDoc-${d}.png application-vnd.tcpdump.pcap.png
|
||||
done
|
||||
fi
|
||||
|
||||
prune_libtool_files
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Add group for users allowed to sniff.
|
||||
enewgroup wireshark
|
||||
|
||||
if use pcap; then
|
||||
fcaps -o 0 -g wireshark -m 4710 -M 0710 \
|
||||
cap_dac_read_search,cap_net_raw,cap_net_admin \
|
||||
"${EROOT}"/usr/bin/dumpcap
|
||||
fi
|
||||
|
||||
ewarn "NOTE: To capture traffic with wireshark as normal user you have to"
|
||||
ewarn "add yourself to the wireshark group. This security measure ensures"
|
||||
ewarn "that only trusted users are allowed to sniff your traffic."
|
||||
}
|
@ -1,9 +1,9 @@
|
||||
DIST cifs-utils-6.4.tar.bz2 392809 SHA256 38fc63926af435dae4ebcf4406275580a692d9fb9ee3e32170317cf2ba68e6e3 SHA512 05860ceed1e83b4f4da689d2fc1c1b48fddc0ca53ba52fc6cf26a277d6a884f5780060725c5df1401a665ac35ec5a170262ee62f61095e4a8d76348888182614 WHIRLPOOL 335262eb329860318750fcd081dc2c082f36c75a32e5e596a45b51e73b08be7ee66133c2e4e2bc3089631d3909018abd9c2f36f79d82cd9ea7f6fe2530900f72
|
||||
DIST cifs-utils-6.5.tar.bz2 402158 SHA256 e2776578b8267c6dc0862897f5e10f87f10f8337fca9ca6a9118f5eb30cf49f7 SHA512 c5eea97d2be455ad676a3ff693641512d5c1d81d75eb1d7d08e4274b6844a1353b6791aa3ced4d8d656ed4a09b3c17ae80f289a90a3d429a8a94210e15f3e90e WHIRLPOOL 880b3c5762e791317140213fea008759b9d2599ddefb08319877ba6a5ced517fd6e0246050975ad01b74110b20f2233bb6cb505ecf3b2e05dca014ae378eaba5
|
||||
DIST cifs-utils-6.6.tar.bz2 401831 SHA256 d07152a807de6840566bbcc69a97ff6fa17fca4e09ceb4641d74882a83e67125 SHA512 0059c85a9faeff4bba052a9bfc672baa658a923e03304dfb0c51f427079afc6effb2f83d7d09cdcacb2c8a30cdfccd3946957b1616790f5ad3ae2300f161458f WHIRLPOOL 340b8ac0bcc42d83e757a1fd747444afb36d1b252b36ca77896d02e384c9c016a45f7cd5d1fa40a1f90163f652a4fc43c90818cb56c33b263f4d2a9b49cc62c7
|
||||
EBUILD cifs-utils-6.4.ebuild 2867 SHA256 9e0ab038e73a06a098220d7dcee39684aff4af0a3b750740c13e17e3c893c5fb SHA512 29247cc54517e7affebd8342b8718f976f81e7fedc3e7090ff70add07f120f8bda7092e91f913969b9299edfc91b6408d9fe3eb65b6b5510bdf6eea49bbcb276 WHIRLPOOL d219a2005f168ec00c73a3f852317c2412e3e34e122b1d9439a997b4bfc7bb9f7389718f003e7c1a39011c7f1824912207dcbd839077c13ad95e5ba9c41543a7
|
||||
EBUILD cifs-utils-6.5.ebuild 2878 SHA256 6bb9c10611022993b5a345793d2589316d9b477c96490a86d00a976b007b26fe SHA512 e36f7d520e545f1371abdb2ef143e5652c12118b20040aa8a16613e4f5dfc6c908fbce4b720a8d48f0fc33f408355f6be08c915dac7a4f979ca4d9d49e3887d5 WHIRLPOOL 2085ec295bda18ba28abebd4b356cf7e4cb53e96e5c71b41bef7a48601cd1f4f5f0f5ed9c4ab4b1975410fc5948410cd70ab76933a55f033fb0c736137d3a9e4
|
||||
EBUILD cifs-utils-6.6.ebuild 2878 SHA256 6bb9c10611022993b5a345793d2589316d9b477c96490a86d00a976b007b26fe SHA512 e36f7d520e545f1371abdb2ef143e5652c12118b20040aa8a16613e4f5dfc6c908fbce4b720a8d48f0fc33f408355f6be08c915dac7a4f979ca4d9d49e3887d5 WHIRLPOOL 2085ec295bda18ba28abebd4b356cf7e4cb53e96e5c71b41bef7a48601cd1f4f5f0f5ed9c4ab4b1975410fc5948410cd70ab76933a55f033fb0c736137d3a9e4
|
||||
MISC ChangeLog 5704 SHA256 048275ad7fcd2c16b247f7e20504bce5b6e6b9733ced4c9cd4ab8d38e55b637a SHA512 fd931b1e5f87673995c60ae8ebe1fc85853ae374696d4a1f298d8e3c3d7e2f7e02b0b6901367a0288a0489b85567183f03e60eea86395534bf96f6a43593f0eb WHIRLPOOL b3d2adcfbe0edefcf620b9e1b5840fc60aa6dabae10184b8e0ecde599b61a1813a5381b2c2afaede87251f4863da48a8ada94948107717420b2e4d636754815e
|
||||
EBUILD cifs-utils-6.4.ebuild 2974 SHA256 b0d9f390a747535aeccfbcd03dcdc2ccb07896c9b296fb42e5a4e63547dcfe8c SHA512 1844546b677bf8e170e5bd01f2455feac44819532927a48c251fb9a62fe3f310fb02187da15552034a8053c13b45d40b280d9b7bd6d7935bde1c15f5723be97b WHIRLPOOL 6088eb3f8efe6528f2fc016c2375b3879eeffd424d40b6ba52a150430ce37eff1088339c16a991b728ac0017b38aaf2962790e4221588b9b8a4b1f422f59c7f8
|
||||
EBUILD cifs-utils-6.5.ebuild 2985 SHA256 f89a94159847d18d7d6f0cf45c9f99b4b0e0e51973d3648454c3b9e10076ba35 SHA512 c2ac97a443c9b80650178676bf79d346afe8c4e332f44e5b494a424c90f25e3be5ca8c2568de1969bd76ac5b97cbe1025dcc8916d08cecb38c8b4eb1cfa79f01 WHIRLPOOL 7a5a4f46885f9a5cd0ffef57b4df9b4f12673f84721f784b84cd56457783cead96026502c595f92a193298c1fe4d823ef876fd19c0eba933a404b0d516073c16
|
||||
EBUILD cifs-utils-6.6.ebuild 2985 SHA256 f89a94159847d18d7d6f0cf45c9f99b4b0e0e51973d3648454c3b9e10076ba35 SHA512 c2ac97a443c9b80650178676bf79d346afe8c4e332f44e5b494a424c90f25e3be5ca8c2568de1969bd76ac5b97cbe1025dcc8916d08cecb38c8b4eb1cfa79f01 WHIRLPOOL 7a5a4f46885f9a5cd0ffef57b4df9b4f12673f84721f784b84cd56457783cead96026502c595f92a193298c1fe4d823ef876fd19c0eba933a404b0d516073c16
|
||||
MISC ChangeLog 6109 SHA256 6fe884e9333597763dc14f5308772a64cc4076ba56815bcebdf0d29077f0237c SHA512 bafee1571f092244533a40834e774e535b60fe24a5d7a4075bea3f9c289fdc5009cc76a41a0ea22740e902f1637dd1fa90059745e6cebc56774146f469e69de7 WHIRLPOOL b226e30f96549e00358cc7028d98186ed0868440b3022090a288d27ddc3507a798741a9fda152d49ffa8b5f035260bc027769821df4473a29a70743abff1c328
|
||||
MISC ChangeLog-2015 12721 SHA256 8b26bff3df84d27491a9a9aa39459c109a7643ebde9e8a375b5ad4c93e58c4ad SHA512 89a2674b5fdd892ebbf022faca0dace1b2f125d8eb6ea6034266930af391dcc1ce70292a6b374bd6f82d02029a0f7a75ccf705af678302a4ca750c1206d2b2e0 WHIRLPOOL 7e2959c4519617336b808fd5469a6950756d6841b957ef1e4e2c66c99d164c2c6dfd685c652f29be1f085d0061266ac71cca894dfff2862d8e12ad5651c0bce2
|
||||
MISC metadata.xml 889 SHA256 89bba935346607875e91cba58f764b546785ddfd0959a1da29332a8413285576 SHA512 979960233f0941ecbfa1cadd79fae28898cf8f8333225483808cd25b84d0395d9a7dbc84a5912c2dedb38269d62b7d7f4a647b5d12e47b7706368b3640d90c66 WHIRLPOOL 6d0c66bb0c9349a25c87b051f91ee70dd489ffa89bc343922cc90f9961c343d56a8c596b08565576530a297a5f36e1cc65f8500b8af1570e7975ff0176e4db34
|
||||
|
@ -0,0 +1,132 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools libtool eutils multilib-minimal versionator
|
||||
|
||||
DESCRIPTION="A TLS 1.2 and SSL 3.0 implementation for the GNU project"
|
||||
HOMEPAGE="http://www.gnutls.org/"
|
||||
SRC_URI="mirror://gnupg/gnutls/v$(get_version_component_range 1-2)/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3 LGPL-2.1"
|
||||
SLOT="0/30" # libgnutls.so number
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE_LINGUAS=" en cs de fi fr it ms nl pl sv uk vi zh_CN"
|
||||
IUSE="+cxx +crywrap dane doc examples guile nls +openssl pkcs11 static-libs test +tls-heartbeat +tools zlib ${IUSE_LINGUAS// / linguas_}"
|
||||
|
||||
# NOTICE: sys-devel/autogen is required at runtime as we
|
||||
# use system libopts
|
||||
RDEPEND=">=dev-libs/libtasn1-4.3[${MULTILIB_USEDEP}]
|
||||
>=dev-libs/nettle-3.1:=[gmp,${MULTILIB_USEDEP}]
|
||||
>=dev-libs/gmp-5.1.3-r1[${MULTILIB_USEDEP}]
|
||||
tools? ( sys-devel/autogen )
|
||||
crywrap? ( net-dns/libidn )
|
||||
dane? ( >=net-dns/unbound-1.4.20[${MULTILIB_USEDEP}] )
|
||||
guile? ( >=dev-scheme/guile-1.8:*[networking] )
|
||||
nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )
|
||||
pkcs11? ( >=app-crypt/p11-kit-0.23.1[${MULTILIB_USEDEP}] )
|
||||
zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
|
||||
abi_x86_32? (
|
||||
!<=app-emulation/emul-linux-x86-baselibs-20140508
|
||||
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
>=sys-devel/automake-1.11.6
|
||||
>=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
|
||||
doc? (
|
||||
sys-apps/texinfo
|
||||
dev-util/gtk-doc
|
||||
)
|
||||
nls? ( sys-devel/gettext )
|
||||
test? ( app-misc/datefudge )"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README THANKS doc/TODO )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-3.4.7-build-allow-installing-man-1-even-with-disable-doc.patch"
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
# bug#520818
|
||||
export TZ=UTC
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i \
|
||||
-e 's/imagesdir = $(infodir)/imagesdir = $(htmldir)/' \
|
||||
doc/Makefile.am || die
|
||||
|
||||
# force regeneration of autogen-ed files
|
||||
local file
|
||||
for file in $(grep -l AutoGen-ed src/*.c) ; do
|
||||
rm src/$(basename ${file} .c).{c,h} || die
|
||||
done
|
||||
|
||||
# force regeneration of makeinfo files
|
||||
# have no idea why on some system these files are not
|
||||
# accepted as-is, see bug#520818
|
||||
for file in $(grep -l "produced by makeinfo" doc/*.info) ; do
|
||||
rm "${file}" || die
|
||||
done
|
||||
|
||||
eautoreconf
|
||||
|
||||
# Use sane .so versioning on FreeBSD.
|
||||
elibtoolize
|
||||
|
||||
# bug 497472
|
||||
use cxx || epunt_cxx
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
LINGUAS="${LINGUAS//en/en@boldquot en@quot}"
|
||||
|
||||
# TPM needs to be tested before being enabled
|
||||
# hardware-accell is disabled on OSX because the asm files force
|
||||
# GNU-stack (as doesn't support that) and when that's removed ld
|
||||
# complains about duplicate symbols
|
||||
ECONF_SOURCE=${S} \
|
||||
econf \
|
||||
--disable-valgrind-tests \
|
||||
--without-included-libtasn1 \
|
||||
$(use_enable cxx) \
|
||||
$(use_enable dane libdane) \
|
||||
$(multilib_native_enable manpages) \
|
||||
$(multilib_native_use_enable tools) \
|
||||
$(multilib_native_use_enable doc) \
|
||||
$(multilib_native_use_enable doc gtk-doc) \
|
||||
$(multilib_native_use_enable guile) \
|
||||
$(multilib_native_use_enable crywrap) \
|
||||
$(multilib_native_use_enable test tests) \
|
||||
$(use_enable nls) \
|
||||
$(use_enable openssl openssl-compatibility) \
|
||||
$(use_enable tls-heartbeat heartbeat-support) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_with pkcs11 p11-kit) \
|
||||
$(use_with zlib) \
|
||||
--without-tpm \
|
||||
--with-unbound-root-key-file=/etc/dnssec/root-anchors.txt \
|
||||
$([[ ${CHOST} == *-darwin* ]] && echo --disable-hardware-acceleration)
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
prune_libtool_files --all
|
||||
|
||||
dodoc doc/certtool.cfg
|
||||
|
||||
if use doc; then
|
||||
dohtml doc/gnutls.html
|
||||
else
|
||||
rm -fr "${ED}/usr/share/doc/${PF}/html"
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc doc/examples/*.c
|
||||
fi
|
||||
}
|
@ -0,0 +1,126 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools libtool eutils multilib-minimal versionator
|
||||
|
||||
DESCRIPTION="A TLS 1.2 and SSL 3.0 implementation for the GNU project"
|
||||
HOMEPAGE="http://www.gnutls.org/"
|
||||
SRC_URI="mirror://gnupg/gnutls/v$(get_version_component_range 1-2)/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3 LGPL-2.1"
|
||||
SLOT="0/30" # libgnutls.so number
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE_LINGUAS=" en cs de fi fr it ms nl pl sv uk vi zh_CN"
|
||||
IUSE="+cxx dane doc examples guile nls +openssl pkcs11 sslv2 +sslv3 static-libs test +tls-heartbeat +tools zlib ${IUSE_LINGUAS// / linguas_}"
|
||||
|
||||
# NOTICE: sys-devel/autogen is required at runtime as we
|
||||
# use system libopts
|
||||
RDEPEND=">=dev-libs/libtasn1-4.3[${MULTILIB_USEDEP}]
|
||||
>=dev-libs/nettle-3.1:=[gmp,${MULTILIB_USEDEP}]
|
||||
>=dev-libs/gmp-5.1.3-r1[${MULTILIB_USEDEP}]
|
||||
tools? ( sys-devel/autogen )
|
||||
dane? ( >=net-dns/unbound-1.4.20[${MULTILIB_USEDEP}] )
|
||||
guile? ( >=dev-scheme/guile-1.8:*[networking] )
|
||||
nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )
|
||||
pkcs11? ( >=app-crypt/p11-kit-0.23.1[${MULTILIB_USEDEP}] )
|
||||
zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
|
||||
abi_x86_32? (
|
||||
!<=app-emulation/emul-linux-x86-baselibs-20140508
|
||||
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
>=sys-devel/automake-1.11.6
|
||||
>=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
|
||||
doc? (
|
||||
sys-apps/texinfo
|
||||
dev-util/gtk-doc
|
||||
)
|
||||
nls? ( sys-devel/gettext )
|
||||
test? ( app-misc/datefudge )"
|
||||
|
||||
pkg_setup() {
|
||||
# bug#520818
|
||||
export TZ=UTC
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i \
|
||||
-e 's/imagesdir = $(infodir)/imagesdir = $(htmldir)/' \
|
||||
doc/Makefile.am || die
|
||||
|
||||
# force regeneration of autogen-ed files
|
||||
local file
|
||||
for file in $(grep -l AutoGen-ed src/*.c) ; do
|
||||
rm src/$(basename ${file} .c).{c,h} || die
|
||||
done
|
||||
|
||||
# force regeneration of makeinfo files
|
||||
# have no idea why on some system these files are not
|
||||
# accepted as-is, see bug#520818
|
||||
for file in $(grep -l "produced by makeinfo" doc/*.info) ; do
|
||||
rm "${file}" || die
|
||||
done
|
||||
|
||||
eautoreconf
|
||||
|
||||
# Use sane .so versioning on FreeBSD.
|
||||
elibtoolize
|
||||
|
||||
# bug 497472
|
||||
use cxx || epunt_cxx
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
LINGUAS="${LINGUAS//en/en@boldquot en@quot}"
|
||||
|
||||
# TPM needs to be tested before being enabled
|
||||
# hardware-accell is disabled on OSX because the asm files force
|
||||
# GNU-stack (as doesn't support that) and when that's removed ld
|
||||
# complains about duplicate symbols
|
||||
ECONF_SOURCE=${S} \
|
||||
econf \
|
||||
--disable-valgrind-tests \
|
||||
--without-included-libtasn1 \
|
||||
$(use_enable cxx) \
|
||||
$(use_enable dane libdane) \
|
||||
$(multilib_native_enable manpages) \
|
||||
$(multilib_native_use_enable tools) \
|
||||
$(multilib_native_use_enable doc) \
|
||||
$(multilib_native_use_enable doc gtk-doc) \
|
||||
$(multilib_native_use_enable guile) \
|
||||
$(multilib_native_use_enable test tests) \
|
||||
$(use_enable nls) \
|
||||
$(use_enable openssl openssl-compatibility) \
|
||||
$(use_enable tls-heartbeat heartbeat-support) \
|
||||
$(use_enable sslv2 ssl2-support) \
|
||||
$(use_enable sslv3 ssl3-support) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_with pkcs11 p11-kit) \
|
||||
$(use_with zlib) \
|
||||
--without-tpm \
|
||||
--with-unbound-root-key-file=/etc/dnssec/root-anchors.txt \
|
||||
$([[ ${CHOST} == *-darwin* ]] && echo --disable-hardware-acceleration)
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
prune_libtool_files --all
|
||||
|
||||
dodoc doc/certtool.cfg
|
||||
|
||||
if use doc; then
|
||||
dohtml doc/gnutls.html
|
||||
else
|
||||
rm -fr "${ED}/usr/share/doc/${PF}/html"
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc doc/examples/*.c
|
||||
fi
|
||||
}
|
Loading…
Reference in new issue