net-mgmt/py-pdagent: Update to 1.5

PR:		232428
Submitted by:	Nathan <ndowens@yahoo.com>
This commit is contained in:
Steve Wills 2018-10-27 03:05:02 +00:00
parent a6770074f8
commit 6212f6d6d9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=483105
2 changed files with 12 additions and 15 deletions

View File

@ -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>

View File

@ -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