aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/rsyslog4-devel-snmp/Makefile25
-rw-r--r--sysutils/rsyslog4-snmp/Makefile25
-rw-r--r--sysutils/rsyslog5-devel-snmp/Makefile25
-rw-r--r--sysutils/rsyslog5-snmp/Makefile25
-rw-r--r--sysutils/rsyslog55-snmp/Makefile25
-rw-r--r--sysutils/rsyslog6-devel-snmp/Makefile25
7 files changed, 151 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index f47e26889625..18a65692a7d8 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -645,6 +645,7 @@
SUBDIR += rsyslog4-mysql
SUBDIR += rsyslog4-pgsql
SUBDIR += rsyslog4-relp
+ SUBDIR += rsyslog4-snmp
SUBDIR += rtty
SUBDIR += ruby-log4r
SUBDIR += ruby-quota
diff --git a/sysutils/rsyslog4-devel-snmp/Makefile b/sysutils/rsyslog4-devel-snmp/Makefile
new file mode 100644
index 000000000000..b255830dd784
--- /dev/null
+++ b/sysutils/rsyslog4-devel-snmp/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: rsyslog4-snmp
+# Date created: 29 December 2008
+# Whom: Cristiano Rolim Pereira <cristianorolim@hotmail.com>
+#
+# $FreeBSD$
+#
+
+COMMENT= SNMP trap sender for rsyslog
+
+MNAME= snmp
+LIB_DEPENDS= netsnmp.16:${PORTSDIR}/net-mgmt/net-snmp
+
+.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk"
+
+CONFIGURE_ARGS+=--enable-snmp
+
+PLIST_FILES+= lib/rsyslog/omsnmp.la \
+ lib/rsyslog/omsnmp.so
+
+do-install:
+ @${INSTALL_PROGRAM} \
+ ${WRKSRC}/plugins/omsnmp/.libs/omsnmp.so ${PREFIX}/lib/rsyslog
+ @${INSTALL_DATA} \
+ ${WRKSRC}/plugins/omsnmp/omsnmp.la ${PREFIX}/lib/rsyslog
+.include <bsd.port.mk>
diff --git a/sysutils/rsyslog4-snmp/Makefile b/sysutils/rsyslog4-snmp/Makefile
new file mode 100644
index 000000000000..b255830dd784
--- /dev/null
+++ b/sysutils/rsyslog4-snmp/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: rsyslog4-snmp
+# Date created: 29 December 2008
+# Whom: Cristiano Rolim Pereira <cristianorolim@hotmail.com>
+#
+# $FreeBSD$
+#
+
+COMMENT= SNMP trap sender for rsyslog
+
+MNAME= snmp
+LIB_DEPENDS= netsnmp.16:${PORTSDIR}/net-mgmt/net-snmp
+
+.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk"
+
+CONFIGURE_ARGS+=--enable-snmp
+
+PLIST_FILES+= lib/rsyslog/omsnmp.la \
+ lib/rsyslog/omsnmp.so
+
+do-install:
+ @${INSTALL_PROGRAM} \
+ ${WRKSRC}/plugins/omsnmp/.libs/omsnmp.so ${PREFIX}/lib/rsyslog
+ @${INSTALL_DATA} \
+ ${WRKSRC}/plugins/omsnmp/omsnmp.la ${PREFIX}/lib/rsyslog
+.include <bsd.port.mk>
diff --git a/sysutils/rsyslog5-devel-snmp/Makefile b/sysutils/rsyslog5-devel-snmp/Makefile
new file mode 100644
index 000000000000..b255830dd784
--- /dev/null
+++ b/sysutils/rsyslog5-devel-snmp/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: rsyslog4-snmp
+# Date created: 29 December 2008
+# Whom: Cristiano Rolim Pereira <cristianorolim@hotmail.com>
+#
+# $FreeBSD$
+#
+
+COMMENT= SNMP trap sender for rsyslog
+
+MNAME= snmp
+LIB_DEPENDS= netsnmp.16:${PORTSDIR}/net-mgmt/net-snmp
+
+.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk"
+
+CONFIGURE_ARGS+=--enable-snmp
+
+PLIST_FILES+= lib/rsyslog/omsnmp.la \
+ lib/rsyslog/omsnmp.so
+
+do-install:
+ @${INSTALL_PROGRAM} \
+ ${WRKSRC}/plugins/omsnmp/.libs/omsnmp.so ${PREFIX}/lib/rsyslog
+ @${INSTALL_DATA} \
+ ${WRKSRC}/plugins/omsnmp/omsnmp.la ${PREFIX}/lib/rsyslog
+.include <bsd.port.mk>
diff --git a/sysutils/rsyslog5-snmp/Makefile b/sysutils/rsyslog5-snmp/Makefile
new file mode 100644
index 000000000000..b255830dd784
--- /dev/null
+++ b/sysutils/rsyslog5-snmp/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: rsyslog4-snmp
+# Date created: 29 December 2008
+# Whom: Cristiano Rolim Pereira <cristianorolim@hotmail.com>
+#
+# $FreeBSD$
+#
+
+COMMENT= SNMP trap sender for rsyslog
+
+MNAME= snmp
+LIB_DEPENDS= netsnmp.16:${PORTSDIR}/net-mgmt/net-snmp
+
+.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk"
+
+CONFIGURE_ARGS+=--enable-snmp
+
+PLIST_FILES+= lib/rsyslog/omsnmp.la \
+ lib/rsyslog/omsnmp.so
+
+do-install:
+ @${INSTALL_PROGRAM} \
+ ${WRKSRC}/plugins/omsnmp/.libs/omsnmp.so ${PREFIX}/lib/rsyslog
+ @${INSTALL_DATA} \
+ ${WRKSRC}/plugins/omsnmp/omsnmp.la ${PREFIX}/lib/rsyslog
+.include <bsd.port.mk>
diff --git a/sysutils/rsyslog55-snmp/Makefile b/sysutils/rsyslog55-snmp/Makefile
new file mode 100644
index 000000000000..b255830dd784
--- /dev/null
+++ b/sysutils/rsyslog55-snmp/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: rsyslog4-snmp
+# Date created: 29 December 2008
+# Whom: Cristiano Rolim Pereira <cristianorolim@hotmail.com>
+#
+# $FreeBSD$
+#
+
+COMMENT= SNMP trap sender for rsyslog
+
+MNAME= snmp
+LIB_DEPENDS= netsnmp.16:${PORTSDIR}/net-mgmt/net-snmp
+
+.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk"
+
+CONFIGURE_ARGS+=--enable-snmp
+
+PLIST_FILES+= lib/rsyslog/omsnmp.la \
+ lib/rsyslog/omsnmp.so
+
+do-install:
+ @${INSTALL_PROGRAM} \
+ ${WRKSRC}/plugins/omsnmp/.libs/omsnmp.so ${PREFIX}/lib/rsyslog
+ @${INSTALL_DATA} \
+ ${WRKSRC}/plugins/omsnmp/omsnmp.la ${PREFIX}/lib/rsyslog
+.include <bsd.port.mk>
diff --git a/sysutils/rsyslog6-devel-snmp/Makefile b/sysutils/rsyslog6-devel-snmp/Makefile
new file mode 100644
index 000000000000..b255830dd784
--- /dev/null
+++ b/sysutils/rsyslog6-devel-snmp/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: rsyslog4-snmp
+# Date created: 29 December 2008
+# Whom: Cristiano Rolim Pereira <cristianorolim@hotmail.com>
+#
+# $FreeBSD$
+#
+
+COMMENT= SNMP trap sender for rsyslog
+
+MNAME= snmp
+LIB_DEPENDS= netsnmp.16:${PORTSDIR}/net-mgmt/net-snmp
+
+.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk"
+
+CONFIGURE_ARGS+=--enable-snmp
+
+PLIST_FILES+= lib/rsyslog/omsnmp.la \
+ lib/rsyslog/omsnmp.so
+
+do-install:
+ @${INSTALL_PROGRAM} \
+ ${WRKSRC}/plugins/omsnmp/.libs/omsnmp.so ${PREFIX}/lib/rsyslog
+ @${INSTALL_DATA} \
+ ${WRKSRC}/plugins/omsnmp/omsnmp.la ${PREFIX}/lib/rsyslog
+.include <bsd.port.mk>