Daniel Golle [Tue, 9 Jun 2015 01:05:53 +0000 (03:05 +0200)]
lxc: fix build on mpc85xx
Initialize ret to 0 so compiler no longer complains about
monitor.c: In function 'lxc_monitor_open':
monitor.c:212:5: error: 'ret' may be used uninitialized in this function [-Werror=maybe-uninitialized]
Florian Fieber [Fri, 5 Jun 2015 14:07:56 +0000 (16:07 +0200)]
vim: Fix editing crontabs with crontab -e
Per default, vim creates a new file and keeps the original file as backup.
This leads to crontab checking the backup file for changes instead of the
one actually being edited, resulting in any changes being silently dropped.
Since busybox's crontab saves temporary crontab files in "/etc/crontabs.*"
vim's default of "backupskip=/tmp/*" doesn't circumvent this.
This commit fixes this issue by appending "/etc/crontabs.*" to "backupskip".
Daniel Golle [Fri, 5 Jun 2015 15:11:07 +0000 (17:11 +0200)]
xl2tpd: fix xl2tpd options
The previous commit left an unwanted string in the options passed
to xl2tpd-control. Remove that as well.
Also set procd respawn parameter now that I'm at it.
Daniel Golle [Fri, 5 Jun 2015 02:22:23 +0000 (04:22 +0200)]
gnurl: no longer force-enable TLS-SRP
It might not be available in GnuTLS and is not strictly required
by the gnurl manifest, see
http://www.git.taler.net/?p=gnurl.git;a=blob;f=README;h=f7521aa431a4e77a58dc558880ff54648d69e072;hb=HEAD#l22
Daniel Golle [Thu, 4 Jun 2015 23:27:52 +0000 (01:27 +0200)]
gnunet: don't override default to 'n'
Overriding DEFAULT to 'n' prevents packages being build unless
explicitely selected even if ALL is set.
Instead, set 'DEFAULT:=y if PACKAGE_gnunet' for the default
packages and otherweise don't touch DEFAULT.
Daniel Golle [Thu, 4 Jun 2015 12:44:40 +0000 (14:44 +0200)]
libseccomp: work-around prctl.h mess
musl doesn't allow including both, sys/prctl.h and linux/prctl.h.
Thus include linux/prctl.h only on GLIBC systems (that includes
uClibc which defines __GLIBC__)
Daniel Golle [Thu, 4 Jun 2015 11:46:32 +0000 (13:46 +0200)]
lxc: allow building with seccomp
seccomp was unconditionally disabled before.
Also a non-escaped newline in a place where it should be escaped
made the build process skip some CONFIGURE_ARGS.
Fix CONFIGURE_ARGS and add an option to allow building with seccomp.
Michael Heimpold [Sun, 31 May 2015 22:08:57 +0000 (00:08 +0200)]
php5-pecl-libevent: add a patch to force usage of libevent2 headers (refs #1322)
Builtbots currently fail to compile this package with (example message):
... /libevent-0.1.0/libevent.c:1403:42: error: 'EVBUFFER_READ' undeclared (first use in this function)
REGISTER_LONG_CONSTANT("EVBUFFER_READ", EVBUFFER_READ, CONST_CS | CONST_PERSISTENT);
With libevent2, the main include file event.h is deprecated, but includes
enough stuff and other compat includes that it _should work_. I could not figure
out why it fails (all locally builds work out-of-the-box), so this is a trial to
circumvent this compat header file and include the libevent2 headers directly.
While at, add a missing dependency to the sockets extension.
Daniel Golle [Sun, 31 May 2015 05:08:01 +0000 (07:08 +0200)]
gnurl: add net package
This is definitely one of the ugliest things I ever got my
hands on. If it even did the job properly, but no, it tries
to install it's headers in /usr/include/curl collidings with
actual curl's headers. Fixed that by installing them into
/usr/include/gnurl instead. Now gnunet can use gnurl.
Daniel Golle [Sat, 30 May 2015 21:09:47 +0000 (23:09 +0200)]
gnunet: add new package
The single 'gnunet' package built should be further split up,
meta-packages for common use-cases should be added.
However, it's not too big to run on devices with 8MB of flash or more,
even in the current monolithic package.
Integration with procd and netifd is not yet implemented.
there is now an option to produce a smaller ethtool build which will
disable pretty printing (Ethernet drivers, SFP diagnostics...) for
platforms that do not need it.
Hook a menu configuration option to control that option. Build size
differences on ar71xx:
With:
-rw-r--r-- 1 florian florian 79K mai 23 10:43
bin/ar71xx/packages/packages/ethtool_3.18-1_ar71xx.ipk
Without:
-rw-r--r-- 1 florian florian 23K mai 23 10:43
bin/ar71xx/packages/packages/ethtool_3.18-1_ar71xx.ipk
Karl Palsson [Wed, 27 May 2015 10:23:18 +0000 (10:23 +0000)]
libev: Import from management, with path fixes
Imports the latest version from the management feed, and fixes the
install paths. All example code, and desktop linux expects and installs
libev's headers to /usr/include/<ev.h> not under a subdirectory.
Marcel Denia [Sat, 2 May 2015 14:08:00 +0000 (16:08 +0200)]
perl: Enable threading in host-perl as well if threading is selected
While host-perl only exists to run build scripts(and thus, should have
no influence on built packages at all), most packages depend heavily on the
feature set of the perl installation that ran their configuration scripts.
This change makes them see that threading support is enabled(if it actually
is selected).
We can't use configuration symbol overrides for this one, as they are
visible to host-perl as well. Using overrides would make it act as if it
had threading support enabled without actually having it.
Marcel Denia [Sat, 2 May 2015 14:30:16 +0000 (16:30 +0200)]
perl: Override cpprun configuration symbol
This will not change any existing packages' functionality. All packages
that used this symbol before during build(with it's value being "cc -E") most
likely would've failed compilation.
Note that this change is only in effect during build.