diff options
author | lioux <lioux@FreeBSD.org> | 2004-12-15 03:24:27 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2004-12-15 03:24:27 +0800 |
commit | c22b84e0c83fe24b01c4b7c248140456dc887bb5 (patch) | |
tree | 75dedfebc67e18945aad676e17e8c842f047d1dd | |
parent | 3e5b4ada040a078fc7f9b5fb29885cf3615ef25c (diff) | |
download | freebsd-ports-gnome-c22b84e0c83fe24b01c4b7c248140456dc887bb5.tar.gz freebsd-ports-gnome-c22b84e0c83fe24b01c4b7c248140456dc887bb5.tar.zst freebsd-ports-gnome-c22b84e0c83fe24b01c4b7c248140456dc887bb5.zip |
o update-status-headers configuration option should disable both
writing of "Status:" and "X-UIDL:" headers. However, that only
happens with "Status:" header. Have qpopper honor it for "X-UIDL"
one as well.
o Bump PORTREVISION
PR: 73336
Submitted by: Helge Oldach <mail-qpopper-uidl@oldach.net>
-rw-r--r-- | mail/qpopper/Makefile | 2 | ||||
-rw-r--r-- | mail/qpopper/files/patch-popper::pop_updt.c | 16 |
2 files changed, 17 insertions, 1 deletions
diff --git a/mail/qpopper/Makefile b/mail/qpopper/Makefile index 740a407b708f..2f21bbecf47c 100644 --- a/mail/qpopper/Makefile +++ b/mail/qpopper/Makefile @@ -7,7 +7,7 @@ PORTNAME= qpopper PORTVERSION= 4.0.5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= mail ipv6 MASTER_SITES= ftp://ftp.qualcomm.com/eudora/servers/unix/popper/%SUBDIR%/ MASTER_SITE_SUBDIR= . old diff --git a/mail/qpopper/files/patch-popper::pop_updt.c b/mail/qpopper/files/patch-popper::pop_updt.c new file mode 100644 index 000000000000..32465704ca44 --- /dev/null +++ b/mail/qpopper/files/patch-popper::pop_updt.c @@ -0,0 +1,16 @@ +--- popper/pop_updt.c.orig Tue Dec 14 17:18:10 2004 ++++ popper/pop_updt.c Tue Dec 14 17:18:57 2004 +@@ -531,11 +531,13 @@ + if ( fputs ( buffer, md ) == EOF ) + break; + ++ if ( p->bUpdate_status_hdrs ) { + sprintf ( buffer, "X-UIDL: %s", mp->uidl_str ); + if ( fputs ( buffer, md ) == EOF ) + break; + length += strlen ( buffer ) + 1; /* for CRLF */ + lines ++; ++ } + + for ( status_written = 0, inheader = 1; + fgets ( buffer, MAXMSGLINELEN, p->drop ); |