Move all to deprecated folder.
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
Install the setserial program in /usr/bin instead of /bin, and make
|
||||
sure that the directories (especially the manpages directory) are
|
||||
created before installing files to them. This is similar to what
|
||||
automake does.
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
---
|
||||
Makefile.in | 7 ++++---
|
||||
1 file changed, 4 insertions(+), 3 deletions(-)
|
||||
|
||||
Index: setserial-2.17/Makefile.in
|
||||
===================================================================
|
||||
--- setserial-2.17.orig/Makefile.in
|
||||
+++ setserial-2.17/Makefile.in
|
||||
@@ -26,9 +26,10 @@ setserial.cat: setserial.8
|
||||
nroff -man setserial.8 > setserial.cat
|
||||
|
||||
install: setserial setserial.8
|
||||
- $(INSTALL_PROGRAM) setserial $(DESTDIR)/bin
|
||||
- $(STRIP) $(DESTDIR)/bin/setserial
|
||||
- $(INSTALL_DATA) setserial.8 $(DESTDIR)/usr/man/man8
|
||||
+ mkdir -p $(DESTDIR)/usr/bin
|
||||
+ $(INSTALL_PROGRAM) setserial $(DESTDIR)/usr/bin
|
||||
+ mkdir -p $(DESTDIR)/usr/share/man/man8
|
||||
+ $(INSTALL_DATA) setserial.8 $(DESTDIR)/usr/share/man/man8
|
||||
|
||||
clean:
|
||||
$(RM) setserial setserial.o setserial.cat *~
|
||||
@@ -0,0 +1,28 @@
|
||||
[PATCH] setserial: fix build with 2.6.33+ kernel headers
|
||||
|
||||
linux/hayesesp.h got removed in 2.6.33, but some archs (like x86) still
|
||||
define the TIOCGHAYESESP ioctl, breaking the build.
|
||||
|
||||
It's very unlikely to be of interest anymore, so just undef it.
|
||||
|
||||
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
|
||||
---
|
||||
setserial.c | 5 +++++
|
||||
1 file changed, 5 insertions(+)
|
||||
|
||||
Index: setserial-2.17/setserial.c
|
||||
===================================================================
|
||||
--- setserial-2.17.orig/setserial.c
|
||||
+++ setserial-2.17/setserial.c
|
||||
@@ -24,6 +24,11 @@
|
||||
#endif
|
||||
#include <linux/serial.h>
|
||||
|
||||
+/* linux/hayesesp.h got removed in 2.6.33 but some archs (like x86)
|
||||
+ still define TIOCGHAYESESP. It's very unlikely to be of interest
|
||||
+ anymore, so just undef it */
|
||||
+#undef TIOCGHAYESESP
|
||||
+
|
||||
#include "version.h"
|
||||
|
||||
static char version_str[] = "setserial version " SETSERIAL_VERSION ", "
|
||||
@@ -0,0 +1,6 @@
|
||||
config BR2_PACKAGE_SETSERIAL
|
||||
bool "setserial"
|
||||
# Uses fork()
|
||||
depends on BR2_USE_MMU
|
||||
help
|
||||
Setserial : configuration of serial ports
|
||||
@@ -0,0 +1,3 @@
|
||||
# From http://snapshot.debian.org/archive/debian/20141023T043132Z/pool/main/s/setserial/setserial_2.17-45.3.dsc
|
||||
sha256 7e4487d320ac31558563424189435d396ddf77953bb23111a17a3d1487b5794a setserial_2.17.orig.tar.gz
|
||||
sha256 33db87e8a86cf12b7c97efca9e056865e71358e8cfeb3931118b2647ce1eecc6 setserial_2.17-45.3.diff.gz
|
||||
27
deprecated/firmware/buildroot/package/setserial/setserial.mk
Normal file
27
deprecated/firmware/buildroot/package/setserial/setserial.mk
Normal file
@@ -0,0 +1,27 @@
|
||||
################################################################################
|
||||
#
|
||||
# setserial
|
||||
#
|
||||
################################################################################
|
||||
|
||||
SETSERIAL_VERSION = 2.17
|
||||
SETSERIAL_PATCH = setserial_2.17-45.3.diff.gz
|
||||
SETSERIAL_SOURCE = setserial_$(SETSERIAL_VERSION).orig.tar.gz
|
||||
SETSERIAL_SITE = http://snapshot.debian.org/archive/debian/20141023T043132Z/pool/main/s/setserial
|
||||
SETSERIAL_LICENSE = GPLv2
|
||||
SETSERIAL_LICENSE_FILES = debian/copyright
|
||||
# make all also builds setserial.cat which needs nroff
|
||||
SETSERIAL_MAKE_OPTS = setserial
|
||||
|
||||
define SETSERIAL_APPLY_DEBIAN_PATCHES
|
||||
# Touching gorhack.h is needed for the Debian patch 18 to work
|
||||
if [ -d $(@D)/debian/patches ]; then \
|
||||
touch $(@D)/gorhack.h; \
|
||||
rm $(@D)/debian/patches/01_makefile.dpatch; \
|
||||
$(APPLY_PATCHES) $(@D) $(@D)/debian/patches *.dpatch; \
|
||||
fi
|
||||
endef
|
||||
|
||||
SETSERIAL_POST_PATCH_HOOKS += SETSERIAL_APPLY_DEBIAN_PATCHES
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user