ports/116121: misc/ttyrec
Felippe de Meirelles Motta
lippe at freebsdbrasil.com.br
Wed Sep 5 13:20:02 UTC 2007
>Number: 116121
>Category: ports
>Synopsis: misc/ttyrec
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Wed Sep 05 13:20:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Felippe de Meirelles Motta
>Release: FreeBSD 6.2-STABLE i386
>Organization:
FreeBSD Brasil LTDA
>Environment:
FreeBSD dev.bh.freebsdbrasil.com.br 6.2-STABLE FreeBSD 6.2-STABLE #0: Mon Jun 25 13:46:23 BRT 2007 lippe at dev.bh.freebsdbrasil.com.br:/usr/obj/usr/src/sys/GENERIC i386
>Description:
- Take maintainership from ports@;
- Remove pkg-plist, added PLIST_FILES in Makefile;
- Rename files/patch-tyrec.c to files/patch-ttyrec.c.
Thanks! :)
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -ruN ttyrec.old/Makefile ttyrec/Makefile
--- ttyrec.old/Makefile Sat Aug 4 08:41:04 2007
+++ ttyrec/Makefile Wed Sep 5 10:00:43 2007
@@ -11,22 +11,24 @@
CATEGORIES= misc
MASTER_SITES= http://0xcc.net/ttyrec/
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= lippe at freebsdbrasil.com.br
COMMENT= Tty recorder
-USE_GCC= 3.4+
-
MAN1= ttyplay.1 ttyrec.1
+PLIST_FILES= bin/ttyplay \
+ bin/ttyrec \
+ bin/ttytime
+
post-patch:
@${REINPLACE_CMD} -e "s|^CC|#CC|g" -e "s|^CFLAGS|#CFLAGS|g" \
${WRKSRC}/Makefile
do-install:
-.for file in ttyrec ttyplay ttytime
+.for files in ttyrec ttyplay ttytime
${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin
.endfor
-.for file in ${MAN1}
+.for files in ${MAN1}
${INSTALL_MAN} ${WRKSRC}/${file} ${MAN1PREFIX}/man/man1
.endfor
diff -ruN ttyrec.old/files/patch-ttyrec.c ttyrec/files/patch-ttyrec.c
--- ttyrec.old/files/patch-ttyrec.c Wed Dec 31 21:00:00 1969
+++ ttyrec/files/patch-ttyrec.c Sun Jun 16 06:16:00 2002
@@ -0,0 +1,14 @@
+--- ttyrec.c.orig Tue Jun 4 21:52:00 2002
++++ ttyrec.c Tue Jun 4 21:52:12 2002
+@@ -202,11 +202,7 @@
+ void
+ finish()
+ {
+-#if defined(SVR4)
+ int status;
+-#else /* !SVR4 */
+- union wait status;
+-#endif /* !SVR4 */
+ register int pid;
+ register int die = 0;
+
diff -ruN ttyrec.old/files/patch-tyrec.c ttyrec/files/patch-tyrec.c
--- ttyrec.old/files/patch-tyrec.c Sun Jun 16 06:16:00 2002
+++ ttyrec/files/patch-tyrec.c Wed Dec 31 21:00:00 1969
@@ -1,14 +0,0 @@
---- ttyrec.c.orig Tue Jun 4 21:52:00 2002
-+++ ttyrec.c Tue Jun 4 21:52:12 2002
-@@ -202,11 +202,7 @@
- void
- finish()
- {
--#if defined(SVR4)
- int status;
--#else /* !SVR4 */
-- union wait status;
--#endif /* !SVR4 */
- register int pid;
- register int die = 0;
-
diff -ruN ttyrec.old/pkg-plist ttyrec/pkg-plist
--- ttyrec.old/pkg-plist Sat Feb 16 06:58:37 2002
+++ ttyrec/pkg-plist Wed Dec 31 21:00:00 1969
@@ -1,3 +0,0 @@
-bin/ttyplay
-bin/ttyrec
-bin/ttytime
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list