Index: head/sysutils/azure-agent/Makefile =================================================================== --- head/sysutils/azure-agent/Makefile (revision 445747) +++ head/sysutils/azure-agent/Makefile (revision 445748) @@ -1,50 +1,57 @@ # $FreeBSD$ PORTNAME= azure-agent PORTVERSION= 2.2.13 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= sysutils MAINTAINER= honzhan@microsoft.com COMMENT= Microsoft Azure Linux Agent LICENSE= APACHE20 RUN_DEPENDS= python:lang/python \ sudo:security/sudo \ bash:shells/bash \ base64:converters/base64 \ ${PYTHON_PKGNAMEPREFIX}pyasn1>=0:devel/py-pyasn1 \ ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss NO_BUILD= yes USES= python:2 shebangfix SHEBANG_FILES= bin/waagent bin/waagent2.0 python_OLD_CMD= "/usr/bin/env python" USE_GITHUB= yes GH_ACCOUNT= Azure GH_PROJECT= WALinuxAgent USE_PYTHON= autoplist distutils post-patch: ${REINPLACE_CMD} -e "s,/usr/sbin/waagent,${PREFIX}/sbin/waagent,g" \ ${WRKSRC}/bin/waagent2.0 ${REINPLACE_CMD} -e "s,/usr/sbin,${PREFIX}/sbin/,g" \ ${WRKSRC}/init/waagent ${WRKSRC}/init/waagent.service \ ${WRKSRC}/setup.py ${REINPLACE_CMD} -e "s,/etc,${PREFIX}/etc,g" \ + -e "/set_conf_files.*freebsd\/waagent.conf/ s/^/#/" \ ${WRKSRC}/setup.py ${REINPLACE_CMD} -e "s,/etc/waagent,${PREFIX}/etc/waagent,g" \ ${WRKSRC}/bin/waagent2.0 \ ${WRKSRC}/azurelinuxagent/common/osutil/default.py \ ${WRKSRC}/init/waagent.service ${REINPLACE_CMD} -e "s,/etc/rc.d/waagent,${PREFIX}/etc/rc.d/waagent,g" \ ${WRKSRC}/bin/waagent2.0 ${REINPLACE_CMD} -e "s,/usr/bin/python,${PREFIX}/bin/python,g" \ ${WRKSRC}/init/waagent.service ${REINPLACE_CMD} -e "s,:/usr/local/bin,:/usr/local/bin:/usr/local/sbin,g" \ ${WRKSRC}/init/freebsd/waagent + +post-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/etc + ${INSTALL_DATA} ${WRKSRC}/config/freebsd/waagent.conf \ + ${STAGEDIR}${PREFIX}/etc/waagent.conf.sample .include Index: head/sysutils/azure-agent/pkg-plist =================================================================== --- head/sysutils/azure-agent/pkg-plist (nonexistent) +++ head/sysutils/azure-agent/pkg-plist (revision 445748) @@ -0,0 +1 @@ +@sample etc/waagent.conf.sample Property changes on: head/sysutils/azure-agent/pkg-plist ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property