Revision
4408 -
Directory Listing
-
[select for diffs]
Modified
Wed Dec 7 13:40:58 2011 UTC
(12 years, 5 months ago)
by
laffer1
Original Path:
trunk/usr.bin
Diff to
previous 4392
,
to
selected 1586
Introduce BSD licensed version of grep.
MK_BSD_GREP = yes turns it on as grep, otherwise gnu grep is installed as grep and bsdgrep is bsd licensed grep. In the inverse, gnu grep becomes gnugrep.
For "compatibility", bsdgrep can use the gnu regex library which is also faster, but then it's not purely bsd.
Revision
4232 -
Directory Listing
-
[select for diffs]
Modified
Tue Oct 18 14:33:04 2011 UTC
(12 years, 7 months ago)
by
laffer1
Original Path:
trunk/usr.bin
Diff to
previous 4215
,
to
selected 1586
Remove lndir from base. This was added to make it easier for mirports, but since MidnightBSD does not include the rest of X in base it doesn't help much anyway.
Let's assume that anyone using mirports would still need our own X packages.
Revision
4215 -
Directory Listing
-
[select for diffs]
Modified
Sat Oct 15 20:18:31 2011 UTC
(12 years, 7 months ago)
by
laffer1
Original Path:
trunk/usr.bin
Diff to
previous 4202
,
to
selected 1586
Introduce CPU Affinity in MidnightBSD.
The ULE scheduler is now default on i386 and amd64 architectures.
cpuset(1) allows the user to limit a process to a group of CPU cores to run on using new system calls.
32bit versions of the system calls were also added to support 32bit binaries running on amd64 boxes. libc's
symbol map was modified to include the cpuset* system calls to expose them to userland.
This is based on work by Jeff Roberson from FreeBSD 7.1.
Revision
4201 -
Directory Listing
-
[select for diffs]
Modified
Wed Oct 5 03:52:09 2011 UTC
(12 years, 7 months ago)
by
laffer1
Original Path:
trunk/usr.bin
Diff to
previous 4195
,
to
selected 1586
When script(1) reads EOF from input it starts spinning on zero-byte
reads eating 100% CPU. Fix this by skipping select on STDIN after
reading EOF -- permanently if STDIN is not terminal and for one second
if it is.
Also after reading EOF from STDIN we have to pass it to the program
being scripted. The previous approach was to write zero bytes into the
pseudo-terminal. This does not work because zero-byte write does not
have any effect on read. Fix this by sending VEOF instead.
Obtained from: freebsd
Revision
4004 -
Directory Listing
-
[select for diffs]
Modified
Sat Jul 9 20:17:25 2011 UTC
(12 years, 10 months ago)
by
laffer1
Original Path:
trunk/usr.bin
Diff to
previous 3992
,
to
selected 1586
Add cpufreq(1). cpufreq is a utility to monitor the current cpu frequency easily. powerd(8) and cpufreq(4) can change the frequency to conserve energy and it's useful to monitor this at times.
The sysctl interface is handy, but annoying for one off's like this.
Revision
3900 -
Directory Listing
-
[select for diffs]
Modified
Thu Mar 17 11:54:08 2011 UTC
(13 years, 2 months ago)
by
laffer1
Original Path:
trunk/usr.bin
Diff to
previous 3844
,
to
selected 1586
Uptime validity check is not necessary as we've inherited the switch to clock_getuptime circa 2005.
vmstat now works with greater than 10 years of uptime. Yeah that will never happen but hey we can dream :)
Revision
3199 -
Directory Listing
-
[select for diffs]
Modified
Sat Nov 28 22:44:36 2009 UTC
(14 years, 5 months ago)
by
laffer1
Original Path:
trunk/usr.bin
Diff to
previous 3195
,
to
selected 1586
Import OpenBSD's sysctl sensors framework. This is based on work by Constantine A. Murenin for the 2007 Google summer of code for FreeBSD.
Includes:
sample config file for sensord
rc scripts
documentation fixes and updates
sys/kern/kern_sensors.c
sys/sensors.h
This is compatible with OpenBSD 4.1 and 4.2 in terms of the userland bits.
Revision
3001 -
Directory Listing
-
[select for diffs]
Modified
Sat Jun 6 23:40:38 2009 UTC
(14 years, 11 months ago)
by
laffer1
Original Path:
trunk/usr.bin
Diff to
previous 2973
,
to
selected 1586
Remove pcc from base system. The idea was sound, but the implementation is just not there yet. This raises many questions about compiling the system with pcc direclty. This can't happen since it's on a C compiler and we've got several C++ libraries. This also hurts our Objective-C efforts. If we go with an alternate compiler, it must be something that supports at least Objective-C or C++. (ideally and)
I still want to try to make the system more pcc friendly, but the system is not ready for such an incomplete compiler.
Revision
2848 -
Directory Listing
-
[select for diffs]
Modified
Thu Apr 23 04:23:54 2009 UTC
(15 years ago)
by
ctriv
Original Path:
trunk/usr.bin
Diff to
previous 2847
,
to
selected 1586
Look for libraries in $DESTDIR/lib first. This unbreaks building perl for a
0.3 world on a 0.2 box. This isn't 100% correct yet, work needs to be done
on limiting where the perl configure looks for libs.
Revision
2830 -
Directory Listing
-
[select for diffs]
Modified
Thu Apr 16 01:27:14 2009 UTC
(15 years, 1 month ago)
by
laffer1
Original Path:
trunk/usr.bin
Diff to
previous 2813
,
to
selected 1586
Add the '-u name' option to the env command, which will completely
unset the given variable name (removing it from the environment, instead
of just setting it to a null value).
Obtained from: FreeBSD
Revision
2624 -
Directory Listing
-
[select for diffs]
Modified
Mon Mar 16 17:31:22 2009 UTC
(15 years, 2 months ago)
by
ctriv
Original Path:
trunk/usr.bin
Diff to
previous 2618
,
to
selected 1586
Now compress man pages properly.
Todo:
* decide on the compiletime options we want. Two big ones are 64 bit
support and threads
* fix building in '.'. Right now you have to make obj first.
* test building when perl isn't already installed. I think it'll
work...
Revision
2379 -
Directory Listing
-
[select for diffs]
Modified
Sat Dec 6 05:08:38 2008 UTC
(15 years, 5 months ago)
by
laffer1
Original Path:
trunk/usr.bin
Diff to
previous 2370
,
to
selected 1586
Replace the batt command with a new implementation written in C. This version uses the sysctlbyname interface to collect data and runs much more quickly. Still requires ACPI battery information.
Add l, t and u flags to show the battery life as a percentage, time remaining, and number of batteries (units). The default is l and t.
Revision
1866 -
Directory Listing
-
[select for diffs]
Modified
Mon Sep 29 20:36:53 2008 UTC
(15 years, 7 months ago)
by
laffer1
Original Path:
trunk/usr.bin
Diff to
previous 1796
,
to
selected 1586
Sync make with freebsd
$MidnightBSD$
<limits.h> is necessary for using INT_MIN, so included it here
explicitly rather than relying on name space pollution to pull it in
for us.
No need to tell make to DTRT with "make love", just do it.
Also remove the 2002/08/31 bootstrapping aid for upgrades from
year old (mid-2001) systems.
Fix splitting into words of the .for expression to allow for
spaces in values. Without this change, the following valid
call broke due to parsing of .MAKEFLAGS in bsd.symver.mk:
cd /usr/src/lib/libc && make -n DEBUG_FLAGS="-DFOO -DBAR"
If the special target .MAKEFILEDEPS exists, then enable the
"remaking makefiles" feature. Otherwise, follow traditional Pmake behavior.
Revision
1795 -
Directory Listing
-
[select for diffs]
Modified
Tue Sep 2 05:29:39 2008 UTC
(15 years, 8 months ago)
by
laffer1
Original Path:
trunk/usr.bin
Diff to
previous 1752
,
to
selected 1586
Add progress(1) from NetBSD.
progress(1) is a standalone progress bar similar to the one in lukemftp. It is suitable for measu
ring input to arbitrary pipes.
You can use this to create progress bars in scripts, etc.
Revision
1587 -
Directory Listing
-
[select for diffs]
Modified
Thu May 15 05:55:30 2008 UTC
(16 years ago)
by
laffer1
Original Path:
trunk/usr.bin
Diff to
previous 1586
Duh. Switch back to /usr/local as cpp will conflict with gcc.
We might need to hack this and/or make a wrapper for the system compiler if we want to connect this to the build.
This is a rare case where we're writing to /usr/local and it's not a port. (maybe the only time) i don't like this one bit.
Revision
1586 -
Directory Listing
-
[selected]
Modified
Thu May 15 05:43:56 2008 UTC
(16 years ago)
by
laffer1
Original Path:
trunk/usr.bin
Diff to
previous 1585
add i386 directory which contains files in arch/x86 (similar to openbsd setup).
Remove arch
Disable the man page for cpp since gcc installs one.
Revision
1585 -
Directory Listing
-
[select for diffs]
Modified
Thu May 15 05:38:35 2008 UTC
(16 years ago)
by
laffer1
Original Path:
trunk/usr.bin
Diff to
previous 1584
,
to
selected 1586
Add Makefile.inc to define the libexec path we're using.
Disable the man page for pcc for now. I've moved the install path to /usr/bin and /usr/libexec for the files and cc.1 obviously conflicts with gcc's manpage. (actually i need to check on cpp's manpage)
Revision
1584 -
Directory Listing
-
[select for diffs]
Modified
Thu May 15 04:53:33 2008 UTC
(16 years ago)
by
laffer1
Original Path:
trunk/usr.bin
Diff to
previous 1583
,
to
selected 1586
Since I'm having trouble sleeping, I might as well commit my progress on pcc.
This is now compiling on i386 on my laptop. It relies on two changes in bsd.sys.mk and sys.mk that I've not yet committed. (yacc and lex handling)
It's installed to /usr/local with a link to the manpage for pcc(1). (This will conflict with the port)
Revision
729 -
Directory Listing
-
[select for diffs]
Modified
Wed Feb 7 15:50:03 2007 UTC
(17 years, 3 months ago)
by
laffer1
Original Path:
trunk/usr.bin
Diff to
previous 728
,
to
selected 1586
TCP Auto sizing of socket buffers improves throughput on high latency links. Several new sysctls were added to control the buffers max size, etc.
Additional work is needed, but under initial testing this is working great. You must rebulid world in order for netstat to work correctly.
A few changes were made to netstat, but do not change functionality in any significant way.
Revision
603 -
Directory Listing
-
[select for diffs]
Modified
Sat Jan 13 13:51:19 2007 UTC
(17 years, 4 months ago)
by
laffer1
Original Path:
trunk/usr.bin
Diff to
previous 546
,
to
selected 1586
Handling of login.access(5) was moved from login(1) to pam_login_access(8) years ago. This will remove dead code, clean up manpages and install login.access.5 from the pam_login_access src dir.
Revision
435 -
Directory Listing
-
[select for diffs]
Modified
Sun Dec 31 07:08:37 2006 UTC
(17 years, 4 months ago)
by
laffer1
Original Path:
trunk/usr.bin
Diff to
previous 432
,
to
selected 1586
Add spell(1) from NetBSD. spell is a spell check program originating from Version 6 AT&T UNIX. It was opened up by Caldera and cleaned up by Todd Miller at OpenBSD, then additonal work was done by perry @ NetBSD.
I've decided to place the dictionary files in src/share/dict/* to keep usr.bin clean. The code is not very clean and could use improvement. I've left the NetBSD TODO for this purpose.
Revision
385 -
Directory Listing
-
[select for diffs]
Modified
Wed Dec 27 23:38:19 2006 UTC
(17 years, 4 months ago)
by
laffer1
Original Path:
trunk/usr.bin
Diff to
previous 384
,
to
selected 1586
Import getent(1), a program which retrieves and displays entries from the administrative database such as hosts, using the lookup order in nsswitch.conf(5).
Imported from FreeBSD, NetBSD.