mailx: update to 14.3.2

the orginal Heirloom mailx, formerly nail, is unmaintained, but
Steffen Nurpmeso has created a fork called s-nail [1] and has
added a lot of fixes to the mailx codebase.

After using that for several months, I got the feeling that we
can and should use that fork for our mailx port.

[1] http://sdaoden.users.sourceforge.net/code.html
This commit is contained in:
Juergen Daubert 2013-07-14 12:03:51 +02:00
parent fec6320097
commit ca52b5e41f
2 changed files with 11 additions and 11 deletions

View File

@ -1 +1 @@
a54a8530a8e8a63d7eef4882ac9f84ec mailx-12.5-100620.tar.xz
cf6060101240a51ed23908b03e6871f6 s-nail-14_3_2.tar.gz

View File

@ -4,23 +4,23 @@
# Depends on: openssl
name=mailx
version=12.5-100620
version=14.3.2
release=1
source=(http://crux.s3.amazonaws.com/dist/$name-$version.tar.xz)
source=(http://downloads.sourceforge.net/project/s-nail/s-nail-${version//./_}.tar.gz)
build() {
cd $name-$version
cd s-nail-$version
sed -i 's|/etc/nail.rc|/usr/etc/mailx.rc|' mailx.1
# Fix version string
sed -r -e 's/s-nail-(.+)/\1/' -i version.c
make -j1 install \
make install \
NAIL=mailx \
SID='' \
CFLAGS="$CFLAGS" \
PREFIX=/usr \
SYSCONFDIR=/usr/etc \
MAILRC=/usr/etc/mailx.rc \
MANDIR=/usr/man \
SENDMAIL=/usr/sbin/sendmail \
SYSCONFRC=/usr/etc/mailx.rc \
MAILSPOOL=/var/spool/mail \
UCBINSTALL=/usr/bin/install \
DESTDIR=$PKG
ln -s mailx $PKG/usr/bin/Mail