Accepting request 1127800 from home:mnhauke
Initial package for ethflop OBS-URL: https://build.opensuse.org/request/show/1127800 OBS-URL: https://build.opensuse.org/package/show/filesystems/ethflop?expand=0&rev=1
This commit is contained in:
commit
476e392011
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
ethflop-20191003.zip
Normal file
3
ethflop-20191003.zip
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:43b1ae221d5a6e8d0cd22f305e33d4841b624052ee5865ba04c70abf1e85c7b1
|
||||
size 29858
|
4
ethflop.changes
Normal file
4
ethflop.changes
Normal file
@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 20 22:03:46 UTC 2023 - Martin Hauke <mardnh@gmx.de>
|
||||
|
||||
- Initial package, version 0~20191003
|
68
ethflop.spec
Normal file
68
ethflop.spec
Normal file
@ -0,0 +1,68 @@
|
||||
#
|
||||
# spec file for package ethflop
|
||||
#
|
||||
# Copyright (c) 2023, Martin Hauke <mardnh@gmx.de>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
%define realversion 20191003
|
||||
%bcond_with dos_tsr
|
||||
Name: ethflop
|
||||
Version: 0~%{realversion}
|
||||
Release: 0
|
||||
Summary: A network-backed floppy emulator for DOS
|
||||
License: ISC
|
||||
Group: System/Filesystems
|
||||
URL: https://ethflop.sourceforge.net
|
||||
Source: https://ethflop.sourceforge.net/%{name}-%{realversion}.zip
|
||||
Source1: ethflopd.8
|
||||
BuildRequires: unzip
|
||||
Provides: ethflopd
|
||||
%if %{with dos_tsr}
|
||||
BuildRequires: nasm
|
||||
%endif
|
||||
|
||||
%description
|
||||
ethflop is a network-backed floppy emulator for DOS, mapping a DOS
|
||||
floppy drive to a remote disk image. This package contains the server
|
||||
and the DOS TSR.
|
||||
|
||||
Features
|
||||
- emulates many types of virt. floppies (from 360K up to 31M)
|
||||
- requires only a working packet driver for connectivity
|
||||
- presents a block device to DOS, almost undistinguishable from a real FDD
|
||||
- fits in 2K of memory (and can be loaded high)
|
||||
|
||||
%prep
|
||||
%setup -q -c %{name}
|
||||
sed -i 's/\r$//' ethflop.txt
|
||||
|
||||
%build
|
||||
%make_build CFLAGS="%{optflags} -std=gnu89" ethflopd
|
||||
%if %{with dos_tsr}
|
||||
%make_build tsr
|
||||
%endif
|
||||
|
||||
%install
|
||||
install -Dpm 0755 ethflopd %{buildroot}/%{_sbindir}/ethflopd
|
||||
install -Dpm 0644 ethflop.com %{buildroot}/%{_datadir}/%{name}/ethflop.com
|
||||
install -Dpm 0644 %{SOURCE1} %{buildroot}/%{_mandir}/man8/ethflopd.8
|
||||
|
||||
%files
|
||||
%license ethflop.txt
|
||||
%doc ethflop.txt
|
||||
%{_sbindir}/ethflopd
|
||||
%{_mandir}/man8/ethflopd.8%{?ext_man}
|
||||
%{_datadir}/ethflop
|
||||
|
||||
%changelog
|
30
ethflopd.8
Normal file
30
ethflopd.8
Normal file
@ -0,0 +1,30 @@
|
||||
.TH ethflopd 8 "December 30, 2020" ethflop
|
||||
.SH NAME
|
||||
ethflopd \- Ethernet DOS floppy image server
|
||||
.SH SYNOPSIS
|
||||
.B ethflopd
|
||||
.RB [ \-f ]
|
||||
.I iface
|
||||
.I directory
|
||||
.SH DESCRIPTION
|
||||
.B ethflopd
|
||||
serves floppy images stored in the given
|
||||
.I directory
|
||||
over the interface
|
||||
.IR iface .
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
.B \-f
|
||||
stay in the foreground (do not daemonize the process).
|
||||
.SH NOTES
|
||||
.B ethflopd
|
||||
needs the
|
||||
.B CAP_NEW_RAW
|
||||
system capability, which usually means that it needs to be run as
|
||||
root.
|
||||
.SH AUTHORS
|
||||
.B ethflopd
|
||||
was written by Mateusz Viste.
|
||||
This manual page was adapted from the provided documentation by
|
||||
Stephen Kitt, for the Debian GNU/Linux system (but it may be used by
|
||||
others).
|
Loading…
Reference in New Issue
Block a user