<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.sbin/lpr/common_source/net.c, branch release/5.3.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>This commit was manufactured by cvs2svn to create tag</title>
<updated>2004-11-04T19:12:42+00:00</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>2004-11-04T19:12:42+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3f86d8a2ea3f3265afaa1fd263b0004c5c000e69'/>
<id>3f86d8a2ea3f3265afaa1fd263b0004c5c000e69</id>
<content type='text'>
'RELENG_5_3_0_RELEASE'.

This commit was manufactured to restore the state of the 5.3-RELEASE image.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
'RELENG_5_3_0_RELEASE'.

This commit was manufactured to restore the state of the 5.3-RELEASE image.
</pre>
</div>
</content>
</entry>
<entry>
<title>Take advantage of the common_source/lp.cdefs.h file to change lpr</title>
<updated>2003-07-14T05:15:21+00:00</updated>
<author>
<name>Garance A Drosehn</name>
<email>gad@FreeBSD.org</email>
</author>
<published>2003-07-14T05:15:21+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=1f589b473781e5dd070b60dd1e465b58d7102bf8'/>
<id>1f589b473781e5dd070b60dd1e465b58d7102bf8</id>
<content type='text'>
source to use __FBSDID() for setting rcsids.  Also fix the format
of 'sccsid' lines to consistently match style(9) guidelines.

Reviewed by:	discussed with bde and obrien
MFC after:	15 days
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
source to use __FBSDID() for setting rcsids.  Also fix the format
of 'sccsid' lines to consistently match style(9) guidelines.

Reviewed by:	discussed with bde and obrien
MFC after:	15 days
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename a few global variables which hold hostname-related values to be</title>
<updated>2001-06-15T22:03:07+00:00</updated>
<author>
<name>Garance A Drosehn</name>
<email>gad@FreeBSD.org</email>
</author>
<published>2001-06-15T22:03:07+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=cc3fd56f96f5726a445a8a6090bda47a94122df6'/>
<id>cc3fd56f96f5726a445a8a6090bda47a94122df6</id>
<content type='text'>
more sensible/understandable.  'from'-&gt;'from_host'  'host'-&gt;'local_host'
'fromb'-&gt;'frombuf'  'fromhost'-&gt;'origin_host'  and a local-variable
named 'host'-&gt;'hostbuf'.  This fixes some compile-time warnings about
local variables shadowing global variables.

Other than renaming variables, the only actual code changes are to call
strlcpy() instead of strncpy() when setting those (renamed) variables,
and that 'from_ip' is now a strdup()-created buffer instead of being a
static buffer compiled in as 1025 bytes.

Reviewed by:	freebsd-print@bostonradio.org (an earlier version)
MFC after:	1 week
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
more sensible/understandable.  'from'-&gt;'from_host'  'host'-&gt;'local_host'
'fromb'-&gt;'frombuf'  'fromhost'-&gt;'origin_host'  and a local-variable
named 'host'-&gt;'hostbuf'.  This fixes some compile-time warnings about
local variables shadowing global variables.

Other than renaming variables, the only actual code changes are to call
strlcpy() instead of strncpy() when setting those (renamed) variables,
and that 'from_ip' is now a strdup()-created buffer instead of being a
static buffer compiled in as 1025 bytes.

Reviewed by:	freebsd-print@bostonradio.org (an earlier version)
MFC after:	1 week
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix about 90-100 warnings one gets when trying to compile lpr&amp;friends</title>
<updated>2001-06-12T16:38:20+00:00</updated>
<author>
<name>Garance A Drosehn</name>
<email>gad@FreeBSD.org</email>
</author>
<published>2001-06-12T16:38:20+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=ba7a1ad76a812b38f8bddc730e03a14591d997b8'/>
<id>ba7a1ad76a812b38f8bddc730e03a14591d997b8</id>
<content type='text'>
with BDECFLAGS on, mainly by adding 'const' to parameters in a number
of routine declarations.  While I'm at it, ANSI-fy all of the routine
declarations.  The resulting object code is exactly the same after
this update as before it, with the exception of one unavoidable
change to lpd.o on freebsd/alpha.

Also added $FreeBSD$ line to lpc/extern.h lpc/lpc.h lptest/lptest.c

Reviewed by:	/sbin/md5, and no feedback from freebsd-audit
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
with BDECFLAGS on, mainly by adding 'const' to parameters in a number
of routine declarations.  While I'm at it, ANSI-fy all of the routine
declarations.  The resulting object code is exactly the same after
this update as before it, with the exception of one unavoidable
change to lpd.o on freebsd/alpha.

Also added $FreeBSD$ line to lpc/extern.h lpc/lpc.h lptest/lptest.c

Reviewed by:	/sbin/md5, and no feedback from freebsd-audit
</pre>
</div>
</content>
</entry>
<entry>
<title>IPv6 support for lpr.</title>
<updated>2000-12-16T18:06:09+00:00</updated>
<author>
<name>Hajimu UMEMOTO</name>
<email>ume@FreeBSD.org</email>
</author>
<published>2000-12-16T18:06:09+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=08829865f65962c55a090362f815327a5c25a8ec'/>
<id>08829865f65962c55a090362f815327a5c25a8ec</id>
<content type='text'>
Reviewed by:	freebsd-current (no objection)
Obtained from:	KAME
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed by:	freebsd-current (no objection)
Obtained from:	KAME
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement new printcap options of sr= (aka stat.recv) and sr= (aka stat.send)</title>
<updated>2000-11-02T19:22:06+00:00</updated>
<author>
<name>Garance A Drosehn</name>
<email>gad@FreeBSD.org</email>
</author>
<published>2000-11-02T19:22:06+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6522ebec8792b3dda943a9fe94daa851dd6e5719'/>
<id>6522ebec8792b3dda943a9fe94daa851dd6e5719</id>
<content type='text'>
in lpd.  Stat.recv is useful on a printserver, as something of a network
performance-monitoring tool.  Stat.send is a minimal accounting record of
sorts for jobs going to tcp/ip based printers.

Reviewed by:	freebsd-print@bostonradio.org
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
in lpd.  Stat.recv is useful on a printserver, as something of a network
performance-monitoring tool.  Stat.send is a minimal accounting record of
sorts for jobs going to tcp/ip based printers.

Reviewed by:	freebsd-print@bostonradio.org
</pre>
</div>
</content>
</entry>
<entry>
<title>$Id$ -&gt; $FreeBSD$</title>
<updated>1999-08-28T01:35:59+00:00</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>1999-08-28T01:35:59+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=97d92980a96a50750844f420cc225ddf918f0699'/>
<id>97d92980a96a50750844f420cc225ddf918f0699</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>lpd tries to be clever and checks if RM == my_hostname.</title>
<updated>1999-04-27T07:09:18+00:00</updated>
<author>
<name>Jordan K. Hubbard</name>
<email>jkh@FreeBSD.org</email>
</author>
<published>1999-04-27T07:09:18+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d5483ddfbae9694934b27c4e7f23a4f0d3e0f5f4'/>
<id>d5483ddfbae9694934b27c4e7f23a4f0d3e0f5f4</id>
<content type='text'>
However, it doesn't check if the remote printer name it
is sending it to is the same as the local printer name,
and so chokes 'cos "laser" is not a real printer.

PR:		7081
Submitted by:	David Malone &lt;dwmalone@maths.tcd.ie&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
However, it doesn't check if the remote printer name it
is sending it to is the same as the local printer name,
and so chokes 'cos "laser" is not a real printer.

PR:		7081
Submitted by:	David Malone &lt;dwmalone@maths.tcd.ie&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Mega lpd/lpd upgrade, part I:</title>
<updated>1997-12-02T20:46:22+00:00</updated>
<author>
<name>Garrett Wollman</name>
<email>wollman@FreeBSD.org</email>
</author>
<published>1997-12-02T20:46:22+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4a1a0dbedbb3fa74041adb9862f4608cd990a3c5'/>
<id>4a1a0dbedbb3fa74041adb9862f4608cd990a3c5</id>
<content type='text'>
- Get rid of a lot of the static variables which were shared by
  many routines and programs in the suite.
- Create an abstract interface to the printcap database, so that
  other retrieval and iteration mechanisms could be developed
  (e.g., YP, Hesiod, or automatic retrieval from a trusted server).
- Give each capability a human-readable name in addition to the historic
  two-character one.
- Otherwise generally clean up a lot of dark corners.  Many still remain.
- When submitting jobs, use the official login name record (from getlogin())
  if there is one, rather than reverse-mapping the uid.

More to come...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Get rid of a lot of the static variables which were shared by
  many routines and programs in the suite.
- Create an abstract interface to the printcap database, so that
  other retrieval and iteration mechanisms could be developed
  (e.g., YP, Hesiod, or automatic retrieval from a trusted server).
- Give each capability a human-readable name in addition to the historic
  two-character one.
- Otherwise generally clean up a lot of dark corners.  Many still remain.
- When submitting jobs, use the official login name record (from getlogin())
  if there is one, rather than reverse-mapping the uid.

More to come...
</pre>
</div>
</content>
</entry>
</feed>
