Skip to contentSkip to conversation

Pull request for branch for-2011.02/martin-packages

GIT PULL New Thomas Petazzoni 2 participants 21 messages Dec 12, 2010 – Dec 14, 2010 Arm/Microchip (AT91) SoC support

lore
Share & tools
lore
#0 lore raw

Hello,

Here is a set of patches that merges most of Martin Banky's pending patches. I've taken Martin patches for input-tools, mii-diag, mrouted, sysklogd, sysinit, lsof, lvm2, memtester, alsa-utils, netplug and l2tp. I tested all of them, and fixed various issues.

I also include some other patches to :
* remove deprecated packages
* bump mplayer and add many more options to mplayer
* bump libtheora
* fix libaio on AVR32

Regards,

Thomas

The following changes since commit cc37a07f289f56a81195933810af705d77e95ee4:
Peter Korsgaard (1):
zlib: really fix install for static only builds

are available in the git repository at:

git://git.busybox.net/~tpetazzoni/git/buildroot for-2011.02/martin-packages

Martin Banky (11):
input-tools: convert to gentargets
mii-diag: convert to gentargets and bump to 2.11.3
mrouted: convet to gentargets and bump to version 3.9.4
sysklogd: convert to gentargets and bump to 1.5
sysvint: convert to gentargets and bump to 2.88
lsof: convert to gentargets and bump to 4.84
lvm2: convert to autotargets and bump to 2.02.78
memtester: convert to gentargets and bump to 4.2.1
alsa-utils: convert to autotargets and bump to 1.0.23
netplug: convert to gentargets and bump to 1.2.9.2
l2tp: convert to gentargets and change to xl2tp

Thomas Petazzoni (8):
target: support generic getty with sysvinit inittabs
microcom: remove package
ng-spice-rework: remove package
libfloat: remove package
hotplug: remove package
libaio: add patch to support AVR32
mplayer: convert to gentargets, bump to a recent SVN version
libtheora: bump version to 1.1.1

 package/Config.in                                  |    8 +-
 package/hotplug/Config.in                          |    7 -
 package/hotplug/diethotplug-0.5.tar                |  Bin 40960 -> 0 bytes
 package/hotplug/hotplug.mk                         |   45 -
 ...-rint.patch => input-tools-20051019-rint.patch} |    0
 package/input-tools/input-tools.mk                 |  102 +-
 package/l2tp/Config.in                             |    7 -
 package/l2tp/l2tp-no-gnu-extensions.patch          |   33 -
 package/l2tp/l2tp-sanity.patch                     |   49 -
 package/l2tp/l2tp.mk                               |   60 -
 package/libaio/libaio-0.3.109-avr32-support.patch  |  122 +
 package/libfloat/Config.in                         |    8 -
 package/libfloat/libfloat.mk                       |   65 -
 package/libfloat/libfloat.patch                    |   45 -
 ...sof-makefile.patch => lsof-4.84-makefile.patch} |    4 +-
 ...f-noportmap.patch => lsof-4.84-noportmap.patch} |    4 +-
 ...flags.patch => lsof-4.84-override-cflags.patch} |    4 +-
 ...tch => lsof-4.84-remove-susvlegacy-funcs.patch} |    4 +-
 package/lsof/lsof-uclibc.patch                     |   12 -
 package/lsof/lsof.mk                               |   96 +-
 package/lvm2/lvm2.mk                               |  137 +-
 package/memtester/Config.in                        |    4 +
 .../memtester/memtester-4.2.1-makefile-fix.patch   |   23 +
 package/memtester/memtester.mk                     |   54 +-
 package/microcom/Config.in                         |    7 -
 .../microcom/microcom-102-001-speed-defines.patch  |   34 -
 .../microcom-102-002-rename-variable-log.patch     |   78 -
 package/microcom/microcom.mk                       |   71 -
 package/mii-diag/Config.in                         |    2 +-
 package/mii-diag/mii-diag-strchr.patch             |    3 +
 package/mii-diag/mii-diag.mk                       |   72 +-
 package/mrouted/Config.in                          |    5 +-
 .../mrouted-3.9-beta3-bcopy_bcmp_bzero.patch       |  164 -
 package/mrouted/mrouted-3.9.4-bcopy.patch          |   26 +
 package/mrouted/mrouted-3.9.4-makefile-flags.patch |   64 +
 package/mrouted/mrouted-sys_errlist.patch          |   44 -
 package/mrouted/mrouted.mk                         |   60 +-
 ...tils-1.0.18-check-if-__use_bsd-is-defined.patch |   13 -
 .../alsa-utils-1.0.18-fix-intl-support.patch       |   11 -
 .../alsa-utils-1.0.18-fix_sysv_legacy.patch        |   20 -
 .../alsa-utils/alsa-utils-1.0.18-remove_man.patch  |   11 -
 package/multimedia/alsa-utils/alsa-utils.mk        |   99 +-
 package/multimedia/libtheora/libtheora.mk          |    5 +-
 package/multimedia/mplayer/Config.in               |   17 +-
 .../mplayer/mplayer-1.0rc2-100-atmel.1.patch       | 6262 --------------------
 .../mplayer/mplayer-1.0rc2-largefile.patch         |   18 -
 .../mplayer/mplayer-1.0rc2-remove-sys-timeb.patch  |   12 -
 .../mplayer-1.0rc3-disable-install-strip.patch     |   24 +
 ...g.patch => mplayer-1.0rc3-fix-cc-parsing.patch} |   16 +-
 package/multimedia/mplayer/mplayer.mk              |  150 +-
 package/netplug/netplug-1.2.9-disable-werror.patch |   22 -
 .../netplug/netplug-1.2.9.2-makefile-flags.patch   |   21 +
 package/netplug/netplug-socklen-type.patch         |   12 -
 package/netplug/netplug.mk                         |   53 +-
 package/ng-spice-rework/Config.in                  |    9 -
 .../ng-spice-rework-17-makeidx.patch               |   12 -
 package/ng-spice-rework/ng-spice-rework.mk         |   18 -
 package/sysklogd/S25syslog                         |   48 -
 package/sysklogd/sysklogd-susv3-legacy.patch       |   20 -
 package/sysklogd/sysklogd.mk                       |   95 +-
 package/sysklogd/sysklogd.patch                    |   91 -
 package/sysvinit/inittab                           |   32 +
 package/sysvinit/sysvinit-2.86-gentoo.patch        |    9 -
 package/sysvinit/sysvinit.mk                       |   71 +-
 package/xl2tp/Config.in                            |   11 +
 .../xl2tp-1.2.7-legacy.patch}                      |    3 +
 package/xl2tp/xl2tp-1.2.7-makefile-flags.patch     |   33 +
 package/xl2tp/xl2tp.mk                             |   33 +
 package/{l2tp/l2tpd => xl2tp/xl2tpd}               |    6 +-
 target/generic/Makefile.in                         |   14 +-
 70 files changed, 830 insertions(+), 7964 deletions(-)
 delete mode 100644 package/hotplug/Config.in
 delete mode 100644 package/hotplug/diethotplug-0.5.tar
 delete mode 100644 package/hotplug/hotplug.mk
 rename package/input-tools/{joystick-20051019-rint.patch => input-tools-20051019-rint.patch} (100%)
 delete mode 100644 package/l2tp/Config.in
 delete mode 100644 package/l2tp/l2tp-no-gnu-extensions.patch
 delete mode 100644 package/l2tp/l2tp-sanity.patch
 delete mode 100644 package/l2tp/l2tp.mk
 create mode 100644 package/libaio/libaio-0.3.109-avr32-support.patch
 delete mode 100644 package/libfloat/Config.in
 delete mode 100644 package/libfloat/libfloat.mk
 delete mode 100644 package/libfloat/libfloat.patch
 rename package/lsof/{lsof-makefile.patch => lsof-4.84-makefile.patch} (62%)
 rename package/lsof/{lsof-noportmap.patch => lsof-4.84-noportmap.patch} (64%)
 rename package/lsof/{lsof-override-cflags.patch => lsof-4.84-override-cflags.patch} (66%)
 rename package/lsof/{lsof-remove-susvlegacy-funcs.patch => lsof-4.84-remove-susvlegacy-funcs.patch} (62%)
 delete mode 100644 package/lsof/lsof-uclibc.patch
 create mode 100644 package/memtester/memtester-4.2.1-makefile-fix.patch
 delete mode 100644 package/microcom/Config.in
 delete mode 100644 package/microcom/microcom-102-001-speed-defines.patch
 delete mode 100644 package/microcom/microcom-102-002-rename-variable-log.patch
 delete mode 100644 package/microcom/microcom.mk
 delete mode 100644 package/mrouted/mrouted-3.9-beta3-bcopy_bcmp_bzero.patch
 create mode 100644 package/mrouted/mrouted-3.9.4-bcopy.patch
 create mode 100644 package/mrouted/mrouted-3.9.4-makefile-flags.patch
 delete mode 100644 package/mrouted/mrouted-sys_errlist.patch
 delete mode 100644 package/multimedia/alsa-utils/alsa-utils-1.0.18-check-if-__use_bsd-is-defined.patch
 delete mode 100644 package/multimedia/alsa-utils/alsa-utils-1.0.18-fix-intl-support.patch
 delete mode 100644 package/multimedia/alsa-utils/alsa-utils-1.0.18-fix_sysv_legacy.patch
 delete mode 100644 package/multimedia/alsa-utils/alsa-utils-1.0.18-remove_man.patch
 delete mode 100644 package/multimedia/mplayer/mplayer-1.0rc2-100-atmel.1.patch
 delete mode 100644 package/multimedia/mplayer/mplayer-1.0rc2-largefile.patch
 delete mode 100644 package/multimedia/mplayer/mplayer-1.0rc2-remove-sys-timeb.patch
 create mode 100644 package/multimedia/mplayer/mplayer-1.0rc3-disable-install-strip.patch
 rename package/multimedia/mplayer/{mplayer-1.0rc2-fix-cc-parsing.patch => mplayer-1.0rc3-fix-cc-parsing.patch} (53%)
 delete mode 100644 package/netplug/netplug-1.2.9-disable-werror.patch
 create mode 100644 package/netplug/netplug-1.2.9.2-makefile-flags.patch
 delete mode 100644 package/netplug/netplug-socklen-type.patch
 delete mode 100644 package/ng-spice-rework/Config.in
 delete mode 100644 package/ng-spice-rework/ng-spice-rework-17-makeidx.patch
 delete mode 100644 package/ng-spice-rework/ng-spice-rework.mk
 delete mode 100755 package/sysklogd/S25syslog
 delete mode 100644 package/sysklogd/sysklogd-susv3-legacy.patch
 delete mode 100644 package/sysklogd/sysklogd.patch
 create mode 100644 package/sysvinit/inittab
 delete mode 100644 package/sysvinit/sysvinit-2.86-gentoo.patch
 create mode 100644 package/xl2tp/Config.in
 rename package/{l2tp/l2tp-legacy.patch => xl2tp/xl2tp-1.2.7-legacy.patch} (86%)
 create mode 100644 package/xl2tp/xl2tp-1.2.7-makefile-flags.patch
 create mode 100644 package/xl2tp/xl2tp.mk
 rename package/{l2tp/l2tpd => xl2tp/xl2tpd} (76%)

Thanks,

Signature · 1 line
Thomas Petazzoni
#1 lore raw

PATCH 1/19 input-tools: convert to gentargets

From: Martin Banky <[email protected]>

---
 ...-rint.patch => input-tools-20051019-rint.patch} |    0
 package/input-tools/input-tools.mk                 |  102 ++++++++------------
 2 files changed, 41 insertions(+), 61 deletions(-)
 rename package/input-tools/{joystick-20051019-rint.patch => input-tools-20051019-rint.patch} (100%)
package/input-tools/input-tools-20051019-rint.patch renamed from package/input-tools/joystick-20051019-rint.patch +0 -0
similarity index 100%
rename from package/input-tools/joystick-20051019-rint.patch
rename to package/input-tools/input-tools-20051019-rint.patch
package/input-tools/input-tools.mk +41 -61

105 lines not on this page · raw message

Signature · 1 line
1.7.0.4
#2 lore raw

PATCH 2/19 mii-diag: convert to gentargets and bump to 2.11.3

In reply to Thomas Petazzoni

From: Martin Banky <[email protected]>

[ Thomas: minor fixes. ]

---
 package/mii-diag/Config.in             |    2 +-
 package/mii-diag/mii-diag-strchr.patch |    3 +
 package/mii-diag/mii-diag.mk           |   72 ++++++++++---------------------
 3 files changed, 27 insertions(+), 50 deletions(-)
package/mii-diag/Config.in +1 -1
index ea5fae4..ca48ba2 100644
@@ -1,4 +1,4 @@
-config BR2_PACKAGE_MIIDIAG
+config BR2_PACKAGE_MII_DIAG
 	bool "mii-diag"
 	help
 	  mii-diag allows you to manipulate the MII registers of
package/mii-diag/mii-diag-strchr.patch +3 -0
index 537c042..fcfeb3c 100644
@@ -1,3 +1,6 @@
+Use the strrchr() function instead of the deprecated rindex()
+function.
+
 --- mii-diag-2.11.orig/mii-diag.c.orig	2008-06-25 11:08:52.000000000 +1000
 +++ mii-diag-2.11.orig/mii-diag.c	2005-03-27 03:56:33.000000000 +1000
 @@ -174,7 +174,7 @@
package/mii-diag/mii-diag.mk +23 -49

82 lines not on this page · raw message

Signature · 1 line
1.7.0.4
#3 lore raw

PATCH 3/19 mrouted: convet to gentargets and bump to version 3.9.4

In reply to Thomas Petazzoni

From: Martin Banky <[email protected]>

mrouted is once again being actively developed.
See http://github.com/troglobit/mrouted

[ Thomas: bump to 3.9.4, patches updated, prefix fix. ]

---
 package/mrouted/Config.in                          |    5 +-
 .../mrouted-3.9-beta3-bcopy_bcmp_bzero.patch       |  164 --------------------
 package/mrouted/mrouted-3.9.4-bcopy.patch          |   26 +++
 package/mrouted/mrouted-3.9.4-makefile-flags.patch |   64 ++++++++
 package/mrouted/mrouted-sys_errlist.patch          |   44 ------
 package/mrouted/mrouted.mk                         |   60 ++------
 6 files changed, 110 insertions(+), 253 deletions(-)
 delete mode 100644 package/mrouted/mrouted-3.9-beta3-bcopy_bcmp_bzero.patch
 create mode 100644 package/mrouted/mrouted-3.9.4-bcopy.patch
 create mode 100644 package/mrouted/mrouted-3.9.4-makefile-flags.patch
 delete mode 100644 package/mrouted/mrouted-sys_errlist.patch
package/mrouted/Config.in +4 -1
index df3c567..1503cc6 100644
@@ -3,4 +3,7 @@ config BR2_PACKAGE_MROUTED
 	help
 	  An implementation of the DVMRP multicast routing protocol.
 
-	  http://freshmeat.net/projects/mrouted/
+	  If built with uClibc, then UCLIBC_SUPPORT_AI_ADDRCONFIG is
+	  needed in uClibc configuration.
+
+	  http://github.com/troglobit/mrouted
package/mrouted/mrouted-3.9-beta3-bcopy_bcmp_bzero.patch deleted +0 -164

164 lines not on this page · raw message

package/mrouted/mrouted-3.9.4-bcopy.patch new file +26 -0
new file mode 100644
index 0000000..73f8acc
@@ -0,0 +1,26 @@
+---
+ mtrace.c |    4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+Index: mrouted-3.9.4/mtrace.c
+===================================================================
+--- mrouted-3.9.4.orig/mtrace.c
++++ mrouted-3.9.4/mtrace.c
+@@ -556,7 +556,7 @@
+ 		save->rtime = ((tr.tv_sec + JAN_1970) << 16) +
+ 		    (tr.tv_usec << 10) / 15625;
+ 		save->len = len;
+-		bcopy((char *)igmp, (char *)&save->igmp, ipdatalen);
++		memmove((char *)igmp, (char *)&save->igmp, ipdatalen);
+ 	    }
+ 	    return recvlen;
+ 	}
+@@ -646,7 +646,7 @@
+ 	base.rtime = ((tr.tv_sec + JAN_1970) << 16) +
+ 	    (tr.tv_usec << 10) / 15625;
+ 	base.len = len;
+-	bcopy((char *)igmp, (char *)&base.igmp, ipdatalen);
++	memmove((char *)igmp, (char *)&base.igmp, ipdatalen);
+ 	/*
+ 	 * If the user specified which traces to monitor,
+ 	 * only accept traces that correspond to the
package/mrouted/mrouted-3.9.4-makefile-flags.patch new file +64 -0

64 lines not on this page · raw message

package/mrouted/mrouted-sys_errlist.patch deleted +0 -44

44 lines not on this page · raw message

package/mrouted/mrouted.mk +16 -44

68 lines not on this page · raw message

Signature · 1 line
1.7.0.4
#4 lore raw

PATCH 4/19 sysklogd: convert to gentargets and bump to 1.5

In reply to Thomas Petazzoni

From: Martin Banky <[email protected]>

Also, changed the site to Debian, to get the latest patches

[ Thomas: Minor fixes. Removed S25sysklogd since our default
/etc/inittab already starts klogd and sysklogd. ]

---
 package/sysklogd/S25syslog                   |   48 -------------
 package/sysklogd/sysklogd-susv3-legacy.patch |   20 ------
 package/sysklogd/sysklogd.mk                 |   95 ++++++++++++--------------
 package/sysklogd/sysklogd.patch              |   91 ------------------------
 4 files changed, 43 insertions(+), 211 deletions(-)
 delete mode 100755 package/sysklogd/S25syslog
 delete mode 100644 package/sysklogd/sysklogd-susv3-legacy.patch
 delete mode 100644 package/sysklogd/sysklogd.patch
package/sysklogd/S25syslog deleted +0 -48
deleted file mode 100755
index 793ac61..0000000
@@ -1,48 +0,0 @@
-#!/bin/sh
-#
-# Starts syslog.
-#
-
-
-
-umask 077
-
-start() {
- 	echo -n "Starting syslogd: "
-	start-stop-daemon -S -q -p /var/run/syslog.pid -x /sbin/syslogd -- -m 0
-	echo "OK"
-
-	echo -n "Starting klogd: "
-	start-stop-daemon -S -q -p /var/run/klogd.pid -x /sbin/klogd
-	echo "OK"
-}
-stop() {
-	echo -n "Stopping klogd: "
-	start-stop-daemon -K -n klogd
-	echo "OK"
-
-	echo -n "Stopping syslogd: "
-	start-stop-daemon -K -n syslogd
-	echo "OK"
-}
-restart() {
-	stop
-	start
-}
-
-case "$1" in
-  start)
-  	start
-	;;
-  stop)
-  	stop
-	;;
-  restart|reload)
-  	restart
-	;;
-  *)
-	echo $"Usage: $0 {start|stop|restart}"
-	exit 1
-esac
-
-exit $?
package/sysklogd/sysklogd-susv3-legacy.patch deleted +0 -20
deleted file mode 100644
index 7e9a294..0000000
@@ -1,20 +0,0 @@
-[PATCH] replace susv3 legacy functions with modern equivalents
-
-Signed-off-by: Peter Korsgaard <[email protected]>
----
- syslog.c |    2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-Index: sysklogd-1.4.1/syslog.c
-===================================================================
---- sysklogd-1.4.1.orig/syslog.c
-+++ sysklogd-1.4.1/syslog.c
-@@ -178,7 +178,7 @@
- 		return;
- 	(void)strcat(tbuf, "\r\n");
- 	cnt += 2;
--	p = index(tbuf, '>') + 1;
-+	p = strchr(tbuf, '>') + 1;
- 	(void)write(fd, p, cnt - (p - tbuf));
- 	(void)close(fd);
- }
package/sysklogd/sysklogd.mk +43 -52

102 lines not on this page · raw message

package/sysklogd/sysklogd.patch deleted +0 -91

91 lines not on this page · raw message

Signature · 1 line
1.7.0.4
#5 lore raw

PATCH 5/19 sysvint: convert to gentargets and bump to 2.88

In reply to Thomas Petazzoni

From: Martin Banky <[email protected]>

Also, changed the site to Debian, to get the latest patches

[ Thomas: add inittab compatible with sysvinit. Minor fixes. ]

---
 package/sysvinit/inittab                    |   32 ++++++++++++
 package/sysvinit/sysvinit-2.86-gentoo.patch |    9 ---
 package/sysvinit/sysvinit.mk                |   71 +++++++++++++--------------
 3 files changed, 66 insertions(+), 46 deletions(-)
 create mode 100644 package/sysvinit/inittab
 delete mode 100644 package/sysvinit/sysvinit-2.86-gentoo.patch
package/sysvinit/inittab new file +32 -0
new file mode 100644
index 0000000..3ea534d
@@ -0,0 +1,32 @@
+# /etc/inittab
+#
+# This inittab is a basic inittab sample for sysvinit, which mimics
+# Buildroot's default inittab for Busybox.
+id:1:initdefault:
+
+proc::sysinit:/bin/mount -t proc proc /proc
+rwmo::sysinit:/bin/mount -o remount,rw /
+dpts::sysinit:/bin/mkdir -p /dev/pts
+moun::sysinit:/bin/mount -a
+host::sysinit:/bin/hostname -F /etc/hostname
+init::sysinit:/etc/init.d/rcS
+
+1:1:respawn:/sbin/getty 38400 tty1
+2:1:respawn:/sbin/getty 38400 tty2
+
+# S0:1:respawn:/sbin/getty -L ttyS0 115200 vt100 # GENERIC_SERIAL
+
+# Logging junk
+mess::sysinit:/bin/touch /var/log/messages
+sysl:1:respawn:/sbin/syslogd -n -m 0
+klog:1:respawn:/sbin/klogd -n
+
+# Stuff to do for the 3-finger salute
+rebo::ctrlaltdel:/sbin/reboot
+
+# Stuff to do before rebooting
+sklo:6:wait:/usr/bin/killall klogd
+ssys:6:wait:/usr/bin/killall syslogd
+umou:6:wait:/bin/umount -a -r
+swap:6:wait:/sbin/swapoff -a
+
package/sysvinit/sysvinit-2.86-gentoo.patch deleted +0 -9
deleted file mode 100644
index 06b9e15..0000000
@@ -1,9 +0,0 @@
---- sysvinit/src/Makefile
-+++ sysvinit/src/Makefile
-@@ -10,5 +10,3 @@
- 
--CC	= gcc
--CFLAGS	= -Wall -O2 -fomit-frame-pointer -D_GNU_SOURCE
--LDFLAGS	= -s
-+CFLAGS	+= -Wall -D_GNU_SOURCE
- STATIC	=
package/sysvinit/sysvinit.mk +34 -37

84 lines not on this page · raw message

Signature · 1 line
1.7.0.4
#6 lore raw

PATCH 6/19 target: support generic getty with sysvinit inittabs

In reply to Thomas Petazzoni

In sysvinit inittab the "id" field (first field) must be no longer than 4 bytes, and is not used by init to determine the output terminal. Therefore, we adjust the strategy used to modify the inittab file according to the getty configuration.

---
 target/generic/Makefile.in |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)
target/generic/Makefile.in +12 -2
index 1ef2a9d..3a750c3 100644
@@ -11,10 +11,16 @@ target-generic-issue:
 	mkdir -p $(TARGET_DIR)/etc
 	echo "$(TARGET_GENERIC_ISSUE)" > $(TARGET_DIR)/etc/issue
 
-target-generic-getty:
+target-generic-getty-busybox:
 	$(SED) '/# GENERIC_SERIAL$$/s~^.*#~$(TARGET_GENERIC_GETTY)::respawn:/sbin/getty -L $(TARGET_GENERIC_GETTY) $(TARGET_GENERIC_GETTY_BAUDRATE) vt100 #~' \
 		$(TARGET_DIR)/etc/inittab
 
+# In sysvinit inittab, the "id" must not be longer than 4 bytes, so we
+# skip the "tty" part and keep only the remaining.
+target-generic-getty-sysvinit:
+	$(SED) '/# GENERIC_SERIAL$$/s~^.*#~$(shell echo $(TARGET_GENERIC_GETTY) | tail -c+4)::respawn:/sbin/getty -L $(TARGET_GENERIC_GETTY) $(TARGET_GENERIC_GETTY_BAUDRATE) vt100 #~' \
+		$(TARGET_DIR)/etc/inittab
+
 ifneq ($(TARGET_GENERIC_HOSTNAME),)
 TARGETS += target-generic-hostname
 endif
@@ -24,5 +30,9 @@ TARGETS += target-generic-issue
 endif
 
 ifeq ($(BR2_TARGET_GENERIC_GETTY),y)
-TARGETS += target-generic-getty
+ifeq ($(BR2_PACKAGE_SYSVINIT),y)
+TARGETS += target-generic-getty-sysvinit
+else
+TARGETS += target-generic-getty-busybox
+endif
 endif
Signature · 1 line
1.7.0.4
#7 lore raw

PATCH 7/19 lsof: convert to gentargets and bump to 4.84

In reply to Thomas Petazzoni

From: Martin Banky <[email protected]>

lsof is packaged as a tarball inside a .tar.bz2 package, so we have a post-extract hook to extract the source code tarball, so that for the next steps, lsof looks like a normal package.

---
 ...sof-makefile.patch => lsof-4.84-makefile.patch} |    4 +-
 ...f-noportmap.patch => lsof-4.84-noportmap.patch} |    4 +-
 ...flags.patch => lsof-4.84-override-cflags.patch} |    4 +-
 ...tch => lsof-4.84-remove-susvlegacy-funcs.patch} |    4 +-
 package/lsof/lsof-uclibc.patch                     |   12 ---
 package/lsof/lsof.mk                               |   96 ++++++++++----------
 6 files changed, 54 insertions(+), 70 deletions(-)
 rename package/lsof/{lsof-makefile.patch => lsof-4.84-makefile.patch} (62%)
 rename package/lsof/{lsof-noportmap.patch => lsof-4.84-noportmap.patch} (64%)
 rename package/lsof/{lsof-override-cflags.patch => lsof-4.84-override-cflags.patch} (66%)
 rename package/lsof/{lsof-remove-susvlegacy-funcs.patch => lsof-4.84-remove-susvlegacy-funcs.patch} (62%)
 delete mode 100644 package/lsof/lsof-uclibc.patch
package/lsof/lsof-4.84-makefile.patch renamed from package/lsof/lsof-makefile.patch +2 -2
similarity index 62%
rename from package/lsof/lsof-makefile.patch
rename to package/lsof/lsof-4.84-makefile.patch
index 2d4e9d4..65b1b2e 100644
@@ -1,6 +1,6 @@
 diff -ru lsof_4.81.orig/lsof_4.81_src/lib/Makefile.skel lsof_4.81/lsof_4.81_src/lib/Makefile.skel
---- lsof_4.81.orig/lsof_4.81_src/lib/Makefile.skel	2001-02-13 03:12:22.000000000 +0100
-+++ lsof_4.81/lsof_4.81_src/lib/Makefile.skel	2006-11-29 13:51:44.000000000 +0100
+--- a/lib/Makefile.skel	2001-02-13 03:12:22.000000000 +0100
++++ b/lib/Makefile.skel	2006-11-29 13:51:44.000000000 +0100
 @@ -21,8 +21,8 @@
  all:	${LIB}
  
package/lsof/lsof-4.84-noportmap.patch renamed from package/lsof/lsof-noportmap.patch +2 -2
similarity index 64%
rename from package/lsof/lsof-noportmap.patch
rename to package/lsof/lsof-4.84-noportmap.patch
index 4a37db4..984e0d8 100644
@@ -1,5 +1,5 @@
---- lsof_4.81/lsof_4.81_src/print.orig.c	2006-08-23 13:37:43.000000000 -0600
-+++ lsof_4.81/lsof_4.81_src/print.c	2006-08-23 13:38:29.000000000 -0600
+--- a/print.c	2006-08-23 13:37:43.000000000 -0600
++++ b/print.c	2006-08-23 13:38:29.000000000 -0600
 @@ -148,6 +148,7 @@
  static void
  fill_portmap()
package/lsof/lsof-4.84-override-cflags.patch renamed from package/lsof/lsof-override-cflags.patch +2 -2
similarity index 66%
rename from package/lsof/lsof-override-cflags.patch
rename to package/lsof/lsof-4.84-override-cflags.patch
index fcb9292..135e599 100644
@@ -1,5 +1,5 @@
---- lsof_4.81/lsof_4.81_src/Configure	2008-10-21 18:21:45.000000000 +0200
-+++ lsof_4.81/lsof_4.81_src/Configure	2010-11-03 14:00:00.000000000 +0100
+--- lsof_4.84/Configure	2008-10-21 18:21:45.000000000 +0200
++++ lsof_4.84/Configure	2010-11-03 14:00:00.000000000 +0100
 @@ -5206,6 +5206,10 @@
    cp $LSOF_MKFC ${LSOF_LIB}/$LSOF_LIBMKF
  fi	# }
package/lsof/lsof-4.84-remove-susvlegacy-funcs.patch renamed from package/lsof/lsof-remove-susvlegacy-funcs.patch +2 -2
similarity index 62%
rename from package/lsof/lsof-remove-susvlegacy-funcs.patch
rename to package/lsof/lsof-4.84-remove-susvlegacy-funcs.patch
index d1d9371..fca66ae 100644
@@ -1,6 +1,6 @@
 diff -rdup lsof_4.81.orig/lsof_4.81_src/dialects/linux/machine.h lsof_4.81/lsof_4.81_src/dialects/linux/machine.h
---- lsof_4.81.orig/lsof_4.81_src/dialects/linux/machine.h	2007-04-24 18:20:58.000000000 +0200
-+++ lsof_4.81/lsof_4.81_src/dialects/linux/machine.h	2007-05-15 12:17:03.000000000 +0200
+--- a/dialects/linux/machine.h	2007-04-24 18:20:58.000000000 +0200
++++ b/dialects/linux/machine.h	2007-05-15 12:17:03.000000000 +0200
 @@ -616,6 +616,6 @@
   * zeromem is a macro that uses bzero or memset.
   */
package/lsof/lsof-uclibc.patch deleted +0 -12
deleted file mode 100644
index 797a0ce..0000000
@@ -1,12 +0,0 @@
-diff -ru lsof_4.81.orig/lsof_4.81_src/dialects/linux/dlsof.h lsof_4.81/lsof_4.81_src/dialects/linux/dlsof.h
---- lsof_4.81.orig/lsof_4.81_src/dialects/linux/dlsof.h	2006-03-28 00:57:14.000000000 +0200
-+++ lsof_4.81/lsof_4.81_src/dialects/linux/dlsof.h	2006-11-29 14:03:07.000000000 +0100
-@@ -49,7 +49,7 @@
- #include <unistd.h>
- #include <netinet/in.h>
- 
--# if	defined(GLIBCV)
-+# if	defined(GLIBCV) || defined __UCLIBC__
- #include <netinet/tcp.h>
- # else	/* !defined(GLIBCV) */
- #include <linux/tcp.h>
package/lsof/lsof.mk +46 -50

114 lines not on this page · raw message

Signature · 1 line
1.7.0.4
#8 lore raw

PATCH 8/19 lvm2: convert to autotargets and bump to 2.02.78

In reply to Thomas Petazzoni

From: Martin Banky <[email protected]>

[ Thomas: simplifications and bump to 2.02.78 ]

---
 package/lvm2/lvm2.mk |  137 +++++++++++++------------------------------------
 1 files changed, 37 insertions(+), 100 deletions(-)
package/lvm2/lvm2.mk +37 -100
index 2bd6b8b..5c83d9d 100644
@@ -3,115 +3,52 @@
 # lvm2
 #
 #############################################################
-# Copyright (C) 2005 by Richard Downer <[email protected]>
-# Derived from work
-# Copyright (C) 2001-2005 by Erik Andersen <[email protected]>
-# Copyright (C) 2002 by Tim Riker <[email protected]>
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU Library General Public License as
-# published by the Free Software Foundation; either version 2 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Library General Public License for more details.
-#
-# You should have received a copy of the GNU Library General Public
-# License along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
-# USA
-
-LVM2_BASEVER=2.02
-LVM2_DMVER=1.02
-LVM2_PATCH=50
-LVM2_VERSION=$(LVM2_BASEVER).$(LVM2_PATCH)
-LVM2_SOURCE:=LVM2.$(LVM2_VERSION).tgz
-LVM2_SITE:=ftp://sources.redhat.com/pub/lvm2
-LVM2_CAT:=$(ZCAT)
-LVM2_DIR:=$(BUILD_DIR)/LVM2.$(LVM2_VERSION)
-LVM2_SBIN:=lvchange lvcreate lvdisplay lvextend lvm lvmchange lvmdiskscan lvmsadc lvmsar lvreduce lvremove lvrename lvresize lvs lvscan pvchange pvcreate pvdisplay pvmove pvremove pvresize pvs pvscan vgcfgbackup vgcfgrestore vgchange vgck vgconvert vgcreate vgdisplay vgexport vgextend vgimport vgmerge vgmknodes vgreduce vgremove vgrename vgs vgscan vgsplit
-LVM2_DMSETUP_SBIN:=dmsetup
-LVM2_LIB:=libdevmapper.so.$(LVM2_DMVER)
-LVM2_TARGET_SBINS=$(foreach lvm2sbin, $(LVM2_SBIN), $(TARGET_DIR)/sbin/$(lvm2sbin))
-LVM2_TARGET_DMSETUP_SBINS=$(foreach lvm2sbin, $(LVM2_DMSETUP_SBIN), $(TARGET_DIR)/sbin/$(lvm2sbin))
-LVM2_TARGET_LIBS=$(foreach lvm2lib, $(LVM2_LIB), $(TARGET_DIR)/lib/$(lvm2lib))
-
-$(DL_DIR)/$(LVM2_SOURCE):
-	 $(call DOWNLOAD,$(LVM2_SITE),$(LVM2_SOURCE))
-
-lvm2-source: $(DL_DIR)/$(LVM2_SOURCE)
-
+LVM2_VERSION = 2.02.78
+LVM2_SOURCE = LVM2.$(LVM2_VERSION).tgz
+LVM2_SITE = ftp://sources.redhat.com/pub/lvm2
+LVM2_INSTALL_STAGING = YES
+
+LVM2_BINS = \
+	dmsetup fsadm lvm lvmconf lvmdump vgimportclone \
+	lvchange lvconvert lvcreate lvdisplay lvextend 	\
+	lvmchange lvmdiskscan lvmsadc lvmsar lvreduce  	\
+	lvremove lvrename lvresize lvs lvscan pvchange 	\
+	pvck pvcreate pvdisplay pvmove pvremove 	\
+	pvresize pvs pvscan vgcfgbackup vgcfgrestore 	\
+	vgchange vgck vgconvert vgcreate vgdisplay 	\
+	vgexport vgextend vgimport vgmerge vgmknodes 	\
+	vgreduce vgremove vgrename vgs vgscan vgsplit
+
+# Make sure that binaries and libraries are installed with write
+# permissions for the owner.
+LVM2_CONF_OPT += --enable-write_install
+
+# LVM2 uses autoconf, but not automake, and the build system does not
+# take into account the CC passed at configure time.
+LVM2_MAKE_ENV = CC="$(TARGET_CC)"
 
 ifeq ($(BR2_PACKAGE_READLINE),y)
-LVM2_DEPENDENCIES+=readline
+LVM2_DEPENDENCIES += readline
 else
 # v2.02.44: disable readline usage, or binaries are linked against provider
 # of "tgetent" (=> ncurses) even if it's not used..
-LVM2_CONF_OPT+=--disable-readline
+LVM2_CONF_OPT += --disable-readline
 endif
 
-
-$(LVM2_DIR)/.unpacked: $(DL_DIR)/$(LVM2_SOURCE)
-	$(LVM2_CAT) $(DL_DIR)/$(LVM2_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
-	touch $(LVM2_DIR)/.unpacked
-
-$(LVM2_DIR)/.configured: $(LVM2_DIR)/.unpacked
-	(cd $(LVM2_DIR); rm -rf config.cache; \
-		$(TARGET_CONFIGURE_OPTS) \
-		$(TARGET_CONFIGURE_ARGS) \
-		./configure $(QUIET) \
-		--target=$(GNU_TARGET_NAME) \
-		--host=$(GNU_TARGET_NAME) \
-		--build=$(GNU_HOST_NAME) \
-		$(DISABLE_NLS) \
-		$(DISABLE_LARGEFILE) \
-		--with-user=$(shell id -un) --with-group=$(shell id -gn) \
-		$(LVM2_CONF_OPT) \
-	)
-	touch $(LVM2_DIR)/.configured
-
-
-$(LVM2_DIR)/.built: $(LVM2_DIR)/.configured
-	$(MAKE1) -C $(LVM2_DIR) DESTDIR=$(STAGING_DIR)
-	$(MAKE1) -C $(LVM2_DIR) DESTDIR=$(STAGING_DIR) install
-	# Fixup write permissions so that the files can be overwritten
-	# several times in the $(TARGET_DIR)
-	chmod 755 $(STAGING_DIR)/sbin/lvm
-	chmod 755 $(STAGING_DIR)/sbin/dmsetup
-	chmod 644 $(STAGING_DIR)/lib/$(LVM2_LIB)
-	touch $(LVM2_DIR)/.built
-
-
-$(LVM2_TARGET_SBINS) $(LVM2_TARGET_DMSETUP_SBINS): $(LVM2_DIR)/.built
-	cp -a $(STAGING_DIR)/sbin/$(notdir $@) $@
-	touch $@
-
-$(LVM2_TARGET_LIBS): $(LVM2_DIR)/.built
-	cp -a $(STAGING_DIR)/lib/$(notdir $@) $@
-	touch $@
-
-
 ifeq ($(BR2_PACKAGE_LVM2_DMSETUP_ONLY),y)
-lvm2: $(LVM2_TARGET_DMSETUP_SBINS) $(LVM2_TARGET_LIBS)
-else
-lvm2: $(LVM2_TARGET_SBINS) $(LVM2_TARGET_DMSETUP_SBINS) $(LVM2_TARGET_LIBS)
+LVM2_MAKE_OPT = device-mapper
+LVM2_INSTALL_STAGING_OPT = DESTDIR=$(STAGING_DIR) install_device-mapper
+LVM2_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install_device-mapper
 endif
 
+define LVM2_UNINSTALL_STAGING_CMDS
+	rm -f $(addprefix $(STAGING_DIR)/usr/sbin/,$(LVM2_BINS))
+	rm -f $(addprefix $(STAGING_DIR)/usr/lib/,libdevmapper.so*)
+endef
 
-lvm2-clean:
-	$(MAKE) DESTDIR=$(TARGET_DIR) -C $(LVM2_DIR) uninstall
-	-$(MAKE) -C $(LVM2_DIR) clean
-
-lvm2-dirclean:
-	rm -rf $(LVM2_DIR)
+define LVM2_UNINSTALL_TARGET_CMDS
+	rm -f $(addprefix $(TARGET_DIR)/usr/sbin/,$(LVM2_BINS))
+	rm -f $(addprefix $(TARGET_DIR)/usr/lib/,libdevmapper.so*)
+endef
 
-#############################################################
-#
-# Toplevel Makefile options
-#
-#############################################################
-ifeq ($(BR2_PACKAGE_LVM2),y)
-TARGETS+=lvm2
-endif
+$(eval $(call AUTOTARGETS,package,lvm2))
Signature · 1 line
1.7.0.4
#9 lore raw

PATCH 9/19 memtester: convert to gentargets and bump to 4.2.1

In reply to Thomas Petazzoni

From: Martin Banky <[email protected]>

Also, memtester requires largefile support

[ Thomas: add patch to fix memtester's Makefile at installation
stage. Bump to 4.2.1. ]

---
 package/memtester/Config.in                        |    4 ++
 .../memtester/memtester-4.2.1-makefile-fix.patch   |   23 ++++++++
 package/memtester/memtester.mk                     |   54 +++++++-------------
 3 files changed, 45 insertions(+), 36 deletions(-)
 create mode 100644 package/memtester/memtester-4.2.1-makefile-fix.patch
package/memtester/Config.in +4 -0
index 7a504dc..82769f5 100644
@@ -1,6 +1,10 @@
 config BR2_PACKAGE_MEMTESTER
 	bool "memtester"
+	depends on BR2_LARGEFILE
 	help
 	  A userspace utility for testing the memory subsystem for faults.
 
 	  http://pyropus.ca/software/memtester/
+
+comment "memtester requires a toolchain with LARGEFILE support"
+       depends on !BR2_LARGEFILE
package/memtester/memtester-4.2.1-makefile-fix.patch new file +23 -0
new file mode 100644
index 0000000..6f1481b
@@ -0,0 +1,23 @@
+The a/{b,c} construct doesn't work within make, so let's split the
+creation of the installation directories in two commands.
+
+Signed-off-by: Thomas Petazzoni <[email protected]>
+---
+ Makefile |    3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+Index: memtester-4.2.1/Makefile
+===================================================================
+--- memtester-4.2.1.orig/Makefile
++++ memtester-4.2.1/Makefile
+@@ -25,8 +25,9 @@
+ all: memtester
+ 
+ install: all
+-	mkdir -m 755 -p $(INSTALLPATH)/{bin,man/man8}
++	mkdir -m 755 -p $(INSTALLPATH)/bin
+ 	install -m 755 memtester $(INSTALLPATH)/bin/
++	mkdir -m 755 -p $(INSTALLPATH)/man/man8
+ 	gzip -c memtester.8 >memtester.8.gz ; install -m 644 memtester.8.gz $(INSTALLPATH)/man/man8/
+ 
+ auto-ccld.sh: \
package/memtester/memtester.mk +18 -36

63 lines not on this page · raw message

Signature · 1 line
1.7.0.4
#10 lore raw

PATCH 10/19 microcom: remove package

In reply to Thomas Petazzoni

This package has been marked deprecated some time ago, because it has been integrated into Busybox. Let's get rid of it now.

---
 package/Config.in                                  |    3 -
 package/microcom/Config.in                         |    7 --
 .../microcom/microcom-102-001-speed-defines.patch  |   34 ---------
 .../microcom-102-002-rename-variable-log.patch     |   78 --------------------
 package/microcom/microcom.mk                       |   71 ------------------
 5 files changed, 0 insertions(+), 193 deletions(-)
 delete mode 100644 package/microcom/Config.in
 delete mode 100644 package/microcom/microcom-102-001-speed-defines.patch
 delete mode 100644 package/microcom/microcom-102-002-rename-variable-log.patch
 delete mode 100644 package/microcom/microcom.mk
package/Config.in +0 -3
index 10d8918..32145d0 100644
@@ -388,9 +388,6 @@ source "package/lighttpd/Config.in"
 endif
 source "package/links/Config.in"
 source "package/lrzsz/Config.in"
-if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
-source "package/microcom/Config.in"
-endif
 source "package/mii-diag/Config.in"
 source "package/mrouted/Config.in"
 source "package/mutt/Config.in"
package/microcom/Config.in deleted +0 -7
deleted file mode 100644
index bf9f5df..0000000
@@ -1,7 +0,0 @@
-config BR2_PACKAGE_MICROCOM
-	depends on BR2_DEPRECATED
-	bool "microcom"
-	help
-	  A minicom-like serial terminal emulator with scripting support.
-
-	  http://microcom.port5.com/
package/microcom/microcom-102-001-speed-defines.patch deleted +0 -34
deleted file mode 100644
index b9aece8..0000000
@@ -1,34 +0,0 @@
-diff -rdup microcom-1.02.orig/help.c microcom-1.02/help.c
---- microcom-1.02.orig/help.c	2000-07-30 06:15:47.000000000 +0200
-+++ microcom-1.02/help.c	2007-01-19 19:44:19.000000000 +0100
-@@ -273,12 +273,29 @@ static void help_set_speed(int fd, char 
-     B19200,
-     B38400,
-     B57600,
-+#if defined B115200
-     B115200,
-+#endif
-+#if defined B230400
-     B230400,
-+#endif
-+#if defined B460800
-     B460800
-+#endif
-   };
-+#undef __STOPCHAR
-+#if defined B115200
-+#define __STOPCHAR 'h'
-+#endif
-+#if defined B230400
-+#define __STOPCHAR 'i'
-+#endif
-+#if defined B460800
-+#define __STOPCHAR 'j'
-+#endif
- 
--  if (c < 'a' && c > 'j') {
-+
-+  if (c < 'a' && c > __STOPCHAR) {
-     if (c == '~') {
-       help_speed();
-       return;
package/microcom/microcom-102-002-rename-variable-log.patch deleted +0 -78

78 lines not on this page · raw message

package/microcom/microcom.mk deleted +0 -71

71 lines not on this page · raw message

Signature · 1 line
1.7.0.4
#11 lore raw

PATCH 11/19 ng-spice-rework: remove package

In reply to Thomas Petazzoni

This package has been marked deprecated in October, and no-one complained. Moreover, it doesn't sound like a package that is widely used on embedded systems. So we get rid of it.

---
 package/Config.in                                  |    1 -
 package/ng-spice-rework/Config.in                  |    9 ---------
 .../ng-spice-rework-17-makeidx.patch               |   12 ------------
 package/ng-spice-rework/ng-spice-rework.mk         |   18 ------------------
 4 files changed, 0 insertions(+), 40 deletions(-)
 delete mode 100644 package/ng-spice-rework/Config.in
 delete mode 100644 package/ng-spice-rework/ng-spice-rework-17-makeidx.patch
 delete mode 100644 package/ng-spice-rework/ng-spice-rework.mk
package/Config.in +0 -1
index 32145d0..70c807b 100644
@@ -352,7 +352,6 @@ endmenu
 endmenu
 
 menu "Miscellaneous"
-source "package/ng-spice-rework/Config.in"
 source "package/shared-mime-info/Config.in"
 endmenu
 
package/ng-spice-rework/Config.in deleted +0 -9
deleted file mode 100644
index de5d091..0000000
@@ -1,9 +0,0 @@
-config BR2_PACKAGE_NG_SPICE_REWORK
-	bool "ng-spice-rework"
-	depends on BR2_DEPRECATED
-	depends on BR2_PACKAGE_XORG7
-	select BR2_PACKAGE_XLIB_LIBXAW
-	help
-	  Ngspice is a mixed-level/mixed-signal circuit simulator.
-
-	  http://superb-west.dl.sourceforge.net/sourceforge/ngspice
package/ng-spice-rework/ng-spice-rework-17-makeidx.patch deleted +0 -12
deleted file mode 100644
index dcce6ce..0000000
@@ -1,12 +0,0 @@
---- a/src/Makefile.in	2005-08-30 03:58:00.000000000 -0400
-+++ b/src/Makefile.in	2008-02-13 14:38:04.000000000 -0500
-@@ -882,7 +882,8 @@ spice.o: main.c
- 		$(COMPILE) -DSIMULATOR -o spice.o  -c $(srcdir)/main.c
- 
- ngspice.idx: makeidx
--	./makeidx $(srcdir)/ngspice.txt
-+	gcc -I/usr/include -I.. -I./include $(makeidx_SOURCES) -o makeidx-host
-+	./makeidx-host $(srcdir)/ngspice.txt
- # Tell versions [3.59,3.63) of GNU make to not export all variables.
- # Otherwise a system limit (for SysV at least) may be exceeded.
- .NOEXPORT:
package/ng-spice-rework/ng-spice-rework.mk deleted +0 -18
deleted file mode 100644
index 113b59d..0000000
@@ -1,18 +0,0 @@
-#############################################################
-#
-# ng-spice-rework
-#
-#############################################################
-NG_SPICE_REWORK_VERSION = 17
-NG_SPICE_REWORK_SOURCE = ng-spice-rework-$(NG_SPICE_REWORK_VERSION).tar.gz
-NG_SPICE_REWORK_SITE = http://superb-west.dl.sourceforge.net/sourceforge/ngspice
-NG_SPICE_REWORK_AUTORECONF = NO
-NG_SPICE_REWORK_INSTALL_STAGING = NO
-NG_SPICE_REWORK_INSTALL_TARGET = YES
-
-NG_SPICE_REWORK_CONF_OPT = CFLAGS="-I$(STAGING_DIR)/usr/include"
-
-NG_SPICE_REWORK_DEPENDENCIES = xserver_xorg-server xlib_libXaw
-
-$(eval $(call AUTOTARGETS,package,ng-spice-rework))
-
Signature · 1 line
1.7.0.4
#12 lore raw

PATCH 12/19 libfloat: remove package

In reply to Thomas Petazzoni

This package has been marked deprecated in Buildroot last year, no-one complained, and it isn't developed upstream anymore. So get rid of it.

---
 package/Config.in               |    1 -
 package/libfloat/Config.in      |    8 -----
 package/libfloat/libfloat.mk    |   65 ---------------------------------------
 package/libfloat/libfloat.patch |   45 ---------------------------
 4 files changed, 0 insertions(+), 119 deletions(-)
 delete mode 100644 package/libfloat/Config.in
 delete mode 100644 package/libfloat/libfloat.mk
 delete mode 100644 package/libfloat/libfloat.patch
package/Config.in +0 -1
index 70c807b..8c11838 100644
@@ -322,7 +322,6 @@ source "package/libcap/Config.in"
 source "package/libdaemon/Config.in"
 source "package/libelf/Config.in"
 source "package/libevent/Config.in"
-source "package/libfloat/Config.in"
 source "package/libglib2/Config.in"
 source "package/liboil/Config.in"
 source "package/startup-notification/Config.in"
package/libfloat/Config.in deleted +0 -8
deleted file mode 100644
index 3df9334..0000000
@@ -1,8 +0,0 @@
-config BR2_PACKAGE_LIBFLOAT
-	bool "libfloat"
-	depends on BR2_DEPRECATED
-	help
-	 Soft floating point library.
-	
-	 http://netwinder.osuosl.org/devteam/scottb/libfloat/
-
package/libfloat/libfloat.mk deleted +0 -65

65 lines not on this page · raw message

package/libfloat/libfloat.patch deleted +0 -45

45 lines not on this page · raw message

Signature · 1 line
1.7.0.4
#13 lore raw

PATCH 13/19 hotplug: remove package

In reply to Thomas Petazzoni

The package has been marked deprecated, is no longer developed upstream, so let's get rid of it.

---
 package/Config.in                   |    1 -
 package/hotplug/Config.in           |    7 -----
 package/hotplug/diethotplug-0.5.tar |  Bin 40960 -> 0 bytes
 package/hotplug/hotplug.mk          |   45 -----------------------------------
 4 files changed, 0 insertions(+), 53 deletions(-)
 delete mode 100644 package/hotplug/Config.in
 delete mode 100644 package/hotplug/diethotplug-0.5.tar
 delete mode 100644 package/hotplug/hotplug.mk
package/Config.in +0 -1
index 8c11838..1d85af1 100644
@@ -169,7 +169,6 @@ source "package/gvfs/Config.in"
 source "package/hal/Config.in"
 if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
 source "package/hdparm/Config.in"
-source "package/hotplug/Config.in"
 endif
 source "package/hwdata/Config.in"
 source "package/i2c-tools/Config.in"
package/hotplug/Config.in deleted +0 -7
deleted file mode 100644
index 48f1d71..0000000
@@ -1,7 +0,0 @@
-config BR2_PACKAGE_HOTPLUG
-	bool "hotplug"
-	depends on BR2_DEPRECATED
-	help
-	  Plug in new devices and use them immediately.
-
-	  http://linux-hotplug.sourceforge.net/
package/hotplug/diethotplug-0.5.tar deleted binary +0 -0
deleted file mode 100644
index 80886707097c1a5bd334c90966e5e4f2f3854c56..0000000000000000000000000000000000000000
GIT binary patch

z504Jo&LmhiGy*Khy>D!2hF|Yfr!SFU=;l7F-3!c at XowoNDOHRA4F%!=H5niZ~v(M zq5YqmNA0~@dD$1PELWkKog*_wItA+Xda4YBv$+W*=jgNW%HtEJ-tpVHeTOfe<}W1 ztyCZ*q40aBk*J}E+DkdAF4(AvmtqinsaAj5JlJjTzB{Cn?HHfA^BI*N at KW3ntc^ zG$9+4XmUCBlj_#noy~WL4_IM!Puu615YU5Gy~V3HFIA82p?#BEo1Qm_7nRrikKK zgMt4)qW*nd)_h;*E|!)WB*#nDiX26Vhr|bsA(3KTG*3ixTaMV=?!4PQ?i}tNA8fU% zm7Q(IjT$w78aA5eUK}<dGNUN0R+wd5AGX1 at Rbn^|1hNKU&+nZ39Y}RYt{Dhpl^9ft z#P@ZZWk6~Wje<#Y5PKuPIgVJUfnq6Y;N~pszOOT?=of&^*dIk_elziTWxiSgHGyn zm}co?mH1&l7(fug#uq~Q5Y?*sVoFwe)ryoY{AHRgfy|10OS;kk7Q1Ff(Dv|2BKQ+ z4Sg?sQLV%y(ToSs16X^ig;-ws=taL&t7Te#QC>m;OX0KsrwF>zD}ldB at ofA5^a=TV zuK)Ms*p^5+pN!U$@Qba#bwrWrVdV_<2*D!5Jp=91X;3LOM*ZG4|IzocqCk at R4U zCM&AhRy4khgOk&VsKb_Qz}*w?V*f<^M;v*l&G%kB8Nqn|aDuYGf1<J#=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rnc)~!n{ z<xBQ*7W(KcT|TNzrpzGAYBXTZq;qzFq?iy;AM8_u*!)XpMYu3EVE+_Xab+$}EzvK+ z(5+o3QN*J>IAZ8vC15y8Jss}4u0<>!sQoN<Bp1qR;i%V(9plWCz=6%C}5*>eV9q zh9<kRR5Hcxs2=4sUP<+=k|tUG6!l>AN;%%KDezEtf6)pHDo+iTOUY4C|5%_y#Cg{ zS3oV+g at U?81+}_RP}s!!|5s41VRV)*z)@-Fn3nBXg6?wO8h4>8;z;*Qu6vq5)- zv+LlR4a7mXgZ}I8^Hy4zx(dF_E8$+B-3%1;w$8|cZb^oE$_}mKB^u2jdUlVv?g%) z)Q?AyN2I3Z45mVvI;NgFO$rcxB{}<qw6hUzTP<sE!10BbO@J>aD=&Eexl1jaZxJ& zA{vns_gpeyso;U81?)!1_HlhAm3~zVo1~&WPe(_i|*JyTLD;NGHu|uBMjYmPfj z2z38cmwSo)%K~foRW_Qs%tg?Jj{GhsZU?8Ejc|P<Za}5qapYp)%s=r&FLzQS|HALl z6;_!^@jc~d7+3+}M?%*0lXhfz@OpE7NsTY(LfENG@?^e&M$t|1?u0iTPE-RN&wQ= zb;S0%zooT+Ur=B{fdvH?6j)GTL4gGY78F=eU_pTe1r)oP+&oU1qBuqSWsX=fdvH? z6j)GTL4gGY78F=eU_pTe1r)oP+&oU1qBuqSWsX=fdvH?6j)GTL4gGYeh&)#9~+}2 AQvd(}

package/hotplug/hotplug.mk deleted +0 -45

45 lines not on this page · raw message

Signature · 1 line
1.7.0.4
#14 lore raw

PATCH 14/19 alsa-utils: convert to autotargets and bump to 1.0.23

In reply to Thomas Petazzoni

From: Martin Banky <[email protected]>

[ Thomas: remove all patches, since they have been merged. Implement
the target uninstallation step, fix many issues. ]

---
 ...tils-1.0.18-check-if-__use_bsd-is-defined.patch |   13 ---
 .../alsa-utils-1.0.18-fix-intl-support.patch       |   11 --
 .../alsa-utils-1.0.18-fix_sysv_legacy.patch        |   20 ----
 .../alsa-utils/alsa-utils-1.0.18-remove_man.patch  |   11 --
 package/multimedia/alsa-utils/alsa-utils.mk        |   99 +++++---------------
 5 files changed, 24 insertions(+), 130 deletions(-)
 delete mode 100644 package/multimedia/alsa-utils/alsa-utils-1.0.18-check-if-__use_bsd-is-defined.patch
 delete mode 100644 package/multimedia/alsa-utils/alsa-utils-1.0.18-fix-intl-support.patch
 delete mode 100644 package/multimedia/alsa-utils/alsa-utils-1.0.18-fix_sysv_legacy.patch
 delete mode 100644 package/multimedia/alsa-utils/alsa-utils-1.0.18-remove_man.patch
package/multimedia/alsa-utils/alsa-utils-1.0.18-check-if-__use_bsd-is-defined.patch deleted +0 -13
deleted file mode 100644
index f0d3209..0000000
@@ -1,13 +0,0 @@
-Index: alsa-utils-1.0.18/alsactl/init_sysdeps.c
-===================================================================
---- alsa-utils-1.0.18.orig/alsactl/init_sysdeps.c	2008-12-01 08:27:16.000000000 +0100
-+++ alsa-utils-1.0.18/alsactl/init_sysdeps.c	2008-12-01 08:27:22.000000000 +0100
-@@ -17,7 +17,7 @@
-  *
-  */
- 
--#ifdef __GLIBC__
-+#if defined(__GLIBC__) && !defined(__USE_BSD)
- static size_t strlcpy(char *dst, const char *src, size_t size)
- {
- 	size_t bytes = 0;
package/multimedia/alsa-utils/alsa-utils-1.0.18-fix-intl-support.patch deleted +0 -11
deleted file mode 100644
index 317c472..0000000
@@ -1,11 +0,0 @@
---- a/seq/aseqnet/Makefile.in
-+++ b/seq/aseqnet/Makefile.in
-@@ -252,7 +252,7 @@ clean-binPROGRAMS:
- 	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
- aseqnet$(EXEEXT): $(aseqnet_OBJECTS) $(aseqnet_DEPENDENCIES) 
- 	@rm -f aseqnet$(EXEEXT)
--	$(LINK) $(aseqnet_LDFLAGS) $(aseqnet_OBJECTS) $(aseqnet_LDADD) $(LIBS)
-+	$(LINK) $(aseqnet_LDFLAGS) $(aseqnet_OBJECTS) $(aseqnet_LDADD) $(LIBS) $(INTLLIBS)
- 
- mostlyclean-compile:
- 	-rm -f *.$(OBJEXT)
package/multimedia/alsa-utils/alsa-utils-1.0.18-fix_sysv_legacy.patch deleted +0 -20
deleted file mode 100644
index c6135b4..0000000
@@ -1,20 +0,0 @@
---- a/alsactl/init_parse.c	2009-01-15 10:44:48.000000000 +0000
-+++ b/alsactl/init_parse.c	2009-01-15 10:46:41.000000000 +0000
-@@ -381,7 +381,7 @@ static int set_ctl_value(struct space *s
- 				snd_ctl_elem_value_set_integer(space->ctl_value, idx, val);
- 			} else if (items > 2 && value[items-2] == 'd' && value[items-1] == 'B') {
- 				val = strtol(value, NULL, 0) * 100;
--				if ((pos2 = index(value, '.')) != NULL) {
-+				if ((pos2 = strchr(value, '.')) != NULL) {
- 					if (isdigit(*(pos2-1)) && isdigit(*(pos2-2))) {
- 						if (val < 0)
- 							val -= strtol(pos2 + 1, NULL, 0);
-@@ -1253,7 +1253,7 @@ static char *new_root_dir(const char *fi
- 
- 	res = strdup(filename);
- 	if (res) {
--		tmp = rindex(res, '/');
-+		tmp = strrchr(res, '/');
- 		if (tmp)
- 			*tmp = '\0';
- 	}
package/multimedia/alsa-utils/alsa-utils-1.0.18-remove_man.patch deleted +0 -11
deleted file mode 100644
index a7d4679..0000000
@@ -1,11 +0,0 @@
---- a/alsactl/Makefile.in	2009-01-15 10:59:38.000000000 +0000
-+++ b/alsactl/Makefile.in	2009-01-15 10:59:34.000000000 +0000
-@@ -204,7 +204,7 @@ sharedstatedir = @sharedstatedir@
- sysconfdir = @sysconfdir@
- target_alias = @target_alias@
- SUBDIRS = init
--man_MANS = alsactl.1 alsactl_init.7
-+man_MANS = alsactl.1
- EXTRA_DIST = alsactl.1 alsactl_init.xml
- alsactl_SOURCES = alsactl.c state.c utils.c init_parse.c
- noinst_HEADERS = alsactl.h list.h init_sysdeps.c init_utils_string.c init_utils_run.c init_sysfs.c
package/multimedia/alsa-utils/alsa-utils.mk +24 -75

120 lines not on this page · raw message

Signature · 1 line
1.7.0.4
#15 lore raw

PATCH 15/19 netplug: convert to gentargets and bump to 1.2.9.2

In reply to Thomas Petazzoni

From: Martin Banky <[email protected]>

---
 package/netplug/netplug-1.2.9-disable-werror.patch |   22 --------
 .../netplug/netplug-1.2.9.2-makefile-flags.patch   |   21 ++++++++
 package/netplug/netplug-socklen-type.patch         |   12 -----
 package/netplug/netplug.mk                         |   53 +++++--------------
 4 files changed, 35 insertions(+), 73 deletions(-)
 delete mode 100644 package/netplug/netplug-1.2.9-disable-werror.patch
 create mode 100644 package/netplug/netplug-1.2.9.2-makefile-flags.patch
 delete mode 100644 package/netplug/netplug-socklen-type.patch
package/netplug/netplug-1.2.9-disable-werror.patch deleted +0 -22
deleted file mode 100644
index d8a3e15..0000000
@@ -1,22 +0,0 @@
-netplug uses nested functions, and gcc generates a warning that
-is turned into an error:
-
-cc1: warnings being treated as errors
-if_info.c: In function 'ifsm_scriptdone':
-if_info.c:289: error: generating trampoline in object (requires executable stack)
-
-Signed-off-by: Thomas Petazzoni <[email protected]>
-
-Index: netplug-1.2.9/Makefile
-===================================================================
---- netplug-1.2.9.orig/Makefile	2010-05-09 21:07:40.000000000 +0200
-+++ netplug-1.2.9/Makefile	2010-05-09 21:09:32.000000000 +0200
-@@ -9,7 +9,7 @@
- 
- install_opts :=
- 
--CFLAGS += -Wall -Werror -std=gnu99 -DNP_ETC_DIR='"$(etcdir)"' \
-+CFLAGS += -Wall -std=gnu99 -DNP_ETC_DIR='"$(etcdir)"' \
- 	-DNP_SCRIPT_DIR='"$(scriptdir)"' -ggdb3 -O3 -DNP_VERSION='"$(version)"'
- 
- netplugd: config.o netlink.o lib.o if_info.o main.o
package/netplug/netplug-1.2.9.2-makefile-flags.patch new file +21 -0
new file mode 100644
index 0000000..b2468f8
@@ -0,0 +1,21 @@
+Preserve the cflags settings, because buildroot clobbers them.
+
+--- a/Makefile	2010-10-05 00:06:38.000000000 -0700
++++ b/Makefile	2010-10-05 00:15:27.000000000 -0700
+@@ -11,11 +11,14 @@ mandir ?= $(prefix)/usr/share/man
+ 
+ install_opts :=
+ 
+-CFLAGS += -Wall -std=gnu99 -DNP_ETC_DIR='"$(etcdir)"' \
++NETPLUG_CFLAGS += -Wall -std=gnu99 -DNP_ETC_DIR='"$(etcdir)"' \
+ 	-DNP_SCRIPT_DIR='"$(scriptdir)"' -ggdb3 -O3 -DNP_VERSION='"$(version)"'
+ 
++%.o: %.c
++	$(CC) $(NETPLUG_CFLAGS) $(CFLAGS) -c -o $@ $<
++
+ netplugd: config.o netlink.o lib.o if_info.o main.o
+-	$(CC) $(LDFLAGS) -o $@ $^
++	$(CC) $(LDFLAGS) -o $@ $(NETPLUG_CFLAGS) $^
+ 
+ install:
+ 	install -d $(install_opts) -m 755 \
package/netplug/netplug-socklen-type.patch deleted +0 -12
deleted file mode 100644
index 1e36988..0000000
@@ -1,12 +0,0 @@
-diff -ur netplug-1.2.9/netlink.c netplug-1.2.9-patched/netlink.c
---- netplug-1.2.9/netlink.c	2005-01-07 23:57:09.000000000 -0600
-+++ netplug-1.2.9-patched/netlink.c	2008-02-27 20:18:09.855767996 -0600
-@@ -284,7 +284,7 @@
-         exit(1);
-     }
- 
--    int addr_len = sizeof(addr);
-+    socklen_t addr_len = sizeof(addr);
- 
-     if (getsockname(fd, (struct sockaddr *) &addr, &addr_len) == -1) {
-         do_log(LOG_ERR, "Could not get socket details: %m");
package/netplug/netplug.mk +14 -39

65 lines not on this page · raw message

Signature · 1 line
1.7.0.4
#16 lore raw

PATCH 16/19 libaio: add patch to support AVR32

In reply to Thomas Petazzoni
---
 package/libaio/libaio-0.3.109-avr32-support.patch |  122 +++++++++++++++++++++
 1 files changed, 122 insertions(+), 0 deletions(-)
 create mode 100644 package/libaio/libaio-0.3.109-avr32-support.patch
package/libaio/libaio-0.3.109-avr32-support.patch new file +122 -0
new file mode 100644
index 0000000..57bb1f3
@@ -0,0 +1,122 @@
+Add AVR32 support to libaio
+
+Taken from OpenWRT repository.
+
+--- a/src/libaio.h
++++ b/src/libaio.h
+@@ -107,6 +107,10 @@ typedef enum io_iocb_cmd {
+ #  else
+ #    error "neither mipseb nor mipsel?"
+ #  endif
++#elif defined(__avr32__) /* big endian, 32 bits */
++#define PADDED(x, y)	unsigned y; x
++#define PADDEDptr(x, y)	unsigned y; x
++#define PADDEDul(x, y)	unsigned y; unsigned long x;
+ #else
+ #error	endian?
+ #endif
+--- /dev/null
++++ b/src/syscall-avr32.h
+@@ -0,0 +1,91 @@
++/*
++ * Copyright (C) 2007 Atmel Corporation
++ *
++ * This program is free software; you can redistribute it and/or modify
++ * it under the terms of the GNU General Public License version 2 as
++ * published by the Free Software Foundation.
++ */
++
++#define __NR_io_setup		197
++#define __NR_io_destroy		198
++#define __NR_io_getevents	199
++#define __NR_io_submit		200
++#define __NR_io_cancel		201
++
++#define io_syscall1(type,fname,sname,type1,arg1)			\
++type fname(type1 arg1)							\
++{									\
++	register long __r12 __asm__("r12") = (long)arg1;		\
++	register long __res_r12 __asm__("r12");				\
++	register long __scno __asm__("r8") = __NR_##sname;		\
++	__asm__ __volatile__("scall"					\
++			     : "=r"(__res_r12)				\
++			     : "0"(__r12), "r"(__scno)			\
++			     : "memory");				\
++	return (type) __res_r12;					\
++}
++
++#define io_syscall2(type,fname,sname,type1,arg1,type2,arg2)		\
++type fname(type1 arg1, type2 arg2)					\
++{									\
++	register long __r12 __asm__("r12") = (long)arg1;		\
++	register long __r11 __asm__("r11") = (long)arg2;		\
++	register long __res_r12 __asm__("r12");				\
++	register long __scno __asm__("r8") = __NR_##sname;		\
++	__asm__ __volatile__("scall"					\
++			     : "=r"(__res_r12)				\
++			     : "0"(__r12), "r"(__r11), "r"(__scno)	\
++			     : "memory");				\
++	return (type) __res_r12;					\
++}
++
++#define io_syscall3(type,fname,sname,type1,arg1,type2,arg2,type3,arg3)	\
++type fname(type1 arg1, type2 arg2, type3 arg3)				\
++{									\
++	register long __r12 __asm__("r12") = (long)arg1;		\
++	register long __r11 __asm__("r11") = (long)arg2;		\
++	register long __r10 __asm__("r10") = (long)arg3;		\
++	register long __res_r12 __asm__("r12");				\
++	register long __scno __asm__("r8") = __NR_##sname;		\
++	__asm__ __volatile__("scall"					\
++			     : "=r"(__res_r12)				\
++			     : "0"(__r12), "r"(__r11), "r"(__r10),	\
++			       "r"(__scno)				\
++			     : "memory");				\
++	return (type) __res_r12;					\
++}
++
++#define io_syscall4(type,fname,sname,type1,arg1,type2,arg2,type3,arg3,type4,arg4) \
++type fname(type1 arg1, type2 arg2, type3 arg3, type4 arg4)		\
++{									\
++	register long __r12 __asm__("r12") = (long)arg1;		\
++	register long __r11 __asm__("r11") = (long)arg2;		\
++	register long __r10 __asm__("r10") = (long)arg3;		\
++	register long __r9 __asm__("r9") = (long)arg4;			\
++	register long __res_r12 __asm__("r12");				\
++	register long __scno __asm__("r8") = __NR_##sname;		\
++	__asm__ __volatile__("scall"					\
++			     : "=r"(__res_r12)				\
++			     : "0"(__r12), "r"(__r11), "r"(__r10),	\
++			       "r"(__r9), "r"(__scno)			\
++			     : "memory");				\
++	return (type) __res_r12;					\
++}
++
++#define io_syscall5(type,fname,sname,type1,arg1,type2,arg2,type3,arg3,type4,arg4,type5,arg5) \
++type fname(type1 arg1, type2 arg2, type3 arg3, type4 arg4, type5 arg5)	\
++{									\
++	register long __r12 __asm__("r12") = (long)arg1;		\
++	register long __r11 __asm__("r11") = (long)arg2;		\
++	register long __r10 __asm__("r10") = (long)arg3;		\
++	register long __r9 __asm__("r9") = (long)arg4;			\
++	register long __r5 __asm__("r5") = (long)arg5;			\
++	register long __res_r12 __asm__("r12");				\
++	register long __scno __asm__("r8") = __NR_##sname;		\
++	__asm__ __volatile__("scall"					\
++			     : "=r"(__res_r12)				\
++			     : "0"(__r12), "r"(__r11), "r"(__r10),	\
++			       "r"(__r9), "r"(__r5), "r"(__scno)	\
++			     : "memory");				\
++	return (type) __res_r12;					\
++}
+--- a/src/syscall.h
++++ b/src/syscall.h
+@@ -32,6 +32,8 @@
+ #include "syscall-parisc.h"
+ #elif defined(__mips__)
+ #include "syscall-mips.h"
++#elif defined(__avr32__)
++#include "syscall-avr32.h"
+ #else
+ #error "add syscall-arch.h"
+ #endif
Signature · 1 line
1.7.0.4
#17 lore raw

PATCH 17/19 mplayer: convert to gentargets, bump to a recent SVN version

In reply to Thomas Petazzoni

Based on the conversion to gentargets done by Martin Banky, several issues were fixed, and the mplayer package was improved:

* Updated to a recent SVN version

* Removed mandatory dependency on libmad

* The AVR32 specific patch has been removed. It was a pain to remain blocked at the old 1.0-rc2 just for this patch. All this optimization work should have been submitted upstream, Buildroot is not the place to carry such heavy modifications.

* Options were added to select whether mplayer and/or mencoder should be built/installed.

* Support for additional options if packages have been selected:
tremor, libmad, libtheora, libpng, jpeg, xlib_libX11, xlib_libXv. More could be added in the future.

* Support for ARM-related optimization options. Similar improvements could be done for x86 and PowerPC architectures.

---
 package/multimedia/mplayer/Config.in               |   17 +-
 .../mplayer/mplayer-1.0rc2-100-atmel.1.patch       | 6262 --------------------
 .../mplayer/mplayer-1.0rc2-largefile.patch         |   18 -
 .../mplayer/mplayer-1.0rc2-remove-sys-timeb.patch  |   12 -
 .../mplayer-1.0rc3-disable-install-strip.patch     |   24 +
 ...g.patch => mplayer-1.0rc3-fix-cc-parsing.patch} |   16 +-
 package/multimedia/mplayer/mplayer.mk              |  150 +-
 7 files changed, 127 insertions(+), 6372 deletions(-)
 delete mode 100644 package/multimedia/mplayer/mplayer-1.0rc2-100-atmel.1.patch
 delete mode 100644 package/multimedia/mplayer/mplayer-1.0rc2-largefile.patch
 delete mode 100644 package/multimedia/mplayer/mplayer-1.0rc2-remove-sys-timeb.patch
 create mode 100644 package/multimedia/mplayer/mplayer-1.0rc3-disable-install-strip.patch
 rename package/multimedia/mplayer/{mplayer-1.0rc2-fix-cc-parsing.patch => mplayer-1.0rc3-fix-cc-parsing.patch} (53%)
package/multimedia/mplayer/Config.in +16 -1
index 894f65c..1223eb6 100644
@@ -1,8 +1,23 @@
 config BR2_PACKAGE_MPLAYER
 	bool "mplayer"
-	select BR2_PACKAGE_LIBMAD
 	help
 	  MPlayer is a movie player which runs on many systems and supports
 	  many different file formats.
 
 	  http://www.mplayerhq.hu/
+
+if BR2_PACKAGE_MPLAYER
+
+config BR2_PACKAGE_MPLAYER_MPLAYER
+	bool "Build and install mplayer"
+	default y
+	help
+	  This will install the video player.
+
+config BR2_PACKAGE_MPLAYER_MENCODER
+	bool "Build and install mencoder"
+	help
+	  This will install the video encoder.
+
+endif
+
package/multimedia/mplayer/mplayer-1.0rc2-100-atmel.1.patch deleted +0 -6262

2,976 lines not on this page · raw message

package/multimedia/mplayer/mplayer-1.0rc2-largefile.patch deleted +0 -18
deleted file mode 100644
index bcba2ff..0000000

Lines of this file are not shown. View the raw message.

package/multimedia/mplayer/mplayer-1.0rc2-remove-sys-timeb.patch deleted +0 -12
deleted file mode 100644
index 369aa70..0000000

Lines of this file are not shown. View the raw message.

package/multimedia/mplayer/mplayer-1.0rc3-disable-install-strip.patch new file +24 -0
new file mode 100644
index 0000000..644d292

Lines of this file are not shown. View the raw message.

package/multimedia/mplayer/mplayer-1.0rc3-fix-cc-parsing.patch renamed from package/multimedia/mplayer/mplayer-1.0rc2-fix-cc-parsing.patch +8 -8
similarity index 53%
rename from package/multimedia/mplayer/mplayer-1.0rc2-fix-cc-parsing.patch
rename to package/multimedia/mplayer/mplayer-1.0rc3-fix-cc-parsing.patch
index 770e145..a3ba03f 100644

Lines of this file are not shown. View the raw message.

package/multimedia/mplayer/mplayer.mk +79 -71

150 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
1.7.0.4

Part of the diff is not shown here. View the raw message.

#18 lore raw

PATCH 18/19 libtheora: bump version to 1.1.1

In reply to Thomas Petazzoni

This allows to disable the build of the format specification documentation, which was causing issues in cross-compiling mode.

---
 package/multimedia/libtheora/libtheora.mk |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
package/multimedia/libtheora/libtheora.mk +3 -2
index 81eb83f..e572d1a 100644
@@ -3,7 +3,7 @@
 # libtheora
 #
 #############################################################
-LIBTHEORA_VERSION = 1.0
+LIBTHEORA_VERSION = 1.1.1
 LIBTHEORA_SOURCE = libtheora-$(LIBTHEORA_VERSION).tar.bz2
 LIBTHEORA_SITE = http://downloads.xiph.org/releases/theora
 LIBTHEORA_INSTALL_STAGING = YES
@@ -12,7 +12,8 @@ LIBTHEORA_CONF_OPT = \
 		--disable-oggtest \
 		--disable-vorbistest \
 		--disable-sdltest \
-		--disable-examples
+		--disable-examples \
+		--disable-spec
 
 LIBTHEORA_DEPENDENCIES = libogg libvorbis host-pkg-config
 
Signature · 1 line
1.7.0.4
#19 lore raw

PATCH 19/19 l2tp: convert to gentargets and change to xl2tp

In reply to Thomas Petazzoni

From: Martin Banky <[email protected]>

l2tp is no longer being developed, and xl2tpd is forked from l2tpd and is maintained by Xelerance Corporation.

---
 package/Config.in                                  |    2 +-
 package/l2tp/Config.in                             |    7 --
 package/l2tp/l2tp-no-gnu-extensions.patch          |   33 -----------
 package/l2tp/l2tp-sanity.patch                     |   49 ----------------
 package/l2tp/l2tp.mk                               |   60 --------------------
 package/xl2tp/Config.in                            |   11 ++++
 .../xl2tp-1.2.7-legacy.patch}                      |    3 +
 package/xl2tp/xl2tp-1.2.7-makefile-flags.patch     |   33 +++++++++++
 package/xl2tp/xl2tp.mk                             |   33 +++++++++++
 package/{l2tp/l2tpd => xl2tp/xl2tpd}               |    6 +-
 10 files changed, 84 insertions(+), 153 deletions(-)
 delete mode 100644 package/l2tp/Config.in
 delete mode 100644 package/l2tp/l2tp-no-gnu-extensions.patch
 delete mode 100644 package/l2tp/l2tp-sanity.patch
 delete mode 100644 package/l2tp/l2tp.mk
 create mode 100644 package/xl2tp/Config.in
 rename package/{l2tp/l2tp-legacy.patch => xl2tp/xl2tp-1.2.7-legacy.patch} (86%)
 create mode 100644 package/xl2tp/xl2tp-1.2.7-makefile-flags.patch
 create mode 100644 package/xl2tp/xl2tp.mk
 rename package/{l2tp/l2tpd => xl2tp/xl2tpd} (76%)
package/Config.in +1 -1
index 1d85af1..bf78baa 100644
@@ -379,7 +379,7 @@ source "package/ipsec-tools/Config.in"
 source "package/iptables/Config.in"
 source "package/iw/Config.in"
 source "package/kismet/Config.in"
-source "package/l2tp/Config.in"
+source "package/xl2tp/Config.in"
 if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
 source "package/lighttpd/Config.in"
 endif
package/l2tp/Config.in deleted +0 -7
deleted file mode 100644
index da4f589..0000000
@@ -1,7 +0,0 @@
-config BR2_PACKAGE_L2TP
-	bool "l2tp"
-	help
-	  Layer 2 Tunnelling Protocol (RFC2661).
-
-	  http://sourceforge.net/projects/l2tpd/
-
package/l2tp/l2tp-no-gnu-extensions.patch deleted +0 -33
deleted file mode 100644
index ef07e26..0000000
@@ -1,33 +0,0 @@
---- l2tpd-0.70-pre20031121.oorig/avpsend.c	2006-12-28 16:00:26.000000000 +0100
-+++ l2tpd-0.70-pre20031121/avpsend.c	2006-12-28 16:21:06.000000000 +0100
-@@ -98,19 +98,26 @@ int add_hostname_avp(struct buffer *buf,
- 	int sz = 0;
- 	if(t->lac && t->lac->hostname[0]) {
- 		strncpy(n,t->lac->hostname, sizeof(n));
--		sz = strnlen(t->lac->hostname, sizeof(t->lac->hostname));
-+		sz = strlen(t->lac->hostname);
-+		if (sz > sizeof(t->lac->hostname))
-+			sz = sizeof(t->lac->hostname);
- 	}
- 	else if(t->lns && t->lns->hostname[0]) {
- 		strncpy(n,t->lns->hostname, sizeof(n));
--		sz = strnlen(t->lns->hostname, sizeof(t->lns->hostname));
-+		sz = strlen(t->lns->hostname);
-+		if (sz > sizeof(t->lns->hostname))
-+			sz = sizeof(t->lns->hostname);
- 	}
- 	else {
- 		if(gethostname(n, STRLEN)) {
- 			strcpy(n,"eriwan");
- 			sz = 6;
- 		}
--		else
--			sz = strnlen(n, sizeof(n));
-+		else {
-+			sz = strlen(n);
-+			if (sz > sizeof(n))
-+				sz = sizeof(n);
-+		}
- 	}
- 	if(add_avp(buf, HOSTNAME_AVP, n, sz, 1))
- 		return 1;
package/l2tp/l2tp-sanity.patch deleted +0 -49

49 lines not on this page · raw message

package/l2tp/l2tp.mk deleted +0 -60

60 lines not on this page · raw message

package/xl2tp/Config.in new file +11 -0
new file mode 100644
index 0000000..8f9d9b1
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_XL2TP
+	bool "xl2tp"
+	select BR2_PACKAGE_LIBPCAP
+	help
+	  Layer 2 Tunnelling Protocol (RFC2661).
+
+	  xl2tpd is an open source implementation of the L2TP tunneling
+	  protocol. xl2tpd is forked from l2tpd and is maintained by
+	  Xelerance Corporation.
+
+	  http://www.xelerance.com/software/xl2tpd/
package/xl2tp/xl2tp-1.2.7-legacy.patch renamed from package/l2tp/l2tp-legacy.patch +3 -0
similarity index 86%
rename from package/l2tp/l2tp-legacy.patch
rename to package/xl2tp/xl2tp-1.2.7-legacy.patch
index 39506d8..5279fd7 100644
@@ -1,3 +1,6 @@
+Replace SUSV3-specific functions index, bcopy, bzero and bcmp by their
+POSIX variants.
+
 --- l2tpd-0.70-pre20031121.oorig/osport.h	2004-07-08 22:47:52.000000000 +0200
 +++ l2tpd-0.70-pre20031121/osport.h	2006-12-28 15:32:50.000000000 +0100
 @@ -37,4 +37,11 @@
package/xl2tp/xl2tp-1.2.7-makefile-flags.patch new file +33 -0
new file mode 100644
index 0000000..68a56a6
@@ -0,0 +1,33 @@
+Make sure that the CFLAGS passed on the command line are taken into
+account.
+
+--- xl2tp-1.2.7/Makefile-orig	2010-08-05 15:33:46.000000000 -0700
++++ xl2tp-1.2.7/Makefile	2010-09-30 22:34:54.000000000 -0700
+@@ -90,7 +90,7 @@ OSFLAGS?= -DLINUX -I$(KERNELSRC)/include
+ 
+ IPFLAGS?= -DIP_ALLOCATION
+ 
+-CFLAGS+= $(DFLAGS) -O2 -fno-builtin -Wall -DSANITY $(OSFLAGS) $(IPFLAGS)
++COMPILE_FLAGS+= $(DFLAGS) -fno-builtin -Wall -DSANITY $(OSFLAGS) $(IPFLAGS)
+ HDRS=l2tp.h avp.h misc.h control.h call.h scheduler.h file.h aaa.h md5.h
+ OBJS=xl2tpd.o pty.o misc.o control.o avp.o call.o network.o avpsend.o scheduler.o file.o aaa.o md5.o
+ SRCS=${OBJS:.o=.c} ${HDRS}
+@@ -105,6 +105,9 @@ MANDIR?=$(DESTDIR)${PREFIX}/share/man
+ 
+ all: $(EXEC) pfc
+ 
++%.o: %.c
++	$(CC) $(COMPILE_FLAGS) $(CFLAGS) -c -o $@ -shared $<
++
+ clean:
+ 	rm -f $(OBJS) $(EXEC) pfc.o pfc
+ 
+@@ -112,7 +115,7 @@ $(EXEC): $(OBJS) $(HDRS)
+ 	$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LDLIBS)
+ 
+ pfc:
+-	$(CC) $(CFLAGS) -c contrib/pfc.c
++	$(CC) $(COMPILE_FLAGS) $(CFLAGS) -c contrib/pfc.c
+ 	$(CC) $(LDFLAGS) -lpcap $(LDLIBS) -o pfc pfc.o
+ 
+ romfs:
package/xl2tp/xl2tp.mk new file +33 -0
new file mode 100644
index 0000000..fcde559
@@ -0,0 +1,33 @@
+#############################################################
+#
+# xl2tp
+#
+#############################################################
+XL2TP_VERSION = 1.2.7
+XL2TP_SOURCE = xl2tpd-$(XL2TP_VERSION).tar.gz
+XL2TP_SITE = ftp://ftp.xelerance.com/xl2tpd/
+
+XL2TP_DEPENDENCIES = pppd libpcap
+
+define XL2TP_BUILD_CMDS
+	$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
+endef
+
+define XL2TP_INSTALL_TARGET_CMDS
+	$(MAKE) DESTDIR=$(TARGET_DIR) PREFIX=/usr -C $(@D) install
+endef
+
+define XL2TP_UNINSTALL_TARGET_CMDS
+	rm -f $(TARGET_DIR)/usr/bin/pfc
+	rm -f $(TARGET_DIR)/usr/sbin/xl2tpd
+	rm -f $(TARGET_DIR)/usr/share/man/man1/pfc.1
+	rm -f $(TARGET_DIR)/usr/share/man/man8/xl2tpd.8
+	rm -f $(TARGET_DIR)/usr/share/man/man5/xl2tpd.conf.5
+	rm -f $(TARGET_DIR)/usr/share/man/man5/l2tp-secrets.5
+endef
+
+define XL2TP_CLEAN_CMDS
+	-$(MAKE) -C $(@D) clean
+endef
+
+$(eval $(call GENTARGETS,package,xl2tp))
package/xl2tp/xl2tpd renamed from package/l2tp/l2tpd +3 -3
similarity index 76%
rename from package/l2tp/l2tpd
rename to package/xl2tp/xl2tpd
index 8bed72d..36c12a2 100755
@@ -1,8 +1,8 @@
 #!/bin/sh
 #
 PATH=/bin:/usr/bin:/sbin:/usr/sbin
-DAEMON=/usr/sbin/l2tpd
-PIDFILE=/var/run/l2tpd.pid
+DAEMON=/usr/sbin/xl2tpd
+PIDFILE=/var/run/xl2tpd.pid
 
 test -f $DAEMON || exit 0
 
@@ -19,7 +19,7 @@ case "$1" in
     start-stop-daemon -S  -p $PIDFILE -x $DAEMON
     ;;
   *)
-    echo "Usage: /etc/init.d/l2tdp {start|stop|restart|force-reload}"
+    echo "Usage: /etc/init.d/xl2tdp {start|stop|restart|force-reload}"
     exit 1
     ;;
 esac
Signature · 1 line
1.7.0.4
#20 lore raw
In reply to Thomas Petazzoni
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

Thomas> Hello,
Thomas> Here is a set of patches that merges most of Martin Banky's pending Thomas> patches. I've taken Martin patches for input-tools, mii-diag, mrouted, Thomas> sysklogd, sysinit, lsof, lvm2, memtester, alsa-utils, netplug and Thomas> l2tp. I tested all of them, and fixed various issues.

Thomas> I also include some other patches to :

 Thomas>  * remove deprecated packages
 Thomas>  * bump mplayer and add many more options to mplayer
 Thomas>  * bump libtheora
 Thomas>  * fix libaio on AVR32

Thanks (both) - Committed with a few fixes.

Signature · 1 line
Bye, Peter Korsgaard