1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

- Correct misspelling (PGK_PREFIX -> PKG_PREFIX) in pkg-install

- Add support for Heimdal Kerberos V port

PR: 22894
Submitted by: MAINTAINER
This commit is contained in:
Kevin Lo 2000-11-17 15:06:24 +00:00
parent 96a0bdf09c
commit eebfde9690
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=35223
6 changed files with 16 additions and 12 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= cyrus-sasl
PORTVERSION= 1.5.24
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= security
MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/ \
${MASTER_SITE_LOCAL} \
@ -72,6 +72,8 @@ SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" \
.if defined(KRB5_HOME) && exists(${KRB5_HOME})
CONFIGURE_ARGS+= --enable-gssapi=${KRB5_HOME}
.elif defined(HEIMDAL_HOME) && exists(${HEIMDAL_HOME})
CONFIGURE_ARGS+= --enable-gssapi=${HEIMDAL_HOME}
.else
CONFIGURE_ARGS+= --disable-gssapi
GSSAPI= "@comment "

View File

@ -1,5 +1,5 @@
--- configure.in.orig Thu Jul 20 21:35:01 2000
+++ configure.in Tue Sep 19 21:51:11 2000
+++ configure.in Thu Nov 16 09:07:00 2000
@@ -66,8 +66,9 @@
dnl check for -R, etc. switch
CMU_GUESS_RUNPATH_SWITCH
@ -7,8 +7,8 @@
-CPPFLAGS="-I/usr/local/include ${CPPFLAGS}"
-CMU_ADD_LIBPATH("/usr/local/lib")
+CPPFLAGS="-I${OPENSSLINC} -I${OPENSSLINC}/openssl ${CPPFLAGS}"
+CMU_ADD_LIBPATH("${LOCALBASE}/lib")
+CMU_ADD_LIBPATH("${OPENSSLLIB}")
+CMU_ADD_LIBPATH("${LOCALBASE}/lib")
AM_DISABLE_STATIC

View File

@ -71,9 +71,9 @@ create_user() {
create_sasldb() {
if [ ! -f ${PGK_PREFIX}/etc/sasldb.db ]; then
touch ${PGK_PREFIX}/etc/sasldb.db
chown cyrus:mail ${PGK_PREFIX}/etc/sasldb.db
chmod 640 ${PGK_PREFIX}/etc/sasldb.db
touch ${PKG_PREFIX}/etc/sasldb.db
chown cyrus:mail ${PKG_PREFIX}/etc/sasldb.db
chmod 640 ${PKG_PREFIX}/etc/sasldb.db
fi
}

View File

@ -7,7 +7,7 @@
PORTNAME= cyrus-sasl
PORTVERSION= 1.5.24
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= security
MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/ \
${MASTER_SITE_LOCAL} \
@ -72,6 +72,8 @@ SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" \
.if defined(KRB5_HOME) && exists(${KRB5_HOME})
CONFIGURE_ARGS+= --enable-gssapi=${KRB5_HOME}
.elif defined(HEIMDAL_HOME) && exists(${HEIMDAL_HOME})
CONFIGURE_ARGS+= --enable-gssapi=${HEIMDAL_HOME}
.else
CONFIGURE_ARGS+= --disable-gssapi
GSSAPI= "@comment "

View File

@ -1,5 +1,5 @@
--- configure.in.orig Thu Jul 20 21:35:01 2000
+++ configure.in Tue Sep 19 21:51:11 2000
+++ configure.in Thu Nov 16 09:07:00 2000
@@ -66,8 +66,9 @@
dnl check for -R, etc. switch
CMU_GUESS_RUNPATH_SWITCH
@ -7,8 +7,8 @@
-CPPFLAGS="-I/usr/local/include ${CPPFLAGS}"
-CMU_ADD_LIBPATH("/usr/local/lib")
+CPPFLAGS="-I${OPENSSLINC} -I${OPENSSLINC}/openssl ${CPPFLAGS}"
+CMU_ADD_LIBPATH("${LOCALBASE}/lib")
+CMU_ADD_LIBPATH("${OPENSSLLIB}")
+CMU_ADD_LIBPATH("${LOCALBASE}/lib")
AM_DISABLE_STATIC

View File

@ -71,9 +71,9 @@ create_user() {
create_sasldb() {
if [ ! -f ${PGK_PREFIX}/etc/sasldb.db ]; then
touch ${PGK_PREFIX}/etc/sasldb.db
chown cyrus:mail ${PGK_PREFIX}/etc/sasldb.db
chmod 640 ${PGK_PREFIX}/etc/sasldb.db
touch ${PKG_PREFIX}/etc/sasldb.db
chown cyrus:mail ${PKG_PREFIX}/etc/sasldb.db
chmod 640 ${PKG_PREFIX}/etc/sasldb.db
fi
}