Nice.

Thanks.

73 de Jeff

On Nov 20, 2009, at 8:46 AM, Pinto Elia wrote:

>  RPM Package Manager, CVS Repository
>  http://rpm5.org/cvs/
>  ____________________________________________________________________________
> 
>  Server: rpm5.org                         Name:   Pinto Elia
>  Root:   /v/rpm/cvs                       Email:  devzero2...@rpm5.org
>  Module: rpm                              Date:   20-Nov-2009 14:46:16
>  Branch: HEAD                             Handle: 2009112013461500
> 
>  Modified files:
>    rpm                     CHANGES configure.ac
> 
>  Log:
>    don't permit configure option that produce unusable rpm5, see
>    http://rpm5.org/community/rpm-users/0346.html
> 
>  Summary:
>    Revision    Changes     Path
>    1.3164      +1  -0      rpm/CHANGES
>    2.410       +20 -0      rpm/configure.ac
>  ____________________________________________________________________________
> 
>  patch -p0 <<'@@ .'
>  Index: rpm/CHANGES
>  ============================================================================
>  $ cvs diff -u -r1.3163 -r1.3164 CHANGES
>  --- rpm/CHANGES      19 Nov 2009 20:19:33 -0000      1.3163
>  +++ rpm/CHANGES      20 Nov 2009 13:46:15 -0000      1.3164
>  @@ -1,5 +1,6 @@
> 
>   5.2b1 -> 5.3a1
>  +    - devzero2000: don't permit using b0rken configure option
>       - jbj: rpmdb: fix: ensure Seqno h# counter is initialized to 1 when 
> created.
>       - proyvind: add %distepoch back to provideversion, leave legacy
>       compatibility for adopters to care about.
>  @@ .
>  patch -p0 <<'@@ .'
>  Index: rpm/configure.ac
>  ============================================================================
>  $ cvs diff -u -r2.409 -r2.410 configure.ac
>  --- rpm/configure.ac 19 Nov 2009 00:34:21 -0000      2.409
>  +++ rpm/configure.ac 20 Nov 2009 13:46:15 -0000      2.410
>  @@ -1167,6 +1167,7 @@
>       [yes,external], [],
>       [], [AC_MSG_ERROR([mandatory POPT library not found])])
> 
>  +HAVE_RPM_COMPRESSION=no
>   dnl # ZLib
>   RPM_CHECK_LIB(
>       [ZLib], [zlib],
>  @@ -1178,12 +1179,18 @@
>         fi
>       ], [])
> 
>  +    if test ".$WITH_ZLIB" = .yes; then
>  +        HAVE_RPM_COMPRESSION=yes 
>  +    fi
>   dnl # GNU BZip2
>   RPM_CHECK_LIB(
>       [GNU BZip2], [bzip2],
>       [bz2], [BZ2_bzread], [bzlib.h],
>       [no,external:none], [],
>       [], [])
>  +    if test ".$WITH_BZIP2" = .yes; then
>  +        HAVE_RPM_COMPRESSION=yes 
>  +    fi
> 
>   dnl # libLZMA
>   WITH_XZ_INTERNAL=false
>  @@ -1196,13 +1203,22 @@
>             AC_DEFINE(HAVE_LZMA_H, 1, [Define to 1 if you have <lzma.h>])
>         fi
>       ], [])
>  +    if test ".$WITH_XZ" = .yes; then
>  +        HAVE_RPM_COMPRESSION=yes 
>  +    fi
> 
>  +if test ".$HAVE_RPM_COMPRESSION" = .no; then
>  +       AC_MSG_ERROR([you have passed --without-{xz,bzip2,zlib} together but 
> it isn't possible to build rpm without any form of compression library. At a 
> minimum, i suggest adding --with-zlib if you want to actually build and 
> install a *.rpm package])
>  +fi
>   dnl # BeeCrypt
>   RPM_CHECK_LIB(
>       [BeeCrypt], [beecrypt],
>       [beecrypt], [mpfprintln], [beecrypt/api.h],
>       [yes,external], [],
>       [], [ AC_MSG_ERROR([mandatory BeeCrypt library not found]) ])
>  +    if test ".$WITH_BEECRYPT" = .no; then
>  +         AC_MSG_ERROR([BEECRYPT is mandatory])
>  +    fi
> 
>   dnl # GCrypt
>   RPM_CHECK_LIB(
>  @@ -1572,6 +1588,10 @@
>             WITH_LUA_SUBDIR_DEF="$WITH_LUA_SUBDIR_DEF -DLUA_USE_PCRE"
>         fi
>       ], [])
>  +    dnl # check PCRE 
>  +    if test ".$WITH_PCRE" = .no; then
>  +         AC_MSG_ERROR([PCRE is mandatory. If you don't have  libpcre then 
> --with-pcre=internal could be used])
>  +    fi
> 
>   dnl # OSSP uuid
>   RPM_CHECK_LIB(
>  @@ .
> ______________________________________________________________________
> RPM Package Manager                                    http://rpm5.org
> CVS Sources Repository                                rpm-...@rpm5.org

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to