Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Oct 2018 03:05:02 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r483105 - head/net-mgmt/py-pdagent
Message-ID:  <201810270305.w9R352vr083277@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Sat Oct 27 03:05:02 2018
New Revision: 483105
URL: https://svnweb.freebsd.org/changeset/ports/483105

Log:
  net-mgmt/py-pdagent: Update to 1.5
  
  PR:		232428
  Submitted by:	Nathan <ndowens@yahoo.com>

Modified:
  head/net-mgmt/py-pdagent/Makefile   (contents, props changed)
  head/net-mgmt/py-pdagent/distinfo   (contents, props changed)

Modified: head/net-mgmt/py-pdagent/Makefile
==============================================================================
--- head/net-mgmt/py-pdagent/Makefile	Sat Oct 27 03:01:29 2018	(r483104)
+++ head/net-mgmt/py-pdagent/Makefile	Sat Oct 27 03:05:02 2018	(r483105)
@@ -2,9 +2,8 @@
 # $FreeBSD$
 
 PORTNAME=	pdagent
-PORTVERSION=	1.4
+PORTVERSION=	1.5
 DISTVERSIONPREFIX=v
-PORTREVISION=	2
 CATEGORIES=	net-mgmt python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -12,34 +11,32 @@ MAINTAINER=	ports@FreeBSD.org
 COMMENT=	PagerDuty Agent software
 
 LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE.TXT
 
 USES=		python:2.7 shebangfix
 USE_PYTHON=	flavors
+USE_RC_SUBR=	pdagentd
+USE_GITHUB=	YES
+
+GH_ACCOUNT=	PagerDuty
 SHEBANG_FILES=	bin/*
 NO_ARCH=	yes
 NO_BUILD=	yes
 
-USE_RC_SUBR=	pdagentd
-
-USE_GITHUB=	YES
-GH_ACCOUNT=	PagerDuty
-
 SUB_LIST+=	PYTHON_CMD="${PYTHON_CMD}"
-
 BINFILES=	pd-queue pd-send pdagentd.py
 
 USERS=	pdagent
 GROUPS=	pdagent
 
 do-patch:
-	${REINPLACE_CMD} -e 's|/var/lib/pdagent|/var/db/pdagent|' -e 's|/etc|${ETCDIR}|' ${WRKSRC}/pdagent/confdirs.py
+	${REINPLACE_CMD} -e 's|/var/lib/pdagent|/var/db/pdagent| ; s|/etc|${ETCDIR}|' \
+		${WRKSRC}/pdagent/confdirs.py
 
 do-install:
 	${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR} ${STAGEDIR}/${ETCDIR}
 	(cd ${WRKSRC} && ${COPYTREE_SHARE} pdagent ${STAGEDIR}${PYTHON_SITELIBDIR})
-.for i in ${BINFILES}
-	${INSTALL_SCRIPT} ${WRKSRC}/bin/${i} ${STAGEDIR}/${PREFIX}/bin/${i}
-.endfor
+	(cd ${WRKSRC}/bin ; ${INSTALL_SCRIPT} ${BINFILES} ${STAGEDIR}/${PREFIX}/bin)
 	${INSTALL_DATA} ${WRKSRC}/conf/pdagent.conf ${STAGEDIR}/${ETCDIR}/pdagent.conf.sample
 
 .include <bsd.port.mk>

Modified: head/net-mgmt/py-pdagent/distinfo
==============================================================================
--- head/net-mgmt/py-pdagent/distinfo	Sat Oct 27 03:01:29 2018	(r483104)
+++ head/net-mgmt/py-pdagent/distinfo	Sat Oct 27 03:05:02 2018	(r483105)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1505398696
-SHA256 (PagerDuty-pdagent-v1.4_GH0.tar.gz) = 69f79d9c912db8e2fa9fed7c0f5f0113968739df316b6a79eec9ac94c368046f
-SIZE (PagerDuty-pdagent-v1.4_GH0.tar.gz) = 248170
+TIMESTAMP = 1539915284
+SHA256 (PagerDuty-pdagent-v1.5_GH0.tar.gz) = d1337478b6d02f2e5c596f092ed8e52fd2e60ee0422cd2c72a9c8920e9e38f92
+SIZE (PagerDuty-pdagent-v1.5_GH0.tar.gz) = 250902



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810270305.w9R352vr083277>