Index: devel/Makefile =================================================================== --- devel/Makefile +++ devel/Makefile @@ -1648,6 +1648,7 @@ SUBDIR += linux-c7-qt SUBDIR += linux-c7-sdl12 SUBDIR += linux-c7-sdl20 + SUBDIR += linux-c7-strace SUBDIR += linux_libusb SUBDIR += lion SUBDIR += listserialc Index: devel/linux-c7-strace/Makefile =================================================================== --- /dev/null +++ devel/linux-c7-strace/Makefile @@ -0,0 +1,16 @@ +# $FreeBSD$ + +PORTNAME= strace +PORTVERSION= 4.12 +CATEGORIES= devel + +MAINTAINER= trasz@FreeBSD.org +COMMENT= System call tracer (CentOS ${LINUX_DIST_VER}) + +LINUXNAME= ${PORTNAME}${PKGNAMESUFFIX} +RPMVERSION= 9.el7 +USES= linux:c7 +USE_LINUX_RPM= yes +LINUX_DIST_VER= 7 # Fails to fetch otherwise. + +.include Index: devel/linux-c7-strace/distinfo =================================================================== --- /dev/null +++ devel/linux-c7-strace/distinfo @@ -0,0 +1,7 @@ +TIMESTAMP = 1555980352 +SHA256 (centos/strace-4.12-9.el7.i686.rpm) = d83a87b572d88771be1fa37f988fbb12fa707eac7c44b5609e86bd214afded11 +SIZE (centos/strace-4.12-9.el7.i686.rpm) = 454296 +SHA256 (centos/strace-4.12-9.el7.x86_64.rpm) = 75980dc1bc92e3ed4bb224605e3b92db03d25ab9c42abf591241c2434ca636e1 +SIZE (centos/strace-4.12-9.el7.x86_64.rpm) = 470408 +SHA256 (centos/strace-4.12-9.el7.src.rpm) = bc694a34a8f170da122aebf4f01a0c073a4d4a462fa2b3001148707cde13f738 +SIZE (centos/strace-4.12-9.el7.src.rpm) = 1665667 Index: devel/linux-c7-strace/pkg-descr =================================================================== --- /dev/null +++ devel/linux-c7-strace/pkg-descr @@ -0,0 +1,10 @@ +strace is a system call tracer, i.e. a debugging tool which prints out a trace +of all the system calls made by a another process/program. + +strace is similar to the native BSD ``truss'' utility, but it's output style is +more convenient in most cases. + +For strace to work, linprocfs has to be mounted. FreeBSD does not mount it by +default. For more information, man linprocfs. + +WWW: https://sourceforge.net/projects/strace/ Index: devel/linux-c7-strace/pkg-plist.amd64 =================================================================== --- /dev/null +++ devel/linux-c7-strace/pkg-plist.amd64 @@ -0,0 +1,4 @@ +usr/bin/strace +usr/bin/strace-log-merge +usr/share/man/man1/strace-log-merge.1.gz +usr/share/man/man1/strace.1.gz Index: devel/linux-c7-strace/pkg-plist.i386 =================================================================== --- /dev/null +++ devel/linux-c7-strace/pkg-plist.i386 @@ -0,0 +1,4 @@ +usr/bin/strace +usr/bin/strace-log-merge +usr/share/man/man1/strace-log-merge.1.gz +usr/share/man/man1/strace.1.gz