head 1.6; access; symbols pkgsrc-2013Q2:1.6.0.22 pkgsrc-2013Q2-base:1.6 pkgsrc-2012Q4:1.6.0.20 pkgsrc-2012Q4-base:1.6 pkgsrc-2011Q4:1.6.0.18 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q2:1.6.0.16 pkgsrc-2011Q2-base:1.6 pkgsrc-2009Q4:1.6.0.14 pkgsrc-2009Q4-base:1.6 pkgsrc-2008Q4:1.6.0.12 pkgsrc-2008Q4-base:1.6 pkgsrc-2008Q3:1.6.0.10 pkgsrc-2008Q3-base:1.6 cube-native-xorg:1.6.0.8 cube-native-xorg-base:1.6 pkgsrc-2008Q2:1.6.0.6 pkgsrc-2008Q2-base:1.6 pkgsrc-2008Q1:1.6.0.4 pkgsrc-2008Q1-base:1.6 pkgsrc-2007Q4:1.6.0.2 pkgsrc-2007Q4-base:1.6 pkgsrc-2007Q3:1.5.0.28 pkgsrc-2007Q3-base:1.5 pkgsrc-2007Q2:1.5.0.26 pkgsrc-2007Q2-base:1.5 pkgsrc-2007Q1:1.5.0.24 pkgsrc-2007Q1-base:1.5 pkgsrc-2006Q4:1.5.0.22 pkgsrc-2006Q4-base:1.5 pkgsrc-2006Q3:1.5.0.20 pkgsrc-2006Q3-base:1.5 pkgsrc-2006Q2:1.5.0.18 pkgsrc-2006Q2-base:1.5 pkgsrc-2006Q1:1.5.0.16 pkgsrc-2006Q1-base:1.5 pkgsrc-2005Q4:1.5.0.14 pkgsrc-2005Q4-base:1.5 pkgsrc-2005Q3:1.5.0.12 pkgsrc-2005Q3-base:1.5 pkgsrc-2005Q2:1.5.0.10 pkgsrc-2005Q2-base:1.5 pkgsrc-2005Q1:1.5.0.8 pkgsrc-2005Q1-base:1.5 pkgsrc-2004Q4:1.5.0.6 pkgsrc-2004Q4-base:1.5 pkgsrc-2004Q3:1.5.0.4 pkgsrc-2004Q3-base:1.5 pkgsrc-2004Q2:1.5.0.2 pkgsrc-2004Q2-base:1.5 pkgsrc-2004Q1:1.4.0.2 pkgsrc-2004Q1-base:1.4 pkgsrc-2003Q4:1.3.0.2 pkgsrc-2003Q4-base:1.3 netbsd-1-6-1:1.2.0.6 netbsd-1-6-1-base:1.2 netbsd-1-6:1.2.0.8 netbsd-1-6-RELEASE-base:1.2 pkgviews:1.2.0.4 pkgviews-base:1.2 buildlink2:1.2.0.2 buildlink2-base:1.2 netbsd-1-5-PATCH003:1.2 netbsd-1-5-PATCH001:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.6 date 2007.11.12.20.01.34; author drochner; state dead; branches; next 1.5; 1.5 date 2004.05.06.16.20.17; author minskim; state Exp; branches; next 1.4; 1.4 date 2004.01.23.16.55.37; author jmmv; state dead; branches; next 1.3; 1.3 date 2003.02.18.14.39.04; author jmmv; state Exp; branches; next 1.2; 1.2 date 2002.04.03.20.38.35; author rh; state Exp; branches; next 1.1; 1.1 date 2001.04.06.10.53.26; author rh; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2001.04.06.10.53.26; author rh; state Exp; branches; next ; desc @@ 1.6 log @remove the meat of scrollkeeper -- the library is not used by any pkg anymore, and the users of .omf file install scripts are redirected to "rarian" which provides compatible (to the caller) implementations @ text @$NetBSD: patch-ab,v 1.5 2004/05/06 16:20:17 minskim Exp $ --- cl/templates/Makefile.in.orig 2003-12-06 02:17:56.000000000 -0600 +++ cl/templates/Makefile.in @@@@ -184,7 +184,7 @@@@ target_vendor = @@target_vendor@@ EXTRA_DIST = scrollkeeper_cl.xml.in LIB_PATH = $(top_builddir)/libs/.libs -TRANSLATED_LOCALES = C am az be ca cs da de el es fr hu it ja kn ko nl no pl pt_BR ro ru sk sl sr sr@@Latn sv tr uk vi zh_CN zh_TW +TRANSLATED_LOCALES = C am be ca cs da de el es fr hu it ja ko nl no pl pt_BR ro ru sk sl sr sr@@Latn sv tr vi zh_CN zh_TW subdir = cl/templates ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs @ 1.5 log @Avoid installing nonexistent files and directories for them. Also remove related @@dirrm entries, which only cause annoying error messages with pkg_delete. PKGREVISION will be bumped in a minute with another fix for this package. @ text @d1 1 a1 1 $NetBSD$ @ 1.4 log @Update to 0.3.14. Changes since 0.3.12: 0.3.14 ======= - Build fixes: - Correct problem with distributed intltool scripts. - Update rpm spec file. 0.3.13 ======= - Runtime fixes: - Use a per-user directory for storing the extracted contents files. This avoids problems when multiple users share /tmp and use scrollkeeper. - Do XInclude processing on documents before extracting information. - By default, do not use the network to retrieve required DTDs. - Can be changed using the '-n' parameter to scrollkeeper-install and friends. - Do not segfault if an OMF file is invalid. - Build fixes: - Install various package documentation files. - Tidy up the build process a little bit and fix some portability bugs. - Update included gettext code. - Build fixes for specific platforms (Solaris and *BSD systems). - Detect installed version of the DocBook DTD at build time. - Allow the location of system XML catalog to be specified. - see the --with-xml-catalog flag. - Install locale-specific program files correctly (i.e. portably). - Allow scrollkeeper data directory to be customised - see the --with-partial-db-dir flag. - Upgrade supplied gettext and automake versions. - Miscellaneous: - Correctly register translated versions of documents by considering their category, rather than their titles. - Don't leak file descriptors when updating the database. This fixes resource starvation problems on some systems. - Fix some memory leaks. - Should now work with IPv6-enabled systems. - When using a non-default prefix, the scrollkeeper log files are updated correctly. - Many Sourceforge bug tracker bugs fixed and all outstanding patches in the patch tracker evaluated and applied if appropriate. - Translations updated. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.3 2003/02/18 14:39:04 jmmv Exp $ d3 5 a7 3 --- libs/i18n.c.orig 2003-01-23 07:10:57.000000000 +0100 +++ libs/i18n.c @@@@ -62,21 +62,31 @@@@ static int explode_locale(const char *lo d9 5 a13 35 if (dot_pos) { mask |= CODESET; - *codeset = strndup(dot_pos, at_pos - dot_pos); - } else { + *codeset = (char*) malloc(at_pos - dot_pos + 1); + strncpy(*codeset, dot_pos, at_pos - dot_pos); + *codeset[at_pos - dot_pos] = '\0'; + } + if (!dot_pos || !*codeset) { dot_pos = at_pos; *codeset = strdup(""); } if (uscore_pos) { mask |= TERRITORY; - *territory = strndup(uscore_pos, dot_pos - uscore_pos); - } else { + *territory = (char*) malloc(dot_pos - uscore_pos + 1); + strncpy(*territory, uscore_pos, dot_pos - uscore_pos); + *territory[dot_pos - uscore_pos] = '\0'; + } + if (!uscore_pos || !*territory) { uscore_pos = dot_pos; *territory = strdup(""); } - *language = strndup(locale, uscore_pos - locale); + *language = (char*) malloc(uscore_pos - locale + 1); + if (*language) { + strncpy(*language, locale, uscore_pos - locale); + *language[uscore_pos - locale] = '\0'; + } return mask; } @ 1.3 log @Update to 0.3.12. There have been lots of changes since 0.2 (this version is almost a rewrite of the program). Note that this is still a development version but includes new features that may be required by packages using scrollkeeper (which won't work with the old 0.2). Provide a framework to automatically rebuild scrollkeeper's database from packages installing OMF files under share/omf/; they only need to include omf.mk in their Makefile and take care to install OMF files in the said directory. Reviewed by rh and wiz. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.2 2002/04/03 20:38:35 rh Exp $ @ 1.2 log @Fix scrollkeeper directory creation. Bump revision to 0.2nb1. @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 11 --- cl/src/get-cl.c.orig Thu Mar 15 21:10:33 2001 +++ cl/src/get-cl.c @@@@ -19,6 +19,7 @@@@ #include #include #include +#include #include #include #include @@@@ -29,7 +30,7 @@@@ d7 12 a18 1 #define SCROLLKEEPERLOCALEDIR "/usr/share/locale" d20 12 a31 2 -#define PATHLEN 256 +#define PATHLEN MAXPATHLEN d33 6 a38 1 static char **av; d40 2 @ 1.1 log @Initial revision @ text @d3 11 a13 4 --- cl/src/Makefile.in.orig Fri Apr 6 10:18:45 2001 +++ cl/src/Makefile.in @@@@ -105,7 +105,7 @@@@ INCLUDES = -I$(top_srcdir)/libs $(XML_CFLAGS) d15 1 d17 2 a18 2 -LDADD = $(XML_LIBS) $(top_builddir)/libs/libscrollkeeper.la +LDADD = $(XML_LIBS) -L$(top_builddir)/libs/.libs -Wl,-R`cd $(top_builddir) ; pwd`/libs/.libs -lscrollkeeper d20 1 a21 1 bin_PROGRAMS = scrollkeeper-preinstall scrollkeeper-update scrollkeeper-install scrollkeeper-uninstall scrollkeeper-get-cl @ 1.1.1.1 log @Initial import of scrollkeeper-0.2, the open document cataloging project. @ text @@