[gentoo-dev] local repo kernel ebuild search for tar.bz2 instead of tar.xz

2014-06-26 Thread Kfir Lavi
Hi,
I have copied ebuild from sys-kernel/hardened-sources to my local
repository, in order to patch the sources.
I didn't change the ebuild for now, but repoman manifest does not work.
It tries to download files with extension tar.bz2 and not tar.xz.
If I delete my local copy of the ebuild, emerge will work ok from the
global portage tree.
I think bug https://bugs.gentoo.org/show_bug.cgi?id=421721
is related to my problem, as it changed the extension of tar archives from
bz2 to xz.

Maybe there is a global flag I need to specify in order to inherit gentoo
main tree behaviour?

Regards,
Kfir


Re: [gentoo-dev] Re: sandbox access violations while running matlab binary installer

2014-04-04 Thread Kfir Lavi
On Apr 3, 2014 5:59 PM, Duncan 1i5t5.dun...@cox.net wrote:

 Kfir Lavi posted on Wed, 02 Apr 2014 13:38:47 +0300 as excerpted:

  What I don't understand is, why it needs to get write permissions to
  /etc/mtab ?

 That is a worrisome indeed, since /etc/mtab is now often a symlink to
 /proc/self/mounts (or to /proc/mounts which in symlinks to /proc/self/
 mounts), which is kernel-enforced read-only.

 Either way, attempts to write to the symlink target (/proc/self/mounts)
 *OR* to replace the symlink are worrisome, tho attempts to write the
 target only potentially disrupt the writer, while successfully replacing
 the symlink could leave a system and thus its sysadmin in a world of hurt.

 Yet another lesson on the evils of proprietary/servantware code and the
 violation of the freedom of actual users to properly see what's going on
 and to fix it. shrug

 --
 Duncan - List replies preferred.   No HTML msgs.
 Every nonfree program has a lord, a master --
 and if you use the program, he is your master.  Richard Stallman


I think the developer of install shield just open it for reading with a
read write call.
I'm with you on every word you wrote.


Re: [gentoo-dev] Re: sandbox access violations while running matlab binary installer

2014-04-02 Thread Kfir Lavi
On Wed, Apr 2, 2014 at 5:58 AM, Jonathan Callen jcal...@gentoo.org wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA512

 On 04/01/2014 10:03 AM, Kfir Lavi wrote:
  On Mon, Mar 31, 2014 at 11:53 PM, Duncan 1i5t5.dun...@cox.net wrote:
 
  Alexandre Rostovtsev posted on Mon, 31 Mar 2014 14:54:09 -0400 as
 excerpted:
 
  The best solution is to figure out why the directory is being created
 there and whether it
  is customizable. Maybe the code actually is creating
 $HOME/InstallShield? Then export
  HOME=${T} in your ebuild.
 
  Well, best would be not to run software where the author doesn't
 respect your rights to
  study, patch and share the software, with or without those
 modifications, in the first
  place.
 
  But understanding not everybody is prepared to go that route and it's
 their machines and
  life, not mine...
 
  On the ebuild execution side, as a last resort you can turn off
 FEATURES=sandbox and perhaps
  FEATURES=userpriv as well, allowing it free access to do whatever it's
 going to do.
 
  Alternatively and for both the ebuild creation and execution sides,
 take a look at
  /etc/sandbox.conf and the files in /etc/sandbox.d/, and grep SANDBOX_ in
  $PORTDIR/*/*/*.ebuild and $PORTDIR/eclass/*.eclass.
 
  (Tho it's not always proprietaryware; take a look at emacs... based on
 some of the other
  packages that disable sandbox, I'd guess it's the lisp.)
 
  Anyway, SANDBOX_PREDICT or SANDBOX_WRITE will probably do it in your
 case (violations not
  flat-out-segfaults as emacs apparently triggers), but SANDBOX_ON=0 is
 there if you REALLY
  need it.
 
  Tho obviously if you were doing that ebuild for the main tree, any
 messing with sandbox isn't
  going to get it there any faster.  But if you're doing it for your own
 (including possibly
  company internal) use only...
 
  -- Duncan - List replies preferred.   No HTML msgs. Every nonfree
 program has a lord, a
  master -- and if you use the program, he is your master.  Richard
 Stallman
 
 
 
  Thanks Duncan,
 
  addwrite /root/InstallShield addwrite /etc/mtab
 
  did the trick.
 
  Thanks all for replaying.
 
  Kfir
 

 IIRC, you really should use `addpredict` instead of `addwrite`, as you
 don't want the package
 *really* writing to those locations.


I have tried it, but the installation does not work.
Matlab does not really install itself, as it throws a lot of
NullPointerException.
What I'm doing is letting it write using addwrite and then at the post
install I delete this directory.

What I don't understand is, why it needs to get write permissions to
/etc/mtab ?


 - --
 Jonathan Callen
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2.0.22 (GNU/Linux)
 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

 iQIcBAEBCgAGBQJTO3zXAAoJELHSF2kinlg4emwQAJNwluWdrGXrBMj3f+j4Sx8+
 Ch6M5FF5lRqQXnnqZUvXrEd2t6iBMrZ0Xm/AVnAkCNr4vlpRdcS7ahmbCSC4jT2f
 Plct5CG6+3/W1PbNfmSLoBxIlEU8vMzx4gUJtaGUOuuekjuYK+xKHjlskVJks0Y8
 im0k/1VDR13J6NyneBmISH0SglmYmVTAezT9yngqm089cfi4DkZo4MdR/r4TUtRd
 lu62NlZ517t2pNINJe5anRq9Q0D+obGg8gmZ0+C2jNwj+9thXZWnSLuV03eXpIG3
 ntVaVRI2H4p9hPWQJMCfVsyVfudYDiP/05hOkeTOd3NV+8crODoY06CQNhZ7e0hb
 yB+TE+bqufAuqaEalhEB5oxn61u+ALYHCXSRNjuQItzZrWRSXqV6r7Hd9TKtHEL0
 w+ayThJYXqWDSj69yXpyHMldWovydKMVv7Goz9gdzBjPIRVfLZoUmvpl1RGwsOII
 ahubgQPp2n0cibm0K2Uaqr1xg7MuvUr810hl/LVhK8OlsT3gqDgMXyZrG6S1x/jo
 DV7qCJCqy5GjDc4KdS/tPTXJt9krAjRNDIxfA/jzvOC8lghZuAFFZpUSHfBR9XL+
 VUMUwhwdathtQic20+t4vnXP24AetYvqaO7K1dRFJhopGE8P0gnt7r8xQa5uZSkr
 QtKhDStXVcLkOnuw3jy+
 =3dEf
 -END PGP SIGNATURE-




Re: [gentoo-dev] Re: sandbox access violations while running matlab binary installer

2014-04-01 Thread Kfir Lavi
On Mon, Mar 31, 2014 at 11:53 PM, Duncan 1i5t5.dun...@cox.net wrote:

 Alexandre Rostovtsev posted on Mon, 31 Mar 2014 14:54:09 -0400 as
 excerpted:

  The best solution is to figure out why the directory is being created
  there and whether it is customizable. Maybe the code actually is
  creating $HOME/InstallShield? Then export HOME=${T} in your ebuild.

 Well, best would be not to run software where the author doesn't
 respect your rights to study, patch and share the software, with or
 without those modifications, in the first place.

 But understanding not everybody is prepared to go that route and it's
 their machines and life, not mine...

 On the ebuild execution side, as a last resort you can turn off
 FEATURES=sandbox and perhaps FEATURES=userpriv as well, allowing it free
 access to do whatever it's going to do.

 Alternatively and for both the ebuild creation and execution sides, take
 a look at /etc/sandbox.conf and the files in /etc/sandbox.d/, and grep
 SANDBOX_ in $PORTDIR/*/*/*.ebuild and $PORTDIR/eclass/*.eclass.

 (Tho it's not always proprietaryware; take a look at emacs... based on
 some of the other packages that disable sandbox, I'd guess it's the lisp.)

 Anyway, SANDBOX_PREDICT or SANDBOX_WRITE will probably do it in your case
 (violations not flat-out-segfaults as emacs apparently triggers), but
 SANDBOX_ON=0 is there if you REALLY need it.

 Tho obviously if you were doing that ebuild for the main tree, any
 messing with sandbox isn't going to get it there any faster.  But if
 you're doing it for your own (including possibly company internal) use
 only...

 --
 Duncan - List replies preferred.   No HTML msgs.
 Every nonfree program has a lord, a master --
 and if you use the program, he is your master.  Richard Stallman



Thanks Duncan,

addwrite /root/InstallShield
addwrite /etc/mtab

did the trick.

Thanks all for replaying.

Kfir


[gentoo-dev] sandbox access violations while running matlab binary installer

2014-03-31 Thread Kfir Lavi
Hi all,
I'm trying to create an ebuild to install matlab MCR on gentoo.
The installer InstallShileld try to create directory /root/InstallShield ;-)
mkdir is run by java binary that try this. So I have no access to change it.
There is no option to provide InstallShield it's relative install path.
I can provide matlab's install path and other options, but this made
permanent /root/InstallShield

What can I do?

Thanks,
Kfir


Re: [gentoo-dev] sandbox access violations while running matlab binary installer

2014-03-31 Thread Kfir Lavi
On Mon, Mar 31, 2014 at 9:14 PM, Samuli Suominen ssuomi...@gentoo.orgwrote:


 On 31/03/14 21:15, Kfir Lavi wrote:
  Hi all,
  I'm trying to create an ebuild to install matlab MCR on gentoo.
  The installer InstallShileld try to create directory
  /root/InstallShield ;-)
  mkdir is run by java binary that try this. So I have no access to
  change it.
  There is no option to provide InstallShield it's relative install path.
  I can provide matlab's install path and other options, but this made
  permanent /root/InstallShield
 
  What can I do?
 
  Thanks,
  Kfir

 Try the gentoo-user mailing list or forums.   Nothing we can do from
 Gentoo's side, ie. wrong mailing list.

 Is there a way to contain this violation and provide a pseudo permissions
to use /root/InstallShield


Re: [gentoo-dev] How to publish an overlay

2013-02-08 Thread Kfir Lavi
On Fri, Feb 8, 2013 at 9:28 AM, Brian Dolbec dol...@gentoo.org wrote:

 On Fri, 2013-02-08 at 09:03 +0200, Kfir Lavi wrote:
  Hi,
  I'm the author of bashlibs - general library framework and libraries
  for bash programing.
  I have created new overlay for bash libraries.
  https://github.com/kfirlavi/bashlibs/tree/master/gentoo/portage
 
  How do I publish it via layman or eix-remote?
 
  Regards,
  Kfir
 
 
 Generally file a bug in bugzilla asking the overlay team to add it.

 Please supply all the info needed for creating the xml to add.  You
 could also pre-fill out the xml definition and attach it.  Don't forget
 to include all urls available, github can do git and http protocols.

 How people serve binaries (tar.gz source files) to complement the
repository?
Github doesn't seem to have a way to have a binary repository and serve
single files.
Heroku maybe?

Thanks,
Kfir


 See the layman's man page for instructions on creating an xml defintion.

 http://layman.sourceforge.net/#_overlay_list_format





[gentoo-dev] How to publish an overlay

2013-02-07 Thread Kfir Lavi
Hi,
I'm the author of bashlibs - general library framework and libraries for
bash programing.
I have created new overlay for bash libraries.
https://github.com/kfirlavi/bashlibs/tree/master/gentoo/portage

How do I publish it via layman or eix-remote?

Regards,
Kfir


Re: [gentoo-dev] [RFC] category for openoffice/libreoffice extensions

2011-08-31 Thread Kfir Lavi
2011/8/31 Tomáš Chvátal scarab...@gentoo.org

 Hi,
 would it be sane to create new category for the extensions of the
 libreoffice? There will be more than handful of them when we add the
 office-ext eclass and start adding them to the main tree.

 I think it could go to office-plugins/ category, any other suggestions?

 Cheers

 Tom

 I think office-plugins can be defined as all plugins that relates to all
offices suits.
So I think office-plugins should be the one.

Regards,
Kfir


Re: [gentoo-dev] Re: I'm looking for a mentor

2011-08-04 Thread Kfir Lavi
On Wed, Apr 13, 2011 at 12:53 PM, Kfir Lavi lavi.k...@gmail.com wrote:



 On Wed, Apr 13, 2011 at 2:33 PM, Markos Chandras hwoar...@gentoo.orgwrote:

 On Wed, Apr 13, 2011 at 12:24:54PM +0300, Kfir Lavi wrote:
  On Tue, Apr 12, 2011 at 11:03 AM, Kfir Lavi lavi.k...@gmail.com
 wrote:
 
   Hi all,
   My name is Kfir Lavi, I'm 36 years old, father of a gorgeous child ;)
   and a Linux user for about 8 years (I don't count really ;-).
   I'm a Linux BSP developer here in Israel.
   I started from LFS, and after few weeks I had a Pentium 100Mhz loaded
 with
   X...
   I'm a Gentoo user for few years now, and I'm interested in embedded,
   catalyst and stuff
   related to day to day desktop. At home we are working just on Gentoo,
 no
   other OS installed there.
   I'm experienced in cluster environments to embedded environments. I
 have
   worked with Perl, Python and Ruby.
   I do prefer Bash for day to day usage. I also do C programming that
 relate
   to Kernel stuff.
   In the last few month i did a lot of work using Catalyst, crossdev and
   embedded in general. I'm using
   Portage facilities for my own work internal use. As part of that, I
 did
   some work on public ebuilds.
   As work get more complicated, I find myself in need of packages that
 are
   not always
   maintained as I need them.
   As a start I would like to start maintaining dev-libs/ace, as we are
 using
   it in our systems a lot.
   I have emailed  Daniel Black, the current maintainer of ACE,  about
   changing ownership, but
   because I'm not a gentoo dev, we can't do it.
   I'm currently in a battle of shifting major company to Gentoo from
 vxworks
   and Windriver.
   Not easy, and because of that, I have been learning a lot of Gentoo
   internals. This really
   opened up my view about Portage and it's abilities.
   My aim for the future is bringing Catalyst and Portage to an OnDemand
   embedded (crossdev) state (Which is a lot to ask, but we'll take it
 step by
   step).
  
   I would be happy if someone will find the time to mentor me to become
 a
   Gentoo dev.
  
   More info about me:
   http://www.linkedin.com/in/lavikfir
   http://gentoo-what-did-you-say.blogspot.com/
   I'm a proxy maintainer of app-misc/utimer
   http://github.com/kfirlavi/Amalia - Testbed for network testing
  
   Thanks,
   Kfir
   lavi.kfir at gmail...
   IRC: kipibenkipod
  
 
  Common guys, no one? ...

 Kfir,

 I can help you with that. Contact me off-list

 Regards,
 --
 Markos Chandras / Gentoo Linux Developer / Key ID: B4AFF2C2


 Hi,
 Thanks to Markos, we have started the mentoring process.

 Regards,
 Kfir


Hi Markos,
I'm contacting you to let you know that I'm still interested in your
mentoring.
I find it very hard to concentrate on the quizzes you sent me, as I'm deeply
at work.
I'm returning home everyday at ~22:00.
I also have a family and a small 1 year old child, that needs my attention
;-)
I did small part of the test.
Do you want me to send you the test as is and we'll take it few questions at
a time, or you need it full?

Have a nice weekend,
Kfir


Re: [gentoo-dev] Re: I'm looking for a mentor

2011-08-04 Thread Kfir Lavi
On Thu, Aug 4, 2011 at 10:14 PM, Kfir Lavi lavi.k...@gmail.com wrote:



 On Wed, Apr 13, 2011 at 12:53 PM, Kfir Lavi lavi.k...@gmail.com wrote:



 On Wed, Apr 13, 2011 at 2:33 PM, Markos Chandras hwoar...@gentoo.orgwrote:

 On Wed, Apr 13, 2011 at 12:24:54PM +0300, Kfir Lavi wrote:
  On Tue, Apr 12, 2011 at 11:03 AM, Kfir Lavi lavi.k...@gmail.com
 wrote:
 
   Hi all,
   My name is Kfir Lavi, I'm 36 years old, father of a gorgeous child ;)
   and a Linux user for about 8 years (I don't count really ;-).
   I'm a Linux BSP developer here in Israel.
   I started from LFS, and after few weeks I had a Pentium 100Mhz loaded
 with
   X...
   I'm a Gentoo user for few years now, and I'm interested in embedded,
   catalyst and stuff
   related to day to day desktop. At home we are working just on Gentoo,
 no
   other OS installed there.
   I'm experienced in cluster environments to embedded environments. I
 have
   worked with Perl, Python and Ruby.
   I do prefer Bash for day to day usage. I also do C programming that
 relate
   to Kernel stuff.
   In the last few month i did a lot of work using Catalyst, crossdev
 and
   embedded in general. I'm using
   Portage facilities for my own work internal use. As part of that, I
 did
   some work on public ebuilds.
   As work get more complicated, I find myself in need of packages that
 are
   not always
   maintained as I need them.
   As a start I would like to start maintaining dev-libs/ace, as we are
 using
   it in our systems a lot.
   I have emailed  Daniel Black, the current maintainer of ACE,  about
   changing ownership, but
   because I'm not a gentoo dev, we can't do it.
   I'm currently in a battle of shifting major company to Gentoo from
 vxworks
   and Windriver.
   Not easy, and because of that, I have been learning a lot of Gentoo
   internals. This really
   opened up my view about Portage and it's abilities.
   My aim for the future is bringing Catalyst and Portage to an OnDemand
   embedded (crossdev) state (Which is a lot to ask, but we'll take it
 step by
   step).
  
   I would be happy if someone will find the time to mentor me to become
 a
   Gentoo dev.
  
   More info about me:
   http://www.linkedin.com/in/lavikfir
   http://gentoo-what-did-you-say.blogspot.com/
   I'm a proxy maintainer of app-misc/utimer
   http://github.com/kfirlavi/Amalia - Testbed for network testing
  
   Thanks,
   Kfir
   lavi.kfir at gmail...
   IRC: kipibenkipod
  
 
  Common guys, no one? ...

 Kfir,

 I can help you with that. Contact me off-list

 Regards,
 --
 Markos Chandras / Gentoo Linux Developer / Key ID: B4AFF2C2


 Hi,
 Thanks to Markos, we have started the mentoring process.

 Regards,
 Kfir


 Hi Markos,
 I'm contacting you to let you know that I'm still interested in your
 mentoring.
 I find it very hard to concentrate on the quizzes you sent me, as I'm
 deeply at work.
 I'm returning home everyday at ~22:00.
 I also have a family and a small 1 year old child, that needs my attention
 ;-)
 I did small part of the test.
 Do you want me to send you the test as is and we'll take it few questions
 at a time, or you need it full?

 Have a nice weekend,
 Kfir


Well,
hehe, I'll send it in private ;-)
yep, heavy fingers.

Kfir


Re: [gentoo-dev] net-misc/pimd RFC for new ebuild

2011-07-20 Thread Kfir Lavi
On Tue, Jul 19, 2011 at 9:32 PM, Kacper Kowalik xarthis...@gentoo.orgwrote:

 W dniu 19.07.2011 19:31, Donnie Berkholz pisze:
  On 11:43 Sun 17 Jul , Kacper Kowalik wrote:
  W dniu 17.07.2011 10:45, Kfir Lavi pisze:
  src_compile() {
  emake CC=$(tc-getCC) || die
  }
  Some systems export CC as gcc -m64.
 
  I guess I'm a little confused here. What exactly is the problem and fix
  you're proposing? You stopped halfway through, there should've been a
  part at the end that said:
 
  , so you need to do XX to avoid YY from happening.

 Use quotes: CC=$(tc-getCC). Without it you could get emake CC=gcc -m64
 and that would of course fail.
 Apologies for mental leap...
 Cheers,
 Kacper


 As I posted before, I have new code for your review in the bug 
 52848https://bugs.gentoo.org/show_bug.cgi?id=352848,
and it doesn't use CC=$(tc-getCC)
anymore.

Thanks,
Kfir


Re: [gentoo-dev] net-misc/pimd RFC for new ebuild

2011-07-19 Thread Kfir Lavi
On Tue, Jul 19, 2011 at 8:31 PM, Donnie Berkholz dberkh...@gentoo.orgwrote:

 On 11:43 Sun 17 Jul , Kacper Kowalik wrote:
  W dniu 17.07.2011 10:45, Kfir Lavi pisze:
   src_compile() {
   emake CC=$(tc-getCC) || die
   }
  Some systems export CC as gcc -m64.

 I guess I'm a little confused here. What exactly is the problem and fix
 you're proposing? You stopped halfway through, there should've been a
 part at the end that said:

 , so you need to do XX to avoid YY from happening.

 --
 Thanks,
 Donnie

 Donnie Berkholz
 Council Member / Sr. Developer
 Gentoo Linux
 Blog: http://dberkholz.com

Hi Donnie,
Please review the updated version of this ebuild at the bug page:
52848https://bugs.gentoo.org/show_bug.cgi?id=352848

Thanks,
Kfir


[gentoo-dev] net-misc/pimd RFC for new ebuild

2011-07-17 Thread Kfir Lavi
Hi,
I have created a new ebuild for net-misc/pimd [1].
From the webpage:
pimd is a lightweight stand-alone PIM-SM v2 multicast routing daemon.

I would like you guys to review the ebuild and the rc-file.
This ebuild is based on net-misc/mrouted.

Thanks,
Kfir

1. http://vmlinux.org/jocke/pimd.shtml


pimd-2.1.7.ebuild
Description: Binary data


pimd.rc
Description: Binary data


Re: [gentoo-dev] net-misc/pimd RFC for new ebuild

2011-07-17 Thread Kfir Lavi
On Sun, Jul 17, 2011 at 12:43 PM, Kacper Kowalik xarthis...@gentoo.orgwrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 W dniu 17.07.2011 10:45, Kfir Lavi pisze:
  Hi,
  I have created a new ebuild for net-misc/pimd [1].
  From the webpage:
  pimd is a lightweight stand-alone PIM-SM v2 multicast routing daemon.
 
  I would like you guys to review the ebuild and the rc-file.
  This ebuild is based on net-misc/mrouted.

  EAPI=2
 Please use latest eapi when introducing new ebuilds

  inherit eutils toolchain-funcs
 where do you use 'eutils.eclass'?

  DESCRIPTION=Lightweight stand-alone PIM-SM v2 multicast routing daemon
  HOMEPAGE=http://vmlinux.org/jocke/pimd.shtml;
  SRC_URI=ftp://ftp.vmlinux.org/pub/People/jocke/${PN}/${P}.tar.bz2;
  LICENSE=Stanford
 Is that a correct license? Compare LICENSE.mrouted with
 ${PORTDIR}/licenses/Stanford and then with BSD.

  SLOT=0
  KEYWORDS=~amd64 ~x86
  IUSE=+doc
 Where do you use doc flag?

  DEPEND=|| ( dev-util/yacc sys-devel/bison )
  RDEPEND=
 Is yacc or bison really invoked during build? (Check either Makefile or
 TODO ;) ) Assuming it isn't those two lines are unnecessary.

  CONFIG_CHECK=~IP_PIMSM_V2:
  WARNING_BRIDGE=CONFIG_IP_PIMSM_V2 is required for pimd
 these are not used.

  src_prepare() {
  # Respect user CFLAGS, remove upstream optimisation and -Werror
  sed -i Makefile \
  -e '/^CFLAGS/{s|[[:space:]]=| +=|g;s|-O2||g;s|-Werror||g}' \
  || die
  }
 It would be more legible if you convert it to patch.

  src_compile() {
  emake CC=$(tc-getCC) || die
  }
 Some systems export CC as gcc -m64.

  src_install() {
 dobin pimd || die
 ...
 All those helpers could be easily avoided.

 src_install() {
emake DESTDIR=${D} prefix=/usr \
datadir=/usr/share/doc/${PN} install || die
newinitd ${FILESDIR}/pimd.rc pimd
 }

 Only don't install unnecessary docs:
 sed -i -e s/INSTALL LICENSE LICENSE.mrouted// Makefile

 Please note that there's already bug for that pkg[1] it would be good if
 further development would be done there.
 Cheers,
 Kacper

 [1] https://bugs.gentoo.org/show_bug.cgi?id=352848
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2.0.17 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

 iJwEAQECAAYFAk4irrgACgkQIiMqcbOVdxTfXAP/VAZi6HwGPRQrCzYTJ840brkb
 +KVBHUunzd+dML0m24oiq5CmR31SuYIpj4qXvsXuYYL2A2kK1N8R/A7KOcZ4MaGw
 BkltP/crrLJU6qHnTVrEXLE2SEYUxAGbTw2D4Lx0DE3jkLtikNDp/I2D0bS3aK9l
 /kuMMZp89zx293OeTBo=
 =QQI+
 -END PGP SIGNATURE-

 Hi,
Thanks for your input.
I have posted the ebuild in the bug
52848https://bugs.gentoo.org/show_bug.cgi?id=352848.
Also included patches and rc-file.
The License is a bit hard.
It seems that the license is BSD, but as some work is copied from mrouted,
then it also
contains Stansford license.
Can someone look and help me figure out what license should i use?

I have included the License files in this mail.

Regards,
Kfir


LICENSE
Description: Binary data


LICENSE.mrouted
Description: Binary data


Re: [gentoo-dev] ACE gcc and libc dependency

2011-05-04 Thread Kfir Lavi
On Tue, May 3, 2011 at 7:15 PM, Mike Gilbert floppymas...@gmail.com wrote:

 On Tue, May 3, 2011 at 11:53 AM, Paweł Hajdan, Jr.
 phajdan...@gentoo.org wrote:
  On 5/3/11 5:27 PM, Kfir Lavi wrote:
  In the ebuild there is no mention of runtime dependency like gcc or
 glibc.
 
  See
  
 http://devmanual.gentoo.org/general-concepts/dependencies/index.html#implicit-system-dependency
 
 
  Why sys-devel/gcc don't have a library version without the actual
 compiler?
 
  This question may be a bit hard to understand, at least for me.
 
 

 Other distros package libstdc++ separately from gcc. On Gentoo, the
 one package (sys-devel/gcc) provides both.

 Maybe we should add a new USE flag that will install just the libraries.
(USE=justlibs)

Kfir


[gentoo-dev] ACE gcc and libc dependency

2011-05-03 Thread Kfir Lavi
Hi,
I'm trying to build a small system that installs just the needed libraries.
One of the programs is ACE libs.
ldd shows:
(hardend) goofy catalyst # ldd /usr/lib/libACE-6.0.1.so
linux-gate.so.1 =  (0xa2782000)
librt.so.1 = /lib/librt.so.1 (0xa25bd000)
libdl.so.2 = /lib/libdl.so.2 (0xa25b9000)
libstdc++.so.6 =
/usr/lib/gcc/i686-pc-linux-gnu/4.5.2/libstdc++.so.6 (0xa24bd000)
libm.so.6 = /lib/libm.so.6 (0xa2496000)
libc.so.6 = /lib/libc.so.6 (0xa231)
libgcc_s.so.1 = /usr/lib/gcc/i686-pc-linux-gnu/4.5.2/libgcc_s.so.1
(0xa22f6000)
libpthread.so.0 = /lib/libpthread.so.0 (0xa22dc000)
/lib/ld-linux.so.2 (0xa2783000)

In the ebuild there is no mention of runtime dependency like gcc or glibc.
...
COMMON_DEPEND=dev-libs/openssl
# TODO probably more
RDEPEND=${COMMON_DEPEND}
X? ( x11-libs/libXt x11-libs/libXaw )

DEPEND=${COMMON_DEPEND}
X? ( x11-proto/xproto )
...

I have added virtual/libc sys-devel/gcc to RDEPEND, but this will install
gcc.
I would like to avoid installing gcc, and would like to install just the
libraries.
Is this approach correct?
Why sys-devel/gcc don't have a library version without the actual compiler?

Regards,
Kfir


Re: [gentoo-dev] openrc portage news item

2011-04-14 Thread Kfir Lavi
On Wed, Apr 13, 2011 at 9:15 PM, William Hubbs willi...@gentoo.org wrote:

 All,

 this is the portage news item I am planning on committing to the tree.

 This is based on an earlier version written by Christian Fallhammer.

 If there are no suggestions for additions or corrections, this will be
 committed on 5/1.

 Thanks,

 William


Hi,
When i run world update, I usually don't really check all the written stuff.

If I do this, I'm sure a lot more Gentoo users do the same.
So do expect people rebooting the machine without checking what your have
wrote.
This can be a major headache if you have few systems that are doing auto
updates.
I would solve this issue by stopping the emerge and getting the attention of
the user.
If I don't get the attention of the user, no openrc will be installed.
It should be something like emerge -C ... 1 .2 3 4 5...

To conclude, you can't issue such a change without proper confirmation from
the user.

Regards,
Kfir


[gentoo-dev] cmake.eclass turns OFF essential flags

2011-04-14 Thread Kfir Lavi
Hi,
I'm using cmake as my build system.
I have created few cmake modules that are installed in another package.
I now want to use those modules, when running cmake for current install.
Cmake finds extra modules using CMAKE_MODULE_PATH.
When running cmake manually, things work well, but when it's run under
an ebuild which use:
EAPI=3
inherit cmake-utils flag-o-matic

The emerge will stop complaining that it can't find the extra modules.
Printing the CMAKE_MODULE_PATH shows that it is OFF.
What I understand is: cmake.eclass will turn OFF all the flags.
I have looked in the code, but didn't find the place which is turning
all flags off.

Is there a way to solve this problem?
Maybe a flag for cmake.eclass that will cause respecting the users
initial settings?

I can solve this problem instantly by installing my extra cmake modules into
the main
cmake modules directory, but then I'm mixing 2 packages, which I really
don't
want to do.

Regards,
Kfir


[gentoo-dev] Re: I'm looking for a mentor

2011-04-13 Thread Kfir Lavi
On Tue, Apr 12, 2011 at 11:03 AM, Kfir Lavi lavi.k...@gmail.com wrote:

 Hi all,
 My name is Kfir Lavi, I'm 36 years old, father of a gorgeous child ;)
 and a Linux user for about 8 years (I don't count really ;-).
 I'm a Linux BSP developer here in Israel.
 I started from LFS, and after few weeks I had a Pentium 100Mhz loaded with
 X...
 I'm a Gentoo user for few years now, and I'm interested in embedded,
 catalyst and stuff
 related to day to day desktop. At home we are working just on Gentoo, no
 other OS installed there.
 I'm experienced in cluster environments to embedded environments. I have
 worked with Perl, Python and Ruby.
 I do prefer Bash for day to day usage. I also do C programming that relate
 to Kernel stuff.
 In the last few month i did a lot of work using Catalyst, crossdev and
 embedded in general. I'm using
 Portage facilities for my own work internal use. As part of that, I did
 some work on public ebuilds.
 As work get more complicated, I find myself in need of packages that are
 not always
 maintained as I need them.
 As a start I would like to start maintaining dev-libs/ace, as we are using
 it in our systems a lot.
 I have emailed  Daniel Black, the current maintainer of ACE,  about
 changing ownership, but
 because I'm not a gentoo dev, we can't do it.
 I'm currently in a battle of shifting major company to Gentoo from vxworks
 and Windriver.
 Not easy, and because of that, I have been learning a lot of Gentoo
 internals. This really
 opened up my view about Portage and it's abilities.
 My aim for the future is bringing Catalyst and Portage to an OnDemand
 embedded (crossdev) state (Which is a lot to ask, but we'll take it step by
 step).

 I would be happy if someone will find the time to mentor me to become a
 Gentoo dev.

 More info about me:
 http://www.linkedin.com/in/lavikfir
 http://gentoo-what-did-you-say.blogspot.com/
 I'm a proxy maintainer of app-misc/utimer
 http://github.com/kfirlavi/Amalia - Testbed for network testing

 Thanks,
 Kfir
 lavi.kfir at gmail...
 IRC: kipibenkipod


Common guys, no one? ...


Re: [gentoo-dev] Re: I'm looking for a mentor

2011-04-13 Thread Kfir Lavi
On Wed, Apr 13, 2011 at 2:33 PM, Markos Chandras hwoar...@gentoo.orgwrote:

 On Wed, Apr 13, 2011 at 12:24:54PM +0300, Kfir Lavi wrote:
  On Tue, Apr 12, 2011 at 11:03 AM, Kfir Lavi lavi.k...@gmail.com wrote:
 
   Hi all,
   My name is Kfir Lavi, I'm 36 years old, father of a gorgeous child ;)
   and a Linux user for about 8 years (I don't count really ;-).
   I'm a Linux BSP developer here in Israel.
   I started from LFS, and after few weeks I had a Pentium 100Mhz loaded
 with
   X...
   I'm a Gentoo user for few years now, and I'm interested in embedded,
   catalyst and stuff
   related to day to day desktop. At home we are working just on Gentoo,
 no
   other OS installed there.
   I'm experienced in cluster environments to embedded environments. I
 have
   worked with Perl, Python and Ruby.
   I do prefer Bash for day to day usage. I also do C programming that
 relate
   to Kernel stuff.
   In the last few month i did a lot of work using Catalyst, crossdev and
   embedded in general. I'm using
   Portage facilities for my own work internal use. As part of that, I did
   some work on public ebuilds.
   As work get more complicated, I find myself in need of packages that
 are
   not always
   maintained as I need them.
   As a start I would like to start maintaining dev-libs/ace, as we are
 using
   it in our systems a lot.
   I have emailed  Daniel Black, the current maintainer of ACE,  about
   changing ownership, but
   because I'm not a gentoo dev, we can't do it.
   I'm currently in a battle of shifting major company to Gentoo from
 vxworks
   and Windriver.
   Not easy, and because of that, I have been learning a lot of Gentoo
   internals. This really
   opened up my view about Portage and it's abilities.
   My aim for the future is bringing Catalyst and Portage to an OnDemand
   embedded (crossdev) state (Which is a lot to ask, but we'll take it
 step by
   step).
  
   I would be happy if someone will find the time to mentor me to become a
   Gentoo dev.
  
   More info about me:
   http://www.linkedin.com/in/lavikfir
   http://gentoo-what-did-you-say.blogspot.com/
   I'm a proxy maintainer of app-misc/utimer
   http://github.com/kfirlavi/Amalia - Testbed for network testing
  
   Thanks,
   Kfir
   lavi.kfir at gmail...
   IRC: kipibenkipod
  
 
  Common guys, no one? ...

 Kfir,

 I can help you with that. Contact me off-list

 Regards,
 --
 Markos Chandras / Gentoo Linux Developer / Key ID: B4AFF2C2


Hi,
Thanks to Markos, we have started the mentoring process.

Regards,
Kfir


[gentoo-dev] I'm looking for a mentor

2011-04-12 Thread Kfir Lavi
Hi all,
My name is Kfir Lavi, I'm 36 years old, father of a gorgeous child ;)
and a Linux user for about 8 years (I don't count really ;-).
I'm a Linux BSP developer here in Israel.
I started from LFS, and after few weeks I had a Pentium 100Mhz loaded with
X...
I'm a Gentoo user for few years now, and I'm interested in embedded,
catalyst and stuff
related to day to day desktop. At home we are working just on Gentoo, no
other OS installed there.
I'm experienced in cluster environments to embedded environments. I have
worked with Perl, Python and Ruby.
I do prefer Bash for day to day usage. I also do C programming that relate
to Kernel stuff.
In the last few month i did a lot of work using Catalyst, crossdev and
embedded in general. I'm using
Portage facilities for my own work internal use. As part of that, I did some
work on public ebuilds.
As work get more complicated, I find myself in need of packages that are not
always
maintained as I need them.
As a start I would like to start maintaining dev-libs/ace, as we are using
it in our systems a lot.
I have emailed  Daniel Black, the current maintainer of ACE,  about changing
ownership, but
because I'm not a gentoo dev, we can't do it.
I'm currently in a battle of shifting major company to Gentoo from vxworks
and Windriver.
Not easy, and because of that, I have been learning a lot of Gentoo
internals. This really
opened up my view about Portage and it's abilities.
My aim for the future is bringing Catalyst and Portage to an OnDemand
embedded (crossdev) state (Which is a lot to ask, but we'll take it step by
step).

I would be happy if someone will find the time to mentor me to become a
Gentoo dev.

More info about me:
http://www.linkedin.com/in/lavikfir
http://gentoo-what-did-you-say.blogspot.com/
I'm a proxy maintainer of app-misc/utimer
http://github.com/kfirlavi/Amalia - Testbed for network testing

Thanks,
Kfir
lavi.kfir at gmail...
IRC: kipibenkipod


Re: [gentoo-dev] How a new ARCH is added to Gentoo?

2011-03-27 Thread Kfir Lavi
On Mon, Mar 21, 2011 at 4:14 PM, Mike Frysinger vap...@gentoo.org wrote:
 On Mon, Mar 21, 2011 at 8:28 AM, Kfir Lavi wrote:
 Is there any article that elaborate my question?
 My aim is to explain, why Gentoo is much more agile then
 any other binary distribution when hopping between arches.
 Lets say we started development on x86, then we want to
 move to another arch, or a totally new arch. I would like
 to know the process, lets say compared to Debian.

 https://bugs.gentoo.org/318251
 -mike


Hey Mike,
thanks a lot for your document.
It seems really easy to do this. (Well, after you know how to handle
Catalyst ;-)
I guess the wicking part and the compilation of packages will add some work.
But it really seems simple.

Thanks,
Kfir



[gentoo-dev] How to list ARCH in gentoo?

2011-03-22 Thread Kfir Lavi
Hi,
I would like to know how to list the arches gentoo supports.
I tried this:
grep 'KEYWORDS=' * -R | cut -d '' -f 2 | sed 's/ /\n/g' | sort | uniq

Not the best but close.
Is there any way to know the exact arches supported by portage?

Regards,
Kfir


Re: [gentoo-dev] How to list ARCH in gentoo?

2011-03-22 Thread Kfir Lavi
On Tue, Mar 22, 2011 at 4:05 PM, Tom Knight t...@gentoo.org wrote:

 On Tue, Mar 22, 2011 at 03:20:32PM +0200, Kfir Lavi wrote:
  Is there any way to know the exact arches supported by portage?

 /usr/portage/profiles/arch.list shows which are valid KEYWORDS.

 Cheers,

 Tom


hehe, thanks a lot.

Kfir


[gentoo-dev] How a new ARCH is added to Gentoo?

2011-03-21 Thread Kfir Lavi
Hi,
Is there any article that elaborate my question?
My aim is to explain, why Gentoo is much more agile then
any other binary distribution when hopping between arches.
Lets say we started development on x86, then we want to
move to another arch, or a totally new arch. I would like
to know the process, lets say compared to Debian.

Regards,
Kfir


[gentoo-dev] RDEPEND gentoo-sources or any linux sources don't work

2011-01-09 Thread Kfir Lavi
Hi,
I have created an ebuild that build for me a small system.
The RDEPEND has required packages. This works fine and when I emerge this
ebuild,
all the dependencies are installed.
When I add
sys-kernel/gentoo-sources
or
=sys-kernel/vanilla-sources-2.6.28
Emerge just ignore this dependency and install all the other packages.
Is there any mechanism that portage ignore kernel sources as a dependency?

Regards,
Kfir


Re: [gentoo-dev] RDEPEND gentoo-sources or any linux sources don't work

2011-01-09 Thread Kfir Lavi
On Sun, Jan 9, 2011 at 5:04 PM, Zac Medico zmed...@gentoo.org wrote:

 On 01/09/2011 04:00 AM, Kfir Lavi wrote:
  Hi,
  I have created an ebuild that build for me a small system.
  The RDEPEND has required packages. This works fine and when I emerge this
  ebuild,
  all the dependencies are installed.
  When I add
  sys-kernel/gentoo-sources
  or
  =sys-kernel/vanilla-sources-2.6.28
  Emerge just ignore this dependency and install all the other packages.
  Is there any mechanism that portage ignore kernel sources as a
 dependency?

 My first guess it that you have packages that satisfy those dependencies
 inside /etc/portage/profile/package.provided.

 If that's not the case, then I'd suggest to file a bug at
 bugs.gentoo.org and post emerge --pretend --debug output for the command
 that is not pulling in the expected dependencies.
 --
 Thanks,
 Zac

 It seems like problem like you stated.
It did grab the kernel, in a middle of new install.
I still haven't traced why this happening.

Is there a flag that I can emerge with, to see the decisions of portage?

Regards,
Kfir


Re: [gentoo-dev] RDEPEND gentoo-sources or any linux sources don't work

2011-01-09 Thread Kfir Lavi
On Sun, Jan 9, 2011 at 6:05 PM, Kfir Lavi lavi.k...@gmail.com wrote:



 On Sun, Jan 9, 2011 at 5:04 PM, Zac Medico zmed...@gentoo.org wrote:

 On 01/09/2011 04:00 AM, Kfir Lavi wrote:
  Hi,
  I have created an ebuild that build for me a small system.
  The RDEPEND has required packages. This works fine and when I emerge
 this
  ebuild,
  all the dependencies are installed.
  When I add
  sys-kernel/gentoo-sources
  or
  =sys-kernel/vanilla-sources-2.6.28
  Emerge just ignore this dependency and install all the other packages.
  Is there any mechanism that portage ignore kernel sources as a
 dependency?

 My first guess it that you have packages that satisfy those dependencies
 inside /etc/portage/profile/package.provided.

 If that's not the case, then I'd suggest to file a bug at
 bugs.gentoo.org and post emerge --pretend --debug output for the command
 that is not pulling in the expected dependencies.
 --
 Thanks,
 Zac

 It seems like problem like you stated.
 It did grab the kernel, in a middle of new install.
 I still haven't traced why this happening.

 Is there a flag that I can emerge with, to see the decisions of portage?

 Regards,
 Kfir


Ok,
Deleting the target directory, and running again the ebuild, resulted linux
was grabbed by the ebuild.
I don't know why it was like that before.

Regards,
Kfir


[gentoo-dev] Can a bash script source ebuild functions?

2011-01-03 Thread Kfir Lavi
Hi,
I would like to adapt my script that I run in the post install section
inside an ebuild, to source some functions like elog and such.

Is it possible?

Regards,
Kfir


Re: [gentoo-dev] Can a bash script source ebuild functions?

2011-01-03 Thread Kfir Lavi
On Mon, Jan 3, 2011 at 4:46 PM, Samuli Suominen ssuomi...@gentoo.orgwrote:

 On 01/03/2011 04:38 PM, Kfir Lavi wrote:
  Hi,
  I would like to adapt my script that I run in the post install section
  inside an ebuild, to source some functions like elog and such.
 
  Is it possible?
 
  Regards,
  Kfir

 I don't know about elog, but you can get einfo with:

 #!/bin/bash

 . /etc/init.d/functions.sh

 einfo foobar

 Yep, thanks.

Kfir


Re: [gentoo-dev] New category for Lua related packages

2010-11-03 Thread Kfir Lavi

 To summarize, half the categories have 10-50 packages, then there are a
 number of huge ones. If you can get at least 15 packages, it's a
 reasonable starting point for a new category.


I wouldn't have a limit like 15 on it. My first thought for checking Lua is
looking in /usr/portage/dev-lua
It is a behavior exactly as people would expect.

I would go for it  Include my +1 ;-)

Kfir


Re: [gentoo-dev] Changes in server profiles

2010-10-29 Thread Kfir Lavi
On Fri, Oct 29, 2010 at 4:23 PM, Rafael Goncalves Martins
rafaelmart...@gentoo.org wrote:
 On Fri, Oct 29, 2010 at 11:46 AM, Thomas Sachau to...@gentoo.org wrote:
 Am 29.10.2010 14:13, schrieb Petteri Räty:
 On 29.10.2010 15.02, Jorge Manuel B. S. Vicetto wrote:


 2) Furthermore I would like to drop the following use flags from default
 IUSE

 -apache2
 -ldap

 A minimal server installation does requires neither apache2 nor ldap

 Although one can install a server without apache or ldap, I'd say the
 server profile seems the natural choice to have them enabled.
 If we had the statistics for it, we could check how many people have
 apache installed with that profile vs not having it. As there's nothing
 preventing one from having USE=-apache2 -ldap when required and I
 don't use the server profiles, I don't really have a strong opinion
 about this.


 And enabling a use flag should be question of is it wanted when a
 package actually support those flags. On a server when you are
 installing a package with a apache use flag it's certainly possible to
 you would like to have it enabled more often than not.

 Regards,
 Petteri



 Which raises the question, if those people, who want to install a minimal 
 server will mostly use
 apache or something different. And especially for minimal setups, i dont 
 think that apache will be
 the first choice, so i agree with the removal of those USE flags from 
 default IUSE.
 The profile is intended to have a minimal set of flags, i would call apache 
 an additional optional
 flag, not a default option for minimal server setups.


 Totally agreed!

 Best regards.

 --
 Rafael Goncalves Martins
 Gentoo Linux developer
 http://rafaelmartins.eng.br/



I use the server profile and I would also like a minimal set of use flags.
I don't think you need to force sysadmins, that know what they want,
to have those flags.

Regards,
Kfir



[gentoo-dev] util-linux cramfs use flag

2010-10-28 Thread Kfir Lavi
Hi,
It is possible to cancle the cramfs support in util-linux.
Why there is no cramfs use flag for it?

Regards,
Kfir



Re: [gentoo-dev] util-linux cramfs use flag

2010-10-28 Thread Kfir Lavi
On Thu, Oct 28, 2010 at 4:50 PM, Markos Chandras hwoar...@gentoo.org wrote:
 On Thu, Oct 28, 2010 at 04:09:43PM +0200, Kfir Lavi wrote:
 Hi,
 It is possible to cancle the cramfs support in util-linux.
 Why there is no cramfs use flag for it?

 Regards,
 Kfir

 You should really need to open a bug for feature requests
 --
 Markos Chandras (hwoarang)
 Gentoo Linux Developer
 Web: http://hwoarang.silverarrow.org
 Key ID: 441AC410
 Key FP: AAD0 8591 E3CD 445D 6411  3477 F7F7 1E8E 441A C410


Ok,
I will open a bug.

Tnx



Re: [gentoo-dev] enabling FEATURES=sfperms for all Linux profiles

2010-10-26 Thread Kfir Lavi
On Tue, Oct 26, 2010 at 8:45 AM, Mike Frysinger vap...@gentoo.org wrote:

 hardened systems (as well as my non-hardened ones) have been running
 FEATURES=sfperms for years with no known bugs.  so unless someone has
 a compelling reason otherwise, i'll be enabling this in
 profiles/default/linux/ for all linux systems.
 -mike

 Hi Mike,
How can I see my current features?

Regards,
Kfir


Re: [gentoo-dev] enabling FEATURES=sfperms for all Linux profiles

2010-10-26 Thread Kfir Lavi
On Tue, Oct 26, 2010 at 12:25 PM, Tom Knight t...@gentoo.org wrote:

 On Tue, Oct 26, 2010 at 11:22:08AM +0200, Kfir Lavi wrote:
  How can I see my current features?
 
 emerge --info | grep FEATURES

My FEATURES shows I have sfperms:
FEATURES=assume-digests distlocks fixpackages news parallel-fetch
protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch

Regards,
Kfir


Re: [gentoo-dev] Re: News item for hardened profile about gcc.

2010-10-24 Thread Kfir Lavi
On Sun, Oct 24, 2010 at 3:34 AM, Duncan 1i5t5.dun...@cox.net wrote:

 Magnus Granberg posted on Sun, 24 Oct 2010 03:01:40 +0200 as excerpted:

  Display-If-Install: sys-devel/gcc-4.4

 Typo:

 Display-If-Installed:
                  ^^

 Meanwhile, the title reflects hardened profiles, but the updated
 conditions aren't viewed only on hardened.  The no-support-for-gcc-4
 policy would seem reasonable for most profiles (don't know about the
 exotic archs).  Either the title should be updated to reflect that it
 applies in general (not just on hardened), or the condition to display
 only on hardened should be maintained.  Either way, making it clearer in
 the body as well would be wise, so people seeing it only on hardened (if
 it applies only to them, for example) will have less chance of missing
 that, if they have regular installs as well.

 But I don't remember whether multiple conditions are ANDed or ORed; they
 should be ANDed here, if it's to apply to ONLY hardened with gcc-4.4
 installed.

 --
 Duncan - List replies preferred.   No HTML msgs.
 Every nonfree program has a lord, a master --
 and if you use the program, he is your master.  Richard Stallman



Hi all,
After reading this post I went to wikipedia to read about  the SSP.
http://en.wikipedia.org/wiki/Buffer_overflow_protection
At the paragraph GCC Stack-Smashing Protector (ProPolice), its written

It was implemented as a patch to GCC 3.x; a less intrusive
reimplementation is included in the GCC 4.1 release. Currently, SSP is
standard in OpenBSD, FreeBSD (since 8.0), Ubuntu (since 8.04 LTS[3]),
and DragonFly BSD. It is also available in NetBSD (enabled by default
on x86), Debian and Gentoo, disabled by default.

Now this should be changed, if the SSP flag is becoming default.

Regards,
Kfir



Re: [gentoo-dev] Re: News item for hardened profile about gcc.

2010-10-24 Thread Kfir Lavi
On Sun, Oct 24, 2010 at 11:31 AM, Magnus Granberg zo...@gentoo.org wrote:
 On Sunday 24 October 2010 10.04.34 Kfir Lavi wrote:
 On Sun, Oct 24, 2010 at 3:34 AM, Duncan 1i5t5.dun...@cox.net wrote:
  Magnus Granberg posted on Sun, 24 Oct 2010 03:01:40 +0200 as excerpted:
   Display-If-Install: sys-devel/gcc-4.4
 
  Typo:
 
  Display-If-Installed:
                   ^^
 
  Meanwhile, the title reflects hardened profiles, but the updated
  conditions aren't viewed only on hardened.  The no-support-for-gcc-4
  policy would seem reasonable for most profiles (don't know about the
  exotic archs).  Either the title should be updated to reflect that it
  applies in general (not just on hardened), or the condition to display
  only on hardened should be maintained.  Either way, making it clearer in
  the body as well would be wise, so people seeing it only on hardened (if
  it applies only to them, for example) will have less chance of missing
  that, if they have regular installs as well.
 
  But I don't remember whether multiple conditions are ANDed or ORed; they
  should be ANDed here, if it's to apply to ONLY hardened with gcc-4.4
  installed.
 
  --
  Duncan - List replies preferred.   No HTML msgs.
  Every nonfree program has a lord, a master --
  and if you use the program, he is your master.  Richard Stallman

 Hi all,
 After reading this post I went to wikipedia to read about  the SSP.
 http://en.wikipedia.org/wiki/Buffer_overflow_protection
 At the paragraph GCC Stack-Smashing Protector (ProPolice), its written

 It was implemented as a patch to GCC 3.x; a less intrusive
 reimplementation is included in the GCC 4.1 release. Currently, SSP is
 standard in OpenBSD, FreeBSD (since 8.0), Ubuntu (since 8.04 LTS[3]),
 and DragonFly BSD. It is also available in NetBSD (enabled by default
 on x86), Debian and Gentoo, disabled by default.

 Now this should be changed, if the SSP flag is becoming default.

 Regards,
 Kfir
 Updated the news item.
 Thanks for the notes Duncan.
 @Kfir  It is only the hardened gcc that have the SSP enable as default.
 We can add that Gentoo (Hardened) have it enable.

 /Magnus
 /Magnus

Ok,
I have modified the SSP section in wikipedia.

Regards,
Kfir



Re: [gentoo-dev] libnl v2.x

2010-10-24 Thread Kfir Lavi
Ok,
I have filed a bug:
http://bugs.gentoo.org/show_bug.cgi?id=342461

Thanks,
Kfir

On Sun, Oct 24, 2010 at 2:44 PM, Serkan Kaba ser...@gentoo.org wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hi,

 Please use Bugzilla to report and request version bumps.

 On 24-10-2010 15:40, Kfir Lavi wrote:
 Hi Marcelo and dev's,
 Looking on libnl website, there is a new release of libnl.

 - --
 Sincerely,
 Serkan KABA
 Gentoo Developer
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2.0.16 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

 iEYEARECAAYFAkzEKi8ACgkQRh6X64ivZaKWogCdHUzqx1ccKiMESn4opVlSA6ea
 XzQAnA5RjRuGWPwpFRrsyrsh8A3U/NnC
 =OWzA
 -END PGP SIGNATURE-





[gentoo-dev] libnl v2.x

2010-10-24 Thread Kfir Lavi
Hi Marcelo and dev's,
Looking on libnl website, there is a new release of libnl.
Currently supported versions are:
[I] dev-libs/libnl
 Available versions:  0.5.0 1.0_pre6 ~1.0_pre6-r1 ~1.1 1.1-r1 ~1.1-r2 {doc}
 Installed versions:  1.1-r1(20:26:52 10/03/10)
 Homepage:http://people.suug.ch/~tgr/libnl/
 Description: A library for applications dealing with netlink socket

Will it be possible to add v2.x to portage?

Regards,
Kfir