wok-next rev 20877
msmtp: up (1.6.8); fetchmail: patch
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jul 06 14:18:54 2018 +0300 (2018-07-06) |
parents | 99196848027e |
children | ca0d3fe02f15 |
files | fetchmail/receipt fetchmail/stuff/patches/disable-sslv3.patch fetchmail/stuff/patches/series msmtp/receipt |
line diff
1.1 --- a/fetchmail/receipt Fri Jul 06 13:21:34 2018 +0300 1.2 +++ b/fetchmail/receipt Fri Jul 06 14:18:54 2018 +0300 1.3 @@ -1,33 +1,28 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="fetchmail" 1.8 VERSION="6.3.26" 1.9 CATEGORY="network" 1.10 -SHORT_DESC="Mail retrieval and forwarding utility " 1.11 +SHORT_DESC="Mail retrieval and forwarding utility" 1.12 MAINTAINER="erjo@slitaz.org" 1.13 LICENSE="GPL2" 1.14 -TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.15 -WEB_SITE="http://fetchmail.berlios.de/" 1.16 -WGET_URL="http://download.berlios.de/fetchmail/$TARBALL" 1.17 -HANDBOOK_URL="http://fetchmail.berlios.de/fetchmail-man.html" 1.18 -TAGS="email" 1.19 +WEB_SITE="http://www.fetchmail.info/" 1.20 1.21 -DEPENDS="openssl" 1.22 -BUILD_DEPENDS="openssl-dev" 1.23 +TARBALL="$PACKAGE-$VERSION.tar.xz" 1.24 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.25 1.26 -# Rules to configure and make the package. 1.27 -compile_rules() 1.28 -{ 1.29 - cd $src 1.30 - ./configure --with-ssl \ 1.31 +BUILD_DEPENDS="openssl-dev gettext" 1.32 + 1.33 +compile_rules() { 1.34 + ./configure \ 1.35 + --with-ssl \ 1.36 $CONFIGURE_ARGS && 1.37 - make && make DESTDIR=$DESTDIR install 1.38 + make && 1.39 + make DESTDIR=$DESTDIR install 1.40 } 1.41 1.42 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.43 -genpkg_rules() 1.44 -{ 1.45 - mkdir -p $fs/usr 1.46 - cp -a $install/usr/bin $fs/usr 1.47 +genpkg_rules() { 1.48 + copy @std 1.49 + DEPENDS="openssl python" 1.50 + TAGS="email" 1.51 } 1.52 -
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/fetchmail/stuff/patches/disable-sslv3.patch Fri Jul 06 14:18:54 2018 +0300 2.3 @@ -0,0 +1,20 @@ 2.4 +diff -u -r fetchmail-6.3.26/socket.c fetchmail-6.3.26-nossl3/socket.c 2.5 +--- fetchmail-6.3.26/socket.c 2013-04-23 22:00:45.000000000 +0200 2.6 ++++ fetchmail-6.3.26-nossl3/socket.c 2016-03-03 18:18:46.688881618 +0100 2.7 +@@ -907,14 +907,11 @@ 2.8 + _ssl_context[sock] = NULL; 2.9 + if(myproto) { 2.10 + if(!strcasecmp("ssl2",myproto)) { 2.11 +-#if HAVE_DECL_SSLV2_CLIENT_METHOD + 0 > 0 2.12 +- _ctx[sock] = SSL_CTX_new(SSLv2_client_method()); 2.13 +-#else 2.14 + report(stderr, GT_("Your operating system does not support SSLv2.\n")); 2.15 + return -1; 2.16 +-#endif 2.17 + } else if(!strcasecmp("ssl3",myproto)) { 2.18 +- _ctx[sock] = SSL_CTX_new(SSLv3_client_method()); 2.19 ++ report(stderr, GT_("Your operating system does not support SSLv3.\n")); 2.20 ++ return -1; 2.21 + } else if(!strcasecmp("tls1",myproto)) { 2.22 + _ctx[sock] = SSL_CTX_new(TLSv1_client_method()); 2.23 + } else if (!strcasecmp("ssl23",myproto)) {
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/fetchmail/stuff/patches/series Fri Jul 06 14:18:54 2018 +0300 3.3 @@ -0,0 +1,2 @@ 3.4 +# from https://www.archlinux.org/packages/extra/x86_64/fetchmail/ 3.5 +disable-sslv3.patch
4.1 --- a/msmtp/receipt Fri Jul 06 13:21:34 2018 +0300 4.2 +++ b/msmtp/receipt Fri Jul 06 14:18:54 2018 +0300 4.3 @@ -1,34 +1,30 @@ 4.4 -# SliTaz package receipt. 4.5 +# SliTaz package receipt v2. 4.6 4.7 PACKAGE="msmtp" 4.8 -VERSION="1.4.27" 4.9 +VERSION="1.6.8" 4.10 CATEGORY="network" 4.11 -SHORT_DESC="An SMTP client who transmits a mail to an SMTP server." 4.12 +SHORT_DESC="An SMTP client who transmits a mail to an SMTP server" 4.13 MAINTAINER="pankso@slitaz.org" 4.14 LICENSE="GPL3" 4.15 -TARBALL="$PACKAGE-$VERSION.tar.bz2" 4.16 -WEB_SITE="http://msmtp.sourceforge.net/" 4.17 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 4.18 +WEB_SITE="https://marlam.de/msmtp/" 4.19 4.20 -DEPENDS="openssl" 4.21 -BUILD_DEPENDS="openssl-dev" 4.22 +TARBALL="$PACKAGE-$VERSION.tar.xz" 4.23 +WGET_URL="https://marlam.de/msmtp/releases/$TARBALL" 4.24 4.25 -# Rules to configure and make the package. 4.26 -compile_rules() 4.27 -{ 4.28 - cd $src 4.29 +BUILD_DEPENDS="openssl-dev gettext" 4.30 + 4.31 +compile_rules() { 4.32 ./configure \ 4.33 - --with-ssl=openssl \ 4.34 - --without-gnome-keyring \ 4.35 + --with-tls=openssl \ 4.36 + --without-libsecret \ 4.37 --without-libgsasl \ 4.38 --without-libidn \ 4.39 $CONFIGURE_ARGS && 4.40 - make && make install 4.41 + make && 4.42 + make install 4.43 } 4.44 4.45 -# Rules to gen a SliTaz package suitable for Tazpkg. 4.46 -genpkg_rules() 4.47 -{ 4.48 - mkdir -p $fs/usr 4.49 - cp -a $install/usr/bin $fs/usr 4.50 +genpkg_rules() { 4.51 + copy @std 4.52 + DEPENDS="openssl" 4.53 }