[Debtags-commits] [svn] r1368 - in debtags/trunk: . debian tools

Enrico Zini enrico at costa.debian.org
Sun Sep 25 12:38:28 UTC 2005


Author: enrico
Date: Sun Sep 25 12:38:26 2005
New Revision: 1368

Removed:
   debtags/trunk/DONE
Modified:
   debtags/trunk/README
   debtags/trunk/configure.ac
   debtags/trunk/debian/changelog
   debtags/trunk/debian/debtags.docs
   debtags/trunk/tools/Makefile.am
   debtags/trunk/tools/debtags.cc
Log:
Prepared for release 1.5.1
Set right umask when doing update
Removed DONE.  Old done items can be easily found in the README of tagged
  versions in subversion.


Modified: debtags/trunk/README
==============================================================================
--- debtags/trunk/README	(original)
+++ debtags/trunk/README	Sun Sep 25 12:38:26 2005
@@ -1,5 +1,5 @@
-README for debtags 1.4
-======================
+README for debtags 1.5.1
+========================
 
 Functionality
 -------------

Modified: debtags/trunk/configure.ac
==============================================================================
--- debtags/trunk/configure.ac	(original)
+++ debtags/trunk/configure.ac	Sun Sep 25 12:38:26 2005
@@ -1,5 +1,5 @@
 dnl Process this file with autoconf to produce a configure script.
-AC_INIT(debtags, 1.4, [enrico at debian.org])
+AC_INIT(debtags, 1.5.1, [enrico at debian.org])
 AC_CONFIG_SRCDIR([configure.ac])
 AM_CONFIG_HEADER(config.h)
 AM_INIT_AUTOMAKE([foreign])
@@ -33,7 +33,7 @@
 AM_PATH_PYTHON
 
 dnl Use libtagcoll, libdebtags and libapt-front
-LIBTAGCOLL1_DEFS
+LIBTAGCOLL_DEFS
 LIBAPT_FRONT_DEFS
 
 dnl Directory where the shared databases are kept

Modified: debtags/trunk/debian/changelog
==============================================================================
--- debtags/trunk/debian/changelog	(original)
+++ debtags/trunk/debian/changelog	Sun Sep 25 12:38:26 2005
@@ -1,3 +1,14 @@
+debtags (1.5.1) unstable; urgency=low
+
+  * Updated to build with the cleaned up libtagcoll-dev
+  * Give better insights on install feature in the manpage.  Closes: #322954.
+  * Set proper umask during update function.  Closes: #326819.
+  * Debtags data are now in the Packages file, so there is now a more finely
+    grained alternative to sections.  Closes: #144046.
+  * Upload to unstable
+
+ -- Enrico Zini <enrico at debian.org>  Sun, 25 Sep 2005 14:18:57 +0200
+
 debtags (1.5) experimental; urgency=low
 
   * Ported to new libapt-front

Modified: debtags/trunk/debian/debtags.docs
==============================================================================
--- debtags/trunk/debian/debtags.docs	(original)
+++ debtags/trunk/debian/debtags.docs	Sun Sep 25 12:38:26 2005
@@ -1,5 +1,4 @@
 README
-DONE
 doc/faq.rst
 doc/paper-debtags.rst
 doc/debtags-edit.png

Modified: debtags/trunk/tools/Makefile.am
==============================================================================
--- debtags/trunk/tools/Makefile.am	(original)
+++ debtags/trunk/tools/Makefile.am	Sun Sep 25 12:38:26 2005
@@ -10,8 +10,8 @@
 	acqprogress.cc \
 	instantiations.cc \
 	debtags.cc
-debtags_LDADD = $(LIBAPT_FRONT_LIBS) $(LIBTAGCOLL1_LIBS) -lapt-pkg
+debtags_LDADD = $(LIBAPT_FRONT_LIBS) $(LIBTAGCOLL_LIBS) -lapt-pkg
 
-INCLUDES = -I.. $(LIBTAGCOLL1_CFLAGS) $(LIBABT_FRONT_CFLAGS)
+INCLUDES = -I.. $(LIBTAGCOLL_CFLAGS) $(LIBABT_FRONT_CFLAGS)
 
 EXTRA_DIST = acqprogress.h ChildProcess.h CommandlineParser.h Environment.h Exec.h

Modified: debtags/trunk/tools/debtags.cc
==============================================================================
--- debtags/trunk/tools/debtags.cc	(original)
+++ debtags/trunk/tools/debtags.cc	Sun Sep 25 12:38:26 2005
@@ -52,36 +52,8 @@
 #include <errno.h>
 #include <termios.h>
 #include <sys/ioctl.h>
-
-#if 0
-#include <tagcoll/FilterChain.h>
-#include <tagcoll/Implications.h>
-#include <tagcoll/TagcollFilter.h>
-#include <tagcoll/DerivedTags.h>
-#include <tagcoll/ExpressionFilter.h>
-#include <tagcoll/TagCollection.h>
-#include <tagcoll/TagcollBuilder.h>
-#include <tagcoll/Patches.h>
-#include <tagcoll/TagcollSink.h>
-#include <tagcoll/StringParserInput.h>
-#include <debtags/BasicTagMatcher.h>
-#include <tagcoll/SerializationFilters.h>
-#include <tagcoll/tagexpr/TagexprParser.h>
-
-#include <tagcoll/Exception.h>
-#include <tagcoll/stringf.h>
-
-#include <list>
-
-#include <cctype>
-
-#include <string.h>	// strcasestr
-
-#include <sys/types.h>  // opendir, readdir, closedir
-#include <dirent.h>     // opendir, readdir, closedir
-#include <unistd.h>     // access
-#endif
-
+#include <sys/types.h>	// umask
+#include <sys/stat.h>	// umask
 
 using namespace std;
 using namespace aptFront;
@@ -1544,7 +1516,9 @@
 
 				AcqTextStatus Stat(ScreenWidth,_config->FindI("quiet",0));
 				//Debtags::Environment::get().updateDebtagsDatabase(&Stat);
+				mode_t prev_umask = umask(022);
 				debtags::updateDatabase(&Stat);
+				umask(prev_umask);
 				feedback("Done.\n");
 				break;
 			}



More information about the Debtags-commits mailing list