From ceec9eee284475019e366e45249928fed5a2ff37 Mon Sep 17 00:00:00 2001 From: stanley lieber Date: Tue, 3 Jan 2012 10:21:58 -0600 Subject: more fortunes, more trolls --- lib/troll | 2 ++ sys/games/lib/fortunes | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/troll b/lib/troll index 5b811fcd6..378b12191 100644 --- a/lib/troll +++ b/lib/troll @@ -57,3 +57,5 @@ That's a reason why one of my favorite languages is php. It just works. Petition to have Obama address occupy wallstreet movement When Remington first started marketing typewriters, the company assumed the machine would not be used for composing but for transcribing dictation, and that the person typing would be a woman. Flowers were printed on the casing of early models to make the machine seem more comfortable for women to use. Bigelow & Holmes, Inc. created the screen fonts in the luc, lucm, lucsans, and pelm directories and granted permission to redistribute them with plan9port. +I tested DNS Bench from grc.com against Plan 9 running in VirtualBox and fossil died. +venti can store data, but not delete it, fossil can delete data, but not store it, they complement each other perfectly! diff --git a/sys/games/lib/fortunes b/sys/games/lib/fortunes index 861f0bb63..64633b34e 100644 --- a/sys/games/lib/fortunes +++ b/sys/games/lib/fortunes @@ -4651,4 +4651,7 @@ I can no longer sit back and allow NIX infiltration, NIX indoctrination, NIX sub kfx bases a system of government on forced sodomy (#cat-v) what good is a cure for AIDS if we can't get epistemology right? please, grow up! -- Skip Travakkolian -(#cat-v) Not funny. +(#cat-v) why the fuck do germans insist on communicating in their dumb little code + we need objectivism oriented programming! + ports are the economic engine for the elite occupy port 80! +CTC is a Java application that is installed in two locations. -- cgit v1.2.3 From 930635e22d722a1ddaab20272cc485e5c47f27d9 Mon Sep 17 00:00:00 2001 From: stanley lieber Date: Tue, 3 Jan 2012 20:14:27 -0600 Subject: pkg(1): put source files in /sys/src/pkg/ --- sys/man/1/pkg | 7 ++++++- sys/src/cmd/pkg/create | 16 ++++++++-------- sys/src/cmd/pkg/remove | 1 + 3 files changed, 15 insertions(+), 9 deletions(-) diff --git a/sys/man/1/pkg b/sys/man/1/pkg index 8ffed75f2..0becf667e 100644 --- a/sys/man/1/pkg +++ b/sys/man/1/pkg @@ -43,7 +43,12 @@ repository. The source directory should be provided as a full path. .I Pkg/install Install the package .I name -from the current repository. +from the current repository, unpacking the executables in +.B /$cputype/bin/ +or +.B /rc/bin/ +and the source in +.B /sys/src/pkg/. .TP .I Pkg/list List packages available from the current repository. diff --git a/sys/src/cmd/pkg/create b/sys/src/cmd/pkg/create index b251c1b21..525d3b7fe 100755 --- a/sys/src/cmd/pkg/create +++ b/sys/src/cmd/pkg/create @@ -5,14 +5,14 @@ d=$1 echo Creating $i C=`{pwd} @{ -rfork en -mkdir -p /tmp/$i/files/sys/src/cmd/$i -dircp $d /tmp/$i/files/sys/src/cmd/$i -cd $d -mk -divergefs -p /tmp/$i / -mk install clean -unmount / + rfork en + mkdir -p /tmp/$i/files/sys/src/pkg/$i + dircp $d /tmp/$i/files/sys/src/pkg/$i + cd $d + mk + divergefs -p /tmp/$i / + mk install clean + unmount / } cd /tmp/$i/files rm -r env diff --git a/sys/src/cmd/pkg/remove b/sys/src/cmd/pkg/remove index 349d18410..641d041aa 100755 --- a/sys/src/cmd/pkg/remove +++ b/sys/src/cmd/pkg/remove @@ -14,5 +14,6 @@ if(test -s /sys/lib/pkg/$1) { echo M $fs($i) NOT DELETING } } + rm -rf /sys/src/pkg/$1 rm /sys/lib/pkg/$1 } -- cgit v1.2.3 From f28657f0290416604db46568727702d45c0b339b Mon Sep 17 00:00:00 2001 From: stanley lieber Date: Tue, 3 Jan 2012 20:19:06 -0600 Subject: pkg(1): update man page --- sys/man/1/pkg | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sys/man/1/pkg b/sys/man/1/pkg index 0becf667e..86b9ae6eb 100644 --- a/sys/man/1/pkg +++ b/sys/man/1/pkg @@ -78,10 +78,13 @@ programming language: % pkg/install go-2011.05.10 .EE .SH FILES -.TF /sys/lib/pkg/* +.TF .TP .B /sys/lib/pkg/* hash files of packages installed locally. +.TP +.B /sys/src/pkg/* +source files of packages installed locally. .SH SOURCE .B /sys/src/cmd/pkg/create .br -- cgit v1.2.3 From ad5ef458f8ced644217671007f51f4d799928829 Mon Sep 17 00:00:00 2001 From: stanley lieber Date: Thu, 5 Jan 2012 11:02:24 -0600 Subject: pkg: change default pkgpath, list known repositories in the man page --- sys/man/1/pkg | 4 ++++ sys/src/cmd/pkg/install | 2 +- sys/src/cmd/pkg/list | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/sys/man/1/pkg b/sys/man/1/pkg index 86b9ae6eb..d57409e46 100644 --- a/sys/man/1/pkg +++ b/sys/man/1/pkg @@ -97,5 +97,9 @@ source files of packages installed locally. .B /sys/src/cmd/pkg/remove .br .B /sys/src/cmd/pkg/unpkg.c +.SH REPOSITORIES +.B http://pkg.violetti.org/386 +.br +.B http://plan9.stanleylieber.com/pkg/386 .SH SEE ALSO .IR contrib (1) diff --git a/sys/src/cmd/pkg/install b/sys/src/cmd/pkg/install index c7b03a805..f97d17313 100755 --- a/sys/src/cmd/pkg/install +++ b/sys/src/cmd/pkg/install @@ -1,7 +1,7 @@ #!/bin/rc if(~ $#pkgpath 0) - pkgpath=http://pkg.violetti.org/$cputype + pkgpath=http://plan9.stanleylieber.com/pkg/$cputype cd / mkdir -p /sys/lib/pkg diff --git a/sys/src/cmd/pkg/list b/sys/src/cmd/pkg/list index cdc8059f5..8b6e8ea80 100755 --- a/sys/src/cmd/pkg/list +++ b/sys/src/cmd/pkg/list @@ -1,7 +1,7 @@ #!/bin/rc if(~ $#pkgpath 0) - pkgpath=http://pkg.violetti.org/$cputype + pkgpath=http://plan9.stanleylieber.com/pkg/$cputype if(~ $pkgpath ftp* http*) hget $pkgpath | htmlfmt | grep '\.tbz' | sed -e 's/\.tbz$//' -- cgit v1.2.3