parent
8114f6c99d
commit
0ff20c0563
@ -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,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
|
||||
|
@ -1,3 +1,4 @@
|
||||
DIST wireshark-2.0.4.tar.bz2 31121258 SHA256 9ea9c82da9942194ebc8fc5c951a02e6d179afa7472cb6d96ca76154510de1a5 SHA512 f86c41ba9fb25ea61f3947819676417f7af64301cdd37c91666d59b179c45d76c1d0e8739ef6bcf3bb077d3216a65458b3d56755dd08f1fb05cc87cb810f8a07 WHIRLPOOL 2a495221cc1e28283ca19c181fb531fbd01194dd9a0ce9ab6df2a50ce0e19dc21ff5fe023d08a88ebcbb2bfe2a55d47e173401bc09ff8f5356e695fb4cacb12b
|
||||
DIST wireshark-2.0.5.tar.bz2 31124989 SHA256 0ce0241330828973f5b4efee422a3760cab8ce0b41e7721c4b9fd185be1bb10b SHA512 5b04165e1c18b30743ec6fc0bc81a02eb4906e87cbdc128da1e16662d855ed4a0545eb249aadba8a7e82b3abb4e1fdc5c56c06faaf730f56616332c0b7775e9c WHIRLPOOL 1f1a7dafa92c244534bd938f2b9290e33d6b2990a729a7e08aada81a3e935ccb93bbb42e0b952474b7d1c21588bf04057c40c2786ada1722f424a47dda8e192d
|
||||
DIST wireshark-2.0.6.tar.bz2 31213641 SHA256 70f3ac4fbe6d3b51abe602f34f21b527a6819ca5017f4d1b27f963fc52c298db SHA512 2e4c9b76e365c6a2952b6a949173982286783884a60faaffb78a0364f606cb43811313ee31ada4c437cf831440253038d47976e5a1d73c3b1a85645691b1e5d9 WHIRLPOOL aa6570e5250c27ee3ac1ac9ea834102e0136f1482f702845b03aa4ab83fbcec64f8454fc9e9f6f92298e06208293c49a030f37d9dd6b569c3ed7c211e22eb5f5
|
||||
DIST wireshark-2.2.0.tar.bz2 32141141 SHA256 a6847e741efcba6cb9d92d464d4219917bee3ad0b8f5b0f80d4388ad2f3f1104 SHA512 03dd1ce686b0e012d3498d6966382db1ff39844e2b03286eded5d77062a958d2dc939b00558708ae37b8e354d95ee6c4aa32023477d862b35bff4e2a0f8f3326 WHIRLPOOL bac335d03f919a079d3192af4e94998ee6a73e90e6f73512a3a5353b62af27967ebdf1d921689493d83315610f25cc8aeac62b8b4574aa3bb82d44e5275065c9
|
||||
|
@ -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."
|
||||
}
|
@ -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