1 #
   2 # CDDL HEADER START
   3 #
   4 # The contents of this file are subject to the terms of the
   5 # Common Development and Distribution License (the "License").
   6 # You may not use this file except in compliance with the License.
   7 #
   8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 # or http://www.opensolaris.org/os/licensing.
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 
  22 #
  23 # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
  24 #
  25 
  26 set name=pkg.fmri value=pkg:/system/network@$(PKGVERS)
  27 set name=pkg.description \
  28     value="core software for network infrastructure configuration"
  29 set name=pkg.summary value="Core Solaris Network Infrastructure"
  30 set name=info.classification value=org.opensolaris.category.2008:System/Core
  31 set name=variant.arch value=$(ARCH)
  32 dir path=etc group=sys
  33 dir path=etc/default group=sys
  34 dir path=etc/dladm group=netadm owner=dladm
  35 dir path=etc/inet group=sys
  36 dir path=etc/inet/ike group=sys
  37 dir path=etc/inet/ike/crls group=sys
  38 dir path=etc/inet/ike/publickeys group=sys
  39 dir path=etc/inet/secret group=sys mode=0700
  40 dir path=etc/inet/secret/ike.privatekeys group=sys mode=0700
  41 dir path=etc/ipadm group=netadm owner=netadm
  42 dir path=etc/nwam group=netadm owner=netadm
  43 dir path=etc/nwam/loc group=netadm owner=netadm
  44 dir path=etc/nwam/loc/NoNet group=netadm owner=netadm
  45 dir path=sbin group=sys
  46 dir path=usr/share/man
  47 dir path=usr/share/man/man1m
  48 file path=etc/default/dhcpagent group=sys \
  49     original_name=SUNWcnetr:etc/default/dhcpagent preserve=true
  50 file path=etc/default/inetinit group=sys \
  51     original_name=SUNWcnetr:etc/default/inetinit preserve=true
  52 file path=etc/default/ipsec group=sys \
  53     original_name=SUNWcnetr:etc/default/ipsec preserve=true
  54 file path=etc/default/mpathd group=sys \
  55     original_name=SUNWcnetr:etc/default/mpathd preserve=true
  56 file path=etc/dladm/datalink.conf group=netadm \
  57     original_name=SUNWcnetr:etc/dladm/datalink.conf owner=dladm preserve=true
  58 file path=etc/dladm/flowadm.conf group=netadm \
  59     original_name=SUNWcnetr:etc/dladm/flowadm.conf owner=dladm preserve=true
  60 file path=etc/dladm/flowprop.conf group=netadm \
  61     original_name=SUNWcnetr:etc/dladm/flowprop.conf owner=dladm preserve=true
  62 file path=etc/dladm/secobj.conf group=netadm mode=0660 \
  63     original_name=SUNWcnetr:etc/dladm/secobj.conf owner=dladm preserve=true
  64 file path=etc/inet/datemsk.ndpd group=sys mode=0444
  65 file path=etc/inet/ike/config.sample group=sys mode=0444
  66 file path=etc/inet/ipsecalgs group=sys \
  67     original_name=SUNWcnetr:etc/inet/ipsecalgs preserve=true
  68 file path=etc/inet/ipsecinit.sample group=sys mode=0444
  69 file path=etc/inet/secret/ike.preshared group=sys mode=0600 \
  70     original_name=SUNWcnetr:etc/inet/secret/ike.preshared preserve=true
  71 file path=etc/inet/secret/ipseckeys.sample group=sys mode=0600
  72 file path=etc/ipadm/ipadm.conf group=netadm owner=netadm preserve=true
  73 file path=etc/nwam/loc/NoNet/ipf.conf.dfl group=netadm owner=netadm \
  74     preserve=true
  75 file path=etc/nwam/loc/NoNet/ipf6.conf.dfl group=netadm owner=netadm \
  76     preserve=true
  77 file path=etc/nwam/loc/create_loc_auto group=netadm owner=netadm preserve=true
  78 file path=etc/nwam/loc/create_loc_nonet group=netadm owner=netadm \
  79     preserve=true
  80 file path=sbin/dladm mode=0555
  81 file path=sbin/dlstat mode=0555
  82 file path=sbin/flowadm mode=0555
  83 file path=sbin/flowstat mode=0555
  84 file path=sbin/ipadm mode=0555
  85 file path=usr/share/man/man1m/dladm.1m
  86 file path=usr/share/man/man1m/flowadm.1m
  87 file path=usr/share/man/man1m/ipadm.1m
  88 group groupname=netadm gid=65
  89 legacy pkg=SUNWcnetr \
  90     desc="core software for network infrastructure configuration" \
  91     name="Core Solaris Network Infrastructure (Root)"
  92 license cr_Sun license=cr_Sun
  93 license lic_CDDL license=lic_CDDL
  94 user username=dladm ftpuser=false gcos-field="Datalink Admin" group=netadm \
  95     uid=15
  96 user username=netadm ftpuser=false gcos-field="Network Admin" group=netadm \
  97     uid=16
  98 user username=netcfg ftpuser=false gcos-field="Network Configuration Admin" \
  99     group=netadm uid=17