Update to 0.2.1

Adds a configuration file to make updates easier.
Allows configuration of curl options.
This commit is contained in:
Dan Langille 2020-07-14 20:32:54 +00:00
parent fc56d228aa
commit da855591dd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=542234
4 changed files with 7 additions and 10 deletions

View file

@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= SamDruckerClientShell
PORTVERSION= 0.0.2
PORTREVISION= 1
PORTVERSION= 0.2.1
CATEGORIES= sysutils
MASTER_SITES= GH
@ -18,7 +17,7 @@ GH_PROJECT= SamDrucker
NO_BUILD= YES
SUB_FILES= 999-samdrucker-client samdrucker.conf.sample
SUB_FILES= 999-samdrucker-client
RUN_DEPENDS+= curl>0:ftp/curl
RUN_DEPENDS+= jo>0:textproc/jo
@ -31,6 +30,6 @@ do-install:
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/clients/samdrucker.sh
${INSTALL_SCRIPT} ${WRKSRC}/clients/samdrucker.sh ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKDIR}/999-samdrucker-client ${STAGEDIR}${PREFIX}/etc/periodic/daily
${INSTALL_DATA} ${WRKDIR}/samdrucker.conf.sample ${STAGEDIR}${PREFIX}/etc/samdrucker
${INSTALL_DATA} ${WRKSRC}/clients/samdrucker.conf.sample ${STAGEDIR}${PREFIX}/etc/samdrucker
.include <bsd.port.post.mk>

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1578841655
SHA256 (dlangille-SamDrucker-0.0.2_GH0.tar.gz) = b204a153f4c89f40961908438226a7ae9633c5d7420c1fa6936bb8ea846530c9
SIZE (dlangille-SamDrucker-0.0.2_GH0.tar.gz) = 6845
TIMESTAMP = 1594758123
SHA256 (dlangille-SamDrucker-0.2.1_GH0.tar.gz) = fc4ae83db5a9deec52cf8bfd709c63c95588178ae38a09f88ce9c6e593727d6a
SIZE (dlangille-SamDrucker-0.2.1_GH0.tar.gz) = 8069

View file

@ -1,2 +0,0 @@
SAMDRUCKER_URL="https://samdrucker.example.org/samdrucker.php"
SAMDRUCKER_ARG="packages"

View file

@ -1,6 +1,6 @@
bin/samdrucker.sh
etc/periodic/daily/999-samdrucker-client
@sample etc/samdrucker/samdrucker.conf.sample
@sample(,,550) etc/samdrucker/samdrucker.conf.sample
@dir etc/periodic/daily
@dir etc/samdrucker