summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2017-06-15 22:30:30 +0200
committerPatrice Clement <monsieurp@gentoo.org>2017-06-15 22:30:30 +0200
commit885f844bf71d5a10fe5543ef692fa1d281f3c91a (patch)
tree4c2033aee0b202d59befe5f903964a558686b4f0 /sys-apps/setserial
parentdev-python/jinja: arm stable, bug #617258 (diff)
downloadgentoo-885f844bf71d5a10fe5543ef692fa1d281f3c91a.tar.gz
gentoo-885f844bf71d5a10fe5543ef692fa1d281f3c91a.tar.bz2
gentoo-885f844bf71d5a10fe5543ef692fa1d281f3c91a.zip
sys-apps/setserial: EAPI 6 bump.
Package-Manager: Portage-2.3.5, Repoman-2.3.1
Diffstat (limited to 'sys-apps/setserial')
-rw-r--r--sys-apps/setserial/files/setserial-2.17-build.patch4
-rw-r--r--sys-apps/setserial/files/setserial-2.17-headers.patch4
-rw-r--r--sys-apps/setserial/files/setserial-2.17-manpage-updates.patch4
-rw-r--r--sys-apps/setserial/files/setserial-2.17-spelling.patch4
-rw-r--r--sys-apps/setserial/setserial-2.17-r5.ebuild44
5 files changed, 52 insertions, 8 deletions
diff --git a/sys-apps/setserial/files/setserial-2.17-build.patch b/sys-apps/setserial/files/setserial-2.17-build.patch
index d3f3d69cead6..7e7ea25c8a06 100644
--- a/sys-apps/setserial/files/setserial-2.17-build.patch
+++ b/sys-apps/setserial/files/setserial-2.17-build.patch
@@ -1,5 +1,5 @@
---- Makefile.in
-+++ Makefile.in
+--- a/Makefile.in
++++ b/Makefile.in
@@ -20,7 +20,7 @@
all: setserial setserial.cat
diff --git a/sys-apps/setserial/files/setserial-2.17-headers.patch b/sys-apps/setserial/files/setserial-2.17-headers.patch
index a6d5f38e3e60..f8aed4c4862c 100644
--- a/sys-apps/setserial/files/setserial-2.17-headers.patch
+++ b/sys-apps/setserial/files/setserial-2.17-headers.patch
@@ -1,5 +1,5 @@
---- setserial.c
-+++ setserial.c
+--- a/setserial.c
++++ b/setserial.c
@@ -15,6 +15,9 @@
#include <termios.h>
#include <string.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
index 02f4a454a3d5..3e6b7f016197 100644
--- a/sys-apps/setserial/files/setserial-2.17-manpage-updates.patch
+++ b/sys-apps/setserial/files/setserial-2.17-manpage-updates.patch
@@ -1,5 +1,5 @@
---- setserial-2.17/setserial.8.in
-+++ setserial-2.17/setserial.8.in
+--- a/setserial.8.in
++++ b/setserial.8.in
@@ -34,7 +34,7 @@
program should be used. Typically it is called from an
-.I rc.serial
diff --git a/sys-apps/setserial/files/setserial-2.17-spelling.patch b/sys-apps/setserial/files/setserial-2.17-spelling.patch
index 49ac5f41e72b..5275d4fa44c4 100644
--- a/sys-apps/setserial/files/setserial-2.17-spelling.patch
+++ b/sys-apps/setserial/files/setserial-2.17-spelling.patch
@@ -1,7 +1,7 @@
Ripped from Fedora.
---- setserial-2.17/setserial.c
-+++ setserial-2.17/setserial.c
+--- a/setserial.c
++++ b/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");
diff --git a/sys-apps/setserial/setserial-2.17-r5.ebuild b/sys-apps/setserial/setserial-2.17-r5.ebuild
new file mode 100644
index 000000000000..2eaa330900e5
--- /dev/null
+++ b/sys-apps/setserial/setserial-2.17-r5.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="Configure your serial ports with it"
+HOMEPAGE="http://setserial.sourceforge.net/"
+SRC_URI="
+ ftp://tsx-11.mit.edu/pub/linux/sources/sbin/${P}.tar.gz
+ ftp://ftp.sunsite.org.uk/Mirrors/tsx-11.mit.edu/pub/linux/sources/sbin/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-spelling.patch
+ "${FILESDIR}"/${P}-manpage-updates.patch
+ "${FILESDIR}"/${P}-headers.patch
+ "${FILESDIR}"/${P}-build.patch
+ "${FILESDIR}"/${P}-hayes-esp.patch
+ "${FILESDIR}"/${P}-darwin.patch
+)
+
+src_compile() {
+ tc-export CC
+ emake "${PN}"
+}
+
+src_install() {
+ doman "${PN}.8"
+ into /
+ dobin "${PN}"
+
+ insinto /etc
+ doins serial.conf
+ newinitd "${FILESDIR}"/serial-2.17-r4 serial
+
+ einstalldocs
+ docinto txt
+ dodoc Documentation/*
+}