--- codegroup-19981025.orig/codegroup.1 +++ codegroup-19981025/codegroup.1 @@ -54,28 +54,23 @@ .PP .TP 5 .B base64: -.CS R 24 .nf H4sICFJ9MzYAA2EudGFyAOxba3faSNKer+lf0SezO3YmgLnY2I6TyQIGgwOGBTtOYjuJEMJo DJJGF1+ys//9rarulpqLHRi/mdk9G84JIKGuqq579eNkNn745q9sNru9tcXhs5gtFPAzm83l xad88WyxmNssbhe3sps8m8ttZ/M/8K1vL9oPP0RBaPggypU1vrad+59zosj0HqAj9xF//pe8 WsaVNbTH1rfkAfoobm7ea//cZn4rtv/mNtq/kM9t/cCz31Io9foftz9nnW77oMdfcdMdWJe+ -.CS R .fi .TP .B uuencode: -.CS R 24 .nf begin 644 data.bin M'XL("&7._R\\ VUO;V\\ /9U+FN2XSF3G6H5OA1(?HOB<=/<7__X7TNXJ^&PI/\\[?7-7U]KU=]SSWQ? -.CS R .fi .TP .B pgp: -.CS R 24 .nf -----BEGIN PGP MESSAGE----- Version: 2.6.2i @@ -83,17 +78,14 @@ hIwCCb8iTku3pBUBA/9oSDlfk/On9bwjmTnB98Eejr6agkPSi3n6hd8JkAtJd33f kzFq18Jo0xzRUWZ7Di6Jq/FXpeI1yztVDqispbcYOP0aDv4JZOSF1kRsmJ9xK9Bo Cv4a967IXPkkRsjIAkx0B39dYxCzf8kHUn4THmyV/b2qLUZ0cc+mr8hxFfFpuYSM -.CS R .fi .TP .B codegroup: -.CS R 24 .nf ZZZZZ YBPIL AIAIG FMOPP CPAAA DGNGP GPGPA ADNJN ELJKO ELIMO GEOHF KIFGP IFBCB PKCPI YJMHE PHBHP PPOBH NCOHD AKLLL AGHFP DEGEF LKELC EAIJI ABAGP AHPPO IHHPH OHPDF YNFPB ALEPO KMPKP NGCHI GFPBI CBDML PFGHL LIHPC BOOBB HOLDO FJNHP OLHLL OPNIL -.CS R .fi .PP Only --- codegroup-19981025.orig/codegroup.c +++ codegroup-19981025/codegroup.c @@ -37,8 +37,11 @@ #define LINELEN 64 /* Maximum line length */ #define ERRMAX 10 /* Maximum data lost messages to print */ -static FILE *fi = stdin; /* Input file */ -static FILE *fo = stdout; /* Output file */ +/* Have to assign stdin/stdout inside main now - vlm 20040821 */ +/* static FILE *fi = stdin; */ /* Input file */ +/* static FILE *fo = stdout; */ /* Output file */ +static FILE *fi; +static FILE *fo; static char groupbuf[GROUPLEN + 1]; /* Group assembly buffer */ static char linebuf[LINELEN + 4]; /* Line editing buffer */ @@ -582,6 +585,10 @@ int main(int argc, char *argv[]) { + /* have to connect stdin/stdout inside main - vlm 2004-08-21 */ + fi = stdin; + fo = stdout; + int i, f = 0, decode = FALSE; char *cp, opt; --- codegroup-19981025.orig/codegroup.html +++ codegroup-19981025/codegroup.html @@ -180,7 +180,7 @@ When a CRC error is detected, no indication is given of the location in the file where the error(s) occurred. When sending large files, you may want to break them into pieces - with the splits utility so, in + with the splits utility so, in case of error, only the erroneous pieces need to be re-sent.

@@ -190,19 +190,10 @@ information as text before the first codegroup, or send an archive created with tar or zip. -

Download codegroup.zip (Zipped archive)

- - The program is provided as codegroup.zip, a - Zipped archive containing an - ready-to-run WIN32 command-line executable program, codegrp.exe - (compiled using Microsoft Visual C++ 5.0), - and in source code form along with a - Makefile to build the program under Unix. -

SEE ALSO

- base64(1), + base64(1), gzip(1), pgp(1), - splits(1), tar(1), + splits(1), tar(1), uuencode(1), zip(1)

EXIT STATUS

--- codegroup-19981025.orig/Makefile +++ codegroup-19981025/Makefile @@ -1,6 +1,7 @@ PROGS = codegroup -CFLAGS = -O +# CFLAGS = -O +BIN = $(DESTDIR)/usr/bin/ all: $(PROGS) @@ -8,7 +9,10 @@ rm -f $(PROGS) *.o *.bak *.zip core *.out codegroup: codegroup.o - $(CC) codegroup.o -o codegroup $(CFLAGS) + $(CC) codegroup.o -o codegroup $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) + +install: ${ALL} + install codegroup ${BIN} # Create zipped archive @@ -31,11 +35,13 @@ # Test it +# Need ./ notation, most paths don't include . - vlm 2004-08-21 + test: codegroup - codegroup -e /tmp/codegroup1.bak - codegroup -d /tmp/codegroup2.bak + ./codegroup -e /tmp/codegroup1.bak + ./codegroup -d /tmp/codegroup2.bak cmp codegroup /tmp/codegroup2.bak - codegroup -e codegroup /tmp/codegroup1.bak - codegroup -d /tmp/codegroup1.bak /tmp/codegroup2.bak + ./codegroup -e codegroup /tmp/codegroup1.bak + ./codegroup -d /tmp/codegroup1.bak /tmp/codegroup2.bak cmp codegroup /tmp/codegroup2.bak # rm /tmp/codegroup1.bak /tmp/codegroup2.bak --- codegroup-19981025.orig/debian/docs +++ codegroup-19981025/debian/docs @@ -0,0 +1,3 @@ +codegroup.html +codegroup.jpg +debian/upstream.txt --- codegroup-19981025.orig/debian/watch +++ codegroup-19981025/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.fourmilab.ch/codegroup/codegroup.zip --- codegroup-19981025.orig/debian/control +++ codegroup-19981025/debian/control @@ -0,0 +1,23 @@ +Source: codegroup +Section: text +Priority: optional +Maintainer: Vince Mulhollon +Build-Depends: debhelper (>= 9), dpkg-dev (>= 1.16.1~) +Standards-Version: 3.9.5.0 +Homepage: http://www.fourmilab.ch/codegroup/ + +Package: codegroup +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Convert any file, including binary, into 5 letter code + Codegroup converts any file, of any format including raw binary, + into a set of five letter uppercase codegroups. + The codegroup format includes a 16 bit CRC and file length to verify + message integrity. + Codegroup does NO CRYPTO. It's purely a file format converter + much like base64 or uuencoding. + Unlike other traditional file encoding algorithms such as + base64 or uuencoding, codegroup exclusively uses the 26 + letter alphabet. + Codegroup is ideal for transferring short binary files over a voice + or morse code channel. --- codegroup-19981025.orig/debian/upstream.txt +++ codegroup-19981025/debian/upstream.txt @@ -0,0 +1,12 @@ +How to create a codegroup-19981025.tar.gz + +wget http://www.fourmilab.ch/codegroup/codegroup.zip +mkdir codegroup-19981025 +mv codegroup.zip codegroup-19981025 +cd codegroup-19981025 +unzip codegroup.zip +rm codegroup.zip +rm codegrp.exe # no need for MS windoze binary +cd .. +tar -czf codegroup-19981025.tar.gz codegroup-19981025 + --- codegroup-19981025.orig/debian/rules +++ codegroup-19981025/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +%: + dh $@ + --- codegroup-19981025.orig/debian/changelog +++ codegroup-19981025/debian/changelog @@ -0,0 +1,66 @@ +codegroup (19981025-7) unstable; urgency=low + + * Upgrade standards version from 3.9.2.0 to 3.9.5.0 in debian/control + * debhelper compat level 8 to 9, resulting in debian/control Build-Depends change + * Minor changes in Makefile and debian/rules to support hardened building + + -- Vince Mulhollon Fri, 14 Feb 2014 22:36:27 -0600 + +codegroup (19981025-6) unstable; urgency=low + + * Upgrade standards version from 3.9.1.0 to 3.9.2.0 + * Redoing debian/rules into the "tiny" version. + The old rules file manually installed the binary into /usr/bin so I + added an install: stanza and BIN variable to the makefile. + * Minimal debian/watch file added + * Explicitly set source format 1.0 (for now) in debian/source/format + This makes lintian happy, missing-debian-source-format goes away + Eventually I'll switch to Quilt-3.0 format, just not today. + + -- Vince Mulhollon Sun, 24 Jul 2011 11:34:48 -0500 + +codegroup (19981025-5) unstable; urgency=low + + * Added Homepage line to control file + + -- Vince Mulhollon Tue, 01 Mar 2011 13:26:39 -0600 + +codegroup (19981025-4) unstable; urgency=low + + * Upgraded dh compat from 4 to 8. Updated control and compat to match. + This fixes lintian package-uses-deprecated-debhelper-compat-version + * Upgrade standards version from 3.7.2 to 3.9.1.0 + This fixes lintian ancient-standards-version + * Corrected misspelling in the control file. + This fixes lintian spelling-error-in-description + (Closes: #363210) + * Fix section name in codegroup.doc-base + This fixes lintian doc-base-unknown-section + * Cleaned up whitespace in codegroup.doc-base + This fixes doc-base-file-separator-extra-whitespaces + * Edited the manpage to not use CS + This fixes lintian manpage-has-errors-from-man + * Changed from dh_clean -k to dh_prep + This fixes lintian dh-clean-k-is-deprecated + + -- Vince Mulhollon Tue, 01 Mar 2011 12:17:48 -0600 + +codegroup (19981025-3) unstable; urgency=low + + * Update standards version from 3.6.1.1 to 3.6.2.0 + + -- Vince Mulhollon Fri, 16 Sep 2005 21:05:13 -0500 + +codegroup (19981025-2) unstable; urgency=low + + * Fix typo in control file + (Closes: #277212) + + -- Vince Mulhollon Tue, 19 Oct 2004 19:07:55 -0500 + +codegroup (19981025-1) unstable; urgency=low + + * Initial Release. + + -- Vince Mulhollon Sat, 21 Aug 2004 20:36:44 -0500 + --- codegroup-19981025.orig/debian/codegroup.manpages +++ codegroup-19981025/debian/codegroup.manpages @@ -0,0 +1 @@ +codegroup.1 --- codegroup-19981025.orig/debian/compat +++ codegroup-19981025/debian/compat @@ -0,0 +1 @@ +9 --- codegroup-19981025.orig/debian/copyright +++ codegroup-19981025/debian/copyright @@ -0,0 +1,18 @@ +This package was debianized by Vince Mulhollon on +Sat, 21 Aug 2004 20:36:44 -0500. + +It was downloaded from http://www.fourmilab.ch/codegroup/codegroup.zip + +Upstream Author: John Walker postmaster@fourmilab.ch + +Copyright: + +As seen in codegroup's manpage written by John Walker: + +This software is in the public domain. Permission to use, +copy, modify, and distribute this software and its docu- +mentation for any purpose and without fee is hereby +granted, without any conditions or restrictions. +This software is provided ``as is'' without express +or implied warranty. + --- codegroup-19981025.orig/debian/codegroup.doc-base +++ codegroup-19981025/debian/codegroup.doc-base @@ -0,0 +1,9 @@ +Document: codegroup +Title: Codegroup Manual +Author: John Walker +Abstract: Codegroup encodes and decodes five letter format files. +Section: Text + +Format: HTML +Index: /usr/share/doc/codegroup/codegroup.html +Files: /usr/share/doc/codegroup/codegroup.html --- codegroup-19981025.orig/debian/dirs +++ codegroup-19981025/debian/dirs @@ -0,0 +1 @@ +usr/bin --- codegroup-19981025.orig/debian/source/format +++ codegroup-19981025/debian/source/format @@ -0,0 +1 @@ +1.0