Bug 189683 - [PATCH] net-mgmt/iog: reset maintainer
Summary: [PATCH] net-mgmt/iog: reset maintainer
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: Sunpoet Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-11 20:50 UTC by Larry Rosenman
Modified: 2014-05-12 17:30 UTC (History)
1 user (show)

See Also:


Attachments
iog-1.03.patch (375 bytes, patch)
2014-05-11 20:50 UTC, Larry Rosenman
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Larry Rosenman freebsd_committer 2014-05-11 20:50:00 UTC
[PORTTOOLS: DESCRIBE CHANGES]
- Reset maintainership to ports@FreeBSD.org

Port maintainer (ler@lerctr.org) is cc'd.

Generated with FreeBSD Port Tools 1.02 (mode: change, diff: ports)
Comment 1 Edwin Groothuis freebsd_committer 2014-05-11 20:50:07 UTC
Class Changed
From-To: change-request->maintainer-update

Fix category (submitter is maintainer) (via the GNATS Auto Assign Tool)
Comment 2 Sunpoet Po-Chuan Hsieh freebsd_committer 2014-05-11 20:59:29 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sunpoet

I'll take it.
Comment 3 dfilter service freebsd_committer 2014-05-12 17:25:20 UTC
Author: sunpoet
Date: Mon May 12 16:25:16 2014
New Revision: 353862
URL: http://svnweb.freebsd.org/changeset/ports/353862
QAT: https://qat.redports.org/buildarchive/r353862/

Log:
  - Reset maintainership
  - While I'm here:
    - Remove unnecessary DISTNAME
    - Use USES=tar:tgz
    - Support STAGEDIR
  
  PR:		ports/189683
  Submitted by:	Larry Rosenman <ler@lerctr.org> (maintainer)

Modified:
  head/net-mgmt/iog/Makefile
  head/net-mgmt/iog/pkg-plist

Modified: head/net-mgmt/iog/Makefile
==============================================================================
--- head/net-mgmt/iog/Makefile	Mon May 12 16:19:06 2014	(r353861)
+++ head/net-mgmt/iog/Makefile	Mon May 12 16:25:16 2014	(r353862)
@@ -6,37 +6,26 @@ PORTVERSION=	1.03
 PORTREVISION=	1
 CATEGORIES=	net-mgmt
 MASTER_SITES=	http://www.dynw.com/iog/
-DISTNAME=	iog-${PORTVERSION}
-EXTRACT_SUFX=	.tgz
 
-MAINTAINER=	ler@lerctr.org
+MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Graphs Byte Counts for switches/routers/etc
 
 NO_BUILD=	yes
-USES=		perl5
-PLIST_SUB+=	VERSION=${PORTVERSION}
+USES=		perl5 tar:tgz
+PLIST_SUB=	VERSION=${PORTVERSION}
 IOG_USER=	iog
 IOG_GROUP=	www
 
-IOGDIR=	${PREFIX}/iog/iog-${PORTVERSION}
+IOGDIR=		${PREFIX}/iog/iog-${PORTVERSION}
 
-NO_STAGE=	yes
 do-install:
-	@PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL
-	@${MKDIR} -m 755 ${IOGDIR}
-	@${CHMOD} 0600 ${WRKSRC}/iog.cfg
-	@${CP} ${WRKSRC}/iog.cfg ${WRKSRC}/iog.cfg.sample
-	@${CP} -R ${WRKSRC}/* ${IOGDIR}
-	@if [ ! -x ${IOGDIR}/iog.cfg ]; then \
-		${CP} ${IOGDIR}/iog.cfg.sample ${IOGDIR}/iog.cfg ; \
-	fi
-	@${FIND} ${IOGDIR} -name \*.orig -or \
-		-name \*.bak | ${XARGS} ${RM} -f
-	${CHOWN} -R ${IOG_USER}:${IOG_GROUP} ${PREFIX}/iog
-	@if [ -L ${PREFIX}/iog/iog ]; then \
-		${ECHO} "Updating ${PREFIX}/iog/iog symbolic link" ; \
-		${RM} ${PREFIX}/iog/iog ; \
-	fi
-	${LN} -sf ${IOGDIR} ${PREFIX}/iog/iog
+	PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL
+	${MKDIR} -m 755 ${STAGEDIR}${IOGDIR}
+	${CHMOD} 0600 ${WRKSRC}/iog.cfg
+	${CP} ${WRKSRC}/iog.cfg ${WRKSRC}/iog.cfg.sample
+	${CP} -R ${WRKSRC}/* ${STAGEDIR}${IOGDIR}
+	${CP} ${STAGEDIR}${IOGDIR}/iog.cfg.sample ${STAGEDIR}${IOGDIR}/iog.cfg
+	${FIND} ${STAGEDIR}${IOGDIR} -name '*.bak' -or -name '*.orig' -delete
+	${LN} -sf ${IOGDIR} ${STAGEDIR}${PREFIX}/iog/iog
 
 .include <bsd.port.mk>

Modified: head/net-mgmt/iog/pkg-plist
==============================================================================
--- head/net-mgmt/iog/pkg-plist	Mon May 12 16:19:06 2014	(r353861)
+++ head/net-mgmt/iog/pkg-plist	Mon May 12 16:25:16 2014	(r353862)
@@ -1,3 +1,6 @@
+@owner iog
+@group www
+iog/iog
 iog/iog-%%VERSION%%/Artistic
 iog/iog-%%VERSION%%/BER.pm
 iog/iog-%%VERSION%%/README
@@ -6,10 +9,10 @@ iog/iog-%%VERSION%%/howto-iog.html
 iog/iog-%%VERSION%%/in.gif
 iog/iog-%%VERSION%%/index.php
 iog/iog-%%VERSION%%/iog
-@unexec if cmp -s %D/iog/iog-%%VERSION%%/iog.cfg %D/iog/iog-%%VERSION%%/iog.cfg.sample; then rm -f %D/iog/iog-%%VERSION%%/iog.cfg; fi
-iog/iog-%%VERSION%%/iog.cfg.sample
+@sample iog/iog-%%VERSION%%/iog.cfg.sample
 iog/iog-%%VERSION%%/ioglogo.gif
 iog/iog-%%VERSION%%/out.gif
-iog/iog
 @dirrmtry iog/iog-%%VERSION%%
 @dirrmtry iog
+@owner
+@group
_______________________________________________
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 Sunpoet Po-Chuan Hsieh freebsd_committer 2014-05-12 17:25:30 UTC
State Changed
From-To: open->closed

Committed. Thanks!