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 # Copyright 2014 Andrew Stormont.
  25 #
  26 
  27 set name=pkg.fmri value=pkg:/system/network/ppp@$(PKGVERS)
  28 set name=pkg.description \
  29     value="Device drivers implementing point-to-point protocol (PPP)"
  30 set name=pkg.summary value="Solaris PPP Device Drivers"
  31 set name=info.classification \
  32     value=org.opensolaris.category.2008:Drivers/Networking
  33 set name=variant.arch value=$(ARCH)
  34 dir path=etc group=sys
  35 dir path=etc/init.d group=sys
  36 dir path=etc/ppp group=sys
  37 dir path=etc/ppp/peers group=sys
  38 dir path=etc/ppp/plugins group=sys
  39 dir path=etc/rc0.d group=sys
  40 dir path=etc/rc1.d group=sys
  41 dir path=etc/rc2.d group=sys
  42 dir path=etc/rcS.d group=sys
  43 dir path=usr group=sys
  44 dir path=usr/bin
  45 dir path=usr/kernel group=sys
  46 dir path=usr/kernel/drv group=sys
  47 dir path=usr/kernel/drv/$(ARCH64) group=sys
  48 dir path=usr/kernel/strmod group=sys
  49 dir path=usr/kernel/strmod/$(ARCH64) group=sys
  50 dir path=usr/sbin
  51 dir path=usr/share/man
  52 dir path=usr/share/man/man1m
  53 dir path=usr/share/man/man7m
  54 driver name=sppp
  55 driver name=sppptun
  56 file path=etc/init.d/pppd group=sys mode=0744 \
  57     original_name=SUNWpppd:etc/init.d/pppd preserve=true
  58 file path=etc/ppp/chap-secrets group=sys mode=0600 \
  59     original_name=SUNWpppd:etc/ppp/chap-secrets preserve=true
  60 file path=etc/ppp/myisp-chat.tmpl group=sys
  61 file path=etc/ppp/options.tmpl group=sys
  62 file path=etc/ppp/options.ttya.tmpl group=sys
  63 file path=etc/ppp/pap-secrets group=sys mode=0600 \
  64     original_name=SUNWpppd:etc/ppp/pap-secrets preserve=true
  65 file path=etc/ppp/peers/myisp.tmpl group=sys
  66 file path=usr/bin/chat mode=0555
  67 file path=usr/bin/pppd mode=4555
  68 file path=usr/bin/pppstats mode=0555
  69 file path=usr/kernel/drv/$(ARCH64)/sppp group=sys
  70 file path=usr/kernel/drv/$(ARCH64)/sppptun group=sys
  71 $(i386_ONLY)file path=usr/kernel/drv/sppp group=sys
  72 file path=usr/kernel/drv/sppp.conf group=sys
  73 $(i386_ONLY)file path=usr/kernel/drv/sppptun group=sys
  74 file path=usr/kernel/drv/sppptun.conf group=sys
  75 file path=usr/kernel/strmod/$(ARCH64)/spppasyn group=sys mode=0755
  76 file path=usr/kernel/strmod/$(ARCH64)/spppcomp group=sys mode=0755
  77 $(i386_ONLY)file path=usr/kernel/strmod/spppasyn group=sys mode=0755
  78 $(i386_ONLY)file path=usr/kernel/strmod/spppcomp group=sys mode=0755
  79 file path=usr/sbin/asppp2pppd mode=0550
  80 file path=usr/share/man/man1m/chat.1m
  81 file path=usr/share/man/man1m/pppd.1m
  82 file path=usr/share/man/man1m/pppstats.1m
  83 file path=usr/share/man/man7m/sppptun.7m
  84 hardlink path=etc/rc0.d/K50pppd target=../../etc/init.d/pppd
  85 hardlink path=etc/rc1.d/K50pppd target=../../etc/init.d/pppd
  86 hardlink path=etc/rc2.d/S47pppd target=../../etc/init.d/pppd
  87 hardlink path=etc/rcS.d/K50pppd target=../../etc/init.d/pppd
  88 hardlink path=usr/kernel/strmod/$(ARCH64)/sppptun \
  89     target=../../drv/$(ARCH64)/sppptun
  90 $(i386_ONLY)hardlink path=usr/kernel/strmod/sppptun target=../drv/sppptun
  91 legacy pkg=SUNWpppd \
  92     desc="Device drivers implementing point-to-point protocol (PPP)" \
  93     name="Solaris PPP Device Drivers"
  94 legacy pkg=SUNWpppdr \
  95     desc="Configuration files for Solaris Point-to-Point Protocol (PPP)" \
  96     name="Solaris PPP configuration files"
  97 legacy pkg=SUNWpppdu \
  98     desc="Daemon and utilities for Point-to-Point Protocol (PPP)" \
  99     name="Solaris PPP daemon and utilities"
 100 license cr_Sun license=cr_Sun
 101 license lic_CDDL license=lic_CDDL
 102 license usr/src/cmd/cmd-inet/usr.bin/pppd/THIRDPARTYLICENSE \
 103     license=usr/src/cmd/cmd-inet/usr.bin/pppd/THIRDPARTYLICENSE
 104 license usr/src/uts/common/io/ppp/THIRDPARTYLICENSE \
 105     license=usr/src/uts/common/io/ppp/THIRDPARTYLICENSE