aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-12-29 22:21:41 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-12-31 00:06:22 +0000
commitf88f6fcef1df84d17b2f15fdbea7a8484ba46d2d (patch)
treeab20d4f2ec46deb6d0144a022c56d826746b4c34
parent71fc9ea55035b9ef3383fc7c462f36036d50a6bd (diff)
downloadports-f88f6fc.tar.gz
ports-f88f6fc.zip
devel/strace: Remove expired port
2023-12-31 devel/strace: BROKEN on all supported versions after EOL of 12
-rw-r--r--MOVED1
-rw-r--r--devel/Makefile1
-rw-r--r--devel/strace/Makefile45
-rw-r--r--devel/strace/distinfo2
-rw-r--r--devel/strace/files/patch-configure18
-rw-r--r--devel/strace/files/patch-file.c52
-rw-r--r--devel/strace/files/patch-net.c18
-rw-r--r--devel/strace/files/patch-sock.c39
-rw-r--r--devel/strace/files/patch-strace.c26
-rw-r--r--devel/strace/files/patch-syscall.c15
-rw-r--r--devel/strace/files/patch-time.c18
-rw-r--r--devel/strace/pkg-descr8
12 files changed, 1 insertions, 242 deletions
diff --git a/MOVED b/MOVED
index b3bdf64988c2..ae5b74e9ea3c 100644
--- a/MOVED
+++ b/MOVED
@@ -8227,3 +8227,4 @@ graphics/figurine||2023-12-31|Has expired: BROKEN for more than 2 years on all s
editors/xi-term||2023-12-31|Has expired: Frontend depends on deprecated editors/xi-core. No upstream activity.
net/wmwlmon||2023-12-31|Has expired: BROKEN on all supported versions after the EOL of 12
audio/mythplugin-mythmusic||2023-12-31|Has expired: Depends on deprecated www/qt5-webkit via multimedia/mythtv
+devel/strace||2023-12-31|Has expired: BROKEN on all supported versions after EOL of 12
diff --git a/devel/Makefile b/devel/Makefile
index 5d85e91a2e9b..bd23b1f4e531 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -7720,7 +7720,6 @@
SUBDIR += stlfilt
SUBDIR += stlink
SUBDIR += str
- SUBDIR += strace
SUBDIR += string_theory
SUBDIR += stringencoders
SUBDIR += stuffbin
diff --git a/devel/strace/Makefile b/devel/strace/Makefile
deleted file mode 100644
index 1e2928a3b663..000000000000
--- a/devel/strace/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-PORTNAME= strace
-PORTVERSION= 4.5.18
-PORTREVISION= 1
-CATEGORIES= devel sysutils
-MASTER_SITES= SF
-
-MAINTAINER= sbz@FreeBSD.org
-COMMENT= System call tracer
-WWW= https://sourceforge.net/projects/strace/
-
-LICENSE= BSD3CLAUSE
-
-DEPRECATED= BROKEN on all supported versions after EOL of 12
-EXPIRATION_DATE= 2023-12-31
-ONLY_FOR_ARCHS= i386
-
-USES= cpe shebangfix perl5 tar:bzip2 # perl5 for strace-graph
-GNU_CONFIGURE= yes
-CPE_VENDOR= strace_project
-
-SHEBANG_FILES= strace-graph
-
-PLIST_FILES= bin/strace bin/strace-graph man/man1/strace.1.gz
-
-OPTIONS_DEFINE= DOCS
-
-PORTDOCS= AUTHORS COPYRIGHT CREDITS ChangeLog NEWS PORTING \
- README README-freebsd README-svr4 TODO
-
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 1300088
-BROKEN= Uses procfs-based process debugging
-.endif
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/strace ${STAGEDIR}${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/strace-graph ${STAGEDIR}${PREFIX}/bin
-
- ${INSTALL_MAN} ${WRKSRC}/strace.1 ${STAGEDIR}${MANPREFIX}/man/man1
-
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
-
-.include <bsd.port.post.mk>
diff --git a/devel/strace/distinfo b/devel/strace/distinfo
deleted file mode 100644
index 19a7420861da..000000000000
--- a/devel/strace/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (strace-4.5.18.tar.bz2) = 95e7b7470e04f22c3ec8dc6d0b1fdd8944306cb5313c84c4545cd83abada26d0
-SIZE (strace-4.5.18.tar.bz2) = 480973
diff --git a/devel/strace/files/patch-configure b/devel/strace/files/patch-configure
deleted file mode 100644
index df459bacb200..000000000000
--- a/devel/strace/files/patch-configure
+++ /dev/null
@@ -1,18 +0,0 @@
---- configure.orig Fri Nov 7 03:24:18 2003
-+++ configure Fri Jan 2 19:08:31 2004
-@@ -6501,6 +6501,7 @@
- cat confdefs.h >>conftest.$ac_ext
- cat >>conftest.$ac_ext <<_ACEOF
- /* end confdefs.h. */
-+#include <sys/types.h>
- #include <netinet/in.h>
-
- #include <$ac_header>
-@@ -6760,6 +6761,7 @@
- cat confdefs.h >>conftest.$ac_ext
- cat >>conftest.$ac_ext <<_ACEOF
- /* end confdefs.h. */
-+#include <sys/types.h>
- #include <sys/socket.h>
-
- int
diff --git a/devel/strace/files/patch-file.c b/devel/strace/files/patch-file.c
deleted file mode 100644
index 4cb45cf6bb5d..000000000000
--- a/devel/strace/files/patch-file.c
+++ /dev/null
@@ -1,52 +0,0 @@
---- file.c.orig 2008-08-01 09:13:10.000000000 +0800
-+++ file.c 2008-11-21 00:16:35.000000000 +0800
-@@ -1656,7 +1656,7 @@
- statbuf.f_bsize, statbuf.f_blocks, statbuf.f_bfree);
- tprintf("f_bavail=%u, f_files=%u, f_ffree=%u, f_fsid={%d, %d}, f_namelen=%u",
- statbuf.f_bavail,statbuf.f_files, statbuf.f_ffree,
-- statbuf.f_fsid.__val[0], statbuf.f_fsid.__val[1],
-+ statbuf.f_fsid.val[0], statbuf.f_fsid.val[1],
- statbuf.f_namelen);
- #else /* !ALPHA */
- tprintf("{f_type=%s, f_bsize=%lu, f_blocks=%lu, f_bfree=%lu, ",
-@@ -1668,7 +1668,7 @@
- (unsigned long)statbuf.f_bavail,
- (unsigned long)statbuf.f_files,
- (unsigned long)statbuf.f_ffree,
-- statbuf.f_fsid.__val[0], statbuf.f_fsid.__val[1]);
-+ statbuf.f_fsid.val[0], statbuf.f_fsid.val[1]);
- #ifdef LINUX
- tprintf(", f_namelen=%lu", (unsigned long)statbuf.f_namelen);
- #endif /* LINUX */
-@@ -2856,6 +2856,7 @@
- }
-
-
-+#ifdef LINUX
- static const struct xlat advise[] = {
- { POSIX_FADV_NORMAL, "POSIX_FADV_NORMAL" },
- { POSIX_FADV_RANDOM, "POSIX_FADV_RANDOM" },
-@@ -2865,6 +2866,7 @@
- { POSIX_FADV_NOREUSE, "POSIX_FADV_NOREUSE" },
- { 0, NULL }
- };
-+#endif
-
-
- #ifdef LINUX
-@@ -2888,6 +2890,7 @@
- #endif
-
-
-+#ifdef LINUX
- int
- sys_fadvise64_64(tcp)
- struct tcb *tcp;
-@@ -2909,6 +2912,7 @@
- }
- return 0;
- }
-+#endif
-
- #ifdef LINUX
- static const struct xlat inotify_modes[] = {
diff --git a/devel/strace/files/patch-net.c b/devel/strace/files/patch-net.c
deleted file mode 100644
index 4190aa1801af..000000000000
--- a/devel/strace/files/patch-net.c
+++ /dev/null
@@ -1,18 +0,0 @@
---- net.c.orig 2008-11-21 00:18:27.000000000 +0800
-+++ net.c 2008-11-21 00:18:47.000000000 +0800
-@@ -1134,6 +1134,7 @@
- free(cmsg);
- return;
- }
-+#ifdef SCM_CREDENTIALS
- if (cmsg->cmsg_type == SCM_CREDENTIALS
- && CMSG_LEN(sizeof(struct ucred)) <= cmsg_len) {
- struct ucred *uc = (struct ucred *) CMSG_DATA (cmsg);
-@@ -1143,6 +1144,7 @@
- free(cmsg);
- return;
- }
-+#endif
- }
- free(cmsg);
- tprintf(", ...}");
diff --git a/devel/strace/files/patch-sock.c b/devel/strace/files/patch-sock.c
deleted file mode 100644
index 79623f0d031c..000000000000
--- a/devel/strace/files/patch-sock.c
+++ /dev/null
@@ -1,39 +0,0 @@
---- sock.c.orig 2007-05-24 14:33:11.000000000 +0800
-+++ sock.c 2008-11-21 00:51:02.000000000 +0800
-@@ -45,7 +45,9 @@
- #include <ioctls.h>
- #endif
- #endif
-+#include <sys/socket.h>
- #include <net/if.h>
-+#include <netinet/in.h>
-
- extern const struct xlat addrfams[];
-
-@@ -55,16 +57,26 @@
- { IFF_DEBUG, "IFF_DEBUG" },
- { IFF_LOOPBACK, "IFF_LOOPBACK" },
- { IFF_POINTOPOINT, "IFF_POINTOPOINT" },
-+#ifdef IFF_NOTRAILERS
- { IFF_NOTRAILERS, "IFF_NOTRAILERS" },
-+#endif
- { IFF_RUNNING, "IFF_RUNNING" },
- { IFF_NOARP, "IFF_NOARP" },
- { IFF_PROMISC, "IFF_PROMISC" },
- { IFF_ALLMULTI, "IFF_ALLMULTI" },
-+#ifdef IFF_MASTER
- { IFF_MASTER, "IFF_MASTER" },
-+#endif
-+#ifdef IFF_SLAVE
- { IFF_SLAVE, "IFF_SLAVE" },
-+#endif
- { IFF_MULTICAST, "IFF_MULTICAST" },
-+#ifdef IFF_PORTSEL
- { IFF_PORTSEL, "IFF_PORTSEL" },
-+#endif
-+#ifdef IFF_AUTOMEDIA
- { IFF_AUTOMEDIA, "IFF_AUTOMEDIA" },
-+#endif
- { 0, NULL }
- };
-
diff --git a/devel/strace/files/patch-strace.c b/devel/strace/files/patch-strace.c
deleted file mode 100644
index 5ab633221920..000000000000
--- a/devel/strace/files/patch-strace.c
+++ /dev/null
@@ -1,26 +0,0 @@
---- strace.c.orig 2008-08-19 12:47:50.000000000 +0800
-+++ strace.c 2008-11-20 22:48:39.000000000 +0800
-@@ -604,6 +604,23 @@
- cleanup();
- exit(1);
- }
-+#ifdef FREEBSD
-+ {
-+ int status;
-+ pid_t err;
-+
-+ do {
-+ err = waitpid(pid, &status, WUNTRACED);
-+ } while (err == -1 && errno == EINTR);
-+ if (err == -1) {
-+ fprintf(stderr,
-+ "waitpid() failed: %s\n",
-+ strerror(errno));
-+ cleanup();
-+ exit(1);
-+ }
-+ }
-+#endif
- #ifdef USE_PROCFS
- if (proc_open(tcp, 0) < 0) {
- fprintf(stderr, "trouble opening proc file\n");
diff --git a/devel/strace/files/patch-syscall.c b/devel/strace/files/patch-syscall.c
deleted file mode 100644
index 0a7333a2a782..000000000000
--- a/devel/strace/files/patch-syscall.c
+++ /dev/null
@@ -1,15 +0,0 @@
---- syscall.c.orig 2008-11-20 23:43:57.000000000 +0800
-+++ syscall.c 2008-11-20 23:46:37.000000000 +0800
-@@ -716,8 +716,10 @@
- )
- return internal_exec(tcp);
-
-- if ( sys_waitpid == func
-- || sys_wait4 == func
-+ if ( sys_wait4 == func
-+#if defined(LINUX)
-+ || sys_waitpid == func
-+#endif
- #if defined(SVR4) || defined(FREEBSD) || defined(SUNOS4)
- || sys_wait == func
- #endif
diff --git a/devel/strace/files/patch-time.c b/devel/strace/files/patch-time.c
deleted file mode 100644
index 16cf7619da0e..000000000000
--- a/devel/strace/files/patch-time.c
+++ /dev/null
@@ -1,18 +0,0 @@
---- time.c.orig 2008-11-21 01:06:16.000000000 +0800
-+++ time.c 2008-11-21 01:06:46.000000000 +0800
-@@ -36,6 +36,7 @@
- #include <sys/timex.h>
- #include <linux/ioctl.h>
- #include <linux/rtc.h>
-+#endif /* LINUX */
-
- #ifndef UTIME_NOW
- #define UTIME_NOW ((1l << 30) - 1l)
-@@ -43,7 +44,6 @@
- #ifndef UTIME_OMIT
- #define UTIME_OMIT ((1l << 30) - 2l)
- #endif
--#endif /* LINUX */
-
- struct timeval32
- {
diff --git a/devel/strace/pkg-descr b/devel/strace/pkg-descr
deleted file mode 100644
index b91026a279da..000000000000
--- a/devel/strace/pkg-descr
+++ /dev/null
@@ -1,8 +0,0 @@
-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, procfs has to be mounted. FreeBSD does not mount it by
-default. For more information, man procfs.