Old install-sfw
  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 
 24 #!/bin/sh -e
 25 #
 26 # Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
 27 # Use is subject to license terms.
 28 #
 29 # install objects in the proto area, since it would
 30 # really like to install locally, but that doesn't scale.
 31 #
 32 #ident  "@(#)install-sfw        1.11    04/10/01 SMI"
 33 
 34 VERS=1.2.10rc1
 35 PKGVERS=proftpd-${VERS}
 36 PREFIX=${ROOT}/opt/sfw
 37 
 38 . ${SRC}/tools/install.subr
 39 
 40 cd ${PKGVERS}
 41 
 42 
 43 _install N sample-configurations/basic.conf ${PREFIX}/etc/proftpd.conf 444
 44 
 45 _install E proftpd ${PREFIX}/sbin/proftpd 555
 46 _install L proftpd ${PREFIX}/sbin/in.proftpd
 47 
 48 #
 49 # The following binaries and man pages are prefixed with 'p' because
 50 # they conflict with wuftpd names:
 51 #     ftpshut ftpcount ftptop ftpdctl & ftpwho
 52 
 53 _install E ftpshut ${PREFIX}/sbin/pftpshut 555
 54 _install E ftpcount ${PREFIX}/bin/pftpcount 555
 55 _install E ftpdctl ${PREFIX}/bin/pftpdctl 555
 56 _install E ftptop ${PREFIX}/bin/pftptop 555
 57 _install E ftpwho ${PREFIX}/bin/pftpwho 555
 58 
 59 _install N utils/ftpcount.1 ${PREFIX}/man/man1/pftpcount.1 444
 60 _install N utils/ftptop.1 ${PREFIX}/man/man1/pftptop.1 444
 61 _install N utils/ftpwho.1 ${PREFIX}/man/man1/pftpwho.1 444
 62 
 63 _install N src/xferlog.5 ${PREFIX}/man/man5/xferlog.5 444
 64 
 65 _install N src/ftpdctl.8 ${PREFIX}/man/man8/pftpdctl.8 444
 66 _install N src/proftpd.8 ${PREFIX}/man/man8/proftpd.8 444
 67 _install N utils/ftpshut.8 ${PREFIX}/man/man8/pftpshut.8 444
 68 
 69 exit 0