/[base]/head/usr.bin/telnet/Makefile
ViewVC logotype

Log of /head/usr.bin/telnet/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (annotate)
Sticky Revision:

Revision 275042 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 25 14:29:10 2014 UTC (20 months, 2 weeks ago) by bapt
File length: 849 byte(s)
Diff to previous 270168
Convert to usr.bin/ to LIBADD
Reduce overlinking


Revision 270168 - (view) (download) (annotate) - [select for diffs]
Modified Tue Aug 19 15:04:32 2014 UTC (23 months, 3 weeks ago) by bdrewery
File length: 1157 byte(s)
Diff to previous 268804
Revert r267233 for now. PIE support needs to be reworked.

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


Revision 268804 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jul 17 18:24:34 2014 UTC (2 years ago) by brooks
File length: 1170 byte(s)
Diff to previous 267233
Replace all uses of libncurses and libtermcap with their wide character
variants.  This allows usable file system images (i.e. those with both a
shell and an editor) to be created with only one copy of the curses library.

Exp-run:	antoine
PR:		189842
Discussed with:	bapt
Sponsored by:	DARPA, AFRL


Revision 267233 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 8 17:29:31 2014 UTC (2 years, 2 months ago) by bdrewery
File length: 1168 byte(s)
Diff to previous 267147
In preparation for ASLR [1] support add WITH_PIE to support building with -fPIE.

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 <lattera@gmail.com>
Discussed between:	des@ and Shawn Webb [2]


Revision 267147 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jun 6 04:09:07 2014 UTC (2 years, 2 months ago) by imp
File length: 1155 byte(s)
Diff to previous 265420
When building picobsd, define WITHOUT_OPENSSL and WITHOUT_KERBEROS and
remove the now-redundant checks for RELEASE_CRUNCH. This originally
was defined for building smaller sysinstall images, but was later also
used by picobsd builds for a similar purpose. Now that we've moved
away from sysinstall, picobsd is the only remaining consumer of this
interface. Adding these two options reduces the RELEASE_CRUNCH
special cases in the tree by half.


Revision 265420 - (view) (download) (annotate) - [select for diffs]
Modified Tue May 6 04:22:01 2014 UTC (2 years, 3 months ago) by imp
File length: 1191 byte(s)
Diff to previous 201386
Use src.opts.mk in preference to bsd.own.mk except where we need stuff
from the latter.


Revision 201386 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jan 2 10:27:05 2010 UTC (6 years, 7 months ago) by ed
File length: 1190 byte(s)
Diff to previous 178828
Build usr.bin/ with WARNS=6 by default.

Also add some missing $FreeBSD$ to keep svn happy.


Revision 178828 - (view) (download) (annotate) - [select for diffs]
Modified Wed May 7 13:53:12 2008 UTC (8 years, 3 months ago) by dfr
File length: 1178 byte(s)
Diff to previous 171246
Fix conflicts after heimdal-1.1 import and add build infrastructure. Import
all non-style changes made by heimdal to our own libgssapi.


Revision 171246 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jul 5 08:56:46 2007 UTC (9 years, 1 month ago) by bz
File length: 1158 byte(s)
Diff to previous 171135
Remove the -DFAST_IPSEC from Makefiles again.

This was needed during the IPSEC->FAST_IPSEC->IPSEC transition
period to not break the build after picking up netipsec header
files. Now that the FAST_IPSEC kernel option is gone and the
default is IPSEC again those defines are superfluous.

Approved by:	re (rwatson)


Revision 171135 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jul 1 12:08:08 2007 UTC (9 years, 1 month ago) by gnn
File length: 1184 byte(s)
Diff to previous 160854
Commit IPv6 support for FAST_IPSEC to the tree.
This commit includes all remaining changes for the time being including
user space updates.

Submitted by:    bz
Approved by:    re


Revision 160854 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 31 13:29:36 2006 UTC (10 years ago) by yar
File length: 1158 byte(s)
Diff to previous 160749
Stop enforcing dependencies between MK_* options at Makefile level.
All the dependencies are satisfied now in <bsd.own.mk>.


Revision 160749 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jul 27 14:19:30 2006 UTC (10 years ago) by yar
File length: 1157 byte(s)
Diff to previous 156813
Respect MK_INET6_SUPPORT.
Move INET6 out of the RELEASE_CRUNCH conditional block
because it saves as little as 2% of the binary size and
IPv6 is rather popular today.  (Some other binaries, e.g.,
telnetd, include INET6 for RELEASE_CRUNCH already.)


Revision 156813 - (view) (download) (annotate) - [select for diffs]
Modified Fri Mar 17 18:54:44 2006 UTC (10 years, 4 months ago) by ru
File length: 1108 byte(s)
Diff to previous 147225
Reimplementation of world/kernel build options.  For details, see:

http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html

The src.conf(5) manpage is to follow in a few days.

Brought to you by:	imp, jhb, kris, phk, ru (all bugs are mine)


Revision 147225 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jun 10 06:12:53 2005 UTC (11 years, 2 months ago) by des
File length: 1097 byte(s)
Diff to previous 139113
Remove kludges intended to support src trees with partial obj trees.

Discussed with:	ru


Revision 139113 - (view) (download) (annotate) - [select for diffs]
Modified Tue Dec 21 10:16:04 2004 UTC (11 years, 7 months ago) by ru
File length: 1207 byte(s)
Diff to previous 133196
NOCRYPT -> NO_CRYPT


Revision 133196 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 6 07:27:08 2004 UTC (12 years ago) by cperciva
File length: 1206 byte(s)
Diff to previous 117973
Join the 21st century: Cryptography is no longer an optional component
of releases.  The -DNOCRYPT build option still exists for anyone who
really wants to build non-cryptographic binaries, but the "crypto"
release distribution is now part of "base", and anyone installing from a
release will get cryptographic binaries.

Approved by:	re (scottl), markm
Discussed on:	freebsd-current, in late April 2004


Revision 117973 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jul 24 17:19:15 2003 UTC (13 years ago) by markm
File length: 1227 byte(s)
Diff to previous 117953
Make sure that a "make release" (more accurately the bit that makes
the crunched binary) get a non-cryptographic telnet. This is overkill
in that it covers stuff that is not normally used in a crunched binary.


Revision 117953 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jul 24 07:19:55 2003 UTC (13 years ago) by markm
File length: 1191 byte(s)
Diff to previous 117813
Ensure that for the cryptographic instances of *telnet*, the "crypto"
distribution is used. This only affects release-building.


Revision 117813 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jul 20 23:29:46 2003 UTC (13 years ago) by markm
File length: 1170 byte(s)
Diff to previous 117675
Test correct macro for "without crypto" option(s).


Revision 117675 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 16 20:59:15 2003 UTC (13 years ago) by markm
File length: 1148 byte(s)
Diff to previous 87714
Very big makeover in the way telnet, telnetd and libtelnet are built.

Previously, there were two copies of telnet; a non-crypto version
that lived in the usual places, and a crypto version that lived in
crypto/telnet/. The latter was built in a broken manner somewhat akin
to other "contribified" sources. This meant that there were 4 telnets
competing with each other at build time - KerberosIV, Kerberos5,
plain-old-secure and base. KerberosIV is no longer in the running, but
the other three took it in turns to jump all over each other during a
"make buildworld".

As the crypto issue has been clarified, and crypto _calls_ are not
a problem, crypto/telnet has been repo-copied to contrib/telnet,
and with this commit, all telnets are now "contribified". The contrib
path was chosen to not destroy history in the repository, and differs
from other contrib/ entries in that it may be worked on as "normal"
BSD code. There is no dangerous crypto in these sources, only a
very weak system less strong than enigma(1).

Kerberos5 telnet and Secure telnet are now selected by using the usual
macros in /etc/make.conf, and the build process is unsurprising and
less treacherous.


Revision 87714 - (view) (download) (annotate) - [select for diffs]
Modified Wed Dec 12 00:06:52 2001 UTC (14 years, 8 months ago) by markm
File length: 936 byte(s)
Diff to previous 87147
Remove WARNS?=2 and -Wall. WARNS?=2 is going to be the default.


Revision 87147 - (view) (download) (annotate) - [select for diffs]
Modified Fri Nov 30 21:34:51 2001 UTC (14 years, 8 months ago) by markm
File length: 948 byte(s)
Diff to previous 81964
Diff-reduce WRT src/secure/*telnet*/Makefile.

Also, add an "unifdef:" target, so that the telnet sources can
be remade from the crypto sources in src/crypto/telnet.


Revision 81964 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 20 12:21:31 2001 UTC (14 years, 11 months ago) by markm
File length: 718 byte(s)
Diff to previous 75042
Code merge and diff reduction between this and crypto telnet.

Also remove useless AUTHENTICATION code. We have never compiled this
here, and it is doubtful that it even works without crypto.


Revision 75042 - (view) (download) (annotate) - [select for diffs]
Modified Sat Mar 31 17:04:49 2001 UTC (15 years, 4 months ago) by ru
File length: 2876 byte(s)
Diff to previous 74928
libtelnet.a is gone; add a special hack for `make release' fixit floppy.


Revision 74928 - (view) (download) (annotate) - [select for diffs]
Modified Wed Mar 28 12:08:22 2001 UTC (15 years, 4 months ago) by ru
File length: 2726 byte(s)
Diff to previous 72634
Bye-bye /usr/lib/libtelnet.a.  This should fix ``make release'' brokeness.

Approved by:	markm


Revision 72634 - (view) (download) (annotate) - [select for diffs]
Modified Sun Feb 18 07:28:31 2001 UTC (15 years, 5 months ago) by luigi
File length: 2557 byte(s)
Diff to previous 58679
Do not compile INET6 support if RELEASE_CRUNCH is defined
(used by install floppy/picobsd)


Revision 58679 - (view) (download) (annotate) - [select for diffs]
Modified Mon Mar 27 16:37:32 2000 UTC (16 years, 4 months ago) by bde
File length: 2557 byte(s)
Diff to previous 57450
Fixed misspelling of DPADD as DPADDA.

Fixed some misformattings.


Revision 57450 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 24 21:06:22 2000 UTC (16 years, 5 months ago) by markm
File length: 2558 byte(s)
Diff to previous 56812
Use libcrypto in place of libdes.


Revision 56812 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jan 29 13:45:44 2000 UTC (16 years, 6 months ago) by shin
File length: 2626 byte(s)
Diff to previous 56668
fix breakage of make release.

Confirmed by: German Tischler <tanis@gaspode.franken.de>


Revision 56668 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 27 09:28:38 2000 UTC (16 years, 6 months ago) by shin
File length: 2564 byte(s)
Diff to previous 50646
another tcp apps IPv6 updates.(should be make world safe)
  ftp, telnet, ftpd, faithd
  also telnet related sync with crypto, secure, kerberosIV

Obtained from: KAME project


Revision 50646 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 30 10:03:27 1999 UTC (16 years, 11 months ago) by peter
File length: 2508 byte(s)
Diff to previous 21466
Nearly missed this one. Turn off -DTERMCAP otherwise it defines a bunch
of conflicting symbols with ncurses.


Revision 21466 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jan 10 00:27:50 1997 UTC (19 years, 7 months ago) by ache
File length: 2518 byte(s)
Diff to previous 21405
Use -DSKEY instead of wrong -DPATH_SKEY


Revision 21405 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jan 7 19:47:58 1997 UTC (19 years, 7 months ago) by pst
File length: 2523 byte(s)
Diff to previous 18050
Import a few relatively minor fixes from current Borman telnet.
Add some buffer overrun fixes from OpenBSD and myself.
Add skey calculator kludge from OpenBSD.

TODO: do a real merge of dab's sources... probably just make telnet and
	telnetd contrib software.

Obtained from: OpenBSD, dab@bsdi.com


Revision 18050 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 5 17:16:10 1996 UTC (19 years, 11 months ago) by bde
File length: 2503 byte(s)
Diff to previous 15996
Fixed DPADD.


Revision 15996 - (view) (download) (annotate) - [select for diffs]
Modified Thu May 30 03:09:18 1996 UTC (20 years, 2 months ago) by pst
File length: 2461 byte(s)
Diff to previous 15358
Remove obsolete SOCKSv4 support


Revision 15358 - (view) (download) (annotate) - [select for diffs]
Modified Tue Apr 23 05:18:43 1996 UTC (20 years, 3 months ago) by pst
File length: 2653 byte(s)
Diff to previous 10396
Add support for socks


Revision 10396 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 28 17:52:39 1995 UTC (20 years, 11 months ago) by jkh
File length: 2461 byte(s)
Diff to previous 10394
Oh foo.  I should a) learn to read.  b) learn to think. :-)
Telnet has nothing to do with this, it's telnetd and telnetd
doesn't use KLUDGELINEMODE so that theory is washed up.  Anyway,
back out previous commit and slink away with red face.


Revision 10394 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 28 17:47:39 1995 UTC (20 years, 11 months ago) by jkh
File length: 2444 byte(s)
Diff to previous 2315
Remove -DKLUDGELINEMODE again; it's breaking things and Paul T. says
it's a bug anyway.


Revision 2315 - (view) (download) (annotate) - [select for diffs]
Modified Sat Aug 27 15:46:29 1994 UTC (21 years, 11 months ago) by csgr
File length: 2461 byte(s)
Diff to previous 1871
Fix big f*ckup by doing "make nocrypt"
(Don't think I don't realize what a big f*ckup this was.)
Submitted by:	geoff.


Revision 1871 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 5 20:47:28 1994 UTC (22 years ago) by wollman
File length: 2837 byte(s)
Diff to previous 1591
Don't do Kerberos yet, we aren't ready for it.


Revision 1591 - (view) (download) (annotate) - [select for diffs]
Modified Fri May 27 12:33:43 1994 UTC (22 years, 2 months ago) by rgrimes
File length: 2834 byte(s)
Copied from: vendor/CSRG/dist/usr.bin/telnet/Makefile revision 1590
Diff to previous 1590
This commit was generated by cvs2svn to compensate for changes in r1590,
which included commits to RCS files with non-trunk default branches.


Revision 1590 - (view) (download) (annotate) - [select for diffs]
Added Fri May 27 12:33:43 1994 UTC (22 years, 2 months ago) by rgrimes
Original Path: vendor/CSRG/dist/usr.bin/telnet/Makefile
File length: 2834 byte(s)
BSD 4.4 Lite Usr.bin Sources


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.24