Juergen Daubert
58242359a5
Security fix for CVE-2004-2771 and CVE-2014-7844, see - http://sourceforge.net/p/s-nail/s-nail/message/33161066/ - http://seclists.org/oss-sec/2014/q4/1066
28 lines
722 B
Plaintext
28 lines
722 B
Plaintext
# Description: Replacement for Berkeley Mail and System V mailx command
|
|
# URL: http://sourceforge.net/projects/s-nail/
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
# Depends on: openssl readline
|
|
|
|
name=mailx
|
|
version=14.7.9
|
|
release=1
|
|
source=(http://downloads.sourceforge.net/project/s-nail/s-nail-${version//./_}.tar.xz)
|
|
|
|
build() {
|
|
cd s-nail-$version
|
|
|
|
make install \
|
|
NAIL=mailx \
|
|
SID='' \
|
|
CFLAGS="$CFLAGS" \
|
|
PREFIX=/usr \
|
|
SYSCONFRC=/usr/etc/mailx.rc \
|
|
MAILSPOOL=/var/spool/mail \
|
|
DESTDIR=$PKG \
|
|
WANT_READLINE=1
|
|
|
|
ln -s mailx $PKG/usr/bin/Mail
|
|
ln -s mailx $PKG/usr/bin/mail
|
|
ln -s mailx.1 $PKG/usr/man/man1/mail.1
|
|
}
|