public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
From: "Fabio M. Di Nitto" <fabbione@fedoraproject.org>
To: cluster-cvs-relay@redhat.com
Subject: fence-agents: master - build: drop mibdir as it's now unrequired
Date: Thu, 12 Mar 2009 12:28:00 -0000	[thread overview]
Message-ID: <20090312122749.9B9F0120197@lists.fedorahosted.org> (raw)

Gitweb:        http://git.fedorahosted.org/git/fence-agents.git?p=fence-agents.git;a=commitdiff;h=9b6ae182eb5f1ee7a9e1ec4dc53c6468f6f6cf18
Commit:        9b6ae182eb5f1ee7a9e1ec4dc53c6468f6f6cf18
Parent:        525aa2eca9455abcd9fe02323fc8f42243f26fbf
Author:        Fabio M. Di Nitto <fdinitto@redhat.com>
AuthorDate:    Thu Mar 12 13:24:06 2009 +0100
Committer:     Fabio M. Di Nitto <fdinitto@redhat.com>
CommitterDate: Thu Mar 12 13:27:41 2009 +0100

build: drop mibdir as it's now unrequired

fence_apc_snmp has been rewritten and there is no more need
to ship mib files.

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
---
 configure             |    7 -------
 make/defines.mk.input |    1 -
 make/fencebuild.mk    |    1 -
 make/install.mk       |    4 ----
 make/uninstall.mk     |    3 ---
 5 files changed, 0 insertions(+), 16 deletions(-)

diff --git a/configure b/configure
index ad9437e..888d022 100755
--- a/configure
+++ b/configure
@@ -46,7 +46,6 @@ my %options = (
 	logdir => \$logdir,
 	syslogfacility => \$syslogfacility,
 	sysloglevel => \$sysloglevel,
-	mibdir => \$mibdir,
 	snmpbin => \$snmpbin,
 	confdir => \$confdir,
 	fence_agents => \$fence_agents,
@@ -90,7 +89,6 @@ my $err = &GetOptions (\%options,
 		    'logdir=s',
 		    'syslogfacility=s',
 		    'sysloglevel=s',
-		    'mibdir=s',
 		    'snmpbin=s',
 		    'confdir=s',
 		    'release_version=s',
@@ -120,7 +118,6 @@ if ($help || !$err) {
   print "--logdir=\tthe base directory for cluster logging files.  (Default: /var/log/cluster/)\n";
   print "--syslogfacility=\tset the default syslog facility.  (Default: LOG_LOCAL4)\n";
   print "--sysloglevel=\tset the default syslog level.  (Default: LOG_INFO)\n";
-  print "--mibdir=\tthe base directory for snmp mibs.  (Default: {prefix}/share/snmp/mibs)\n";
   print "--snmpbin=\tthe base directory for snmp binaries (Ex: /usr/bin/snmpwalk).  (Default: {prefix}/bin)\n";
   print "--confdir=\tthe cluster config directory.  (Default: /etc/cluster)\n";
   print "--mandir=\tthe base directory for man pages.  (Default: {prefix}/share/man)\n";
@@ -290,9 +287,6 @@ if (!$syslogfacility) {
 if (!$sysloglevel) {
   $sysloglevel="LOG_INFO";
 }
-if (!$mibdir) {
-  $mibdir="${prefix}/share/snmp/mibs";
-}
 if (!$snmpbin) {
   $snmpbin="${prefix}/bin";
 }
@@ -389,7 +383,6 @@ while (<IFILE>) {
   $_ =~ s/\@LOGDIR\@/$logdir/;
   $_ =~ s/\@SYSLOGFACILITY\@/$syslogfacility/;
   $_ =~ s/\@SYSLOGLEVEL\@/$sysloglevel/;
-  $_ =~ s/\@MIBDIR\@/$mibdir/;
   $_ =~ s/\@SNMPBIN\@/$snmpbin/;
   $_ =~ s/\@FENCE_AGENTS\@/$fence_agents/;
   $_ =~ s/\@FENCEAGENTSLIBDIR\@/$fenceagentslibdir/;
diff --git a/make/defines.mk.input b/make/defines.mk.input
index 76dc725..cb40363 100644
--- a/make/defines.mk.input
+++ b/make/defines.mk.input
@@ -6,7 +6,6 @@ docdir ?= ${DESTDIR}@DOCDIR@
 logdir ?= ${DESTDIR}@LOGDIR@
 mandir ?= ${DESTDIR}@MANDIR@
 incdir ?= ${DESTDIR}@INCDIR@
-mibdir ?= ${DESTDIR}@MIBDIR@
 snmpbin ?= @SNMPBIN@
 notifyddir ?= ${DESTDIR}@CONFDIR@/cman-notify.d
 
diff --git a/make/fencebuild.mk b/make/fencebuild.mk
index 03fb62a..7c5f0c5 100644
--- a/make/fencebuild.mk
+++ b/make/fencebuild.mk
@@ -17,7 +17,6 @@ $(TARGET):
 		$(S) $@ | \
 	sed \
 		-e 's#@FENCEAGENTSLIBDIR@#${fenceagentslibdir}#g' \
-		-e 's#@MIBDIR@#${mibdir}#g' \
 		-e 's#@SNMPBIN@#${snmpbin}#g' \
 		-e 's#@LOGDIR@#${logdir}#g' \
 	> $@
diff --git a/make/install.mk b/make/install.mk
index db2ffa7..6e3cd68 100644
--- a/make/install.mk
+++ b/make/install.mk
@@ -17,10 +17,6 @@ ifdef INITDT
 		fi; \
 	done
 endif
-ifdef MIBRESOURCE
-	install -d ${mibdir}
-	install -m644 $(S)/${MIBRESOURCE} ${mibdir}
-endif
 ifdef FENCEAGENTSLIB
 	install -d ${DESTDIR}/${fenceagentslibdir}
 	install -m644 ${FENCEAGENTSLIB} ${DESTDIR}/${fenceagentslibdir}
diff --git a/make/uninstall.mk b/make/uninstall.mk
index 665194f..bc5c33c 100644
--- a/make/uninstall.mk
+++ b/make/uninstall.mk
@@ -8,9 +8,6 @@ endif
 ifdef INITDT
 	${UNINSTALL} ${INITDT} ${initddir}
 endif
-ifdef MIBRESOURCE
-	${UNINSTALL} ${MIBRESOURCE} ${mibdir}
-endif
 ifdef FENCEAGENTSLIB
 	${UNINSTALL} ${FENCEAGENTSLIB}* ${DESTDIR}/${fenceagentslibdir}
 endif


                 reply	other threads:[~2009-03-12 12:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090312122749.9B9F0120197@lists.fedorahosted.org \
    --to=fabbione@fedoraproject.org \
    --cc=cluster-cvs-relay@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).