fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git
(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
For consistency, use full name instead of $(PKG_NAME) in define and eval
lines for all packages.
I've seen reviews that asked to do this before, and I am asking the same
during reviews now. To avoid this in the future, fix this treewide so
when people use existing packages as example, we will not have to
request this change anymore.
This makes all packages consistent with both LEDE and OpenWrt base
repositories.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Extend the existing patch handling disabled SSLv2 to cover the SSLv3 case as
well in order to fix the following build error reported by the buildbot:
openssl.o: In function `ssl_open':
openssl.c:(.text+0xa1c): undefined reference to `SSLv3_client_method'
collect2: error: ld returned 1 exit status
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Update mutt to upstream release 1.7.2
Also introduce a patch for CVE-2014-9116, which addresses
a DoS-attack. The patch is originally found at Debian's
package of mutt 1.7.1
Signed-off-by: Paul Wassi <p.wassi@gmx.at>
It's a generally good packaging principle that the packages in a distro release n+1 have a release value that is at least the same if not greater than the value in release n.
BB has a PKG_RELEASE of 4 so upping to 5 is a good measure.
Signed-off-by: Brian J. Murrell <brian@interlinx.bc.ca>
- moved from net to mail category
- removed no-ssl package and added ssl support as configuration option (default enabled)
- added configuration option to support extended logging (default disabled)
- disabled build of test tools
- added LEDE compatibility (support for openssl without SSL3)
Signed-off-by: Federico Di Marco <fededim@gmail.com>
Make msmtp as MTA separate from msmtp package proper to
allow msmtp-scripts (to be added) to use msmtp as the
backend while providing the ability to act as the
system MTA without msmtp getting in the way.
Also get rid of symlinking in postinst/postrm as that
is something the trunk devs don't like. In addition
it allows the -mta package to conflict with any
other package providing sendmail command, as it should
(once the other packages also move postinst/postrm
sendmail symlinks to install section).
Signed-off-by: Daniel Dickinson <lede@cshore.thecshore.com>
Avoid the postrm/postinst symlink addition and removal as
1) This fails to conflict with other packages which also provide
the same commands and makes what packages is supply the command
depend on which command was installed last.
2) Trunk devs don't like postrm/postinst symlink mangling
3) Packages changing things from other packages is considered bad
packaging pratice on most distros and debian, for example,
prohibits it.
Signed-off-by: Daniel Dickinson <lede@daniel.thecshore.com>
This commit adds the msmtp-scripts package from SourceForge, which
is a wrapper around msmtp that provides queueing, syslog or file logging,
and a basic SMTP (no auth) server.
Signed-off-by: Daniel Dickinson <lede@daniel.thecshore.com>
OpenWRT/LEDE only understands the PKG_MD5SUM variable, and detects if the
hash is e.g. SHA256 by looking at the length of the hash.
This affects libs/libmicrohttpd, mail/ssmtp and utils/mc.
Signed-off-by: Baptiste Jonglez <git@bitsofnetworks.org>
Standard assignment is immediate expansion without any extraneous spacing, RFC822 compliant email addresses without any quotation marks and long git hashes
Signed-off-by: Stephen Walker <stephendwalker+github@gmail.com>
msmtp fails when /etc/ssl/certs/ca-certifictes.crt bundle is
not present (for the SSL version), therefore add a dependency
on ca-bundle packages (newly added to trunk).
Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
* import from oldpackages
* bump version and update hash
* update patch to new version
* add PKG_LICENSE, PKG_LICENSE_FILES, PKG_MAINTAINER
Signed-off-by: Phil Eichinger <phil@zankapfel.net>
The current package patches `makedefs` to probe for the existance
of the `nsl` and `resolv` libraries but uses the wrong variables
for the prefix, leading to `makedefs` probing the host directories,
not the staging dir ones.
Replace `$PKG_BUILD_DIR` with `$STAGING_DIR` to perform the library
tests in the correct directory.
Fixes the following error spotted by doing test builds against musl
which does not provide a `libnsl`:
.../mips-openwrt-linux-musl/bin/ld: cannot find -lnsl
collect2: error: ld returned 1 exit status
make: *** [master] Error 1
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>