From: Nathan Neulinger Date: Fri, 30 May 2014 17:35:32 +0000 (+0000) Subject: add patch from user for out of source tree building w/ python X-Git-Tag: v2.9.2~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=badece17856bc0c854f7d326ee7b1b381e13ba70;p=cracklib add patch from user for out of source tree building w/ python git-svn-id: file:///tmp/cracklib-svn/trunk@228 4175fe1e-86d5-4fdc-8e6a-506fab9d8533 --- diff --git a/cracklib/NEWS b/cracklib/NEWS index d07c3e5..6f95399 100644 --- a/cracklib/NEWS +++ b/cracklib/NEWS @@ -1,3 +1,4 @@ +v2.9.2 support build of python support outside of source tree (Michał Górny) v2.9.1 added updated config.sub/config.guess in autogen v2.9.0 add new FascistCheckUser function from Enrico Scholz, bumped minor version for library v2.8.22 error return instead of exit if dictionary can't be opened (Nalin Dahyabhai) diff --git a/cracklib/README-RELEASE b/cracklib/README-RELEASE index 6c26c3e..b04cf17 100644 --- a/cracklib/README-RELEASE +++ b/cracklib/README-RELEASE @@ -13,5 +13,5 @@ mput cracklib-${ver}.tar.gz exit EOM -svn copy -m "tag at ${ver}" https://cracklib.svn.sourceforge.net/svnroot/cracklib/trunk/cracklib https://cracklib.svn.sourceforge.net/svnroot/cracklib/tags/cracklib-${ver} +svn copy -m "tag at ${ver}" https://svn.code.sf.net/p/cracklib/code/trunk/cracklib https://svn.code.sf.net/p/cracklib/code/tags/cracklib-${ver} diff --git a/cracklib/python/setup.py.in b/cracklib/python/setup.py.in index 4a258a0..4c70de4 100644 --- a/cracklib/python/setup.py.in +++ b/cracklib/python/setup.py.in @@ -23,8 +23,8 @@ from setuptools import setup, Extension, find_packages extensions = [ Extension("_cracklib", - ["_cracklib.c"], - include_dirs = ["@top_builddir@/lib"], + ["@srcdir@/_cracklib.c"], + include_dirs = ["@top_srcdir@/lib"], libraries = ["crack"], library_dirs = ["@top_builddir@/lib/.libs"]), ] @@ -43,6 +43,7 @@ convenience functions. url="http://cracklib.sourceforge.net/", license="GPLv2+", py_modules=['cracklib', 'test_cracklib'], + package_dir={'': '@srcdir@'}, ext_modules=extensions, zip_safe=False, classifiers=[