Fix
This commit is contained in:
@ -1,47 +1,53 @@
|
|||||||
PORTNAME= freeipa-client
|
PORTNAME= freeipa-client
|
||||||
DISTVERSION= 4.12.2
|
DISTVERSION= 4.12.2
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= net
|
CATEGORIES= net
|
||||||
MASTER_SITES= https://releases.pagure.org/freeipa/
|
MASTER_SITES= https://releases.pagure.org/freeipa/
|
||||||
DISTNAME= freeipa-${DISTVERSION}
|
DISTNAME= freeipa-${DISTVERSION}
|
||||||
#WRKSRC= ${DISTNAME}
|
|
||||||
|
|
||||||
MAINTAINER= xavier.beaudouin@klarasystems.com
|
MAINTAINER= kiwi@oav.net
|
||||||
COMMENT= FreeIPA Client tools
|
COMMENT= FreeIPA Client tools
|
||||||
WWW= https://www.freeipa.org/
|
WWW= https://www.freeipa.org/
|
||||||
|
|
||||||
LICENSE= GPLv3
|
LICENSE= GPLv3+
|
||||||
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||||
|
|
||||||
USES= autoreconf libtool gmake gettext python pkgconfig gssapi:mit \
|
BUILD_DEPENDS= ${PY_SETUPTOOLS} \
|
||||||
ldap
|
${PYTHON_PKGNAMEPREFIX}pip>0:devel/py-pip@${PY_FLAVOR}
|
||||||
|
|
||||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pip>0:devel/py-pip@${PY_FLAVOR}
|
LIB_DEPENDS= libcmocka.so:sysutils/cmocka \
|
||||||
|
libcurl.so:ftp/curl \
|
||||||
LIB_DEPENDS= libpopt.so:devel/popt \
|
libini_config.so:devel/ding-libs \
|
||||||
libjansson.so:devel/jansson \
|
libjansson.so:devel/jansson \
|
||||||
libnspr4.so:devel/nspr \
|
libnspr4.so:devel/nspr \
|
||||||
libnss3.so:security/nss \
|
libnss3.so:security/nss \
|
||||||
|
libpopt.so:devel/popt \
|
||||||
libpwquality.so:security/libpwquality \
|
libpwquality.so:security/libpwquality \
|
||||||
libcmocka.so:sysutils/cmocka \
|
|
||||||
libini_config.so:devel/ding-libs \
|
|
||||||
libcurl.so:ftp/curl \
|
|
||||||
libsasl2.so:security/cyrus-sasl2 \
|
libsasl2.so:security/cyrus-sasl2 \
|
||||||
libxmlrpc.so:net/xmlrpc-c
|
libxmlrpc.so:net/xmlrpc-c
|
||||||
|
|
||||||
CFLAGS+= -I${PREFIX}/include
|
USES= autoreconf gettext gmake gssapi:mit ldap libtool \
|
||||||
LDFLAGS+= -L${PREFIX}/lib
|
localbase:ldflags pkgconfig python
|
||||||
|
|
||||||
GNU_CONFIGURE= YES
|
GNU_CONFIGURE= yes
|
||||||
CONFIGURE_ARGS+= --prefix=${PREFIX} --disable-server \
|
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
|
||||||
--with-ipaplatform=freebsd \
|
CONFIGURE_ARGS= --disable-dependency-tracking \
|
||||||
--disable-dependency-tracking \
|
--disable-server \
|
||||||
--without-ipatests --without-server
|
--with-ipaplatform=freebsd \
|
||||||
|
--without-ipatests \
|
||||||
|
--without-server
|
||||||
|
|
||||||
|
# Don't bytecode python files
|
||||||
|
MAKE_ENV= PYTHONDONTWRITEBYTECODE=1
|
||||||
|
|
||||||
|
# Remove all systemd dependant things
|
||||||
|
EXTRACT_AFTER_ARGS= --exclude client/systemd --exclude daemons/dnssec \
|
||||||
|
--exclude daemons/ipa-otpd --exclude \
|
||||||
|
daemons/ipa-slapi-plugins --exclude init/systemd \
|
||||||
|
--exclude init/tmpfilesd
|
||||||
|
|
||||||
|
# Make sample configuration file
|
||||||
|
post-install:
|
||||||
|
@${MV} ${STAGEDIR}${PREFIX}/etc/ipa/epn.conf ${STAGEDIR}${PREFIX}/etc/ipa/epn.conf.sample
|
||||||
|
|
||||||
post-patch:
|
|
||||||
@${RM} -rf ${WRKSRC}/client/systemd
|
|
||||||
@${RM} -rf ${WRKSRC}/daemons/dnssec
|
|
||||||
@${RM} -rf ${WRKSRC}/daemons/ipa-otpd
|
|
||||||
@${RM} -rf ${WRKSRC}/daemons/ipa-slapi-plugins
|
|
||||||
@${RM} -rf ${WRKSRC}/init/systemd
|
|
||||||
@${RM} -rf ${WRKSRC}/init/tmpfilesd
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|||||||
Reference in New Issue
Block a user