pkg_online - client/server package searcher for pkgsrc.

Every separate field (PKGPATH, PKGNAME, COMMENT etc.) may be queried
separately and multiple fields may be queried too. A lot of search
strategies are available. Set of fields and search strategies may
very depending on your server configuration. Search in multiple
"repositories" is supported too, e.g. search in binary repository
or in pkgsrc source tree.

Communication protocol is a well known dictionary protocol described
in RFC-2229. Server may run dictd or any other dictionary protocol
server.  For dictd see http://www.dict.org and
http://sourceforge.net/projects/dict

pkg_online has minimal amount of things specific to pkgsrc and can
easily be adapted to any other packageing systems.

Of course it is based on pkg_summary-utils ;-)
This commit is contained in:
cheusov 2011-05-16 19:16:22 +00:00
parent 41d2b8de18
commit 14e91fecd2
9 changed files with 133 additions and 0 deletions

View file

@ -0,0 +1,2 @@
This package provides client tools of PKG_ONLINE.

View file

@ -0,0 +1,32 @@
# $NetBSD: Makefile,v 1.1.1.1 2011/05/16 19:16:49 cheusov Exp $
#
.include "../../pkgtools/pkg_online-server/Makefile.common"
PKGNAME= ${DISTNAME:C/online/online-client/}
CATEGORIES= pkgtools
MAINTAINER= cheusov@tut.by
COMMENT+= (client tools)
DEPENDS+= dict-client>=1.10.9:../../textproc/dict-client
DEPENDS+= pkg_summary-utils>=0.49:../../pkgtools/pkg_summary-utils
DEPENDS+= pipestatus-[0-9]*:../../devel/pipestatus
DEPENDS+= netcat-[0-9]*:../../net/netcat
BUILD_DEPENDS+= mk-configure>=0.20.0:../../devel/mk-configure
INSTALL_TARGET= install-client install-doc
DESCR_SRC+= ${.CURDIR}/DESCR
DOCDIR= ${PREFIX}/share/doc/pkg_online-client
EGDIR= ${PREFIX}/share/examples/pkg_online-client
MAKE_ENV+= DOCDIR=${DOCDIR} EGDIR=${EGDIR}
CONF_FILES= ${EGDIR}/pkg_online_client.conf \
${PKG_SYSCONFDIR}/pkg_online_client.conf
MAKE_PROGRAM= mkcmake
.include "../../mk/bsd.pkg.mk"

View file

@ -0,0 +1,8 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2011/05/16 19:16:49 cheusov Exp $
bin/pkg_online_client
bin/pkg_online_client.env
bin/pkg_online_find
share/doc/pkg_online-client/NEWS
share/doc/pkg_online-client/README
share/doc/pkg_online-client/TODO
share/examples/pkg_online-client/pkg_online_client.conf

View file

@ -0,0 +1,2 @@
This package provides tools for builidng PKG_ONLINE databases

View file

@ -0,0 +1,18 @@
pkg_online - client/server package searcher for pkgsrc.
Every separate field (PKGPATH, PKGNAME, COMMENT etc.) may be queried
separately and multiple fields may be queried too. A lot of search
strategies are available. Set of fields and search strategies may
very depending on your server configuration. Search in multiple
"repositories" is supported too, e.g. search in binary repository
or in pkgsrc source tree.
Communication protocol is a well known dictionary protocol described
in RFC-2229. Server may run dictd or any other dictionary protocol
server. For dictd see http://www.dict.org and
http://sourceforge.net/projects/dict
pkg_online has minimal amount of things specific to pkgsrc and can
easily be adapted to any other packageing systems.
Of course it is based on pkg_summary-utils ;-)

View file

@ -0,0 +1,31 @@
# $NetBSD: Makefile,v 1.1.1.1 2011/05/16 19:16:22 cheusov Exp $
#
.include "../../pkgtools/pkg_online-server/Makefile.common"
PKGNAME= ${DISTNAME:C/online/online-server/}
CATEGORIES= pkgtools
MAINTAINER= cheusov@tut.by
COMMENT+= (server tools)
DEPENDS+= dict-server>=1.10.10nb2:../../textproc/dict-server
DEPENDS+= pkg_summary-utils>=0.18.1:../../pkgtools/pkg_summary-utils
DEPENDS+= pipestatus-[0-9]*:../../devel/pipestatus
BUILD_DEPENDS+= mk-configure>=0.20.0:../../devel/mk-configure
INSTALL_TARGET= install-server install-doc
DESCR_SRC+= ${.CURDIR}/DESCR
DOCDIR= ${PREFIX}/share/doc/pkg_online-server
EGDIR= ${PREFIX}/share/examples/pkg_online-server
MAKE_ENV+= DOCDIR=${DOCDIR} EGDIR=${EGDIR}
CONF_FILES= ${EGDIR}/pkg_online_server.conf \
${PKG_SYSCONFDIR}/pkg_online_server.conf
MAKE_PROGRAM= mkcmake
.include "../../mk/bsd.pkg.mk"

View file

@ -0,0 +1,21 @@
# $NetBSD: Makefile.common,v 1.1.1.1 2011/05/16 19:16:22 cheusov Exp $
#
# used by pkgtools/pkg_online-client/Makefile
# used by pkgtools/pkg_online-server/Makefile
DISTNAME= pkg_online-${VERSION}
MASTER_SITES= http://mova.org/~cheusov/pub/pkg_online/
VERSION= 0.12.1
HOMEPAGE= http://mova.org/~cheusov/pub/pkg_online/
COMMENT= Client/Server package searcher for pkgsrc
LICENSE= mit
PKG_DESTDIR_SUPPORT= user-destdir
DISTINFO_FILE= ${.CURDIR}/../../pkgtools/pkg_online-server/distinfo
DESCR_SRC= ${.CURDIR}/../../pkgtools/pkg_online-server/DESCR.common
USE_LANGUAGES= # none

View file

@ -0,0 +1,14 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2011/05/16 19:16:22 cheusov Exp $
bin/pkg_online_mkconf
bin/pkg_online_server.env
bin/pkg_summary2all
bin/pkg_summary2dict
bin/pkg_summary2field-index
bin/pkg_summary2info
bin/pkg_summary2onelineinfo
bin/pkg_summary2shortinfo
share/doc/pkg_online-server/NEWS
share/doc/pkg_online-server/README
share/doc/pkg_online-server/TODO
share/examples/pkg_online-server/dictd.conf
share/examples/pkg_online-server/pkg_online_server.conf

View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1.1.1 2011/05/16 19:16:22 cheusov Exp $
SHA1 (pkg_online-0.12.1.tar.gz) = 829b26a12f8b48c4b238a4f50625cf9ee3dc4feb
RMD160 (pkg_online-0.12.1.tar.gz) = a1d1bfce9f5e45dc3b3658b9d401744ac4f297bb
Size (pkg_online-0.12.1.tar.gz) = 15175 bytes