Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1
dosemu
dosemu.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dosemu.spec of Package dosemu
# # spec file for package dosemu (Version 1.4.0.1) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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 http://bugs.opensuse.org/ # # norootforbuild Name: dosemu BuildRequires: SDL-devel bin86 bison flex freetype2 libsndfile-devel slang-devel xorg-x11 xorg-x11-devel ExclusiveArch: %ix86 x86_64 License: GPL v2 or later Group: System/Emulators/PC AutoReqProv: on Version: 1.4.0.1 Release: 59 Summary: The DOS Emulator Source: dosemu-1.4.0.tgz Source1: dosemu-freedos-bin.tgz Patch: dosemu-1.4.0.1.diff Patch1: dosemu-1.4.0-open.diff Patch2: dosemu-1.4.0-destbufferoverflow.patch Url: http://www.dosemu.org BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This package allows MS-DOS programs to be run in Linux. A virtual machine (the DOS box) provides the necessary BIOS functions and emulates most of the chip devices (for example: timer, interrupt, and keyboard controller). Documentation can be found in /usr/share/doc/packages/dosemu, the man page, and in the sources. Starting with version 1.0.2, DOSEMU configuration files are no longer in /etc but in the user's HOME directory in ~/dosemu. DOSEMU no longer has the SUID bit set, so if you need access to hardware that requires root privileges, you must run DOSEMU as root. If you rely on the old configuration scheme, you can get it back by using dosemu.bin instead of dosemu (dos and xdos have been renamed to dosemu and xdosemu). The parameter $_hogthreshold in ~/dosemu/conf/dosemu.conf defines how often an idling DOSEMU should return the CPU to Linux and its default value (1) means "all power to Linux." The higher this value is, the more CPU power is dedicated to DOSEMU. The value (0) disables this feature completely, hence: "all power to DOSEMU." If that is not fast enough, you (running as UID root) can get maximum performance with nice -19 dos -D-a 2>/dev/null Do not be surprised if other Linux processes then run very sluggishly. On sensitive systems, you should never offer an suid-root DOSEMU as world readable. Even if the '$_secure' option in dosemu.conf is set, it is still possible that some DPMI clients (most likely Dos4gw based ones) may succeed in accessing the whole user space (including DOSEMU code) and thus gain root access. A comfortable solution is to have two copies of the DOSEMU binary, a non-suid-root one for world access and a suid-root one (protected by file permissions) only available to trusted users. Authors: -------- Eric Biederman <ebiederm+eric@nwpt.net> Michael E. Deisher <deisher@enws99.EAS.ASU.EDU> James B. Maclean <macleajb@ednet.ns.ca> Mike Batchelor <mikebat@netcom.com> Lam Lai Yin <lam836@cs.cuhk.hk> Uwe Bonnes <bon@elektron.ikp.physik.th-darmstadt.de> Scott Buchholz <scottb@eecs.nwu.edu> J. Lawrence Stephan <jlarry@ssnet.com> John Davis <davis@space.mit.edu> David Etherton <etherton@netcom.com> Pasi Eronen <peronen@vipunen.hut.fi> Jason E Gorden <gorden@jegnixa.hsc.missouri.edu> Matthew Grant <grantma@ritz.equinox.gen.nz> David Hansen <dhansen@metapath.com> Jochen Hein <Hein@Informatik.TU-Clausthal.de> Alan Hourihane <alanh@fairlite.demon.co.uk> John Kohl <jtk@atria.com > Rob Janssen <pe1chl@rabo.nl> Karl Kiniger <ki@kretz.co.at> Harald Koenig <koenig@nova.tat.physik.uni-tuebingen.de> Vinod G Kulkarni <vinod@cse.iitb.ernet.in> Kang-Jin Lee <lee@tengu.in-berlin.de> Kevin P Lawton <bochs@world.std.com> Marty Leisner <leisner@sdsp.mc.xerox.com> Hans Lermen <lermen@suse.de> Dong Liu <dliu@faraday-gw.njit.edu> Tim Van der Linden <timvdl@innet.be> Martin Ludwig <Martin.Ludwig@ruba.rz.ruhr-uni-bochum.de> Alistair MacDonald <alistair@slitesys.demon.co.uk> Amit Margalit <amitm@netvision.net.il> Lawrence K Mao <lkmao@unf.edu> Rod May <stoke@melbourne.DIALix.oz.au> WAYNE P MEISSNER <n1046128@student.fit.qut.edu.au> Lutz Molgedey <lutz@summa.physik.hu-berlin.de> Erik Mouw <jakmouw@et.tudelft.nl> Christoph Niemann <Christoph.Niemann@linux.org> Max Parke <mhp@light.lightlink.com> Mark Rejhon <mdrejhon@magi.com> Ronnie <ronnie@epact.se> Robert Sanders <gt8134b@prism.gatech.edu> Ed Sirett <ed@cityscape.co.uk> Larry Stephan <jlarry@ssnet.com> Corey Sweeney <corey@bbs.xnet.com> Andrew Tridgell <Andrew.Tridgell@anu.edu.au> Theodore Ts'o <tytso@mit.edu> Steffen Winterfeldt <wfeldt@suse.de> Matthias Lautner Tim Bird Joel N. Weber II %prep %setup -q -n dosemu-1.4.0 %patch -p1 %patch1 %patch2 %build %configure --sysconfdir=%{_sysconfdir}/%{name} --with-docdir=%{_docdir}/dosemu \ --with-fdtarball=%{_sourcedir}/dosemu-freedos-bin.tgz %{__make} %{?jobs:-j%jobs} %install make DESTDIR=%{buildroot} install %_fixowner %{buildroot} %_fixgroup %{buildroot} %_fixperms %{buildroot} %clean rm -rf %{buildroot} %files %defattr(-,root,root) %{_bindir}/* %{_mandir}/man1/* %{_mandir}/ru %{_libdir}/dosemu %{_datadir}/dosemu %doc %{_docdir}/dosemu %dir %{_sysconfdir}/dosemu %dir %{_sysconfdir}/dosemu/drives %config(noreplace) %{_sysconfdir}/dosemu/dosemu.conf %config(noreplace) %{_sysconfdir}/dosemu/dosemu.users %config(noreplace) %{_sysconfdir}/dosemu/global.conf %config(noreplace) %{_sysconfdir}/dosemu/drives/c %config(noreplace) %{_sysconfdir}/dosemu/drives/d %changelog * Fri Oct 17 2008 olh@suse.de - add ExclusiveArch x86 x86_64 * Thu Oct 09 2008 crrodriguez@suse.de - fix possible buffer overflow * Mon Apr 14 2008 snwint@suse.de - updated to 1.4.0.1 * Bug fixes, especially pertaining to the CPU emulator that is used in the x86-64 port (also in combination with Xen), and for DPMI on x86-64. * Better LFN support. * Optionally prompt if the keyboard layout can't be auto-detected. * Some things previously done by the dosemu script are now done by the dosemu.bin binary (X font locations, terminal warnings, DOSDRIVE_D environment variable handling). * Handle UTF-8 in window titles. * Improved copy and paste of text to and from DOSEMU. * Avoid problems with the dotless i as used in Turkish and some other languages. * Reduce lines of output in config.sys, autoexec.bat, blaster, and the banner, so everything fits on 25 lines. * Fri Dec 14 2007 snwint@suse.de - added missing open() arg * Mon May 14 2007 snwint@suse.de - updated to 1.4.0, new since 1.2.2: - Added a native 64-bit port for x86-64, which, by default, uses CPU emulation for V86 mode, and runs DPMI code natively. - For a first time boot with FreeDOS, DOSEMU now boots without any user interaction, and presents a welcome screen. - "dosemu" starts xdosemu by default in X. Use "dosemu -t" to force terminal mode. - Everyone, including root, needs to use "dosemu -s" to be able to use direct hardware access. The -s switch automatically uses direct VGA graphics and raw keyboard mode on the Linux console. - You can reboot the DOSEMU virtual machine using Ctrl-Alt-Del - The utility unix.com can now execute Linux commands within DOSEMU interactively. - Run-time plugins are used to allow binary distribution without depending on all libraries. - The -dumb switch quietens DOSEMU until the command is executed if a command is given. So "dosemu -dumb dir" gives a directory listing and nothing else. - VGA Emulator: bitmap fonts are much quicker. - Fixed new errors and warnings with GCC 4.x. - The dosemu script is compatible with the minimal shell dash. - An automatic backtrace using GDB (output in ~/.dosemu/boot.log) is attempted when DOSEMU crashes. - DOSEMU's stack is no longer marked executable which may improve security. - Clarified the copyrights and replaced some code with unclear origins. The disclaimer acceptance has been weakened. - CPU emulation (SIMX86) - The SIMX86 simulator is now a runtime option, activated via $_cpuemu="vm86sim", or $_cpuemu="fullsim". Without the "sim" JIT compilation (dynamic translation) is used. - SIMX86 is automatically invoked if the vm86 is not supported by the Linux kernel. This includes x86-64 systems, kernel configurations for embedded use, and some virtualization systems. - DPMI - Implemented DPMI uncommitted memory support. - Support for the HX DOS Extender was added. It is now possible to run some win32 console applications under dosemu, using that extender. - The Blinker extender is now fully supported (all known versions). - The PM API translator now uses the EMS page frame to save 64K of conventional memory. - Many DPMI and PM API translator fixes to support all commercial Borland tools and other protected-mode programs, especially when using Linux kernel 2.6.12 or newer. - Most of the DPMI 1.0 API and functionality were added. - Fixed IF flag virtualization for DPMI. This causes many DPMI applications to work reliably without random crashes (such as Transport Tycoon, Screamer, Vchess). - Implemented LDT virtualization / direct LDT access for DPMI clients. - Windows 3.1 now works natively, without any need for WINOS2 patches. - Many other improvements to make Windows 3 in DOSEMU more stable and usable. - Implemented debug breakpoints for DPMI. - Customized SVGA drivers of Windows 3.11 can now be used instead of the Trident drivers (refer to Section 9.2 of README.txt). - Memory management - Improved the internal XMS driver. - It is now possible to use an external XMS driver, such as himem.sys. - Freed up 4K of UMB space. - File systems - The default C: drive has changed from ~/dosemu/freedos to ~/.dosemu/drive_c (similar to Wine). Drive Z: is now a read-only drive with all the DOSEMU and FreeDOS support files. - Added support for the Long File Name (int21/ah=71) interface on redirected drives. - The redirected drive file system code is much faster than before. - You can now directly see and manipulate DOS file attributes on Lredir'ed Linux-mounted (V)FAT partitions, when using recent 2.6 kernels. - Lredir can now automatically find a new drive. - CDROM and floppies - Added a $_cdrom option for runtime configuration of the CD-ROM device. - Added an internal *CDEX style CD-ROM driver, activated using LREDIR, for use with CD-ROMs that are mounted in Linux. The default autoexec.bat uses this to set drive E: to a CD-ROM. - It is now possible to point $_vbootfloppy, $_floppy_a etc. to directories and boot from them. - The floppy is much faster with 2.6 kernels. - Added support for 2.88M floppies - Sound, mice, keyboards, printers, serial ports, I/O, and networking - A new sound system is available. It is for now an optional run-time option, $_sound=(2). - Added some support for sound recording. - Added the "INT 15h" PS/2 mouse interface. - Much improved keyboard layout auto-detection - The printer code now uses line buffering so that you do not have to wait $_printer_timeout seconds before printing starts. - Use $_lpt1, $_lpt2, and $_lpt3 for printer configuration. - TTY locking can be disabled by $_ttylocks="" - The reliability and performance of the serial ports emulation are much improved. - I/O ports are "fast" by default. - IPX and Packet Driver code was seriously reworked. - Timers - Added $_time_mode="linux" option to force the DOS clock to sync with the Linux time. - Improved real time clock support with a periodic IRQ generator. - Terminals - UTF-8 terminals are supported if you use SLang 2 or a UTF-8 patched SLang 1 library. The supplied SLang library subset is no longer necessary and no longer provided. - $_term_char_set no longer exists; $_external_char_set now defaults to the current locale. - Even on non UTF-8 terminals many line drawing characters can now be used, and on the Linux console almost the full CP437 character set. - Many ctrl, alt, shift combinations with function keys, arrow keys, etc, can now be used in xterm and friends. - VGA hardware is emulated in terminal mode as well as in X mode. - Linux console - VESA driver added which should be compatible with most BIOSes. This is the default. - Linear frame buffers now work. - Improved behaviour in conjunction with frame buffer consoles. - Improved PCI emulation on the console, with $_pci=(auto). - X Window System - Added extra X fonts. - The X aspect ratio is no longer set to 4:3 by default, but an integer multiple of the real resolution. - A graphical mouse cursor now works under X with mouse grab enabled. - Added keyboard grab, hard-coded to Ctrl-Alt-k for now. - Add $_X_title_show_appname. - Implemented support for Unicode fonts for $_X_font, so you can for instance use the univga font or $_X_font="-Misc-Fixed-Medium-R-SemiCondensed--13-120-75-75-C-60-ISO10646-1" - 16 bpp graphics programs now run in X with 24/32 bpp. - SDL support New: makes it possible to run DOSEMU on all supported SDL back-ends. It is almost as capable as the X plug-in, and provides a safer way to get console graphics, using fbdev. - Removed mapself support, the old keyboard code, coopthreads, and comcom. * Thu Mar 29 2007 snwint@suse.de - added flex to BuildRequires * Tue Aug 08 2006 ro@suse.de - define HZ sysconf(_SC_CLK_TCK) if not defined * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Fri Oct 14 2005 snwint@suse.de - adapted to slang 2.0 * Mon Aug 01 2005 snwint@suse.de - fixed uninitialized var usage * Mon Aug 01 2005 matz@suse.de - Use a local label to fix the overflow in a PC16 relocation. * Thu Jun 09 2005 meissner@suse.de - use RPM_OPT_FLAGS * Tue Apr 12 2005 snwint@suse.de - gcc4 fixes * Tue Aug 24 2004 snwint@suse.de - upgrade to dosemu 1.2.2 * Tue Mar 09 2004 ro@suse.de - added directories to filelist * Mon Mar 08 2004 snwint@suse.de - upgrade to dosemu 1.2.1 * Mon Aug 25 2003 snwint@suse.de - make it compile with latest gcc * Mon Aug 18 2003 snwint@suse.de - work around asm() constraint bug in gcc (#28655) * Fri Jun 13 2003 kukuk@suse.de - Fix filelist * Tue Jun 03 2003 ro@suse.de - fix build with current includes * Tue Apr 22 2003 coolo@suse.de - use BuildRoot * Fri Feb 28 2003 ro@suse.de - fix some more warnings (ccopt.dif and strerror.dif) - fix bison usage (thanks to matz) * Fri Jan 24 2003 ro@suse.de - fix base-configure for gcc-3.3 - fix multiline string issues * Mon Dec 02 2002 ro@suse.de - include errno.h where needed - use system slang library (precompiled had references to errno) * Tue Sep 17 2002 ro@suse.de - removed bogus self-provides * Wed Sep 11 2002 snwint@suse.de - make it work with Pentium 4 * Thu Aug 08 2002 snwint@suse.de - removed Requires, PreReq, preinstall & post(un)install scripts - fixed file permissions * Sat Jul 27 2002 kukuk@suse.de - remove libz from neededforbuild * Tue Jul 02 2002 ro@suse.de - added groupadd * Tue Mar 05 2002 ro@suse.de - don't link bios.o and vesabios.o in twice * Mon Mar 04 2002 snwint@suse.de - replaced as86-style *.S files with gas-style files (taken from dosemu-1.1.2) as the linker seemed to be unable to produce a workable binary * Thu Feb 14 2002 ro@suse.de - fix bad owner * Mon Sep 17 2001 snwint@suse.de - fixed invalid include in dosdebug manpage (#10689) * Fri Aug 24 2001 snwint@suse.de - fixed X11 shared memory extension usage - allow dosemu to be run with suid bits on (if someone wishes so) * Thu Jul 19 2001 snwint@suse.de - updated to new version * Thu May 10 2001 snwint@suse.de - mtools options have changed (#6509, #6728) * Fri Mar 30 2001 uli@suse.de - fixed to build * Tue Mar 27 2001 ro@suse.de - added xf86 to neededforbuild * Thu Jan 18 2001 snwint@suse.de - workaround in spec as $RPM_DOC_DIR still points to /usr/doc/packages * Thu Nov 16 2000 ro@suse.de - fixed spec * Tue Jul 11 2000 snwint@suse.de - updated to 1.0.1 * Wed Mar 08 2000 bs@suse.de - made %%post more friendly. * Tue Mar 07 2000 snwint@suse.de - version 1.0 * Mon Sep 13 1999 bs@suse.de - ran old prepare_spec on spec file to switch to new prepare_spec. * Tue Jul 20 1999 snwint@suse.de - added "/var/lock" to dosemu.conf * Sat Jul 10 1999 snwint@suse.de - updated to 0.98.8 * Fri Jul 09 1999 snwint@suse.de - added latest patchset from Hans, it should now be nearly a 98.8 release - fixed %%post/%%postun failing without X * Sun Jun 27 1999 snwint@suse.de - applied quite a few fixes - hdimage no longer used * Fri Mar 26 1999 ke@suse.de - security fix (thanks to lermen). * Tue Mar 23 1999 ke@suse.de - fix typo (thanks to lermen). * Mon Mar 22 1999 ke@suse.de - Update to 0.98.6 (more serurity fixes...). * Wed Feb 24 1999 ke@suse.de - fix bash quoting specials (thanks to lermen). * Sat Jan 16 1999 bs@suse.de - Update to 0.98.5 - security.dif is not neccessary anymore, since dosemu comes with recent slang. * Fri Jan 08 1999 ke@suse.de - apply patch actually, sigh... * Thu Jan 07 1999 ke@suse.de - Add security patch (provided by lermen). - neededforbuild: Add slang. * Sat Dec 12 1998 bs@suse.de - Update to dosemu 0.98.4 * Thu Nov 26 1998 bs@suse.de - deleted double entry for %%files * Thu Nov 26 1998 ke@suse.de - remove "/" from inst scripts. * Wed Nov 18 1998 bs@suse.de - Update to 0.98.3 * Tue Aug 18 1998 ke@suse.de - mkdexe: add security patch (marc and werner). * Thu Jul 23 1998 werner@suse.de - Use mktemp Thu Jul 16 20:13:02 MET DST 1998 - werner - change some shell scripts to avoid tmp exploits * Wed Jul 08 1998 ke@suse.de - add additional security patches (Alan Cox). - #neededforbuild: add libz. * Wed Jun 24 1998 ke@suse.de - add security patch (provided by Hans Lermen). * Wed Oct 08 1997 ro@suse.de - ready for abuild packed fallout.dexe into fallout.tgz for rpm reasons :-) removed /var/lob/dosemu/etc/keymap/README from spec-filelist (was not in binlist anyway) * Fri Jul 04 1997 lermen@suse.de upgrade to final dosemu-0.66.7 * Mon Jun 16 1997 lermen@suse.de upgrade to final dosemu-0.66.6 added 'ttylocks { directory /var/lock }' to /etc/dosemu.conf * Fri Jun 06 1997 bs@suse.de - removed usr/X11R6/lib/X11/fonts/misc/fonts.dir * Wed Jun 04 1997 ro@suse.de comiled for binary package * Sat May 31 1997 lermen@suse.de upgrade to final dosemu-0.66.5 * Mon May 19 1997 lermen@suse.de upgrade to (pre-) dosemu-0.66.5 * Thu Feb 13 1997 bs@suse.de added dosnet.README. * Tue Feb 11 1997 bs@suse.de new version 0.64.4 NEW: no more emumodule. All needed stuff is included in Kernel >= 2.0.28 * Thu Jan 02 1997 werner@suse.de added cleanup for /var/run in /sbin/init.d/dosemu. * Thu Jan 02 1997 bs@suse.de new version 0.64.1. syscallmgr does not exist anymore. * Thu Jan 02 1997 bs@suse.de recompiled for kernel 2.0.25. * Thu Jan 02 1997 bs@suse.de font placement fixed * Thu Jan 02 1997 bs@suse.de new version 0.64.0.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor