[SM-Commit] GIT changes to master grimoire by David Kowis (1e0f2c70bd3e910a58a9102581fa5ee9fc1d8ace)

David Kowis scm at mail.sourcemage.org
Thu Jun 29 18:16:00 EDT 2006


GIT changes to master grimoire by David Kowis <dkowis at shlrm.org>:

 net/snmptt/BUILD   |    6 +-----
 net/snmptt/DETAILS |    1 +
 net/snmptt/INSTALL |   10 ++++++++++
 3 files changed, 12 insertions(+), 5 deletions(-)

New commits:
commit 1e0f2c70bd3e910a58a9102581fa5ee9fc1d8ace
Author: David Kowis <dkowis at shlrm.org>
Commit: David Kowis <dkowis at shlrm.org>

    snmptt
    
    OOps, forgot to actually finish the spell...

diff --git a/net/snmptt/BUILD b/net/snmptt/BUILD
index 533f878..27ba77d 100755
--- a/net/snmptt/BUILD
+++ b/net/snmptt/BUILD
@@ -1,5 +1 @@
-OPTS="$OPTS --with-sys-contact=root@$( hostname -f) \
-    --enable-ucd-snmp-compatibility \
-    --with-persistent-directory=/var/state/ucd-snmp --with-defaults"
-
-default_build
+true
diff --git a/net/snmptt/DETAILS b/net/snmptt/DETAILS
index c1fa2c6..e5be5df 100755
--- a/net/snmptt/DETAILS
+++ b/net/snmptt/DETAILS
@@ -11,6 +11,7 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL
       LICENSE[0]=GPL
        BUILD_API=2
         KEYWORDS="net"
+            DOCS="$DOCS docs INSTALL README sample* contrib examples"
            SHORT="SNMP Trap Translator"
 cat << EOF
 SNMPTT (SNMP Trap Translator) is an SNMP trap handler written in Perl for use
diff --git a/net/snmptt/INSTALL b/net/snmptt/INSTALL
new file mode 100755
index 0000000..7aef517
--- /dev/null
+++ b/net/snmptt/INSTALL
@@ -0,0 +1,10 @@
+cd $SOURCE_DIRECTORY &&
+cp snmptt /usr/sbin                                 &&
+cp snmptthandler /usr/sbin                          &&
+cp snmpttconvert /usr/bin                           &&
+cp snmpttconvertmib /usr/bin                        &&
+cp snmptthandler /usr/bin                           &&
+
+mkdir -p /etc/snmp                                  &&
+install_config_file snmptt.ini /etc/snmp/snmptt.ini
+



More information about the SM-Commit mailing list