Hi,
Here's an update to gophernicus-3.0.1.
Notes:
- I had to switch to GH_* as the old download URL no longer hosts
tarballs, and I was unable to get a tarball from github itself.
However, I'd appreciate it if someone could check the latter.
- This release does *not* use unveil(2) and pledge(2), but the next
release will.
OK?
Index: Makefile
===================================================================
RCS file: /cvs/ports/net/gophernicus/Makefile,v
retrieving revision 1.18
diff -u -p -r1.18 Makefile
--- Makefile 12 Jul 2019 20:48:27 -0000 1.18
+++ Makefile 29 Jan 2020 15:12:52 -0000
@@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.18 2019/07/12 20:48:27 sthen Exp $
COMMENT= modern gopher server
-DISTNAME= gophernicus-2.5
+V = 3.0.1
+DISTNAME= gophernicus-${V}
CATEGORIES= net
-REVISION= 0
HOMEPAGE= gopher://gophernicus.org/
MAINTAINER = Brian Callahan <[email protected]>
@@ -13,17 +13,19 @@ PERMIT_PACKAGE= Yes
WANTLIB += c
-MASTER_SITES= http://gophernicus.org/software/gophernicus/
+GH_ACCOUNT = gophernicus
+GH_PROJECT = gophernicus
+GH_TAGNAME = v${V}
MAKE_FLAGS= CC="${CC}" CFLAGS="${CFLAGS}"
NO_TEST= Yes
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/in.gophernicus ${PREFIX}/libexec
+ ${INSTALL_PROGRAM} ${WRKSRC}/gophernicus
${PREFIX}/libexec/in.gophernicus
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gophernicus
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gophernicus
- cd ${WRKSRC} && ${INSTALL_DATA} LICENSE README INSTALL \
- TODO ChangeLog README.Gophermap gophertag \
+ cd ${WRKSRC} && ${INSTALL_DATA} LICENSE README INSTALL.md \
+ TODO README.Gophermap gophertag \
${PREFIX}/share/doc/gophernicus/
cd ${WRKSRC} && ${INSTALL_DATA} gophermap \
${PREFIX}/share/examples/gophernicus/
Index: distinfo
===================================================================
RCS file: /cvs/ports/net/gophernicus/distinfo,v
retrieving revision 1.9
diff -u -p -r1.9 distinfo
--- distinfo 1 Jul 2017 20:12:31 -0000 1.9
+++ distinfo 29 Jan 2020 13:29:20 -0000
@@ -1,2 +1,2 @@
-SHA256 (gophernicus-2.5.tar.gz) = ZRu3ZzJhrVUCKAPypMJUiu+ohiojIM301kwyEinl1Zo=
-SIZE (gophernicus-2.5.tar.gz) = 51710
+SHA256 (gophernicus-3.0.1.tar.gz) =
Fl/SrU+wY430FHFJa7rGgiA6FdBdX3RhiFhYFyE4vJY=
+SIZE (gophernicus-3.0.1.tar.gz) = 52525
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/net/gophernicus/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -r1.3 PLIST
--- pkg/PLIST 4 Sep 2018 12:46:17 -0000 1.3
+++ pkg/PLIST 29 Jan 2020 13:31:37 -0000
@@ -3,8 +3,7 @@
@newuser _gophernicus:704:704:daemon:Gophernicus Gopher
Server:/nonexistent:/sbin/nologin
@bin libexec/in.gophernicus
share/doc/gophernicus/
-share/doc/gophernicus/ChangeLog
-share/doc/gophernicus/INSTALL
+share/doc/gophernicus/INSTALL.md
share/doc/gophernicus/LICENSE
share/doc/gophernicus/README
share/doc/gophernicus/README.Gophermap
--
Best Regards
Edd Barrett
http://www.theunixzoo.co.uk