Re: recommendation instead of portmanager

2013-01-11 Thread Artifex Maximus
On Sat, Jan 12, 2013 at 12:33 AM, Daniel Staal  wrote:

> --As of January 11, 2013 11:07:58 PM +0100, Artifex Maximus is alleged to
> have said:
>
>  I am using portmanager for updating my ports. I love its -p switch. Is
>> there any similar program with such option? I am asking because
>> portmanager is gone from ports tree.
>>
>
> --As for the rest, it is mine.
>
> As of when?  I still see it.
>

ports tree revision 309992:
http://svnweb.freebsd.org/ports?view=revision&revision=309992

"2013-01-04 ports-mgmt/portmanager: Does not support modern ports features
such as MOVED, is lacking upstream and active contributions, and does not
support pkgng. Consider using ports-mgmt/portmaster, ports-mgmt/portupgrade
or pkgng."

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


recommendation instead of portmanager

2013-01-11 Thread Artifex Maximus
Hello!

I am using portmanager for updating my ports. I love its -p switch. Is
there any similar program with such option? I am asking because portmanager
is gone from ports tree.

"   -p or --pristineUpdates a port if any dependency in it's
/var/db/pkg/{port name}/+CONTENTS does not
match what is installed. The effect is when
a
port is updated, any port who uses the
updated
port in it's dependency chain, no matter how
deep, are rebuilt. Normally only ports one
level up are rebuilt."

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


Re: latest git ports upgrade

2012-11-29 Thread Artifex Maximus
On Thu, Nov 29, 2012 at 7:59 PM, Artifex Maximus  wrote:
> On Thu, Nov 29, 2012 at 3:50 PM, Mark Felder  wrote:
>> On Thu, 29 Nov 2012 15:04:12 +0100
>> Artifex Maximus  wrote:
>>
>>> On next upgrade got the first error so I am in loop. Any idea what to do?
>>
>> Please check /usr/ports/UPDATING which has a note in there about git.
>
> Thanks for your answer. The UPDATING entry is about the daemon process
> repository permission not about the error I have. Mine is some problem
> in user adding process at port install I think.

Sorry for the noise I forgot to run pwd_mkdb first time. I had success
with pw group del git_daemon then editing master.passwd and run
pwd_mkdb -p master.passwd which generate password database and
recreate passwd from master.passwd.

BTW, why system does not know user git_daemon when git_daemon was in
passwd and master.passwd? I am using portmaster to upgrade my
installed ports.

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


Re: latest git ports upgrade

2012-11-29 Thread Artifex Maximus
On Thu, Nov 29, 2012 at 3:50 PM, Mark Felder  wrote:
> On Thu, 29 Nov 2012 15:04:12 +0100
> Artifex Maximus  wrote:
>
>> On next upgrade got the first error so I am in loop. Any idea what to do?
>
> Please check /usr/ports/UPDATING which has a note in there about git.

Thanks for your answer. The UPDATING entry is about the daemon process
repository permission not about the error I have. Mine is some problem
in user adding process at port install I think.

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


latest git ports upgrade

2012-11-29 Thread Artifex Maximus
Hello!

On upgrade I got the following error with git port:

===> Creating users and/or groups.
Using existing group `git_daemon'.
Creating user `git_daemon' with uid `964'.
pw: user 'git_daemon' already exists
*** Error code 74

Look for git_daemon user:

# id git_daemon
id: git_daemon: no such user

Hm. Try to delete:

# pw userdel git_daemon
pw: no such user `git_daemon'

Well. Are there really no such user?

# grep git_daemon /etc/passwd
git_daemon:*:964:964:git daemon:/nonexistent:/usr/sbin/nologin
# grep git_daemon /etc/master.passwd
git_daemon:*:964:964::0:0:git daemon:/nonexistent:/usr/sbin/nologin

Strange. Ok, do it manually. I remove git_daemon from passwd,
master.passwd and group which is basically a no-no process I know.
Then try to upgrade again. Now a little different error but still not
able to upgrade:

===> Creating users and/or groups.
Creating group `git_daemon' with gid `964'.
Creating user `git_daemon' with uid `964'.
pw: user 'git_daemon' disappeared during update
*** Error code 67

On next upgrade got the first error so I am in loop. Any idea what to do?

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


Re: py-bittornado gone

2012-10-27 Thread Artifex Maximus
On Fri, Oct 26, 2012 at 6:41 PM, lokada...@gmx.de  wrote:
> On 26.10.2012 19:50, Damien Fleuriot wrote:
>>
>> On 26 Oct 2012, at 19:05, Artifex Maximus  wrote:
>>
>>> py-bittornado gone and I accidentally delete with portmanager at
>>> upgrade. cfv uses and I use cfv for testing torrent so I need
>>> py-bittornado (or py-bittorrent). How can I restore that package?
>>>
>>> Bye,
>>> a
>>>
>> How about getting the original source and building from there, or a
>> package for pkg_add ?
>>
> Portdowngrade?
> http://www.freebsd.org/cgi/ports.cgi?query=portdown&stype=all
>
> It works fine in the past, but since Release 8.0 i hadn't use it.

Thanks both of you. I do not know about portdowngrade but sounds good.
I will go that way first and if that fail then I will try to find the
package and use pkg_add.

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


py-bittornado gone

2012-10-26 Thread Artifex Maximus
Hello!

py-bittornado gone and I accidentally delete with portmanager at
upgrade. cfv uses and I use cfv for testing torrent so I need
py-bittornado (or py-bittorrent). How can I restore that package?

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


Re: clang vs gcc linking problem

2012-02-27 Thread Artifex Maximus
On Sun, Feb 26, 2012 at 1:03 AM, Julian H. Stacey  wrote:

> Artifex Maximus wrote:
> > Hello!
> >
> > Absolutely not a flame war but would like to switch to clang in a
> > project. Project uses ncurses. gcc works well but the executable fails
> > when compiled other than -O0. Then I think I should change to clang
> > which will becomes the default compiler in FreeBSD. With clang at
> > linking time I got the following error:
> >
> > /usr/local/bin/ld: display/libsub_display.a(canvas.o): undefined
> > reference to symbol 'keypad'
> > /usr/local/bin/ld: note: 'keypad' is defined in DSO
> > /usr/local/lib/libtinfow.so.6.0 so try adding it to the linker command
> > line
> > /usr/local/lib/libtinfow.so.6.0: could not read symbols: Invalid
> operation
> > clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
> > *** Error code 1
> >
> > With exactly the same flags gcc links successful. Any idea where is
> > the problem and what is the solution?
> >
> > Thanks,
>
> There have been quite a number of discussions on Gcc & Clang
> of various lists since efforts to transition started,
> I don't see a specific list here,
>http://lists.freebsd.org/mailman/listinfo
> but this may interest
>http://wiki.freebsd.org/BuildingFreeBSDWithClang
>

Thanks. I did not found any related information on link but finally found a
solution. I have to add -ltinfo to LDFLAGS. I still do not know why gcc
works without and why clang needs that.

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


clang vs gcc linking problem

2012-02-24 Thread Artifex Maximus
Hello!

Absolutely not a flame war but would like to switch to clang in a
project. Project uses ncurses. gcc works well but the executable fails
when compiled other than -O0. Then I think I should change to clang
which will becomes the default compiler in FreeBSD. With clang at
linking time I got the following error:

/usr/local/bin/ld: display/libsub_display.a(canvas.o): undefined
reference to symbol 'keypad'
/usr/local/bin/ld: note: 'keypad' is defined in DSO
/usr/local/lib/libtinfow.so.6.0 so try adding it to the linker command
line
/usr/local/lib/libtinfow.so.6.0: could not read symbols: Invalid operation
clang: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

With exactly the same flags gcc links successful. Any idea where is
the problem and what is the solution?

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


Re: SEBSD is dead?

2010-12-17 Thread Artifex Maximus
On Fri, Dec 17, 2010 at 2:02 PM, Odhiambo Washington  wrote:
> 2010/12/17 zY 
>
>> guys, I have a question. SEBSD is dead? Please tell me its latestprogress.
>> Thanks.
>>
>>
> What is it? A FreeBSD port?
> Here we discuss FreeBSD, unless you are porting something from somewhere:)

Security Enhanced BSD
http://www.trustedbsd.org/sebsd.html

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


Re: Small webserver recommendations

2010-06-07 Thread Artifex Maximus
Hello!

On Sun, Jun 6, 2010 at 7:44 PM, peter harrison
 wrote:
> I'm looking for a small webserver to add to a nanobsd image, so preferably
> with few dependencies too. Needs to be able to run Perl cgi's as well.
> Anyone willing to make a recommendation?

nginx?

http://nginx.org/

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


Re: portupgrade

2010-02-08 Thread Artifex Maximus
Szia László!

2010/2/8 Dánielisz László 

> hi,
>
> do you have any idea why it is not upgrading:
>
> root# portversion -v|grep php
> php5-5.2.12 >  succeeds port (port has 5.2.10)
> php5-pcre-5.2.12>  succeeds port (port has 5.2.10)
> php5-session-5.2.12 >  succeeds port (port has 5.2.10)
> php5-simplexml-5.2.12   >  succeeds port (port has 5.2.10)
> php5-spl-5.2.12 >  succeeds port (port has 5.2.10)
> php5-sqlite-5.2.12  >  succeeds port (port has 5.2.10)
> root# portupgrade -vr php5
> --->  Session started at: Mon, 08 Feb 2010 09:40:19 +0100
> ** None has been installed or upgraded.
> --->  Session ended at: Mon, 08 Feb 2010 09:40:20 +0100 (consumed 00:00:01
>
>
Because installed version is higher than version in port tree (5.2.12 >
5.2.10). Have you upgraded your port tree before?

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


Re: Fwd: upgrading remote server

2009-10-20 Thread Artifex Maximus
Hello!

On Mon, Oct 19, 2009 at 11:29 PM, John Almberg  wrote:

> Okay! After a lot of googling/reading I successfully upgraded to 7.2, now
> I'm trying to upgrade ports...
>
> I ran portmaster -L and got a long list of ports that need upgrading...
> From my reading, it seems like the only way to do this is to go through the
> list, one by one, and either (1) delete unused ports or (2) upgrade ports
> that seem to need it.
>
> This is going to take quite a bit of time... am I missing something (other
> than the fact that I should have been doing this all along?)
>
>

That is a time consuming process indeed. Don't forget this is a major
version update. You must upgrade all ports because there is possibly some
change in library versions, API or any other part of system. Might use:

portmaster -a -f

which direct portmaster to process all ports and force rebuild of all ports.
And again read /usr/src/UPGRADING and /usr/ports/UPGRADE for more
information.

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


Re: upgrading remote server

2009-10-18 Thread Artifex Maximus
Hello!

On Sun, Oct 18, 2009 at 5:08 PM, John Almberg  wrote:

> I've been reading the upgrade chapter in "Absolute FreeBSD", and it seems
> like the best option is to download the source files for 7.2 and upgrade
> from sources.


I've done it several times via ssh between major and minor versions without
any problems. You should read /usr/src/UPDATING for any additional
information.

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


Re: POLL: Linux preferences from FreeBSD users

2009-07-02 Thread Artifex Maximus
Hello!

On Thu, Jul 2, 2009 at 12:58 AM, Daniel Underwood 
 wrote:

> QUESTION: Of the various modern Linux distributions, which do you
> prefer? and why?


I used to like Slackware but moved to Ubuntu two or three years before. I
liked Slackware simplicity but its package system was too simple and then I
moved to FreeBSD. Some years before I had found Ubuntu and stayed there for
Linux boxes. Some people prefer Debian over Ubuntu but I dislike Debian
approach on packages (namely patch the older version as long as you can
instead of switch to a newer one).

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


Re: Compiling curl 7.19

2008-10-15 Thread Artifex Maximus
Hello!

On Wed, Oct 15, 2008 at 10:32 AM, Jeremy Chadwick <[EMAIL PROTECTED]> wrote:
> On Wed, Oct 15, 2008 at 10:02:44AM +0200, Artifex Maximus wrote:
>> I would like to upgrade my curl to the latest 7.19.0 version because
>> it is fixes some problems that 7.18.0 has. I would like to upgrade via
>> ports system for future "compatibility". I have written to the port
>> maintainer a week ago but no change.
> The ports maintainer timeout is 2 weeks for PRs; I'm not sure if you
> opened a PR on this request or not.  With a PR, the maintainer needs to
> reply within 2 weeks.
I see and I do not know that. I wrote to him directly not through PR.

Bye,
a:m
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Compiling curl 7.19

2008-10-15 Thread Artifex Maximus
Hello!

I would like to upgrade my curl to the latest 7.19.0 version because
it is fixes some problems that 7.18.0 has. I would like to upgrade via
ports system for future "compatibility". I have written to the port
maintainer a week ago but no change.

Is anyone have a folder ftp/curl for 7.19.0 with patches? I have tried
to "adjust" 7.18.0 ftp/curl patches but I got errors. Although Curl
7.19.0 is successfully compiled without patches, I am not sure that
version is fully working because some patches change system function
calls.

Bye,
a:m
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: RELENG_6 upgrade from RELENG_5

2005-08-23 Thread artifex maximus
Hi,

On 8/23/05, Nikolas Britton <[EMAIL PROTECTED]> wrote:
> On 8/22/05, Joel Hatton <[EMAIL PROTECTED]> wrote:
> > Before I go crazy and change my RELENG_5 to 6 and resync my sources, can
> > someone point me at a README/UPDATING for upgraders? I'm sure I'll find
> > one _after_ I cvsup, but I'd like to read it first.
> The upgrade to RELENG_6, from RELENG_5_4, is straightforward and
> simple. Comment out these lines in the GENERIC kernel:
I think much better to leave GENERIC as is and making new config file like this:

include GENERIC

ident NEWKERNEL

nomakeoption DEBUG
nooptions KDB
nooptions DDB
nooptions GDB
nooptions INVARIANTS
nooptions INVARIANTS_SUPPORT
nooptions WITNESS
nooptions WITNESS_SKIPSPIN

bye,
a
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


autoconf259 question

2005-04-17 Thread artifex maximus
Hello!

I try to make a working configure.in but I have the following problem.

I write this:
AC_CHECK_HEADERS([netinet/in_systm.h])
AC_CHECK_HEADERS([netinet/in.h])
AC_CHECK_HEADERS([netinet/ip.h],,, [code to insert])

I run autoheader259 to make config.h.in. Thereafter I run configure
that doesn't found netinet/ip.h and doesn't define HAVE_NETINET_IP_H.

checking netinet/in_systm.h usability... yes
checking netinet/in_systm.h presence... yes
checking for netinet/in_systm.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for netinet/ip.h... no

File is exist:
# ls -l /usr/include/netinet/ip.h
-r--r--r--  1 root  wheel  6790 Mar 24 08:50 /usr/include/netinet/ip.h

My system:
FreeBSD * 5.4-STABLE FreeBSD 5.4-STABLE #0: Thu Apr  7 00:27:04 CEST
2005 [EMAIL PROTECTED]  i386

What is the problem? Any idea?

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