Fix
This commit is contained in:
@ -1,47 +1,53 @@
|
||||
PORTNAME= freeipa-client
|
||||
DISTVERSION= 4.12.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= https://releases.pagure.org/freeipa/
|
||||
DISTNAME= freeipa-${DISTVERSION}
|
||||
#WRKSRC= ${DISTNAME}
|
||||
|
||||
MAINTAINER= xavier.beaudouin@klarasystems.com
|
||||
MAINTAINER= kiwi@oav.net
|
||||
COMMENT= FreeIPA Client tools
|
||||
WWW= https://www.freeipa.org/
|
||||
|
||||
LICENSE= GPLv3
|
||||
LICENSE= GPLv3+
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
USES= autoreconf libtool gmake gettext python pkgconfig gssapi:mit \
|
||||
ldap
|
||||
BUILD_DEPENDS= ${PY_SETUPTOOLS} \
|
||||
${PYTHON_PKGNAMEPREFIX}pip>0:devel/py-pip@${PY_FLAVOR}
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pip>0:devel/py-pip@${PY_FLAVOR}
|
||||
|
||||
LIB_DEPENDS= libpopt.so:devel/popt \
|
||||
LIB_DEPENDS= libcmocka.so:sysutils/cmocka \
|
||||
libcurl.so:ftp/curl \
|
||||
libini_config.so:devel/ding-libs \
|
||||
libjansson.so:devel/jansson \
|
||||
libnspr4.so:devel/nspr \
|
||||
libnss3.so:security/nss \
|
||||
libpopt.so:devel/popt \
|
||||
libpwquality.so:security/libpwquality \
|
||||
libcmocka.so:sysutils/cmocka \
|
||||
libini_config.so:devel/ding-libs \
|
||||
libcurl.so:ftp/curl \
|
||||
libsasl2.so:security/cyrus-sasl2 \
|
||||
libxmlrpc.so:net/xmlrpc-c
|
||||
|
||||
CFLAGS+= -I${PREFIX}/include
|
||||
LDFLAGS+= -L${PREFIX}/lib
|
||||
USES= autoreconf gettext gmake gssapi:mit ldap libtool \
|
||||
localbase:ldflags pkgconfig python
|
||||
|
||||
GNU_CONFIGURE= YES
|
||||
CONFIGURE_ARGS+= --prefix=${PREFIX} --disable-server \
|
||||
--with-ipaplatform=freebsd \
|
||||
--disable-dependency-tracking \
|
||||
--without-ipatests --without-server
|
||||
GNU_CONFIGURE= yes
|
||||
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
|
||||
CONFIGURE_ARGS= --disable-dependency-tracking \
|
||||
--disable-server \
|
||||
--with-ipaplatform=freebsd \
|
||||
--without-ipatests \
|
||||
--without-server
|
||||
|
||||
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
|
||||
# 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
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
Reference in New Issue
Block a user