Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Apr 2006 05:03:35 -0300 (ADT)
From:      "Marc G. Fournier" <scrappy@hub.org>
To:        Thierry Thomas <thierry@FreeBSD.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: BEWARE upgrading Horde System
Message-ID:  <20060409050018.X1096@ganymede.hub.org>
In-Reply-To: <20060408075305.GB58919@graf.pompo.net>
References:  <20060407032220.W947@ganymede.hub.org> <1144391457.23833.6.camel@shumai.marcuscom.com> <44363371.9050200@fromley.net> <20060407141831.GA65673@pentarou.parodius.com> <20060408075305.GB58919@graf.pompo.net>

next in thread | previous in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--0-82532469-1144569815=:1096
Content-Type: TEXT/PLAIN; charset=X-UNKNOWN; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE

On Sat, 8 Apr 2006, Thierry Thomas wrote:

> Le Ven  7 avr 06 =E0 16:18:31 +0200, Jeremy Chadwick <freebsd@jdc.parodiu=
s.com>
> =E9crivait=A0:
>> On Fri, Apr 07, 2006 at 10:40:01AM +0100, Spadge wrote:
>>> Why not overwrite the .dist and leave the .conf as it was? OK, so it ma=
y
>>
>> Many ports work this way (re: keeping the .conf).  The port maintainer
>> should address this, as many others have done.
>
> OK, I must admit that I don't know how to handle properly installation /
> configuration / deinstallation / reinstallation of the Horde's ports.

Actually, I think you've done a fine job ... my *only* beef is arbitrarily=
=20
moving aside of the config files that I've already configured ... if I=20
download a horde package, and untar that over top of my existing setup, to=
=20
upgrade, *it* doesn't do it ... and if I use CVS to update from the=20
anoncvs server, it doesn't remove my config files ... the FreeBSD port=20
shouldn't either ...

IMHO, if you applied the following to get rid of the behaviour, that would=
=20
fix things ... and, IMHO, that is the only thing that *is* broken with the=
=20
port ... I install from ports, for applications like Horde, to make sure=20
that all dependencies are in place ...

diff -c files/pkg-install.in.orig files/pkg-install.in
*** files/pkg-install.in.orig   Sun Apr  9 07:56:56 2006
--- files/pkg-install.in        Sun Apr  9 07:57:24 2006
***************
*** 101,117 ****
               chown -R $hordeusr:$hordegrp $hordedir || exit 1
           fi

-         if [ -z "${PACKAGE_BUILDING}" ]; then
-             # Don't reset the config to default (PR ports/88621)
-
-             for cf in `ls %%HORDEDIR%%/config/*php`; do
-                 if [ -f $cf.previous ]; then
-                     mv $cf $cf.new
-                     echo "--->   $cf not installed ***"
-                     echo "--->       please copy from $cf.previous ***"
-                     echo "--->                or from $cf.new      ***"
-                 fi
-             done
-         fi
         ;;
   esac
--- 101,105 ----




>
> Since the very first version of these ports, I have tried several
> solutions and accepted many patches, but I have never found a widespread
> agreement. Maintainership is now available.
> --=20
> Th. Thomas.
>

----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email: scrappy@hub.org           Yahoo!: yscrappy              ICQ: 7615664
--0-82532469-1144569815=:1096--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060409050018.X1096>