Re: pkg_add update checker?

2014-11-23 Thread John Merriam
Thank you all for your replies. It helped me to figure out what is going on. I think for this project I will see how it goes with -stable and -stable ports. For other projects I will definitely try -current. Others I shouldn't need anything more than -release + patches. On 11/22/2014

Re: pkg_add update checker?

2014-11-22 Thread Stuart Henderson
On 2014-11-22, bodie bodz...@openbsd.cz wrote: You did not mention what version of OpenBSD you are using. Is it -release, -stable or -current? For -release, -stable there are hardly any updates during 6 months period For -current, you could use something like urlwatch to monitor the snapshot

Re: pkg_add update checker?

2014-11-22 Thread Marcus Merighi
s...@spacehopper.org (Stuart Henderson), 2014.11.22 (Sat) 10:18 (CET): On 2014-11-22, bodie bodz...@openbsd.cz wrote: You did not mention what version of OpenBSD you are using. Is it -release, -stable or -current? For -release, -stable there are hardly any updates during 6 months period

Re: pkg_add update checker?

2014-11-22 Thread John Merriam
On Sat, 22 Nov 2014, bodie wrote: On 22.11.2014 03:40, John Merriam wrote: On Fri, 21 Nov 2014, Comète wrote: 21 novembre 2014 23:00 John Merriam j...@johnmerriam.net a écrit: Hello. I am trying to write a script to check for updates to the binary packages by checking the output of

Re: pkg_add update checker?

2014-11-22 Thread trondd
At the moment I am on 5.6-release But you want to track -stable OS and packages. There is a -stable ports branch. I don't know what the criteria is for what is checked in there, but there are certainly updates related to security issues at least. Probably depends a lot on the port maintainer.

Re: pkg_add update checker?

2014-11-22 Thread Артур Истомин
On Sat, Nov 22, 2014 at 09:45:51AM -0500, John Merriam wrote: I used binary packages because that's what the FAQ recommends. Would I be better off using ports instead? Are the ports updated more frequently? Yes, you have to use ports for this purpose. Or you can use mtier repos like

Re: pkg_add update checker?

2014-11-22 Thread bodie
On 22.11.2014 15:45, John Merriam wrote: On Sat, 22 Nov 2014, bodie wrote: On 22.11.2014 03:40, John Merriam wrote: On Fri, 21 Nov 2014, Comète wrote: 21 novembre 2014 23:00 John Merriam j...@johnmerriam.net a écrit: Hello. I am trying to write a script to check for updates to the

pkg_add update checker?

2014-11-21 Thread John Merriam
Hello. I am trying to write a script to check for updates to the binary packages by checking the output of pkg_add then sending an e-mail if something is found. My very simple script is this: #!/bin/ksh NEWPKGS=`pkg_add -Iusx | grep -v ^quirks\-` if [ $NEWPKGS != ]; then # send message

Re: pkg_add update checker?

2014-11-21 Thread Comète
21 novembre 2014 23:00 John Merriam j...@johnmerriam.net a écrit: Hello. I am trying to write a script to check for updates to the binary packages by checking the output of pkg_add then sending an e-mail if something is found. My very simple script is this: #!/bin/ksh NEWPKGS=`pkg_add

Re: pkg_add update checker?

2014-11-21 Thread John Merriam
On Fri, 21 Nov 2014, Comète wrote: 21 novembre 2014 23:00 John Merriam j...@johnmerriam.net a écrit: Hello. I am trying to write a script to check for updates to the binary packages by checking the output of pkg_add then sending an e-mail if something is found. ... Maybe you're looking

Re: pkg_add update checker?

2014-11-21 Thread bodie
On 22.11.2014 03:40, John Merriam wrote: On Fri, 21 Nov 2014, Comète wrote: 21 novembre 2014 23:00 John Merriam j...@johnmerriam.net a écrit: Hello. I am trying to write a script to check for updates to the binary packages by checking the output of pkg_add then sending an e-mail if