Fri Aug 10 10:41:20 2018 UTC ()
Geomyidae: Update net/Geomyidae to 0.32.2

pkgsrc changes:
 - Update DISTNAME, PKGNAME, MASTER_SITES and HOMEPAGE
 - Take MAINTAINERship (discussed via private email with previous MAINTAINER)
 - Remove (not so useful) MESSAGE
 - Avoid NO_CONFIGURE=yes, also if a package does not provide a configure script
   it is not needed and can lead to confusion due the several configure targets
   that are removed
 - Add several variable to BUILD_DEFS
 - Honor GEOMYIDAE_USER, GEOMYIDAE_GROUP and GEOMYIDAE_ROOTDIR variables that
   will respectively set the default user, group and rootdir of geomyidae
 - Instead of copypasting several rc scripts write a new one ad-hoc for pkgsrc
   that by default will run geomyidae unprivileged honoring the several
   GEOMYIDAE_* variables.
   If `geomyidae_flags' is defined in rc.conf these defaults are ignored.
 - Do not install a LICENSE file (we have the LICENSE variable for it!)

Changes:
Geomyidae v0.32.2 fixes release
-------------------------------
Another fixes release for geomyidae is out. Now hopefully the OpenBSD people
fixed the whole pledge support in geomyidae.

Geomyidae v0.32.1 fixes release
-------------------------------
Soon after the v0.32 release I received patches, which I do not want to miss
in mainline.

* Fix and make OpenBSD pledge support better.
* Fix a typo in the slackware init script.

Thanks for all who sent in patches! All further patches are welcome!

Geomyidae v0.32 Release
-----------------------
I am glad to announce the release of geomyidae v0.32. Thanks to all the
contributors and people giving ideas!

Here is what changed:
        * Minor fixed in the manpage, CGI handling and tools.
        * Add example for tt escaping in the manpage.
        * Add nocgi flag, which disables CGI execution.
        * Add OpenBSD pledge support.

Geomyidae v0.31.1 release
-------------------------

There has been a geomyidae v0.31.1 release which fixes a major issue of the
pending bytes logic from v0.31.

Have fun!

Geomyidae v0.31 release
-----------------------
I  am proud to announce the geomyidae v0.31 release. There were
some major issues fixed, so a new release is necessary:

* There is now gph vim syntax highlighting files in the archive.
* Gopher+ compatibility mode.
* No sockets are left behind anymore.
* New log format of geomyidae is now documented in the manpage.
* There was some ugly bug with curl connecting to a Linux system, where after
  close() some bytes were lost. Now some check is added to be sure all data
  has been sent to the client. If you want to have bad dreams, look at the
  curl sourcecode.

Thanks for everyone contributing!

Geomyidae v0.30 release
-----------------------
What is new?

 * The gph format now allows escaping of '|' characters. See the example
   index.gph file in the distribution for how to or the manpage.
 * Geomyidae has happy helping snowman support to help you with your dynamic
   gph content generation in geomyidae. In case you add some spurious tab,
   this little guy will appear and inform you about what happened.
 * There is now a Links file for links to software related to application
   development for geomyidae.
 * The gentoo init.d script has been fixed.
 * A slackware rc file was added.
 * The makefile is now POSIX-compliant.
 * The log format has been changed to be easier parsable for all kind of log
   analyzers. (`[YYYY-MM-DD HH:mm:SS +ZZZZ|client|clientport|status] selector')
 * A flag to not perform reverse lookups in log files has been added.
 * Implement some CGI variables for cgi and dcgi. See the manpage for which
   ones are available. Here you can see REMOTE_ADDR in action:

        gopher://bitreich.org/0/ip

Geomyidae 0.29 release
----------------------
I am happy to announce the 0.29 release of geomyidae, a simple gopher server.
What has been changed:

* the OpenBSD rc.d files have been fixed due to arg.h fixes
* index.bin support added
        * Create a file with the raw gopher menu content in a directory and is
          served by geomyidae.
        * This is useful for scripts generating static gopher content
        * This is useful for serving a backup of a gopherhole.
* show errors on fork, in case there are constraints on process resources
* care for send errors
* huge speed up on different platforms when transferring huge binary files
        * Linux is using sendfile(2) and TCP_CORK
        * FreeBSD and DragonflyBSD are using sendfile(2)
        * TCP_NOPUSH is used on all BSDs
        * TCP_NODELAY is disabled on nearly all platforms
        * other platforms (like OpenBSD) have a speed increase due to an
          alignment of the send buffer to blocksize of the socket

I want to thank all contributors! All patches are welcome!

Geomyidae 0.28 release
----------------------
What's new in geomyidae?

  * The parsing of gph files is now more liberal. When you do something wrong,
    it will most of the time just display the line.
  * DCGI speed was increased massively.
  * Error messages are now more useful.
  * More files are now handled as text files automatically.
  * The OpenBSD rc.d file was fixed to modern days.
  * Typos have been fixed.

Geomyidae 0.27 release
----------------------
I am proud to announce the 0.27 release of geomyidae.

 * dramatic improvement of serving speed
 * security fixes
 * a OpenBSD rc.d file was added
 * the manpage has been updated to the current state
 * there is no support for index.gph, index.dcgi and index.cgi,
   which helps to write more REST-friendly apps

I want to thank all contributors. All patches are welcome!


(leot)
diff -r1.2 -r0 pkgsrc/net/Geomyidae/MESSAGE
diff -r1.8 -r1.9 pkgsrc/net/Geomyidae/Makefile
diff -r1.4 -r1.5 pkgsrc/net/Geomyidae/PLIST
diff -r1.5 -r1.6 pkgsrc/net/Geomyidae/distinfo
diff -r0 -r1.1 pkgsrc/net/Geomyidae/files/geomyidae.sh

File Deleted: pkgsrc/net/Geomyidae/Attic/MESSAGE

cvs diff -r1.8 -r1.9 pkgsrc/net/Geomyidae/Makefile (expand / switch to unified diff)

--- pkgsrc/net/Geomyidae/Makefile 2017/08/01 17:40:14 1.8
+++ pkgsrc/net/Geomyidae/Makefile 2018/08/10 10:41:20 1.9
@@ -1,30 +1,50 @@ @@ -1,30 +1,50 @@
1# $NetBSD: Makefile,v 1.8 2017/08/01 17:40:14 wiz Exp $ 1# $NetBSD: Makefile,v 1.9 2018/08/10 10:41:20 leot Exp $
2 2
3DISTNAME= geomyidae-0.26.3 3DISTNAME= geomyidae-v0.32.2
 4PKGNAME= ${DISTNAME:S/-v/-/}
4CATEGORIES= net 5CATEGORIES= net
5#MASTER_SITES= http://r-36.net/src/geomyidae/ 6MASTER_SITES= ftp://bitreich.org/releases/geomyidae/
 7EXTRACT_SUFX= .tgz
6 8
7MAINTAINER= jgw@sdf.org 9MAINTAINER= leot@NetBSD.org
8#HOMEPAGE= http://r-36.net/src/geomyidae/ 10HOMEPAGE= gopher://bitreich.org/1/scm/geomyidae
9COMMENT= Gopher daemon for Linux/BSD 11COMMENT= Gopher daemon for Linux/BSD
10LICENSE= mit AND x11 12LICENSE= mit AND x11
11 13
12NO_CONFIGURE= yes 14BUILD_DEFS+= VARBASE GEOMYIDAE_USER GEOMYIDAE_GROUP GEOMYIDAE_ROOTDIR
 15FILES_SUBST+= GEOMYIDAE_USER=${GEOMYIDAE_USER} GEOMYIDAE_GROUP=${GEOMYIDAE_GROUP}
 16FILES_SUBST+= GEOMYIDAE_ROOTDIR=${GEOMYIDAE_ROOTDIR}
13 17
14EGDIR= ${PREFIX}/share/examples/geomyidae 18EGDIR= ${PREFIX}/share/examples/geomyidae
15DOCDIR= ${PREFIX}/share/doc/geomyidae 19DOCDIR= ${PREFIX}/share/doc/geomyidae
16 20
17INSTALLATION_DIRS= sbin ${PKGMANDIR}/man8 ${EGDIR} ${EGDIR}/rc.d ${DOCDIR} 21GEOMYIDAE_USER?= geomyidae
 22GEOMYIDAE_GROUP?= nobody
 23GEOMYIDAE_ROOTDIR?= ${VARBASE}/gopher
18 24
19LDFLAGS.SunOS+= -lsocket -lnsl 25PKG_GROUPS= ${GEOMYIDAE_GROUP}
 26PKG_USERS= ${GEOMYIDAE_USER}:${GEOMYIDAE_GROUP}
 27
 28OWN_DIRS+= ${GEOMYIDAE_ROOTDIR}
 29OWN_DIRS+= ${VARBASE}/run/geomyidae
 30
 31RCD_SCRIPTS= geomyidae
 32
 33SUBST_CLASSES+= rootdir
 34SUBST_MESSAGE.rootdir= Adjust rootdir
 35SUBST_STAGE.rootdir= pre-configure
 36SUBST_FILES.rootdir= main.c
 37SUBST_SED.rootdir= -e 's;/var/gopher;${GEOMYIDAE_ROOTDIR};'
 38
 39INSTALLATION_DIRS= sbin ${PKGMANDIR}/man8 ${EGDIR} ${DOCDIR}
 40
 41LDFLAGS.SunOS+= -lsocket -lnsl
20 42
21do-install: 43do-install:
22 ${INSTALL_PROGRAM} ${WRKSRC}/geomyidae ${DESTDIR}${PREFIX}/sbin 44 ${INSTALL_PROGRAM} ${WRKSRC}/geomyidae ${DESTDIR}${PREFIX}/sbin
23 ${INSTALL_MAN} ${WRKSRC}/geomyidae.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8 45 ${INSTALL_MAN} ${WRKSRC}/geomyidae.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
24 ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${DOCDIR} 46 ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${DOCDIR}
25 ${INSTALL_DATA} ${WRKSRC}/CGI ${DESTDIR}${DOCDIR} 47 ${INSTALL_DATA} ${WRKSRC}/CGI ${DESTDIR}${DOCDIR}
26 ${INSTALL_DATA} ${WRKSRC}/LICENSE ${DESTDIR}${DOCDIR} 
27 ${INSTALL_DATA} ${WRKSRC}/index.gph ${DESTDIR}${EGDIR} 48 ${INSTALL_DATA} ${WRKSRC}/index.gph ${DESTDIR}${EGDIR}
28 ${INSTALL_DATA} ${WRKSRC}/rc.d/* ${DESTDIR}${EGDIR}/rc.d 
29 49
30.include "../../mk/bsd.pkg.mk" 50.include "../../mk/bsd.pkg.mk"

cvs diff -r1.4 -r1.5 pkgsrc/net/Geomyidae/PLIST (expand / switch to unified diff)

--- pkgsrc/net/Geomyidae/PLIST 2015/04/19 19:21:15 1.4
+++ pkgsrc/net/Geomyidae/PLIST 2018/08/10 10:41:20 1.5
@@ -1,13 +1,6 @@ @@ -1,13 +1,6 @@
1@comment $NetBSD: PLIST,v 1.4 2015/04/19 19:21:15 wiz Exp $ 1@comment $NetBSD: PLIST,v 1.5 2018/08/10 10:41:20 leot Exp $
2man/man8/geomyidae.8 2man/man8/geomyidae.8
3sbin/geomyidae 3sbin/geomyidae
4share/doc/geomyidae/CGI 4share/doc/geomyidae/CGI
5share/doc/geomyidae/LICENSE 
6share/doc/geomyidae/README 5share/doc/geomyidae/README
7share/examples/geomyidae/index.gph 6share/examples/geomyidae/index.gph
8share/examples/geomyidae/rc.d/Archlinux.conf.d 
9share/examples/geomyidae/rc.d/Archlinux.rc.d 
10share/examples/geomyidae/rc.d/Gentoo.conf.d 
11share/examples/geomyidae/rc.d/Gentoo.init.d 
12share/examples/geomyidae/rc.d/NetBSD.rc.d 
13share/examples/geomyidae/rc.d/README 

cvs diff -r1.5 -r1.6 pkgsrc/net/Geomyidae/distinfo (expand / switch to unified diff)

--- pkgsrc/net/Geomyidae/distinfo 2015/11/04 00:34:51 1.5
+++ pkgsrc/net/Geomyidae/distinfo 2018/08/10 10:41:20 1.6
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.5 2015/11/04 00:34:51 agc Exp $ 1$NetBSD: distinfo,v 1.6 2018/08/10 10:41:20 leot Exp $
2 2
3SHA1 (geomyidae-0.26.3.tar.gz) = 7eb018bb7436f9f2ae4e3123bb8d11f69085bb01 3SHA1 (geomyidae-v0.32.2.tgz) = cf7e947cdbcc3aa050e474595e728c773733e23e
4RMD160 (geomyidae-0.26.3.tar.gz) = d5d843ee0f498972eb72f9f663eb550a2b3e7a31 4RMD160 (geomyidae-v0.32.2.tgz) = 48c80bf1f1b2c4126c461a84674d58030ca0aba7
5SHA512 (geomyidae-0.26.3.tar.gz) = fcee0133547881f6df173a24eac0fd3007436365375f11c572c50cf2e77c2033d441209f7f20dab1d291b0e9305de245da409351a02df4ca92d7b158768424b3 5SHA512 (geomyidae-v0.32.2.tgz) = 3b0927a16082df862b9efacc2f29fd1b1ca76f7d465426e179d5995a416bc27b518daba422512091304ed5479ff133e3d40f7bf66aedfbd8d99d13710809d519
6Size (geomyidae-0.26.3.tar.gz) = 15556 bytes 6Size (geomyidae-v0.32.2.tgz) = 20897 bytes

File Added: pkgsrc/net/Geomyidae/files/geomyidae.sh
#!@RCD_SCRIPTS_SHELL@

# PROVIDE: geomyidae
# REQUIRE: DAEMON

if [ -f /etc/rc.subr ]; then
	. /etc/rc.subr
fi

name="geomyidae"
rcvar=$name
command="@PREFIX@/sbin/geomyidae"

geomyidae_flags=${geomyidae_flags-"-u @GEOMYIDAE_USER@ -g @GEOMYIDAE_GROUP@ -b @GEOMYIDAE_ROOTDIR@"}

if [ -f /etc/rc.subr ]; then
	load_rc_config $name
	run_rc_command "$1"
else
	echo -n "${name}"
	${command} ${geomyidae_flags} ${command_args} 
fi