Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/net
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv6657

Modified Files:
        pgsnmpd.info pgsnmpd.patch 
Log Message:
a few packaging tweaks, give directions on how to talk to the agentx master

Index: pgsnmpd.patch
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/net/pgsnmpd.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- pgsnmpd.patch       13 May 2009 15:35:44 -0000      1.1
+++ pgsnmpd.patch       13 May 2009 16:17:05 -0000      1.2
@@ -1,6 +1,6 @@
 diff -Nurd pgsnmpd-1.0/Makefile pgsnmpd-1.0-patched/Makefile
 --- pgsnmpd-1.0/Makefile       2007-07-04 03:17:53.000000000 -0400
-+++ pgsnmpd-1.0-patched/Makefile       2009-05-13 11:28:22.000000000 -0400
++++ pgsnmpd-1.0-patched/Makefile       2009-05-13 12:08:06.000000000 -0400
 @@ -27,8 +27,8 @@
  SNMPFLAGS=-I. -I./RDBMS-MIB_src $(shell net-snmp-config --cflags)
  AGENTLIBS=$(shell net-snmp-config --agent-libs)
@@ -8,7 +8,7 @@
 -PG_CPPFLAGS = -g -I$(libpq_srcdir) $(SNMPFLAGS)
 -PG_LIBS = $(libpq_pgport) $(AGENTLIBS)
 +PG_CPPFLAGS = -I$(PREFIX)/lib/system-openssl/include -g -I$(libpq_srcdir) 
$(SNMPFLAGS)
-+PG_LIBS = -Wl,-flat_namespace -L$(PREFIX)/lib/system-openssl/lib 
$(libpq_pgport) $(AGENTLIBS)
++PG_LIBS = -Wl,-flat_namespace -L$(PREFIX)/lib/system-openssl/lib 
$(DYNALOADER) $(libpq_pgport) $(AGENTLIBS)
  
  DOCS = README.pgsnmpd
  

Index: pgsnmpd.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/net/pgsnmpd.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- pgsnmpd.info        13 May 2009 15:35:44 -0000      1.1
+++ pgsnmpd.info        13 May 2009 16:17:05 -0000      1.2
@@ -1,30 +1,24 @@
 Info4: <<
 Package: pgsnmpd
 Version: 1.0
-Revision: 1
+Revision: 2
 Source: http://pgfoundry.org/frs/download.php/1423/%n-%v.tgz
 Source-MD5: 93c6b3ada36f11e4d087896f147e3628
 PatchFile: %n.patch
-PatchFile-MD5: eecdd7396dc707420ce6c625f85acc4a
+PatchFile-MD5: 00d28b33e3869c6cb7e5d2ee6dca1fa0
 BuildDepends: <<
        fink (>= 0.28.0-1),
-       net-snmp-unified15-dev,
+       net-snmp-unified15-dev (>= 5.4.2.1-4),
        postgresql82-dev,
        readline5,
        system-openssl-dev,
 <<
 Depends: <<
-       net-snmp-unified15-shlibs,
+       net-snmp-unified15-shlibs (>= 5.4.2.1-4),
        postgresql82-shlibs,
        readline5-shlibs,
 <<
-CompileScript: <<
-#!/bin/sh -ev
-
-       # ugh
-       DYNALOADER=`find /System/Library/Perl -name DynaLoader.a | sort | tail 
-n 1`
-       make PREFIX="%p" DYNALOADER="$DYNALOADER"
-<<
+CompileScript: make PREFIX="%p"
 InstallScript: <<
        install -d -m 755 %i/sbin
        install -c -m 755 pgsnmpd %i/sbin/
@@ -48,6 +42,19 @@
 to RDBMS-MIB.  This PGSQL-MIB will be PostgreSQL-specific, and will include
 many more data points of interest to PostgreSQL users and administrators.
 <<
+DescUsage: <<
+The best way to use pgsnmpd is to enable AgentX in your net-snmp (this
+package is compatible both with the system net-snmp, and Fink's version)
+by adding the following lines in your snmpd.conf:
+
+       master  agentx
+       agentXSocket tcp:localhost:705
+
+Then, start pgsnmpd with the connection options to connect to your
+PostgreSQL database instance:
+
+       %p/sbin/pgsnmpd -s -C "dbname=template1 user=postgres"
+<<
 License: BSD
 Homepage: http://pgsnmpd.projects.postgresql.org/
 Maintainer: Benjamin Reed <pgsn...@fink.racoonfink.com>


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to