Bug 156395 - [MAINTAINER UPDATE] sysutils/monitorix Update to 2.1.1
Summary: [MAINTAINER UPDATE] sysutils/monitorix Update to 2.1.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Beech Rintoul
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-14 10:40 UTC by Chris Rees
Modified: 2011-04-18 18:50 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Rees 2011-04-14 10:40:01 UTC

Fix: - Update to 2.1.1

	Submitted by: Chris Rees <utisoft_at_gmail.com> (maintainer)



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.--lG24FdvsMNYzlXwVTqmhbGc3Dn4pu2iIeOpD2W6W7gQkHcUh
Content-Type: text/plain; name="monitorix-2.1.1.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="monitorix-2.1.1.diff"

Index: Makefile
===================================================================
RCS file: /exports/cvsroot-freebsd/ports/sysutils/monitorix/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- Makefile	29 Mar 2011 02:40:12 -0000	1.4
+++ Makefile	14 Apr 2011 08:58:51 -0000
@@ -6,8 +6,8 @@
 #
 
 PORTNAME=	monitorix
-PORTVERSION=	2.1.0
-PORTREVISION=	1
+PORTVERSION=	2.1.1
+PORTREVISION?=	0
 CATEGORIES=	sysutils
 MASTER_SITES=	http://www.monitorix.org/ \
 		http://www.bayofrum.net/dist/${PORTNAME}/
@@ -76,17 +76,23 @@
 	@${ECHO_MSG} ""
 
 post-patch:
-# Set FreeBSD path for perl in shebang
+# Set FreeBSD path for perl in shebang and absolute sysctl so as not to break
+# in cgi-bin
 .for f in monitorix.cgi monitorix.conf monitorix reports/send_reports
-	@${REINPLACE_CMD} -e "1s|^\(#!\).*|\1${PERL}|" ${WRKSRC}/${f}
+	@${REINPLACE_CMD} -e "1s|^\(#!\).*|\1${PERL}|" \
+		-e 's|"\(sysctl\)|"/sbin/\1|' \
+		${WRKSRC}/${f}
 .endfor
 # eth0 doesn't exist in FreeBSD! Also let's set our own paths.
+# No iptables, so we'll disable PORT_GRAPH
 	@${REINPLACE_CMD} \
 		-e 's|\($$BASE_DIR = "\)[^"]*|\1${WWWDIR}/|' \
 		-e 's|\($$BASE_LIB = "\)[^"]*|\1${DATADIR}/|' \
 		-e 's|\($$BASE_CGI = "\)[^"]*|\1${CGIPATH}/|' \
+		-e 's|\($$SECURE_LOG= "\)[^"]*|\1/var/log/auth.log|' \
 		-e "s|/var/lib/milter-greylist/db/|/var/milter-greylist/|" \
 		-e "s|eth0|lo0|g" \
+		-e 's|\("port"[^Y]*\)Y|\1N|' \
 			${WRKSRC}/monitorix.conf
 
 do-install:
Index: distinfo
===================================================================
RCS file: /exports/cvsroot-freebsd/ports/sysutils/monitorix/distinfo,v
retrieving revision 1.3
diff -u -r1.3 distinfo
--- distinfo	28 Mar 2011 02:45:01 -0000	1.3
+++ distinfo	14 Apr 2011 08:58:51 -0000
@@ -1,2 +1,2 @@
-SHA256 (monitorix-2.1.0.tar.gz) = 647b36ac80f15a805eecb68fc507334ebcbb0cb1fe7efd381eed6a7cf3bc0210
-SIZE (monitorix-2.1.0.tar.gz) = 85689
+SHA256 (monitorix-2.1.1.tar.gz) = 2419593ae00d2a083e7f5258bfab840b48c87be799e8186a599c0a28f4508e33
+SIZE (monitorix-2.1.1.tar.gz) = 86289
Comment 1 Beech Rintoul freebsd_committer freebsd_triage 2011-04-15 22:30:43 UTC
Responsible Changed
From-To: freebsd-ports-bugs->beech

I'll take it
Comment 2 dfilter service freebsd_committer freebsd_triage 2011-04-18 18:44:11 UTC
beech       2011-04-18 17:44:03 UTC

  FreeBSD ports repository

  Modified files:
    sysutils/monitorix   Makefile distinfo 
  Log:
  Update to 2.1.1
  
  PR:             ports/156395
  Submitted by:   Chris Rees (utisoft@gmail.com)(maintainer)
  
  Revision  Changes    Path
  1.5       +10 -4     ports/sysutils/monitorix/Makefile
  1.4       +2 -2      ports/sysutils/monitorix/distinfo
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Beech Rintoul freebsd_committer freebsd_triage 2011-04-18 18:45:59 UTC
State Changed
From-To: open->closed

Committed, Thanks!