From bc8c3d5154a3af1ed612a77df4b402e456bf811e Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 1 Feb 2012 17:34:20 -0500 Subject: [PATCH] sys-libs/cracklib: import from portage Just copying the ebuilds from portage/ so hopefully no functional changes. BUG=chromium-os:26016 TEST=`cbuildbot arm-generic-full` works TEST=build_packages+build_image for x86-alex boots Change-Id: Iecc11d09ba5759b37bb426c078c727d4d588c43c Reviewed-on: https://gerrit.chromium.org/gerrit/15431 Reviewed-by: Matt Tennant Tested-by: Mike Frysinger Commit-Ready: Mike Frysinger --- .../portage-stable/sys-libs/cracklib/Manifest | 1 + .../cracklib/cracklib-2.8.13-r1.ebuild | 65 +++++++++++++++++++ .../cracklib-2.8.13-python-linkage.patch | 13 ++++ 3 files changed, 79 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/sys-libs/cracklib/Manifest create mode 100644 sdk_container/src/third_party/portage-stable/sys-libs/cracklib/cracklib-2.8.13-r1.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/sys-libs/cracklib/files/cracklib-2.8.13-python-linkage.patch diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/cracklib/Manifest b/sdk_container/src/third_party/portage-stable/sys-libs/cracklib/Manifest new file mode 100644 index 0000000000..e014baccc5 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-libs/cracklib/Manifest @@ -0,0 +1 @@ +DIST cracklib-2.8.13.tar.gz 593050 RMD160 948b02e6a74dfc94192f6f6ce9e3fc733d7a92f4 SHA1 e107d0a14c09aea9c63c18840db8b94b972b5315 SHA256 0a06caff3626c397d023f0c19efedfea295180c2c5ba2def57016a17e158041a diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/cracklib/cracklib-2.8.13-r1.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/cracklib/cracklib-2.8.13-r1.ebuild new file mode 100644 index 0000000000..0f7a62919c --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-libs/cracklib/cracklib-2.8.13-r1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/cracklib/cracklib-2.8.13-r1.ebuild,v 1.3 2010/03/08 22:35:46 zmedico Exp $ + +inherit eutils toolchain-funcs multilib libtool + +MY_P=${P/_} +DESCRIPTION="Password Checking Library" +HOMEPAGE="http://sourceforge.net/projects/cracklib" +SRC_URI="mirror://sourceforge/cracklib/${MY_P}.tar.gz" + +LICENSE="CRACKLIB" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd" +IUSE="nls python" + +DEPEND="python? ( /dev/null + eend $? + fi +} diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/cracklib/files/cracklib-2.8.13-python-linkage.patch b/sdk_container/src/third_party/portage-stable/sys-libs/cracklib/files/cracklib-2.8.13-python-linkage.patch new file mode 100644 index 0000000000..568d081302 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-libs/cracklib/files/cracklib-2.8.13-python-linkage.patch @@ -0,0 +1,13 @@ +http://bugs.gentoo.org/246747 + +--- cracklib/python/Makefile.in ++++ cracklib/python/Makefile.in +@@ -57,7 +57,7 @@ + am__installdirs = "$(DESTDIR)$(pyexecdir)" "$(DESTDIR)$(pythondir)" + pyexecLTLIBRARIES_INSTALL = $(INSTALL) + LTLIBRARIES = $(pyexec_LTLIBRARIES) +-_cracklibmodule_la_LIBADD = ++_cracklibmodule_la_LIBADD = -lpython$(PYTHON_VERSION) + _cracklibmodule_la_SOURCES = _cracklibmodule.c + _cracklibmodule_la_OBJECTS = _cracklibmodule.lo + _cracklibmodule_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \