svn commit: r431409 - in head/sysutils: . paladin
Raphael Kubo da Costa
rakuco at FreeBSD.org
Fri Jan 13 17:59:56 UTC 2017
Author: rakuco
Date: Fri Jan 13 17:59:54 2017
New Revision: 431409
URL: https://svnweb.freebsd.org/changeset/ports/431409
Log:
New port: sysutils/paladin
Simple process supervisor.
WWW: https://github.com/rwestlund/paladin
PR: 215463
Submitted by: Randy Westlund <rwestlun at gmail.com>
Added:
head/sysutils/paladin/
head/sysutils/paladin/Makefile (contents, props changed)
head/sysutils/paladin/distinfo (contents, props changed)
head/sysutils/paladin/pkg-descr (contents, props changed)
head/sysutils/paladin/pkg-message (contents, props changed)
head/sysutils/paladin/pkg-plist (contents, props changed)
Modified:
head/sysutils/Makefile
Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile Fri Jan 13 17:59:03 2017 (r431408)
+++ head/sysutils/Makefile Fri Jan 13 17:59:54 2017 (r431409)
@@ -754,6 +754,7 @@
SUBDIR += packetbeat
SUBDIR += pacman
SUBDIR += paicc
+ SUBDIR += paladin
SUBDIR += pam_mount
SUBDIR += panicmail
SUBDIR += parafly
Added: head/sysutils/paladin/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/paladin/Makefile Fri Jan 13 17:59:54 2017 (r431409)
@@ -0,0 +1,28 @@
+# $FreeBSD$
+
+PORTNAME= paladin
+PORTVERSION= 1.0.0
+CATEGORIES= sysutils
+
+MAINTAINER= rwestlun at gmail.com
+COMMENT= Simple process supervisor
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= go
+GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME}
+
+USE_GITHUB= yes
+GH_ACCOUNT= rwestlund
+
+# Override default build command to pass ldflags.
+do-build:
+ @(cd ${GO_WRKSRC}; ${SETENV} ${MAKE_ENV} ${GO_ENV} ${GO_CMD} install \
+ -ldflags="-X main.localbase=/usr/local" -v ${GO_TARGET})
+
+post-install:
+ @${CP} ${WRKSRC}/etc/paladin.conf.sample ${STAGEDIR}/${LOCALBASE}/etc/
+ @${CP} ${WRKSRC}/etc/rc.d/paladin ${STAGEDIR}/${LOCALBASE}/etc/rc.d/
+
+.include <bsd.port.mk>
Added: head/sysutils/paladin/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/paladin/distinfo Fri Jan 13 17:59:54 2017 (r431409)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1482315533
+SHA256 (rwestlund-paladin-1.0.0_GH0.tar.gz) = be39b3717818922a192886716e33e4a4fe6184264278ab6dece8f4d27127e873
+SIZE (rwestlund-paladin-1.0.0_GH0.tar.gz) = 615324
Added: head/sysutils/paladin/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/paladin/pkg-descr Fri Jan 13 17:59:54 2017 (r431409)
@@ -0,0 +1,3 @@
+Simple process supervisor.
+
+WWW: https://github.com/rwestlund/paladin
Added: head/sysutils/paladin/pkg-message
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/paladin/pkg-message Fri Jan 13 17:59:54 2017 (r431409)
@@ -0,0 +1,3 @@
+To run paladin:
+- Edit /usr/local/etc/paladin.conf
+- Add paladin_enable="YES" to /etc/rc.conf
Added: head/sysutils/paladin/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/paladin/pkg-plist Fri Jan 13 17:59:54 2017 (r431409)
@@ -0,0 +1,3 @@
+bin/paladin
+ at sample etc/paladin.conf.sample
+etc/rc.d/paladin
More information about the svn-ports-all
mailing list