Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Dec 2001 00:57:00 -0600
From:      "Scot W. Hetzel" <hetzels@westbend.net>
To:        "James E. Housley" <jeh@FreeBSD.ORG>, "Maxim Sobolev" <sobomax@FreeBSD.ORG>
Cc:        "Mikhail Teterin" <mi@aldan.algebra.com>, <joseph@randomnetworks.com>, <lioux@FreeBSD.ORG>, <cvs-all@FreeBSD.ORG>, <ports@FreeBSD.ORG>
Subject:   Re: cvs commit: ports/www Makefile ports/www/frontpage-es  Makefiledistinfo pkg-comment
Message-ID:  <00b701c19036$21e6eba0$11fd2fd8@westbend.net>
References:  <200112282206.fBSM6kf36064@aldan.algebra.com> <1009581412.225.2.camel@notebook> <3C2D18FB.855F80EC@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
As the maintainer of these ports let, I'll try to answer a few of these
questions:

From: "James E. Housley" <jeh@FreeBSD.ORG>
> Maxim Sobolev wrote:
> >
> > On Sat, 2001-12-29 at 00:06, Mikhail Teterin wrote:
> > > On 28 Dec, Maxim Sobolev wrote:
> > > > On Fri, 2001-12-28 at 20:32, Mikhail Teterin wrote:
> > > >> On 28 Dec, James E. Housley wrote:
> > > >> >> # >   Added files:
> > > >> >> # >     www/frontpage-es     Makefile distinfo pkg-comment
> > > >> >> # >   Log:
> > > >> >> # >   o New port frontpage-es version 5.0.2.2623: Microsoft
Frontpage
> > > >> >> # >     Spanish Web Administration
> > > >> >> # >   o Slave port of Microsoft Frontpage Arabic Web
Administration port
> > > >> [...]
> > > >> >> # This sequence  of frontpage-<language> ports is  pretty
scary...
> > > >> >> # Can't  we  have it  all  under  one  port  with a  dialog
based
> > > >> >> # configure to  ask which language  should be used?  Defaulting
to
> > > >> >> # $LANG, for example...
> > >
> > > >> >>         I'd like to  second this idea. In addition  a quick
glance
> > > >> >> at the  porter's handbook doesn't mention  this situation,
perhaps
> > > >> >> it should.
> > > >>
> > > >> > Except with  a "language dialog"  there wont be packages  built
for
> > > >> > each language.
> > > >>
> > > >> IMO, that,  really, is a  problem with our official  package
building
> > > >> setup  (bento). It  hardly justifies  having  15 new  ports ON
EVERY
> > > >> FreeBSD INSTALLATION, that installs ports collection.
> > > >

While one port for the FrontPage Web Admin pages would be ideal, how would
bento build it (all languages, default language, one package/language)?

There are only 13 language specific FrontPage Web Admin ports (w/support for
15 languages) (www/frontpage-<lang>). Which have a RUN_DEPENDS on the
FrontPage Extention port (www/frontpage).

The justification is that when installing Apache13-fp (or mod_frontpage)
package, it would require the FrontPage Extentsions package.  Then if you
would like the FrontPage Web Admin pages in your own language, all that
would be needed is to install one of the <lang>-frontpage packages.  No need
to re-build the FrontPage Extentsion port with the language of your choice.
Also, allows you to install additional or remove FrontPage Web Admin
language packages .

> > > > Patches are welcome, ya know.
> > >
> > > That's a bit off-topic, Max, please, don't change the subject. The
ports
> > > quality is the primary target. The  wide choice of pre-built
packages --
> > > the secondary.  It seems,  the quality  of the  ports collection  can
be
> > > improved  by merging  the  frontpage-<slave> ports  into one
(frontpage
> > > itself), even if  that means there will be no  prebuilt packages for
the
> > > slaves for some time.

The frontpage-<lang> ports are not slave ports of frontpage port. They are
slave ports to the first FrontPage Web Admin port (www/frontpage-ar).  And
you do not want to merge them into the FrontPage Extentsion port
(www/frontpage), see further below for explation.

> >
> > Look, you are complaining that there is no way to build several packags
> > from one port with "options", but don't provide any reasonable way it
> > could be improved. Replacing several frontpage-foo ports with one port
> > with "options" doesn't count, because it's worse than the current setup
> > when pre-built packages are considered. I don't see why you think that
> > pre-built packages are "the secondary". If the maintainer(s) feel
> > comfortable maintaining N ports - so be it, it's his/their business, not
> > yours.
> >
As the maintainer, I feel that this is currently the only way to get
packages built for each of the FrontPage Web Admin pages ports.

>
> For this specific case, a single port with multiple laguages, I have a
> concept for a solution.  It is still rough and I don't have any patches
> for bento's scripts yet.  I will use the www/frontpage-* as an example
> here.
>
> * If in www/frontpage "make -UBATCH" is done, ie not in BATCH mode then
> a dialog will pop-up for language selection.
>
> * If in www/frontpage "make -DBUILD_LANGUAGE=ar" then the proper pieces
> for arabic will be included, including PKGNAMEPREFIX.
>
> * A new variable will be added to www/frontpage/Makefile for the
> specifying the languages to be built.  "LANGUAGES= ar de ex fr he it ja
> ko nl pt sv th zh"  The scripts on bento would be modified so that if
> the variable LANGUAGES existed then it would build a package for that
> port, settting BUILD_LANGUAGE to each value in the array.  I suppose
> there would need to be away to say build an english version with out an
> extension.
>
> There might need to be another variable added to the package .tgz file
> with information about the language or what ever.
>
Something like:
     @comment PORT_BUILD_OPTION=%%PORT_OPTIONS%%

While this example sounds like a good idea, you do not want to combine the
frontpage port with the frontpage-<lang> ports.  Because if these ports are
combined the <lang>-frontpage packages will increase in size from .5M to 16M
(freebsd FP Exts) , 18.5M (bsdi FP Exts), and 22.5M (alpha FP Exts) [14
packages total of 224M, 259M, 315M].

Currently the total size of the 13 <lang>-frontpage packages is 7.5M, and
the size of the frontpage packages are 15.5M (freebsd FP Ext), 18M (bsdi FP
Ext), or 22M (alpha FP Exts) [14 packages total of 23M, 25.5M, 29.5M].

The13 frontpage-<lang> ports could be combined into a frontpage-webadmin
port,  with the following requirements:

    1. only 1 language may be built/installed by the port at a time (no
multiple language selections [dialog --menu]).  Allows individual languages
to be installed/uninstalled (port maintainer).
    2. bento able to create multiple packages from the frontpage-webadmin
port (?).
    3. port upgrade tool (i.e. portupgrade) able to properly upgrade the
frontpage-webadmin port for each installed language (port upgrade tool
maintainers).

    An english package of the frontpage-webadmin port would not be
necessary, as the frontpage port installs both the frontpage extensions and
the english webadmin pages.

Scot Hetzel
apache13-fp, frontpage* maintainer


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00b701c19036$21e6eba0$11fd2fd8>