From owner-freebsd-doc@FreeBSD.ORG Sat Oct 15 23:50:47 2005 Return-Path: X-Original-To: freebsd-doc@hub.freebsd.org Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E5E016A41F for ; Sat, 15 Oct 2005 23:50:47 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E1E243D75 for ; Sat, 15 Oct 2005 23:50:21 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j9FNoJbg009363 for ; Sat, 15 Oct 2005 23:50:19 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9FNoJTs009362; Sat, 15 Oct 2005 23:50:19 GMT (envelope-from gnats) Resent-Date: Sat, 15 Oct 2005 23:50:19 GMT Resent-Message-Id: <200510152350.j9FNoJTs009362@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Edwin Groothuis Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9DA1B16A41F for ; Sat, 15 Oct 2005 23:45:43 +0000 (GMT) (envelope-from edwin@mavetju.org) Received: from mail3out.barnet.com.au (mail3out.barnet.com.au [202.83.176.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id E1F7343D46 for ; Sat, 15 Oct 2005 23:45:41 +0000 (GMT) (envelope-from edwin@mavetju.org) Received: by mail3out.barnet.com.au (Postfix, from userid 27) id 21C59877CAD; Sun, 16 Oct 2005 09:45:41 +1000 (EST) Received: from mail3-auth.barnet.com.au (mail3.barnet.com.au [202.83.176.16]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.barnet.com.au", Issuer "BarNet Root Certificate Authority" (verified OK)) by mail3.barnet.com.au (Postfix) with ESMTP id E863B877C30 for ; Sun, 16 Oct 2005 09:45:40 +1000 (EST) Received: from k7.mavetju (edwin-3.int.barnet.com.au [10.10.12.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "edwin.adsl.barnet.com.au", Issuer "BarNet Root Certificate Authority" (not verified)) by mail3-auth.barnet.com.au (Postfix) with ESMTP id A6980877C1E for ; Sun, 16 Oct 2005 09:45:37 +1000 (EST) Received: by k7.mavetju (Postfix, from userid 1001) id 3D6F6611E; Sun, 16 Oct 2005 09:45:36 +1000 (EST) Message-Id: <20051015234536.3D6F6611E@k7.mavetju> Date: Sun, 16 Oct 2005 09:45:36 +1000 (EST) From: Edwin Groothuis To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: docs/87500: [patch] redo www/en/ports/index.html layout X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Edwin Groothuis List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Oct 2005 23:50:47 -0000 >Number: 87500 >Category: docs >Synopsis: [patch] redo www/en/ports/index.html layout >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Oct 15 23:50:19 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Edwin Groothuis >Release: FreeBSD 5.2.1-RELEASE i386 >Organization: - >Environment: System: FreeBSD k7.mavetju 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #8: Wed Dec 15 16:58:01 EST 2004 edwin@k7.mavetju:/usr/src-5.2.1/sys/i386/compile/k7 i386 >Description: - Add port groups as suggested by linimon@ http://people.freebsd.org/~linimon/www/en/ports/index.html#logical_groups - Cleanup portindex to be "use strict" and "-w" safe - New output: http://edwin.adsl.barnet.com.au/~edwin/freebsd-en/ports/index.html >How-To-Repeat: >Fix: Index: Makefile =================================================================== RCS file: /home/dcvs/www/en/ports/Makefile,v retrieving revision 1.39 diff -u -r1.39 Makefile --- Makefile 13 Nov 2004 12:23:18 -0000 1.39 +++ Makefile 15 Oct 2005 23:40:42 -0000 @@ -77,7 +77,7 @@ beforeinstall: .else beforeinstall: - ${PERL} -pi -e 's/href=\"growth/href=\"http:\/\/www.FreeBSD.org\/ports\/growth/' index.html + ${SED} -i "" -e 's,HREF="growth,href="http://www.FreeBSD.org/ports/growth,' index.html .endif .include "${WEB_PREFIX}/share/mk/web.site.mk" Index: categories =================================================================== RCS file: /home/dcvs/www/en/ports/categories,v retrieving revision 1.27 diff -u -r1.27 categories --- categories 19 Dec 2004 02:39:16 -0000 1.27 +++ categories 15 Oct 2005 23:40:42 -0000 @@ -1,92 +1,95 @@ -# Originally from src/release/sysinstall/index.c,v 1.57 1998/10/15 -# $FreeBSD: www/en/ports/categories,v 1.27 2004/12/19 02:39:16 linimon Exp $ +#Originally from src/release/sysinstall/index.c,v 1.57 1998/10/15 +#$FreeBSD: www/en/ports/categories,v 1.27 2004/12/19 02:39:16 linimon Exp $ - "accessibility", "Ports to help disabled users.", - "afterstep", "Ports to support the AfterStep window manager.", - "arabic", "Ported software for the Arabic market.", - "archivers", "Utilities for archiving and unarchiving data.", - "astro", "Applications related to astronomy.", - "audio", "Audio utilities - most require a supported sound card.", - "benchmarks", "Utilities for measuring system performance.", - "biology", "Software related to biology.", - "cad", "Computer Aided Design utilities.", - "chinese", "Ported software for the Chinese market.", - "comms", "Communications utilities.", - "converters", "Format conversion utilities.", - "databases", "Database software.", - "deskutils", "Various Desktop utilities.", - "devel", "Software development utilities and libraries.", - "dns", "DNS client and server utilities.", - "editors", "Common text editors.", - "elisp", "Things related to Emacs Lisp.", - "emulators", "Utilities for emulating other OS types.", - "finance", "Monetary, financial and related applications.", - "french", "Ported software for French countries.", - "ftp", "FTP client and server utilities.", - "games", "Various and sundry amusements.", - "german", "Ported software for Germanic countries.", - "gnome", "Components of the Gnome Desktop environment.", - "graphics", "Graphics libraries and utilities.", - "haskell", "Software related to the Haskell language.", - "hebrew", "Ported software for Hebrew language.", - "hungarian", "Ported software for the Hungarian market.", - "ipv6", "IPv6 related software.", - "irc", "Internet Relay Chat utilities.", - "japanese", "Ported software for the Japanese market.", - "java", "Java language support.", - "kde", "Software for the K Desktop Environment.", - "korean", "Ported software for the Korean market.", - "lang", "Computer languages.", - "linux", "Linux programs that can be run under binary compatibility.", - "lisp", "Things related to pure lisp.", - "mail", "Electronic mail packages and utilities.", - "math", "Mathematical computation software.", - "mbone", "Applications and utilities for the MBONE.", - "misc", "Miscellaneous utilities.", - "multimedia", "Multimedia software.", - "net", "Networking utilities.", - "net-mgmt", "Network management utilities.", - "news", "USENET News support software.", - "offix", "An office automation suite of sorts.", - "palm", "Software support for the Palm(tm) series.", - "parallel", "Applications dealing with parallelism in computing.", - "pear", "Utilities/modules that fall into the PEAR system.", - "perl5", "Utilities/modules for the PERL5 language.", - "plan9", "Software from the Plan9 operating system.", - "polish", "Ported software for the Polish market.", - "portuguese", "Ported software for the Portuguese market.", - "print", "Utilities for dealing with printing.", - "python", "Software related to the Python language.", - "ruby", "Software related to the Ruby language.", - "russian", "Ported software for the Russian market.", - "scheme", "Software related to the Scheme language.", - "science", "Scientific software.", - "security", "System security software.", - "shells", "Various shells (tcsh, bash, etc).", - "sysutils", "Various system utilities.", - "tcl80", "TCL v8.0 and packages which depend on it.", - "tcl81", "TCL v8.1 and packages which depend on it.", - "tcl82", "TCL v8.2 and packages which depend on it.", - "tcl83", "TCL v8.3 and packages which depend on it.", - "tcl84", "TCL v8.4 and packages which depend on it.", - "textproc", "Text processing/search utilities.", - "tk42", "Tk4.2 and packages which depend on it.", - "tk80", "Tk8.0 and packages which depend on it.", - "tk82", "Tk8.2 and packages which depend on it.", - "tk83", "Tk8.3 and packages which depend on it.", - "tk84", "Tk8.4 and packages which depend on it.", - "tkstep80", "tkstep wm and packages which depend on it.", - "ukrainian", "Ported software for the Ukrainian market.", - "vietnamese", "Ported software for the Vietnamese market.", - "windowmaker", "Ports to support the WindowMaker window manager.", - "www", "WEB utilities (browsers, HTTP servers, etc).", - "x11", "X Window System based utilities.", - "x11-clocks", "X Window System based clocks.", - "x11-fm", "X Window System based file managers.", - "x11-fonts", "X Window System fonts and font utilities.", - "x11-servers", "X Window System servers.", - "x11-themes", "X Window System themes.", - "x11-toolkits", "X Window System based development toolkits.", - "x11-wm", "X Window System window managers.", - "xfce", "Ports to support the Xfce desktop environment.", - "zope", "Software related to the Zope platform.", +# See categories.descriptions for the meaning of the abbrevations at the +# end of each category. + +accessibility,"Ports to help disabled users.",EU +afterstep,"Ports to support the AfterStep window manager.",VC +arabic,"Ported software for the Arabic market.",HL +archivers,"Utilities for archiving and unarchiving data.",SAAD +astro,"Applications related to astronomy.",SAE +audio,"Audio utilities - most require a supported sound card.",EU +benchmarks,"Utilities for measuring system performance.",AOP +biology,"Software related to biology.",SAE +cad,"Computer Aided Design utilities.",SAE +chinese,"Ported software for the Chinese market.",HL +comms,"Communications utilities.",CCATI +converters,"Format conversion utilities.",AOP +databases,"Database software.",SAAD +deskutils,"Various Desktop utilities.",EU +devel,"Software development utilities and libraries.",SAAD +dns,"DNS client and server utilities.",CCATI +editors,"Common text editors.",EU +elisp,"Things related to Emacs Lisp.",VC +emulators,"Utilities for emulating other OS types.",SAAD +finance,"Monetary, financial and related applications.",EU +french,"Ported software for French countries.",HL +ftp,"FTP client and server utilities.",CCATI +games,"Various and sundry amusements.",EU +german,"Ported software for Germanic countries.",HL +gnome,"Components of the Gnome Desktop environment.",VC +graphics,"Graphics libraries and utilities.",EU +haskell,"Software related to the Haskell language.",VC +hebrew,"Ported software for Hebrew language.",HL +hungarian,"Ported software for the Hungarian market.",HL +ipv6,"IPv6 related software.",VC +irc,"Internet Relay Chat utilities.",CCATI +japanese,"Ported software for the Japanese market.",HL +java,"Java language support.",SAAD +kde,"Software for the K Desktop Environment.",VC +korean,"Ported software for the Korean market.",HL +lang,"Computer languages.",SAAD +linux,"Linux programs that can be run under binary compatibility.",VC +lisp,"Things related to pure lisp.",VC +mail,"Electronic mail packages and utilities.",CCATI +math,"Mathematical computation software.",SAE +mbone,"Applications and utilities for the MBONE.",CCATI +misc,"Miscellaneous utilities.",AOP +multimedia,"Multimedia software.",EU +net,"Networking utilities.",CCATI +net-mgmt,"Network management utilities.",CCATI +news,"USENET News support software.",CCATI +offix,"An office automation suite of sorts.",VC +palm,"Software support for the Palm(tm) series.",AOP +parallel,"Applications dealing with parallelism in computing.",VC +pear,"Utilities/modules that fall into the PEAR system.",VC +perl5,"Utilities/modules for the PERL5 language.",VC +plan9,"Software from the Plan9 operating system.",VC +polish,"Ported software for the Polish market.",HL +portuguese,"Ported software for the Portuguese market.",HL +print,"Utilities for dealing with printing.",EU +python,"Software related to the Python language.",VC +ruby,"Software related to the Ruby language.",VC +russian,"Ported software for the Russian market.",HL +scheme,"Software related to the Scheme language.",VC +science,"Scientific software.",SAE +security,"System security software.",SAAD +shells,"Various shells (tcsh, bash, etc).",EU +sysutils,"Various system utilities.",SAAD +tcl80,"TCL v8.0 and packages which depend on it.",VC +tcl81,"TCL v8.1 and packages which depend on it.",VC +tcl82,"TCL v8.2 and packages which depend on it.",VC +tcl83,"TCL v8.3 and packages which depend on it.",VC +tcl84,"TCL v8.4 and packages which depend on it.",VC +textproc,"Text processing/search utilities.",EU +tk42,"Tk4.2 and packages which depend on it.",VC +tk80,"Tk8.0 and packages which depend on it.",VC +tk82,"Tk8.2 and packages which depend on it.",VC +tk83,"Tk8.3 and packages which depend on it.",VC +tk84,"Tk8.4 and packages which depend on it.",VC +tkstep80,"tkstep wm and packages which depend on it.",VC +ukrainian,"Ported software for the Ukrainian market.",HL +vietnamese,"Ported software for the Vietnamese market.",HL +windowmaker,"Ports to support the WindowMaker window manager.",VC +www,"WEB utilities (browsers, HTTP servers, etc).",CCATI +x11,"X Window System based utilities.",XWS +x11-clocks,"X Window System based clocks.",XWS +x11-fm,"X Window System based file managers.",XWS +x11-fonts,"X Window System fonts and font utilities.",XWS +x11-servers,"X Window System servers.",XWS +x11-themes,"X Window System themes.",XWS +x11-toolkits,"X Window System based development toolkits.",XWS +x11-wm,"X Window System window managers.",XWS +xfce,"Ports to support the Xfce desktop environment.",VC +zope,"Software related to the Zope platform.",VC Index: categories.descriptions =================================================================== RCS file: categories.descriptions diff -N categories.descriptions --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ categories.descriptions 15 Oct 2005 23:40:42 -0000 @@ -0,0 +1,12 @@ +# $FreeBSD$ +# +# Abbrevations which are used in the categories file. + +EU,Ports primarily for end-users +SAAD,Ports primarily for system administrators and developers +CCATI,Ports relating to computer communications and the Internet +XWS,Ports relating to the X Window System +SAE,Ports relating to science and engineering +HL,Ports relating to human languages +VC,Ports in virtual categories (secondary groupings to above) +AOP,All other ports Index: portindex =================================================================== RCS file: /home/dcvs/www/en/ports/portindex,v retrieving revision 1.52 diff -u -r1.52 portindex --- portindex 4 Oct 2005 19:43:49 -0000 1.52 +++ portindex 15 Oct 2005 23:40:42 -0000 @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/perl -w # convert a ports INDEX file to HTML # @@ -8,77 +8,100 @@ ############################################################ +use strict; +use POSIX; +use IO::File; + +my $base = ""; +my $baseHTTP = ""; +my $urlcgi = ""; +my $packagesURL = ""; +my $today = getdate(); +my %p = (); + # Load local config file. You can override in portindex.conf # the variables for the default web and the ftp server. This # make it easy to maintain a local web mirror and let the # URL point to yourself and not to the standard FreeBSD FTP server. -$config = $0 . '.' . 'conf'; + +my $config = $0 . '.' . 'conf'; do $config if -f $config; # This is the base of where we ftp stuff from +my $ftpserver; if ($ENV{'MASTER_FTP_SERVER'}) { $ftpserver = $ENV{'MASTER_FTP_SERVER'}; } else { $ftpserver = 'ftp://ftp.FreeBSD.org' if !$ftpserver; } -$base = "" if !$base; $baseHTTP = $base if !$baseHTTP; -$baseFTP = "$ftpserver/pub/FreeBSD/ports/ports"; -$baseCVSWEB = 'http://www.FreeBSD.org/cgi/cvsweb.cgi/'; +my $baseFTP = "$ftpserver/pub/FreeBSD/ports/ports"; +my $baseCVSWEB = 'http://www.FreeBSD.org/cgi/cvsweb.cgi/'; $urlcgi = 'http://www.FreeBSD.org/cgi/url.cgi' if !$urlcgi; $packagesURL = "$ftpserver/pub/FreeBSD/ports/i386/packages-stable/All/" if !$packagesURL; # support tar on the fly or gzip'ed tar on the fly -$ftparchive = ''; +my $ftparchive = ''; $ftparchive = 'tar' if !defined $ftparchive; # ports download sources script -$pds = 'http://www.FreeBSD.org/cgi/pds.cgi'; +my $pds = 'http://www.FreeBSD.org/cgi/pds.cgi'; # better layout and link to the sources if ($urlcgi) { $baseHTTP = $urlcgi . '?' . $baseHTTP; } -$today = &getdate; - -&packages_exist('packages.exists', *packages); -&category_description(($ARGV[1] || '.') . '/categories', *category_description); -&main; +my %packages = (); +my %category_description = (); +my @category_groups = (); +my %category_groups = (); +packages_exist('packages.exists'); +category_description(($ARGV[1] || '.') . '/categories' ); +category_groups(($ARGV[1] || '.') . '/categories.descriptions' ); +main(); sub getdate { - @months = ("January", "February", "March", "April", "May","June", - "July", "August", "September", "October", "November", "December"); - ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time); - $year += 1900; - return "Last modified: $mday-$months[$mon]-$year"; + return POSIX::strftime("Last modified: %d-%B-%Y",localtime); } sub header { - local ($fh, $htext) = @_; - print $fh "\n"; - print $fh "$today\">\n"; - print $fh "\n"; - print $fh "\n"; - print $fh " %navincludes;\n"; - print $fh "\n"; - print $fh "\n"; - print $fh "%includes;\n"; - print $fh "]>\n"; - print $fh "&header;\n"; + my $fh = shift; + my $htext = shift; + #local($fh, $htext) = @_; + print $fh < +$today"> + + + %navincludes; + + +%includes; +]> +&header; +EOF } sub footer { - local ($fh, $ftext) = @_; - print $fh "\n$ftext\n"; - print $fh "&footer;\n"; - print $fh "\n\n"; + my $fh = shift; + my $ftext = shift; + #local ($fh, $ftext) = @_; +print $fh < + +EOF } sub packages_exist { - local($file, *p) = @_; + my $file=shift; + my %p; + #local($file, *p) = @_; open(P, $file) || do { warn "open $file: $!\n"; @@ -88,14 +111,13 @@ while(

) { chop; - $p{$_} = 1; + $packages{$_} = 1; } close P; - return 0; } sub category_description { - local($file, *p) = @_; + my $file = shift; open(P, $file) || do { warn "open $file: $!\n"; @@ -103,21 +125,47 @@ return 1; }; - local($category, $description); while(

) { # ignore comments next if /^\s*#/; + if (/^\s*([^,]+),\s*"([^"]+)",([A-Z]+)/) { + $category_description{$1}{desc}=$2; + $category_description{$1}{group}=$3; + } + } + close P; +} + +sub category_groups { + my $file = shift; - ($category, $description) = /^\s*"([^"]+)",\s*"([^"]+)/; - $p{$category} = $description; + open(P, $file) || do { + warn "open $file: $!\n"; + warn "Cannot find category groups\n"; + return 1; + }; + + while(

) { + # ignore comments + next if /^\s*#/; + $category_groups{$1}=$2 if (/^\s*([^,]+),\s*(.+)/); + push(@category_groups,$1); } close P; - return 0; } sub main { - - $sep = ":"; + my @master=(); + my %stats; + my %catkey; + my %data; + my $portnumber = 0; + + my $sep = ":"; + + my $moutf = new IO::File; + my $outf = new IO::File; + my $mindex = new IO::File; open(INDEX, $ARGV[0]); while () { @@ -127,29 +175,28 @@ s/>/>/g; # Read a record - ($name, $loc, $prefix, $desc, $ldesc, $owner, $cats, + my ($name, $loc, $prefix, $desc, $ldesc, $owner, $cats, $bdep, $rdep, $www) = split('\|'); # Check for double hyphens in the name (--). $name =~ s/--/-/g; # Split the categories into an array - @cat = split("[ \t]+", $cats); + my @cat = split("[ \t]+", $cats); $catkey{$name} = $cat[0]; - local($sourcepath) = $loc; + my $sourcepath = $loc; $sourcepath =~ s%/usr/%%; - foreach $i (@cat) { - + foreach my $i (sort(@cat)) { $stats{$i}++; - # figure out the FTP url + # figure out the FTP url $loc =~ s/\/usr\//$baseCVSWEB/; $ldesc =~ s/\/usr\//$baseHTTP/; - # The name description and maintainer + # The name description and maintainer $data{$i} .= "

$name "; @@ -162,54 +209,54 @@ $data{$i} .= qq{ | Sources}; - if ($www ne "") { + if ($www ne "") { $data{$i} .= qq{ | Main Web Site}; - } + } - $ownerurl = $owner; - $ownerurl =~ s/<//g; + my $ownerurl = $owner; + $ownerurl =~ s/<//g; $data{$i} .= "
Maintained by: $owner"; - # If there are any dependencies, list them - if ($bdep ne "" || $rdep ne "") { - $data{$i} .= "
Requires: "; - @dep = split(/ /, "$bdep $rdep"); - local($last) = ''; - foreach $j (sort @dep) { + # If there are any dependencies, list them + if ($bdep ne "" || $rdep ne "") { + $data{$i} .= "
Requires: "; + my @dep = split(/ /, "$bdep $rdep"); + my $last = ''; + foreach my $j (sort @dep) { next if $j eq $last; $last = $j; - $data{$i} .= " $j,"; - } - # remove the trailing comma - chop $data{$i}; - } - - # If the port is listed in more than one category, throw - # in some cross references - if ($#cat > 0) { - $data{$i} .= "
Also listed in: "; - foreach $j (@cat) { - if ($j ne $i) { + $data{$i} .= " $j,"; + } + # remove the trailing comma + chop $data{$i}; + } + + # If the port is listed in more than one category, throw + # in some cross references + if ($#cat > 0) { + $data{$i} .= "
Also listed in: "; + foreach my $j (@cat) { + if ($j ne $i) { if ($j eq $cat[0]) { $data{$i} .= " \u$j,"; } else { $data{$i} .= " \u$j,"; } - } - } - # remove the trailing comma - chop($data{$i}); - } - $data{$i} .= "

\n" + } + } + # remove the trailing comma + chop($data{$i}); + } + $data{$i} .= "

\n" } # Add an entry to the master index # workaround for SGML bug, `--' is not allowed in comments - local ($sname) = $name; + my $sname = $name; $sname =~ s/--/-=/g; $master[$portnumber] = "$name " . @@ -217,65 +264,74 @@ $portnumber++; } - open(MOUTF, ">index.sgml"); + $moutf->open(">index.sgml"); - &header(MOUTF, "FreeBSD Ports"); -# print MOUTF "\n"; - print MOUTF "&blurb;"; - print MOUTF "

There are currently $portnumber ports in the -FreeBSD Ports Collection.
Download -a gzip'd tar file of all $portnumber ports (about 25 megabytes) or -browse the following categories:\n"; - - print MOUTF "

    \n"; - - @foos = sort(keys %stats); - foreach $key (@foos) { - # For the master file... - print MOUTF - "
  • \u$key ($stats{$key})"; - if ($category_description{$key}) { - print MOUTF " -- " . $category_description{$key}; - } + header($moutf, "FreeBSD Ports"); +# print $moutf "\n"; + print $moutf "&blurb;"; + print $moutf < +

    There are currently $portnumber ports in the FreeBSD Ports Collection.
    +You may download a +gzip'd tar file of all ports +(about 30 megabytes), view the +alphabetical list of all ports, +or browse the ports in the following categories: + +EOF + + foreach my $cg (@category_groups) { + print $moutf "

    ",$category_groups{$cg},"

    \n"; + print $moutf "
      \n"; + foreach my $key (sort(keys(%stats))) { + next if ($category_description{$key}{group} ne $cg); + # For the master file... + print $moutf + "
    • \u$key ($stats{$key})"; + if ($category_description{$key}{desc}) { + print $moutf " -- " . $category_description{$key}{desc}; + } - # Someone forgot to add a category to the description file - # or there is a typo in the category field. - else { - warn "No description found for category: ``$key''!\n"; - warn "Please fix me or send an E-Mail to doc\@FreeBSD.org\a\n"; - sleep(3); - } - print MOUTF "
    • \n"; + # Someone forgot to add a category to the description file + # or there is a typo in the category field. + else { + warn "No description found for category: ``$key''!\n"; + warn "Please fix me or send an E-Mail to doc\@FreeBSD.org\a\n"; + sleep(3); + } + print $moutf "\n"; - # Create the category file - open(OUTF, ">$key.sgml"); - &header(OUTF, "FreeBSD Ports: \u$key"); - if ($category_description{$key}) { - print OUTF "

      ", $category_description{$key}, "

      \n"; - } - print OUTF "
      \n"; - $d = join("\n", sort(split(/\n/, $data{$key}))); - $d =~ s/##([^#]*)##/$catkey{$1}/g; - print OUTF $d; - print OUTF "
      \n"; - &footer(OUTF, "

      Port Categories" . - " -- Index"); - close(OUTF); + # Create the category file + $outf->open(">$key.sgml"); + header($outf, "FreeBSD Ports: \u$key"); + if ($category_description{$key}{desc}) { + print $outf "

      ", $category_description{$key}{desc}, "

      \n"; + } + print $outf "
      \n"; + my $d = join("\n", sort(split(/\n/, $data{$key}))); + $d =~ s/##([^#]*)##/$catkey{$1}/g; + print $outf $d; + print $outf "
      \n"; + footer($outf, "

      Port Categories" . + " -- Index"); + $outf->close; + } + print $moutf "
    \n"; } - print MOUTF "
\n"; - print MOUTF + + print $moutf "\n"; - &footer(MOUTF, ""); - close(MOUTF); + footer($moutf, ""); + $moutf->close; # Create the master index file - open(MINDEX, ">master-index.sgml"); - &header(MINDEX, "FreeBSD Ports Collection Index"); - print MINDEX "

\n"; - print MINDEX sort @master; - print MINDEX "

"; - &footer(MINDEX, "Port Categories"); - close(MINDEX); + $mindex->open(">master-index.sgml"); + header($mindex, "FreeBSD Ports Collection Index"); + print $mindex "

\n"; + print $mindex sort @master; + print $mindex "

"; + footer($mindex, "Port Categories"); + $mindex->close; close(INDEX); } And since the patch for portindex is hardly readable, here is the full script: #!/usr/bin/perl -w # convert a ports INDEX file to HTML # # by John Fieber # Mon May 13 10:31:58 EST 1996 # $FreeBSD: www/en/ports/portindex,v 1.52 2005/10/04 19:43:49 hrs Exp $ ############################################################ use strict; use POSIX; use IO::File; my $base = ""; my $baseHTTP = ""; my $urlcgi = ""; my $packagesURL = ""; my $today = getdate(); my %p = (); # Load local config file. You can override in portindex.conf # the variables for the default web and the ftp server. This # make it easy to maintain a local web mirror and let the # URL point to yourself and not to the standard FreeBSD FTP server. my $config = $0 . '.' . 'conf'; do $config if -f $config; # This is the base of where we ftp stuff from my $ftpserver; if ($ENV{'MASTER_FTP_SERVER'}) { $ftpserver = $ENV{'MASTER_FTP_SERVER'}; } else { $ftpserver = 'ftp://ftp.FreeBSD.org' if !$ftpserver; } $baseHTTP = $base if !$baseHTTP; my $baseFTP = "$ftpserver/pub/FreeBSD/ports/ports"; my $baseCVSWEB = 'http://www.FreeBSD.org/cgi/cvsweb.cgi/'; $urlcgi = 'http://www.FreeBSD.org/cgi/url.cgi' if !$urlcgi; $packagesURL = "$ftpserver/pub/FreeBSD/ports/i386/packages-stable/All/" if !$packagesURL; # support tar on the fly or gzip'ed tar on the fly my $ftparchive = ''; $ftparchive = 'tar' if !defined $ftparchive; # ports download sources script my $pds = 'http://www.FreeBSD.org/cgi/pds.cgi'; # better layout and link to the sources if ($urlcgi) { $baseHTTP = $urlcgi . '?' . $baseHTTP; } my %packages = (); my %category_description = (); my @category_groups = (); my %category_groups = (); packages_exist('packages.exists'); category_description(($ARGV[1] || '.') . '/categories' ); category_groups(($ARGV[1] || '.') . '/categories.descriptions' ); main(); sub getdate { return POSIX::strftime("Last modified: %d-%B-%Y",localtime); } sub header { my $fh = shift; my $htext = shift; #local($fh, $htext) = @_; print $fh < $today"> %navincludes; %includes; ]> &header; EOF } sub footer { my $fh = shift; my $ftext = shift; #local ($fh, $ftext) = @_; print $fh < EOF } sub packages_exist { my $file=shift; my %p; #local($file, *p) = @_; open(P, $file) || do { warn "open $file: $!\n"; warn "Cannot create packages links\n"; return 1; }; while(

) { chop; $packages{$_} = 1; } close P; } sub category_description { my $file = shift; open(P, $file) || do { warn "open $file: $!\n"; warn "Cannot find category description\n"; return 1; }; while(

) { # ignore comments next if /^\s*#/; if (/^\s*([^,]+),\s*"([^"]+)",([A-Z]+)/) { $category_description{$1}{desc}=$2; $category_description{$1}{group}=$3; } } close P; } sub category_groups { my $file = shift; open(P, $file) || do { warn "open $file: $!\n"; warn "Cannot find category groups\n"; return 1; }; while(

) { # ignore comments next if /^\s*#/; $category_groups{$1}=$2 if (/^\s*([^,]+),\s*(.+)/); push(@category_groups,$1); } close P; } sub main { my @master=(); my %stats; my %catkey; my %data; my $portnumber = 0; my $sep = ":"; my $moutf = new IO::File; my $outf = new IO::File; my $mindex = new IO::File; open(INDEX, $ARGV[0]); while () { chop; s/&/&/g; s//>/g; # Read a record my ($name, $loc, $prefix, $desc, $ldesc, $owner, $cats, $bdep, $rdep, $www) = split('\|'); # Check for double hyphens in the name (--). $name =~ s/--/-/g; # Split the categories into an array my @cat = split("[ \t]+", $cats); $catkey{$name} = $cat[0]; my $sourcepath = $loc; $sourcepath =~ s%/usr/%%; foreach my $i (sort(@cat)) { $stats{$i}++; # figure out the FTP url $loc =~ s/\/usr\//$baseCVSWEB/; $ldesc =~ s/\/usr\//$baseHTTP/; # The name description and maintainer $data{$i} .= "

$name "; $data{$i} .= "
$desc
Long description"; if ($packages{"$name.tbz"}) { $data{$i} .= qq{ | Package}; } elsif ($packages{"$name.tgz"}) { $data{$i} .= qq{ | Package}; } $data{$i} .= qq{ | Sources}; if ($www ne "") { $data{$i} .= qq{ | Main Web Site}; } my $ownerurl = $owner; $ownerurl =~ s/<//g; $data{$i} .= "
Maintained by: $owner"; # If there are any dependencies, list them if ($bdep ne "" || $rdep ne "") { $data{$i} .= "
Requires: "; my @dep = split(/ /, "$bdep $rdep"); my $last = ''; foreach my $j (sort @dep) { next if $j eq $last; $last = $j; $data{$i} .= " $j,"; } # remove the trailing comma chop $data{$i}; } # If the port is listed in more than one category, throw # in some cross references if ($#cat > 0) { $data{$i} .= "
Also listed in: "; foreach my $j (@cat) { if ($j ne $i) { if ($j eq $cat[0]) { $data{$i} .= " \u$j,"; } else { $data{$i} .= " \u$j,"; } } } # remove the trailing comma chop($data{$i}); } $data{$i} .= "

\n" } # Add an entry to the master index # workaround for SGML bug, `--' is not allowed in comments my $sname = $name; $sname =~ s/--/-=/g; $master[$portnumber] = "$name " . " -- $desc
\n"; $portnumber++; } $moutf->open(">index.sgml"); header($moutf, "FreeBSD Ports"); # print $moutf "\n"; print $moutf "&blurb;"; print $moutf <

There are currently $portnumber ports in the FreeBSD Ports Collection.
You may download a gzip'd tar file of all ports (about 30 megabytes), view the alphabetical list of all ports, or browse the ports in the following categories: EOF foreach my $cg (@category_groups) { print $moutf "

",$category_groups{$cg},"

\n"; print $moutf "
    \n"; foreach my $key (sort(keys(%stats))) { next if ($category_description{$key}{group} ne $cg); # For the master file... print $moutf "
  • \u$key ($stats{$key})"; if ($category_description{$key}{desc}) { print $moutf " -- " . $category_description{$key}{desc}; } # Someone forgot to add a category to the description file # or there is a typo in the category field. else { warn "No description found for category: ``$key''!\n"; warn "Please fix me or send an E-Mail to doc\@FreeBSD.org\a\n"; sleep(3); } print $moutf "
  • \n"; # Create the category file $outf->open(">$key.sgml"); header($outf, "FreeBSD Ports: \u$key"); if ($category_description{$key}{desc}) { print $outf "

    ", $category_description{$key}{desc}, "

    \n"; } print $outf "
    \n"; my $d = join("\n", sort(split(/\n/, $data{$key}))); $d =~ s/##([^#]*)##/$catkey{$1}/g; print $outf $d; print $outf "
    \n"; footer($outf, "

    Port Categories" . " -- Index"); $outf->close; } print $moutf "
\n"; } print $moutf "\n"; footer($moutf, ""); $moutf->close; # Create the master index file $mindex->open(">master-index.sgml"); header($mindex, "FreeBSD Ports Collection Index"); print $mindex "

\n"; print $mindex sort @master; print $mindex "

"; footer($mindex, "Port Categories"); $mindex->close; close(INDEX); } >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-doc@FreeBSD.ORG Sun Oct 16 04:00:37 2005 Return-Path: X-Original-To: freebsd-doc@hub.freebsd.org Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A721C16A420 for ; Sun, 16 Oct 2005 04:00:37 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 73B8843D46 for ; Sun, 16 Oct 2005 04:00:37 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j9G40bg4049447 for ; Sun, 16 Oct 2005 04:00:37 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9G40aW6049446; Sun, 16 Oct 2005 04:00:36 GMT (envelope-from gnats) Date: Sun, 16 Oct 2005 04:00:36 GMT Message-Id: <200510160400.j9G40aW6049446@freefall.freebsd.org> To: freebsd-doc@FreeBSD.org From: linimon@lonesome.com (Mark Linimon) Cc: Subject: Re: docs/87500: [patch] redo www/en/ports/index.html layout X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mark Linimon List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Oct 2005 04:00:37 -0000 The following reply was made to PR docs/87500; it has been noted by GNATS. From: linimon@lonesome.com (Mark Linimon) To: Edwin Groothuis Cc: FreeBSD-gnats-submit@FreeBSD.org Subject: Re: docs/87500: [patch] redo www/en/ports/index.html layout Date: Sat, 15 Oct 2005 22:45:36 -0500 A prototype of these changes merged with my updated changes in www/45169 is at http://people.FreeBSD.org/~linimon/www/en/ports/index.html. Applying the patch in 87500 followed by 45169 gives you one conflict which can then be resolved by applying the following: 172a173 > $portnumber = "0"; 275a277 >

Current status

277,278c279,280 < You may download a < gzip'd tar file of all ports --- > You may > download a gzip'd tar file of all ports 282a285 >

284a288,290 > if ($portnumber eq '0') { > print $moutf "

none found

\n"; > } else { 320d325 < 323a329 > } 325,326d330 < print $moutf < "\n"; 336c340 < footer($mindex, "Port Categories"); --- > footer($mindex, "Port Categories"); From owner-freebsd-doc@FreeBSD.ORG Sun Oct 16 05:43:23 2005 Return-Path: X-Original-To: freebsd-doc@FreeBSD.org Delivered-To: freebsd-doc@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E597816A42A for ; Sun, 16 Oct 2005 05:43:23 +0000 (GMT) (envelope-from www@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id A204443D48 for ; Sun, 16 Oct 2005 05:43:23 +0000 (GMT) (envelope-from www@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j9G5hNl3029923 for ; Sun, 16 Oct 2005 05:43:23 GMT (envelope-from www@www.freebsd.org) Received: (from www@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j9G5hNsI029914 for freebsd-doc@FreeBSD.org; Sun, 16 Oct 2005 05:43:23 GMT (envelope-from www) Date: Sun, 16 Oct 2005 05:43:23 GMT From: World Wide Web Owner Message-Id: <200510160543.j9G5hNsI029914@www.freebsd.org> To: freebsd-doc@FreeBSD.org Cc: Subject: FreeBSD web build failed on www.freebsd.org X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Oct 2005 05:43:24 -0000 /usr/bin/env outfile=advanced-networking/net-routing.eps /usr/local/bin/gs -q -dNOPAUSE -dSAFER -dDELAYSAFER -sPAPERSIZE=letter -r72 -sDEVICE=bit -sOutputFile=/dev/null ps2epsi.ps < advanced-networking/net-routing.ps 1>&2 (echo "save countdictstack mark newpath /showpage {} def /setpagedevice {pop} def"; echo "%%EndProlog"; echo "%%Page: 1 1"; echo "%%BeginDocument: advanced-networking/net-routing.ps"; ) >> advanced-networking/net-routing.eps /usr/bin/sed -e '/^%%BeginPreview:/,/^%%EndPreview[^!-~]*$/d' -e '/^%!PS-Adobe/d' -e '/^%%[A-Za-z][A-Za-z]*[^!-~]*$/d' -e '/^%%[A-Za-z][A-Za-z]*: /d' < advanced-networking/net-routing.ps >> advanced-networking/net-routing.eps (echo "%%EndDocument"; echo "%%Trailer"; echo "cleartomark countdictstack exch sub { end } repeat restore"; echo "%%EOF"; ) >> advanced-networking/net-routing.eps /usr/bin/perl /w/www/build/doc/share/misc/epsgeom -offset 100 100 advanced-networking/net-routing.eps | /usr/local/bin/gs -q -dBATCH -dGraphicsAlphaBits=4 -dTextAlphaBits=4 -dEPSCrop -r100x100 -dNOPAUSE -dSAFER -sDEVICE=pnm -sOutputFile=- -g`/usr/bin/perl /w/www/build/doc/share/misc/epsgeom -geom 100 100 advanced-networking/net-routing.eps` - | /usr/local/bin/pnmtopng > advanced-networking/net-routing.png pnmtopng: 35 colors found /usr/bin/perl /usr/local/share/sgml/docbook/dsssl/modular/bin/collateindex.pl -i doc-index -N -o index.sgml /usr/bin/env /usr/local/bin/jade -V html-index -ioutput.html -d /w/www/build/doc/share/sgml/default.dsl -ifreebsd.urls.relprefix.4 -V %generate-legalnotice-link% -V %generate-docformat-navi-link% -ioutput.html.images -i chap.index -i chap.advanced-networking -i chap.basics -i chap.bibliography -i chap.boot -i chap.config -i chap.cutting-edge -i chap.desktop -i chap.disks -i chap.eresources -i chap.install -i chap.introduction -i chap.kernelconfig -i chap.l10n -i chap.linuxemu -i chap.mac -i chap.mail -i chap.mirrors -i chap.multimedia -i chap.network-servers -i chap.pgpkeys -i chap.ports -i chap.ppp-and-slip -i chap.printing -i chap.security -i chap.serialcomms -i chap.users -i chap.vinum -i chap.x11 -i chap.freebsd-glossary -D /usr/obj/w/www/build/doc/fr_FR.ISO8859-1/books/handbook -c /w/www/build/doc/fr_FR.ISO8859-1/share/sgml/catalog -c /w/www/build/doc/share/sgml/catalog -c /usr/local/share/sgml/docbook/dsssl/modular/catalog -c /usr/local/share/sgml/iso8879/catalog -c / usr/local/share/sgml/docbook/catalog -c /usr/local/share/sgml/jade/catalog -c /usr/local/share/sgml/catalog.ports -t sgml /w/www/build/doc/fr_FR.ISO8859-1/books/handbook/book.sgml > /dev/null /usr/bin/perl /usr/local/share/sgml/docbook/dsssl/modular/bin/collateindex.pl -i doc-index -g -o index.sgml html-split.index Processing html-split.index... 821 entries loaded... duplicated index entry found, 386BSD duplicated index entry found, CHROOT duplicated index entry found, GROUPES RéSEAU duplicated index entry found, KERMIT duplicated index entry found, MAKEDEV duplicated index entry found, MX RECORD duplicated index entry found, NET/2 duplicated index entry found, PKG_ADD duplicated index entry found, SYSLOG duplicated index entry found, U.C. BERKELEY duplicated index entry found, VARIABLES D'ENVIRONNEMENT 11 entries ignored... Done. /bin/rm -f docbook.css /bin/cat /w/www/build/doc/share/misc/docbook.css > docbook.css /usr/bin/env /usr/local/bin/jade -V html-manifest -ioutput.html -d /w/www/build/doc/share/sgml/default.dsl -ifreebsd.urls.relprefix.4 -V %generate-legalnotice-link% -V %generate-docformat-navi-link% -ioutput.html.images -i chap.index -i chap.advanced-networking -i chap.basics -i chap.bibliography -i chap.boot -i chap.config -i chap.cutting-edge -i chap.desktop -i chap.disks -i chap.eresources -i chap.install -i chap.introduction -i chap.kernelconfig -i chap.l10n -i chap.linuxemu -i chap.mac -i chap.mail -i chap.mirrors -i chap.multimedia -i chap.network-servers -i chap.pgpkeys -i chap.ports -i chap.ppp-and-slip -i chap.printing -i chap.security -i chap.serialcomms -i chap.users -i chap.vinum -i chap.x11 -i chap.freebsd-glossary -D /usr/obj/w/www/build/doc/fr_FR.ISO8859-1/books/handbook -c /w/www/build/doc/fr_FR.ISO8859-1/share/sgml/catalog -c /w/www/build/doc/share/sgml/catalog -c /usr/local/share/sgml/docbook/dsssl/modular/catalog -c /usr/local/share/sgml/iso8879/catalog - c /usr/local/share/sgml/docbook/catalog -c /usr/local/share/sgml/jade/catalog -c /usr/local/share/sgml/catalog.ports -t sgml /w/www/build/doc/fr_FR.ISO8859-1/books/handbook/book.sgml /usr/local/bin/jade:/w/www/build/doc/fr_FR.ISO8859-1/books/handbook/index.sgml:881:0:E: character data is not allowed here /usr/local/bin/jade:/w/www/build/doc/fr_FR.ISO8859-1/books/handbook/index.sgml:882:56:E: document type does not allow element "ULINK" here; missing one of "SEEIE", "SEEALSOIE", "SECONDARYIE" start-tag *** Error code 1 Stop in /w/www/build/doc/fr_FR.ISO8859-1/books/handbook. *** Error code 1 Stop in /w/www/build/doc/fr_FR.ISO8859-1/books. *** Error code 1 Stop in /w/www/build/doc/fr_FR.ISO8859-1. *** Error code 1 Stop in /w/www/build/www/fr/doc. *** Error code 1 (ignored) *** Error code 1 Stop in /w/www/build/www/fr. *** Error code 1 (ignored) *** Error code 1 Stop in /w/www/build/www/en. 15444.99 real 12809.78 user 756.82 sys From owner-freebsd-doc@FreeBSD.ORG Sun Oct 16 11:30:19 2005 Return-Path: X-Original-To: freebsd-doc@hub.freebsd.org Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 875B216A420 for ; Sun, 16 Oct 2005 11:30:19 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46DF643D49 for ; Sun, 16 Oct 2005 11:30:19 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j9GBUJDe021662 for ; Sun, 16 Oct 2005 11:30:19 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9GBUJUI021661; Sun, 16 Oct 2005 11:30:19 GMT (envelope-from gnats) Date: Sun, 16 Oct 2005 11:30:19 GMT Message-Id: <200510161130.j9GBUJUI021661@freefall.freebsd.org> To: freebsd-doc@FreeBSD.org From: "Simon L. Nielsen" Cc: Subject: Re: docs/87500: [patch] redo www/en/ports/index.html layout X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Simon L. Nielsen" List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Oct 2005 11:30:19 -0000 The following reply was made to PR docs/87500; it has been noted by GNATS. From: "Simon L. Nielsen" To: Edwin Groothuis Cc: FreeBSD-gnats-submit@FreeBSD.org Subject: Re: docs/87500: [patch] redo www/en/ports/index.html layout Date: Sun, 16 Oct 2005 13:29:17 +0200 --98e8jtXdkpgskNou Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2005.10.16 09:45:36 +1000, Edwin Groothuis wrote: >=20 > >Description: >=20 > - Add port groups as suggested by linimon@ > http://people.freebsd.org/~linimon/www/en/ports/index.html#logical_grou= ps >=20 > - Cleanup portindex to be "use strict" and "-w" safe Which perl versions have you tested this with? More specificly, does it work with perl 5.0 ? --=20 Simon L. Nielsen --98e8jtXdkpgskNou Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDUjmMh9pcDSc1mlERAuFxAKC8TJHe+Xrrt3oMbiLy2L0dp08cwwCfShnE B161U2hf4/tFrRLYcmiDwD0= =gbcu -----END PGP SIGNATURE----- --98e8jtXdkpgskNou-- From owner-freebsd-doc@FreeBSD.ORG Sun Oct 16 12:30:18 2005 Return-Path: X-Original-To: freebsd-doc@hub.freebsd.org Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E62716A41F for ; Sun, 16 Oct 2005 12:30:18 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5AB0B43D46 for ; Sun, 16 Oct 2005 12:30:18 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j9GCUIrH028999 for ; Sun, 16 Oct 2005 12:30:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9GCUIQo028998; Sun, 16 Oct 2005 12:30:18 GMT (envelope-from gnats) Date: Sun, 16 Oct 2005 12:30:18 GMT Message-Id: <200510161230.j9GCUIQo028998@freefall.freebsd.org> To: freebsd-doc@FreeBSD.org From: Edwin Groothuis Cc: Subject: Re: docs/87500: [patch] redo www/en/ports/index.html layout X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Edwin Groothuis List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Oct 2005 12:30:18 -0000 The following reply was made to PR docs/87500; it has been noted by GNATS. From: Edwin Groothuis To: "Simon L. Nielsen" Cc: FreeBSD-gnats-submit@FreeBSD.org Subject: Re: docs/87500: [patch] redo www/en/ports/index.html layout Date: Sun, 16 Oct 2005 22:26:12 +1000 On Sun, Oct 16, 2005 at 01:29:17PM +0200, Simon L. Nielsen wrote: > On 2005.10.16 09:45:36 +1000, Edwin Groothuis wrote: > > > > >Description: > > > > - Add port groups as suggested by linimon@ > > http://people.freebsd.org/~linimon/www/en/ports/index.html#logical_groups > > > > - Cleanup portindex to be "use strict" and "-w" safe > > Which perl versions have you tested this with? More specificly, does > it work with perl 5.0 ? I've tested it on a 5.2.1 machine with perl 5.8.6 and on a 4.8 machine with perl 5.005_03. Edwin -- Edwin Groothuis | Personal website: http://www.mavetju.org edwin@mavetju.org | Weblog: http://weblog.barnet.com.au/edwin/ From owner-freebsd-doc@FreeBSD.ORG Sun Oct 16 17:27:05 2005 Return-Path: X-Original-To: doc@freebsd.org Delivered-To: freebsd-doc@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 49FCF16A41F; Sun, 16 Oct 2005 17:27:05 +0000 (GMT) (envelope-from WaldoGillespieconspirator@arvas.nu) Received: from 201-27-115-247.dsl.telesp.net.br (201-27-115-247.dsl.telesp.net.br [201.27.115.247]) by mx1.FreeBSD.org (Postfix) with SMTP id 180A943D5A; Sun, 16 Oct 2005 17:25:59 +0000 (GMT) (envelope-from WaldoGillespieconspirator@arvas.nu) Received: (qmail 195 invoked from network); Sun, 16 Oct 2005 22:23:56 +0400 Received: from unknown (HELO there) (127.0.0.1) by mould.minihub.org with SMTP; Sun, 16 Oct 2005 15:22:56 -0300 Content-Type: text/plain; Message-Id: <9.0.2.7.2.2005359.00b0a10@designs.com> Date: Sun, 16 Oct 2005 15:23:56 -0300 From: "Winston Smiley" To: bde@freebsd.org User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Cc: kyle@freebsd.org, doc@freebsd.org, chm@freebsd.org, nork@freebsd.org, freebsd-isdn-owner@freebsd.org, rwatson@freebsd.org, yoichi@freebsd.org, ugen@freebsd.org Subject: Prince got one X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Oct 2005 17:27:05 -0000 REPLICASONLINE - WE NEVER COMPROMISE ON QUALITY Rolex replica is our speciality We guarantee lowest prices and highest quality We are the Direct manufacturers. For top quality rolex watchs pleas visit: http://www.oneastonishingwatchez.net Best regards, Winston Smiley crowd you bourbon me, basal . waist you broody me, laramie anyhow discoid nonsensical . casbah you gruff me, began vulture . waldorf you domain me, hang dignify cowan . compagnie you crabapple me, mallory . babysitter you executor me, atone . From owner-freebsd-doc@FreeBSD.ORG Sun Oct 16 20:20:23 2005 Return-Path: X-Original-To: freebsd-doc@hub.freebsd.org Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE3DD16A41F for ; Sun, 16 Oct 2005 20:20:23 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 85BD643D49 for ; Sun, 16 Oct 2005 20:20:23 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j9GKKNKf098756 for ; Sun, 16 Oct 2005 20:20:23 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9GKKNuu098755; Sun, 16 Oct 2005 20:20:23 GMT (envelope-from gnats) Date: Sun, 16 Oct 2005 20:20:23 GMT Message-Id: <200510162020.j9GKKNuu098755@freefall.freebsd.org> To: freebsd-doc@FreeBSD.org From: "Simon L. Nielsen" Cc: Subject: Re: docs/87500: [patch] redo www/en/ports/index.html layout X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Simon L. Nielsen" List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Oct 2005 20:20:23 -0000 The following reply was made to PR docs/87500; it has been noted by GNATS. From: "Simon L. Nielsen" To: Edwin Groothuis Cc: FreeBSD-gnats-submit@FreeBSD.org Subject: Re: docs/87500: [patch] redo www/en/ports/index.html layout Date: Sun, 16 Oct 2005 22:15:35 +0200 --V88s5gaDVPzZ0KCq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2005.10.16 22:26:12 +1000, Edwin Groothuis wrote: > On Sun, Oct 16, 2005 at 01:29:17PM +0200, Simon L. Nielsen wrote: > > On 2005.10.16 09:45:36 +1000, Edwin Groothuis wrote: > > >=20 > > > >Description: > > >=20 > > > - Add port groups as suggested by linimon@ > > > http://people.freebsd.org/~linimon/www/en/ports/index.html#logical_= groups > > >=20 > > > - Cleanup portindex to be "use strict" and "-w" safe > >=20 > > Which perl versions have you tested this with? More specificly, does > > it work with perl 5.0 ? >=20 > I've tested it on a 5.2.1 machine with perl 5.8.6 and on a 4.8 > machine with perl 5.005_03. OK, good. Just want to make sure, since www.freebsd.org still use perl 5.0. --=20 Simon L. Nielsen --V88s5gaDVPzZ0KCq Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDUrTmh9pcDSc1mlERAoR+AJ4vtTiW4x9ywapLKDafWjHBJOS1nACgjGTU aFkGJSEWFSnog616KI+AxPk= =XvGu -----END PGP SIGNATURE----- --V88s5gaDVPzZ0KCq-- From owner-freebsd-doc@FreeBSD.ORG Sun Oct 16 22:00:28 2005 Return-Path: X-Original-To: freebsd-doc@hub.freebsd.org Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 746C316A41F for ; Sun, 16 Oct 2005 22:00:28 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC34F43D4C for ; Sun, 16 Oct 2005 22:00:27 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j9GM0RCo008699 for ; Sun, 16 Oct 2005 22:00:27 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9GM0RQK008697; Sun, 16 Oct 2005 22:00:27 GMT (envelope-from gnats) Resent-Date: Sun, 16 Oct 2005 22:00:27 GMT Resent-Message-Id: <200510162200.j9GM0RQK008697@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, David Leppik Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 51A2F16A420 for ; Sun, 16 Oct 2005 21:50:16 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84E6443D73 for ; Sun, 16 Oct 2005 21:50:12 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j9GLoCtm040328 for ; Sun, 16 Oct 2005 21:50:12 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j9GLoCAt040327; Sun, 16 Oct 2005 21:50:12 GMT (envelope-from nobody) Message-Id: <200510162150.j9GLoCAt040327@www.freebsd.org> Date: Sun, 16 Oct 2005 21:50:12 GMT From: David Leppik To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: docs/87548: LIST_*, TAILQ_* man pages include memory leak in sample code X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Oct 2005 22:00:28 -0000 >Number: 87548 >Category: docs >Synopsis: LIST_*, TAILQ_* man pages include memory leak in sample code >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Sun Oct 16 22:00:27 GMT 2005 >Closed-Date: >Last-Modified: >Originator: David Leppik >Release: None (old BSD code--see below) >Organization: Vocal Laboratories >Environment: >Description: I've seen this on Mac OS X and Linux, so this probably affects FreeBSD as well. The man page for TAILQ_INSERT, TAILQ_REMOVE, etc. have the following sample code: while (head.tqh_first != NULL) TAILQ_REMOVE(&head, head.tqh_first, entries); I was so shocked that I checked queue.h and sure enough, TAILQ_REMOVE does not deallocate the queue entry (nor should it.) The same is true for the other structures mentioned in this man page. >How-To-Repeat: >Fix: I'm just a lowly Java programmer, but I think the fix is: while (head.tqh_first != NULL) { np = head.tqh_first; TAILQ_REMOVE(&head, np, entries); free(np); } >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-doc@FreeBSD.ORG Mon Oct 17 06:23:13 2005 Return-Path: X-Original-To: doc@FreeBSD.org Delivered-To: freebsd-doc@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ABD4616A41F; Mon, 17 Oct 2005 06:23:13 +0000 (GMT) (envelope-from trhodes@FreeBSD.org) Received: from pittgoth.com (ns1.pittgoth.com [216.38.206.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6871C43D53; Mon, 17 Oct 2005 06:23:10 +0000 (GMT) (envelope-from trhodes@FreeBSD.org) Received: from localhost (ip68-105-180-11.dc.dc.cox.net [68.105.180.11]) (authenticated bits=0) by pittgoth.com (8.13.4/8.13.4) with ESMTP id j9H6USgj048378 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 17 Oct 2005 02:30:29 -0400 (EDT) (envelope-from trhodes@FreeBSD.org) Date: Mon, 17 Oct 2005 02:22:15 -0400 From: Tom Rhodes To: "Simon L. Nielsen" Message-Id: <20051017022215.64b10694.trhodes@FreeBSD.org> In-Reply-To: <20051015133220.GB885@zaphod.nitro.dk> References: <200510142331.j9ENV8nA099971@freefall.freebsd.org> <1129364021.653.11.camel@dude.automatvapen.se> <20051015055837.2a3b9035.trhodes@FreeBSD.org> <20051015122036.GT99170@submonkey.net> <20051015133220.GB885@zaphod.nitro.dk> X-Mailer: Sylpheed version 1.0.5 (GTK+ 1.2.10; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: doc@FreeBSD.org, joel@FreeBSD.org Subject: Re: docs/87445: comments for improvement of handbook/kernelconfig-config.html X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Oct 2005 06:23:13 -0000 On Sat, 15 Oct 2005 15:32:21 +0200 "Simon L. Nielsen" wrote: > On 2005.10.15 13:20:37 +0100, Ceri Davies wrote: > > > On Sat, Oct 15, 2005 at 05:58:37AM -0400, Tom Rhodes wrote: > > > > > Or perhaps > > > 4.X will be knifed from the handbook. And most likely, the > > > only people who will expect it coming will be those that aren't > > > going to stand in my way.[1] :) > > > > > > [1]: Please don't take that as if it's rude, I'm actually > > > joking around with it. Cause I know that if someone > > > tried that, well, to core && doceng they'd be explaining. > > > > Actually that's a great idea. There's no reason why we couldn't, like > > today, commit a copy of the current handbook to handbook4 and then get > > rid of all the crud from the real handbook. Same deal with the FAQ. > > The information is still available then, but we no longer have to tear > > our own hair own trying to maintain the documents. > > Wouldn't it be better to create a branch and do appropriate magic in > the web build to handle it? We already have magic that handles > building the release notes from different branches. > > While I generally don't care much about repo bloat, starting a trend > with making a copy of the Handbook for each FreeBSD major version > seems a bit wasteful to me, especially since CVS actually does have a > concept for handling situations like this. Especially since I don't > expect to see many commits to the 4.X Handbook. > > This would also make it simpler to do make merges back to the 4.X > handbook if/when needed. > > If people prefer the "copy way" I won't stand in the way, it just > doesn't seem like the best solution from my point of view. > > Just for reference: > > [simon@eddie:~] du -shc /home/ncvs/doc/en_US.ISO8859-1/books/handbook > 19M /home/ncvs/doc/en_US.ISO8859-1/books/handbook I could have the glue together and example chapter for building version based handbooks later on this week. It may not be the answer, but it's one solution to an ongoing problem. -- Tom Rhodes From owner-freebsd-doc@FreeBSD.ORG Mon Oct 17 11:00:40 2005 Return-Path: X-Original-To: freebsd-doc@freebsd.org Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E46CA16A41F for ; Mon, 17 Oct 2005 11:00:40 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 93A9743D48 for ; Mon, 17 Oct 2005 11:00:40 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j9HB0ePi021289 for ; Mon, 17 Oct 2005 11:00:40 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9HB0dS2021283 for freebsd-doc@freebsd.org; Mon, 17 Oct 2005 11:00:39 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 17 Oct 2005 11:00:39 GMT Message-Id: <200510171100.j9HB0dS2021283@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: FreeBSD doc list Subject: Current unassigned doc problem reports X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Oct 2005 11:00:41 -0000 Current FreeBSD problem reports The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. Bugs can be in one of several states: o - open A problem report has been submitted, no sanity checking performed. a - analyzed The problem is understood and a solution is being sought. f - feedback Further work requires additional information from the originator or the community - possibly confirmation of the effectiveness of a proposed solution. p - patched A patch has been committed, but some issues (MFC and / or confirmation from originator) are still open. s - suspended The problem is not being worked on, due to lack of information or resources. This is a prime candidate for somebody who is looking for a project to do. If the problem cannot be solved at all, it will be closed, rather than suspended. c - closed A problem report is closed when any changes have been integrated, documented, and tested -- or when fixing the problem is abandoned. Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2001/05/24] docs/27605 doc Cross-document references () s [2002/03/08] docs/35678 doc docproj Makefiles for web are broken for o [2002/03/21] docs/36168 doc -pthread/_THREAD_SAFE docs missing in gcc o [2003/12/29] docs/60679 doc pthreads documentation does not describe o [2004/01/20] docs/61605 doc Improve documentation for i386 disk geome o [2004/10/03] docs/72285 doc GCC manuals are out of sync o [2004/10/15] docs/72743 doc Porter's Handbook lacks info on using aut o [2004/10/19] docs/72897 doc ERRATA and RELNOTES are missing warnings o [2005/02/25] docs/78062 doc Sample Echo Pseudo-Device Driver for Free o [2005/02/27] docs/78154 doc [PATCH] Make en_US FreeBSD Handbook more o [2005/03/03] docs/78357 doc getaddrinfo()'s AI_ADDRCONFIG not documen o [2005/04/07] docs/79658 doc Freebsd Handbook incorrect about ATAPI CD o [2005/04/13] docs/79857 doc manpage about ntp is wrong o [2005/05/10] docs/80843 doc [patch] Suggested doc fix for psm0 / hand o [2005/06/15] docs/82296 doc ttys(5) man page misleads about use for n o [2005/07/20] docs/83771 doc handbook/raid.html and atacontrol o [2005/09/08] docs/85867 doc dumpon.8 is missing crucial information o [2005/09/24] docs/86532 doc [patch] wpa_supplicant.conf man page shou o [2005/10/13] docs/87355 doc [patch] there is a critical typo that wil 19 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- s [1999/09/17] docs/13787 doc lnc driver isn't really the lnc driver s [2000/07/19] docs/20028 doc ASCII docs should reflect tags o [2001/02/02] docs/24786 doc missing FILES descriptions in sa(4) o [2001/04/02] docs/26286 doc *printf(3) etc should gain format string s [2001/06/03] docs/27843 doc [PATCH] make.conf WITH_* variables aren't o [2001/07/26] docs/29245 doc top(1) manpage doesn't understand SMP a [2001/08/23] docs/30008 doc This document should be translated, comme o [2001/10/07] docs/31109 doc replace gif images w/ png ones due to pat o [2002/01/05] docs/33589 doc Patch to doc.docbook.mk to post process . o [2002/01/09] docs/33724 doc [patch] fix Handbook error about Advanced o [2002/01/14] docs/33852 doc split(1) man page implies that input file o [2002/01/14] docs/33877 doc Documented behaviour of SF_flags for non- a [2002/02/16] docs/35011 doc There are no commands called "diskless" o o [2002/02/22] docs/35222 doc mailing list archive URL regexp suboptima o [2002/03/06] docs/35608 doc mt(1) page uses "setmark" without explana o [2002/03/06] docs/35609 doc mt(1) page needs explanation of "long era o [2002/03/06] docs/35612 doc ps(1) page "state" description doesn't me o [2002/03/07] docs/35642 doc lo(4) page maybe should document optional o [2002/03/07] docs/35644 doc lo(4) page presumes familiarity with prin o [2002/03/07] docs/35646 doc cp(1) page needs a "Bugs" section. o [2002/03/08] docs/35686 doc blackhole(4) page seems to contradict its o [2002/03/08] docs/35687 doc /etc/nsmb.conf missing mention of readers o [2002/03/10] docs/35732 doc adduser(8) page has obsolete reference an o [2002/03/16] docs/35943 doc at(1) config files are misplaced in /var/ o [2002/03/16] docs/35953 doc hosts.equiv(5) manual is confusing or wro o [2002/03/28] docs/36432 doc Proposal for doc/share/mk: make folded bo o [2002/03/29] docs/36449 doc symlink(7) manual doesn't mention trailin s [2002/05/07] docs/37843 doc manual for pthread_setschedparam is wrong o [2002/05/27] docs/38620 doc Committers Guide and CVS o [2002/05/31] docs/38772 doc firewall_type feature not mentioned on Ha o [2002/06/07] docs/38982 doc developers-hanbook/Jail fix o [2002/06/15] docs/39348 doc kenv fetch of hostname requires dhcp/boot o [2002/06/19] docs/39530 doc access(2) man page has unnecessarily broa o [2002/06/25] docs/39824 doc Various tweaks for doc/en_US.ISO8859-1/bo o [2002/07/10] docs/40423 doc Keyboard(4)'s definition of parameters to o [2002/07/21] docs/40851 doc [PATCH] "mergemaster -p" in UPDATING's "C o [2002/07/28] docs/41089 doc pax -B option does not mention interactio o [2002/08/02] docs/41270 doc confusing directions for kernelconfig cha o [2002/08/20] docs/41807 doc natd -punch_fw "bug" o [2002/08/20] docs/41820 doc Device driver confusion in Handbook (2.3) a [2002/08/27] docs/42058 doc Documentation: Installing Oracle 8i onto o [2002/10/04] docs/43651 doc stab(5) incorrectly states to include jus o [2002/10/08] docs/43823 doc [PATCH] update to environ(7) manpage o [2002/10/09] docs/43861 doc non-trivial typo in wicontrol man page o [2002/10/11] docs/43941 doc Rationale for Upgrade Sequence o [2002/10/15] docs/44074 doc ln(1) manual clarifications [patch] o [2002/10/29] docs/44594 doc Handbook doesn't mention drivers.flp for o [2002/12/02] docs/45940 doc burncd missing info o [2002/12/11] docs/46196 doc Missing return value in (set_)menu_format o [2002/12/16] docs/46291 doc correlation between HZ kernel config para o [2002/12/16] docs/46295 doc please add information to Nvi recovery em o [2003/01/28] docs/47575 doc Clarify requirements for IPFW2 in STABLE o [2003/01/28] docs/47594 doc [PATCH] passwd(5) incorrectly states allo o [2003/02/02] docs/47818 doc ln(1) manpage is confusing o [2003/02/08] docs/48101 doc There's no documentation on the fixit dis o [2003/03/06] docs/48980 doc [PATCH] nsgmls -s errors and sect. 3.2.1 o [2003/03/23] docs/50211 doc [PATCH] Fix textfile creation o [2003/04/03] docs/50573 doc return values for res_query/res_search/re o [2003/04/07] docs/50677 doc [PATCH] update doc/en_US.ISO8859-1/books/ o [2003/05/06] docs/51875 doc [patch] atkbd(4) adjustment o [2003/05/06] docs/51891 doc DIAGNOSTICS in ed driver manpage don't ma o [2003/05/07] docs/51921 doc ls(1) manpage lacks some information abou o [2003/05/11] docs/52071 doc [PATCH] Add more information about soft u o [2003/06/21] docs/53575 doc Change to Handbook Section 20.9 o [2003/06/21] docs/53596 doc Updates to mt manual page o [2003/06/25] docs/53732 doc quota output and man page do not document o [2003/07/13] docs/54451 doc [patch] i386_{get|set}_ldt manual page is o [2003/07/26] docs/54879 doc man 1 jot, -r description o [2003/08/12] docs/55482 doc DUMP has access to block devices in a JAI o [2003/09/24] docs/57153 doc S_IRWXU missing in fstat(2) man page? o [2003/09/30] docs/57388 doc INSTALL.TXT enhancement: mention ok promp o [2003/10/04] docs/57569 doc error on gensetdefs(8) man page o [2003/10/13] docs/57926 doc amd.conf.5 poorly format as it has both m o [2003/10/13] docs/57974 doc man page apropos for select macros (FD_SE o [2003/10/13] docs/57978 doc Type miss of GPIB in Hardware Notes o [2003/10/16] docs/58111 doc Handbook 12.4.3 Rebuilding ATA RAID1 Arra o [2003/10/28] docs/58615 doc update for Vinum chapter of Handbook: des o [2003/10/30] docs/58710 doc killpg(2) contains an error regarding sen o [2003/11/07] docs/59044 doc doc.docbook.mk does not properly handle a o [2003/11/19] docs/59477 doc Outdated Info Documents at http://docs.fr o [2003/11/30] docs/59835 doc ipfw(8) man page does not warn about acce o [2003/12/23] docs/60529 doc resolver(5) man page is badly out of date o [2003/12/24] docs/60544 doc getenv(3) manpage doesn't state the retur o [2004/01/08] docs/61070 doc handbook: Installation docs misleading: o [2004/01/13] docs/61301 doc [patch] Manpage patch for aue(4) to enabl o [2004/01/21] docs/61667 doc Obsolete documentation on FreeBSD PnP o [2004/01/25] docs/61859 doc Incorrect informaiton about trace command o [2004/02/05] docs/62402 doc easily circumventable Blade150 problem o [2004/02/06] docs/62412 doc one of the diskless boot methods describe o [2004/02/12] docs/62719 doc cross-reference pccardd and devd o [2004/02/12] docs/62724 doc host(1) manpage does not include informat o [2004/02/22] docs/63215 doc Wrong prototypes in mi_switch(9) (ref doc o [2004/03/27] docs/64807 doc Handbook section on NAT incomplete o [2004/04/02] docs/65065 doc improper language ntpd man pages o [2004/04/13] docs/65477 doc Installation Instruction fail to mention o [2004/04/14] docs/65530 doc minor improvement to getgrent.3 o [2004/05/04] docs/66264 doc [patch] libexec/rtld/rtld.1 typo fixes no o [2004/05/04] docs/66265 doc [patch] Document what -f and LD_TRACE_LOA o [2004/05/05] docs/66296 doc [patch] contrib/amd/amq/amq.8 uses log_op o [2004/05/07] docs/66343 doc unlisted supported card on man page for w o [2004/05/10] docs/66483 doc [patch] share/man/man4/csa.4 grammar nits o [2004/05/17] docs/66768 doc 4_RELENG share/man/man4/ng_one2many.4 MFC o [2004/05/17] docs/66770 doc [patch] share/man/man4/ng_pppoe.4 tyops, o [2004/05/23] docs/67078 doc [patch] MFC of a rtld(1) man page is inco f [2004/06/10] docs/67806 doc [patch] Let 5.x users know how to boot in o [2004/06/13] docs/67893 doc boot.8's -m description is insufficient. o [2004/06/28] docs/68453 doc [patch] rc.subr.8 o [2004/07/02] docs/68606 doc Porter's Handbook: document how to write o [2004/07/09] docs/68843 doc Dates on rc.subr(8) & rc(8) are whack. o [2004/07/09] docs/68845 doc The .At macro produces unexpected results o [2004/08/01] docs/69861 doc [patch] usr.bin/csplit/csplit.1 does not o [2004/08/09] docs/70217 doc Suggested rewrite of docproj/sgml.sgml o [2004/08/16] docs/70555 doc [patch] changes to freebsd-glossary o [2004/08/20] docs/70697 doc pcm(4) is out of date o [2004/09/10] docs/71555 doc how to run matlab on 5.2 o [2004/09/13] docs/71690 doc [patch] inaccurate information in systat( o [2004/09/16] docs/71782 doc mount_nfs man page is a bit out of date f [2004/09/21] docs/71980 doc Handbook says that no other software is k o [2004/10/06] docs/72383 doc manpage for awk(1) is terribly small and o [2004/11/06] docs/73583 doc [patch] add missing instructions to ndis( o [2004/11/07] docs/73638 doc ipfw(8): Clarify syntax for use of tables o [2004/11/08] docs/73679 doc FreeBSD 5.3 Release notes mention new nat o [2004/11/28] docs/74477 doc [patch] Correct several links in the cont o [2004/12/02] docs/74612 doc [patch] updates to the glossary o [2004/12/14] docs/75068 doc login.conf(5) manual page says nothing ab o [2004/12/28] docs/75577 doc typos in man3 manual pages, login_class.3 o [2005/01/05] docs/75865 doc comments on "backup-basics" in handbook o [2005/01/09] docs/75995 doc hcreate documentation(?) bug o [2005/01/11] docs/76094 doc Incorrect statement about partition d o [2005/01/17] docs/76333 doc EOF indicator can be cleared by not only o [2005/01/20] docs/76515 doc missleading use of make -j flag in handbo o [2005/02/04] docs/77087 doc The bootvinum script given in the handboo o [2005/02/24] docs/78041 doc docs for md need further explanation of t o [2005/02/27] docs/78138 doc Error in pre-installation section of inst o [2005/03/01] docs/78240 doc Replace with around a # o [2005/03/02] docs/78275 doc Keyword size needs to be changed to lengt o [2005/03/06] docs/78479 doc SO_NOSIGPIPE socket option undocumented o [2005/03/06] docs/78480 doc Networked printer setup unnecessarily com o [2005/03/07] docs/78520 doc error in man(5) lpd.conf, lpd.perms pages o [2005/03/16] docs/78915 doc rfork()'s RFTHREAD is not documented o [2005/03/23] docs/79156 doc buffersize knob for sound(4) is a tunable o [2005/04/18] docs/80070 doc [patch] Wrong dbm_close return value desc o [2005/04/20] docs/80159 doc [patch] rtld(1) mentions "%m" but it's no o [2005/05/11] docs/80871 doc terminfo(5) man page source corrupted o [2005/06/01] docs/81776 doc ifconfig(8) man page not updated with car o [2005/06/10] docs/82114 doc Misisng ndisapi(9) manual page o [2005/06/21] docs/82481 doc tar/gtar man page mod request o [2005/06/22] docs/82508 doc misleading man page for basename/dirname o [2005/06/24] docs/82595 doc 25.5.3 Configuring a bridge section of th o [2005/06/29] docs/82779 doc [patch] Kill entry for ddb manpage o [2005/07/17] docs/83621 doc [patch]: Minor omissions in /usr/src/UPDA o [2005/07/24] docs/84021 doc Missing manpage on RELENG_6 o [2005/07/27] docs/84154 doc Handbook somewhat off in use of /boot/ker o [2005/07/29] docs/84265 doc [patch] chmod(1) manpage omits implicatio o [2005/07/29] docs/84267 doc chflags(1) manual doesn't say it's affect o [2005/07/29] docs/84268 doc chmod(1) manpage's BUGS entry is either w o [2005/07/29] docs/84317 doc fdp-primer doesn't show class=USERNAME di o [2005/07/31] docs/84408 doc dump(8) manpage doesn't require an option o [2005/07/31] docs/84409 doc vinum-object-naming.html -v/-U typo o [2005/08/02] docs/84467 doc bsdlabel(8) manpage uses archaic "pack" i s [2005/08/03] docs/84519 doc [patch] mdoc(7) manpage needs more about o [2005/08/04] docs/84538 doc sk(4) driver supports Marvell 88E800x chi o [2005/08/04] docs/84549 doc [patch] errno(2) manpage uses "<...>" for s [2005/08/04] docs/84550 doc mdoc(7) manpage erroneously requires SYNO o [2005/08/06] docs/84620 doc [patch] xargs(1) manpage has "utility" an o [2005/08/07] docs/84645 doc intro(6) manpage should always be install o [2005/08/07] docs/84646 doc terminfo(5) manpage confuses man program. o [2005/08/08] docs/84670 doc [patch] tput(1) manpage missing ENVIRONME o [2005/08/10] docs/84764 doc [patch] hosts.equiv(5) manpage should SEE o [2005/08/11] docs/84790 doc Error in SYSCALL_MODULE(9) manual page o [2005/08/11] docs/84806 doc mdoc(7) manpage has section ordering prob o [2005/08/12] docs/84849 doc [patch] fdisk(8) manpage doesn't warn fdi o [2005/08/14] docs/84913 doc bsdlabel(8) manpage seems wrong about fsi o [2005/08/15] docs/84955 doc [patch] mdoc(7) manpage should mention mi o [2005/08/15] docs/84956 doc [patch] intro(5) manpage doesn't mention o [2005/08/15] docs/84961 doc [patch] Sync NDIS documentation with real o [2005/08/17] docs/85062 doc tr(1) manpage omits several character cla o [2005/08/17] docs/85063 doc expand(1) manpage needs to clarify -t opt o [2005/08/17] docs/85066 doc [patch] builtin(1) manpage has incomplete o [2005/08/18] docs/85097 doc [patch] devd.conf.5 lacks a lot of vital o [2005/08/18] docs/85100 doc ICH audio device support statement is amb o [2005/08/19] docs/85103 doc sh(1) manpage doesn't contain the word "c o [2005/08/19] docs/85118 doc [PATCH] opiekey(1) references non-existin o [2005/08/19] docs/85127 doc loader(8) manpage uses too-rare "depurati o [2005/08/19] docs/85128 doc loader.conf autoboot_delay incompletly de o [2005/08/21] docs/85186 doc ktrace(1) manpage doesn't warn about need o [2005/08/21] docs/85187 doc find(1) manpage missing block info for -l o [2005/08/21] docs/85194 doc man ssh(1) -o description o [2005/08/22] docs/85209 doc pfsync man page corrections o [2005/08/22] docs/85232 doc [PATCH] instructions on building web site o [2005/08/23] docs/85243 doc Missing icmp related abbreviations for pf o [2005/08/27] docs/85353 doc Very little cosmetic/ponctuation changes o [2005/08/29] docs/85425 doc fido (watchdog) device /dev/fido not docu o [2005/09/11] docs/85986 doc FreeBSD keyword missing if you display se o [2005/09/12] docs/86028 doc [patch] Add Ruby to the list of interpret o [2005/09/13] docs/86044 doc man 8 jail missing crucial mount in start o [2005/09/13] docs/86090 doc [PATCH] clarification of rc.conf(5) manua o [2005/09/19] docs/86342 doc bikeshed entry of Handbook is wrong o [2005/09/29] docs/86733 doc [patch] Add using kldload as an alternati o [2005/10/03] docs/86876 doc Opera is now ad-free for everybody, refle o [2005/10/10] docs/87186 doc Handbook recommends outdated make op. o [2005/10/13] docs/87351 doc Jail building instructions don't work as o [2005/10/15] docs/87500 doc [patch] redo www/en/ports/index.html layo o [2005/10/16] docs/87548 doc LIST_*, TAILQ_* man pages include memory 204 problems total. From owner-freebsd-doc@FreeBSD.ORG Mon Oct 17 17:51:44 2005 Return-Path: X-Original-To: freebsd-doc@freebsd.org Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 39A5A16A41F; Mon, 17 Oct 2005 17:51:44 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from mv.twc.weather.com (mv.twc.weather.com [65.212.71.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 73C8A43D4C; Mon, 17 Oct 2005 17:51:43 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from [10.50.41.234] (Not Verified[10.50.41.234]) by mv.twc.weather.com with NetIQ MailMarshal (v6, 0, 3, 8) id ; Mon, 17 Oct 2005 14:08:12 -0400 From: John Baldwin To: freebsd-doc@freebsd.org Date: Mon, 17 Oct 2005 13:53:11 -0400 User-Agent: KMail/1.8.2 References: <200510162150.j9GLoCAt040327@www.freebsd.org> In-Reply-To: <200510162150.j9GLoCAt040327@www.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200510171353.12772.jhb@freebsd.org> Cc: freebsd-gnats-submit@freebsd.org, David Leppik Subject: Re: docs/87548: LIST_*, TAILQ_* man pages include memory leak in sample code X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Oct 2005 17:51:44 -0000 On Sunday 16 October 2005 05:50 pm, David Leppik wrote: > >Number: 87548 > >Category: docs > >Synopsis: LIST_*, TAILQ_* man pages include memory leak in sample > > code Confidential: no > >Severity: non-critical > >Priority: low > >Responsible: freebsd-doc > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: doc-bug > >Submitter-Id: current-users > >Arrival-Date: Sun Oct 16 22:00:27 GMT 2005 > >Closed-Date: > >Last-Modified: > >Originator: David Leppik > >Release: None (old BSD code--see below) > >Organization: > > Vocal Laboratories > > >Environment: > >Description: > > I've seen this on Mac OS X and Linux, so this probably affects FreeBSD as > well. > > The man page for TAILQ_INSERT, TAILQ_REMOVE, etc. have the following sample > code: > > while (head.tqh_first != NULL) > TAILQ_REMOVE(&head, head.tqh_first, entries); > > I was so shocked that I checked queue.h and sure enough, TAILQ_REMOVE does > not deallocate the queue entry (nor should it.) The same is true for the > other structures mentioned in this man page. > > >How-To-Repeat: > > > >Fix: > > I'm just a lowly Java programmer, but I think the fix is: > > while (head.tqh_first != NULL) { > np = head.tqh_first; > TAILQ_REMOVE(&head, np, entries); > free(np); > } > Well, it should be something like: while (!TAILQ_EMPTY(&head)) { np = TAILQ_FIRST(&head); TAILQ_REMOVE(&head, np, entries); free(np); } And actually, on my machine here running current this is what the examples look like: /* TailQ Deletion. */ while (!TAILQ_EMPTY(&head)) { n1 = TAILQ_FIRST(&head); TAILQ_REMOVE(&head, n1, entries); free(n1); } /* Faster TailQ Deletion. */ n1 = TAILQ_FIRST(&head); while (n1 != NULL) { n2 = TAILQ_NEXT(n1, entries); free(n1); n1 = n2; } TAILQ_INIT(&head); Which version of FreeBSD are you seeing the memory leak in? -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org From owner-freebsd-doc@FreeBSD.ORG Mon Oct 17 18:00:22 2005 Return-Path: X-Original-To: freebsd-doc@hub.freebsd.org Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DEC2016A421 for ; Mon, 17 Oct 2005 18:00:22 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C775843D5A for ; Mon, 17 Oct 2005 18:00:20 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j9HI0KkS088384 for ; Mon, 17 Oct 2005 18:00:20 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9HI0KKS088383; Mon, 17 Oct 2005 18:00:20 GMT (envelope-from gnats) Date: Mon, 17 Oct 2005 18:00:20 GMT Message-Id: <200510171800.j9HI0KKS088383@freefall.freebsd.org> To: freebsd-doc@FreeBSD.org From: John Baldwin Cc: Subject: Re: docs/87548: LIST_*, TAILQ_* man pages include memory leak in sample code X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John Baldwin List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Oct 2005 18:00:23 -0000 The following reply was made to PR docs/87548; it has been noted by GNATS. From: John Baldwin To: freebsd-doc@freebsd.org Cc: David Leppik , freebsd-gnats-submit@freebsd.org Subject: Re: docs/87548: LIST_*, TAILQ_* man pages include memory leak in sample code Date: Mon, 17 Oct 2005 13:53:11 -0400 On Sunday 16 October 2005 05:50 pm, David Leppik wrote: > >Number: 87548 > >Category: docs > >Synopsis: LIST_*, TAILQ_* man pages include memory leak in sample > > code Confidential: no > >Severity: non-critical > >Priority: low > >Responsible: freebsd-doc > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: doc-bug > >Submitter-Id: current-users > >Arrival-Date: Sun Oct 16 22:00:27 GMT 2005 > >Closed-Date: > >Last-Modified: > >Originator: David Leppik > >Release: None (old BSD code--see below) > >Organization: > > Vocal Laboratories > > >Environment: > >Description: > > I've seen this on Mac OS X and Linux, so this probably affects FreeBSD as > well. > > The man page for TAILQ_INSERT, TAILQ_REMOVE, etc. have the following sample > code: > > while (head.tqh_first != NULL) > TAILQ_REMOVE(&head, head.tqh_first, entries); > > I was so shocked that I checked queue.h and sure enough, TAILQ_REMOVE does > not deallocate the queue entry (nor should it.) The same is true for the > other structures mentioned in this man page. > > >How-To-Repeat: > > > >Fix: > > I'm just a lowly Java programmer, but I think the fix is: > > while (head.tqh_first != NULL) { > np = head.tqh_first; > TAILQ_REMOVE(&head, np, entries); > free(np); > } > Well, it should be something like: while (!TAILQ_EMPTY(&head)) { np = TAILQ_FIRST(&head); TAILQ_REMOVE(&head, np, entries); free(np); } And actually, on my machine here running current this is what the examples look like: /* TailQ Deletion. */ while (!TAILQ_EMPTY(&head)) { n1 = TAILQ_FIRST(&head); TAILQ_REMOVE(&head, n1, entries); free(n1); } /* Faster TailQ Deletion. */ n1 = TAILQ_FIRST(&head); while (n1 != NULL) { n2 = TAILQ_NEXT(n1, entries); free(n1); n1 = n2; } TAILQ_INIT(&head); Which version of FreeBSD are you seeing the memory leak in? -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org From owner-freebsd-doc@FreeBSD.ORG Mon Oct 17 20:34:53 2005 Return-Path: X-Original-To: freebsd-doc@hub.freebsd.org Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 172EB16A420; Mon, 17 Oct 2005 20:34:53 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id EFC5443D88; Mon, 17 Oct 2005 20:34:40 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from freefall.freebsd.org (jhb@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j9HKYeGP014046; Mon, 17 Oct 2005 20:34:40 GMT (envelope-from jhb@freefall.freebsd.org) Received: (from jhb@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9HKYe3p014042; Mon, 17 Oct 2005 20:34:40 GMT (envelope-from jhb) Date: Mon, 17 Oct 2005 20:34:40 GMT From: John Baldwin Message-Id: <200510172034.j9HKYe3p014042@freefall.freebsd.org> To: dleppik@vocalabs.com, jhb@FreeBSD.org, freebsd-doc@FreeBSD.org Cc: Subject: Re: docs/87548: LIST_*, TAILQ_* man pages include memory leak in sample code X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Oct 2005 20:34:53 -0000 Synopsis: LIST_*, TAILQ_* man pages include memory leak in sample code State-Changed-From-To: open->closed State-Changed-By: jhb State-Changed-When: Mon Oct 17 20:33:38 GMT 2005 State-Changed-Why: The queue(3) manual page on FreeBSD has had the calls to free() in place since revision 1.2 added them back in January of 1996. :) http://www.freebsd.org/cgi/query-pr.cgi?pr=87548 From owner-freebsd-doc@FreeBSD.ORG Tue Oct 18 01:20:17 2005 Return-Path: X-Original-To: freebsd-doc@hub.freebsd.org Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A5E216A421 for ; Tue, 18 Oct 2005 01:20:17 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 39B6B43D5C for ; Tue, 18 Oct 2005 01:20:16 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j9I1KG40056655 for ; Tue, 18 Oct 2005 01:20:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9I1KGOh056654; Tue, 18 Oct 2005 01:20:16 GMT (envelope-from gnats) Resent-Date: Tue, 18 Oct 2005 01:20:16 GMT Resent-Message-Id: <200510180120.j9I1KGOh056654@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Toby Burress Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 064A916A41F for ; Tue, 18 Oct 2005 01:14:47 +0000 (GMT) (envelope-from kurin@diamond.causa-sui.net) Received: from mail.causa-sui.net (diamond.causa-sui.net [66.117.138.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id A649E43D46 for ; Tue, 18 Oct 2005 01:14:46 +0000 (GMT) (envelope-from kurin@diamond.causa-sui.net) Received: from diamond.causa-sui.net (localhost.causa-sui.net [127.0.0.1]) by mail.causa-sui.net (Postfix) with ESMTP id 1F70E20A2 for ; Mon, 17 Oct 2005 18:14:36 -0700 (PDT) Received: (from kurin@localhost) by diamond.causa-sui.net (8.13.3/8.13.3/Submit) id j9I1EZu0077612; Mon, 17 Oct 2005 18:14:35 -0700 (PDT) (envelope-from kurin) Message-Id: <200510180114.j9I1EZu0077612@diamond.causa-sui.net> Date: Mon, 17 Oct 2005 18:14:35 -0700 (PDT) From: Toby Burress To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: docs/87595: mailing-list-faq has broken link X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Toby Burress List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Oct 2005 01:20:17 -0000 >Number: 87595 >Category: docs >Synopsis: mailing-list-faq has broken link >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Tue Oct 18 01:20:15 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Toby Burress >Release: FreeBSD 5.4-RELEASE-p6 i386 >Organization: none >Environment: web >Description: When linking to the books and articles, the "books" and "articles" links are old. >How-To-Repeat: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/mailing-list-faq/article.html >Fix: --- article.sgml.old Mon Oct 17 18:00:07 2005 +++ article.sgml Mon Oct 17 18:09:55 2005 @@ -186,12 +186,9 @@ you may first need to familiarize yourself with the software, and all the social history around it, by reading the numerous - books - and - articles - that are available. Items of particular interest - include the + books and + articles that are available. Items of particular + interest include the &os; Frequently Asked Questions (FAQ) document, the >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-doc@FreeBSD.ORG Tue Oct 18 03:45:55 2005 Return-Path: X-Original-To: freebsd-doc@hub.freebsd.org Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CC61916A41F; Tue, 18 Oct 2005 03:45:55 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 86FD643D45; Tue, 18 Oct 2005 03:45:55 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j9I3jtjx075285; Tue, 18 Oct 2005 03:45:55 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9I3jsIX075281; Tue, 18 Oct 2005 03:45:55 GMT (envelope-from linimon) Date: Tue, 18 Oct 2005 03:45:55 GMT From: Mark Linimon Message-Id: <200510180345.j9I3jsIX075281@freefall.freebsd.org> To: edwin@mavetju.org, linimon@FreeBSD.org, freebsd-doc@FreeBSD.org Cc: Subject: Re: docs/87500: [patch] redo www/en/ports/index.html layout X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Oct 2005 03:45:55 -0000 Synopsis: [patch] redo www/en/ports/index.html layout State-Changed-From-To: open->closed State-Changed-By: linimon State-Changed-When: Tue Oct 18 03:45:42 GMT 2005 State-Changed-Why: Committed, thanks. http://www.freebsd.org/cgi/query-pr.cgi?pr=87500 From owner-freebsd-doc@FreeBSD.ORG Tue Oct 18 13:24:07 2005 Return-Path: X-Original-To: freebsd-doc@FreeBSD.org Delivered-To: freebsd-doc@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6CB4316A41F for ; Tue, 18 Oct 2005 13:24:07 +0000 (GMT) (envelope-from www@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6606B43D68 for ; Tue, 18 Oct 2005 13:24:03 +0000 (GMT) (envelope-from www@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j9IDO3xd090015 for ; Tue, 18 Oct 2005 13:24:03 GMT (envelope-from www@www.freebsd.org) Received: (from www@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j9IDO3GE090014 for freebsd-doc@FreeBSD.org; Tue, 18 Oct 2005 13:24:03 GMT (envelope-from www) Date: Tue, 18 Oct 2005 13:24:03 GMT From: World Wide Web Owner Message-Id: <200510181324.j9IDO3GE090014@www.freebsd.org> To: freebsd-doc@FreeBSD.org Cc: Subject: FreeBSD web build failed on www.freebsd.org X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Oct 2005 13:24:07 -0000 ? relnotes4/doc/fr_FR.ISO8859-1/hardware/i386/x15.html ? relnotes4/doc/fr_FR.ISO8859-1/hardware/i386/x26.html ? relnotes4/doc/fr_FR.ISO8859-1/installation/alpha/HTML.manifest ? relnotes4/doc/fr_FR.ISO8859-1/installation/alpha/article.html ? relnotes4/doc/fr_FR.ISO8859-1/installation/alpha/docbook.css ? relnotes4/doc/fr_FR.ISO8859-1/installation/alpha/index.html ? relnotes4/doc/fr_FR.ISO8859-1/installation/alpha/layout.html ? relnotes4/doc/fr_FR.ISO8859-1/installation/alpha/trouble.html ? relnotes4/doc/fr_FR.ISO8859-1/installation/alpha/upgrading.html ? relnotes4/doc/fr_FR.ISO8859-1/installation/i386/HTML.manifest ? relnotes4/doc/fr_FR.ISO8859-1/installation/i386/article.html ? relnotes4/doc/fr_FR.ISO8859-1/installation/i386/docbook.css ? relnotes4/doc/fr_FR.ISO8859-1/installation/i386/index.html ? relnotes4/doc/fr_FR.ISO8859-1/installation/i386/layout.html ? relnotes4/doc/fr_FR.ISO8859-1/installation/i386/trouble.html ? relnotes4/doc/fr_FR.ISO8859-1/installation/i386/upgrading.html ? relnotes4/doc/fr_FR.ISO8859-1/relnotes/alpha/HTML.manifest ? relnotes4/doc/fr_FR.ISO8859-1/relnotes/alpha/article.html ? relnotes4/doc/fr_FR.ISO8859-1/relnotes/alpha/docbook.css ? relnotes4/doc/fr_FR.ISO8859-1/relnotes/alpha/index.html ? relnotes4/doc/fr_FR.ISO8859-1/relnotes/alpha/x168.html ? relnotes4/doc/fr_FR.ISO8859-1/relnotes/alpha/x18.html ? relnotes4/doc/fr_FR.ISO8859-1/relnotes/i386/HTML.manifest ? relnotes4/doc/fr_FR.ISO8859-1/relnotes/i386/article.html ? relnotes4/doc/fr_FR.ISO8859-1/relnotes/i386/docbook.css ? relnotes4/doc/fr_FR.ISO8859-1/relnotes/i386/index.html ? relnotes4/doc/fr_FR.ISO8859-1/relnotes/i386/x168.html ? relnotes4/doc/fr_FR.ISO8859-1/relnotes/i386/x18.html ===> FAQ ===> advocacy ===> commercial ===> community ===> copyright ===> developers ===> docproj ===> docs ===> donations /usr/bin/sed -e 's///' wantlist.sgml | /usr/bin/env SGML_CATALOG_FILES= /usr/local/bin/sgmlnorm -d -ifreebsd.urls.absolute -c /usr/local/share/sgml/html/catalog -D /w/www/build/www/en/donations > wantlist.html || (/bin/rm -f wantlist.html && false) /usr/local/bin/sgmlnorm:0:523:9:E: document type does not allow element "TR" here /usr/local/bin/sgmlnorm:0:531:9:E: document type does not allow element "TR" here /usr/local/bin/sgmlnorm:0:538:9:E: document type does not allow element "TR" here /usr/local/bin/sgmlnorm:0:547:9:E: document type does not allow element "TR" here /usr/local/bin/sgmlnorm:0:559:11:E: "TR" not finished but containing element ended *** Error code 1 Stop in /w/www/build/www/en/donations. *** Error code 1 Stop in /w/www/build/www/en. 1.31 real 0.48 user 0.43 sys From owner-freebsd-doc@FreeBSD.ORG Wed Oct 19 06:06:04 2005 Return-Path: X-Original-To: doc@freebsd.org Delivered-To: freebsd-doc@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8FBDE16A41F for ; Wed, 19 Oct 2005 06:06:04 +0000 (GMT) (envelope-from avscan@jeunesse-sports.gouv.fr) Received: from pat.mjs.axime.com (pat.mjs.axime.com [160.92.112.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E20343D46 for ; Wed, 19 Oct 2005 06:06:03 +0000 (GMT) (envelope-from avscan@jeunesse-sports.gouv.fr) Received: by pat.mjs.axime.com (Postfix, from userid 1004) id 20B6C2D4735; Wed, 19 Oct 2005 08:06:02 +0200 (CEST) To: doc@freebsd.org Message-Id: <20051019060602.20B6C2D4735@pat.mjs.axime.com> Date: Wed, 19 Oct 2005 08:06:02 +0200 (CEST) From: avscan@jeunesse-sports.gouv.fr Cc: Subject: Alerte Virus X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Oct 2005 06:06:04 -0000 Le mail envoye a dr051@jeunesse-sports.gouv.fr le mercredi 19 octobre contient un virus From owner-freebsd-doc@FreeBSD.ORG Wed Oct 19 09:41:24 2005 Return-Path: X-Original-To: doc@FreeBSD.org Delivered-To: freebsd-doc@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9584E16A41F for ; Wed, 19 Oct 2005 09:41:24 +0000 (GMT) (envelope-from cuk@cuk.nu) Received: from nu.cuk.nu (tm.213.143.78.60.lc.telemach.net [213.143.78.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1169743D53 for ; Wed, 19 Oct 2005 09:41:19 +0000 (GMT) (envelope-from cuk@cuk.nu) Received: from localhost (localhost.cuk.nu [127.0.0.1]) by nu.cuk.nu (Postfix) with ESMTP id E64FCE043E for ; Wed, 19 Oct 2005 11:40:32 +0200 (CEST) Received: from nu.cuk.nu ([127.0.0.1]) by localhost (nu.cuk.nu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 20611-06 for ; Wed, 19 Oct 2005 11:40:32 +0200 (CEST) Received: from [127.0.0.1] (unknown [192.168.6.98]) by nu.cuk.nu (Postfix) with ESMTP id B4573E043B for ; Wed, 19 Oct 2005 11:40:31 +0200 (CEST) Message-ID: <435614A3.6090807@cuk.nu> Date: Wed, 19 Oct 2005 11:40:51 +0200 From: Marko Cuk User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: doc@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 0540-7, 07.10.2005), Outbound message X-Antivirus-Status: Clean X-Virus-Scanned: amavisd-new at NetInet.si Cc: Subject: RAID1 gmirror in handbook X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Oct 2005 09:41:24 -0000 Hello ! I have checked the documentation for gmirror - RAID1 in handbook and it has some minor mistakes, like Initialize GEOM; this will load the /boot/kernel/geom_mirror.ko kernel module: # geom load By my oppinion, more correct is gmirror load or "kldload geom_mirror.ko" Also, if you track manuals, you'll have problem with first disk, when inserting it to gm0 Output: gmirror cannot access provider ad0 Solution was, go to boot -s , dd if=/dev/zero of=/dev/ad0 bs=512 count=79 and then reinsert the disk. Many thanks, Marko Cuk, ftp2.si.freebsd.org owner. From owner-freebsd-doc@FreeBSD.ORG Wed Oct 19 10:15:42 2005 Return-Path: X-Original-To: freebsd-doc@FreeBSD.org Delivered-To: freebsd-doc@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E3B6E16A420 for ; Wed, 19 Oct 2005 10:15:42 +0000 (GMT) (envelope-from dwight@wwwalker.com.au) Received: from vscan02.westnet.com.au (vscan02.westnet.com.au [203.10.1.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id F2E2B43D55 for ; Wed, 19 Oct 2005 10:15:39 +0000 (GMT) (envelope-from dwight@wwwalker.com.au) Received: from localhost (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with ESMTP id D35FE11A2F3 for ; Wed, 19 Oct 2005 18:15:37 +0800 (WST) Received: from vscan02.westnet.com.au ([127.0.0.1]) by localhost (vscan02.westnet.com.au [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 20134-02 for ; Wed, 19 Oct 2005 18:15:37 +0800 (WST) Received: from godzilla (unknown [220.235.223.64]) by vscan02.westnet.com.au (Postfix) with SMTP id DDCEC11ABE1 for ; Wed, 19 Oct 2005 18:15:36 +0800 (WST) Message-ID: <007f01c5d496$0bca5700$40dfebdc@godzilla> From: "Dwight Walker" To: Date: Wed, 19 Oct 2005 20:15:34 +1000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 Cc: Subject: search limited by language X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Oct 2005 10:15:43 -0000 Please add a feature whereby I can choose english results when I use the search facility on your Website. I am getting a mix of languages coming back from the search button on www.freebsd.org which is throwing me into confusion at times! May be add a meta data tag that can be filtered on. Dwight Walker WWWalker Web Development Pty Ltd www.wwwalker.com.au From owner-freebsd-doc@FreeBSD.ORG Wed Oct 19 19:30:16 2005 Return-Path: X-Original-To: freebsd-doc@hub.freebsd.org Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD30216A420 for ; Wed, 19 Oct 2005 19:30:16 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE65843D69 for ; Wed, 19 Oct 2005 19:30:15 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j9JJUFn9061192 for ; Wed, 19 Oct 2005 19:30:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9JJUFQh061175; Wed, 19 Oct 2005 19:30:15 GMT (envelope-from gnats) Resent-Date: Wed, 19 Oct 2005 19:30:15 GMT Resent-Message-Id: <200510191930.j9JJUFQh061175@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Andreas Kohn" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4C2A216A420 for ; Wed, 19 Oct 2005 19:29:19 +0000 (GMT) (envelope-from andreas@syndrom23.de) Received: from vs159088.vserver.de (syndrom23.de [62.75.159.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F4C543D64 for ; Wed, 19 Oct 2005 19:29:18 +0000 (GMT) (envelope-from andreas@syndrom23.de) Received: from klamath.syndrom23.de ([212.204.44.203]) (authenticated bits=0) by vs159088.vserver.de (8.12.8/8.12.8) with ESMTP id j9JJT608004576 for ; Wed, 19 Oct 2005 21:29:14 +0200 Message-Id: <1129750157.0@klamath.syndrom23.de> Date: Wed, 19 Oct 2005 21:29:17 +0200 From: "Andreas Kohn" To: "FreeBSD gnats submit" X-Send-Pr-Version: gtk-send-pr 0.4.6 Cc: Subject: docs/87681: [PATCH] correct gettimeofday manpage, document one known bug X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Oct 2005 19:30:17 -0000 >Number: 87681 >Category: docs >Synopsis: [PATCH] correct gettimeofday manpage, document one known bug >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Wed Oct 19 19:30:15 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Andreas Kohn >Release: FreeBSD 7.0-CURRENT i386 >Organization: >Environment: System: FreeBSD 7.0-CURRENT #35: Sun Oct 2 14:16:27 CEST 2005 root@klamath.syndrom23.de:/usr/obj/usr/src/sys/KLAMATH >Description: struct timeval's tv_sec member should be time_t according to http://www.opengroup.org/onlinepubs/007908799/xsh/systime.h.html. It isn't on FreeBSD, due to alpha compatibility requirements with Tru64. The attached patch documents that, and also updates the description of the structs with the correct types found in _timeval.h For more information, please consider the thread starting at http://lists.freebsd.org/pipermail/freebsd-hackers/2005-October/013948.html >How-To-Repeat: N/A >Fix: --- gettimeofday.2.diff begins here --- Index: gettimeofday.2 =================================================================== RCS file: /storage/freebsd/cvs/src/lib/libc/sys/gettimeofday.2,v retrieving revision 1.25 diff -u -r1.25 gettimeofday.2 --- gettimeofday.2 2 Jul 2004 23:52:13 -0000 1.25 +++ gettimeofday.2 8 Oct 2005 16:27:40 -0000 @@ -82,8 +82,8 @@ .Pp .Bd -literal struct timeval { - long tv_sec; /* seconds since Jan. 1, 1970 */ - long tv_usec; /* and microseconds */ + long tv_sec; /* seconds since Jan. 1, 1970 */ + suseconds_t tv_usec; /* and microseconds */ }; struct timezone { @@ -133,3 +133,5 @@ .Fn gettimeofday system call appeared in .Bx 4.2 . +.Sh BUGS +The tv_sec member of struct timeval should be a time_t. --- gettimeofday.2.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-doc@FreeBSD.ORG Thu Oct 20 01:30:22 2005 Return-Path: X-Original-To: freebsd-doc@hub.freebsd.org Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5DCBC16A41F for ; Thu, 20 Oct 2005 01:30:22 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E168A43D68 for ; Thu, 20 Oct 2005 01:30:21 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j9K1ULAs012227 for ; Thu, 20 Oct 2005 01:30:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9K1ULlX012226; Thu, 20 Oct 2005 01:30:21 GMT (envelope-from gnats) Resent-Date: Thu, 20 Oct 2005 01:30:21 GMT Resent-Message-Id: <200510200130.j9K1ULlX012226@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Marian Cerny Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7C58C16A41F for ; Thu, 20 Oct 2005 01:28:51 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 262A343D62 for ; Thu, 20 Oct 2005 01:28:51 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j9K1So6x079702 for ; Thu, 20 Oct 2005 01:28:50 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j9K1Sord079701; Thu, 20 Oct 2005 01:28:50 GMT (envelope-from nobody) Message-Id: <200510200128.j9K1Sord079701@www.freebsd.org> Date: Thu, 20 Oct 2005 01:28:50 GMT From: Marian Cerny To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: docs/87698: No manual entry for rc.conf.local X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Oct 2005 01:30:22 -0000 >Number: 87698 >Category: docs >Synopsis: No manual entry for rc.conf.local >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Thu Oct 20 01:30:21 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Marian Cerny >Release: FreeBSD 5.4 >Organization: >Environment: FreeBSD potvorka 5.4-RELEASE-p1 FreeBSD 5.4-RELEASE-p1 #4: Tue Jul 5 12:16:35 CEST 2005 root@potvorka:/usr/obj/usr/src/sys/POTVORKA i386 >Description: There is no manual page for rc.conf.local: $ man rc.conf.local No manual entry for rc.conf.local although the rc(8) manual page describes it. >How-To-Repeat: $ man rc.conf.local >Fix: Add a link for manual page for rc.conf.local to rc(8) >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-doc@FreeBSD.ORG Thu Oct 20 04:20:21 2005 Return-Path: X-Original-To: freebsd-doc@hub.freebsd.org Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7BD0E16A41F for ; Thu, 20 Oct 2005 04:20:21 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4764043D5A for ; Thu, 20 Oct 2005 04:20:21 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j9K4KLJJ038882 for ; Thu, 20 Oct 2005 04:20:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9K4KLF6038881; Thu, 20 Oct 2005 04:20:21 GMT (envelope-from gnats) Date: Thu, 20 Oct 2005 04:20:21 GMT Message-Id: <200510200420.j9K4KLF6038881@freefall.freebsd.org> To: freebsd-doc@FreeBSD.org From: Brooks Davis Cc: Subject: Re: docs/87698: No manual entry for rc.conf.local X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Brooks Davis List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Oct 2005 04:20:21 -0000 The following reply was made to PR docs/87698; it has been noted by GNATS. From: Brooks Davis To: Marian Cerny Cc: freebsd-gnats-submit@freebsd.org Subject: Re: docs/87698: No manual entry for rc.conf.local Date: Wed, 19 Oct 2005 21:12:39 -0700 I don't get this PR. rc(8) says of rc.conf.local: The rc.conf file contains the global system configuration information referenced by the startup scripts, while rc.conf.local contains the local system configuration. See rc.conf(5) for more information. I suppose we could add a link for rc.conf.local in rc.conf(5), but it seems pretty pointless. I'd be more inclinded to delete refrences to rc.conf.local myself. -- Brooks From owner-freebsd-doc@FreeBSD.ORG Thu Oct 20 07:30:16 2005 Return-Path: X-Original-To: freebsd-doc@hub.freebsd.org Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6681416A41F for ; Thu, 20 Oct 2005 07:30:16 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 34A5843D64 for ; Thu, 20 Oct 2005 07:30:16 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j9K7UG9V062842 for ; Thu, 20 Oct 2005 07:30:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9K7UF91062841; Thu, 20 Oct 2005 07:30:16 GMT (envelope-from gnats) Date: Thu, 20 Oct 2005 07:30:16 GMT Message-Id: <200510200730.j9K7UF91062841@freefall.freebsd.org> To: freebsd-doc@FreeBSD.org From: Marian Cerny Cc: Subject: Re: docs/87698: No manual entry for rc.conf.local X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Marian Cerny List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Oct 2005 07:30:16 -0000 The following reply was made to PR docs/87698; it has been noted by GNATS. From: Marian Cerny To: Brooks Davis Cc: freebsd-gnats-submit@freebsd.org Subject: Re: docs/87698: No manual entry for rc.conf.local Date: Thu, 20 Oct 2005 09:23:16 +0200 Sorry, I probably don't understand links to manual pages. It's just strange to me, that there is no manual page for rc.conf.local, although rc(8) is describing it -- it is in the SYNOPSIS of rc(8) manual page. But if it is ok, this bug can be closed. I don't think the description of rc.conf.local in rc.conf(5) is better than in rc(8): The file /etc/rc.conf.local is used to override settings in /etc/rc.conf for historical reasons. See the rc_conf_files variable below. -- Marian Cerny From owner-freebsd-doc@FreeBSD.ORG Thu Oct 20 09:46:59 2005 Return-Path: X-Original-To: doc@freebsd.org Delivered-To: freebsd-doc@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C83D16A41F for ; Thu, 20 Oct 2005 09:46:59 +0000 (GMT) (envelope-from chofu.tap@ce.wakwak.com) Received: from mgdnp1.nw.wakwak.com (mgdnp1.nw.wakwak.com [219.103.130.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC46243D68 for ; Thu, 20 Oct 2005 09:46:58 +0000 (GMT) (envelope-from chofu.tap@ce.wakwak.com) Received: from vckyb2.nw.wakwak.com (postfix@vckyb2.nw.wakwak.com [211.9.230.145]) by mgdnp1.nw.wakwak.com (8.13.5/8.13.5/2005-10-04) with SMTP id j9K9kuF2019551 for ; Thu, 20 Oct 2005 18:46:56 +0900 (JST) (envelope-from chofu.tap@ce.wakwak.com) Received: from ce.wakwak.com (ce.wakwak.com [211.9.230.140]) by vckyb2.nw.wakwak.com (Postfix) with ESMTP id 6719140003 for ; Thu, 20 Oct 2005 18:46:56 +0900 (JST) Received: from [192.168.100.27] (z178.61-115-93.ppp.wakwak.ne.jp [61.115.93.178]) by ce.wakwak.com (8.13.5/8.13.5/2005-09-29) with ESMTP/inet id j9K9ktDl059706 for ; Thu, 20 Oct 2005 18:46:56 +0900 (JST) (envelope-from chofu.tap@ce.wakwak.com) User-Agent: Microsoft-Entourage/9.0.5 Date: Thu, 20 Oct 2005 18:49:44 +0900 From: Horinouchi Hiroyuki To: Message-ID: Mime-version: 1.0 Content-type: text/plain; charset="ISO-2022-JP" Content-transfer-encoding: 7bit Cc: Subject: About the description of the article(25.6.5.6 An Example Inclusive Ruleset) X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Oct 2005 09:46:59 -0000 Hellow Thank you for a polite reply for the other day . I hesitated whether to E-mail to "freebsd questions" or to E-mail to you. So it was a question on the description of the article, I decided will E-mail to you. If it is what should be E-mailed to "freebsd questions", Please forgive the failure of me who happens one after another. I noticed while reading the article$B!J(JFreeBSD HandBok 25.6.5.6 An Example Inclusive Ruleset) ,it took in the article as follows # Allow traffic in from ISP's DHCP server. This rule must contain # the IP address of your ISP.s DHCP server as it.s the only # authorized source to send this packet type. # Only necessary for cable or DSL configurations. # This rule is not needed for .user ppp. type connection to # the public Internet. This is the same IP address you captured # and used in the outbound section. #$cmd 00360 allow udp from any to x.x.x.x 67 in via $pif keep-state Though is being written "from any to x.x.x.x 67 in", Isn't it "from x.x.x.x to any 68 in" ? It apologizes if it is my misunderstanding. regards$B!$(J Hiroyuki From owner-freebsd-doc@FreeBSD.ORG Thu Oct 20 14:10:14 2005 Return-Path: X-Original-To: freebsd-doc@hub.freebsd.org Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 53A2016A42D for ; Thu, 20 Oct 2005 14:10:14 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8016843D5A for ; Thu, 20 Oct 2005 14:10:13 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j9KEADbR020584 for ; Thu, 20 Oct 2005 14:10:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9KEADRZ020583; Thu, 20 Oct 2005 14:10:13 GMT (envelope-from gnats) Resent-Date: Thu, 20 Oct 2005 14:10:13 GMT Resent-Message-Id: <200510201410.j9KEADRZ020583@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Marcus Franke Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5E30F16A41F for ; Thu, 20 Oct 2005 14:00:50 +0000 (GMT) (envelope-from marcus@marcus.innurtec.de.kliff.de) Received: from smtp.kliff.de (smtp.kliff.de [80.239.136.89]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F73F43D62 for ; Thu, 20 Oct 2005 14:00:49 +0000 (GMT) (envelope-from marcus@marcus.innurtec.de.kliff.de) Received: from exsrv01.innurtec.de ([85.183.128.34]) by smtp.kliff.de (8.11.6/8.11.6) with ESMTP id j9KE0ja13280 for ; Thu, 20 Oct 2005 16:00:45 +0200 Received: from marcus.innurtec.de ([192.168.1.136]) by exsrv01.innurtec.de with Microsoft SMTPSVC(6.0.3790.211); Thu, 20 Oct 2005 16:00:45 +0200 Received: from marcus.innurtec.de (localhost [127.0.0.1]) by marcus.innurtec.de (8.13.1/8.13.1) with ESMTP id j9KE0XJM004933 for ; Thu, 20 Oct 2005 16:00:33 +0200 (CEST) (envelope-from marcus@marcus.innurtec.de) Received: (from marcus@localhost) by marcus.innurtec.de (8.13.1/8.13.1/Submit) id j9KE0WvL004932; Thu, 20 Oct 2005 16:00:32 +0200 (CEST) (envelope-from marcus) Message-Id: <200510201400.j9KE0WvL004932@marcus.innurtec.de> Date: Thu, 20 Oct 2005 16:00:32 +0200 (CEST) From: Marcus Franke To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: docs/87725: error in documentation X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Marcus Franke List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Oct 2005 14:10:14 -0000 >Number: 87725 >Category: docs >Synopsis: error in documentation >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Thu Oct 20 14:10:13 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Marcus Franke >Release: FreeBSD 5.3-RELEASE-p23 i386 >Organization: eVendi GmbH & Co. KG >Environment: System: FreeBSD marcus.innurtec.de 5.3-RELEASE-p23 FreeBSD 5.3-RELEASE-p23 #7: Wed Oct 12 15:00:18 CEST 2005 root@marcus.innurtec.de:/usr/src/sys/i386/compile/MARCUS i386 >Description: The file in /usr/share/examples/cvsup/refuse.README contains the following lines: You can copy "refuse" to your sup directory and add or remove whatever you like. The example supfiles in this directory set CVSup's base directory to "/usr". The sup directory is in the base directory; i.e., it is "/usr/sup". If you have changed your base directory, your sup directory is /path/to/base/sup. This is wrong, as base is set to "/var/db/" and the directory for the refuse file is /var/db/sup/ and not "/usr/sup". The option prefix is set to /usr >How-To-Repeat: read the examples for cvsup >Fix: Change the text to /var/db >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-doc@FreeBSD.ORG Thu Oct 20 14:55:52 2005 Return-Path: X-Original-To: freebsd-doc@freebsd.org Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E01D616A421 for ; Thu, 20 Oct 2005 14:55:52 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from mv.twc.weather.com (mv.twc.weather.com [65.212.71.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 686D243D66 for ; Thu, 20 Oct 2005 14:55:52 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from [10.50.41.234] (Not Verified[10.50.41.234]) by mv.twc.weather.com with NetIQ MailMarshal (v6, 0, 3, 8) id ; Thu, 20 Oct 2005 11:12:26 -0400 From: John Baldwin To: freebsd-doc@freebsd.org, Marian Cerny Date: Thu, 20 Oct 2005 10:57:06 -0400 User-Agent: KMail/1.8.2 References: <200510200730.j9K7UF91062841@freefall.freebsd.org> In-Reply-To: <200510200730.j9K7UF91062841@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200510201057.07107.jhb@freebsd.org> Cc: Subject: Re: docs/87698: No manual entry for rc.conf.local X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Oct 2005 14:55:53 -0000 On Thursday 20 October 2005 03:30 am, Marian Cerny wrote: > The following reply was made to PR docs/87698; it has been noted by GNATS. > > From: Marian Cerny > To: Brooks Davis > Cc: freebsd-gnats-submit@freebsd.org > Subject: Re: docs/87698: No manual entry for rc.conf.local > Date: Thu, 20 Oct 2005 09:23:16 +0200 > > Sorry, I probably don't understand links to manual pages. It's just > strange to me, that there is no manual page for rc.conf.local, although > rc(8) is describing it -- it is in the SYNOPSIS of rc(8) manual page. > But if it is ok, this bug can be closed. > > I don't think the description of rc.conf.local in rc.conf(5) is better > than in rc(8): > > The file /etc/rc.conf.local is used to override settings in > /etc/rc.conf for historical reasons. See the rc_conf_files variable below. It's a file that has the same format as /etc/rc.conf, so rc.conf(5) should handle both just fine. As long as rc(8) mentions that rc.conf.local exists to override settings in rc.conf I think things are fine the way they are without the need for any additional links. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org From owner-freebsd-doc@FreeBSD.ORG Thu Oct 20 22:10:15 2005 Return-Path: X-Original-To: freebsd-doc@hub.freebsd.org Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E942816A41F for ; Thu, 20 Oct 2005 22:10:15 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2769943D66 for ; Thu, 20 Oct 2005 22:10:15 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j9KMAFnO091939 for ; Thu, 20 Oct 2005 22:10:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9KMAFGo091938; Thu, 20 Oct 2005 22:10:15 GMT (envelope-from gnats) Resent-Date: Thu, 20 Oct 2005 22:10:15 GMT Resent-Message-Id: <200510202210.j9KMAFGo091938@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jacques Marneweck Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7DF0416A41F for ; Thu, 20 Oct 2005 22:01:31 +0000 (GMT) (envelope-from jacques@prometheus.powertrip.co.za) Received: from prometheus.powertrip.co.za (prometheus.powertrip.co.za [72.21.46.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 387FF43D5A for ; Thu, 20 Oct 2005 22:01:31 +0000 (GMT) (envelope-from jacques@prometheus.powertrip.co.za) Received: from jacques by prometheus.powertrip.co.za with local (Exim 4.52 (FreeBSD)) id 1ESiTZ-0008LJ-BL for FreeBSD-gnats-submit@freebsd.org; Fri, 21 Oct 2005 00:01:29 +0200 Message-Id: Date: Fri, 21 Oct 2005 00:01:29 +0200 From: Jacques Marneweck To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: docs/87762: Fixes various anoncvs examples to work X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jacques Marneweck List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Oct 2005 22:10:16 -0000 >Number: 87762 >Category: docs >Synopsis: Fixes various anoncvs examples to work >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Thu Oct 20 22:10:14 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Jacques Marneweck >Release: FreeBSD 5.4-RELEASE-p7 i386 >Organization: Ataris Technologies >Environment: n/a >Description: Currently the examples for using anoncvs via SSH and pserver do not work. I've attached a patch which resolves these problems by fixing the anoncvs username for anoncvs.freebsd.org and using the japanese anoncvs mirror for the pserver method. >How-To-Repeat: Try use the anoncvs examples on the anoncvs handbook page. >Fix: --- handbook-anoncvs.patch begins here --- Index: doc/en_US.ISO8859-1/books/handbook/mirrors/chapter.sgml =================================================================== RCS file: /home/ncvs/doc/en_US.ISO8859-1/books/handbook/mirrors/chapter.sgml,v retrieving revision 1.387 diff -u -r1.387 chapter.sgml --- doc/en_US.ISO8859-1/books/handbook/mirrors/chapter.sgml 11 Sep 2005 08:16:19 -0000 1.387 +++ doc/en_US.ISO8859-1/books/handbook/mirrors/chapter.sgml 20 Oct 2005 21:56:51 -0000 @@ -456,7 +456,7 @@ Checking Out Something from -CURRENT (&man.ls.1;) and Deleting It Again: - &prompt.user; setenv CVSROOT :pserver:anoncvs@anoncvs.FreeBSD.org:/home/ncvs + &prompt.user; setenv CVSROOT :pserver:anoncvs@anoncvs.jp.FreeBSD.org:/home/ncvs &prompt.user; cvs login At the prompt, enter the password anoncvs. &prompt.user; cvs co ls @@ -468,7 +468,7 @@ Using SSH to check out the <filename>src/</filename> tree: - &prompt.user; cvs -d freebsdanoncvs@anoncvs.FreeBSD.org:/home/ncvs co src + &prompt.user; cvs -d anoncvs@anoncvs.FreeBSD.org:/home/ncvs co src The authenticity of host 'anoncvs.freebsd.org (128.46.156.46)' can't be established. DSA key fingerprint is 52:02:38:1a:2f:a8:71:d3:f5:83:93:8d:aa:00:6f:65. Are you sure you want to continue connecting (yes/no)? yes @@ -479,7 +479,7 @@ Checking Out the Version of &man.ls.1; in the 3.X-STABLE Branch: - &prompt.user; setenv CVSROOT :pserver:anoncvs@anoncvs.FreeBSD.org:/home/ncvs + &prompt.user; setenv CVSROOT :pserver:anoncvs@anoncvs.jp.FreeBSD.org:/home/ncvs &prompt.user; cvs login At the prompt, enter the password anoncvs. &prompt.user; cvs co -rRELENG_3 ls @@ -491,7 +491,7 @@ Creating a List of Changes (as Unified Diffs) to &man.ls.1; - &prompt.user; setenv CVSROOT :pserver:anoncvs@anoncvs.FreeBSD.org:/home/ncvs + &prompt.user; setenv CVSROOT :pserver:anoncvs@anoncvs.jp.FreeBSD.org:/home/ncvs &prompt.user; cvs login At the prompt, enter the password anoncvs. &prompt.user; cvs rdiff -u -rRELENG_3_0_0_RELEASE -rRELENG_3_4_0_RELEASE ls @@ -502,7 +502,7 @@ Finding Out What Other Module Names Can Be Used: - &prompt.user; setenv CVSROOT :pserver:anoncvs@anoncvs.FreeBSD.org:/home/ncvs + &prompt.user; setenv CVSROOT :pserver:anoncvs@anoncvs.jp.FreeBSD.org:/home/ncvs &prompt.user; cvs login At the prompt, enter the password anoncvs. &prompt.user; cvs co modules --- handbook-anoncvs.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-doc@FreeBSD.ORG Fri Oct 21 12:16:39 2005 Return-Path: X-Original-To: docs@freebsd.org Delivered-To: freebsd-doc@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE91D16A41F for ; Fri, 21 Oct 2005 12:16:39 +0000 (GMT) (envelope-from ivoras@fer.hr) Received: from geri.cc.fer.hr (geri.cc.fer.hr [161.53.72.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B31243D46 for ; Fri, 21 Oct 2005 12:16:38 +0000 (GMT) (envelope-from ivoras@fer.hr) Received: from geri.cc.fer.hr (localhost.cc.fer.hr [127.0.0.1]) by geri.cc.fer.hr (8.13.4/8.13.1) with ESMTP id j9LCC1bQ089421 for ; Fri, 21 Oct 2005 14:12:01 +0200 (CEST) (envelope-from ivoras@fer.hr) Received: from localhost (ivoras@localhost) by geri.cc.fer.hr (8.13.4/8.13.1/Submit) with ESMTP id j9LCC0J5089418 for ; Fri, 21 Oct 2005 14:12:00 +0200 (CEST) (envelope-from ivoras@fer.hr) X-Authentication-Warning: geri.cc.fer.hr: ivoras owned process doing -bs Date: Fri, 21 Oct 2005 14:12:00 +0200 (CEST) From: Ivan Voras Sender: ivoras@geri.cc.fer.hr To: docs@freebsd.org Message-ID: <20051021140844.B89360@geri.cc.fer.hr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Subject: "myths" X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Oct 2005 12:16:40 -0000 Compelled by frequently seeing some misconceptions about FreeBSD, I've started a small page about it: http://ivoras.sharanet.org/stuff/myths/freebsd_myths.html I can host it here, but if there's a better place for it, I'd be glad to host it there. Also, if there are any factual errors on it, please notify me :)