DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 24th March 2015
ed.n1n2 ed.n1n2 is offline
Port Guard
 
Join Date: Mar 2015
Posts: 30
Default What is the difference between p0 and p3?

Hi all,

A little new to OpenBSD. One of the first things I did was to look at the Errata, and from their I ended up choosing M:Tier for my updates.

Afterwards, I've noticed that when updating or installing packages, I create ambiguous choices most of the time as so:

Code:
quirks-2.9 signed on 2014-08-02T11:06:13Z
Ambiguous: choose package for nginx
 a       0: None
         1: nginx-1.4.7p0
         2: nginx-1.4.7p0-lua
         3: nginx-1.4.7p0-naxsi
         4: nginx-1.4.7p0-passenger
         5: nginx-1.5.7p3
         6: nginx-1.5.7p3-lua
         7: nginx-1.5.7p3-naxsi
         8: nginx-1.5.7p3-passenger
Your choice:
What is the functional difference between p0 and p3 in this case?

(I know the differences between lu, naxsi, and passenger)
Reply With Quote
  #2   (View Single Post)  
Old 24th March 2015
rocket357's Avatar
rocket357 rocket357 is offline
Real Name: Jonathon
Wannabe OpenBSD porter
 
Join Date: Jun 2010
Location: 127.0.0.1
Posts: 429
Default

If I'm not mistaken, that is an extension to the version, and it stands for the patch revision level (i.e. nginx 1.5.7, with all of the patchsets up to an including the third patchset installed).

Anyone care to clarify if I got that garbled?
__________________
Linux/Network-Security Engineer by Profession. OpenBSD user by choice.
Reply With Quote
  #3   (View Single Post)  
Old 24th March 2015
TronDD TronDD is offline
Spam Deminer
 
Join Date: Sep 2014
Posts: 305
Default

Well the more import part there is 1.4 vs 1.5.

But the p value represents when the port changes but the version of the utility hasn't.

Tim.
Reply With Quote
  #4   (View Single Post)  
Old 24th March 2015
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

Hello, and welcome!

Any revision to the port -- Makefile, patches, packing list, even a change to the text of a local README file -- that did not come from a change to the software from the upstream project results in a "p" number, which start with zero.

See the REVISION environment variable's many mentions in bsd.port.mk(5) and additional comments in packages-specs(7).

Last edited by jggimi; 24th March 2015 at 02:03 AM. Reason: clarity
Reply With Quote
  #5   (View Single Post)  
Old 24th March 2015
Oko's Avatar
Oko Oko is offline
Rc.conf Instructor
 
Join Date: May 2008
Location: Kosovo, Serbia
Posts: 1,102
Default

Quote:
Originally Posted by jggimi View Post
Hello, and welcome!

Any revision to the port -- Makefile, patches, packing list, even a change to the text of a local README file -- that did not come from a change to the software from the upstream project results in a "p" number, which start with zero.

See the REVISION environment variable's many mentions in bsd.port.mk(5) and additional comments in packages-specs(7).
This is a damn good post!
Reply With Quote
  #6   (View Single Post)  
Old 24th March 2015
ibara ibara is offline
OpenBSD language porter
 
Join Date: Jan 2014
Posts: 783
Default

To be ultra-pedantic:
REVISION is bumped whenever there is a change in the final package as distributed by us. A change to a port might not result in a change to the package. In that case, REVISION would not be bumped. Changing MASTER_SITES immediately comes to mind as such a change.

What REVISION actually does is trigger the build machines to rebuild the package at next go-around.
Reply With Quote
  #7   (View Single Post)  
Old 24th March 2015
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

Thanks for the additional clarification!

To the best of my recollection, revision bumps to my few ports have resulted from committers revising Makefiles rather than anything I happened to submit.

I also use REVISION to track local port customizations -- e.g.: "REVISION=0jggimi".

(I'm not recommending local customizations, I just happen to use one to add a needed subtitling library to graphics/ffmpeg. Yes, I've discussed the library with the MAINTAINER. Brad may consider it in a future restructuring.)
Reply With Quote
  #8   (View Single Post)  
Old 28th March 2015
ed.n1n2 ed.n1n2 is offline
Port Guard
 
Join Date: Mar 2015
Posts: 30
Default

Thanks guys!!

Now it makes sense
Reply With Quote
Reply

Tags
m:tier pkg_add


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the difference? sharris FreeBSD General 2 26th January 2012 11:12 PM
Difference between 'autoboot' and boot MBybee FreeBSD Installation and Upgrading 0 2nd May 2011 10:01 PM
What's the difference between these two memory modules? Carpetsmoker General Hardware 2 25th November 2008 03:13 PM
difference between jdk16 and diablo 1.6 cuongvt FreeBSD Ports and Packages 8 16th October 2008 12:17 AM
Difference between chpass and pw disappearedng FreeBSD General 9 7th July 2008 11:12 PM


All times are GMT. The time now is 08:26 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick