summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_online-server
diff options
context:
space:
mode:
authorcheusov <cheusov>2011-05-16 19:16:22 +0000
committercheusov <cheusov>2011-05-16 19:16:22 +0000
commitb626c5eefd5faf9318d3fbdfaf46ba6b44582b34 (patch)
tree0d9096732a50fdc5db7ffdf0c3da3aca39782a0c /pkgtools/pkg_online-server
parent605efe50cfa2f4273b61da4202f2985d085d7505 (diff)
downloadpkgsrc-b626c5eefd5faf9318d3fbdfaf46ba6b44582b34.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-server')
-rw-r--r--pkgtools/pkg_online-server/DESCR2
-rw-r--r--pkgtools/pkg_online-server/DESCR.common18
-rw-r--r--pkgtools/pkg_online-server/Makefile31
-rw-r--r--pkgtools/pkg_online-server/Makefile.common21
-rw-r--r--pkgtools/pkg_online-server/PLIST14
-rw-r--r--pkgtools/pkg_online-server/distinfo5
6 files changed, 91 insertions, 0 deletions
diff --git a/pkgtools/pkg_online-server/DESCR b/pkgtools/pkg_online-server/DESCR
new file mode 100644
index 00000000000..781ddb1b4b5
--- /dev/null
+++ b/pkgtools/pkg_online-server/DESCR
@@ -0,0 +1,2 @@
+
+This package provides tools for builidng PKG_ONLINE databases
diff --git a/pkgtools/pkg_online-server/DESCR.common b/pkgtools/pkg_online-server/DESCR.common
new file mode 100644
index 00000000000..cde21aaeb42
--- /dev/null
+++ b/pkgtools/pkg_online-server/DESCR.common
@@ -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 ;-)
diff --git a/pkgtools/pkg_online-server/Makefile b/pkgtools/pkg_online-server/Makefile
new file mode 100644
index 00000000000..32eff9ec05c
--- /dev/null
+++ b/pkgtools/pkg_online-server/Makefile
@@ -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"
diff --git a/pkgtools/pkg_online-server/Makefile.common b/pkgtools/pkg_online-server/Makefile.common
new file mode 100644
index 00000000000..904a27a3bf1
--- /dev/null
+++ b/pkgtools/pkg_online-server/Makefile.common
@@ -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
diff --git a/pkgtools/pkg_online-server/PLIST b/pkgtools/pkg_online-server/PLIST
new file mode 100644
index 00000000000..16faa156470
--- /dev/null
+++ b/pkgtools/pkg_online-server/PLIST
@@ -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
diff --git a/pkgtools/pkg_online-server/distinfo b/pkgtools/pkg_online-server/distinfo
new file mode 100644
index 00000000000..69f325103d5
--- /dev/null
+++ b/pkgtools/pkg_online-server/distinfo
@@ -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