# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	openafs-devel
#	openafs-devel/Makefile
#	openafs-devel/Makefile.man
#	openafs-devel/README
#	openafs-devel/files
#	openafs-devel/files/afsd.in
#	openafs-devel/files/afsserver.in
#	openafs-devel/pkg-descr
#	openafs-devel/pkg-plist
#
echo c - openafs-devel
mkdir -p openafs-devel > /dev/null 2>&1
echo x - openafs-devel/Makefile
sed 's/^X//' >openafs-devel/Makefile << 'd2fa7bc5acbe75bf5e7e837abef1cb30'
X# New ports collection makefile for:	openafs-devel
X# Date created:				2010-04-08
X# Based on:				port by Alec Kloss <alec@setfilepointer.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	openafs-devel
XPORTVERSION=	1.5.74.1
XCATEGORIES=	net kld
X
XMAINTAINER=	kaduk@mit.edu
XCOMMENT=	Andrew File System implementation from openafs.org
X
XOPTIONS=	FUSE "Build afsd.fuse (enable fuse support)" off
X
XUSE_LDCONFIG=	yes
XUSE_RC_SUBR=    afsd afsserver
X
XHAS_CONFIGURE=	yes
X
XONLY_FOR_ARCHS=	i386 amd64
XBUILD_DEPENDS=	git:${PORTSDIR}/devel/git
X
X.if !defined(OPENAFS_ARCH)
XOPENAFS_ARCH!=uname -m
X.endif
X
X.include <bsd.port.pre.mk>
X
X.if !defined(AFS_SYSNAME)
X.if ${OSVERSION} < 800000
XIGNORE=	supports FreeBSD 8.0 and later
X.endif
X
X.endif
X
XKMODDIR=	/boot/modules
XPLIST_SUB+=	KMODDIR=${KMODDIR:C,^/,,}
X
XCONFIGURE_ARGS=	--prefix=${PREFIX} \
X	--localstatedir=/var \
X	--with-bsd-kernel-build=/usr/obj/usr/src/sys/GENERIC \
X	--enable-debug \
X	--enable-debug-kernel \
X	--enable-debug-lwp \
X	--disable-fuse-client \
X	--includedir=${PREFIX}/include/openafs \
X	--with-krb5 KRB5CFLAGS=-I/usr/include \
X	KRB5LIBS='-lkrb5 -lcom_err -lcrypto -lcrypt -lasn1 -lhx509 -lroken' \
X			${CONFIGURE_TARGET}
X
X.if !defined(WITH_FUSE)
XCONFIGURE_ARGS+=	--disable-fuse-client
XPLIST_SUB+=	FUSE="@comment "
X.else
XLIB_DEPENDS+=	fuse.2:${PORTSDIR}/sysutils/fusefs-libs
XPLIST_SUB+=	FUSE=""
X.endif
X
XWRKSRC=		${WRKDIR}/openafs
X
XPORTDIR=$(.CURDIR)
X
XCONFLICTS=	heimdal-[0-9]*
X
XMANPREFIX=	${PREFIX}/share
X.include "Makefile.man"
X
Xdo-fetch:
X	${MKDIR} ${WRKDIR}
X
Xdo-extract:
X	@(cd ${WRKDIR} && git clone git://git.openafs.org/openafs.git)
X
Xdo-patch:
X	
X
Xpre-configure:
X	cd ${WRKSRC} && ./regen.sh
X
Xpost-install:
X	@${MKDIR} ${PREFIX}/etc/openafs
X	@${CP} ${WRKSRC}/src/afsd/CellServDB ${PREFIX}/etc/openafs/CellServDB.sample
X	@if [ ! -e ${PREFIX}/etc/CellServDB ] ; then \
X		${CP} -p ${PREFIX}/etc/openafs/CellServDB.sample ${PREFIX}/etc/CellServDB ; \
X	fi
X	@if [ ! -e ${PREFIX}/etc/openafs/CellServDB ] ; then \
X		${LN} -s ${PREFIX}/etc/CellServDB ${PREFIX}/etc/openafs/CellServDB ; \
X	fi
X	@${ECHO_CMD} openafs.org > ${PREFIX}/etc/openafs/ThisCell.sample
X	@if [ ! -e ${PREFIX}/etc/ThisCell ] ; then \
X		${CP} -p ${PREFIX}/etc/openafs/ThisCell.sample ${PREFIX}/etc/ThisCell ; \
X	fi
X	@if [ ! -e ${PREFIX}/etc/openafs/ThisCell ] ; then \
X		${LN} -s ${PREFIX}/etc/ThisCell ${PREFIX}/etc/openafs/ThisCell ; \
X	fi
X
X.include <bsd.port.post.mk>
d2fa7bc5acbe75bf5e7e837abef1cb30
echo x - openafs-devel/Makefile.man
sed 's/^X//' >openafs-devel/Makefile.man << 'da82faaf2f0e412ad1b99bc54d0140bb'
XMAN1+=	afs.1
XMAN1+=	afs_compile_et.1
XMAN1+=	afsmonitor.1
XMAN1+=	aklog.1
XMAN1+=	cmdebug.1
XMAN1+=	copyauth.1
XMAN1+=	dlog.1
XMAN1+=	fs.1
XMAN1+=	fs_apropos.1
XMAN1+=	fs_checkservers.1
XMAN1+=	fs_checkvolumes.1
XMAN1+=	fs_chgrp.1
XMAN1+=	fs_chown.1
XMAN1+=	fs_cleanacl.1
XMAN1+=	fs_copyacl.1
XMAN1+=	fs_cscpolicy.1
XMAN1+=	fs_diskfree.1
XMAN1+=	fs_examine.1
XMAN1+=	fs_exportafs.1
XMAN1+=	fs_flush.1
XMAN1+=	fs_flushall.1
XMAN1+=	fs_flushmount.1
XMAN1+=	fs_flushvolume.1
XMAN1+=	fs_getcacheparms.1
XMAN1+=	fs_getcalleraccess.1
XMAN1+=	fs_getcellstatus.1
XMAN1+=	fs_getclientaddrs.1
XMAN1+=	fs_getcrypt.1
XMAN1+=	fs_getfid.1
XMAN1+=	fs_getserverprefs.1
XMAN1+=	fs_help.1
XMAN1+=	fs_listacl.1
XMAN1+=	fs_listaliases.1
XMAN1+=	fs_listcells.1
XMAN1+=	fs_listquota.1
XMAN1+=	fs_lsmount.1
XMAN1+=	fs_memdump.1
XMAN1+=	fs_messages.1
XMAN1+=	fs_minidump.1
XMAN1+=	fs_mkmount.1
XMAN1+=	fs_monitor.1
XMAN1+=	fs_newalias.1
XMAN1+=	fs_newcell.1
XMAN1+=	fs_quota.1
XMAN1+=	fs_rmmount.1
XMAN1+=	fs_rxstatpeer.1
XMAN1+=	fs_rxstatproc.1
XMAN1+=	fs_setacl.1
XMAN1+=	fs_setcachesize.1
XMAN1+=	fs_setcbaddr.1
XMAN1+=	fs_setcell.1
XMAN1+=	fs_setclientaddrs.1
XMAN1+=	fs_setcrypt.1
XMAN1+=	fs_setquota.1
XMAN1+=	fs_setserverprefs.1
XMAN1+=	fs_setvol.1
XMAN1+=	fs_storebehind.1
XMAN1+=	fs_sysname.1
XMAN1+=	fs_trace.1
XMAN1+=	fs_uuid.1
XMAN1+=	fs_whereis.1
XMAN1+=	fs_whichcell.1
XMAN1+=	fs_wscell.1
XMAN1+=	klog.1
XMLINKS+=	klog.1 klog.krb.1
XMAN1+=	klog.krb5.1
XMAN1+=	knfs.1
XMAN1+=	kpasswd.1
XMAN1+=	livesys.1
XMAN1+=	pagsh.1
XMLINKS+=	pagsh.1 pagsh.krb.1
XMAN1+=	pts.1
XMAN1+=	pts_adduser.1
XMAN1+=	pts_apropos.1
XMAN1+=	pts_chown.1
XMAN1+=	pts_creategroup.1
XMAN1+=	pts_createuser.1
XMAN1+=	pts_delete.1
XMAN1+=	pts_examine.1
XMAN1+=	pts_help.1
XMAN1+=	pts_interactive.1
XMAN1+=	pts_listentries.1
XMAN1+=	pts_listmax.1
XMAN1+=	pts_listowned.1
XMAN1+=	pts_membership.1
XMAN1+=	pts_quit.1
XMAN1+=	pts_removeuser.1
XMAN1+=	pts_rename.1
XMAN1+=	pts_setfields.1
XMAN1+=	pts_setmax.1
XMAN1+=	pts_sleep.1
XMAN1+=	pts_source.1
XMAN1+=	restorevol.1
XMAN1+=	rxdebug.1
XMAN1+=	rxgen.1
XMAN1+=	scout.1
XMAN1+=	symlink.1
XMAN1+=	symlink_list.1
XMAN1+=	symlink_make.1
XMAN1+=	symlink_remove.1
XMAN1+=	sys.1
XMAN1+=	tokens.1
XMLINKS+=	tokens.1 tokens.krb.1
XMAN1+=	translate_et.1
XMAN1+=	udebug.1
XMAN1+=	unlog.1
XMAN1+=	up.1
XMAN1+=	vos.1
XMAN1+=	vos_addsite.1
XMAN1+=	vos_apropos.1
XMAN1+=	vos_backup.1
XMAN1+=	vos_backupsys.1
XMAN1+=	vos_changeloc.1
XMAN1+=	vos_changeaddr.1
XMAN1+=	vos_clone.1
XMAN1+=	vos_convertROtoRW.1
XMAN1+=	vos_copy.1
XMAN1+=	vos_create.1
XMAN1+=	vos_delentry.1
XMAN1+=	vos_dump.1
XMAN1+=	vos_endtrans.1
XMAN1+=	vos_examine.1
XMAN1+=	vos_help.1
XMAN1+=	vos_listaddrs.1
XMAN1+=	vos_listpart.1
XMAN1+=	vos_listvldb.1
XMAN1+=	vos_listvol.1
XMAN1+=	vos_lock.1
XMAN1+=	vos_move.1
XMAN1+=	vos_offline.1
XMAN1+=	vos_online.1
XMAN1+=	vos_partinfo.1
XMAN1+=	vos_release.1
XMAN1+=	vos_remove.1
XMAN1+=	vos_remsite.1
XMAN1+=	vos_rename.1
XMAN1+=	vos_restore.1
XMAN1+=	vos_setaddrs.1
XMAN1+=	vos_setfields.1
XMAN1+=	vos_shadow.1
XMAN1+=	vos_size.1
XMAN1+=	vos_status.1
XMAN1+=	vos_syncserv.1
XMAN1+=	vos_syncvldb.1
XMAN1+=	vos_unlock.1
XMAN1+=	vos_unlockvldb.1
XMAN1+=	vos_zap.1
XMAN1+=	xstat_cm_test.1
XMAN1+=	xstat_fs_test.1
XMAN5+=	AuthLog.5
XMAN5+=	AuthLog.dir.5
XMAN5+=	BackupLog.5
XMAN5+=	BosConfig.5
XMAN5+=	BosLog.5
XMAN5+=	CellAlias.5
XMAN5+=	CellServDB.5
XMAN5+=	FORCESALVAGE.5
XMAN5+=	FileLog.5
XMAN5+=	KeyFile.5
XMAN5+=	krb.excl.5
XMAN5+=	NetInfo.5
XMAN5+=	NetRestrict.5
XMAN5+=	NoAuth.5
XMAN5+=	SALVAGE.fs.5
XMAN5+=	SalvageLog.5
XMAN5+=	ThisCell.5
XMAN5+=	UserList.5
XMAN5+=	VLLog.5
XMAN5+=	VolserLog.5
XMAN5+=	afs.5
XMAN5+=	afs_cache.5
XMAN5+=	afs_volume_header.5
XMAN5+=	afsmonitor.5
XMAN5+=	afszcm.cat.5
XMAN5+=	bdb.DB0.5
XMAN5+=	butc.5
XMAN5+=	butc_logs.5
XMAN5+=	cacheinfo.5
XMAN5+=	fms.log.5
XMAN5+=	kaserver.DB0.5
XMAN5+=	kaserverauxdb.5
XMAN5+=	krb.conf.5
XMAN5+=	prdb.DB0.5
XMAN5+=	salvage.lock.5
XMAN5+=	sysid.5
XMAN5+=	tapeconfig.5
XMAN5+=	uss.5
XMAN5+=	uss_bulk.5
XMAN5+=	vldb.DB0.5
XMAN8+=	afsd.8
XMAN8+=	asetkey.8
XMAN8+=	backup.8
XMAN8+=	backup_adddump.8
XMAN8+=	backup_addhost.8
XMAN8+=	backup_addvolentry.8
XMAN8+=	backup_addvolset.8
XMAN8+=	backup_apropos.8
XMAN8+=	backup_dbverify.8
XMAN8+=	backup_deldump.8
XMAN8+=	backup_deletedump.8
XMAN8+=	backup_delhost.8
XMAN8+=	backup_delvolentry.8
XMAN8+=	backup_delvolset.8
XMAN8+=	backup_diskrestore.8
XMAN8+=	backup_dump.8
XMAN8+=	backup_dumpinfo.8
XMAN8+=	backup_help.8
XMAN8+=	backup_interactive.8
XMAN8+=	backup_jobs.8
XMAN8+=	backup_kill.8
XMAN8+=	backup_labeltape.8
XMAN8+=	backup_listdumps.8
XMAN8+=	backup_listhosts.8
XMAN8+=	backup_listvolsets.8
XMAN8+=	backup_quit.8
XMAN8+=	backup_readlabel.8
XMAN8+=	backup_restoredb.8
XMAN8+=	backup_savedb.8
XMAN8+=	backup_scantape.8
XMAN8+=	backup_setexp.8
XMAN8+=	backup_status.8
XMAN8+=	backup_volinfo.8
XMAN8+=	backup_volrestore.8
XMAN8+=	backup_volsetrestore.8
XMAN8+=	bos.8
XMAN8+=	bos_addhost.8
XMAN8+=	bos_addkey.8
XMAN8+=	bos_adduser.8
XMAN8+=	bos_apropos.8
XMAN8+=	bos_create.8
XMAN8+=	bos_delete.8
XMAN8+=	bos_exec.8
XMAN8+=	bos_getdate.8
XMAN8+=	bos_getlog.8
XMAN8+=	bos_getrestart.8
XMAN8+=	bos_getrestricted.8
XMAN8+=	bos_help.8
XMAN8+=	bos_install.8
XMAN8+=	bos_listhosts.8
XMAN8+=	bos_listkeys.8
XMAN8+=	bos_listusers.8
XMAN8+=	bos_prune.8
XMAN8+=	bos_removehost.8
XMAN8+=	bos_removekey.8
XMAN8+=	bos_removeuser.8
XMAN8+=	bos_restart.8
XMAN8+=	bos_salvage.8
XMAN8+=	bos_setauth.8
XMAN8+=	bos_setcellname.8
XMAN8+=	bos_setrestart.8
XMAN8+=	bos_setrestricted.8
XMAN8+=	bos_shutdown.8
XMAN8+=	bos_start.8
XMAN8+=	bos_startup.8
XMAN8+=	bos_status.8
XMAN8+=	bos_stop.8
XMAN8+=	bos_uninstall.8
XMAN8+=	bos_util.8
XMAN8+=	bosserver.8
XMAN8+=	buserver.8
XMAN8+=	butc.8
XMAN8+=	davolserver.8
XMAN8+=	dasalvager.8
XMAN8+=	dafileserver.8
XMAN8+=	dafssync-debug.8
XMAN8+=	fileserver.8
XMAN8+=	fms.8
XMAN8+=	fssync-debug_volop.8
XMAN8+=	fssync-debug_vnode.8
XMAN8+=	fssync-debug_vgcscanall.8
XMAN8+=	fssync-debug_vgcscan.8
XMAN8+=	fssync-debug_vgcquery.8
XMAN8+=	fssync-debug_vgcdel.8
XMAN8+=	fssync-debug_vgcadd.8
XMAN8+=	fssync-debug_stats.8
XMAN8+=	fssync-debug_query.8
XMAN8+=	fssync-debug_online.8
XMAN8+=	fssync-debug_offline.8
XMAN8+=	fssync-debug_move.8
XMAN8+=	fssync-debug_mode.8
XMAN8+=	fssync-debug_list.8
XMAN8+=	fssync-debug_leaveoff.8
XMAN8+=	fssync-debug_header.8
XMAN8+=	fssync-debug_error.8
XMAN8+=	fssync-debug_detach.8
XMAN8+=	fssync-debug_callback.8
XMAN8+=	fssync-debug_attach.8
XMAN8+=	fssync-debug.8
XMAN8+=	fstrace.8
XMAN8+=	fstrace_apropos.8
XMAN8+=	fstrace_clear.8
XMAN8+=	fstrace_dump.8
XMAN8+=	fstrace_help.8
XMAN8+=	fstrace_lslog.8
XMAN8+=	fstrace_lsset.8
XMAN8+=	fstrace_setlog.8
XMAN8+=	fstrace_setset.8
XMAN8+=	ka-forwarder.8
XMAN8+=	kadb_check.8
XMAN8+=	kas.8
XMAN8+=	kas_apropos.8
XMAN8+=	kas_create.8
XMAN8+=	kas_delete.8
XMAN8+=	kas_examine.8
XMAN8+=	kas_forgetticket.8
XMAN8+=	kas_help.8
XMAN8+=	kas_interactive.8
XMAN8+=	kas_list.8
XMAN8+=	kas_listtickets.8
XMAN8+=	kas_noauthentication.8
XMAN8+=	kas_quit.8
XMAN8+=	kas_setfields.8
XMAN8+=	kas_setpassword.8
XMAN8+=	kas_statistics.8
XMAN8+=	kdb.8
XMAN8+=	kas_stringtokey.8
XMAN8+=	kas_unlock.8
XMAN8+=	kaserver.8
XMAN8+=	kpwvalid.8
XMAN8+=	prdb_check.8
XMAN8+=	pt_util.8
XMAN8+=	ptserver.8
XMAN8+=	read_tape.8
XMAN8+=	rmtsysd.8
XMAN8+=	salvager.8
XMAN8+=	salvageserver.8
XMAN8+=	upclient.8
XMAN8+=	upserver.8
XMAN8+=	uss.8
XMAN8+=	uss_add.8
XMAN8+=	uss_apropos.8
XMAN8+=	uss_bulk.8
XMAN8+=	uss_delete.8
XMAN8+=	uss_help.8
XMAN8+=	vldb_check.8
XMAN8+=	vldb_convert.8
XMAN8+=	vlserver.8
XMAN8+=	voldump.8
XMAN8+=	volinfo.8
XMAN8+=	volserver.8
XMAN8+=	vsys.8
XMAN8+=	xfs_size_check.8
XMAN8+=	state_analyzer.8
da82faaf2f0e412ad1b99bc54d0140bb
echo x - openafs-devel/README
sed 's/^X//' >openafs-devel/README << '6492bd331a3f54931f44b5d0553f170a'
XAs you might suspect from the name, this is a development package.
XIt is, however, a rather rough development package.  It fetches
Xsource from the head of the OpenAFS git repository, which means that
Xresults may change depending on when you extract.
XThe usual disclaimers apply.
X
XThe filesystem-based cache code has lots of locking problems;
XWITNESS won't let afsd start with that code path.  I currently
Xmount afs with:
X# kldload libafs
X# afsd -dynroot -fakestat-all -afsdb -memcache -daemons 4
XI expect that things will go fine at that stage; the problems tend
Xto show up later.
X
XThe use of heimdal from base is essentially hardcoded (in fact, we
Xconflict with heimdal from ports).
X
XYou will want to tweak the AFS configuration files; in particular,
Xcreate a ${PREFIX}/etc/openafs/cacheinfo file (a single line,
Xcolon-separated, with the path on which to mount AFS (the directory
Xthat will be the mount point must already exist), the directory to
Xput cachefiles in (also must already exist), and the size of the
Xcache to use (in kB).  Putting your site in ThisCell, and checking
Xthat the installed CellServDB has up-to-date entries for your local
Xcell are also useful.
X
X-Ben Kaduk, 28 October 2011
6492bd331a3f54931f44b5d0553f170a
echo c - openafs-devel/files
mkdir -p openafs-devel/files > /dev/null 2>&1
echo x - openafs-devel/files/afsd.in
sed 's/^X//' >openafs-devel/files/afsd.in << '302c083baee30fc6e58ac95f858b3e81'
X#!/bin/sh
X#
X# $FreeBSD: ports/net/openafs/files/afsd.in,v 1.2 2011/06/20 07:09:36 hrs Exp $
X#
X# PROVIDE: afsd
X# REQUIRE: afsserver named
X# KEYWORD: shutdown
X#
X# We require afsserver for the (rare, untested) case when a client
X# and server are running on the same machine -- the client must not
X# start until the server is running.
X#
X# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
X# to enable this service:
X#
X# afsd_enable (bool):	Set to NO by default.
X#			Set it to YES to enable afsd.
X#
X# Suggested values for a "large" configuration:
X# afsd_flags="-stat 2800 -daemons 5 -volumes 128"
X#
X# Suggested values for a "medium" configuration:
X# afsd_flags="-stat 2000 -daemons 3 -volumes 70"
X#
X# Suggested values for a "small" configuration:
X# afsd_flags="-stat 300 -daemons 2 -volumes 50"
X
X. /etc/rc.subr
X
Xname="afsd"
Xrcvar="afsd_enable"
X
Xcommand="%%PREFIX%%/sbin/${name}"
Xcommand_args="-dynroot -fakestat-all -afsdb -memcache"
X
Xstart_precmd="afsd_prestart"
Xstart_postcmd="afsd_poststart"
Xstop_cmd="afsd_stop"
X
Xkmod="libafs"
Xvicedir="%%PREFIX%%/etc/openafs"
Xrequired_modules="libafs:afs"
Xrequired_files="${vicedir}/cacheinfo ${vicedir}/ThisCell ${vicedir}/CellServDB"
X
Xload_rc_config "$name"
X
X: ${afsd_enable:="NO"}
X: ${afsd_flags:="-stat 2800 -daemons 6 -volumes 128"}
X
Xafsd_prestart()
X{
X	local dir
X
X	# need a mountpoint and a cache dir (well, if we have a disk cache)
X	# Should use required_dirs, but no good way to extract from cacheinfo
X	for dir in $(awk -F: '{print $1, $2}' ${vicedir}/cacheinfo); do
X		if [ ! -d "${dir}" ]; then
X			err 1 "Directory ${dir} does not exist. Not starting AFS client."
X		fi
X	done
X}
X
Xafsd_poststart()
X{
X	%%PREFIX%%/bin/fs setcrypt -crypt on
X}
X
Xafsd_stop()
X{
X	local afsdir
X
X	afsdir=$(awk -F: '{print $1}' ${vicedir}/cacheinfo)
X	if ! umount $afsdir; then
X		[ -n "${rc_force}" ] && umount -f ${afsdir}
X	fi
X	kldunload ${kmod}
X}
X
Xrun_rc_command "$1"
302c083baee30fc6e58ac95f858b3e81
echo x - openafs-devel/files/afsserver.in
sed 's/^X//' >openafs-devel/files/afsserver.in << 'becfa1d12986ae0fb7c14242473e411e'
X#!/bin/sh
X#
X# $FreeBSD: ports/net/openafs/files/afsserver.in,v 1.2 2011/06/20 07:09:36 hrs Exp $
X#
X# PROVIDE: afsserver
X# REQUIRE: networking
X# KEYWORD: shutdown
X#
X# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
X# to enable this service:
X#
X# afsserver_enable (bool):	Set to NO by default.
X#				Set it to YES to enable AFS server activities.
X
X. /etc/rc.subr
X
Xname="afsserver"
Xrcvar="afsserver_enable"
X
Xcommand="%%PREFIX%%/sbin/bosserver"
X
Xstop_precmd="afsserver_prestop"
X
Xvicedir="%%PREFIX%%/etc/openafs/server"
Xrequired_files="${vicedir}/CellServDB ${vicedir}/KeyFile ${vicedir}/ThisCell ${vicedir}/UserList"
X
Xload_rc_config "$name"
X
X: ${afsserver_enable:="NO"}
X
Xafsserver_prestop()
X{
X	%%PREFIX%%/bin/bos shutdown -localauth -server localhost
X}
X
Xrun_rc_command "$1"
becfa1d12986ae0fb7c14242473e411e
echo x - openafs-devel/pkg-descr
sed 's/^X//' >openafs-devel/pkg-descr << '4af80923c42616110a157cd4c0f9373c'
XAFS is a distributed filesystem product, pioneered at Carnegie Mellon
XUniversity and supported and developed as a product by Transarc Corporation
X(now IBM Pittsburgh Labs). It offers a client-server architecture for
Xfederated file sharing and replicated read-only content distribution,
Xproviding location independence, scalability, security, and transparent
Xmigration capabilities. AFS is available for a broad range of heterogeneous
Xsystems including UNIX, Linux, MacOS X, and Microsoft Windows.
X
XIBM branched the source of the AFS product, and made a copy of the source
Xavailable for community development and maintenance. They called the
Xrelease OpenAFS.
X
Xhttp://www.openafs.org/
X
X- bsam
4af80923c42616110a157cd4c0f9373c
echo x - openafs-devel/pkg-plist
sed 's/^X//' >openafs-devel/pkg-plist << 'a99ad7f4a36e6332cdf08e4ae20167b1'
Xbin/rxgen
Xbin/sys
Xbin/pagsh.krb
Xbin/udebug
Xbin/pagsh
Xbin/klog.krb
Xbin/knfs
Xbin/pts
Xbin/klog
Xbin/tokens.krb
Xbin/scout
Xbin/xstat_cm_test
Xbin/kpasswd
Xbin/kpwvalid
Xbin/bos
Xbin/unlog
Xbin/tokens
Xbin/livesys
Xbin/up
Xbin/fs
Xbin/xstat_fs_test
Xbin/afsmonitor
Xbin/cmdebug
Xbin/translate_et
Xbin/afs_compile_et
Xbin/restorevol
Xbin/klog.krb5
Xbin/asetkey
Xbin/aklog
Xinclude/openafs/afs/param.h
Xinclude/openafs/afs/stds.h
Xinclude/openafs/afs/afs_sysnames.h
Xinclude/openafs/afs/afs_args.h
Xinclude/openafs/afs/icl.h
Xinclude/openafs/afs/venus.h
Xinclude/openafs/afs/pthread_nosigs.h
Xinclude/openafs/afs/procmgmt.h
Xinclude/openafs/afs/dirpath.h
Xinclude/openafs/afs/fileutil.h
Xinclude/openafs/afs/netutils.h
Xinclude/openafs/afs/errors.h
Xinclude/openafs/afs/vice.h
Xinclude/openafs/afs/remote.h
Xinclude/openafs/afs/ktime.h
Xinclude/openafs/afs/afsutil_prototypes.h
Xinclude/openafs/afs/packages.h
Xinclude/openafs/afs/afsutil.h
Xinclude/openafs/afs/pthread_glock.h
Xinclude/openafs/afs/cmd.h
Xinclude/openafs/afs/afs_atomlist.h
Xinclude/openafs/afs/afs_lhash.h
Xinclude/openafs/afs/softsig.h
Xinclude/openafs/afs/com_err.h
Xinclude/openafs/afs/error_table.h
Xinclude/openafs/afs/mit-sipb-cr.h
Xinclude/openafs/afs/afs.h
Xinclude/openafs/afs/osi_inode.h
Xinclude/openafs/afs/afs_stats.h
Xinclude/openafs/afs/exporter.h
Xinclude/openafs/afs/nfsclient.h
Xinclude/openafs/afs/unified_afs.h
Xinclude/openafs/afs/sysctl.h
Xinclude/openafs/afs/rxgen_consts.h
Xinclude/openafs/afs/afsint.h
Xinclude/openafs/afs/afscbint.h
Xinclude/openafs/afs/afssyscalls.h
Xinclude/openafs/afs/xfsattrs.h
Xinclude/openafs/afs/audit.h
Xinclude/openafs/afs/keys.h
Xinclude/openafs/afs/cellconfig.h
Xinclude/openafs/afs/auth.h
Xinclude/openafs/afs/ktc.h
Xinclude/openafs/afs/prclient.h
Xinclude/openafs/afs/prerror.h
Xinclude/openafs/afs/print.h
Xinclude/openafs/afs/prserver.h
Xinclude/openafs/afs/ptclient.h
Xinclude/openafs/afs/ptuser.h
Xinclude/openafs/afs/pterror.h
Xinclude/openafs/afs/ptint.h
Xinclude/openafs/afs/ptserver.h
Xinclude/openafs/afs/acl.h
Xinclude/openafs/afs/prs_fs.h
Xinclude/openafs/afs/kautils.h
Xinclude/openafs/afs/kauth.h
Xinclude/openafs/afs/kaport.h
Xinclude/openafs/afs/bumon.h
Xinclude/openafs/afs/butc.h
Xinclude/openafs/afs/bubasics.h
Xinclude/openafs/afs/tcdata.h
Xinclude/openafs/afs/butm.h
Xinclude/openafs/afs/butx.h
Xinclude/openafs/afs/usd.h
Xinclude/openafs/afs/dir.h
Xinclude/openafs/afs/nfs.h
Xinclude/openafs/afs/vnode.h
Xinclude/openafs/afs/viceinode.h
Xinclude/openafs/afs/volume.h
Xinclude/openafs/afs/voldefs.h
Xinclude/openafs/afs/partition.h
Xinclude/openafs/afs/fssync.h
Xinclude/openafs/afs/ihandle.h
Xinclude/openafs/afs/namei_ops.h
Xinclude/openafs/afs/vl_opcodes.h
Xinclude/openafs/afs/vlserver.h
Xinclude/openafs/afs/vldbint.h
Xinclude/openafs/afs/cnvldb.h
Xinclude/openafs/afs/fs_stats.h
Xinclude/openafs/afs/volser.h
Xinclude/openafs/afs/volint.h
Xinclude/openafs/afs/budb.h
Xinclude/openafs/afs/budb_errs.h
Xinclude/openafs/afs/budb_client.h
Xinclude/openafs/afs/bosint.h
Xinclude/openafs/afs/bnode.h
Xinclude/openafs/afs/gtxcurseswin.h
Xinclude/openafs/afs/gtxdumbwin.h
Xinclude/openafs/afs/gtxframe.h
Xinclude/openafs/afs/gtxinput.h
Xinclude/openafs/afs/gtxkeymap.h
Xinclude/openafs/afs/gtxlightobj.h
Xinclude/openafs/afs/gtxobjdict.h
Xinclude/openafs/afs/gtxobjects.h
Xinclude/openafs/afs/gtxtextcb.h
Xinclude/openafs/afs/gtxtextobj.h
Xinclude/openafs/afs/gtxwindows.h
Xinclude/openafs/afs/gtxX11win.h
Xinclude/openafs/afs/fsprobe.h
Xinclude/openafs/afs/xstat_fs.h
Xinclude/openafs/afs/xstat_cm.h
Xinclude/openafs/afs/vioc.h
Xinclude/openafs/afs/afs_consts.h
Xinclude/openafs/afs/pagcb.h
Xinclude/openafs/afs/vnode_inline.h
Xinclude/openafs/afs/volume_inline.h
Xinclude/openafs/afs/salvsync.h
Xinclude/openafs/afs/daemon_com.h
Xinclude/openafs/afs/vsutils_prototypes.h
Xinclude/openafs/afs/afs_assert.h
Xinclude/openafs/des.h
Xinclude/openafs/des_conf.h
Xinclude/openafs/des_odd.h
Xinclude/openafs/des_prototypes.h
Xinclude/openafs/kopenafs.h
Xinclude/openafs/lock.h
Xinclude/openafs/lwp.h
Xinclude/openafs/preempt.h
Xinclude/openafs/mit-cpyright.h
Xinclude/openafs/rx/rx_prototypes.h
Xinclude/openafs/rx/rx.h
Xinclude/openafs/rx/rx_packet.h
Xinclude/openafs/rx/xdr_prototypes.h
Xinclude/openafs/rx/rxstat.h
Xinclude/openafs/rx/rx_user.h
Xinclude/openafs/rx/rx_event.h
Xinclude/openafs/rx/rx_queue.h
Xinclude/openafs/rx/rx_globals.h
Xinclude/openafs/rx/rx_clock.h
Xinclude/openafs/rx/rx_multi.h
Xinclude/openafs/rx/rx_pthread.h
Xinclude/openafs/rx/rx_lwp.h
Xinclude/openafs/rx/rx_misc.h
Xinclude/openafs/rx/rx_null.h
Xinclude/openafs/rx/xdr.h
Xinclude/openafs/rx/rxkad_prototypes.h
Xinclude/openafs/rx/fcrypt.h
Xinclude/openafs/rx/rxkad.h
Xinclude/openafs/timer.h
Xinclude/openafs/ubik.h
Xinclude/openafs/ubik_int.h
Xlib/afs/libacl.a
Xlib/afs/libafsint.a
Xlib/afs/libafsutil.a
Xlib/afs/libaudit.a
Xlib/afs/libauth.a
Xlib/afs/libauth.krb.a
Xlib/afs/libbos.a
Xlib/afs/libbubasics.a
Xlib/afs/libbudb.a
Xlib/afs/libbutm.a
Xlib/afs/libbxdb.a
Xlib/afs/libcmd.a
Xlib/afs/libafscom_err.a
Xlib/afs/libdir.a
Xlib/afs/libfsprobe.a
Xlib/afs/libgtx.a
Xlib/afs/libkauth.a
Xlib/afs/libkauth.krb.a
Xlib/afs/libprocmgmt.a
Xlib/afs/libprot.a
Xlib/afs/libsys.a
Xlib/afs/libusd.a
Xlib/afs/libvldb.a
Xlib/afs/libvlib.a
Xlib/afs/libvolser.a
Xlib/afs/libxstat_cm.a
Xlib/afs/libxstat_fs.a
Xlib/afs/util.a
Xlib/afs/vlib.a
Xlib/librxstat.a
Xlib/libdes.a
Xlib/liblwp.a
Xlib/librx.a
Xlib/librxkad.a
Xlib/libafsauthent.a
Xlib/libuafs.a
Xlib/libubik.a
Xlib/libafsrpc.a
Xlib/pam_afs.krb.so.1
Xlib/libjuafs.a
Xlib/pam_afs.so.1
Xlib/libafsrpc_pic.a
Xlib/libafsrpc.so.1.5
Xlib/libafsrpc.so.1
Xlib/libafsrpc.so
Xlib/libafsauthent_pic.a
Xlib/libafsauthent.so.1
Xlib/libafsauthent.so.1.1
Xlib/libafsauthent.so
Xlib/libkopenafs.so.1.1
Xlib/libkopenafs.so.1
Xlib/libkopenafs.so
Xlib/libkopenafs.a
Xlibexec/openafs/buserver
Xlibexec/openafs/fileserver
Xlibexec/openafs/dafileserver
Xlibexec/openafs/kaserver
Xlibexec/openafs/ptserver
Xlibexec/openafs/salvager
Xlibexec/openafs/upclient
Xlibexec/openafs/upserver
Xlibexec/openafs/vlserver
Xlibexec/openafs/volserver
Xlibexec/openafs/salvageserver
Xlibexec/openafs/dasalvager
X%%DATADIR%%/C/afszcm.cat
X%%FUSE%%sbin/afsd.fuse
Xsbin/dafssync-debug
Xsbin/prdb_check
Xsbin/kas
Xsbin/kdb
Xsbin/rmtsysd
Xsbin/pt_util
Xsbin/kadb_check
Xsbin/ka-forwarder
Xsbin/kpwvalid
Xsbin/volinfo
Xsbin/afsd
Xsbin/vsys
Xsbin/vldb_convert
Xsbin/vldb_check
Xsbin/read_tape
Xsbin/bosserver
Xsbin/voldump
Xsbin/vos
Xsbin/uss
Xsbin/backup
Xsbin/butc
Xsbin/rxdebug
Xsbin/bos_util
Xsbin/fms
Xsbin/fstrace
Xsbin/state_analyzer
Xsbin/salvsync-debug
Xsbin/fssync-debug
X@unexec if cmp -s %D/etc/openafs/CellServDB.sample %D/etc/openafs/CellServDB ; then rm %D/etc/openafs/CellServDB ; fi
Xetc/openafs/CellServDB.sample
X@exec if [ ! -e %D/etc/openafs/CellServDB ] ; then cp %D/etc/openafs/CellServDB.sample %D/etc/openafs/CellServDB ; fi
X@unexec if cmp -s %D/etc/openafs/ThisCell.sample %D/etc/openafs/ThisCell ; then rm %D/etc/openafs/ThisCell ; fi
Xetc/openafs/ThisCell.sample
X@exec if [ ! -e %D/etc/openafs/ThisCell ] ; then cp -p %D/etc/openafs/ThisCell.sample %D/etc/openafs/ThisCell ; fi
X@unexec if cmp -s %D/etc/openafs/cacheinfo.sample %D/etc/openafs/cacheinfo ; then rm %D/etc/openafs/cacheinfo ; fi
Xetc/openafs/cacheinfo.sample
X@exec if [ ! -e %D/etc/openafs/cacheinfo ] ; then cp -p %D/etc/openafs/cacheinfo.sample %D/etc/openafs/cacheinfo ; fi
X@dirrm include/openafs/rx
X@dirrm include/openafs/afs
X@dirrm include/openafs
X@dirrm lib/afs
X@dirrm libexec/openafs
X@dirrmtry etc/openafs
X@dirrm %%DATADIR%%/C
X@dirrm %%DATADIR%%
X@cwd /
X%%KMODDIR%%/libafs.ko
X@exec /usr/sbin/kldxref /%%KMODDIR%%
X@unexec /usr/sbin/kldxref /%%KMODDIR%%
X@exec /bin/mkdir -p %D/%%AFSMNTDIR%% %D/%%AFSSTATEDIR%% %D/%%AFSCACHEDIR%%
X@dirrmtry %%AFSMNTDIR%%
X@dirrmtry %%AFSCACHEDIR%%
X@dirrmtry %%AFSSTATEDIR%%
a99ad7f4a36e6332cdf08e4ae20167b1
exit

