Commit graph

12983 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
0bebf15543
Merge pull request #7665 from sotux/master-aria2
aria2: fix some typo and init script mistakes
2018-12-15 15:45:47 +02:00
James Qian
a07454d026 aria2: fix some typo
Signed-off-by: James Qian <sotux82@gmail.com>
2018-12-15 21:16:23 +08:00
Ted Hess
8997a6964e
Merge pull request #7672 from cotequeiroz/gstreamer1_no-dw
gstreamer1: build without libdw
2018-12-15 07:15:45 -05:00
Hannu Nyman
9bb934e20a
Merge pull request #7671 from neheb/sig
libsigc++: Update to 2.10.1
2018-12-15 12:05:54 +02:00
Rosen Penev
005934af80 libsigcxx: Update to 2.10.1
Size goes from 15613 to 8427 bytes.

2.10.1 is the latest version. Version 2.99.x is the unstable series.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-12-14 20:48:20 -08:00
Eneas U de Queiroz
ae3d96280a gstreamer1: build without libdw
Avoids dependencies with libdw and libelf.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-12-14 22:01:18 -02:00
Ted Hess
456b789bce libv4l: Force build without libudev
Signed-off-by: Ted Hess <thess@kitschensync.net>
2018-12-14 14:46:45 -05: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
Rosen Penev
643f09e83f lualanes: Update to 3.13.0
Switched to codeload for a simpler Makefile.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-12-13 17:45:00 -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
Rosen Penev
0b16458cf4 chaosvpn: Fix compilation without deprecated OpenSSL APIs
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-12-13 14:33:22 -08:00
Rosen Penev
e605a1fa99 msmtp: Update to 1.8.1
Switch from OpenSSL to GnuTLS as upstream has deprecated the former.

Add myself as maintainer.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-12-13 14:14:44 -08:00
Rosen Penev
2b87d184ad aria2: Fix compilation without deprecated OpenSSL APIs
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-12-13 12:58:57 -08:00
Eneas U de Queiroz
253334011c pyjwt: bump to version 1.7.1
This is a bugfix release.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-12-13 16:24:38 -02: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
Josef Schlehofer
7a4ed7b659
youtube-dl: update to version 2018.12.09
switch to codeload
added patch: comment out lines about pandoc (documentation converter)

Signed-off-by: Josef Schlehofer <josef.schlehofer@nic.cz>
2018-12-13 17:43:26 +01: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
Rosen Penev
329d5a4c0c tinc: Fix compilation without deprecated OpenSSL APIs
Minor Makefile adjustments. Added PKG_BUILD_PARALLEL for faster
compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-12-12 17:33:54 -08: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