svn commit: r495791 - in head/ports-mgmt: . caronade caronade/files
Bernhard Froehlich
decke at FreeBSD.org
Fri Mar 15 14:14:58 UTC 2019
Author: decke
Date: Fri Mar 15 14:14:55 2019
New Revision: 495791
URL: https://svnweb.freebsd.org/changeset/ports/495791
Log:
Caronade will automatically create build jobs using poudriere and portlint
whenever you push changes to your Git based ports repository.
WWW: https://code.bluelife.at/decke/caronade
Added:
head/ports-mgmt/caronade/
head/ports-mgmt/caronade/Makefile (contents, props changed)
head/ports-mgmt/caronade/distinfo (contents, props changed)
head/ports-mgmt/caronade/files/
head/ports-mgmt/caronade/files/caronade.in (contents, props changed)
head/ports-mgmt/caronade/pkg-descr (contents, props changed)
head/ports-mgmt/caronade/pkg-plist (contents, props changed)
Modified:
head/ports-mgmt/Makefile
Modified: head/ports-mgmt/Makefile
==============================================================================
--- head/ports-mgmt/Makefile Fri Mar 15 13:58:32 2019 (r495790)
+++ head/ports-mgmt/Makefile Fri Mar 15 14:14:55 2019 (r495791)
@@ -5,6 +5,7 @@
SUBDIR += bsdadminscripts
SUBDIR += bsdadminscripts2
+ SUBDIR += caronade
SUBDIR += chucky
SUBDIR += create-rb-port
SUBDIR += dialog4ports
Added: head/ports-mgmt/caronade/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/ports-mgmt/caronade/Makefile Fri Mar 15 14:14:55 2019 (r495791)
@@ -0,0 +1,37 @@
+# $FreeBSD$
+
+PORTNAME= caronade
+DISTVERSIONPREFIX=v
+DISTVERSION= 0.1.0
+CATEGORIES= ports-mgmt
+MASTER_SITES= https://code.bluelife.at/decke/caronade/archive/ \
+ LOCAL/decke/caronade/
+DISTFILES= ${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}${EXTRACT_SUFX}
+DIST_SUBDIR= ${PORTNAME}
+
+MAINTAINER= decke at FreeBSD.org
+COMMENT= Small and light tool to help with FreeBSD Ports CI
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= go
+USE_RC_SUBR= caronade
+
+USE_GITHUB= nodefault
+GH_TUPLE= NYTimes:gziphandler:v1.1.1:gziphandler/vendor/github.com/NYTimes/gziphandler \
+ go-yaml:yaml:v2.2.2:yaml/vendor/gopkg.in/yaml.v2
+
+GO_PKGNAME= code.bluelife.at/decke/caronade
+MAKE_ENV+= GOFLAGS=-mod=vendor
+
+post-install:
+ ${MKDIR} ${STAGEDIR}${ETCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/caronade.yaml ${STAGEDIR}${ETCDIR}/caronade.yaml.sample
+
+ ${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME}
+ (cd ${WRKSRC} && ${COPYTREE_SHARE} "static templates work" ${STAGEDIR}${PREFIX}/${PORTNAME})
+
+ ${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME}/builds
+
+.include <bsd.port.mk>
Added: head/ports-mgmt/caronade/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/ports-mgmt/caronade/distinfo Fri Mar 15 14:14:55 2019 (r495791)
@@ -0,0 +1,7 @@
+TIMESTAMP = 1552658543
+SHA256 (caronade/v0.1.0.tar.gz) = f38ef48bb783588610a3a65191cff9f230087a074668f1b7846ee089aab3335f
+SIZE (caronade/v0.1.0.tar.gz) = 59372
+SHA256 (caronade/NYTimes-gziphandler-v1.1.1_GH0.tar.gz) = c236c216a16e4286338e66e0947938944992f918fe827c31f8745c0be98818d2
+SIZE (caronade/NYTimes-gziphandler-v1.1.1_GH0.tar.gz) = 52107
+SHA256 (caronade/go-yaml-yaml-v2.2.2_GH0.tar.gz) = 42c3e4ef9eca2860d22b3c6c5582c6c13fb4b417e5ebc1acc56ee5e2c4ddcaff
+SIZE (caronade/go-yaml-yaml-v2.2.2_GH0.tar.gz) = 70656
Added: head/ports-mgmt/caronade/files/caronade.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/ports-mgmt/caronade/files/caronade.in Fri Mar 15 14:14:55 2019 (r495791)
@@ -0,0 +1,20 @@
+#!/bin/sh
+#
+# PROVIDE: caronade
+# REQUIRE: networking
+
+. /etc/rc.subr
+
+name="caronade"
+rcvar="caronade_enable"
+
+pidfile="/var/run/${name}.pid"
+command="/usr/sbin/daemon"
+command_args="-P ${pidfile} -r -o /var/log/caronade.log %%PREFIX%%/bin/caronade -config %%PREFIX%%/etc/caronade/caronade.yaml"
+
+load_rc_config $name
+
+: ${caronade_enable:="NO"}
+: ${caronade_chdir:="%%PREFIX%%/caronade"}
+
+run_rc_command "$1"
Added: head/ports-mgmt/caronade/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/ports-mgmt/caronade/pkg-descr Fri Mar 15 14:14:55 2019 (r495791)
@@ -0,0 +1,4 @@
+Caronade will automatically create build jobs using poudriere and portlint
+whenever you push changes to your Git based ports repository.
+
+WWW: https://code.bluelife.at/decke/caronade
Added: head/ports-mgmt/caronade/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/ports-mgmt/caronade/pkg-plist Fri Mar 15 14:14:55 2019 (r495791)
@@ -0,0 +1,9 @@
+bin/caronade
+caronade/static/caronade.min.css
+caronade/static/favicon-32.png
+caronade/static/favicon-96.png
+caronade/templates/index.html
+caronade/work/portlint.mk
+caronade/work/poudriere.mk
+%%ETCDIR%%/caronade.yaml.sample
+ at dir caronade/builds
More information about the svn-ports-head
mailing list