Unverified Commit 27ef23b3 authored by jopejoe1's avatar jopejoe1 Committed by GitHub
Browse files

tcptrace: drop (#486092)

parents 65db8814 952233b4
Loading
Loading
Loading
Loading
+0 −16
Original line number Diff line number Diff line
Index: tcptrace-6.6.1/Makefile.in
===================================================================
--- tcptrace-6.6.1.orig/Makefile.in
--- tcptrace-6.6.1/Makefile.in
@@ -286,9 +286,9 @@
 # just a quick installation rule
 INSTALL = ./install-sh -c
 install: tcptrace install-man
-	$(INSTALL) -m 755 -o bin -g bin tcptrace ${BINDIR}/tcptrace
+	$(INSTALL) -m 755 tcptrace ${BINDIR}/tcptrace
 install-man: 
-	$(INSTALL) -m 444 -o bin -g bin tcptrace.man $(MANDIR)/man1/tcptrace.1
+	$(INSTALL) -m 444 tcptrace.man $(MANDIR)/man1/tcptrace.1
 
 
 
+0 −54
Original line number Diff line number Diff line
{
  stdenv,
  fetchurl,
  lib,
  libpcap,
}:
stdenv.mkDerivation (final: {
  name = "tcptrace";
  version = "6.6.7";

  srcs = [
    (fetchurl {
      # Home page was down on 2024-02-01, so use Debian mirror as fallback.
      urls = [
        "http://www.tcptrace.org/download/tcptrace-${final.version}.tar.gz"
        "mirror://debian/pool/main/t/tcptrace/tcptrace_${final.version}.orig.tar.gz"
      ];
      hash = "sha256-YzgKQFGTPKCJeUdqnfxvlZMIvJ9g1FJVIC44jrVpEL0=";
    })
    (fetchurl {
      url = "mirror://debian/pool/main/t/tcptrace/tcptrace_6.6.7-6.debian.tar.xz";
      hash = "sha256-8rkwzdXcDOc3kACvrlyTQsnSw6AJgy6xA0YrECu63gY=";
    })
  ];
  sourceRoot = "tcptrace-${final.version}";

  outputs = [
    "out"
    "man"
  ];

  setOutputFlags = false;

  patches = [ ./fix-owners.patch ];
  prePatch = ''
    patches_deb=(../debian/patches/bug*)
    patches+=" ''${patches_deb[*]}"
  '';

  buildInputs = [ libpcap ];
  makeFlags = [
    "BINDIR=${placeholder "out"}/bin"
    "MANDIR=${placeholder "man"}/share/man"
  ];

  meta = {
    description = "Tool for analysis of TCP dump files";
    homepage = "http://www.tcptrace.org/";
    license = lib.licenses.gpl2Plus;
    maintainers = [ lib.maintainers.gmacon ];
    mainProgram = "tcptrace";
    platforms = lib.platforms.unix;
  };
})
+1 −0
Original line number Diff line number Diff line
@@ -1746,6 +1746,7 @@ mapAliases {
  tclvfs = throw "'tclvfs' has been renamed to/replaced by 'tclPackages.tclvfs'"; # Converted to throw 2025-10-27
  tclx = throw "'tclx' has been renamed to/replaced by 'tclPackages.tclx'"; # Converted to throw 2025-10-27
  tcp-cutter = throw "tcp-cutter has been removed because it fails to compile and the source url is dead"; # Added 2025-05-25
  tcptrace = throw "tcptrace has been removed as it was broken and upstream is gone"; # Added 2026-02-02
  tdesktop = throw "'tdesktop' has been renamed to/replaced by 'telegram-desktop'"; # Converted to throw 2025-10-27
  tdfgo = throw "'tdfgo' has been removed because it was removed from upstream"; # Added 2025-12-18
  tdlib-purple = throw "'tdlib-purple' has been renamed to/replaced by 'pidginPackages.tdlib-purple'"; # Converted to throw 2025-10-27