svn commit: r371787 - in head/net: . motsognir motsognir/files
Bartek Rutkowski
robak at FreeBSD.org
Fri Oct 31 09:13:11 UTC 2014
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 <mateusz at viste.fr>
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 at 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 <bsd.port.mk>
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
More information about the svn-ports-head
mailing list