summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_online-client
diff options
context:
space:
mode:
authorcheusov <cheusov>2011-05-16 19:16:22 +0000
committercheusov <cheusov>2011-05-16 19:16:22 +0000
commit0233883b3ce158fae5445a7ddf96904508d7ffa9 (patch)
tree0d9096732a50fdc5db7ffdf0c3da3aca39782a0c /pkgtools/pkg_online-client
parent907bbad5a39804de781ae8cc19666afba5871860 (diff)
downloadpkgsrc-0233883b3ce158fae5445a7ddf96904508d7ffa9.tar.gz
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 ;-)
Diffstat (limited to 'pkgtools/pkg_online-client')
-rw-r--r--pkgtools/pkg_online-client/DESCR2
-rw-r--r--pkgtools/pkg_online-client/Makefile32
-rw-r--r--pkgtools/pkg_online-client/PLIST8
3 files changed, 42 insertions, 0 deletions
diff --git a/pkgtools/pkg_online-client/DESCR b/pkgtools/pkg_online-client/DESCR
new file mode 100644
index 00000000000..c9acd2ebe1e
--- /dev/null
+++ b/pkgtools/pkg_online-client/DESCR
@@ -0,0 +1,2 @@
+
+This package provides client tools of PKG_ONLINE.
diff --git a/pkgtools/pkg_online-client/Makefile b/pkgtools/pkg_online-client/Makefile
new file mode 100644
index 00000000000..f03362f13f5
--- /dev/null
+++ b/pkgtools/pkg_online-client/Makefile
@@ -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"
diff --git a/pkgtools/pkg_online-client/PLIST b/pkgtools/pkg_online-client/PLIST
new file mode 100644
index 00000000000..0fb90741514
--- /dev/null
+++ b/pkgtools/pkg_online-client/PLIST
@@ -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