[Pkg-ocaml-maint-commits] r2642 - in
/trunk/packages/debcheck/trunk/debian: control.in debcheck.1 rules
treinen at users.alioth.debian.org
treinen at users.alioth.debian.org
Mon Apr 24 16:18:22 UTC 2006
Author: treinen
Date: Mon Apr 24 16:18:20 2006
New Revision: 2642
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/?sc=1&rev=2642
Log:
new: man page
Added:
trunk/packages/debcheck/trunk/debian/debcheck.1
Modified:
trunk/packages/debcheck/trunk/debian/control.in
trunk/packages/debcheck/trunk/debian/rules
Modified: trunk/packages/debcheck/trunk/debian/control.in
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/debcheck/trunk/debian/control.in?rev=2642&op=diff
==============================================================================
--- trunk/packages/debcheck/trunk/debian/control.in (original)
+++ trunk/packages/debcheck/trunk/debian/control.in Mon Apr 24 16:18:20 2006
@@ -8,7 +8,17 @@
Package: debcheck
Architecture: any
Depends: ${shlibs:Depends}
-Description: Checks whether package dependencies can be satisfied
- This software checks whether for every package of a distribution it is
+Description: Checks whether dependencies of debian packages can be satisfied
+ This software checks whether for every package of a distribution (in the
+ debian format .deb) whether it is
possible to satisfy its dependencies and conflicts within this
distribution.
+
+Package: rpmcheck
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: Checks whether dependencies of redhat packages can be satisfied
+ This software checks whether for every package of a distribution (in the
+ redhat format .rpm) whether it is
+ possible to satisfy its dependencies and conflicts within this
+ distribution.
Added: trunk/packages/debcheck/trunk/debian/debcheck.1
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/debcheck/trunk/debian/debcheck.1?rev=2642&op=file
==============================================================================
--- trunk/packages/debcheck/trunk/debian/debcheck.1 (added)
+++ trunk/packages/debcheck/trunk/debian/debcheck.1 Mon Apr 24 16:18:20 2006
@@ -1,0 +1,78 @@
+.TH DEBCHECK 1
+
+.SH NAME
+Debcheck \- Check satisfiability of debian package dependencies
+
+.SH SYNOPSIS
+.B debcheck [option] ... [package] ...
+
+.SH DESCRIPTION
+.B debcheck
+reads from standard input a set of debian package descriptions, each of which
+is in the format of deb-control(5). Packages may appear with multiple versions
+in this set. We say that a package is identified in this set by the pair
+consisting of the
+.I package name
+and of the
+.I package version\fR.
+
+A package (called goal) is called \fIinstallable\fR with respect to a set of
+packages if there exists a subset of the packages that
+ - contains at most one version for each package name
+ - contains the goal package (in any version, or a specific version)
+ - all packages of the subset have their dependencies and conflicts satisfied
+in this subset.
+
+Debcheck checks whether every package given as argument is installable with
+respect to the input set of packages. Specific versions can be specified by
+following the package name with the sign '=' and the version of the package
+(for instance, 'xemacs21=21.4.17-1'). If no package name is given as argument
+then all packages of the input set are checked for satisfiability.
+
+The constraint solving algorithm is complete, that is it finds a solution
+whenever there exists on, even for multiple disjunctive dependencies and deep
+package conflicts. This problem is computationally infeasable in theory (that
+is, NP-complete), but can in practice be solved very efficiently.
+
+.SH OPTIONS
+.TP
+.B -check
+Double-check the results
+.TP
+.B -explain
+Explain the results
+.TP
+.B -rules
+Print generated rules
+.TP
+.B -failures
+Only show failures
+.TP
+.B -successes
+Only show successes
+.TP
+.B -help, --help
+Display this list of options
+
+.SH EXAMPLE
+Check which packages in a particular distribution are not installable and why:
+
+ debcheck -failures -explain < Packages
+
+where Packages is the file pertaining to that distribution, as for instance
+found in the directory
+.I /var/lib/apt/lists\fR.
+
+.P
+Check whether version 21.4.17-1 of the xemacs21 package is installable in a
+distribution described by the file Packages:
+
+ debcheck -explain xemacs=21.4.17-1 < Packages
+
+
+.SH AUTHOR
+Debcheck has been written by Jerome Vouillon. This manpage has been compiled
+by Ralf Treinen.
+
+.SH SEE ALSO
+.BR rpmcheck (1), deb-control (5)
Modified: trunk/packages/debcheck/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/debcheck/trunk/debian/rules?rev=2642&op=diff
==============================================================================
--- trunk/packages/debcheck/trunk/debian/rules (original)
+++ trunk/packages/debcheck/trunk/debian/rules Mon Apr 24 16:18:20 2006
@@ -5,7 +5,8 @@
# export DH_VERBOSE=1
-DESTDIR=`pwd`/debian/debcheck
+DESTDEBDIR=`pwd`/debian/debcheck
+DESTRPMDIR=`pwd`/debian/rpmcheck
# for package maintainers only - target not used in build process!
OCAMLABI := $(shell ocamlc -version)
@@ -21,7 +22,7 @@
clean: unpatch
dh_testdir
dh_testroot
-# -$(MAKE) distclean
+ -$(MAKE) distclean
$(MAKE) clean
-rm debcheck rpmcheck
dh_clean
@@ -31,7 +32,8 @@
dh_testroot
dh_clean -k
dh_installdirs
- cp debcheck $(DESTDIR)/usr/bin
+ cp debcheck $(DESTDEBDIR)/usr/bin
+ cp rpmcheck $(DESTRPMDIR)/usr/bin
binary-arch: build install
dh_testdir
More information about the Pkg-ocaml-maint-commits
mailing list