Commit graph

12766 commits

Author SHA1 Message Date
Sebastian Kemper
cc0a40231d mariadb: improve packaging and configuration
At present there are some flaws related to configuration, also related
to the packaging of mariadb. For starters there are complaints that the
configuration is too static.

To address this a new configuration layout is introduced. The primary
configuration file (my.cnf) is changed so that it now only includes
further configuration files in the directory /etc/mysql/conf.d. More
default configuration files are added for the server and the client.
This is the new default configuration.

With these changes it's possible for the user to select if they want to
change the default configuration (in conf.d/*.cnf) or if they want to
drop their own files into conf.d instead. If the user .cnf files are
read after the default .cnf files (files are included in alphabetical
order), they will overwrite the settings from the default configuration.

The other flaw is that the my.cnf file is included in mariadb-server.
But that doesn't really fit the requirements, as the client also uses
the configuration file(s). To accomodate this a new package
mariadb-common is added. It installs the shared my.cnf file.

The remaining changes add base packages, both for the server and the
client. These are meant as foundation for the packages containing the
respective binaries. In summary they will install the configuration,
small miscellaneous files (SQL scripts etc.) and the user "mariadb".

That means that everything is ready for the binaries, like mysql and
mysqld. If there is not enough space left on flash memory, the user can
just drop the binaries on a pendrive, link them to /usr/bin and get
started.

The ideas and configuration files were copied from Debian. Some
amendments were made.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-12-15 15:55:56 +01:00
Sebastian Kemper
cacd86009b mariadb: rename share and plugin directories
Rename them from mysql to mariadb. Use variables where possible (also
for /etc/mysql).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-12-15 15:53:38 +01:00
Sebastian Kemper
c0dba8cfa6 mariadb: refresh plugins
This commit deals with changes related to plugins and how they're built
or disabled.

Currently a lot of plugins are packaged which are merely for tests or
plain examples. Other distros do not bundle these, hence this commit
does away with them.

A few new plugins are added related to PAM and Kerberos (auth_gssapi,
auth_gssapi_client and auth_pam).

The BuildPlugin template is refactored to also allow building of library
plugins (needed for auth_gssapi_client). The template is also cleaned up
- some extraneous dollar signs are removed and the install function is
now defined outside the template.

Unwanted plugins/engines are now turned off efficiently (without using
cmake variables) by blanking CMakeLists.txt files in the associated
folders. The idea was lifted from Gentoo.

ha_sequence is now built into the server. This is an upstream
preference. The plugin is about 30 kbytes in size, so there is no harm
adding it into the server, which weighs in at about 15 Mbytes anyway.

Last but not least the auth_socket plugin is now also built into the
server.  This allows the local root user to login to the database
without a password being set. This makes maintenance easier without
being detrimental to security. The idea was lifted from Debian.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-12-15 15:50:18 +01:00
Sebastian Kemper
a117d027bc mariadb: use system libedit for mysql
libedit changed its interface a while back. mariadb currently does not
recognize this interface and instead uses a static old readline version.
It does not link in the system readline due to licence incompatibility.

This commit adds a patch that enables mariadb to detect and use the
system libedit. The patch was sent upstream already ([1]).

[1] https://github.com/MariaDB/server/pull/1001

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-12-15 15:48:24 +01:00
Hannu Nyman
6ee42b8eac
Merge pull request #7564 from neheb/nail
nail: Fix compilation without deprecated OpenSSL APIs
2018-12-14 16:55:48 +02:00
Hannu Nyman
8f78a82cfd
Merge pull request #7612 from cotequeiroz/snort_includes
snort: fix pcap include directory
2018-12-14 16:54:58 +02:00
Hannu Nyman
d5cf9c0569
Merge pull request #7617 from neheb/sip
golang-github-dchest-siphash: Switch to versioned releases
2018-12-14 16:54:17 +02:00
Hannu Nyman
b78862a5c1
Merge pull request #7666 from zhaojh329/rtty
rtty: update to 6.4.0
2018-12-14 16:51:19 +02:00
Jianhui Zhao
30e912c598 rtty: update to 6.4.0
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2018-12-14 17:00:40 +08:00
Jianhui Zhao
678a4dd21b libuwsc: update to 3.1.2
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2018-12-14 09:32:20 +08:00
Ted Hess
41457bdc46
Merge pull request #7629 from cotequeiroz/lcdgrilo_no-check
lcdgrilo: remove check dependency
2018-12-13 13:04:11 -05:00
Hannu Nyman
12dc221f74
Merge pull request #7589 from cotequeiroz/opencv_no-gtk
opencv: remove gtk dependency
2018-12-13 19:58:08 +02:00
Eneas U de Queiroz
a72a841b0a opencv: remove gtk dependency
Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-12-13 15:41:48 -02:00
Eneas U de Queiroz
8d0c849e56 grilo: copy vapi files to versioned vala dir
The version is obtained via `valac --api-version`

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-12-13 15:40:33 -02:00
Eneas U de Queiroz
fb4b5c5701 libgee: copy vapi files to versioned vala dir
The version is obtained via `valac --api-version`

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-12-13 15:40:33 -02:00
Eneas U de Queiroz
2e8b7358c4 lcdgrilo: remove check dependency
Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-12-13 13:31:56 -02:00
Hannu Nyman
3aa4a11ba4
Merge pull request #7531 from neheb/loud
loudmouth: Disable debug and fix no deprecated API compilation
2018-12-13 16:52:05 +02:00
Hannu Nyman
e727183bc2
Merge pull request #7651 from gladiac1337/feature-haproxy-v1.8.15
haproxy: Update HAProxy to v1.8.15
2018-12-13 16:50:29 +02:00
Hannu Nyman
e3cb71962b
Merge pull request #7648 from EricLuehrsen/unbound_183
unbound: update to 1.8.3
2018-12-13 16:48:41 +02:00
Ted Hess
1cba36afe0
Merge pull request #7635 from dhewg/pull/prometheus-statsd-exporter
prometheus-statsd-exporter: add new package
2018-12-13 09:12:26 -05:00
Ted Hess
f5de380a6c
Merge pull request #7642 from cotequeiroz/grilo-plugins_no-xml-parser
grilo-plugins: remove XML::Parser build dependency
2018-12-13 09:08:14 -05:00
Ted Hess
03450a29ce
Merge pull request #7627 from cotequeiroz/libgee_valac
grilo: update vapi files to 0.34
2018-12-13 09:04:40 -05:00
Ted Hess
9d94e6c43c
Merge pull request #7626 from cotequeiroz/grilo_valac
libgee: copy vapi files to unversioned vala dir
2018-12-13 09:03:58 -05:00
Eneas U de Queiroz
a87108fe40 grilo-plugins: remove XML::Parser build dependency
gnome-common.m4 and gnome-compiler-flags.m4 were taken from version
3.18.0, and match current master branch.

Disable building help and test directories.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-12-13 08:24:43 -02:00
Christian Lachner
a854729155 haproxy: Update HAProxy to v1.8.15
- Update haproxy download URL and hash
- Removed all obsolete patches

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2018-12-13 10:59:51 +01:00
Eric Luehrsen
705335c286 unbound: update to 1.8.3
Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
2018-12-12 16:39:02 -05:00
Eneas U de Queiroz
1b794e93e3 grilo: update vapi files, copy to unversioned dir
Updates vapigen-generated vapi files to vala-0.34.
Files are now copied to $(STAGING_DIR_HOSTPKG)/share/vala/vapi, without
the vala version being hardcoded.
Removed copyright line, and redundant PKG_BUILD_DEPENDS and
TARGET_LDFLAGS.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-12-12 19:13:43 -02:00
Eneas U de Queiroz
2cf76d5278 libgee: use unversioned vala dir, misc fixes
Copy vapi files to unversioned vala dir.
Added vala/host to PKG_BUILD_DEPENDS.
Removed TARGET_LDFLAGS
Removed copyright lines

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-12-12 19:08:39 -02:00
Ted Hess
5c823596dd intltool: Add patch to fix regular expressions and avoid warnings in perl 5.22 and later.
Signed-off-by: Ted Hess <thess@kitschensync.net>
2018-12-12 13:20:27 -05:00
Hannu Nyman
b80d35b175
Merge pull request #7645 from WeekendSoftware/safe-search
net/safe-search: Fix double installation bug
2018-12-12 20:13:31 +02:00
Gregory L. Dietsche
6a25e9b238 net/safe-search: Fix double installation bug
If safe search is built directly into an image, the /etc/config/dhcp
file will have multiple entries added to it after using sysupgrade
for the nth time (2 or more sysupgrade cycles).

In /etc/config/dhcp, this bug creates duplicate entries like this:

config dnsmasq
	list addnhosts '/etc/safe-search/enabled'
	list addnhosts '/etc/safe-search/enabled'

This patch ensures that safe search only registers itself one time.

Signed-off-by: Gregory L. Dietsche <gregory.dietsche@cuw.edu>
2018-12-12 11:28:39 -06:00
Hannu Nyman
06b2dcd752
Merge pull request #7644 from cotequeiroz/unixodbc_save-in-tmp
unixodbc: save unixodbc_conf.h for host build
2018-12-12 18:44:41 +02:00
Eneas U de Queiroz
c6caa108cb unixodbc: save unixodbc_conf.h for host build
Save a copy of unixodbc_conf.h in STAGING_DIR to be used by host build.
Use STAGING_DIR/tmp/unixodbc instead of include.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-12-12 08:53:30 -02:00
Andre Heider
b57f6b1f5e prometheus-statsd-exporter: add new package
statsd_exporter receives StatsD-style metrics and exports them as Prometheus
metrics.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2018-12-12 07:10:38 +01:00
Ted Hess
cd64c54b2b
Merge pull request #7482 from sotux/master
nginx: unified indentation character and add additional configure directory
2018-12-11 20:16:55 -05:00
James Qian
9803e34512 nginx: unified indentation character and add additional config entry
The original configure file mixed tab and space
characters as indentation, so use 4 spaces as the
default indentation character.

Add /etc/nginx/conf.d/*.conf as nginx additional configure
files. Then we can add individual conf file for other http
applications without modify the main nginx configure file.

Signed-off-by: James Qian <sotux82@gmail.com>
2018-12-12 08:57:46 +08:00
Ted Hess
af6e846ef9
Merge pull request #7640 from jefferyto/fix-golang-package-clean
golang: fix package clean / autoremove, add output whitespace
2018-12-11 15:46:47 -05:00
Jeffery To
0fa7f3c882 golang: fix package clean / autoremove, add output whitespace
go 1.11 added modules, which are cached locally. The go developers have
decided to make this cache read-only (golang/go#27455), which causes
problems with package clean / autoremove (#7635).

This adds a call to clear this cache right after building, as currently
there is no easy way to hook into autoremove (it may be possible to hook
into package clean).

This also adds whitespace (blank lines) to certain places in make
output, to aid debugging.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-12-12 04:23:47 +08:00
Hannu Nyman
8a2a062658
Merge pull request #7605 from cotequeiroz/libtins_soname
libtins: copy libtins.so.* to package
2018-12-11 19:14:02 +02:00
Hannu Nyman
c729969e06
Merge pull request #7630 from lucize/clamup
clamav: update to 0.101.0
2018-12-11 18:42:31 +02:00
Hannu Nyman
9b83d51ddc
Merge pull request #7538 from smutt/danish
danish: removed DEPENDS: +dnsmasq-full
2018-12-11 16:24:21 +02:00
Yousong Zhou
4b685c4f50 xl2tpd: bump to version 1.3.13
Changelog prepared by upstream maintainer.  It's mostly about code cleanup and
doc amendment

  v1.3.13 (December 3, 2018)
  * Specify email address for reporting security vulnerabilities [Samir Hussain]
  * Fix compile warning with USE_KERNEL in xl2tpd.c [Samir Hussain]
  * Applying patch that reduces compile warnings and fixes warnings from gcc and clang. [Gareth Ansell]
  * Fix compiler warnings in network.c [Gareth Ansell]
  * Add a make command for packaging's prep work [Samir Hussain]
  * Add Makefile directive for getting version [Samir Hussain]
  * Add a preproc for Watchguard firewall (Github issue #136) [daniel1111]
  * Convert from ISO-8859 to UTF-8 [Simon Deziel]
  * Update README to provide latest info on xl2tpd + Linux kernel 4.15+ [Samir Hussain]
  * Use dh_auto_build in order to allow cross compiles [Helmut Grohne]

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-12-11 17:17:34 +08:00
Lucian Cristian
eefb46c590 clamav: update to 0.101.0
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2018-12-11 00:15:53 +02:00
Hannu Nyman
7ec4304904
Merge pull request #7540 from BKPepe/netdata
netdata: update to version 1.11.1
2018-12-10 22:14:17 +02:00
Hannu Nyman
e96353dd45 yaaw: fix mirror hash
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-12-10 21:40:45 +02:00
Hannu Nyman
112509ae74 yaaw: try to fix bad copy at a source mirror
Bump source date to force a new download to fix a bad 0 byte
copy at one Openwrt source mirror.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-12-10 21:24:52 +02:00
Hannu Nyman
9787e268af
Merge pull request #7596 from cotequeiroz/psqlodbc_odbc_config
psqlodbc: correct --with-unixodbc setting
2018-12-10 21:19:35 +02:00
Hannu Nyman
41712d5904
Merge pull request #7595 from cotequeiroz/unixodbc_lib-dir
unixodbc: Fix LIB_PREFIX in host build
2018-12-10 21:19:19 +02:00
Hannu Nyman
ed7676d40c
Merge pull request #7358 from neheb/yara
yara: Fix compile without deprecated OpenSSL APIs
2018-12-10 21:09:54 +02:00
Nikos Mavrogiannopoulos
485db8a770 gnutls: updated to 3.6.5
Compile tested for: ar71xx

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2018-12-10 19:57:19 +01:00