[Slackbuilds-users] ksh-openbsd name/version change

LEVAI Daniel leva at ecentrum.hu
Sun Sep 11 15:24:10 UTC 2011


On p, szept 09, 2011 at 12:31:03 +0300, Audrius Kažukauskas wrote:
> 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).


Oh, I see now! Thank You for the elaborate answer. Then I think the
package name will have to change.



Daniel

-- 
LÉVAI Dániel
PGP key ID = 0x83B63A8F
Key fingerprint = DBEC C66B A47A DFA2 792D  650C C69B BE4C 83B6 3A8F


More information about the SlackBuilds-users mailing list