aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2009-01-28 03:52:01 +0800
committerpgollucci <pgollucci@FreeBSD.org>2009-01-28 03:52:01 +0800
commitb83c021d74163f60f90fb26fdc7fe86e04249bed (patch)
tree9dc7854f877d15f83df89f6b98c9134c9c1c5d86 /sysutils
parent4697f82fdd0e4b1a922200b734b999e690ad0fe9 (diff)
downloadfreebsd-ports-gnome-b83c021d74163f60f90fb26fdc7fe86e04249bed.tar.gz
freebsd-ports-gnome-b83c021d74163f60f90fb26fdc7fe86e04249bed.tar.zst
freebsd-ports-gnome-b83c021d74163f60f90fb26fdc7fe86e04249bed.zip
Rsyslog works based in input and output modules. The port sysutils/rsyslog4 brings
the core modules for basic functionality. -snmp SNMP trap sending PR: ports/130046 Submitted by: Cristiano Rolim Pereira <cristianorolim at hotmail.com>
Diffstat (limited to 'sysutils')
-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>