sysvbanner-1.0.15/0000755000232200023220000000000011200510467014152 5ustar pbuilderpbuildersysvbanner-1.0.15/banner.c0000644000232200023220000001475011176651036015604 0ustar pbuilderpbuilder/***************************************************************** * * SYSVbanner.c * * This is a PD version of the SYS V banner program (at least I think * it is compatible to SYS V) which I wrote to use with the clock * program written by: ** DCF, Inc. ** 14623 North 49th Place ** Scottsdale, AZ 85254 * and published in the net comp.sources.misc newsgroup in early July * since the BSD banner program works quite differently. * * There is no copyright or responsibility accepted for the use * of this software. * * Brian Wallis, brw@jim.odr.oz, 4 July 1988 * *****************************************************************/ /* Changes by David Frey, david@eos.lugs.ch, 3 February 1997: * 1. protoized and indented, 2. changed @ character to # */ #include #include char *glyphs[] = { " ### ### ### # # ##### ### # ## ### ", " ### ### ### # # # # ## # # # # ### ", " ### # # ######## # ### # ## # ", " # # # ##### # ### # ", " ####### # # # #### # # ", " ### # # # # # # # ## # ", " ### # # ##### # ### #### # ", " ## ## #", " # # # # # # ", " # # # # # # ", " # # ### ### ##### ### ##### # ", " # # # # # ### ### # ", " # # # # # # ### # ", " ## ## # ### # ", " ### # ##### ##### # ####### ##### #######", " # # ## # ## ## # # # ## # ", "# # # # # # ## # # # # ", "# # # # ##### ##### ####### ##### ###### # ", "# # # # # # # ## # # ", " # # # # # # # # ## # # ", " ### ##### ####### ##### # ##### ##### # ", " ##### ##### # ### # # ##### ", "# ## # # # ### # # # #", "# ## # # # ##### # #", " ##### ###### ### # # ## ", "# # # # ### # ##### # # ", "# ## # # # # # # ", " ##### ##### # # # # # ", " ##### # ###### ##### ###### ############## ##### ", "# # # # # ## ## ## # # #", "# ### # # # # ## # ## # # ", "# # # ## ####### # # ###### ##### # ####", "# #### ######## ## # ## # # #", "# ## ## ## ## ## # # #", " ##### # ####### ##### ###### ######## ##### ", "# # ### ## # # # ## ########", "# # # ## # # ## #### ## #", "# # # ## # # # # # ## # ## #", "####### # #### # # # ## # ## #", "# # # # ## # # # ## # ## #", "# # # # ## # # # ## ### #", "# # ### ##### # # ######## ## ########", "###### ##### ###### ##### ######## ## ## #", "# ## ## ## # # # ## ## # #", "# ## ## ## # # ## ## # #", "###### # ####### ##### # # ## ## # #", "# # # ## # # # # # # # # # #", "# # # # # # # # # # # # # # #", "# #### ## # ##### # ##### # ## ## ", "# ## ######## ##### # ##### # ", " # # # # # # # # # # ", " # # # # # # # # # # ", " # # # # # # ", " # # # # # # # ", " # # # # # # # ", "# # # ####### ##### # ##### #######", " ### ", " ### ## ##### #### ##### ###### ###### #### ", " # # # # # # # # # # # # #", " # # # ##### # # # ##### ##### # ", " ###### # # # # # # # # ###", " # # # # # # # # # # # #", " # # ##### #### ##### ###### # #### ", " ", " # # # # # # # # # # # #### ", " # # # # # # # ## ## ## # # #", " ###### # # #### # # ## # # # # # #", " # # # # # # # # # # # # # #", " # # # # # # # # # # # ## # #", " # # # #### # # ###### # # # # #### ", " ", " ##### #### ##### #### ##### # # # # # #", " # # # # # # # # # # # # # #", " # # # # # # #### # # # # # # #", " ##### # # # ##### # # # # # # # ## #", " # # # # # # # # # # # # ## ##", " # ### # # # #### # #### ## # #", " ### # ### ## # # # #", " # # # # ###### # # # # # # # # # ", " # # # # # # # # ## # # # #", " ## # # ## ## # # # ", " ## # # # # # # # # #", " # # # # # # # # # # ", " # # # ###### ### # ### # # # #"}; int main(int argc, char **argv) { int a, b, c, len, ind; char line[80]; for (argv++; --argc; argv++) { len = strlen(*argv); if (len > 10) len = 10; for (a = 0; a < 7; a++) { for (b = 0; b < len; b++) { if ((ind = (*argv)[b] - ' ') < 0) ind = 0; for (c = 0; c < 7; c++) { line[b * 8 + c] = glyphs[(ind / 8 * 7) + a][(ind % 8 * 7) + c]; } line[b * 8 + 7] = ' '; } for (b = len * 8 - 1; b >= 0; b--) { if (line[b] != ' ') break; line[b] = '\0'; } puts(line); } puts(""); } return 0; } sysvbanner-1.0.15/debian/0000755000232200023220000000000011200564372015400 5ustar pbuilderpbuildersysvbanner-1.0.15/debian/lintian-overrides0000644000232200023220000000007411200507653020761 0ustar pbuilderpbuildersysvbanner: latest-debian-changelog-entry-changed-to-native sysvbanner-1.0.15/debian/copyright0000644000232200023220000000133011200507653017327 0ustar pbuilderpbuilderThis package was debianized by David Frey on Tue, 4 Feb 1997 22:29:55 +0059. I took the program off Infomagic's Usenet CD-ROM (1994). The author released this program in the public domain. Copyright: This is a PD version of the SYS V banner program (at least I think it is compatible to SYS V) which I wrote to use with the clock program written by: DCF, Inc. 14623 North 49th Place Scottsdale, AZ 85254 and published in the net comp.sources.misc newsgroup in early July since the BSD banner program works quite differently. There is no copyright or responsibility accepted for the use of this software. Brian Wallis, brw@jim.odr.oz, 4 July 1988 sysvbanner-1.0.15/debian/changelog0000644000232200023220000000732311200510614017245 0ustar pbuilderpbuildersysvbanner (1.0.15) unstable; urgency=low * fix Standards-Version to be 3.8.1 * add build dependency on debhelper 7 (Closes: #526847) * completely redo debian/rules with debhelper 7 * add debian/compat * remove README.debian * remove prerm, doubt it's needed anymore * adopt package (Closes: #527153) * remove dependency on bsdmainutils, remove conflict on old version, it is over 10 years old * add misc:Depends dependency * version number is now 1.0.15, making this a (correct) native package - override latest-debian-changelog-entry-changed-to-native * add the phrase 'public domain' to d/copyright to get rid of the lintian wanring * add Vcs-* fields -- Ryan Niebur Thu, 07 May 2009 00:45:16 -0700 sysvbanner (1.0-14) unstable; urgency=low * Upload with correct e-Mail address. -- David Frey Sun, 03 May 2009 23:34:03 +0200 sysvbanner (1.0-13) unstable; urgency=low * update to standard version 3.8.1.0 * handle nostrip option (closes: #438083) * change permissions of debian/files and debian/substvars * orphaned package -- David Frey Fri, 01 May 2009 21:55:46 +0200 sysvbanner (1.0-12) unstable; urgency=low * renamed to include to fix compiler warning * do not set link to /usr/doc in postinst (fixes lintian bug) * make it a foreign Debian package, by creating an "original" .tar.gz out of the original shell archive (sysbanner was posted to comp.sources.misc, Volume 3, Issue 71) (closes: #44247) * -- David Frey Sun, 16 Feb 2003 17:09:07 +0100 sysvbanner (1.0-11) unstable; urgency=low * updated standard version, strip binary on install -- David Frey Sat, 24 Aug 2002 23:23:53 +0200 sysvbanner (1.0-10) unstable; urgency=low * recompile for woody -- David Frey Sun, 7 Jan 2001 22:45:35 +0100 sysvbanner (1.0-9) unstable; urgency=low * adapted to follow FHS (rules and Makefile updated). -- David Frey Sun, 10 Oct 1999 21:16:01 +0200 sysvbanner (1.0-8) unstable; urgency=low * recompile for potato. * renamed changelog to changelog.Debian -- David Frey Sat, 15 May 1999 21:19:05 +0200 sysvbanner (1.0-7) unstable; urgency=low * fixed bugs reported by lintian: md5sums-file starting with dot. * changed maintainer address to official Debian address. -- David Frey Tue, 10 Feb 1998 23:14:56 +0100 sysvbanner (1.0-6) unstable; urgency=low * added Conflicts with bsdmainutils (<< 3.3). This removes an overlap as reported by Richard Braakman. * changed Priority to optional -- David Frey Sun, 25 Jan 1998 21:55:31 +0100 sysvbanner (1.0-5) unstable; urgency=low * updated to match policy 2.3.0.1 * removed debstd stuff. -- David Frey Sat, 25 Oct 1997 12:35:55 +0200 sysvbanner (1.0-4) unstable; urgency=low * removed frozen from the distribution -- David Frey Sun, 14 Sep 1997 16:09:53 +0200 sysvbanner (1.0-3) frozen unstable; urgency=low * Renamed back to banner and added an Depends: bsdmainutils(>=3.3) since Austin moved his banner into /usr/games. * recompiled for libc6 * added md5sums * changed maintainer address to official @debian.org address. -- David Frey Fri, 6 Jun 1997 19:59:14 +0200 sysvbanner (1.0-2) frozen unstable; urgency=low * Renamed to sysvbanner (Bug #8188) -- David Frey Fri, 28 Mar 1997 17:12:32 +0100 sysvbanner (1.0-1) unstable; urgency=low * Initial Release. -- David Frey Tue, 4 Feb 1997 22:29:55 +0059 Local variables: mode: debian-changelog End: sysvbanner-1.0.15/debian/compat0000644000232200023220000000000211200507653016575 0ustar pbuilderpbuilder7 sysvbanner-1.0.15/debian/rules0000755000232200023220000000003611200507653016456 0ustar pbuilderpbuilder#!/usr/bin/make -f %: dh $@ sysvbanner-1.0.15/debian/control0000644000232200023220000000072011200510427016772 0ustar pbuilderpbuilderSource: sysvbanner Section: misc Priority: optional Maintainer: Ryan Niebur Build-Depends: debhelper (>= 7) Vcs-Git: git://git.ryan52.info/git/sysvbanner Vcs-Browser: http://git.ryan52.info/?p=sysvbanner;a=summary Standards-Version: 3.8.1 Package: sysvbanner Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Description: System-V banner clone Displays a `banner' text the same way as the System V banner does: horizontally. sysvbanner-1.0.15/Makefile0000644000232200023220000000047511200507653015623 0ustar pbuilderpbuilderDESTDIR= BIN=banner SRC=$(BIN).c MAN=$(BIN).1 $(BIN): $(SRC) $(CC) $(CFLAGS) $^ -o $@ $(LDFLAGS) install: $(BIN) $(MAN) install -d $(DESTDIR)/usr/bin install -m 755 $(BIN) $(DESTDIR)/usr/bin install -d $(DESTDIR)/usr/share/man/man1 install -m 644 $(MAN) $(DESTDIR)/usr/share/man/man1 clean: $(RM) $(BIN) sysvbanner-1.0.15/banner.10000644000232200023220000000040710606015261015503 0ustar pbuilderpbuilder.TH BANNER 1 "February 4, 1997" "Debian" "User's Reference Manual" .SH NAME banner \- print large banner .SH SYNOPSIS .B banner .I text .br .SH "DESCRIPTION" .B banner prints out the first 10 characters of .I text in large letters. .SH SEE ALSO .BR banner "(6)."