add alpine-passfile template
parent
7bdee49b6f
commit
6aadea46e9
|
@ -0,0 +1,22 @@
|
||||||
|
From 418e8bc5789d9ef223f043848619b6a648748dcc Mon Sep 17 00:00:00 2001
|
||||||
|
From: Eduardo Chappa <chappa@washington.edu>
|
||||||
|
Date: Thu, 22 Aug 2019 19:11:53 -0600
|
||||||
|
Subject: [PATCH 1/1] * Ignore extra text in challenge from smtp server
|
||||||
|
during authentication.
|
||||||
|
|
||||||
|
---
|
||||||
|
imap/src/c-client/smtp.c | 1 +
|
||||||
|
pith/pine.hlp | 2 +-
|
||||||
|
2 files changed, 2 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
--- imap/src/c-client/smtp.c
|
||||||
|
+++ imap/src/c-client/smtp.c
|
||||||
|
@@ -363,6 +363,7 @@ void *smtp_challenge (void *s,unsigned long *len)
|
||||||
|
sprintf (tmp,"SMTP SERVER BUG (invalid challenge, continuing): %.80s",stream->reply+4);
|
||||||
|
mm_log (tmp,ERROR);
|
||||||
|
ret = cpystr(""); /* This is silly: fake a reply, it will be ignored */
|
||||||
|
+ *len = 0L;
|
||||||
|
}
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
--- imap/src/osdep/unix/ssl_unix.c.orig
|
||||||
|
+++ imap/src/osdep/unix/ssl_unix.c
|
||||||
|
@@ -249,9 +249,7 @@
|
||||||
|
return NIL; /* out of range? bail out */
|
||||||
|
|
||||||
|
#ifndef OPENSSL_1_1_0
|
||||||
|
- if(client_request == SSL3_VERSION)
|
||||||
|
- return SSLv3_client_method();
|
||||||
|
- else if(client_request == TLS1_VERSION)
|
||||||
|
+ if(client_request == TLS1_VERSION)
|
||||||
|
return TLSv1_client_method();
|
||||||
|
else if(client_request == TLS1_1_VERSION)
|
||||||
|
return TLSv1_1_client_method();
|
|
@ -0,0 +1,37 @@
|
||||||
|
# Template file for 'alpine-passfile'
|
||||||
|
_pkgname=alpine
|
||||||
|
pkgname=alpine-passfile
|
||||||
|
version=2.21.99999
|
||||||
|
revision=2
|
||||||
|
_githash=abeb2c25935ef8c75f1e5deef0f81276754dc975
|
||||||
|
_gitshort="${_githash:0:7}"
|
||||||
|
wrksrc="${_pkgname}-${_gitshort}"
|
||||||
|
build_style=gnu-configure
|
||||||
|
configure_args="--with-passfile=.pine-passfile --without-tcl --disable-shared
|
||||||
|
--with-ssl-dir=${XBPS_CROSS_BASE}/usr alpine_SSLPROVIDER=libressl
|
||||||
|
--with-system-pinerc=/etc/${_pkgname}.d/pine.conf
|
||||||
|
--with-system-fixed-pinerc=/etc/${_pkgname}.d/pine.conf.fixed"
|
||||||
|
conflicts=alpine
|
||||||
|
hostmakedepends="hunspell"
|
||||||
|
makedepends="pam-devel ncurses-devel gettext-devel libldap-devel mit-krb5-devel"
|
||||||
|
short_desc="Apache-licensed PINE mail user agent (with Chappa patches)"
|
||||||
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||||
|
license="Apache-2.0"
|
||||||
|
homepage="http://repo.or.cz/alpine.git"
|
||||||
|
distfiles="http://repo.or.cz/alpine.git/snapshot/${_githash}.tar.gz"
|
||||||
|
checksum=983f04e1c5f1beba767877303c682d3c995e0cd93ad6888f2d9933ef4236c25f
|
||||||
|
|
||||||
|
post_extract() {
|
||||||
|
sed -i -e '/run test program/s/^/: /' \
|
||||||
|
-e 's/linux-gnu/linux-/g' ${wrksrc}/configure
|
||||||
|
}
|
||||||
|
|
||||||
|
do_build() {
|
||||||
|
make -C pith help_c_gen help_h_gen \
|
||||||
|
CC="$BUILD_CC" CFLAGS="$BUILD_CFLAGS" CPPFLAGS= LDFLAGS="$BUILD_LDFLAGS"
|
||||||
|
make ${makejobs} all CC="$CC"
|
||||||
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense NOTICE
|
||||||
|
}
|
|
@ -0,0 +1,2 @@
|
||||||
|
site='http://repo.or.cz/alpine.git/blob_plain/master:/VERSION'
|
||||||
|
pattern='[\d.]+'
|
Loading…
Reference in New Issue