Hello Everybody. I have some difficulties in disabling IPv6 support for bird-1.0.9-rpm. Of course it`s easy to edit /etc/init.d/bird script to disable starting bird6 startup. But I`m interesting in 100 % disabling IPv6 support in bird (a bit maniac) So first of all, I`ve corrected %build section in bird.spec from: ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --enable-ipv6 to: ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var and after that the final %build section looks like that ./configure runs twice with the same options. Is it necessary? May be it`s quite enough to run ./configure only once Next, in %install section i see: %install 1. rm -rf $RPM_BUILD_ROOT/* 2. make install prefix=$RPM_BUILD_ROOT/usr sysconfdir=$RPM_BUILD_ROOT/etc localstatedir=$RPM_BUILD_ROOT/var 3. install bird6 $RPM_BUILD_ROOT/usr/sbin 4. cd $RPM_BUILD_ROOT 5. install -d etc/rc.d/init.d 6. install $RPM_SOURCE_DIR/bird.init etc/rc.d/init.d/bird 7. install $RPM_SOURCE_DIR/birdc6 usr/sbin/birdc6 So I comment out 3-rd & 7-th lines, and in %files section I see 2 lines with setting up attributes for bird6 & birdc6. (I`ve disabled them too). Am I correct?
On Tue, 27 Jul 2004, Loschyov Oleg wrote:
Hello Everybody.
Hello!
I have some difficulties in disabling IPv6 support for bird-1.0.9-rpm. Of course it`s easy to edit /etc/init.d/bird script to disable starting bird6 startup. But I`m interesting in 100 % disabling IPv6 support in bird (a bit maniac) So first of all, I`ve corrected %build section in bird.spec from: ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --enable-ipv6 to: ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
and after that the final %build section looks like that ./configure runs twice with the same options. Is it necessary? May be it`s quite enough to run ./configure only once
Sure.
Next, in %install section i see: %install 1. rm -rf $RPM_BUILD_ROOT/* 2. make install prefix=$RPM_BUILD_ROOT/usr sysconfdir=$RPM_BUILD_ROOT/etc localstatedir=$RPM_BUILD_ROOT/var 3. install bird6 $RPM_BUILD_ROOT/usr/sbin
4. cd $RPM_BUILD_ROOT 5. install -d etc/rc.d/init.d 6. install $RPM_SOURCE_DIR/bird.init etc/rc.d/init.d/bird 7. install $RPM_SOURCE_DIR/birdc6 usr/sbin/birdc6
So I comment out 3-rd & 7-th lines, and in %files section I see 2 lines with setting up attributes for bird6 & birdc6. (I`ve disabled them too).
Am I correct?
Absolutely. OF
participants (2)
-
Loschyov Oleg -
Ondrej Filip