svn path=/nixpkgs/branches/stdenv-updates/; revision=10431wip/yesman
parent
21bfc11e8c
commit
98a81beaac
@ -1,9 +1,13 @@ |
||||
{stdenv, fetchurl} : |
||||
|
||||
stdenv.mkDerivation { |
||||
name = "joe-3.3"; |
||||
src = fetchurl { |
||||
url = mirror://sourceforge/joe-editor/joe-3.3.tar.gz; |
||||
md5 = "02221716679c039c5da00c275d61dbf4"; |
||||
}; |
||||
name = "joe-3.3"; |
||||
src = fetchurl { |
||||
url = mirror://sourceforge/joe-editor/joe-3.3.tar.gz; |
||||
md5 = "02221716679c039c5da00c275d61dbf4"; |
||||
}; |
||||
|
||||
meta = { |
||||
homepage = http://joe-editor.sourceforge.net; |
||||
}; |
||||
} |
||||
|
@ -1,7 +1,14 @@ |
||||
args: with args; stdenv.mkDerivation { |
||||
args: with args; |
||||
stdenv.mkDerivation { |
||||
name="fetchmail-6.3.8"; |
||||
src = fetchurl { |
||||
url = http://download.berlios.de/fetchmail/fetchmail-6.3.8.tar.bz2; |
||||
sha256 = "5612f9af367f641e0efd084f44fcf1889669e711dbd8c60f6b7953e494d1b09b"; |
||||
}; |
||||
|
||||
patches = [ ./security-fix.patch ]; |
||||
|
||||
meta = { |
||||
homepage = http://www.fetchmail.info; |
||||
}; |
||||
} |
||||
|
@ -0,0 +1,11 @@ |
||||
--- old/sink.c (revision 5118)
|
||||
+++ new/sink.c (revision 5119)
|
||||
@@ -262,7 +262,7 @@
|
||||
const char *md1 = "MAILER-DAEMON", *md2 = "MAILER-DAEMON@";
|
||||
|
||||
/* don't bounce in reply to undeliverable bounces */
|
||||
- if (!msg->return_path[0] ||
|
||||
+ if (!msg || !msg->return_path[0] ||
|
||||
strcmp(msg->return_path, "<>") == 0 ||
|
||||
strcasecmp(msg->return_path, md1) == 0 ||
|
||||
strncasecmp(msg->return_path, md2, strlen(md2)) == 0)
|
Loading…
Reference in new issue