Bug 178084 - [PATCH] net-mgmt/xymon-client: update to 4.3.11
Summary: [PATCH] net-mgmt/xymon-client: update to 4.3.11
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: Steve Wills
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-23 16:00 UTC by Mark Felder
Modified: 2013-04-24 16:40 UTC (History)
0 users

See Also:


Attachments
xymon-client-4.3.11.patch (3.09 KB, patch)
2013-04-23 16:00 UTC, Mark Felder
no flags Details | Diff
xymon-client-4.3.11.patchv2 (3.70 KB, application/octet-stream)
2013-04-23 16:49 UTC, Mark Felder
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Felder freebsd_committer freebsd_triage 2013-04-23 16:00:00 UTC
- Update to 4.3.11

Generated with FreeBSD Port Tools 0.99_7 (mode: update, diff: suffix)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-04-23 16:00:10 UTC
Responsible Changed
From-To: freebsd-ports-bugs->swills

swills@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 Mark Felder freebsd_committer freebsd_triage 2013-04-23 16:49:51 UTC
Here's an updated version that properly uses USERS and GROUPS. Appears  
that the Xymon ports were doing it manually.
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-04-24 16:35:11 UTC
Author: swills
Date: Wed Apr 24 15:34:56 2013
New Revision: 316441
URL: http://svnweb.freebsd.org/changeset/ports/316441

Log:
  - Update to 4.3.11
  - Use USERS/GROUPS
  - Mark MAKE_JOBS_UNSAFE
  - Give maintainership to submitter
  
  PR:		ports/178084
  Submitted by:	Mark Felder <feld@feld.me>

Modified:
  head/net-mgmt/xymon-client/Makefile   (contents, props changed)
  head/net-mgmt/xymon-client/distinfo   (contents, props changed)
  head/net-mgmt/xymon-client/files/patch-Makefile   (contents, props changed)

Modified: head/net-mgmt/xymon-client/Makefile
==============================================================================
--- head/net-mgmt/xymon-client/Makefile	Wed Apr 24 15:23:54 2013	(r316440)
+++ head/net-mgmt/xymon-client/Makefile	Wed Apr 24 15:34:56 2013	(r316441)
@@ -1,21 +1,25 @@
 # $FreeBSD$
 
 PORTNAME=	xymon
-PORTVERSION=	4.3.10
+PORTVERSION=	4.3.11
 CATEGORIES=	net-mgmt www
 MASTER_SITES=	SF/xymon/Xymon/${PORTVERSION}
 PKGNAMESUFFIX=	-client${PKGNAMESUFFIX2}
 DIST_SUBDIR=	repacked
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	feld@feld.me
 COMMENT=	System for monitoring servers and networks - Client
 
 LICENSE=	GPLv2
 
+USERS=	xymon
+GROUPS=	xymon
+
 # Options
 XYMONUSER?=	xymon
 XYMONHOSTIP?=	127.0.0.1
 
+MAKE_JOBS_UNSAFE=	yes
 USE_GMAKE=	yes
 CONFIGURE_ENV=	MAKE=gmake
 MAKE_ENV+=	XYMONUSER="${XYMONUSER}"
@@ -28,11 +32,6 @@ CONFIG_FILES=	clientlaunch.cfg xymonclie
 do-configure:
 	${CP} ${FILESDIR}/Makefile ${WRKSRC}/
 
-pre-install:
-	if ! pw groupshow ${XYMONUSER}; then pw groupadd ${XYMONUSER} -g 280; fi
-	if ! pw usershow ${XYMONUSER}; then pw useradd ${XYMONUSER} -g ${XYMONUSER} -u 280 \
-		-h - -d ${WWWDIR} -s /usr/sbin/nologin -c "Xymon Monitor"; fi
-
 post-install:
 .for i in ${CONFIG_FILES}
 	${CP} -np ${WWWDIR}/client/etc/${i}.DIST \

Modified: head/net-mgmt/xymon-client/distinfo
==============================================================================
--- head/net-mgmt/xymon-client/distinfo	Wed Apr 24 15:23:54 2013	(r316440)
+++ head/net-mgmt/xymon-client/distinfo	Wed Apr 24 15:34:56 2013	(r316441)
@@ -1,2 +1,2 @@
-SHA256 (repacked/xymon-4.3.10.tar.gz) = 06b519cbe94b93a4b1ea5601d55e58f3ad8304acf555cf3d11ba04cee47455c1
-SIZE (repacked/xymon-4.3.10.tar.gz) = 2754807
+SHA256 (repacked/xymon-4.3.11.tar.gz) = d36f4ea320816375377d97784b7f0e04b8df3dfd19f75a2f1ff4b9f86e6829ee
+SIZE (repacked/xymon-4.3.11.tar.gz) = 2760418

Modified: head/net-mgmt/xymon-client/files/patch-Makefile
==============================================================================
--- head/net-mgmt/xymon-client/files/patch-Makefile	Wed Apr 24 15:23:54 2013	(r316440)
+++ head/net-mgmt/xymon-client/files/patch-Makefile	Wed Apr 24 15:34:56 2013	(r316441)
@@ -1,20 +1,22 @@
---- client/Makefile.orig	2011-12-12 23:15:39.000000000 +0100
-+++ client/Makefile	2012-01-12 06:47:33.000000000 +0100
-@@ -64,14 +64,14 @@
+--- client/Makefile.orig	2012-11-14 05:29:54.000000000 -0600
++++ client/Makefile	2013-04-23 09:14:36.635076021 -0500
+@@ -69,15 +69,15 @@
  	if test ! -d $(INSTALLROOT)$(XYMONHOME)/logs  ; then mkdir -p $(INSTALLROOT)$(XYMONHOME)/logs  ; fi
  	if test ! -d $(INSTALLROOT)$(XYMONHOME)/ext   ; then mkdir -p $(INSTALLROOT)$(XYMONHOME)/ext   ; fi
  	if test ! -d $(INSTALLROOT)$(XYMONHOME)/local ; then mkdir -p $(INSTALLROOT)$(XYMONHOME)/local ; fi
 -	if test ! -f $(INSTALLROOT)$(XYMONHOME)/etc/localclient.cfg ; then cp localclient.cfg $(INSTALLROOT)$(XYMONHOME)/etc/ ; fi
 +	if test ! -f $(INSTALLROOT)$(XYMONHOME)/etc/localclient.cfg ; then cp localclient.cfg $(INSTALLROOT)$(XYMONHOME)/etc/localclient.cfg.DIST ; fi
  	if test ! -f $(INSTALLROOT)$(XYMONHOME)/local/README; then cp README-local $(INSTALLROOT)$(XYMONHOME)/local/README ; chmod 644 $(INSTALLROOT)$(XYMONHOME)/local/README; fi
+ 	chmod 755 runclient.sh $(PROGRAMS) xymonclient*.sh $(COMMONTOOLS) $(EXTRATOOLS)
  	cp -fp runclient.sh $(INSTALLROOT)$(XYMONHOME)
  	cp -fp $(PROGRAMS) xymonclient*.sh $(COMMONTOOLS) $(EXTRATOOLS) $(INSTALLROOT)$(XYMONHOME)/bin/
- 	chmod ugo+x $(INSTALLROOT)$(XYMONHOME)/bin/*
  
 -	../build/merge-sects clientlaunch.cfg $(INSTALLROOT)$(XYMONHOME)/etc/clientlaunch.cfg
 -	../build/merge-lines xymonclient.cfg $(INSTALLROOT)$(XYMONHOME)/etc/xymonclient.cfg
+-	chmod 644 $(INSTALLROOT)$(XYMONHOME)/etc/clientlaunch.cfg $(INSTALLROOT)$(XYMONHOME)/etc/xymonclient.cfg
 +	../build/merge-sects clientlaunch.cfg $(INSTALLROOT)$(XYMONHOME)/etc/clientlaunch.cfg.DIST
 +	../build/merge-lines xymonclient.cfg $(INSTALLROOT)$(XYMONHOME)/etc/xymonclient.cfg.DIST
++	chmod 644 $(INSTALLROOT)$(XYMONHOME)/etc/clientlaunch.cfg.DIST $(INSTALLROOT)$(XYMONHOME)/etc/xymonclient.cfg.DIST
+ 
  ifndef PKGBUILD
  	chown -R $(XYMONUSER) $(INSTALLROOT)$(XYMONHOME)
- endif
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 4 Steve Wills freebsd_committer freebsd_triage 2013-04-24 16:35:13 UTC
State Changed
From-To: open->closed

Committed. Thanks!