Re: Retirement of drupal5 port

2011-07-30 Thread Chris Rees
On 7 March 2011 15:25, Nick Hilliard n...@foobar.org wrote:
 Hello,

 http://drupal.org/node/880550

 Drupal 5 will no longer be maintained when Drupal 7 is released. Upgrading
 to Drupal 6 is recommended.

 As drupal5 is now no longer maintained, I would like to schedule the removal
 of the freebsd drupal5 port from the ports tree at some stage in the near
 future.  So, unless anyone has any overriding objections, my preference
 would be to see it deleted on or around 2011/06/01, i.e. 5 months after
 drupal7 is released, and about 2 months from now.


Just for anyone following this, I've deprecated the drupal5* ports and
switched to using bsd.drupal.mk in Mk/ rather than drupal5/ [1]. I've
also sent in a PR to make a USE_DRUPAL knob to make it easier for
ports to use the drupal macros [2].

Chris


[1] http://lists.freebsd.org/pipermail/cvs-ports/2011-July/222066.html
[2] http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/159288

-- 
Chris Rees          | FreeBSD Developer
cr...@freebsd.org   | http://people.freebsd.org/~crees
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Time to mark portupgrade deprecated?

2011-07-30 Thread Michel Talon
Chris Brennan wrote:

 On 7/26/2011 3:28 PM, RW wrote:
  It seems more reasonable than the idea that most people using FreeBSD
  are doing so despite being very unhappy with FreeBSD ports. If
  that's=
 
  really true then we should give Beastie nipple-clamps and a ball-gag
  to=
 
  better appeal to our key demographic.
  ___
  freebsd-ports@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-ports
  To unsubscribe, send any mail to
  freebsd-ports-unsubscr...@freebsd.org=
 
 
 +1 just because the thought of that is funny as hell!

As a testimonial to the diabolical nature of FreeBSD yesterday i have
installed a PC with FreeBSD-8.2 RELEASE, using the distributed packages
(pkg_add -r). When installing gimp, something went south. After some
checks it was avahi-app which refused to install, the reason being
that pw groupadd -n avahi failed, with the message:
group disappeared during update
This from /usr/src/usr.sbin/pw/pw_group.c  line 271.
How is it that such an error, perhaps due to some 
concurrent access bug, happens in such an irregular way that it is
still present since many years? In my installation, several other
packages used pw to add to the group and passwd files (hald, etc.) but
the error was triggered only by avahi-app, on the other hand it was 100%
reproductible for avahi-app.  I have seen this problem many times in the
past.

The only way i was able to proceed was to run
pkg_add -I -r avahi-app
after that the other dependencies of gimp and gimp itself installed OK.
I don't remember that this error was blocking in this way in the past,
but it is very worrisome, i don't see a beginner being able to cope with
such problem.

Still another problem in my installation i have an inn server which sucks
news via newsx. Inn installed OK but newsx doesn't appear on the freebsd
repository. I try to compile newsx, of course it fails. The reason? 
the inn installation lacks all the configuration files under
/usr/local/news/etc  !  More than that the conf files appear nowhere
on the machine! How a user is supposed to figure out how to write such
files without the models at hand? I have installed inn several times,
i have never seen that. Some maintainer has found judicious to remove
the conf files (perhaps to avoid overwriting a preexisting installation,
but this is the bad way to solve the problem). Anyways, without
etc/inn.conf,  newsx cannot compile, since it picks its own
configuration from inn.conf. So by doing this change the inn maintainer
has broken newsx inadvertently, and of course no one noticed.
This is emblematic of many other ports which are mismanaged, introduce
tons of unnecessary dependencies which complicate everything, etc.
For example, installing the port xorg installed things such as pyton and
ruby which have zero relation with the problem at hand. It also
installed perl but this is required for autoconfiguration of the server,
i think. On the bright side, installing xorg produced a working X11
display without any configuration except running dbusd and hald.

I have at least one positive point to report, for the first time i see
printing working in wxMaxima, in the past either it didn't work at all
or coredumped. So someone has understood the printing problem in the wx
toolkit, this is nice.

This post is ways too long, but i hope more informative that comments
such as 
Nuts
ushered by some phd student who apparently value himself at
tremendous heights.  As to the poster objection, one may very well use
FreeBSD for some other qualities, even if one is not happy with the
state of the ports system. And to the more general objection that all
this is unrelated to the thread subject, portupgrade, it is 
*extremely* related, because no upgrading tool can work, be it 
portupgrade, portmaster, or whatever, in the presence of the sorts of
bugs i have described above in the basic ports system. An obvious flaw
of portupgrade is that it is very slow, other than that i think it is a
pretty good program.  Similarly portmaster is a brilliant example of
shell scripting and works OK as far as i can see. The real problems are
in the ports system itself.



-- 

Michel TALON

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


nscd vs. ports that add user/group (Was: Time to mark portupgrade deprecated?)

2011-07-30 Thread Test Rat
Test Rat ttse...@gmail.com writes:

 As a testimonial to the diabolical nature of FreeBSD yesterday i have
 installed a PC with FreeBSD-8.2 RELEASE, using the distributed packages
 (pkg_add -r). When installing gimp, something went south. After some
 checks it was avahi-app which refused to install, the reason being
 that pw groupadd -n avahi failed, with the message:
 group disappeared during update
 [...]

 Did you have nscd(8) running at the time? Try invalidating its cache.

Nevermind previous patch. This one actually works.

%% it's still an ugly hack
Index: usr.sbin/pw/pwupd.c
===
--- usr.sbin/pw/pwupd.c (revision 224499)
+++ usr.sbin/pw/pwupd.c (working copy)
@@ -191,6 +191,7 @@ pw_update(struct passwd * pwd, char const * user,
}
}
}
+   system(nscd -I passwd 2/dev/null 2);
return rc;
 }
 
Index: usr.sbin/pw/grupd.c
===
--- usr.sbin/pw/grupd.c (revision 224499)
+++ usr.sbin/pw/grupd.c (working copy)
@@ -148,6 +148,7 @@ gr_update(struct group * grp, char const * group,
}
if (grbuf != NULL)
free(grbuf);
+   system(nscd -I group 2/dev/null 2);
return l;
 }
 
%%
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: nscd vs. ports that add user/group (Was: Time to mark portupgrade deprecated?)

2011-07-30 Thread Michel Talon
On Sat, Jul 30, 2011 at 04:02:55PM +0400, Test Rat wrote:
  Did you have nscd(8) running at the time? Try invalidating its cache.
 
 Nevermind previous patch. This one actually works.

You may be perfectly right, i think i have added nscd to the
installation after having added hald, etc. but before adding
avahi-app. However i have seen such problems in the past, before the
introduction of nscd, as far as i remember.

 
 %% it's still an ugly hack
 Index: usr.sbin/pw/pwupd.c
 ===
 --- usr.sbin/pw/pwupd.c   (revision 224499)
 +++ usr.sbin/pw/pwupd.c   (working copy)
 @@ -191,6 +191,7 @@ pw_update(struct passwd * pwd, char const * user,
   }
   }
   }
 + system(nscd -I passwd 2/dev/null 2);
   return rc;
  }
  
 Index: usr.sbin/pw/grupd.c
 ===
 --- usr.sbin/pw/grupd.c   (revision 224499)
 +++ usr.sbin/pw/grupd.c   (working copy)
 @@ -148,6 +148,7 @@ gr_update(struct group * grp, char const * group,
   }
   if (grbuf != NULL)
   free(grbuf);
 + system(nscd -I group 2/dev/null 2);
   return l;
  }
  
 %%

Many thanks for the suggestion.

-- 

Michel TALON

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Claws-Mail marked as BROKEN

2011-07-30 Thread Carmel
I am in the process of setting up a new PC and wanted to install
claws-mail as my MUA. I have it all ready installed on another
machine I use. This port, unfortunately, is marked:

BROKEN= does not compile

I sincerely hope that this is not going to be a permanent condition. I
presently have claws-mail version 3.7.9 installed on another machine
running FreeBSD-8.2/amd64, so I am not exactly sure why it all of a
sudden stopped compiling.

-- 
Carmel ✌
carmel...@hotmail.com

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Claws-Mail marked as BROKEN

2011-07-30 Thread Pawel Pekala
Dnia 2011-07-30, o godz. 09:08:20
Carmel carmel...@hotmail.com napisał(a):

I am in the process of setting up a new PC and wanted to install
claws-mail as my MUA. I have it all ready installed on another
machine I use. This port, unfortunately, is marked:

BROKEN= does not compile

I`m working on fix right now. If you comment this line it should
compile just fine as problem appears to show only in clean
tinderbuild environment (software we use to test our ports).

I sincerely hope that this is not going to be a permanent condition. I
presently have claws-mail version 3.7.9 installed on another machine
running FreeBSD-8.2/amd64, so I am not exactly sure why it all of a
sudden stopped compiling.


Soon I will come up with patch and will commit today or tomorrow after
my mentors approve my work. Sorry for delay I was little busy lately.

-- 
pozdrawiam / with regards
Paweł Pękala
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Time to mark portupgrade deprecated?

2011-07-30 Thread Chuck Swiger
On Jul 30, 2011, at 4:03 AM, Michel Talon wrote:
[ ... ]
 The real problems are in the ports system itself.

You've said this before.  Come to think of it, you've said this so often that 
I've lost count of the number of times you've repeated the point.  However, 
flogging the same dead horse over and over does not constitute forward progress.

Speaking of which, if you'd spent some of this time filing bug reports instead, 
then it's very likely that at least some of the issues you claim to keep 
running into would be fixed by now.  However, as far as I can tell from a quick 
search, you've never filed even one FreeBSD PR?

Methinks 'tis time to change your approach: The clock upbraids me with the 
waste of time.

Regards,
-- 
-Chuck

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


portmaster unattended run?

2011-07-30 Thread Lev Serebryakov
Hello, Freebsd-ports.

  How could I run `portmaster' without ANY questions and
confirmations?
  Simple and obvious `portmaster --no-confirm -y list of ports'
doesn't work. It asks:

 (1) About interactive ports.
 (2) About removing old distfiles
 (3) About errors from `tar' when create backup archive with old
 versions.
-- 
// Black Lion AKA Lev Serebryakov l...@freebsd.org

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: portmaster unattended run?

2011-07-30 Thread Chris Rees
On 30 Jul 2011 18:44, Lev Serebryakov l...@freebsd.org wrote:

 Hello, Freebsd-ports.

  How could I run `portmaster' without ANY questions and
 confirmations?
  Simple and obvious `portmaster --no-confirm -y list of ports'
 doesn't work. It asks:

  (1) About interactive ports.
  (2) About removing old distfiles
  (3) About errors from `tar' when create backup archive with old
 versions.
 --

Grab a sample postmasterrc -- the options are pretty well explained.

Chris
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


UPDATING 20110730

2011-07-30 Thread Andriy Gapon
 20110730:
   AFFECTS: users of x11-toolkits/gtk20
   AUTHOR: gn...@freebsd.org
 
   The gtk-update-icon-cache utility has been slipt out of the gtk20 port.

A minor typo in the above line - slipt - split.

   Use the following instructions to update your system.
   
   # pkg_delete -f gtk-2.\*
   # portmaster x11-toolkits/gtk20

I would like to warn other users and at the same time ask for alternative
instructions.

I have a regular (consumer) HDD and not so huge amount of RAM.
I also have many (maybe very many) ports depending on gtk20 and some other
loosely related ports like glib and gobject-introspection.
Execution of the above command already takes more than an hour which is spent
inside portmaster.  I have hundreds of lines like the following in portmaster
output:

=== x11-toolkits/gtk20 is listed as a dependency
=== but there is no installed version

=== Try portmaster --check-depends

=== devel/gobject-introspection is listed as a dependency
=== but there is no installed version

=== Try portmaster --check-depends

=== devel/gobject-introspection is listed as a dependency
=== but there is no installed version

=== Try portmaster --check-depends

This carpet of output starts with:
=== Updating dependency entry for gio-fam-backend-2.28.8 in each dependent 
port

   # portmaster -a


-- 
Andriy Gapon
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


portmaster === No ORIGIN in /var/db/pkg/xearth-1.1_2/+CONTENTS

2011-07-30 Thread Anton Shterenlikht
I maintain astro/xearth.
What is the meaning of the above portmaster warning?

Thanks

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


SOLVED: Re: portmaster === No ORIGIN in /var/db/pkg/xearth-1.1_2/+CONTENTS

2011-07-30 Thread Anton Shterenlikht
On Sat, Jul 30, 2011 at 09:14:00PM +0100, Anton Shterenlikht wrote:
 I maintain astro/xearth.
 What is the meaning of the above portmaster warning?

Deinstalled, reinstalled and the ORIGIN appeared.

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: portmaster unattended run?

2011-07-30 Thread Doug Barton
On 07/30/2011 10:44, Lev Serebryakov wrote:
 Hello, Freebsd-ports.
 
   How could I run `portmaster' without ANY questions and
 confirmations?
   Simple and obvious `portmaster --no-confirm -y list of ports'
 doesn't work. It asks:
 
  (1) About interactive ports.

Portmaster is always going to notify you if a port is marked
interactive, this is a feature. Fortunately very few ports are.

  (2) About removing old distfiles

There is an option in the man page for this.

  (3) About errors from `tar' when create backup archive with old
  versions.

There are options for this too. You really need to read the man page.


Doug

-- 

Nothin' ever doesn't change, but nothin' changes much.
-- OK Go

Breadth of IT experience, and depth of knowledge in the DNS.
Yours for the right price.  :)  http://SupersetSolutions.com/

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: SOLVED: Re: portmaster === No ORIGIN in /var/db/pkg/xearth-1.1_2/+CONTENTS

2011-07-30 Thread Doug Barton
On 07/30/2011 13:20, Anton Shterenlikht wrote:
 On Sat, Jul 30, 2011 at 09:14:00PM +0100, Anton Shterenlikht wrote:
 I maintain astro/xearth.
 What is the meaning of the above portmaster warning?
 
 Deinstalled, reinstalled and the ORIGIN appeared.

Glad it worked out for you. This is the correct solution, FYI.


Doug

-- 

Nothin' ever doesn't change, but nothin' changes much.
-- OK Go

Breadth of IT experience, and depth of knowledge in the DNS.
Yours for the right price.  :)  http://SupersetSolutions.com/

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


FreeBSD Port: cfs-1.4.1_5

2011-07-30 Thread Marc Santhoff
Hi,

to get cfs working on CURRENT the remote file name has to be changed. On
7-STABLE the one used now is correct:

   localhost:/

and does work but on 9-CURRENT this leads to a permission denied error
from nfsd because the mount is tried on / - as the string above
implies. Using:

   localhost:/usr/local/cfsd-bootstrap

instead succeeds on CURRENT.

Another small hint:
It may be a good idea to ad a note to the +DISPLAY of the port saying
that all users allowed to cattach their private cfs dirs have to have
access rights on the cfs mount point.

Regards,
Marc

-- 
Marc Santhoff m.santh...@web.de

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org