Re: pkg_dig - sh(1) script

2006-09-28 Thread Marc Espie
Don't waste too much time perfecting this.

The right approach is to have pkg_add tag packages that the user really
installed vs. stuff that is needed for dependencies. It's in my queue
of things to do.



Re: pkg_dig - sh(1) script

2006-09-28 Thread Paul de Weerd
On Thu, Sep 28, 2006 at 12:08:33PM +0200, Marc Espie wrote:
| Don't waste too much time perfecting this.
| 
| The right approach is to have pkg_add tag packages that the user really
| installed vs. stuff that is needed for dependencies. It's in my queue
| of things to do.

I quite often want packages that come as dependencies of other
software (simple examples are bzip2/unzip/etc which I use quite often
but I never install on their own, they come as dependencies to other
packages I install).

And I can imagine many a developer using libraries or buildtools that
came as dependencies to certain packages. Removing firefox because you
no longer use it probably shouldn't stop your own gtk+-based apps from
working.

Cheers,

Paul 'WEiRD' de Weerd

-- 
[++-]+++.+++[---].+++[+
+++-].++[-]+.--.[-]
 http://www.weirdnet.nl/ 



[patch] net-snmp

2006-09-28 Thread Jim Dew
Without this patch, net-snmp dosen't give access to various memory bits. You
can't pull the entire enterprises.ucdavis.memory tree for example.


Index: Makefile
===
RCS file: /cvs/ports/net/net-snmp/Makefile,v
retrieving revision 1.17
diff -u -r1.17 Makefile
--- Makefile2006/07/28 20:17:52 1.17
+++ Makefile2006/09/28 12:29:59
@@ -4,7 +4,7 @@
 COMMENT-perl=  SNMP modules for Perl
 
 DISTNAME=  net-snmp-5.1.3
-PKGNAME=   ${DISTNAME}p3
+PKGNAME=   ${DISTNAME}p4
 FULLPKGNAME-perl= p5-SNMP-5.1.3p2
 SHARED_LIBS=   netsnmp 6.3 \
netsnmpagent6.3 \
cvs server: Diffing patches
Index: patches/patch-agent_mibgroup_ucd_snmp_h
===
RCS file: /cvs/ports/net/net-snmp/patches/patch-agent_mibgroup_ucd_snmp_h,v
retrieving revision 1.2
diff -u -r1.2 patch-agent_mibgroup_ucd_snmp_h
--- patches/patch-agent_mibgroup_ucd_snmp_h 2005/11/05 19:09:38 1.2
+++ patches/patch-agent_mibgroup_ucd_snmp_h 2006/09/28 12:29:59
@@ -1,7 +1,7 @@
 $OpenBSD: patch-agent_mibgroup_ucd_snmp_h,v 1.2 2005/11/05 19:09:38 bernd
Exp $
 agent/mibgroup/ucd_snmp.h.orig Sat Feb 12 11:17:41 2005
-+++ agent/mibgroup/ucd_snmp.h  Thu Nov  3 23:49:11 2005
-@@ -44,8 +44,10 @@ config_arch_require(netbsd, ucd-snmp/vms
+--- agent/mibgroup/ucd_snmp.h.orig Sat Feb 12 05:17:19 2005
 agent/mibgroup/ucd_snmp.h  Wed Sep 27 16:35:19 2006
+@@ -44,8 +44,12 @@ config_arch_require(netbsd, ucd-snmp/vms
  config_arch_require(netbsd, ucd-snmp/memory_netbsd1)
  config_arch_require(netbsdelf, ucd-snmp/vmstat_netbsd1)
  config_arch_require(netbsdelf, ucd-snmp/memory_netbsd1)
@@ -11,6 +11,8 @@
 +config_arch_require(openbsd2, ucd-snmp/memory_freebsd2)
 +config_arch_require(openbsd3, ucd-snmp/vmstat_netbsd1)
 +config_arch_require(openbsd3, ucd-snmp/memory_netbsd1)
++config_arch_require(openbsd4, ucd-snmp/vmstat_netbsd1)
++config_arch_require(openbsd4, ucd-snmp/memory_netbsd1)
  config_arch_require(bsdi4, ucd-snmp/vmstat_bsdi4)
  config_arch_require(darwin1, ucd-snmp/vmstat_freebsd2)
  config_arch_require(darwin1, ucd-snmp/memory_freebsd2)

-- 
Most moms teach their daughters how to run a house, but you?  You teach
yours the fine art of mass destruction.
  - Nabs - Goodbye is not forever



[patch] p5-HTML-Template

2006-09-28 Thread Jim Dew
This patch brings brings p5-HTML-Template up to date.

2.7 brings in escape=js, which is needed by some software I'm working on.

Sent a patch to the maintainer shortly after the ports unlock on 3.9, so I
thought it would do to take MAINTAINER.

Index: Makefile
===
RCS file: /cvs/ports/www/p5-HTML-Template/Makefile,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 Makefile
--- Makefile2002/12/01 20:48:57 1.1.1.1
+++ Makefile2006/09/28 12:37:32
@@ -2,14 +2,14 @@
 
 COMMENT=   use HTML Templates from CGI scripts

-VERSION=   2.6
+VERSION=   2.8
 DISTNAME=  HTML-Template-${VERSION}
 PKGNAME=   p5-${DISTNAME}
 CATEGORIES=www perl5
 
 HOMEPAGE=  http://sourceforge.net/projects/html-template/

-MAINTAINER=Jim Geovedi [EMAIL PROTECTED]
+MAINTAINER=Jim Dew [EMAIL PROTECTED]
 
 # GPL/Artistic license
 PERMIT_PACKAGE_CDROM=  Yes
Index: distinfo
===
RCS file: /cvs/ports/www/p5-HTML-Template/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- distinfo2005/01/05 17:38:59 1.2
+++ distinfo2006/09/28 12:37:32
@@ -1,4 +1,4 @@
-MD5 (HTML-Template-2.6.tar.gz) = dbd1c0c23fe323123deb9212c82a6f2d
-RMD160 (HTML-Template-2.6.tar.gz) = b1c5f93c0491d2c12a7bc2284a520e7b0b59bdab
-SHA1 (HTML-Template-2.6.tar.gz) = 37bdb3e604b94281d105a9e40263bcc1fbe91460
-SIZE (HTML-Template-2.6.tar.gz) = 60820
+MD5 (HTML-Template-2.8.tar.gz) = 3f1d6f4b3ab3ef7f0fd8864d2ec56e59
+RMD160 (HTML-Template-2.8.tar.gz) = 51decdd716c68741fec67f74bc7bd7ffe9229a5e
+SHA1 (HTML-Template-2.8.tar.gz) = b0e319634a1538c0915f4deaa7a42c2f5365362f
+SIZE (HTML-Template-2.8.tar.gz) = 62673

-- 
Most moms teach their daughters how to run a house, but you?  You teach
yours the fine art of mass destruction.
  - Nabs - Goodbye is not forever



Re: pkg_dig - sh(1) script

2006-09-28 Thread Sideris Michael
On Thu, Sep 28, 2006 at 12:08:33PM +0200, Marc Espie wrote:
 Don't waste too much time perfecting this.

I do not. I am aware of the fact that this cannot be merged with the
rest of system the way it is. But if there are any bugs I would like to
fix them.

 The right approach is to have pkg_add tag packages that the user really
 installed vs. stuff that is needed for dependencies. It's in my queue
 of things to do.

Well, yeah. But the thing is that when you have a system with ~100
packages already installed how is this tagging technique going to work?
In a fresh system I would totally agree with your approach. My way is
more dynamic though.  And you have to admit that it works quite fast as
well. Anyway, it is merely a way of providing extra information for the
packages you are planning to remove. So, until you implement your idea
of tagging packages I will be using this. Whoever is going to use it
though, send feedback whenever appropriate.

-- 
Sideris Michael
http://black.daemons.gr/msid/



Re: pkg_dig - sh(1) script

2006-09-28 Thread Darrin Chandler
On Thu, Sep 28, 2006 at 04:02:04PM +0300, Sideris Michael wrote:
 On Thu, Sep 28, 2006 at 12:08:33PM +0200, Marc Espie wrote:
  Don't waste too much time perfecting this.
 
 I do not. I am aware of the fact that this cannot be merged with the
 rest of system the way it is. But if there are any bugs I would like to
 fix them.
 
  The right approach is to have pkg_add tag packages that the user really
  installed vs. stuff that is needed for dependencies. It's in my queue
  of things to do.
 
 Well, yeah. But the thing is that when you have a system with ~100
 packages already installed how is this tagging technique going to work?
 In a fresh system I would totally agree with your approach. My way is
 more dynamic though.  And you have to admit that it works quite fast as
 well. Anyway, it is merely a way of providing extra information for the
 packages you are planning to remove. So, until you implement your idea
 of tagging packages I will be using this. Whoever is going to use it
 though, send feedback whenever appropriate.

And of course there are common situations that neither approach handles
very well. If I install openldap-server it will install openldap-client
as a dependancy. If I later uninstall openldap-server I may need to keep
openldap-client. Or not. So deleting package dependancies should not be
fully automated.

Perhaps in addition to pkg_add tagging as above, there could be a way to
manually tag packages as explicity installed...

-- 
Darrin Chandler|  Phoenix BSD Users Group
[EMAIL PROTECTED]   |  http://bsd.phoenix.az.us/
http://www.stilyagin.com/  |



Re: [patch] p5-HTML-Template

2006-09-28 Thread steven mestdagh
Jim Dew [2006-09-28, 08:39:51]:
 This patch brings brings p5-HTML-Template up to date.
 
 2.7 brings in escape=js, which is needed by some software I'm working on.
 
 Sent a patch to the maintainer shortly after the ports unlock on 3.9, so I
 thought it would do to take MAINTAINER.
 
 Index: Makefile
 ===
 RCS file: /cvs/ports/www/p5-HTML-Template/Makefile,v
 retrieving revision 1.1.1.1
 diff -u -r1.1.1.1 Makefile
 --- Makefile2002/12/01 20:48:57 1.1.1.1
 +++ Makefile2006/09/28 12:37:32
 @@ -2,14 +2,14 @@
  
  COMMENT=   use HTML Templates from CGI scripts
 
 -VERSION=   2.6
 +VERSION=   2.8

this adds a regression in p5-HTML-Template-Expr, so maybe you also want
to look into updating that one?

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm



Re: [patch] p5-HTML-Template

2006-09-28 Thread Jim Dew
On Thu, Sep 28, 2006 at 04:13:49PM +0200, steven mestdagh wrote:
 Jim Dew [2006-09-28, 08:39:51]:
  This patch brings brings p5-HTML-Template up to date.
  
  2.7 brings in escape=js, which is needed by some software I'm working on.
  
  Sent a patch to the maintainer shortly after the ports unlock on 3.9, so I
  thought it would do to take MAINTAINER.
  
  Index: Makefile
  ===
  RCS file: /cvs/ports/www/p5-HTML-Template/Makefile,v
  retrieving revision 1.1.1.1
  diff -u -r1.1.1.1 Makefile
  --- Makefile2002/12/01 20:48:57 1.1.1.1
  +++ Makefile2006/09/28 12:37:32
  @@ -2,14 +2,14 @@
   
   COMMENT=   use HTML Templates from CGI scripts
  
  -VERSION=   2.6
  +VERSION=   2.8
 
 this adds a regression in p5-HTML-Template-Expr, so maybe you also want
 to look into updating that one?
 
 Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
 

Doh, thanks for pointing it out :)

Bringing p5-HTML-Template-Expr up to 0.07 fixes the regression.

Index: Makefile
===
RCS file: /cvs/ports/www/p5-HTML-Template-Expr/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile2002/12/11 16:40:43 1.2
+++ Makefile2006/09/28 14:19:43
@@ -2,14 +2,14 @@
 
 COMMENT=   use HTML Templates which allows expressions

-VERSION=   0.04
+VERSION=   0.07
 DISTNAME=  HTML-Template-Expr-${VERSION}
 PKGNAME=   p5-${DISTNAME}
 CATEGORIES=www perl5
 
 HOMEPAGE=  http://sourceforge.net/projects/html-template/

-MAINTAINER=Jim Geovedi [EMAIL PROTECTED]
+MAINTAINER=Jim Dew [EMAIL PROTECTED]
 
 # GPL/Artistic license
 PERMIT_PACKAGE_CDROM=  Yes
Index: distinfo
===
RCS file: /cvs/ports/www/p5-HTML-Template-Expr/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- distinfo2005/01/05 17:38:59 1.2
+++ distinfo2006/09/28 14:19:43
@@ -1,4 +1,4 @@
-MD5 (HTML-Template-Expr-0.04.tar.gz) = 7b34e122677342475cfde168a70d7cab
-RMD160 (HTML-Template-Expr-0.04.tar.gz) = 
c8187aa646387cc0aa13c84ab3bc7985ff50da9d
-SHA1 (HTML-Template-Expr-0.04.tar.gz) = 
74e3593a4c6970a7840e9621a963955ef60d7da4
-SIZE (HTML-Template-Expr-0.04.tar.gz) = 18783
+MD5 (HTML-Template-Expr-0.07.tar.gz) = 717ea56c2244b6e2d26a0e477a4d069c
+RMD160 (HTML-Template-Expr-0.07.tar.gz) = 
32d8a61df5fddae30bc90318cf078b4e8c830bd2
+SHA1 (HTML-Template-Expr-0.07.tar.gz) = 
1fc80b2aaeb0c5ffadbcdf13ad00f048111389c3
+SIZE (HTML-Template-Expr-0.07.tar.gz) = 19540


-- 
Most moms teach their daughters how to run a house, but you?  You teach
yours the fine art of mass destruction.
  - Nabs - Goodbye is not forever



Re: pkg_dig - sh(1) script

2006-09-28 Thread Paul de Weerd
On Thu, Sep 28, 2006 at 05:29:24PM +0300, Sideris Michael wrote:
| Consider this. You install openldap-server and openldap-client installs
| as a dependency. You decide to uninstall openldap-server using something
| like:
| 
| pkg_delete -F clean openldap-server
| 
| The system presents you with the dependencies that are not needed by any
| other package on the system. It asks you whether you want to delete all
| of them or delete them interactively, waiting for confirmation on every
| package. Using the interactive method you may keep the packages that are
| of your interest. In my opinion, a combination of something like that
| and the feature I provide through my script, coded in Perl and
| integrated with pkg_delete(1) of course, would be a good solution here.

I find this contra-intuitive. pkg_delete has the -i flag to set
interactive mode, -F means force. In your proposed setup, you force
'clean' and you get interactive mode. That does not compute ;)

Cheers,

Paul 'WEiRD' de Weerd

-- 
[++-]+++.+++[---].+++[+
+++-].++[-]+.--.[-]
 http://www.weirdnet.nl/ 



Re: pkg_dig - sh(1) script

2006-09-28 Thread Darrin Chandler
  And of course there are common situations that neither approach handles
  very well. If I install openldap-server it will install openldap-client
  as a dependancy. If I later uninstall openldap-server I may need to keep
  openldap-client. Or not. So deleting package dependancies should not be
  fully automated.
 
 Good, you're on the right direction.
 
  Perhaps in addition to pkg_add tagging as above, there could be a way to
  manually tag packages as explicity installed...
 
 Go on, think a bit more, and you'll have the full design I just *sketched*
 overhead... ;-)

I will think a bit more about it, and see how close I come. ;)

-- 
Darrin Chandler|  Phoenix BSD Users Group
[EMAIL PROTECTED]   |  http://bsd.phoenix.az.us/
http://www.stilyagin.com/  |



php5-curl-5.1.4-hardened package problem

2006-09-28 Thread D0ra the Network Expl0rer!
# uname -a
OpenBSD lacomputadora.doranetexplorer.com 4.0 GENERIC#0 i386

# pkg_info | grep php
php5-core-5.1.4p1-hardened server-side HTML-embedded scripting 
language
php5-extensions-5.1.4 informational package about PHP5 extensions
php5-imap-5.1.4-hardened imap, pop3 and nntp extensions for php5
php5-mbstring-5.1.4-hardened multibyte characters extensions for 
php5
php5-mcrypt-5.1.4-hardened mcrypt encryption/decryption extensions 
for php5
php5-mysql-5.1.4-hardened mysql database access extensions for php5
php5-pear-5.1.4p0   base classes for common PHP tasks
php5-pgsql-5.1.4-hardened pgsql database access extensions for php5

# pkg_add php5-curl-5.1.4-hardened
Can't install php5-curl-5.1.4-hardened: lib not found curl.3.4
Even by looking in the dependency tree:
gettext-0.14.5p1, expat-1.95.6p1, curl-7.15.1, libiconv-
1.9.2p3, libxml-2.6.26, php5-core-5.1.4p1-hardened
Maybe it's in a dependent package, but not tagged with @lib ?
(check with pkg_info -K -L)
If you are still running 3.6 packages, update them.
# pkg_info -K -L php5-curl-5.1.4-hardened
Information for php5-curl-5.1.4-hardened

Files:
@file /var/www/lib/php/modules/curl.so

I'm running a recent snapshot.  Does anyone know what the problem 
or solution is?  Thanks in advance.

D0ra

Grab your laptop! Let's Go! Login! Vamanos!



Concerned about your privacy? Instantly send FREE secure email, no account 
required
http://www.hushmail.com/send?l=480

Get the best prices on SSL certificates from Hushmail
https://www.hushssl.com?l=485