Development

共 367 篇文章。

Max帅哥真是一个勤奋的家伙

• Development

一个人主导一个相当规模的*BSD项目,而且是那种关系到国计民生的——make(1)!估计再过一段时间他就能彻底统一*BSD上的make(1)了(也称为「pmake」。)

阅读全文… ( 本文约 327 字,阅读大致需要 1 分钟 )

窝窝头翻身——现一大眼

• Development

So I finally got a big pointyhat…

This is the point:

if (!_ioctl(fd, FIODGNAME, &fgn))

So this means SUCCEEDED and the return value should be used. However, my recent commit has reverted the logic so that will fail. Seems sshd(1) don’t like this…

Fixed now.

参与评论

magic to build package on different FreeBSD versions

• Development

Sometimes you may need to build some packages for older/newer versions of FreeBSD. That is simple if you use jail and other mechanisms.

In order to be successful, you need a “Full jail” say ordinary jail, installed with binary that is built from the target version of FreeBSD. For instance, build a 6.0 userland by sync’ing code to -HEAD.

Secondly, you need to replace two files in the jail: uname(1) and sysctl(1). What you have to do is to use sed to replace both FreeBSD version and __FreeBSDVersion (say, kern.osreldate), according to porters’ handbook.

阅读全文… ( 本文约 201 字,阅读大致需要 1 分钟 )