Show
Ignore:
Timestamp:
09/07/07 14:37:39 (4 years ago)
Author:
tg
Message:

update GnuTLS, mostly From: Simon Josefsson <simon@josefsson.org>
(upstream author)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freewrt/package/gnutls/Makefile

    r3554 r3569  
    88 
    99PKG_NAME:=              gnutls 
    10 PKG_VERSION:=           1.6.2 
    11 PKG_RELEASE:=           3 
    12 PKG_MD5SUM:=            1b224e4de5ac5ab89a2e53c7af9cf6b0 
    13 DISTFILES:=             gnutls-1.6.2.tar.bz2 
    14 MASTER_SITES:=          ftp://ftp.gnutls.org/pub/gnutls/ \ 
     10PKG_VERSION:=           2.0.0 
     11PKG_RELEASE:=           1 
     12PKG_MD5SUM:=            181b2ff554a83e6cf85505ea16699d39 
     13DISTFILES:=             ${PKG_NAME}-${PKG_VERSION}.tar.bz2 
     14MASTER_SITES:=          http://josefsson.org/gnutls/releases/ \ 
     15                        http://www.mirrors.wiretapped.net/security/network-security/gnutls/ \ 
     16                        ftp://ftp.gnutls.org/pub/gnutls/ \ 
    1517                        ftp://ftp.gnupg.org/gcrypt/alpha/gnutls/ \ 
    16                         http://www.mirrors.wiretapped.net/security/network-security/gnutls/ \ 
    17                         ftp://ftp.mirrors.wiretapped.net/pub/security/network-security/gnutls/ \ 
    18                         http://josefsson.org/gnutls/releases/ 
     18                        ftp://ftp.mirrors.wiretapped.net/pub/security/network-security/gnutls/ 
    1919 
    2020include ${TOPDIR}/mk/package.mk 
     
    2222$(eval $(call PKG_template,LIBGNUTLS,libgnutls,${PKG_VERSION}-${PKG_RELEASE},${ARCH})) 
    2323$(eval $(call PKG_template,GNUTLS_UTILS,gnutls-utils,${PKG_VERSION}-${PKG_RELEASE},${ARCH})) 
     24$(eval $(call PKG_template,LIBGNUTLS_EXTRA,libgnutls-extra,${PKG_VERSION}-${PKG_RELEASE},${ARCH})) 
    2425$(eval $(call PKG_template,LIBGNUTLS_OPENSSL,libgnutls-openssl,${PKG_VERSION}-${PKG_RELEASE},${ARCH})) 
     26$(eval $(call PKG_template,LIBGNUTLSXX,libgnutlsxx,${PKG_VERSION}-${PKG_RELEASE},${ARCH})) 
    2527 
    2628CONFIGURE_STYLE=        gnu 
    27 CONFIGURE_ARGS+=        --disable-srp-authentication \ 
    28                         --disable-anon-authentication \ 
    29                         --disable-openpgp-authentication \ 
    30                         --with-included-libcfg=yes \ 
    31                         --without-zlib \ 
    32                         --without-lzo 
     29CONFIGURE_ARGS+=        --without-libopencdk-prefix \ 
     30                        --without-libz-prefix 
    3331BUILD_STYLE=            auto 
    3432INSTALL_STYLE=          auto 
    3533 
    3634post-install: 
    37         ${INSTALL_DIR} ${IDIR_LIBGNUTLS}/usr/lib 
    38         ${CP} ${WRKINST}/usr/lib/libgnutls{,-extra}.so.* ${IDIR_LIBGNUTLS}/usr/lib/ 
    39         ${INSTALL_DIR} ${IDIR_LIBGNUTLS_OPENSSL}/usr/lib 
    40         ${CP} ${WRKINST}/usr/lib/libgnutls-openssl.so.* \ 
    41                 ${IDIR_LIBGNUTLS_OPENSSL}/usr/lib/ 
    42         ${INSTALL_DIR} ${IDIR_GNUTLS_UTILS}/usr/bin 
    43         ${CP} ${WRKINST}/usr/bin/certtool ${IDIR_GNUTLS_UTILS}/usr/bin/ 
    44         ${CP} ${WRKINST}/usr/bin/gnutls-{cli,serv} ${IDIR_GNUTLS_UTILS}/usr/bin/ 
     35        cd ${WRKINST} && \ 
     36         ${PCP} usr/lib/libgnutls.so.* ${IDIR_LIBGNUTLS}/ && \ 
     37         ${PCP} usr/lib/libgnutls-extra.so.* ${IDIR_LIBGNUTLS_EXTRA}/ && \ 
     38         ${PCP} usr/lib/libgnutls-openssl.so.* ${IDIR_LIBGNUTLS_OPENSSL}/ && \ 
     39         ${PCP} usr/lib/libgnutlsxx.so.* ${IDIR_LIBGNUTLSXX}/ && \ 
     40         ${PCP} usr/bin/{{cert,srp,psk}tool,gnutls-{cli,serv}} \ 
     41            ${IDIR_GNUTLS_UTILS}/ 
    4542 
    4643include ${TOPDIR}/mk/pkg-bottom.mk