Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Feb 2012 20:15:22 +0100
From:      Remko Lodder <remko@elvandar.org>
To:        Jimmy Olgeni <olgeni@FreeBSD.org>
Cc:        cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org
Subject:   Re: cvs commit: ports/sysutils/webmin Makefile distinfo ports/sysutils/webmin/files patch-aa patch-ajaxterm_ajaxterm_ajaxterm.py
Message-ID:  <E7CCAFE3-0008-4D91-98FD-5DA381E84F35@elvandar.org>
In-Reply-To: <201202131324.q1DDOD1u060965@repoman.freebsd.org>
References:  <201202131324.q1DDOD1u060965@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On Feb 13, 2012, at 2:24 PM, Jimmy Olgeni wrote:

> olgeni      2012-02-13 13:24:13 UTC
>=20
>  FreeBSD ports repository
>=20
>  Modified files:
>    sysutils/webmin      Makefile distinfo=20
>    sysutils/webmin/files patch-aa=20
>  Added files:
>    sysutils/webmin/files patch-ajaxterm_ajaxterm_ajaxterm.py=20
>  Log:
>  Upgrade to version 1.580.
>=20


Please note that people using Webmin and Virtualmin (GPL) together _and_ =
running on FreeBSD9
are not able to use the Quota module. A fix had been written by jcameron =
and the diff is pasted below
in case you want to use it (it will be fixed in 1.590!)

--- freebsd-lib.pl.20120210     2012-02-03 21:16:59.000000000 +0100
+++ freebsd-lib.pl      2012-02-10 07:57:43.000000000 +0100
@@ -240,11 +240,17 @@
 @line =3D split(/\n/, $_[0]);
 for($i=3D0; $i<@line; $i++) {
        if ($line[$i] =3D~ /^(\S+): (blocks|kbytes) in use: (\d+), =
limits \(soft =3D (\d+), hard =3D (\d+)\)$/ && $1 eq $_[1]) {
-               # found lines to change
+               # found lines to change, old style
                $rv .=3D "$1: $2 in use: $3, limits (soft =3D $_[2], =
hard =3D $_[3])\n";
                $line[++$i] =3D~ /^\s*inodes in use: (\d+), limits =
\(soft =3D (\d+), hard =3D (\d+)\)$/;
                $rv .=3D "\tinodes in use: $1, limits (soft =3D $_[4], =
hard =3D $_[5])\n";
                }
+       elsif ($line[$i] =3D~ /^(\S+): in use: (\d+)k, limits \(soft =3D =
(\d+)k, hard =3D (\d+)k\)$/ && $1 eq $_[1]) {
+               # found lines to change, new style
+               $rv .=3D "$1: in use: ${2}k, limits (soft =3D $_[2]k, =
hard =3D $_[3]k)\n";
+               $line[++$i] =3D~ /^\s*inodes in use: (\d+), limits =
\(soft =3D (\d+), hard =3D (\d+)\)$/;
+               $rv .=3D "\tinodes in use: $1, limits (soft =3D $_[4], =
hard =3D $_[5])\n";
+               }
        else { $rv .=3D "$line[$i]\n"; }
        }
 return $rv;


--=20
/"\   With kind regards,			| remko@elvandar.org
\ /   Remko Lodder			| remko@FreeBSD.org
X    FreeBSD					| =
http://www.evilcoder.org
/ \   The Power to Serve		| Quis custodiet ipsos custodes




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E7CCAFE3-0008-4D91-98FD-5DA381E84F35>