head 1.2; access; symbols pkgsrc-2018Q1:1.1.0.10 pkgsrc-2018Q1-base:1.1 pkgsrc-2017Q4:1.1.0.8 pkgsrc-2017Q4-base:1.1 pkgsrc-2017Q3:1.1.0.6 pkgsrc-2017Q3-base:1.1 pkgsrc-2017Q2:1.1.0.2 pkgsrc-2017Q2-base:1.1; locks; strict; comment @# @; 1.2 date 2018.05.19.16.26.16; author schmonz; state dead; branches; next 1.1; commitid e8mjUsl3OttOtVCA; 1.1 date 2017.06.17.13.55.06; author schmonz; state Exp; branches; next ; commitid 7y3DXrZBwTpzrJVz; desc @@ 1.2 log @Update to new external pymsgauth-filter patch. The command name has changed, and a new environment variable can be set so that users who haven't configured pymsgauth can have their messages passed through (unchanged). Bump PKGREVISION. @ text @$NetBSD: patch-pymsgauth-tag,v 1.1 2017/06/17 13:55:06 schmonz Exp $ Add pymsgauth-tag, a Unix filter that takes an RFC822 mail message on stdin and prints it to stdout, adding a pymsgauth token in the header if needed. --- pymsgauth-tag.orig 2017-05-31 01:57:20.000000000 +0000 +++ pymsgauth-tag @@@@ -0,0 +1,9 @@@@ +#!/usr/bin/python + +from pymsgauth import * + +import cStringIO +import sys + +msg = tokenize_message_if_needed (cStringIO.StringIO (sys.stdin.read ())) +sys.stdout.write (msg) @ 1.1 log @Add pymsgauth-tag, a Unix filter that takes an RFC822 mail message on stdin and prints it to stdout, adding a pymsgauth token in the header if needed. Patch has been submitted upstream. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ @