buildroot.git
9 years agousbmount: install configuration file unconditionally
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:58 +0000 (15:18 +0100)]
usbmount: install configuration file unconditionally

As discussed, users should use a rootfs overlay or a post-build script
instead of a custom skeleton to override files installed by Buildroot,
so there is no point in having conditions when installing init scripts
or configuration files.

[Peter: fix indentation as noted by Yann]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoscreen: install configuration file unconditionally
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:57 +0000 (15:18 +0100)]
screen: install configuration file unconditionally

As discussed, users should use a rootfs overlay or a post-build script
instead of a custom skeleton to override files installed by Buildroot,
so there is no point in having conditions when installing init scripts
or configuration files.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agosysklogd: install configuration file unconditionally
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:56 +0000 (15:18 +0100)]
sysklogd: install configuration file unconditionally

As discussed, users should use a rootfs overlay or a post-build script
instead of a custom skeleton to override files installed by Buildroot,
so there is no point in having conditions when installing init scripts
or configuration files.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoifplugd: install configuration files unconditionally
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:55 +0000 (15:18 +0100)]
ifplugd: install configuration files unconditionally

As discussed, users should use a rootfs overlay or a post-build script
instead of a custom skeleton to override files installed by Buildroot,
so there is no point in having conditions when installing init scripts
or configuration files.

[Peter: use install -m as noted by Yann]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agologrotate: install configuration file unconditionally
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:53 +0000 (15:18 +0100)]
logrotate: install configuration file unconditionally

As discussed, users should use a rootfs overlay or a post-build script
instead of a custom skeleton to override files installed by Buildroot,
so there is no point in having conditions when installing init scripts
or configuration files.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agosamba: install configuration file unconditionally
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:52 +0000 (15:18 +0100)]
samba: install configuration file unconditionally

As discussed, users should use a rootfs overlay or a post-build script
instead of a custom skeleton to override files installed by Buildroot,
so there is no point in having conditions when installing init scripts
or configuration files.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoproftpd: install configuration file unconditionally
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:51 +0000 (15:18 +0100)]
proftpd: install configuration file unconditionally

As discussed, users should use a rootfs overlay or a post-build script
instead of a custom skeleton to override files installed by Buildroot,
so there is no point in having conditions when installing init scripts
or configuration files.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agofluxbox: install session file unconditionally
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:50 +0000 (15:18 +0100)]
fluxbox: install session file unconditionally

As discussed, users should use a rootfs overlay or a post-build script
instead of a custom skeleton to override files installed by Buildroot,
so there is no point in having conditions when installing init scripts
or configuration files.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoinput-event-daemon: install configuration file unconditionally
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:49 +0000 (15:18 +0100)]
input-event-daemon: install configuration file unconditionally

As discussed, users should use a rootfs overlay or a post-build script
instead of a custom skeleton to override files installed by Buildroot,
so there is no point in having conditions when installing init scripts
or configuration files.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agostunnel: install configuration file unconditionally
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:48 +0000 (15:18 +0100)]
stunnel: install configuration file unconditionally

As discussed, users should use a rootfs overlay or a post-build script
instead of a custom skeleton to override files installed by Buildroot,
so there is no point in having conditions when installing init scripts
or configuration files.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agotransmission: install init script unconditionally
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:47 +0000 (15:18 +0100)]
transmission: install init script unconditionally

As discussed, users should use a rootfs overlay or a post-build script
instead of a custom skeleton to override files installed by Buildroot,
so there is no point in having conditions when installing init scripts
or configuration files.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agorsyslog: install init script and config file unconditionally
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:46 +0000 (15:18 +0100)]
rsyslog: install init script and config file unconditionally

As discussed, users should use a rootfs overlay or a post-build script
instead of a custom skeleton to override files installed by Buildroot,
so there is no point in having conditions when installing init scripts
or configuration files.

Also, we take this opportunity to rename RSYSLOG_INSTALL_CONF_SCRIPT
to RSYSLOG_INSTALL_CONF because it is no longer installing an init
script.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agorpcbind: install init script unconditionally
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:45 +0000 (15:18 +0100)]
rpcbind: install init script unconditionally

As discussed, users should use a rootfs overlay or a post-build script
instead of a custom skeleton to override files installed by Buildroot,
so there is no point in having conditions when installing init scripts
or configuration files.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolighttpd: install configuration files with sensible (0644) permissions
Peter Korsgaard [Mon, 1 Dec 2014 23:22:19 +0000 (00:22 +0100)]
lighttpd: install configuration files with sensible (0644) permissions

And use the same (0-prefixed) form everywhere.

Reported-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolighttpd: install init script and config file unconditionally
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:44 +0000 (15:18 +0100)]
lighttpd: install init script and config file unconditionally

As discussed, users should use a rootfs overlay or a post-build script
instead of a custom skeleton to override files installed by Buildroot,
so there is no point in having conditions when installing init scripts
or configuration files.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoiucode-tool: install init script unconditionally
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:43 +0000 (15:18 +0100)]
iucode-tool: install init script unconditionally

As discussed, users should use a rootfs overlay or a post-build script
instead of a custom skeleton to override files installed by Buildroot,
so there is no point in having conditions when installing init scripts
or configuration files.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agodmraid: install init script unconditionally
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:42 +0000 (15:18 +0100)]
dmraid: install init script unconditionally

As discussed, users should use a rootfs overlay or a post-build script
instead of a custom skeleton to override files installed by Buildroot,
so there is no point in having conditions when installing init scripts
or configuration files.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agobusybox: install init script and config file unconditionally
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:41 +0000 (15:18 +0100)]
busybox: install init script and config file unconditionally

As discussed, users should use a rootfs overlay or a post-build script
instead of a custom skeleton to override files installed by Buildroot,
so there is no point in having conditions when installing init scripts
or configuration files.

[Peter: drop && conditional from watchdog installation as noted by Yann]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoaiccu: install init script and config file unconditionally
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:40 +0000 (15:18 +0100)]
aiccu: install init script and config file unconditionally

As discussed, users should use a rootfs overlay or a post-build script
instead of a custom skeleton to override files installed by Buildroot,
so there is no point in having conditions when installing init scripts
or configuration files.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoxenomai: add error handling to for loop
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:39 +0000 (15:18 +0100)]
xenomai: add error handling to for loop

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agosound-theme-borealis: add error handling to for loop
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:38 +0000 (15:18 +0100)]
sound-theme-borealis: add error handling to for loop

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoqt5base: add error handling to for loop
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:36 +0000 (15:18 +0100)]
qt5base: add error handling to for loop

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolockfile-progs: add error handling to for loop
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:35 +0000 (15:18 +0100)]
lockfile-progs: add error handling to for loop

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolive555: add error handling to for loop
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:34 +0000 (15:18 +0100)]
live555: add error handling to for loop

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agojimtcl: add error handling to for loop
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:33 +0000 (15:18 +0100)]
jimtcl: add error handling to for loop

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoirda-utils: add error handling to for loop
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:32 +0000 (15:18 +0100)]
irda-utils: add error handling to for loop

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogptfdisk: add error handling to for loop
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:31 +0000 (15:18 +0100)]
gptfdisk: add error handling to for loop

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogooglefontdirectory: add error handling to for loop
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:30 +0000 (15:18 +0100)]
googlefontdirectory: add error handling to for loop

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoflot: add error handling to for loop
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:29 +0000 (15:18 +0100)]
flot: add error handling to for loop

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoebtables: add error handling to for loop
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:28 +0000 (15:18 +0100)]
ebtables: add error handling to for loop

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agocoreutils: add error handling to for loop
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:27 +0000 (15:18 +0100)]
coreutils: add error handling to for loop

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoalsa-utils: add error handling to for loop
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:26 +0000 (15:18 +0100)]
alsa-utils: add error handling to for loop

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agorp-pppoe: bail out if installation fails
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:25 +0000 (15:18 +0100)]
rp-pppoe: bail out if installation fails

Add an "|| exit 1" in the installation loop, otherwise if one of the
file fails to install, the build doesn't abort.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agorp-pppoe: don't install man pages
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:24 +0000 (15:18 +0100)]
rp-pppoe: don't install man pages

We don't support installing documentation on the target, so there's no
point in having explicit code to do so.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agognupg: don't bother removing a man page
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:23 +0000 (15:18 +0100)]
gnupg: don't bother removing a man page

The target-finalize target in the main Makefile removes
$(TARGET_DIR)/usr/share/man entirely, so there's no point in having
some package specific logic to remove man pages.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopptp-linux: don't install man page
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:22 +0000 (15:18 +0100)]
pptp-linux: don't install man page

We don't support installing documentation on the target, so there's no
point in having explicit code to do so.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoiostat: remove legacy code
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:21 +0000 (15:18 +0100)]
iostat: remove legacy code

Some custom iostat-source target was mistakenly left in place when the
iostat package was migrated to gentargets in commit
ee77963588b09babfd71befb0b5eb9fd1e776bbc, back 4 years ago. This
commit removes this unnecessary custom target.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoiostat: ensure binary gets installed with proper permissions
Peter Korsgaard [Mon, 1 Dec 2014 22:16:45 +0000 (23:16 +0100)]
iostat: ensure binary gets installed with proper permissions

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoiostat: don't install man page
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:20 +0000 (15:18 +0100)]
iostat: don't install man page

We don't support installing documentation on the target, so there's no
point in having explicit code to do so.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agotree: don't install man page
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:19 +0000 (15:18 +0100)]
tree: don't install man page

We don't support installing documentation on the target, so there's no
point in having explicit code to do so.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agondisc6: remove man page related code
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:18 +0000 (15:18 +0100)]
ndisc6: remove man page related code

The target-finalize target takes care of removing
$(TARGET_DIR)/usr/share/man, so there's no point in having package
specific code doing this.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agowipe: ensure binary gets installed with proper permissions
Peter Korsgaard [Mon, 1 Dec 2014 22:08:46 +0000 (23:08 +0100)]
wipe: ensure binary gets installed with proper permissions

Reported-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agowipe: don't install man pages
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:17 +0000 (15:18 +0100)]
wipe: don't install man pages

We don't support installing documentation on the target, so there's no
point in having explicit code to do so.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agosnowball-init: use <pkg>_INSTALL_INIT_SYSV mechanism
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:16 +0000 (15:18 +0100)]
snowball-init: use <pkg>_INSTALL_INIT_SYSV mechanism

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agompd: use <pkg>_INSTALL_INIT_SYSV mechanism
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:15 +0000 (15:18 +0100)]
mpd: use <pkg>_INSTALL_INIT_SYSV mechanism

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoat: use <pkg>_INSTALL_INIT_SYSV mechanism
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:14 +0000 (15:18 +0100)]
at: use <pkg>_INSTALL_INIT_SYSV mechanism

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agotinyhttpd: use <pkg>_INSTALL_INIT_SYSV mechanism
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:13 +0000 (15:18 +0100)]
tinyhttpd: use <pkg>_INSTALL_INIT_SYSV mechanism

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoopenvpn: use <pkg>_INSTALL_INIT_SYSV mechanism
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:12 +0000 (15:18 +0100)]
openvpn: use <pkg>_INSTALL_INIT_SYSV mechanism

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agotftpd: use <pkg>_INSTALL_INIT_SYSV mechanism
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:11 +0000 (15:18 +0100)]
tftpd: use <pkg>_INSTALL_INIT_SYSV mechanism

Also make sure we use a full path for the destination of the
$(INSTALL) command.

[Peter: use install -m as noted by Yann]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoxapp_xdm: use <pkg>_INSTALL_INIT_SYSV mechanism
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:10 +0000 (15:18 +0100)]
xapp_xdm: use <pkg>_INSTALL_INIT_SYSV mechanism

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopango: use <pkg>_INSTALL_INIT_SYSV mechanism
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:09 +0000 (15:18 +0100)]
pango: use <pkg>_INSTALL_INIT_SYSV mechanism

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoolsr: use <pkg>_INSTALL_INIT_SYSV mechanism
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:08 +0000 (15:18 +0100)]
olsr: use <pkg>_INSTALL_INIT_SYSV mechanism

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogpsd: use <pkg>_INSTALL_INIT_SYSV mechanism
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:07 +0000 (15:18 +0100)]
gpsd: use <pkg>_INSTALL_INIT_SYSV mechanism

Also makes the installation of the init script unconditional.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agomongoose: use <pkg>_INSTALL_INIT_SYSV mechanism
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:06 +0000 (15:18 +0100)]
mongoose: use <pkg>_INSTALL_INIT_SYSV mechanism

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agonetatalk: use <pkg>_INSTALL_INIT_SYSV mechanism
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:05 +0000 (15:18 +0100)]
netatalk: use <pkg>_INSTALL_INIT_SYSV mechanism

Also makes the installation of the init script unconditional.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agonfs-utils: use <pkg>_INSTALL_INIT_SYSV mechanism
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:04 +0000 (15:18 +0100)]
nfs-utils: use <pkg>_INSTALL_INIT_SYSV mechanism

Also move back the NFS_UTILS_INSTALL_FIXUP hook registration right
after the hook definition.

[Peter: use install -D as noted by Yann]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoifplugd: use <pkg>_INSTALL_INIT_SYSV mechanism
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:03 +0000 (15:18 +0100)]
ifplugd: use <pkg>_INSTALL_INIT_SYSV mechanism

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoinput-event-daemon: use <pkg>_INSTALL_INIT_SYSV mechanism
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:02 +0000 (15:18 +0100)]
input-event-daemon: use <pkg>_INSTALL_INIT_SYSV mechanism

Also makes the installation of the init script unconditional.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agosamba: use <pkg>_INSTALL_INIT_SYSV mechanism
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:01 +0000 (15:18 +0100)]
samba: use <pkg>_INSTALL_INIT_SYSV mechanism

Also makes the installation of the init script unconditional.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoproftpd: use <pkg>_INSTALL_INIT_SYSV mechanism
Thomas Petazzoni [Sun, 30 Nov 2014 14:18:00 +0000 (15:18 +0100)]
proftpd: use <pkg>_INSTALL_INIT_SYSV mechanism

Also use a complete destination path for the $(INSTALL) command.

[Peter: use install -D as noted by Yann]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogdk-pixbuf: use <pkg>_INSTALL_INIT_SYSV mechanism
Thomas Petazzoni [Sun, 30 Nov 2014 14:17:59 +0000 (15:17 +0100)]
gdk-pixbuf: use <pkg>_INSTALL_INIT_SYSV mechanism

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agostunnel: use the <pkg>_INSTALL_INIT_SYSV mechanism
Thomas Petazzoni [Sun, 30 Nov 2014 14:17:58 +0000 (15:17 +0100)]
stunnel: use the <pkg>_INSTALL_INIT_SYSV mechanism

Since the existing STUNNEL_INSTALL_CONF_SCRIPT hook no longer installs
the init script, we rename it to STUNNEL_INSTALL_CONF.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoportmap: improve installation of binaries
Thomas Petazzoni [Sun, 30 Nov 2014 14:17:57 +0000 (15:17 +0100)]
portmap: improve installation of binaries

This commit explicits the permissions with which executables are
installed, and also makes sure that the build is aborted if one of the
binaries cannot be installed, instead of silently ignoring the error.

[Peter: fixop typos in commit message as noted by Yann]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoportmap: don't install manpages
Thomas Petazzoni [Sun, 30 Nov 2014 14:17:56 +0000 (15:17 +0100)]
portmap: don't install manpages

We no longer support having documentation on the target, so there's no
point in carrying code to install man pages.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoportmap: use <pkg>_INSTALL_INIT_SYSV mechanism
Thomas Petazzoni [Sun, 30 Nov 2014 14:17:55 +0000 (15:17 +0100)]
portmap: use <pkg>_INSTALL_INIT_SYSV mechanism

We also switch to using a full destination path as the second argument
of $(INSTALL).

[Peter: use install -D as noted by Yann]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agobusybox: use <pkg>_INSTALL_INIT_SYSV mechanism
Thomas Petazzoni [Sun, 30 Nov 2014 14:17:54 +0000 (15:17 +0100)]
busybox: use <pkg>_INSTALL_INIT_SYSV mechanism

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agothttpd: use the <pkg>_INSTALL_INIT_SYSV mechanism
Thomas Petazzoni [Sun, 30 Nov 2014 14:17:53 +0000 (15:17 +0100)]
thttpd: use the <pkg>_INSTALL_INIT_SYSV mechanism

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoradvd: use <pkg>_INSTALL_INIT_SYSV
Thomas Petazzoni [Sun, 30 Nov 2014 14:17:52 +0000 (15:17 +0100)]
radvd: use <pkg>_INSTALL_INIT_SYSV

This commit changes the radvd to use the <pkg>_INSTALL_INIT_SYSV
mechanism instead of using a post install target hook. We also use a
full destination path when calling $(INSTALL).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agovsftpd: rename patches to the new naming convention
Thomas Petazzoni [Sun, 30 Nov 2014 14:17:51 +0000 (15:17 +0100)]
vsftpd: rename patches to the new naming convention

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agovsftpd: don't install manpages
Thomas Petazzoni [Sun, 30 Nov 2014 14:17:50 +0000 (15:17 +0100)]
vsftpd: don't install manpages

Installing manpages to the target is quite useless, since we don't
support installing documentation on the target.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agovsftpd: use <pkg>_INSTALL_INIT_SYSV and rename init script
Thomas Petazzoni [Sun, 30 Nov 2014 14:17:49 +0000 (15:17 +0100)]
vsftpd: use <pkg>_INSTALL_INIT_SYSV and rename init script

This commit changes the vsftpd package to use the
<pkg>_INSTALL_INIT_SYSV mechanism to install its init script, and
renames the init script in the Buildroot source tree to match how it's
named on the target.

Also, the init script is now installed unconditionally, as is done in
most packages.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoci20_defconfig: remove BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y
Vicente Olivert Riera [Mon, 1 Dec 2014 15:37:40 +0000 (15:37 +0000)]
ci20_defconfig: remove BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y

We had this option in the defconfig because the kernel defconfig we
provide doesn't have CONFIG_DEVTMPFS and CONFIG_DEVTMPFS_MOUNT, so a
/dev management which creates the devices dynamically using only
devtmpfs would not work. However, CONFIG_DEVTMPFS and
CONFIG_DEVTMPFS_MOUNT are automatically added to the kernel config when
you build the kernel using Buildroot, except when you choose
BR2_ROOTFS_DEVICE_CREATION_STATIC as a /dev management. This is handled
by linux/linux.mk.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agosamba4: bump to version 4.1.14
Gustavo Zacarias [Mon, 1 Dec 2014 14:30:39 +0000 (11:30 -0300)]
samba4: bump to version 4.1.14

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoRemove BR2_DEPRECATED_SINCE_2013_11
Gustavo Zacarias [Mon, 1 Dec 2014 14:17:00 +0000 (11:17 -0300)]
Remove BR2_DEPRECATED_SINCE_2013_11

The symbol is unused so remove it.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoarch/mips: remove deprecated mips1/2/3/4 support
Gustavo Zacarias [Mon, 1 Dec 2014 14:16:59 +0000 (11:16 -0300)]
arch/mips: remove deprecated mips1/2/3/4 support

Remove the support for generating mips1/2/3/4 code since it has been
deprecated for more than a year now.
Also remove the unnecessary kludges in packages for it.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/gcc/mpfr: remove deprecated features
Gustavo Zacarias [Mon, 1 Dec 2014 14:16:58 +0000 (11:16 -0300)]
package/gcc/mpfr: remove deprecated features

Remove the fortran and objective C language support since these have
been deprecated since more than a year ago.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolinux-headers: mark EOL versions deprecated
Gustavo Zacarias [Mon, 1 Dec 2014 14:16:57 +0000 (11:16 -0300)]
linux-headers: mark EOL versions deprecated

Follow the upstream EOL cycle and mark 3.16 as deprecated for 2015.02.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoAdd BR2_DEPRECATED_SINCE_2015_02
Gustavo Zacarias [Mon, 1 Dec 2014 14:16:56 +0000 (11:16 -0300)]
Add BR2_DEPRECATED_SINCE_2015_02

In preparation for the deprecation of certain features in 2015.02, add
the BR2_DEPRECATED_SINCE_2015_02 symbol.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoelfutils: download portability patch
Gustavo Zacarias [Mon, 1 Dec 2014 13:24:35 +0000 (10:24 -0300)]
elfutils: download portability patch

Download the portability patch into the buildroot tree.

This isn't nice but there really isn't another good solution for it.
The elfutils-portability.patch is version-dependent hence we already
have an older version for an older version of elfutils in the mirrors.
This causes hash check failures when fetching from sources.buildroot.net
But we can't remove (hence replace) the old version with the new one
since this would causee issues with older versions of
buildroot/elfutils for the same scenario.

Fixes:
http://autobuild.buildroot.net/results/26a/26afb92dc14fd0f85c0800dd4e034ea86af19fe2/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoxserver_xorg-server: libunwind support is broken on MIPS64 n32
Vicente Olivert Riera [Mon, 1 Dec 2014 12:24:26 +0000 (12:24 +0000)]
xserver_xorg-server: libunwind support is broken on MIPS64 n32

Amend the former commit and disable xorg-server with libunwind support
only for MIPS64 n32, as stated in the bug report:

https://bugs.freedesktop.org/show_bug.cgi?id=79939

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolame: also disable debug handling on xtensa
Peter Korsgaard [Mon, 1 Dec 2014 12:05:53 +0000 (13:05 +0100)]
lame: also disable debug handling on xtensa

Similar to the other architectures we have disabled it for. At the same time
also adjust the comment as we now do this for several other architectures.

Fixes http://autobuild.buildroot.net/results/b7e/b7e466580561e32fb584399e5914cd61a37bf7e9/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoflac: drop CVE patches
Peter Korsgaard [Mon, 1 Dec 2014 11:20:01 +0000 (12:20 +0100)]
flac: drop CVE patches

These are alredy included in 1.3.1, and should have been dropped when I
merged next.

Reported-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoMerge branch 'next'
Peter Korsgaard [Mon, 1 Dec 2014 10:15:54 +0000 (11:15 +0100)]
Merge branch 'next'

Conflicts:
Makefile
package/flac/0001-fix-altivec-logic.patch
package/grantlee/Config.in

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoUpdate for 2014.11
Peter Korsgaard [Mon, 1 Dec 2014 09:19:00 +0000 (10:19 +0100)]
Update for 2014.11

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogdb: unbreak host-gdb with python support if python3 is enabled
Peter Korsgaard [Mon, 1 Dec 2014 08:38:10 +0000 (09:38 +0100)]
gdb: unbreak host-gdb with python support if python3 is enabled

Fixes http://autobuild.buildroot.net/results/ef4/ef487b495e57f098af0fe9508d430b56b0750339/

Explicitly pass the path to host-python to ensure it gets used.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/parted: fix static link
Yann E. MORIN [Sun, 30 Nov 2014 22:31:37 +0000 (23:31 +0100)]
package/parted: fix static link

libuuid needs to be linked with -lintl when gettext is needed (with
locales).

For a shared build, this is solved with the DT_NEEDED ELF tags, but for
a static link, it is not pulled in automatically.

Use pkg-config to find libuuid, instead of AC_CHECK_LIB().

Second part at fixing:
    http://autobuild.buildroot.net/results/c46/c467aeec258909bb82eda77123803944f97d8df8/

[Peter: add host-pkgconf to _DEPENDENCIES]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/util-linux: libuuid needs -lintl
Yann E. MORIN [Sun, 30 Nov 2014 22:31:36 +0000 (23:31 +0100)]
package/util-linux: libuuid needs -lintl

When gettext is needed (with locales), libuuid needs to be linked
against -lintl.

In dynamic link, this is solved via the DT_NEEDED ELF tag, but for
static links, it does not get pulled in automatically.

Fix that by adding a Libs.private section to uuid.pc, but only if
it needed.

First part at fixing:
    http://autobuild.buildroot.net/results/c46/c467aeec258909bb82eda77123803944f97d8df8/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/shairport-sync: fix static builds
Yann E. MORIN [Sun, 30 Nov 2014 11:42:56 +0000 (12:42 +0100)]
package/shairport-sync: fix static builds

Because shairport-sync uses AC_CHECK_LIB to find some of the needed
libraries (opensl, alsa, popt...), it fails to bring in the dependencies
of those libraries; for example, -lssl requires -lz.

When doing a dynamically-linked build, those dependent libraries are
pulled in thanks to the DT_NEEDED ELF tags, but those are not available
in static libraries.

Use PKG_CHECK_MODULES instead of AC_CHECK_LIB, and emulate the results
of AC_CJECK_LIB (i.e. set the HAVE_LIBxxx and the LIBS variable
appropriately) to minimise the amount of code touched.

This should fix:
    http://autobuild.buildroot.net/results/1a5/1a56dbff3583bed0d693508dfc16859086846ecd/
    http://autobuild.buildroot.net/results/6d5/6d5a8157592f7a2c9469bf71b0453796ef982ab1/

At the same time, remove a comment at the end of a variable assignment,
since this has proven to cause some problems.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Jörg Krause <jkrause@posteo.de>
Cc: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoinfra: do not append an empty LD_LIBRARY_PATH
Yann E. MORIN [Fri, 21 Nov 2014 22:53:36 +0000 (23:53 +0100)]
infra: do not append an empty LD_LIBRARY_PATH

When we set LD_LIBRARY_PATH when building our host tools, we append any
pre-existing value to our custom path:
        LD_LIBRARY_PATH="$(HOST_DIR)/usr/lib:$(LD_LIBRARY_PATH)"

But then if LD_LIBRARY_PATH was previously empty, we end up with an
LD_LIBRARY_PATH that ends with a colon.

Also, when we check that an existing LD_LIBRARY_PATH does not contain
CWD, we previously did not look for a zero-length prefix.

Since 'man ld.so' says of LD_LIBRARY_PATH:
    A colon-separated list of directories in which to search for ELF
    libraries at execution-time. Similar to the PATH environment
    variable.

And POSIX states about PATH:
    A zero-length prefix is a legacy feature that indicates the current
    working directory.

And bash also recognises a zero-length prefix to search in CWD:
    A zero-length (null) directory name in the value of PATH indicates
    the current directory.

We may thus end up on a system where a zero-length prefix in
LD_LIBRARY_PATH is interpreted as CWD.

Do not append the previous LD_LIBRARY_PATH if it was empty, and check
for a zero-length prefix when checking dependencies.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/mono: fixing wrong monolite library path
Angelo Compagnucci [Sun, 30 Nov 2014 21:41:06 +0000 (22:41 +0100)]
package/mono: fixing wrong monolite library path

Due to a bug in makefile logic, monolite libraries path will not
be selected when EXTERNAL_MCS parameter is specified.
Setting EXTERNAL_MCS to a non existent binary, makes the internal logic
to fallback to monolite, setting correctly both binary and
library paths.
This has the benefit to force host-mono to always use monolite as
bootstrap compiler also in case a mono compiler is already installed
on the system.

Fixes:
http://autobuild.buildroot.net/results/fc00952bef03cf3b4785be1a0d9c08dc84aa3f54/

[Peter: add comment explaining why this is done]
Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Reported-by: Rainer Berns <rainer.berns@berns-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/libwebsockets: fix static build
Yann E. MORIN [Sun, 30 Nov 2014 11:44:14 +0000 (12:44 +0100)]
package/libwebsockets: fix static build

Fixes:
http://autobuild.buildroot.net/results/afc/afc56e03a9d410563f43e5d26cf8b12fc4da7e5b/
http://autobuild.buildroot.net/results/922/9221b4967d069c9b634cb1f98ead193593d22dbc/

When the version was bumped, the existing patch to fix static linking
was not proprerly tested, and was missing three new locations to be
fixed.

[Peter: add autobuilder reference]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Sagaert Johan <sagaert.johan@skynet.be>
Cc: Samuel Martin <s.martin49@gmail.com>
Cc: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/gd: fix build when libiconv is enabled
Bernd Kuhls [Sat, 29 Nov 2014 20:54:36 +0000 (21:54 +0100)]
package/gd: fix build when libiconv is enabled

First of two patches to fix
http://autobuild.buildroot.net/results/238/2386edb7f95920e84a35811a33f4333ee0a7a860/

gd links against libiconv if it is already built, depend on libiconv
to get reproducable builds.

readelf output without libiconv present:
$ output/host/opt/ext-toolchain/bfin-linux-uclibc/bin/bfin-linux-uclibc-readelf \
  -a output/staging/usr/lib/libgd.a | grep iconv
    15: 00000000    12 FUNC    GLOBAL HIDDEN     1 _iconv_open
    16: 0000000c    12 FUNC    GLOBAL HIDDEN     1 _iconv
    17: 00000018    12 FUNC    GLOBAL HIDDEN     1 _iconv_close

readelf output with libiconv present:
$ output/host/opt/ext-toolchain/bfin-linux-uclibc/bin/bfin-linux-uclibc-readelf \
  -a output/staging/usr/lib/libgd.a | grep iconv
000000e4  0000100a R_BFIN_PCREL24    00000000   _libiconv_open + 0
00000140  0000140a R_BFIN_PCREL24    00000000   _libiconv + 0
0000019a  0000160a R_BFIN_PCREL24    00000000   _libiconv_close + 0
    16: 00000000     0 NOTYPE  GLOBAL DEFAULT  UND _libiconv_open
    20: 00000000     0 NOTYPE  GLOBAL DEFAULT  UND _libiconv
    22: 00000000     0 NOTYPE  GLOBAL DEFAULT  UND _libiconv_close

[Peter: also add to LIBS so it ends up in gdlib-config --libs output]
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoluajit: point /usr/bin/lua to luajit if lua not selected
Danomi Manchego [Sun, 30 Nov 2014 18:46:12 +0000 (13:46 -0500)]
luajit: point /usr/bin/lua to luajit if lua not selected

The luajit package is a provider of a lua interpreter, but does not install a
lua executable.  This is fine for scripts that explicitly invoke luajit, but
not so good for scripts that just need a lua interpreter and call lua.  This
mod creates a lua symlink so that the non-jit-specific scripts will still work.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/x11r7/xserver_xorg-server: libunwind support is broken on mips64
Bernd Kuhls [Sat, 29 Nov 2014 22:10:35 +0000 (23:10 +0100)]
package/x11r7/xserver_xorg-server: libunwind support is broken on mips64

Fixes
http://autobuild.buildroot.net/results/e8f/e8f68163802f31359cee15fa3ca52547e06d1f27/
http://autobuild.buildroot.net/results/994/9947222da8682a358f81f8ac924c12596fd09ee8/
http://autobuild.buildroot.net/results/df9/df92d9b682976b77d9e1e4c39afca52b7512d847/

[Peter: use official bugtracker URL, fix check]
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/mono: force host-mono to use internal mono bootstrap compiler
Angelo Compagnucci [Fri, 28 Nov 2014 23:19:18 +0000 (00:19 +0100)]
package/mono: force host-mono to use internal mono bootstrap compiler

This patch forces the use of internal compiler for building mono,
for more information please refer to mono official documentation
(README.md)

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/x11r7/xserver_xorg-server: bump version to 1.16.2
Bernd Kuhls [Fri, 28 Nov 2014 20:46:39 +0000 (21:46 +0100)]
package/x11r7/xserver_xorg-server: bump version to 1.16.2

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoAdd a defconfig for MIPS Creator CI20
Vicente Olivert Riera [Fri, 28 Nov 2014 16:43:29 +0000 (16:43 +0000)]
Add a defconfig for MIPS Creator CI20

MIPS Creator CI20 is a Linux and Android development system from
MIPS/Imagination Technologies. It incorporates an Ingenic JZ4780 SoC
which includes a 1.2GHz dual core MIPS32 processor and Imagination
PowerVR SGX540 GPU.

More information can be found at:
  http://elinux.org/MIPS_Creator_CI20

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/x11r7/xapp_bdftopcf: Fix linking error
Bernd Kuhls [Fri, 28 Nov 2014 18:36:10 +0000 (19:36 +0100)]
package/x11r7/xapp_bdftopcf: Fix linking error

Fixes
http://autobuild.buildroot.net/results/242/24297c948c0eee684e868ad4bd12f11c3a759248/
http://autobuild.buildroot.net/results/464/464fdc71690a437c1782dd8e4c75d78195bf8bfd/
http://autobuild.buildroot.net/results/77c/77c26d14c8906b44f7c3fa1b3d759556c7318a7e/
and many others ( http://autobuild.buildroot.net/?reason=xapp_bdftopcf-1.0.4 )

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agodhcpcd: bump to version 6.6.4
Gustavo Zacarias [Fri, 28 Nov 2014 14:23:16 +0000 (11:23 -0300)]
dhcpcd: bump to version 6.6.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agompd: bump to version 0.19.5
Gustavo Zacarias [Fri, 28 Nov 2014 13:59:02 +0000 (10:59 -0300)]
mpd: bump to version 0.19.5

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>