View | Details | Raw Unified | Return to bug 60829
Collapse All | Expand All

(-)/root/strace/Makefile (-3 / +19 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	strace
8
PORTNAME=	strace
9
PORTVERSION=	4.4.94
9
PORTVERSION=	4.5.1
10
CATEGORIES=	devel sysutils
10
CATEGORIES=	devel sysutils
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
12
MASTER_SITE_SUBDIR=	${PORTNAME}
12
MASTER_SITE_SUBDIR=	${PORTNAME}
Lines 15-30 Link Here
15
COMMENT=	A portable process tracer
15
COMMENT=	A portable process tracer
16
16
17
USE_BZIP2=	yes
17
USE_BZIP2=	yes
18
USE_PERL5=	yes # for strace-graph
19
USE_REINPLACE=	yes
18
GNU_CONFIGURE=	yes
20
GNU_CONFIGURE=	yes
19
ONLY_FOR_ARCHS=	i386
21
ONLY_FOR_ARCHS=	i386
20
22
21
MAN1=		strace.1
23
MAN1=		strace.1
22
24
25
.if !defined(NOPORTDOCS)
26
PORTDOCS=	*
27
.endif
28
29
post-patch:
30
	${REINPLACE_CMD} 's,/usr/bin/perl,${PERL},' ${WRKSRC}/strace-graph
31
23
do-install:
32
do-install:
24
	-${MKDIR} ${PREFIX}/bin
33
	${MKDIR} ${PREFIX}/bin
25
	${INSTALL_PROGRAM} ${WRKSRC}/strace ${PREFIX}/bin
34
	${INSTALL_PROGRAM} ${WRKSRC}/strace ${PREFIX}/bin
26
	${INSTALL_SCRIPT} ${WRKSRC}/strace-graph ${PREFIX}/bin
35
	${INSTALL_SCRIPT} ${WRKSRC}/strace-graph ${PREFIX}/bin
27
	-${MKDIR} ${PREFIX}/man/man1
36
	${MKDIR} ${PREFIX}/man/man1
28
	${INSTALL_MAN} ${WRKSRC}/strace.1 ${PREFIX}/man/man1
37
	${INSTALL_MAN} ${WRKSRC}/strace.1 ${PREFIX}/man/man1
38
.if !defined(NOPORTDOCS)
39
	${MKDIR} ${DOCSDIR}
40
.for i in AUTHORS COPYING COPYRIGHT CREDITS ChangeLog NEWS PORTING \
41
	README README-freebsd README-svr4 TODO
42
	${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
43
.endfor
44
.endif
29
45
30
.include <bsd.port.mk>
46
.include <bsd.port.mk>
(-)/root/strace/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (strace-4.4.94.tar.bz2) = 483890e6ea930f8c09ccae55121ca7ac
1
MD5 (strace-4.5.1.tar.bz2) = 11657c64e4289d8cfc48302e890f1a5b
(-)/root/strace/files/patch-configure (-45 / +18 lines)
Lines 1-45 Link Here
1
*** configure	Thu Feb 20 05:55:30 2003
1
--- configure.orig	Fri Nov  7 03:24:18 2003
2
--- /tmp/w/configure	Tue Feb 25 14:47:53 2003
2
+++ configure	Fri Jan  2 19:08:31 2004
3
***************
3
@@ -6501,6 +6501,7 @@
4
*** 5602,5606 ****
4
 cat confdefs.h >>conftest.$ac_ext
5
  cat >>conftest.$ac_ext <<_ACEOF
5
 cat >>conftest.$ac_ext <<_ACEOF
6
  /* end confdefs.h.  */
6
 /* end confdefs.h.  */
7
! #include <netinet/in.h
7
+#include <sys/types.h>
8
  
8
 #include <netinet/in.h>
9
  int
9
 
10
--- 5602,5607 ----
10
 #include <$ac_header>
11
  cat >>conftest.$ac_ext <<_ACEOF
11
@@ -6760,6 +6761,7 @@
12
  /* end confdefs.h.  */
12
 cat confdefs.h >>conftest.$ac_ext
13
! #include <sys/types.h>
13
 cat >>conftest.$ac_ext <<_ACEOF
14
! #include <netinet/in.h>
14
 /* end confdefs.h.  */
15
  
15
+#include <sys/types.h>
16
  int
16
 #include <sys/socket.h>
17
***************
17
 
18
*** 5638,5642 ****
18
 int
19
  cat >>conftest.$ac_ext <<_ACEOF
20
  /* end confdefs.h.  */
21
! #include <netinet/in.h
22
  
23
  int
24
--- 5639,5644 ----
25
  cat >>conftest.$ac_ext <<_ACEOF
26
  /* end confdefs.h.  */
27
! #include <sys/types.h>
28
! #include <netinet/in.h>
29
  
30
  int
31
***************
32
*** 6490,6493 ****
33
--- 6492,6496 ----
34
  cat >>conftest.$ac_ext <<_ACEOF
35
  /* end confdefs.h.  */
36
+ #include <sys/types.h>
37
  #include <netinet/in.h>
38
  
39
***************
40
*** 6749,6752 ****
41
--- 6752,6756 ----
42
  cat >>conftest.$ac_ext <<_ACEOF
43
  /* end confdefs.h.  */
44
+ #include <sys/types.h>
45
  #include <sys/socket.h>
(-)/root/strace/files/patch-file.c (+20 lines)
Line 0 Link Here
1
--- file.c.orig	Thu Nov 13 23:32:27 2003
2
+++ file.c	Fri Jan  2 19:11:23 2004
3
@@ -1387,7 +1387,7 @@
4
 		statbuf.f_bsize, statbuf.f_blocks, statbuf.f_bfree);
5
 	tprintf("f_bavail=%u, f_files=%u, f_ffree=%u, f_fsid={%d, %d}, f_namelen=%u",
6
 		statbuf.f_bavail,statbuf.f_files, statbuf.f_ffree,
7
-		statbuf.f_fsid.__val[0], statbuf.f_fsid.__val[1],
8
+		statbuf.f_fsid.val[0], statbuf.f_fsid.val[1],
9
 		statbuf.f_namelen);
10
 #else /* !ALPHA */
11
 	tprintf("{f_type=%s, f_bsize=%lu, f_blocks=%lu, f_bfree=%lu, ",
12
@@ -1399,7 +1399,7 @@
13
 		(unsigned long)statbuf.f_bavail,
14
 		(unsigned long)statbuf.f_files,
15
 		(unsigned long)statbuf.f_ffree,
16
-		statbuf.f_fsid.__val[0], statbuf.f_fsid.__val[1]);
17
+		statbuf.f_fsid.val[0], statbuf.f_fsid.val[1]);
18
 #ifdef LINUX
19
 	tprintf(", f_namelen=%lu", (unsigned long)statbuf.f_namelen);
20
 #endif /* LINUX */

Return to bug 60829