Redigest
This commit is contained in:
36
sys-libs/libxcrypt/ChangeLog
Normal file
36
sys-libs/libxcrypt/ChangeLog
Normal file
@@ -0,0 +1,36 @@
|
||||
# ChangeLog for sys-libs/libxcrypt
|
||||
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/sys-libs/libxcrypt/ChangeLog,v 1.9 2010/04/26 11:25:53 flameeyes Exp $
|
||||
|
||||
26 Apr 2010; Diego E. Pettenò <flameeyes@gentoo.org>
|
||||
libxcrypt-2.4.ebuild:
|
||||
Disable static libraries, since they would get removed anyway.
|
||||
|
||||
*libxcrypt-2.4 (12 Jan 2010)
|
||||
|
||||
12 Jan 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org>
|
||||
+libxcrypt-2.4.ebuild:
|
||||
Version bump (bug #298540). Also install into /lib to make it safe for tcb
|
||||
and others to use libxcrypt.
|
||||
|
||||
01 Sep 2007; Christian Heim <phreak@gentoo.org> metadata.xml:
|
||||
Removing method from metadata due to his retirement (see #175298 for
|
||||
reference).
|
||||
|
||||
09 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog:
|
||||
Regenerate digest in Manifest2 format.
|
||||
|
||||
20 Oct 2004; Danny van Dyk <kugelfang@gentoo.org> libxcrypt-2.0.ebuild:
|
||||
Marked ~amd64.
|
||||
|
||||
07 May 2004; Brandon Hale <tseng@gentoo.org> libxcrypt-2.0.ebuild:
|
||||
Removed S=
|
||||
|
||||
26 Apr 2004; Aron Griffis <agriffis@gentoo.org> libxcrypt-2.0.ebuild:
|
||||
Add die following econf for bug 48950
|
||||
|
||||
*libxcrypt-2.0 (20 Jan 2004)
|
||||
|
||||
20 Jan 2004; Joshua Brindle <method@gentoo.org> libxcrypt-2.0.ebuild:
|
||||
initial import
|
||||
|
||||
6
sys-libs/libxcrypt/Manifest
Normal file
6
sys-libs/libxcrypt/Manifest
Normal file
@@ -0,0 +1,6 @@
|
||||
AUX libxcrypt-libc-lock.patch 1024 SHA256 015041d4a9ee23eacc9b3c18216fedb2a6ac12d43c53e946695737de9212e746 SHA512 72dc3944ea6ad600887d99ba0a9b3c0acb9d107f6591a139f863032a45a5efa516ec8b08a06e564552694d14febed0a1e065b96dc4aef06cd274aebf98baedcd WHIRLPOOL 7cf000a35ad37af82b469310cc47e3c916240e8c89088c078ad5fd1707de370d98a6cee17115efd9c8c068b271e35b331bf85dfbb8fee6ee75caac2f60248b5e
|
||||
AUX libxcrypt-noWerror.patch 720 SHA256 2451571ea688287557bfb1070e4b39c9a7104ae7b9f5b1477cf5d16ca1b41cc4 SHA512 f049036d25bf851631efa42f39cd466318f75b50b5dd381cee61baa5e74f7f072c2f9baf0f852ea362d71e21533b2e2d8dd3fa2fdf8edc6c0adb3dc283d82230 WHIRLPOOL 7bd440592f795547fc5462e192d96c5a555ad8b2c732ea644aaa445d2a9a9ad3a9770a64dbb3515f6af676481f7d28bbb4faf9692c3c8b14cc25aaa19f9ab39a
|
||||
DIST libxcrypt_2.4.orig.tar.gz 361503 SHA256 4207aee39c4454c1955b26a3d77f33e730eae94c20406976b6de80c3a3cfb1cd SHA512 7171ce1b5b7f949232c4db94cf98bdd6396c3e2a8f2f483c041cab92d752e3a2fa93d564ede7efece57c069df129e6cc03049cf3e3f07bd3556031a7c4197cbf WHIRLPOOL 7f23673dacf2d3c6b7f8967aaeb3c2e23039a8f61149372df0dfb700ef5a316ea661be0a76a2caf63e32007a505626c13d8667885935693454bd44c7fc1849c8
|
||||
EBUILD libxcrypt-2.4.ebuild 922 SHA256 8d9ceb82900dfca8920a3a277939636a6d303d8cab602d0b8c3a1f056f35b1f3 SHA512 18bbf23363864f3ab7ada6f5b3b11627eeaf7fb3d472a9de992a9d92df4daf245fbcb9fbad2d608a210dc7520f6f5a26a3a28019d7ad821ee6b0c603b48e7ec9 WHIRLPOOL 5004633f80ad5563f149c545e286f14043cbe59c41d4b34dc8dab7c19be0adc1d12a416f6f6262db4141c1cb32ab0ada04bde669df4848595141a9ec172447e7
|
||||
MISC ChangeLog 1241 SHA256 cc1eb8deacc2c7f8479cb44937026417b2dc7fe112ca3496aea870c78f11fe9e SHA512 f51c200af78799dd3e6f312ab5ddcd2f660c6f19d1fc217979340ea8ae19245a1eb166e7de6d7201eb3b950dd08513656971f58a6f1561e630a207d46993b96a WHIRLPOOL 611b3c43490be5db9d7292456f45c8f9b2b5dd1d5d3feaa95164d1bfb8af216c07b621627ded3bfe1c0e35aead9386ceee30321a67f33d4564c41e2ad36a996d
|
||||
MISC metadata.xml 394 SHA256 2811fce43c6930f68c07ad316c789ca848cc6086725801dd9230c5848ac663f5 SHA512 4e48ac0a6893a36043ba54bdc096b79ae7469866b82abb7d92d3fb90bbb950528c74d383e41bfaa235f5f314af6b34ccc994a43a374452f735727faecf60496e WHIRLPOOL fda0ceb10826a40b884c341dd662b39d5ff170ba8935b8693fc1a0ea9b46486aac8515b5f7c83f85f4ba9e4457e1823ccd18e3219f99b7c58f9b3c2d6abd569f
|
||||
40
sys-libs/libxcrypt/files/libxcrypt-libc-lock.patch
Normal file
40
sys-libs/libxcrypt/files/libxcrypt-libc-lock.patch
Normal file
@@ -0,0 +1,40 @@
|
||||
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);
|
||||
}
|
||||
|
||||
/*
|
||||
12
sys-libs/libxcrypt/files/libxcrypt-noWerror.patch
Normal file
12
sys-libs/libxcrypt/files/libxcrypt-noWerror.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
diff -dur libxcrypt-3.0.2.orig/configure.in libxcrypt-3.0.2/configure.in
|
||||
--- libxcrypt-3.0.2.orig/configure.in 2008-07-16 14:30:29.000000000 +0200
|
||||
+++ libxcrypt-3.0.2/configure.in 2012-06-19 12:27:48.000000000 +0200
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
EXTRA_CFLAGS=""
|
||||
if eval "test x$GCC = xyes"; then
|
||||
- EXTRA_CFLAGS="-W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -Wpointer-arith -Werror"
|
||||
+ EXTRA_CFLAGS="-W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -Wpointer-arith"
|
||||
fi
|
||||
AC_SUBST(EXTRA_CFLAGS)
|
||||
|
||||
33
sys-libs/libxcrypt/libxcrypt-2.4.ebuild
Normal file
33
sys-libs/libxcrypt/libxcrypt-2.4.ebuild
Normal file
@@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/sys-libs/libxcrypt/libxcrypt-2.4.ebuild,v 1.2 2010/04/26 11:25:53 flameeyes Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils 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}"/libxcrypt-libc-lock.patch
|
||||
#epatch "${FILESDIR}"/libxcrypt-noWerror.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Do not install into /usr so that tcb and pam can use us.
|
||||
econf --libdir=/$(get_libdir) --disable-static
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake failed"
|
||||
|
||||
# Remove unneeded files from /
|
||||
rm -f "${D}"/$(get_libdir)/"${PN}".la || die "rm failed"
|
||||
}
|
||||
10
sys-libs/libxcrypt/metadata.xml
Normal file
10
sys-libs/libxcrypt/metadata.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>hardened</herd>
|
||||
<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>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user