debian/0000775000000000000000000000000012256157007007175 5ustar debian/rules0000775000000000000000000000721012256156747010267 0ustar #!/usr/bin/make -f # -*- mode: makefile; coding: utf-8 -*- # Copyright © 2010 Dave Beckett # Copyright © 2011-2012 Jonas Smedegaard # Description: Main Debian packaging script for 4store # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # This needs to run before inclusion of CDBS snippets debian/control:: debian/control.in DEB_PHONY_RULES += debian/control.in debian/control.in:: sed -e 's/__LIBPKGNAME__/$(libpkgname)/g' debian/control.in -include /usr/share/cdbs/1/rules/upstream-tarball.mk include /usr/share/cdbs/1/class/autotools.mk include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/rules/utils.mk include /usr/share/cdbs/1/rules/autoreconf.mk stem = 4store abi = 0 libpkgname = lib$(stem)$(abi) libname = lib$(stem) pkgconfigfile = $(stem)-$(abi).pc # suppress optional build-dependencies CDBS_BUILD_DEPENDS_rules_upstream-tarball = CDBS_BUILD_DEPENDS_rules_utils_copyright-check = CDBS_BUILD_DEPENDS += , libpcre3-dev, libglib2.0-dev, ncurses-dev, libreadline-dev CDBS_BUILD_DEPENDS += , libavahi-client-dev, libavahi-glib-dev, libstemmer-dev CDBS_BUILD_DEPENDS += $(if $(DEB_NOEPOCH_VERSION:1.0%=),,$(comma) librasqal2-dev (<< 0.9.22)$(comma) libraptor1-dev) CDBS_BUILD_DEPENDS += $(if $(DEB_NOEPOCH_VERSION:1.1%=),,$(comma) librasqal3-dev$(comma) libraptor2-dev) DEB_UPSTREAM_URL = http://www.4store.org/download DEB_UPSTREAM_TARBALL_BASENAME_MANGLE = s/-(\d)/-v$$1/ DEB_UPSTREAM_TARBALL_MD5 = e15773fa72bb885f2613a8778fcbb7b6 LDFLAGS += -Wl,-z,defs # TODO: Enable when upstream supports overriding FS_STORE_ROOT #DEB_MAKE_CHECK_TARGET = test # Avoid installing virtually empty README, NEWS and ChangeLog files DEB_INSTALL_DOCS_ALL = DEB_INSTALL_CHANGELOGS_ALL = DEB_DH_INSTALLINIT_ARGS = --no-start --update-rcd-params="defaults" --error-handler=installinit_error # put aside upstream-shipped temp files during build but after copyright-check upstreamtmpfiles = src/common/params.h \ version.sh pre-build:: debian/stamp-upstreamtmpstuff debian/stamp-upstreamtmpstuff: debian/stamp-copyright-check for file in $(upstreamtmpfiles); do \ [ ! -e $$file ] || [ -e $$file.upstream ] || cp $$file $$file.upstream; \ done touch $@ clean:: for file in $(upstreamtmpfiles); do \ [ ! -e $$file.upstream ] || mv -f $$file.upstream $$file; \ done rm -f debian/stamp-upstreamtmpstuff # Let d-shlibs calculate development package dependencies # and handle shared library install CDBS_BUILD_DEPENDS += , d-shlibs (>= 0.45~) binary-post-install/$(libpkgname):: debian/stamp-local-shlibs-$(libname) debian/stamp-local-shlibs-$(libname): binary-install/$(libpkgname) d-shlibmove --commit \ --override s/libavahi-client.-dev/libavahi-client-dev/ \ --override s/libavahi-common.-dev/libavahi-common-dev/ \ --override s/libavahi-glib.-dev/libavahi-glib-dev/ \ --movedev "debian/tmp/usr/include/*" usr/include/ \ --movedev "debian/tmp/usr/lib/pkgconfig/$(pkgconfigfile)" usr/lib/pkgconfig/ \ --devunversioned \ --exclude-la \ debian/tmp/usr/lib/$(libname).so touch $@ clean:: rm -f debian/stamp-local-shlibs-$(libname) debian/4store.prerm0000664000000000000000000000033511535216727011471 0ustar #!/bin/sh set -e installinit_error() { status=$? start-stop-daemon --stop --quiet --oknodo --name 4s-backend && exit 0 start-stop-daemon --stop --quiet --oknodo --name 4s-httpd && exit 0 exit $status } #DEBHELPER# debian/watch0000664000000000000000000000021211535217140010213 0ustar # Run the "uscan" command to check for upstream updates and more. version=3 http://www.4store.org/download/4store-v(\d.*)\.tar\.gz debian debian/changelog0000664000000000000000000001256012256157006011052 0ustar 4store (1.1.4-2ubuntu2) trusty; urgency=medium * Use dh-autoreconf instead of autotools-dev to get new libtool macros for ppc64el (still updates config.{sub,guess}). -- Logan Rosen Mon, 23 Dec 2013 20:05:45 -0500 4store (1.1.4-2ubuntu1) raring; urgency=low * Added missing math lib to link, fixing FTBFS on armhf. -- Daniel T Chen Sun, 31 Mar 2013 19:27:30 -0400 4store (1.1.4-2) unstable; urgency=low * Add patches 1002-1005 to fix building for the Hurd. Thanks to Cyril Roelandt. * Bump standards-version to 3.9.3. * Use anonscm.debian.org URL in Vcs-Browser field. * Update copyright file: + Bump format to 1.0. + Fix double-indent in Copyright fields as per Policy §5.6.13. * Simplify arguments to dh_install (unneeded with debhelper 7). -- Jonas Smedegaard Sat, 17 Mar 2012 11:39:41 +0100 4store (1.1.4-1) unstable; urgency=low * New upstream release. * Update copyright file: + Fix list separate License sections for each actual license (not Perl combo as single section). + Fix PD syntax. + Fix missing vertical space between License sections. + Sort License sections by (approximate) similarity of main license. + Quote license names in comments, and shorten comments. + List mt19937-64 library, licensed as BSD-3-clause. + Use ~ (not ^) as delimiter for derived License shortnames. * Add patch 2002 to use system shared stemmer library. * Drop patches 1001 (manpage syntax errors) and 2001 (avoid git version-resolving): Adopted upstream. * Add Vcs-* fields to control file. * Extend copyright years for debian packaging. * Bump debhelper compat level to 7. * Relax build-depend unversioned on debhelper (needed version satisfied even in oldstable). * Avoid installing *.la files. Tighten build-dependency on d-shlibs. Closes: bug#633170. Thanks to Neal Williams. -- Jonas Smedegaard Sun, 22 Jan 2012 18:38:40 +0100 4store (1.1.3-1) unstable; urgency=low * New upstream release. * Update copyright file: + Fix add Upstream-Contact. + Minor adjustments to Files sections regarding GNU tools. * Build-depend on autotools-dev. * Fix grammatic error in long description. Closes: bug#625283. Thanks to Tollef Fog Heen. * Rewrap long description at 72 chars, and strip trailing spaces. * Ease building with git-buildpackage: + Add dpkg local-options hint. + Git-ignore .pc dir. * Add patch 2001 to avoid using git to resolve upstream release version. * Revert "Pass ldflag -Wl,--as-needed to avoid excess linking.": Fails with this new v1.1.3 release. * Add patch 1001 to fix a few syntax errors in manpages. * Introduce new binary packages lib4store0 and lib4store-dev. Build-depend on d-shlibs. * Put aside a few upstream-shipped temp files during build. -- Jonas Smedegaard Sun, 08 May 2011 00:22:44 +0200 4store (1.1.2-2) unstable; urgency=low * Add git-buildpackage config: Enable pristine-tar and signed tags. * Recommend avahi-daemon, and slightly relax dependency on avahi in sysv script. Closes: bug#622743. Thanks to Holger Levsen. * Bump policy compliance to standards-version 3.9.2. * Bump copyright file format to draft 174 of DEP-5. -- Jonas Smedegaard Thu, 14 Apr 2011 13:14:50 +0200 4store (1.1.2-1) unstable; urgency=low * Initial official packaging release. Closes: #558137. * New upstream release. * Tighten build-dependencies on librasqal and libraptor. * Update copyright file: Add copyright holder. -- Jonas Smedegaard Tue, 08 Mar 2011 03:12:45 +0100 4store (1.0.6-1) unstable; urgency=low * new upstream release. * Add watch file. * Rewrite and simplify rules file using CDBS. * Drop no longer needed patch: Upstream use autotools now. * Rewrite copyright file using draft svn166 of DEP5 format. * Add copyright hints (for tracking future changes). * Space-indent only comments (not commented out settings) in default configfile. * Improve handling of var- and log-dir: Create dirs at daemons startup (not during package install). Respect configfile settings when refreshing ownership. Avoid hardlink attacks when refreshing ownership. * Bump debhelper compatibility level to 6 (from 5). * Pass ldflag -Wl,--as-needed to avoid excess linking. * Take over maintenance of the packaging: + Add myself as maintainer. + Demote Dave Beckett to uploader. -- Jonas Smedegaard Tue, 08 Mar 2011 02:44:25 +0100 4store (1.0.4-1) unstable; urgency=low * New upstream release * Removed patch 4s-ssh-all-parallel-bash merged upstream -- Dave Beckett Wed, 13 Oct 2010 21:47:25 -0700 4store (1.0.3-2) unstable; urgency=low * debian/control: Build-Depend: on libavahi-client-dev and libavahi-glib-dev to get mDNS enabled * set initial KB to 'default' * really run server as user 'fourstore' * do not run server at package install time * install a skeleton /etc/default/4store -- Dave Beckett Fri, 18 Jun 2010 10:37:00 -0700 4store (1.0.3-1) unstable; urgency=low * Initial release (Closes: #558137) - based on packaging of 0.9.5 by Brian Thomason - added init script to start server as user 'fourstore' - added pre/post init/remove scripts -- Dave Beckett Tue, 15 Jun 2010 06:57:05 -0700 debian/compat0000664000000000000000000000000211707025515010371 0ustar 7 debian/4store.manpages0000664000000000000000000000001011535260236012117 0ustar man/*.? debian/control.in0000664000000000000000000000417512256157017011215 0ustar Source: 4store Section: utils Priority: extra Maintainer: Jonas Smedegaard Uploaders: Dave Beckett Build-Depends: @cdbs@ Standards-Version: 3.9.3 Homepage: http://www.4store.org/ Vcs-Git: git://git.debian.org/git/collab-maint/4store Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/4store.git Package: 4store Architecture: any Depends: adduser, lsb-base (>= 3.2-13), netbase, ${shlibs:Depends}, ${misc:Depends} Recommends: avahi-daemon Description: RDF database storage and query engine -- database daemon 4store is a database storage and query engine that holds RDF data. . 4store's main strengths are its performance, scalability and stability. It does not provide many features over and above RDF storage and SPARQL queries, but if your are looking for a scalable, secure, fast and efficient RDF store, then 4store should be on your shortlist. . This package contains the database daemon and related utilities. Package: lib4store-dev Section: libdevel Architecture: any Depends: lib4store0 (= ${binary:Version}), ${misc:Depends} Description: RDF database storage and query engine -- development files 4store is a database storage and query engine that holds RDF data. . 4store's main strengths are its performance, scalability and stability. It does not provide many features over and above RDF storage and SPARQL queries, but if your are looking for a scalable, secure, fast and efficient RDF store, then 4store should be on your shortlist. . This package contains the development headers and static library. Package: lib4store0 Section: libs Architecture: any Suggests: lib4store-dev Depends: ${misc:Depends}, ${shlibs:Depends} Description: RDF database storage and query engine -- shared library 4store is a database storage and query engine that holds RDF data. . 4store's main strengths are its performance, scalability and stability. It does not provide many features over and above RDF storage and SPARQL queries, but if your are looking for a scalable, secure, fast and efficient RDF store, then 4store should be on your shortlist. . This package contains the shared library lib4store. debian/4store.install0000664000000000000000000000001211561257366012005 0ustar /usr/bin/ debian/copyright0000664000000000000000000002432311731063151011125 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: 4store Upstream-Contact: Steve Harris Source: http://www.4store.org/download/ Files: * Copyright: 2006-2007, Nick Lamb 2006-2010, Steve Harris 2010, Martin Galpin License: GPL-3+ Files: */Makefile.in Copyright: 1994-2009, Free Software Foundation, Inc. License: GAP~Makefile.in Files: src/libs/mt19937-64/mt19937-64.c src/libs/mt19937-64/mt64.h Copyright: 2004, Makoto Matsumoto 2004, Takuji Nishimura License: BSD-3-clause Files: config.guess config.sub depcomp missing Copyright: 1992-2009, Free Software Foundation, Inc. License: GPL-2+ with Autoconf exception As a special exception to the GNU General Public License, if you distribute this file as part of a program that contains a configuration script generated by Autoconf, you may include it under the same distribution terms that you use for the rest of that program. Files: src/common/msort.c src/common/qsort.c Copyright: 1991-1992,1995-1997,1999-2002,2004,2007, Free Software Foundation, Inc. License: LGPL-2.1+~GNULibC Files: src/common/umac.c Copyright: 1999-2006, Ted Krovetz License: GPL-3+ and umac Files: src/common/umac.h Copyright: 1999-2004, Ted Krovetz License: umac Files: src/common/rijndael-alg-fst.c Copyright: none License: GPL-3+ Files: src/common/rijndael-alg-fst.h Copyright: none (public domain) License: PD This code is hereby placed in the public domain. Files: configure Copyright: 1992-1996,1998-2010, Free Software Foundation, Inc. License: GAP~configure Files: aclocal.m4 Copyright: 1996-2009, Free Software Foundation, Inc. License: GAP and GPL-2+ Files: ltmain.sh Copyright: 1996-2001, 2003-2010, Free Software Foundation, Inc. License: GPL-2+ with Libtool exception As a special exception to the GNU General Public License, if you distribute this file as part of a program or library that is built using GNU Libtool, you may include this file under the same distribution terms that you use for the rest of that program. Files: install-sh Copyright: 1994, X Consortium License: Expat~X with X exception Except as contained in this notice, the name of the X Consortium shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from the X Consortium. Files: autogen.sh Copyright: none (public domain) License: PD This script is in the public domain Files: src/libs/double-metaphone/* Copyright: 2000, Maurice Aubrey License: Artistic or GPL-1+ This module is free software; you may redistribute it and/or modify it under the same terms as Perl itself. Comment: Perl is licensed under either the 'Artistic license' or the 'GNU General Public License' version 1 or later. Files: src/common/md5.h Copyright: 1999, 2002 Aladdin Enterprises. License: Zlib Files: src/common/md5.c Copyright: 1999-2000, 2002 Aladdin Enterprises. License: Zlib and GPL-3+ Files: debian/* Copyright: 2010, Dave Beckett 2011-2012, Jonas Smedegaard License: GPL-3+ License: GPL-3+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Comment: On Debian systems the 'GNU General Public License' version 3 is located in '/usr/share/common-licenses/GPL-3'. . You should have received a copy of the 'GNU General Public License' along with this program. If not, see . License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Comment: On Debian systems the 'GNU General Public License' version 2 is located in '/usr/share/common-licenses/GPL-2'. License: GPL-1+ Comment: On Debian systems the 'GNU General Public License' version 1 is located in '/usr/share/common-licenses/GPL-1'. License: LGPL-2.1+~GNULibC The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. . The GNU C Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. Comment: On Debian systems the 'GNU Lesser General Public License' version 2.1 is located in '/usr/share/common-licenses/LGPL-2.1'. . You should have received a copy of the 'GNU Lesser General Public License' along with this program. If not, see . License: Artistic Comment: On Debian systems the 'Artistic License' is located in '/usr/share/common-licenses/Artistic'. License: Zlib This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. . Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: . 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. License: BSD-3-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . 3. The names of its contributors may not be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. License: umac Permission to use, copy, modify, and distribute this software and its documentation for any purpose and with or without fee, is hereby granted provided that the above copyright notice appears in all copies and in supporting documentation, and that the name of the copyright holder not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. License: Expat~X Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. License: GAP This file is free software; the Free Software Foundation gives unlimited permission to copy and/or distribute it, with or without modifications, as long as this notice is preserved. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY, to the extent permitted by law; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. License: GAP~Makefile.in This Makefile.in is free software; the Free Software Foundation gives unlimited permission to copy and/or distribute it, with or without modifications, as long as this notice is preserved. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY, to the extent permitted by law; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. License: GAP~configure This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. debian/source/0000775000000000000000000000000011561163426010475 5ustar debian/source/format0000664000000000000000000000001411535216727011707 0ustar 3.0 (quilt) debian/4store.init0000664000000000000000000000445211551553066011311 0ustar #!/bin/bash # ### BEGIN INIT INFO # Provides: 4store # Required-Start: $remote_fs # Required-Stop: $remote_fs # Should-Start: $network $syslog avahi # Should-Stop: $network $syslog avahi # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start and stop the 4store database server daemon # Description: Controls the 4store database server daemon "4s-httpd" ### END INIT INFO # set -e set -u ${DEBIAN_SCRIPT_DEBUG:+ set -v -x} DAEMON1=/usr/bin/4s-backend DAEMON2=/usr/bin/4s-httpd test -x $DAEMON1 || exit 5 test -x $DAEMON2 || exit 5 # Default knowledge base KB="default" # Default port PORT="9000" # Default user USER=fourstore if [ -r /etc/default/4store ]; then . /etc/default/4store fi . /lib/lsb/init-functions # Safeguard (relative paths, core dumps..) cd / umask 077 case "$1" in start) mkdir -p -m 0755 /var/lib/4store /var/log/4store # Refresh ownership, avoiding "chown -R" hardlink attacks find /var/lib/4store /var/log/4store \( -type d -links 2 \) -or \( -type f -links 1 \) -execdir chown "$USER": {} + log_daemon_msg "Starting 4s-backend" "4s-backend" start-stop-daemon --start --chuid $USER --quiet --oknodo --name 4s-backend --startas $DAEMON1 -- $KB status=$? log_end_msg $status log_daemon_msg "Starting 4s-httpd" "4s-httpd" start-stop-daemon --start --chuid $USER --quiet --oknodo --name 4s-httpd --startas $DAEMON2 -- -p $PORT $KB status=$? log_end_msg $status ;; stop) log_daemon_msg "Stopping 4s-httpd" "4s-httpd" start-stop-daemon --stop --quiet --oknodo --name 4s-backend log_end_msg $? log_daemon_msg "Stopping 4s-backend" "4s-backend" start-stop-daemon --stop --quiet --oknodo --name 4s-httpd log_end_msg $? ;; restart|force-reload) $0 stop && sleep 2 && $0 start ;; try-restart) if $0 status >/dev/null; then $0 restart else exit 0 fi ;; reload) exit 3 ;; status) status_of_proc $DAEMON1 "4s-backend server" ;; *) echo "Usage: $0 {start|stop|restart|try-restart|force-reload|status}" exit 2 ;; esac exit 0 debian/README.Debian0000664000000000000000000000040511535216727011241 0ustar 4store for Debian ----------------- The default name of the Knowledge Base is set by the init.d script and is called 'default'. To set up the database, use 4s-backend-setup default -- Kjetil Kjernsmo Fri, 18 Jun 2010 17:13:19 +0200 debian/TODO0000664000000000000000000000006211535216727007667 0ustar move servers (4s-httpd, 4s-backend) to /usr/sbin? debian/4store.postinst0000664000000000000000000000024711535262514012224 0ustar #!/bin/sh set -e if [ "$1" = "configure" ]; then adduser --system --quiet --group --no-create-home fourstore || : fi installinit_error() { exit $? } #DEBHELPER# debian/4store.default0000664000000000000000000000014411535260343011757 0ustar # Default knowledge base #KB="default" # Default port #PORT="9000" # Default user #USER=fourstore debian/copyright_hints0000664000000000000000000005141411731062511012332 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: FIXME Upstream-Contact: FIXME Source: FIXME Disclaimer: Autogenerated by CDBS Files: 4store-0.pc.in 4store-config.h.in 4store.spec AUTHORS ChangeLog Makefile.am NEWS README configure.ac data/config-test.ttl data/dates.ttl data/fulltext-test.ttl data/illegal.ttl data/loves-hates.ttl data/nasty.ttl data/numbers.ttl data/swh.xrdf data/tiger/README data/tiger/TGR06001.nt data/tiger/tiger.pl data/tiger/tiger_features.rdf data/tiger/tiger_fipsad.rdf data/tiger/tiger_fipscc.rdf data/tiger/tiger_fipspd.rdf data/tiger/tiger_vocab.rdf debian/4store.default debian/4store.init debian/4store.install debian/4store.manpages debian/4store.postinst debian/4store.postrm debian/4store.prerm debian/README.Debian debian/TODO debian/compat debian/control debian/control.in debian/control.in.in debian/gbp.conf debian/patches/1001_fix_ftbfs_with_as_needed.patch debian/patches/1002_define_HOST_NAME_MAX.patch debian/patches/1003_Include_sys-statfs.patch debian/patches/1004_handle_PATH_MAX.patch debian/patches/1005_handle_PATH_MAX.patch debian/patches/2001a_fix_ftbfs_with_as_needed_autoconf.patch debian/patches/2002_use_system_shared_libstemmer.patch debian/patches/2002a_use_system_shared_libstemmer_autoconf.patch debian/patches/README debian/patches/series debian/source/format debian/source/local-options debian/watch make-tarball.sh man/4s-backend-setup.1 man/4s-cluster-create.1 man/4s-cluster-destroy.1 man/4s-cluster-info.1 man/4s-cluster-start.1 man/4s-cluster-stop.1 man/4s-import.1 man/4s-query.1 man/Makefile.am man/README src/Makefile.am src/backend/Makefile.am src/backend/backend-intl.h src/backend/backend.h src/backend/bucket.h src/backend/chain.h src/backend/disk-space.h src/backend/import-backend.h src/backend/list.h src/backend/lock.h src/backend/metadata.h src/backend/mhash.h src/backend/prefix-trie.h src/backend/ptable.h src/backend/ptree.h src/backend/rhash.h src/backend/sort.h src/backend/tbchain.h src/backend/tlist.h src/backend/tree-intl.h src/backend/tree.h src/common/4s-datatypes.h src/common/4s-hash.h src/common/4s-internals.h src/common/4store.h src/common/Makefile.am src/common/error.h src/common/gnu-options.h src/common/params.h src/common/params.h.in src/common/rdf-constants.h src/common/server.h src/common/sort.h src/common/timing.h src/frontend/Makefile.am src/frontend/debug.h src/frontend/decimal.h src/frontend/filter.h src/frontend/group.h src/frontend/import.h src/frontend/optimiser.h src/frontend/order.h src/frontend/query-cache.h src/frontend/query-data.h src/frontend/query-datatypes.h src/frontend/query-intl.h src/frontend/query.h src/frontend/results.h src/frontend/update.h src/http/Makefile.am src/libs/Makefile.am src/libs/double-metaphone/Makefile.am src/libs/double-metaphone/double_metaphone.c src/libs/double-metaphone/double_metaphone.h src/libs/mt19937-64/Makefile.am src/libs/stemmer/Makefile.am src/libs/stemmer/README src/libs/stemmer/include/libstemmer.h src/libs/stemmer/libstemmer/libstemmer_utf8.c src/libs/stemmer/libstemmer/modules_utf8.h src/libs/stemmer/mkinc_utf8.mak src/libs/stemmer/runtime/api.c src/libs/stemmer/runtime/api.h src/libs/stemmer/runtime/header.h src/libs/stemmer/src_c/stem_UTF_8_danish.c src/libs/stemmer/src_c/stem_UTF_8_danish.h src/libs/stemmer/src_c/stem_UTF_8_dutch.c src/libs/stemmer/src_c/stem_UTF_8_dutch.h src/libs/stemmer/src_c/stem_UTF_8_english.c src/libs/stemmer/src_c/stem_UTF_8_english.h src/libs/stemmer/src_c/stem_UTF_8_finnish.c src/libs/stemmer/src_c/stem_UTF_8_finnish.h src/libs/stemmer/src_c/stem_UTF_8_french.c src/libs/stemmer/src_c/stem_UTF_8_french.h src/libs/stemmer/src_c/stem_UTF_8_german.c src/libs/stemmer/src_c/stem_UTF_8_german.h src/libs/stemmer/src_c/stem_UTF_8_hungarian.c src/libs/stemmer/src_c/stem_UTF_8_hungarian.h src/libs/stemmer/src_c/stem_UTF_8_italian.c src/libs/stemmer/src_c/stem_UTF_8_italian.h src/libs/stemmer/src_c/stem_UTF_8_norwegian.c src/libs/stemmer/src_c/stem_UTF_8_norwegian.h src/libs/stemmer/src_c/stem_UTF_8_porter.c src/libs/stemmer/src_c/stem_UTF_8_porter.h src/libs/stemmer/src_c/stem_UTF_8_portuguese.c src/libs/stemmer/src_c/stem_UTF_8_portuguese.h src/libs/stemmer/src_c/stem_UTF_8_romanian.c src/libs/stemmer/src_c/stem_UTF_8_romanian.h src/libs/stemmer/src_c/stem_UTF_8_russian.c src/libs/stemmer/src_c/stem_UTF_8_russian.h src/libs/stemmer/src_c/stem_UTF_8_spanish.c src/libs/stemmer/src_c/stem_UTF_8_spanish.h src/libs/stemmer/src_c/stem_UTF_8_swedish.c src/libs/stemmer/src_c/stem_UTF_8_swedish.h src/libs/stemmer/src_c/stem_UTF_8_turkish.c src/libs/stemmer/src_c/stem_UTF_8_turkish.h src/utilities/4s-cluster-cache src/utilities/4s-cluster-copy src/utilities/4s-cluster-create src/utilities/4s-cluster-destroy src/utilities/4s-cluster-file-backup src/utilities/4s-cluster-info src/utilities/4s-cluster-start src/utilities/4s-cluster-stop src/utilities/4s-dump src/utilities/4s-file-backup src/utilities/4s-restore src/utilities/4s-ssh-all src/utilities/4s-ssh-all-parallel src/utilities/4s-ssh-keyscan src/utilities/Makefile.am tests/Makefile.am tests/httpd/exemplar/add-copy-move tests/httpd/exemplar/ask-twice tests/httpd/exemplar/badslot-construct tests/httpd/exemplar/classes tests/httpd/exemplar/cors_error tests/httpd/exemplar/cors_get tests/httpd/exemplar/cors_head tests/httpd/exemplar/cors_options tests/httpd/exemplar/date-comparison tests/httpd/exemplar/empty tests/httpd/exemplar/formats tests/httpd/exemplar/fulltext tests/httpd/exemplar/functions tests/httpd/exemplar/functions-abs tests/httpd/exemplar/functions-ceil tests/httpd/exemplar/functions-floor tests/httpd/exemplar/functions-rand tests/httpd/exemplar/functions-round tests/httpd/exemplar/functions-substr tests/httpd/exemplar/insert-delete tests/httpd/exemplar/insert-delete-where tests/httpd/exemplar/limit tests/httpd/exemplar/multiple-predicate tests/httpd/exemplar/old-put tests/httpd/exemplar/post tests/httpd/exemplar/put-get tests/httpd/exemplar/union-logic tests/httpd/run.pl tests/httpd/scripts/add-copy-move tests/httpd/scripts/ask-twice tests/httpd/scripts/badslot-construct tests/httpd/scripts/classes tests/httpd/scripts/cors_error tests/httpd/scripts/cors_get tests/httpd/scripts/cors_head tests/httpd/scripts/cors_options tests/httpd/scripts/cors_post tests/httpd/scripts/date-comparison tests/httpd/scripts/empty tests/httpd/scripts/formats tests/httpd/scripts/fulltext tests/httpd/scripts/functions tests/httpd/scripts/functions-abs tests/httpd/scripts/functions-ceil tests/httpd/scripts/functions-floor tests/httpd/scripts/functions-rand tests/httpd/scripts/functions-round tests/httpd/scripts/functions-substr tests/httpd/scripts/insert-delete tests/httpd/scripts/insert-delete-where tests/httpd/scripts/limit tests/httpd/scripts/multiple-predicate tests/httpd/scripts/old-put tests/httpd/scripts/post tests/httpd/scripts/put-get tests/httpd/scripts/union-logic tests/httpd/sparql.sh tests/query/exemplar/add-and-delete tests/query/exemplar/aggregates-empty-cases tests/query/exemplar/construct-union tests/query/exemplar/count tests/query/exemplar/distinct-predicate tests/query/exemplar/distinct-union tests/query/exemplar/foaf-agg-filter tests/query/exemplar/foaf-agg-filter-corner0 tests/query/exemplar/foaf-all-limit tests/query/exemplar/foaf-bnode-vs-variable tests/query/exemplar/foaf-construct tests/query/exemplar/foaf-disjunctive-filter tests/query/exemplar/foaf-distinct tests/query/exemplar/foaf-graph-all tests/query/exemplar/foaf-graph-pred tests/query/exemplar/foaf-groupby-filter tests/query/exemplar/foaf-groupby-filter2 tests/query/exemplar/foaf-knows-name tests/query/exemplar/foaf-knows-name-sha1 tests/query/exemplar/foaf-knows-sha1 tests/query/exemplar/foaf-knows-sha1-xml tests/query/exemplar/foaf-minus tests/query/exemplar/foaf-multi-disjunctive-filter tests/query/exemplar/foaf-nested-optional tests/query/exemplar/foaf-nothing tests/query/exemplar/foaf-optional-order tests/query/exemplar/foaf-optional-pair tests/query/exemplar/foaf-optional-regex tests/query/exemplar/foaf-repeat-var tests/query/exemplar/graphs tests/query/exemplar/groupby-count-order1 tests/query/exemplar/groupby-count-order2 tests/query/exemplar/null-optional tests/query/exemplar/null-optional-double tests/query/exemplar/optimiser-disjunction tests/query/exemplar/optional-no-lhs tests/query/exemplar/select-bnodes tests/query/exemplar/select-order tests/query/exemplar/select-unused tests/query/exemplar/size tests/query/exemplar/tiger-broadway tests/query/exemplar/tiger-explosion tests/query/exemplar/tiger-fail-optional tests/query/exemplar/tiger-groupby-class tests/query/exemplar/tiger-harold-ave tests/query/exemplar/tiger-landmarks tests/query/exemplar/tiger-mixed-optional tests/query/exemplar/tiger-reverse tests/query/exemplar/tiger-sugar-hill tests/query/exemplar/tiger-sugar-hill-filter tests/query/exemplar/tiger-typical tests/query/exemplar/tiger-water-names tests/query/exemplar/union-ask tests/query/exemplar/union-nobind tests/query/run.pl tests/query/scripts/add-and-delete tests/query/scripts/aggregates-empty-cases tests/query/scripts/construct-union tests/query/scripts/count tests/query/scripts/distinct-predicate tests/query/scripts/distinct-union tests/query/scripts/foaf-agg-filter tests/query/scripts/foaf-agg-filter-corner0 tests/query/scripts/foaf-all-limit tests/query/scripts/foaf-bnode-vs-variable tests/query/scripts/foaf-construct tests/query/scripts/foaf-disjunctive-filter tests/query/scripts/foaf-distinct tests/query/scripts/foaf-graph-all tests/query/scripts/foaf-graph-pred tests/query/scripts/foaf-groupby-filter tests/query/scripts/foaf-groupby-filter2 tests/query/scripts/foaf-knows-name tests/query/scripts/foaf-knows-name-sha1 tests/query/scripts/foaf-knows-sha1 tests/query/scripts/foaf-knows-sha1-xml tests/query/scripts/foaf-minus tests/query/scripts/foaf-multi-disjunctive-filter tests/query/scripts/foaf-nested-optional tests/query/scripts/foaf-nothing tests/query/scripts/foaf-optional-order tests/query/scripts/foaf-optional-pair tests/query/scripts/foaf-optional-regex tests/query/scripts/foaf-repeat-var tests/query/scripts/graphs tests/query/scripts/groupby-count-order1 tests/query/scripts/groupby-count-order2 tests/query/scripts/integrity tests/query/scripts/null-optional tests/query/scripts/null-optional-double tests/query/scripts/optimiser-disjunction tests/query/scripts/optional-no-lhs tests/query/scripts/select-bnodes tests/query/scripts/select-order tests/query/scripts/select-unused tests/query/scripts/size tests/query/scripts/tiger-broadway tests/query/scripts/tiger-explosion tests/query/scripts/tiger-fail-optional tests/query/scripts/tiger-groupby-class tests/query/scripts/tiger-harold-ave tests/query/scripts/tiger-landmarks tests/query/scripts/tiger-mixed-optional tests/query/scripts/tiger-reverse tests/query/scripts/tiger-sugar-hill tests/query/scripts/tiger-sugar-hill-filter tests/query/scripts/tiger-typical tests/query/scripts/tiger-water-names tests/query/scripts/union-ask tests/query/scripts/union-nobind tests/query/setup.sh version.sh version.sh.in Copyright: *No copyright* License: UNKNOWN FIXME Files: src/backend/backend.c src/backend/bcdump.c src/backend/bctest.c src/backend/bucket.c src/backend/chain.c src/backend/disk-space.c src/backend/import-backend.c src/backend/list.c src/backend/listdump.c src/backend/lock.c src/backend/metadata.c src/backend/mhashdump.c src/backend/ptable.c src/backend/ptabletest.c src/backend/ptreebind.c src/backend/ptreedump.c src/backend/ptreetest.c src/backend/query-backend.c src/backend/rhashdump.c src/backend/sort.c src/backend/tbchain.c src/backend/tbchaindump.c src/backend/tbchaintest.c src/backend/tlist.c src/backend/tree.c src/backend/treedump.c src/backend/treetest.c src/common/datatypes.c src/common/error.c src/common/hash.c src/common/timing.c src/frontend/4s-import.c src/frontend/decimal-test.c src/frontend/decimal.c src/frontend/delete-model.c src/frontend/filter-datatypes.c src/frontend/filter-test.c src/frontend/filter.c src/frontend/import.c src/frontend/optimiser.c src/frontend/order.c src/frontend/query-cache.c src/frontend/query-data.c src/frontend/query-datatypes.c src/frontend/query.c src/utilities/backend-info.c src/utilities/backend-setup.c src/utilities/lex-file-verify.c Copyright: 2006, Steve Harris for Garlik 2007, Steve Harris for Garlik 2008, Steve Harris for Garlik License: GPL-3+ FIXME Files: INSTALL Makefile.in man/Makefile.in src/Makefile.in src/backend/Makefile.in src/common/Makefile.in src/frontend/Makefile.in src/http/Makefile.in src/libs/Makefile.in src/libs/double-metaphone/Makefile.in src/libs/mt19937-64/Makefile.in src/libs/stemmer/Makefile.in src/utilities/Makefile.in tests/Makefile.in Copyright: 1994-1996, 1999-2002, 2004-2005 1994-2002 License: UNKNOWN FIXME Files: src/backend/server.c src/common/4s-client.c src/common/4s-common.c src/common/4s-mdns.c src/common/4s-server.c src/frontend/4s-bind.c src/frontend/4s-resolve.c src/frontend/4s-reverse-bind.c src/frontend/dump.c src/frontend/restore-trix.c src/frontend/restore.c src/utilities/4s-rid.c src/utilities/passwd.c Copyright: 2006, Nick Lamb for Garlik.com 2006-7 Nick Lamb for Garlik.com License: GPL-3+ FIXME Files: src/backend/listtest.c src/backend/prefix-trie-test.c src/backend/prefix-trie.c src/common/gnu-options.c src/frontend/4s-update.c src/frontend/group.c src/frontend/update.c Copyright: 2009, Steve Harris 2010, Steve Harris License: GPL-3+ FIXME Files: src/backend/mhash.c src/backend/mhashtest.c src/backend/ptree.c src/backend/rhash.c src/backend/rhashtest.c src/common/hashtest.c Copyright: *No copyright* License: GPL-3+ FIXME Files: config.guess config.sub missing Copyright: 1992-1999, 1992-2001 1996-1997, 1999-2000, 2002-2006 License: GPL-2+ FIXME Files: src/frontend/4s-info.c src/frontend/4s-query.c src/frontend/size.c Copyright: 2006, Nick Lamb and Steve Harris for Garlik 2006-7 Nick Lamb and Steve Harris for Garlik License: GPL-3+ FIXME Files: src/libs/mt19937-64/mt19937-64.c src/libs/mt19937-64/mt64.h Copyright: 2004, Makoto Matsumoto and Takuji Nishimura HOLDERS AND CONTRIBUTORS OWNER OR License: BSD (2 clause) FIXME Files: src/backend/query-backend.h src/frontend/filter-datatypes.h Copyright: 2006, Steve Harris License: GPL-2+ FIXME Files: src/http/httpd.c src/http/httpd.h Copyright: 2006, Nick Lamb for Garlik.com 2010, Martin Galpin (CORS support) License: GPL-3+ FIXME Files: src/utilities/backend-copy.c src/utilities/backend-destroy.c Copyright: 2006, Nick Lamb for Garlik.com 2006, Steve Harris for Garlik.com 2006-7 Nick Lamb for Garlik.com License: GPL-3+ FIXME Files: src/common/msort.c src/common/qsort.c Copyright: 1991-1992,1996-1997,1999,2004, Free Software Foundation, Inc 1992,95-97,99,2000,01,02,04,07 Free Software Foundation, Inc License: LGPL-2.1+ FIXME Files: src/common/umac.c src/common/umac.h Copyright: 1999-2004, Ted Krovetz 1999-2006, Ted Krovetz License: Public domain FIXME Files: src/common/rijndael-alg-fst.h Copyright: *No copyright* License: BSD FIXME Files: src/common/rijndael-alg-fst.c Copyright: *No copyright* License: BSD GPL-3+ FIXME Files: configure Copyright: (ISLOWER ? 'A' + ( - 'a') : ) (ISLOWER ? ( | 0x40) : ) 1992-1996, 1998-2001, 1996-2001, 2003-2005 2008, Free Software Foundation, Inc License: GPL-2+ FIXME Files: aclocal.m4 Copyright: 1996-1997, 2000-2001, 2003, 2005, 1996-1997, 2000-2001, 2003, 2005, 2008 1996-2001, 2003-2005 1996-2004, 1997, 1999-2001, 2003-2005, 2008 1997, 2000-2001, 2003-2006, 2008 1999-2005, 2008 1999-2006, 2009 2001, 2003, 2005, 2008 Free Software Foundation, Inc 2001, 2003, 2005, Free Software Foundation, Inc 2001-2003, 2005, 2008, Free Software Foundation, Inc 2001-2003, 2005, 2009, Free Software Foundation, Inc 2002-2003, 2005-2008, Free Software Foundation, Inc 2003, 2005 Free Software Foundation, Inc 2003-2006, Free Software Foundation, Inc 2004, Free Software Foundation, Inc 2004, Scott James Remnant 2004-2005, 2007 Free Software Foundation, Inc 2004-2005, 2007-2008, Free Software Foundation, Inc 2004-2005, Free Software Foundation, Inc 2006, 2008 Free Software Foundation, Inc 2008, Free Software Foundation, Inc License: GPL-2+ FIXME Files: depcomp Copyright: 1999-2000, 2003-2007, 2009 Free License: GPL-2+ FIXME Files: ltmain.sh Copyright: 1996-2001, 2003-2007, 2008 Free Software Foundation, Inc License: GPL-2+ FIXME Files: COPYING Copyright: 2007, Free Software Foundation, Inc. HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS are not disclaimer" for the program, if necessary holder as a result of your choosing to follow a holder explicitly and holder is holder is reinstated (a) holder notifies you of the holder who authorizes use under this holder, and you cure the violation prior to 30 days after holders of if you do law law, except executing it on a on the Program, and are irrevocable provided the stated on the software, and (2) offer you this License permission permission, other than the making of an treaty adopted on 20 December 1996, or License: GPL-3+ FIXME Files: debian/rules Copyright: 2010, Dave Beckett 2011-2012, Jonas Smedegaard License: GPL-3+ FIXME Files: src/frontend/results.c Copyright: 2006, Steve Harris for Garlik fputc(',', out); fputc('\t', out); fputs(",\n ", out); License: GPL-3+ FIXME Files: install-sh Copyright: 1994, X Consortium License: MIT/X11 (BSD like) FIXME Files: autogen.sh Copyright: *No copyright* License: Public domain FIXME Files: data/lengthy.nt Copyright: 1989, 1991 Free Software Foundation, Inc.\n675 Mass Ave, Cambridge, MA 02139, USA\nEveryone is permitted to copy and distribute verbatim copies\nof this license document, but changing it is not allowed.\n\nPreamble\n\nThe licenses for most software are designed to take away your\n freedom to share and change it. By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users. This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it. (Some other Free Software Foundation software is covered by\nthe GNU Library General Public License instead.) You can apply it to\nyour programs, too.\nWhen we speak of free software, we are referring to freedom, not\nprice. Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\nTo protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\nFor example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have. You must make sure that they, too, receive or can get the\nsource code. And you must show them these terms so they know their\nrights.\nWe protect your rights with two steps: (1) the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\nAlso, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware. If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\nFinally, any free program is threatened constantly by software\npatents. We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary. To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all." License: UNKNOWN FIXME Files: src/libs/double-metaphone/README Copyright: 2000, Maurice Aubrey License: UNKNOWN FIXME Files: src/libs/stemmer/runtime/utilities.c Copyright: if(!) License: UNKNOWN FIXME Files: src/common/md5.h Copyright: 1999, 2002 Aladdin Enterprises. License: zlib/libpng FIXME Files: src/common/md5.c Copyright: 1999-2000, 2002 Aladdin Enterprises. License: zlib/libpng GPL-3+ FIXME debian/4store.postrm0000664000000000000000000000027711535274375011700 0ustar #!/bin/sh set -e installinit_error() { exit $? } #DEBHELPER# if [ "$1" = "purge" ]; then deluser --system --quiet fourstore || true rm -rf /var/lib/4store/ rm -rf /var/log/4store/ fi debian/control.in.in0000664000000000000000000000420511731062675011616 0ustar Source: 4store Section: utils Priority: extra Maintainer: Jonas Smedegaard Uploaders: Dave Beckett Build-Depends: @cdbs@ Standards-Version: 3.9.3 Homepage: http://www.4store.org/ Vcs-Git: git://git.debian.org/git/collab-maint/4store Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/4store.git Package: 4store Architecture: any Depends: adduser, lsb-base (>= 3.2-13), netbase, ${shlibs:Depends}, ${misc:Depends} Recommends: avahi-daemon Description: RDF database storage and query engine -- database daemon 4store is a database storage and query engine that holds RDF data. . 4store's main strengths are its performance, scalability and stability. It does not provide many features over and above RDF storage and SPARQL queries, but if your are looking for a scalable, secure, fast and efficient RDF store, then 4store should be on your shortlist. . This package contains the database daemon and related utilities. Package: lib4store-dev Section: libdevel Architecture: any Depends: __LIBPKGNAME__ (= ${binary:Version}), ${misc:Depends} Description: RDF database storage and query engine -- development files 4store is a database storage and query engine that holds RDF data. . 4store's main strengths are its performance, scalability and stability. It does not provide many features over and above RDF storage and SPARQL queries, but if your are looking for a scalable, secure, fast and efficient RDF store, then 4store should be on your shortlist. . This package contains the development headers and static library. Package: __LIBPKGNAME__ Section: libs Architecture: any Suggests: lib4store-dev Depends: ${misc:Depends}, ${shlibs:Depends} Description: RDF database storage and query engine -- shared library 4store is a database storage and query engine that holds RDF data. . 4store's main strengths are its performance, scalability and stability. It does not provide many features over and above RDF storage and SPARQL queries, but if your are looking for a scalable, secure, fast and efficient RDF store, then 4store should be on your shortlist. . This package contains the shared library lib4store. debian/control0000664000000000000000000000465512256156630010613 0ustar Source: 4store Section: utils Priority: extra Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Jonas Smedegaard Uploaders: Dave Beckett Build-Depends: cdbs, debhelper, dh-buildinfo, libpcre3-dev, libglib2.0-dev, ncurses-dev, libreadline-dev, libavahi-client-dev, libavahi-glib-dev, libstemmer-dev, librasqal3-dev, libraptor2-dev, d-shlibs (>= 0.45~), dh-autoreconf Standards-Version: 3.9.3 Homepage: http://www.4store.org/ Vcs-Git: git://git.debian.org/git/collab-maint/4store Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/4store.git Package: 4store Architecture: any Depends: adduser, lsb-base (>= 3.2-13), netbase, ${shlibs:Depends}, ${misc:Depends} Recommends: avahi-daemon Description: RDF database storage and query engine -- database daemon 4store is a database storage and query engine that holds RDF data. . 4store's main strengths are its performance, scalability and stability. It does not provide many features over and above RDF storage and SPARQL queries, but if your are looking for a scalable, secure, fast and efficient RDF store, then 4store should be on your shortlist. . This package contains the database daemon and related utilities. Package: lib4store-dev Section: libdevel Architecture: any Depends: lib4store0 (= ${binary:Version}), ${misc:Depends} Description: RDF database storage and query engine -- development files 4store is a database storage and query engine that holds RDF data. . 4store's main strengths are its performance, scalability and stability. It does not provide many features over and above RDF storage and SPARQL queries, but if your are looking for a scalable, secure, fast and efficient RDF store, then 4store should be on your shortlist. . This package contains the development headers and static library. Package: lib4store0 Section: libs Architecture: any Suggests: lib4store-dev Depends: ${misc:Depends}, ${shlibs:Depends} Description: RDF database storage and query engine -- shared library 4store is a database storage and query engine that holds RDF data. . 4store's main strengths are its performance, scalability and stability. It does not provide many features over and above RDF storage and SPARQL queries, but if your are looking for a scalable, secure, fast and efficient RDF store, then 4store should be on your shortlist. . This package contains the shared library lib4store. debian/gbp.conf0000664000000000000000000000014611535311134010605 0ustar # Configuration file for git-buildpackage and friends [DEFAULT] pristine-tar = True sign-tags = True debian/patches/0000775000000000000000000000000012126143113010611 5ustar debian/patches/1005_handle_PATH_MAX.patch0000664000000000000000000000246111731062433015064 0ustar Description: Handle PATH_MAX in a portable way (2/2) Author: Cyril Roelandt Last-Update: 2012-03-17 --- a/src/utilities/backend-copy.c +++ b/src/utilities/backend-copy.c @@ -105,9 +105,12 @@ } } - char lexf[PATH_MAX + 1]; - lexf[PATH_MAX] = '\0'; - snprintf(lexf, PATH_MAX, FS_STORE_ROOT "/%s", tokb); + char *lexf = NULL; + int lexflen = snprintf(NULL, 0, FS_STORE_ROOT "/%s", tokb) + 1; + lexf = malloc(lexflen); + if (!lexf) + return EXIT_FAILURE; + snprintf(lexf, lexflen, FS_STORE_ROOT "/%s", tokb); int result = mkdir(lexf, 0777); if (result) { @@ -119,13 +122,19 @@ return 3; } - snprintf(lexf, PATH_MAX, "cp -a " FS_KB_DIR "* " FS_STORE_ROOT "/%s", fromkb, tokb); + lexflen = snprintf(NULL, 0, "cp -a " FS_KB_DIR "* " FS_STORE_ROOT "/%s", fromkb, tokb) + 1; + lexf = realloc(lexf, lexflen); + if (!lexf) + return EXIT_FAILURE; + snprintf(lexf, lexflen, "cp -a " FS_KB_DIR "* " FS_STORE_ROOT "/%s", fromkb, tokb); if (verbosity) printf("executing %s\n", lexf); if (system(lexf)) { fs_error(LOG_ERR, "problem while copying data files from “%s” to “%s”", fromkb, tokb); return 4; } + free(lexf); + /* fix up */ fs_metadata *meta = fs_metadata_open(tokb); debian/patches/1003_Include_sys-statfs.patch0000664000000000000000000000064211731062427016073 0ustar Description: Include sys/statfs instead of sys/mount.h on GNU Hurd Author: Cyril Roelandt Last-Update: 2012-03-17 --- a/src/backend/disk-space.c +++ b/src/backend/disk-space.c @@ -20,7 +20,11 @@ #include <4store-config.h> #include +#if defined (__GNU__) +#include +#else #include +#endif #include #include #include debian/patches/1001_fix_ftbfs_with_as_needed.patch0000664000000000000000000000313711707033645017307 0ustar Description: Declare libraries in LIBS (not AM_LDFLAGS) to support --as-needed Author: Ilya Barygin Bug-Debian: http://bugs.debian.org/633295 Bug-Ubuntu: https://launchpad.net/bugs/803170 --- a/src/backend/Makefile.am +++ b/src/backend/Makefile.am @@ -1,5 +1,5 @@ AM_CFLAGS = -Wall -g -std=gnu99 -O2 -I.. -DGIT_REV=@GIT_REV@ @RAPTOR_CFLAGS@ @GLIB_CFLAGS@ @MDNS_CFLAGS@ -AM_LDFLAGS = -lz @RAPTOR_LIBS@ @GLIB_LIBS@ @MDNS_LIBS@ +LIBS = -lz @RAPTOR_LIBS@ @GLIB_LIBS@ @MDNS_LIBS@ bin_PROGRAMS = 4s-backend --- a/src/http/Makefile.am +++ b/src/http/Makefile.am @@ -6,7 +6,7 @@ # PROFILE = -pg AM_CFLAGS = -std=gnu99 -Wall $(PROFILE) -g -O2 -I./ -I../ -DGIT_REV=@GIT_REV@ @RASQAL_CFLAGS@ @RAPTOR_CFLAGS@ @GLIB_CFLAGS@ @LIBXML_CFLAGS@ @GTHREAD_CFLAGS@ @MDNS_CFLAGS@ `pcre-config --cflags` -AM_LDFLAGS = $(PROFILE) @RASQAL_LIBS@ @RAPTOR_LIBS@ @GLIB_LIBS@ @LIBXML_LIBS@ @GTHREAD_LIBS@ @MDNS_LIBS@ `pcre-config --libs` +LIBS = $(PROFILE) @RASQAL_LIBS@ @RAPTOR_LIBS@ @GLIB_LIBS@ @LIBXML_LIBS@ @GTHREAD_LIBS@ @MDNS_LIBS@ `pcre-config --libs` 4s_httpd_SOURCES = httpd.c ../common/gnu-options.c 4s_httpd_LDADD = ../common/lib4sintl.a $(FRONTEND) ../common/libsort.a ../libs/stemmer/libstemmer.a ../libs/double-metaphone/libdouble_metaphone.a ../libs/mt19937-64/libmt64.a --- a/src/utilities/Makefile.am +++ b/src/utilities/Makefile.am @@ -1,5 +1,5 @@ AM_CFLAGS = -Wall -g -std=gnu99 -I.. -DGIT_REV=@GIT_REV@ @GLIB_CFLAGS@ -AM_LDFLAGS = -lz @GLIB_LIBS@ @RAPTOR_LIBS@ +LIBS = -lz @GLIB_LIBS@ @RAPTOR_LIBS@ bin_PROGRAMS = 4s-backend-setup 4s-backend-destroy 4s-backend-info 4s-backend-copy 4s-backend-passwd debian/patches/1004_handle_PATH_MAX.patch0000664000000000000000000000336111731062431015061 0ustar Description: Handle PATH_MAX in a portable way (1/2) Author: Cyril Roelandt Last-Update: 2012-03-17 --- a/src/utilities/backend-destroy.c +++ b/src/utilities/backend-destroy.c @@ -109,21 +109,32 @@ } } - char lexf[PATH_MAX + 1]; - lexf[PATH_MAX] = '\0'; + char *lexf = NULL; + int lexflen = 0; int unlinked = 0, errs = 0; for (fs_segment segment = 0; segment < FS_MAX_SEGMENTS; ++segment) { - snprintf(lexf, PATH_MAX, "rm -rf " FS_SEG_DIR "*", name, segment); + lexflen = snprintf(NULL, 0, "rm -rf " FS_SEG_DIR "*", name, segment)+1; + lexf = malloc(lexflen); + if (!lexf) + return EXIT_FAILURE; + snprintf(lexf, lexflen, "rm -rf " FS_SEG_DIR "*", name, segment); system(lexf); - snprintf(lexf, PATH_MAX, FS_SEG_DIR, name, segment); + snprintf(lexf, lexflen, FS_SEG_DIR, name, segment); unlinked += delete_it(lexf, &errs); + free(lexf); } - snprintf(lexf, PATH_MAX, FS_KB_DIR "metadata.nt", name); + /* This should be enough memory for the next three calls to snprintf(). */ + lexflen = snprintf(NULL, 0, FS_KB_DIR "metadata.nt", name) + 1; + lexf = malloc(lexflen); + if (!lexf) + return EXIT_FAILURE; + snprintf(lexf, lexflen, FS_KB_DIR "metadata.nt", name); unlinked += delete_it(lexf, &errs); - snprintf(lexf, PATH_MAX, FS_KB_DIR "backup", name); + snprintf(lexf, lexflen, FS_KB_DIR "backup", name); unlinked += delete_it(lexf, &errs); - snprintf(lexf, PATH_MAX, FS_KB_DIR, name); + snprintf(lexf, lexflen, FS_KB_DIR, name); unlinked += delete_it(lexf, &errs); + free(lexf); if (unlinked > 0 && !errs) fs_error(LOG_INFO, "deleted data files for KB %s", name); debian/patches/1002_define_HOST_NAME_MAX.patch0000664000000000000000000000143011731062424015674 0ustar Description: Define HOST_NAME_MAX and _POSIX_HOST_NAME_MAX Author: Cyril Roelandt Last-Update: 2012-03-17 --- a/src/common/4s-mdns.c +++ b/src/common/4s-mdns.c @@ -21,11 +21,16 @@ #include "4s-internals.h" #include "error.h" +#include #include #include #include #include +#ifndef HOST_NAME_MAX +#define HOST_NAME_MAX _POSIX_HOST_NAME_MAX +#endif + #define SERVICE_TYPE "_4store._tcp" #if defined(USE_AVAHI) @@ -332,16 +337,11 @@ #include #include -#include #include #include #include "error.h" -#ifndef HOST_NAME_MAX -#define HOST_NAME_MAX _POSIX_HOST_NAME_MAX -#endif - static int found = 0; /* Use apple-style DNS-SD library */ debian/patches/README0000664000000000000000000000073511707033430011502 0ustar 0xxx: Grabbed from upstream development. 1xxx: Possibly relevant for upstream adoption. 2xxx: Only relevant for official Debian release. The point of the numbered patch naming scheme is for patches targeted for upstream adoption to not be "infected" by already-upstream or local-only changes. The series file can be (re)created with the following command from within the patches dir (and manually commenting out any disabled patches afterwards): ls -1 0* 1* 2* > series debian/patches/series0000664000000000000000000000046612126143011012031 0ustar 1001_fix_ftbfs_with_as_needed.patch 1002_define_HOST_NAME_MAX.patch 1003_Include_sys-statfs.patch 1004_handle_PATH_MAX.patch 1005_handle_PATH_MAX.patch 2001a_fix_ftbfs_with_as_needed_autoconf.patch 2002_use_system_shared_libstemmer.patch 2002a_use_system_shared_libstemmer_autoconf.patch 1006_armhf_libm.patch debian/patches/2002a_use_system_shared_libstemmer_autoconf.patch0000664000000000000000000001021711707032060022310 0ustar --- a/src/libs/Makefile.in +++ b/src/libs/Makefile.in @@ -220,7 +220,7 @@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ -SUBDIRS = stemmer double-metaphone mt19937-64 +SUBDIRS = double-metaphone mt19937-64 all: all-recursive .SUFFIXES: --- a/src/frontend/Makefile.in +++ b/src/frontend/Makefile.in @@ -67,7 +67,6 @@ am_4s_import_OBJECTS = 4s-import.$(OBJEXT) import.$(OBJEXT) 4s_import_OBJECTS = $(am_4s_import_OBJECTS) 4s_import_DEPENDENCIES = ../common/lib4sintl.a \ - ../libs/stemmer/libstemmer.a \ ../libs/double-metaphone/libdouble_metaphone.a \ ../common/libsort.a am_4s_info_OBJECTS = 4s-info.$(OBJEXT) query.$(OBJEXT) \ @@ -108,7 +107,6 @@ group.$(OBJEXT) optimiser.$(OBJEXT) decimal.$(OBJEXT) 4s_update_OBJECTS = $(am_4s_update_OBJECTS) 4s_update_DEPENDENCIES = ../common/lib4sintl.a ../common/libsort.a \ - ../libs/stemmer/libstemmer.a \ ../libs/double-metaphone/libdouble_metaphone.a \ ../libs/mt19937-64/libmt64.a am_decimal_test_OBJECTS = decimal-test.$(OBJEXT) decimal.$(OBJEXT) @@ -293,9 +291,9 @@ 4s_query_SOURCES = 4s-query.c query.c results.c query-data.c query-datatypes.c query-cache.c filter.c filter-datatypes.c order.c group.c optimiser.c decimal.c 4s_query_LDADD = ../common/lib4sintl.a ../common/libsort.a ../libs/mt19937-64/libmt64.a @RAPTOR_LIBS@ @RASQAL_LIBS@ @MDNS_LIBS@ 4s_update_SOURCES = 4s-update.c update.c import.c ../common/gnu-options.c query.c results.c query-data.c query-datatypes.c query-cache.c filter.c filter-datatypes.c order.c group.c optimiser.c decimal.c -4s_update_LDADD = ../common/lib4sintl.a ../common/libsort.a ../libs/stemmer/libstemmer.a ../libs/double-metaphone/libdouble_metaphone.a ../libs/mt19937-64/libmt64.a @RAPTOR_LIBS@ @RASQAL_LIBS@ @MDNS_LIBS@ +4s_update_LDADD = ../common/lib4sintl.a -lstemmer ../common/libsort.a ../libs/double-metaphone/libdouble_metaphone.a ../libs/mt19937-64/libmt64.a @RAPTOR_LIBS@ @RASQAL_LIBS@ @MDNS_LIBS@ 4s_import_SOURCES = 4s-import.c import.c -4s_import_LDADD = ../common/lib4sintl.a ../libs/stemmer/libstemmer.a ../libs/double-metaphone/libdouble_metaphone.a ../common/libsort.a @RAPTOR_LIBS@ @MDNS_LIBS@ +4s_import_LDADD = ../common/lib4sintl.a -lstemmer ../libs/double-metaphone/libdouble_metaphone.a ../common/libsort.a @RAPTOR_LIBS@ @MDNS_LIBS@ 4s_delete_model_SOURCES = delete-model.c ../common/gnu-options.c 4s_delete_model_LDADD = ../common/lib4sintl.a @MDNS_LIBS@ 4s_size_SOURCES = size.c ../common/gnu-options.c --- a/src/http/Makefile.in +++ b/src/http/Makefile.in @@ -52,7 +52,7 @@ am_4s_httpd_OBJECTS = httpd.$(OBJEXT) gnu-options.$(OBJEXT) 4s_httpd_OBJECTS = $(am_4s_httpd_OBJECTS) 4s_httpd_DEPENDENCIES = ../common/lib4sintl.a $(FRONTEND) \ - ../common/libsort.a ../libs/stemmer/libstemmer.a \ + ../common/libsort.a \ ../libs/double-metaphone/libdouble_metaphone.a \ ../libs/mt19937-64/libmt64.a DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) @@ -212,10 +212,10 @@ FRONTEND = ../frontend/query-cache.o ../frontend/query-datatypes.o ../frontend/query-data.o ../frontend/query.o ../frontend/optimiser.o ../frontend/order.o ../frontend/filter.o ../frontend/filter-datatypes.o ../frontend/decimal.o ../frontend/results.o ../frontend/import.o ../frontend/update.o ../frontend/group.o # PROFILE = -pg -AM_CFLAGS = -std=gnu99 -Wall $(PROFILE) -g -O2 -I./ -I../ -DGIT_REV=@GIT_REV@ @RASQAL_CFLAGS@ @RAPTOR_CFLAGS@ @GLIB_CFLAGS@ @LIBXML_CFLAGS@ @GTHREAD_CFLAGS@ @MDNS_CFLAGS@ `pcre-config --cflags` +AM_CFLAGS = -std=gnu99 -Wall $(PROFILE) -g -O2 -I./ -I../ -DGIT_REV=@GIT_REV@ @RASQAL_CFLAGS@ @RAPTOR_CFLAGS@ @GLIB_CFLAGS@ @LIBXML_CFLAGS@ @GTHREAD_CFLAGS@ @MDNS_CFLAGS@ `pcre-config --cflags` -I/usr/include LIBS = $(PROFILE) @RASQAL_LIBS@ @RAPTOR_LIBS@ @GLIB_LIBS@ @LIBXML_LIBS@ @GTHREAD_LIBS@ @MDNS_LIBS@ `pcre-config --libs` 4s_httpd_SOURCES = httpd.c ../common/gnu-options.c -4s_httpd_LDADD = ../common/lib4sintl.a $(FRONTEND) ../common/libsort.a ../libs/stemmer/libstemmer.a ../libs/double-metaphone/libdouble_metaphone.a ../libs/mt19937-64/libmt64.a +4s_httpd_LDADD = ../common/lib4sintl.a $(FRONTEND) ../common/libsort.a -lstemmer ../libs/double-metaphone/libdouble_metaphone.a ../libs/mt19937-64/libmt64.a all: all-am .SUFFIXES: debian/patches/2001a_fix_ftbfs_with_as_needed_autoconf.patch0000664000000000000000000000416211707033656021350 0ustar Description: Declare libraries in LIBS (not AM_LDFLAGS) to support --as-needed Author: Ilya Barygin Bug-Debian: http://bugs.debian.org/633295 Bug-Ubuntu: https://launchpad.net/bugs/803170 --- a/src/backend/Makefile.in +++ b/src/backend/Makefile.in @@ -306,7 +306,7 @@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ AM_CFLAGS = -Wall -g -std=gnu99 -O2 -I.. -DGIT_REV=@GIT_REV@ @RAPTOR_CFLAGS@ @GLIB_CFLAGS@ @MDNS_CFLAGS@ -AM_LDFLAGS = -lz @RAPTOR_LIBS@ @GLIB_LIBS@ @MDNS_LIBS@ +LIBS = -lz @RAPTOR_LIBS@ @GLIB_LIBS@ @MDNS_LIBS@ noinst_LIBRARIES = lib4storage.a noinst_HEADERS = backend-intl.h backend.h bucket.h chain.h disk-space.h import-backend.h list.h lock.h metadata.h mhash.h prefix-trie.h ptable.h ptree.h query-backend.h rhash.h sort.h tbchain.h tlist.h tree-intl.h tree.h LIB_OBJS = chain.o bucket.o list.o tlist.o rhash.o mhash.o sort.o \ --- a/src/http/Makefile.in +++ b/src/http/Makefile.in @@ -213,7 +213,7 @@ # PROFILE = -pg AM_CFLAGS = -std=gnu99 -Wall $(PROFILE) -g -O2 -I./ -I../ -DGIT_REV=@GIT_REV@ @RASQAL_CFLAGS@ @RAPTOR_CFLAGS@ @GLIB_CFLAGS@ @LIBXML_CFLAGS@ @GTHREAD_CFLAGS@ @MDNS_CFLAGS@ `pcre-config --cflags` -AM_LDFLAGS = $(PROFILE) @RASQAL_LIBS@ @RAPTOR_LIBS@ @GLIB_LIBS@ @LIBXML_LIBS@ @GTHREAD_LIBS@ @MDNS_LIBS@ `pcre-config --libs` +LIBS = $(PROFILE) @RASQAL_LIBS@ @RAPTOR_LIBS@ @GLIB_LIBS@ @LIBXML_LIBS@ @GTHREAD_LIBS@ @MDNS_LIBS@ `pcre-config --libs` 4s_httpd_SOURCES = httpd.c ../common/gnu-options.c 4s_httpd_LDADD = ../common/lib4sintl.a $(FRONTEND) ../common/libsort.a ../libs/stemmer/libstemmer.a ../libs/double-metaphone/libdouble_metaphone.a ../libs/mt19937-64/libmt64.a all: all-am --- a/src/utilities/Makefile.in +++ b/src/utilities/Makefile.in @@ -259,7 +259,7 @@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ AM_CFLAGS = -Wall -g -std=gnu99 -I.. -DGIT_REV=@GIT_REV@ @GLIB_CFLAGS@ -AM_LDFLAGS = -lz @GLIB_LIBS@ @RAPTOR_LIBS@ +LIBS = -lz @GLIB_LIBS@ @RAPTOR_LIBS@ dist_bin_SCRIPTS = 4s-ssh-all 4s-ssh-all-parallel \ 4s-cluster-create 4s-cluster-destroy 4s-cluster-start 4s-cluster-stop \ 4s-cluster-info 4s-dump 4s-restore 4s-file-backup 4s-cluster-file-backup \ debian/patches/1006_armhf_libm.patch0000664000000000000000000000337112126143113014404 0ustar Index: 4store-1.1.4/src/http/Makefile.am =================================================================== --- 4store-1.1.4.orig/src/http/Makefile.am 2013-03-31 19:19:41.000000000 -0400 +++ 4store-1.1.4/src/http/Makefile.am 2013-03-31 19:26:39.367220978 -0400 @@ -9,4 +9,4 @@ LIBS = $(PROFILE) @RASQAL_LIBS@ @RAPTOR_LIBS@ @GLIB_LIBS@ @LIBXML_LIBS@ @GTHREAD_LIBS@ @MDNS_LIBS@ `pcre-config --libs` 4s_httpd_SOURCES = httpd.c ../common/gnu-options.c -4s_httpd_LDADD = ../common/lib4sintl.a $(FRONTEND) ../common/libsort.a -lstemmer ../libs/double-metaphone/libdouble_metaphone.a ../libs/mt19937-64/libmt64.a +4s_httpd_LDADD = ../common/lib4sintl.a $(FRONTEND) ../common/libsort.a -lstemmer ../libs/double-metaphone/libdouble_metaphone.a ../libs/mt19937-64/libmt64.a -lm Index: 4store-1.1.4/src/http/Makefile.in =================================================================== --- 4store-1.1.4.orig/src/http/Makefile.in 2013-03-31 19:19:41.000000000 -0400 +++ 4store-1.1.4/src/http/Makefile.in 2013-03-31 19:27:02.089163770 -0400 @@ -215,7 +215,7 @@ AM_CFLAGS = -std=gnu99 -Wall $(PROFILE) -g -O2 -I./ -I../ -DGIT_REV=@GIT_REV@ @RASQAL_CFLAGS@ @RAPTOR_CFLAGS@ @GLIB_CFLAGS@ @LIBXML_CFLAGS@ @GTHREAD_CFLAGS@ @MDNS_CFLAGS@ `pcre-config --cflags` -I/usr/include LIBS = $(PROFILE) @RASQAL_LIBS@ @RAPTOR_LIBS@ @GLIB_LIBS@ @LIBXML_LIBS@ @GTHREAD_LIBS@ @MDNS_LIBS@ `pcre-config --libs` 4s_httpd_SOURCES = httpd.c ../common/gnu-options.c -4s_httpd_LDADD = ../common/lib4sintl.a $(FRONTEND) ../common/libsort.a -lstemmer ../libs/double-metaphone/libdouble_metaphone.a ../libs/mt19937-64/libmt64.a +4s_httpd_LDADD = ../common/lib4sintl.a $(FRONTEND) ../common/libsort.a -lstemmer ../libs/double-metaphone/libdouble_metaphone.a ../libs/mt19937-64/libmt64.a -lm all: all-am .SUFFIXES: debian/patches/2002_use_system_shared_libstemmer.patch0000664000000000000000000000603111707032005020247 0ustar --- a/src/frontend/Makefile.am +++ b/src/frontend/Makefile.am @@ -18,10 +18,10 @@ 4s_query_LDADD = ../common/lib4sintl.a ../common/libsort.a ../libs/mt19937-64/libmt64.a @RAPTOR_LIBS@ @RASQAL_LIBS@ @MDNS_LIBS@ 4s_update_SOURCES = 4s-update.c update.c import.c ../common/gnu-options.c query.c results.c query-data.c query-datatypes.c query-cache.c filter.c filter-datatypes.c order.c group.c optimiser.c decimal.c -4s_update_LDADD = ../common/lib4sintl.a ../common/libsort.a ../libs/stemmer/libstemmer.a ../libs/double-metaphone/libdouble_metaphone.a ../libs/mt19937-64/libmt64.a @RAPTOR_LIBS@ @RASQAL_LIBS@ @MDNS_LIBS@ +4s_update_LDADD = ../common/lib4sintl.a -lstemmer ../common/libsort.a ../libs/double-metaphone/libdouble_metaphone.a ../libs/mt19937-64/libmt64.a @RAPTOR_LIBS@ @RASQAL_LIBS@ @MDNS_LIBS@ 4s_import_SOURCES = 4s-import.c import.c -4s_import_LDADD = ../common/lib4sintl.a ../libs/stemmer/libstemmer.a ../libs/double-metaphone/libdouble_metaphone.a ../common/libsort.a @RAPTOR_LIBS@ @MDNS_LIBS@ +4s_import_LDADD = ../common/lib4sintl.a -lstemmer ../libs/double-metaphone/libdouble_metaphone.a ../common/libsort.a @RAPTOR_LIBS@ @MDNS_LIBS@ 4s_delete_model_SOURCES = delete-model.c ../common/gnu-options.c 4s_delete_model_LDADD = ../common/lib4sintl.a @MDNS_LIBS@ --- a/src/frontend/import.c +++ b/src/frontend/import.c @@ -36,7 +36,7 @@ #include "../common/4store.h" #include "../common/4s-internals.h" #include "../common/rdf-constants.h" -#include "../libs/stemmer/include/libstemmer.h" +#include #include "../libs/double-metaphone/double_metaphone.h" #define RES_BUF_SIZE 256 --- a/src/http/Makefile.am +++ b/src/http/Makefile.am @@ -5,8 +5,8 @@ FRONTEND = ../frontend/query-cache.o ../frontend/query-datatypes.o ../frontend/query-data.o ../frontend/query.o ../frontend/optimiser.o ../frontend/order.o ../frontend/filter.o ../frontend/filter-datatypes.o ../frontend/decimal.o ../frontend/results.o ../frontend/import.o ../frontend/update.o ../frontend/group.o # PROFILE = -pg -AM_CFLAGS = -std=gnu99 -Wall $(PROFILE) -g -O2 -I./ -I../ -DGIT_REV=@GIT_REV@ @RASQAL_CFLAGS@ @RAPTOR_CFLAGS@ @GLIB_CFLAGS@ @LIBXML_CFLAGS@ @GTHREAD_CFLAGS@ @MDNS_CFLAGS@ `pcre-config --cflags` +AM_CFLAGS = -std=gnu99 -Wall $(PROFILE) -g -O2 -I./ -I../ -DGIT_REV=@GIT_REV@ @RASQAL_CFLAGS@ @RAPTOR_CFLAGS@ @GLIB_CFLAGS@ @LIBXML_CFLAGS@ @GTHREAD_CFLAGS@ @MDNS_CFLAGS@ `pcre-config --cflags` -I/usr/include LIBS = $(PROFILE) @RASQAL_LIBS@ @RAPTOR_LIBS@ @GLIB_LIBS@ @LIBXML_LIBS@ @GTHREAD_LIBS@ @MDNS_LIBS@ `pcre-config --libs` 4s_httpd_SOURCES = httpd.c ../common/gnu-options.c -4s_httpd_LDADD = ../common/lib4sintl.a $(FRONTEND) ../common/libsort.a ../libs/stemmer/libstemmer.a ../libs/double-metaphone/libdouble_metaphone.a ../libs/mt19937-64/libmt64.a +4s_httpd_LDADD = ../common/lib4sintl.a $(FRONTEND) ../common/libsort.a -lstemmer ../libs/double-metaphone/libdouble_metaphone.a ../libs/mt19937-64/libmt64.a --- a/src/libs/Makefile.am +++ b/src/libs/Makefile.am @@ -1 +1 @@ -SUBDIRS = stemmer double-metaphone mt19937-64 +SUBDIRS = double-metaphone mt19937-64