<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/kerberos5/libexec/ipropd-slave/Makefile, branch master</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=master</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2014-11-25T09:57:42Z</updated>
<entry>
<title>Convert kerberos to LIBADD and reduce overlinking of the kerberos binaries and</title>
<updated>2014-11-25T09:57:42Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2014-11-25T09:57:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=d65af1e7b1ff4806881f2c46d684d004b70e5cc9'/>
<id>urn:sha1:d65af1e7b1ff4806881f2c46d684d004b70e5cc9</id>
<content type='text'>
libraries
</content>
</entry>
<entry>
<title>Revert r267233 for now. PIE support needs to be reworked.</title>
<updated>2014-08-19T15:04:32Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2014-08-19T15:04:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=5608fd23c27fa1e8ee595d7b678cbfd35d657fbe'/>
<id>urn:sha1:5608fd23c27fa1e8ee595d7b678cbfd35d657fbe</id>
<content type='text'>
1. 50+% of NO_PIE use is fixed by adding -fPIC to INTERNALLIB and other
   build-only utility libraries.
2. Another 40% is fixed by generating _pic.a variants of various libraries.
3. Some of the NO_PIE use is a bit absurd as it is disabling PIE (and ASLR)
   where it never would work anyhow, such as csu or loader. This suggests
   there may be better ways of adding support to the tree. Many of these
   cases can be fixed such that -fPIE will work but there is really no
   reason to have it in those cases.
4. Some of the uses are working around hacks done to some Makefiles that are
   really building libraries but have been using bsd.prog.mk because the code
   is cleaner. Had they been using bsd.lib.mk then NO_PIE would not have
   been needed.

We likely do want to enable PIE by default (opt-out) for non-tree consumers
(such as ports). For in-tree though we probably want to only enable PIE
(opt-in) for common attack targets such as remote service daemons and setuid
utilities. This is also a great performance compromise since ASLR is expected
to reduce performance. As such it does not make sense to enable it in all
utilities such as ls(1) that have little benefit to having it enabled.

Reported by:	kib
</content>
</entry>
<entry>
<title>In preparation for ASLR [1] support add WITH_PIE to support building with -fPIE.</title>
<updated>2014-06-08T17:29:31Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2014-06-08T17:29:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=864c53ead899f7838cd2e1cca3b485a4a82f5cdc'/>
<id>urn:sha1:864c53ead899f7838cd2e1cca3b485a4a82f5cdc</id>
<content type='text'>
This is currently an opt-in build flag. Once ASLR support is ready and stable
it should changed to opt-out and be enabled by default along with ASLR.

Each application Makefile uses opt-out to ensure that ASLR will be enabled by
default in new directories when the system is compiled with PIE/ASLR. [2]

Mark known build failures as NO_PIE for now.

The only known runtime failure was rtld.

[1] http://www.bsdcan.org/2014/schedule/events/452.en.html
Submitted by:		Shawn Webb &lt;lattera@gmail.com&gt;
Discussed between:	des@ and Shawn Webb [2]
</content>
</entry>
<entry>
<title>NO_MAN= has been deprecated in favor of MAN= for some time, go ahead</title>
<updated>2014-04-13T05:21:56Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2014-04-13T05:21:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=3bdf775801b218aa5a89564839405b122f4b233e'/>
<id>urn:sha1:3bdf775801b218aa5a89564839405b122f4b233e</id>
<content type='text'>
and finish the job. ncurses is now the only Makefile in the tree that
uses it since it wasn't a simple mechanical change, and will be
addressed in a future commit.
</content>
</entry>
<entry>
<title>Fix conflicts after heimdal-1.1 import and add build infrastructure. Import</title>
<updated>2008-05-07T13:53:12Z</updated>
<author>
<name>Doug Rabson</name>
<email>dfr@FreeBSD.org</email>
</author>
<published>2008-05-07T13:53:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=33f12199250a09b573f7a518b523fdac3f120b8f'/>
<id>urn:sha1:33f12199250a09b573f7a518b523fdac3f120b8f</id>
<content type='text'>
all non-style changes made by heimdal to our own libgssapi.
</content>
</entry>
<entry>
<title>Start the dreaded NOFOO -&gt; NO_FOO conversion.</title>
<updated>2004-12-21T08:47:35Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2004-12-21T08:47:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=e653b48c80fb85b2a10372d664a4b55dbdc51dae'/>
<id>urn:sha1:e653b48c80fb85b2a10372d664a4b55dbdc51dae</id>
<content type='text'>
OK'ed by:	core
</content>
</entry>
<entry>
<title>style.Makefile(5).</title>
<updated>2004-02-05T18:51:52Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2004-02-05T18:51:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=86751859b5ab9bb0632fc2b8e514891814592e01'/>
<id>urn:sha1:86751859b5ab9bb0632fc2b8e514891814592e01</id>
<content type='text'>
OK'ed by:	nectar
</content>
</entry>
<entry>
<title>Put libraries in the link order.</title>
<updated>2004-02-04T10:23:09Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2004-02-04T10:23:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=751378136dc0cf57c1f8afd98cab167cd6cdaafc'/>
<id>urn:sha1:751378136dc0cf57c1f8afd98cab167cd6cdaafc</id>
<content type='text'>
Reported by:	lorder(1) (modified to work with libraries)
</content>
</entry>
<entry>
<title>Overhaul of kerberos5/ makefiles.  Most significant changes are:</title>
<updated>2004-01-31T08:15:57Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2004-01-31T08:15:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=11bf3600e871d5cf6246515a7fb384511ca31a57'/>
<id>urn:sha1:11bf3600e871d5cf6246515a7fb384511ca31a57</id>
<content type='text'>
- Dropped support for standalone builds, this was only partially
  supported anyway, and required so much magic in makefiles that
  made life dangerous (e.g., by using the custom yacc rules).

- Got rid of .OBJDIR in makefiles -- makes building of individual
  files possible again.

- Made the .x.c transformations -j safe.

- Reprogrammed LDADD to fix static build of some utilities that
  was broken.

- Fixed LDFLAGS and DPADD in the WITH_OPENLDAP case -- positively
  affects the contents of .depend files.

- Removed redundant .h's from SRCS, only kept those that are
  generated.

- libkrb5/ INCS were bogusly installed again with libgssapi/.

- Made build-tools real tools with their own makefiles in
  separate directories.  This allows us to properly track
  their dependencies, etc.

- Faster build, 21% less of makefile code!

Approved by:	nectar
Reviewed by:	markm
Silence on:	arch
</content>
</entry>
<entry>
<title>Big fixup of the makefiles. Sort out the dependancies so that "make"</title>
<updated>2003-07-18T13:21:58Z</updated>
<author>
<name>Mark Murray</name>
<email>markm@FreeBSD.org</email>
</author>
<published>2003-07-18T13:21:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=069b88eb3a967e133c0535fe60e0c3fb6973e11a'/>
<id>urn:sha1:069b88eb3a967e133c0535fe60e0c3fb6973e11a</id>
<content type='text'>
without "make depend" works, "make -j N" works, and lists of source
files are made vertical to reduce future diffs.
</content>
</entry>
</feed>
