summaryrefslogtreecommitdiff
path: root/app-misc/logserial
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-misc/logserial
reinit the tree, so we can have metadata
Diffstat (limited to 'app-misc/logserial')
-rw-r--r--app-misc/logserial/Manifest6
-rw-r--r--app-misc/logserial/files/logserial-0.4.2-gentoo.patch30
-rw-r--r--app-misc/logserial/logserial-0.4.2.ebuild31
-rw-r--r--app-misc/logserial/metadata.xml13
4 files changed, 80 insertions, 0 deletions
diff --git a/app-misc/logserial/Manifest b/app-misc/logserial/Manifest
new file mode 100644
index 000000000000..2104a74e27c7
--- /dev/null
+++ b/app-misc/logserial/Manifest
@@ -0,0 +1,6 @@
+AUX logserial-0.4.2-gentoo.patch 704 SHA256 6cace296c3045b7b987f57003df1e0dfb41e0a261d231facc4ee8c11e5bc4534 SHA512 53874fd3d8c1e15af3614f779c1a85c53d43218c13ac508166dfca8c9012d7e251d9fbb3fe22cbcd2167594848ebff5f2e9f48dcad11c153f18abdf2e46233bc WHIRLPOOL f17e2e4589edf1998b30fd0a9faa0cb59b7d3388f2748792c4ff338dd76037242da243d784da74bd01efbd7ead519bb3ae28b8260be3097281e16783032fb515
+DIST logserial-0.4.2.tar.gz 9697 SHA256 7647e16a884d3596844893234d8f0c7cc517441e2f8d592e11af427b8f0fbf9a SHA512 63784f5f3b84c1fbf85e0b5295ab33c427626562d880de3202b792ad354f93d645d4c2ddb7dc38d48ee25a15df51f1544aa0abea45fccef333553492ed86e9ad WHIRLPOOL e05f47b38830624c00c45006e076bdf13b42428217e7b8f8f41b6e5a71eafe6ec2ab579bd16b2e55d9973e26692e1047e896da3a0c8da47863290f081448ad73
+EBUILD logserial-0.4.2.ebuild 653 SHA256 32130d3b4cc309b9e2722e99b8ab3b0634305d3456ac8d7e22359b69cc88297e SHA512 49e6eb08d8e0f93f27192df6afe3ff8c4f594ec77e10b145dfe7c29e34175689610c01f953e61f27aad984ca69d2222d1ab67f8195037c20d1d9ec8c16e636db WHIRLPOOL 70976288ad260b1712413ef3a6d22ccdfcd27461c71b7acecf198fb2ae9cea698339e01dbf3fd311370d0a0fb3ff613e84544638d4982bb7c28bb67faf073277
+MISC ChangeLog 2219 SHA256 fd13084857240babd495256e08c2e250cdcd77a4a83f4c036d6e73070dad5723 SHA512 67a8b2d6eaeee0b849bd0a9d115745b081e51584d36b2c0bf3462609445bdd1274ed7156cc01413aed26e28499f6627b680c2e4837076f3a47051493882c4828 WHIRLPOOL 98efb86b9e7d6bfb1c02e35c5bd93b3d8ae9fbae47d06c95b970b491789a1dae02f68b09c7c4db77974831d77b9899688373cd27c14b979f9ea2b8744de6f9ec
+MISC ChangeLog-2015 1181 SHA256 6c217c27a36439a5bf2310cb8739d00656a6966aff474b396cf61fd7e294583e SHA512 ed9926704757c3bf2d1be4e1e3c284ac30feaa179448fefccfa3b6cf82b664dcb7fc3f3bf92ace7be9b8df5a0d0f2342deb0cae891b09b29346f4f2e8f171f5c WHIRLPOOL 7653e3b720e114edd2f0182e0cf1430b1bea27929dbc809a0e59e736b447ac1e460678e1d13ed65c7216a0bd05eedcdf1eeb7b11253bf59855ca3df6e34e7383
+MISC metadata.xml 483 SHA256 11d367c510cf8a3b70c9b03ff798f698c5cc086c2fddee46690f03700bafda23 SHA512 8c7789cc64787fd8a2590921ef0adcf4720d96d211b0308bcfe97e32014d0aa36ae9c2b7bee8cef042617c421787ff4a837ee7b1e1dda789bae4823dfe7d2e8f WHIRLPOOL 6553e7352d1e2b07683be251b6ccadf48913585b7bd37b70b4c7383a68c3d25d68952e48144170b375c3428b299b883420f97022dd73e6353809d7feb6028439
diff --git a/app-misc/logserial/files/logserial-0.4.2-gentoo.patch b/app-misc/logserial/files/logserial-0.4.2-gentoo.patch
new file mode 100644
index 000000000000..dd594e34f76a
--- /dev/null
+++ b/app-misc/logserial/files/logserial-0.4.2-gentoo.patch
@@ -0,0 +1,30 @@
+diff -ur logserial-0.4.2.orig/Makefile logserial-0.4.2/Makefile
+--- logserial-0.4.2.orig/Makefile 2003-04-12 19:41:07.000000000 +0300
++++ logserial-0.4.2/Makefile 2009-07-21 19:39:18.000000000 +0300
+@@ -5,22 +5,20 @@
+ # FUNCTION:
+ # Makefile for logserial
+
+-CC=gcc
++CC ?= gcc
+
+ NAME=logserial
+ VERSION=0.4.2
+
+ OBJS= logserial.o sysdep1.o
+
+-OPTIMIZE= -O3 -m486 -Wall -D_POSIX -D_SYSV -D_SELECT -D_HAVE_MACROS
+-DEBUG_FLAGS= #-g
+-
+-CFLAGS= $(DEBUG_FLAGS) $(OPTIMIZE)
++CFLAGS += -Wall
++CPPFLAGS += -D_POSIX -D_SYSV -D_SELECT -D_HAVE_MACROS
+
+ all: $(NAME)
+
+ $(NAME): $(OBJS)
+- $(CC) $(CFLAGS) -o $(NAME) $(OBJS)
++ $(CC) $(LDFLAGS) $(CFLAGS) $(CPPFLAGS) -o $(NAME) $(OBJS)
+
+ $(NAME).o: $(NAME).c
+
diff --git a/app-misc/logserial/logserial-0.4.2.ebuild b/app-misc/logserial/logserial-0.4.2.ebuild
new file mode 100644
index 000000000000..393a5f4451e6
--- /dev/null
+++ b/app-misc/logserial/logserial-0.4.2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=2
+inherit eutils toolchain-funcs
+
+DESCRIPTION="A tool for logging raw data from a serial device"
+HOMEPAGE="http://www.gtlib.cc.gatech.edu/pub/Linux/system/serial/logserial-0.4.2.lsm"
+SRC_URI="http://www.gtlib.cc.gatech.edu/pub/Linux/system/serial/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND=""
+DEPEND=""
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gentoo.patch
+}
+
+src_compile() {
+ tc-export CC
+ emake || die "emake failed"
+}
+
+src_install() {
+ dobin logserial || die "dobin failed"
+ dodoc CHANGELOG README
+}
diff --git a/app-misc/logserial/metadata.xml b/app-misc/logserial/metadata.xml
new file mode 100644
index 000000000000..46956d7db72d
--- /dev/null
+++ b/app-misc/logserial/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>xmw@gentoo.org</email>
+ <name>Michael Weber</name>
+ </maintainer>
+ <longdescription lang="en">
+ Package for loging incoming bytes on asynchronous serial ports. It was
+ written for loging calls on our telephone central, but you can use it
+ for any devices connected to serial ports.
+ </longdescription>
+</pkgmetadata>