14a7c51ce4
Changes: Geomyidae v0.34 Release »Above the Oceans« ------------------------------------------ I am proud to announce the v0.34 release of geomyidae! It is named »Above the Oceans«, because it is released 11km above the Atlantic Ocean. I can't see whales from here. Why a new release in such a short time? In geomyidae v0.33 is a nasty listening bug, so do not use it. What has changed from v0.33 v0.34: * There is finally a multi-listening implementation, which allows constant behaviour of IPv6 and IPv4 across all platforms, including the BSDs. # bind to 0.0.0.0 and :: on port 7070 geomyidae -b $(pwd) -p 7070 -d # bind to :: only on port 7070 geomyidae -6 -b $(pwd) -p 7070 -d # bind to the IPv4 address of some interface only geomyidae -4 -b $(pwd) -i google.com # bind to IPv6 and IPv4 of many interfaces geomyidae -b $(pwd) -i google.com -i google.de -i nsa.gov Geomyidae v0.33 Release ----------------------- I am proud to announce the v0.33 release of geomyidae! What has changed: * More links for geomyidae resources. * Fixes in error messages. They now show useful messages. * Do not exit on SIGHUP. (Fix for OpenBSD startup.) * Fix of some memory leaks. * Relative path support in gph files! * This will make portable CGI applications easier possible. * This is now possible: [1|Some Cool Menu|../cool/menu|server|port] * Fix to set the gph replacement port. * Fix some IPv6 binding issues. * Some separate binding for BSDs is still in the works. * Manpage has been beautified. * '/' is now stripped from base path. I want to thank all contributors! You are making gopher better!
50 lines
1.5 KiB
Makefile
50 lines
1.5 KiB
Makefile
# $NetBSD: Makefile,v 1.12 2018/11/16 12:31:52 leot Exp $
|
|
|
|
DISTNAME= geomyidae-v0.34
|
|
PKGNAME= ${DISTNAME:S/-v/-/}
|
|
CATEGORIES= net
|
|
MASTER_SITES= ftp://bitreich.org/releases/geomyidae/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= leot@NetBSD.org
|
|
HOMEPAGE= gopher://bitreich.org/1/scm/geomyidae
|
|
COMMENT= Gopher daemon for Linux/BSD
|
|
LICENSE= mit
|
|
|
|
BUILD_DEFS+= VARBASE GEOMYIDAE_USER GEOMYIDAE_GROUP GEOMYIDAE_ROOTDIR
|
|
FILES_SUBST+= GEOMYIDAE_USER=${GEOMYIDAE_USER} GEOMYIDAE_GROUP=${GEOMYIDAE_GROUP}
|
|
FILES_SUBST+= GEOMYIDAE_ROOTDIR=${GEOMYIDAE_ROOTDIR}
|
|
|
|
EGDIR= ${PREFIX}/share/examples/geomyidae
|
|
DOCDIR= ${PREFIX}/share/doc/geomyidae
|
|
|
|
GEOMYIDAE_USER?= geomyidae
|
|
GEOMYIDAE_GROUP?= nobody
|
|
GEOMYIDAE_ROOTDIR?= ${VARBASE}/gopher
|
|
|
|
PKG_GROUPS= ${GEOMYIDAE_GROUP}
|
|
PKG_USERS= ${GEOMYIDAE_USER}:${GEOMYIDAE_GROUP}
|
|
|
|
OWN_DIRS+= ${GEOMYIDAE_ROOTDIR}
|
|
OWN_DIRS+= ${VARBASE}/run/geomyidae
|
|
|
|
RCD_SCRIPTS= geomyidae
|
|
|
|
SUBST_CLASSES+= rootdir
|
|
SUBST_MESSAGE.rootdir= Adjust rootdir
|
|
SUBST_STAGE.rootdir= pre-configure
|
|
SUBST_FILES.rootdir= main.c
|
|
SUBST_SED.rootdir= -e 's;/var/gopher;${GEOMYIDAE_ROOTDIR};'
|
|
|
|
INSTALLATION_DIRS= sbin ${PKGMANDIR}/man8 ${EGDIR} ${DOCDIR}
|
|
|
|
LDFLAGS.SunOS+= -lsocket -lnsl
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/geomyidae ${DESTDIR}${PREFIX}/sbin
|
|
${INSTALL_MAN} ${WRKSRC}/geomyidae.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${DOCDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/CGI ${DESTDIR}${DOCDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/index.gph ${DESTDIR}${EGDIR}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|