head	1.26;
access;
symbols
	OPENPKG_E1_MP_HEAD:1.14
	OPENPKG_E1_MP:1.14
	OPENPKG_E1_MP_2_STABLE:1.13.2.2
	OPENPKG_E1_FP:1.13.2.2
	OPENPKG_2_STABLE_MP:1.13
	OPENPKG_2_STABLE_20061018:1.13.2.2
	OPENPKG_2_STABLE:1.13.0.2
	OPENPKG_CW_FP:1.8;
locks; strict;
comment	@-- @;


1.26
date	2009.12.21.16.36.58;	author rse;	state Exp;
branches;
next	1.25;
commitid	r4CeQEkUsNZFfggu;

1.25
date	2009.11.21.09.24.52;	author rse;	state Exp;
branches;
next	1.24;
commitid	czkZqMocJt4ePmcu;

1.24
date	2009.11.02.18.16.35;	author rse;	state Exp;
branches;
next	1.23;
commitid	ITMFygkOk19vnY9u;

1.23
date	2009.10.03.09.02.35;	author rse;	state Exp;
branches;
next	1.22;
commitid	KMRykW8P5xueh46u;

1.22
date	2009.09.11.14.44.25;	author rse;	state Exp;
branches;
next	1.21;
commitid	lDpK7AcRJwOlSg3u;

1.21
date	2009.08.24.16.24.32;	author rse;	state Exp;
branches;
next	1.20;
commitid	DlXXC9dLW1rz0Y0u;

1.20
date	2009.08.17.07.45.31;	author rse;	state Exp;
branches;
next	1.19;
commitid	1vIJvkS4TsCqm10u;

1.19
date	2009.06.28.17.35.08;	author rse;	state Exp;
branches;
next	1.18;
commitid	jA6rwLoEuJAneETt;

1.18
date	2009.05.27.20.01.15;	author rse;	state Exp;
branches;
next	1.17;
commitid	5IU6DgDR1Prg4yPt;

1.17
date	2009.04.28.18.10.48;	author rse;	state Exp;
branches;
next	1.16;
commitid	cvLdaRbnxgvboOLt;

1.16
date	2009.04.18.13.08.58;	author rse;	state Exp;
branches;
next	1.15;
commitid	4pHXU27WTIGCZuKt;

1.15
date	2008.01.01.14.51.21;	author rse;	state Exp;
branches;
next	1.14;
commitid	B8esaHJHoduuKILs;

1.14
date	2007.01.01.17.36.49;	author rse;	state Exp;
branches;
next	1.13;
commitid	BicZD6VUl7GuqP0s;

1.13
date	2006.10.13.17.27.02;	author thl;	state Exp;
branches
	1.13.2.1;
next	1.12;
commitid	q5GSxzsSDX29XxQr;

1.12
date	2006.09.24.13.39.13;	author rse;	state Exp;
branches;
next	1.11;
commitid	Zc0O8qeIffQhk5Or;

1.11
date	2006.08.25.19.16.00;	author rse;	state Exp;
branches;
next	1.10;
commitid	Tvsj1UyQ8rQ89gKr;

1.10
date	2006.01.01.13.12.17;	author rse;	state Exp;
branches;
next	1.9;
commitid	otZG8yKMCw1JFTfr;

1.9
date	2005.03.24.11.18.28;	author rse;	state Exp;
branches;
next	1.8;

1.8
date	2005.02.21.19.03.31;	author rse;	state Exp;
branches;
next	1.7;

1.7
date	2005.02.15.18.31.58;	author ms;	state Exp;
branches;
next	1.6;

1.6
date	2005.01.24.13.53.43;	author rse;	state Exp;
branches;
next	1.5;

1.5
date	2005.01.01.10.48.03;	author rse;	state Exp;
branches;
next	1.4;

1.4
date	2004.12.07.19.57.26;	author rse;	state Exp;
branches;
next	1.3;

1.3
date	2004.10.06.19.16.15;	author rse;	state Exp;
branches;
next	1.2;

1.2
date	2004.10.01.08.17.35;	author rse;	state Exp;
branches;
next	1.1;

1.1
date	2004.07.16.14.11.41;	author rse;	state Exp;
branches;
next	;

1.13.2.1
date	2006.10.13.17.27.02;	author rse;	state dead;
branches;
next	1.13.2.2;
commitid	iZxwRSmmWscPXUQr;

1.13.2.2
date	2006.10.16.14.48.31;	author rse;	state Exp;
branches;
next	;
commitid	iZxwRSmmWscPXUQr;


desc
@@


1.26
log
@upgrading package: bird 1.1.6 -> 1.1.7
@
text
@##
##  bird.spec -- OpenPKG RPM Package Specification
##  Copyright (c) 2000-2009 OpenPKG Foundation e.V. <http://openpkg.net/>
##
##  Permission to use, copy, modify, and distribute this software for
##  any purpose with or without fee is hereby granted, provided that
##  the above copyright notice and this permission notice appear in all
##  copies.
##
##  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
##  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
##  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
##  IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
##  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
##  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
##  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
##  USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
##  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
##  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
##  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
##  SUCH DAMAGE.
##

#   package information
Name:         bird
Summary:      BIRD Internet Routing Daemon
URL:          http://bird.network.cz/
Vendor:       L. Forst, M. Mare, P. Machek, O. Filip
Packager:     OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class:        EVAL
Group:        Routing
License:      GPL
Version:      1.1.7
Release:      20091221

#   list of sources
Source0:      ftp://bird.network.cz/pub/bird/bird-%{version}.tar.gz
Source1:      rc.bird
Patch0:       bird.patch

#   build information
Prefix:       %{l_prefix}
BuildRoot:    %{l_buildroot}
BuildPreReq:  OpenPKG, openpkg >= 20060823, make, flex, bison, m4, config
PreReq:       OpenPKG, openpkg >= 20060823
BuildPreReq:  readline
PreReq:       readline
AutoReq:      no
AutoReqProv:  no

%description
    BIRD is an IPv4/IPv6 capable Internet routing daemon supporting
    Border Gateway Protocol (BGPv4), Routing Information Protocol
    (RIPv2), Open Shortest Path First protocol (OSPFv2), static routes,
    inter-table protocol, etc.

%track
    prog bird = {
        version   = %{version}
        url       = ftp://bird.network.cz/pub/bird/
        regex     = bird-(__VER__)\.tar\.gz
    }

%prep
    %setup -q
    %patch -p0
    %{l_prefix}/bin/config install tools

%build
    #   configure package
    CC="%{l_cc}" \
    CFLAGS="%{l_cflags -O}" \
    CPPFLAGS="%{l_cppflags}" \
    LDFLAGS="%{l_ldflags}" \
    ./configure \
        --prefix=%{l_prefix} \
        --sysconfdir=%{l_prefix}/etc/bird \
        --localstatedir=%{l_prefix}/var/bird \
        --with-protocols=all

    #   build package
    %{l_make} %{l_mflags}

%install
    #   install package
    rm -rf $RPM_BUILD_ROOT
    %{l_make} %{l_mflags} install \
        prefix=$RPM_BUILD_ROOT%{l_prefix} \
        exec_prefix=$RPM_BUILD_ROOT%{l_prefix} \
        sysconfdir=$RPM_BUILD_ROOT%{l_prefix}/etc/bird \
        localstatedir=$RPM_BUILD_ROOT%{l_prefix}/var/bird

    #   strip down package
    strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true

    #   install run-command script
    %{l_shtool} mkdir -f -p -m 755 \
        $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d
    %{l_shtool} install -c -m 755 %{l_value -s -a} \
        %{SOURCE rc.bird} \
        $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/

    #   adjust default configuration
    %{l_shtool} subst \
        -e 's;#log "tmp" all;log "%{l_prefix}/var/bird/bird.log" all;' \
        $RPM_BUILD_ROOT%{l_prefix}/etc/bird/bird.conf

    #   determine installation files
    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
        %{l_files_std} \
        '%config %{l_prefix}/etc/bird/*'

%files -f files

%clean
    rm -rf $RPM_BUILD_ROOT

@


1.25
log
@upgrading package: bird 1.1.5 -> 1.1.6
@
text
@d34 2
a35 2
Version:      1.1.6
Release:      20091121
@


1.24
log
@upgrading package: bird 1.1.4 -> 1.1.5
@
text
@d34 2
a35 2
Version:      1.1.5
Release:      20091102
@


1.23
log
@upgrading package: bird 1.1.3 -> 1.1.4
@
text
@d34 2
a35 2
Version:      1.1.4
Release:      20091003
@


1.22
log
@upgrading package: bird 1.1.2 -> 1.1.3
@
text
@d34 2
a35 2
Version:      1.1.3
Release:      20090911
@


1.21
log
@upgrading package: bird 1.1.1 -> 1.1.2
@
text
@d34 2
a35 2
Version:      1.1.2
Release:      20090824
@


1.20
log
@upgrading package: bird 1.1.0 -> 1.1.1
@
text
@d34 2
a35 2
Version:      1.1.1
Release:      20090817
@


1.19
log
@upgrading package: bird 1.0.15 -> 1.1.0
@
text
@d34 2
a35 2
Version:      1.1.0
Release:      20090628
@


1.18
log
@upgrading package: bird 1.0.14 -> 1.0.15
@
text
@d34 2
a35 2
Version:      1.0.15
Release:      20090527
@


1.17
log
@upgrading package: bird 1.0.11 -> 1.0.14
@
text
@d34 2
a35 2
Version:      1.0.14
Release:      20090428
@


1.16
log
@bump years in copyright messages
@
text
@d34 2
a35 2
Version:      1.0.11
Release:      20080101
@


1.15
log
@Update package specifications according to OpenPKG year 2008 world order:
http://www.mail-archive.com/openpkg-announce@@openpkg.org/msg00221.html
@
text
@d3 1
a3 1
##  Copyright (c) 2000-2008 OpenPKG Foundation e.V. <http://openpkg.net/>
@


1.14
log
@Welcome Year 2007!
@
text
@d3 1
a3 2
##  Copyright (c) 2000-2007 OpenPKG Foundation e.V. <http://openpkg.net/>
##  Copyright (c) 2000-2007 Ralf S. Engelschall <http://engelschall.com/>
d35 1
a35 1
Release:      20061013
@


1.13
log
@new world order for "Packager" and "Distribution" headers
@
text
@d3 2
a4 2
##  Copyright (c) 2000-2006 OpenPKG Foundation e.V. <http://openpkg.net/>
##  Copyright (c) 2000-2006 Ralf S. Engelschall <http://engelschall.com/>
@


1.13.2.1
log
@file bird.spec was added on branch OPENPKG_2_STABLE on 2006-10-16 14:48:31 +0000
@
text
@d1 119
@


1.13.2.2
log
@Mass merge from CURRENT to 2-STABLE (all packages except those of JUNK class)
@
text
@a0 119
##
##  bird.spec -- OpenPKG RPM Package Specification
##  Copyright (c) 2000-2006 OpenPKG Foundation e.V. <http://openpkg.net/>
##  Copyright (c) 2000-2006 Ralf S. Engelschall <http://engelschall.com/>
##
##  Permission to use, copy, modify, and distribute this software for
##  any purpose with or without fee is hereby granted, provided that
##  the above copyright notice and this permission notice appear in all
##  copies.
##
##  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
##  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
##  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
##  IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
##  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
##  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
##  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
##  USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
##  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
##  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
##  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
##  SUCH DAMAGE.
##

#   package information
Name:         bird
Summary:      BIRD Internet Routing Daemon
URL:          http://bird.network.cz/
Vendor:       L. Forst, M. Mare, P. Machek, O. Filip
Packager:     OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class:        EVAL
Group:        Routing
License:      GPL
Version:      1.0.11
Release:      2.20061018

#   list of sources
Source0:      ftp://bird.network.cz/pub/bird/bird-%{version}.tar.gz
Source1:      rc.bird
Patch0:       bird.patch

#   build information
Prefix:       %{l_prefix}
BuildRoot:    %{l_buildroot}
BuildPreReq:  OpenPKG, openpkg >= 2.20061018, make, flex, bison, m4, config
PreReq:       OpenPKG, openpkg >= 2.20061018
BuildPreReq:  readline
PreReq:       readline
AutoReq:      no
AutoReqProv:  no

%description
    BIRD is an IPv4/IPv6 capable Internet routing daemon supporting
    Border Gateway Protocol (BGPv4), Routing Information Protocol
    (RIPv2), Open Shortest Path First protocol (OSPFv2), static routes,
    inter-table protocol, etc.

%track
    prog bird = {
        version   = %{version}
        url       = ftp://bird.network.cz/pub/bird/
        regex     = bird-(__VER__)\.tar\.gz
    }

%prep
    %setup -q
    %patch -p0
    %{l_prefix}/bin/config install tools

%build
    #   configure package
    CC="%{l_cc}" \
    CFLAGS="%{l_cflags -O}" \
    CPPFLAGS="%{l_cppflags}" \
    LDFLAGS="%{l_ldflags}" \
    ./configure \
        --prefix=%{l_prefix} \
        --sysconfdir=%{l_prefix}/etc/bird \
        --localstatedir=%{l_prefix}/var/bird \
        --with-protocols=all

    #   build package
    %{l_make} %{l_mflags}

%install
    #   install package
    rm -rf $RPM_BUILD_ROOT
    %{l_make} %{l_mflags} install \
        prefix=$RPM_BUILD_ROOT%{l_prefix} \
        exec_prefix=$RPM_BUILD_ROOT%{l_prefix} \
        sysconfdir=$RPM_BUILD_ROOT%{l_prefix}/etc/bird \
        localstatedir=$RPM_BUILD_ROOT%{l_prefix}/var/bird

    #   strip down package
    strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true

    #   install run-command script
    %{l_shtool} mkdir -f -p -m 755 \
        $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d
    %{l_shtool} install -c -m 755 %{l_value -s -a} \
        %{SOURCE rc.bird} \
        $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/

    #   adjust default configuration
    %{l_shtool} subst \
        -e 's;#log "tmp" all;log "%{l_prefix}/var/bird/bird.log" all;' \
        $RPM_BUILD_ROOT%{l_prefix}/etc/bird/bird.conf

    #   determine installation files
    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
        %{l_files_std} \
        '%config %{l_prefix}/etc/bird/*'

%files -f files

%clean
    rm -rf $RPM_BUILD_ROOT

@


1.12
log
@adjust Group header
@
text
@d30 2
a31 2
Packager:     OpenPKG
Distribution: OpenPKG
d36 1
a36 1
Release:      20060924
@


1.11
log
@replace '@@l_prefix@@/lib/openpkg/bash @@l_prefix@@/etc/rc' in shebang with '@@l_prefix@@/bin/openpkg rc' to allow people who run the rc.xxx scripts directly (as executables) to leverage from the Set-UID functionality
@
text
@d33 1
a33 1
Group:        Network
d36 1
a36 1
Release:      20060825
@


1.10
log
@adjust copyrights for new year 2006
@
text
@d36 1
a36 1
Release:      20050221
d46 2
a47 2
BuildPreReq:  OpenPKG, openpkg >= 20040130, make, flex, bison, m4, config
PreReq:       OpenPKG, openpkg >= 20040130
@


1.9
log
@Adjust the copyright declaration in this (RSE's) copy of the OpenPKG
source code now that the fork point for C&W was established (CVS tag
OPENPKG_CW_FP), the shared copyright agreement between RSE and C&W is
no longer active (as C&W no longer officially sponsors OpenPKG) and the
new shared copyright from RSE can be taken over by the newly established
juristic entity OpenPKG Foundation e.V. (instead of the non-juristic
entity OpenPKG Project).
@
text
@d3 2
a4 2
##  Copyright (c) 2000-2005 OpenPKG Foundation e.V. <http://openpkg.net/>
##  Copyright (c) 2000-2005 Ralf S. Engelschall <http://engelschall.com/>
@


1.8
log
@upgrading package: bird 1.0.10 -> 1.0.11
@
text
@d2 3
a4 4
##  bird.spec -- OpenPKG RPM Specification
##  Copyright (c) 2000-2005 The OpenPKG Project <http://www.openpkg.org/>
##  Copyright (c) 2000-2005 Ralf S. Engelschall <rse@@engelschall.com>
##  Copyright (c) 2000-2005 Cable & Wireless <http://www.cw.com/>
d30 1
a30 1
Packager:     The OpenPKG Project
@


1.7
log
@upgrading package: bird 1.0.9 -> 1.0.10
@
text
@d36 2
a37 2
Version:      1.0.10
Release:      20050215
@


1.6
log
@fix building under new Flex world order
@
text
@d36 2
a37 2
Version:      1.0.9
Release:      20050124
@


1.5
log
@Happy New Year 2005
@
text
@d37 1
a37 1
Release:      20041207
d47 1
a47 1
BuildPreReq:  OpenPKG, openpkg >= 20040130, make, flex, bison, m4
d70 1
@


1.4
log
@remove priorities (actually inherited via cut & paste from rc.bind ;-) from packages where the default priority is fully sufficient; fix %stop priorities: they have to be 1000 minus the %start priority in order to stop a package later if it was started earlier.
@
text
@d3 3
a5 3
##  Copyright (c) 2000-2004 The OpenPKG Project <http://www.openpkg.org/>
##  Copyright (c) 2000-2004 Ralf S. Engelschall <rse@@engelschall.com>
##  Copyright (c) 2000-2004 Cable & Wireless <http://www.cw.com/>
@


1.3
log
@requires GNU readline
@
text
@d37 1
a37 1
Release:      20041006
@


1.2
log
@requires flex, bison and m4
@
text
@d37 1
a37 1
Release:      20041001
d49 2
@


1.1
log
@new package: bird 1.0.9 (BIRD Internet Routing Daemon)
@
text
@d37 1
a37 1
Release:      20040716
d47 1
a47 1
BuildPreReq:  OpenPKG, openpkg >= 20040130, make
@

