1 #
   2 # This file and its contents are supplied under the terms of the
   3 # Common Development and Distribution License ("CDDL"), version 1.0.
   4 # You may only use this file in accordance with the terms of version
   5 # 1.0 of the CDDL.
   6 #
   7 # A full copy of the text of the CDDL should have accompanied this
   8 # source.  A copy of the CDDL is also available via the Internet
   9 # at http://www.illumos.org/license/CDDL.
  10 #
  11 
  12 #
  13 # Copyright 2014, Alexander Pyhalov
  14 #
  15 
  16 set name=pkg.fmri value=pkg:/system/network/mailwrapper@$(PKGVERS)
  17 set name=pkg.description \
  18     value="utility to invoke appropriate MTA software based on configuration file"
  19 set name=pkg.summary value=mailwrapper
  20 set name=info.classification \
  21     value="org.opensolaris.category.2008:System/Administration and Configuration"
  22 set name=variant.arch value=$(ARCH)
  23 dir path=etc group=sys
  24 dir path=etc/mail group=mail
  25 dir path=usr/bin
  26 dir path=usr/lib
  27 dir path=usr/sbin
  28 dir path=usr/share/man
  29 dir path=usr/share/man/man1m
  30 dir path=usr/share/man/man4
  31 file path=etc/aliases group=sys \
  32     original_name=service/network/smtp/sendmail:etc/mail/aliases \
  33     preserve=true
  34 file path=etc/mail/mailer.conf group=sys preserve=true
  35 file path=usr/lib/mailwrapper mode=0555
  36 file path=usr/share/man/man1m/mailwrapper.1m
  37 file path=usr/share/man/man4/mailer.conf.4
  38 license usr/src/cmd/mailwrapper/THIRDPARTYLICENSE \
  39     license=usr/src/cmd/mailwrapper/THIRDPARTYLICENSE
  40 link path=usr/bin/mailq mediator=mta mediator-implementation=mailwrapper \
  41     target=../lib/mailwrapper
  42 link path=usr/lib/sendmail mediator=mta mediator-implementation=mailwrapper \
  43     target=mailwrapper
  44 link path=usr/sbin/newaliases mediator=mta mediator-implementation=mailwrapper \
  45     target=../lib/mailwrapper
  46 link path=usr/sbin/sendmail mediator=mta mediator-implementation=mailwrapper \
  47     target=../lib/mailwrapper