diff options
author | 2015-08-08 13:49:04 -0700 | |
---|---|---|
committer | 2015-08-08 17:38:18 -0700 | |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /sys-libs/libxcrypt | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sys-libs/libxcrypt')
-rw-r--r-- | sys-libs/libxcrypt/Manifest | 2 | ||||
-rw-r--r-- | sys-libs/libxcrypt/files/libxcrypt-2.4-glibc-2.16.patch | 40 | ||||
-rw-r--r-- | sys-libs/libxcrypt/libxcrypt-2.0.ebuild | 16 | ||||
-rw-r--r-- | sys-libs/libxcrypt/libxcrypt-2.4.ebuild | 29 | ||||
-rw-r--r-- | sys-libs/libxcrypt/metadata.xml | 10 |
5 files changed, 97 insertions, 0 deletions
diff --git a/sys-libs/libxcrypt/Manifest b/sys-libs/libxcrypt/Manifest new file mode 100644 index 00000000000..3efc20592ec --- /dev/null +++ b/sys-libs/libxcrypt/Manifest @@ -0,0 +1,2 @@ +DIST libxcrypt-2.0.tar.bz2 255228 SHA256 176ed37cfdd3b1fe6f9e01cb75c5f864287906bb5741d22fa586d6239ad672a8 +DIST libxcrypt_2.4.orig.tar.gz 361503 SHA256 4207aee39c4454c1955b26a3d77f33e730eae94c20406976b6de80c3a3cfb1cd SHA512 7171ce1b5b7f949232c4db94cf98bdd6396c3e2a8f2f483c041cab92d752e3a2fa93d564ede7efece57c069df129e6cc03049cf3e3f07bd3556031a7c4197cbf WHIRLPOOL 7f23673dacf2d3c6b7f8967aaeb3c2e23039a8f61149372df0dfb700ef5a316ea661be0a76a2caf63e32007a505626c13d8667885935693454bd44c7fc1849c8 diff --git a/sys-libs/libxcrypt/files/libxcrypt-2.4-glibc-2.16.patch b/sys-libs/libxcrypt/files/libxcrypt-2.4-glibc-2.16.patch new file mode 100644 index 00000000000..150ff99ab2f --- /dev/null +++ b/sys-libs/libxcrypt/files/libxcrypt-2.4-glibc-2.16.patch @@ -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); + } + + /* diff --git a/sys-libs/libxcrypt/libxcrypt-2.0.ebuild b/sys-libs/libxcrypt/libxcrypt-2.0.ebuild new file mode 100644 index 00000000000..be3c47039c6 --- /dev/null +++ b/sys-libs/libxcrypt/libxcrypt-2.0.ebuild @@ -0,0 +1,16 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +DESCRIPTION="A replacement for libcrypt with DES, MD5 and blowfish support" +SRC_URI="mirror://gentoo/${P}.tar.bz2" +HOMEPAGE="http://www.suse.de/us/private/products/suse_linux/i386/packages_personal/libxcrypt.html" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +src_install() { + emake DESTDIR="${D}" install || die +} diff --git a/sys-libs/libxcrypt/libxcrypt-2.4.ebuild b/sys-libs/libxcrypt/libxcrypt-2.4.ebuild new file mode 100644 index 00000000000..80a18741df7 --- /dev/null +++ b/sys-libs/libxcrypt/libxcrypt-2.4.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +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}/${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 +} diff --git a/sys-libs/libxcrypt/metadata.xml b/sys-libs/libxcrypt/metadata.xml new file mode 100644 index 00000000000..8f5a0e9c800 --- /dev/null +++ b/sys-libs/libxcrypt/metadata.xml @@ -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> |