Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 64 lines (50 sloc) 1.29 KB
#!/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
}