mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
www/mod_auth_openid: Remove expired port
2024-05-24 www/mod_auth_openid: Depends on expired devel/libopkele
This commit is contained in:
parent
650dda96cf
commit
f3a63acd1f
1
MOVED
1
MOVED
@ -3269,3 +3269,4 @@ devel/rubygem-flipper-active_support_cache_store-rails61|devel/rubygem-flipper-a
|
||||
devel/rubygem-flipper025|devel/rubygem-flipper|2024-05-28|Remove obsoleted port. Use devel/rubygem-flipper instead
|
||||
www/rubygem-rqrcode2|www/rubygem-rqrcode|2024-05-28|Remove obsoleted port. Use www/rubygem-rqrcode instead
|
||||
net/iaxmodem||2024-05-29|Has expired: outdated and uses end-of-life version of GCC
|
||||
www/mod_auth_openid||2024-05-29|Has expired: Depends on expired devel/libopkele
|
||||
|
@ -382,7 +382,6 @@
|
||||
SUBDIR += mod_auth_mellon
|
||||
SUBDIR += mod_auth_mysql2
|
||||
SUBDIR += mod_auth_mysql_another
|
||||
SUBDIR += mod_auth_openid
|
||||
SUBDIR += mod_auth_openidc
|
||||
SUBDIR += mod_auth_pam2
|
||||
SUBDIR += mod_auth_pgsql2
|
||||
|
@ -1,42 +0,0 @@
|
||||
PORTNAME= mod_auth_openid
|
||||
PORTVERSION= 0.8
|
||||
DISTVERSIONPREFIX= v
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= www
|
||||
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= joneum@FreeBSD.org
|
||||
COMMENT= Authentication module for the Apache 2 web server with OpenID
|
||||
WWW= https://findingscience.com/mod_auth_openid/
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
DEPRECATED= Depends on expired devel/libopkele
|
||||
EXPIRATION_DATE=2024-05-24
|
||||
|
||||
LIB_DEPENDS= libopkele.so:devel/libopkele \
|
||||
libsqlite3.so:databases/sqlite3
|
||||
|
||||
USES= apache autoreconf cpe gmake libtool pkgconfig
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= bmuller
|
||||
|
||||
PLIST_FILES= ${APACHEMODDIR}/mod_auth_openid.so
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --with-pcre=${LOCALBASE}
|
||||
CFLAGS+= -I${LOCALBASE}/include -I/usr/include/openssl
|
||||
|
||||
CPE_VENDOR= findingscience
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|$${APXS} -i|$${APXS} -S LIBEXECDIR=${STAGEDIR}${PREFIX}/${APACHEMODDIR} -i|' \
|
||||
${WRKSRC}/src/Makefile.am
|
||||
|
||||
pre-install:
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}
|
||||
|
||||
post-install:
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/${PORTNAME}.so
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,2 +0,0 @@
|
||||
SHA256 (bmuller-mod_auth_openid-v0.8_GH0.tar.gz) = af3662023058e2cebebc14056f7e03e57d42017935b542fded7752931a720b64
|
||||
SIZE (bmuller-mod_auth_openid-v0.8_GH0.tar.gz) = 28409
|
@ -1,54 +0,0 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Try to de-activate authopenid_module in the installed httpd.conf and warn
|
||||
# if this fails.
|
||||
|
||||
if [ "$2" != "POST-DEINSTALL" ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
TMPDIR=${TMPDIR:=/tmp}
|
||||
PKG_TMPDIR=${PKG_TMPDIR:=${TMPDIR}}
|
||||
|
||||
apxscmd=${PKG_PREFIX}/sbin/apxs
|
||||
tmpdir=${PKG_TMPDIR}/deinstmod_dav_svn.$$
|
||||
|
||||
if [ ! -x ${apxscmd} ]; then
|
||||
echo Can\'t find the apxs program: ${apxscmd}.
|
||||
exit 1
|
||||
fi
|
||||
|
||||
confdir=`${apxscmd} -q SYSCONFDIR`
|
||||
|
||||
if [ ! -d ${confdir} ]; then
|
||||
echo Can\'t find Apache conf dir: ${confdir}
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ -f ${confdir}/httpd.conf ]; then
|
||||
conffile=httpd.conf
|
||||
fi
|
||||
if [ -f ${confdir}/httpd.conf.default ]; then
|
||||
conffile="${conffile} httpd.conf.default"
|
||||
fi
|
||||
if [ -z "${conffile}" ]; then
|
||||
echo Can\'t find either of ${confdir}/httpd.conf or
|
||||
echo ${confdir}/httpd.conf.default.
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! mkdir ${tmpdir}; then
|
||||
echo Can\'t create temporary directory: ${tmpdir}
|
||||
exit 1
|
||||
fi
|
||||
|
||||
for i in ${conffile}; do
|
||||
awk '{if (!/^LoadModule authopenid_module/) \
|
||||
print $0}' < ${confdir}/$i > ${tmpdir}/$i
|
||||
echo Removing authopenid_module from $i in config dir: ${confdir}
|
||||
cat ${tmpdir}/$i > ${confdir}/$i
|
||||
done
|
||||
|
||||
rm -rf ${tmpdir}
|
||||
|
||||
exit 0
|
@ -1,3 +0,0 @@
|
||||
mod_auth_openid is an authentication module for the Apache 2 web server.
|
||||
It handles the functions of an OpenID consumer as specified in the OpenID
|
||||
2.0 specification.
|
Loading…
Reference in New Issue
Block a user