diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-misc/logserial | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-misc/logserial')
-rw-r--r-- | app-misc/logserial/Manifest | 4 | ||||
-rw-r--r-- | app-misc/logserial/files/logserial-0.4.2-gentoo.patch | 30 | ||||
-rw-r--r-- | app-misc/logserial/logserial-0.4.2.ebuild | 28 | ||||
-rw-r--r-- | app-misc/logserial/metadata.xml | 13 |
4 files changed, 75 insertions, 0 deletions
diff --git a/app-misc/logserial/Manifest b/app-misc/logserial/Manifest new file mode 100644 index 000000000000..924945d80319 --- /dev/null +++ b/app-misc/logserial/Manifest @@ -0,0 +1,4 @@ +AUX logserial-0.4.2-gentoo.patch 704 BLAKE2B 7591caa786188f9ba051b3e43462c85a096f5d09cad3b7992f03af7329d31e96600d96d450107a6dc3e6ae19cf7a78030e99119a6d4eb3ac6f36c1f1ca2e1008 SHA512 53874fd3d8c1e15af3614f779c1a85c53d43218c13ac508166dfca8c9012d7e251d9fbb3fe22cbcd2167594848ebff5f2e9f48dcad11c153f18abdf2e46233bc +DIST logserial-0.4.2.tar.gz 9697 BLAKE2B d32b03e50459a65d0072aa961421c6aaef67483d16d6e95b6071fe805f69b79fa1b3a63fb8ce5945fa19f3c912fd6de051549da3edbb2814b7eb4c68c036cc19 SHA512 63784f5f3b84c1fbf85e0b5295ab33c427626562d880de3202b792ad354f93d645d4c2ddb7dc38d48ee25a15df51f1544aa0abea45fccef333553492ed86e9ad +EBUILD logserial-0.4.2.ebuild 583 BLAKE2B fcd1d9558c8147632dc0f7e86408a52ee57af6b007dbed3f1b7408295e1ccd335a2b366e0db14ed812c4deec952015721e6d5034cdc127e187b378edd51ab2fd SHA512 390d0561a8b6e6177ba66468f850fcde1e4ff63086f5d061674bd8bdad0f94f0d10873d73e361caa6e84daccde05df2944010a2e5272fedeb2fd1ca65b7da737 +MISC metadata.xml 483 BLAKE2B f185b1ee76bdbd2d69171cc52fd98e2859137b5fd4bda92e0917585f589c6ac1e58d97b72c22d2d87d2921c16820367169836dccc5bb44a0259e2d73f34b5860 SHA512 8c7789cc64787fd8a2590921ef0adcf4720d96d211b0308bcfe97e32014d0aa36ae9c2b7bee8cef042617c421787ff4a837ee7b1e1dda789bae4823dfe7d2e8f 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..62f267f92996 --- /dev/null +++ b/app-misc/logserial/logserial-0.4.2.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit 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="" + +PATCHES=( "${FILESDIR}/${P}-gentoo.patch" ) + +src_configure() { + tc-export CC +} + +src_install() { + dobin logserial + 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> |