Commit Graph
17 Commits
Author SHA1 Message Date
Philip PrindevilleandDaniel Golle 9fdba25e04 openssh: if we don't generate a dsa key we shouldn't look for it
The earlier commit ea119211b2 removed 'dsa' as one of the ssh_host_*_key
types that got generated.  Problem was that it didn't remove that key
as one of the paths that the server looks for by default.  As a
consequence, your log file might fill up with messages like:

    2017-06-01T15:43:07-06:00 openwrt sshd[31929]: error: Could not load host key: /etc/ssh/ssh_host_dsa_key

The patch is forunately trivial.  Don't set the path for the dsa
key file in the server configuration.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-06-05 18:22:04 +02:00
Philip Prindeville 79f9f1a3ec lighttpd: use procd-based init.d script
This will allow procd to restart the service if it crashes or otherwise
exits.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-06-01 20:12:58 -06:00
Philip PrindevilleandMichael Heimpold c401946b0e php7: fix php build issues with musl headers (fixes #4263)
MUSL is complaining about <sys/poll.h> instead of <poll.h>.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

[ Replaced the *-t1lib filtering stuff by simply removing the
left-over configure option ]

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-04-17 21:58:32 +02:00
Philip Prindeville f8efe53de8 isc-dhcp: reassign to new owner
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-04-14 15:42:45 -06:00
Philip Prindeville e568219980 lcdproc: simplify dropping --disable-nls fron CONFIGURE_ARGS
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-04-14 14:39:48 -06:00
Philip Prindeville 86985f49bb lcdproc: alternative package to drive LCD displays
As lcd4linux is all kinds of BROKEN lately, and of unknown status.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
Reviewed-by: Harald Geyer <harald@ccbib.org>
2017-04-13 20:04:53 -06:00
Philip Prindeville 33db14be2b shadow: add chpasswd, et al to list of applets
If you have a firstboot script which seeds a passwd based on
run-time information (like MAC addresses, hostname, etc) then
you need to be able to pass in a cleartext string via chpasswd.

Other applets are similarly potentially useful in other corner
cases.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-04-13 18:01:48 -06:00
Philip Prindeville 675be0798a perl-cgi: Update to 4.36
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-04-09 23:02:54 -06:00
Philip Prindeville f3a8766954 syslog-ng: fix openssl callbacks to not require backward compatibility
The functions for registering callbacks for threads has changed
in OpenSSL 1.0.0.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-03-29 09:47:14 -06:00
Philip Prindeville 165fc3eaf7 syslog-ng: bump to 3.9.1 and fix typo
Likewise fix default configuration to use SOCK_DGRAM and not SOCK_STREAM
as we currently do.

Add sha256 digest.

Rather than have the users replace syslog-ng.conf (which lately is
changing fairly frequently) and have them miss an important fix or
improvement, instead have them localize /etc/custom-logs.conf and
ship that as an empty file.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-02-05 19:34:01 -07:00
Philip Prindeville 901ef617c7 rng-tools: start rngd early enough to actually be useful
lighttpd starts at priority 50, but promptly calls getrandom() on
initialization (li_rand_reseed() and li_rand_device_bytes() from
server_init()). If /dev/urandom (which getrandom() uses by default)
doesn't have sufficient entropy, this will block.

Since Openwrt runs the startup scripts serially, this can block
initialization indefinitely.  I've seen 15-20 minutes typically.

Seeding the pool early on can quickly built sufficient entropy to
complete booting without blocking.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-02-02 22:52:50 -07:00
Philip Prindeville 13e506618b perl-cgi: bump package release because of PKG_LEAVE_COMMENTS
Last commit required release increment so people would refresh to
non-broken files.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-01-11 15:40:52 -07:00
Philip Prindeville 785b67a27e perlmod: global knob to disable comment stripping modules
Certain strings are misinterpreted as comments by perlmod.mk and removed
when they shouldn't be (in particular, perl-cgi).  Enable this whenever
you have sufficient flash space.

Globally, CONFIG_PERL_NOCOMMENT=y (default) causes comments to be stripped
as before.  However, a package (like perl-cgi) can override this with
PKG_LEAVE_COMMENTS=1.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-01-11 14:31:09 -07:00
Philip Prindeville 028ad67a5a perl-cgi: disable comment stripping which damages module
The macro perlmod/Install does comment stripping which gets confused by
the line:

in several files in this module, incorrectly deleting it as a comment.
It's not: it's the closure of a "= q/" literal.

See PR #3740 as this is a prerequisite.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-01-11 14:14:59 -07:00
Philip Prindeville 84b136cdb4 syslog-ng: fix various install problems such as missing plugins, etc
Install the plugins as various functionality is no longer in the
utility itself but is packaged as a .so plugin instead. Disable
plugins with too many dependencies (or too exotic).

Bump the version number on the config file to agree with the package's
version number.

Clean up any .la files from libtool.

Start much earlier so that logging doesn't miss startup messages from
other services.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-01-09 02:05:20 -07:00
Philip Prindeville ac531a9c54 isc-dhcp: bump version to latest and fix build issues
Version bumped to 4.3.5.  Separated out compile/install steps since
compiling with $DESTDIR yields bogus results. Removed rfc-3527 patch
as something similar (better) is now upstream (well, more complete
error checking anyway). Change relay scripts from '-l ifname' to
'-U ifname' to correspond to upstream changes.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-01-06 15:52:28 -07:00
Philip PrindevilleandYousong Zhou b88eb1b6e1 perl-cgi: Bump version to latest
This version is no longer posted on CPAN so point to latest instead.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2016-12-27 16:45:56 +08:00