meta.homepage added to several packages

svn path=/nixpkgs/trunk/; revision=10417
This commit is contained in:
Yury G. Kudryashov
2008-01-30 19:49:42 +00:00
parent bea41a64b4
commit 81aac8d84d
47 changed files with 145 additions and 24 deletions
+8 -1
View File
@@ -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)