Compare commits
No commits in common. "rawhide" and "f27" have entirely different histories.
8 changed files with 129 additions and 197 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -1,4 +1,2 @@
|
|||
simh-3.8.1-noroms.tar.gz
|
||||
/simh-3.9.0-noroms.tar.gz
|
||||
/simh-3.11.0-noroms.tar.gz
|
||||
/simh-3.12.5-noroms.tar.gz
|
||||
|
|
|
|||
|
|
@ -1,12 +0,0 @@
|
|||
diff -wbBur sim/PDP11/pdp11_ch.c sim.q/PDP11/pdp11_ch.c
|
||||
--- sim/PDP11/pdp11_ch.c 2024-05-05 11:03:00.000000000 +0300
|
||||
+++ sim.q/PDP11/pdp11_ch.c 2024-11-17 00:33:07.981278910 +0300
|
||||
@@ -271,7 +271,7 @@
|
||||
CONST uint8 *p;
|
||||
|
||||
tmxr_poll_rx (&ch_tmxr);
|
||||
- if (tmxr_get_packet_ln (&ch_lines[0], &p, &count) != SCPE_OK) {
|
||||
+ if (tmxr_get_packet_ln (&ch_lines[0], (void*)&p, &count) != SCPE_OK) {
|
||||
sim_debug (DBG_ERR, &ch_dev, "TMXR error receiving packet\n");
|
||||
return 0;
|
||||
}
|
||||
129
changelog
129
changelog
|
|
@ -1,129 +0,0 @@
|
|||
* Tue Feb 25 2025 Davide Cavalca <dcavalca@fedoraproject.org> - 3.11.0-28
|
||||
- Convert the spec from tabs to spaces
|
||||
- Refactor and update the spec to follow the latest packaging guidelines
|
||||
|
||||
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 3.11.0-27
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Wed Sep 04 2024 Miroslav Suchý <msuchy@redhat.com> - 3.11.0-26
|
||||
- convert license to SPDX
|
||||
|
||||
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.11.0-25
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.11.0-24
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.11.0-23
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Tue Jan 24 2023 Lucian Langa <lucilanga@gnome.eu.org> - 3.11.0-22
|
||||
- forgot the patch file in previous commit
|
||||
|
||||
* Tue Jan 24 2023 Lucian Langa <lucilanga@gnome.eu.org> - 3.11.0-21
|
||||
- add patch from Joshua Cogliati <jrincayc@yahoo.com> to fix FTBFS
|
||||
- update build flags
|
||||
|
||||
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.11.0-20
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.11.0-19
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.11.0-18
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.11.0-17
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.11.0-16
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.11.0-15
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Sun Apr 05 2020 Lucian Langa <lucilanga@gnome.eu.org> - 3.9.0-14
|
||||
- update generation script
|
||||
- apply temporary gcc10 fix
|
||||
- update to latest upstream
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.9.0-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.9.0-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.9.0-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.9.0-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.9.0-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.9.0-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.9.0-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.9.0-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.9.0-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.9.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.9.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.9.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Fri Jan 24 2014 Lucian Langa <cooly@gnome.eu.org> - 3.9.0-1
|
||||
- sync with latest upstream stable
|
||||
- drop all patches - fixed upstream
|
||||
- fix bogus dates
|
||||
|
||||
* Tue Aug 06 2013 Lucian Langa <cooly@gnome.eu.org> - 3.8.1-11
|
||||
- don't create versioned docdir
|
||||
|
||||
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.1-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.1-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.1-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.1-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
* Wed May 19 2010 Lucian Langa <cooly@gnome.eu.org> - 3.8.1-6
|
||||
- bump rel to fix NVR higher than previous version
|
||||
|
||||
* Sat Jan 09 2010 Lucian Langa <cooly@gnome.eu.org> - 3.8.1-5
|
||||
- fix altair segfault
|
||||
|
||||
* Tue Nov 17 2009 Lucian Langa <cooly@gnome.eu.org> - 3.8.1-4
|
||||
- add correct source
|
||||
|
||||
* Fri Nov 13 2009 Lucian Langa <cooly@gnome.eu.org> - 3.8.1-3
|
||||
- update description
|
||||
|
||||
* Sun Nov 08 2009 Lucian Langa <cooly@gnome.eu.org> - 3.8.1-2
|
||||
- add correct generate script
|
||||
|
||||
* Thu Oct 08 2009 Lucian Langa <cooly@gnome.eu.org> - 3.8.1-1
|
||||
- remove separate docs
|
||||
- misc cleanups
|
||||
- new upstream release
|
||||
|
||||
* Wed Dec 24 2008 Lucian Langa <cooly@gnome.eu.org> - 3.8.0-1
|
||||
- initial spec file
|
||||
|
||||
|
||||
15
simh-3.8.0-gcc.patch
Normal file
15
simh-3.8.0-gcc.patch
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
--- simh/makefile 2008-06-06 15:00:46.000000000 +0300
|
||||
+++ simh-mod/makefile 2008-12-24 11:39:05.000000000 +0200
|
||||
@@ -12,10 +12,10 @@
|
||||
OS_CCDEFS = -lrt -lm -D_GNU_SOURCE
|
||||
endif
|
||||
endif
|
||||
- CC = gcc -std=c99 -U__STRICT_ANSI__ -g $(OS_CCDEFS) -I .
|
||||
+ CC = gcc -std=gnu89 -U__STRICT_ANSI__ -g $(OS_CCDEFS) $(OPT) -I .
|
||||
ifeq ($(USE_NETWORK),)
|
||||
else
|
||||
- NETWORK_OPT = -DUSE_NETWORK -isystem /usr/local/include /usr/local/lib/libpcap.a
|
||||
+ NETWORK_OPT = -DUSE_NETWORK -lpcap
|
||||
endif
|
||||
else
|
||||
#Win32 Environments
|
||||
12
simh-3.8.1-altair-segfault.patch
Normal file
12
simh-3.8.1-altair-segfault.patch
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
diff -Naur simh-3.8.1/ALTAIR/altair_dsk.c simh-3.8.1-mod/ALTAIR/altair_dsk.c
|
||||
--- simh-3.8.1/ALTAIR/altair_dsk.c 2005-08-26 21:47:22.000000000 +0300
|
||||
+++ simh-3.8.1-mod/ALTAIR/altair_dsk.c 2009-11-14 21:22:23.000000000 +0200
|
||||
@@ -325,6 +325,8 @@
|
||||
cur_sect[cur_disk]);*/
|
||||
pos = DSK_TRACSIZE * cur_track[cur_disk];
|
||||
pos += DSK_SECTSIZE * cur_sect[cur_disk];
|
||||
+ if ((uptr == NULL) || (uptr->fileref == NULL))
|
||||
+ return 0;
|
||||
rtn = fseek(uptr -> fileref, pos, 0);
|
||||
rtn = fread(dskbuf, 137, 1, uptr -> fileref);
|
||||
cur_byte[cur_disk] = 1;
|
||||
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
VERSION=$1
|
||||
MAJOR=${VERSION:0:1}
|
||||
MINOR=${VERSION:2:2}
|
||||
PATCH=${VERSION:5:1}
|
||||
MINOR=${VERSION:2:1}
|
||||
PATCH=${VERSION:4:1}
|
||||
|
||||
unzip -o simhv$MAJOR$MINOR-$PATCH.zip -d simh-$VERSION
|
||||
rm simh-$VERSION/VAX/ka655*
|
||||
|
|
|
|||
150
simh.spec
150
simh.spec
|
|
@ -1,28 +1,27 @@
|
|||
Name: simh
|
||||
Version: 3.12.5
|
||||
Release: %autorelease
|
||||
Summary: Highly portable, multi-system emulator
|
||||
Name: simh
|
||||
Version: 3.9.0
|
||||
Release: 8%{?dist}
|
||||
Summary: A highly portable, multi-system emulator
|
||||
|
||||
# The licensing is mostly MIT, but there is also some GPL+ (literally, v1+) code
|
||||
# in there, notably in AltairZ80/.
|
||||
# (each target is compiled into its own binary, so only AltairZ80 is GPL+)
|
||||
License: MIT AND GPL-1.0-or-later
|
||||
Group: Applications/Emulators
|
||||
#The licensing is mostly MIT, but there is also some GPL+ (literally, v1+) code
|
||||
#in there, notably in AltairZ80/.
|
||||
#(each target is compiled into its own binary, so only AltairZ80 is GPL+)
|
||||
License: MIT and GPL+
|
||||
|
||||
URL: http://simh.trailing-edge.com/
|
||||
Source0: simh-%{version}-noroms.tar.gz
|
||||
URL: http://simh.trailing-edge.com/
|
||||
Source0: simh-%{version}-noroms.tar.gz
|
||||
# we use
|
||||
# this script to remove the roms binary and patented code before shipping it.
|
||||
# Download the upstream tarball and invoke this script while in the
|
||||
# tarball's directory:
|
||||
# ./simh-generate-tarball.sh 3.8.1
|
||||
Source1: simh-generate-tarball.sh
|
||||
Patch: https://gitlab.archlinux.org/archlinux/packaging/packages/simh/-/raw/3.12.5-1/build-fix.patch
|
||||
Source1: simh-generate-tarball.sh
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: make
|
||||
BuildRequires: sed
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: libpcap-devel
|
||||
BuildRequires: libpcap-devel, dos2unix
|
||||
#Requires:
|
||||
|
||||
%description
|
||||
SIMH is a historical computer simulation system. It consists of simulators
|
||||
|
|
@ -47,51 +46,100 @@ SIMH implements simulators for:
|
|||
* Scientific Data Systems SDS 940
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version}/sim -p1
|
||||
%setup -qn %{name}-%{version}
|
||||
|
||||
# Convert docs to UNIX line endings
|
||||
sed -i 's/\r$//' */*.txt
|
||||
|
||||
%build
|
||||
CC="$CC -I . -fPIE -g -D_LARGEFILE64_SOURCE"
|
||||
LDFLAGS="$LDFLAGS -lm -lpcap"
|
||||
%make_build -e ROMS_OPT="%{optflags}" USE_NETWORK=1 LIBPATH="${_libdir}"
|
||||
mkdir -p BIN
|
||||
make %{?_smp_mflags} -e ROMS_OPT="%{optflags}" USE_NETWORK=1
|
||||
|
||||
|
||||
%install
|
||||
for i in BIN/*; do
|
||||
[ -f "$i" ] && install -Dpm0755 "$i" "%{buildroot}%{_bindir}/simh-$(basename "$i")"
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT%{_bindir}
|
||||
for i in `ls BIN/`; do
|
||||
install -p -m 755 BIN/$i $RPM_BUILD_ROOT%{_bindir}/simh-$i
|
||||
done
|
||||
mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}
|
||||
for i in `find -iname "*.txt"`; do dos2unix -k $i; done
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%{_bindir}/simh-altair
|
||||
%{_bindir}/simh-eclipse
|
||||
%{_bindir}/simh-gri
|
||||
%{_bindir}/simh-h316
|
||||
%{_bindir}/simh-i1401
|
||||
%{_bindir}/simh-i1620
|
||||
%{_bindir}/simh-i7094
|
||||
%{_bindir}/simh-id16
|
||||
%{_bindir}/simh-id32
|
||||
%{_bindir}/simh-lgp
|
||||
%{_bindir}/simh-nova
|
||||
%{_bindir}/simh-pdp1
|
||||
%{_bindir}/simh-pdp10
|
||||
%{_bindir}/simh-pdp11
|
||||
%{_bindir}/simh-pdp15
|
||||
%{_bindir}/simh-pdp4
|
||||
%{_bindir}/simh-pdp7
|
||||
%{_bindir}/simh-pdp8
|
||||
%{_bindir}/simh-pdp9
|
||||
%{_bindir}/simh-sds
|
||||
%{_bindir}/simh-sigma
|
||||
%{_bindir}/simh-uc15
|
||||
%{_bindir}/simh-vax
|
||||
%{_bindir}/simh-vax780
|
||||
%doc ALTAIR/altair.txt NOVA/eclipse.txt
|
||||
%doc I7094/i7094_bug_history.txt Interdata/id_diag.txt
|
||||
%defattr(-,root,root,-)
|
||||
%{_bindir}/*
|
||||
%doc ALTAIR/altair.txt NOVA/eclipse.txt 0readme_39.txt 0readme_ethernet.txt
|
||||
%doc HP2100/hp2100_diag.txt I7094/i7094_bug_history.txt Interdata/id_diag.txt
|
||||
%doc PDP1/pdp1_diag.txt PDP10/pdp10_bug_history.txt PDP18B/pdp18b_diag.txt
|
||||
%doc S3/haltguide.txt S3/readme_s3.txt S3/system3.txt SDS/sds_diag.txt
|
||||
%doc VAX/vax780_bug_history.txt
|
||||
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.9.0-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.9.0-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.9.0-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.9.0-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.9.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.9.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.9.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Fri Jan 24 2014 Lucian Langa <cooly@gnome.eu.org> - 3.9.0-1
|
||||
- sync with latest upstream stable
|
||||
- drop all patches - fixed upstream
|
||||
- fix bogus dates
|
||||
|
||||
* Tue Aug 06 2013 Lucian Langa <cooly@gnome.eu.org> - 3.8.1-11
|
||||
- don't create versioned docdir
|
||||
|
||||
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.1-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.1-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.1-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.1-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
* Wed May 19 2010 Lucian Langa <cooly@gnome.eu.org> - 3.8.1-6
|
||||
- bump rel to fix NVR higher than previous version
|
||||
|
||||
* Sat Jan 09 2010 Lucian Langa <cooly@gnome.eu.org> - 3.8.1-5
|
||||
- fix altair segfault
|
||||
|
||||
* Tue Nov 17 2009 Lucian Langa <cooly@gnome.eu.org> - 3.8.1-4
|
||||
- add correct source
|
||||
|
||||
* Fri Nov 13 2009 Lucian Langa <cooly@gnome.eu.org> - 3.8.1-3
|
||||
- update description
|
||||
|
||||
* Sun Nov 08 2009 Lucian Langa <cooly@gnome.eu.org> - 3.8.1-2
|
||||
- add correct generate script
|
||||
|
||||
* Thu Oct 08 2009 Lucian Langa <cooly@gnome.eu.org> - 3.8.1-1
|
||||
- remove separate docs
|
||||
- misc cleanups
|
||||
- new upstream release
|
||||
|
||||
* Wed Dec 24 2008 Lucian Langa <cooly@gnome.eu.org> - 3.8.0-1
|
||||
- initial spec file
|
||||
|
||||
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (simh-3.12.5-noroms.tar.gz) = 5441199cebc35e49f44fddbc049c29680c1d00aac2c514f2cb3a9649188d6c3f50613e647d7de9b064a4b2d5e81037854efb056891033c240331edf69c9fbbb3
|
||||
a17619b52f0883e575319bbae64a0209 simh-3.9.0-noroms.tar.gz
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue