Package list debian-goodies / 104bf8f
Switch URLs from http to https where possible http URLs are insecure. Suggested-by: check-all-the-things Paul Wise 5 years ago
8 changed file(s) with 22 addition(s) and 22 deletion(s). Raw diff Collapse all Expand all
1010 # PENDING:
1111 # - included code from 'psdel' contributed by Sam Morris <sam_AT_robots.org.uk> to
1212 # make the program work even if lsof is not installed
13 # (available at http://robots.org.uk/src/psdel)
13 # (available at https://robots.org.uk/src/psdel)
1414 # - make it work with a whitelist of directories instead of a blacklist
1515 # (might make it less false positive prone)
1616 #
541541 # Useful for seeing which processes need to be restarted after you upgrade
542542 # programs or shared libraries. Written to replace checkrestart(1) from the
543543 # debian-goodies, which often misses out processes due to bugs in lsof; see
544 # <http://bugs.debian.org/264985> for more information.
544 # <https://bugs.debian.org/264985> for more information.
545545
546546 numeric = re.compile(r'\d+')
547547 toRestart = list(map (delmaps, list(map (string.atoi, list(filter (numeric.match, os.listdir('/proc')))))))
313313 listed. Also use apt-file if available since if the package is not
314314 installed then the list of files is not available in the system
315315 (Closes: #594426)
316 * Include a new 'debpaste' which is borrowed from http://paste.debian.net
316 * Include a new 'debpaste' which is borrowed from https://paste.debian.net
317317 (more specifically http://ankh-morp.org/~vetinari/tools/paste-dn.pl).
318318 Adjust debian/copyright accordingly to acknowledge the author and
319319 its copyright. This script is not yet distributed as Recommends/Depends
325325 debian-goodies (0.53) unstable; urgency=low
326326
327327 * [checkrestart] Fix numerical use of errno. Thanks Jakub Wilk! See
328 http://lists.debian.org/debian-hurd/2010/08/msg00006.html for details.
328 https://lists.debian.org/debian-hurd/2010/08/msg00006.html for details.
329329 * [checkrestart] Fix Python string exception. Thanks Jakub Wilk for the
330330 patch. (Closes: #585198)
331331 * [dpigs] Fix getopt configuration for -h. Thanks Jakub Wilk for
650650 made this script rather useless (related to lsof, see bug #297029, and to
651651 changes in dpkg) (Closes: #264985)
652652 (Note I have included the code from Sam Morris, available at
653 http://robots.org.uk/src/psdel and contributed in the BTS. But it still
653 https://robots.org.uk/src/psdel and contributed in the BTS. But it still
654654 needs to be massaged to work as a replacement for lsof)
655655 * Write a manpage for checkrestart so administrators are aware that this
656656 tool should not be completely relied on. (Closes: #305279)
0 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
0 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
11
22 Files: checkrestart
33 Copyright: 2001 Matt Zimmerman <mdz@debian.org>
5050 License: AGPL-3.0
5151 Comment:
5252 Retrieved on 2010-10-02 from
53 http://paste.debian.net/paste.pl?show_template=clients
53 https://paste.debian.net/paste.pl?show_template=clients
5454
5555 Files: check-enhancements
5656 Copyright: 2012 George Danchev <danchev@spnet.net>
6969 License: GPL
7070 This is free software. You may redistribute copies of it under the
7171 terms of the GNU General Public License
72 <http://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the
72 <https://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the
7373 extent permitted by law.
7474 .
7575 On Debian systems, a copy of the GNU General Public License, version
9999 GNU AFFERO GENERAL PUBLIC LICENSE
100100 Version 3, 19 November 2007
101101 .
102 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
102 Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
103103 Everyone is permitted to copy and distribute verbatim copies
104104 of this license document, but changing it is not allowed.
105105 .
741741 GNU Affero General Public License for more details.
742742 .
743743 You should have received a copy of the GNU Affero General Public License
744 along with this program. If not, see <http://www.gnu.org/licenses/>.
744 along with this program. If not, see <https://www.gnu.org/licenses/>.
745745 .
746746 Also add information on how to contact you by electronic and paper mail.
747747 .
756756 You should also get your employer (if you work as a programmer) or school,
757757 if any, to sign a "copyright disclaimer" for the program, if necessary.
758758 For more information on this, and how to apply and follow the GNU AGPL, see
759 <http://www.gnu.org/licenses/>.
759 <https://www.gnu.org/licenses/>.
66 # other uses: curl, $PAGER or sensible-pager (can be overwritten: -o)
77 # optional: -k -g -x: kfmexec gnome-open xdg-open (xdg-utils)
88 # This is free software. You may redistribute copies of it under the terms of
9 # the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
9 # the GNU General Public License <https://www.gnu.org/licenses/gpl.html>.
1010 # There is NO WARRANTY, to the extent permitted by law.
1111
1212 # Tests for new releases:
9191 Written by Michael Arlt.
9292 .SH "LICENSE"
9393 This is free software. You may redistribute copies of it under the terms of
94 the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
94 the GNU General Public License <https://www.gnu.org/licenses/gpl.html>.
9595 There is NO WARRANTY, to the extent permitted by law.
9191 Geschrieben von Michael Arlt.
9292 .SH "LIZENZ"
9393 This is free software. You may redistribute copies of it under the terms of
94 the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
94 the GNU General Public License <https://www.gnu.org/licenses/gpl.html>.
9595 There is NO WARRANTY, to the extent permitted by law.
22
33 =head1 NAME
44
5 debpaste - http://paste.debian.net/ XML-RPC client
5 debpaste - https://paste.debian.net/ XML-RPC client
66
77 =cut
88
99 # Author: Hanno Hecker <vetinari@ankh-morp.org>
10 # Licence: AGPL 3.0 (http://www.fsf.org/licensing/licenses/agpl-3.0.html)
10 # Licence: AGPL 3.0 (https://www.fsf.org/licensing/licenses/agpl-3.0.html)
1111 # Version: $Id: debpaste 22 2009-11-19 17:23:47Z vetinari $
1212 # SVN: http://svn.ankh-morp.org:8080/tools/paste-dn/
1313 #
3737
3838 Usage: debpaste add [OPTIONS] [CODE]
3939
40 Adds a new paste to L<http://paste.debian.net/>. If no code is given on the
40 Adds a new paste to L<https://paste.debian.net/>. If no code is given on the
4141 command line, it will read from stdin.
4242
4343 Your paste infos are saved to I<~/.debpaste.history>
5353
5454 Usage: debpaste get [OPTIONS] ID
5555
56 Fetches the paste with id ID from L<http://paste.debian.net>. To C<download>
56 Fetches the paste with id ID from L<https://paste.debian.net>. To C<download>
5757 a paste use something like
5858
5959 debpaste get --noheader ID > OUTFILE
9191
9292 =item --server=URL
9393
94 use URL instead of http://paste.debian.net/server.pl
94 use URL instead of https://paste.debian.net/server.pl
9595
9696 =item --noproxy
9797
155155 ## AnoThErKey: other-value
156156 my $history = $ENV{HOME}."/.debpaste.history";
157157 %config = (
158 server => "http://paste.debian.net/server.pl",
158 server => "https://paste.debian.net/server.pl",
159159 user => "anonymous",
160160 lang => "",
161161 expires => 86400 * 3, #
166166 my %help = (
167167 'add' => "\n"
168168 ."Usage: $0 add [OPTIONS] [CODE]\n"
169 ." Adds a new paste to http://paste.debian.net/\n"
169 ." Adds a new paste to https://paste.debian.net/\n"
170170 ." If no code is given on the command line, it will read from\n"
171171 ." stdin.\n"
172172 ." Your paste infos are saved to $history\n",
2929 usage = '''Usage: popbugs [{-o|--output=} {outputfile|-}] [popularity-contest log]\n'''
3030
3131 popconfile = '/var/log/popularity-contest'
32 bugurl = 'http://bugs.debian.org/release-critical/other/all.html'
32 bugurl = 'https://bugs.debian.org/release-critical/other/all.html'
3333 # For testing purposes:
3434 #bugurl = 'file:///tmp/all.html'
3535 outputfile = None