summaryrefslogtreecommitdiff
path: root/app-misc/ttyrec
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/ttyrec
reinit the tree, so we can have metadata
Diffstat (limited to 'app-misc/ttyrec')
-rw-r--r--app-misc/ttyrec/Manifest8
-rw-r--r--app-misc/ttyrec/files/ttyrec-1.0.8-flags.patch19
-rw-r--r--app-misc/ttyrec/files/ttyrec-1.0.8-ldflags.patch19
-rw-r--r--app-misc/ttyrec/metadata.xml12
-rw-r--r--app-misc/ttyrec/ttyrec-1.0.8-r1.ebuild29
-rw-r--r--app-misc/ttyrec/ttyrec-1.0.8-r2.ebuild27
6 files changed, 114 insertions, 0 deletions
diff --git a/app-misc/ttyrec/Manifest b/app-misc/ttyrec/Manifest
new file mode 100644
index 000000000000..60cfa86872f9
--- /dev/null
+++ b/app-misc/ttyrec/Manifest
@@ -0,0 +1,8 @@
+AUX ttyrec-1.0.8-flags.patch 591 SHA256 a7500040b86a41c7dbac7b5a84fb6d45877dfd3f75adf0c8fd6b35d4cf3fae95 SHA512 245a5e34611869d4b612a25922cde034ad3e54a3b7579850f2ddce3e0200726ed3707a518464c176044c9a9ab5f60737ded7941f1882d560d963c59e6221861c WHIRLPOOL 948911ee3ba4b50449f91138c2b4f12b5b8c105a9da2cd7291a00fb770999ce85eeed77afd4dea4d55731dafd305170ead59e30ccd594972c9217e8620401b8c
+AUX ttyrec-1.0.8-ldflags.patch 552 SHA256 39ce53869020a43b55e8894bc64738ec0e1f23fcc5cb3e1ce119f588e6905a78 SHA512 ab82ceba71e4a15a8a2e492b6e7fe2258465d7f8a9272ac6b4365fcfeced065c22188eac326d9559f302b94dbedef7d71b288140e39687495f05a0a1c3f2540d WHIRLPOOL 1a92a0d6d857b1ff2a7d69489602c676b0e44ff34022c98c21731784fc65c4c8d2a2c7e069eea9ad790c8ff7e5bf2e741c492d8542d94c0eb53a84aed6a5d321
+DIST ttyrec-1.0.8.tar.gz 8528 SHA256 ef5e9bf276b65bb831f9c2554cd8784bd5b4ee65353808f82b7e2aef851587ec SHA512 b7f6f4c78c5148dacc7058534d89f13fcf333ee9e099d4475135e9c15a99a8aed72bf4bd5954652a6bb044d11ad35b4cb8d07208a5349c79c811f68fde7e8611 WHIRLPOOL d8f51ea4c88082b0f272170fec7aed0fa14d153b145f17958dc6101b5e383bbf7dfc4c5ed9cdbac23c08cef6baf25f4b65f3db13f7575bae65bf9ca3f58d48e3
+EBUILD ttyrec-1.0.8-r1.ebuild 739 SHA256 f68842387565e723649ddc869acf56d66579c164dff7cbda99c4d70bfd8cf9c1 SHA512 df9b0e6d5065a73198826ad063f201a02d958b1533abf00395a0886d44c13b953904df3b785285862d0989d42bf972dc17bfd11ffc2b8be754ea5d3c9d80f1d6 WHIRLPOOL bdab1e686695b446df5c9bdbdfa23a6d7b8be30cc42a5aa69cad4919d2ae3dc48b8d8e06e30d1eb0a0cd25c8d7f1f56e16c7210f295e40e109909e6b69b30057
+EBUILD ttyrec-1.0.8-r2.ebuild 674 SHA256 b9bb529af0ced9fb2b390fba27560986b89b49ec05d94016d44c73a6dd6f3384 SHA512 912c24c1c6d432215694edf35fb77417eb6f9c354d697fd550311422ba0477df2db92b681d123056ac8fbeef74f6d11eef37db8e0c1629f065c3a6f1ba790ca6 WHIRLPOOL 643fb6d556fd981ae150d373b35923f593d84a23d082fc0b6eafe52503ce273f94efb4f005c29a7f7395a001e37c80a0be1cc911e6722e4ad8b3b81c6482b4e2
+MISC ChangeLog 2560 SHA256 04eda61f241c162d03859e38bc8815f72f8ef12f62e15f5d688074948b337f05 SHA512 c6e2ad1150421b6dfe44200e9920304e7531c0bcf2ae48d4db0f6432f6be716771cfd4375a52c90015dd4070b82887424f71c93b725241a9de8db0f3a4ba0cfc WHIRLPOOL 29e0e105acb674ad79912b4c5f737d08e704348c2e3ae169b66dad4d47db5c367139655c90abf5e329ff38500d5d09c4994402da9e064d55d85eed5a0ef9dfdb
+MISC ChangeLog-2015 3181 SHA256 556555b8b3f9eeb9e89672e9b602bd12cd7fb13e844f7558b3ebb7c0e9d1959c SHA512 efccd026856a7bd9b93e0436f893e771b8bb272404ffd3cda853b3b93ca425487cf6023679d626eab769d28d68ed5bf80c77a12770ed210594031edab510df91 WHIRLPOOL 4b88e585f7b8be8d28ed0892ff4d521697edaf53b13ce8e4d297187c85326acecb03e37cf68b5d3ca0f7965d42d0c213732b20f0085d04daaa04c9b57ed20030
+MISC metadata.xml 478 SHA256 e2bee3c4181d9a41b4acc51ea06d00d84da6f25161c04efab7f6316a1fedf271 SHA512 54661fe489c664e07c3c5a73dc0f6901260e42e094af8220f00f78f7136e3dc9a0ec8844585cb77accbdb9e6c9423acacd600ca8939069905ba2494f7ddbe088 WHIRLPOOL cedc9a472a7371b8abb784eb066df944b69bf1f6d237534614e2264afe40d3a04cd1c0e901849305f58ec358f34b8177e343f2c362b23b9840f0c266427b1d8e
diff --git a/app-misc/ttyrec/files/ttyrec-1.0.8-flags.patch b/app-misc/ttyrec/files/ttyrec-1.0.8-flags.patch
new file mode 100644
index 000000000000..34687d9b8b7a
--- /dev/null
+++ b/app-misc/ttyrec/files/ttyrec-1.0.8-flags.patch
@@ -0,0 +1,19 @@
+--- a/Makefile 2017-08-26 11:47:02.981266309 +0200
++++ b/Makefile 2017-08-26 14:33:47.161600445 +0200
+@@ -10,13 +10,13 @@
+ all: $(TARGET)
+
+ ttyrec: ttyrec.o io.o
+- $(CC) $(CFLAGS) -o ttyrec ttyrec.o io.o
++ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o ttyrec ttyrec.o io.o
+
+ ttyplay: ttyplay.o io.o
+- $(CC) $(CFLAGS) -o ttyplay ttyplay.o io.o
++ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o ttyplay ttyplay.o io.o
+
+ ttytime: ttytime.o io.o
+- $(CC) $(CFLAGS) -o ttytime ttytime.o io.o
++ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o ttytime ttytime.o io.o
+
+ clean:
+ rm -f *.o $(TARGET) ttyrecord *~
diff --git a/app-misc/ttyrec/files/ttyrec-1.0.8-ldflags.patch b/app-misc/ttyrec/files/ttyrec-1.0.8-ldflags.patch
new file mode 100644
index 000000000000..5b2393ce5393
--- /dev/null
+++ b/app-misc/ttyrec/files/ttyrec-1.0.8-ldflags.patch
@@ -0,0 +1,19 @@
+--- Makefile~ 2010-08-09 14:01:24.351716328 -0400
++++ Makefile 2010-08-09 14:00:45.981716329 -0400
+@@ -10,13 +10,13 @@
+ all: $(TARGET)
+
+ ttyrec: ttyrec.o io.o
+- $(CC) $(CFLAGS) -o ttyrec ttyrec.o io.o
++ $(CC) $(LDFLAGS) $(CFLAGS) -o ttyrec ttyrec.o io.o
+
+ ttyplay: ttyplay.o io.o
+- $(CC) $(CFLAGS) -o ttyplay ttyplay.o io.o
++ $(CC) $(LDFLAGS) $(CFLAGS) -o ttyplay ttyplay.o io.o
+
+ ttytime: ttytime.o io.o
+- $(CC) $(CFLAGS) -o ttytime ttytime.o io.o
++ $(CC) $(LDFLAGS) $(CFLAGS) -o ttytime ttytime.o io.o
+
+ clean:
+ rm -f *.o $(TARGET) ttyrecord *~
diff --git a/app-misc/ttyrec/metadata.xml b/app-misc/ttyrec/metadata.xml
new file mode 100644
index 000000000000..939212a8a109
--- /dev/null
+++ b/app-misc/ttyrec/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+<longdescription>
+ttyrec is a tty recorder. Recorded data can be played back with the
+included ttyplay command. ttyrec is just a derivative of script
+command for recording timing information with microsecond accuracy as
+well. It can record emacs -nw, vi, lynx, or any programs running on
+tty.
+</longdescription>
+</pkgmetadata>
diff --git a/app-misc/ttyrec/ttyrec-1.0.8-r1.ebuild b/app-misc/ttyrec/ttyrec-1.0.8-r1.ebuild
new file mode 100644
index 000000000000..ef4ff7b26149
--- /dev/null
+++ b/app-misc/ttyrec/ttyrec-1.0.8-r1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit base flag-o-matic toolchain-funcs
+
+DESCRIPTION="The tty recorder provides tools to record and replay a terminal session."
+HOMEPAGE="http://0xcc.net/ttyrec/"
+SRC_URI="http://namazu.org/~satoru/ttyrec/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+
+# Bug 331843
+PATCHES=( "${FILESDIR}/${P}-ldflags.patch" )
+
+src_compile() {
+ # Bug 106530
+ [[ ${CHOST} != *-darwin* ]] && append-cppflags -DSVR4 -D_XOPEN_SOURCE=500
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
+}
+
+src_install() {
+ dobin ttyrec ttyplay ttytime
+ dodoc README
+ doman *.1
+}
diff --git a/app-misc/ttyrec/ttyrec-1.0.8-r2.ebuild b/app-misc/ttyrec/ttyrec-1.0.8-r2.ebuild
new file mode 100644
index 000000000000..d5609a7a7f55
--- /dev/null
+++ b/app-misc/ttyrec/ttyrec-1.0.8-r2.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="The tty recorder provides tools to record and replay a terminal session."
+HOMEPAGE="http://0xcc.net/ttyrec/"
+SRC_URI="http://0xcc.net/ttyrec/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+PATCHES=( "${FILESDIR}/${P}-flags.patch" )
+
+src_compile() {
+ # Bug 106530
+ [[ ${CHOST} != *-darwin* ]] && append-cppflags -DSVR4 -D_XOPEN_SOURCE=500
+ default
+}
+
+src_install() {
+ dobin ttyrec ttyplay ttytime
+ dodoc README
+ doman *.1
+}