~ubuntu-branches/ubuntu/precise/devscripts/precise

« back to all changes in this revision

Viewing changes to scripts/rc-alert.pl

  • Committer: Bazaar Package Importer
  • Author(s): Benjamin Drung
  • Date: 2011-05-25 09:46:30 UTC
  • Revision ID: james.westby@ubuntu.com-20110525094630-gsd820t94ib5u6kn
Tags: 2.11.0ubuntu1
* Merge from Debian unstable; remaining changes:
  - Demote Recommends to Suggests:
    + libcrypt-ssleay-perl: only needed for a corner case (uscan on SSL
      download sites), wasn't installed by default in previous releases
      either, and seems quite dead upstream; universe only.
    + debian-{keyring,maintainers}: not useful enough in Ubuntu; universe
      only.
    + equivs: too much of a hack to install by default; universe only.
    + libyaml-syck-perl: transition-check is fairly Debian-specific.
  - scripts/debchange.{pl,1}:
    + Adjust --security template for Ubuntu.
    + Add -U/--upstream flag that forces original "just increment
      the end" behaviour; Ubuntu is upstream for some pieces of software.
    + Add --distributor= and DEBCHANGE_DISTRIBUTOR to override lsb_release
      output.
    + Default to "oneiric" as distribution.
    + Add "ubuntu1" to version string for new versions, with tweaks for
      special cases.
    + Add -R/--rebuild flag for Ubuntu's no-change rebuilds.
    + Don't use the last distribution in debian/changelog when doing
      "dch -r" on Ubuntu. "Just because it was last uploaded to jaunty
      doesn't mean that's the right thing to do now." Thanks to Colin
      Watson. (LP: #429288)
  - Add test/debchange.pl, test/Makefile: debchange test suite.
  - Rename XS-Vcs-* to XS-Debian-Vcs-*.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
# Modifications Copyright 2003 Julian Gilbey <jdg@debian.org>
6
6
# Modifications Copyright 2008 Adam D. Barratt <adam@adam-barratt.org.uk>
7
7
# Modifications copyright 2009 by Jan Hauke Rahm <info@jhr-online.de>
8
 
 
8
#
9
9
# This program is free software; you can redistribute it and/or modify
10
10
# it under the terms of the GNU General Public License as published by
11
11
# the Free Software Foundation; either version 2 of the License, or
12
12
# (at your option) any later version.
13
 
 
13
#
14
14
# This program is distributed in the hope that it will be useful,
15
15
# but WITHOUT ANY WARRANTY; without even the implied warranty of
16
16
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
17
# GNU General Public License for more details.
18
 
 
18
#
19
19
# You should have received a copy of the GNU General Public License
20
20
# along with this program. If not, see <http://www.gnu.org/licenses/>.
21
21
 
275
275
 
276
276
sub store_if_relevant(%) {
277
277
    my %args = @_;
278
 
    
 
278
 
279
279
    if (exists($$package_list{$args{pkg}})) {
280
280
        # potentially relevant
281
281
        my ($flags, $flagsapply) = human_flags($args{tags});
282
282
        my $distsapply = 1;
283
283
        my $dists;
284
284
        ($dists, $distsapply) = human_dists($args{dists}) if defined $args{dists};
285
 
        
 
285
 
286
286
        return unless $flagsapply and $distsapply;
287
287
 
288
288
        foreach (@dt_requests) {