--- abs-guide-6.6.orig/debian/abs-guide.doc-base +++ abs-guide-6.6/debian/abs-guide.doc-base @@ -0,0 +1,24 @@ +Document: abs-guide +Title: The Advanced Bash-Scripting Guide +Author: Mendel Cooper +Abstract: An in-depth exploration of the art of shell scripting. + . + This tutorial assumes no previous knowledge of scripting or + programming, but progresses rapidly toward an intermediate/advanced + level of instruction ... all the while sneaking in little snippets + of UNIX(R) wisdom and lore. It serves as a textbook, a manual for + self-study, and a reference and source of knowledge on shell + scripting techniques. The exercises and heavily-commented examples + invite active reader participation, under the premise that the only + way to really learn scripting is to write scripts. + . + This book is suitable for classroom use as a general introduction to + programming concepts. +Section: Programming/Bash + +Format: debiandoc-sgml +Files: /usr/share/doc/abs-guide/abs-book.sgml.gz + +Format: HTML +Index: /usr/share/doc/abs-guide/html/index.html +Files: /usr/share/doc/abs-guide/html/*.html --- abs-guide-6.6.orig/debian/abs-guide.lintian-overrides +++ abs-guide-6.6/debian/abs-guide.lintian-overrides @@ -0,0 +1,15 @@ +# this synopsys is more descriptive + +description-synopsis-starts-with-article + +# These are scripts "known" to be syntax incorrect, usually containing some sort of text +# at the bottom of the file + +example-shell-script-fails-syntax-check usr/share/doc/abs-guide/examples/bashpodder.sh +example-shell-script-fails-syntax-check usr/share/doc/abs-guide/examples/find-splitpara.sh +example-shell-script-fails-syntax-check usr/share/doc/abs-guide/examples/insertion-sort.bash +example-shell-script-fails-syntax-check usr/share/doc/abs-guide/examples/mailbox_grep.sh +example-shell-script-fails-syntax-check usr/share/doc/abs-guide/examples/missing-keyword.sh +example-shell-script-fails-syntax-check usr/share/doc/abs-guide/examples/pb.sh +example-shell-script-fails-syntax-check usr/share/doc/abs-guide/examples/readpipe.sh +example-shell-script-fails-syntax-check usr/share/doc/abs-guide/examples/weirdvars.sh --- abs-guide-6.6.orig/debian/changelog +++ abs-guide-6.6/debian/changelog @@ -0,0 +1,125 @@ +abs-guide (6.6-1) unstable; urgency=low + + * New upstream release; thanks to Sébastien Villemot for the report; + Closes: #733155 + * debian/control + - bump Standards-Version to 3.9.5 (no changes needed) + - use packaging repository canonical URLs + + -- Sandro Tosi Wed, 01 Jan 2014 12:26:22 +0100 + +abs-guide (6.5-1) unstable; urgency=low + + * New upstream release + * debian/watch + - updated + * debian/abs-guide.lintian-overrides + - updated for new upstream code + * debian/control + - bump Standards-Version to 3.9.3 (no changes needed) + + -- Sandro Tosi Sun, 03 Jun 2012 10:57:27 +0200 + +abs-guide (6.2-1) unstable; urgency=low + + * New upstream release; Closes: #441278 + * debian/control + - adopting package; Closes: #577181 + - removed bzip2 from b-d-i, no more needed + - debhelper has to be in b-d + - bump Standards-Version to 3.8.4 (no changes needed) + - added Homepage field + - added misc:Depends to Depends + - added Vcs-{Browser, Git} field + * debian/rules + - removed the unpacking stuff, we now use an alrqady unpacked source + - added more example scripts to fix + * debian/{compat, control, rules} + - switched to debhelper 7 + * debian/watch + - updated to new upstream location; thanks to Raphael Geissert for the + report; Closes: #453596 + * debian/copyright + - updated with new location and copyright/license notices + * debian/source/format + - set source package format to 1.0 explicitly + * debian/abs-guide.doc-base + - set Section field correctly + * debian/{copyright, abs-guide.doc-base} + - updated upstream email + * debian/abs-guide.lintian-overrides + - added override for "known syntax-errored" scripts + + -- Sandro Tosi Sun, 09 May 2010 17:49:52 +0200 + +abs-guide (4.1-2) unstable; urgency=low + + * Orphan the package. + + -- Matthias Klose Sat, 10 Apr 2010 12:25:26 +0200 + +abs-guide (4.1-1) unstable; urgency=low + + * New upstream version. + + -- Matthias Klose Sun, 29 Oct 2006 02:37:03 +0100 + +abs-guide (4.0-1) unstable; urgency=low + + * New upstream version. + + -- Matthias Klose Sun, 2 Jul 2006 13:22:28 +0200 + +abs-guide (3.7-1) unstable; urgency=low + + * New upstream version. + + -- Matthias Klose Sun, 23 Oct 2005 16:35:23 +0000 + +abs-guide (3.4-1) unstable; urgency=medium + + * New upstream version. + + -- Matthias Klose Sun, 8 May 2005 23:13:06 +0200 + +abs-guide (3.2-1) unstable; urgency=low + + * New upstream version. + + -- Matthias Klose Tue, 15 Feb 2005 01:24:25 +0100 + +abs-guide (3.1-1) unstable; urgency=low + + * New version + + -- Matthias Klose Sun, 21 Nov 2004 15:20:30 +0100 + +abs-guide (3.0-1) unstable; urgency=low + + * New version. + + -- Matthias Klose Sun, 3 Oct 2004 14:41:53 +0200 + +abs-guide (2.8-1) unstable; urgency=low + + * New version. + + -- Matthias Klose Fri, 16 Jul 2004 23:12:38 +0200 + +abs-guide (2.6-1) unstable; urgency=low + + * New version. + + -- Matthias Klose Wed, 14 Apr 2004 00:51:44 +0200 + +abs-guide (2.5-1) unstable; urgency=low + + * New version. + + -- Matthias Klose Tue, 2 Mar 2004 22:57:51 +0100 + +abs-guide (2.1-1) unstable; urgency=low + + * Initial Release (closes: #115637, 154248). + + -- Matthias Klose Wed, 24 Sep 2003 09:29:19 +0200 --- abs-guide-6.6.orig/debian/compat +++ abs-guide-6.6/debian/compat @@ -0,0 +1 @@ +7 --- abs-guide-6.6.orig/debian/control +++ abs-guide-6.6/debian/control @@ -0,0 +1,28 @@ +Source: abs-guide +Section: non-free/doc +Priority: optional +Maintainer: Sandro Tosi +Build-Depends: debhelper (>= 7.0.50) +Standards-Version: 3.9.5 +Homepage: http://www.tldp.org/LDP/abs/html/ +Vcs-Git: git://anonscm.debian.org/users/morph/abs-guide.git +Vcs-Browser: http://anonscm.debian.org/gitweb/?p=users/morph/abs-guide.git + +Package: abs-guide +Architecture: all +Depends: ${misc:Depends} +Recommends: lynx | www-browser +Description: The Advanced Bash-Scripting Guide + An in-depth exploration of the art of shell scripting. + . + This tutorial assumes no previous knowledge of scripting or + programming, but progresses rapidly toward an intermediate/advanced + level of instruction ... all the while sneaking in little snippets + of UNIX(R) wisdom and lore. It serves as a textbook, a manual for + self-study, and a reference and source of knowledge on shell + scripting techniques. The exercises and heavily-commented examples + invite active reader participation, under the premise that the only + way to really learn scripting is to write scripts. + . + This book is suitable for classroom use as a general introduction to + programming concepts. --- abs-guide-6.6.orig/debian/copyright +++ abs-guide-6.6/debian/copyright @@ -0,0 +1,266 @@ +This package was debianized by Matthias Klose on +Wed, 24 Sep 2003 10:29:19 +0200 and now maintained by +Sandro Tosi . + +It was downloaded from http://bash.webofcrafts.net/ + +Upstream Author: Mendel Cooper + +Copyright: + + The Advanced Bash Scripting Guide is copyright © 2000, by Mendel Cooper. + The author also asserts copyright on all previous versions of this document. + + This blanket copyright recognizes and protects the rights of all + contributors to this document. + +License: + + This document may only be distributed subject to the terms and + conditions set forth in the Open Publication License (version 1.0 + or later), http://www.opencontent.org/openpub/. The following + license options also apply. + + A. Distribution of substantively modified versions of this + document is permitted only under the following provisions. + + A1. The modified document must clearly indicate that it is + derivative of the original Advanced Bash Scripting Guide, and + the original author, Mendel Cooper, must be listed as the + primary author. + + A2. The modified or derivative document must clearly indicate + which portions of the text differ or deviate from the original + document. A notice must be present, stating that the original + author does not necessarily endorse the changes to the + original. + + A3. The modified or derivative document must be distributed under + this same license, and the original author's copyright, as + applicable, may not be modified. + + + B. This document, or any modified or derivative version thereof, + may NOT be distributed encrypted or with any form of DRM + (Digital Rights Management) or content-control mechanism + embedded in it. Nor may this document or any derivative + thereof be bundled with other DRM-ed works. + + C. If this document (or any previous version or derivative + thereof) is made available on a Web or ftp site, then the + file(s) must be publicly accessible. No password or other + access restrictions to its download may be imposed. + + D. Distribution of the original work in any standard (paper) book + form requires permission from the copyright holder. + + E. In the event that the author or maintainer of this document + cannot be contacted, the Linux Documentation Project is + authorized to take over custodianship of the document and name + a new maintainer, who would then have the right to update and + modify the document. + + + Without explicit written permission from the author, distributors + and publishers (including on-line publishers) are prohibited from + imposing any additional conditions, strictures, or provisions on + this document, any previous versions, or any derivative + versions. As of this update, the author asserts that he has not + entered into any contractual obligations that would alter the + foregoing declarations. + + Essentially, you may freely distribute this book or any derivative + thereof in electronic form. + + If you display or distribute this document, any previous versions + thereof, or any derivatives thereof under any license except the + one above, then you are required to obtain the author's written + permission. Failure to do so may terminate your distribution + rights. + + Additionally, the following waiver applies: + + By copying or distributing this book you WAIVE THE RIGHT to + use the materials within, or any portion thereof, in a patent + or copyright lawsuit against the Open Source community, its + developers, its distributors, or against any of its associated + software or documentation including, but not limited to, the + Linux kernel, Open Office, Samba, and Wine. You further WAIVE + THE RIGHT to use any of the materials within this book in + testimony or depositions as a plaintiff's "expert witness" in + any lawsuit against the Open Source community, any of its + developers, its distributors, or any of its associated + software or documentation. + + These are very liberal terms, and they should not hinder any + legitimate distribution or use of this book. The author especially + encourages its use for classroom and instructional purposes. + + Certain of the scripts contained in this document are, where + noted, in the Public Domain. These scripts are exempt from the + foregoing license and copyright restrictions. + + The commercial print and other rights to this book are + available. Please contact the author if interested. + + The author produced this book in a manner consistent with the + spirit of the LDP Manifesto. + + Linux is a trademark registered to Linus Torvalds. + + Fedora is a trademark registered to Red Hat. + + Unix and UNIX are trademarks registered to the Open Group. + + MS Windows is a trademark registered to the Microsoft Corp. + + Solaris is a trademark registered to Sun, Inc. + + OSX is a trademark registered to Apple, Inc. + + Yahoo is a trademark registered to Yahoo, Inc. + + Pentium is a trademark registered to Intel, Inc. + + Thinkpad is a trademark registered to Lenovo, Inc. + + Scrabble is a trademark registered to Hasbro, Inc. + + Librie, PRS-500, and PRS-505 are trademarks registered to + Sony, Inc. + + All other commercial trademarks mentioned in the body of this work + are registered to their respective owners. + + Hyun Jin Cha has done a Korean translation of version 1.0.11 of + this book. Spanish, Portuguese, French, German, Italian, Russian, + Czech, Chinese, Indonesian, and Dutch translations are also + available or in progress. If you wish to translate this document + into another language, please feel free to do so, subject to the + terms stated above. The author wishes to be notified of such + efforts. + +------------------------------------------------------------------------------ +Open Publication License +v1.0, 8 June 1999 + + +I. REQUIREMENTS ON BOTH UNMODIFIED AND MODIFIED VERSIONS + +The Open Publication works may be reproduced and distributed in whole +or in part, in any medium physical or electronic, provided that the +terms of this license are adhered to, and that this license or an +incorporation of it by reference (with any options elected by the +author(s) and/or publisher) is displayed in the reproduction. + +Proper form for an incorporation by reference is as follows: + + Copyright (c) by . This material + may be distributed only subject to the terms and conditions set + forth in the Open Publication License, vX.Y or later (the latest + version is presently available at http://www.opencontent.org/openpub/). + +The reference must be immediately followed with any options elected by +the author(s) and/or publisher of the document (see section VI). + +Commercial redistribution of Open Publication-licensed material is +permitted. + +Any publication in standard (paper) book form shall require the +citation of the original publisher and author. The publisher and +author's names shall appear on all outer surfaces of the book. On all +outer surfaces of the book the original publisher's name shall be as +large as the title of the work and cited as possessive with respect to +the title. + + +II. COPYRIGHT + +The copyright to each Open Publication is owned by its author(s) or +designee. + + +III. SCOPE OF LICENSE + +The following license terms apply to all Open Publication works, +unless otherwise explicitly stated in the document. + +Mere aggregation of Open Publication works or a portion of an Open +Publication work with other works or programs on the same media shall +not cause this license to apply to those other works. The aggregate +work shall contain a notice specifying the inclusion of the Open +Publication material and appropriate copyright notice. + +SEVERABILITY. If any part of this license is found to be unenforceable +in any jurisdiction, the remaining portions of the license remain in +force. + +NO WARRANTY. Open Publication works are licensed and provided "as is" +without warranty of any kind, express or implied, including, but not +limited to, the implied warranties of merchantability and fitness for +a particular purpose or a warranty of non-infringement. + + +IV. REQUIREMENTS ON MODIFIED WORKS + +All modified versions of documents covered by this license, including +translations, anthologies, compilations and partial documents, must +meet the following requirements: + + 1. The modified version must be labeled as such. + 2. The person making the modifications must be identified and the + modifications dated. + 3. Acknowledgement of the original author and publisher if applicable + must be retained according to normal academic citation practices. + 4. The location of the original unmodified document must be identified. + 5. The original author's (or authors') name(s) may not be used to assert + or imply endorsement of the resulting document without the original + author's (or authors') permission. + + +V. GOOD-PRACTICE RECOMMENDATIONS + +In addition to the requirements of this license, it is requested from +and strongly recommended of redistributors that: + + 1. If you are distributing Open Publication works on hardcopy or + CD-ROM, you provide email notification to the authors of your + intent to redistribute at least thirty days before your manuscript + or media freeze, to give the authors time to provide updated + documents. This notification should describe modifications, if any, + made to the document. + 2. All substantive modifications (including deletions) be either + clearly marked up in the document or else described in an + attachment to the document. + 3. Finally, while it is not mandatory under this license, it is + considered good form to offer a free copy of any hardcopy and + CD-ROM expression of an Open Publication-licensed work to its + author(s). + + +VI. LICENSE OPTIONS + +The author(s) and/or publisher of an Open Publication-licensed +document may elect certain options by appending language to the +reference to or copy of the license. These options are considered part +of the license instance and must be included with the license (or its +incorporation by reference) in derived works. + +A. To prohibit distribution of substantively modified versions without +the explicit permission of the author(s). "Substantive modification" +is defined as a change to the semantic content of the document, and +excludes mere changes in format or typographical corrections. + +To accomplish this, add the phrase `Distribution of substantively +modified versions of this document is prohibited without the explicit +permission of the copyright holder.' to the license reference or copy. + +B. To prohibit any publication of this work or derivative works in +whole or in part in standard (paper) book form for commercial purposes +is prohibited unless prior permission is obtained from the copyright +holder. + +To accomplish this, add the phrase 'Distribution of the work or +derivative of the work in any standard (paper) book form is prohibited +unless prior permission is obtained from the copyright holder.' to the +license reference or copy. --- abs-guide-6.6.orig/debian/rules +++ abs-guide-6.6/debian/rules @@ -0,0 +1,90 @@ +#!/usr/bin/make -f + +%: + dh $@ + +# see README for scripts to fix +scripts_to_fix = \ + Du.sh \ + encryptedpw.sh \ + ex57.sh \ + ex69.sh \ + ex70.sh \ + ex71.sh \ + ex71a.sh \ + ex71b.sh \ + ex71c.sh \ + ex72.sh \ + logevents.sh \ + m4.sh \ + pw.sh \ + read-r.sh \ + rnd.sh \ + rot13.sh \ + rot13a.sh \ + here-function.sh \ + avoid-subshell.sh \ + usb.sh \ + prepend.sh \ + array-assign.bash \ + cdll \ + directory-info.sh \ + is-spammer.sh \ + bashrc \ + commentblock.sh \ + self-document.sh \ + dev-tcp.sh \ + archiveweblogs.sh \ + multiple-processes.sh \ + is_spammer.bash \ + iscan.sh \ + Hash.lib \ + hash-example.sh \ + quote-fetch.sh \ + ftpget.sh \ + whx.sh \ + pad.sh \ + nightly-backup.sh \ + tohtml.sh \ + insertion-sort.bash \ + tree2.sh \ + petals.sh \ + realname.sh \ + qky.sh \ + maned.sh \ + progress-bar.sh \ + nim.sh \ + paragraph-space.sh \ + sw.sh \ + UseGetOpt.sh \ + UseGetOpt-2.sh + +override_dh_installchangelogs: + dh_installchangelogs Change.log + +override_dh_installdocs: + dh_installdocs HTML abs-book.sgml + mv debian/abs-guide/usr/share/doc/abs-guide/HTML \ + debian/abs-guide/usr/share/doc/abs-guide/html + +override_dh_installexamples: + dh_installexamples *.sh *.bash bashrc cdll Hash.lib + cd debian/abs-guide/usr/share/doc/abs-guide/examples && \ + for f in $(scripts_to_fix); do \ + sed -e 's/<//g' -e 's/&/&/g' \ + $$f > $$f.new; \ + if cmp -s $$f $$f.new; then \ + rm -f $$f.new; \ + else \ + echo fixed $$f; \ + mv -f $$f.new $$f; \ + fi; \ + done + + cd debian/abs-guide/usr/share/doc/abs-guide/examples && \ + for file in case4.sh fetch_address.sh fetch_address-2.sh ; do \ + sed -i 's|#!/bin/bash4|#!/bin/bash|' $$file ; \ + done + +override_dh_compress: + dh_compress -X.sh -X.anchors -Xbashrc --- abs-guide-6.6.orig/debian/source/format +++ abs-guide-6.6/debian/source/format @@ -0,0 +1 @@ +1.0 --- abs-guide-6.6.orig/debian/watch +++ abs-guide-6.6/debian/watch @@ -0,0 +1,3 @@ +version=3 + +http://bash.deta.in/abs-guide-([\d\.]+)\.tar.bz2