From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 084F81582EF for ; Sun, 16 Feb 2025 12:45:43 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id C644B34306D for ; Sun, 16 Feb 2025 12:45:42 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 0A5B5110472; Sun, 16 Feb 2025 12:45:38 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 050AD110472 for ; Sun, 16 Feb 2025 12:45:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 83C91342FAB for ; Sun, 16 Feb 2025 12:45:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E71C4271D for ; Sun, 16 Feb 2025 12:45:35 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1739709868.2882380fdaccd3fe6b0550bca33ecd23264c89b5.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/dsniff/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/dsniff/Manifest net-analyzer/dsniff/dsniff-2.4_beta1_p34.ebuild X-VCS-Directories: net-analyzer/dsniff/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 2882380fdaccd3fe6b0550bca33ecd23264c89b5 X-VCS-Branch: master Date: Sun, 16 Feb 2025 12:45:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2f88c63c-570e-4ec6-9e26-b9d302d6df1c X-Archives-Hash: 63183c59e90882d9dab976dadade029a commit: 2882380fdaccd3fe6b0550bca33ecd23264c89b5 Author: Sam James gentoo org> AuthorDate: Sun Feb 16 12:44:28 2025 +0000 Commit: Sam James gentoo org> CommitDate: Sun Feb 16 12:44:28 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2882380f net-analyzer/dsniff: add 2.4_beta1_p34 * Update to Debian patchset 34 * Build w/ -std=gnu17 & filter LTO (we already have way too many patches in the heap from Debian, not adding more; dead upstream) Closes: https://bugs.gentoo.org/946622 Signed-off-by: Sam James gentoo.org> net-analyzer/dsniff/Manifest | 1 + net-analyzer/dsniff/dsniff-2.4_beta1_p34.ebuild | 83 +++++++++++++++++++++++++ 2 files changed, 84 insertions(+) diff --git a/net-analyzer/dsniff/Manifest b/net-analyzer/dsniff/Manifest index f299e852f03d..b2e7c1ce8794 100644 --- a/net-analyzer/dsniff/Manifest +++ b/net-analyzer/dsniff/Manifest @@ -1,3 +1,4 @@ DIST dsniff_2.4b1+debian-30.debian.tar.xz 30788 BLAKE2B 8605b1dcca36f626f31410d88d25a57e6661b57b941155cdbde951991b09fb2dd7c147b1fdd1a22eded1cf904c890317b1844a7829cd6e43fd2fc5defc79b5f3 SHA512 45ffe34fcd30cd1461a354891b9d5567038cc176dbfa79c67020075cd40ae09b7092954925019e583d0d69cae76a558049b489745454a8034ce3e9e832c58f64 DIST dsniff_2.4b1+debian-31.debian.tar.xz 30848 BLAKE2B 46bdfa08170fbfbba35fcc67340fc35352ef276dd5e8e00a540da39d28364c3198198eefeb6b85cb05e74d3785fc61c7e8e58d6ce37e0b62e6018e4842d938ad SHA512 da927bb887db6761a07dc2460bdeb834b386ccc5b8aa50ebce804ee130f89379268412cddd83ad64cc763e98e2f42a7efc23b7ca77db59445533272cb408088f +DIST dsniff_2.4b1+debian-34.debian.tar.xz 31148 BLAKE2B 09b605065d8e03ea5c2f9083420feca3a05d4453ca7a46f2886766f34aed23e3cb83d73f12dbb633c1142d187b66a5508b3c583582e1902d4957e3813ed9929a SHA512 f539d59d931acc7fba97f079a33301b415d6dc769bf2ca3f1b3bf0fcfdf9cfc3c2454e017f5c47d39bcc5f47b91f70f6e2abc8cdeae631aa72946eb84b6bebf5 DIST dsniff_2.4b1+debian.orig.tar.gz 130220 BLAKE2B e6953a5bfc5331b030e1a5335987c51fa4cf2c644fc4e7ac9aefe17f52373a1f66ccef36c5d9136542f68a475350138b1f3e501bc9494a0fd4988c7c5a7b2eef SHA512 09c3a864f112f81b8fdf93436886b14eb8f603ec751b13f18cf027307f24098c018eacf98b3ae353731a0cf6f1c9cacfafbb534a0db8b9f0cc793e7515c41b5a diff --git a/net-analyzer/dsniff/dsniff-2.4_beta1_p34.ebuild b/net-analyzer/dsniff/dsniff-2.4_beta1_p34.ebuild new file mode 100644 index 000000000000..4aa1cdbcd003 --- /dev/null +++ b/net-analyzer/dsniff/dsniff-2.4_beta1_p34.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic toolchain-funcs + +MY_PV="${PV/_beta/b}" +MY_PV="${MY_PV/_p*/}" +MY_PV="$(ver_rs 1 '.' "${MY_PV}")" +# 2.4_beta1_p30 -> 2.4beta1-30 +MY_DEB_PV="$(ver_cut 1-2)$(ver_cut 3-4)-$(ver_cut 6)" + +DESCRIPTION="A collection of tools for network auditing and penetration testing" +HOMEPAGE="https://monkey.org/~dugsong/dsniff/" +SRC_URI="mirror://debian/pool/main/${PN::1}/${PN}/${PN}_${MY_PV}+debian.orig.tar.gz + mirror://debian/pool/main/${PN::1}/${PN}/${PN}_${MY_PV}+debian-${PV/*_p}.debian.tar.xz" +S="${WORKDIR}/${P/_beta1*/}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="X" + +# There's a berkdb configure option but we get a build failure if +# we try to disable it. Not clear how useful the package is +# without it anyway. +RDEPEND=" + net-libs/libpcap + >=net-libs/libnet-1.1.2.1-r1 + >=net-libs/libnids-1.21 + net-libs/libnsl:= + net-libs/libtirpc:= + dev-libs/openssl:= + >=sys-libs/db-4:= + X? ( x11-libs/libXmu ) +" +DEPEND=" + ${DEPEND} + net-libs/rpcsvc-proto +" +# Calls rpcgen during build +BDEPEND="net-libs/rpcsvc-proto" + +PATCHES=( + "${WORKDIR}"/debian/patches/ + "${FILESDIR}"/${PN}-2.4_beta1_p30-httppostfix.patch + "${FILESDIR}"/${PN}-2.4_beta1_p30-libdir-configure.patch + "${FILESDIR}"/${PN}-2.4_beta1_p30-respect-AR.patch +) + +src_prepare() { + default + + mv configure.{in,ac} || die + eautoreconf +} + +src_configure() { + # bug #946622 + append-flags -std=gnu17 + # Opt_dns clash (not worth reporting/patching; we already have + # a huge heap of patches from Debian) + filter-lto + + tc-export AR + + econf \ + $(use_with X x) +} + +src_compile() { + emake CC="$(tc-getCC)" +} + +src_install() { + emake install install_prefix="${D}" + + dodir /etc/dsniff + cp "${ED}"/usr/share/dsniff/{dnsspoof.hosts,dsniff.{magic,services}} \ + "${ED}"/etc/dsniff/ || die + dodoc CHANGES README TODO +}