fix plugin location instead of creating soft line from /usr/lib/sasl2

bump pkgname
This commit is contained in:
jakob 2005-05-09 14:28:22 +00:00
parent 651641fb5a
commit cc9fc325b5
3 changed files with 3 additions and 48 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.25 2005/01/12 21:31:06 sturm Exp $
# $OpenBSD: Makefile,v 1.26 2005/05/09 14:28:22 jakob Exp $
COMMENT= "RFC 2222 SASL (Simple Authentication and Security Layer)"
DISTNAME= cyrus-sasl-2.1.20
PKGNAME= ${DISTNAME}p3
PKGNAME= ${DISTNAME}p4
CATEGORIES= security
MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/ \
@ -26,6 +26,7 @@ CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --with-saslauthd="/var/sasl2" \
--enable-gssapi="/usr" \
--with-gss_impl="heimdal" \
--with-plugindir=${PREFIX}/lib/sasl2 \
--enable-login \
--enable-static \
--disable-sample

View File

@ -1,11 +0,0 @@
#!/bin/sh
#
# $OpenBSD: DEINSTALL,v 1.2 2003/02/04 22:59:48 naddy Exp $
PATH=/bin:/usr/bin:/sbin:/usr/sbin
if [ -L /usr/lib/sasl2 ]; then
rm /usr/lib/sasl2
fi
exit 0

View File

@ -1,35 +0,0 @@
#!/bin/sh
#
# $OpenBSD: INSTALL,v 1.3 2003/06/17 23:09:00 naddy Exp $
# exit on errors, use a sane path and install prefix
#
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local}
# verify proper execution
#
if [ $# -ne 2 ]; then
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
exit 1
fi
# Verify/process the command
#
case $2 in
PRE-INSTALL)
: nothing to pre-install for this port
;;
POST-INSTALL)
if [ ! -e /usr/lib/sasl2 ]; then
ln -s ${PREFIX}/lib/sasl2 /usr/lib/sasl2
fi
;;
*)
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
exit 1
;;
esac
exit 0