#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
# Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved.
#
# The man pages are all at the top of a "files" directory; set the hash to
# point to the files therein.
<transform file path=usr/share/man/man.+/(.+)$ -> set action.hash %<1> >
# Transforms to work around config stuff coming from difference places.
<transform file -> set originalhash %(action.hash)>
<transform file path=etc/mail/(cf/.+)$ -> set action.hash %<1> >
<transform file originalhash=^(?!NOHASH).+$ -> set action.hash %(originalhash) >
<transform file -> delete originalhash .*>
# Bypass the mangler for these files because they are pre-Solarified.
<transform file path=usr/share/man/.+$ -> add mangler.bypass true >
<transform file path=etc/mail/cf/.* -> default group mail>
#
set name=pkg.fmri \
value=pkg:/service/network/smtp/sendmail@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.summary value="Sendmail utilities"
set name=pkg.description \
value="SMTP-based mail transfer agent sendmail(1M), its configuration hierarchy sendmail(4), and various other mail-related utilities."
set name=com.oracle.info.description value="Sendmail utilities"
set name=com.oracle.info.tpno value=$(TPNO)
set name=info.upstream value="Sendmail community"
set name=info.upstream-url value=http://www.sendmail.org/
set name=org.opensolaris.arc-caseid value=PSARC/2007/068 value=PSARC/2015/111
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
set name=org.opensolaris.version-unlockable value=true
#
link path=etc/aliases target=./mail/aliases
file init.d-sendmail path=etc/init.d/sendmail group=sys mode=0744 \
original_name=SUNWsndm:etc/init.d/sendmail \
pkg.linted.userland.action003.0=true preserve=true
file aliases path=etc/mail/aliases mode=0644 \
original_name=SUNWsndm:etc/mail/aliases preserve=true
file path=etc/mail/cf/README
file files/cf/cf/Makefile path=etc/mail/cf/cf/Makefile
link path=etc/mail/cf/cf/main.cf target=sendmail.cf
link path=etc/mail/cf/cf/main.mc target=sendmail.mc
file path=etc/mail/cf/cf/sendmail.cf
file path=etc/mail/cf/cf/sendmail.mc
file path=etc/mail/cf/cf/submit.cf
file path=etc/mail/cf/cf/submit.mc
link path=etc/mail/cf/cf/subsidiary.cf target=sendmail.cf
link path=etc/mail/cf/cf/subsidiary.mc target=sendmail.mc
file path=etc/mail/cf/domain/generic.m4
file path=etc/mail/cf/domain/solaris-antispam.m4
file path=etc/mail/cf/domain/solaris-generic.m4
file path=etc/mail/cf/feature/access_db.m4
file path=etc/mail/cf/feature/allmasquerade.m4
file path=etc/mail/cf/feature/always_add_domain.m4
file path=etc/mail/cf/feature/badmx.m4
file path=etc/mail/cf/feature/bestmx_is_local.m4
file path=etc/mail/cf/feature/bitdomain.m4
file path=etc/mail/cf/feature/block_bad_helo.m4
file path=etc/mail/cf/feature/compat_check.m4
file path=etc/mail/cf/feature/conncontrol.m4
file path=etc/mail/cf/feature/delay_checks.m4
file path=etc/mail/cf/feature/dnsbl.m4
file path=etc/mail/cf/feature/domaintable.m4
file path=etc/mail/cf/feature/enhdnsbl.m4
file path=etc/mail/cf/feature/genericstable.m4
file path=etc/mail/cf/feature/greet_pause.m4
file path=etc/mail/cf/feature/ldap_routing.m4
file path=etc/mail/cf/feature/local_lmtp.m4
file path=etc/mail/cf/feature/local_procmail.m4
file path=etc/mail/cf/feature/lookupdotdomain.m4
file path=etc/mail/cf/feature/loose_relay_check.m4
file path=etc/mail/cf/feature/mailertable.m4
file path=etc/mail/cf/feature/msp.m4
file path=etc/mail/cf/feature/mtamark.m4
file path=etc/mail/cf/feature/no_default_msa.m4
file path=etc/mail/cf/feature/nocanonify.m4
file path=etc/mail/cf/feature/nopercenthack.m4
file path=etc/mail/cf/feature/notsticky.m4
file path=etc/mail/cf/feature/nouucp.m4
file path=etc/mail/cf/feature/nullclient.m4
file path=etc/mail/cf/feature/promiscuous_relay.m4
file path=etc/mail/cf/feature/queuegroup.m4
file path=etc/mail/cf/feature/ratecontrol.m4
file path=etc/mail/cf/feature/redirect.m4
file path=etc/mail/cf/feature/relay_based_on_MX.m4
file path=etc/mail/cf/feature/relay_hosts_only.m4
file path=etc/mail/cf/feature/relay_local_from.m4
file path=etc/mail/cf/feature/relay_mail_from.m4
file path=etc/mail/cf/feature/require_rdns.m4
file path=etc/mail/cf/feature/smrsh.m4
file path=etc/mail/cf/feature/stickyhost.m4
file path=etc/mail/cf/feature/use_client_ptr.m4
file path=etc/mail/cf/feature/use_ct_file.m4
file path=etc/mail/cf/feature/use_cw_file.m4
file path=etc/mail/cf/feature/uucpdomain.m4
file path=etc/mail/cf/feature/virtusertable.m4
file path=etc/mail/cf/m4/cf.m4
file path=etc/mail/cf/m4/cfhead.m4
file path=etc/mail/cf/m4/proto.m4
file path=etc/mail/cf/m4/version.m4
file path=etc/mail/cf/mailer/local.m4
file path=etc/mail/cf/mailer/procmail.m4
file path=etc/mail/cf/mailer/smtp.m4
file path=etc/mail/cf/mailer/uucp.m4
file path=etc/mail/cf/ostype/solaris11.m4
file path=etc/mail/cf/ostype/solaris2.m4
file path=etc/mail/cf/ostype/solaris2.ml.m4
file path=etc/mail/cf/ostype/solaris2.pre5.m4
file path=etc/mail/cf/ostype/solaris8.m4
link path=etc/mail/cf/sh/check-hostname \
target=../../../../usr/sbin/check-hostname
link path=etc/mail/cf/sh/check-permissions \
target=../../../../usr/sbin/check-permissions
file path=etc/mail/cf/sh/makeinfo.sh
file path=etc/mail/helpfile
file local-host-names path=etc/mail/local-host-names mode=0644 \
original_name=SUNWsndm:etc/mail/local-host-names preserve=true
link path=etc/mail/main.cf target=sendmail.cf
file cf/cf/sendmail.cf path=etc/mail/sendmail.cf mode=0444 \
original_name=SUNWsndm:etc/mail/sendmail.cf preserve=renameold \
restart_fmri=svc:/network/smtp:sendmail
link path=etc/mail/sendmail.hf target=helpfile
file path=etc/mail/submit.cf mode=0444 \
original_name=SUNWsndm:etc/mail/submit.cf preserve=renameold \
restart_fmri=svc:/network/sendmail-client:default
link path=etc/mail/subsidiary.cf target=sendmail.cf
file trusted-users path=etc/mail/trusted-users mode=0644 \
original_name=SUNWsndm:etc/mail/trusted-users preserve=true
file sendmail.auth_attr path=etc/security/auth_attr.d/sendmail group=sys
file sendmail.exec_attr path=etc/security/exec_attr.d/sendmail group=sys
file sendmail.prof_attr path=etc/security/prof_attr.d/sendmail group=sys
group=sys mode=0444
group=sys mode=0444
file sendmail-client path=lib/svc/method/sendmail-client mode=0555
file smtp-sendmail path=lib/svc/method/smtp-sendmail mode=0555
file sendmail_include.sh path=lib/svc/share/sendmail_include.sh mode=0444
link path=usr/bin/mailq target=../lib/inet/mailq mediator=sendmail \
mediator-implementation=sendmail mediator-priority=vendor
file usr/sbin/mailstats path=usr/bin/mailstats mode=0555
file usr/sbin/praliases path=usr/bin/praliases mode=0555
file usr/bin/mailq path=usr/lib/inet/mailq mode=4555
file usr/lib/sendmail path=usr/lib/inet/sendmail group=smmsp mode=2555 \
restart_fmri=*sendmail*
link path=usr/lib/mail target=../../etc/mail/cf
link path=usr/lib/sendmail target=../lib/inet/sendmail mediator=sendmail \
mediator-implementation=sendmail mediator-priority=vendor
file path=usr/lib/smrsh mode=0555
file check-hostname.sh path=usr/sbin/check-hostname group=mail mode=0555
file check-permissions.sh path=usr/sbin/check-permissions group=mail mode=0555
file path=usr/sbin/editmap mode=0555
file contrib/etrn.pl path=usr/sbin/etrn mode=0555
file path=usr/sbin/makemap mode=0555
link path=usr/sbin/newaliases target=../lib/inet/sendmail mediator=sendmail \
mediator-implementation=sendmail mediator-priority=vendor
link path=usr/sbin/sendmail target=../lib/inet/sendmail mediator=sendmail \
mediator-implementation=sendmail mediator-priority=vendor
link path=usr/share/man/man1/mailq.1 target=sendmail-mailq.1 mediator=sendmail \
mediator-implementation=sendmail mediator-priority=vendor
file path=usr/share/man/man1/mailstats.1
file path=usr/share/man/man1/praliases.1
file path=usr/share/man/man1/sendmail-mailq.1
file path=usr/share/man/man5/addresses.5
link path=usr/share/man/man5/aliases.5 target=sendmail-aliases.5 \
mediator=sendmail mediator-implementation=sendmail mediator-priority=vendor
file path=usr/share/man/man5/forward.5
file path=usr/share/man/man5/sendmail-aliases.5
file path=usr/share/man/man5/sendmail.5
file path=usr/share/man/man5/sendmail.cf.5
file path=usr/share/man/man5/submit.cf.5
file path=usr/share/man/man8/check-hostname.8
file path=usr/share/man/man8/check-permissions.8
file path=usr/share/man/man8/editmap.8
file path=usr/share/man/man8/etrn.8
file path=usr/share/man/man8/makemap.8
file path=usr/share/man/man8/newaliases.8
file path=usr/share/man/man8/sendmail.8
file path=usr/share/man/man8/smrsh.8
dir path=var/adm/sm.bin group=sys
dir path=var/spool/clientmqueue owner=smmsp group=smmsp mode=0770
dir path=var/spool/mqueue mode=0750
group groupname=smmsp gid=25
user username=smmsp ftpuser=false \
gcos-field="SendMail Message Submission Program" group=smmsp home-dir=/ \
password=NP uid=25
legacy pkg=SUNWsndmr desc="Sendmail Configuration Files" name="Sendmail (root)"
legacy pkg=SUNWsndmu desc="Sendmail Utilities" name="Sendmail (/usr)"
license LICENSE license=sendmail
# sendmail's default LDA is mail.local, so specify a dependency on its
# package, but not at any particular version.
depend type=group fmri=pkg:/mail/mail.local
# If postfix is installed, make sure it is at the version where aliases.5
# became a mediated link; otherwise, conflict.
depend type=optional fmri=service/network/smtp/postfix@2.11.3-5.12.0.0.0.95
depend type=require \
fmri=pkg:/library/libmilter@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)