Switch URLs from http to https where possible
http URLs are insecure.
Suggested-by: check-all-the-things
Paul Wise
7 years ago
10 | 10 | # PENDING: |
11 | 11 | # - included code from 'psdel' contributed by Sam Morris <sam_AT_robots.org.uk> to |
12 | 12 | # 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) | |
14 | 14 | # - make it work with a whitelist of directories instead of a blacklist |
15 | 15 | # (might make it less false positive prone) |
16 | 16 | # |
541 | 541 | # Useful for seeing which processes need to be restarted after you upgrade |
542 | 542 | # programs or shared libraries. Written to replace checkrestart(1) from the |
543 | 543 | # 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. | |
545 | 545 | |
546 | 546 | numeric = re.compile(r'\d+') |
547 | 547 | toRestart = list(map (delmaps, list(map (string.atoi, list(filter (numeric.match, os.listdir('/proc'))))))) |
313 | 313 | listed. Also use apt-file if available since if the package is not |
314 | 314 | installed then the list of files is not available in the system |
315 | 315 | (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 | |
317 | 317 | (more specifically http://ankh-morp.org/~vetinari/tools/paste-dn.pl). |
318 | 318 | Adjust debian/copyright accordingly to acknowledge the author and |
319 | 319 | its copyright. This script is not yet distributed as Recommends/Depends |
325 | 325 | debian-goodies (0.53) unstable; urgency=low |
326 | 326 | |
327 | 327 | * [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. | |
329 | 329 | * [checkrestart] Fix Python string exception. Thanks Jakub Wilk for the |
330 | 330 | patch. (Closes: #585198) |
331 | 331 | * [dpigs] Fix getopt configuration for -h. Thanks Jakub Wilk for |
650 | 650 | made this script rather useless (related to lsof, see bug #297029, and to |
651 | 651 | changes in dpkg) (Closes: #264985) |
652 | 652 | (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 | |
654 | 654 | needs to be massaged to work as a replacement for lsof) |
655 | 655 | * Write a manpage for checkrestart so administrators are aware that this |
656 | 656 | 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/ | |
1 | 1 | |
2 | 2 | Files: checkrestart |
3 | 3 | Copyright: 2001 Matt Zimmerman <mdz@debian.org> |
50 | 50 | License: AGPL-3.0 |
51 | 51 | Comment: |
52 | 52 | 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 | |
54 | 54 | |
55 | 55 | Files: check-enhancements |
56 | 56 | Copyright: 2012 George Danchev <danchev@spnet.net> |
69 | 69 | License: GPL |
70 | 70 | This is free software. You may redistribute copies of it under the |
71 | 71 | 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 | |
73 | 73 | extent permitted by law. |
74 | 74 | . |
75 | 75 | On Debian systems, a copy of the GNU General Public License, version |
99 | 99 | GNU AFFERO GENERAL PUBLIC LICENSE |
100 | 100 | Version 3, 19 November 2007 |
101 | 101 | . |
102 | Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> | |
102 | Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> | |
103 | 103 | Everyone is permitted to copy and distribute verbatim copies |
104 | 104 | of this license document, but changing it is not allowed. |
105 | 105 | . |
741 | 741 | GNU Affero General Public License for more details. |
742 | 742 | . |
743 | 743 | 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/>. | |
745 | 745 | . |
746 | 746 | Also add information on how to contact you by electronic and paper mail. |
747 | 747 | . |
756 | 756 | You should also get your employer (if you work as a programmer) or school, |
757 | 757 | if any, to sign a "copyright disclaimer" for the program, if necessary. |
758 | 758 | 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/>. |
6 | 6 | # other uses: curl, $PAGER or sensible-pager (can be overwritten: -o) |
7 | 7 | # optional: -k -g -x: kfmexec gnome-open xdg-open (xdg-utils) |
8 | 8 | # 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>. | |
10 | 10 | # There is NO WARRANTY, to the extent permitted by law. |
11 | 11 | |
12 | 12 | # Tests for new releases: |
91 | 91 | Written by Michael Arlt. |
92 | 92 | .SH "LICENSE" |
93 | 93 | 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>. | |
95 | 95 | There is NO WARRANTY, to the extent permitted by law. |
91 | 91 | Geschrieben von Michael Arlt. |
92 | 92 | .SH "LIZENZ" |
93 | 93 | 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>. | |
95 | 95 | There is NO WARRANTY, to the extent permitted by law. |
2 | 2 | |
3 | 3 | =head1 NAME |
4 | 4 | |
5 | debpaste - http://paste.debian.net/ XML-RPC client | |
5 | debpaste - https://paste.debian.net/ XML-RPC client | |
6 | 6 | |
7 | 7 | =cut |
8 | 8 | |
9 | 9 | # 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) | |
11 | 11 | # Version: $Id: debpaste 22 2009-11-19 17:23:47Z vetinari $ |
12 | 12 | # SVN: http://svn.ankh-morp.org:8080/tools/paste-dn/ |
13 | 13 | # |
37 | 37 | |
38 | 38 | Usage: debpaste add [OPTIONS] [CODE] |
39 | 39 | |
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 | |
41 | 41 | command line, it will read from stdin. |
42 | 42 | |
43 | 43 | Your paste infos are saved to I<~/.debpaste.history> |
53 | 53 | |
54 | 54 | Usage: debpaste get [OPTIONS] ID |
55 | 55 | |
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> | |
57 | 57 | a paste use something like |
58 | 58 | |
59 | 59 | debpaste get --noheader ID > OUTFILE |
91 | 91 | |
92 | 92 | =item --server=URL |
93 | 93 | |
94 | use URL instead of http://paste.debian.net/server.pl | |
94 | use URL instead of https://paste.debian.net/server.pl | |
95 | 95 | |
96 | 96 | =item --noproxy |
97 | 97 | |
155 | 155 | ## AnoThErKey: other-value |
156 | 156 | my $history = $ENV{HOME}."/.debpaste.history"; |
157 | 157 | %config = ( |
158 | server => "http://paste.debian.net/server.pl", | |
158 | server => "https://paste.debian.net/server.pl", | |
159 | 159 | user => "anonymous", |
160 | 160 | lang => "", |
161 | 161 | expires => 86400 * 3, # |
166 | 166 | my %help = ( |
167 | 167 | 'add' => "\n" |
168 | 168 | ."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" | |
170 | 170 | ." If no code is given on the command line, it will read from\n" |
171 | 171 | ." stdin.\n" |
172 | 172 | ." Your paste infos are saved to $history\n", |
29 | 29 | usage = '''Usage: popbugs [{-o|--output=} {outputfile|-}] [popularity-contest log]\n''' |
30 | 30 | |
31 | 31 | 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' | |
33 | 33 | # For testing purposes: |
34 | 34 | #bugurl = 'file:///tmp/all.html' |
35 | 35 | outputfile = None |