0.5.15lorg2-alt7

- apt-get: More simple-output enhancements (Stanislav Ievlev).
This commit is contained in:
Дмитрий Левин 2006-11-30 14:55:12 +00:00
parent 9eacf5f64e
commit b1a4603d03
2 changed files with 24 additions and 2 deletions

View File

@ -1,3 +1,22 @@
--- apt-0.5.15lorg2/cmdline/acqprogress.cc.orig 2006-11-30 14:49:57 +0000
+++ apt-0.5.15lorg2/cmdline/acqprogress.cc 2006-11-30 14:49:57 +0000
@@ -13,6 +13,7 @@
#include <apt-pkg/acquire-worker.h>
#include <apt-pkg/strutl.h>
#include <apt-pkg/error.h>
+#include <apt-pkg/configuration.h>
#include <apti18n.h>
@@ -274,6 +275,8 @@ bool AcqTextStatus::MediaChange(string M
" '%s'\n"
"in the drive '%s' and press enter\n"),
Media.c_str(),Drive.c_str());
+ if (_config->FindB("simple-output"))
+ cout << "apt-get:media-change:" << Drive << ":" << Media << std::endl;
char C = 0;
while (C != '\n' && C != '\r')
--- apt-0.5.15lorg2/cmdline/apt-get.cc.orig 2006-10-10 20:43:05 +0000
+++ apt-0.5.15lorg2/cmdline/apt-get.cc 2006-10-10 20:43:32 +0000
@@ -71,6 +71,7 @@ using namespace std;

View File

@ -2,7 +2,7 @@
Name: apt
Version: 0.5.15lorg2
Release: alt6
Release: alt7
Summary: Debian's Advanced Packaging Tool with RPM support
Summary(ru_RU.KOI8-R): Debian APT - õÓÏ×ÅÒÛÅÎÓÔ×Ï×ÁÎÎÏÅ ÓÒÅÄÓÔ×Ï ÕÐÒÁ×ÌÅÎÉÑ ÐÁËÅÔÁÍÉ Ó ÐÏÄÄÅÒÖËÏÊ RPM
@ -265,7 +265,7 @@ This package contains method 'rsync' for APT.
%patch48 -p1
%patch49 -p1
find -type f -name \*.orig -delete -print
find -type f -name \*.orig -delete
# Ensure system-wide lua5 in use.
rm -rf lua
@ -378,6 +378,9 @@ fi
# Probably %%doc with README.rsync?
%changelog
* Thu Nov 30 2006 Dmitry V. Levin <ldv@altlinux.org> 0.5.15lorg2-alt7
- apt-get: More simple-output enhancements (Stanislav Ievlev).
* Tue Oct 10 2006 Dmitry V. Levin <ldv@altlinux.org> 0.5.15lorg2-alt6
- apt-get: Fixed virtual packages handling (Alexey Tourbin).
- apt-get: Implemented simple-output option (Stanislav Ievlev).