wok view mutt/receipt @ rev 17237
postfix, apache lighttpd-ssl, nginx: CVE-2014-3566
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 18 14:11:33 2014 +0200 (2014-10-18) |
parents | bb009a6ef036 |
children | a27eb3726263 |
line source
2 # SliTaz package receipt
4 PACKAGE="mutt"
5 VERSION="1.5.21"
6 CATEGORY="network"
7 SHORT_DESC="Small and powerful text-based mail client"
8 MAINTAINER="paul@slitaz.org"
9 LICENSE="GPL2"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.mutt.org"
12 WGET_URL="ftp://ftp.mutt.org/mutt/devel/$TARBALL"
14 DEPENDS="openssl ncurses zlib libidn"
15 BUILD_DEPENDS="libidn-dev ncurses-dev openssl-dev perl"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 addgroup mail
22 sed -i 's/STACK \*/STACK_OF(X509) */' mutt_ssl.c
23 ./configure \
24 --prefix=/usr \
25 --enable-imap \
26 --with-ssl=/usr \
27 --with-mailpath=/var/mail \
28 --sysconfdir=/etc \
29 --enable-pop \
30 --enable-smtp \
31 $CONFIGURE_ARGS &&
32 make && make install &&
33 delgroup mail
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr $fs/etc
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/etc/* $fs/etc
42 cp -a $install/usr/share $fs/usr
43 rm -r $fs/usr/share/doc
44 rm -r $fs/usr/share/man
45 }
47 post_install()
48 {
49 addgroup mail
50 }
52 post_remove()
53 {
54 delgroup mail
55 }