Jo-Philipp Wich [Tue, 1 Nov 2016 11:53:30 +0000 (12:53 +0100)]
python3: avoid use of HOST_BUILD_PREFIX
Currently, the python3-package.mk framework relies on HOST_BUILD_PREFIX to
refer to the $(STAGING_DIR)/host directory but using the HOST_BUILD_PREFIX
variable requires the use of include/host-build.mk which in turn includes
python3-package.mk, leading to target redefinition errors.
In order to provide a global, uniform way to refer to the host staging
directory, LEDE introduced a new variable STAGING_DIR_HOSTPKG which points
to $(STAGING_DIR)/host for now with the purpose of eventually being able to
relocate that directory in the future.
This commit changes python3-package.mk to ...
- stop including include/host-build.mk (revert of #3423)
- replace usages of $(HOST_BUILD_PREFIX) with $(STAGING_DIR_HOSTPKG)
- warn and fallback to $(STAGING_DIR)/host if STAGING_DIR_HOSTPKG is
unavailable
The fallback code will ensure that the python host build infrastructure
continues to work properly on older OpenWrt and LEDE versions until the
STAGING_DIR_HOSTPKG is fully settled in and can be removed some time
in the future.
Jo-Philipp Wich [Tue, 1 Nov 2016 11:41:16 +0000 (12:41 +0100)]
python: avoid use of HOST_BUILD_PREFIX
Currently, the python-host.mk framework relies on HOST_BUILD_PREFIX to
refer to the $(STAGING_DIR)/host directory but using the HOST_BUILD_PREFIX
variable requires the use of include/host-build.mk which in turn includes
python-host.mk, leading to target redefinition errors.
In order to provide a global, uniform way to refer to the host staging
directory, LEDE introduced a new variable STAGING_DIR_HOSTPKG which points
to $(STAGING_DIR)/host for now with the purpose of eventually being able to
relocate that directory in the future.
This commit changes python-host.mk to ...
- stop including include/host-build.mk (revert of #3423)
- replace usages of $(HOST_BUILD_PREFIX) with $(STAGING_DIR_HOSTPKG)
- warn and fallback to $(STAGING_DIR)/host if STAGING_DIR_HOSTPKG is
unavailable
The fallback code will ensure that the python host build infrastructure
continues to work properly on older OpenWrt and LEDE versions until the
STAGING_DIR_HOSTPKG is fully settled in and can be removed some time
in the future.
Brian J. Murrell [Mon, 31 Oct 2016 21:30:53 +0000 (17:30 -0400)]
ssmtp: Increase PKG_RELEASE > BB value
It's a generally good packaging principle that the packages in a distro release n+1 have a release value that is at least the same if not greater than the value in release n.
BB has a PKG_RELEASE of 4 so upping to 5 is a good measure.
Enabling the default configuration will pipe /dev/urandom back into
/dev/random ala the current package behavior. Because this amounts to
disabling the in-kernel entropy estimation, default disabled.
While here, uci-paramaterize the high watermark.
While here, add a pre-command hook for real RNGs that need 'stty raw'
or other such hooks. (e.g. the TrueRNG devices)
As offered in github openwrt/packages#3422, take over maintainership.
Eric Luehrsen [Thu, 20 Oct 2016 04:17:23 +0000 (00:17 -0400)]
Unbound: Incorporate hotplug/iface and root.key in tmpfs
-Patch for /etc/unbound/unbound.conf
--All work done in /var/lib/unbound/
--chroot or jail to /var/lib/unbound/
-Init script points to /usr/lib/unbound.sh
-Makefile to install new scripts in the package
Eric Luehrsen [Thu, 20 Oct 2016 04:19:51 +0000 (00:19 -0400)]
Unbound: Add scripts to manage root.key in tmpfs
-Unbound RFC 5011 is busy and writes frequently
-RFC 5011 creates working files in same directory
-DNSSEC root.key managed in /var/lib/unbound
-Protect against flash ROM wear out in /etc/unbound
-Scripts will copy back every 7 days instead
Eric Luehrsen [Thu, 20 Oct 2016 04:14:16 +0000 (00:14 -0400)]
Unbound: Add hotplug/iface script to request restart
-Rebind to new interfaces cleanly
-Detach from old interfaces cleanly
-Some conf options do not reload dynamically
-Unbound grows some and this will shrink it
Dirk Brenken [Sat, 29 Oct 2016 19:36:09 +0000 (21:36 +0200)]
travelmate: update 0.2.4
* change option 'trm_iw' to boolean,
1 => use iw (default)
0 => use iwinfo
* option 'trm_maxretry' now accepts '0' to disable this check at all
* documentation update
Michael Heimpold [Wed, 26 Oct 2016 20:33:57 +0000 (22:33 +0200)]
autoconf: prevent emacs detection and usage during compile
The LEDE buildbots currently fail to build the package since there seems
to be a problem with the emacs installed on the buildbot(s) (e.g. [1]):
-snip-
Making all in emacs
make[7]: Entering directory `/opt/buildbot/slaves/lede-slave-tah/x86_64/build/sdk/build_dir/target-x86_64_musl-1.1.15/autoconf-2.69/lib/emacs'
WARNING: Warnings can be ignored. :-)
if test "emacs" != no; then \
set x; \
list='autoconf-mode.el autotest-mode.el'; for p in $list; do \
if test -f "$p"; then d=; else d="./"; fi; \
set x "$@" "$d$p"; shift; \
done; \
shift; \
EMACS="emacs" /bin/bash ../../build-aux/elisp-comp "$@" || exit 1; \
else : ; fi
4;1H; last errno 10)
No buffers needed saving: you didn't lose any work.
mv: cannot stat '*.elc': No such file or directory
make[7]: *** [elc-stamp] Error 1
-snap-
So let's disable the emacs usage - the resulting artifacts are not
packaged at the moment at all.
Alberto Bursi [Sun, 23 Oct 2016 12:53:34 +0000 (14:53 +0200)]
alsa-utils: moved to /sound and Sound category, fix minor bugs
Moved source folder in /sound folder, and changed all packages in the makefile
to be shown in Sound category (not in Sound subcategory of Utilities).
Removed a line calling a non-existent Package/alsa-utils/Default
and site URL to the package alsa-utils-tests.
Like on other common desktop Linux distributions, ship an /sbin/mount.ntfs
symlink in addition to the /sbin/mount.ntfs-3g one in order to let wrapper
programs successfully call external mount helpers by the filesystem name.
The assumption is that /sbin/mount.ntfs is only ever called by util-linux
mount and other mount-wrappers when kernel NTFS support is not available,
means shipping the additional symlink will not interfere with kernel mode
NTFS support.
This commit is mainly intended to prepare transparent fs-tools support for
mounting fuse filesystems, with focus on ntfs-3g in particular.
Please see http://git.lede-project.org/f027c68 for the corresponding
fs-tools support code.