gettext and libiconv conflicting

2014-02-22 Thread Sergey Matveychuk

Hi.

How to fix?

Installing libiconv-1.14_1...pkg-static: libiconv-1.14_1 conflicts with 
gettext-0.18.1.1 (installs files into the same place).  Problematic 
file: /usr/local/lib/charset.alias

___
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: gettext and libiconv conflicting

2014-02-22 Thread Sergey Matveychuk

22.02.2014 22:18, Sergey Matveychuk wrote:

Hi.

How to fix?

Installing libiconv-1.14_1...pkg-static: libiconv-1.14_1 conflicts with
gettext-0.18.1.1 (installs files into the same place).  Problematic
file: /usr/local/lib/charset.alias


Found in UPDATING:

20130316:
  AFFECTS: users of converters/libiconv and devel/gettext
  AUTHOR: b...@freebsd.org

  libiconv now handles the lib/charset.alias file instead of devel/gettext.
  If you are using pkgng 'and' upgrading from source with portupgrade or
  portmaster, first delete gettext, upgrade libiconv, then reinstall 
gettext.


___
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


looking for testers/maintainer for sysutils/grub2

2013-02-21 Thread Sergey Matveychuk

Hi.

I'm looking for users of grub2, who could test (and may be maintain) 
sysutils/grub2 port. Please, write me.

___
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: port DNS/UNBOUND

2012-07-21 Thread Sergey Matveychuk

20.07.2012 10:36, Chris Rees пишет:

On 20 July 2012 05:07, Sunpoet Hsieh sunp...@sunpoet.net wrote:

Hi,

You can use .if empty(PORT_OPTIONS:Mfoo) to check if option foo is
off. Try this:

.if empty(PORT_OPTIONS:MTHREADS)
CONFIGURE_ARGS+=--without-pthreads
.endif



Quite correct, and I've filed such in a PR.

http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/170007

Thanks for noticing Alexey!

Chris



I'm on vacation now. Could you commit it please?

Thank you.
___
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: portupgrade omniORB

2012-06-11 Thread Sergey Matveychuk

11.06.2012 17:10, Andrea Venturoli wrote:

Hello.

It looks like I cannot portupgrade omniORB.
Solution is to deinstall and reinstall, but I thought I'd report this.



Thanks. I'll take a look.
___
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


checking conflicts on build stage

2011-09-13 Thread Sergey Matveychuk

Hello.

Who did the subject and why?

# portupgrade -f -o /usr/ports/mail/exim exim-mysql-4.71
===  exim-4.76 conflicts with installed package(s):
  exim-mysql-4.71

  They install files into the same place.
  You may want to stop build with Ctrl + C.
===  Vulnerability check disabled, database not found
===  License check disabled, port has not defined LICENSE
===  Found saved configuration for exim-4.76
= exim-4.76.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/exim.
= Attempting to fetch ftp://ftp.exim.org/pub/exim/exim4/exim-4.76.tar.bz2
exim-4.76.tar.bz2 100% of 1568 kB   55 kBps 
00m00s


===  exim-4.76 conflicts with installed package(s):
  exim-mysql-4.71

  They will not build together.
  Please remove them first with pkg_delete(1).

Why conflicts checked on fetch stage (but it's not fatal) and on build 
stage (fatal)? Of course, portupgrade do pkg_delete *after* build.


--
Sem.
___
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: net-mgmt/cacti default install location?

2011-02-07 Thread Sergey Matveychuk

05.02.2011 11:04, Marin Atanasov Nikolov wrote:

Hello,

Is there a specific reason that net-mgmt/cacti default install location
is /usr/local/share/cacti ?

Wouldn't /usr/local/www/cacti be a better place for that ?

It's somehow a more preferred location for installing web applications
there, IMO.


You can define install location as you want:
make CACTIDIR=/usr/local/www/cacti install

I don't remember datails, but it was a security reason do not place 
cacti to this location. May be it was discussed in ports@ or private 
emails. I dont remeber now, sorry.


--
Sem.
___
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: FreeBSD Port: grub2-1.98

2010-10-11 Thread Sergey Matveychuk

10.10.2010 15:22, Rick wrote:

  Hello, I have a couple FreeBSD patches for grub2 to contribute.  These
allow grub to install to FreeBSD gpt partitions.



1) Have you sent the patches to grub developers?
2) Do you want to be a maintainer of the port on FreeBSD?

--
Sem.
___
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: FreeBSD Port: grub2-1.98

2010-10-11 Thread Sergey Matveychuk

11.10.2010 19:38, Rick wrote:

2) If that would be helpful then I don't mind.  What is the best way to
submit PRs for updates?


send-pr(1) I guess.

--
Sem.
___
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


compilation error of php52

2010-06-09 Thread Sergey Matveychuk

Hi.

I've update apache20 to the freshest version and I've tried update 
php52, but fails with a compilation error:


-
/bin/sh /usr/ports/lang/php52/work/php-5.2.13/libtool --silent 
--preserve-dup-deps --mode=compile cc  -I/usr/local/include/apache2 
-D_REENTRANT -D_THREAD_SAFE -I/usr/local/include/apr-0 
-I/usr/local/include/apr-0 -I/usr/local/include 
-I/usr/local/include/db42 -Isapi/apache2handler/ 
-I/usr/ports/lang/php52/work/php-5.2.13/sapi/apache2handler/ 
-DPHP_ATOM_INC -I/usr/ports/lang/php52/work/php-5.2.13/include 
-I/usr/ports/lang/php52/work/php-5.2.13/main 
-I/usr/ports/lang/php52/work/php-5.2.13 
-I/usr/ports/lang/php52/work/php-5.2.13/ext/date/lib 
-I/usr/local/include/libxml2 -I/usr/local/include 
-I/usr/ports/lang/php52/work/php-5.2.13/TSRM 
-I/usr/ports/lang/php52/work/php-5.2.13/Zend-O2 -fno-strict-aliasing 
-pipe -march=prescott  -prefer-non-pic -c 
/usr/ports/lang/php52/work/php-5.2.13/sapi/apache2handler/sapi_apache2.c 
-o sapi/apache2handler/sapi_apache2.lo

In file included from /usr/local/include/apache2/httpd.h:44,
 from 
/usr/ports/lang/php52/work/php-5.2.13/sapi/apache2handler/

php_apache.h:24,
 from 
/usr/ports/lang/php52/work/php-5.2.13/sapi/apache2handler/

mod_php5.c:26:
/usr/local/include/apache2/ap_regex.h:90: error: conflicting types for 
'regoff_t

'
/usr/ports/lang/php52/work/php-5.2.13/regex/regex.h:17: error: previous 
declarat

ion of 'regoff_t' was here
*** Error code 1
In file included from /usr/local/include/apache2/httpd.h:44,
/bin/sh /usr/ports/lang/php52/work/php-5.2.13/libtool --silent 
--preserve-dup-de
ps --mode=compile cc  -I/usr/local/include/apache2  -D_REENTRANT 
-D_THREAD_SAFE
-I/usr/local/include/apr-0   -I/usr/local/include/apr-0 
-I/usr/local/include -I/
usr/local/include/db42 -Isapi/apache2handler/ 
-I/usr/ports/lang/php52/work/php-5
.2.13/sapi/apache2handler/ -DPHP_ATOM_INC 
-I/usr/ports/lang/php52/work/php-5.2.1
3/include -I/usr/ports/lang/php52/work/php-5.2.13/main 
-I/usr/ports/lang/php52/w
ork/php-5.2.13 -I/usr/ports/lang/php52/work/php-5.2.13/ext/date/lib 
-I/usr/local
/include/libxml2 -I/usr/local/include 
-I/usr/ports/lang/php52/work/php-5.2.13/TS
RM -I/usr/ports/lang/php52/work/php-5.2.13/Zend-O2 
-fno-strict-aliasing -pip
e -march=prescott  -prefer-non-pic -c 
/usr/ports/lang/php52/work/php-5.2.13/sapi

/apache2handler/sapi_apache2.c -o sapi/apache2handler/sapi_apache2.lo
In file included from /usr/local/include/apache2/httpd.h:44,
 from 
/usr/ports/lang/php52/work/php-5.2.13/sapi/apache2handler/

php_apache.h:24,
 from 
/usr/ports/lang/php52/work/php-5.2.13/sapi/apache2handler/

mod_php5.c:26:
/usr/local/include/apache2/ap_regex.h:90: error: conflicting types for 
'regoff_t

'
/usr/ports/lang/php52/work/php-5.2.13/regex/regex.h:17: error: previous 
declarat

ion of 'regoff_t' was here
*** Error code 1
In file included from /usr/local/include/apache2/httpd.h:44,
-

I've fixed it by commenting of the line:

typedef int regoff_t;

in /usr/local/include/apache2/ap_regex.h but I wonder if somebody got 
the error too?

--
Sem.
___
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: Can someone explain this? (portupgrade of textproc/p5-Perl-Critic

2010-06-09 Thread Sergey Matveychuk

09.06.2010 19:54, Paul Schmehl wrote:

First it checks for prereqs and finds them all. Then it checks for
prereqs and says they're missing. Then it generates three stops due to
errors, and at the end it says the upgrade was successful??? WTF???

And it *is not* installed. I'm still working to get all the prereqs
installed, even though they already were. What exactly is the problem
with this port?



Unfortunately sometimes portupgrade can't detect some failures (failures 
for portupgrade is any output to stderr). As I can remember it has 
happened after one of ruby updates. I could not find a reason for this 
behaviour.


--
Semy.
___
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: FreeBSD Port: unbound-1.3.3

2009-11-17 Thread Sergey Matveychuk

Gareth Hopkins wrote:

Hi There,

Any chance of getting the unbound port upgraded to 1.3.4 ?

Thanks


Yes. I hope to finish today.

--
Dixi.
Sem.
___
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: Cacti installation error

2009-07-21 Thread Sergey Matveychuk

Tom Evans пишет:

On Tue, 2009-07-21 at 20:14 +0800, Romeo Paras wrote:

I already free some spaces and when I tried it again by running ' make
install clean' i received these errors;


cacti-0.8.7e depends on file: /usr/local/lib/php/20060613/session.so - found

=== cacti-0.8.7e depends on file: /usr/local/lib/php/20060613/sockets.so -
found
=== cacti-0.8.7e depends on file: /usr/local/lib/php/20060613/snmp.so -
found
=== cacti-0.8.7e depends on file: /usr/local/lib/php/20060613/xml.so -
found
=== cacti-0.8.7e depends on shared library: mysqlclient.15 - found
cacti:*:107:
You already have a group cacti, so I will use it.
pw: user 'cacti' already exists
Adding user cacti failed...
*** Error code 1

stop at /usr/ports/net-mgmt/cacti


what will I do next? thanks


Try freebsd-ports@, this doesn't seem to be related to X11 at all. 


The error message seems to be that it failed to add the user because it
already exists - perhaps try removing the user and retrying the
installation.



It should be happened really:
if ${PW} user show ${CACTIUSER} 2/dev/null; then
echo You already have a user \${CACTIUSER}\, so I 
will use it

.
else
if ${PW} useradd ${CACTIUSER} -u ${UID} -g 
${CACTIGROUP} -h - \
-d /nonexistent -s /sbin/nologin -c Cacti 
Sandbox

then
echo Added user \${CACTIUSER}\.
else
echo Adding user \${CACTIUSER}\ failed...
exit 1
fi
fi

What FreeBSD version you use?

--
Dixi.
Sem.
___
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


Future of portupgrade

2009-07-21 Thread Sergey Matveychuk

Hi.

As you probably know, I've maintained portupgrade for the last three 
years. Unfortunately my free time dramatically decreased and about half 
year I did for portupgrade really little.


I did not want to leave portupgrade unmaintained and after a discussion 
with stas@ I've decided to pass maintainership to ruby@ team.


Thanks all for your patches, wishes and questions you sent me to make 
portupgrade better. I hope our ruby team will able care about it.


--
Dixi.
Sem.
___
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: Portupgrade still broken?

2009-04-20 Thread Sergey Matveychuk

Torfinn Ingolfsen wrote:

Hello again,

Just a reminder: portupgrade 2.4.6 hasn't been fixed yet - it is still broken:


Yes, I remember, thanks. I'm very busy this year. I'd glad to give 
maintainership to somebody else. Write me, if you like.


--
Dixi.
Sem.
___
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: portupgrade-devel: portversion -vl'' does not show current version

2009-04-09 Thread Sergey Matveychuk

OK. I've just committed a patch.

Sandra Kachelmann wrote:

Hi

I _really_ still miss this functionality :-( Could you please re-implement it?

Sandra





Sergey Matveychuk s...@freebsd.org
Date
3 Jul 2008 09:50:58
Subject
Re: portupgrade-devel: portversion -vl'' does not show current version
Message-ID
486ca0af.3020...@freebsd.org

In reply to
Sandra Kachelmann
References to
Sandra Kachelmann
Replies
Robert Huff
Referenced by
Robert Huff, Sergey Matveychuk


Sandra Kachelmann wrote:

After upgrading from portupgrade to portupgrade-devel the command

$ portversion -vl''

does not show the _current_ version anymore. Why was it removed? I
found the information useful.

before:
gnutls-2.4.0  needs updating (port has 2.4.1)

now:
gnutlsneeds updating (port has 2.4.1)


Looks like it's a side effect of new options implementation. Now you can
use -Fvl options. But I'll think to back this functionality.

Thanks.
--
Dixi.
Sem.



--
Dixi.
Sem.
___
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: portupgrade-devel: portversion -vl'' does not show current version

2009-04-09 Thread Sergey Matveychuk

Robert Huff wrote:

Sandra Kachelmann writes:


 I _really_ still miss this functionality :-( Could you please
 re-implement it? 


Try the -F switch.
(I believe this used to be the default, but Something Happened(tm)
within the last year to make it necessary to use it explicitly.
There was a message (somewhere) about making it the default again
,,, but that seems to have not happened.)


Yeap, it was a side effect of one patch I got. I've just fixed it.

--
Dixi.
Sem.
___
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: Correct way to portupgrade php5 and php5-extensions-1.1 ?

2008-09-09 Thread Sergey Matveychuk

Frederique Rijsdijk wrote:

Hi,

Following the most recent update of PHP5 (5.2.6_2) and subsequent 
portaudit warnings for 5.2.6, I've been upgrading lang/php5 and 
lang/php5-extensions-1.1 on a number of machines.


My question is, what is the best way to do this. Some options come to mind:

1) portupgrade -fpb php5-5.2.6 php5-extensions-1.1

or

2) portupgrade -fpb php5\*


The command is OK. It rebuilds all ports that starts with php5 in 
dependency order.


--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Portupgrade has serious problems

2008-09-08 Thread Sergey Matveychuk

David Southwell wrote:
---  Skipping 'x11-toolkits/ruby-gtk2' (ruby18-gtk2-0.16.0.20080706) because 
a requisite package 'ruby18-gdk_pixbuf2-0.16.0.20080706' () failed 
(specify -k to force)


Empty brackets display a problem with a database. But for some reason it 
can't be detected by bdb engine.


---  Skipping 'devel/ruby-libglade2' (ruby18-libglade2-0.16.0.20080706) 
because a requisite package 'ruby18-gtk2-0.16.0.20080706' 
(x11-toolkits/ruby-gtk2) failed (specify -k to force)


All these problems have identical symptoms and are fixed by rerunning 
portupgrade!!
It looks as though portupgrade is failing to reexamine the database after each 
upgrade OR is searching for a dependency which is limited to the previous 
version!


Could you remove both /var/db/pkg/pkgdb.db and /usr/ports/INDEX*.db and 
rerun portupgrade? They will be recreated automatically.


--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Portupgrade has serious problems

2008-09-04 Thread Sergey Matveychuk

David Southwell wrote:

On Tuesday 02 September 2008 08:26:26 you wrote:

Show please an output of the command:
pkg_info -o apache-2.2.9


Following up this one here is another weirdo::
ttp://httpd.apache.org/
===  Cleaning for apache-2.2.9_5
---  Cleaning out obsolete shared libraries
[Updating the pkgdb format:bdb_btree in /var/db/pkg ... - 1047 packages 
found (-0 +1) . done]
---  Skipping 'bsdpan-Term-ReadLine-Perl-1.0302' because it is held by user 
(specify -f to force)

---  Skipping 'devel/p5-IO' because it is held by user (specify -f to force)
---  Skipping 'graphics/ImageMagick' (ImageMagick-6.4.3.4) because a 
requisite package 'apache-2.2.9_3' () failed (specify -k to force)
---  Skipping 'bsdpan-Shell-0.72' because it is held by user (specify -f to 
force)
---  Skipping 'misc/p5-Array-Compare' because it is held by user (specify -f 
to force)
---  Skipping 'devel/p5-Devel-Symdump' because it is held by user (specify -f 
to force)

** Listing the failed packages (-:ignored / *:skipped / !:failed)
 


Here we have another example of portupgrade gets its dependencies in a twist.

Not install Image-Magick on the grounds that apache, which it has just 
upgraded does not have the previous version installed.


This is a constant repeat of the same problem as has happened with kde and 
elsewjhere




Just again. Show pkg_info -o apache-2.2.9_5 please.

--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade fails with quoted options

2008-09-03 Thread Sergey Matveychuk

Naram Qashat wrote:

Sergey Matveychuk wrote:

Naram Qashat wrote:

Sergey Matveychuk wrote:

Naram Qashat wrote:
Notice how WITH_MODULES has quotes around it and then escaped 
quotes inside it?  It shouldn't be doing things like that.  I 
don't know ruby (I only made that above script from looking at 
some parts of portupgrade, but I have almost no understanding of 
ruby), so I can't give a fix for this.


Try the patch please. (cd /usr/local/lib/ruby/site_ruby/1.8; patch  
~/pkgmisc.rb.diff)

Does it fix the problem for you?



It seems like it got a little farther, but it still bombed.  I'm not 
sure if the  new problems is a problems in portupgrade's ruby scripts 
or if it's something in the Makefiles themselves:


---  Reinstalling 'apache-2.2.9_3' (www/apache22)
---  Building '/usr/ports/www/apache22' with make flags: BATCH=yes 
WITH_OPENSSL_PORT=yes WITH_OPENSSL=yes WITHOUT_GNOME=esound 
WITHOUT_CUPS=yes WITH_BDB_VER=46 WITH_MYSQL_VER=50 
WITH_OPTIMIZED_CFLAGS=yes WITHOUT_APACHE_OPTIONS=yes 
WITH_PCRE_FROM_PORTS=yes WITH_MYSQL=yes WITH_BDB=yes WITH_SUEXEC=yes 
SUEXEC_LOGFILE=/var/log/www/httpd-suexec.log WITH_MODULES=actions 
alias auth_basic auth_digest authn_dbd authn_default authz_default 
authz_host authz_user autoindex cgi dav dav_fs dav_lock dbd deflate 
dir echo env expires filter headers ident imagemap include info 
log_config log_forensic logio mime mime_magic negotiation rewrite 
setenvif status suexec unique_id userdir version vhost_alias

/usr/ports/Mk/bsd.apache.mk, line 261: Need an operator
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! www/apache22 (apache-2.2.9_3) (clean error)

But that does seem to be a step in a right direction.

Naram Qashat


Quotas still there!
Can you open file /usr/local/lib/ruby/site_ruby/1.8/pkgmisc.rb and add 
after line 96: arg.gsub(/([$\\\`])/, \\1) the line:

arg.gsub(/\/, )
?

It should fix the error.
Looks like it's a long standing bug from a knu@ era :)
If it's OK for you, I'll add the patch to a portupgrade port.


That doesn't fix it.  I would suspect it would make it worse because it 
would treat all the options after the first one in WITH_MODULES as if 
they were passed to make directly instead of via a knob.  It still gives 


Are you complete sure in it? My tests shows the knob passed as one 
argument in command line.



the same error from bsd.apache.mk though.


OK. So I need more free time to check it.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Portupgrade has serious problems

2008-09-03 Thread Sergey Matveychuk

David Southwell wrote:

===  Cleaning for apache-2.2.9_2
---  Cleaning out obsolete shared libraries
[Updating the pkgdb format:bdb_btree in /var/db/pkg ... - 1047 packages 
found (-0 +1) . done]
---  Skipping 'graphics/gimp-app' (gimp-app-2.4.6_1,1) because a requisite 
package 'apache-2.2.9' () failed (specify -k to force)


It's not a first report. Something has happened with an origin.

Show please an output of the command:
pkg_info -o apache-2.2.9

--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: pkg_add fixing dependencies

2008-07-15 Thread Sergey Matveychuk

Anders Nore wrote:
So my question is, shouldn't pkg_add -r zip check installed packages 
for dependencies and make a correct +REQUIRED_BY file for zip? I know 
that portupgrade and portmaster does this.


As I understand, adding and upgrading should be separate processes.

When you add a package, you should check if an old version of the 
package or conflicting packages exist and install package otherwise.


When you update a package, you save all dependency info, delete an old 
package, add a new one and restore dependency info. To have a recursion 
is good here (update depended packages or packages that depend on the 
package) as user choice.


There are some unclean cases there. E.g. packages with different 
PREFIXes, etc.


--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade fails to upgrade the package because the older version is installed

2008-07-14 Thread Sergey Matveychuk

Andriy Gapon wrote:

on 12/07/2008 01:01 Sergey Matveychuk said the following:

Andriy Gapon wrote:

on 10/07/2008 11:18 Yuri said the following:

David Southwell wrote:

Did you follow the instructions in UPDATING (see below)?
They may have some bearing on the problem.

20080701:
  AFFECTS: users of devel/subversion*
  AUTHOR: Lev Serebryakov [EMAIL PROTECTED]

  subversion now uses neon-0.28.x (www/neon28) port, and automatic
  portupgrade will fail because neon26 will conflict with installed
  neon26.
  You should upgrade neon library tohgether with subversion with

  # portupgrade -o www/neon28 neon subversion

  command.

  Also, if you use special subversion port with bindings, you
  should upgrade your port to clean subversion port with

  # portupgrade -o devel/subversion subversion-\*

  and install needed bindings (p5-subversion, py-subversion and/or
  ruby-subversion) after that.

  If you use subversion with bindings, installed from devel/subversion
  with custom options, don't forget to install separate bindings ports
  after subversion upgrade.
__-

David
  


No, command portupgrade -o www/neon28 neon subversion causes the same
error message itself.


Manually deinstall neon26 (you might want to create a backup with
pkg_create -b) and then install neon28 and then proceed as usual with
subversion.
portupgrade -o seems to be broken.



Really?


Yes. At least for me. When I reported the issue I got now follow-ups - 
nobody said that it works for them and nobody said that they see the 
same issue.


This command works:
# portupgrade -o www/neon28 neon26

I'll fix UPDATING entry.

--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade fails to upgrade the package because the older version is installed

2008-07-14 Thread Sergey Matveychuk

Andriy Gapon wrote:

on 14/07/2008 14:57 Sergey Matveychuk said the following:

Andriy Gapon wrote:

on 14/07/2008 14:32 Sergey Matveychuk said the following:

This command works:
# portupgrade -o www/neon28 neon26

I'll fix UPDATING entry.

Is the reverse operation supposed to work?

$ pkg_glob neon\*
neon28-0.28.2_1
$ portupgrade -o www/neon26 neon28
$ portupgrade -o www/neon26 www/neon28
$



Yes.



It didn't work for me (nothing was done as shown above).
Could you please check if it works for you (if you can) ?



version 2.8 is alway  than 2.6. So you must use -f option here:

portupgrade -fo www/neon26 neon28

portupgrade will no update ports on older version if you did not force it.

--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade fails to upgrade the package because the older version is installed

2008-07-14 Thread Sergey Matveychuk

Andriy Gapon wrote:

on 14/07/2008 15:18 Sergey Matveychuk said the following:

version 2.8 is alway  than 2.6. So you must use -f option here:

portupgrade -fo www/neon26 neon28

portupgrade will no update ports on older version if you did not force it.



yes, -f does the job, thanks!
But, on the other hand, hmm, aren't we comparing versions of an apple
and of an orange here?
I think we already had this discussion. neon26 and neon28 are two
different ports (and packages). Yes, they happen to share neon in
their names, moreover, they happen to actually be the same software. But
still they are two distinct port.
E.g. what if I used portupgrade -o to switch between devel/fam and
devel/gamin.


I've already had talk about this issue. But portupgrade was designed 
this way. Unfortunately I have no time to rewrite the code. Sorry.


--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Port: quagga-0.99.10_3

2008-07-11 Thread Sergey Matveychuk

Daniel Dvořák пишет:

Hi Sergey,

may the problem with lock pid_file messages be connected with running 
watchquagga daemon ?

Here is what I have got in rc.conf file:

quagga_enable=YES
quagga_flags=-d
quagga_daemons=zebra ospfd ospf6d bgpd Is this order okay ?


It's a correct order.


quagga_extralibs_path=
quagga_delay=10
watchquagga_enable=YES
watchquagga_flags=-dz -R '/usr/local/sbin/zebra -d; /usr/local/sbin/ospfd -d; /usr/local/sbin/ospf6d -d; /usr/local/sbin/bgpd -d' zebra ospfd 
ospf6d bgpd  I hope this syntax is right one.


I'd recommend this flags instead:
-dz -R '/usr/local/etc/rc.d/quagga restart' zebra ospfd ospf6d bgpd

--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade fails to upgrade the package because the older version is installed

2008-07-11 Thread Sergey Matveychuk

Yuri wrote:

I got the error below during portupgrade -aP.

Why wouldn't portupgrade just upgrade neon?

'pkgdb -F' doesn;t find any problems.

Yuri

===  Installing for neon28-0.28.2_1

===  neon28-0.28.2_1 conflicts with installed package(s):
 neon26-0.26.4_1

 They install files into the same place.
 Please remove them first with pkg_delete(1).
*** Error code 1

Stop in /usr/ports/www/neon28.


Unfortunately portupgrade knows nothing about how neon26 relate with 
neon28. You should upgrade it by yourself with the command:

portupgrade -o www/neon28 neon

How it's described in entry 20080701 of UPDATING file. Reading this file 
is useful when you got any troubles. Or even better before you any 
upgrading.

--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Port: upsd-2.0.1.6_1

2008-07-11 Thread Sergey Matveychuk

Yves Guérin wrote:

Hello,

I redo the rc.d script

#!/bin/sh


# PatrioteBSD - Yves Guerin - [EMAIL PROTECTED] - 2008-07-10
#
# JAMAIS TESTE AVEC upsd_enable=yes
# NEVER TESTED WITH upsd_enable=YES
#

# mettre dans /etc/rc.conf: upsd_enable=YES


I don't think it's a good idea to have comments not in English.


# PROVIDE: upsd
# REQUIRE: DAEMON
# BEFORE: shutdown

. /etc/rc.subr

name=upsd
upsd_enable=${upsd_enable:-NO}
rcvar=`set_rcvar`

start_cmd=upsd_start
stop_cmd=upsd_stop

upsd_start()
{
[ -x /usr/local/sbin/upsd ]  /usr/local/sbin/upsd  echo -n ' upsd'
}

upsd_stop()
{
 [ -f /var/run/upsd.pid ]  kill -QUIT `cat /var/run/upsd.pid`  echo 
-n ' upsd'
}


Really start/stop could be (and should be) done with rc.subr subroutines.



load_rc_config $name
run_rc_command $1



--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade fails to upgrade the package because the older version is installed

2008-07-11 Thread Sergey Matveychuk

Andriy Gapon wrote:

on 10/07/2008 11:18 Yuri said the following:

David Southwell wrote:

Did you follow the instructions in UPDATING (see below)?
They may have some bearing on the problem.

20080701:
  AFFECTS: users of devel/subversion*
  AUTHOR: Lev Serebryakov [EMAIL PROTECTED]

  subversion now uses neon-0.28.x (www/neon28) port, and automatic
  portupgrade will fail because neon26 will conflict with installed
  neon26.
  You should upgrade neon library tohgether with subversion with

  # portupgrade -o www/neon28 neon subversion

  command.

  Also, if you use special subversion port with bindings, you
  should upgrade your port to clean subversion port with

  # portupgrade -o devel/subversion subversion-\*

  and install needed bindings (p5-subversion, py-subversion and/or
  ruby-subversion) after that.

  If you use subversion with bindings, installed from devel/subversion
  with custom options, don't forget to install separate bindings ports
  after subversion upgrade.
__-

David
  


No, command portupgrade -o www/neon28 neon subversion causes the same
error message itself.


Manually deinstall neon26 (you might want to create a backup with
pkg_create -b) and then install neon28 and then proceed as usual with
subversion.
portupgrade -o seems to be broken.



Really? Are you sure you use 2.4.3_2 version?
Anyway using -o should be only with one port. It may work not as you 
expected.


--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade complains Makefile possibly broken: lang/php5

2008-07-09 Thread Sergey Matveychuk

Yuri wrote:

Sergey Matveychuk wrote:

Yuri wrote:

I am having the following problem while updating he ports:

# /usr/local/sbin/portupgrade -aP

** Makefile possibly broken: lang/php5:
   apxs:Error: /usr/local/bin/apr-1-config not found!.
   /usr/ports/Mk/bsd.apache.mk, line 287: warning: 
/usr/local/sbin/apxs -q MPM_NAME returned non-zero status

   php5-5.2.6



It's not enough info. Show pkg_info output.



I mailed pkg_info output few days ago.
Any hope to have this fixed?


Really the message is quite understandable. You have no 
/usr/local/bin/apr-1-config.


Install devel/apr port or reinstall apache with WITH_APR_FROM_PORTS 
option off.


--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Port: quagga-0.99.9_7

2008-07-07 Thread Sergey Matveychuk

Daniel Dvořák wrote:

VERSION 0.99.10# egrep lock /var/log/quagga/zebra.log
^^^
2008/06/30 01:38:59 errors: ZEBRA: Could not lock pid_file 
/var/run/quagga/zebra.pid, exiting
2008/07/01 13:57:21 errors: ZEBRA: Could not lock pid_file 
/var/run/quagga/zebra.pid, exiting

VERSION 0.99.10# egrep lock /var/log/quagga/ospfd.log
2008/06/30 01:38:59 errors: OSPF: Could not lock pid_file 
/var/run/quagga/ospfd.pid, exiting
2008/07/01 13:57:21 errors: OSPF: Could not lock pid_file 
/var/run/quagga/ospfd.pid, exiting

VERSION 0.99.10# egrep lock /var/log/quagga/ospf6d.log
2008/07/01 13:57:21 errors: OSPF6: Could not lock pid_file 
/var/run/quagga/ospf6d.pid, exiting



Looks like the daemons tried to run twice and fault. But I can see the 
problem on my boxes.


--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade complains Makefile possibly broken: lang/php5

2008-07-07 Thread Sergey Matveychuk

Yuri wrote:

I am having the following problem while updating he ports:

# /usr/local/sbin/portupgrade -aP

** Makefile possibly broken: lang/php5:
   apxs:Error: /usr/local/bin/apr-1-config not found!.
   /usr/ports/Mk/bsd.apache.mk, line 287: warning: 
/usr/local/sbin/apxs -q MPM_NAME returned non-zero status

   php5-5.2.6



It's not enough info. Show pkg_info output.

--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What the **** !!!

2008-07-05 Thread Sergey Matveychuk

David Southwell wrote:

Stale dependency: eclipse-3.2.2_1 - avahi-app-0.6.22_1 ():
- Deleted. (irrelevant)


Looks like an origin info did not saved for some reason.
Show `pkg_info -o avahi-app-0.6.22_1` output please.

Are you sure you use fresh INDEX-[67] file (portsdb -Fu)?

--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Port: quagga-0.99.9_7

2008-07-05 Thread Sergey Matveychuk

Daniel Dvořák wrote:

It is new style.

SYSTEM3:
system3# pkg_info | grep quagga
quagga-0.99.10_2Free RIPv1, RIPv2, OSPFv2, BGP4, IS-IS route software
system3# /etc2/rc.d/quagga status
Sleeping 10 seconds to obtain dynamic routing information...
system3#

It is new broken style. :D


Try the patch please. I'll commit it if it's OK.

--
Dixi.
Sem.
Index: files/quagga.sh.in
===
RCS file: /home/pcvs/ports/net/quagga/files/quagga.sh.in,v
retrieving revision 1.12
diff -u -r1.12 quagga.sh.in
--- files/quagga.sh.in  28 Jun 2008 03:23:36 -  1.12
+++ files/quagga.sh.in  1 Jul 2008 17:24:05 -
@@ -37,6 +37,25 @@
   rm -f $pidfile
 }
 
+do_cmd()
+{
+   for daemon in ${quagga_daemons}; do
+   command=%%PREFIX%%/sbin/${daemon}
+   required_files=%%SYSCONF_DIR%%/${daemon}.conf
+   pidfile=%%LOCALSTATE_DIR%%/${daemon}.pid
+   if [ ${quagga_cmd} = start -a ! -f ${required_files} ]; then
+   continue
+   fi
+   if [ ${quagga_cmd} = stop -a -z $(check_process ${command}) ]; 
then
+   continue
+   fi
+   eval flags=\$\{${daemon}_flags:-\${quagga_flags}\\}
+   name=${daemon}
+   run_rc_command $1
+   _rc_restart_done=false
+   done
+}
+
 # set defaults
 
 load_rc_config $name
@@ -63,28 +82,19 @@
if [ ! -z ${quagga_extralibs_path} ]; then
/sbin/ldconfig -m ${quagga_extralibs_path}
fi
+   do_cmd start
;;
-stop|restart)
+stop)
quagga_daemons=$(reverse_list ${quagga_daemons})
+   do_cmd stop
;;
+restart)
+   quagga_daemons=$(reverse_list ${quagga_daemons})
+   do_cmd stop
+   quagga_daemons=$(reverse_list ${quagga_daemons})
+   do_cmd start
 esac
 
-for daemon in ${quagga_daemons}; do
-command=%%PREFIX%%/sbin/${daemon}
-required_files=%%SYSCONF_DIR%%/${daemon}.conf
-pidfile=%%LOCALSTATE_DIR%%/${daemon}.pid
-if [ ${quagga_cmd} = start -a ! -f ${required_files} ]; then
-   continue
-fi
-if [ ${quagga_cmd} = stop -a -z $(check_process ${command}) ]; then
-   continue
-fi
-eval flags=\$\{${daemon}_flags:-\${quagga_flags}\\}
-name=${daemon}
-run_rc_command $1
-_rc_restart_done=false
-done
-
 if [ ${quagga_delay} != 0 ]; then
 echo Sleeping ${quagga_delay} seconds to obtain dynamic routing 
information...
 sleep ${quagga_delay}
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: portupgrade-devel: portversion -vl'' does not show current version

2008-07-03 Thread Sergey Matveychuk

Sandra Kachelmann wrote:

After upgrading from portupgrade to portupgrade-devel the command

$ portversion -vl''

does not show the _current_ version anymore. Why was it removed? I
found the information useful.

before:
gnutls-2.4.0  needs updating (port has 2.4.1)

now:
gnutlsneeds updating (port has 2.4.1)


Looks like it's a side effect of new options implementation. Now you can 
use -Fvl options. But I'll think to back this functionality.


Thanks.
--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Idea for next portupgrade

2008-07-03 Thread Sergey Matveychuk

Albert Shih wrote:

Hi all

I want to thanks the dev of portupgrade. It save lots of my time and
work fine. 


But I just think about our new computer with the lot of core, a standard
server have dual proc with quad-core that's mean 8 core availble. 



In the next version of portupgrade, IMHO it's good idea to have option 
to make portupgrade working with many proc. Because what I known many ports

cannot by compile with «-j8» option. In that case when we make

portupgrade --all -b

we have just one compilation. It's enough when we have 1 or 2 procs. But
now with 8 or more proc

If portupgrade can calculate the depency and launch many ports build in
same time for non-depending ports it's can be wonderful.

But it's just a idea. Maybe it's already in the roadmap ...


I'm sure it's a good idea. I'd use it too. But I have a very little free 
time with my current employment. So I can't implement it. Sorry.


If somebody could, I would take patches with pleasure.

--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Idea for next portupgrade

2008-07-03 Thread Sergey Matveychuk

Robert Huff wrote:

Sergey Matveychuk writes:


  If portupgrade can calculate the depency and launch many ports
   build in same time for non-depending ports it's can be
   wonderful. 
 
 I'm sure it's a good idea. I'd use it too. But I have a very

 little free time with my current employment. So I can't implement
 it. Sorry.


It is also my understanding that ruby (used to manage the
ports database) a) is not re-entrant and/or b) does not lock the
files it is using/changing.  Having two instances running at once
causes Bad Things(tm) to happen.


It's not a ruby issue. Now you can run a few portupgrade processes if 
sets of updating ports is not intercepted. Otherwise one portupgrade 
process can clear a port directory when another process build the port.


--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade 2.4.4

2008-07-03 Thread Sergey Matveychuk

Andrey Chernov wrote:

On Tue, Jul 01, 2008 at 06:24:48PM +0400, Sergey Matveychuk wrote:

Hi.

After a long time when a new employment and real life(c) having eaten 
all my time, a new version of portupgrade was released.


The modifying _all_ packages +CONTENTS bug still present in this version 
(as in stable too):


---  Updating dependency info
---  Modifying /var/db/pkg/GeoIP-1.4.4/+CONTENTS

---  Modifying /var/db/pkg/xxkb-1.11/+CONTENTS
---  Modifying /var/db/pkg/zidrav-1.2.0/+CONTENTS
---  Modifying /var/db/pkg/zip-2.32/+CONTENTS


Yes, I know. It's only issue, I couldn't find in limit time.

--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade 2.4.4

2008-07-03 Thread Sergey Matveychuk

Kostik Belousov пишет:

On Thu, Jul 03, 2008 at 11:15:47PM +0400, Andrey Chernov wrote:

On Tue, Jul 01, 2008 at 06:24:48PM +0400, Sergey Matveychuk wrote:

Hi.

After a long time when a new employment and real life(c) having eaten 
all my time, a new version of portupgrade was released.
The modifying _all_ packages +CONTENTS bug still present in this version 
(as in stable too):


---  Updating dependency info
---  Modifying /var/db/pkg/GeoIP-1.4.4/+CONTENTS

---  Modifying /var/db/pkg/xxkb-1.11/+CONTENTS
---  Modifying /var/db/pkg/zidrav-1.2.0/+CONTENTS
---  Modifying /var/db/pkg/zip-2.32/+CONTENTS



Additional note: modification of /var/db/pkg/*/+CONTENTS (or any
non-trivial subset of it) is quite dangerous. Once, I had a machine
paniced during portupgrade doing the pass of +CONTENTS files, and
due to SU, lost almost all of them. It would be helpful if +CONTENTS
file were backed up (e.g., moved to +CONTENTS.bak) instead of removed and
created.


portupgrade copy a work file in temp one, and move back with changes.

I'm not sure /var/db/pkg/*/ is a good place for backups.

--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade 2.4.4

2008-07-01 Thread Sergey Matveychuk

Kostik Belousov wrote:

On Tue, Jul 01, 2008 at 06:24:48PM +0400, Sergey Matveychuk wrote:

Hi.

After a long time when a new employment and real life(c) having eaten 
all my time, a new version of portupgrade was released.


Many bugs was fixed and a few features was added. You can read a NEWS 
file for most significant changes.


Now I'd like to ask everyone to help me to test the new version. Just 
install portupgrade-devel and use it as usually sending me any reports 
about regressions (if are).


You can easily change portupgrade with portupgrade-devel with the command:
portupgrade -fo ports-mgmt/portupgrade-devel portupgrade

Thanks and good luck.


Were the problems with quoting and with -PP fixed ?


The problem with quoting - yes. With -PP - no, I forgot about it.

--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade 2.4.4

2008-07-01 Thread Sergey Matveychuk

Kostik Belousov wrote:


Were the problems with quoting and with -PP fixed ?


Well, as I can see this porblem was fixed:

2. Any attempt to portupgrade using already built packages fails:

deviant% sudo portupgrade -PP portupgrade-2.4.2,2
[Gathering depends for ports-mgmt/portupgrade  done]
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! ports-mgmt/portupgrade (portupgrade-2.4.2,2)  (Argument must be 
String class object.)





--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade 2.4.4

2008-07-01 Thread Sergey Matveychuk

Kevin Monceaux wrote:
I noticed the new -F and -o options for portversion aren't mentioned in 
the man page.  The NEWS file says there's also a new -q option, but the 
man page has:


 -q
 --noconfig   Do not read the configuration file. ($PRE-
  FIX/etc/pkgtools.conf)


Yep. I forgot to update the man page. Thanks.

Have you ever considered adding an option to portinstall and portupgrade 
to automatically run a make config-recursive for each port that's being 


Yes. See -c/-C options.

--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Port: quagga-0.99.10

2008-07-01 Thread Sergey Matveychuk

NetOne - Doichin Dokov wrote:
assured that the fix is a clean one. I could provide a file to be placed 
in /usr/local/ports/quagga/files if you don't have the time to do that.




Please do it. Name the patch as patch-cvs-1-what_the_patch_for.

--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: parse the '+CONTENTS' file

2008-06-30 Thread Sergey Matveychuk

Zane C.B. wrote:

When passing the '+CONTENTS' file for a installed package, what do
lines matching /[EMAIL PROTECTED]/ mean past the first one? I know the first one
is the base, but what the ones after that for?

On a similar note, what are the lines matching /[EMAIL PROTECTED]/ for?

I am seeing both in '+CONTENTS' file for 'py25-numeric-24.2'.


Have you already read pkg_create(1) man page?

--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: .warning directives in Makefile

2008-06-27 Thread Sergey Matveychuk

Mikhail Teterin wrote:



But I'd like remind .warning directive pollutes stderr

Warnings are NOT pollution...
and discouraged portupgrade which was designed to catch messages from 
stderr and rises errors.
I'd say, the portupgrade needs fixing, if it does, indeed, choke on 


Well, only imagemagic and ghostscript* use .warning. It is NOT a common 
way to print warnings.

Why do you think portupgrade needs fixing?

--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: .warning directives in Makefile

2008-06-27 Thread Sergey Matveychuk

Mikhail Teterin wrote:
If foo chokes on that, you should be contacting foo's maintainer, but that's 
not me (nor do I maintain imagemagic or ghostscript, BTW). In case of 


I ask you don't commit things that break something.

Thank you.
--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: split the quagga ports to remove unstable patches from quagga port

2008-06-26 Thread Sergey Matveychuk

Wesley Shields wrote:

On Thu, Jun 26, 2008 at 08:38:00AM -0700, Jo Rhett wrote:
The current maintainer has indicated that he is holding up the quagga  
0.99.10 port until an unknown time when the TCP MD5 checksum patches  
are again working in the tree.  I don't think that this is the right  
thing to do, as the TCP MD5 checksums are not necessary for the vast  
majority of installations, and DO NOT work with a GENERIC kernel.


I'd like to request that the port be split into two ports -- one with  
a stock quagga installation, and the other with the MD5 checksum  
patches, due to the instability and constant work on said patches  
making the port unstable.  (and being unavailable right now holds up  
access to a major bugfix line)


You already have the option for TCPMD5 being on or off (off by default).
The solution in my mind is not two separate ports, but what is used now:
OPTIONS.  If an option is broken why not mark it as such until it can be
addressed?  If the patches become a workable (yet still experimental)
option the BROKEN line can be removed.  The port can still keep using
newer versions while the patches are being developed.



I agree. Two ports are overkill for only TCPMD5 option. And it should 
not be a show stopper for the port update.


--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade with -o doesn't apply any make flags

2008-03-21 Thread Sergey Matveychuk

Nikola Lečić wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

On Thu, 20 Mar 2008 10:07:41 -0400
Naram Qashat [EMAIL PROTECTED] wrote:
 

I've noticed that with the current (non-devel) version of
portupgrade, when I was doing a replacement with -o specified, none
of the make flags from pkgtools.conf were being applied like they
normally are when I do a normal upgrade or an install.  I haven't had
a chance to test portupgrade-devel or not, but has it been fixed in
that?


With portupgrade-devel:

  MAKE_ARGS = {
...
'print/ghostscript-gnu' = 'A4=yes',
  }

# portupgrade -f -o print/ghostscript-gnu print/ghostscript-gpl
[Gathering depends for print/ghostscript-gnu 
... done]
** Detected a package name change: ghostscript-gpl (print/ghostscript-gpl) - 
'ghostscript-gnu' (print/ghostscript-gnu)
- ---  Downgrading 'ghostscript-gpl-8.61_3' to 'ghostscript-gnu-7.07_17' 
(print/ghostscript-gnu)
- ---  Building '/usr/ports/print/ghostscript-gnu' with make flags: A4=yes
===  Cleaning for ghostscript-gnu-7.07_17
= ghostscript-7.07.tar.bz2 doesn't seem to exist
in /usr/ports/distfiles/ghostscript.
.



I've synced patches with ports-mgmt/portupgrade. Try again.

--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgade error (pkginfo.rb:74:in `initialize': : Not in due form: name-version (ArgumentError))

2008-03-07 Thread Sergey Matveychuk

Ion-Mihai Tetcu wrote:

Hi,

I get this with portupgrade-devel-2.4.3 (haven't had time to try with
stable).

I don't know ruby, and I don't know if it's portupgrade's fault or
there's something wrong with one of the depends, but maybe you could
make it output the port the errors refers to ?

 # portupgrade -R Miro-1.1
[Gathering depends for multimedia/miro 


..
 done]

[Exclude up-to-date packages 
./usr/local/lib/ruby/site_ruby/1.8/pkginfo.rb:74:in
 `initialize': : Not in due form: name-version (ArgumentError)


The bug was fixed with a patch in stable version.

--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


misc/compat6x

2008-02-28 Thread Sergey Matveychuk

Hi.

I tried to start an application on 7.0 that requires libpthread.so.2. 
I've installed misc/compat6x, but have a problem:
/usr/local/lib/compat/libpthread.so.2: Undefined symbol 
__malloc_lockCould not load addin module /usr/local/lib/libtfmessbsp.so!


As I can see __malloc_lock symbol is in libc.so.6 from compat6x port but 
does not load. Why? Any ideas how to fix it?

--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: misc/compat6x

2008-02-28 Thread Sergey Matveychuk

Kris Kennaway wrote:

Sergey Matveychuk wrote:

Hi.

I tried to start an application on 7.0 that requires libpthread.so.2. 
I've installed misc/compat6x, but have a problem:
/usr/local/lib/compat/libpthread.so.2: Undefined symbol 
__malloc_lockCould not load addin module 
/usr/local/lib/libtfmessbsp.so!


As I can see __malloc_lock symbol is in libc.so.6 from compat6x port 
but does not load. Why? Any ideas how to fix it?


How is libc.so.6 being loaded by the application?  Is it linked 
explicitly or is it (incorrectly) trying to dlopen(libc.so) or similar?


% ldd /usr/local/lib/libtfmessbsp.so
/usr/local/lib/libtfmessbsp.so:
libbioapi_mds300.so.0 = /usr/local/lib/libbioapi_mds300.so.0 
(0x281a2000)

libusb-0.1.so.8 = /usr/local/lib/libusb-0.1.so.8 (0x281c4000)
libintl.so.6 = /usr/local/lib/libintl.so.6 (0x281ca000)
libmds_util.so.0 = /usr/local/lib/libmds_util.so.0 (0x281d3000)
libpthread.so.2 = /usr/local/lib/compat/libpthread.so.2 
(0x281db000)

libXext.so.6 = /usr/local/lib/libXext.so.6 (0x2830)
libX11.so.6 = /usr/local/lib/libX11.so.6 (0x2830e000)
libthr.so.3 = /lib/libthr.so.3 (0x283fc000)
libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0x2840f000)
libm.so.5 = /lib/libm.so.5 (0x28504000)
libc.so.7 = /lib/libc.so.7 (0x28089000)
libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x2851a000)
libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x28525000)
libXau.so.6 = /usr/local/lib/libXau.so.6 (0x2861b000)
libXdmcp.so.6 = /usr/local/lib/libXdmcp.so.6 (0x2861e000)
librpcsvc.so.4 = /usr/lib/librpcsvc.so.4 (0x28623000)

The library is not linked with libc. But dynamic loader loads libc.so.7 
for libthr.so.3. kib@ has told me it's impossible to fix (we can't mix 
libc.so.6 and libc.so.7 in one namespace). So we should ask vendor to 
recompile it for 7.0 (it's security/bsp_upektfmess).


--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Port: cacti-0.8.7b

2008-02-26 Thread Sergey Matveychuk

Daniel Dvořák wrote:
On the 16th of December 2007, you wrote these sentences in UPDATING file 
about Plugin Architecture:

  Plugin support is dropped again and will not revive anymore in the port.
  A reason for that is the patch is unofficial and there are long time lags
  between a new cacti version released and time when the patch is adapted.
 
It is very pitty for us, becuase we use weathermap plugin to monitor and 
visualize the current load of our network.
With your commit and after restarting of mysql server, our weathemap 
plugin is gone, and people ask me why this nice tool is not working. 
They got used to this nice maps.
 
On the 12th of February 2008, unofficial patch Plugin Architecture have 
been released as a version 2.0, and it is adjusted or adapted for 0.8.7b 
cacti, which we have in ports nowadays.
 
Do you think that you could include this patch 2.0 to the cacti back again ?
 
If you are not wellwisher for this, could you advise me how we can get 
plugins back to cacti ?
 


Hi Daniel!

As I already mention, cacti team don't support the plugin patch and a 
patch author not so fast how we'd like. So I'm between two users group, 
one ask me update cacti ASAP and another (a little one) ask me to keep 
plugins support. I can't satisfy them both.


A good news is cacti team decide to include plugins support in future 
versions. Unfortunately it'll happen not so soon.


But can add a new cacti-plugins port if you'll test it (I don't use the 
plugin support).


--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade changed operation?

2008-02-26 Thread Sergey Matveychuk

Tuc at T-B-O-H.NET wrote:

Hi,

Using portupgrade 2.4.1 (2008/01/29). I have 509 packages,
and a 1/2 dozen in HOLD_PKG. I went to run it today, and oddly it
started doing things like :



What do you meant I went to run it today? What command line was?

--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Portupgrade not running get_notinstalled_depends (2.4.3_1, 2 vs 2.4.3_2, 2)

2008-02-26 Thread Sergey Matveychuk

James wrote:


If anyone considers this a bug I'd be happy to help work on a
correction.  Heck I may do it anyhow.


Sure, it's a bug.

--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Port: grub-0.97_1

2008-02-24 Thread Sergey Matveychuk

Robert Millan wrote:

Hey,

Do you plan on adding GRUB 2 to the ports collection?  GRUB Legacy is not
actively developed anymore, as you may have noticed.


I don't think I'll port GRUB2. Last time I've tried it, I've spent a lot 
of time just to build it.




Btw, GRUB 2 added support for UFS and loaders for *BSD kernels recently.



Grub Legacy supports both UFS and UFS2. It's not a problem to boot with 
it. I use it for WIndowsXP-FreeBSD-DragonFlyBSD-Linux box.


--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Port: grub-0.97_1

2008-02-24 Thread Sergey Matveychuk

Robert Millan wrote:

On Sun, Feb 24, 2008 at 07:01:55PM +0300, Sergey Matveychuk wrote:

Robert Millan wrote:

Hey,

Do you plan on adding GRUB 2 to the ports collection?  GRUB Legacy is not
actively developed anymore, as you may have noticed.
I don't think I'll port GRUB2. Last time I've tried it, I've spent a lot 
of time just to build it.


We fixed a few build issues for FreeBSD lately.  Users reported that it builds
and works fine now.



OK. It build fine on 7.0 now. I'll try then.

--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


ldconfig -R issue (Was: Problems with icu - 3.8)

2008-02-18 Thread Sergey Matveychuk

+stable@

Yoshihiro Ota wrote:

Why are so many people are bitten by this?  Is that the jobs of port-upgrading
tool to safe copy these libraries to compat so that all programs using
the old libraries works?


Portupgrade preserves the libraries in /usr/local/lib/compat/pkg:
% ls /usr/local/lib/compat/pkg/
libicudata.so.36.0  libicule.so.36.0libicuuc.so.36.0
libicui18n.so.36.0  libiculx.so.36.0
libicuio.so.36.0libicutu.so.36.0

ldconfig knows about the directory:
% ldconfig -r | head -2
/var/run/ld-elf.so.hints:
search directories: 
/lib:/usr/lib:/usr/lib/compat:/usr/X11R6/lib:/usr/local/lib:/usr/local/lib/mysql:/usr/local/lib/compat/pkg


But ldconfig -R don't rescan them:
% ldconfig -R
% ldconfig -r | grep libicudata
231:-licudata.38 = /usr/X11R6/lib/libicudata.so.38
386:-licudata.38 = /usr/local/lib/libicudata.so.38

Could anybody investigate it? I have no time now.
--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade-devel: 2 feature requests

2008-02-15 Thread Sergey Matveychuk

Doug Barton worte:

I'm going to respond to these from the portmaster perspective to try
and give some additional context. No criticism of portupgrade is
intended, since I've said many times that they are not completely
overlapping in feature sets.


Doug, I feel no resentment on criticism of portupgrade. I know it's not 
perfect. You know too, otherwise you did not start portmaster I think :)


My purpose is to fix portupgrade with as little modifications as it's 
possible just because I have no time (and motivations) to rewrite 
algorithms completely. Moreover, I think somebody who have more time and 
ruby skills should support it. But for three years I've got it, only two 
little patches (a few lines) was sent to me.


If somebody wants to help, sources are on SourceForge. Send me patches 
and ask a write access if you feel you can.



I'm also responding since I think these are interesting questions and
I've put a lot of thought into my solutions for them. :)


Thank you. I can't add much to your answers.

--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade errors

2008-02-11 Thread Sergey Matveychuk

Kostik Belousov wrote:

Two problems with portupgrade 2.4.1_X:

1. I have the following options set for swig in the MAKE_ARGS:
'devel/swig*' = 'SWIG_LANGUAGES=guile perl python ruby tcl',
Now,

deviant% sudo -E portupgrade swig-1.3.31_2
[Gathering depends for devel/swig13  done]
---  Upgrading 'swig-1.3.31_2' to 'swig-1.3.33' (devel/swig13)
---  Building '/usr/ports/devel/swig13' with make flags: SWIG_LANGUAGES=\guile perl python ruby 
tcl\ WANT_OPENLDAP_VER=23 WANT_OPENLDAP_SASL=yes WITH_BDB_VER=44 WITH_GECKO=\firefox\ 
WITH_UNIXODBC=yes GNUSTEP_WITH_GCC42=yes EMACS_PORT_NAME=emacs22 PYTHON_DEFAULT_VERSION=python2.5 DISABLE_VULNERABILITIES=yes 
NO_IGNORE=yes
make: don't know how to make perl. Stop
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! devel/swig13 (swig-1.3.31_2)  (clean error)



Please, look at the SWIG_LANGUAGES quotation in the output.



Yes, they are wrong. Looks like a quoting function works bad.
I'll take a look.

--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: TrueCrypt 5.0

2008-02-10 Thread Sergey Matveychuk

Michael Ross wrote:

Just for then fun of it, I tweaked the Makefile to use gmake,
and it compiles up to

Compiling FatalErrorHandler.cpp
FatalErrorHandler.cpp: In function 'void 
TrueCrypt::OnFatalProgramErrorSignal(int, siginfo_t*, void*)':
FatalErrorHandler.cpp:42: error: 'ucontext_t' was not declared in this 
scope

FatalErrorHandler.cpp:42: error: 'context' was not declared in this scope
FatalErrorHandler.cpp:42: error: expected primary-expression before ')' 
token

FatalErrorHandler.cpp:42: error: expected `;' before 'contextArg'
gmake[1]: *** [FatalErrorHandler.o] Fehler 1
gmake: *** [all] Fehler 2



You should patch the file to include ucontext.h
But even if it'll be build, nobody guarantee it works.

--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: TrueCrypt 5.0 - Built, short test result: Ok.

2008-02-10 Thread Sergey Matveychuk

Michael Ross wrote:

Am 10.02.2008, 20:05 Uhr, schrieb Sergey Matveychuk [EMAIL PROTECTED]:


You should patch the file to include ucontext.h
But even if it'll be build, nobody guarantee it works.


Done. Builds. On 7.0-PRERELEASE, by the way.

You need /usr/ports/sysutils/fuse-libs
and /usr/ports/sysutils/fuse-kmod;
and the wxWidget-Sources mentioned in the README, of course.

diff for Makefile:

61,62d60
 MAKE=gmake

206c204
   cd $(WX_BUILD_DIR)  gmake
---
   cd $(WX_BUILD_DIR)  make


The best way is to change 'make' in the last line with $(MAKE). MAKE 
will passed from port's Makefile.




diff for Main/FatalErrorHandler.h

13d12
 #include /usr/src/sys/sys/ucontext.h


#if defined(__FreeBSD__)
#include sys/ucontext.h
#endif

looks better.



As far as container files go, it creates and mounts them.
They show up in /media/truecrypt*.

Maybe someone would download
http://www.triplefork.net/test.tc (64K)
and try with password test on a different platform.


Feel free to make a port.

--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade-devel new dependency behaviour

2008-02-08 Thread Sergey Matveychuk

Lee Dilkie wrote:

Folks,

What's happened with the new portupgrade-devel?

I ask to to upgrade php4 and it starts an installation of apache13? I 
have apache13+ipv6 installed so I'm not sure why it wants to install 
apache13?



$ portupgrade -v php4\*
---  Session started at: Thu, 07 Feb 2008 19:03:11 -0500
[Gathering depends for devel/php4-gettext . done]
[Gathering depends for databases/php4-mysql  done]
[Gathering depends for textproc/php4-xml ... done]
---  Fresh installation of www/apache13 started at: Thu, 07 Feb 2008 
19:03:38 -0500

---  Installing 'apache-1.3.41' from a port (www/apache13)
---  Build of www/apache13 started at: Thu, 07 Feb 2008 19:03:42 -0500

Am I missing something?


Set APACHE_PORT=www/apache13+ipv6 in /etc/make.conf.

--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ports-mgmt/portupgrade-devel

2008-01-31 Thread Sergey Matveychuk

Mark Nowiasz wrote:

Hi,

when using portupgrade-devel, I'm getting the following errors:

---  Session ended at: Tue, 29 Jan 2008 22:58:52 +0100 (consumed 00:02:01)
/usr/local/lib/ruby/site_ruby/1.8/pkgversion.rb:41:in `initialize': : Not in 
due form: 'version[_revision][,epoch]'. (ArgumentError)


What port exactly did you upgraded please?

--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ports-mgmt/portupgrade-devel

2008-01-27 Thread Sergey Matveychuk

Doug Barton wrote:
I handled this in portmaster by analyzing the CONFLICTS. If a requested 
dependency has a CONFLICTS line I check the glob patterns against the 
installed ports with pkg_info and keep going if we already have 
something installed that will work.


That's not a perfect solution, but it handles all the cases I've seen 
personally, or users complained about before that feature was introduced.


hope this helps,


Thanks Doug. It sounds reasonable. I'll think to implement it.

--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


ports-mgmt/portupgrade-devel

2008-01-26 Thread Sergey Matveychuk
Hi!

After a long time, I've got a little free time and spent it working for
portupgrade.
A new version (2.4.0) was released.
* Many bugs fixed (thanks to reporters).
* At last I've finished rewriting code and portupgrade now controls all
tasks (before some port installed without a portupgrade note). As a
result portupgrade gathers all depends for a port. It spends a time for
preparing in the beginning of a upgrade process.
* I've change unused -c and -C options to allow run 'make
config-conditional' and 'make config' (force options change) before all
processing.

Test the release please. To move from portupgrade to portupgrade-devel
port, use the command:
portupgrade -fo ports-mgmt/portupgrade-devel portupgrade

If you'll want to back to stable porupgrade, use the command:
portupgrade -o ports-mgmt/portupgrade portupgrade-devel

-- 
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


www/linux-flashplugin9

2007-12-18 Thread Sergey Matveychuk

FYI

= Attempting to fetch from 
http://fpdownload.macromedia.com/get/flashplayer/current/.
fetch: 
http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_9_linux.tar.gz: 
size mismatch: expected 2608602, actual 3036127


--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: net-mgmt/bsd-airtools broken not because of gcc4

2007-11-07 Thread Sergey Matveychuk

Denis Barov wrote:

Hi all!
I found, that port net-mgmt/bsd-airtools marked as broken:

BROKEN=  Does not compile with GCC 4.2

but, it's not really so. 


It's broken after Wed Jul 11 21:25:48 2007 UTC commit by
[EMAIL PROTECTED], when some ioctls was deleted from kernel.

For example, after patching /usr/include/dev/wi/if_wavelan_ieee.h
bsd-airtools compiled well:

--- /usr/include/dev/wi/if_wavelan_ieee.h   2007-11-07
19:36:15.0 +0300
+++ /usr/src/sys/dev/wi/if_wavelan_ieee.h   2007-07-12
01:25:48.0 +0400
@@ -59,7 +59,7 @@
  */
 #define WI_MAX_DATALEN 512
 
-#if 1

+#if 0
 struct wi_req {
u_int16_t   wi_len;
u_int16_t   wi_type;


But, still missing some ioctls. dstumbler said
error: unable to ioctl device socket: Invalid argument

May be I can do something helpful?


I guess you should back not just these header definitions but ioctl 
implementations too. Or ask thompsa if you could use something instead.


--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: INDEX build failed for 5.x

2007-09-12 Thread Sergey Matveychuk

Kris Kennaway пишет:

Sergey Matveychuk wrote:

Erwin Lansing wrote:

INDEX build failed with errors:
Generating INDEX-5 - please wait..pkg_info: not found
pkg_info: not found
pkg_info: not found
Makefile, line 60: warning: /usr/sbin/pkg_info -O 
x11-servers/XFree86-4-Server 2/dev/null | /usr/bin/grep Server- || 
/usr/sbin/pkg_info -O x11-servers/xorg-server 2/dev/null | 
/usr/bin/grep server- || /usr/sbin/pkg_info -qO 
x11-servers/xorg-server-snap 2/dev/null returned non-zero status
/a/erwin/tindex/ports/x11/nvidia-driver-71xx/../nvidia-driver/Makefile, 
line 60: warning: /usr/sbin/pkg_info -O x11-servers/XFree86-4-Server 
2/dev/null | /usr/bin/grep Server- || /usr/sbin/pkg_info -O 
x11-servers/xorg-server 2/dev/null | /usr/bin/grep server- || 
/usr/sbin/pkg_info -qO x11-servers/xorg-server-snap 2/dev/null 
returned non-zero status
/a/erwin/tindex/ports/x11/nvidia-driver-96xx/../nvidia-driver/Makefile, 
line 60: warning: /usr/sbin/pkg_info -O x11-servers/XFree86-4-Server 
2/dev/null | /usr/bin/grep Server- || /usr/sbin/pkg_info -O 
x11-servers/xorg-server 2/dev/null | /usr/bin/grep server- || 
/usr/sbin/pkg_info -qO x11-servers/xorg-server-snap 2/dev/null 
returned non-zero status

 Done.


Please add /usr/sbin/pkg_info to index-5 build server :)



It is there, of course.

Some of the errors appear to be because it's called without the full 
path, and the rest are pkg_info itself returning failure because of some 
bogus calls.


Kris




Yes, I know. There was a smile there. My message meant I give up.
Just message directs to a wrong track.
And as I could see nvidia-driver* were changed for a three weeks ago and 
there was no problem with them before.


--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: INDEX build failed for 5.x

2007-09-11 Thread Sergey Matveychuk

Erwin Lansing wrote:

INDEX build failed with errors:
Generating INDEX-5 - please wait..pkg_info: not found
pkg_info: not found
pkg_info: not found
Makefile, line 60: warning: /usr/sbin/pkg_info -O x11-servers/XFree86-4-Server 
2/dev/null | /usr/bin/grep Server- || /usr/sbin/pkg_info -O x11-servers/xorg-server 2/dev/null | 
/usr/bin/grep server- || /usr/sbin/pkg_info -qO x11-servers/xorg-server-snap 2/dev/null returned 
non-zero status
/a/erwin/tindex/ports/x11/nvidia-driver-71xx/../nvidia-driver/Makefile, line 60: warning: 
/usr/sbin/pkg_info -O x11-servers/XFree86-4-Server 2/dev/null | /usr/bin/grep Server- || 
/usr/sbin/pkg_info -O x11-servers/xorg-server 2/dev/null | /usr/bin/grep server- || /usr/sbin/pkg_info 
-qO x11-servers/xorg-server-snap 2/dev/null returned non-zero status
/a/erwin/tindex/ports/x11/nvidia-driver-96xx/../nvidia-driver/Makefile, line 60: warning: 
/usr/sbin/pkg_info -O x11-servers/XFree86-4-Server 2/dev/null | /usr/bin/grep Server- || 
/usr/sbin/pkg_info -O x11-servers/xorg-server 2/dev/null | /usr/bin/grep server- || /usr/sbin/pkg_info 
-qO x11-servers/xorg-server-snap 2/dev/null returned non-zero status
 Done.


Please add /usr/sbin/pkg_info to index-5 build server :)

--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrading to squid-2.6.15 is not recommended.

2007-09-10 Thread Sergey Matveychuk

Thomas-Martin Seck wrote:

* RW [EMAIL PROTECTED] [gmane.os.freebsd.devel.ports]:


The squid site is recommending that people skip 2.6.15 and go straight
to 2.6.16


The Squid maintainer can not resist to recommend that people look
at what the FreeBSD port of Squid-2.6.STABLE15 actually delivers. :-)



I'd like to thank Thomas-Martin Seck for maintaining squid ports. It's 
the one of little numbers ports those I'm sure work and stable after 
upgrade. Really great work!


--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Port: exim-4.67

2007-09-10 Thread Sergey Matveychuk

Maxim Sirenko wrote:
That's ok, but why these changes are not reflected on the main FreeBSD 
site???

http://www.freebsd.org/cgi/ports.cgi?query=eximstype=name



Use http://www.freshports.org site to see the freshest ports upgrades.

--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade exits immediately when stdin/out closed

2007-09-05 Thread Sergey Matveychuk

Russell Jackson wrote:

I'm debugging a problem with portupgrade being used as part of an automated 
package
handler within puppet (http://puppet.reductivelabs.com).

The problem is that when the handler executes portupgrade as an external 
process from
ruby, portupgrade hangs with a script process taking up 100% of the cpu. I 
suspected that
script isn't designed to be run without a controlling tty. So, I executed 
portupgrade like
so to test:

portupgrade --new --batch --yes port - - 2- 

To my surprise, portupgrade exits immediately with a status of 0. I found an 
old pr
(bin/56166) describing similar behavior. It looks like script was fixed, but 
portupgrade
still isn't happy.

This happens with both ports-mgmt/portupgrade and ports-mgmt/portupgrade-devel.

Suggestions?



portupgrade was fixed to work when tty is not a physical device but file 
or so.


I think you don't want to run portupgade this way really. You have a 
possibility to brake everything.


--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ports PR / GNATS Auto Assign Tool updated

2007-08-30 Thread Sergey Matveychuk

Edwin Groothuis wrote:

I have rewritten the logic part of the GNATS Auto Assign Tool a
little bit, to make it easier for me to add people who have requests
for PRs related to ports. If you have access to freefall.freebsd.org,
have a look at /hub/g/hubgnats/gnats-aa/incoming-PRs/bin/lookups.txt.



Correct the line please:
bsd.ruby.mk   = knu
with
bsd.ruby.mk   = stas

Thanks.
--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


for Thomas E. Zander, mplayer maintainer.

2007-08-05 Thread Sergey Matveychuk

Thanks for respecting mail from Russia.

 Original Message 
X-Failed-Recipients: [EMAIL PROTECTED]
Auto-Submitted: auto-replied
From: Mail Delivery System [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Mail delivery failed: returning message to sender
Message-Id: [EMAIL PROTECTED]
Date: Mon, 06 Aug 2007 01:49:36 +0400
X-Spam-Score: 0.0 (/)

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

  [EMAIL PROTECTED]
SMTP error from remote mail server after MAIL FROM:[EMAIL PROTECTED]:
host mail.rrr.de [217.160.178.110]: 550 5.0.0 Sorry,to much spam 
from russia


-- This is a copy of the message, including all the headers. --

Return-path: [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
Date: Mon, 06 Aug 2007 01:49:32 +0400
From: Sergey Matveychuk [EMAIL PROTECTED]
User-Agent: Thunderbird 2.0.0.4 (X11/20070708)
MIME-Version: 1.0
To: Thomas E. Zander [EMAIL PROTECTED]
Subject: Re: ports/115170: [Maintainer-update] multimedia/mplayer
References: [EMAIL PROTECTED] 
[EMAIL PROTECTED]

In-Reply-To: [EMAIL PROTECTED]
Content-Type: text/plain; charset=KOI8-R; format=flowed
Content-Transfer-Encoding: 7bit

I've committed mplayer part. But I have problems with extra files with
mencoder port:

=== Checking filesystem state after all packages deleted

list of extra files and directories in / (not present on clean system
but present after everything was deinstalled)
1201964 drwxr-xr-x3 root wheel
512 Aug  5 21:47 share
1202494 drwxr-xr-x3 root wheel
512 Aug  5 21:47 share/mplayer
1202534 drwxr-xr-x2 root wheel
512 Aug  5 21:47 share/mplayer/tools
1202544 -r-xr-xr-x1 root wheel
1433 Aug  5 21:47 share/mplayer/tools/calcbpp.pl
1202564 -r-xr-xr-x1 root wheel
756 Aug  5 21:47 share/mplayer/tools/countquant.pl
120258   16 -r-xr-xr-x1 root wheel
8116 Aug  5 21:47 share/mplayer/tools/dvd2divxscript.pl
1202624 -r-xr-xr-x1 root wheel
861 Aug  5 21:47 share/mplayer/tools/menc2pass
120263   28 -r-xr-xr-x1 root wheel
12398 Aug  5 21:47 share/mplayer/tools/mencvcd
1202764 -r-xr-xr-x1 root wheel
1510 Aug  5 21:47 share/mplayer/tools/mp.pl
120280   28 -r-xr-xr-x1 root wheel
13095 Aug  5 21:47 share/mplayer/tools/subedit.pl
1202874 -r-xr-xr-x1 root wheel
622 Aug  5 21:47 share/mplayer/tools/subsearch.sh
1205084 -r-xr-xr-x1 root wheel
458 Aug  5 21:47 share/mplayer/tools/sws-test
1205108 -r-xr-xr-x1 root wheel
3083 Aug  5 21:47 share/mplayer/tools/w32codec_dl.pl
120516   16 -r-xr-xr-x1 root wheel
7219 Aug  5 21:47 share/mplayer/tools/wma2ogg.pl
1205204 -r-xr-xr-x1 root wheel
408 Aug  5 21:47 share/mplayer/tools/x2mpsub.sh

build of /usr/ports/multimedia/mencoder ended at Sun Aug  5 21:48:21 UTC
2007

Fix it please.

--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: PRs of repocopy request

2007-08-02 Thread Sergey Matveychuk

KIMURA Yasuhiro wrote:

Hello.

Would someone handle following PRs of repocopy request?

ports/114668
ports/114669
ports/114670
ports/114671

anray@ said he was too busy to handle them.


I'll care.

--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: PRs of repocopy request

2007-08-02 Thread Sergey Matveychuk

LI Xin wrote:

Sergey Matveychuk wrote:

KIMURA Yasuhiro wrote:

Hello.

Would someone handle following PRs of repocopy request?

ports/114668
ports/114669
ports/114670
ports/114671

anray@ said he was too busy to handle them.

I'll care.


Please also consider:

ports/115132: [repocopy] Please repocopy databases/db45 - databases/db46



The PRs above was not from committer. So I've just given a 
responsibility for them.


You should wait for marcus@ action :)

--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make fetchindex failure

2007-07-03 Thread Sergey Matveychuk

budsz wrote:

Where's I should find that INDEX.bz2?, is that possible I'am still
running FreeBSD 4.X with  ports collection uptodate too (Of couse with


No. Sorry.

You can use only ports tree with cvs tag RELEASE_4_EOL. Quite obsoleted 
however.


--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: flash

2007-07-03 Thread Sergey Matveychuk

Stefan 'Steve' Tell wrote:

* Gaye Abdoulaye Walsimou [EMAIL PROTECTED] wrote:


I follow this howto (french howto) and have flash 9 working

http://oregnier.developpez.com/cours/unix/freebsd/plugins/firefox/nspluginwrapper/


What about videos on YouTube? 



I've found quite acceptable working linux-firefox+linux-flashplugin7.

But linux-flashplugin9 crashed browser on almost any flash clips. And 
some sites don't see I have version 9 and require to download =8.


So I've decide linux-flashplugin9 port is unworkable and back to 
linux-flashplugin7.


--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


portupgrade upgraded to 2.3.1

2007-07-03 Thread Sergey Matveychuk

Hi!

At last I've upgraded portupgrade port to portupgrade-devel version 
(with a little fix). You can back now from portupgrade-devel to 
portupgrade with the command:


portupgrade -o ports-mgmt/portupgrade portupgrade-devel
--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: flash

2007-07-03 Thread Sergey Matveychuk

lveax wrote:

On 7/3/07, Sergey Matveychuk [EMAIL PROTECTED] wrote:

Stefan 'Steve' Tell wrote:
 * Gaye Abdoulaye Walsimou [EMAIL PROTECTED] wrote:

 I follow this howto (french howto) and have flash 9 working

 
http://oregnier.developpez.com/cours/unix/freebsd/plugins/firefox/nspluginwrapper/ 



 What about videos on YouTube?


I've found quite acceptable working linux-firefox+linux-flashplugin7.

But linux-flashplugin9 crashed browser on almost any flash clips. And
some sites don't see I have version 9 and require to download =8.

So I've decide linux-flashplugin9 port is unworkable and back to
linux-flashplugin7.


Will flash9 not be crashed in freebsd7.0 with linux2.6 ABI?


Well, it was 7.0, but I don't remember I've tested it either before or 
after updating to linux 2.6. I'll test it again to be sure.


--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ftp/ftp-proxy in base now

2007-07-03 Thread Sergey Matveychuk

Max Laier пишет:

could somebody commit this (or equivalent), please?




done.

--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make fetchindex failure

2007-07-03 Thread Sergey Matveychuk

budsz wrote:

On 7/3/07, Sergey Matveychuk [EMAIL PROTECTED] wrote:

budsz wrote:
 Where's I should find that INDEX.bz2?, is that possible I'am still
 running FreeBSD 4.X with  ports collection uptodate too (Of couse with

No. Sorry.

You can use only ports tree with cvs tag RELEASE_4_EOL. Quite obsoleted
however.


Thanks you for answers. I'll try to using tag=RELEASE_4.



tag=RELEASE_4_EOL is older.

--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


temporally out of action

2007-06-19 Thread Sergey Matveychuk

Hello.

I've changed a work place. I have no computers for developing here yet 
and my developer copmputer (in az@ office) is unaccessable too.
So I can do commits only from my home computer and only in free time at 
weekends (really rarely).


I can read emails but don't expect any commits or actions from me while 
I decide the problems above.


--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade -o

2007-06-04 Thread Sergey Matveychuk

Andriy Gapon wrote:

on 02/06/2007 10:41 Sergey Matveychuk said the following:

Andriy Gapon wrote:

[snip]

The problem can be illustrated like follows:
$ portupgrade -o audio/portaudio2 portaudio-18.1_2
... nothing happens ...
$ portupgrade -f -o audio/portaudio2 portaudio-18.1_2
... portaudio-18.1_2 from audio/portaudio is re-installed ...

Does anybody else see this ?

[snip]

It's possible if installed version is greater than a version in origin.
You can compare two version with the command:
pkg_version -t version1 version2


I am not sure which versions I should compare...
Version of audio/portaudio in ports is 18.1_2, installed version is also
18.1_2. Version of portaudio2 should not matter in this because it is a
totally different port, right ?
Anyway, even if I had the version situation that you suggested I think
it still would be a bug on portupgrade's side because in this case I am
not upgrading any ports at all, I am replacing one port with another.
Or am I missing something ?



I would say it's a feature of portupgrade. It always checks versions by 
design.


--
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade -o

2007-06-02 Thread Sergey Matveychuk
Andriy Gapon wrote:
 I have a strange problem with portupgrade -o using
 portupgrade-devel-2.3.0_5. I didn't have such problem with non-devel
 portupgrade and in fact that's how I switched to the -devel version.
 
 The problem can be illustrated like follows:
 $ portupgrade -o audio/portaudio2 portaudio-18.1_2
 ... nothing happens ...
 $ portupgrade -f -o audio/portaudio2 portaudio-18.1_2
 ... portaudio-18.1_2 from audio/portaudio is re-installed ...
 
 Does anybody else see this ?
 
 It's possible that I screwed something in my local setup because I made
 a few configuration changes recently. BTW, I have a patch from Stephen
 Montgomery-Smith applied: http://www.freebsd.org/cgi/query-pr.cgi?pr=112630

It's possible if installed version is greater than a version in origin.
You can compare two version with the command:
pkg_version -t version1 version2

-- 
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: HEADS UP: xorg 7.2 ready for testing

2007-05-12 Thread Sergey Matveychuk
Kris Kennaway wrote:
 
 Amendment two: for now you need to build your own INDEX or portupgrade
 probably won't work correctly.  Before running portupgrade do:
 
 portsdb -U
 

It's a weird complain. portsdb -U just run make index (roughly to say).
May be I something miss here?

-- 
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ports_glob(1): Updating the portsdb - Updating EVERY time ! ... Why ?

2007-05-01 Thread Sergey Matveychuk
Wilkinson, Alex wrote:
 OS: FreeBSD 7.0-CURRENT #1: Tue Apr 17 09:47:03 WST 2007
 
 Hi all,
 
 Can anyone tell me why /var/tmp/INDEX-7.db is getting updated _every_ single
 time a run ports_glob(1) ? E.G.
 
 #ports_glob *wifi*
 [Updating the portsdb format:bdb_btree in /var/tmp ... - 16938 port 
 entries found
 
 .1000.2000.3000.4000.5000.6000.
 
 7000.8000.9000.1.11000.12000...
 ..13000.14000.15000.16000.  . done]
 net/wmwifi
 #
 
 Surely this isn't intended behaviour.

There may be different problems. Try to remove the file and recreate again.

 
  -aW
 
 IMPORTANT: This email remains the property of the Australian Defence 
 Organisation and is subject to the jurisdiction of section 70 of the CRIMES 
 ACT 1914.  If you have received this email in error, you are requested to 
 contact the sender and delete the email.

OK :)

-- 
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade -s broken in portupgrade 2.2.6

2007-04-17 Thread Sergey Matveychuk
James wrote:
 hihi.  Is portupgrade -s still supported and/or known to be working in
 portupgrade 2.2.6?  Currently I have two machines using portupgrade
 2.2.6 all my others are using pre-2.0 versions.  The new machines show
 this problem.  The old ones work fine.
 

Well, I don't know where this regression has happened but it has. I'll
add a note in my TODO list.

-- 
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /usr/ports/databases/Makefile -- subdir entry didn't get removed with the port

2007-04-14 Thread Sergey Matveychuk
Gabor Kovesdan wrote:
 Matthew Seaman schrieb:
 happy-idiot-talk:/usr/ports:% diff -u databases/Makefile{.save,} ---
 databases/Makefile.save Sat Apr 14 10:07:55 2007
 +++ databases/Makefile  Sat Apr 14 10:08:15 2007
 @@ -130,7 +130,6 @@
  SUBDIR += mylibrary
  SUBDIR += mysql++
  SUBDIR += mysql++1
 -SUBDIR += mysql-administrator
  SUBDIR += mysql-connector-java
  SUBDIR += mysql-connector-odbc
  SUBDIR += mysql-editor

 Cheers,

 Matthew

   
 Fixed, thanks!
 

Pointy hat for me.
Thanks Matthew and Gabor!

-- 
Dixi.
Sem.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems running pkgdb -fF

2007-03-23 Thread Sergey Matveychuk
Danny Pansters wrote:
 There should be single (or escaped double) quotes inside the  for the sed 
 argument. Seems to be caused by the combination of [ ] with \t. Observe:
 
 desktop# cat /COPYRIGHT | sed s/[ \t]//
 sed: 1: s/[: unbalanced brackets ([])
 
 But cat /COPYRIGHT | sed 's/[ \t]//' is OK. 
 So s|^\\(@comment[ \t][ \t]*ORIGIN:\\).*$|\\1#{origin}| should be replaced 
 by 's|^\\(@comment[ \t][ \t]*ORIGIN:\\).*$|\\1#{origin}|'
 
 Not tested as I'm not in sync with latest portstree and I don't know Ruby.

No. Renew the ports tree and update portupgrade. I've removed a patch
caused the problem.

-- 
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems running pkgdb -fF

2007-03-20 Thread Sergey Matveychuk
Andrew Pantyukhin wrote:
 On 3/19/07, Joe Marcus Clarke [EMAIL PROTECTED] wrote:
 Running pkgdb -Ff today gives me the following error:
 
 Just a me too here, and this problem appears during
 portupgrade runs, too.
 
 Also, portupgrade-devel has been almost unusable for
 me for some time now, on different machines. It's
 dependency harvesting is quite strange; portupgrade -a
 starts installing a lot of irrelevant packages.

Yes, it's a test release of portupgrade-devel. It waits when I get free
time to finish the work.

-- 
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems running pkgdb -fF

2007-03-20 Thread Sergey Matveychuk
Andrew Pantyukhin wrote:
 On 3/19/07, Joe Marcus Clarke [EMAIL PROTECTED] wrote:
 Running pkgdb -Ff today gives me the following error:
 
 Just a me too here, and this problem appears during
 portupgrade runs, too.
 

Try the patch please. I could not find a box where I can reproduce the
error, so it's not tested. Just a obvious quick fix.

Index: pkgtools.rb
===
RCS file: /cvsroot/portupgrade/pkgtools/lib/pkgtools.rb,v
retrieving revision 1.16.2.4
diff -u -r1.16.2.4 pkgtools.rb
--- pkgtools.rb 27 Feb 2007 11:34:59 -  1.16.2.4
+++ pkgtools.rb 20 Mar 2007 17:18:35 -
@@ -790,8 +790,7 @@
   contents_file = $pkgdb.pkg_contents(pkgname)

   if grep_q_file(/[EMAIL PROTECTED] \t]+ORIGIN:/, contents_file)
-command = shelljoin('sed',
-   s|^\\(@comment[ \t][
\t]*ORIGIN:\\).*$|\\1#{origin}|)
+command = sed s|^\\(@comment[ \t][ \t]*ORIGIN:\\).*$|\\1#{origin}|
   else
 command = (cat; echo '@comment ORIGIN:#{origin}')
   end


-- 
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Whats this: UPDATING 2007030

2007-03-07 Thread Sergey Matveychuk
Kirill Ponomarew wrote:
 Hmm, it seems portupgrade-devel is broken eg:
 
 # portupgrade p5-Compress-Raw-Zlib-2.003
 [Gathering depends for archivers/p5-Compress-Raw-Zlib
 ./usr/local/sbin/portupgrade:842:in `get_all_depends': undefined
 method `compact' for #Set: {} (NoMethodError)

Yep. It was not tested well yet. But the message I've not seen yet. Thanks.

-- 
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Failure kdelibs3-5.5 from portupgrade

2007-03-02 Thread Sergey Matveychuk
pluknet wrote:
 
 I guess You need to update your graphics/libart_lgpl.
 

Some time ago I got an message from somebody. He offers to turn -R
option on by default for portupgrade. I'd like to hear any objection if is.
Anyway I think I should add an option to turn it off then.

-- 
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Portupgrade omitting dependencies?

2007-02-25 Thread Sergey Matveychuk
Randy Pratt wrote:
 Before starting, I had no DELETED comments in /var/db/pkg/*/+CONTENTS.
 After following the above steps, I checked for DELETED comments:
 
 ImageMagick-6.3.2.0_1/+CONTENTS:@comment DELETED:pkgdep 
 ghostscript-afpl-8.54,1
 ImageMagick-6.3.2.0_1/+CONTENTS:@comment 
 DELETED:DEPORIGIN:print/ghostscript-afpl
[...]
 
 I have no idea where the references to ghostscript-afpl come from
 since I have only ghostscript-gnu installed.

Yes, I've noticed a problem with ghostscript-* too. I think I should add
a special work around for it.

 
 The portversion -vL= show the following needed updated:
 
[...]
 
 It seems that portversion missed the need to update firefox.

A reason for it could be you did not refresh your INDEX file (pkgdb -Fu
will do it). portversion use info only from INDEX file, but when you
execute porupgrade, it checks a version against a port dir.

 
 After running portupgrade -a, I again checked for any additional
 DELETED entries (omitting the previously mentioned ghostscript-afpl
 entries for clairty):
 
 # grep DELETED /var/db/pkg/*/+CONTENTS | grep -v ghostscript
 /var/db/pkg/gmencoder-0.1.0_7/+CONTENTS:@comment DELETED:pkgdep 
 intltool-0.35.5
 /var/db/pkg/gmencoder-0.1.0_7/+CONTENTS:@comment 
 DELETED:DEPORIGIN:textproc/intltool

Hmm. There is no intltool in dependencies of the port. I guess it may be
a result of some changes in ports infrastructure.

 # grep mplayer /var/db/pkg/kino-0.9.5/*
 /var/db/pkg/kino-0.9.5/+CONTENTS:@pkgdep mplayer-skins-1.1.2_6
 /var/db/pkg/kino-0.9.5/+CONTENTS:@comment DEPORIGIN:multimedia/mplayer-skins
 /var/db/pkg/kino-0.9.5/+CONTENTS:@comment DELETED:pkgdep mplayer-0.99.10_4
 /var/db/pkg/kino-0.9.5/+CONTENTS:@comment DELETED:DEPORIGIN:multimedia/mplayer
 
 This doesn't seem to be correct since it keeps mplayer-skins and removes
 mplayer.  Likewise for gmencoder:

It's mysterious for me. I'll try reproduce the situation.

-- 
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Portupgrade omitting dependencies?

2007-02-25 Thread Sergey Matveychuk
Sergey Matveychuk wrote:
 # grep mplayer /var/db/pkg/kino-0.9.5/*
 /var/db/pkg/kino-0.9.5/+CONTENTS:@pkgdep mplayer-skins-1.1.2_6
 /var/db/pkg/kino-0.9.5/+CONTENTS:@comment DEPORIGIN:multimedia/mplayer-skins
 /var/db/pkg/kino-0.9.5/+CONTENTS:@comment DELETED:pkgdep mplayer-0.99.10_4
 /var/db/pkg/kino-0.9.5/+CONTENTS:@comment 
 DELETED:DEPORIGIN:multimedia/mplayer

 This doesn't seem to be correct since it keeps mplayer-skins and removes
 mplayer.  Likewise for gmencoder:
 
 It's mysterious for me. I'll try reproduce the situation.
 

Unfortunately I can't reproduce it.
Can you show an output of the command please: cd
/usr/ports/multimedia/kino; make package-depends-list

-- 
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Portupgrade omitting dependencies?

2007-02-23 Thread Sergey Matveychuk
Sergey Matveychuk wrote:
 Randy Pratt wrote:
 There seems to be some problem in the way that portupgrade handles
 dependencies in updating a port to a new version.  In quite a few
 cases, portupgrade does not restore all dependencies that were
 originally listed in the +REQUIRED_BY file.  I'll use the netpbm
 
 Well, I have an idea about this I should check.
 

Sorry I did not answer for a long time. I have no time for portupgrade
till today. I've found the big and fix it in portupgrade-devel (version
2.2.4). It would be great if you test it (anyone who want are welcome).

You can follow the steps to upgrade:

portupgrade -fo ports-mgmt/portupgrade-devel portupgrade
pkgdb -L (it fixes lost dependencies. you could want to backup your
/var/db/pkg to compare afterwards)
pkgdb -F

... and work as usualy

-- 
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


portupgrade breakage fix was committed

2007-02-01 Thread Sergey Matveychuk
Quick fix was committed. Upgrade to 2.2.2_2,2 please.
You should run 'portsdb -fu' to rebuild INDEX.db after that.

-- 
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade-2.2.2_1,2 corrupts portsdb

2007-02-01 Thread Sergey Matveychuk
Murilo Opsfelder Araújo wrote:
 Yesterday I had the same problem and garga@ helped me to solve that.
 He told me to change my ports database to dbm_hash.

It's not a fix really. A fix was committed.

Well, it's worth to add a few sanity checks for DB. Really working with
DB should be complete rewritten but I have a hard lack of time lately.

-- 
Dixi.
Sem.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   >