diff options
author | miwi <miwi@FreeBSD.org> | 2011-02-25 08:47:51 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2011-02-25 08:47:51 +0800 |
commit | fcad7d6603fff8cde093f411f3c1b860d1721a6a (patch) | |
tree | 480360672129bf0c49f6b94e20c9f729f2a8a6e7 /net-mgmt | |
parent | afca7c67d76daed658334425b473995491edcbb5 (diff) | |
download | freebsd-ports-gnome-fcad7d6603fff8cde093f411f3c1b860d1721a6a.tar.gz freebsd-ports-gnome-fcad7d6603fff8cde093f411f3c1b860d1721a6a.tar.zst freebsd-ports-gnome-fcad7d6603fff8cde093f411f3c1b860d1721a6a.zip |
- Move to py25 or above
- While here kick md5 support
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/collectd/Makefile | 28 | ||||
-rw-r--r-- | net-mgmt/collectd/pkg-plist | 3 | ||||
-rw-r--r-- | net-mgmt/collectd5/Makefile | 28 | ||||
-rw-r--r-- | net-mgmt/collectd5/pkg-plist | 3 | ||||
-rw-r--r-- | net-mgmt/py-twistedSNMP/Makefile | 3 | ||||
-rw-r--r-- | net-mgmt/py-twistedSNMP/distinfo | 1 |
6 files changed, 54 insertions, 12 deletions
diff --git a/net-mgmt/collectd/Makefile b/net-mgmt/collectd/Makefile index 0179458e680c..8cae9b909cf2 100644 --- a/net-mgmt/collectd/Makefile +++ b/net-mgmt/collectd/Makefile @@ -7,7 +7,7 @@ PORTNAME= collectd PORTVERSION= 4.9.3 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net-mgmt MASTER_SITES= http://collectd.org/files/ @@ -16,9 +16,13 @@ COMMENT= Systems & network statistics collection daemon USE_GMAKE= yes GNU_CONFIGURE= yes -USE_AUTOTOOLS= libltdl +USE_AUTOTOOLS= autoheader aclocal libtool libtoolize automake autoconf libltdl WANT_GNOME= yes +AUTOMAKE_ARGS= --add-missing --copy +LIBTOOLIZE_ARGS= --ltdl --copy --force +ACLOCAL_ARGS= + OPTIONS= CGI "Install collection.cgi (requires RRDTOOL)" Off \ BIND "Enable BIND 9.5+ statistics" On \ DEBUG "Enable debugging" Off \ @@ -37,8 +41,7 @@ OPTIONS= CGI "Install collection.cgi (requires RRDTOOL)" Off \ PGSQL "Input: PostgreSQL" Off \ PING "Input: Network latency (liboping)" On \ SNMP "Input: SNMP" On \ - XMMS "Input: XMMS" Off \ - RRDTOOL "Output: RRDTool" On + XMMS "Input: XMMS" Off MAN1= collectd.1 collectd-nagios.1 collectdmon.1 MAN5= collectd.conf.5 collectd-email.5 collectd-exec.5 \ @@ -53,6 +56,14 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ .include <bsd.port.pre.mk> +.if ( ${OSVERSION} >= 800000 ) +OPTIONS+= ZFS_ARC "Input: ZFS ARC" Off +.else +.undef WITH_ZFS_ARC +.endif + +OPTIONS+= RRDTOOL "Output: RRDTool" On + .if ( ${OSVERSION} < 601103 ) BROKEN= Need bind9 import post 6.1 .endif @@ -123,7 +134,6 @@ CONFIGURE_ARGS= --localstatedir=/var \ --disable-vserver \ --disable-wireless \ --disable-write_http \ - --disable-zfs_arc \ --without-perl-bindings .if defined(WITH_DEBUG) @@ -315,6 +325,14 @@ CONFIGURE_ARGS+=--disable-xmms PLIST_SUB+= XMMS="@comment " .endif +.if defined(WITH_ZFS_ARC) && ( ${OSVERSION} >= 800000 ) +CONFIGURE_ARGS+=--enable-zfs_arc +PLIST_SUB+= ZFS_ARC="" +.else +CONFIGURE_ARGS+=--disable-zfs_arc +PLIST_SUB+= ZFS_ARC="@comment " +.endif + post-patch: @${REINPLACE_CMD} \ -e 's;@prefix@/var/;/var/;' \ diff --git a/net-mgmt/collectd/pkg-plist b/net-mgmt/collectd/pkg-plist index b899a8f03e4c..8d5652aeb47f 100644 --- a/net-mgmt/collectd/pkg-plist +++ b/net-mgmt/collectd/pkg-plist @@ -134,6 +134,9 @@ libdata/pkgconfig/libcollectdclient.pc %%XMMS%%lib/collectd/xmms.a %%XMMS%%lib/collectd/xmms.la %%XMMS%%lib/collectd/xmms.so +%%ZFS_ARC%%lib/collectd/zfs_arc.a +%%ZFS_ARC%%lib/collectd/zfs_arc.la +%%ZFS_ARC%%lib/collectd/zfs_arc.so %%DATADIR%%/postgresql_default.conf %%DATADIR%%/types.db @dirrm lib/collectd diff --git a/net-mgmt/collectd5/Makefile b/net-mgmt/collectd5/Makefile index 0179458e680c..8cae9b909cf2 100644 --- a/net-mgmt/collectd5/Makefile +++ b/net-mgmt/collectd5/Makefile @@ -7,7 +7,7 @@ PORTNAME= collectd PORTVERSION= 4.9.3 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net-mgmt MASTER_SITES= http://collectd.org/files/ @@ -16,9 +16,13 @@ COMMENT= Systems & network statistics collection daemon USE_GMAKE= yes GNU_CONFIGURE= yes -USE_AUTOTOOLS= libltdl +USE_AUTOTOOLS= autoheader aclocal libtool libtoolize automake autoconf libltdl WANT_GNOME= yes +AUTOMAKE_ARGS= --add-missing --copy +LIBTOOLIZE_ARGS= --ltdl --copy --force +ACLOCAL_ARGS= + OPTIONS= CGI "Install collection.cgi (requires RRDTOOL)" Off \ BIND "Enable BIND 9.5+ statistics" On \ DEBUG "Enable debugging" Off \ @@ -37,8 +41,7 @@ OPTIONS= CGI "Install collection.cgi (requires RRDTOOL)" Off \ PGSQL "Input: PostgreSQL" Off \ PING "Input: Network latency (liboping)" On \ SNMP "Input: SNMP" On \ - XMMS "Input: XMMS" Off \ - RRDTOOL "Output: RRDTool" On + XMMS "Input: XMMS" Off MAN1= collectd.1 collectd-nagios.1 collectdmon.1 MAN5= collectd.conf.5 collectd-email.5 collectd-exec.5 \ @@ -53,6 +56,14 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ .include <bsd.port.pre.mk> +.if ( ${OSVERSION} >= 800000 ) +OPTIONS+= ZFS_ARC "Input: ZFS ARC" Off +.else +.undef WITH_ZFS_ARC +.endif + +OPTIONS+= RRDTOOL "Output: RRDTool" On + .if ( ${OSVERSION} < 601103 ) BROKEN= Need bind9 import post 6.1 .endif @@ -123,7 +134,6 @@ CONFIGURE_ARGS= --localstatedir=/var \ --disable-vserver \ --disable-wireless \ --disable-write_http \ - --disable-zfs_arc \ --without-perl-bindings .if defined(WITH_DEBUG) @@ -315,6 +325,14 @@ CONFIGURE_ARGS+=--disable-xmms PLIST_SUB+= XMMS="@comment " .endif +.if defined(WITH_ZFS_ARC) && ( ${OSVERSION} >= 800000 ) +CONFIGURE_ARGS+=--enable-zfs_arc +PLIST_SUB+= ZFS_ARC="" +.else +CONFIGURE_ARGS+=--disable-zfs_arc +PLIST_SUB+= ZFS_ARC="@comment " +.endif + post-patch: @${REINPLACE_CMD} \ -e 's;@prefix@/var/;/var/;' \ diff --git a/net-mgmt/collectd5/pkg-plist b/net-mgmt/collectd5/pkg-plist index b899a8f03e4c..8d5652aeb47f 100644 --- a/net-mgmt/collectd5/pkg-plist +++ b/net-mgmt/collectd5/pkg-plist @@ -134,6 +134,9 @@ libdata/pkgconfig/libcollectdclient.pc %%XMMS%%lib/collectd/xmms.a %%XMMS%%lib/collectd/xmms.la %%XMMS%%lib/collectd/xmms.so +%%ZFS_ARC%%lib/collectd/zfs_arc.a +%%ZFS_ARC%%lib/collectd/zfs_arc.la +%%ZFS_ARC%%lib/collectd/zfs_arc.so %%DATADIR%%/postgresql_default.conf %%DATADIR%%/types.db @dirrm lib/collectd diff --git a/net-mgmt/py-twistedSNMP/Makefile b/net-mgmt/py-twistedSNMP/Makefile index 25d6205fb19b..ec69fa4a9370 100644 --- a/net-mgmt/py-twistedSNMP/Makefile +++ b/net-mgmt/py-twistedSNMP/Makefile @@ -7,6 +7,7 @@ PORTNAME= twistedSNMP PORTVERSION= 0.3.13 +PORTREVISION= 1 CATEGORIES= net-mgmt python MASTER_SITES= SF PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -19,7 +20,7 @@ BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/twisted/__init__.py:${PORTSDIR}/devel/py-twi ${PYTHON_SITELIBDIR}/pysnmp/__init__.py:${PORTSDIR}/net-mgmt/py-snmp RUN_DEPENDS= ${BUILD_DEPENDS} -USE_PYTHON= 2.4+ +USE_PYTHON= 2.5+ USE_PYDISTUTILS= yes PYDISTUTILS_PKGNAME= TwistedSNMP diff --git a/net-mgmt/py-twistedSNMP/distinfo b/net-mgmt/py-twistedSNMP/distinfo index 72b1fc868a80..bf0600c3aa61 100644 --- a/net-mgmt/py-twistedSNMP/distinfo +++ b/net-mgmt/py-twistedSNMP/distinfo @@ -1,3 +1,2 @@ -MD5 (TwistedSNMP-0.3.13.tar.gz) = 70716c4314f6c03a3da0cf57cabba03c SHA256 (TwistedSNMP-0.3.13.tar.gz) = 4e3d20110a3083bf4c602b57c5bcf447182bb0effcb8b0603f5da0314a804cce SIZE (TwistedSNMP-0.3.13.tar.gz) = 56256 |