diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /sys-apps/setserial/files | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sys-apps/setserial/files')
6 files changed, 104 insertions, 0 deletions
diff --git a/sys-apps/setserial/files/serial-2.17-r4 b/sys-apps/setserial/files/serial-2.17-r4 new file mode 100755 index 000000000000..974cf9382852 --- /dev/null +++ b/sys-apps/setserial/files/serial-2.17-r4 @@ -0,0 +1,23 @@ +#!/sbin/runscript +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +start() { + [ ! -e /etc/serial.conf ] && return 0 + + grep -v "^#\|^ \|^$\|^stty" /etc/serial.conf | while read device args + do + ebegin "Setting ${device} to $args" + setserial -b ${device} ${args} + eend $? + done + grep "^stty" /etc/serial.conf | while read x device args + do + ebegin "Setting (stty) ${device} to $args" + stty -F ${device} ${args} + eend $? + done + + return 0 +} diff --git a/sys-apps/setserial/files/setserial-2.17-build.patch b/sys-apps/setserial/files/setserial-2.17-build.patch new file mode 100644 index 000000000000..d3f3d69cead6 --- /dev/null +++ b/sys-apps/setserial/files/setserial-2.17-build.patch @@ -0,0 +1,11 @@ +--- Makefile.in ++++ Makefile.in +@@ -20,7 +20,7 @@ + all: setserial setserial.cat + + setserial: setserial.c +- $(CC) $(CFLAGS) $(DEFS) $(INCS) setserial.c -o setserial ++ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(DEFS) $(INCS) setserial.c -o setserial + + setserial.cat: setserial.8 + nroff -man setserial.8 > setserial.cat diff --git a/sys-apps/setserial/files/setserial-2.17-hayes-esp.patch b/sys-apps/setserial/files/setserial-2.17-hayes-esp.patch new file mode 100644 index 000000000000..72783553c214 --- /dev/null +++ b/sys-apps/setserial/files/setserial-2.17-hayes-esp.patch @@ -0,0 +1,15 @@ +recent versions of linux have dropped the hayes esp driver + +http://bugs.gentoo.org/309883 + +--- a/setserial.c ++++ b/setserial.c +@@ -21,6 +21,8 @@ + #endif + #ifdef HAVE_LINUX_HAYESESP_H + #include <linux/hayesesp.h> ++#else ++#undef TIOCGHAYESESP + #endif + #include <linux/serial.h> + diff --git a/sys-apps/setserial/files/setserial-2.17-headers.patch b/sys-apps/setserial/files/setserial-2.17-headers.patch new file mode 100644 index 000000000000..a6d5f38e3e60 --- /dev/null +++ b/sys-apps/setserial/files/setserial-2.17-headers.patch @@ -0,0 +1,12 @@ +--- setserial.c ++++ setserial.c +@@ -15,6 +15,9 @@ + #include <termios.h> + #include <string.h> + #include <errno.h> ++#include <stdlib.h> ++#include <unistd.h> ++#include <sys/ioctl.h> + + #ifdef HAVE_ASM_IOCTLS_H + #include <asm/ioctls.h> diff --git a/sys-apps/setserial/files/setserial-2.17-manpage-updates.patch b/sys-apps/setserial/files/setserial-2.17-manpage-updates.patch new file mode 100644 index 000000000000..02f4a454a3d5 --- /dev/null +++ b/sys-apps/setserial/files/setserial-2.17-manpage-updates.patch @@ -0,0 +1,36 @@ +--- setserial-2.17/setserial.8.in ++++ setserial-2.17/setserial.8.in +@@ -34,7 +34,7 @@ + program should be used. Typically it is called from an +-.I rc.serial ++.I serial + script, which is usually run out of +-.IR /etc/rc.local . ++.IR /etc/init.d/ . + + The + .I device +@@ -78,7 +78,7 @@ + .B \-b + When reporting the configuration of a serial device, print a summary + of the device's configuration, which might be suitable for printing +-during the bootup process, during the /etc/rc script. ++during the bootup process, in the /etc/init.d/serial script. + .TP + .B \-G + Print out the configuration information of the serial port in a form which +@@ -504,12 +504,9 @@ + CAUTION: Configuring a serial port to use an incorrect I/O port + can lock up your machine. + .SH FILES +-.BR /etc/rc.local +-.BR /etc/rc.serial ++.BR /etc/serial.conf + .SH "SEE ALSO" +-.BR tty (4), +-.BR ttys (4), +-kernel/chr_drv/serial.c ++.BR tty (4) + .SH AUTHOR + The original version of setserial was written by Rick Sladkey + (jrs@world.std.com), and was modified by Michael K. Johnson diff --git a/sys-apps/setserial/files/setserial-2.17-spelling.patch b/sys-apps/setserial/files/setserial-2.17-spelling.patch new file mode 100644 index 000000000000..49ac5f41e72b --- /dev/null +++ b/sys-apps/setserial/files/setserial-2.17-spelling.patch @@ -0,0 +1,7 @@ +Ripped from Fedora. + +--- setserial-2.17/setserial.c ++++ setserial-2.17/setserial.c +@@ -710,1 +710,1 @@ +- fprintf(stderr, "\t spd_normal\tuse 38.4kb when a buad rate of 38.4kb is selected\n"); ++ fprintf(stderr, "\t spd_normal\tuse 38.4kb when a baud rate of 38.4kb is selected\n"); |