Package: scrypt / 1.1.6+svn31-1

Metadata

Package Version Patches format
scrypt 1.1.6+svn31-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 configure.ac version.patch | (download)

configure.ac | 3 1 + 2 - 0 !
1 file changed, 1 insertion(+), 2 deletions(-)

 configure.ac version

autoconf gets annoyed if configure.ac does not contain a literal
version argument in AC_INIT.  The upstream code tries to figure out
the version from the directory name and include it in.  This has a few problems:

* The code to do this is in Makefile, and is overwritten by autotools.
* The code doesn't work in Debian because the directory name does
  not necessarily encode the version.
* The file containing the version is not present in the upstream sources,
  and must be created by running "make", and autoconf fails if it is not
  found.
* The Makefile in the sources uses a syntactic extension not supported
  by GNU make, which errors out with "missing separator".

This patch passes a literal version number to AC_INIT.

BE SURE TO UPDATE FOR A NEW UPSTREAM VERSION!

0002 automake options.patch | (download)

Makefile.am | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 automake options

Add two automake options.  The first, subdir-objects, is to avoid
zillions of warnings concerning refering to source files in
subdirectories.  The second, -Wall, has no discernible effect, which
is good.

0003 configure.ac include acscrypt.m4.patch | (download)

configure.ac | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 configure.ac include acscrypt.m4

acscrypt.m4 contains the macro CHECK_SYSCTL_HW_USERMEM.  This should
be put in check_sysctl_hw_usermem.m4 so it can be found automatically,
but that would be more appropriate to do upstream, and this is a
minimal patch.

0004 configure.ac clock_gettime.patch | (download)

configure.ac | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 configure.ac clock_gettime

Instead of always including -lrt when linking with it provides
clock_gettime, only link to it when clock_gettime is not available
without -lrt.  This is the recommended procedure.  To quote the
autoconf 2.69 info pages:

     'AC_CHECK_LIB' requires some care ... it is normally better to
     use 'AC_SEARCH_LIBS([gethostbyname], [nsl])' instead of
     'AC_CHECK_LIB([nsl], [gethostbyname])'.