* main/enquiry.c: fix the listpackage output logic
* main/filesdb.c: fix error cleanup in ensure_statoverride
* lib/myopt.c: add myoptfile() so we can read configuration files
+ * main/main.c: call new myoptfile()
+ * include/Makefile.in, include/dpkg.h.in: add dpkgconfdir
Mon Sep 25 16:19:05 CEST 2000 Wichert Akkerman <wakkerma@debian.org>
man8dir = $(mandir)/man8
sysconfdir = @sysconfdir@
+dpkgconfdir = $(sysconfdir)/dpkg
alternativesdir = $(sysconfdir)/alternatives
PERL = @PERL@
* Clean up fd handling in some places. Closes: Bug#69359,#69360,#69361
* Document -k option for dpkg-buildpackage. Closes: Bug#71808
* Install dummy shlibs.default and shlibs.override files
+ * Give dpkg a configurationfile
-- Wichert Akkerman <wakkerma@debian.org> UNRELEASED
rm -f Makefile
dpkg.h: dpkg.h.in
- sed 's,#ADMINDIR#,$(admindir),; s,#LIBDIR#,$(dpkglibdir),;' $< > $@
+ sed -e 's,#CONFIGDIR#,$(dpkgconfdir),' \
+ -e 's,#ADMINDIR#,$(admindir),' \
+ -e 's,#LIBDIR#,$(dpkglibdir),; $< > $@
.PHONY: all install clean distclean
#define LISTFILE "list"
#define ADMINDIR "#ADMINDIR#"
+#define CONFIGDIR "#CONFIGDIR#"
#define STATUSFILE "status"
#define AVAILFILE "available"
#define LOCKFILE "lock"
}
}
+ myfileopt(CONFIGDIR "/" DPKG, cmdinfos);
myopt(&argv,cmdinfos);
if (!cipaction) badusage(_("need an action option"));