head 1.91;
access;
symbols
OPENPKG_E1_MP_HEAD:1.69
OPENPKG_E1_MP:1.69
OPENPKG_E1_MP_2_STABLE:1.61.2.2
OPENPKG_E1_FP:1.61.2.2
OPENPKG_2_STABLE_MP:1.61
OPENPKG_2_STABLE_20061018:1.61.2.2
OPENPKG_2_STABLE:1.61.0.2
OPENPKG_CW_FP:1.27
OPENPKG_1_STABLE_MP:1.16;
locks; strict;
comment @-- @;
1.91
date 2009.06.30.18.49.52; author rse; state Exp;
branches;
next 1.90;
commitid w73hLGDRO5o1AUTt;
1.90
date 2009.04.18.13.14.27; author rse; state Exp;
branches;
next 1.89;
commitid 4pHXU27WTIGCZuKt;
1.89
date 2009.01.15.18.00.14; author rse; state Exp;
branches;
next 1.88;
commitid QQDNWcOuX3mPDzyt;
1.88
date 2008.05.31.19.04.08; author rse; state Exp;
branches;
next 1.87;
commitid bRtYT19y9hD7m95t;
1.87
date 2008.04.24.18.07.07; author rse; state Exp;
branches;
next 1.86;
commitid YSXCeJQjRmlieo0t;
1.86
date 2008.04.05.19.39.51; author rse; state Exp;
branches;
next 1.85;
commitid aXfNMp1uCPBYlXXs;
1.85
date 2008.02.11.18.55.30; author rse; state Exp;
branches;
next 1.84;
commitid vUT0bWMmOcVnQ0Rs;
1.84
date 2008.01.01.15.03.04; author rse; state Exp;
branches;
next 1.83;
commitid B8esaHJHoduuKILs;
1.83
date 2007.10.27.11.59.48; author cs; state Exp;
branches;
next 1.82;
commitid XKMxflRJ6S7CYdDs;
1.82
date 2007.07.20.20.18.00; author thl; state Exp;
branches;
next 1.81;
commitid yCyWfcoNSNOaUxqs;
1.81
date 2007.05.18.15.59.44; author rse; state Exp;
branches;
next 1.80;
commitid mrOVGK27jjtawqis;
1.80
date 2007.04.30.15.03.31; author cs; state Exp;
branches;
next 1.79;
commitid MounRrUuSByKM6gs;
1.79
date 2007.04.30.15.01.48; author cs; state Exp;
branches;
next 1.78;
commitid UAlcbJViA4G9M6gs;
1.78
date 2007.04.11.16.00.09; author rse; state Exp;
branches;
next 1.77;
commitid HjSJvIcwbpX2IFds;
1.77
date 2007.04.05.06.41.07; author rse; state Exp;
branches;
next 1.76;
commitid XcR5OLTR4i0eOQcs;
1.76
date 2007.03.13.07.12.12; author rse; state Exp;
branches;
next 1.75;
commitid AeWrJyJ2tejJIT9s;
1.75
date 2007.03.07.10.44.44; author cs; state Exp;
branches;
next 1.74;
commitid e8VzR75zx0QA599s;
1.74
date 2007.03.02.18.20.21; author rse; state Exp;
branches;
next 1.73;
commitid eQ3Tt7vYJ0rRLx8s;
1.73
date 2007.02.20.07.34.31; author cs; state Exp;
branches;
next 1.72;
commitid CPBfHbnq4vqewc7s;
1.72
date 2007.02.11.10.40.22; author rse; state Exp;
branches;
next 1.71;
commitid Bzt4oqXkHFKVP36s;
1.71
date 2007.01.20.08.42.55; author rse; state Exp;
branches;
next 1.70;
commitid SDscVDfiRaGtTd3s;
1.70
date 2007.01.16.07.23.48; author rse; state Exp;
branches;
next 1.69;
commitid 4o1cP7OrwFsjAH2s;
1.69
date 2007.01.04.07.53.56; author rse; state Exp;
branches;
next 1.68;
commitid GSlt4cEQg7Hy8a1s;
1.68
date 2007.01.01.17.41.12; author rse; state Exp;
branches;
next 1.67;
commitid BicZD6VUl7GuqP0s;
1.67
date 2006.12.16.15.06.56; author rse; state Exp;
branches;
next 1.66;
commitid MnGbub380G8Y8LYr;
1.66
date 2006.12.10.09.41.30; author rse; state Exp;
branches;
next 1.65;
commitid Qc3fsaE0lwyhxXXr;
1.65
date 2006.12.07.08.14.14; author rse; state Exp;
branches;
next 1.64;
commitid gyfZOSN6BA3k9zXr;
1.64
date 2006.11.05.08.26.28; author rse; state Exp;
branches;
next 1.63;
commitid CYe567cSlBpifsTr;
1.63
date 2006.10.28.07.53.16; author rse; state Exp;
branches;
next 1.62;
commitid w3NblhdaxMPQjqSr;
1.62
date 2006.10.28.07.49.43; author rse; state Exp;
branches;
next 1.61;
commitid p4SQtmjhaU3DiqSr;
1.61
date 2006.10.14.18.04.35; author rse; state Exp;
branches
1.61.2.1;
next 1.60;
commitid dYL4fF33S34s9GQr;
1.60
date 2006.10.13.17.32.58; author thl; state Exp;
branches;
next 1.59;
commitid q5GSxzsSDX29XxQr;
1.59
date 2006.09.22.05.57.07; author rse; state Exp;
branches;
next 1.58;
commitid JnoGcWpPxcrKPMNr;
1.58
date 2006.09.19.07.31.27; author rse; state Exp;
branches;
next 1.57;
commitid 3f6GKqitwOv5spNr;
1.57
date 2006.09.12.05.32.52; author cs; state Exp;
branches;
next 1.56;
commitid jiWzJhrFV76l1vMr;
1.56
date 2006.08.25.19.18.34; author rse; state Exp;
branches;
next 1.55;
commitid Tvsj1UyQ8rQ89gKr;
1.55
date 2006.08.06.09.05.25; author rse; state Exp;
branches;
next 1.54;
commitid B0zt7UA1yBC0oLHr;
1.54
date 2006.06.24.14.47.58; author cs; state Exp;
branches;
next 1.53;
commitid 6VDKcz4xwt9eFgCr;
1.53
date 2006.06.19.18.49.50; author rse; state Exp;
branches;
next 1.52;
commitid fQhXnJeYBS29aEBr;
1.52
date 2006.06.05.20.06.33; author rse; state Exp;
branches;
next 1.51;
commitid KS4y19Mk9JOn2Rzr;
1.51
date 2006.05.22.07.59.48; author cs; state Exp;
branches;
next 1.50;
commitid cZIMZNjxdeoXsZxr;
1.50
date 2006.05.15.07.17.27; author rse; state Exp;
branches;
next 1.49;
commitid blwAEwLdUsVms5xr;
1.49
date 2006.05.14.08.32.25; author rse; state Exp;
branches;
next 1.48;
commitid EUSIeTLUH7v5UXwr;
1.48
date 2006.05.13.09.21.56; author rse; state Exp;
branches;
next 1.47;
commitid 97clMQ80Km44dQwr;
1.47
date 2006.03.20.18.31.10; author rse; state Exp;
branches;
next 1.46;
commitid SV6nyYkldhA6ZWpr;
1.46
date 2006.03.15.20.28.46; author rse; state Exp;
branches;
next 1.45;
commitid p6py6XZRpSNpNjpr;
1.45
date 2006.02.21.10.12.48; author rse; state Exp;
branches;
next 1.44;
commitid QghrUgrfrDIW5rmr;
1.44
date 2006.02.06.19.56.04; author rse; state Exp;
branches;
next 1.43;
commitid uhL3Sh5cGFuWNykr;
1.43
date 2006.01.05.08.15.02; author cs; state Exp;
branches;
next 1.42;
commitid oEfAl4ADtMscXngr;
1.42
date 2006.01.01.13.20.51; author rse; state Exp;
branches;
next 1.41;
commitid otZG8yKMCw1JFTfr;
1.41
date 2005.12.24.08.28.51; author rse; state Exp;
branches;
next 1.40;
commitid v92rtXQUtlPRpQer;
1.40
date 2005.12.08.19.03.59; author rse; state Exp;
branches;
next 1.39;
commitid 7huHZpGvSASDrQcr;
1.39
date 2005.11.19.08.40.28; author rse; state Exp;
branches;
next 1.38;
commitid TyZBg7fyzIpBBlar;
1.38
date 2005.11.09.06.58.09; author tho; state Exp;
branches;
next 1.37;
commitid zI9fWLNZZ22rm39r;
1.37
date 2005.11.01.08.11.28; author rse; state Exp;
branches;
next 1.36;
commitid FLof1BDLtE7x128r;
1.36
date 2005.10.20.17.59.54; author rse; state Exp;
branches;
next 1.35;
1.35
date 2005.09.28.15.58.21; author thl; state Exp;
branches;
next 1.34;
1.34
date 2005.09.26.19.49.26; author thl; state Exp;
branches;
next 1.33;
1.33
date 2005.08.29.17.26.58; author rse; state Exp;
branches;
next 1.32;
1.32
date 2005.06.01.19.11.55; author rse; state Exp;
branches;
next 1.31;
1.31
date 2005.05.18.17.21.06; author rse; state Exp;
branches;
next 1.30;
1.30
date 2005.05.07.07.06.07; author rse; state Exp;
branches;
next 1.29;
1.29
date 2005.04.28.10.20.27; author tho; state Exp;
branches;
next 1.28;
1.28
date 2005.03.24.11.20.05; author rse; state Exp;
branches;
next 1.27;
1.27
date 2005.03.06.18.06.21; author rse; state Exp;
branches;
next 1.26;
1.26
date 2005.02.18.11.30.05; author rse; state Exp;
branches;
next 1.25;
1.25
date 2005.01.01.10.54.02; author rse; state Exp;
branches;
next 1.24;
1.24
date 2004.11.04.19.32.21; author rse; state Exp;
branches;
next 1.23;
1.23
date 2004.03.26.15.39.22; author ms; state Exp;
branches;
next 1.22;
1.22
date 2004.02.07.17.58.06; author rse; state Exp;
branches;
next 1.21;
1.21
date 2004.02.03.20.05.35; author rse; state Exp;
branches;
next 1.20;
1.20
date 2004.01.23.13.13.07; author rse; state Exp;
branches;
next 1.19;
1.19
date 2003.12.01.12.24.17; author ms; state Exp;
branches;
next 1.18;
1.18
date 2003.11.13.17.36.02; author ms; state Exp;
branches;
next 1.17;
1.17
date 2003.10.14.18.23.08; author rse; state Exp;
branches;
next 1.16;
1.16
date 2003.07.22.08.11.03; author rse; state Exp;
branches;
next 1.15;
1.15
date 2003.07.21.08.40.43; author thl; state Exp;
branches;
next 1.14;
1.14
date 2003.07.19.17.06.19; author rse; state Exp;
branches;
next 1.13;
1.13
date 2003.07.17.15.33.06; author thl; state Exp;
branches;
next 1.12;
1.12
date 2003.07.14.14.26.12; author thl; state Exp;
branches;
next 1.11;
1.11
date 2003.07.10.07.50.55; author rse; state Exp;
branches;
next 1.10;
1.10
date 2003.07.09.14.06.23; author thl; state Exp;
branches;
next 1.9;
1.9
date 2003.07.08.14.41.59; author rse; state Exp;
branches;
next 1.8;
1.8
date 2003.07.08.09.20.50; author rse; state Exp;
branches;
next 1.7;
1.7
date 2003.07.07.13.52.41; author rse; state Exp;
branches;
next 1.6;
1.6
date 2003.07.07.13.04.42; author mlelstv; state Exp;
branches;
next 1.5;
1.5
date 2003.06.28.14.57.27; author rse; state Exp;
branches;
next 1.4;
1.4
date 2003.06.28.14.09.59; author rse; state Exp;
branches;
next 1.3;
1.3
date 2003.06.24.13.28.08; author thl; state Exp;
branches;
next 1.2;
1.2
date 2003.06.23.20.52.55; author thl; state Exp;
branches;
next 1.1;
1.1
date 2003.05.30.21.18.00; author rse; state Exp;
branches;
next ;
1.61.2.1
date 2006.10.14.18.04.35; author rse; state dead;
branches;
next 1.61.2.2;
commitid iZxwRSmmWscPXUQr;
1.61.2.2
date 2006.10.16.14.55.01; author rse; state Exp;
branches;
next ;
commitid iZxwRSmmWscPXUQr;
desc
@@
1.91
log
@upgrading package: pound 2.4.4 -> 2.4.5
@
text
@##
## pound.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: pound
Summary: HTTP/HTTPS Reverse Proxy
URL: http://www.apsis.ch/pound/
Vendor: APSIS
Packager: OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class: EVAL
Group: Web
License: GPL
Version: 2.4.5
Release: 20090630
# package options
%option with_fsl yes
# list of sources
Source0: http://www.apsis.ch/pound/Pound-%{version}.tgz
Source1: pound.cfg
Source2: pound.pem
Source3: rc.pound
Source4: fsl.pound
Patch0: pound.patch
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20060823
PreReq: OpenPKG, openpkg >= 20060823
BuildPreReq: pcre, openssl, openssl::with_threads = yes
PreReq: pcre, openssl, openssl::with_threads = yes
BuildPreReq: pth, pth::with_pthread = yes
PreReq: pth, pth::with_pthread = yes
%if "%{with_fsl}" == "yes"
BuildPreReq: fsl
PreReq: fsl
%endif
AutoReq: no
AutoReqProv: no
%description
The Pound program is a reverse proxy, load balancer and HTTPS
front-end for Web server(s). Pound was developed to enable
distributing the load among several Web-servers and to allow for a
convenient SSL wrapper for those Web servers that do not offer it
natively.
%track
prog pound = {
version = %{version}
url = http://www.apsis.ch/pound/
regex = Pound-(\d+(\.\d+)+)\.tgz
}
%prep
%setup -q -n Pound-%{version}
%patch -p0
# force to use PCRE instead of vendor regex(3)
%{l_shtool} subst \
-e 's;regex\.h;pcreposix.h;' \
-e 's;HAVE_REGEX_H;HAVE_PCREPOSIX_H;' \
configure
%{l_shtool} subst \
-e 's;HAVE_REGEX_H;HAVE_PCREPOSIX_H;' \
config.h.in
%{l_shtool} subst \
-e 's;HAVE_REGEX_H;HAVE_PCREPOSIX_H;' \
-e 's;;;' \
pound.h
# adjust hard-coded paths
%{l_shtool} subst \
-e 's;/usr/local/etc/pound/pound.cfg;%{l_prefix}/etc/pound/pound.cfg;' \
-e 's;/var/run/pound.pid;%{l_prefix}/var/pound/pound.pid;' \
Makefile.in pound.8 pound.c pound.h
%build
# configure package
CC="%{l_cc}" \
CFLAGS="%{l_cflags -O} `%{l_prefix}/bin/pthread-config --all --cflags`" \
LDFLAGS="%{l_ldflags} `%{l_prefix}/bin/pthread-config --all --ldflags`" \
LIBS="`%{l_prefix}/bin/pthread-config --all --libs` %{l_fsl_libs} -lpcreposix -lpcre" \
./configure \
--prefix=%{l_prefix} \
--sysconfdir=%{l_prefix}/etc/pound \
--with-ssl=%{l_prefix}
# build package
%{l_make} %{l_mflags -O}
%install
rm -rf $RPM_BUILD_ROOT
# create installation hierarchy
%{l_shtool} mkdir -f -p -m 755 \
$RPM_BUILD_ROOT%{l_prefix}/sbin \
$RPM_BUILD_ROOT%{l_prefix}/etc/pound \
$RPM_BUILD_ROOT%{l_prefix}/etc/rc.d \
$RPM_BUILD_ROOT%{l_prefix}/man/man8 \
$RPM_BUILD_ROOT%{l_prefix}/var/pound
# install program and manual page
%{l_shtool} install -c -s -m 755 \
pound poundctl $RPM_BUILD_ROOT%{l_prefix}/sbin/
%{l_shtool} install -c -m 644 \
pound.8 poundctl.8 $RPM_BUILD_ROOT%{l_prefix}/man/man8/
# install default configuration
%{l_shtool} install -c -m 644 %{l_value -s -a} \
%{SOURCE pound.cfg} $RPM_BUILD_ROOT%{l_prefix}/etc/pound/
%{l_shtool} install -c -m 644 \
%{SOURCE pound.pem} $RPM_BUILD_ROOT%{l_prefix}/etc/pound/
# install run-command script
%{l_shtool} install -c -m 755 %{l_value -s -a} \
%{SOURCE rc.pound} $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/
# install OSSP fsl configuration
%{l_shtool} mkdir -f -p -m 755 $RPM_BUILD_ROOT%{l_prefix}/etc/fsl
%{l_shtool} install -c -m 644 %{l_value -s -a} \
%{SOURCE fsl.pound} \
$RPM_BUILD_ROOT%{l_prefix}/etc/fsl/
# determine installation files
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
%{l_files_std} \
'%config %{l_prefix}/etc/fsl/fsl.pound' \
'%config %{l_prefix}/etc/pound/*'
%files -f files
%clean
rm -rf $RPM_BUILD_ROOT
%post
# after upgrade, restart service
[ $1 -eq 2 ] || exit 0
eval `%{l_rc} pound status 2>/dev/null`
[ ".$pound_active" = .yes ] && %{l_rc} pound restart
exit 0
%preun
# before erase, stop service and remove log files
[ $1 -eq 0 ] || exit 0
%{l_rc} pound stop 2>/dev/null
rm -f $RPM_INSTALL_PREFIX/var/pound/*.log* >/dev/null 2>&1 || true
exit 0
@
1.90
log
@bump years in copyright messages
@
text
@d34 2
a35 2
Version: 2.4.4
Release: 20090115
@
1.89
log
@upgrading package: pound 2.4.3 -> 2.4.4
@
text
@d3 1
a3 1
## Copyright (c) 2000-2008 OpenPKG Foundation e.V.
@
1.88
log
@upgrading package: pound 2.4.2 -> 2.4.3
@
text
@d34 2
a35 2
Version: 2.4.3
Release: 20080531
@
1.87
log
@upgrading package: pound 2.4.1 -> 2.4.2
@
text
@d34 2
a35 2
Version: 2.4.2
Release: 20080424
@
1.86
log
@upgrading package: pound 2.4 -> 2.4.1
@
text
@d34 2
a35 2
Version: 2.4.1
Release: 20080405
@
1.85
log
@upgrading package: pound 2.3.2 -> 2.4
@
text
@d34 2
a35 2
Version: 2.4
Release: 20080211
@
1.84
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.3.2
Release: 20080101
@
1.83
log
@Drop version information of OSSP fsl dependency since it doesn't make to much sense in an CURRENT-only world. Additionally, in several cases it has been choosen quite at will without being correct.
@
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: 20071027
@
1.82
log
@remove "%not %dir" construct, allowing proper directory ownership tracking and removal when erasing last provider
@
text
@d36 1
a36 1
Release: 20070720
d59 2
a60 2
BuildPreReq: fsl >= 1.3.0
PreReq: fsl >= 1.3.0
@
1.81
log
@upgrading package: pound 2.3.1 -> 2.3.2
@
text
@d36 1
a36 1
Release: 20070518
a151 1
'%not %dir %{l_prefix}/etc/fsl' \
@
1.80
log
@track releases only
@
text
@d35 2
a36 2
Version: 2.3.1
Release: 20070430
@
1.79
log
@upgrading package: pound 2.3 -> 2.3.1
@
text
@d76 1
a76 1
regex = Pound-(__VER__)\.tgz
@
1.78
log
@upgrading package: pound 2.2.8 -> 2.3
@
text
@d35 2
a36 2
Version: 2.3
Release: 20070411
@
1.77
log
@upgrading package: pound 2.2.7 -> 2.2.8
@
text
@d35 2
a36 2
Version: 2.2.8
Release: 20070405
@
1.76
log
@upgrading package: pound 2.2.6 -> 2.2.7
@
text
@d35 2
a36 2
Version: 2.2.7
Release: 20070313
@
1.75
log
@removed obsolete 'WebDAV' directive from default config
@
text
@d35 2
a36 2
Version: 2.2.6
Release: 20070307
@
1.74
log
@upgrading package: pound 2.2.5 -> 2.2.6
@
text
@d36 1
a36 1
Release: 20070302
@
1.73
log
@upgrading package: pound 2.2.4 -> 2.2.5
@
text
@d35 2
a36 2
Version: 2.2.5
Release: 20070220
@
1.72
log
@upgrading package: pound 2.2.3 -> 2.2.4
@
text
@d35 2
a36 2
Version: 2.2.4
Release: 20070211
@
1.71
log
@upgrading package: pound 2.2.2 -> 2.2.3
@
text
@d35 2
a36 2
Version: 2.2.3
Release: 20070120
@
1.70
log
@upgrading package: pound 2.2.1 -> 2.2.2
@
text
@d35 2
a36 2
Version: 2.2.2
Release: 20070116
@
1.69
log
@upgrading package: pound 2.2 -> 2.2.1
@
text
@d35 2
a36 2
Version: 2.2.1
Release: 20070104
@
1.68
log
@Welcome Year 2007!
@
text
@d35 2
a36 2
Version: 2.2
Release: 20061216
@
1.67
log
@upgrading package: pound 2.1.8 -> 2.2
@
text
@d3 2
a4 2
## Copyright (c) 2000-2006 OpenPKG Foundation e.V.
## Copyright (c) 2000-2006 Ralf S. Engelschall
@
1.66
log
@upgrading package: pound 2.1.7 -> 2.1.8
@
text
@d35 2
a36 2
Version: 2.1.8
Release: 20061210
@
1.65
log
@upgrading package: pound 2.1.6 -> 2.1.7
@
text
@d35 2
a36 2
Version: 2.1.7
Release: 20061207
@
1.64
log
@upgrading package: pound 2.1.5 -> 2.1.6
@
text
@d35 2
a36 2
Version: 2.1.6
Release: 20061105
@
1.63
log
@install new poundctl(8) now, too
@
text
@d35 2
a36 2
Version: 2.1.5
Release: 20061028
@
1.62
log
@upgrading package: pound 2.1.4 -> 2.1.5
@
text
@d129 1
a129 1
pound $RPM_BUILD_ROOT%{l_prefix}/sbin/
d131 1
a131 1
pound.8 $RPM_BUILD_ROOT%{l_prefix}/man/man8/
@
1.61
log
@upgrading package: pound 2.1.3 -> 2.1.4
@
text
@d35 2
a36 2
Version: 2.1.4
Release: 20061014
@
1.61.2.1
log
@file pound.spec was added on branch OPENPKG_2_STABLE on 2006-10-16 14:55:01 +0000
@
text
@d1 174
@
1.61.2.2
log
@Mass merge from CURRENT to 2-STABLE (all packages except those of JUNK class)
@
text
@a0 174
##
## pound.spec -- OpenPKG RPM Package Specification
## Copyright (c) 2000-2006 OpenPKG Foundation e.V.
## Copyright (c) 2000-2006 Ralf S. Engelschall
##
## 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: pound
Summary: HTTP/HTTPS Reverse Proxy
URL: http://www.apsis.ch/pound/
Vendor: APSIS
Packager: OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class: EVAL
Group: Web
License: GPL
Version: 2.1.4
Release: 2.20061018
# package options
%option with_fsl yes
# list of sources
Source0: http://www.apsis.ch/pound/Pound-%{version}.tgz
Source1: pound.cfg
Source2: pound.pem
Source3: rc.pound
Source4: fsl.pound
Patch0: pound.patch
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 2.20061018
PreReq: OpenPKG, openpkg >= 2.20061018
BuildPreReq: pcre, openssl, openssl::with_threads = yes
PreReq: pcre, openssl, openssl::with_threads = yes
BuildPreReq: pth, pth::with_pthread = yes
PreReq: pth, pth::with_pthread = yes
%if "%{with_fsl}" == "yes"
BuildPreReq: fsl >= 1.3.0
PreReq: fsl >= 1.3.0
%endif
AutoReq: no
AutoReqProv: no
%description
The Pound program is a reverse proxy, load balancer and HTTPS
front-end for Web server(s). Pound was developed to enable
distributing the load among several Web-servers and to allow for a
convenient SSL wrapper for those Web servers that do not offer it
natively.
%track
prog pound = {
version = %{version}
url = http://www.apsis.ch/pound/
regex = Pound-(__VER__)\.tgz
}
%prep
%setup -q -n Pound-%{version}
%patch -p0
# force to use PCRE instead of vendor regex(3)
%{l_shtool} subst \
-e 's;regex\.h;pcreposix.h;' \
-e 's;HAVE_REGEX_H;HAVE_PCREPOSIX_H;' \
configure
%{l_shtool} subst \
-e 's;HAVE_REGEX_H;HAVE_PCREPOSIX_H;' \
config.h.in
%{l_shtool} subst \
-e 's;HAVE_REGEX_H;HAVE_PCREPOSIX_H;' \
-e 's;;;' \
pound.h
# adjust hard-coded paths
%{l_shtool} subst \
-e 's;/usr/local/etc/pound/pound.cfg;%{l_prefix}/etc/pound/pound.cfg;' \
-e 's;/var/run/pound.pid;%{l_prefix}/var/pound/pound.pid;' \
Makefile.in pound.8 pound.c pound.h
%build
# configure package
CC="%{l_cc}" \
CFLAGS="%{l_cflags -O} `%{l_prefix}/bin/pthread-config --all --cflags`" \
LDFLAGS="%{l_ldflags} `%{l_prefix}/bin/pthread-config --all --ldflags`" \
LIBS="`%{l_prefix}/bin/pthread-config --all --libs` %{l_fsl_libs} -lpcreposix -lpcre" \
./configure \
--prefix=%{l_prefix} \
--sysconfdir=%{l_prefix}/etc/pound \
--with-ssl=%{l_prefix}
# build package
%{l_make} %{l_mflags -O}
%install
rm -rf $RPM_BUILD_ROOT
# create installation hierarchy
%{l_shtool} mkdir -f -p -m 755 \
$RPM_BUILD_ROOT%{l_prefix}/sbin \
$RPM_BUILD_ROOT%{l_prefix}/etc/pound \
$RPM_BUILD_ROOT%{l_prefix}/etc/rc.d \
$RPM_BUILD_ROOT%{l_prefix}/man/man8 \
$RPM_BUILD_ROOT%{l_prefix}/var/pound
# install program and manual page
%{l_shtool} install -c -s -m 755 \
pound $RPM_BUILD_ROOT%{l_prefix}/sbin/
%{l_shtool} install -c -m 644 \
pound.8 $RPM_BUILD_ROOT%{l_prefix}/man/man8/
# install default configuration
%{l_shtool} install -c -m 644 %{l_value -s -a} \
%{SOURCE pound.cfg} $RPM_BUILD_ROOT%{l_prefix}/etc/pound/
%{l_shtool} install -c -m 644 \
%{SOURCE pound.pem} $RPM_BUILD_ROOT%{l_prefix}/etc/pound/
# install run-command script
%{l_shtool} install -c -m 755 %{l_value -s -a} \
%{SOURCE rc.pound} $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/
# install OSSP fsl configuration
%{l_shtool} mkdir -f -p -m 755 $RPM_BUILD_ROOT%{l_prefix}/etc/fsl
%{l_shtool} install -c -m 644 %{l_value -s -a} \
%{SOURCE fsl.pound} \
$RPM_BUILD_ROOT%{l_prefix}/etc/fsl/
# determine installation files
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
%{l_files_std} \
'%not %dir %{l_prefix}/etc/fsl' \
'%config %{l_prefix}/etc/fsl/fsl.pound' \
'%config %{l_prefix}/etc/pound/*'
%files -f files
%clean
rm -rf $RPM_BUILD_ROOT
%post
# after upgrade, restart service
[ $1 -eq 2 ] || exit 0
eval `%{l_rc} pound status 2>/dev/null`
[ ".$pound_active" = .yes ] && %{l_rc} pound restart
exit 0
%preun
# before erase, stop service and remove log files
[ $1 -eq 0 ] || exit 0
%{l_rc} pound stop 2>/dev/null
rm -f $RPM_INSTALL_PREFIX/var/pound/*.log* >/dev/null 2>&1 || true
exit 0
@
1.60
log
@new world order for "Packager" and "Distribution" headers
@
text
@d35 2
a36 2
Version: 2.1.3
Release: 20061013
@
1.59
log
@upgrading package: pound 2.1.2 -> 2.1.3
@
text
@d30 2
a31 2
Packager: OpenPKG
Distribution: OpenPKG
d36 1
a36 1
Release: 20060922
@
1.58
log
@upgrading package: pound 2.1.1 -> 2.1.2
@
text
@d35 2
a36 2
Version: 2.1.2
Release: 20060919
@
1.57
log
@upgrading package: pound 2.1 -> 2.1.1
@
text
@d35 2
a36 2
Version: 2.1.1
Release: 20060912
@
1.56
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
@d35 2
a36 2
Version: 2.1
Release: 20060825
@
1.55
log
@upgrading package: pound 2.0.9 -> 2.1
@
text
@d36 1
a36 1
Release: 20060806
d52 2
a53 2
BuildPreReq: OpenPKG, openpkg >= 20040130
PreReq: OpenPKG, openpkg >= 20040130
@
1.54
log
@upgrading package: pound 2.0.8 -> 2.0.9
@
text
@d35 2
a36 2
Version: 2.0.9
Release: 20060624
@
1.53
log
@upgrading package: pound 2.0.7 -> 2.0.8
@
text
@d35 2
a36 2
Version: 2.0.8
Release: 20060619
@
1.52
log
@upgrading package: pound 2.0.6 -> 2.0.7
@
text
@d35 2
a36 2
Version: 2.0.7
Release: 20060605
@
1.51
log
@upgrading package: pound 2.0.5 -> 2.0.6
@
text
@d35 2
a36 2
Version: 2.0.6
Release: 20060522
@
1.50
log
@pound.pid is defined in pound.h - make rc start/stop/restart work again. Submitted by
@
text
@d35 2
a36 2
Version: 2.0.5
Release: 20060515
@
1.49
log
@upgrading package: pound 2.0.4 -> 2.0.5
@
text
@d36 1
a36 1
Release: 20060514
d100 1
a100 1
Makefile.in pound.8 pound.c
@
1.48
log
@Updating default pound.cfg to actually work with the packaged version. Submitted by
@
text
@d35 2
a36 2
Version: 2.0.4
Release: 20060513
@
1.47
log
@upgrading package: pound 2.0.3 -> 2.0.4
@
text
@d36 1
a36 1
Release: 20060320
@
1.46
log
@upgrading package: pound 2.0.2 -> 2.0.3
@
text
@d35 2
a36 2
Version: 2.0.3
Release: 20060315
@
1.45
log
@upgrading package: pound 2.0.1 -> 2.0.2
@
text
@d35 2
a36 2
Version: 2.0.2
Release: 20060221
@
1.44
log
@upgrading package: pound 2.0b6 -> 2.0.1
@
text
@d35 2
a36 2
Version: 2.0.1
Release: 20060206
@
1.43
log
@upgrading package: pound 2.0b5 -> 2.0b6
@
text
@d35 2
a36 2
Version: 2.0b6
Release: 20060105
@
1.42
log
@adjust copyrights for new year 2006
@
text
@d35 2
a36 2
Version: 2.0b5
Release: 20051224
@
1.41
log
@upgrading package: pound 2.0b4 -> 2.0b5
@
text
@d3 2
a4 2
## Copyright (c) 2000-2005 OpenPKG Foundation e.V.
## Copyright (c) 2000-2005 Ralf S. Engelschall
@
1.40
log
@upgrading package: pound 2.0b3 -> 2.0b4
@
text
@d35 2
a36 2
Version: 2.0b4
Release: 20051208
@
1.39
log
@upgrading package: pound 2.0b2 -> 2.0b3
@
text
@d35 2
a36 2
Version: 2.0b3
Release: 20051119
@
1.38
log
@upgrading package: pound 2.0b1 -> 2.0b2
@
text
@d35 2
a36 2
Version: 2.0b2
Release: 20051109
@
1.37
log
@upgrading package: pound 1.9.4 -> 2.0b1
@
text
@d35 2
a36 2
Version: 2.0b1
Release: 20051101
@
1.36
log
@upgrading package: pound 1.9.3 -> 1.9.4
@
text
@d35 2
a36 2
Version: 1.9.4
Release: 20051020
@
1.35
log
@upgrading package: pound 1.9.2 -> 1.9.3
@
text
@d35 2
a36 2
Version: 1.9.3
Release: 20050928
@
1.34
log
@upgrading package: pound 1.9.1 -> 1.9.2
@
text
@d35 2
a36 2
Version: 1.9.2
Release: 20050926
d47 1
d81 1
@
1.33
log
@upgrading package: pound 1.9 -> 1.9.1
@
text
@d35 2
a36 2
Version: 1.9.1
Release: 20050829
@
1.32
log
@upgrading package: pound 1.8.5 -> 1.9
@
text
@d35 2
a36 2
Version: 1.9
Release: 20050601
@
1.31
log
@upgrading package: pound 1.8.4 -> 1.8.5
@
text
@d35 2
a36 2
Version: 1.8.5
Release: 20050518
@
1.30
log
@upgrading package: pound 1.8.3 -> 1.8.4
@
text
@d35 2
a36 2
Version: 1.8.4
Release: 20050507
@
1.29
log
@upgrading package: pound 1.8.2 -> 1.8.3
@
text
@d35 2
a36 2
Version: 1.8.3
Release: 20050428
@
1.28
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: 1.8.2
Release: 20050306
@
1.27
log
@upgrading package: pound 1.8.1 -> 1.8.2
@
text
@d2 3
a4 4
## pound.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.26
log
@upgrading package: pound 1.8 -> 1.8.1
@
text
@d36 2
a37 2
Version: 1.8.1
Release: 20050218
@
1.25
log
@Happy New Year 2005
@
text
@d36 2
a37 2
Version: 1.8
Release: 20041104
@
1.24
log
@upgrading package: pound 1.7 -> 1.8
@
text
@d3 3
a5 3
## Copyright (c) 2000-2004 The OpenPKG Project
## Copyright (c) 2000-2004 Ralf S. Engelschall
## Copyright (c) 2000-2004 Cable & Wireless
@
1.23
log
@upgrading package: pound 1.6 -> 1.7
@
text
@d36 2
a37 2
Version: 1.7
Release: 20040326
@
1.22
log
@Mass Commit:
reduce redundancy within .spec files by referencing
macros defining vendor source versions whenever possible.
This was half-way automated and half-way manually edited.
As a result the PMOD activity in 95% of all cases
just means editing the version in one single place, only.
@
text
@d36 2
a37 2
Version: 1.6
Release: 20040207
@
1.21
log
@Mass-Commit:
- split "Distribution" header into "Distribution" (old) and "Class"
(new) headers by moving the attached class information.
- embed the vendor version tracking configuration through the
new "%track" section.
- bump up the OpenPKG bootstrap dependency, because the "Class" header
and "%track" section are only supported by our latest bootstrap version.
@
text
@d37 1
a37 1
Release: 20040203
d74 1
a74 1
version = 1.6
@
1.20
log
@bump year in copyright messages to cover new year 2004. This is a CVS only commit -- no packages were rolled intentionally
@
text
@d32 2
a33 1
Distribution: OpenPKG [EVAL]
d37 1
a37 1
Release: 20031201
d52 2
a53 2
BuildPreReq: OpenPKG, openpkg >= 20030718
PreReq: OpenPKG, openpkg >= 20030718
d71 7
@
1.19
log
@upgrading package: pound 1.5 -> 1.6
@
text
@d3 3
a5 3
## Copyright (c) 2000-2003 The OpenPKG Project
## Copyright (c) 2000-2003 Ralf S. Engelschall
## Copyright (c) 2000-2003 Cable & Wireless
@
1.18
log
@Implement PR #202
@
text
@d35 2
a36 2
Version: 1.5
Release: 20031113
@
1.17
log
@upgrading package: pound 1.4 -> 1.5
@
text
@d36 1
a36 1
Release: 20031014
d58 2
a59 2
BuildPreReq: fsl >= 1.2.0
PreReq: fsl >= 1.2.0
d151 14
@
1.16
log
@cleanup the priority: move 200 to 500 and because 500 is default just ommit it; fix DNS/NTP/etc. dependencies
@
text
@d35 2
a36 2
Version: 1.4
Release: 20030722
@
1.15
log
@PR#210: shtool options space before argument
@
text
@d36 1
a36 1
Release: 20030721
@
1.14
log
@replace opXXXX with rcXXXX (PR#207)
@
text
@d36 1
a36 1
Release: 20030719
@
1.13
log
@fix PR#204, use new %{l_value -s ...}
@
text
@d36 1
a36 1
Release: 20030717
d51 2
a52 2
BuildPreReq: OpenPKG, openpkg >= 20030717
PreReq: OpenPKG, openpkg >= 20030717
@
1.12
log
@fix PR#182 append option for l2_channel_file now default and deprecated in fsl >= 1.2.0
@
text
@d36 1
a36 1
Release: 20030714
d51 2
a52 2
BuildPreReq: OpenPKG, openpkg >= 20030710
PreReq: OpenPKG, openpkg >= 20030710
d125 1
a125 4
%{l_shtool} install -c -m 644 \
-e 's;@@l_prefix@@;%{l_prefix};g' \
-e 's;@@l_nusr@@;%{l_nusr};g' \
-e 's;@@l_ngrp@@;%{l_ngrp};g' \
d131 1
a131 5
%{l_shtool} install -c -m 755 \
-e 's;@@l_prefix@@;%{l_prefix};g' \
-e 's;@@l_susr@@;%{l_susr};g' \
-e 's;@@l_rusr@@;%{l_rusr};g' \
-e 's;@@l_rgrp@@;%{l_rgrp};g' \
d136 1
a136 2
%{l_shtool} install -c -m 644 \
-e 's;@@l_prefix@@;%{l_prefix};g' \
@
1.11
log
@use new openpkg_rc_def variable in run-command scripts for allowing the admin to change the global default for xxx_enable
@
text
@d36 1
a36 1
Release: 20030710
d58 2
a59 2
BuildPreReq: fsl
PreReq: fsl
@
1.10
log
@rclint police: fix badly prefixed variable, opServiceEnabled, exit not allowed here
@
text
@d36 1
a36 1
Release: 20030709
d51 2
a52 2
BuildPreReq: OpenPKG, openpkg >= 20030415
PreReq: OpenPKG, openpkg >= 20030415
@
1.9
log
@cleanup copyright part by using just the main company name of Cable & Wireless and adding the URL to the global website
@
text
@d36 1
a36 1
Release: 20030708
@
1.8
log
@various style cleanups and adjustments
@
text
@a2 1
## Copyright (c) 2000-2003 Cable & Wireless Deutschland GmbH
d5 1
@
1.7
log
@remove now officially deprecated usage of %{name} macro
@
text
@d36 1
a36 1
Release: 20030707
d141 1
a141 1
# OSSP fake syslog library
@
1.6
log
@add libraries to PreReq
@
text
@d145 1
a145 1
%{SOURCE fsl.%{name}} \
d152 1
a152 1
'%config %{l_prefix}/etc/fsl/fsl.%{name}' \
@
1.5
log
@resurrect installation of rc.pound which was accidently removed
@
text
@d36 1
a36 1
Release: 20030628
d51 1
a51 1
BuildPreReq: OpenPKG, openpkg >= 20030415, openssl, openssl::with_threads = yes, pth, pth::with_pthread = yes, pcre
d53 4
@
1.4
log
@fix introduced logfile path
@
text
@d129 8
@
1.3
log
@add/unify log file trimming
@
text
@d36 1
a36 1
Release: 20030624
@
1.2
log
@make fsl optional with default yes, as promised for the next release
@
text
@d36 1
a36 1
Release: 20030623
@
1.1
log
@new package: pound 1.4 (HTTP/HTTPS Reverse Proxy)
@
text
@d36 4
a39 1
Release: 20030530
d51 6
a56 2
BuildPreReq: OpenPKG, openpkg >= 20020206, fsl, openssl, openssl::with_threads = yes, pth, pth::with_pthread = yes, pcre
PreReq: OpenPKG, openpkg >= 20020206, fsl
d94 1
a94 1
LIBS="`%{l_prefix}/bin/pthread-config --all --libs` `%{l_prefix}/bin/fsl-config --all --libs` -lpcreposix -lpcre" \
a108 1
$RPM_BUILD_ROOT%{l_prefix}/etc/fsl \
d129 2
a130 4
# install run-command and fsl configuration
%{l_shtool} install -c -m 644 \
-e 's;@@l_prefix@@;%{l_prefix};g' \
%{SOURCE rc.pound} $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/
d133 2
a134 1
%{SOURCE fsl.pound} $RPM_BUILD_ROOT%{l_prefix}/etc/fsl/
d139 2
@