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 30th October 2013
Martillo Martillo is offline
Semper deinceps corda
 
Join Date: Apr 2013
Location: Madrid, Spain
Posts: 79
Default packages security fixes

Just a question: Do security fixes get to the packages repository of the release so we can update them with pkg_add -u?

I mean between releases, I know that after upgrading from 5.3 to 5.4 I will have to run pkg_add -u. What happens in those six month between them?

Last edited by Martillo; 30th October 2013 at 09:28 PM.
Reply With Quote
  #2   (View Single Post)  
Old 30th October 2013
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

This is a good question. In the past, the answer would have been yes. And it is still possible in the future. But at this time, it is my understanding that the Project does not have the resources to supply packages for all architecutures when -stable ports are developed. You can build them yourself, from the ports tree, or you may obtain them from M:Tier, a third party organization that builds -stable systems and -stable packages for the convenience of the community.
Reply With Quote
  #3   (View Single Post)  
Old 30th October 2013
Martillo Martillo is offline
Semper deinceps corda
 
Join Date: Apr 2013
Location: Madrid, Spain
Posts: 79
Default

Do M:Tier packages integrate in the package system so that they can be pkg_delete'd or pkg_add -u(pdated)?
Reply With Quote
  #4   (View Single Post)  
Old 30th October 2013
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

I have never used their services, but I assume they must do so. I cannot imagine them doing it any other way, since the ports tree is 1) there, 2) works, 3) the ports maintainers would have already done all the development, and 4) is the only way to install and deinstall third party applications and libraries.
Reply With Quote
  #5   (View Single Post)  
Old 30th October 2013
Martillo Martillo is offline
Semper deinceps corda
 
Join Date: Apr 2013
Location: Madrid, Spain
Posts: 79
Default

I will give them a try.
Reply With Quote
  #6   (View Single Post)  
Old 17th November 2013
albator albator is offline
Shell Scout
 
Join Date: Jul 2011
Posts: 98
Default

Quote:
Originally Posted by Martillo View Post
Do M:Tier packages integrate in the package system so that they can be pkg_delete'd or pkg_add -u(pdated)?
They provide a shell script called openup.
Looking at it shows it uses pkg_add -u :
Code:
$ grep "pkg_add -u" openup    
	_CMD="pkg_add -u ${pkg_opt}"
They mix two repositories :
Code:
$ egrep "MAIN|UPDATE"  openup      
PKG_PATH_MAIN="http://ftp.fr.openbsd.org/pub/OpenBSD/$(uname -r)/packages/$(arch -s)"
PKG_PATH_UPDATE="https://stable.mtier.org/updates/$(uname -r)/$(arch -s)"
export PKG_PATH=${PKG_PATH_UPDATE}:${PKG_PATH_MAIN}
Be aware though that if you use this tool, jggimi will say he cannot help you no more. ;-)
Only joking, thanks jggimi for helping me several times.

Last edited by albator; 17th November 2013 at 09:52 PM. Reason: spelling correction
Reply With Quote
  #7   (View Single Post)  
Old 17th November 2013
Martillo Martillo is offline
Semper deinceps corda
 
Join Date: Apr 2013
Location: Madrid, Spain
Posts: 79
Default

Thanks a lot!
Reply With Quote
  #8   (View Single Post)  
Old 18th November 2013
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,507
Default

Quote:
They provide a shell script called openup.
Looking at it shows it uses pkg_add -u :
You do not have to use the openup shell script.

You can download and add the M:tier ssl certificate and adjust your PKG_PATH as described in the M:tier documentation. Using this approach, you still have to patch the kernel and base as before but have access to the updated packages for the 6 month life of the release.

See this prior thread for adding the mtier.cert. My updates so far include firefox, ImageMagick, libtar and gnupg. All have gone smoothly.
Reply With Quote
  #9   (View Single Post)  
Old 7th July 2015
Martillo Martillo is offline
Semper deinceps corda
 
Join Date: Apr 2013
Location: Madrid, Spain
Posts: 79
Default

Well, after coming back to OpenBSD I tried M:tier. So far so good!
Reply With Quote
Old 8th July 2015
Martillo Martillo is offline
Semper deinceps corda
 
Join Date: Apr 2013
Location: Madrid, Spain
Posts: 79
Default

There is something different: pkg_info -Q <string> only searches packages that start with the string supplied while the standard repos search the keyword in the whole packages' name regardless its position.
Reply With Quote
Old 8th July 2015
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,507
Default

If you noted this looking for M:tier pkg updates via
Code:
pkg_add -u
which matches every installed pkg, there is an alternative.

I follow M:tier Update Web Page and if a new update shows up I use grep to see if I have the pkg that needs updating.

For example there were two recent cups-filters updates
Quote:
cyrus-imapd — security fix
haproxy — security fix
cups-filters — security fix
polkit — security update
libxml — security fix
ruby — security fix
pcre — security fix
wesnoth — security fixes
cups-filters — security fix
libwmf — security fix
$ PooBear$ pkg_info | grep cups
cups-libs-2.0.3 CUPS libraries and headers
PooBear$


I use lpr without foomatic-rip so I never installed cups-filters. If I was using foomatic-rip, I would run:
# pkg_add -u cups-filters
Reply With Quote
Old 9th July 2015
Martillo Martillo is offline
Semper deinceps corda
 
Join Date: Apr 2013
Location: Madrid, Spain
Posts: 79
Default

Nevermind, the last try I made of pkg_info -Q <string> works as expected with M:tier repositories. Only God knows what happened yesterday...
Reply With Quote
Reply

Thread Tools
Display Modes

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
Security More 'Ruby on Rails' security fixes released J65nko News 0 12th February 2013 11:01 PM
Opera 12.12 fixes stability and security problems J65nko News 0 19th December 2012 10:56 AM
Security Joomla! 2.5 update fixes security vulnerabilities J65nko News 0 23rd March 2012 01:41 AM
Apache HTTPClient 4.1.1 fixes critical security bug J65nko News 0 23rd March 2011 12:25 AM
Pidgin update fixes security vulnerabilities J65nko News 0 19th February 2010 06:53 PM


All times are GMT. The time now is 02:02 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