head 1.9; access; symbols pkgsrc-2013Q2:1.8.0.90 pkgsrc-2013Q2-base:1.8 pkgsrc-2013Q1:1.8.0.88 pkgsrc-2013Q1-base:1.8 pkgsrc-2012Q4:1.8.0.86 pkgsrc-2012Q4-base:1.8 pkgsrc-2012Q3:1.8.0.84 pkgsrc-2012Q3-base:1.8 pkgsrc-2012Q2:1.8.0.82 pkgsrc-2012Q2-base:1.8 pkgsrc-2012Q1:1.8.0.80 pkgsrc-2012Q1-base:1.8 pkgsrc-2011Q4:1.8.0.78 pkgsrc-2011Q4-base:1.8 pkgsrc-2011Q3:1.8.0.76 pkgsrc-2011Q3-base:1.8 pkgsrc-2011Q2:1.8.0.74 pkgsrc-2011Q2-base:1.8 pkgsrc-2011Q1:1.8.0.72 pkgsrc-2011Q1-base:1.8 pkgsrc-2010Q4:1.8.0.70 pkgsrc-2010Q4-base:1.8 pkgsrc-2010Q3:1.8.0.68 pkgsrc-2010Q3-base:1.8 pkgsrc-2010Q2:1.8.0.66 pkgsrc-2010Q2-base:1.8 pkgsrc-2010Q1:1.8.0.64 pkgsrc-2010Q1-base:1.8 pkgsrc-2009Q4:1.8.0.62 pkgsrc-2009Q4-base:1.8 pkgsrc-2009Q3:1.8.0.60 pkgsrc-2009Q3-base:1.8 pkgsrc-2009Q2:1.8.0.58 pkgsrc-2009Q2-base:1.8 pkgsrc-2009Q1:1.8.0.56 pkgsrc-2009Q1-base:1.8 pkgsrc-2008Q4:1.8.0.54 pkgsrc-2008Q4-base:1.8 pkgsrc-2008Q3:1.8.0.52 pkgsrc-2008Q3-base:1.8 cube-native-xorg:1.8.0.50 cube-native-xorg-base:1.8 pkgsrc-2008Q2:1.8.0.48 pkgsrc-2008Q2-base:1.8 cwrapper:1.8.0.46 pkgsrc-2008Q1:1.8.0.44 pkgsrc-2008Q1-base:1.8 pkgsrc-2007Q4:1.8.0.42 pkgsrc-2007Q4-base:1.8 pkgsrc-2007Q3:1.8.0.40 pkgsrc-2007Q3-base:1.8 pkgsrc-2007Q2:1.8.0.38 pkgsrc-2007Q2-base:1.8 pkgsrc-2007Q1:1.8.0.36 pkgsrc-2007Q1-base:1.8 pkgsrc-2006Q4:1.8.0.34 pkgsrc-2006Q4-base:1.8 pkgsrc-2006Q3:1.8.0.32 pkgsrc-2006Q3-base:1.8 pkgsrc-2006Q2:1.8.0.30 pkgsrc-2006Q2-base:1.8 pkgsrc-2006Q1:1.8.0.28 pkgsrc-2006Q1-base:1.8 pkgsrc-2005Q4:1.8.0.26 pkgsrc-2005Q4-base:1.8 pkgsrc-2005Q3:1.8.0.24 pkgsrc-2005Q3-base:1.8 pkgsrc-2005Q2:1.8.0.22 pkgsrc-2005Q2-base:1.8 pkgsrc-2005Q1:1.8.0.20 pkgsrc-2005Q1-base:1.8 pkgsrc-2004Q4:1.8.0.18 pkgsrc-2004Q4-base:1.8 pkgsrc-2004Q3:1.8.0.16 pkgsrc-2004Q3-base:1.8 pkgsrc-2004Q2:1.8.0.14 pkgsrc-2004Q2-base:1.8 pkgsrc-2004Q1:1.8.0.12 pkgsrc-2004Q1-base:1.8 pkgsrc-2003Q4:1.8.0.10 pkgsrc-2003Q4-base:1.8 netbsd-1-6-1:1.8.0.6 netbsd-1-6-1-base:1.8 netbsd-1-6:1.8.0.8 netbsd-1-6-RELEASE-base:1.8 pkgviews:1.8.0.4 pkgviews-base:1.8 buildlink2:1.8.0.2 buildlink2-base:1.8 netbsd-1-5-PATCH003:1.8 netbsd-1-5-PATCH001:1.8 netbsd-1-5-RELEASE:1.8 netbsd-1-4-PATCH003:1.8 netbsd-1-3-PATCH003:1.6 netbsd-1-3-PATCH002:1.3 Makefile:1.1.1.1 FreeBSD-current-1997-09-25:1.1.1.1 FREEBSD:1.1.1; locks; strict; comment @# @; 1.9 date 2013.09.13.12.41.32; author ryoon; state dead; branches; next 1.8; commitid sKs9IWagD4Cwah5x; 1.8 date 2000.09.10.12.02.48; author wiz; state Exp; branches; next 1.7; 1.7 date 98.11.05.01.34.01; author mycroft; state dead; branches; next 1.6; 1.6 date 98.08.07.11.10.28; author agc; state Exp; branches; next 1.5; 1.5 date 98.07.29.13.41.19; author frueauf; state Exp; branches; next 1.4; 1.4 date 98.07.10.05.25.45; author mycroft; state dead; branches; next 1.3; 1.3 date 98.03.20.05.49.20; author mycroft; state Exp; branches; next 1.2; 1.2 date 97.10.13.14.59.15; author agc; state Exp; branches; next 1.1; 1.1 date 97.10.11.21.54.52; author hubertf; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 97.10.11.21.54.52; author hubertf; state Exp; branches; next ; desc @@ 1.9 log @Update to 4.11.1 from 2.5.4 Changelog: * Many bugfixes and improvements. * New commands. @ text @$NetBSD: patch-ab,v 1.8 2000/09/10 12:02:48 wiz Exp $ --- rpm.8.orig Tue Aug 25 21:06:11 1998 +++ rpm.8 @@@@ -44,6 +44,10 @@@@ .br .I "\fB rpm \-\-rebuilddb" .br +Initialize database: +.br +.I "\fB rpm \-\-initdb" +.br Fix permissions: .br .I "\fB rpm \-\-setperms [query\-package\-specifiers]\fP" @@@@ -410,6 +414,15 @@@@ The general form of an rpm rebuild database command is .PP \fBrpm \-\-rebuilddb\fP +.PP + +The only options this mode supports are \fB-\-dbpath\fP and \fB-\-root\fP. + +.SH INITIALIZE DATABASE OPTIONS + +Before the first use, you have to initialize the rpm database with +.PP + \fBrpm \-\-initdb\fP .PP The only options this mode supports are \fB-\-dbpath\fP and \fB-\-root\fP. @ 1.8 log @Add documentation for --initdb to manpage; mention its use in INSTALL, and what to remove in DEINSTALL. Fixes pkg/8701 by Hauke Fath. @ text @d1 1 a1 1 $NetBSD$ @ 1.7 log @2.5.4 @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.6 1998/08/07 11:10:28 agc Exp $ d3 27 a29 3 --- lib/Makefile.in.orig Wed May 27 16:49:38 1998 +++ lib/Makefile.in Wed Jul 29 12:46:56 1998 @@@@ -23,7 +23,7 @@@@ d31 1 a31 27 # ----------------------------------------------------------------------- -include ../Makefile.inc +.include "../Makefile.inc" TARGET=allprogs @@@@ -41,7 +41,8 @@@@ $(PROGS): $(LIBRPM) -$(LIBRPM): $(LIBRPM)($(LIBOBJECTS) $(TAGTABLE)) +$(LIBRPM): $(LIBOBJECTS) $(TAGTABLE) + $(AR) r $@@ $(LIBOBJECTS) $(TAGTABLE) $(RANLIB) $@@ tagtable.c: rpmlib.h @@@@ -74,6 +75,6 @@@@ $(CPP) $(CFLAGS) -MM $(SOURCES) | \ sed s+$$topdir_path+$(top_srcdir)+g > .depend -ifeq (.depend,$(wildcard .depend)) -include .depend -endif +.if exists(.depend) +.include ".depend" +.endif @ 1.6 log @Add NetBSD RCS Ids. @ text @d1 1 a1 1 $NetBSD$ @ 1.5 log @Fix some lossage (rpm got installed to /; the rc files went to /usr/pkg/share/share/misc) and diff only one file per patchfile for better maintainance. @ text @d1 2 @ 1.4 log @Update to 2.5.1, with a horrible hack around the INSTALL_PROGRAM problem. @ text @d1 3 a3 11 --- po/Makefile.in 1997/10/13 14:37:47 1.1 +++ po/Makefile.in 1997/10/13 14:39:08 @@@@ -58,8 +58,7 @@@@ install: for n in $(CATALOGS); do \ l=`basename $$n .mo`; \ - $(INSTALL) -m 755 -d $(installprefix)/$(RPMNLSDIR)/$$l; \ - $(INSTALL) -m 755 -d $(installprefix)/$(RPMNLSDIR)/$$l/LC_MESSAGES; \ + mkdir -p $(installprefix)/$(RPMNLSDIR)/$$l/LC_MESSAGES; \ $(INSTALL) -m 644 $$n $(installprefix)/$(RPMNLSDIR)/$$l/LC_MESSAGES/rpm.mo; \ done d5 27 @ 1.3 log @Remove unnecessary patches. @ text @@ 1.2 log @Remove obsolete patch to include - this has been fixed in the distribution sources. Add a new patch to lib/rpmrc.c to include before including Add a patch to po/Makefile.in to use mkdir to create a directory, rather than $(INSTALL). @ text @a0 15 --- lib/rpmrc.c 1997/10/13 14:28:44 1.1 +++ lib/rpmrc.c 1997/10/13 14:31:38 @@@@ -5,6 +5,12 @@@@ # include #endif +#include + +#if (defined(BSD) && BSD >= 199306) +#include +#endif + #include #include #include @ 1.1 log @Initial revision @ text @d1 5 a5 3 --- lib/header.c.orig Thu Jan 16 17:20:50 1997 +++ lib/header.c Thu Jan 23 17:18:34 1997 @@@@ -9,7 +9,6 @@@@ d7 6 a12 1 #include d14 14 a27 4 -#include #include #include #include @ 1.1.1.1 log @Import as of 09/25/97 @ text @@