mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-21 14:21:02 +02:00
libxcrypt: remove, since asleap is fixed
This commit is contained in:
parent
25bd077de9
commit
6f760eb2c8
6 changed files with 0 additions and 140 deletions
|
|
@ -1,2 +1 @@
|
|||
DIST asleap-2.2_p20160730.tar.gz 111453 BLAKE2B 1eaff9fa5bf9e47f5df76cac1a97be555570a060ae0184666bb6fa612292b102cbb9675e2b6486f2f871fe1e866339dda942494c6da6bb5ddbb60a0994aa868c SHA512 22dee22753f229adb882788a8e2b0b1e737c52ec908b40f4a683ea527066f2cd829e98e73a7446aa63a82db49608fdb56b2593d3b46f6977e8e390f8f0a1c896
|
||||
DIST asleap-2.2_p20201128.tar.gz 110875 BLAKE2B 095b602e73aeee24c5a6d708db5a60557383780d3b7a872e2102259cd630645ae3d34b0f0fb3d04f4f4f85673aa5d4c9ecfdf70b416189622b65545ee86797a5 SHA512 7700695f3888058c9abd710a35a18ab350290e03916bfa197e089fe98f8f7caf2ac69f3340f2c5a61689e37d8e611f752c10ce71d53cebf3b8e38e50062dfdef
|
||||
|
|
|
|||
|
|
@ -1,50 +0,0 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="Cisco LEAP and Generic MS-CHAPv2 Dictionary Attack"
|
||||
HOMEPAGE="https://github.com/joswr1ght/asleap"
|
||||
|
||||
HASH_COMMIT="f8229d2fd800b36b34699a19f50a35981b1dcb49" # 20160730
|
||||
SRC_URI="https://github.com/joswr1ght/asleap/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
KEYWORDS="amd64 x86"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/openssl
|
||||
net-libs/libpcap
|
||||
<=sys-libs/libxcrypt-2.4"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN}-${HASH_COMMIT}"
|
||||
|
||||
src_prepare() {
|
||||
eapply "${FILESDIR}"
|
||||
|
||||
sed -e "s/-pipe//;s/-Wall//;s/-g3 -ggdb -g/${CFLAGS}/" \
|
||||
-i Makefile || die
|
||||
|
||||
sed -e "s/#define VER \"\(.*\)\"/#define VER \"${PV}\"/" \
|
||||
-i version.h || die
|
||||
|
||||
sed -e 's#CFLAGS =#CFLAGS +=#' -i Makefile || die
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
CFLAGS="${CFLAGS}" emake CC=$(tc-getCC)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dosbin asleap
|
||||
newbin genkeys asleap-genkeys
|
||||
dodoc THANKS README
|
||||
}
|
||||
|
|
@ -1 +0,0 @@
|
|||
DIST libxcrypt_2.4.orig.tar.gz 361503 BLAKE2B 6347bea4b22ae7742cb516a0a8673bbd7c37f645b2dbb383f4c4a6bbcc95a12897068ab7354fa015bbb65f6dc331b95ce24b48aa4bdd7a57433d8f5bc245392d SHA512 7171ce1b5b7f949232c4db94cf98bdd6396c3e2a8f2f483c041cab92d752e3a2fa93d564ede7efece57c069df129e6cc03049cf3e3f07bd3556031a7c4197cbf
|
||||
|
|
@ -1,40 +0,0 @@
|
|||
diff -urN libxcrypt-3.0.2/src/crypt_util.c libxcrypt-3.0.2.new/src/crypt_util.c
|
||||
--- libxcrypt-3.0.2/src/crypt_util.c 2007-10-25 15:17:46.000000000 +0200
|
||||
+++ libxcrypt-3.0.2.new/src/crypt_util.c 2013-02-04 12:45:20.560191479 +0100
|
||||
@@ -30,8 +30,7 @@
|
||||
#endif
|
||||
#include <string.h>
|
||||
|
||||
-#include <bits/libc-lock.h>
|
||||
-#define __libc_lock_t pthread_mutex_t
|
||||
+#include <pthread.h>
|
||||
|
||||
#ifndef STATIC
|
||||
#define STATIC static
|
||||
@@ -265,7 +264,7 @@
|
||||
*/
|
||||
struct crypt_data _ufc_foobar;
|
||||
|
||||
-__libc_lock_define_initialized (static, _ufc_tables_lock)
|
||||
+static pthread_mutex_t _ufc_tables_lock = PTHREAD_MUTEX_INITIALIZER;
|
||||
|
||||
#ifdef DEBUG
|
||||
|
||||
@@ -362,7 +361,7 @@
|
||||
#endif
|
||||
|
||||
if(small_tables_initialized == 0) {
|
||||
- __libc_lock_lock (_ufc_tables_lock);
|
||||
+ pthread_mutex_lock (&_ufc_tables_lock);
|
||||
if(small_tables_initialized)
|
||||
goto small_tables_done;
|
||||
|
||||
@@ -471,7 +470,7 @@
|
||||
}
|
||||
small_tables_initialized = 1;
|
||||
small_tables_done:
|
||||
- __libc_lock_unlock(_ufc_tables_lock);
|
||||
+ pthread_mutex_unlock (&_ufc_tables_lock);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
@ -1,28 +0,0 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
inherit eutils ltprune multilib
|
||||
|
||||
DESCRIPTION="A replacement for libcrypt with DES, MD5 and blowfish support"
|
||||
SRC_URI="mirror://debian/pool/main/libx/${PN}/${PN}_${PV}.orig.tar.gz"
|
||||
HOMEPAGE="http://packages.debian.org/sid/libxcrypt1"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-2.4-glibc-2.16.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Do not install into /usr so that tcb and pam can use us.
|
||||
econf --libdir=/$(get_libdir) --disable-static
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
prune_libtool_files
|
||||
}
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>hardened@gentoo.org</email>
|
||||
<name>Gentoo Hardened</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
Crypt library for DES, MD5, and blowfish. Libxcrypt is a replacement for
|
||||
libcrypt, which comes with the GNU C Library. It supports DES crypt,
|
||||
MD5, and passwords with blowfish encryption.
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name="compat">Build with compatibility interfaces for other crypt implementations</flag>
|
||||
<flag name="system">Install as system libcrypt.so rather than to an alternate directory (will collide with sys-libs/glibc's version)</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="github">besser82/libxcrypt</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Loading…
Reference in a new issue