Bug#1007694: beav: please consider upgrading to 3.0 source format

2022-11-23 Thread Bastian Germann

Please find the NMU debdiff attached.diff -Nru beav-1.40/beav.1 beav-1.40/beav.1
--- beav-1.40/beav.12022-11-23 20:59:11.0 +0100
+++ beav-1.40/beav.11970-01-01 01:00:00.0 +0100
@@ -1,63 +0,0 @@
-.TH BEAV 1 "" "" \" -*- nroff -*-
-.SH NAME
-beav \- binary file editor and viewer
-.SH SYNOPSIS
-.B beav
-[file...]
-.SH DESCRIPTION
-This is a brief description of the minimal set of commands
-that are necessary to start using
-.IR beav
-effectively.
-For more information, review the file /usr/share/doc/beav/beav140.txt.gz.
-.PP
-The \fIfile-visit\fR command,\fB Ctl-X Ctl-V\fR, can be used to read a
-file in for editing.   The file can also be read in from the
-command line; \fBbeav \fR.
-.PP
-Data is displayed in one or more windows.
-These commands can be used to navigate around the windows.
-.PP
-.RS
-\fImove-back-char\fB  Ctl-B\fB moves left\fR
-.br
-\fImove-back-line\fB  Ctl-P\fB moves up\fR
-.br
-\fImove-forw-char\fb  Ctl-F\fB moves right\fR
-.br
-\fImove-forw-line\fB  Ctl-N\fB moves down\fR
-.br
-\fIwindow-delete\fB   Ctl-X 0\fB   delete window\fR
-.br
-\fIwindow-expand\fB   Ctl-X 1\fB   expand window\fR
-.br
-.RE
-.PP
-The \fImove-to-byte\fR command,\fB Ctl-X G\fR, will prompt you for a
-byte position to move to.
-.PP
-These commands will insert a zero byte at the cursor
-position or delete the byte at that position.
-.PP
-.RS
-\fIinsert-unit\fB Ctl-X I\fR
-.br
-\fIdelete-forw-unit\fBEsc D\fR
-.br
-.RE
-.PP
-The \fIfile-save\fR command,\fB Ctl-X Ctl-S\fR, will save the data to
-the file if a change has been made.
-.PP
-The \fIhelp\fR command,\fB Esc ?\fR, will display a list of all
-commands and their current key bindings.
-.PP
-The \fIabort-cmd\fR command,\fB Ctl-G\fR, will abort any command that
-is in operation.
-.PP
-The \fIquit-no-save\fR command,\fB Ctl-X Ctl-C\fR, will exit beav.
-If there is any data that has not been saved you will be warned.
-.PP
-.SH FILES
-/usr/share/doc/beav/beav140.txt.gz
-
diff -Nru beav-1.40/buffer.c beav-1.40/buffer.c
--- beav-1.40/buffer.c  2022-11-23 20:59:11.0 +0100
+++ beav-1.40/buffer.c  1994-11-30 18:43:35.0 +0100
@@ -2,8 +2,6 @@
 *   Buffer handling.
 */
 
-#include
-#include
 #include"def.h"
 
 bool onebuf ();
@@ -168,7 +166,7 @@
 
 if ((s = ereply (MSG_kill_b, bufn, NBUFN, 0)) != TRUE)
return (s);
-if ((s = _killbuffer (bufn)))
+if (s = _killbuffer (bufn))
writ_echo (okmsg);  /* verbose-ness (jam) */
 return (s);
 }
@@ -807,7 +805,7 @@
 register LINE *lp;
 char name[NBUFN + 1];
 char buf[3];
-//WINDOW *wp;
+WINDOW *wp;
 
 lp = curwp->w_dotp;/* get the buffer name from the line */
 
diff -Nru beav-1.40/debian/changelog beav-1.40/debian/changelog
--- beav-1.40/debian/changelog  2022-11-23 20:59:11.0 +0100
+++ beav-1.40/debian/changelog  2022-11-23 20:55:42.0 +0100
@@ -1,3 +1,10 @@
+beav (1:1.40-18.4) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Convert to 3.0 source format (Closes: #1007694).
+
+ -- Bastian Germann   Wed, 23 Nov 2022 20:55:42 +0100
+
 beav (1:1.40-18.3) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru beav-1.40/debian/patches/debian.patch 
beav-1.40/debian/patches/debian.patch
--- beav-1.40/debian/patches/debian.patch   1970-01-01 01:00:00.0 
+0100
+++ beav-1.40/debian/patches/debian.patch   2022-11-23 20:55:42.0 
+0100
@@ -0,0 +1,1336 @@
+--- /dev/null
 beav-1.40/Makefile
+@@ -0,0 +1,25 @@
++# This is the makefile for BSD UNIX
++#CFLAGS= -g -DUNIX
++CFLAGS= -g -DUNIX -Wall
++CC=gcc
++
++OFILES=   basic.o ebcdic.o fileio.o region.o text.o wangpc.o \
++  buffer.o echo.o language.o main.o search.o tty.o window.o \
++  cinfo.o extend.o kbd.o spawn.o ttyio.o termio.o tcap.o word.o \
++  display.o file.o line.o random.o symbol.o ttykbd.o format.o
++
++
++CFILES= basic.c ebcdic.c fileio.c region.c text.c wangpc.c \
++  buffer.c echo.c language.c main.c search.c tty.c window.c \
++  cinfo.c extend.c kbd.c spawn.c ttyio.c termio.c tcap.c word.c \
++  display.c file.c line.c random.c symbol.c ttykbd.c
++
++HFILES= def.h prototyp.h
++
++beav: $(OFILES)
++  $(CC) $(CFLAGS) $(OFILES) -lncurses -o beav
++
++clean:
++  rm -f *.o beav
++
++(OFILES):  $(HFILES)
+--- /dev/null
 beav-1.40/beav.1
+@@ -0,0 +1,63 @@
++.TH BEAV 1 "" "" \" -*- nroff -*-
++.SH NAME
++beav \- binary file editor and viewer
++.SH SYNOPSIS
++.B beav
++[file...]
++.SH DESCRIPTION
++This is a brief description of the minimal set of commands
++that are necessary to start using
++.IR beav
++effectively.
++For more information, review the file /usr/share/doc/beav/beav140.txt.gz.
++.PP
++The \fIfile-visit\fR command,\fB Ctl-X Ctl-V\fR, can be used to read a
++file in for editing.   The file can also be read in from the
++command line; \fBbeav \fR.
++.PP
++Data is displayed in 

Bug#1007694: beav: please consider upgrading to 3.0 source format

2022-03-15 Thread Lucas Nussbaum
Source: beav
Version: 1:1.40-18.2
Severity: wishlist
Tags: bookworm sid
Usertags: format1.0 format1.0-nkp-nv

Dear maintainer,

This package is among the few (1.9%) that still use source format 1.0 in
bookworm.  Please upgrade it to source format 3.0, as (1) this format has many
advantages, as documented in https://wiki.debian.org/Projects/DebSrc3.0 ; (2)
this contributes to standardization of packaging practices.

Please note that this is also a sign that the packaging of this software
could maybe benefit from a refresh. It might be a good opportunity to
look at other aspects as well.

It was noticed in https://lists.debian.org/debian-devel/2022/03/msg00096.html
that the conversion for this package is likely trivial, and builds bit-by-bit
identical binary packages.


This mass bug filing was discussed on debian-devel@:
https://lists.debian.org/debian-devel/2022/03/msg00074.html

Thanks

Lucas