head	1.24;
access;
symbols
	OPENPKG_E1_MP_HEAD:1.18
	OPENPKG_E1_MP:1.18
	OPENPKG_CW_FP:1.12
	OPENPKG_1_STABLE_MP:1.5;
locks; strict;
comment	@-- @;


1.24
date	2009.06.30.20.21.01;	author rse;	state Exp;
branches;
next	1.23;
commitid	mW7f5wxeUG4f4VTt;

1.23
date	2009.04.18.13.12.52;	author rse;	state Exp;
branches;
next	1.22;
commitid	4pHXU27WTIGCZuKt;

1.22
date	2008.04.28.06.17.11;	author rse;	state Exp;
branches;
next	1.21;
commitid	lc7lsj124B7LaQ0t;

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

1.20
date	2007.12.11.13.18.42;	author rse;	state Exp;
branches;
next	1.19;
commitid	RTZ1dkdE8rnoY0Js;

1.19
date	2007.01.12.14.24.51;	author rse;	state Exp;
branches;
next	1.18;
commitid	MJvxroV3nCgJ2e2s;

1.18
date	2007.01.01.17.39.48;	author rse;	state Exp;
branches;
next	1.17;
commitid	BicZD6VUl7GuqP0s;

1.17
date	2006.10.13.17.29.59;	author thl;	state Exp;
branches;
next	1.16;
commitid	q5GSxzsSDX29XxQr;

1.16
date	2006.06.25.07.16.45;	author rse;	state Exp;
branches;
next	1.15;
commitid	ZvQVyE4ttelq8mCr;

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

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

1.13
date	2005.03.24.11.19.28;	author rse;	state Exp;
branches;
next	1.12;

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

1.11
date	2004.05.07.06.15.22;	author rse;	state Exp;
branches;
next	1.10;

1.10
date	2004.03.31.18.57.16;	author rse;	state Exp;
branches;
next	1.9;

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

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

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

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

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

1.4
date	2003.07.07.11.28.15;	author mlelstv;	state Exp;
branches;
next	1.3;

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

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

1.1
date	2003.01.31.16.12.43;	author mlelstv;	state Exp;
branches;
next	;


desc
@@


1.24
log
@switch to the new SourceForge.net website functionality where we can find all files (again)
@
text
@##
##  mixmaster.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.
##

#   FIXME: rse: reasonable default configuration missing

#   package information
Name:         mixmaster
Summary:      Anonymous Remailer
URL:          http://mixmaster.sourceforge.net/
Vendor:       Lance Cottrell & Ulf Möller
Packager:     OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class:        EVAL
Group:        Mail
License:      GPL
Version:      3.0
Release:      20080428

#   list of sources
Source0:      http://switch.dl.sourceforge.net/mixmaster/mixmaster-%{version}.tar.gz

#   build information
Prefix:       %{l_prefix}
BuildRoot:    %{l_buildroot}
BuildPreReq:  OpenPKG, openpkg >= 20040130, make
PreReq:       OpenPKG, openpkg >= 20040130
BuildPreReq:  ncurses, zlib, pcre, openssl
PreReq:       ncurses, zlib, pcre, openssl
AutoReq:      no
AutoReqProv:  no

%description
    Mixmaster is an anonymous remailer. Remailers provide protection
    against traffic analysis and allow users to send email anonymously
    or pseudonymously. Mixmaster consists of both client and server
    installations.

%track
    prog mixmaster = {
        version   = %{version}
        url       = http://sourceforge.net/projects/mixmaster/files/
        regex     = mixmaster-(__VER__)\.tar\.gz
    }

%prep
    %setup -q

%build
    cd Src
    cp Makefile.in Makefile
    %{l_shtool} subst \
        -e 's;\%INC;%{l_cppflags};' \
        -e 's;\%DEF;-DUSE_ZLIB -DUSE_PCRE -DUSE_NCURSES -DHAVE_NCURSES_H;' \
        -e 's;\%LDFLAGS;%{l_ldflags};' \
        -e 's;\%LIBS;-lpcre -lz -lcrypto -lssl -lncurses;' \
        -e 's;\%MIXDIR;-DSPOOL=\\"%{l_prefix}/var/mixmaster\\";' \
        -e 's;^\(CC =\).*;\1 %{l_cc};' \
        -e 's;^\(OPT =\).*;\1 %{l_cflags -O};' \
        Makefile
    %{l_make} %{l_mflags -O} mixmaster mpgp

%install
    rm -rf $RPM_BUILD_ROOT
    %{l_shtool} mkdir -p -m 755 \
        $RPM_BUILD_ROOT%{l_prefix}/man/man1 \
        $RPM_BUILD_ROOT%{l_prefix}/libexec/mixmaster \
        $RPM_BUILD_ROOT%{l_prefix}/var/mixmaster
    %{l_shtool} install -c -s -m 755 \
        Src/mixmaster Src/mpgp $RPM_BUILD_ROOT%{l_prefix}/libexec/mixmaster/
    %{l_shtool} install -c -m 644 \
        conf/* $RPM_BUILD_ROOT%{l_prefix}/libexec/mixmaster/
    %{l_shtool} install -c -m 644 \
        mixmaster.1 mpgp.1 $RPM_BUILD_ROOT%{l_prefix}/man/man1/
    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
        %{l_files_std} \
        '%attr(755,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/mixmaster'

%files -f files

%clean
    rm -rf $RPM_BUILD_ROOT

@


1.23
log
@bump years in copyright messages
@
text
@d61 1
a61 1
        url       = http://prdownloads.sourceforge.net/mixmaster/
@


1.22
log
@upgrading package: mixmaster 3.0rc1 -> 3.0
@
text
@d3 1
a3 1
##  Copyright (c) 2000-2008 OpenPKG Foundation e.V. <http://openpkg.net/>
@


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
@d36 2
a37 2
Version:      3.0rc1
Release:      20080101
@


1.20
log
@make it at least EVAL
@
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/>
d37 1
a37 1
Release:      20071211
@


1.19
log
@no need to track as long as it is JUNK
@
text
@d34 1
a34 1
Class:        JUNK
d38 1
a38 1
Release:      20070112
a60 2
        disabled
        comment   = "rse: JUNK class package"
@


1.18
log
@Welcome Year 2007!
@
text
@d38 1
a38 1
Release:      20061013
d61 2
@


1.17
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.16
log
@upgrading package: mixmaster 3.0b2 -> 3.0rc1
@
text
@d32 2
a33 2
Packager:     OpenPKG
Distribution: OpenPKG
d38 1
a38 1
Release:      20060625
@


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
@d37 2
a38 2
Version:      3.0b2
Release:      20060524
@


1.14
log
@adjust copyrights for new year 2006
@
text
@d38 1
a38 1
Release:      20040507
d41 1
a41 1
Source0:      http://osdn.dl.sourceforge.net/mixmaster/mixmaster-%{version}.tar.gz
@


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


1.12
log
@Happy New Year 2005
@
text
@d2 3
a4 4
##  mixmaster.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/>
d32 1
a32 1
Packager:     The OpenPKG Project
@


1.11
log
@upgrading package: mixmaster 3.0b1 -> 3.0b2
@
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.10
log
@upgrading package: mixmaster 2.9.1 -> 3.0b1
@
text
@d38 2
a39 2
Version:      3.0b1
Release:      20040331
@


1.9
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
@d38 2
a39 2
Version:      2.9.1
Release:      20040207
d82 1
a82 1
    %{l_make} %{l_mflags -O}
d91 1
a91 1
        Src/mix $RPM_BUILD_ROOT%{l_prefix}/libexec/mixmaster/
d95 1
a95 1
        mix.1 $RPM_BUILD_ROOT%{l_prefix}/man/man1/
@


1.8
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
@d39 1
a39 1
Release:      20040203
d62 1
a62 1
        version   = 2.9.1
@


1.7
log
@bump year in copyright messages to cover new year 2004. This is a CVS only commit -- no packages were rolled intentionally
@
text
@d34 2
a35 1
Distribution: OpenPKG [JUNK]
d39 1
a39 1
Release:      20031109
d47 2
a48 2
BuildPreReq:  OpenPKG, openpkg >= 20030103, make
PreReq:       OpenPKG, openpkg >= 20030103
d59 7
@


1.6
log
@upgrading package: mixmaster 2.9.0 -> 2.9.1
@
text
@d3 3
a5 3
##  Copyright (c) 2000-2003 The OpenPKG Project <http://www.openpkg.org/>
##  Copyright (c) 2000-2003 Ralf S. Engelschall <rse@@engelschall.com>
##  Copyright (c) 2000-2003 Cable & Wireless <http://www.cw.com/>
@


1.5
log
@cleanup copyright part by using just the main company name of Cable & Wireless and adding the URL to the global website
@
text
@d37 2
a38 2
Version:      2.9.0
Release:      20030707
@


1.4
log
@add libraries to PreReq
@
text
@a2 1
##  Copyright (c) 2000-2003 Cable & Wireless Deutschland GmbH
d5 1
@


1.3
log
@URLs changed
@
text
@d38 1
a38 1
Release:      20030328
d46 1
a46 1
BuildPreReq:  OpenPKG, openpkg >= 20030103, make, ncurses, zlib, pcre, openssl
d48 2
@


1.2
log
@- fix Vendor: header
- reduce sub-shell usage to minimum required
- use %{l_cppflags} for include dirs (-I)
- use %{l_ldflags} for lib dirs (-L)
- override OPT and CC also via shtool subst to be consistent
  across all Makefile variable overriding
- use "shtool install" with _multiple_ source files to avoid extra loop
- downgrade to JUNK until we have a reasonable default config
- add FIXME to remember the JUNK reason
@
text
@d31 1
a31 1
URL:          http://www.mixmaster.org/
d38 1
a38 1
Release:      20030202
d41 1
a41 1
Source0:      ftp://mixmaster.anonymizer.com/pub/source/mixmaster-%{version}.tar.gz
@


1.1
log
@initial release, requires manual configuration
@
text
@d26 2
d32 1
a32 1
Vendor:       John Doe
d34 1
a34 1
Distribution: OpenPKG [EVAL]
d38 1
a38 1
Release:      20030131
d61 4
a64 4
    ( cd Src;
      cp Makefile.in Makefile
      %{l_shtool} subst \
        -e 's;\%INC;-I%{l_prefix}/include;' \
d66 1
a67 1
        -e 's;\%LDFLAGS;-L%{l_prefix}/lib;' \
d69 2
d72 1
a72 5

        %{l_make} %{l_mflags} \
            CC="%{l_cc}" \
            OPT="%{l_cflags -O}"
    )
a75 1

d82 2
a83 5
    # FIXME mlelstv - installing two template files
    for f in conf/*; do
        %{l_shtool} install -c -m 644 \
            $f $RPM_BUILD_ROOT%{l_prefix}/libexec/mixmaster/
    done
a85 1

@

