From c4bb4b009d27a43c7ececa1a2b5e17ae8801e609 Mon Sep 17 00:00:00 2001 From: Peter Marquardt Date: Fri, 25 Sep 2020 14:35:00 +0200 Subject: [PATCH] sendmail/msmtp: update from 1.6.6 to 1.8.12 - SRCURL - fix symlinks - clean up --- msmtp.be0 | 68 ++++++++++--------------------------------------------- 1 file changed, 12 insertions(+), 56 deletions(-) diff --git a/msmtp.be0 b/msmtp.be0 index f41678fb1..a98b27ef7 100755 --- a/msmtp.be0 +++ b/msmtp.be0 @@ -1,44 +1,16 @@ #!/usr/bin/env beesh -# BEE_VERSION msmtp-1.6.6-1 +# BEE_VERSION msmtp-1.8.12-1 -## this file was created by bee init and should be executed to build a -## bee-package. (Additional hints are located at the end of this file.) - -############################################################################### -## The source URL(s) define the location of the sources that will be -## downloaded. Version variables may be used to simplify reuse of this bee-file. - -SRCURL[0]="https://sourceforge.net/projects/msmtp/files/msmtp/${PKGVERSION}/msmtp-${PKGVERSION}.tar.xz/download" - -############################################################################### -## Add URLs/pathes to patch files to the PATCHURL array. -## The sources will be patched in the order of the array. +# SRCURL[0]="https://marlam.de/msmtp/releases/msmtp-${PKGVERSION}.tar.xz" +SRCURL[0]="https://beehive.molgen.mpg.de/f45025b7a6512d71a54c35f49ccd9bca/msmtp-1.8.12.tar.xz" # PATCHURL+=() -############################################################################### -## Uncomment the next statement, if the software may not be able to be built -## outside the source directory and needs to be built inside the source -## directory. - # build_in_sourcedir -############################################################################### -## bee cannot detect buildtypes specified in subdirectories. -## Sometimes packages "hide" the real sources in a subdirectory named -## 'src' or 'cmake' or .. -## use 'sourcesubdir_append' to specify this directory if known. - # sourcesubdir_append src - -############################################################################### -## Change the default (auto-detected) steps to -## extract, patch, configure/setup, build and install the software. -## Make sure the mee_install function does install everything to the -## image directory "${D}" - #mee_extract() { # bee_extract "${@}" #} @@ -47,9 +19,10 @@ SRCURL[0]="https://sourceforge.net/projects/msmtp/files/msmtp/${PKGVERSION}/msmt # bee_patch "${@}" #} -#mee_configure() { -# bee_configure -#} +mee_configure() { + bee_configure \ + --disable-nls +} #mee_build() { # bee_build @@ -57,28 +30,11 @@ SRCURL[0]="https://sourceforge.net/projects/msmtp/files/msmtp/${PKGVERSION}/msmt mee_install() { bee_install - ln -s msmtp ${D}${BINDIR}/sendmail + mkdir -p ${D}${SBINDIR} - ln -s ${D}${BINDIR}/msmtp ${D}${SBINDIR}/sendmail mkdir -p ${D}${LIBDIR} - ln -s ${D}${BINDIR}/msmtp ${D}${LIBDIR}/sendmail -} -## by default this may be 'make install DESTDIR="${D}"' -############################################################################### -## -## Additional hints: -## -## The name of this bee-file should follow the following naming convention: -## pkgname-pkgversion-pkgrevision.bee -## -## You may remove all comments as long as SRCURL[0] is set. -## -## Everything in this file will be executed in a bash environment. -## -## Build the package by executing -## './pkg-version-N.bee' or -## 'beesh ./pkg-version-N.bee' -## -## see http://beezinga.org/ -## + ln -vs msmtp ${D}${BINDIR}/sendmail + ln -vs ${BINDIR}/msmtp ${D}${SBINDIR}/sendmail + ln -vs ${BINDIR}/msmtp ${D}${LIBDIR}/sendmail +}