move in.gophernicus to libexec where it fits better

ok aja@
This commit is contained in:
jasper 2015-12-31 07:49:28 +00:00
parent f06b479ec1
commit 4f0868fbef
3 changed files with 7 additions and 6 deletions

View File

@ -1,7 +1,8 @@
# $OpenBSD: Makefile,v 1.12 2015/12/30 16:56:45 jasper Exp $
# $OpenBSD: Makefile,v 1.13 2015/12/31 07:49:28 jasper Exp $
COMMENT= modern gopher server
DISTNAME= gophernicus-1.8.1
REVISION= 0
CATEGORIES= net
HOMEPAGE= http://gophernicus.org
@ -17,7 +18,7 @@ MAKE_FLAGS= CC="${CC}" CFLAGS="${CFLAGS}"
NO_TEST= Yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/in.gophernicus ${PREFIX}/sbin
${INSTALL_PROGRAM} ${WRKSRC}/in.gophernicus ${PREFIX}/libexec
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gophernicus
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gophernicus
cd ${WRKSRC} && ${INSTALL_DATA} LICENSE README INSTALL \

View File

@ -1,7 +1,7 @@
@comment $OpenBSD: PLIST,v 1.1.1.2 2012/09/25 12:12:33 sthen Exp $
@comment $OpenBSD: PLIST,v 1.2 2015/12/31 07:49:28 jasper Exp $
@newgroup _gophernicus:704
@newuser _gophernicus:704:704:daemon:Gophernicus Gopher Server:/nonexistent:/sbin/nologin
@bin sbin/in.gophernicus
@bin libexec/in.gophernicus
share/doc/gophernicus/
share/doc/gophernicus/ChangeLog
share/doc/gophernicus/INSTALL

View File

@ -1,4 +1,4 @@
$OpenBSD: README,v 1.3 2014/07/10 13:09:06 ajacoutot Exp $
$OpenBSD: README,v 1.4 2015/12/31 07:49:28 jasper Exp $
+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
@ -10,7 +10,7 @@ Setting up a gopher site
After installing the gophernicus package, edit /etc/inetd.conf and add
the following, all on one line:
gopher stream tcp nowait _gophernicus ${TRUEPREFIX}/sbin/in.gophernicus in.gophernicus -h "hostname"
gopher stream tcp nowait _gophernicus ${TRUEPREFIX}/libexec/in.gophernicus in.gophernicus -h "hostname"
Replace "hostname" with the system's hostname, this should be valid
and resolvable as it is used to construct links.