head	1.26;
access;
symbols
	OPENPKG_E1_MP_HEAD:1.17
	OPENPKG_E1_MP:1.17
	OPENPKG_E1_MP_2_STABLE:1.15.2.2
	OPENPKG_E1_FP:1.15.2.2
	OPENPKG_2_STABLE_MP:1.16
	OPENPKG_2_STABLE_20061018:1.15.2.2
	OPENPKG_2_STABLE_20060622:1.15.2.1
	OPENPKG_2_STABLE:1.15.0.2
	OPENPKG_2_STABLE_BP:1.15
	OPENPKG_2_5_RELEASE:1.11.2.2
	OPENPKG_2_5_SOLID:1.11.0.2
	OPENPKG_2_5_SOLID_BP:1.11
	OPENPKG_2_4_RELEASE:1.10.2.1
	OPENPKG_2_4_SOLID:1.10.0.2
	OPENPKG_2_4_SOLID_BP:1.10
	OPENPKG_CW_FP:1.8
	OPENPKG_2_3_RELEASE:1.8.2.1
	OPENPKG_2_3_SOLID:1.8.0.2
	OPENPKG_2_3_SOLID_BP:1.8
	OPENPKG_2_2_RELEASE:1.4.2.1
	OPENPKG_2_2_SOLID:1.4.0.2
	OPENPKG_2_2_SOLID_BP:1.4;
locks; strict;
comment	@-- @;


1.26
date	2009.11.08.09.46.52;	author rse;	state Exp;
branches;
next	1.25;
commitid	TWK9FFwsilCFmHau;

1.25
date	2009.04.18.13.08.25;	author rse;	state Exp;
branches;
next	1.24;
commitid	4pHXU27WTIGCZuKt;

1.24
date	2009.04.11.09.07.59;	author rse;	state Exp;
branches;
next	1.23;
commitid	iwUcDbTmSRsQVzJt;

1.23
date	2009.01.27.07.35.57;	author rse;	state Exp;
branches;
next	1.22;
commitid	mA70dnqiNdBIN3At;

1.22
date	2008.12.14.10.41.38;	author rse;	state Exp;
branches;
next	1.21;
commitid	jpGUv2IGXY08fqut;

1.21
date	2008.01.01.14.50.25;	author rse;	state Exp;
branches;
next	1.20;
commitid	B8esaHJHoduuKILs;

1.20
date	2007.07.20.20.16.05;	author thl;	state Exp;
branches;
next	1.19;
commitid	yCyWfcoNSNOaUxqs;

1.19
date	2007.06.07.07.30.38;	author rse;	state Exp;
branches;
next	1.18;
commitid	31T2HSNHuRYE3Xks;

1.18
date	2007.05.04.17.58.07;	author rse;	state Exp;
branches;
next	1.17;
commitid	nlqIxLk6Bz0GCDgs;

1.17
date	2007.01.01.17.36.30;	author rse;	state Exp;
branches;
next	1.16;
commitid	BicZD6VUl7GuqP0s;

1.16
date	2006.10.13.17.26.43;	author thl;	state Exp;
branches;
next	1.15;
commitid	q5GSxzsSDX29XxQr;

1.15
date	2006.05.24.18.50.29;	author rse;	state Exp;
branches
	1.15.2.1;
next	1.14;
commitid	2sKuWvpXDlTeZiyr;

1.14
date	2006.01.01.13.11.53;	author rse;	state Exp;
branches;
next	1.13;
commitid	otZG8yKMCw1JFTfr;

1.13
date	2005.10.26.08.26.55;	author rse;	state Exp;
branches;
next	1.12;
commitid	Gi58UtDV3GdNig7r;

1.12
date	2005.10.15.07.00.21;	author rse;	state Exp;
branches;
next	1.11;

1.11
date	2005.10.07.11.55.52;	author rse;	state Exp;
branches
	1.11.2.1;
next	1.10;

1.10
date	2005.04.21.06.06.58;	author rse;	state Exp;
branches
	1.10.2.1;
next	1.9;

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

1.8
date	2005.02.18.16.46.07;	author rse;	state Exp;
branches
	1.8.2.1;
next	1.7;

1.7
date	2005.01.01.10.47.44;	author rse;	state Exp;
branches;
next	1.6;

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

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

1.4
date	2004.10.11.12.08.15;	author rse;	state Exp;
branches
	1.4.2.1;
next	1.3;

1.3
date	2004.06.23.08.11.06;	author thl;	state Exp;
branches;
next	1.2;

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

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

1.15.2.1
date	2006.06.20.15.14.30;	author rse;	state Exp;
branches;
next	1.15.2.2;
commitid	P9b9BoNafLYTTKBr;

1.15.2.2
date	2006.10.16.14.47.29;	author rse;	state Exp;
branches;
next	;
commitid	iZxwRSmmWscPXUQr;

1.11.2.1
date	2005.10.11.12.49.18;	author rse;	state Exp;
branches;
next	1.11.2.2;

1.11.2.2
date	2005.10.15.07.00.54;	author rse;	state Exp;
branches;
next	;

1.10.2.1
date	2005.06.15.18.58.38;	author rse;	state Exp;
branches;
next	;

1.8.2.1
date	2005.02.21.17.06.12;	author rse;	state Exp;
branches;
next	;

1.4.2.1
date	2004.10.11.18.53.55;	author rse;	state Exp;
branches;
next	;


desc
@@


1.26
log
@upgrading package: amanda 2.6.1p1 -> 2.6.1p2
@
text
@##
##  amanda.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:         amanda
Summary:      The Advanced Maryland Automatic Network Disk Archiver
URL:          http://www.amanda.org/
Vendor:       University of Maryland at College Park
Packager:     OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class:        PLUS
Group:        System
License:      BSD-style
Version:      2.6.1p2
Release:      20091108

#   package options
%option       with_server      no
%option       with_port_range  yes
%option       with_config      default
%option       with_tape_srv    default
%option       with_index_srv   default
%option       with_tape_dev    default

#   list of sources
Source0:      http://switch.dl.sourceforge.net/amanda/amanda-%{version}.tar.gz
Source1:      amanda.conf
Source2:      amanda.disklist
Source3:      xinetd.amanda
Source4:      xinetd.amandaidx
Source5:      xinetd.amidxtape

#   build information
Prefix:       %{l_prefix}
BuildRoot:    %{l_buildroot}
BuildPreReq:  OpenPKG, openpkg >= 20040130, tar, make, gcc, grep
PreReq:       OpenPKG, openpkg >= 20040130, tar, xinetd, grep
AutoReq:      no
AutoReqProv:  no

%description
    AMANDA, the Advanced Maryland Automatic Network Disk Archiver, is
    a backup system that allows the administrator of a LAN to set up a
    single master backup server to back up multiple hosts to a single
    large capacity tape drive. AMANDA uses native dump and/or GNU tar
    facilities and can back up a large number of workstations running
    multiple versions of Unix.

%track
    prog amanda = {
        version   = %{version}
        url       = http://www.amanda.org/download.php
        regex     = amanda-(\d+\.\d+\.\d+(p\d+)?)\.tar\.gz
    }

%prep
    %setup -q

    #   patch /etc/amandates problem
    %{l_shtool} subst -s \
        -e 's;/etc/amandates;%{l_prefix}/etc/amanda/amandates;g' \
        client-src/amandates.h

    #   relocate .amandahosts to %{l_prefix}/etc/amanda
    %{l_shtool} subst -s \
        -e 's;pwptr->pw_dir, "/.amandahosts";"%{l_prefix}/etc/amanda", "/.amandahosts";g' \
        common-src/security.c

    #   replace grep -E
    %{l_shtool} subst -s \
        -e 's;\(ac_cv_prog_egrep=.*\)grep \-E\(.*\);\1egrep\2;g' \
        configure acinclude.m4 config/libtool.m4i

    #   replace hard-coded chown=root
    %{l_shtool} subst -s \
        -e 's;chown=root;;g' \
        client-src/Makefile.in \
        application-src/Makefile.in

%build
    #   configure package
    CC="%{l_cc}" \
    CFLAGS="%{l_cflags -O}" \
    CPPFLAGS="%{l_cppflags}" \
    LDFLAGS="%{l_ldflags} %{l_fsl_ldflags}" \
    LIBS="%{l_fsl_libs}" \
    ./configure \
        --prefix=%{l_prefix} \
        --sysconfdir=%{l_prefix}/etc/amanda \
        --libexecdir=%{l_prefix}/libexec \
        --libdir=%{l_prefix}/lib/amanda \
        --localstatedir=%{l_prefix}/var/amanda \
        --includedir=%{l_prefix}/include/amanda \
        --enable-static \
        --enable-shared \
        --with-user=%{l_musr} \
        --with-group=%{l_mgrp} \
        --with-configdir=%{l_prefix}/etc/amanda \
        --with-gnutar=%{l_prefix}/bin/tar \
        --with-gnutar-listdir=%{l_prefix}/var/amanda/gnutar-lists \
%if "%{with_port_range}" == "yes"
        --with-portrange=50000,50090 \
        --with-udpportrange=920,980 \
%endif
%if "%{with_config}" != "default"
        --with-config=%{with_config} \
%endif
%if "%{with_tape_srv}" != "default"
        --with-tape-server=%{with_tape_srv} \
%endif
%if "%{with_tape_dev}" != "default"
        --with-tape-device=%{with_tape_dev} \
%endif
%if "%{with_index_srv}" != "default"
        --with-index-server=%{with_index_srv} \
%endif
%if "%{with_server}" == "yes"
        --with-server
%else
        --without-server
%endif

    #   build package
    %{l_make} %{l_mflags}

%install
    rm -rf $RPM_BUILD_ROOT

    #   perform standard installation procedure
    %{l_make} %{l_mflags} install \
        DESTDIR=$RPM_BUILD_ROOT \
        BINARY_OWNER="`%{l_shtool} echo -e %u`" \
        SETUID_GROUP="`%{l_shtool} echo -e %u`"

    #   create additional directories
    %{l_shtool} mkdir -f -p -m 755 \
        $RPM_BUILD_ROOT%{l_prefix}/etc/amanda \
        $RPM_BUILD_ROOT%{l_prefix}/etc/xinetd/xinetd.d \
        $RPM_BUILD_ROOT%{l_prefix}/var/amanda/gnutar-lists \
        $RPM_BUILD_ROOT%{l_prefix}/var/amanda/DailySet1

    #   create additional server-specific directories
%if "%{with_server}" == "yes"
    %{l_shtool} mkdir -f -p -m 755 \
        $RPM_BUILD_ROOT%{l_prefix}/etc/amanda \
        $RPM_BUILD_ROOT%{l_prefix}/etc/amanda/DailySet1 \
        $RPM_BUILD_ROOT%{l_prefix}/var/amanda/dumps \
        $RPM_BUILD_ROOT%{l_prefix}/var/amanda/DailySet1/curinfo \
        $RPM_BUILD_ROOT%{l_prefix}/var/amanda/DailySet1/index
%endif

    #   create empty files
    touch $RPM_BUILD_ROOT%{l_prefix}/etc/amanda/.amandahosts
    touch $RPM_BUILD_ROOT%{l_prefix}/etc/amanda/amandates
    touch $RPM_BUILD_ROOT%{l_prefix}/lib/amanda/exclude.gtar

    #   install xinetd configuration files
    %{l_shtool} install -c -m 644 \
        -e 's;@@USER@@;%{l_musr};g' \
        -e 's;@@GROUP@@;%{l_mgrp};g' \
        -e 's;@@LIBDIR@@;%{l_prefix}/libexec/amanda;g' \
        %{SOURCE xinetd.amanda} \
        $RPM_BUILD_ROOT%{l_prefix}/etc/xinetd/xinetd.d/amanda
%if "%{with_server}" == "yes"
    %{l_shtool} install -c -m 644 \
        -e 's;@@USER@@;%{l_musr};g' \
        -e 's;@@GROUP@@;%{l_mgrp};g' \
        -e 's;@@LIBDIR@@;%{l_prefix}/libexec/amanda;g' \
        %{SOURCE xinetd.amandaidx} \
        $RPM_BUILD_ROOT%{l_prefix}/etc/xinetd/xinetd.d/amandaidx
    %{l_shtool} install -c -m 644 \
        -e 's;@@USER@@;%{l_musr};g' \
        -e 's;@@GROUP@@;%{l_mgrp};g' \
        -e 's;@@LIBDIR@@;%{l_prefix}/libexec/amanda;g' \
        %{SOURCE xinetd.amidxtape} \
        $RPM_BUILD_ROOT%{l_prefix}/etc/xinetd/xinetd.d/amidxtape
%endif

%if "%{with_server}" == "yes"
    #   install example server configuration
    %{l_shtool} install -c -m 644 \
        -e 's;@@PREFIX@@;%{l_prefix};g' \
        %{SOURCE amanda.conf} \
        $RPM_BUILD_ROOT%{l_prefix}/etc/amanda/DailySet1/
    %{l_shtool} install -c -m 644 %{l_value -s -a} \
        %{SOURCE amanda.disklist} \
        $RPM_BUILD_ROOT%{l_prefix}/etc/amanda/DailySet1/disklist
%endif

    #   determine installation files
    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
        %{l_files_std} \
        '%config %{l_prefix}/etc/amanda/*' \
        '%config(noreplace) %{l_prefix}/etc/xinetd/xinetd.d/*' \
        '%attr(660,%{l_musr},%{l_mgrp}) %config(noreplace) %{l_prefix}/etc/amanda/.amandahosts' \
%if "%{with_server}" == "yes"
        '%attr(4711,%{l_susr},%{l_mgrp}) %{l_prefix}/sbin/amcheck' \
        '%attr(4711,%{l_susr},%{l_mgrp}) %{l_prefix}/libexec/amanda/dumper' \
        '%attr(4711,%{l_susr},%{l_mgrp}) %{l_prefix}/libexec/amanda/planner' \
%endif
        '%attr(4711,%{l_susr},%{l_mgrp}) %{l_prefix}/libexec/amanda/runtar' \
        '%attr(4711,%{l_susr},%{l_mgrp}) %{l_prefix}/libexec/amanda/rundump' \
        '%attr(4711,%{l_susr},%{l_mgrp}) %{l_prefix}/libexec/amanda/calcsize' \
        '%attr(4711,%{l_susr},%{l_mgrp}) %{l_prefix}/libexec/amanda/killpgrp' \
        '%attr(644,%{l_musr},%{l_mgrp}) %{l_prefix}/etc/amanda/amandates' \
        '%attr(755,%{l_musr},%{l_mgrp}) %{l_prefix}/var/amanda/gnutar-lists'

%files -f files

%clean
    rm -rf $RPM_BUILD_ROOT

%post
    if [ $1 = 1 ]; then
        #   add entries to /etc/services
        ( echo "amanda    10080/udp # AMANDA"
          echo "amandaidx 10082/tcp # AMANDA"
          echo "amidxtape 10083/tcp # AMANDA"
        ) | $RPM_INSTALL_PREFIX/lib/openpkg/rpmtool config \
            -a -i "$RPM_INSTALL_PREFIX:amanda" /etc/services
    fi
    exit 0

%preun
    if [ $1 = 0 ]; then
        #   remove entries from /etc/services
        $RPM_INSTALL_PREFIX/lib/openpkg/rpmtool config \
            -r -i "$RPM_INSTALL_PREFIX:amanda" /etc/services
    fi
    exit 0

@


1.25
log
@bump years in copyright messages
@
text
@d34 2
a35 2
Version:      2.6.1p1
Release:      20090411
d46 1
a46 1
Source0:      http://osdn.dl.sourceforge.net/amanda/amanda-%{version}.tar.gz
@


1.24
log
@upgrading package: amanda 2.6.1 -> 2.6.1p1
@
text
@d3 1
a3 1
##  Copyright (c) 2000-2008 OpenPKG Foundation e.V. <http://openpkg.net/>
@


1.23
log
@upgrading package: amanda 2.6.0p2 -> 2.6.1
@
text
@d34 2
a35 2
Version:      2.6.1
Release:      20090127
@


1.22
log
@upgrading package: amanda 2.5.2p1 -> 2.6.0p2
@
text
@d34 2
a35 2
Version:      2.6.0p2
Release:      20081214
d97 2
a98 1
        client-src/Makefile.in
@


1.21
log
@Update package specifications according to OpenPKG year 2008 world order:
http://www.mail-archive.com/openpkg-announce@@openpkg.org/msg00221.html
@
text
@d34 2
a35 2
Version:      2.5.2p1
Release:      20080101
d46 1
a46 1
Source0:      http://switch.dl.sourceforge.net/amanda/amanda-%{version}.tar.gz
d94 5
d109 1
a109 1
        --libexecdir=%{l_prefix}/libexec/amanda \
d113 2
a114 1
        --disable-shared \
@


1.20
log
@remove "%not %dir" construct, allowing proper directory ownership tracking and removal when erasing last provider
@
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:      20070720
@


1.19
log
@upgrading package: amanda 2.5.2 -> 2.5.2p1
@
text
@d36 1
a36 1
Release:      20070607
a207 1
        '%not %dir %{l_prefix}/etc/xinetd/xinetd.d' \
@


1.18
log
@upgrading package: amanda 2.4.5p1 -> 2.5.2
@
text
@d35 2
a36 2
Version:      2.5.2
Release:      20070504
@


1.17
log
@Welcome Year 2007!
@
text
@d35 2
a36 2
Version:      2.4.5p1
Release:      20061013
d74 1
a74 1
        regex     = amanda-(\d+\.[02468]\.\d+(p\d+)?)\.tar\.gz
@


1.16
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.15
log
@SourceForge switched their URLs again and the canonical osdn.dl.sf.net no longer is available, hence switch to switch.dl.sf.net, one of the longest available and hopefully still long available mirrors
@
text
@d30 2
a31 2
Packager:     OpenPKG
Distribution: OpenPKG
d36 1
a36 1
Release:      20060524
@


1.15.2.1
log
@bump release numbers for OpenPKG 2.20060622 in advance
@
text
@d36 1
a36 1
Release:      2.20060622
d57 2
a58 2
BuildPreReq:  OpenPKG, openpkg >= 2.20060622, tar, make, gcc, grep
PreReq:       OpenPKG, openpkg >= 2.20060622, tar, xinetd, grep
@


1.15.2.2
log
@Mass merge from CURRENT to 2-STABLE (all packages except those of JUNK class)
@
text
@d30 2
a31 2
Packager:     OpenPKG Foundation e.V.
Distribution: OpenPKG Community
d36 1
a36 1
Release:      2.20061018
d57 2
a58 2
BuildPreReq:  OpenPKG, openpkg >= 2.20061018, tar, make, gcc, grep
PreReq:       OpenPKG, openpkg >= 2.20061018, tar, xinetd, grep
@


1.14
log
@adjust copyrights for new year 2006
@
text
@d36 1
a36 1
Release:      20051026
d47 1
a47 1
Source0:      http://osdn.dl.sourceforge.net/amanda/amanda-%{version}.tar.gz
@


1.13
log
@upgrading package: amanda 2.4.5 -> 2.4.5p1
@
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.12
log
@there is no DailySet1 subdir
@
text
@d35 2
a36 2
Version:      2.4.5
Release:      20051015
@


1.11
log
@as discussioned, OpenPKG user/group ownerships should be built-time options to not allow circumvent the security design decisions of packages. If different user/groups are necessary because of access restrictions and environment constraints, either a local package modification should be made or some setuid/setgid-wrappers locally installed, etc
@
text
@d36 1
a36 1
Release:      20051007
d207 1
a207 1
        '%config %{l_prefix}/etc/amanda/DailySet1/*' \
@


1.11.2.1
log
@bump release numbers for OpenPKG 2.5
@
text
@d36 1
a36 1
Release:      2.5.0
d57 2
a58 2
BuildPreReq:  OpenPKG, openpkg >= 2.5.0, tar, make, gcc, grep
PreReq:       OpenPKG, openpkg >= 2.5.0, tar, xinetd, grep
@


1.11.2.2
log
@MFC: there is no DailySet1 subdir
@
text
@d207 1
a207 1
        '%config %{l_prefix}/etc/amanda/*' \
@


1.10
log
@upgrading package: amanda 2.4.4p4 -> 2.4.5
@
text
@d36 1
a36 1
Release:      20050421
a40 2
%option       with_user        %{l_musr}
%option       with_group       %{l_mgrp}
d110 2
a111 2
        --with-user=%{with_user} \
        --with-group=%{with_group} \
d173 2
a174 2
        -e 's;@@USER@@;%{with_user};g' \
        -e 's;@@GROUP@@;%{with_group};g' \
d180 2
a181 2
        -e 's;@@USER@@;%{with_user};g' \
        -e 's;@@GROUP@@;%{with_group};g' \
d186 2
a187 2
        -e 's;@@USER@@;%{with_user};g' \
        -e 's;@@GROUP@@;%{with_group};g' \
d210 1
a210 1
        '%attr(660,%{with_user},%{with_group}) %config(noreplace) %{l_prefix}/etc/amanda/.amandahosts' \
d212 10
a221 10
        '%attr(4711,%{l_susr},%{with_group}) %{l_prefix}/sbin/amcheck' \
        '%attr(4711,%{l_susr},%{with_group}) %{l_prefix}/libexec/amanda/dumper' \
        '%attr(4711,%{l_susr},%{with_group}) %{l_prefix}/libexec/amanda/planner' \
%endif
        '%attr(4711,%{l_susr},%{with_group}) %{l_prefix}/libexec/amanda/runtar' \
        '%attr(4711,%{l_susr},%{with_group}) %{l_prefix}/libexec/amanda/rundump' \
        '%attr(4711,%{l_susr},%{with_group}) %{l_prefix}/libexec/amanda/calcsize' \
        '%attr(4711,%{l_susr},%{with_group}) %{l_prefix}/libexec/amanda/killpgrp' \
        '%attr(644,%{with_user},%{with_group}) %{l_prefix}/etc/amanda/amandates' \
        '%attr(755,%{with_user},%{with_group}) %{l_prefix}/var/amanda/gnutar-lists'
@


1.10.2.1
log
@bump release numbers for OpenPKG 2.4
@
text
@d36 1
a36 1
Release:      2.4.0
d59 2
a60 2
BuildPreReq:  OpenPKG, openpkg >= 2.4.0, tar, make, gcc, grep
PreReq:       OpenPKG, openpkg >= 2.4.0, tar, xinetd, grep
@


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
@d35 2
a36 2
Version:      2.4.4p4
Release:      20050218
@


1.8
log
@bless for PLUS class
@
text
@d2 3
a4 4
##  amanda.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.8.2.1
log
@bump release numbers for OpenPKG 2.3
@
text
@d37 1
a37 1
Release:      2.3.0
d60 2
a61 2
BuildPreReq:  OpenPKG, openpkg >= 2.3.0, tar, make, gcc, grep
PreReq:       OpenPKG, openpkg >= 2.3.0, tar, xinetd, grep
@


1.7
log
@Happy New Year 2005
@
text
@d33 1
a33 1
Class:        EVAL
d37 1
a37 1
Release:      20041215
@


1.6
log
@contributed changes: make package more flexible by adding a bunch of options
@
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.5
log
@upgrading package: amanda 2.4.4p3 -> 2.4.4p4
@
text
@d33 1
a33 1
Class:        PLUS
d37 1
a37 1
Release:      20041023
d42 6
d60 2
a61 2
BuildPreReq:  OpenPKG, openpkg >= 20040130, tar, make, gcc
PreReq:       OpenPKG, openpkg >= 20040130, tar, xinetd
d93 5
d113 2
a114 2
        --with-user=%{l_musr} \
        --with-group=%{l_mgrp} \
d119 14
a132 2
        --with-portrange=50000,50040 \
        --with-udpportrange=890,899 \
d176 2
a177 2
        -e 's;@@USER@@;%{l_musr};g' \
        -e 's;@@GROUP@@;%{l_mgrp};g' \
d183 2
a184 2
        -e 's;@@USER@@;%{l_musr};g' \
        -e 's;@@GROUP@@;%{l_mgrp};g' \
d189 2
a190 2
        -e 's;@@USER@@;%{l_musr};g' \
        -e 's;@@GROUP@@;%{l_mgrp};g' \
d213 1
a213 1
        '%attr(660,%{l_musr},%{l_mgrp}) %config(noreplace) %{l_prefix}/etc/amanda/.amandahosts' \
d215 10
a224 8
        '%attr(4711,%{l_susr},%{l_mgrp}) %{l_prefix}/sbin/amcheck' \
        '%attr(4711,%{l_susr},%{l_mgrp}) %{l_prefix}/libexec/amanda/dumper' \
        '%attr(4711,%{l_susr},%{l_mgrp}) %{l_prefix}/libexec/amanda/planner' \
%endif
        '%attr(4711,%{l_susr},%{l_mgrp}) %{l_prefix}/libexec/amanda/runtar' \
        '%attr(4711,%{l_susr},%{l_mgrp}) %{l_prefix}/libexec/amanda/rundump' \
        '%attr(4711,%{l_susr},%{l_mgrp}) %{l_prefix}/libexec/amanda/calcsize' \
        '%attr(4711,%{l_susr},%{l_mgrp}) %{l_prefix}/libexec/amanda/killpgrp'
@


1.4
log
@requires gcc and bless for PLUS class
@
text
@d36 2
a37 2
Version:      2.4.4p3
Release:      20041011
d118 1
a118 1
    %{l_make} %{l_mflags -O}
@


1.4.2.1
log
@bump release numbers for OpenPKG 2.2
@
text
@d37 1
a37 1
Release:      2.2.0
d54 2
a55 2
BuildPreReq:  OpenPKG, openpkg >= 2.2.0, tar, make, gcc
PreReq:       OpenPKG, openpkg >= 2.2.0, tar, xinetd
@


1.3
log
@upgrading package: amanda 2.4.4p2 -> 2.4.4p3
@
text
@d33 1
a33 1
Class:        EVAL
d37 1
a37 1
Release:      20040623
d54 1
a54 1
BuildPreReq:  OpenPKG, openpkg >= 20040130, tar, make
@


1.2
log
@apply fixed
@
text
@d36 2
a37 2
Version:      2.4.4p2
Release:      20040229
@


1.1
log
@new package: amanda 2.4.4p2 (The Advanced Maryland Automatic Network Disk Archiver)
@
text
@d37 1
a37 1
Release:      20040221
d40 1
a40 1
%option       with_server      yes
d82 5
d131 2
d134 1
a134 2
        $RPM_BUILD_ROOT%{l_prefix}/var/amanda/DailySet1 \
        $RPM_BUILD_ROOT%{l_prefix}/etc/xinetd/xinetd.d
d146 2
a147 2
    #   create empty files (FIXME: path of .amandahosts!!)
    touch $RPM_BUILD_ROOT%{l_prefix}/.amandahosts
d190 2
a191 1
        '%attr(660,%{l_musr},%{l_mgrp}) %config(noreplace) %{l_prefix}/.amandahosts' \
d195 1
@

