[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / mail / swaks

File: [cvs.NetBSD.org] / pkgsrc / mail / swaks / Makefile (download)

Revision 1.5, Mon Dec 2 16:42:14 2019 UTC (2 months, 2 weeks ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4
Changes since 1.4: +2 -3 lines

Update to 20190914.0. From the changelog:

- Fixed typos in base.pod and recipes.pod
- Remove re-prompting for port when an invalid service name was
  supplied. Just error and exit instead
- Cleaning up error messages that contained extra newlines
- Remove interactive prompts for helo and from when hostname
  cannot be determined internally.  Just error instead.
- Rearrange internal option definition structure in preparation
  for major rework
- Rework how the --show-time-lapse option is tracked internally
  and displayed in --dump output
- --protocol's argument was incorrectly marked as optional
- Updating copyright year to 2019
- --use-old-data-tokens was not completely removed, clean up
- --tls-optional-strict was incorrectly marked internally as
  optionally accepting an argument
- Fix handling of --option=arg option format which prevented it
  from being used with --header and --attach* options
- --attach option processing was calling die() instead of
  ptrans/exit on error
- If the arg to --data looks like a file but is not openable,
  error and exit instead of using it the file name as the raw
  data value
- Add %NEWLINE% as a new --data token
- Small code tidy around %DATE% token replacement
- Enforce key=value format for arguments to --auth-extra and
  --auth-map
- Clarify how XCLIENT arguments are grouped in --xclient doc
- Typo in documentation for --ehlo, reported by Konstantin Stephan
- Adding data and dot as valid --drop-after-send and --drop-after
  arguments
- Add documentation for missing --quit-after synonym STARTTLS
- Update copyright year to 2019
- --copy-routing should error when no argument given.
- Add validation to --proxy-family (when proxy-version=1) and
  --proxy-version options.
- Turn off option bundling. No practical use and it could cause
  real confusion (with bundling turned on, -foobar was "-f oobar"
  instead of an unknown option.
- Turn on case-sensitivity for configuration options.  Needed to
  make -S distinct from -s, as documented.
- Add a flag for --dump-mail in the OUTPUT section of --dump
- --version and --help should work even if they aren't the very
  first option.
- When processing config file options with no leading '-' and any
  environment variable config, prefix the option with '--' for
  processing, not '-'. Bandaid for very minor difference between
  '-' and '--' option processing which I hope to fix soon.
- Adding an ENVIRONMENT VARIABLES section to the doc.
- Tidying and clarifying the OPTION PROCESSING section of the docs.
- Fix bug causing in "no-" option processing to work unreliably.
- Document the unreliability of using environment variables to unset
  other environment variable options with the "no-" prefix.
- Document the general rule that when processing duplicate options,
  the last option specified wins, both inter- and intra-method.
- Since there is no inherent order to options provided in environment
  variables, sort them before processing to define an order.
- Config file fixes around searching default $SWAKS_HOME, $HOME,
  and $LOGDIR locations:
    - Searching default locations for the first existing
      PATH/.swaksrc did not actually work as documented.
    - If none of the default search environment variables was set,
      Swaks would not process the "portable" defaults optionally
      stored in the actual swaks script.
- Implement --body-attach option to allow more granularity in
  setting body information (different mime types, alternatives, etc).
- Fix --attach* option processing to remove possibly ambiguity
- Fix issue with malformed headers.  Don't fall over if header
  doesn't contain a colon or looks like an illegal continuation.
- Doc fix for default body - %SWAKS_VERSION% missing trailing char.
- --add-header documentation was still referencing a single-char,
  no longer valid, replacement token. Replace with the correct token.

# $NetBSD: Makefile,v 1.5 2019/12/02 16:42:14 schmonz Exp $

DISTNAME=		swaks-20190914.0
CATEGORIES=		mail
MASTER_SITES=		${HOMEPAGE}files/

MAINTAINER=		schmonz@NetBSD.org
HOMEPAGE=		http://www.jetmore.org/john/code/swaks/
COMMENT=		Featureful, flexible, scriptable SMTP test tool
LICENSE=		gnu-gpl-v2

DEPENDS+=		p5-MIME-Base64-[0-9]*:../../converters/p5-MIME-Base64
DEPENDS+=		p5-Digest-MD5-[0-9]*:../../security/p5-Digest-MD5
DEPENDS+=		p5-Digest-SHA-[0-9]*:../../security/p5-Digest-SHA
#DEPENDS+=		p5-Authen-NTLM (not in pkgsrc)
DEPENDS+=		p5-Authen-SASL-[0-9]*:../../security/p5-Authen-SASL
DEPENDS+=		p5-Net-DNS-[0-9]*:../../net/p5-Net-DNS
DEPENDS+=		p5-Time-Local-[0-9]*:../../time/p5-Time-Local

USE_TOOLS+=		perl:run
USE_LANGUAGES=		# none
REPLACE_PERL=		${PKGBASE}

NO_BUILD=		yes

INSTALLATION_DIRS=	bin

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/${PKGBASE} ${DESTDIR}${PREFIX}/bin/${PKGBASE}

.include "options.mk"

.include "../../mk/bsd.pkg.mk"