Mailing List Archive

Re: [gentoo-commits] gentoo-x86 commit in net-misc/openswan: ChangeLog openswan-2.4.9-r1.ebuild openswan-2.4.9.ebuild
On 08:14 Wed 26 Sep , Alin Nastac (mrness) wrote:
> mrness 07/09/26 08:14:22
>
> Modified: ChangeLog
> Added: openswan-2.4.9-r1.ebuild
> Removed: openswan-2.4.9.ebuild
> Log:
> Fix erroneous creation of rundir and subsysdir (#193824). Sanitize the ebuild code.
> (Portage version: 2.1.2.12)

> 1.1 net-misc/openswan/openswan-2.4.9-r1.ebuild
>
> file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/openswan/openswan-2.4.9-r1.ebuild?rev=1.1&view=markup
> plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/openswan/openswan-2.4.9-r1.ebuild?rev=1.1&content-type=text/plain

> pkg_setup() {
> linux-info_pkg_setup
>
> if kernel_is 2 6; then
> einfo "This ebuild will set ${P} to use 2.6 native IPsec (KAME)."
> einfo "KLIPS will not be compiled/installed."
> MYMAKE="programs"
>
> elif kernel_is 2 4; then
> if ! [ -d /usr/src/linux/net/ipsec ]; then

This isn't ROOT-safe.

Thanks,
Donnie
--
gentoo-dev@gentoo.org mailing list
Re: Re: [gentoo-commits] gentoo-x86 commit in net-misc/openswan: ChangeLog openswan-2.4.9-r1.ebuild openswan-2.4.9.ebuild [ In reply to ]
On Wednesday 26 September 2007, Donnie Berkholz wrote:
> On 08:14 Wed 26 Sep , Alin Nastac (mrness) wrote:
> > mrness 07/09/26 08:14:22
> >
> > Modified: ChangeLog
> > Added: openswan-2.4.9-r1.ebuild
> > Removed: openswan-2.4.9.ebuild
> > Log:
> > Fix erroneous creation of rundir and subsysdir (#193824). Sanitize the
> > ebuild code. (Portage version: 2.1.2.12)
> >
> > 1.1 net-misc/openswan/openswan-2.4.9-r1.ebuild
> >
> > file :
> > http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/openswan/openswa
> >n-2.4.9-r1.ebuild?rev=1.1&view=markup plain:
> > http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/openswan/openswa
> >n-2.4.9-r1.ebuild?rev=1.1&content-type=text/plain
> >
> > pkg_setup() {
> > linux-info_pkg_setup
> >
> > if kernel_is 2 6; then
> > einfo "This ebuild will set ${P} to use 2.6 native IPsec (KAME)."
> > einfo "KLIPS will not be compiled/installed."
> > MYMAKE="programs"
> >
> > elif kernel_is 2 4; then
> > if ! [ -d /usr/src/linux/net/ipsec ]; then
>
> This isn't ROOT-safe.

it should be using the vars from the linux eclasses anyways ...
-mike
Re: Re: [gentoo-commits] gentoo-x86 commit in net-misc/openswan: ChangeLog openswan-2.4.9-r1.ebuild openswan-2.4.9.ebuild [ In reply to ]
Mike Frysinger wrote:
> On Wednesday 26 September 2007, Donnie Berkholz wrote:
>
>> On 08:14 Wed 26 Sep , Alin Nastac (mrness) wrote:
>>
>>> mrness 07/09/26 08:14:22
>>>
>>> Modified: ChangeLog
>>> Added: openswan-2.4.9-r1.ebuild
>>> Removed: openswan-2.4.9.ebuild
>>> Log:
>>> Fix erroneous creation of rundir and subsysdir (#193824). Sanitize the
>>> ebuild code. (Portage version: 2.1.2.12)
>>>
>>> 1.1 net-misc/openswan/openswan-2.4.9-r1.ebuild
>>>
>>> file :
>>> http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/openswan/openswa
>>> n-2.4.9-r1.ebuild?rev=1.1&view=markup plain:
>>> http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/openswan/openswa
>>> n-2.4.9-r1.ebuild?rev=1.1&content-type=text/plain
>>>
>>> pkg_setup() {
>>> linux-info_pkg_setup
>>>
>>> if kernel_is 2 6; then
>>> einfo "This ebuild will set ${P} to use 2.6 native IPsec (KAME)."
>>> einfo "KLIPS will not be compiled/installed."
>>> MYMAKE="programs"
>>>
>>> elif kernel_is 2 4; then
>>> if ! [ -d /usr/src/linux/net/ipsec ]; then
>>>
>> This isn't ROOT-safe.
>>
>
> it should be using the vars from the linux eclasses anyways ...
> -mike
>
fixed in cvs. thanks!