diff --git a/srcpkgs/procmail/patches/CVE-2014-3618.patch b/srcpkgs/procmail/patches/CVE-2014-3618.patch deleted file mode 100644 index c1af63570e9..00000000000 --- a/srcpkgs/procmail/patches/CVE-2014-3618.patch +++ /dev/null @@ -1,23 +0,0 @@ -From: Tavis Ormandy -Subject: formail heap overflow. CVE-2014-3618 -Bug-Debian: http://bugs.debian.org/704675 -Bug-Debian: http://bugs.debian.org/760443 -X-Debian-version: 3.22-22 - ---- a/src/formisc.c -+++ b/src/formisc.c -@@ -84,12 +84,11 @@ - case '"':*target++=delim='"';start++; - } - ;{ int i; -- do -+ while(*start) - if((i= *target++= *start++)==delim) /* corresponding delimiter? */ - break; - else if(i=='\\'&&*start) /* skip quoted character */ - *target++= *start++; -- while(*start); /* anything? */ - } - hitspc=2; - } - diff --git a/srcpkgs/procmail/patches/CVE-2017-16844.patch b/srcpkgs/procmail/patches/CVE-2017-16844.patch deleted file mode 100644 index 0207f462153..00000000000 --- a/srcpkgs/procmail/patches/CVE-2017-16844.patch +++ /dev/null @@ -1,17 +0,0 @@ -From: Santiago Vila -Subject: Fix heap-based buffer overflow in loadbuf() -Bug-Debian: http://bugs.debian.org/876511 -X-Debian-version: 3.22-26 - ---- a/src/formisc.c -+++ b/src/formisc.c -@@ -103,7 +103,7 @@ - } - /* append to buf */ - void loadbuf(text,len)const char*const text;const size_t len; --{ if(buffilled+len>buflen) /* buf can't hold the text */ -+{ while(buffilled+len>buflen) /* buf can't hold the text */ - buf=realloc(buf,buflen+=Bsize); - tmemmove(buf+buffilled,text,len);buffilled+=len; - } - diff --git a/srcpkgs/procmail/template b/srcpkgs/procmail/template index 12271d5f0a2..5912d960cfa 100644 --- a/srcpkgs/procmail/template +++ b/srcpkgs/procmail/template @@ -1,22 +1,17 @@ # Template file for 'procmail' pkgname=procmail -version=3.22 -revision=3 +version=3.24 +revision=1 hostmakedepends="opensmtpd" depends="virtual?smtp-server" short_desc="Autonomous mail processor" maintainer="Leah Neukirchen " license="GPL-2.0-or-later, Artistic-1.0-cl8" homepage="http://www.procmail.org" -distfiles="https://fossies.org/linux/misc/old/procmail-${version}.tar.gz" -checksum=087c75b34dd33d8b9df5afe9e42801c9395f4bf373a784d9bc97153b0062e117 +distfiles="https://github.com/BuGlessRB/procmail/archive/refs/tags/v${version}.tar.gz" +checksum=514ea433339783e95df9321e794771e4887b9823ac55fdb2469702cf69bd3989 nocross="./autoconf: line 1396: ./_autotst: No such file or directory" -post_extract() { - cd $wrksrc - sed -i s/getline/procmail_getline/g src/* -} - do_build() { make ${makejobs} CC="$CC" CFLAGS0="${CFLAGS} ${LDFLAGS}" LOCKINGTEST=100 }