From 39700b1c628b7c9047af0a6126925b1fd02905f5 Mon Sep 17 00:00:00 2001 From: Tony Vroon Date: Fri, 4 Jul 2008 11:43:41 +0000 Subject: Add a snips user & group to the system and set permissions appropriately. Install 3 missing files. (Portage version: 2.2_rc1/cvs/Linux 2.6.26-rc8-00204-gc461a97-dirty x86_64) --- .../snips/files/snips-1.2-install-missing.patch | 33 ++++++++++++++++++++++ .../snips/files/snips-1.2-r1-precache-config | 23 --------------- .../snips/files/snips-1.2-r2-precache-config | 23 +++++++++++++++ 3 files changed, 56 insertions(+), 23 deletions(-) create mode 100644 net-analyzer/snips/files/snips-1.2-install-missing.patch delete mode 100644 net-analyzer/snips/files/snips-1.2-r1-precache-config create mode 100644 net-analyzer/snips/files/snips-1.2-r2-precache-config (limited to 'net-analyzer/snips/files') diff --git a/net-analyzer/snips/files/snips-1.2-install-missing.patch b/net-analyzer/snips/files/snips-1.2-install-missing.patch new file mode 100644 index 000000000000..f9af70847494 --- /dev/null +++ b/net-analyzer/snips/files/snips-1.2-install-missing.patch @@ -0,0 +1,33 @@ +diff -uNr snips-1.2.ORIG/perl-monitors/Makefile.mid snips-1.2/perl-monitors/Makefile.mid +--- snips-1.2.ORIG/perl-monitors/Makefile.mid 2008-07-04 11:24:23.000000000 +0100 ++++ snips-1.2/perl-monitors/Makefile.mid 2008-07-04 11:28:02.000000000 +0100 +@@ -17,7 +17,7 @@ + PROGS = apcmon armon bgpmon bpmon ciscomon modemmon novellmon nrmon \ + hostmon hostmon-collector hostmon-osclients/hostmon-client \ + smbmon sqlmon snmpmon snmpmon-collector snmpgeneric \ +- syslogmon upsmon rcisco testlog ++ syslogmon upsmon rcisco testlog snmpgeneric2 + + # to create init files to start/stop programs + INITFILES = apcmon armon bgpmon bpmon ciscomon modemmon novellmon nrmon \ +@@ -89,7 +89,7 @@ + @if [ -f $(DESTDIR)$(ETCDIR)/mibII.txt ]; then \ + mv $(DESTDIR)$(ETCDIR)/mibII.txt $(DESTDIR)$(ETCDIR)/mibII.txt.old ;\ + fi +- @echo "See $(SRCDIR)/perl-monotors/README for further customizations" ++ @echo "See $(SRCDIR)/perl-monitors/README for further customizations" + + clean: + @-cd $(CMUSNMP)/snmpapps; make realclean +diff -uNr snips-1.2.ORIG/utility/Makefile.mid snips-1.2/utility/Makefile.mid +--- snips-1.2.ORIG/utility/Makefile.mid 2008-07-04 11:24:23.000000000 +0100 ++++ snips-1.2/utility/Makefile.mid 2008-07-04 11:25:13.000000000 +0100 +@@ -6,7 +6,7 @@ + + SHSCRIPTS = crontab.snips snipsprog.init + PERLSCRIPTS = keepalive_monitors.pl logstats.pl logmaint.pl \ +- docrypt.pl notifier.pl ++ docrypt.pl notifier.pl snmpconf.pl + SCRIPTS = $(SHSCRIPTS) $(PERLSCRIPTS) + + CPROGS = display_snips_datafile eventselect diff --git a/net-analyzer/snips/files/snips-1.2-r1-precache-config b/net-analyzer/snips/files/snips-1.2-r1-precache-config deleted file mode 100644 index a5b695426c51..000000000000 --- a/net-analyzer/snips/files/snips-1.2-r1-precache-config +++ /dev/null @@ -1,23 +0,0 @@ -# These answers are interdependent; do not edit this file! -package="snips" -ROOTDIR="/usr/snips" -MANDIR="/usr/share/man/snips" -MANEXT="n" -OPSMAIL="root@localhost" -ADMINMAIL="root@localhost" -MAIL="/bin/mail" -CC="gcc" -YACC="yacc" -LIBS="" -RPCLIB="" -PSFLAGS="axw" -PERL="/usr/bin/perl" -AR="ar r" -WHOAMI="/usr/bin/whoami" -RANLIB="ranlib" -INSTALL="install" -PING="/bin/ping" -CURSESLIB="-lncurses" -RRDCFLAGS="-DRRDTOOL" -RRDLIBDIR="/usr/lib/" -RRDLIBS="-L/usr/lib/ -lrrd" diff --git a/net-analyzer/snips/files/snips-1.2-r2-precache-config b/net-analyzer/snips/files/snips-1.2-r2-precache-config new file mode 100644 index 000000000000..a5b695426c51 --- /dev/null +++ b/net-analyzer/snips/files/snips-1.2-r2-precache-config @@ -0,0 +1,23 @@ +# These answers are interdependent; do not edit this file! +package="snips" +ROOTDIR="/usr/snips" +MANDIR="/usr/share/man/snips" +MANEXT="n" +OPSMAIL="root@localhost" +ADMINMAIL="root@localhost" +MAIL="/bin/mail" +CC="gcc" +YACC="yacc" +LIBS="" +RPCLIB="" +PSFLAGS="axw" +PERL="/usr/bin/perl" +AR="ar r" +WHOAMI="/usr/bin/whoami" +RANLIB="ranlib" +INSTALL="install" +PING="/bin/ping" +CURSESLIB="-lncurses" +RRDCFLAGS="-DRRDTOOL" +RRDLIBDIR="/usr/lib/" +RRDLIBS="-L/usr/lib/ -lrrd" -- cgit v1.2.3-65-gdbad