Skip to content

Commit

Permalink
Merge pull request #1253 from mariux64/update-mailx-12.4-to-12.5
Browse files Browse the repository at this point in the history
Mailx: Update to version 12.5
  • Loading branch information
donald authored Sep 11, 2019
2 parents b5899bd + a7d8ec9 commit 58fade4
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 45 deletions.
45 changes: 0 additions & 45 deletions mailx-12.4-1.bee

This file was deleted.

64 changes: 64 additions & 0 deletions mailx.be0
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
#!/bin/env beesh

# BEE_VERSION mailx-12.5-0

SRCURL[0]="http://ftp.debian.org/debian/pool/main/h/heirloom-mailx/heirloom-mailx_${PKGVERSION}.orig.tar.gz"

# EXCLUDE=""

build_in_sourcedir

#mee_extract() {
# bee_extract ${@}
#}

#mee_patch() {
# bee_patch ${@}
#}

mee_configure() {
start_cmd sh ./makeconfig
}

mee_build_pre() {
#remove openssl bindings
patch -p0 --verbose <<'EOF'
--- config.h 2019-09-11 12:44:39.000000000 +0200
+++ config.h 2019-09-11 12:45:48.000000000 +0200
@@ -45,10 +45,8 @@
/* #define USE_SSL
#define USE_NSS */
/* checked for sufficiently recent OpenSSL */
-#define USE_SSL
-#define USE_OPENSSL
-/* checked for STACK_OF() */
-#define HAVE_STACK_OF
+/* #define USE_SSL
+#define USE_OPENSSL */
/* checked for GSSAPI in libgss */
/* #define USE_GSSAPI */
/* checked for GSSAPI in libgssapi_krb5 */
EOF
}

mee_build() {
bee_build SENDMAIL=/usr/sbin/sendmail
}

mee_install() {
bee_install PREFIX=${PREFIX} UCBINSTALL=/usr/bin/install

ln -sv mailx ${D}${BINDIR}/mail
ln -sv mailx ${D}${BINDIR}/nail

ln -sv mailx.1 ${D}${MANDIR}/man1/nail.1
ln -sv mailx.1 ${D}${MANDIR}/man1/mail.1

# setup

mv -v ${D}/etc/nail{,-molgen}.rc
cat >>${D}/etc/nail-molgen.rc <<-EOF
set smtp=harry.molgen.mpg.de
set hostname=molgen.mpg.de
EOF
}

0 comments on commit 58fade4

Please sign in to comment.