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>
- host GSL libs are sometimes found leading to errors
reported by buildbot, replicated locally (Arch Linux)
Error:
configure: GSL_LIBS=-L/usr/lib -lgsl -lgslcblas -lm
leading to
/usr/include/features.h:398:23: fatal error: gnu/stubs.h: No such file or directory
- explicit libdb location to prevent host includes
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Alpine (Alternatively Licenced Program for Internet News and Email) is a
free software console email client developed at the University of Washington.
It is suitable for both the inexperienced email user as well as for
the most demanding power user.
Signed-off-by: Antti Seppälä <a.seppala@gmail.com>
disabling SSLv2 and SSLv3 caused nail to break, fixed this
some of our snapshot builders don't have CVS, switch to Debian as source
Signed-off-by: Steven Barth <steven@midlink.org>
This commit will fix compile warning as below
tmp/.config-package.in:22096:warning: multi-line strings not supported
Signed-off-by: Shuoyao Wang <wong.syrone@gmail.com>
Fixed an issue with the default parameter value.
1. By default, the init script set ip address instead of network address in the parameter value (i.e. 192.168.1.1/24 instead of 192.168.1.0/24)
2. Dynamic address were not caught by the init script
As a result, if the mynetworks parameter was left default, Postfix would have rejected the mails with the following message in the logs:
Sat Dec 6 23:26:45 2014 mail.info postfix/smtpd[22806]: NOQUEUE: reject: RCPT from unknown[104.167.106.30]: 451 4.3.0 <ds_gitcommit@shulyaka.org.ru>: Temporary lookup failure; from=<delivery@mx.sailthru.com> to=<ds_gitcommit@shulyaka.org.ru> proto=ESMTP helo=<mx-indiegogo-b.sailthru.com>
Sat Dec 6 23:26:45 2014 mail.warn postfix/smtpd[22806]: warning: non-null host address bits in "127.0.0.1/8", perhaps you should use "127.0.0.0/8" instead
This commit fixes that behavior for the new installations.
Signed-off-by: Denis Shulyaka <Shulyaka@gmail.com>
Drop gnutls and use openssl instead, due to excessive memory consumption in embedded environment for an additonal ssl library.
Signed-off-by: Dirk Brenken <dibdot@gmail.com>
Note that hash files are currently not supported by OpenWRT package of Berkeley DB.
CDB is still default.
Signed-off-by: Denis Shulyaka <Shulyaka@gmail.com>