Stop scrollkeeper from opening it's "database" once for each *.omf file
without closing it. A "base" Gnome 2 install has over 160 *.omf files so this would play havoc with the default open file limits. Bump version number accordingly. Also add the scrollkeeper logs to the @extra list.
This commit is contained in:
parent
8cb7c089bf
commit
9da68bc307
@ -1,8 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.11 2003/07/12 06:24:49 marcm Exp $
|
||||
# $OpenBSD: Makefile,v 1.12 2003/09/29 05:59:33 marcm Exp $
|
||||
|
||||
COMMENT= "Scrollkeeper Open Documentation Cataloging System"
|
||||
|
||||
DISTNAME= scrollkeeper-0.3.12
|
||||
VERSION= 0.3.12
|
||||
DISTNAME= scrollkeeper-${VERSION}
|
||||
PKGNAME= scrollkeeper-${VERSION}p1
|
||||
CATEGORIES= textproc
|
||||
|
||||
HOMEPAGE= http://scrollkeeper.sourceforge.net
|
||||
|
11
textproc/scrollkeeper/patches/patch-libs_install_c
Normal file
11
textproc/scrollkeeper/patches/patch-libs_install_c
Normal file
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-libs_install_c,v 1.1 2003/09/29 05:59:33 marcm Exp $
|
||||
--- libs/install.c.orig 2003-09-27 09:46:36.000000000 -0700
|
||||
+++ libs/install.c 2003-09-27 09:47:16.000000000 -0700
|
||||
@@ -409,6 +409,7 @@ static int get_unique_doc_id(char *filen
|
||||
unique_id = id;
|
||||
}
|
||||
|
||||
+ fclose(fid);
|
||||
return unique_id + 1;
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.5 2003/08/23 19:54:23 marcm Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.6 2003/09/29 05:59:33 marcm Exp $
|
||||
bin/scrollkeeper-config
|
||||
bin/scrollkeeper-extract
|
||||
bin/scrollkeeper-gen-seriesid
|
||||
@ -185,4 +185,5 @@ share/xml/scrollkeeper/dtds/scrollkeeper-omf.dtd
|
||||
@unexec xmlcatalog --noout --del "-//OMF//DTD Scrollkeeper OMF Variant V1.0//EN" /var/db/xmlcatalog
|
||||
@cwd ${SYSCONFDIR}
|
||||
@extra scrollkeeper.conf
|
||||
@extraunexec rm -rf /var/db/scrollkeeper
|
||||
@extraunexec rm -rf /var/db/scrollkeeper/
|
||||
@extraunexec rm -f /var/log/scrollkeeper.log*
|
||||
|
Loading…
x
Reference in New Issue
Block a user