Dirk Brenken [Sat, 2 Dec 2017 17:39:03 +0000 (18:39 +0100)]
adblock: update 3.1.1
* new function to set/delete options in external uci config files
* kresd: automated 'rpz_file' handling in /etc/config/resolver
* firewall: automated 'force_dns' handling if you
enable or disable adblock
* support sha256sum (default) and md5sum for blocklist
comparison & conditional dns restarts
* cosmetics
build,travis: build only last commit in a branch build
This started out as me trying to fix my Python build
in a local Travis CI env.
After 40+ minutes, the build still did not stop:
https://travis-ci.org/commodo/packages/builds/310413628
There is a bug, where the `.travis_do.sh` script does exit early,
and enters an endless loop, when doing a branch build.
It tries to continuously fetch 50 more revisions.
So, I decided to add some limited support for branch builds.
This also allows a simpler testing with Travis before
opening a PR.
This scope of testing is limited to whatever the last
commit touches, but it's still better than nothing.
When libpam is selected, then mod_imap pulls in a dep to libpam,
and there seems no way to disable it via configure arguments.
So add this dep here conditionally.
Signed-off-by: Lucian Cristian <redacted> Signed-off-by: Michael Heimpold <redacted>
Hans Dedecker [Thu, 30 Nov 2017 13:57:51 +0000 (14:57 +0100)]
gstreamer: bump to 1.10.5
Update gstreamer to the 1.10 stable branch; select latest stable 1.10.5
See https://gstreamer.freedesktop.org/releases/1.10/ for major new features
and bugfixes
Daniel Golle [Tue, 28 Nov 2017 02:22:57 +0000 (03:22 +0100)]
auc: update to version 0.0.8
* fix multiple read_data_cb calls from uclient, otherwise hickups
happend when receiving a large JSON reply
* add minimal help message (-h)
* pretify package update output
* fix infinite retry of upgrade-check which happened in some cases
* add sleep in case of check-request retry
* lots of cosmetics
Val Kulkov [Tue, 28 Nov 2017 05:50:43 +0000 (00:50 -0500)]
dovecot: prepare for runtime dependency by plugins
Add ABI_VERSION declaration in order to tell dovecot plugins that are
runtime-dependent on dovecot's Application Binary Interface (ABI)
version, such as the pigeonhole mail filter, that they need to be
rebuilt each time the dovecot's ABI version changes.
This PR is not yet closing issue #5062. A forthcoming PR for pigeonhole
package will close the issue.
Introduce a new configuration parameter to enable ICU (i18n) support.
Make the ICU disabled by default.
Introduce PKG_CONFIG_DEPENDS with the list of configuration parameters
triggering rebuild of dovecot.
Declare the conffiles section to save dovecot's configuration files and
its init.d script on sysupgrade.
Introduce a new package, dovecot-utils, to contain doveadm and dsync
utilities: closes #4912.
Correct the destination directory for the installation of
example-config files. At present, the example files are installed into
/usr/share/doc/dovecot/example-config/example-config.
Michael Heimpold [Sun, 26 Nov 2017 20:58:30 +0000 (21:58 +0100)]
php7: try to fix compilation on LEDE buildbots
Detection of U8T_DECOMPOSE seems to be broken when cross-compiling,
so needs to be preseeded.
-snip-
checking for utf8_mime2text signature... new
checking for U8T_DECOMPOSE...
configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL
is missing. This should not happen. Check config.log for additional information.
-snap-
This requires also a patch for PHP to make the preseeding working.
Hannu Nyman [Sun, 26 Nov 2017 16:53:45 +0000 (18:53 +0200)]
haveged: update to 1.9.2
Update haveged to 1.9.2
Release notes:
http://www.issihosts.com/haveged/downloads.html
Version 1.9.2
I am no longer active as a developer but have decided to push out
contributor fixes I have accumulated since the last release. Two
oustanding bugs are not addressed: 1) Failure to build on IA64 due
to busted cpuid and 2) Incorrect exit status when terminate by signal.
Jo-Philipp Wich [Thu, 23 Nov 2017 19:47:59 +0000 (20:47 +0100)]
polipo: forcibly enable IPv6 support
Currently `polipo.h` uses the conditional
`(__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)` to decide
whether to enable IPv6 support.
This used to work for OpenWrt CC which uses uClibc disguising itself
as Glibc 2.x but it does not work with Musl libc anymore as this library
does not export any Glibc defines.
Forcibly enable IPv6 support by passing `-DHAVE_IPv6` unconditionally
through the build flags in the OpenWrt/LEDE Makefile.
Daniel Golle [Tue, 21 Nov 2017 16:17:25 +0000 (17:17 +0100)]
auc: update to version 0.0.4
* implement '-d' cmdline option to output json requests
* switch to new server API
* implement upgrade_packages
Read upgrade_packages UCI option and ask for either only release
upgrades or also builds based on updated packages depending on whether
upgrade_packages is '0' or '1'.
Rosen Penev [Wed, 22 Nov 2017 02:02:40 +0000 (18:02 -0800)]
transmission: Update to latest git and fix syslog.
The init script runs transmission with the foreground parameter for procd to control it. However, if transmission is ran in the foreground, nothing is logged to syslog. Added a patch to remove this restriction.
Also added a sysctl file that removes these warnings:
UDP Failed to set receive buffer: requested 4194304, got 262142 (tr-udp.c:75)
UDP Please add the line "net.core.rmem_max = 4194304" to /etc/sysctl.conf (tr-udp.c:80)
UDP Failed to set send buffer: requested 1048576, got 262142 (tr-udp.c:86)
UDP Please add the line "net.core.wmem_max = 1048576" to /etc/sysctl.conf (tr-udp.c:91)
Yousong Zhou [Tue, 21 Nov 2017 09:04:51 +0000 (17:04 +0800)]
shadowsocks-libev: bump to version 3.1.1
Notable changes since 3.1.0
26ae365: fix possible socks5 exchange corruption caused by bad
state transition when parsing responses f19a96e: fix segfault when presented with config {"mode": null}
Val Kulkov [Mon, 20 Nov 2017 20:42:18 +0000 (15:42 -0500)]
libfreetype: restore host build
Restore host building on request from a user. Apparently, packages
outside of openwrt/packages feed rely on Freetype 2 building on host.
While at it, remove sed-editing of freetype-config that is no longer
necessary. The current version of freetype-config correctly identifies
prefix, exec_prefix, includedir and libdir.
Val Kulkov [Sun, 19 Nov 2017 16:50:18 +0000 (11:50 -0500)]
postfix: version update, fix file descriptor passing
Update to the latest stable release.
Fix check for file descriptor passing that causes libmilter's runtime
error when libmilter/OpenDKIM are used with Postfix:
"unix_send_fd: your system has no support for file descriptor passing"
The issue with the file descriptor passing has been fixed upstream in 20170618 update to Postfix v3.3 experimental release. The patch must
therefore be removed before compiling Postfix v3.3.*
Michael Heimpold [Sat, 18 Nov 2017 19:41:39 +0000 (20:41 +0100)]
libiio: add patch to fix build on buildbots
On buildbots, the building directory seems to be not a subdir of
a git repo, so a variable expands into an empty string which in turn
results in a syntax error:
--snip--
-- Looking for in6addr_any - found
-- Found Git: /data/bowl-builder/arm_cortex-a5/build/sdk/staging_dir/host/bin/git (found version "2.1.4")
fatal: Not a git repository (or any parent up to mount point /data)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
CMake Error at CMakeLists.txt:114 (if):
if given arguments:
Build timestamp prevents reproducible builds [0].
SOURCE_DATE_EPOCH allows to use a timestamp which depends
on deterministic behaviour [1].
Fixes reproducible builds.
The release tar does not contain the srcdir/guess-rev.sh.
If it's not existant the configure scripts uses different
variables which removes the build timestamp.
Fixes reproducible builds.
Paul Wassi [Thu, 16 Nov 2017 10:38:11 +0000 (11:38 +0100)]
mail/emailrelay: tune up initscript and config
Previously, configuration of emailrelay was done by fiddling around
with the commandline inside the initscript. Introduce a config file
in /etc/config for basic configuration and at the same time switch
to a procd-style initscript.
Paul Wassi [Thu, 16 Nov 2017 09:00:26 +0000 (10:00 +0100)]
mail/emailrelay: cosmetic fixes
This is just a cosmetic thing, therefore no increase of PKG_RELEASE.
- Trailing spaces and tabs
- Add newline to end of file
- Add License info to Makefile
- Move maintainer definition to PKG_MAINTAINER
Rafał Miłecki [Tue, 14 Nov 2017 12:14:24 +0000 (13:14 +0100)]
shadow: use proper fix for checking subordinate IDs support
During 4.2.1 version update support for subordinate IDs has been
disabled. It was handled by:
1) Adding --disable-subordinate-ids to avoid:
configure: error: cannot run test program while cross compiling
2) Adding patch 003-fix-disabling-subids.patch to avoid:
usermod.c: In function 'process_flags':
usermod.c:1364:10: error: 'vflg' undeclared (first use in this function)
if ( (vflg || Vflg)
^
This commit adds a patch with a proper configure.in fix. We don't need
to disable subordinate IDs anymore.
Val Kulkov [Wed, 15 Nov 2017 02:42:55 +0000 (21:42 -0500)]
postfix: fix uid/gid conflicts, general cleanup
Fix uid/gid conflict with package icecast (uid=87, gid=87) and
package pianod (uid=88, gid=88) by claiming uid/gid 25 for postfix
instead of 87 and uid/gid 26 for postconf instead of 88.
Remove main.cf.default that is not used by any Postfix module.
The default configuration parameters are hardcoded into postconf
and they are available via "postconf -d <parameter>".
main.cf.default is therefore unnecessary.
"mydomain" parameter should be deduced from the domain configuration
setting in /e/c/dhcp rather than from "hostname" in /e/c/system
which is often just a hostname without the domain name component.
"mynetworks" parameter is unnecessary where "mynetworks_style" is
defined.
The change of the location of data_directory, queue_directory and
mail_spool_directory from /var/lib/postfix, /var/spool/postfix and
/var/mail to /data/postfix/lib, /data/postfix/spool and
/data/postfix/mail has been postponed until the author of this
commit and the maintainer of this package has had a meaningful
opportunity to consult with LEDE/OpenWrt developers on the preferred
mount point for the persistent data storage device.
Change the criteria for executing the post-installation script.
Invoke postinst() where the value of "myhostname" parameter in main.cf
is not defined rather than where "$config_directory"/opkg_postinst is
present with the value of "$config_directory" hardcoded to
"$IPKG_INSTROOT"/etc/postfix in /etc/init.d/postfix.
Enable PCRE support by default.
Remove the code making entries in /etc/sysupgrade.conf and instead
define configuration files to be saved during a sysupgrade in
Makefile's Package/postfix/conffiles section.
Move the creation of mail_spool_directory from host to target in
order to enable change of directory ownership to 'postfix' when
postinit() is executed on the target.
Avoid postfix restart in postinst script that results in an
error message during opkg install process.
Enable Postfix autostart by creating a link in /etc/rc.d/ on
installation.