pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/Geomyidae Import Geomyidae version 0.11.
details: https://anonhg.NetBSD.org/pkgsrc/rev/cf06fcdb2ad9
branches: trunk
changeset: 540684:cf06fcdb2ad9
user: obache <obache%pkgsrc.org@localhost>
date: Sun Apr 06 11:50:36 2008 +0000
description:
Import Geomyidae version 0.11.
Based on packaged by Jeff Woodall and provided in PR 38261.
Geomyidae is a daemon for serving the protocol specified in RFC
1436 (Gopher). Under 1000 lines of C by design, it is lightweight
yet supports dynamic content, automatic file/directory indexing,
logging and privilege separation.
diffstat:
net/Geomyidae/DESCR | 4 ++
net/Geomyidae/MESSAGE | 9 ++++++
net/Geomyidae/Makefile | 30 ++++++++++++++++++++
net/Geomyidae/PLIST | 9 ++++++
net/Geomyidae/distinfo | 5 +++
net/Geomyidae/files/Geomyidae.sh | 59 ++++++++++++++++++++++++++++++++++++++++
6 files changed, 116 insertions(+), 0 deletions(-)
diffs (140 lines):
diff -r 77c79daa9eb0 -r cf06fcdb2ad9 net/Geomyidae/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/Geomyidae/DESCR Sun Apr 06 11:50:36 2008 +0000
@@ -0,0 +1,4 @@
+Geomyidae is a daemon for serving the protocol specified in RFC
+1436 (Gopher). Under 1000 lines of C by design, it is lightweight
+yet supports dynamic content, automatic file/directory indexing,
+logging and privilege separation.
diff -r 77c79daa9eb0 -r cf06fcdb2ad9 net/Geomyidae/MESSAGE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/Geomyidae/MESSAGE Sun Apr 06 11:50:36 2008 +0000
@@ -0,0 +1,9 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2008/04/06 11:50:36 obache Exp $
+
+Geomyidae options can be specified in referenced rc.d startup script;
+see ${PREFIX}/share/examples/rc.d/Geomyidae for details.
+
+For documentation, license, and examples see Geomyidae(8) and/or
+${PREFIX}/share/{doc,examples}/Geomyidae/
+===========================================================================
diff -r 77c79daa9eb0 -r cf06fcdb2ad9 net/Geomyidae/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/Geomyidae/Makefile Sun Apr 06 11:50:36 2008 +0000
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/04/06 11:50:36 obache Exp $
+#
+
+DISTNAME= Geomyidae-0.11
+CATEGORIES= net
+MASTER_SITES= http://www.r-36.net/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= jgw%freeshell.org@localhost
+HOMEPAGE= http://www.r-36.net/
+COMMENT= Gopher daemon for Linux/BSD
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+NO_CONFIGURE= yes
+
+EGDIR= ${PREFIX}/share/examples/Geomyidae
+DOCDIR= ${PREFIX}/share/doc/Geomyidae
+RCD_SCRIPTS= Geomyidae
+
+INSTALLATION_DIRS= sbin ${PKGMANDIR}/man8 ${EGDIR} ${DOCDIR}
+
+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}/LICENSE ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/index.gph ${DESTDIR}${EGDIR}
+
+.include "../../mk/bsd.pkg.mk"
diff -r 77c79daa9eb0 -r cf06fcdb2ad9 net/Geomyidae/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/Geomyidae/PLIST Sun Apr 06 11:50:36 2008 +0000
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/04/06 11:50:36 obache Exp $
+man/man8/Geomyidae.8
+sbin/Geomyidae
+share/doc/Geomyidae/LICENSE
+share/doc/Geomyidae/README
+share/examples/Geomyidae/index.gph
+share/examples/rc.d/Geomyidae
+@dirrm share/examples/Geomyidae
+@dirrm share/doc/Geomyidae
diff -r 77c79daa9eb0 -r cf06fcdb2ad9 net/Geomyidae/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/Geomyidae/distinfo Sun Apr 06 11:50:36 2008 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/04/06 11:50:36 obache Exp $
+
+SHA1 (Geomyidae-0.11.tgz) = 826a567a98014dc25a445ee70dbaed32010ff829
+RMD160 (Geomyidae-0.11.tgz) = ba5cf61add992dfcc32c6fc6f2ad09e6076c7499
+Size (Geomyidae-0.11.tgz) = 10777 bytes
diff -r 77c79daa9eb0 -r cf06fcdb2ad9 net/Geomyidae/files/Geomyidae.sh
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/Geomyidae/files/Geomyidae.sh Sun Apr 06 11:50:36 2008 +0000
@@ -0,0 +1,59 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: Geomyidae.sh,v 1.1.1.1 2008/04/06 11:50:36 obache Exp $
+#
+
+# PROVIDE: Geomyidae
+# REQUIRE: DAEMON
+# BEFORE: LOGIN
+
+$_rc_subr_loaded . /etc/rc.subr
+#. /etc/rc.subr
+
+name="Geomyidae"
+rcvar="$name"
+command="@PREFIX@/sbin/$name"
+
+#####################################################
+# Geomyidae Options Setion - "?" => Geomyidae(8) #
+# Uncomment & define options (defaults are shown) #
+#####################################################
+#
+#LOGFILE="-l /var/log/gopherd.log"
+#LOGLEVEL="-v 7"
+#HTDOCS="-b /var/gopher"
+#PORT="-p 70"
+#SPORT="-o 70"
+#USR="-u $USER"
+#GRP="-g $GROUP"
+#HOST="-h localhost"
+#IP="-i 127.0.0.1"
+
+######################################################
+# Now remove any UNDEFINED options from line below: #
+######################################################
+#
+command_args="$LOGFILE $LOGLEVEL $HTDOCS $PORT $SPORT $USR $GRP $HOST $IP"
+
+
+######################################################
+# Uncomment this section if a PID file is desired #
+######################################################
+#
+#pidfile="/var/run/${name}.pid"
+#start_cmd="Geomyidae_start"
+#
+#Geomyidae_start()
+#{
+# echo "Starting $name"
+# $name $command_args
+# pgrep -x $name > $pidfile
+#}
+
+######################################################
+# Lastly, add the following to /etc/rc.conf: #
+# "Geomyidae=YES" (without the quotes) #
+######################################################
+
+load_rc_config $name
+run_rc_command "$1"
Home |
Main Index |
Thread Index |
Old Index