Changeset 3569

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/Depends.mk

    r3566 r3569  
    5050glib2-compile: gettext-compile libiconv-compile libpthread-compile 
    5151gmediaserver-compile: id3lib-compile libupnp-compile 
    52 gnutls-compile: libgcrypt-compile opencdk-compile libtasn1-compile 
     52gnutls-compile: libgcrypt-compile liblzo-compile libtasn1-compile opencdk-compile zlib-compile 
    5353gpsd-compile: ncurses-compile uclibc++-compile 
    5454httping-compile: openssl-compile 
  • trunk/freewrt/package/gnutls/Config.in

    r3067 r3569  
    1010        select FWRT_COMPILE_GNUTLS 
    1111        select FWRT_PACKAGE_LIBGCRYPT 
    12         select FWRT_PACKAGE_LIBOPENCDK 
    1312        select FWRT_PACKAGE_LIBTASN1 
     13        select FWRT_PACKAGE_ZLIB 
    1414        help 
    1515          GnuTLS is a project that aims to develop a library which provides a 
     
    2626 
    2727          Features 
    28  
    2928            * Support for TLS 1.1 and SSL 3.0 protocols 
    3029            * Support for TLS extensions 
     
    3635          http://www.gnu.org/software/gnutls/ 
    3736 
    38           This packages contains the GnuTLS shared libraries, needed by other programs. 
     37          This packages contains the core GnuTLS shared library, 
     38          needed by other programs. 
    3939 
    40 config FWRT_PACKAGE_GNUTLS_UTILS 
    41         prompt   "gnutls-utils.................... The GNU TLS utilities" 
     40config FWRT_PACKAGE_LIBGNUTLS_EXTRA 
     41        prompt "libgnutls-extra................... The GNU TLS extra library" 
     42        tristate 
     43        default n 
     44        depends FWRT_PACKAGE_LIBGNUTLS 
     45        select FWRT_PACKAGE_LIBOPENCDK 
     46        select FWRT_PACKAGE_LIBLZO 
     47        help 
     48          GnuTLS is a project that aims to develop a library which provides a 
     49          secure layer, over a reliable transport layer. Currently the GnuTLS 
     50          library implements the proposed standards by the IETF's TLS working 
     51          group. 
     52 
     53          This packages contains the optional "extra" GnuTLS shared 
     54          library, needed by other programs, which contains OpenPGP, 
     55          TLS/IA and LZO2 compression. 
     56 
     57config FWRT_PACKAGE_LIBGNUTLS_OPENSSL 
     58        prompt "libgnutls-openssl................. The GNU TLS OpenSSL compatibility layer library" 
    4259        tristate 
    4360        default n 
     
    4966          group. 
    5067 
    51           Quoting from RFC2246 - the TLS 1.0 protocol specification: 
     68          This packages contains the GnuTLS OpenSSL compatibility 
     69          layer shared library. 
    5270 
    53           "The TLS protocol provides communications privacy over the Internet. 
    54            The protocol allows client/server applications to communicate in a 
    55            way that is designed to prevent eavesdropping, tampering, or message 
    56            forgery." 
    57  
    58           Features 
    59  
    60             * Support for TLS 1.1 and SSL 3.0 protocols 
    61             * Support for TLS extensions 
    62             * Support for authentication using the SRP protocol 
    63             * Support for authentication using both X.509 certificates 
    64             * and OpenPGP keys Support for X.509 and OpenPGP certificate handling. 
    65             * Supports all the strong encryption algorithms 
    66  
    67           http://www.gnu.org/software/gnutls/ 
    68  
    69           This packages contains some GnuTLS utilities. 
    70  
    71 config FWRT_PACKAGE_LIBGNUTLS_OPENSSL 
    72         prompt   "libgnutls-openssl............... The GNU TLS OpenSSL compatibility layer library" 
     71config FWRT_PACKAGE_LIBGNUTLSXX 
     72        prompt "libgnutlsxx....................... The GNU TLS C++ library" 
    7373        tristate 
    7474        default n 
     
    8080          group. 
    8181 
    82           Quoting from RFC2246 - the TLS 1.0 protocol specification: 
     82          This packages contains the GnuTLS C++ shared library. 
    8383 
    84           "The TLS protocol provides communications privacy over the Internet. 
    85            The protocol allows client/server applications to communicate in a 
    86            way that is designed to prevent eavesdropping, tampering, or message 
    87            forgery." 
     84config FWRT_PACKAGE_GNUTLS_UTILS 
     85        prompt "gnutls-utils...................... The GNU TLS utilities" 
     86        tristate 
     87        default n 
     88        depends FWRT_PACKAGE_LIBGNUTLS 
     89        select FWRT_PACKAGE_LIBGNUTLS_EXTRA 
     90        help 
     91          GnuTLS is a project that aims to develop a library which provides a 
     92          secure layer, over a reliable transport layer. Currently the GnuTLS 
     93          library implements the proposed standards by the IETF's TLS working 
     94          group. 
    8895 
    89           Features 
    90  
    91             * Support for TLS 1.1 and SSL 3.0 protocols 
    92             * Support for TLS extensions 
    93             * Support for authentication using the SRP protocol 
    94             * Support for authentication using both X.509 certificates 
    95             * and OpenPGP keys Support for X.509 and OpenPGP certificate handling. 
    96             * Supports all the strong encryption algorithms 
    97  
    98           http://www.gnu.org/software/gnutls/ 
    99  
    100           This packages contains the GnuTLS OpenSSL compatibility layer shared library. 
     96          This packages contains some GnuTLS command line utilities. 
  • 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 
  • trunk/freewrt/package/gnutls/ipkg/gnutls-utils.control

    r1 r3569  
    33Section: admin 
    44Description: GNU TLS utilities 
    5 Depends: libgnutls 
     5Depends: libgnutls, libgnutls-extra 
  • trunk/freewrt/package/gnutls/ipkg/libgnutls.control

    r3068 r3569  
    33Section: libs 
    44Description: GNU TLS library 
    5 Depends: libgcrypt, libtasn1, opencdk 
     5Depends: libgcrypt, libtasn1, zlib