The existing tutorials on `equivs` tools are few and not very
detailed, so I'm looking for some clarification.
What do `equivs-control`/`build` do beyond what can already be
accomplished with a `DEBIAN/control` file and `dpkg --build`?
I've long felt that they were overcomplicated in themselves: the
ideal UX should be not much more than "equivs package-name" => ./package-name.deb generated, IMHO. I once had ambitions to add
that UX (either as a patch to equivs, or as a separate equivs-ng)
but I never got around to it.
On Sun, Aug 18, 2024 at 17:08:00 +0100, Jonathan Dowland wrote:
I've long felt that they were overcomplicated in themselves: the
ideal UX should be not much more than "equivs package-name" => ./package-name.deb generated, IMHO. I once had ambitions to add
that UX (either as a patch to equivs, or as a separate equivs-ng)
but I never got around to it.
That may be acceptable for packages that don't have any Depends: or
Provides: lines or what-have-you.
On Sun Aug 18, 2024 at 5:32 PM BST, Greg Wooledge wrote:
On Sun, Aug 18, 2024 at 17:08:00 +0100, Jonathan Dowland wrote:
I've long felt that they were overcomplicated in themselves: the
ideal UX should be not much more than "equivs package-name" => ./package-name.deb generated, IMHO. I once had ambitions to add
that UX (either as a patch to equivs, or as a separate equivs-ng)
but I never got around to it.
That may be acceptable for packages that don't have any Depends: or Provides: lines or what-have-you.
I would want this for packages which had depends/provides as well: my expectation would be that the generated dummy package would also have
those depends/provides. It must not have been clear from my brief illustration, but my envisaged "equivs" tool would look up the package
name from dpkg metadata.
You're saying that you use equivs to create packages that have the SAME
NAMES as Debian packages??
On Tue Aug 20, 2024 at 1:55 PM BST, Greg Wooledge wrote:
You're saying that you use equivs to create packages that have the SAME NAMES as Debian packages??
That's entirely the point of it, surely. You want to convince the
packaging system that you have dependency $FOO satisfied, even if you
don't. You create an "equivalent" metapackage.
The only way I've used equivs is to produce a package named mta-local
which looks like this:
It provides mail-transport-agent, so programs like bsd-mailx have their dependencies satisfied.
I run a locally compiled qmail installation, not from the Debian packages,
if such packages even still exist.
The idea that I would do this but name it something like "sendmail"
instead of "mta-local" sounds extremely sketchy.
As I said previously, I know some other people use equivs to generate
a package of their own making that contains a bunch of Depends lines,
to bring in all of the software they want during a new installation.
In that case, it would also not make sense for their locally built
package to share a name with any Debian package.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (0 / 16) |
Uptime: | 163:50:03 |
Calls: | 10,385 |
Calls today: | 2 |
Files: | 14,057 |
Messages: | 6,416,513 |