Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/man/man7 Get rid of manually adding "nbX" to PKGNAME w...
details: https://anonhg.NetBSD.org/src/rev/9bb9dc108322
branches: trunk
changeset: 518364:9bb9dc108322
user: hubertf <hubertf%NetBSD.org@localhost>
date: Thu Nov 29 01:12:35 2001 +0000
description:
Get rid of manually adding "nbX" to PKGNAME when a pkg was changed in
pkgsrc. Instead, a new variable PKGREVISION is invented that can get
bumped independent of DISTNAME and PKGNAME.
Example #1:
DISTNAME= foo-X.Y
PKGREVISION= Z
=> PKGNAME= foo-X.YnbZ
Example #2:
DISTNAME= barthing-X.Y
PKGNAME= bar-X.Y
PKGREVISION= Z
=> PKGNAME= bar=X.YnbZ (!)
On subsequent changes, only PKGREVISION needs to be bumped, no more risk
of getting DISTNAME changed accidentally.
diffstat:
share/man/man7/packages.7 | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 5615e9d1770a -r 9bb9dc108322 share/man/man7/packages.7
--- a/share/man/man7/packages.7 Thu Nov 29 00:27:07 2001 +0000
+++ b/share/man/man7/packages.7 Thu Nov 29 01:12:35 2001 +0000
@@ -1,10 +1,10 @@
-.\" $NetBSD: packages.7,v 1.60 2001/11/03 20:49:56 hubertf Exp $
+.\" $NetBSD: packages.7,v 1.61 2001/11/29 01:12:35 hubertf Exp $
.\"
.\" from: NetBSD: bsd.pkg.mk,v 1.89 1998/06/01 21:30:10 hubertf Exp
.\"
.\" This file is in the public domain.
.\"
-.Dd August 20, 2001
+.Dd November 29, 2001
.Dt PACKAGES 7
.Os
.Sh NAME
@@ -204,6 +204,10 @@
.Pa ${PKGNAME}
does not produce an unique package name on a SVR4 system.
The lenght of SVR4_PKGNAME is limited to 5 characters.
+.It PKGREVISION
+This number indicates the package's revision within the NetBSD
+Packages Collection (pkgsrc). If set, this well be attached to the
+PKGNAME variable seperate by a "nb".
.It EXTRACT_ONLY
If defined, a subset of
.Pa ${DISTFILES}
Home |
Main Index |
Thread Index |
Old Index