Skip to content

Commit

Permalink
Merge pull request #1922 from mariux64/update-msmtp-1812
Browse files Browse the repository at this point in the history
sendmail/msmtp: update from 1.6.6 to 1.8.12
  • Loading branch information
wwwutz authored Oct 13, 2020
2 parents 3cf9897 + c4bb4b0 commit 67eb5e6
Showing 1 changed file with 12 additions and 56 deletions.
68 changes: 12 additions & 56 deletions msmtp.be0
Original file line number Diff line number Diff line change
@@ -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 "${@}"
#}
Expand All @@ -47,38 +19,22 @@ 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
#}

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
}

0 comments on commit 67eb5e6

Please sign in to comment.