head 1.49;
access;
symbols
OPENPKG_E1_MP_HEAD:1.46
OPENPKG_E1_MP:1.46
OPENPKG_E1_MP_2_STABLE:1.45.2.2
OPENPKG_E1_FP:1.45.2.2
OPENPKG_2_STABLE_MP:1.45
OPENPKG_2_STABLE_20061018:1.45.2.2
OPENPKG_2_STABLE:1.45.0.2
OPENPKG_CW_FP:1.39
OPENPKG_1_STABLE_MP:1.36
OPENPKG_0_0:1.1.1.1
OPENPKG:1.1.1;
locks; strict;
comment @-- @;
1.49
date 2009.04.18.13.11.29; author rse; state Exp;
branches;
next 1.48;
commitid 4pHXU27WTIGCZuKt;
1.48
date 2008.01.01.14.56.08; author rse; state Exp;
branches;
next 1.47;
commitid B8esaHJHoduuKILs;
1.47
date 2007.04.18.21.46.00; author thl; state Exp;
branches;
next 1.46;
commitid WyQKNMwmoITBoBes;
1.46
date 2007.01.01.17.38.52; author rse; state Exp;
branches;
next 1.45;
commitid BicZD6VUl7GuqP0s;
1.45
date 2006.10.13.17.29.07; author thl; state Exp;
branches
1.45.2.1;
next 1.44;
commitid q5GSxzsSDX29XxQr;
1.44
date 2006.09.23.12.13.02; author rse; state Exp;
branches;
next 1.43;
commitid S7LN19SwnMeISWNr;
1.43
date 2006.08.21.13.16.37; author rse; state Exp;
branches;
next 1.42;
commitid wtigUMurY6KhiIJr;
1.42
date 2006.01.01.13.15.00; author rse; state Exp;
branches;
next 1.41;
commitid otZG8yKMCw1JFTfr;
1.41
date 2005.06.15.14.01.12; author thl; state Exp;
branches;
next 1.40;
1.40
date 2005.03.24.11.19.09; author rse; state Exp;
branches;
next 1.39;
1.39
date 2005.01.01.10.50.50; author rse; state Exp;
branches;
next 1.38;
1.38
date 2004.02.03.20.02.49; author rse; state Exp;
branches;
next 1.37;
1.37
date 2004.01.23.13.10.02; author rse; state Exp;
branches;
next 1.36;
1.36
date 2003.07.23.13.32.00; author rse; state Exp;
branches;
next 1.35;
1.35
date 2003.07.22.12.32.08; author rse; state Exp;
branches;
next 1.34;
1.34
date 2003.07.21.09.56.55; author thl; state Exp;
branches;
next 1.33;
1.33
date 2003.07.17.18.29.53; author thl; state Exp;
branches;
next 1.32;
1.32
date 2003.07.09.14.59.36; author thl; state Exp;
branches;
next 1.31;
1.31
date 2003.07.08.14.40.17; author rse; state Exp;
branches;
next 1.30;
1.30
date 2003.07.07.10.31.12; author mlelstv; state Exp;
branches;
next 1.29;
1.29
date 2003.04.08.15.14.31; author rse; state Exp;
branches;
next 1.28;
1.28
date 2003.01.03.10.52.46; author rse; state Exp;
branches;
next 1.27;
1.27
date 2002.12.30.22.04.37; author rse; state Exp;
branches;
next 1.26;
1.26
date 2002.12.30.21.04.54; author rse; state Exp;
branches;
next 1.25;
1.25
date 2002.12.20.19.31.44; author rse; state Exp;
branches;
next 1.24;
1.24
date 2002.08.13.12.48.30; author rse; state Exp;
branches;
next 1.23;
1.23
date 2002.06.25.11.32.10; author rse; state Exp;
branches;
next 1.22;
1.22
date 2002.05.29.20.00.53; author rse; state Exp;
branches;
next 1.21;
1.21
date 2002.04.25.11.47.36; author rse; state Exp;
branches;
next 1.20;
1.20
date 2002.03.08.13.09.03; author rse; state Exp;
branches;
next 1.19;
1.19
date 2002.02.08.10.49.39; author rse; state Exp;
branches;
next 1.18;
1.18
date 2002.02.07.14.20.59; author rse; state Exp;
branches;
next 1.17;
1.17
date 2001.12.31.14.59.41; author rse; state Exp;
branches;
next 1.16;
1.16
date 2001.12.27.14.59.51; author rse; state Exp;
branches;
next 1.15;
1.15
date 2001.11.30.22.21.09; author rse; state Exp;
branches;
next 1.14;
1.14
date 2001.11.30.17.14.51; author rse; state Exp;
branches;
next 1.13;
1.13
date 2001.11.30.14.27.04; author rse; state Exp;
branches;
next 1.12;
1.12
date 2001.11.28.12.17.22; author rse; state Exp;
branches;
next 1.11;
1.11
date 2001.11.27.16.47.48; author rse; state Exp;
branches;
next 1.10;
1.10
date 2001.11.26.16.33.30; author rse; state Exp;
branches;
next 1.9;
1.9
date 2001.11.26.15.19.25; author rse; state Exp;
branches;
next 1.8;
1.8
date 2001.11.21.09.21.03; author rse; state Exp;
branches;
next 1.7;
1.7
date 2001.11.14.19.53.33; author rse; state Exp;
branches;
next 1.6;
1.6
date 2001.10.25.09.22.59; author rse; state Exp;
branches;
next 1.5;
1.5
date 2001.10.24.18.15.45; author rse; state Exp;
branches;
next 1.4;
1.4
date 2001.10.23.11.23.21; author rse; state Exp;
branches;
next 1.3;
1.3
date 2001.09.25.08.19.54; author rse; state Exp;
branches;
next 1.2;
1.2
date 2001.09.20.11.02.25; author rse; state Exp;
branches;
next 1.1;
1.1
date 2001.09.18.09.48.29; author rse; state Exp;
branches
1.1.1.1;
next ;
1.45.2.1
date 2006.10.13.17.29.07; author rse; state dead;
branches;
next 1.45.2.2;
commitid iZxwRSmmWscPXUQr;
1.45.2.2
date 2006.10.16.14.51.27; author rse; state Exp;
branches;
next ;
commitid iZxwRSmmWscPXUQr;
1.1.1.1
date 2001.09.18.09.48.29; author rse; state Exp;
branches;
next ;
desc
@@
1.49
log
@bump years in copyright messages
@
text
@##
## jitterbug.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: jitterbug
Summary: Bug Tracking System (OSSP Version)
URL: http://jitterbug.samba.org/
Vendor: Andrew Tridgell
Packager: OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class: EVAL
Group: Ticketing
License: GPL
Version: 1.6.2.3
Release: 20080101
# list of sources
Source0: ftp://ftp.openpkg.org/sources/DST/jitterbug/ossp-jitterbug-%{version}.tar.gz
Source1: config.tar
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20050615
PreReq: OpenPKG, openpkg >= 20050615, MTA, apache, gzip
BuildPreReq: zlib
PreReq: zlib
AutoReq: no
AutoReqProv: no
%description
JitterBug is a web based bug tracking system. It was originally
developed by the Andrew Tridgell to handle bug tracking, problem
reports and queries from Samba users.
%track
prog jitterbug = {
version = %{version}
url = ftp://ftp.openpkg.org/sources/DST/jitterbug/
regex = ossp-jitterbug-(__VER__)\.tar\.gz
}
%prep
%setup -q -n ossp-jitterbug-%{version}
cp %{l_shtool} .
%build
CC="%{l_cc}" \
CFLAGS="%{l_cflags -O} %{l_cppflags}" \
LDFLAGS="%{l_ldflags}" \
./configure \
--prefix=%{l_prefix} \
--sysconfdir=%{l_prefix}/etc/jitterbug
%{l_shtool} subst \
-e 's;^\(LIBS *=.*\)$;\1 %{l_ldflags} -lz;' \
Makefile
%{l_make} %{l_mflags -O}
%install
rm -rf $RPM_BUILD_ROOT
%{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT
strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
%{l_tar} xvf %{SOURCE config.tar}
( cd config
l_hostname=`%{l_shtool} echo -e %h`
l_domainname=`%{l_shtool} echo -e %d | cut -c2-`
%{l_shtool} subst -v %{l_value -s -a} \
-e "s;@@l_hostname@@;$l_hostname;g" \
-e "s;@@l_domainname@@;$l_domainname;g" \
`find . -type f -print`
rm -rf */*.orig */.[a-z]*.orig >/dev/null 2>&1 || true
%{l_shtool} mkdir -f -p -m 755 \
$RPM_BUILD_ROOT%{l_prefix}/etc/jitterbug
%{l_shtool} mkdir -f -p -m 755 \
$RPM_BUILD_ROOT%{l_prefix}/var/jitterbug/bugdb
%{l_shtool} install -c -m - etc/* \
$RPM_BUILD_ROOT%{l_prefix}/etc/jitterbug/
cp -rp var/* var/.[a-z]* \
$RPM_BUILD_ROOT%{l_prefix}/var/jitterbug/bugdb/
) || exit $?
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
%{l_files_std} \
'%config %{l_prefix}/etc/jitterbug/*' \
'%attr(04755,%{l_susr},%{l_mgrp}) %{l_prefix}/bin/jitterbug-*'
%files -f files
%clean
rm -rf $RPM_BUILD_ROOT
%post
if [ ".$1" = .1 ]; then
# add hook into MTA configuration
aliases_file=`$RPM_INSTALL_PREFIX/bin/openpkg rc --query MTA_aliases_file`
update_command=`$RPM_INSTALL_PREFIX/bin/openpkg rc --query MTA_aliases_update`
if [ ".$aliases_file" != . ]; then
( echo "bugdb: \"|$RPM_INSTALL_PREFIX/bin/jitterbug-mail bugdb-guest\""
echo "owner-bugdb: postmaster"
) |\
$RPM_INSTALL_PREFIX/lib/openpkg/rpmtool config \
-a -i "$RPM_INSTALL_PREFIX:jitterbug" $aliases_file
if [ ".$update_command" != . ]; then
eval $update_command
fi
fi
# add hook into Apache configuration
apacheconf="$RPM_INSTALL_PREFIX/etc/apache/apache.conf"
if [ -f $apacheconf ]; then
( echo "Alias /bugdb $RPM_INSTALL_PREFIX/var/jitterbug/bugdb"
echo ""
echo " AllowOverride all"
echo ""
) |\
$RPM_INSTALL_PREFIX/lib/openpkg/rpmtool config \
-a -i "$RPM_INSTALL_PREFIX:jitterbug" $apacheconf
fi
fi
%postun
if [ ".$1" = .0 ]; then
# remove hook from MTA configuration
aliases_file=`$RPM_INSTALL_PREFIX/bin/openpkg rc --query MTA_aliases_file`
update_command=`$RPM_INSTALL_PREFIX/bin/openpkg rc --query MTA_aliases_update`
if [ ".$aliases_file" != . ]; then
$RPM_INSTALL_PREFIX/lib/openpkg/rpmtool config \
-r -i "$RPM_INSTALL_PREFIX:jitterbug" $aliases_file
if [ ".$update_command" != . ]; then
eval $update_command
fi
fi
# remove hook from Apache configuration
apacheconf="$RPM_INSTALL_PREFIX/etc/apache/apache.conf"
if [ -f $apacheconf ]; then
$RPM_INSTALL_PREFIX/lib/openpkg/rpmtool config \
-r -i "$RPM_INSTALL_PREFIX:jitterbug" $apacheconf
fi
fi
@
1.48
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.
@
1.47
log
@get rid of direct /etc/rc call and replace them with openpkg
@
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: 20070418
@
1.46
log
@Welcome Year 2007!
@
text
@d36 1
a36 1
Release: 20061013
d115 2
a116 2
aliases_file=`$RPM_INSTALL_PREFIX/etc/rc --query MTA_aliases_file`
update_command=`$RPM_INSTALL_PREFIX/etc/rc --query MTA_aliases_update`
d143 2
a144 2
aliases_file=`$RPM_INSTALL_PREFIX/etc/rc --query MTA_aliases_file`
update_command=`$RPM_INSTALL_PREFIX/etc/rc --query MTA_aliases_update`
@
1.45
log
@new world order for "Packager" and "Distribution" headers
@
text
@d3 2
a4 2
## Copyright (c) 2000-2006 OpenPKG Foundation e.V.
## Copyright (c) 2000-2006 Ralf S. Engelschall
@
1.45.2.1
log
@file jitterbug.spec was added on branch OPENPKG_2_STABLE on 2006-10-16 14:51:27 +0000
@
text
@d1 159
@
1.45.2.2
log
@Mass merge from CURRENT to 2-STABLE (all packages except those of JUNK class)
@
text
@a0 159
##
## jitterbug.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: jitterbug
Summary: Bug Tracking System (OSSP Version)
URL: http://jitterbug.samba.org/
Vendor: Andrew Tridgell
Packager: OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class: EVAL
Group: Ticketing
License: GPL
Version: 1.6.2.3
Release: 2.20061018
# list of sources
Source0: ftp://ftp.openpkg.org/sources/DST/jitterbug/ossp-jitterbug-%{version}.tar.gz
Source1: config.tar
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 2.20061018
PreReq: OpenPKG, openpkg >= 2.20061018, MTA, apache, gzip
BuildPreReq: zlib
PreReq: zlib
AutoReq: no
AutoReqProv: no
%description
JitterBug is a web based bug tracking system. It was originally
developed by the Andrew Tridgell to handle bug tracking, problem
reports and queries from Samba users.
%track
prog jitterbug = {
version = %{version}
url = ftp://ftp.openpkg.org/sources/DST/jitterbug/
regex = ossp-jitterbug-(__VER__)\.tar\.gz
}
%prep
%setup -q -n ossp-jitterbug-%{version}
cp %{l_shtool} .
%build
CC="%{l_cc}" \
CFLAGS="%{l_cflags -O} %{l_cppflags}" \
LDFLAGS="%{l_ldflags}" \
./configure \
--prefix=%{l_prefix} \
--sysconfdir=%{l_prefix}/etc/jitterbug
%{l_shtool} subst \
-e 's;^\(LIBS *=.*\)$;\1 %{l_ldflags} -lz;' \
Makefile
%{l_make} %{l_mflags -O}
%install
rm -rf $RPM_BUILD_ROOT
%{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT
strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
%{l_tar} xvf %{SOURCE config.tar}
( cd config
l_hostname=`%{l_shtool} echo -e %h`
l_domainname=`%{l_shtool} echo -e %d | cut -c2-`
%{l_shtool} subst -v %{l_value -s -a} \
-e "s;@@l_hostname@@;$l_hostname;g" \
-e "s;@@l_domainname@@;$l_domainname;g" \
`find . -type f -print`
rm -rf */*.orig */.[a-z]*.orig >/dev/null 2>&1 || true
%{l_shtool} mkdir -f -p -m 755 \
$RPM_BUILD_ROOT%{l_prefix}/etc/jitterbug
%{l_shtool} mkdir -f -p -m 755 \
$RPM_BUILD_ROOT%{l_prefix}/var/jitterbug/bugdb
%{l_shtool} install -c -m - etc/* \
$RPM_BUILD_ROOT%{l_prefix}/etc/jitterbug/
cp -rp var/* var/.[a-z]* \
$RPM_BUILD_ROOT%{l_prefix}/var/jitterbug/bugdb/
) || exit $?
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
%{l_files_std} \
'%config %{l_prefix}/etc/jitterbug/*' \
'%attr(04755,%{l_susr},%{l_mgrp}) %{l_prefix}/bin/jitterbug-*'
%files -f files
%clean
rm -rf $RPM_BUILD_ROOT
%post
if [ ".$1" = .1 ]; then
# add hook into MTA configuration
aliases_file=`$RPM_INSTALL_PREFIX/etc/rc --query MTA_aliases_file`
update_command=`$RPM_INSTALL_PREFIX/etc/rc --query MTA_aliases_update`
if [ ".$aliases_file" != . ]; then
( echo "bugdb: \"|$RPM_INSTALL_PREFIX/bin/jitterbug-mail bugdb-guest\""
echo "owner-bugdb: postmaster"
) |\
$RPM_INSTALL_PREFIX/lib/openpkg/rpmtool config \
-a -i "$RPM_INSTALL_PREFIX:jitterbug" $aliases_file
if [ ".$update_command" != . ]; then
eval $update_command
fi
fi
# add hook into Apache configuration
apacheconf="$RPM_INSTALL_PREFIX/etc/apache/apache.conf"
if [ -f $apacheconf ]; then
( echo "Alias /bugdb $RPM_INSTALL_PREFIX/var/jitterbug/bugdb"
echo ""
echo " AllowOverride all"
echo ""
) |\
$RPM_INSTALL_PREFIX/lib/openpkg/rpmtool config \
-a -i "$RPM_INSTALL_PREFIX:jitterbug" $apacheconf
fi
fi
%postun
if [ ".$1" = .0 ]; then
# remove hook from MTA configuration
aliases_file=`$RPM_INSTALL_PREFIX/etc/rc --query MTA_aliases_file`
update_command=`$RPM_INSTALL_PREFIX/etc/rc --query MTA_aliases_update`
if [ ".$aliases_file" != . ]; then
$RPM_INSTALL_PREFIX/lib/openpkg/rpmtool config \
-r -i "$RPM_INSTALL_PREFIX:jitterbug" $aliases_file
if [ ".$update_command" != . ]; then
eval $update_command
fi
fi
# remove hook from Apache configuration
apacheconf="$RPM_INSTALL_PREFIX/etc/apache/apache.conf"
if [ -f $apacheconf ]; then
$RPM_INSTALL_PREFIX/lib/openpkg/rpmtool config \
-r -i "$RPM_INSTALL_PREFIX:jitterbug" $apacheconf
fi
fi
@
1.44
log
@adjust Group header
@
text
@d30 2
a31 2
Packager: OpenPKG
Distribution: OpenPKG
d36 1
a36 1
Release: 20060923
@
1.43
log
@add missing track section
@
text
@d33 1
a33 1
Group: Database
d36 1
a36 1
Release: 20060821
@
1.42
log
@adjust copyrights for new year 2006
@
text
@d36 1
a36 1
Release: 20050615
d57 7
@
1.41
log
@SA-2005.011-shtool; CAN-2005-1751, CAN-2005-1759
@
text
@d3 2
a4 2
## Copyright (c) 2000-2005 OpenPKG Foundation e.V.
## Copyright (c) 2000-2005 Ralf S. Engelschall
@
1.40
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
@d36 1
a36 1
Release: 20040203
d45 2
a46 2
BuildPreReq: OpenPKG, openpkg >= 20040130
PreReq: OpenPKG, openpkg >= 20040130, MTA, apache, gzip
d59 1
@
1.39
log
@Happy New Year 2005
@
text
@d2 3
a4 4
## jitterbug.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.38
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
@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.37
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: 20030723
d46 2
a47 2
BuildPreReq: OpenPKG, openpkg >= 20030717
PreReq: OpenPKG, openpkg >= 20030717, MTA, apache, gzip
@
1.36
log
@achieve robust subshell handling by consistently using '(...) || exit 0' constructs to make sure the scripts fail if a subshell fails
@
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.35
log
@speclint police: gated tarball no longer available, but speclint wants an URL, so use local FTP location
@
text
@d36 1
a36 1
Release: 20030722
d93 1
a93 1
)
@
1.34
log
@speclint police: use %{l_value ...} in shtool subst and for uid/gid, too
@
text
@d36 1
a36 1
Release: 20030721
d39 1
a39 1
Source0: ossp-jitterbug-%{version}.tar.gz
@
1.33
log
@fix PR#205, use variable %{l_susr} not constant root
@
text
@d36 1
a36 1
Release: 20030717
d80 1
a80 1
%{l_shtool} subst -v \
a82 9
-e 's;@@l_prefix@@;%{l_prefix};g' \
-e 's;@@l_musr@@;%{l_musr};g' \
-e 's;@@l_muid@@;%{l_muid};g' \
-e 's;@@l_mgrp@@;%{l_mgrp};g' \
-e 's;@@l_mgid@@;%{l_mgid};g' \
-e 's;@@l_nusr@@;%{l_nusr};g' \
-e 's;@@l_nuid@@;%{l_nuid};g' \
-e 's;@@l_ngrp@@;%{l_ngrp};g' \
-e 's;@@l_ngid@@;%{l_ngid};g' \
@
1.32
log
@remove mta special case
@
text
@d36 1
a36 1
Release: 20030709
d45 2
a46 2
BuildPreReq: OpenPKG, openpkg >= 20030103
PreReq: OpenPKG, openpkg >= 20030103, MTA, apache, gzip
d106 1
a106 1
'%attr(04755,root,%{l_mgrp}) %{l_prefix}/bin/jitterbug-*'
@
1.31
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: 20030707
d116 2
a117 2
aliases_file=`$RPM_INSTALL_PREFIX/etc/rc --query mta_aliases_file`
update_command=`$RPM_INSTALL_PREFIX/etc/rc --query mta_aliases_update`
d144 2
a145 2
aliases_file=`$RPM_INSTALL_PREFIX/etc/rc --query mta_aliases_file`
update_command=`$RPM_INSTALL_PREFIX/etc/rc --query mta_aliases_update`
@
1.30
log
@add libraries to PreReq
@
text
@a2 1
## Copyright (c) 2000-2003 Cable & Wireless Deutschland GmbH
d5 1
@
1.29
log
@modernize flags and do not use raw tar tool
@
text
@d36 1
a36 1
Release: 20030408
d45 1
a45 1
BuildPreReq: OpenPKG, openpkg >= 20030103, zlib
d47 2
@
1.28
log
@remove '%options' hack, it will be replaced soon with a more elegant solution based on RPM 'Provides' headers
@
text
@d36 1
a36 1
Release: 20020625
d45 2
a46 2
BuildPreReq: OpenPKG, openpkg >= 20020206, zlib
PreReq: OpenPKG, openpkg >= 20020206, MTA, apache, gzip
d60 2
a61 2
CFLAGS="%{l_cflags -O} -I%{l_prefix}/include" \
LDFLAGS="-L%{l_prefix}/lib" \
d66 1
a66 1
-e 's;^\(LIBS *=.*\)$;\1 -L%{l_prefix}/lib -lz;' \
d74 1
a74 1
tar xvf %{SOURCE config.tar}
@
1.27
log
@bump of Copyright messages for forthcoming years 2003
@
text
@a54 2
%options
@
1.26
log
@switch to %option(s), but intentionally WITHOUT dep increase and WITHOUT FTP server updates
@
text
@d3 3
a5 3
## Copyright (c) 2000-2002 Cable & Wireless Deutschland GmbH
## Copyright (c) 2000-2002 The OpenPKG Project
## Copyright (c) 2000-2002 Ralf S. Engelschall
@
1.25
log
@consistently use 'Options: none' to indicate no options to 'openpkg build'
@
text
@d55 1
a55 1
Options: none
@
1.24
log
@Woohhooo: apply the new package classification system.
(CORE, BASE, PLUS, PRIV, EVAL, JUNK). A description of
them follows on the website soon.
@
text
@d55 2
@
1.23
log
@fix rpmtool path
@
text
@d32 1
a32 1
Distribution: OpenPKG [EXP]
@
1.22
log
@strip trailing whitespaces
@
text
@d36 1
a36 1
Release: 20020425
d120 1
a120 1
$RPM_INSTALL_PREFIX/sbin/rpmtool config \
d134 1
a134 1
$RPM_INSTALL_PREFIX/sbin/rpmtool config \
d145 1
a145 1
$RPM_INSTALL_PREFIX/sbin/rpmtool config \
d154 1
a154 1
$RPM_INSTALL_PREFIX/sbin/rpmtool config \
@
1.21
log
@upgrade jitterbug
@
text
@d23 2
a24 2
## SUCH DAMAGE.
##
d111 1
a111 1
%post
d137 1
a137 1
fi
d139 1
a139 1
%postun
@
1.20
log
@Fuck, Jitterbug overwrote our OpenPKG bugdb config...
@
text
@d35 2
a36 2
Version: 1.6.2.2
Release: 20020308
d39 1
a39 1
Source0: ftp://ftp.ossp.org/pkg/jitterbug/ossp-jitterbug-%{version}.tar.gz
@
1.19
log
@Because our latest GNU shtool 1.6.0 (as used in openpkg >= 20020206)
provides a full-featured "shtool subst" command, we finally switch from
our old "rpmtool subst cmd cmd ... -- file ..." to "shtool subst -e cmd
-e cmd ... file ...". Please do no longer use "rpmtool subst" because
its "subst" command will be removed soon, too.
@
text
@d36 1
a36 1
Release: 20020206
d103 1
@
1.18
log
@Switch to l_{s,m,r,n}{usr,grp}.
@
text
@d65 3
a67 3
%{l_rpmtool} subst \
's;^\(LIBS *=.*\)$;\1 -L%{l_prefix}/lib -lz;' \
-- Makefile
d78 13
a90 13
%{l_rpmtool} subst -v \
"s;@@l_hostname@@;$l_hostname;g" \
"s;@@l_domainname@@;$l_domainname;g" \
's;@@l_prefix@@;%{l_prefix};g' \
's;@@l_musr@@;%{l_musr};g' \
's;@@l_muid@@;%{l_muid};g' \
's;@@l_mgrp@@;%{l_mgrp};g' \
's;@@l_mgid@@;%{l_mgid};g' \
's;@@l_nusr@@;%{l_nusr};g' \
's;@@l_nuid@@;%{l_nuid};g' \
's;@@l_ngrp@@;%{l_ngrp};g' \
's;@@l_ngid@@;%{l_ngid};g' \
-- `find . -type f -print`
@
1.17
log
@bump copyright years
@
text
@d36 1
a36 1
Release: 20011201
d45 2
a46 2
BuildPreReq: OpenPKG, openpkg >= 20011227, zlib
PreReq: OpenPKG, openpkg >= 20011227, MTA, apache, gzip
d82 8
a89 8
's;@@l_fsusr@@;%{l_fsusr};g' \
's;@@l_fsuid@@;%{l_fsuid};g' \
's;@@l_fsgrp@@;%{l_fsgrp};g' \
's;@@l_fsgid@@;%{l_fsgid};g' \
's;@@l_npusr@@;%{l_npusr};g' \
's;@@l_npuid@@;%{l_npuid};g' \
's;@@l_npgrp@@;%{l_npgrp};g' \
's;@@l_npgid@@;%{l_npgid};g' \
d103 1
a103 1
'%attr(04755,root,%{l_fsgrp}) %{l_prefix}/bin/jitterbug-*'
@
1.16
log
@fix dependencies in -CURRENT now that we have the new scheme
@
text
@d3 3
a5 3
## Copyright (c) 2000-2001 Cable & Wireless Deutschland GmbH
## Copyright (c) 2000-2001 The OpenPKG Project
## Copyright (c) 2000-2001 Ralf S. Engelschall
@
1.15
log
@remove trailing zero to conform with new scheme
@
text
@d45 2
a46 2
BuildPreReq: OpenPKG, openpkg >= 20011126.0, zlib
PreReq: OpenPKG, openpkg >= 20011126.0, MTA, apache, gzip
@
1.14
log
@change to experimental
@
text
@d36 1
a36 1
Release: 20011201.0
@
1.13
log
@adjust distribution and release
@
text
@d32 1
a32 1
Distribution: OpenPKG [REL]
@
1.12
log
@change linking fix to also cover Solaris
@
text
@d32 1
a32 1
Distribution: OpenPKG [EXP]
d36 1
a36 1
Release: 20011126.0
@
1.11
log
@fix zlib relationship
@
text
@a61 1
LIBS="-L%{l_prefix}/lib -lz" \
d65 3
@
1.10
log
@Bump releases.
@
text
@d62 1
@
1.9
log
@add OpenPKG to copyright lines
@
text
@d36 1
a36 1
Release: 20011122.0
d45 2
a46 2
BuildPreReq: OpenPKG, openpkg >= 0.9-20011025.0, zlib
PreReq: OpenPKG, openpkg >= 0.9-20011025.0, MTA, apache, gzip
@
1.8
log
@Hmmmm.... goodbye good thought out but in practice unusable %{l_branch}
variable. We have to use a static value here (implies manual editing again),
because else source and binary RPM filenames won't match if binary is built
one or more days after the source was rolled.
@
text
@d4 1
d36 1
a36 1
Release: 20011121.0
@
1.7
log
@- switch from "sendmail "to "MTA" dependency
- removed incorrect petidomo dependency
- switched to use of "rpmtool config"
- fix typo in install procedure
@
text
@d35 1
a35 1
Release: %{l_branch}.0
@
1.6
log
@bump to the correct 0.9-20011025.0
@
text
@d44 2
a45 2
BuildPreReq: OpenPKG, openpkg >= 0.9-20011025.0, sendmail, zlib
PreReq: OpenPKG, openpkg >= 0.9-20011025.0, sendmail, apache, petidomo, gzip
d88 4
a91 2
%{l_shtool} mkdir -f -p -m 755 $RPM_BUILD_ROOT%{l_prefix}/etc/jitterbug
%{l_shtool} mkdir -f -p -m 755 %$RPM_BUILD_ROOT%{l_prefix}/var/jitterbug/bugdb
d108 11
a118 10
# add hook into Sendmail configuration
if [ -f $RPM_INSTALL_PREFIX/etc/sendmail/t.aliases ]; then
check=`grep '^#' $RPM_INSTALL_PREFIX/etc/sendmail/t.aliases`
if [ ".$check" = . ]; then
( echo "#"
echo "bugdb: \"|$RPM_INSTALL_PREFIX/bin/jitterbug-mail bugdb-guest\""
echo "owner-bugdb: root"
echo "#"
) >>$RPM_INSTALL_PREFIX/etc/sendmail/t.aliases
(cd $RPM_INSTALL_PREFIX/etc/sendmail/; make t.aliases.db)
d122 9
a130 11
if [ -f $RPM_INSTALL_PREFIX/etc/apache/apache.conf ]; then
check=`grep '^#' $RPM_INSTALL_PREFIX/etc/apache/apache.conf`
if [ ".$check" = . ]; then
( echo "#"
echo "Alias /bugdb $RPM_INSTALL_PREFIX/var/jitterbug/bugdb"
echo ""
echo " AllowOverride all"
echo ""
echo "#"
) >>$RPM_INSTALL_PREFIX/etc/apache/apache.conf
fi
d136 8
a143 11
# remove hook from Sendmail configuration
if [ -f $RPM_INSTALL_PREFIX/etc/sendmail/t.aliases ]; then
check=`grep '^#' $RPM_INSTALL_PREFIX/etc/sendmail/t.aliases`
if [ ".$check" != . ]; then
cp -p $RPM_INSTALL_PREFIX/etc/sendmail/t.aliases \
$RPM_INSTALL_PREFIX/etc/sendmail/t.aliases.orig
sed -e '/^#/,/^#<\/OpenPKG>/d' \
<$RPM_INSTALL_PREFIX/etc/sendmail/t.aliases.orig \
>$RPM_INSTALL_PREFIX/etc/sendmail/t.aliases
(cd $RPM_INSTALL_PREFIX/etc/sendmail/; make t.aliases.db)
rm -f $RPM_INSTALL_PREFIX/etc/sendmail/t.aliases.orig
d147 4
a150 10
if [ -f $RPM_INSTALL_PREFIX/etc/apache/apache.conf ]; then
check=`grep '^#' $RPM_INSTALL_PREFIX/etc/apache/apache.conf`
if [ ".$check" != . ]; then
cp -p $RPM_INSTALL_PREFIX/etc/apache/apache.conf \
$RPM_INSTALL_PREFIX/etc/apache/apache.conf.orig
sed -e '/^#/,/^#<\/OpenPKG>/d' \
<$RPM_INSTALL_PREFIX/etc/apache/apache.conf.orig \
>$RPM_INSTALL_PREFIX/etc/apache/apache.conf
rm -f $RPM_INSTALL_PREFIX/etc/apache/apache.conf.orig
fi
@
1.5
log
@upgrade dependencies because of l_branch usage
@
text
@d44 2
a45 2
BuildPreReq: OpenPKG, openpkg >= 20011023.0, sendmail, zlib
PreReq: OpenPKG, openpkg >= 20011023.0, sendmail, apache, petidomo, gzip
@
1.4
log
@Switch to using "YYYYMMDD.X" as Release for -CURRENT packages.
@
text
@d44 2
a45 2
BuildPreReq: OpenPKG, openpkg >= 0.9-33, sendmail, zlib
PreReq: OpenPKG, openpkg >= 0.9-33, sendmail, apache, petidomo, gzip
@
1.3
log
@Cleanup:
1. Move "Group:" below "Distribution:"
2. Use "The OpenPKG Project" for "Packager:"
3. Add type tag to "Distribution:" (default is now EXP)
@
text
@d35 1
a35 1
Release: 3
@
1.2
log
@Force all packages to require openpkg-0.9-33
@
text
@a27 1
Group: Database
d30 3
a32 2
Packager: rse@@openpkg.org
Distribution: OpenPKG
@
1.1
log
@Initial revision
@
text
@d35 1
a35 1
Release: 2
d44 2
a45 2
BuildPreReq: OpenPKG, openpkg >= 0.9-30, sendmail, zlib
PreReq: OpenPKG, openpkg >= 0.9-30, sendmail, apache, petidomo, gzip
@
1.1.1.1
log
@Import OpenPKG sources into CVS repository
@
text
@@