| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit 5f17e6f29c22282a4bf2819ac7ee08c942e6e103.
We rely on bash for the rest of quilt, so it is no real issue to rely
on it for the makefile. If we try to remove it, we have to deal with
the portability another way. For example, BSD and Mac OSX versions of
sed are not able to deal with \n by themselves...
The correct fix will be to force the SHELL to be bash in the makefile.
|
| |
|
|
|
|
|
|
|
|
| |
Rational: If QUILT_PATCHES and QUILT_PC are set to the same directory,
the awk script in filenames_in_patch (in scripts/patchfns) will break
with a '<patchname> is a directory' error.
Patch provided by anonymous in #30956 on savannah
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The echo command of dash interprets \f as a special characer and
thus generates a bad manual page. bash's echo leaves them unchanged
(it needs -e to replace those special characters). Using printf
instead is a portable solution that work with both shells.
.
The code also uses a bashism ($'') but it's not really needed with
GNU sed at least (it understands \t and \n) so drop it and avoid some
painful double escaping.
.
This patch was written by Raphael Hertzog for the Debian package, and
updated by Martin Quinson so that it applies on lastest upstream
sources.
Author: Raphael Hertzog <hertzog@debian.org>
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/quilt/+bug/402237
Bug-Debian: http://bugs.debian.org/563517
|
| |
|
|
|
|
|
| |
That way, it can be easily changed from the command line, which
was not the case before.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
TMPDIR is set to /tmp by default on some systems [1], in this case
letting it take over /var/tmp voids the point of using /var/tmp for
data size reasons in the first place [2]. I'd rather hardcode
/var/tmp. But in case someone really wants to control this, we can
check if VARTMPDIR is set and use that if it is set.
[1] I tried to track down how it was happening and I am far from
certain that this is on purpose. I've seen it happen only on local
graphical login, not on text console login nor remote login. This
suggests a leak from some piece of the graphical desktop stack. And
I've seen it on both KDE and Gnome, but not Xfce. Go figure.
[2] This is the reason given in commit
d4074d26276b9a2d452563dbf57ed497afa7b710 for using /var/tmp.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Make sure to remove trailing whitespace (including the newline) when extracting
recipient addresses from headers.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
recognize them by their filename too
|
| |
|
|
|
|
| |
quilt setup -v *.spec
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The standard quilt_mail_patch_filter() in quilt mail tries to extract email
addresses from Signed-off-by and Acked-by lines. It adds Cc headers with those
addresses.
Signed-off-by and Acked-by lines sometimes contain commas as part of the
address. When put in recipient headers (To, Cc, Bcc), the commas are
interpreted as separators, which breaks things.
Try to recognize this case and add the appropriate quotes. For example, the
email address in ``Signed-off-by: Gruenbacher, Andreas <agruen@linbit.com>'' is
now extracted as ``"Gruenbacher, Andreas" <agruen@linbit.com>''.
Note that quilt_mail_patch_filter() can be overridden in .quiltrc; you may need
to update your .quiltrc.
|
|
|
|
| |
Addresses like "Gruenbacher, Andreas" <agruen@linbit.com> will work now.
|
|
|
|
|
| |
Some of the email header parsing code did not understand headers which span
more than a line. This mainly broke long subject lines.
|
|\ |
|
| | |
|
|/ |
|
|
|
|
| |
package
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Closes bug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=356348
Initial patch author said (in above bug report):
When generating the default From: for outbound messages quilt uses
$(hostname -f) to determine the domain part of the e-mail address.
Policy 11.6 specifies that this should be overridden by the value
specified in /etc/mailname.
(see http://www.debian.org/doc/debian-policy/ch-customized-programs.html#s-mail-transport-agents)
|
| |
|
|
|
|
|
| |
This closes the bug #403399 (missing create_db call when snapshot'ing)
(see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=403399)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We currently ask for GNU patch >= 2.4, but the test suite doesn't
actually pass with GNU patch 2.4. It passes with GNU patch 2.5 with
minor edits to be more tolerant to the exact output of "patch".
I have no idea how much work it would be to get 2.4 to be supported
again, but it doesn't seem unreasonable to ask for 2.5 which was
released in August 1997. So let's just do that for now. If anyone
badly misses support for GNU patch 2.4, well, we accept patches ;)
Signed-off-by: Jean Delvare <jdelvare@suse.de>
|
|
|
|
|
|
|
|
|
|
| |
This is a continuation of Yasushi SHOJI's initial work of fixing
support for file names with spaces. This time I fixed support in the
diff and refresh commands, two commands which are frequently used.
As before, no guarantee is made that all options are covered, but
this should be a good starting point.
Signed-off-by: Jean Delvare <jdelvare@suse.de>
|
|
|
|
|
| |
There is no need to have two ways to access environment variables
from test cases, one is enough.
|
|
|
|
| |
(Broken by previous commit, sorry.)
|
|
|
|
|
|
| |
patchfns is meant to be sourced from other scripts, rather than
executed on its own. As a matter of fact, it's not even executable.
So we don't need #! stament at the beginning of this file.
|
|
|
|
|
| |
If diffing against snapshot, ensure that snapshot is actually
present. If not, bail out with an error message.
|
|
|
|
|
| |
Both short and long options are supported. This is required to pass
the test suite, if nothing else.
|
|
|
|
|
|
| |
This way the output matches exactly the output of getopt from
util-linux, and spaces and other special characters in filenames are
properly supported.
|
|
|
|
|
| |
Not all implementations of find default to the current directory as
the search root. In particular the "find" from FreeBSD doesn't.
|
|
|
|
| |
time.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
xargs.)
- configure.ac: Check for the presence of xargs.
|
| |
|