Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Nov 2017 15:47:18 +0000 (UTC)
From:      Mariusz Zaborski <oshogbo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r325398 - in head: . lib/libcasper/libcasper lib/libcasper/services/cap_dns lib/libcasper/services/cap_grp lib/libcasper/services/cap_pwd lib/libcasper/services/cap_random lib/libcasper...
Message-ID:  <201711041547.vA4FlIj5026482@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: oshogbo
Date: Sat Nov  4 15:47:18 2017
New Revision: 325398
URL: https://svnweb.freebsd.org/changeset/base/325398

Log:
  Casper work's only as shared library - disable building static ones.
  
  Reviewed by:	bdrewery@
  Differential Revision:	https://reviews.freebsd.org/D12917

Modified:
  head/ObsoleteFiles.inc
  head/lib/libcasper/libcasper/Makefile
  head/lib/libcasper/services/cap_dns/Makefile
  head/lib/libcasper/services/cap_grp/Makefile
  head/lib/libcasper/services/cap_pwd/Makefile
  head/lib/libcasper/services/cap_random/Makefile
  head/lib/libcasper/services/cap_sysctl/Makefile

Modified: head/ObsoleteFiles.inc
==============================================================================
--- head/ObsoleteFiles.inc	Sat Nov  4 15:41:08 2017	(r325397)
+++ head/ObsoleteFiles.inc	Sat Nov  4 15:47:18 2017	(r325398)
@@ -38,6 +38,19 @@
 #   xargs -n1 | sort | uniq -d;
 # done
 
+# 20171104: Casper can work only as shared library
+OLD_FILES+=usr/lib/libcasper.a
+OLD_FILES+=usr/lib/libcasper_p.a
+OLD_FILES+=usr/lib/libcap_dns.a
+OLD_FILES+=usr/lib/libcap_dns_p.a
+OLD_FILES+=usr/lib/libcap_grp.a
+OLD_FILES+=usr/lib/libcap_grp_p.a
+OLD_FILES+=usr/lib/libcap_pwd.a
+OLD_FILES+=usr/lib/libcap_pwd_p.a
+OLD_FILES+=usr/lib/libcap_random.a
+OLD_FILES+=usr/lib/libcap_random_p.a
+OLD_FILES+=usr/lib/libcap_sysctl.a
+OLD_FILES+=usr/lib/libcap_sysctl_p.a
 # 20171031: Removal of obsolete man files
 OLD_FILES+=usr/share/man/man7/adding_user.7.gz
 # 20171031: Disconnected libpathconv tests

Modified: head/lib/libcasper/libcasper/Makefile
==============================================================================
--- head/lib/libcasper/libcasper/Makefile	Sat Nov  4 15:41:08 2017	(r325397)
+++ head/lib/libcasper/libcasper/Makefile	Sat Nov  4 15:47:18 2017	(r325398)
@@ -8,7 +8,7 @@ SHLIB_MAJOR=	0
 SHLIBDIR?=	/lib
 
 .if ${MK_CASPER} != "no"
-LIB=	casper
+SHLIB=	casper
 
 SRCS=	libcasper.c
 SRCS+=	libcasper_impl.c

Modified: head/lib/libcasper/services/cap_dns/Makefile
==============================================================================
--- head/lib/libcasper/services/cap_dns/Makefile	Sat Nov  4 15:41:08 2017	(r325397)
+++ head/lib/libcasper/services/cap_dns/Makefile	Sat Nov  4 15:47:18 2017	(r325398)
@@ -10,7 +10,7 @@ SHLIB_MAJOR=	0
 INCSDIR?=	${INCLUDEDIR}/casper
 
 .if ${MK_CASPER} != "no"
-LIB=	cap_dns
+SHLIB=	cap_dns
 
 SRCS=	cap_dns.c
 .endif

Modified: head/lib/libcasper/services/cap_grp/Makefile
==============================================================================
--- head/lib/libcasper/services/cap_grp/Makefile	Sat Nov  4 15:41:08 2017	(r325397)
+++ head/lib/libcasper/services/cap_grp/Makefile	Sat Nov  4 15:47:18 2017	(r325398)
@@ -10,7 +10,7 @@ SHLIB_MAJOR=	0
 INCSDIR?=	${INCLUDEDIR}/casper
 
 .if ${MK_CASPER} != "no"
-LIB=	cap_grp
+SHLIB=	cap_grp
 
 SRCS=	cap_grp.c
 .endif

Modified: head/lib/libcasper/services/cap_pwd/Makefile
==============================================================================
--- head/lib/libcasper/services/cap_pwd/Makefile	Sat Nov  4 15:41:08 2017	(r325397)
+++ head/lib/libcasper/services/cap_pwd/Makefile	Sat Nov  4 15:47:18 2017	(r325398)
@@ -10,7 +10,7 @@ SHLIB_MAJOR=	0
 INCSDIR?=	${INCLUDEDIR}/casper
 
 .if ${MK_CASPER} != "no"
-LIB=	cap_pwd
+SHLIB=	cap_pwd
 
 SRCS=	cap_pwd.c
 .endif

Modified: head/lib/libcasper/services/cap_random/Makefile
==============================================================================
--- head/lib/libcasper/services/cap_random/Makefile	Sat Nov  4 15:41:08 2017	(r325397)
+++ head/lib/libcasper/services/cap_random/Makefile	Sat Nov  4 15:47:18 2017	(r325398)
@@ -9,7 +9,7 @@ SHLIBDIR?=	/lib/casper
 INCSDIR?=	${INCLUDEDIR}/casper
 
 .if ${MK_CASPER} != "no"
-LIB=	cap_random
+SHLIB=	cap_random
 
 SRCS=	cap_random.c
 .endif

Modified: head/lib/libcasper/services/cap_sysctl/Makefile
==============================================================================
--- head/lib/libcasper/services/cap_sysctl/Makefile	Sat Nov  4 15:41:08 2017	(r325397)
+++ head/lib/libcasper/services/cap_sysctl/Makefile	Sat Nov  4 15:47:18 2017	(r325398)
@@ -10,7 +10,7 @@ SHLIB_MAJOR=	0
 INCSDIR?=	${INCLUDEDIR}/casper
 
 .if ${MK_CASPER} != "no"
-LIB=	cap_sysctl
+SHLIB=	cap_sysctl
 
 SRCS=	cap_sysctl.c
 .endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711041547.vA4FlIj5026482>