head	1.2;
access;
symbols
	pkgsrc-2013Q2:1.2.0.54
	pkgsrc-2013Q2-base:1.2
	pkgsrc-2012Q4:1.2.0.52
	pkgsrc-2012Q4-base:1.2
	pkgsrc-2011Q4:1.2.0.50
	pkgsrc-2011Q4-base:1.2
	pkgsrc-2011Q2:1.2.0.48
	pkgsrc-2011Q2-base:1.2
	pkgsrc-2009Q4:1.2.0.46
	pkgsrc-2009Q4-base:1.2
	pkgsrc-2008Q4:1.2.0.44
	pkgsrc-2008Q4-base:1.2
	pkgsrc-2008Q3:1.2.0.42
	pkgsrc-2008Q3-base:1.2
	cube-native-xorg:1.2.0.40
	cube-native-xorg-base:1.2
	pkgsrc-2008Q2:1.2.0.38
	pkgsrc-2008Q2-base:1.2
	pkgsrc-2008Q1:1.2.0.36
	pkgsrc-2008Q1-base:1.2
	pkgsrc-2007Q4:1.2.0.34
	pkgsrc-2007Q4-base:1.2
	pkgsrc-2007Q3:1.2.0.32
	pkgsrc-2007Q3-base:1.2
	pkgsrc-2007Q2:1.2.0.30
	pkgsrc-2007Q2-base:1.2
	pkgsrc-2007Q1:1.2.0.28
	pkgsrc-2007Q1-base:1.2
	pkgsrc-2006Q4:1.2.0.26
	pkgsrc-2006Q4-base:1.2
	pkgsrc-2006Q3:1.2.0.24
	pkgsrc-2006Q3-base:1.2
	pkgsrc-2006Q2:1.2.0.22
	pkgsrc-2006Q2-base:1.2
	pkgsrc-2006Q1:1.2.0.20
	pkgsrc-2006Q1-base:1.2
	pkgsrc-2005Q4:1.2.0.18
	pkgsrc-2005Q4-base:1.2
	pkgsrc-2005Q3:1.2.0.16
	pkgsrc-2005Q3-base:1.2
	pkgsrc-2005Q2:1.2.0.14
	pkgsrc-2005Q2-base:1.2
	pkgsrc-2005Q1:1.2.0.12
	pkgsrc-2005Q1-base:1.2
	pkgsrc-2004Q4:1.2.0.10
	pkgsrc-2004Q4-base:1.2
	pkgsrc-2004Q3:1.2.0.8
	pkgsrc-2004Q3-base:1.2
	pkgsrc-2004Q2:1.2.0.6
	pkgsrc-2004Q2-base:1.2
	pkgsrc-2004Q1:1.2.0.4
	pkgsrc-2004Q1-base:1.2
	pkgsrc-2003Q4:1.2.0.2
	pkgsrc-2003Q4-base:1.2
	buildlink2-base:1.2;
locks; strict;
comment	@# @;


1.2
date	2001.12.14.22.30.07;	author jlam;	state dead;
branches;
next	1.1;

1.1
date	2001.10.31.22.57.15;	author zuntum;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Update net/openslp to 1.0.6.  This package now uses the general INSTALL
scripts and honors ${PKG_SYSCONFDIR}.  Changes from version 1.0.2 include:

* bug fixes
* set FRESH flag for registrations; OpenSLP ignores this flag, but other DA
  implementations like K&A SLP do not.
* Minor changes to the way that settings from /etc/slp.conf affect active and
  passive discovery.
* Changed declaration and definition for strncasecmp and strcasecmp so that
  there is only one place for them in slp_compare.c and slp_compare.h
* Honor scopes in SrvRqsts for the special "service:directory-agent" type
* Added code to use IP address in agent url for those operating systems where
  gethostname() does not return a fully qualified domain name (FQDN).
* Added code to log parse errors and dump bad messages to the log
* Fixed reconnect code to be able to interoperate with inefficient DAs that
  close the stream after each srvreg/srvack exchange.  The Mac OS/X DA is
  reported to have this problem
* Removed calls that (sort of) enforce service-url checking.  This is for the
  benefit of AFP's usage of SRVLOC.  Developers are now trusted not to
  register ambiguous service-urls.
@
text
@#!/bin/sh
#
# $NetBSD: INSTALL,v 1.1 2001/10/31 22:57:15 zuntum Exp $

PKGNAME=$1
STAGE=$2

CAT="@@CAT@@"
CHMOD="@@CHMOD@@"
CP="@@CP@@"
MKDIR="@@MKDIR@@"

SAMPLECONFDIR=${PKG_PREFIX}/share/examples/openslp
CONFDIR=/etc
CONFFILES="slp.conf slp.reg slp.spi"

case ${STAGE} in
PRE-INSTALL)
	;;

POST-INSTALL)
	${MKDIR} ${CONFDIR}
	echo "Installing configuration files:"
	for file in ${CONFFILES}
	do
		FILE=${CONFDIR}/${file}
		SAMPLEFILE=${SAMPLECONFDIR}/${file}
		if [ -f ${FILE} ]
		then
			echo "    ${FILE} already exists"
		else
			echo "    ${FILE}"
			${CP} ${SAMPLEFILE} ${FILE}
			${CHMOD} 644 ${FILE}
		fi
	done
	${CAT} << EOF

===========================================================================
Some files you might need to customize include the following:

EOF
	for file in ${CONFFILES}
	do
		FILE=${CONFDIR}/${file}
		echo "	${FILE}"
	done
        ${CAT} << EOF
===========================================================================
EOF
	;;

*)
	echo "Unexpected argument: ${STAGE}"
	exit 1
	;;
esac
exit 0
@


1.1
log
@Move pkg/ files into package's toplevel directory
@
text
@d3 1
a3 1
# $NetBSD: INSTALL,v 1.1.1.1 2001/08/18 03:18:43 jlam Exp $
@

