mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Update to 0.6
This commit is contained in:
parent
56a03c7fe9
commit
7675a7c3b4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=76012
3 changed files with 2 additions and 27 deletions
|
@ -6,7 +6,7 @@
|
|||
#
|
||||
|
||||
PORTNAME= popa3d
|
||||
PORTVERSION= 0.5.9
|
||||
PORTVERSION= 0.6
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= http://www.openwall.com/popa3d/ \
|
||||
ftp://ftp.openwall.com/pub/projects/popa3d/ \
|
||||
|
@ -40,13 +40,6 @@ pre-configure:
|
|||
@${ECHO_CMD} "hack/popauth.m4" >>${PLIST}
|
||||
.endif
|
||||
|
||||
.if defined(SMTP_AFTER_POP3)
|
||||
post-patch:
|
||||
@${MV} ${WRKSRC}/pop_root.c ${WRKSRC}/pop_root.c.sed
|
||||
${SED} -e "s=db1/db.h=db.h=" \
|
||||
${WRKSRC}/pop_root.c.sed > ${WRKSRC}/pop_root.c
|
||||
.endif
|
||||
|
||||
.if !exists(/var/empty)
|
||||
pre-patch:
|
||||
@${MV} ${WRKSRC}/params.h ${WRKSRC}/params.h.sed
|
||||
|
|
|
@ -1 +1 @@
|
|||
MD5 (popa3d-0.5.9.tar.gz) = 571fbbd04d7e262fa0411c9e9c63259d
|
||||
MD5 (popa3d-0.6.tar.gz) = 12bad4b770190b51cd690e17d1276cca
|
||||
|
|
|
@ -1,18 +0,0 @@
|
|||
--- mailbox.c.old Sun Sep 8 13:52:57 2002
|
||||
+++ mailbox.c Sun Jan 26 07:30:26 2003
|
||||
@@ -227,6 +227,7 @@
|
||||
if (!msg.data_offset) break;
|
||||
msg.raw_size = offset - msg.raw_offset;
|
||||
msg.data_size = offset - body - msg.data_offset;
|
||||
+ msg.size -= body << 1;
|
||||
MD5_Final(msg.hash, &hash);
|
||||
if (db_op(&msg)) break;
|
||||
}
|
||||
@@ -319,6 +320,7 @@
|
||||
if (!msg.data_offset) return 1;
|
||||
msg.raw_size = offset - msg.raw_offset;
|
||||
msg.data_size = offset - (blank & body) - msg.data_offset;
|
||||
+ msg.size -= (blank & body) << 1;
|
||||
MD5_Final(msg.hash, &hash);
|
||||
if (db_op(&msg)) return 1;
|
||||
|
Loading…
Add table
Reference in a new issue