# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # motsognir # motsognir/pkg-descr # motsognir/pkg-plist # motsognir/files # motsognir/files/patch-motsognir.c # motsognir/distinfo # motsognir/Makefile # echo c - motsognir mkdir -p motsognir > /dev/null 2>&1 echo x - motsognir/pkg-descr sed 's/^X//' >motsognir/pkg-descr << 'd0c9e09b75b61bf1d209cc703bcba5dc' XMotsognir is a robust, reliable and easy to install open-source gopher server Xfor Unix-like systems (Linux, BSD, and anything else POSIX-compliant). X XThe Motsognir gopher server is meant to be used for small projects (like home Xservers), but should scale well on bigger architectures as well. All the Xconfiguration is done via a single configuration file, which has very Xreasonable defaults. That makes Motsognir easily maintainable, and allows the Xadministrator to have a full knowledge of what features are allowed/enabled on Xthe server. Motsognir supports server-side CGI applications and PHP scripts, is Xplainly compatible with UTF-8 filesystems, and is entirely written in ANSI C Xwithout external dependencies. X XWWW: http://sourceforge.net/projects/motsognir d0c9e09b75b61bf1d209cc703bcba5dc echo x - motsognir/pkg-plist sed 's/^X//' >motsognir/pkg-plist << '9a9cdee40392062fc1c975c7489d4721' Xbin/motsognir Xetc/motsognir.conf Xetc/rc.d/motsognir 9a9cdee40392062fc1c975c7489d4721 echo c - motsognir/files mkdir -p motsognir/files > /dev/null 2>&1 echo x - motsognir/files/patch-motsognir.c sed 's/^X//' >motsognir/files/patch-motsognir.c << '17370d5f321fc0c2d5c6a10fa0202e6b' X--- motsognir.c.ori 2014-03-15 19:41:28.000000000 +0100 X+++ motsognir.c 2014-10-23 23:25:56.694507268 +0200 X@@ -1264,7 +1264,7 @@ X char remoteclientaddr[64]; X char *srvsideparams; X char gophertype; X- char *configfile = "/etc/motsognir.conf"; X+ char *configfile = "/usr/local/etc/motsognir.conf"; X int sock; X struct MotsognirConfig config; X time_t StartTime; 17370d5f321fc0c2d5c6a10fa0202e6b echo x - motsognir/distinfo sed 's/^X//' >motsognir/distinfo << '606e561e826c1cfc1fab36845683cbf7' XSHA256 (motsognir-1.0.5.tar.gz) = a4a88cccdeaf4289d796827a40d7b1a745f0225e6929186fd2ca0878698ac176 XSIZE (motsognir-1.0.5.tar.gz) = 992074 606e561e826c1cfc1fab36845683cbf7 echo x - motsognir/Makefile sed 's/^X//' >motsognir/Makefile << '980633cbb8d564fafb33bc7e934a7250' X# $FreeBSD$ X XPORTNAME= motsognir XPORTVERSION= 1.0.5 XCATEGORIES= net XMASTER_SITES= SF/${PORTNAME}/v${PORTVERSION} X XMAINTAINER= mateusz@viste.fr XCOMMENT= Full-featured gopher server without dependencies X XLICENSE= GPLv3 X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/motsognir ${STAGEDIR}${PREFIX}/bin/motsognir X ${INSTALL_DATA} ${WRKSRC}/motsognir.conf ${STAGEDIR}${PREFIX}/etc/motsognir.conf X ${INSTALL_SCRIPT} ${WRKSRC}/rc_d_motsognir ${STAGEDIR}${PREFIX}/etc/rc.d/motsognir X X.include 980633cbb8d564fafb33bc7e934a7250 exit