- Update to 0.5.9
- Fix bug found by nunotex@pt-quorum.com - discussion at http://marc.theaimsgroup.com/?l=popa3d-users&m=104354856516116&w=2 - Extend Documentation
This commit is contained in:
parent
c9273b3089
commit
867beb1a9c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=74175
@ -6,8 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= popa3d
|
||||
PORTVERSION= 0.5.1
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 0.5.9
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= http://www.openwall.com/popa3d/ \
|
||||
ftp://ftp.openwall.com/pub/projects/popa3d/ \
|
||||
@ -24,6 +23,9 @@ PLIST= ${WRKDIR}/.PLIST.more
|
||||
CFLAGS+= -DPREFIX=${PREFIX}
|
||||
.if defined(SMTP_AFTER_POP3)
|
||||
EXTRA_PATCHES+= ${FILESDIR}/pop-before-sendmail.patch
|
||||
PLIST_SUB+= SMTP_AFTER_POP3=""
|
||||
.else
|
||||
PLIST_SUB+= SMTP_AFTER_POP3="@comment "
|
||||
.endif
|
||||
|
||||
pre-configure:
|
||||
@ -33,7 +35,6 @@ pre-configure:
|
||||
@${ECHO_CMD} "@dirrm empty" >>${PLIST}
|
||||
.endif
|
||||
.if defined(SMTP_AFTER_POP3)
|
||||
@${ECHO_CMD} "%%PORTDOCS%%share/doc/popa3d/POPAUTH" >>${PLIST}
|
||||
@${ECHO_CMD} "@cwd ${CFDIR}" >>${PLIST}
|
||||
@${ECHO_CMD} "hack/popauth.m4" >>${PLIST}
|
||||
.endif
|
||||
|
@ -1 +1 @@
|
||||
MD5 (popa3d-0.5.1.tar.gz) = 4b664763ed7569c93be8f5f7f2431aea
|
||||
MD5 (popa3d-0.5.9.tar.gz) = 571fbbd04d7e262fa0411c9e9c63259d
|
||||
|
@ -28,11 +28,6 @@ the timestamp of the authentication as RHS (which the sendmail-hack
|
||||
ignores). This timestamp is then used to remove old IPs which are older
|
||||
than VALIDTIME seconds (defined in the Makefile).
|
||||
|
||||
Testing
|
||||
|
||||
You can check the state by using the following command:
|
||||
$ makemap -u hash popauth
|
||||
|
||||
Disclaimer
|
||||
|
||||
This hack has been in production use for a week on our server and though
|
||||
@ -52,3 +47,13 @@ at garry@glendown.de
|
||||
|
||||
G.Glendown / Dec 15th 2000
|
||||
|
||||
Testing
|
||||
|
||||
You can check the state by using the following command:
|
||||
$ makemap -u hash popauth
|
||||
|
||||
On very low volume servers you may clean up the databse by setup a cron job:
|
||||
cd /etc/mail && find popauth.db -mmin +6 -exec \
|
||||
makemap hash popauth.db <popauth ";"
|
||||
|
||||
Dirk Meyer / Jan 19th 2003
|
||||
|
18
mail/popa3d/files/patch-mailbox.c
Normal file
18
mail/popa3d/files/patch-mailbox.c
Normal file
@ -0,0 +1,18 @@
|
||||
--- 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;
|
||||
|
@ -2,4 +2,5 @@
|
||||
libexec/popa3d
|
||||
%%PORTDOCS%%share/doc/popa3d/DESIGN
|
||||
%%PORTDOCS%%share/doc/popa3d/LICENSE
|
||||
%%SMTP_AFTER_POP3%%%%PORTDOCS%%share/doc/popa3d/POPAUTH
|
||||
%%PORTDOCS%%@dirrm share/doc/popa3d
|
||||
|
Loading…
Reference in New Issue
Block a user