from maint
o more feedback/typos/etc fixes bump PKGNAME
This commit is contained in:
parent
f50c822b4c
commit
8f6efbb341
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.8 2006/02/13 17:27:01 david Exp $
|
||||
# $OpenBSD: Makefile,v 1.9 2006/02/18 02:05:49 todd Exp $
|
||||
|
||||
COMMENT= "Distributed filesystem OpenAFS"
|
||||
|
||||
DISTNAME= openafs-1.4.0-src
|
||||
PKGNAME= openafs-1.4.0p3
|
||||
PKGNAME= openafs-1.4.0p4
|
||||
CATEGORIES= net
|
||||
|
||||
HOMEPAGE= http://www.openafs.org
|
||||
@ -29,9 +29,8 @@ CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
||||
--enable-namei-fileserver \
|
||||
--enable-largefile-fileserver \
|
||||
--enable-supergroups \
|
||||
--with-afs-sysname=${ARCH}_obsd${OSrev} \
|
||||
--enable-debug
|
||||
COPTS+= -ggdb
|
||||
--with-afs-sysname=${ARCH}_obsd${OSrev}
|
||||
|
||||
WRKDIST= ${WRKDIR}/${DISTNAME:S/-src$//}
|
||||
|
||||
pre-configure:
|
||||
|
@ -93,13 +93,17 @@ then
|
||||
then
|
||||
|
||||
cat <<EOF
|
||||
#######################################
|
||||
You are running at a secure level that does not allow for loading
|
||||
kernel modules. An update has been made to /etc/rc.securelevel in
|
||||
order to load OpenAFS on the next reboot.
|
||||
#######################################################
|
||||
You are running at a secure level that does not allow
|
||||
for loading kernel modules.
|
||||
|
||||
An update has been made to /etc/rc.securelevel in order
|
||||
to load OpenAFS on the next reboot.
|
||||
|
||||
Please reboot for this to take effect.
|
||||
|
||||
Then just rerun this script to continue the setup.
|
||||
#######################################
|
||||
#######################################################
|
||||
EOF
|
||||
exit
|
||||
|
||||
@ -182,8 +186,8 @@ then
|
||||
fi
|
||||
|
||||
rm -rf /var/openafs /etc/openafs
|
||||
mkdir -m 700 /etc/openafs /var/openafs /var/openafs/db
|
||||
mkdir -m 755 /etc/openafs/server /var/openafs/server /var/openafs/cache
|
||||
mkdir -m 700 /var/openafs /var/openafs/db
|
||||
mkdir -m 755 /etc/openafs /etc/openafs/server /var/openafs/server /var/openafs/cache
|
||||
/bin/echo "/afs:/var/openafs/cache:${CACHESIZE:?}" > /etc/openafs/cacheinfo
|
||||
|
||||
KAS=%LOCALBASE%/sbin/kas
|
||||
@ -424,6 +428,9 @@ Make sure that openfiles-cur is set to a high enough level.
|
||||
Otherwise you will get "partition full" messages when
|
||||
writing files to afs.
|
||||
This is the setting I use on the test cell.
|
||||
-------------------------------------------------
|
||||
:openfiles-cur=infinity:\
|
||||
--------------------------------------------------
|
||||
Also note that this port does not work on Multiprocessor systems.
|
||||
If you find any breakage please let me know <ober <AT> linbsd.org>
|
||||
EOF
|
||||
|
@ -1,2 +1,16 @@
|
||||
To utilize this package, you will need to run ${PREFIX}/sbin/openafs-setup
|
||||
as root.
|
||||
To utilize this package, you will need to run ${PREFIX}/sbin/openafs-setup as root.
|
||||
Consider setting the following:
|
||||
1. Uncomment the following line in /etc/sysctl.conf
|
||||
---->/etc/sysctl.conf
|
||||
-#ddb.panic=0 # 0=Do not drop into ddb on a kernel panic
|
||||
+ddb.panic=0 # 0=Do not drop into ddb on a kernel panic
|
||||
----|
|
||||
2. Increase the default maximum number of open files in /etc/login.conf for daemon to aleast a few thousand.
|
||||
---->/etc/login.conf
|
||||
- :openfiles-cur=128:\
|
||||
+ :openfiles-cur=infinity:\
|
||||
----|
|
||||
3. If you increase #2 above 1772 then consider also updating kern.maxfiles
|
||||
---->/etc/sysctl.conf
|
||||
+kern.maxfiles=102400 # increase maximum files
|
||||
----|
|
||||
|
Loading…
x
Reference in New Issue
Block a user