diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-12-30 06:30:40 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-12-30 06:30:40 +0000 |
commit | 7d7cc3f0fa58454952dec67b110b41d503bca422 (patch) | |
tree | 1a8f98c27530104edbec5993a3ae262b82a25823 /net-misc/ethflop | |
parent | 0e12f8e53cdddba84b0eb27dca59153e2cf52309 (diff) |
gentoo auto-resync : 30:12:2024 - 06:30:40
Diffstat (limited to 'net-misc/ethflop')
-rw-r--r-- | net-misc/ethflop/Manifest | 4 | ||||
-rw-r--r-- | net-misc/ethflop/ethflop-20240916.ebuild | 63 | ||||
-rw-r--r-- | net-misc/ethflop/files/ethflop-20240916-makefile.patch | 11 |
3 files changed, 78 insertions, 0 deletions
diff --git a/net-misc/ethflop/Manifest b/net-misc/ethflop/Manifest index 34dac826a0de..d98c03c545e2 100644 --- a/net-misc/ethflop/Manifest +++ b/net-misc/ethflop/Manifest @@ -1,7 +1,11 @@ AUX ethflop-20191003-makefile.patch 350 BLAKE2B b268ad12b98a3333397906570ac261caf06761df6d195366be1a889baabee6a49d402208c01bab6d1fa816cae6caf0222a94bd691d977a86320886bf145f47ca SHA512 f160b0285864cfdc076b354cf5e5a7738e3d58d9a22d984ffb754d1616eea24d00b6c2f5854e495feddf59ea383b0acb81d284a611b2f4726f3106b6337a432d +AUX ethflop-20240916-makefile.patch 252 BLAKE2B d594316713c7aa548900b961b16818cc0979ed9e8cc4eef7c5007d13dc5922701e6a92d6e0ef3d2a9dedb68d2f2c59b4addcfd654aa3c55be5c8117d9e222273 SHA512 df349393d3eb4372627831b72c5915d38f845eebbf8f8119e740a03821e9ef0d624614c2ba876e654317732ddc3aab7bcba422e9b12dceb81dd189c137bbd847 AUX ethflopd.confd 270 BLAKE2B f88ff41ed7b083b3251b0aed5612eefbb4e6d652f4ba7fcbae7dfbcf85fe072a478abdc07ff9051869a2fa4a9b9051749a138aef2d5cc79fc00b2dc341cb0b03 SHA512 d46fba4546f6146cd11cc2e161943ddd20720f78749664d72a0f14e3e012466d0d882bafcbba2794c6630c735cc6bf204e4e1baf90a98b892cc92c8debf8a318 AUX ethflopd.initd 236 BLAKE2B 938ff83700a252586b83b4d3f209a71bafe3b9ec87e1fff8ac86ceecd00ddc245c2e74dc7f66aed940fc7fa858c027c7ea1482343f0c59e86aaba393ec9b16f7 SHA512 974369721f6da77da247bdac70e077f4b93323af4ccb3ba5db30e6901c5a6962007592dcece1650c1e6fec12be9b9c8088b42fddec3db2ecb506e044292a5b8e AUX ethflopd.service-r1 185 BLAKE2B 1d5f50667e826b2545e66fa1fd41b1dcc232b7eac2d207e3ae3bff24445e9af6088ec1c85891b95b209ac5e2cf42a542290674044f98baf7634a554d9fd86ae4 SHA512 5f35d6a527a7c9b287df43b3a9c0d1173a9ebcfb292aede867617a268e00c70ad985416b9844bee872bbd2bc030c53fafe30ae18ebdffb328985fa6f418358b7 DIST ethflop-20191003.zip 29858 BLAKE2B e5a4068d45c398d6c7bfd08299b57566c3d30bea4ef79692cae065adb61f3c41fd3ed568260e82e19d90e17c7b6d92c0698bb7f7c40edea9d44804a7a61e18ae SHA512 808e65d45e2ff74380bc2f1a31b7bb59fdca4acdf44eb7f60deef9aa0976462ddc64982e8a7b7c225d7f88e11a33dfcdf73fd7169f942018976d4d086e7ec477 +DIST ethflop-20240920-src.zip 22250 BLAKE2B d644c2e2cec9a6d0d303c38412833ff46c26a572138e7bbfbac55437895deb36e843685ee25e5797b7dacb2842b6c7896e6f9e4d819154f1cd2f1a95ca10b721 SHA512 6dc84b1db4fd6a83037c1f1395da5cc4bf5f43b9650f64d20c05fef4ceccdca1661e890a96f85e7a96ee94ee89b1d96994bfbe8d048a8f7d690e53f21ebde518 +DIST ethflopd-20240916-src.tar.gz 55737 BLAKE2B 8b6a886829f1f7c19c95965b48182c66da04d6f5364ff0cc1b820db62794f33e64900c9df6e7584a0ee3190d70121c7d52853f1d54bf9977e9f0fa7af6e2dfbd SHA512 b442dc4f0be8357cc406c0f67aa4234bebfb648c42342b0858ee06d162386323e2fa89d1d7d54d327b07c10f50bc5452958fdd8b41066a8bece08e4a65aa59c3 EBUILD ethflop-20191003-r2.ebuild 831 BLAKE2B e2684199e3678475d0da4b23c027644db18ddaeab45e43c890718319d8f0062ed0c078c6d0f6e03934fde2fc865db4e4de04d35d7014aa793045cf20e883413d SHA512 f9b10850124e873b2399592f4e2847e11fe355c81e69f224e1eb2ce0894119db27696940552a04da6bcf24cf704f390f17aa55584378bdf546d20484fd677527 +EBUILD ethflop-20240916.ebuild 1178 BLAKE2B 1cdbc4e6cc8e608f9483cc3791027c9382fa9feaf2892e5e4889d897156ff4b33e66d37d58a294e10635e8f6b6de85ad7a0612fd01a45a03fd5e10775731e622 SHA512 d919d6943907d07fe895d63c4666021be14ee3dbdb687b95add1d69ece0a4891ff5e608bd1801198d945f86944157017d925ff16157967c0d4ecad51935ccf7d MISC metadata.xml 1005 BLAKE2B 53476c21744a6300cf693817062667c1db71a9fb85c174b37802c5bd875bee9e5a6b396a7d09ffd10c49bc9e8d63daa032823db25bc0245155acb8c89ed1b339 SHA512 fd7a538735fafb244a27a33539650ea56d06e97655843b7fe1436b461a8c113db9a2fee524571b2fb55ec01e8a47a0bd9ee0b63aae623f172a83c56bb0a7315a diff --git a/net-misc/ethflop/ethflop-20240916.ebuild b/net-misc/ethflop/ethflop-20240916.ebuild new file mode 100644 index 000000000000..ee061ec0939e --- /dev/null +++ b/net-misc/ethflop/ethflop-20240916.ebuild @@ -0,0 +1,63 @@ +# Copyright 2019-2024 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" + +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-20240916-makefile.patch b/net-misc/ethflop/files/ethflop-20240916-makefile.patch new file mode 100644 index 000000000000..ffa255868da7 --- /dev/null +++ b/net-misc/ethflop/files/ethflop-20240916-makefile.patch @@ -0,0 +1,11 @@ +--- a/Makefile.linux ++++ b/Makefile.linux +@@ -16,7 +16,7 @@ + all: ethflopd
+
+ ethflopd: ui_posix.c core.c
+- $(CC) $(CFLAGS) -o ethflopd ui_posix.c core.c
++ $(CC) $(CFLAGS) $(LDFLAGS) -o ethflopd ui_posix.c core.c
+
+ clean:
+ rm -f ethflopd *.o
|