From 0f4427e3adc3ba56085a714bbb373219930dfb3f Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Tue, 1 Apr 2008 09:58:40 +0000 Subject: [PATCH] added aptitude man-page sources (patched) to regression set --- contrib/samples/refentry/aptitude/Makefile | 28 +++++++ .../aptitude/patch.smith.manpage.xml.1 | 74 +++++++++++++++++++ 2 files changed, 102 insertions(+) create mode 100644 contrib/samples/refentry/aptitude/Makefile create mode 100644 contrib/samples/refentry/aptitude/patch.smith.manpage.xml.1 diff --git a/contrib/samples/refentry/aptitude/Makefile b/contrib/samples/refentry/aptitude/Makefile new file mode 100644 index 000000000..8f006e93c --- /dev/null +++ b/contrib/samples/refentry/aptitude/Makefile @@ -0,0 +1,28 @@ +BASEURL=http://hg.debian.org/hg/aptitude/head +SUBMODULE=doc + +TMP ?= /tmp + +HG=hg +HGFLAGS= + +PATCHFILE=patch.smith.manpage.xml.1 + +all: $(SUBMODULE) + +$(TMP)/aptitude/doc: $(PATCHFILE) + $(RM) -r $(TMP)/aptitude + (cd $(TMP) \ + && $(HG) $(HGFLAGS) clone $(BASEURL) aptitude \ + && cd aptitude \ + && ./autogen.sh) + cp $< $@/en + (cd $@/en && patch -p0 < $(PATCHFILE)) + make -C $@ + +$(SUBMODULE): $(TMP)/aptitude/doc + cp -pR $< $@ + +clean: + $(RM) -r $(SUBMODULE) + $(RM) -r $(TMP)/aptitude diff --git a/contrib/samples/refentry/aptitude/patch.smith.manpage.xml.1 b/contrib/samples/refentry/aptitude/patch.smith.manpage.xml.1 new file mode 100644 index 000000000..02e057616 --- /dev/null +++ b/contrib/samples/refentry/aptitude/patch.smith.manpage.xml.1 @@ -0,0 +1,74 @@ +diff -r 9050a3ecc8ec manpage.xml +--- manpage.xml Sun Mar 30 13:23:49 2008 -0700 ++++ manpage.xml Tue Apr 01 16:53:01 2008 +0900 +@@ -952,14 +952,14 @@ i A texlive-latex-extra Conflicts textop + --allow-new-upgrades + + +- When the safe resolver is being used (i.e., When the safe resolver is being used (i.e., --safe-resolver + was passed or Aptitude::Always-Use-Safe-Resolver + is set to true), allow the dependency + resolver to install upgrades for packages even if Aptitude::Safe-Resolver::No-New-Upgrades +- is set. ++ is set. + + + +@@ -967,7 +967,7 @@ i A texlive-latex-extra Conflicts textop + --allow-new-installs + + +- Allow the Allow the safe-upgrade + command to install new packages; when the safe resolver is + being used (i.e., Aptitude::Safe-Resolver::No-New-Installs +- is true. ++ is true. + + + +@@ -986,9 +986,9 @@ i A texlive-latex-extra Conflicts textop + --allow-untrusted + + +- Install packages from untrusted sources without prompting. ++ Install packages from untrusted sources without prompting. + You should only use this if you know what you are doing, as +- it could easily compromise your system's security. ++ it could easily compromise your system's security. + + + +@@ -1108,14 +1108,14 @@ i A texlive-latex-extra Conflicts textop + --no-new-upgrades + + +- When the safe resolver is being used (i.e., When the safe resolver is being used (i.e., --safe-resolver + was passed or Aptitude::Always-Use-Safe-Resolver + is set to true), allow the dependency + resolver to install new packages even if Aptitude::Safe-Resolver::No-New-Installs +- is set. ++ is set. + + + +@@ -2131,4 +2131,4 @@ The following packages will be REMOVED: + apt8 + + +- +\ No newline at end of file ++ -- 2.40.0