ports/50432: Update port devel/strace to 4.4.94 version

Alex Semenyaka alexs at ratmir.ru
Sat Mar 29 20:00:30 UTC 2003


>Number:         50432
>Category:       ports
>Synopsis:       Update port devel/strace to 4.4.94 version
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 29 12:00:27 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Alex Semenyaka
>Release:        FreeBSD 4.8-RC i386
>Organization:
Ratmir
>Environment:
System: FreeBSD snark.ratmir.ru 4.8-RC FreeBSD 4.8-RC #6: Wed Mar 26 19:10:00 MSK 2003 root at snark.ratmir.ru:/usr/obj/usr/src/sys/SNARK i386

>Description:

Update from version 4.4_1 to 4.4.94.
Added rfork() support.

>How-To-Repeat:

N/A

>Fix:

ATTENTION! Here are:
1) the patch to Makefile, pkg-descr, pkg-plist files.
2) new file which should be placed to files/patch-configure instead of 
patch-process.c (which should be deleted)

Both of them have format of patch-file, but first one should be APPLIED
while second just PLACED to the files/ directory. Old patch
(files/patch-process.c) should be DELETED.

Patch:



diff -r -u ./Makefile ../strace.new/Makefile
--- ./Makefile	Sat Mar 29 22:50:34 2003
+++ ../strace.new/Makefile	Sat Mar 29 22:51:22 2003
@@ -6,27 +6,27 @@
 #
 
 PORTNAME=	strace
-PORTVERSION=	4.4
+PORTVERSION=	4.4.94
 CATEGORIES=	devel sysutils
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
-DISTNAME=	${PORTNAME}_${PORTVERSION}-1
 
+USE_BZIP2=	yes
 MAINTAINER=	alex at rinet.ru
 COMMENT=	A portable process tracer
 
-WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
-
 GNU_CONFIGURE=	yes
 ONLY_FOR_ARCHS=	i386
 
 MAN1=		strace.1
 
+check-umask:
+
 do-install:
+	-${MKDIR} ${PREFIX}/bin
 	${INSTALL_PROGRAM} ${WRKSRC}/strace ${PREFIX}/bin
 	${INSTALL_SCRIPT} ${WRKSRC}/strace-graph ${PREFIX}/bin
+	-${MKDIR} ${PREFIX}/man/man1
 	${INSTALL_MAN} ${WRKSRC}/strace.1 ${PREFIX}/man/man1
-	${MKDIR} ${PREFIX}/share/strace
-	${INSTALL_DATA} ${WRKSRC}/xlate.el ${PREFIX}/share/strace
 
 .include <bsd.port.mk>
Only in .: distinfo
Only in ../strace.new/files: patch-configure
Only in ./files: patch-process.c
diff -r -u ./pkg-descr ../strace.new/pkg-descr
--- ./pkg-descr	Sat Mar 29 22:50:34 2003
+++ ../strace.new/pkg-descr	Sat Mar 29 15:14:57 2003
@@ -5,7 +5,6 @@
 Strace is similar to the native BSD ``truss'' utility, but it's
 output style is more convenient in most cases.
 
-WWW: http://www.liacs.nl/~wichert/strace/
+WWW: http://strace.sourceforge.net/
 
-- Alex Semenyaka
-alex at rinet.ru
+Maintains: Alex Semenyaka (alex at rinet.ru)
diff -r -u ./pkg-plist ../strace.new/pkg-plist
--- ./pkg-plist	Sat Mar 29 22:50:34 2003
+++ ../strace.new/pkg-plist	Sat Mar 29 22:28:39 2003
@@ -1,4 +1,3 @@
 bin/strace
 bin/strace-graph
-share/strace/xlate.el
 @dirrm share/strace





New file (files/patch-configure):

*** configure	Thu Feb 20 05:55:30 2003
--- /tmp/w/configure	Tue Feb 25 14:47:53 2003
***************
*** 5602,5606 ****
  cat >>conftest.$ac_ext <<_ACEOF
  /* end confdefs.h.  */
! #include <netinet/in.h
  
  int
--- 5602,5607 ----
  cat >>conftest.$ac_ext <<_ACEOF
  /* end confdefs.h.  */
! #include <sys/types.h>
! #include <netinet/in.h>
  
  int
***************
*** 5638,5642 ****
  cat >>conftest.$ac_ext <<_ACEOF
  /* end confdefs.h.  */
! #include <netinet/in.h
  
  int
--- 5639,5644 ----
  cat >>conftest.$ac_ext <<_ACEOF
  /* end confdefs.h.  */
! #include <sys/types.h>
! #include <netinet/in.h>
  
  int
***************
*** 6490,6493 ****
--- 6492,6496 ----
  cat >>conftest.$ac_ext <<_ACEOF
  /* end confdefs.h.  */
+ #include <sys/types.h>
  #include <netinet/in.h>
  
***************
*** 6749,6752 ****
--- 6752,6756 ----
  cat >>conftest.$ac_ext <<_ACEOF
  /* end confdefs.h.  */
+ #include <sys/types.h>
  #include <sys/socket.h>
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list