Parcourir la source

* share/apt-auth-failure.note:
- show update-notifier note if the nightly update fails with a
authentication failure (apt-authentication-reliability spec)

Michael Vogt il y a 18 ans
Parent
commit
99a5ac4da1
5 fichiers modifiés avec 33 ajouts et 0 suppressions
  1. 1 0
      Makefile
  2. 8 0
      debian/changelog
  3. 1 0
      debian/rules
  4. 11 0
      share/apt-auth-failure.note
  5. 12 0
      share/makefile

+ 1 - 0
Makefile

@@ -15,6 +15,7 @@ all headers library clean veryclean binary program doc dirs:
 	$(MAKE) -C apt-inst $@
 	$(MAKE) -C methods $@
 	$(MAKE) -C cmdline $@
+	$(MAKE) -C share $@
 	$(MAKE) -C ftparchive $@
 	$(MAKE) -C dselect $@
 	$(MAKE) -C doc $@

+ 8 - 0
debian/changelog

@@ -1,3 +1,11 @@
+apt (0.7.9ubuntu8) hardy; urgency=low
+
+  * share/apt-auth-failure.note:
+    - show update-notifier note if the nightly update fails with a
+      authentication failure (apt-authentication-reliability spec)
+
+ -- Michael Vogt <michael.vogt@ubuntu.com>  Mon, 11 Feb 2008 14:04:56 +0100
+
 apt (0.7.9ubuntu7) hardy; urgency=low
 
   * methods/connect.cc:

+ 1 - 0
debian/rules

@@ -214,6 +214,7 @@ apt: build debian/shlibs.local
 	cp debian/apt.logrotate debian/$@/etc/logrotate.d/apt
 
 	cp share/ubuntu-archive.gpg debian/$@/usr/share/$@
+	sed 's/^_//' share/apt-auth-failure.note > debian/$@/usr/share/$@/apt-auth-failure.note
 	cp debian/apt.conf.autoremove debian/$@/etc/apt/apt.conf.d/01autoremove
 	cp debian/apt.conf.ubuntu debian/$@/etc/apt/apt.conf.d/01ubuntu
 #	head -n 500 ChangeLog > debian/ChangeLog

+ 11 - 0
share/apt-auth-failure.note

@@ -0,0 +1,11 @@
+_Name: Apt Authentication issue
+Priority: High
+Terminal: False
+Command: gksu -- synaptic --non-interactive --update-at-startup --hide-main-window
+GettextDomain: apt
+_Description: Problem during package list update. 
+ The package list update failed with a authentication failure.
+ This usually happens behind a network proxy server. Please try
+ to click on the "Run this action now" button to correct the problem or
+ update the list manually by running Update Manager and clicking
+ on "Check". 

+ 12 - 0
share/makefile

@@ -0,0 +1,12 @@
+
+BASE=..
+SUBDIR=share
+
+# Bring in the default rules
+include ../buildlib/defaults.mak
+
+binary: apt-auth-failure.note.h
+
+apt-auth-failure.note.h: apt-auth-failure.note
+	intltool-extract -t gettext/rfc822deb apt-auth-failure.note
+	echo "share/apt-auth-failure.note.h" >> $(BUILD)/po/domains/apt/apt-auth-failure.note.srclist