commit:     983d31293849042aeefad82b049efe13de7c2610
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Wed Feb  5 21:20:59 2025 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Wed Feb  5 21:42:53 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=983d3129

net-misc/ethflop: treeclean

Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 net-misc/ethflop/ethflop-20191003-r2.ebuild        | 45 ----------------
 net-misc/ethflop/ethflop-20240916.ebuild           | 63 ----------------------
 .../ethflop/files/ethflop-20191003-makefile.patch  | 13 -----
 3 files changed, 121 deletions(-)

diff --git a/net-misc/ethflop/ethflop-20191003-r2.ebuild 
b/net-misc/ethflop/ethflop-20191003-r2.ebuild
deleted file mode 100644
index 714882673aba..000000000000
--- a/net-misc/ethflop/ethflop-20191003-r2.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 2019-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit systemd toolchain-funcs
-
-DESCRIPTION="A network-backed floppy emulator for DOS"
-HOMEPAGE="http://ethflop.sourceforge.net/";
-SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.zip";
-S="${WORKDIR}"
-
-LICENSE="ISC"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="tsr"
-
-BDEPEND="
-       app-arch/unzip
-       tsr? ( dev-lang/nasm )
-"
-
-PATCHES=( "${FILESDIR}/${P}-makefile.patch" )
-
-src_compile() {
-       tc-export CC
-       default
-
-       use tsr && emake tsr
-}
-
-src_install() {
-       dobin ethflopd
-
-       if use tsr; then
-               insinto /usr/share/ethflop
-               doins ethflop.com
-       fi
-
-       newinitd "${FILESDIR}"/ethflopd.initd ethflopd
-       newconfd "${FILESDIR}"/ethflopd.confd ethflopd
-       systemd_newunit "${FILESDIR}"/ethflopd.service-r1 ethflopd.service
-
-       dodoc ethflop.txt
-}

diff --git a/net-misc/ethflop/ethflop-20240916.ebuild 
b/net-misc/ethflop/ethflop-20240916.ebuild
deleted file mode 100644
index ce3f6d8221ca..000000000000
--- a/net-misc/ethflop/ethflop-20240916.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 2019-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MY_PV_TSR="20240920"
-
-inherit systemd toolchain-funcs
-
-DESCRIPTION="A network-backed floppy emulator for DOS"
-HOMEPAGE="https://ethflop.sourceforge.net/";
-SRC_URI="
-       https://ethflop.sourceforge.net/${PN}d-${PV}-src.tar.gz
-       tsr? ( https://ethflop.sourceforge.net/${PN}-${MY_PV_TSR}-src.zip )
-"
-S="${WORKDIR}"
-
-LICENSE="ISC"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="tsr"
-RESTRICT="test"
-
-BDEPEND="
-       app-arch/unzip
-       tsr? ( dev-lang/nasm )
-"
-
-PATCHES="${FILESDIR}/${PN}-20240916-makefile.patch"
-
-src_prepare() {
-       default
-       mv Makefile.linux Makefile || die
-       # Files are shipped uppercase, but need to be lowercase
-       if use tsr; then
-               for file in *.ASM *.SH; do
-                       mv ${file} ${file,,} || die
-               done
-               chmod +x build.sh || die
-       fi
-}
-
-src_compile() {
-       tc-export CC
-       default
-
-       if use tsr; then
-               ./build.sh || die
-       fi
-}
-
-src_install() {
-       dobin ethflopd
-
-       if use tsr; then
-               insinto /usr/share/ethflop
-               doins ethflop.com
-       fi
-
-       newinitd "${FILESDIR}"/ethflopd.initd ethflopd
-       newconfd "${FILESDIR}"/ethflopd.confd ethflopd
-       systemd_newunit "${FILESDIR}"/ethflopd.service-r1 ethflopd.service
-}

diff --git a/net-misc/ethflop/files/ethflop-20191003-makefile.patch 
b/net-misc/ethflop/files/ethflop-20191003-makefile.patch
deleted file mode 100644
index 7005dfdbb44b..000000000000
--- a/net-misc/ethflop/files/ethflop-20191003-makefile.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- a/Makefile 2019-10-03 23:02:15.000000000 +0200
-+++ b/Makefile 2019-10-15 08:31:49.541999473 +0200
-@@ -14,8 +14,8 @@
- #CFLAGS = -O2 -Wall -std=gnu89 -pedantic -Wextra -Wformat-security 
-D_FORTIFY_SOURCE=1 -Weverything -Wno-padded
- 
- # production
--CC = gcc
--CFLAGS = -O2 -std=gnu89
-+CC ?= gcc
-+CFLAGS ?= -O2 -std=gnu89
- 
- all: ethflopd
- 

Reply via email to