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@viste.fr> Approved by: mentors (implicit)
This commit is contained in:
parent
cb155323f0
commit
2ff7eaddcc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=371787
@ -360,6 +360,7 @@
|
|||||||
SUBDIR += morebalance
|
SUBDIR += morebalance
|
||||||
SUBDIR += mosh
|
SUBDIR += mosh
|
||||||
SUBDIR += mosquitto
|
SUBDIR += mosquitto
|
||||||
|
SUBDIR += motsognir
|
||||||
SUBDIR += mpd-l2tp-ipv6pd-client
|
SUBDIR += mpd-l2tp-ipv6pd-client
|
||||||
SUBDIR += mpd5
|
SUBDIR += mpd5
|
||||||
SUBDIR += mpich
|
SUBDIR += mpich
|
||||||
|
24
net/motsognir/Makefile
Normal file
24
net/motsognir/Makefile
Normal file
@ -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 <bsd.port.mk>
|
2
net/motsognir/distinfo
Normal file
2
net/motsognir/distinfo
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
SHA256 (motsognir-1.0.5.tar.gz) = a4a88cccdeaf4289d796827a40d7b1a745f0225e6929186fd2ca0878698ac176
|
||||||
|
SIZE (motsognir-1.0.5.tar.gz) = 992074
|
35
net/motsognir/files/motsognir.in
Normal file
35
net/motsognir/files/motsognir.in
Normal file
@ -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"
|
13
net/motsognir/pkg-descr
Normal file
13
net/motsognir/pkg-descr
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user