Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
NDTPD is a server for accessing CD-ROM books with NDTP (Network
Dictionary Transfer Protocol) on TCP. You can replace dserver with
NDTPD. NDTPD can run on UNIX derived systems. It supports access
to CD-ROM books in EB, EBG, EBXA, and EPWING formats. CD-ROM books
of those formats are popular in Japan. Since CD-ROM books themselves
are in ISO 9660 format, you can mount the discs in the same way as
other ISO 9660 discs.
+10
View File
@@ -0,0 +1,10 @@
===========================================================================
$NetBSD: MESSAGE,v 1.3 2003/04/13 01:29:42 salo Exp $
You need to add a port entry to run NDTP. The default port is 2010 and
the entry in /etc/services will look like
ndtp 2010/tcp
Please read (well written) Info manuals for more details.
===========================================================================
+53
View File
@@ -0,0 +1,53 @@
# $NetBSD: Makefile,v 1.35 2013/05/31 12:42:08 wiz Exp $
#
DISTNAME= ndtpd-3.1.5
PKGREVISION= 8
CATEGORIES= textproc japanese
MASTER_SITES= ftp://ftp.sra.co.jp/pub/net/ndtp/ndtpd/
MAINTAINER= uebayasi@NetBSD.org
HOMEPAGE= http://www.sra.co.jp/people/m-kasahr/ndtpd/
COMMENT= Server for accessing CD-ROM books with NDTP
PKG_INSTALLATION_TYPES= pkgviews overwrite
USE_TOOLS+= makeinfo perl:run
USE_LIBTOOL= YES
GNU_CONFIGURE= YES
INFO_FILES= yes
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
CONFIGURE_ARGS+= --localstatedir=${NDTPD_RUNDIR:Q}
CONFIGURE_ARGS+= --with-logdir=${NDTPD_LOGDIR:Q}
CONFIGURE_ARGS+= --with-eb
CONFIGURE_ARGS+= --with-zlib
CONFIGURE_ARGS+= --with-eb-conf=${PKG_SYSCONFDIR}/eb.conf
CONFIGURE_ENV+= ac_cv_path_BZIP2=bzip2
CONFIGURE_ENV+= ac_cv_path_COMPRESS=compress
CONFIGURE_ENV+= ac_cv_path_GZIPCMD=gzip
# For INSTALL/DEINSTALL scripts.
CONF_FILES= ${EGDIR}/ndtpd.conf.default ${PKG_SYSCONFDIR}/ndtpd.conf
RCD_SCRIPTS= ndtpd
# Will be also used for ndtpd.sh.
FILES_SUBST+= NDTPD_RUNDIR=${NDTPD_RUNDIR:Q}
EGDIR= ${PREFIX}/share/examples/ndtpd
NDTPD_LOGDIR= /var/log
NDTPD_RUNDIR= /var/run
# XXX NDTPD actually uses ${NDTPD_RUNDIR}/ndtpd.
INSTALLATION_DIRS= ${EGDIR}
post-install:
${INSTALL_DATA} ${WRKSRC}/ndtpd.conf.sample \
${DESTDIR}${EGDIR}/ndtpd.conf.default
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../textproc/eb/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
+11
View File
@@ -0,0 +1,11 @@
@comment $NetBSD: PLIST,v 1.8 2009/06/14 18:17:23 joerg Exp $
info/ndtpd-ja.info
info/ndtpd.info
libexec/ndtpstat
share/examples/ndtpd/ndtpd.conf.default
sbin/ndtpd
sbin/ndtpcheck
sbin/ndtpcontrol
sbin/ndtpdaily
sbin/ndtpupgrade
share/examples/rc.d/ndtpd
+9
View File
@@ -0,0 +1,9 @@
$NetBSD: distinfo,v 1.8 2006/04/08 23:10:29 jlam Exp $
SHA1 (ndtpd-3.1.5.tar.gz) = 0445cf4c9be4373f0ed06a545a0665f5e6fad7aa
RMD160 (ndtpd-3.1.5.tar.gz) = 6b54e2e3d4ca30f4c78363696d9127edf72deece
Size (ndtpd-3.1.5.tar.gz) = 558367 bytes
SHA1 (patch-aa) = 79bff6268ccd29b829be1e95d923c64d32873551
SHA1 (patch-ac) = e45fe692355d6dae0b5a56f4e32201cbd606f125
SHA1 (patch-ad) = a7660a372ca2769d373c7fbffb72a8b017b332ee
SHA1 (patch-ae) = 9846c086be119acce30896c2230fa2ad185a3c66
+48
View File
@@ -0,0 +1,48 @@
#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: ndtpd.sh,v 1.3 2011/04/24 13:47:45 shattered Exp $
#
# PROVIDE: ndtpd
# REQUIRE: DAEMON
# KEYWORD: shutdown
#
# To start ndtpd at startup, copy this script to /etc/rc.d and set
# ndtpd=YES in /etc/rc.conf.
if [ -f /etc/rc.subr ]; then
. /etc/rc.subr
fi
name="ndtpd"
rcvar="$name"
prog=@PREFIX@/sbin/ndtpd
pidfile=@NDTPD_RUNDIR@/ndtpd/ndtpd.pid
case $1 in
start)
@ECHO@ "Starting ${name}."
@MKDIR@ @NDTPD_RUNDIR@/ndtpd
${prog} >/dev/null 2>&1 || {
@ECHO@ "Configuration error?" >&2
@ECHO@ "Try @PREFIX@/sbin/ndtpcheck" >&2
exit 1
}
;;
stop)
@ECHO@ "Stopping ${name}."
if [ -f ${pidfile} ]; then
pid=`@HEAD@ -1 ${pidfile}`
kill -s TERM ${pid}
@RM@ -fr @NDTPD_RUNDIR@/ndtpd
else
@ECHO@ "${name} not running?"
exit 1
fi
;;
*)
@ECHO@ "Usage: $0 [start|stop]" 1>&2
exit 1
;;
esac
exit 0
+12
View File
@@ -0,0 +1,12 @@
$NetBSD: patch-aa,v 1.3 2005/11/08 19:48:49 tv Exp $
--- src/defs.h.in.orig 2001-03-01 09:35:35.000000000 -0500
+++ src/defs.h.in
@@ -24,6 +24,7 @@
#include <time.h>
#include <sys/types.h>
#include <sys/socket.h>
+#include <sys/time.h>
#include <eb/eb.h>
#include <eb/error.h>
+22
View File
@@ -0,0 +1,22 @@
$NetBSD: patch-ac,v 1.2 2004/03/21 12:30:33 uebayasi Exp $
--- Makefile.in.orig Sun Mar 21 21:13:01 2004
+++ Makefile.in
@@ -138,7 +138,7 @@ SUBDIRS = lib src doc doc-ja m4
pkglocalstatedir = $(localstatedir)/$(PACKAGE)
-sysconf_DATA = ndtpd.conf.sample
+sysconf_DATA =
pkglocalstate_DATA =
EXTRA_DIST = ChangeLog.0 INSTALL-ja README-ja UPGRADE UPGRADE-ja \
@@ -164,7 +164,7 @@ DIST_COMMON = README AUTHORS COPYING Cha
configure configure.ac depcomp install-sh ltmain.sh missing \
mkinstalldirs
DIST_SUBDIRS = $(SUBDIRS)
-all: config.h
+all: config.h ndtpd.conf.sample
$(MAKE) $(AM_MAKEFLAGS) all-recursive
.SUFFIXES:
+13
View File
@@ -0,0 +1,13 @@
$NetBSD: patch-ad,v 1.1 2006/04/08 23:10:29 jlam Exp $
--- src/Makefile.in.orig 2003-05-23 23:47:52.000000000 -0400
+++ src/Makefile.in
@@ -574,6 +574,8 @@ ndtpdaily: getopt_long.pl ndtpdaily.in M
NDTPSTAT="`echo ndtpstat | sed '$(transform)'`"; \
sed -e 's;\@logdir\@;$(logdir);' \
-e 's;\@libexecdir\@;$(libexecdir);' \
+ -e 's;\@prefix\@;$(prefix);' \
+ -e 's;\@LOCALBASE\@;$(LOCALBASE);' \
-e 's;\@VERSION\@;$(VERSION);' \
-e 's;\@MAILX\@;$(MAILX);' \
-e 's;\@COMPRESS\@;$(COMPRESS);' \
+13
View File
@@ -0,0 +1,13 @@
$NetBSD: patch-ae,v 1.1 2006/04/08 23:10:29 jlam Exp $
--- src/ndtpdaily.in.orig 2001-02-03 08:18:05.000000000 -0500
+++ src/ndtpdaily.in
@@ -24,7 +24,7 @@ $, = ' ';
umask(022);
# PATH
-$ENV{'PATH'} = '/usr/bin:/bin';
+$ENV{'PATH'} = '@prefix@/bin:@LOCALBASE@/bin:/usr/bin:/bin';
$ENV{'PATH'} .= ':/usr/ucb' if (-d '/usr/ucb');
# Program name, program version and mailing address.