Sebastian Kemper [Sat, 15 Dec 2018 14:49:27 +0000 (15:49 +0100)]
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.
Sebastian Kemper [Sat, 15 Dec 2018 14:48:21 +0000 (15:48 +0100)]
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]).
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.
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.
James Qian [Tue, 20 Nov 2018 10:28:16 +0000 (18:28 +0800)]
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.
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.
Yousong Zhou [Tue, 11 Dec 2018 07:41:18 +0000 (07:41 +0000)]
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]
Karl Palsson [Mon, 10 Dec 2018 14:53:15 +0000 (14:53 +0000)]
libwebsockets: bump to 3.1.0
Drops an openssl deprecation patch applied upstream.
Changes since 3.0.0, the following list of websocket related features:
* gzip+brotli compression in the webserver
* threadpools
* string tokenizers
* http reverse proxies
* managed disk cache
Konstantin Demin [Sat, 17 Nov 2018 15:55:06 +0000 (18:55 +0300)]
tor: package improvements
* remove "torify" script
- "torify" script is just a wrapper around torsocks,
but torsocks is not currently present in packages.
* tor-geoip: fix "install" recipe:
- use $(INSTALL_DATA) instead of $(CP) as a proper way
of installing files
* drop deprecated configure option:
"--with-ssl-dir" is considered deprecated and obsolete,
while "--with-openssl-dir" is already present.
* build in parallel
* build with -ffunction-sections, -fdata-sections,
--gc-sections and -flto
* remove "--disable-largefile" in CONFIGURE_ARGS
* remove "-std=gnu99" in EXTRA_CFLAGS
* use $(FPIC) in EXTRA_CFLAGS
* remove trailing whitespace
Compile- and run-tested on ar71xx/generic,
TP-Link Archer C7 v2 (world-wide version).
This was meant to be included in 93d6d1b, but wasn't.
Current version of npm install installs a link to the build directory.
The workaround is to use npm pack to make a tarball and install from
that.