head 1.15;
access;
symbols
OPENPKG_E1_MP_HEAD:1.11
OPENPKG_E1_MP:1.11
OPENPKG_E1_MP_2_STABLE:1.7.2.2
OPENPKG_E1_FP:1.7.2.2
OPENPKG_2_STABLE_MP:1.10
OPENPKG_2_STABLE_20061018:1.7.2.2
OPENPKG_2_STABLE_20060622:1.7.2.1
OPENPKG_2_STABLE:1.7.0.2
OPENPKG_2_STABLE_BP:1.7
OPENPKG_2_5_RELEASE:1.6.2.1
OPENPKG_2_5_SOLID:1.6.0.2
OPENPKG_2_5_SOLID_BP:1.6
OPENPKG_CW_FP:1.3;
locks; strict;
comment @-- @;
1.15
date 2009.04.18.13.15.19; author rse; state Exp;
branches;
next 1.14;
commitid 4pHXU27WTIGCZuKt;
1.14
date 2008.05.26.17.28.13; author rse; state Exp;
branches;
next 1.13;
commitid wLbFvJhp6ejbZu4t;
1.13
date 2008.01.01.15.04.30; author rse; state Exp;
branches;
next 1.12;
commitid B8esaHJHoduuKILs;
1.12
date 2007.08.13.15.34.28; author cs; state Exp;
branches;
next 1.11;
commitid CsV0nLqvap07ABts;
1.11
date 2007.01.01.17.41.43; author rse; state Exp;
branches;
next 1.10;
commitid BicZD6VUl7GuqP0s;
1.10
date 2006.10.30.10.46.35; author rse; state Exp;
branches;
next 1.9;
commitid dHfeysKkTKhidHSr;
1.9
date 2006.10.13.17.34.05; author thl; state Exp;
branches;
next 1.8;
commitid q5GSxzsSDX29XxQr;
1.8
date 2006.08.25.19.19.08; author rse; state Exp;
branches;
next 1.7;
commitid Tvsj1UyQ8rQ89gKr;
1.7
date 2006.01.01.13.22.03; author rse; state Exp;
branches
1.7.2.1;
next 1.6;
commitid otZG8yKMCw1JFTfr;
1.6
date 2005.10.06.19.05.41; author rse; state Exp;
branches
1.6.2.1;
next 1.5;
1.5
date 2005.06.13.18.29.12; author rse; state Exp;
branches;
next 1.4;
1.4
date 2005.03.24.11.20.16; author rse; state Exp;
branches;
next 1.3;
1.3
date 2005.03.20.09.06.23; author rse; state Exp;
branches;
next 1.2;
1.2
date 2005.03.19.22.10.52; author rse; state Exp;
branches;
next 1.1;
1.1
date 2005.03.19.19.25.30; author rse; state Exp;
branches;
next ;
1.7.2.1
date 2006.06.20.15.24.38; author rse; state Exp;
branches;
next 1.7.2.2;
commitid P9b9BoNafLYTTKBr;
1.7.2.2
date 2006.10.16.14.56.13; author rse; state Exp;
branches;
next 1.7.2.3;
commitid iZxwRSmmWscPXUQr;
1.7.2.3
date 2006.10.30.10.47.33; author rse; state Exp;
branches;
next ;
commitid vbkqFq1sEBpEdHSr;
1.6.2.1
date 2005.10.11.12.51.51; author rse; state Exp;
branches;
next ;
desc
@@
1.15
log
@bump years in copyright messages
@
text
@##
## sendfile.spec -- OpenPKG RPM Package Specification
## Copyright (c) 2000-2009 OpenPKG Foundation e.V.
##
## 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: sendfile
Summary: Simple Asynchronous File Transfer (SAFT)
URL: http://fex.rus.uni-stuttgart.de/saft/sendfile.html
Vendor: Ulli Horlacher
Packager: OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class: PLUS
Group: Network
License: GPL
Version: 2.1b
Release: 20080526
# list of sources
Source0: http://fex.rus.uni-stuttgart.de/download/sendfile-%{version}.tar.gz
Source1: sendfiledx.tar.gz
Source2: sendfile.cf
Source3: rc.sendfile
Patch0: sendfile.patch
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20060823, gcc
PreReq: OpenPKG, openpkg >= 20060823
BuildPreReq: readline
PreReq: readline
AutoReq: no
AutoReqProv: no
%description
Sendfile is a Unix implementation of Simple Asynchronous File
Transfer (SAFT) which can be used to asynchronously send/receive
files over the Internet.
%track
prog sendfile = {
version = %{version}
url = http://fex.rus.uni-stuttgart.de/saft/sendfile.html
regex = sendfile-(\d+\.\d+[a-z]?)\.tar\.gz
}
%prep
%setup -q
%setup -q -T -D -a 1
%patch -p0
%build
# configure program
./makeconfig \
CC="%{l_cc}" \
CFLAGS="\"%{l_cflags -O}\"" \
CPPFLAGS="%{l_cppflags}" \
LDFLAGS="%{l_ldflags}" \
FIFODIR=%{l_prefix}/var/sendfile/run \
SPOOL=%{l_prefix}/var/sendfile/spool \
BINDIR=%{l_prefix}/bin \
MANDIR=%{l_prefix}/man \
CONFIG=%{l_prefix}/etc/sendfile \
SERVERDIR=%{l_prefix}/sbin \
TAR=%{l_tar} \
GZIP=%{l_gzip} \
BZIP2=%{l_bzip2} \
PGP=%{l_prefix}/bin/pgp \
RECODE=%{l_prefix}/bin/recode \
METAMAIL=%{l_prefix}/bin/metamail \
SENDMAIL=%{l_prefix}/sbin/sendmail
# build program
%{l_make} %{l_mflags}
# build sendfiledx addon
( cd sendfiledx
CC="%{l_cc}" \
CFLAGS="%{l_cflags -O}" \
./configure
%{l_make} %{l_mflags}
) || exit $?
%install
# create installation hierarchy
rm -rf $RPM_BUILD_ROOT
%{l_shtool} mkdir -f -p -m 755 \
$RPM_BUILD_ROOT%{l_prefix}/bin \
$RPM_BUILD_ROOT%{l_prefix}/sbin \
$RPM_BUILD_ROOT%{l_prefix}/man/man1 \
$RPM_BUILD_ROOT%{l_prefix}/man/man7 \
$RPM_BUILD_ROOT%{l_prefix}/man/man8 \
$RPM_BUILD_ROOT%{l_prefix}/etc/rc.d \
$RPM_BUILD_ROOT%{l_prefix}/etc/sendfile \
$RPM_BUILD_ROOT%{l_prefix}/var/sendfile/spool \
$RPM_BUILD_ROOT%{l_prefix}/var/sendfile/spool/OUTGOING \
$RPM_BUILD_ROOT%{l_prefix}/var/sendfile/spool/LOG \
$RPM_BUILD_ROOT%{l_prefix}/var/sendfile/run
# install programs
( cd src
%{l_shtool} install -c -s -m 755 \
fetchfile receive sendfile sendmsg utf7encode wlock \
$RPM_BUILD_ROOT%{l_prefix}/bin/
%{l_shtool} install -c -s -m 755 \
sendfiled $RPM_BUILD_ROOT%{l_prefix}/sbin/
) || exit $?
( cd etc
%{l_shtool} install -c -m 755 \
check_sendfile sf_cleanup sfconf sfdconf \
$RPM_BUILD_ROOT%{l_prefix}/bin/
) || exit $?
%{l_shtool} install -c -s -m 755 \
sendfiledx/sendfiledx $RPM_BUILD_ROOT%{l_prefix}/sbin/
ln $RPM_BUILD_ROOT%{l_prefix}/bin/utf7encode \
$RPM_BUILD_ROOT%{l_prefix}/bin/utf7decode
ln $RPM_BUILD_ROOT%{l_prefix}/bin/receive \
$RPM_BUILD_ROOT%{l_prefix}/bin/rf
ln $RPM_BUILD_ROOT%{l_prefix}/bin/sendfile \
$RPM_BUILD_ROOT%{l_prefix}/bin/sf
ln $RPM_BUILD_ROOT%{l_prefix}/bin/sendmsg \
$RPM_BUILD_ROOT%{l_prefix}/bin/sm
# install manual pages
%{l_shtool} install -c -m 755 \
doc/*.1 $RPM_BUILD_ROOT%{l_prefix}/man/man1/
%{l_shtool} install -c -m 755 \
doc/*.7 $RPM_BUILD_ROOT%{l_prefix}/man/man7/
%{l_shtool} install -c -m 755 \
doc/*.8 $RPM_BUILD_ROOT%{l_prefix}/man/man8/
# install default configuration
%{l_shtool} install -c -m 644 %{l_value -s -a} \
%{SOURCE sendfile.cf} $RPM_BUILD_ROOT%{l_prefix}/etc/sendfile/
%{l_shtool} install -c -m 644 \
etc/sendfile.deny $RPM_BUILD_ROOT%{l_prefix}/etc/sendfile/
# install run-command script
%{l_shtool} install -c -m 755 %{l_value -s -a} \
%{SOURCE rc.sendfile} $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/
# determine installation files
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
%{l_files_std} \
'%config %{l_prefix}/etc/sendfile/*'
%files -f files
%clean
rm -rf $RPM_BUILD_ROOT
@
1.14
log
@upstream vendor URLs have changed
@
text
@d3 1
a3 1
## Copyright (c) 2000-2008 OpenPKG Foundation e.V.
@
1.13
log
@Update package specifications according to OpenPKG year 2008 world order:
http://www.mail-archive.com/openpkg-announce@@openpkg.org/msg00221.html
@
text
@d27 1
a27 1
URL: http://www.belwue.de/projekte/saft/sendfile.html
d35 1
a35 1
Release: 20080101
d38 1
a38 1
Source0: http://www.belwue.de/projekte/saft/download/sendfile-%{version}.tar.gz
a60 1
comment = "rse: attention, vendor symlinks releases to snapshots and sometimes even moves releases"
d62 1
a62 1
url = http://www.belwue.de/projekte/saft/download/
@
1.12
log
@fix upstream
@
text
@d3 1
a3 2
## Copyright (c) 2000-2007 OpenPKG Foundation e.V.
## Copyright (c) 2000-2007 Ralf S. Engelschall
d35 1
a35 1
Release: 20070813
@
1.11
log
@Welcome Year 2007!
@
text
@d36 1
a36 1
Release: 20061030
d39 1
a39 1
Source0: ftp://ftp.belwue.de/pub/unix/sendfile/sendfile-%{version}.tar.gz
d64 1
a64 1
url = ftp://ftp.belwue.de/pub/unix/sendfile/
@
1.10
log
@fix Sendfile by upgrading to latest vendor version (yes, it has the same vendor version as the vendor symlinks releases to snapshots and sometimes even moves releases)
@
text
@d3 2
a4 2
## Copyright (c) 2000-2006 OpenPKG Foundation e.V.
## Copyright (c) 2000-2006 Ralf S. Engelschall
@
1.9
log
@new world order for "Packager" and "Distribution" headers
@
text
@d36 1
a36 1
Release: 20061013
d62 1
@
1.8
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
@d30 2
a31 2
Packager: OpenPKG
Distribution: OpenPKG
d36 1
a36 1
Release: 20060825
@
1.7
log
@adjust copyrights for new year 2006
@
text
@d36 1
a36 1
Release: 20051006
d48 2
a49 2
BuildPreReq: OpenPKG, openpkg >= 20040130, gcc
PreReq: OpenPKG, openpkg >= 20040130
@
1.7.2.1
log
@bump release numbers for OpenPKG 2.20060622 in advance
@
text
@d36 1
a36 1
Release: 2.20060622
d48 2
a49 2
BuildPreReq: OpenPKG, openpkg >= 2.20060622, gcc
PreReq: OpenPKG, openpkg >= 2.20060622
@
1.7.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
d48 2
a49 2
BuildPreReq: OpenPKG, openpkg >= 2.20061018, gcc
PreReq: OpenPKG, openpkg >= 2.20061018
@
1.7.2.3
log
@MFC: fix Sendfile by upgrading to latest vendor version (yes, it has the same vendor version as the vendor symlinks releases to snapshots and sometimes even moves releases)
@
text
@d36 1
a36 1
Release: 2.20061030
a61 1
comment = "rse: attention, vendor symlinks releases to snapshots and sometimes even moves releases"
@
1.6
log
@bless for PLUS class
@
text
@d3 2
a4 2
## Copyright (c) 2000-2005 OpenPKG Foundation e.V.
## Copyright (c) 2000-2005 Ralf S. Engelschall
@
1.6.2.1
log
@bump release numbers for OpenPKG 2.5
@
text
@d36 1
a36 1
Release: 2.5.0
d48 2
a49 2
BuildPreReq: OpenPKG, openpkg >= 2.5.0, gcc
PreReq: OpenPKG, openpkg >= 2.5.0
@
1.5
log
@upgrading package: sendfile 2.1a -> 2.1b
@
text
@d32 1
a32 1
Class: EVAL
d36 1
a36 1
Release: 20050613
@
1.4
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.1a
Release: 20050320
@
1.3
log
@track only releases
@
text
@d2 3
a4 4
## sendfile.spec -- OpenPKG RPM Specification
## Copyright (c) 2000-2005 The OpenPKG Project
## Copyright (c) 2000-2005 Ralf S. Engelschall
## Copyright (c) 2000-2005 Cable & Wireless
d30 1
a30 1
Packager: The OpenPKG Project
@
1.2
log
@there is no standard logfile AFAIK
@
text
@d37 1
a37 1
Release: 20050319
d65 1
a65 1
regex = sendfile-(__VER__)\.tar\.gz
@
1.1
log
@new package: sendfile 2.1a (Simple Asynchronous File Transfer (SAFT))
@
text
@d119 1
a119 2
$RPM_BUILD_ROOT%{l_prefix}/var/sendfile/run \
$RPM_BUILD_ROOT%{l_prefix}/var/sendfile/log
@