hns - 日記自動生成システム - Version 2.19.9

先月 2004年05月 来月
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2004年05月25日(火) 旧暦 [n年日記]

#1 [pkgsrc] www/mozilla

もじらのない生活。emacs-w3m が有難い。

他の 1.6ZG の機械で試す (i386):

一応 update する前なので 1.5.1
/usr/pkg/bin/perl -I. ./bdate.pl build_number
../config/nsinstall -R -m 644 nsBuildID.h ../mozilla-config.h ../dist/include
/usr/pkg/bin/perl -I../config ../config/build-list.pl ../dist/include/.headerlist nsBuildID.h ../mozilla-config.h
全く同じ。../config/build-list.pl の中身も全く同じ。

元の問題のある方:

/usr/pkg/bin/perl -I. ./bdate.pl build_number
../config/nsinstall -R -m 644 nsBuildID.h ../mozilla-config.h ../dist/include
/usr/pkg/bin/perl -I../config ../config/build-list.pl ../dist/include/.headerlist nsBuildID.h ../mozilla-config.h
/export/pkgsrc/www/mozilla/work/dist/include/.headerlist.lck: No such file or directory

unsetenv:

env | awk -F= '{print "unsetenv", $1}' > /tmp/unsetenv
source /tmp/unsetenv
したら環境変数を全て消せたけれど、そうすると、
Makefile:18: *** missing separator. Stop.
になってしまう。 PATH が消えてしまったのはまずい ?

env を最少限にしても同じ:

PWD=/export/pkgsrc/www/mozilla
HOSTTYPE=NetBSD
OSTYPE=NetBSD
LANG=C
HOME=/home/makoto
PATH=/home/makoto/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/X11R6/bin
===> Building for mozilla-1.6nb1
/usr/pkg/bin/gmake -C config export
gmake[1]: Entering directory `/export/pkgsrc/www/mozilla/work/mozilla/config'
/usr/pkg/bin/perl -I. ./bdate.pl build_number
../config/nsinstall -R -m 644 nsBuildID.h ../mozilla-config.h ../dist/include
/usr/pkg/bin/perl -I../config ../config/build-list.pl ../dist/include/.headerlist nsBuildID.h ../mozilla-config.h
/export/pkgsrc/www/mozilla/work/dist/include/.headerlist.lck: No such file or directory
gmake[1]: *** [export] Error 2
gmake[1]: Leaving directory `/export/pkgsrc/www/mozilla/work/mozilla/config'
gmake: *** [default] Error 2
*** Error code 2
なので gcc-2.95.3 のせいかな ? mozilla/Makefile で
$(MAKE) -C config export
のようにして config に降りて Makefile を読んでいる。 config/Makefile では次のようにして perl を起動する。
$(PERL) -I$(MOZILLA_DIR)/config $(MOZILLA_DIR)/config/build-list.pl $(PUBLIC)/.headerlist $(HEADERS)
その中で、引数の ../dist/include/.headerlist を読むが、その時に、pwd は mozilla になっている のがおかしい。 うまく動く方だと、pwd は mozilla/config になっている。
        BAD       OK
$(PWD)  mozilla   mozilla
pwd     mozilla   mozilla/config
which pwd すると /home/makoto/bin/pwd。その中身は
echo $PWD
なんていうおそろしいものがあった。 これで解決。

#2 [Network] Rootkit を知らなかった

(のんき?) って書いてはいけないのかな ?

security/chkrootkit:

次のものが入る
bin/chkdirs
bin/chklastlog
bin/chkproc
bin/chkwtmp
bin/ifpromisc
bin/strings-static

chklastlog:

> chklastlog
unable to open lastlog-file /var/adm/lastlog
hard code ? NetBSD is missing:
#ifdef __FreeBSD__
#define WTMP_FILENAME "/var/log/wtmp"
#define LASTLOG_FILENAME "/var/log/lastlog"
#endif
#ifdef __OpenBSD__
#define WTMP_FILENAME "/var/log/wtmp"
#define LASTLOG_FILENAME "/var/log/lastlog"
#endif

chkwtmp:

ttypf:makoto@harry 18:51:06/040525(...security/chkrootkit)> sudo chkwtmp
Segmentation fault (core dumped)
(gdb) where
#0 0x418c8240 in memcpy () from /usr/lib/libc.so.12
#1 0x1800d7c in dladdr ()
#2 0x18009a0 in _init ()
#3 0x418126f8 in _rtld_start () from /usr/libexec/ld.elf_so
#4 0x7c0802a6 in ?? ()
(gdb)



最近の日記
2024年05月08日
comparison on ./buildsh tools
2024年05月06日
py-setuptools (python 3.11.9)
make release took 1 hours and 10 min
qemu invocation for 10.99.10
2024年05月05日
Windows 10 version
serial connection
bc bench
2024年05月04日
Trial on 10.99.10
another version (later trial) to succeed
2024年04月29日
dkim
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)