[Slackbuilds-users] ksh-openbsd name/version change
Audrius Kažukauskas
audrius at neutrino.lt
Fri Sep 9 09:31:03 UTC 2011
On Fri, 2011-09-09 at 10:50:23 +0200, LEVAI Daniel wrote:
> On Fri, Sep 09, 2011 at 11:43:16 +0300, Audrius Kažukauskas wrote:
> > On Fri, 2011-09-09 at 10:24:39 +0200, LEVAI Daniel wrote:
> > > I would like to change the versioning scheme of the ksh-openbsd package.
> > > It would be ksh-openbsd-$DATE, eg. ksh-openbsd-20110909 from now on.
> >
> > Correct me if I'm wrong, but at the moment PRGNAM=ksh and
> > VERSION=openbsd49, and you want it to change to PRGNAM=ksh-openbsd and
> > VERSION=20110909, right? If so, I don't see any problems in that.
>
> Well, it wouldn't be exactly like that. PRGNAM would stay 'ksh', and the
> version string would be s,49$,$DATE,.
Ah, so version would be openbsd20110909? I'm asking because in your
first mail you wrote 'ksh-openbsd-20110909', and Slackware package name
convention doesn't allow hyphens in version segment. Package name
scheme looks like this:
name-version-arch-build
Only name segment can have additional hyphens, because pkgtools removes
three last segments in the string to figure out program name. If
package would be named as
ksh-openbsd-20110909-i486-1_SBo
pkgtools would treat is as ksh-openbsd.
So your version should be openbsd20110909 or openbsd_20110909, but not
openbsd-20110909. And the program name stays the same as it is now
(ksh).
--
Audrius Kažukauskas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20110909/3ad37543/attachment.asc>
More information about the SlackBuilds-users
mailing list