Bug 183693 - security/sssd: Fix broken build on FreeBSD 10.0-BETA2
Summary: security/sssd: Fix broken build on FreeBSD 10.0-BETA2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: William Grzybowski
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-05 19:00 UTC by lukas.slebodnik
Modified: 2013-11-06 11:30 UTC (History)
0 users

See Also:


Attachments
file.diff (881 bytes, patch)
2013-11-05 19:00 UTC, lukas.slebodnik
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description lukas.slebodnik 2013-11-05 19:00:00 UTC
Binary nsupdate(/usr/bin/nsupdate) is not available on FreeBSD 10, therefore binary from another package should be available in configure phase. This binary needn't be available on runtime, because sssd can skip dynamic dns update if nsupdate binary is not available.

Log files from failed build.
http://beefy1.isc.freebsd.org/bulk/10i386-default/2013-10-31_06h45m44s/logs/sssd-1.9.5.log
http://beefy2.isc.freebsd.org/bulk/10amd64-default/2013-10-31_09h08m16s/logs/sssd-1.9.5.log

Another fix in attached patch:
linker parameter "-L${LOCALBASE}/lib" was moved to proper place from CFLAGS to LDFLAGS

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-11-06 04:12:00 UTC
Responsible Changed
From-To: freebsd-ports-bugs->wg

wg@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-11-06 11:21:01 UTC
Author: wg
Date: Wed Nov  6 11:20:53 2013
New Revision: 332963
URL: http://svnweb.freebsd.org/changeset/ports/332963

Log:
  security/sssd: fix build on 10
  
  - Fix build on 10
  - Move library path to where it belongs
  
  PR:		ports/183693
  Submitted by:	Lukas Slebodnik <lukas.slebodnik intrak.sk> (maintainer)

Modified:
  head/security/sssd/Makefile

Modified: head/security/sssd/Makefile
==============================================================================
--- head/security/sssd/Makefile	Wed Nov  6 10:47:22 2013	(r332962)
+++ head/security/sssd/Makefile	Wed Nov  6 11:20:53 2013	(r332963)
@@ -31,7 +31,8 @@ LIB_DEPENDS=	libpopt.so:${PORTSDIR}/deve
 BUILD_DEPENDS=	xmlcatalog:${PORTSDIR}/textproc/libxml2 \
 		docbook-xsl>=1:${PORTSDIR}/textproc/docbook-xsl \
 		xmlcatmgr:${PORTSDIR}/textproc/xmlcatmgr \
-		krb5>=1.10:${PORTSDIR}/security/krb5
+		krb5>=1.10:${PORTSDIR}/security/krb5 \
+		nsupdate:${PORTSDIR}/dns/bind99
 
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-selinux=no --with-semanage=no \
@@ -43,8 +44,8 @@ CONFIGURE_ARGS=	--with-selinux=no --with
 		--with-db-path=/var/db/sss --with-pipe-path=/var/run/sss \
 		--with-pubconf-path=/var/run/sss --with-mcache-path=/var/db/sss_mc \
 		--with-unicode-lib=libunistring --with-autofs=no
-CFLAGS+=	-L${LOCALBASE}/lib -fstack-protector-all -Wno-format
-LDFLAGS+=	-linotify
+CFLAGS+=	 -fstack-protector-all -Wno-format
+LDFLAGS+=	-L${LOCALBASE}/lib -linotify
 PLIST_SUB=	PYTHON_VER=${PYTHON_VER}
 #DEBUG_FLAGS=  -g
 MAKE_ENV+=	LINGUAS="bg de eu es fr hu id it ja nb nl pl pt ru sv tg tr uk zh_CN zh_TW"
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 William Grzybowski freebsd_committer freebsd_triage 2013-11-06 11:21:15 UTC
State Changed
From-To: open->closed

Committed. Thanks!