From owner-svn-ports-head@freebsd.org Fri Jan 13 17:59:56 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 733F5CAE306; Fri, 13 Jan 2017 17:59:56 +0000 (UTC) (envelope-from rakuco@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4B1F419FA; Fri, 13 Jan 2017 17:59:56 +0000 (UTC) (envelope-from rakuco@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v0DHxtRs085754; Fri, 13 Jan 2017 17:59:55 GMT (envelope-from rakuco@FreeBSD.org) Received: (from rakuco@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v0DHxsXr085748; Fri, 13 Jan 2017 17:59:54 GMT (envelope-from rakuco@FreeBSD.org) Message-Id: <201701131759.v0DHxsXr085748@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rakuco set sender to rakuco@FreeBSD.org using -f From: Raphael Kubo da Costa Date: Fri, 13 Jan 2017 17:59:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r431409 - in head/sysutils: . paladin X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jan 2017 17:59:56 -0000 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 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@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 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 +@sample etc/paladin.conf.sample +etc/rc.d/paladin