[Pkg-ocaml-maint-commits] r2643 - in /trunk/packages/debcheck/trunk/debian: control control.in debcheck.1 dirs rpmcheck.1 rules

treinen at users.alioth.debian.org treinen at users.alioth.debian.org
Tue Apr 25 17:48:59 UTC 2006


Author: treinen
Date: Tue Apr 25 17:48:57 2006
New Revision: 2643

URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/?sc=1&rev=2643
Log:
build also an rpmcheck package

Added:
    trunk/packages/debcheck/trunk/debian/rpmcheck.1
Removed:
    trunk/packages/debcheck/trunk/debian/dirs
Modified:
    trunk/packages/debcheck/trunk/debian/control
    trunk/packages/debcheck/trunk/debian/control.in
    trunk/packages/debcheck/trunk/debian/debcheck.1
    trunk/packages/debcheck/trunk/debian/rules

Modified: trunk/packages/debcheck/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/debcheck/trunk/debian/control?rev=2643&op=diff
==============================================================================
--- trunk/packages/debcheck/trunk/debian/control (original)
+++ trunk/packages/debcheck/trunk/debian/control Tue Apr 25 17:48:57 2006
@@ -3,12 +3,22 @@
 Priority: optional
 Maintainer: Ralf Treinen <treinen at debian.org>
 Standards-Version: 3.6.2
-Build-Depends: ocaml-nox-3.09.1, debhelper (>= 4.0)
+Build-Depends: ocaml-nox-3.09.1, debhelper (>= 4.0), dpatch
 
 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.

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=2643&op=diff
==============================================================================
--- trunk/packages/debcheck/trunk/debian/control.in (original)
+++ trunk/packages/debcheck/trunk/debian/control.in Tue Apr 25 17:48:57 2006
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Ralf Treinen <treinen at debian.org>
 Standards-Version: 3.6.2
-Build-Depends: ocaml-nox-#OcamlABI#, debhelper (>= 4.0)
+Build-Depends: ocaml-nox-#OcamlABI#, debhelper (>= 4.0), dpatch
 
 Package: debcheck
 Architecture: any

Modified: trunk/packages/debcheck/trunk/debian/debcheck.1
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/debcheck/trunk/debian/debcheck.1?rev=2643&op=diff
==============================================================================
--- trunk/packages/debcheck/trunk/debian/debcheck.1 (original)
+++ trunk/packages/debcheck/trunk/debian/debcheck.1 Tue Apr 25 17:48:57 2006
@@ -4,7 +4,7 @@
 Debcheck \- Check satisfiability of debian package dependencies
 
 .SH SYNOPSIS
-.B debcheck [option] ... [package] ...
+\fBdebcheck\fR [option] ... [package] ...
 
 .SH DESCRIPTION
 .B debcheck

Added: trunk/packages/debcheck/trunk/debian/rpmcheck.1
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/debcheck/trunk/debian/rpmcheck.1?rev=2643&op=file
==============================================================================
--- trunk/packages/debcheck/trunk/debian/rpmcheck.1 (added)
+++ trunk/packages/debcheck/trunk/debian/rpmcheck.1 Tue Apr 25 17:48:57 2006
@@ -1,0 +1,78 @@
+.TH DEBCHECK 1
+
+.SH NAME
+Debcheck \- Check satisfiability of debian package dependencies
+
+.SH SYNOPSIS
+\fBdebcheck\fR [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=2643&op=diff
==============================================================================
--- trunk/packages/debcheck/trunk/debian/rules (original)
+++ trunk/packages/debcheck/trunk/debian/rules Tue Apr 25 17:48:57 2006
@@ -4,9 +4,6 @@
 include /usr/share/dpatch/dpatch.make
 
 # export DH_VERBOSE=1
-
-DESTDEBDIR=`pwd`/debian/debcheck
-DESTRPMDIR=`pwd`/debian/rpmcheck
 
 # for package maintainers only - target not used in build process!
 OCAMLABI := $(shell ocamlc -version)
@@ -22,7 +19,7 @@
 clean: unpatch 
 	dh_testdir
 	dh_testroot
-	-$(MAKE) distclean
+	touch .depend
 	$(MAKE) clean
 	-rm debcheck rpmcheck
 	dh_clean
@@ -31,9 +28,11 @@
 	dh_testdir
 	dh_testroot
 	dh_clean -k
-	dh_installdirs
-	cp debcheck $(DESTDEBDIR)/usr/bin
-	cp rpmcheck $(DESTRPMDIR)/usr/bin
+	dh_installdirs -A /usr/bin /usr/share/man/man1
+	dh_install -pdebcheck debcheck usr/bin
+	dh_install -prpmcheck rpmcheck usr/bin
+	dh_installman -pdebcheck debian/debcheck.1
+	dh_installman -prpmcheck debian/rpmcheck.1
 
 binary-arch: build install
 	dh_testdir




More information about the Pkg-ocaml-maint-commits mailing list