r638 - crux-2.1/ports/opt/fetchmail
Author: sip Date: 2006-01-30 14:03:03 +0100 (Mon, 30 Jan 2006) New Revision: 638 Added: crux-2.1/ports/opt/fetchmail/fetchmail-6.3.2.patch Modified: crux-2.1/ports/opt/fetchmail/.md5sum crux-2.1/ports/opt/fetchmail/Pkgfile Log: fetchmail: added patch for dealing with .netrc empty passwords Modified: crux-2.1/ports/opt/fetchmail/.md5sum =================================================================== --- crux-2.1/ports/opt/fetchmail/.md5sum 2006-01-30 10:26:16 UTC (rev 637) +++ crux-2.1/ports/opt/fetchmail/.md5sum 2006-01-30 13:03:03 UTC (rev 638) @@ -1 +1,2 @@ +98182bbbc983c672697effef9c019476 fetchmail-6.3.2.patch a532134a5e3b35b4f8b78a8184439837 fetchmail-6.3.2.tar.bz2 Modified: crux-2.1/ports/opt/fetchmail/Pkgfile =================================================================== --- crux-2.1/ports/opt/fetchmail/Pkgfile 2006-01-30 10:26:16 UTC (rev 637) +++ crux-2.1/ports/opt/fetchmail/Pkgfile 2006-01-30 13:03:03 UTC (rev 638) @@ -5,11 +5,13 @@ name=fetchmail version=6.3.2 -release=1 -source=(http://download.berlios.de/$name/$name-$version.tar.bz2) +release=2 +source=(http://download.berlios.de/$name/$name-$version.tar.bz2 \ + $name-$version.patch) build() { cd $name-$version + patch -p0 < ../$name-$version.patch ./configure --prefix=/usr --with-ssl=/usr --disable-nls make make DESTDIR=$PKG install Added: crux-2.1/ports/opt/fetchmail/fetchmail-6.3.2.patch =================================================================== --- crux-2.1/ports/opt/fetchmail/fetchmail-6.3.2.patch 2006-01-30 10:26:16 UTC (rev 637) +++ crux-2.1/ports/opt/fetchmail/fetchmail-6.3.2.patch 2006-01-30 13:03:03 UTC (rev 638) @@ -0,0 +1,17 @@ +Index: netrc.c +=================================================================== +- --- netrc.c (Revision 4683) ++++ netrc.c (Revision 4684) +@@ -314,8 +314,10 @@ + free_netrc(netrc_entry *a) { + while(a) { + netrc_entry *n = a->next; +- - memset(a->password, 0x55, strlen(a->password)); +- - xfree(a->password); ++ if (a->password != NULL) { ++ memset(a->password, 0x55, strlen(a->password)); ++ free(a->password); ++ } + xfree(a->login); + xfree(a->host); + xfree(a);
participants (1)
-
crux@crux.nu