pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools pkg_online - client/server package searcher f...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fc87c0c2f8db
branches:  trunk
changeset: 588701:fc87c0c2f8db
user:      cheusov <cheusov%pkgsrc.org@localhost>
date:      Mon May 16 19:16:22 2011 +0000

description:
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:

 pkgtools/pkg_online-client/DESCR           |   2 +
 pkgtools/pkg_online-client/Makefile        |  32 ++++++++++++++++++++++++++++++
 pkgtools/pkg_online-client/PLIST           |   8 +++++++
 pkgtools/pkg_online-server/DESCR           |   2 +
 pkgtools/pkg_online-server/DESCR.common    |  18 ++++++++++++++++
 pkgtools/pkg_online-server/Makefile        |  31 +++++++++++++++++++++++++++++
 pkgtools/pkg_online-server/Makefile.common |  21 +++++++++++++++++++
 pkgtools/pkg_online-server/PLIST           |  14 +++++++++++++
 pkgtools/pkg_online-server/distinfo        |   5 ++++
 9 files changed, 133 insertions(+), 0 deletions(-)

diffs (169 lines):

diff -r 87c98a945e22 -r fc87c0c2f8db pkgtools/pkg_online-client/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/pkgtools/pkg_online-client/DESCR  Mon May 16 19:16:22 2011 +0000
@@ -0,0 +1,2 @@
+
+This package provides client tools of PKG_ONLINE.
diff -r 87c98a945e22 -r fc87c0c2f8db pkgtools/pkg_online-client/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/pkgtools/pkg_online-client/Makefile       Mon May 16 19:16:22 2011 +0000
@@ -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@localhost
+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 -r 87c98a945e22 -r fc87c0c2f8db pkgtools/pkg_online-client/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/pkgtools/pkg_online-client/PLIST  Mon May 16 19:16:22 2011 +0000
@@ -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
diff -r 87c98a945e22 -r fc87c0c2f8db pkgtools/pkg_online-server/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/pkgtools/pkg_online-server/DESCR  Mon May 16 19:16:22 2011 +0000
@@ -0,0 +1,2 @@
+
+This package provides tools for builidng PKG_ONLINE databases
diff -r 87c98a945e22 -r fc87c0c2f8db pkgtools/pkg_online-server/DESCR.common
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/pkgtools/pkg_online-server/DESCR.common   Mon May 16 19:16:22 2011 +0000
@@ -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 -r 87c98a945e22 -r fc87c0c2f8db pkgtools/pkg_online-server/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/pkgtools/pkg_online-server/Makefile       Mon May 16 19:16:22 2011 +0000
@@ -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@localhost
+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 -r 87c98a945e22 -r fc87c0c2f8db pkgtools/pkg_online-server/Makefile.common
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/pkgtools/pkg_online-server/Makefile.common        Mon May 16 19:16:22 2011 +0000
@@ -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 -r 87c98a945e22 -r fc87c0c2f8db pkgtools/pkg_online-server/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/pkgtools/pkg_online-server/PLIST  Mon May 16 19:16:22 2011 +0000
@@ -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 -r 87c98a945e22 -r fc87c0c2f8db pkgtools/pkg_online-server/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/pkgtools/pkg_online-server/distinfo       Mon May 16 19:16:22 2011 +0000
@@ -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



Home | Main Index | Thread Index | Old Index