summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pkgtools/pkg_online-client/DESCR2
-rw-r--r--pkgtools/pkg_online-client/Makefile32
-rw-r--r--pkgtools/pkg_online-client/PLIST8
-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
9 files changed, 133 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..edcd616a1d9
--- /dev/null
+++ b/pkgtools/pkg_online-client/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.3 2011/05/16 21:46:13 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..6a8c1517a79
--- /dev/null
+++ b/pkgtools/pkg_online-client/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.3 2011/05/16 21:46:13 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 --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..fcd3134d909
--- /dev/null
+++ b/pkgtools/pkg_online-server/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.3 2011/05/16 21:46:13 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..dbc6a4a2afe
--- /dev/null
+++ b/pkgtools/pkg_online-server/Makefile.common
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile.common,v 1.3 2011/05/16 21:46:13 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..01215ea2779
--- /dev/null
+++ b/pkgtools/pkg_online-server/PLIST
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST,v 1.3 2011/05/16 21:46:13 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..0c6fcd31fa7
--- /dev/null
+++ b/pkgtools/pkg_online-server/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.3 2011/05/16 21:46:13 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