MFC - tracking commit
This commit is contained in:
commit
e8bbe1e805
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/projects/random_number_generator/; revision=256023
@ -2,13 +2,13 @@
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
FILES= BSD.include.dist \
|
||||
FILES= ${_BSD.debug.dist} \
|
||||
BSD.include.dist \
|
||||
BSD.root.dist \
|
||||
${_BSD.sendmail.dist} \
|
||||
BSD.usr.dist \
|
||||
BSD.var.dist
|
||||
|
||||
.endif
|
||||
.if ${MK_DEBUG_FILES} != "no"
|
||||
_BSD.debug.dist= BSD.debug.dist
|
||||
.endif
|
||||
|
@ -21,11 +21,11 @@ FILES= DAEMON \
|
||||
auditd \
|
||||
auditdistd \
|
||||
bgfsck \
|
||||
bluetooth \
|
||||
${_bluetooth} \
|
||||
bootparams \
|
||||
bridge \
|
||||
bsnmpd \
|
||||
bthidd \
|
||||
${_bthidd} \
|
||||
ccd \
|
||||
cleanvar \
|
||||
cleartmp \
|
||||
@ -48,7 +48,7 @@ FILES= DAEMON \
|
||||
gptboot \
|
||||
gssd \
|
||||
hastd \
|
||||
hcsecd \
|
||||
${_hcsecd} \
|
||||
hostapd \
|
||||
hostid \
|
||||
hostid_save \
|
||||
@ -182,6 +182,9 @@ _nscd= nscd
|
||||
.endif
|
||||
|
||||
.if ${MK_BLUETOOTH} != "no"
|
||||
_bluetooth= bluetooth
|
||||
_bthidd= bthidd
|
||||
_hcsecd= hcsecd
|
||||
_ubthidhci= ubthidhci
|
||||
.endif
|
||||
|
||||
|
@ -8,8 +8,8 @@ a root login. You can add a user to the wheel group by editing /etc/group.
|
||||
By pressing "Scroll Lock" you can use the arrow keys to scroll backward
|
||||
through the console output. Press "Scroll Lock" again to turn it off.
|
||||
%
|
||||
Can't remember if you've installed a certain port or not? Try "pkg_info
|
||||
-Ix port_name".
|
||||
Can't remember if you've installed a certain port or not? Try "pkg info
|
||||
-x port_name".
|
||||
%
|
||||
Ever wonder what those numbers after command names were, as in cat(1)? It's
|
||||
the section of the manual the man page is in. "man man" will tell you more.
|
||||
@ -96,12 +96,6 @@ If you want to play CDs with FreeBSD, a utility for this is already included.
|
||||
Type 'cdcontrol' then 'help' to learn more. (You may need to set the CDROM
|
||||
environment variable in order to make cdcontrol want to start.)
|
||||
%
|
||||
If you want to quickly check for duplicate package/port installations,
|
||||
try the following pkg_info command.
|
||||
|
||||
pkg_info | sort | sed -e 's/-[0-9].*$//' | \
|
||||
uniq -c | grep -v '^[[:space:]]*1'
|
||||
%
|
||||
If you'd like to keep track of applications in the FreeBSD ports tree, take a
|
||||
look at FreshPorts;
|
||||
|
||||
@ -356,11 +350,10 @@ adjust, just type 'mixer'.
|
||||
%
|
||||
You can automatically download and install binary packages by doing
|
||||
|
||||
pkg_add -r <URL>
|
||||
pkg install <package>
|
||||
|
||||
where you replace <URL> with the URL to the package. This will also
|
||||
automatically install the packages the package you download is dependent on
|
||||
(ie, the packages it needs in order to work.)
|
||||
This will also automatically install the packages that are dependencies
|
||||
for the package you install (ie, the packages it needs in order to work.)
|
||||
%
|
||||
You can change the video mode on all consoles by adding something like
|
||||
the following to /etc/rc.conf:
|
||||
@ -448,8 +441,7 @@ You can use /etc/make.conf to control the options used to compile software
|
||||
on this system. Example entries are in
|
||||
/usr/share/examples/etc/make.conf.
|
||||
%
|
||||
You can use "pkg_info" to see a list of packages you have installed.
|
||||
-- Konstantinos Konstantinidis <kkonstan@duth.gr>
|
||||
You can use "pkg info" to see a list of packages you have installed.
|
||||
%
|
||||
You can use the 'fetch' command to retrieve files over ftp or http.
|
||||
|
||||
|
@ -159,6 +159,10 @@ if [ -n "$git_cmd" ] ; then
|
||||
git=" ${git}"
|
||||
fi
|
||||
fi
|
||||
git_b=`$git_cmd rev-parse --abbrev-ref HEAD`
|
||||
if [ -n "$git_b" ] ; then
|
||||
git="${git}(${git_b})"
|
||||
fi
|
||||
if $git_cmd --work-tree=${SYSDIR}/.. diff-index \
|
||||
--name-only HEAD | read dummy; then
|
||||
git="${git}-dirty"
|
||||
|
@ -220,6 +220,7 @@ tap_destroy(struct tap_softc *tp)
|
||||
CURVNET_SET(ifp->if_vnet);
|
||||
destroy_dev(tp->tap_dev);
|
||||
seldrain(&tp->tap_rsel);
|
||||
knlist_clear(&tp->tap_rsel.si_note, 0);
|
||||
knlist_destroy(&tp->tap_rsel.si_note);
|
||||
ether_ifdetach(ifp);
|
||||
if_free(ifp);
|
||||
|
@ -258,6 +258,7 @@ tun_destroy(struct tun_softc *tp)
|
||||
if_free(TUN2IFP(tp));
|
||||
destroy_dev(dev);
|
||||
seldrain(&tp->tun_rsel);
|
||||
knlist_clear(&tp->tun_rsel.si_note, 0);
|
||||
knlist_destroy(&tp->tun_rsel.si_note);
|
||||
mtx_destroy(&tp->tun_mtx);
|
||||
cv_destroy(&tp->tun_cv);
|
||||
|
@ -54,6 +54,18 @@ struct mdproc {
|
||||
#endif
|
||||
|
||||
#ifdef _KERNEL
|
||||
|
||||
#include <machine/pcb.h>
|
||||
|
||||
/* Get the current kernel thread stack usage. */
|
||||
#define GET_STACK_USAGE(total, used) do { \
|
||||
struct thread *td = curthread; \
|
||||
(total) = td->td_kstack_pages * PAGE_SIZE - sizeof(struct pcb); \
|
||||
(used) = (char *)td->td_kstack + \
|
||||
td->td_kstack_pages * PAGE_SIZE - \
|
||||
(char *)&td; \
|
||||
} while (0)
|
||||
|
||||
struct syscall_args {
|
||||
u_int code;
|
||||
struct sysent *callp;
|
||||
|
@ -84,7 +84,7 @@
|
||||
#define CLOCK_LOCAL 1
|
||||
|
||||
/* Meinberg clocks */
|
||||
/* #undef CLOCK_MEINBERG */
|
||||
#define CLOCK_MEINBERG 1
|
||||
|
||||
/* Magnavox MX4200 GPS receiver */
|
||||
/* #undef CLOCK_MX4200 */
|
||||
|
@ -9,7 +9,7 @@ SRCS= clk_computime.c clk_dcf7000.c clk_hopf6021.c clk_meinberg.c \
|
||||
clk_rawdcf.c clk_rcc8000.c clk_schmid.c clk_trimtaip.c \
|
||||
clk_trimtsip.c clk_varitext.c clk_wharton.c data_mbg.c \
|
||||
info_trimble.c parse.c parse_conf.c trim_info.c \
|
||||
binio.c gpstolfp.c
|
||||
binio.c gpstolfp.c ieee754io.c mfp_mul.c
|
||||
|
||||
CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user