mutt: unbundle cyrus-sasl

This commit is contained in:
git-bruh 2022-09-30 13:46:17 +05:30
parent cda4cde397
commit 4a7aa49e1a
No known key found for this signature in database
10 changed files with 17 additions and 23 deletions

9
extra/cyrus-sasl/build Executable file
View File

@ -0,0 +1,9 @@
#!/bin/sh -e
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--sbindir=/usr/bin
make
make DESTDIR="$1" install

View File

@ -0,0 +1 @@
7ccfc6abd01ed67c1a0924b353e526f1b766b21f42d4562ee635a8ebfc5bb38c

1
extra/cyrus-sasl/depends Normal file
View File

@ -0,0 +1 @@
openssl

1
extra/cyrus-sasl/sources Normal file
View File

@ -0,0 +1 @@
https://github.com/cyrusimap/cyrus-sasl/releases/download/cyrus-sasl-VERSION/cyrus-sasl-VERSION.tar.gz

1
extra/cyrus-sasl/version Normal file
View File

@ -0,0 +1 @@
2.1.28 1

View File

@ -1,28 +1,10 @@
#!/bin/sh -e #!/bin/sh -e
out=$PWD/out
mkdir -p out
(
cd cyrus-sasl
./configure \
LIBS='-lssl -lcrypto' \
--prefix=/usr \
--sysconfdir=/etc \
--disable-shared \
--sbindir=/usr/bin
make
make DESTDIR="$out" install
)
# Remove perl dependency. # Remove perl dependency.
sed 's/ doc contrib/ contrib/g' Makefile.in > _ sed 's/ doc contrib/ contrib/g' Makefile.in > _
mv -f _ Makefile.in mv -f _ Makefile.in
./configure \ ./configure \
ac_cv_search_sasl_encode64=-lsasl2 \
--prefix=/usr \ --prefix=/usr \
--sysconfdir=/etc \ --sysconfdir=/etc \
--disable-doc \ --disable-doc \
@ -30,8 +12,8 @@ mv -f _ Makefile.in
--enable-pop \ --enable-pop \
--enable-imap \ --enable-imap \
--enable-smtp \ --enable-smtp \
--with-ssl \ --with-sasl \
--with-sasl="$out/usr" --with-ssl
make make
make install-exec make install-exec

View File

@ -1,2 +1 @@
eb13858f58bb369f477bf652d90e9b6aaddd0d610acbea3455049e5efad36df1 eb13858f58bb369f477bf652d90e9b6aaddd0d610acbea3455049e5efad36df1
7ccfc6abd01ed67c1a0924b353e526f1b766b21f42d4562ee635a8ebfc5bb38c

View File

@ -1,3 +1,4 @@
cyrus-sasl
ncurses ncurses
openssl openssl
zlib zlib

View File

@ -1,2 +1 @@
https://bitbucket.org/mutt/mutt/downloads/mutt-VERSION.tar.gz https://bitbucket.org/mutt/mutt/downloads/mutt-VERSION.tar.gz
https://github.com/cyrusimap/cyrus-sasl/releases/download/cyrus-sasl-2.1.28/cyrus-sasl-2.1.28.tar.gz cyrus-sasl

View File

@ -1 +1 @@
2.2.7 1 2.2.7 2