tRemove some unused packages. - parlay - yet another gentoo overlay HTML git clone https://git.parazyd.org/parlay DIR Log DIR Files DIR Refs DIR README --- DIR commit 961d61f736c4eda932e2584c13ddbe8a1fe24621 DIR parent 73e2504b1f264adf976c6c31319c4bdfc63f1f9c HTML Author: parazyd <parazyd@dyne.org> Date: Wed, 13 Feb 2019 23:31:22 +0100 Remove some unused packages. Diffstat: D dev-libs/opensc/Manifest | 1 - D dev-libs/opensc/files/libressl.pat… | 44 ------------------------------- D dev-libs/opensc/files/opensc-0.19.… | 108 ------------------------------- D dev-libs/opensc/metadata.xml | 29 ----------------------------- D dev-libs/opensc/opensc-0.19.0-r2.e… | 62 ------------------------------- D net-fs/davfs2/Manifest | 1 - D net-fs/davfs2/davfs2-1.5.4.ebuild | 58 ------------------------------ D net-fs/davfs2/files/010-main_code_… | 22 ---------------------- D net-fs/davfs2/files/100-musl-compa… | 194 ------------------------------ D net-fs/davfs2/metadata.xml | 8 -------- D net-wireless/aircrack-ng/Manifest | 1 - D net-wireless/aircrack-ng/aircrack-… | 132 ------------------------------- D net-wireless/aircrack-ng/files/air… | 50 ------------------------------- D net-wireless/aircrack-ng/metadata.… | 28 ---------------------------- D sys-kernel/minipli-sources/Manifest | 5 ----- D sys-kernel/minipli-sources/metadat… | 14 -------------- D sys-kernel/minipli-sources/minipli… | 44 ------------------------------- 17 files changed, 0 insertions(+), 801 deletions(-) --- DIR diff --git a/dev-libs/opensc/Manifest b/dev-libs/opensc/Manifest t@@ -1 +0,0 @@ -DIST opensc-0.19.0.tar.gz 2080320 BLAKE2B c07df317f26562107680ed586e9a1ea83252c10a7dd227cffe51de709d9c888874963f6835a68f83f212d83f264b0231ea7428ed8d3ecce74cb9265d8191040a SHA512 90659133fb593cbf82ed6502e3858f34119bff051e3090489b7622659dcb1c26d389a4715892aa60a5606bc0ce115bd6c504521abfb965de9ad46441e4ed2b8e DIR diff --git a/dev-libs/opensc/files/libressl.patch b/dev-libs/opensc/files/libressl.patch t@@ -1,44 +0,0 @@ -diff --git a/src/libopensc/sc-ossl-compat.h b/src/libopensc/sc-ossl-compat.h -index 8ef5a94..2124eb5 100644 ---- a/src/libopensc/sc-ossl-compat.h -+++ b/src/libopensc/sc-ossl-compat.h -@@ -97,7 +97,7 @@ extern "C" { - #if !defined(LIBRESSL_VERSION_NUMBER) || LIBRESSL_VERSION_NUMBER < 0x2050300fL - #define X509_up_ref(cert) CRYPTO_add(&cert->references, 1, CRYPTO_LOCK_X509) - #endif --#if !defined(LIBRESSL_VERSION_NUMBER) || LIBRESSL_VERSION_NUMBER < 0x20700000L -+#if !defined(LIBRESSL_VERSION_NUMBER) || LIBRESSL_VERSION_NUMBER - #define OPENSSL_malloc_init CRYPTO_malloc_init - #define EVP_PKEY_get0_RSA(x) (x->pkey.rsa) - #define EVP_PKEY_get0_EC_KEY(x) (x->pkey.ec) -@@ -138,7 +138,7 @@ extern "C" { - # endif - #endif - --#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2050300fL) -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER)) - - #define RSA_bits(R) (BN_num_bits(R->n)) - -diff --git a/src/tools/sc-hsm-tool.c b/src/tools/sc-hsm-tool.c -index 9c1d7c1..2111caf 100644 ---- a/src/tools/sc-hsm-tool.c -+++ b/src/tools/sc-hsm-tool.c -@@ -1761,16 +1761,10 @@ int main(int argc, char *argv[]) - } - } - --#if OPENSSL_VERSION_NUMBER >= 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x20700000L) -- OPENSSL_init_crypto(OPENSSL_INIT_LOAD_CRYPTO_STRINGS -- | OPENSSL_INIT_ADD_ALL_CIPHERS -- | OPENSSL_INIT_ADD_ALL_DIGESTS, -- NULL); --#else -+ - CRYPTO_malloc_init(); - ERR_load_crypto_strings(); - OpenSSL_add_all_algorithms(); --#endif - - memset(&ctx_param, 0, sizeof(sc_context_param_t)); - ctx_param.app_name = app_name; DIR diff --git a/dev-libs/opensc/files/opensc-0.19.0-p11test_common.h.patch b/dev-libs/opensc/files/opensc-0.19.0-p11test_common.h.patch t@@ -1,108 +0,0 @@ -From d1e4f4879b8d0a7423afc1c9a3632da4763ee31c Mon Sep 17 00:00:00 2001 -From: Alon Bar-Lev <alon.barlev@gmail.com> -Date: Sat, 15 Sep 2018 11:04:13 +0300 -Subject: [PATCH] missing include - ---- - src/tests/p11test/p11test_common.h | 89 ++++++++++++++++++++++++++++++++++++++ - 1 file changed, 89 insertions(+) - create mode 100644 src/tests/p11test/p11test_common.h - -diff --git a/src/tests/p11test/p11test_common.h b/src/tests/p11test/p11test_common.h -new file mode 100644 -index 0000000..d3ca304 ---- /dev/null -+++ b/src/tests/p11test/p11test_common.h -@@ -0,0 +1,89 @@ -+/* -+ * p11test_common.h: Test suite shared declarations for PKCS#11 API -+ * -+ * Copyright (C) 2016 Martin Strhársky <strharsky.martin@gmail.com> -+ * Copyright (C) 2016, 2017 Red Hat, Inc. -+ * -+ * Author: Jakub Jelen <jjelen@redhat.com> -+ * -+ * This library is free software; you can redistribute it and/or -+ * modify it under the terms of the GNU Lesser General Public -+ * License as published by the Free Software Foundation; either -+ * version 2.1 of the License, or (at your option) any later version. -+ * -+ * This library is distributed in the hope that it will be useful, -+ * but WITHOUT ANY WARRANTY; without even the implied warranty of -+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -+ * Lesser General Public License for more details. -+ * -+ * You should have received a copy of the GNU General Public License -+ * along with this program. If not, see <http://www.gnu.org/licenses/>. -+ */ -+ -+#ifndef P11TEST_COMMON_H -+#define P11TEST_COMMON_H -+#include "config.h" -+#include <stdio.h> -+#include <stdlib.h> -+#include <string.h> -+#include <setjmp.h> -+#include <cmocka.h> -+#include "pkcs11/pkcs11.h" -+#include "libopensc/sc-ossl-compat.h" -+ -+#define MAX_MECHS 200 -+ -+#ifndef NDEBUG -+ #define debug_print(fmt, ...) \ -+ { fprintf(stderr, fmt "\n", ##__VA_ARGS__); } while (0) -+#else -+ #define debug_print(fmt, ...) -+#endif -+ -+#define FLAGS_SIGN 0x01 -+#define FLAGS_SIGN_OPENSSL 0x02 -+#define FLAGS_SIGN_ANY ( FLAGS_SIGN | FLAGS_SIGN_OPENSSL ) -+#define FLAGS_DECRYPT 0x04 -+#define FLAGS_DECRYPT_OPENSSL 0x08 -+#define FLAGS_DECRYPT_ANY ( FLAGS_DECRYPT | FLAGS_DECRYPT_OPENSSL ) -+ -+typedef struct { -+ char *outfile; -+ FILE *fd; -+ int in_test; -+ int first; -+ int in_data; -+ int first_data; -+} log_context_t; -+ -+typedef struct { -+ CK_MECHANISM_TYPE mech; -+ CK_MECHANISM_TYPE hash; -+ CK_RSA_PKCS_MGF_TYPE mgf; -+ int salt; -+ int usage_flags; -+ int result_flags; -+} test_mech_t; -+ -+typedef struct { -+ CK_FUNCTION_LIST_PTR function_pointer; -+ CK_SLOT_ID slot_id; -+ CK_SESSION_HANDLE session_handle; -+ CK_UTF8CHAR* pin; -+ size_t pin_length; -+ char *library_path; -+ unsigned int interactive; -+ log_context_t log; -+ -+ test_mech_t rsa_mechs[MAX_MECHS]; -+ size_t num_rsa_mechs; -+ test_mech_t ec_mechs[MAX_MECHS]; -+ size_t num_ec_mechs; -+ test_mech_t keygen_mechs[MAX_MECHS]; -+ size_t num_keygen_mechs; -+} token_info_t; -+ -+token_info_t token; -+ -+#endif /* P11TEST_COMMON_H */ -+ --- -2.16.4 - DIR diff --git a/dev-libs/opensc/metadata.xml b/dev-libs/opensc/metadata.xml t@@ -1,29 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>crypto@gentoo.org</email> - <name>Crypto</name> - </maintainer> - <longdescription> - OpenSC is a library for accessing SmartCard devices. It is also - the core library of the OpenSC project. - - Basic functionality (e.g. SELECT FILE, READ BINARY) should work on - any ISO 7816-4 compatible SmartCard. Encryption and decryption - using private keys on the SmartCard is possible with PKCS #15 - compatible cards, such as the FINEID (Finnish Electronic IDentity) - card. - </longdescription> - <use> - <flag name="ctapi">Use CT-API for accessing Smartcard hardware</flag> - <flag name="notify">Enable notifications</flag> - <flag name="openct">Use <pkg>dev-libs/openct</pkg> (and CT-API) for accessing Smartcard hardware</flag> - <flag name="pcsc-lite">Use <pkg>sys-apps/pcsc-lite</pkg> (and PC/SC API) for accessing Smartcard hardware</flag> - <flag name="secure-messaging">Enable secure messaging</flag> - </use> - <upstream> - <remote-id type="github">OpenSC/OpenSC</remote-id> - <remote-id type="sourceforge">opensc</remote-id> - </upstream> -</pkgmetadata> DIR diff --git a/dev-libs/opensc/opensc-0.19.0-r2.ebuild b/dev-libs/opensc/opensc-0.19.0-r2.ebuild t@@ -1,62 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit bash-completion-r1 - -DESCRIPTION="Libraries and applications to access smartcards" -HOMEPAGE="https://github.com/OpenSC/OpenSC/wiki" -SRC_URI="https://github.com/OpenSC/OpenSC/releases/download/${PV}/${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" -IUSE="ctapi doc libressl openct notify +pcsc-lite readline secure-messaging ssl test zlib" - -RDEPEND="zlib? ( sys-libs/zlib ) - readline? ( sys-libs/readline:0= ) - libressl? ( dev-libs/libressl:0= ) - openct? ( >=dev-libs/openct-0.5.0 ) - pcsc-lite? ( >=sys-apps/pcsc-lite-1.3.0 ) - notify? ( dev-libs/glib:2= )" -DEPEND="${RDEPEND} - app-text/docbook-xsl-stylesheets - dev-libs/libxslt - test? ( dev-util/cmocka )" -BDEPEND="virtual/pkgconfig" - -REQUIRED_USE=" - pcsc-lite? ( !openct !ctapi ) - openct? ( !pcsc-lite !ctapi ) - ctapi? ( !pcsc-lite !openct ) - || ( pcsc-lite openct ctapi )" - -PATCHES=( - "${FILESDIR}/${P}-p11test_common.h.patch" - "${FILESDIR}/libressl.patch" -) - -src_configure() { - econf \ - --with-completiondir="$(get_bashcompdir)" \ - --disable-openpace \ - --disable-static \ - --enable-man \ - $(use_enable ctapi) \ - $(use_enable doc) \ - $(use_enable notify ) \ - $(use_enable openct) \ - $(use_enable openct) \ - $(use_enable pcsc-lite pcsc) \ - $(use_enable readline) \ - $(use_enable secure-messaging sm) \ - $(use_enable ssl openssl) \ - $(use_enable test tests) \ - $(use_enable zlib) -} - -src_install() { - default - find "${D}" -name '*.la' -delete || die -} DIR diff --git a/net-fs/davfs2/Manifest b/net-fs/davfs2/Manifest t@@ -1 +0,0 @@ -DIST davfs2-1.5.4.tar.gz 478377 BLAKE2B 25c7dba1a6cda384a60c8ce2e0a56d5c805f5c30f35f086bfe1f55ee4eb79b8228beca2e7214e9858a1c49c8f782c6de8f4f0631cf0e2090991a0e35ba5d8ed2 SHA512 08550f171f4b196f55f3fb71c6c75ed24063f8a5afc31c52502d0c911cf7aca4da01f7a123269d410dadc497c44ef5a3573e455aca6eafe48eb86f18429b94b2 DIR diff --git a/net-fs/davfs2/davfs2-1.5.4.ebuild b/net-fs/davfs2/davfs2-1.5.4.ebuild t@@ -1,58 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools user - -DESCRIPTION="Linux FUSE (or coda) driver that allows you to mount a WebDAV resource" -HOMEPAGE="https://savannah.nongnu.org/projects/davfs2" -SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="amd64 ~arm ppc x86" -IUSE="nls" -RESTRICT="test" - -RDEPEND="dev-libs/libxml2 - net-libs/neon - sys-libs/zlib - nls? ( virtual/libintl virtual/libiconv ) -" -DEPEND="${REPEND} - nls? ( sys-devel/gettext ) -" - -PATCHES=( - "${FILESDIR}/010-main_code_fix.patch" - "${FILESDIR}/100-musl-compat.patch" -) - -pkg_setup() { - enewgroup davfs2 -} - -src_prepare() { - default - eaclocal -I config \ - && eautoheader \ - && eautomake --add-missing --force-missing --copy \ - && eautoconf -} - -src_configure() { - econf dav_user=nobody --enable-largefile $(use_enable nls) -} - -pkg_postinst() { - elog - elog "Quick setup:" - elog " (as root)" - elog " # gpasswd -a \${your_user} davfs2" - elog " # echo 'http://path/to/dav /home/\${your_user}/dav davfs rw,user,noauto 0 0' >> /etc/fstab" - elog " (as user)" - elog " \$ mkdir -p ~/dav" - elog " \$ mount ~/dav" - elog -} DIR diff --git a/net-fs/davfs2/files/010-main_code_fix.patch b/net-fs/davfs2/files/010-main_code_fix.patch t@@ -1,22 +0,0 @@ ---- a/src/cache.c -+++ b/src/cache.c -@@ -58,7 +58,7 @@ - #ifdef HAVE_SYS_TYPES_H - #include <sys/types.h> - #endif --#include <sys/xattr.h> -+#include <linux/xattr.h> - - #include <ne_alloc.h> - #include <ne_string.h> ---- a/src/webdav.c -+++ b/src/webdav.c -@@ -2033,7 +2033,7 @@ ssl_verify(void *userdata, int failures, - len = getline(&s, &n, stdin); - if (len < 0) - abort(); -- if (rpmatch(s) > 0) -+ if ((s[0]=='y' || s[0]=='Y') > 0) - ret = 0; - free(s); - } DIR diff --git a/net-fs/davfs2/files/100-musl-compat.patch b/net-fs/davfs2/files/100-musl-compat.patch t@@ -1,194 +0,0 @@ ---- a/configure.ac -+++ b/configure.ac -@@ -42,7 +42,7 @@ DAV_CHECK_NEON - # Checks for header files. - AC_HEADER_DIRENT - AC_HEADER_STDC --AC_CHECK_HEADERS([fcntl.h libintl.h langinfo.h limits.h locale.h mntent.h stddef.h stdint.h stdlib.h string.h sys/file.h sys/mount.h sys/time.h syslog.h termios.h unistd.h utime.h]) -+AC_CHECK_HEADERS([error.h fcntl.h iconv.h libintl.h langinfo.h limits.h locale.h mntent.h stddef.h stdint.h stdlib.h string.h sys/file.h sys/mount.h sys/time.h sys/select.h sys/types.h syslog.h termios.h unistd.h utime.h]) - - # Checks for typedefs, structures, and compiler characteristics. - AC_C_CONST -@@ -78,7 +78,7 @@ AC_FUNC_SELECT_ARGTYPES - AC_FUNC_STRFTIME - AC_FUNC_STAT - AC_FUNC_UTIME_NULL --AC_CHECK_FUNCS([endpwent ftruncate getmntent memset mkdir nl_langinfo rpmatch select setlocale strcasecmp strchr strdup strerror strpbrk strrchr strstr strtol strtoull utime]) -+AC_CHECK_FUNCS([endpwent ftruncate getmntent memset mkdir nl_langinfo rpmatch select setlocale strcasecmp strchr strdup strerror strpbrk strrchr strstr strtol strtoull utime canonicalize_file_name fopencookie]) - - # Misc. - DAV_DEFAULTS ---- a/src/cache.c -+++ b/src/cache.c -@@ -19,12 +19,12 @@ - - - #include "config.h" -+#include "compat.h" - - #ifdef HAVE_DIRENT_H - #include <dirent.h> - #endif - #include <errno.h> --#include <error.h> - #ifdef HAVE_FCNTL_H - #include <fcntl.h> - #endif ---- a/src/dav_fuse.c -+++ b/src/dav_fuse.c -@@ -47,6 +47,9 @@ - #ifdef HAVE_SYS_STAT_H - #include <sys/stat.h> - #endif -+#ifdef HAVE_SYS_SELECT_H -+#include <sys/select.h> -+#endif - - #include "defaults.h" - #include "mount_davfs.h" ---- a/src/kernel_interface.c -+++ b/src/kernel_interface.c -@@ -19,8 +19,8 @@ - - - #include "config.h" -+#include "compat.h" - --#include <error.h> - #ifdef HAVE_FCNTL_H - #include <fcntl.h> - #endif -@@ -51,6 +51,9 @@ - #ifdef HAVE_SYS_STAT_H - #include <sys/stat.h> - #endif -+#ifdef HAVE_SYS_TYPES_H -+#include <sys/types.h> -+#endif - #include <sys/wait.h> - - #include "defaults.h" ---- a/src/mount_davfs.c -+++ b/src/mount_davfs.c -@@ -19,10 +19,10 @@ - - - #include "config.h" -+#include "compat.h" - - #include <ctype.h> - #include <errno.h> --#include <error.h> - #ifdef HAVE_FCNTL_H - #include <fcntl.h> - #endif ---- a/src/umount_davfs.c -+++ b/src/umount_davfs.c -@@ -19,8 +19,8 @@ - - - #include "config.h" -+#include "compat.h" - --#include <error.h> - #include <errno.h> - #include <getopt.h> - #ifdef HAVE_LIBINTL_H ---- a/src/webdav.c -+++ b/src/webdav.c -@@ -19,9 +19,9 @@ - - - #include "config.h" -+#include "compat.h" - - #include <errno.h> --#include <error.h> - #ifdef HAVE_FCNTL_H - #include <fcntl.h> - #endif -@@ -368,6 +368,7 @@ dav_init_webdav(const dav_args *args) - error(EXIT_FAILURE, errno, _("socket library initialization failed")); - - if (args->neon_debug & ~NE_DBG_HTTPPLAIN) { -+#ifdef HAVE_FOPENCOOKIE - char *buf = malloc(log_bufsize); - cookie_io_functions_t *log_func = malloc(sizeof(cookie_io_functions_t)); - if (!log_func) abort(); -@@ -380,6 +381,9 @@ dav_init_webdav(const dav_args *args) - error(EXIT_FAILURE, errno, - _("can't open stream to log neon-messages")); - ne_debug_init(log_stream, args->neon_debug); -+#else -+ error(EXIT_FAILURE, 0, "neon debugging unsupported"); -+#endif - } - - session = ne_session_create(args->scheme, args->host, args->port); ---- /dev/null -+++ b/src/compat.h -@@ -0,0 +1,64 @@ -+#ifndef _COMPAT_H -+#define _COMPAT_H -+ -+#ifndef _PATH_MOUNTED -+# define _PATH_MOUNTED "/proc/mounts" -+#endif -+ -+#ifndef _PATH_MNTTAB -+# define _PATH_MNTTAB "/etc/fstab" -+#endif -+ -+#ifdef HAVE_ERROR_H -+# include <error.h> -+#else -+# include <stdio.h> -+# include <stdarg.h> -+# include <stdlib.h> -+# include <string.h> -+static void error_at_line(int status, int errnum, const char *filename, -+ unsigned int linenum, const char *format, ...) -+{ -+ va_list ap; -+ -+ fflush(stdout); -+ -+ if (filename != NULL) -+ fprintf(stderr, "%s:%u: ", filename, linenum); -+ -+ va_start(ap, format); -+ vfprintf(stderr, format, ap); -+ va_end(ap); -+ -+ if (errnum != 0) -+ fprintf(stderr, ": %s", strerror(errnum)); -+ -+ fprintf(stderr, "\n"); -+ -+ if (status != 0) -+ exit(status); -+} -+ -+#define error(status, errnum, format...) \ -+ error_at_line(status, errnum, NULL, 0, format) -+ -+#endif /* HAVE_ERROR_H */ -+ -+#ifndef HAVE_CANONICALIZE_FILE_NAME -+#include <limits.h> -+#include <string.h> -+#include <stdlib.h> -+static char * canonicalize_file_name(const char *path) -+{ -+ char buf[PATH_MAX] = { }; -+ -+ snprintf(buf, sizeof(buf) - 1, "%s", path); -+ -+ if (!realpath(path, buf)) -+ return NULL; -+ -+ return strdup(buf); -+} -+#endif -+ -+#endif /* _COMPAT_H */ DIR diff --git a/net-fs/davfs2/metadata.xml b/net-fs/davfs2/metadata.xml t@@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>gokturk@gentoo.org</email> - <name>Göktürk Yüksek</name> - </maintainer> -</pkgmetadata> DIR diff --git a/net-wireless/aircrack-ng/Manifest b/net-wireless/aircrack-ng/Manifest t@@ -1 +0,0 @@ -DIST aircrack-ng-1.3.tar.gz 4182502 BLAKE2B d18d3644fd5bad7a45d8684a50a42d84d9e0e832e88876a34cb7b308c4496c7b1d39159cb24c19097b7ca4286f62560b509e84e816d65c77d2f72883dd3c9457 SHA512 bc092f84fb204b5764a16a230695b69ff916aceae865bf73827c56b155100e7bd64941d0c5f999585d25ee8faad2d35a3c580a57b60c320f7857bd8750558961 DIR diff --git a/net-wireless/aircrack-ng/aircrack-ng-1.3.ebuild b/net-wireless/aircrack-ng/aircrack-ng-1.3.ebuild t@@ -1,132 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -PYTHON_COMPAT=( python2_7 ) -DISTUTILS_OPTIONAL=1 - -inherit toolchain-funcs distutils-r1 flag-o-matic autotools - -DESCRIPTION="WLAN tools for breaking 802.11 WEP/WPA keys" -HOMEPAGE="http://www.aircrack-ng.org" - -if [[ ${PV} == "9999" ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/aircrack-ng/aircrack-ng.git" - KEYWORDS="" -else - MY_PV=${PV/_/-} - SRC_URI="https://github.com/aircrack-ng/aircrack-ng/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~ppc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" - S="${WORKDIR}/${PN}-${MY_PV}" -fi - -LICENSE="GPL-2" -SLOT="0" - -IUSE="+airdrop-ng +airgraph-ng kernel_linux kernel_FreeBSD +netlink +pcre -+sqlite +experimental libressl" - -DEPEND="net-libs/libpcap - !libressl? ( dev-libs/openssl:0= ) - libressl? ( dev-libs/libressl:0= ) - netlink? ( dev-libs/libnl:3 ) - pcre? ( dev-libs/libpcre ) - airdrop-ng? ( ${PYTHON_DEPS} ) - airgraph-ng? ( ${PYTHON_DEPS} ) - experimental? ( sys-libs/zlib ) - sqlite? ( >=dev-db/sqlite-3.4 )" -RDEPEND="${DEPEND}" -PDEPEND="kernel_linux? ( - net-wireless/iw - net-wireless/wireless-tools - sys-apps/ethtool - sys-apps/usbutils - sys-apps/pciutils ) - sys-apps/hwids - airdrop-ng? ( net-wireless/lorcon[python,${PYTHON_USEDEP}] )" - -REQUIRED_USE="airdrop-ng? ( ${PYTHON_REQUIRED_USE} ) - airgraph-ng? ( ${PYTHON_REQUIRED_USE} )" - -pkg_setup() { - MAKE_COMMON=( - CC="$(tc-getCC)" \ - CXX="$(tc-getCXX)" \ - AR="$(tc-getAR)" \ - LD="$(tc-getLD)" \ - RANLIB="$(tc-getRANLIB)" \ - DESTDIR="${ED}" - ) -} - -src_prepare() { - eapply_user - eautoreconf -} - -src_configure() { - econf \ - --disable-asan \ - $(use_enable netlink libnl) \ - $(use_with experimental) \ - $(use_with sqlite sqlite3) \ - --enable-shared \ - --disable-static \ - --without-opt -} - -src_compile() { - if [[ $($(tc-getCC) --version) == clang* ]] ; then - #https://bugs.gentoo.org/show_bug.cgi?id=472890 - filter-flags -frecord-gcc-switches - fi - - emake "${MAKE_COMMON[@]}" - - if use airgraph-ng; then - cd "${S}/scripts/airgraph-ng" - distutils-r1_src_compile - fi - if use airdrop-ng; then - cd "${S}/scripts/airdrop-ng" - distutils-r1_src_compile - fi -} - -src_test() { - emake "${MAKE_COMMON[@]}" check -} - -src_install() { - einstalldocs - emake "${MAKE_COMMON[@]}" install - - if use airgraph-ng; then - cd "${S}/scripts/airgraph-ng" - distutils-r1_src_install - fi - if use airdrop-ng; then - cd "${S}/scripts/airdrop-ng" - distutils-r1_src_install - fi - - #we don't need aircrack-ng's oui updater, we have our own - rm "${ED}"/usr/sbin/airodump-ng-oui-update -} - -pkg_postinst() { - # Message is (c) FreeBSD - # http://www.freebsd.org/cgi/cvsweb.cgi/ports/net-mgmt/aircrack-ng/files/pkg-message.in?rev=1.5 - if use kernel_FreeBSD ; then - einfo "Contrary to Linux, it is not necessary to use airmon-ng to enable the monitor" - einfo "mode of your wireless card. So do not care about what the manpages say about" - einfo "airmon-ng, airodump-ng sets monitor mode automatically." - echo - einfo "To return from monitor mode, issue the following command:" - einfo " ifconfig \${INTERFACE} -mediaopt monitor" - einfo - einfo "For aireplay-ng you need FreeBSD >= 7.0." - fi -} DIR diff --git a/net-wireless/aircrack-ng/files/aircrack-ng-1.2-no-force-stack-protector.patch b/net-wireless/aircrack-ng/files/aircrack-ng-1.2-no-force-stack-protector.patch t@@ -1,50 +0,0 @@ -From 58fe40daf3e082d9e63d689d795a3bbecf72fedb Mon Sep 17 00:00:00 2001 -From: Joseph Benden <joe@benden.us> -Date: Mon, 16 Apr 2018 11:26:23 -0700 -Subject: [PATCH] autotools: The flag --without-opt should skip stack protector - flags. (#1864) - ---- - build/m4/aircrack_ng_compiler.m4 | 28 ++++++++++++++++------------ - 1 file changed, 16 insertions(+), 12 deletions(-) - -diff --git a/build/m4/aircrack_ng_compiler.m4 b/build/m4/aircrack_ng_compiler.m4 -index 0fb19726..8a973dbf 100644 ---- a/build/m4/aircrack_ng_compiler.m4 -+++ b/build/m4/aircrack_ng_compiler.m4 -@@ -108,19 +108,23 @@ case "$ax_cv_[]_AC_LANG_ABBREV[]_compiler_vendor" in - CYGWIN*|MSYS*|cygwin*|msys*) - ;; - *) -- AS_IF([test "x$gcc_over49" = "xno"], [ -- AS_IF([test "x$gcc_over41" = "xyes"], [ -- AX_CHECK_COMPILE_FLAG([-fstack-protector], [ -- AX_APPEND_FLAG(-fstack-protector, [opt_[]_AC_LANG_ABBREV[]flags]) -- ]) -- ], []) -- ], []) -+ case $with_opt in -+ yes | "") -+ AS_IF([test "x$gcc_over49" = "xno"], [ -+ AS_IF([test "x$gcc_over41" = "xyes"], [ -+ AX_CHECK_COMPILE_FLAG([-fstack-protector], [ -+ AX_APPEND_FLAG(-fstack-protector, [opt_[]_AC_LANG_ABBREV[]flags]) -+ ]) -+ ], []) -+ ], []) - -- AS_IF([test "x$gcc_over49" = "xyes"], [ -- AX_CHECK_COMPILE_FLAG([-fstack-protector-strong], [ -- AX_APPEND_FLAG(-fstack-protector-strong, [opt_[]_AC_LANG_ABBREV[]flags]) -- ]) -- ], []) -+ AS_IF([test "x$gcc_over49" = "xyes"], [ -+ AX_CHECK_COMPILE_FLAG([-fstack-protector-strong], [ -+ AX_APPEND_FLAG(-fstack-protector-strong, [opt_[]_AC_LANG_ABBREV[]flags]) -+ ]) -+ ], []) -+ ;; -+ esac - ;; - esac - ;; DIR diff --git a/net-wireless/aircrack-ng/metadata.xml b/net-wireless/aircrack-ng/metadata.xml t@@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="person"> - <email>zerochaos@gentoo.org</email> - <name>Rick Farina</name> - <description>Also on the upstream team</description> -</maintainer> -<maintainer type="project"> - <email>netmon@gentoo.org</email> - <name>Gentoo network monitoring and analysis project</name> -</maintainer> -<maintainer type="project"> - <email>crypto@gentoo.org</email> - <name>Crypto</name> -</maintainer> -<longdescription> - aircrack is a set of tools for auditing wireless networks. - aircrack-ng is the next generation of aircrack with lots of new features. - (from http://www.aircrack-ng.org) -</longdescription> -<use> - <flag name="airdrop-ng">Build airdrop-ng</flag> - <flag name="airgraph-ng">Build airgraph-ng</flag> - <flag name="experimental">Build the "experimental" tools which may randomly fail to run properly</flag> - <flag name="netlink">Use netlink for channel control instead of WEXT</flag> -</use> -</pkgmetadata> DIR diff --git a/sys-kernel/minipli-sources/Manifest b/sys-kernel/minipli-sources/Manifest t@@ -1,5 +0,0 @@ -DIST deblob-4.9 146273 BLAKE2B 8bc593ca375e003183dc6260aab0b2f81675b0814ec50fae3afe5d4ce9ce41c1c1401ce80e1c285153f610f8f730f82d6ad03e2578c792fd4af8779f2d1e3079 SHA512 3654b28e72b343bafdb38de10ef0c3621db0539bc0e7434bc99bb8f8ed911d4c9e53ca4785fd193fcfec369328f014fa5c6f3bda51b6f1a8f98b8c37ece119a6 -DIST deblob-check-4.9 717834 BLAKE2B f2471b45f6953ce83c0819b9157ce638a1d93959ec4074a329766ecb0c3adf90fd3022307ea70c2cb3bd3c291f98d6153576cc6597c62ca97abae6524b98112e SHA512 46258698f1c574b44a8c5c78cc2b7fdbaca746976266974ee0f6787904531754b17ad15d542b68e07d4633ee91a8e2d9c32a991ea214292ac072c4f26deed9c9 -DIST linux-4.9.tar.xz 93192404 BLAKE2B 83ae310b17d47f1f18d6d28537c31e10f3e60458c5954c4611158ca99e71cc0da2e051272eabf27d5887df4a7cb4a5dd66ff993077c11d2221e92d300a0b48d7 SHA512 bf67ff812cc3cb7e5059e82cc5db0d9a7c5637f7ed9a42e4730c715bf7047c81ed3a571225f92a33ef0b6d65f35595bc32d773356646df2627da55e9bc7f1f1a -DIST patch-4.9.74.xz 1323496 BLAKE2B f7c87f8277158bfbdddf92f6ecb2ea8c268e53c367032fdff6aa98c736be0bc6b89c7caa58132a8f5bda7b82871615df1f71584cba5929bcb367b17d2ffba93c SHA512 f49dfeddcaad2bc2f7e1ba348f12ca379530e2b56f2927c325d65d67ab03143203dff3bddbf86f4989f6b641b87f4850bbf15512ab4551a2c6c277356758b655 -DIST v4.9.74-unofficial_grsec-20180103130648.diff 8818052 BLAKE2B df083f110303db16bb96c69580d4ec45d073db2130c38eb1fbd1bfeea04fedd68ff211171fa139121802b47e11ef0756d189d2b329a579a8188e791c65566345 SHA512 efe50054649c3bc464c92e23233c91457fe2709e24aa5781856e1c1cbbc6164db88129c320f6f4fd1f871184df8d5aa0dd51065c71222ed3cf9854f6c437cc45 DIR diff --git a/sys-kernel/minipli-sources/metadata.xml b/sys-kernel/minipli-sources/metadata.xml t@@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>parazyd@dyne.org</email> - </maintainer> - <longdescription> - hardened-sources is based upon genpatches, and adds the grsecurity - patch from http://www.grsecurity.net, which also includes PaX. - </longdescription> - <use> - <flag name="deblob">Remove binary blobs from kernel sources to provide libre license compliance.</flag> - </use> -</pkgmetadata> DIR diff --git a/sys-kernel/minipli-sources/minipli-sources-4.9.74.ebuild b/sys-kernel/minipli-sources/minipli-sources-4.9.74.ebuild t@@ -1,44 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -ETYPE="sources" -K_DEBLOB_AVAILABLE="1" - -inherit kernel-2 -detect_version - -DESCRIPTION="unofficial grsec kernel sources (kernel series ${KV_MAJOR}.${KV_MINOR})" -HOMEPAGE="https://github.com/minipli/linux-unofficial_grsec/" -IUSE="deblob" - -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" - -RDEPEND=">=sys-devel/gcc-4.9" - -GRSEC_DATE="20180103130648" -GRSEC_BASE_URL="https://github.com/minipli/linux-unofficial_grsec/releases/download" -GRSEC_VERS_URL="${GRSEC_BASE_URL}/v${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-unofficial_grsec" -GRSEC_FILE="v${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-unofficial_grsec-${GRSEC_DATE}.diff" -GRSEC_URI="${GRSEC_VERS_URL}/${GRSEC_FILE}" - -SRC_URI="${KERNEL_URI} ${GRSEC_URI}" - -UNIPATCH_LIST="${DISTDIR}/${GRSEC_FILE}" -UNIPATCH_STRICTORDER=1 - -pkg_postinst() { - kernel-2_pkg_postinst - - local GRADM_COMPAT="sys-apps/gradm-3.1*" - - ewarn - ewarn "Users of grsecurity's RBAC system must ensure they are using" - ewarn "${GRADM_COMPAT}, which is compatible with ${PF}." - ewarn "It is strongly recommended that the following command is issued" - ewarn "prior to booting a ${PF} kernel for the first time:" - ewarn - ewarn "emerge -na =${GRADM_COMPAT}" - ewarn -}