0
  /   ˆ{‹„„-i[D<†ªoZƒ›Ù«Â599_‘I|¥‰ÓMdœv ©ƒ†ü+=ÂÁ W    ‹      ½•QoÚ0Çßû)n~Ø[rI€ÑÒà©#HCkQ¦išö`b“XMâÈqKÛO?CXK'ÒÒuÚ“/ÎßßïÎ²ÃwÑd0ÿ>ÂçùÅ9L¿~:€8ˆßZÄhÕ?Ú®ç#ÇHjLÙC\­Vîªå*�à|†©É³6VFËØ¸ÜpB�Âõ=‚0ŒÛB#M&è¨àâÔP]›JrÑÆëJc•2-�«3fÄm~b­·¸µŠß­�ýW¸Xñfs¶Ø˜­CMC“ÂËdRô‰Q%¡¡Ì¨tÜ'(cUT¸ÈXqå&rI€e¦O~Œ“ŸV‡&]¯¦!ƒT‹eŸ|ôÇ§“þ¡c–‹Ù~ÍE­9g•�\q¹”‚7Š/kñ¥¼o6Œ¬&"4U¬ei¤*¥hwQc•U%³¬K�ê]U-á/UƒÅOŠ1=›Çóh4«KÂ×�Ù5õ„Ð©‘Ô"6JßmS®×¿/Uyúû¶	i™¤†P ö*_A‘²‚»¿][§½³áYt1$´w3ý#µÀZŽç;^ünÏï 4	Ýö—·2\W…Z‡ Ì'ÑÄ�ÄB²‚Ð��çQÇk9þ	øÇ½ ÛˆÝàÍíˆU^jQU‚BÛî%"SÉ–ÂMî	Ý3yH£NÀ³t­F:ÿ4êoéžbÆó¯´›»å·þçÁ‹Uy·Ýù!<¼-Þ3mé¼c©2.ô.EÓ-&nY^f¢²×ÖCø"Å‰ƒßéyÍ‡ëù›ìÀ[·ïYˆ›71Äúµýh³Ð    6   ˆl–äY>”Ên-ji@¿pB¸ÈÅ£�þY %YÁ	Çã„óïùÅ„lºßÄÃÂ <    #!/usr/bin/perl

# rc-alert - find RC bugs for programs on your system
# Copyright (C) 2003 Anthony DeRobertis
# Modifications Copyright 2003 Julian Gilbey <jdg@debian.org>
# Modifications Copyright 2008 Adam D. Barratt <adam@adam-barratt.org.uk>
# Modifications copyright 2009 by Jan Hauke Rahm <info@jhr-online.de>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.

use strict;
use warnings;
use Devscripts::Packages;
use File::Basename;
use File::Copy qw(move);
use File::HomeDir;
use File::Path qw(make_path);
use File::Spec;
use Getopt::Long qw(:config bundling permute no_getopt_compat);

sub remove_duplicate_values($);
sub store_if_relevant(%);
sub human_flags($);
sub unhtmlsanit($);
sub dt_parse_request($);

$ENV{HOME} = File::HomeDir->my_home;
my $cachedir
  = $ENV{XDG_CACHE_HOME} || File::Spec->catdir($ENV{HOME}, '.cache');
$cachedir = File::Spec->catdir($cachedir, 'devscripts', 'rc-alert');

my $url        = "http://bugs.debian.org/release-critical/other/all.html";
my $cachefile  = File::Spec->catfile($cachedir, basename($url));
my $forcecache = 0;
my $usecache   = 0;

my @flags = (
    [qr/P/  => 'pending'],
    [qr/\+/ => 'patch'],
    [qr/H/  => 'help [wanted]'],
    [qr/M/  => 'moreinfo [needed]'],
    [qr/R/  => 'unreproducible'],
    [qr/S/  => 'security'],
    [qr/U/  => 'upstream'],
);
# A little hacky but allows us to sort the list by length
my @dists = (
    [qr/O/ => 'oldstable'],
    [qr/S/ => 'stable'],
    [qr/T/ => 'testing'],
    [qr/U/ => 'unstable'],
    [qr/E/ => 'experimental'],
);

my $includetags = "";
my $excludetags = "";

my $includedists = "";
my $excludedists = "";

my $tagincoperation  = "or";
my $tagexcoperation  = "or";
my $distincoperation = "or";
my $distexcoperation = "or";

my $popcon         = 0;
my $popcon_by_vote = 0;
my $popcon_local   = 0;

my $debtags    = '';
my $debtags_db = '/var/lib/debtags/package-tags';

my $progname = basename($0);

my $usage = <<"EOF";
Usage: $progname [--help|--version|--cache] [package ...]
  List all installed packages (or listed packages) with
  release-critical bugs, as determined from the Debian
  release-critical bugs list.

  Options:
  --cache           Create ~/.devscripts_cache directory if it does not exist

  Matching options: (see the manpage for further information)
  --include-tags     Set of tags to include
  --include-tag-op   Must all tags match for inclusion?
  --exclude-tags     Set of tags to exclude
  --exclude-tag-op   Must all tags match for exclusion?
  --include-dists    Set of distributions to include
  --include-dist-op  Must all distributions be matched for inclusion?
  --exclude-dists    Set of distributions to exclude
  --exclude-dist-op  Must all distributions be matched for exclusion?

  Debtags options: (only list packag