Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
labs
BIRD Internet Routing Daemon
Commits
e677d04a
Commit
e677d04a
authored
Jun 06, 2004
by
Ondřej Filip
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RPM is now able to build IPv4 and IPv6 bird.
parent
41c8976e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
8 deletions
+10
-8
TODO
TODO
+0
-6
misc/bird.spec
misc/bird.spec
+10
-2
No files found.
TODO
View file @
e677d04a
...
...
@@ -19,12 +19,6 @@ Globals
- protocols: implement reconfigure hook
- protocols: use locking
- check use of system includes and sprintf()
- refuse to run twice on single system
RPM
~~~
- build v4 and v6 in once
Various ideas
~~~~~~~~~~~~~
...
...
misc/bird.spec
View file @
e677d04a
...
...
@@ -18,16 +18,22 @@ protocols BGP, RIP and OSPF.
%setup -n bird-%{version}
%build
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/run --enable-ipv6
make
mv bird bird6
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/run
make
%install
rm -rf $RPM_BUILD_ROOT/*
make install prefix=$RPM_BUILD_ROOT/usr sysconfdir=$RPM_BUILD_ROOT/etc localstatedir=$RPM_BUILD_ROOT/var/run
install bird6 $RPM_BUILD_ROOT/usr/sbin
cd $RPM_BUILD_ROOT
install -c -d etc/rc.d/init.d
install -c $RPM_SOURCE_DIR/bird.init etc/rc.d/init.d/bird
install -d etc/rc.d/init.d
install $RPM_SOURCE_DIR/bird.init etc/rc.d/init.d/bird
install $RPM_SOURCE_DIR/birdc6 usr/bin/
%post
/sbin/ldconfig
...
...
@@ -40,6 +46,8 @@ fi
%files
%attr(755,root,root) /usr/sbin/bird
%attr(755,root,root) /usr/sbin/bird6
%attr(755,root,root) /usr/sbin/birdc
%attr(755,root,root) /usr/sbin/birdc6
%attr(755,root,root) /etc/rc.d/init.d/bird
%config /etc/bird.conf
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment