--- ree-1.3.orig/makefile +++ ree-1.3/makefile @@ -1,3 +1,10 @@ all: gcc ree.c -o ree gcc fontdump.c -o fontdump + +clean: + rm fontdump ree + +install: + cp fontdump $(DESTDIR)/usr/bin + cp ree $(DESTDIR)/usr/sbin --- ree-1.3.orig/ree.sh +++ ree-1.3/ree.sh @@ -57,15 +57,15 @@ done #save bios rom -case "$@" in - -nbc|--i-dont-have-no-bc) - start=1920 - count=128 - ;; - *) - start=`echo "ibase=16;F0000/200"|bc` - count=`echo 1*65536/512|bc` - ;; -esac -echo -e "\nFound system bios at F0000 (65536)" -dd if=/dev/mem of=F0000.rom skip=$start count=$count 2>/dev/null +#case "$@" in +# -nbc|--i-dont-have-no-bc) +# start=1920 +# count=128 +# ;; +# *) +# start=`echo "ibase=16;F0000/200"|bc` +# count=`echo 1*65536/512|bc` +# ;; +#esac +#echo -e "\nFound system bios at F0000 (65536)" +#dd if=/dev/mem of=F0000.rom skip=$start count=$count 2>/dev/null --- ree-1.3.orig/fontdump.c +++ ree-1.3/fontdump.c @@ -78,6 +78,10 @@ long start,last,location,count; int a,b,s,size; + if (argc<2) { + printf("Syntax: fontdump video.rom\n"); + } + f=fopen(argv[1],"r"); if (f==NULL) { printf("could not open %s\n",argv[1]); --- ree-1.3.orig/ree.c +++ ree-1.3/ree.c @@ -77,12 +77,13 @@ } /* save bios rom */ - start=0xf0000; + /* start=0xf0000; count=1*65536; dd( start,count ); printf("\nFound system bios at F0000 (65536) (checksum %d)\n",checksum(count)); sprintf(filename,"%x.rom",start); - save(filename,count); + save(filename,count); */ + printf("\n"); fclose(f); --- ree-1.3.orig/debian/fontdump.1 +++ ree-1.3/debian/fontdump.1 @@ -0,0 +1,19 @@ +.TH FONTDUMP 8 "September 25, 2005" +.SH NAME +fontdump \- extract fonts from files +.SH SYNOPSIS +.B fontdump \fR[\fBFILE\fR] +.SH DESCRIPTION +This manual page documents briefly the +.B fontdump +command. +This manual page was written for the Debian distribution +because the original program does not have a manual page. +.PP +\fBfontdump\fP can dump bitmap fonts of sizes 8x8, 8x14, and 8x16. +You can then use them later with the commands setfont or consolechars. +.SH SEE ALSO +.BR consolechars (8). +.SH AUTHOR +This manual page was written by G\[:u]rkan Seng\[:u]n , +for the Debian project (but may be used by others). --- ree-1.3.orig/debian/docs +++ ree-1.3/debian/docs @@ -0,0 +1 @@ +readme --- ree-1.3.orig/debian/changelog +++ ree-1.3/debian/changelog @@ -0,0 +1,19 @@ +ree (1.3-2.1) unstable; urgency=low + + * Non-maintainer upload. + * Fix maintainer e-mail address - the old one bounces. closes: #675218 + + -- Willi Mann Fri, 15 Jun 2012 21:15:42 +0200 + +ree (1.3-2) unstable; urgency=low + + * Add kfreebsd-amd64 to Architecture line. (Closes: #361618) + + -- Gürkan Sengün Sun, 16 Apr 2006 20:28:23 +0200 + +ree (1.3-1) unstable; urgency=low + + * Initial Release. (Closes: #329455) + + -- Gürkan Sengün Wed, 28 Apr 2004 13:35:16 +0200 + --- ree-1.3.orig/debian/compat +++ ree-1.3/debian/compat @@ -0,0 +1 @@ +4 --- ree-1.3.orig/debian/ree.8 +++ ree-1.3/debian/ree.8 @@ -0,0 +1,21 @@ +.TH REE 8 "September 25, 2005" +.SH NAME +ree \- extract ROM extensions +.SH SYNOPSIS +.B ree +.SH DESCRIPTION +This manual page documents briefly the +.B ree +command. +This manual page was written for the Debian distribution +because the original program does not have a manual page. +.PP +\fBree\fP dumps ROM extensions. You can then check easily +if your network card(s) can netboot with this command: + +strings *.rom | grep UNDI > /dev/null && echo Yes it can || echo No +.SH SEE ALSO +.BR ndisasm (1). +.SH AUTHOR +This manual page was written by G\[:u]rkan Seng\[:u]n , +for the Debian project (but may be used by others). --- ree-1.3.orig/debian/copyright +++ ree-1.3/debian/copyright @@ -0,0 +1,11 @@ +This package was debianized by Gürkan Sengün on +Wed, 28 Apr 2004 13:35:16 +0200. + +It was downloaded from http://www.linuks.mine.nu/ree/ + +Upstream Author: Gürkan Sengün + +Copyright 1997, 2001, 2002 by Gürkan Sengün. + +Released under the GNU GPL. +Please see /usr/share/common-licenses for the full license. --- ree-1.3.orig/debian/rules +++ ree-1.3/debian/rules @@ -0,0 +1,69 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +configure: configure-stamp +configure-stamp: + dh_testdir + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + $(MAKE) + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + -$(MAKE) clean + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + $(MAKE) install DESTDIR=$(CURDIR)/debian/ree + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples +# dh_install + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- ree-1.3.orig/debian/dirs +++ ree-1.3/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/sbin --- ree-1.3.orig/debian/manpages +++ ree-1.3/debian/manpages @@ -0,0 +1,2 @@ +debian/fontdump.1 +debian/ree.8 --- ree-1.3.orig/debian/control +++ ree-1.3/debian/control @@ -0,0 +1,17 @@ +Source: ree +Section: admin +Priority: optional +Maintainer: Gürkan Sengün +Build-Depends: debhelper (>= 4.0.0) +Standards-Version: 3.6.2 + +Package: ree +Architecture: i386 amd64 ia64 kfreebsd-i386 hurd-i386 kfreebsd-amd64 +Depends: ${shlibs:Depends} +Suggests: file, nasm, bc +Description: Extract ROM extensions + ROM extension extractor (ree) is a tool which extracts ROM extensions + from the firmware of a PC computer. It can also extract font data from + video card ROMs. + . + Homepage: http://gnu.ethz.ch/linuks.mine.nu/ree/