net-analyzer/nsat: Remove old
authorAndreas K. Hüttel <dilfridge@gentoo.org>
Sun, 22 Apr 2018 13:57:26 +0000 (15:57 +0200)
committerAndreas K. Hüttel <dilfridge@gentoo.org>
Sun, 22 Apr 2018 13:57:26 +0000 (15:57 +0200)
Closes: https://bugs.gentoo.org/371025
Package-Manager: Portage-2.3.31, Repoman-2.3.9

net-analyzer/nsat/nsat-1.5-r3.ebuild [deleted file]
net-analyzer/nsat/nsat-1.5-r4.ebuild [deleted file]

diff --git a/net-analyzer/nsat/nsat-1.5-r3.ebuild b/net-analyzer/nsat/nsat-1.5-r3.ebuild
deleted file mode 100644 (file)
index 67ce3eb..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit autotools eutils toolchain-funcs
-
-DESCRIPTION="Network Security Analysis Tool, an application-level network security scanner"
-HOMEPAGE="http://nsat.sourceforge.net/"
-SRC_URI="mirror://sourceforge/nsat/${P}.tgz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc x86"
-IUSE="X"
-
-RDEPEND="
-       X? (
-               x11-libs/libX11
-               dev-lang/tk
-       )
-       dev-libs/libmix
-       net-libs/libpcap
-"
-DEPEND="$RDEPEND"
-
-S="${WORKDIR}/${PN}"
-
-src_prepare() {
-       epatch "${FILESDIR}"/${P}-configure.patch
-       epatch "${FILESDIR}"/${P}-lvalue-gcc4.patch
-       epatch "${FILESDIR}"/${P}-strip.patch
-       epatch "${FILESDIR}"/${P}-misc.patch
-       epatch "${FILESDIR}"/${P}-va_list.patch
-       use amd64 && epatch "${FILESDIR}"/${P}-amd64-compat.patch
-
-       sed -i \
-               -e "s:^#CGIFile /usr/local/share/nsat/nsat.cgi$:#CGIFile /usr/share/nsat/nsat.cgi:g" \
-               nsat.conf || die
-       sed -i -e "s:/usr/local:/usr:g" tools/xnsat || die
-       sed -i \
-               -e "s:/usr/local/share/nsat/nsat.conf:/etc/nsat/nsat.conf:g" \
-               -e "s:/usr/local/share/nsat/nsat.cgi:/usr/share/nsat/nsat.cgi:g" \
-               src/lang.h || die
-
-       eautoreconf
-}
-
-src_configure() {
-       tc-export CC
-       econf $(use_with X x)
-}
-
-src_compile() {
-       emake MIXOBJ=-lmix++
-}
-
-src_install () {
-       dobin nsat smb-ns
-       use X && dobin tools/xnsat
-
-       insinto /usr/share/nsat
-       doins nsat.cgi
-
-       insinto /etc/nsat
-       doins nsat.conf
-
-       dodoc README doc/CHANGES
-       doman doc/nsat.8
-}
diff --git a/net-analyzer/nsat/nsat-1.5-r4.ebuild b/net-analyzer/nsat/nsat-1.5-r4.ebuild
deleted file mode 100644 (file)
index 71f484c..0000000
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit autotools toolchain-funcs
-
-DESCRIPTION="Network Security Analysis Tool, an application-level network security scanner"
-HOMEPAGE="http://nsat.sourceforge.net/"
-SRC_URI="mirror://sourceforge/nsat/${P}.tgz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="X"
-
-RDEPEND="
-       dev-libs/libmix
-       net-libs/libnsl:0=
-       net-libs/libpcap
-       X? (
-               dev-lang/tk:*
-               x11-libs/libX11
-       )
-       || (    <sys-libs/glibc-2.26
-               (
-                       net-libs/libtirpc
-                       net-libs/rpcsvc-proto
-               )
-       )
-"
-DEPEND="$RDEPEND"
-S="${WORKDIR}/${PN}"
-PATCHES=(
-       "${FILESDIR}"/${P}-configure.patch
-       "${FILESDIR}"/${P}-lvalue-gcc4.patch
-       "${FILESDIR}"/${P}-strip.patch
-       "${FILESDIR}"/${P}-misc.patch
-       "${FILESDIR}"/${P}-va_list.patch
-       "${FILESDIR}"/${P}-libtirpc.patch
-       "${FILESDIR}"/${P}-amd64-compat.patch
-)
-
-src_prepare() {
-       default
-
-       sed -i \
-               -e "s:^#CGIFile /usr/local/share/nsat/nsat.cgi$:#CGIFile /usr/share/nsat/nsat.cgi:g" \
-               nsat.conf || die
-       sed -i -e "s:/usr/local:/usr:g" tools/xnsat || die
-       sed -i \
-               -e "s:/usr/local/share/nsat/nsat.conf:/etc/nsat/nsat.conf:g" \
-               -e "s:/usr/local/share/nsat/nsat.cgi:/usr/share/nsat/nsat.cgi:g" \
-               src/lang.h || die
-
-       eautoreconf
-}
-
-src_configure() {
-       tc-export CC
-       econf $(use_with X x)
-}
-
-src_compile() {
-       emake MIXOBJ=-lmix++
-}
-
-src_install () {
-       dobin nsat smb-ns
-       use X && dobin tools/xnsat
-
-       insinto /usr/share/nsat
-       doins nsat.cgi
-
-       insinto /etc/nsat
-       doins nsat.conf
-
-       dodoc README doc/CHANGES
-       doman doc/nsat.8
-}