From owner-svn-ports-head@FreeBSD.ORG Fri Oct 31 09:13:11 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B3F2B347; Fri, 31 Oct 2014 09:13:11 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 94632BA; Fri, 31 Oct 2014 09:13:11 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s9V9DB1V001055; Fri, 31 Oct 2014 09:13:11 GMT (envelope-from robak@FreeBSD.org) Received: (from robak@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s9V9DAXp001050; Fri, 31 Oct 2014 09:13:10 GMT (envelope-from robak@FreeBSD.org) Message-Id: <201410310913.s9V9DAXp001050@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: robak set sender to robak@FreeBSD.org using -f From: Bartek Rutkowski Date: Fri, 31 Oct 2014 09:13:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r371787 - in head/net: . motsognir motsognir/files 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.18-1 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, 31 Oct 2014 09:13:11 -0000 Author: robak Date: Fri Oct 31 09:13:09 2014 New Revision: 371787 URL: https://svnweb.freebsd.org/changeset/ports/371787 QAT: https://qat.redports.org/buildarchive/r371787/ Log: net/motsognir: NEW PORT - Full-featured gopher server without dependencies Motsognir is a robust, reliable and easy to install open-source gopher server for Unix-like systems (Linux, BSD, and anything else POSIX-compliant). The Motsognir gopher server is meant to be used for small projects (like home servers), but should scale well on bigger architectures as well. All the configuration is done via a single configuration file, which has very reasonable defaults. That makes Motsognir easily maintainable, and allows the administrator to have a full knowledge of what features are allowed/enabled on the server. Motsognir supports server-side CGI applications and PHP scripts, is plainly compatible with UTF-8 filesystems, and is entirely written in ANSI C without external dependencies. WWW: http://sourceforge.net/projects/motsognir PR: 184203 Submitted by: Mateusz Viste Approved by: mentors (implicit) Added: head/net/motsognir/ head/net/motsognir/Makefile (contents, props changed) head/net/motsognir/distinfo (contents, props changed) head/net/motsognir/files/ head/net/motsognir/files/motsognir.in (contents, props changed) head/net/motsognir/pkg-descr (contents, props changed) Modified: head/net/Makefile Modified: head/net/Makefile ============================================================================== --- head/net/Makefile Fri Oct 31 09:09:41 2014 (r371786) +++ head/net/Makefile Fri Oct 31 09:13:09 2014 (r371787) @@ -360,6 +360,7 @@ SUBDIR += morebalance SUBDIR += mosh SUBDIR += mosquitto + SUBDIR += motsognir SUBDIR += mpd-l2tp-ipv6pd-client SUBDIR += mpd5 SUBDIR += mpich Added: head/net/motsognir/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/motsognir/Makefile Fri Oct 31 09:13:09 2014 (r371787) @@ -0,0 +1,24 @@ +# $FreeBSD$ + +PORTNAME= motsognir +PORTVERSION= 1.0.5 +CATEGORIES= net +MASTER_SITES= SF/${PORTNAME}/v${PORTVERSION} + +MAINTAINER= mateusz@viste.fr +COMMENT= Full-featured gopher server without dependencies + +LICENSE= GPLv3 + +USE_RC_SUBR= motsognir + +PLIST_FILES= bin/motsognir \ + etc/motsognir.conf \ + man/man8/motsognir.8.gz + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/motsognir ${STAGEDIR}${PREFIX}/bin/motsognir + ${INSTALL_DATA} ${WRKSRC}/motsognir.conf ${STAGEDIR}${PREFIX}/etc/motsognir.conf + ${INSTALL_MAN} ${WRKSRC}/motsognir.8.gz ${STAGEDIR}${MANPREFIX}/man/man8/motsognir.8.gz + +.include Added: head/net/motsognir/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/motsognir/distinfo Fri Oct 31 09:13:09 2014 (r371787) @@ -0,0 +1,2 @@ +SHA256 (motsognir-1.0.5.tar.gz) = a4a88cccdeaf4289d796827a40d7b1a745f0225e6929186fd2ca0878698ac176 +SIZE (motsognir-1.0.5.tar.gz) = 992074 Added: head/net/motsognir/files/motsognir.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/motsognir/files/motsognir.in Fri Oct 31 09:13:09 2014 (r371787) @@ -0,0 +1,35 @@ +#!/bin/sh +# +# motsognir.sh for rc.d usage (c) 2013 Mateusz Viste. +# $Id$ + +# $FreeBSD$ +# +# PROVIDE: motsognir +# REQUIRE: DAEMON +# BEFORE: LOGIN +# KEYWORD: shutdown +# +# Add these lines to /etc/rc.conf.local or /etc/rc.conf +# to enable this service: +# +# motsognir_enable (bool): Set to NO by default. +# Set it to YES to enable motsognir. +# motsognir_config (path): Set to %%PREFIX%%/etc/motsognir.conf +# by default. + +. /etc/rc.subr + +name=motsognir +rcvar=motsognir_enable + +load_rc_config $name + +: ${motsognir_enable:="NO"} +: ${motsognir_config="%%PREFIX%%/etc/motsognir.conf"} + +command=%%PREFIX%%/bin/${name} + +command_args="--config $motsognir_config" + +run_rc_command "$1" Added: head/net/motsognir/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/motsognir/pkg-descr Fri Oct 31 09:13:09 2014 (r371787) @@ -0,0 +1,13 @@ +Motsognir is a robust, reliable and easy to install open-source gopher server +for Unix-like systems (Linux, BSD, and anything else POSIX-compliant). + +The Motsognir gopher server is meant to be used for small projects (like home +servers), but should scale well on bigger architectures as well. All the +configuration is done via a single configuration file, which has very +reasonable defaults. That makes Motsognir easily maintainable, and allows the +administrator to have a full knowledge of what features are allowed/enabled on +the server. Motsognir supports server-side CGI applications and PHP scripts, is +plainly compatible with UTF-8 filesystems, and is entirely written in ANSI C +without external dependencies. + +WWW: http://sourceforge.net/projects/motsognir