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/mailer.conf group=sys preserve=true
  32 file path=usr/lib/mailwrapper mode=0555
  33 file path=usr/share/man/man1m/mailwrapper.1m
  34 file path=usr/share/man/man4/mailer.conf.4
  35 license usr/src/cmd/mailwrapper/THIRDPARTYLICENSE \
  36     license=usr/src/cmd/mailwrapper/THIRDPARTYLICENSE
  37 link path=usr/bin/mailq mediator=mta mediator-implementation=mailwrapper \
  38     target=../lib/mailwrapper
  39 link path=usr/lib/sendmail mediator=mta mediator-implementation=mailwrapper \
  40     target=mailwrapper
  41 link path=usr/sbin/newaliases mediator=mta mediator-implementation=mailwrapper \
  42     target=../lib/mailwrapper
  43 link path=usr/sbin/sendmail mediator=mta mediator-implementation=mailwrapper \
  44     target=../lib/mailwrapper
  45 depend fmri=service/network/smtp/sendmail type=require