--- apt-rdepends-1.3.0.orig/debian/changelog +++ apt-rdepends-1.3.0/debian/changelog @@ -0,0 +1,58 @@ +apt-rdepends (1.3.0-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Add support for passing APT configuration on the command line with -o, + like apt-get and apt-cache do. Closes: #346140. + + -- Lucas Nussbaum Tue, 21 Aug 2007 10:12:54 +0200 + +apt-rdepends (1.3.0-1) unstable; urgency=low + + * New upstream release + - Fix typo in documentation. (Closes: Bug#307024) + - Now outputs graphs in VCG format. (Closes: Bug#311068) + - Pre-Depends are now shown and followed by default. (Closes: Bug#327069) + * Respects Policy 3.6.2. + * Added watch file. + + -- Simon Law Wed, 21 Sep 2005 16:18:00 -0400 + +apt-rdepends (1.2.0-2) unstable; urgency=medium + + * Tighter dependency on libapt-pkg-perl (Closes: Bug#230784) + + -- Simon Law Sun, 16 May 2004 16:30:06 -0400 + +apt-rdepends (1.2.0-1) unstable; urgency=medium + + * New upstream release. + - Resolves dependencies in any locale. (Closes: Bug#192888) + - --dotty mode respects --state-show=STATES. (Closes: Bug#225417) + - Now does recursive Build-Depends. (Closes: Bug#156599) + * New maintainer e-mail. + * Respects Policy 3.6.1. + * Uses Debhelper 4. + * Suggests springgraph. + + -- Simon Law Fri, 23 Jan 2004 03:54:46 -0500 + +apt-rdepends (1.1.0-1) unstable; urgency=low + + * New upstream release + - You can now display packages by current state (Closes: Bug#156793) + + -- Simon Law Sun, 18 Aug 2002 10:16:59 -0400 + +apt-rdepends (1.0.1-1) unstable; urgency=low + + * New upstream release. + * Adds upstream changelog. + + -- Simon Law Sat, 27 Jul 2002 16:35:55 -0400 + +apt-rdepends (1.0.0-1) unstable; urgency=low + + * Initial Release. (Closes: Bug#153116) + + -- Simon Law Sun, 14 Jul 2002 01:02:47 -0400 + --- apt-rdepends-1.3.0.orig/debian/control +++ apt-rdepends-1.3.0/debian/control @@ -0,0 +1,16 @@ +Source: apt-rdepends +Section: utils +Priority: optional +Maintainer: Simon Law +Build-Depends-Indep: debhelper (>> 4.0.0), perl-doc +Standards-Version: 3.6.2 + +Package: apt-rdepends +Architecture: all +Depends: ${perl:Depends}, libapt-pkg-perl (>= 0.1.11) +Suggests: vcg, springgraph | graphviz +Description: Recursively lists package dependencies + This utility can recursively list package dependencies, either forwards + or in reverse. It also lists forward build-dependencies. The output + format closely resembles that of `apt-cache depends`. As well, it can + generate .dot graphs, much like apt-cache in dotty mode. --- apt-rdepends-1.3.0.orig/debian/compat +++ apt-rdepends-1.3.0/debian/compat @@ -0,0 +1 @@ +4 --- apt-rdepends-1.3.0.orig/debian/rules +++ apt-rdepends-1.3.0/debian/rules @@ -0,0 +1,93 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) + CFLAGS += -g +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + #/usr/bin/docbook-to-man debian/apt-rdepends.sgml > apt-rdepends.1 + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/apt-rdepends. + $(MAKE) install prefix=$(CURDIR)/debian/apt-rdepends/usr + + # Add the Lintian override + mkdir -p $(CURDIR)/debian/apt-rdepends/usr/share/lintian/overrides/ + echo 'apt-rdepends: no-manpage-in-correct-directory usr/bin/apt-rdepends (8)' > $(CURDIR)/debian/apt-rdepends/usr/share/lintian/overrides/apt-rdepends + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot +# dh_installdebconf + dh_installdocs +# dh_installexamples +# dh_installmenu +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron + dh_installman apt-rdepends.8 +# dh_installinfo +# dh_undocumented + dh_installchangelogs ChangeLog + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_makeshlibs + dh_installdeb + dh_perl + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- apt-rdepends-1.3.0.orig/debian/docs +++ apt-rdepends-1.3.0/debian/docs @@ -0,0 +1,2 @@ +README +NEWS --- apt-rdepends-1.3.0.orig/debian/copyright +++ apt-rdepends-1.3.0/debian/copyright @@ -0,0 +1,28 @@ +This package was debianized by Simon Law on +Sun, 14 Jul 2002 01:02:47 -0400. + +It was downloaded from http://www.law.yi.org/~sfllaw/programs/ + +Upstream Author: Simon Law + +Copyright: + + apt-rdepends performs recursive dependency listings similar to apt-cache. + Copyright (C) 2002-2005 Simon Law + + 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, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL' file. --- apt-rdepends-1.3.0.orig/debian/watch +++ apt-rdepends-1.3.0/debian/watch @@ -0,0 +1,4 @@ +# format version number, currently 3; this line is compulsory! +version=3 + +http://www.law.yi.org/~sfllaw/programs/ apt-rdepends[_-]([\d\.]*).tar.(?:gz|bz2) --- apt-rdepends-1.3.0.orig/apt-rdepends +++ apt-rdepends-1.3.0/apt-rdepends @@ -42,6 +42,10 @@ my @follow = (); # Which types of dependencies do we show? my @show = (); +# Which configuration options do we want to pass to libapt-pkg. +# The syntax is -o Foo::Bar=bar +my @configoptions = (); + # We don't print package states by default. my $printstate = 0; @@ -62,6 +66,7 @@ 'print-state|p' => \$printstate, 'state-follow=s' => \@statefollow, 'state-show=s' => \@stateshow, + 'option|o=s' => \@configoptions, 'help|h|?' => \$help, 'version' => \$ver, 'man' => \$man) or pod2usage(verbose => 0); @@ -103,6 +108,12 @@ $_config->init(); $_system = $_config->system(); +# override config if asked to +for my $opt (@configoptions) { + my ($o, $v) = split(/\=/, $opt, 2); + $_config->set($o, $v); +} + # Choose whether we're searching Depends or Build-Depends. my $cache = AptPkg::Cache->new(); my $source; @@ -658,7 +669,10 @@ are suggests, orange lines are recommends, red lines are replaces, and black lines are depends. -=back +=item B<-o>, B<--option=>I