head	1.23;
access;
symbols
	OPENPKG_E1_MP_HEAD:1.18
	OPENPKG_E1_MP:1.18
	OPENPKG_E1_MP_2_STABLE:1.15.2.3
	OPENPKG_E1_FP:1.15.2.3
	OPENPKG_2_STABLE_MP:1.16
	OPENPKG_2_STABLE_20061018:1.15.2.2
	OPENPKG_2_STABLE:1.15.0.2
	OPENPKG_CW_FP:1.7;
locks; strict;
comment	@-- @;


1.23
date	2009.12.18.09.09.30;	author rse;	state Exp;
branches;
next	1.22;
commitid	G0l5AHgDGvv8SPfu;

1.22
date	2009.04.18.13.11.17;	author rse;	state Exp;
branches;
next	1.21;
commitid	4pHXU27WTIGCZuKt;

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

1.20
date	2007.07.10.07.28.07;	author cs;	state Exp;
branches;
next	1.19;
commitid	XOul0HPGfOI1Zbps;

1.19
date	2007.06.23.17.47.28;	author rse;	state Exp;
branches;
next	1.18;
commitid	IVUbkXNr60cnX3ns;

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

1.17
date	2006.11.28.16.15.18;	author tho;	state Exp;
branches;
next	1.16;
commitid	TARiJMm2zDei6sWr;

1.16
date	2006.10.24.07.28.29;	author rse;	state Exp;
branches;
next	1.15;
commitid	sCVyNmCbXYwjjURr;

1.15
date	2006.10.16.05.52.03;	author rse;	state Exp;
branches
	1.15.2.1;
next	1.14;
commitid	YAGL8fcYahab2SQr;

1.14
date	2006.10.13.17.28.55;	author thl;	state Exp;
branches;
next	1.13;
commitid	q5GSxzsSDX29XxQr;

1.13
date	2006.10.06.06.16.32;	author rse;	state Exp;
branches;
next	1.12;
commitid	i4OJXtK9WsUuuAPr;

1.12
date	2006.03.31.17.21.30;	author rse;	state Exp;
branches;
next	1.11;
commitid	h1o24Pv6PSIhfmrr;

1.11
date	2006.01.23.13.43.43;	author tho;	state Exp;
branches;
next	1.10;
commitid	HJAAz3kfar16cJir;

1.10
date	2006.01.01.13.14.42;	author rse;	state Exp;
branches;
next	1.9;
commitid	otZG8yKMCw1JFTfr;

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

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

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

1.6
date	2004.11.29.17.29.59;	author ms;	state Exp;
branches;
next	1.5;

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

1.4
date	2004.02.03.20.02.30;	author rse;	state Exp;
branches;
next	1.3;

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

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

1.1
date	2003.08.21.13.18.02;	author cs;	state Exp;
branches;
next	;

1.15.2.1
date	2006.10.16.05.52.03;	author rse;	state dead;
branches;
next	1.15.2.2;
commitid	iZxwRSmmWscPXUQr;

1.15.2.2
date	2006.10.16.14.51.14;	author rse;	state Exp;
branches;
next	1.15.2.3;
commitid	iZxwRSmmWscPXUQr;

1.15.2.3
date	2006.10.24.07.29.06;	author rse;	state Exp;
branches;
next	;
commitid	NtpYz1nGanSwjURr;


desc
@@


1.23
log
@upgrading package: inetutils 1.5 -> 1.7
@
text
@##
##  inetutils.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:         inetutils
Summary:      GNU Internet Utilities
URL:          http://www.gnu.org/software/inetutils/
Vendor:       Free Software Foundation
Packager:     OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class:        PLUS
Group:        Network
License:      GPL
Version:      1.7
Release:      20091218

#   package options
%option       with_legacy  no

#   list of sources
Source0:      ftp://ftp.gnu.org/gnu/inetutils/inetutils-%{version}.tar.gz
Patch0:       inetutils.patch

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

%description
    The GNU Internet Utilities are a collection of common network
    programs. Please note that specific to this OpenPKG version only a
    subset of the original GNU Internet Utilities is provided. Mainly we
    provide networking clients only.

%track
    prog inetutils = {
        version   = %{version}
        url       = ftp://ftp.gnu.org/gnu/inetutils/
        regex     = inetutils-(__VER__)\.tar\.gz
    }

%prep
    %setup -q
    %patch -p0

%build
    CC="%{l_cc}" \
    CFLAGS="%{l_cflags -O}" \
    CPPFLAGS="%{l_cppflags ncurses .}" \
    LDFLAGS="%{l_ldflags}" \
    ./configure \
        --prefix=%{l_prefix} \
        --mandir=%{l_prefix}/man \
        --infodir=%{l_prefix}/info \
        --program-prefix=g \
        --disable-servers \
        --disable-tftp \
        --disable-whois \
        --disable-libls \
        --disable-encryption \
        --disable-authentication \
        --without-krb4 \
        --without-krb5 \
        --without-wrap \
        --without-pam
    %{l_make} %{l_mflags -O}

%install
    rm -rf $RPM_BUILD_ROOT
    %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
    strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
    rm -f $RPM_BUILD_ROOT%{l_prefix}/info/dir
    for i in tftp syslog.conf ftpd inetd rexecd rlogind rshd syslogd talkd \
        telnetd tftpd; do
        rm -f $RPM_BUILD_ROOT%{l_prefix}/man/man?/g$i.?
    done
%if "%{with_legacy}" == "yes"
    for d in $RPM_BUILD_ROOT%{l_prefix}/{bin,man/man?}; do
        for i in $d/*; do
            [ -f $i ] || continue
            source=`echo "$i" | sed -n -e 's;^.*/\([^/]\{1,\}\)$;\1;p'`
            target=`echo "$i" | sed -n -e 's;^\(.*/\)g\([^/]\{1,\}\)$;\1\2;p'`
            ln -s $source $target
        done
    done
%endif
    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
        %{l_files_std} \
        '%attr(4711,%{l_susr},%{l_sgrp}) %{l_prefix}/bin/gping' \
        '%attr(4711,%{l_susr},%{l_sgrp}) %{l_prefix}/bin/grcp' \
        '%attr(4711,%{l_susr},%{l_sgrp}) %{l_prefix}/bin/grlogin' \
        '%attr(4711,%{l_susr},%{l_sgrp}) %{l_prefix}/bin/grsh'

%files -f files

%clean
    rm -rf $RPM_BUILD_ROOT

@


1.22
log
@bump years in copyright messages
@
text
@d34 2
a35 2
Version:      1.5
Release:      20080101
@


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
@d3 1
a3 1
##  Copyright (c) 2000-2008 OpenPKG Foundation e.V. <http://openpkg.net/>
@


1.20
log
@upstream supplied modified inetutils-1.5.tar.gz in place *sigh*
@
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:      20070710
@


1.19
log
@fix path to info and man files
@
text
@d36 1
a36 1
Release:      20070623
@


1.18
log
@Welcome Year 2007!
@
text
@d36 1
a36 1
Release:      20061128
d79 2
@


1.17
log
@hope I did not spoil anything
@
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
@requires ncurses
@
text
@d35 2
a36 2
Version:      1.4.2
Release:      20061024
@


1.15
log
@required by new PLUS class package sipsak
@
text
@d36 1
a36 1
Release:      20061016
d50 2
d75 1
a75 1
    CPPFLAGS="%{l_cppflags}" \
@


1.15.2.1
log
@file inetutils.spec was added on branch OPENPKG_2_STABLE on 2006-10-16 14:51:14 +0000
@
text
@d1 120
@


1.15.2.2
log
@Mass merge from CURRENT to 2-STABLE (all packages except those of JUNK class)
@
text
@a0 120
##
##  inetutils.spec -- OpenPKG RPM Package Specification
##  Copyright (c) 2000-2006 OpenPKG Foundation e.V. <http://openpkg.net/>
##  Copyright (c) 2000-2006 Ralf S. Engelschall <http://engelschall.com/>
##
##  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:         inetutils
Summary:      GNU Internet Utilities
URL:          http://www.gnu.org/software/inetutils/
Vendor:       Free Software Foundation
Packager:     OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class:        PLUS
Group:        Network
License:      GPL
Version:      1.4.2
Release:      2.20061018

#   package options
%option       with_legacy  no

#   list of sources
Source0:      ftp://ftp.gnu.org/gnu/inetutils/inetutils-%{version}.tar.gz
Patch0:       inetutils.patch

#   build information
Prefix:       %{l_prefix}
BuildRoot:    %{l_buildroot}
BuildPreReq:  OpenPKG, openpkg >= 2.20061018, make
PreReq:       OpenPKG, openpkg >= 2.20061018
AutoReq:      no
AutoReqProv:  no

%description
    The GNU Internet Utilities are a collection of common network
    programs. Please note that specific to this OpenPKG version only a
    subset of the original GNU Internet Utilities is provided. Mainly we
    provide networking clients only.

%track
    prog inetutils = {
        version   = %{version}
        url       = ftp://ftp.gnu.org/gnu/inetutils/
        regex     = inetutils-(__VER__)\.tar\.gz
    }

%prep
    %setup -q
    %patch -p0

%build
    CC="%{l_cc}" \
    CFLAGS="%{l_cflags -O}" \
    CPPFLAGS="%{l_cppflags}" \
    LDFLAGS="%{l_ldflags}" \
    ./configure \
        --prefix=%{l_prefix} \
        --program-prefix=g \
        --disable-servers \
        --disable-tftp \
        --disable-whois \
        --disable-libls \
        --disable-encryption \
        --disable-authentication \
        --without-krb4 \
        --without-krb5 \
        --without-wrap \
        --without-pam
    %{l_make} %{l_mflags -O}

%install
    rm -rf $RPM_BUILD_ROOT
    %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
    strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
    rm -f $RPM_BUILD_ROOT%{l_prefix}/info/dir
    for i in tftp syslog.conf ftpd inetd rexecd rlogind rshd syslogd talkd \
        telnetd tftpd; do
        rm -f $RPM_BUILD_ROOT%{l_prefix}/man/man?/g$i.?
    done
%if "%{with_legacy}" == "yes"
    for d in $RPM_BUILD_ROOT%{l_prefix}/{bin,man/man?}; do
        for i in $d/*; do
            [ -f $i ] || continue
            source=`echo "$i" | sed -n -e 's;^.*/\([^/]\{1,\}\)$;\1;p'`
            target=`echo "$i" | sed -n -e 's;^\(.*/\)g\([^/]\{1,\}\)$;\1\2;p'`
            ln -s $source $target
        done
    done
%endif
    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
        %{l_files_std} \
        '%attr(4711,%{l_susr},%{l_sgrp}) %{l_prefix}/bin/gping' \
        '%attr(4711,%{l_susr},%{l_sgrp}) %{l_prefix}/bin/grcp' \
        '%attr(4711,%{l_susr},%{l_sgrp}) %{l_prefix}/bin/grlogin' \
        '%attr(4711,%{l_susr},%{l_sgrp}) %{l_prefix}/bin/grsh'

%files -f files

%clean
    rm -rf $RPM_BUILD_ROOT

@


1.15.2.3
log
@MFC: requires ncurses
@
text
@d36 1
a36 1
Release:      2.20061024
a49 2
BuildPreReq:  ncurses
PreReq:       ncurses
d73 1
a73 1
    CPPFLAGS="%{l_cppflags ncurses .}" \
@


1.14
log
@new world order for "Packager" and "Distribution" headers
@
text
@d32 1
a32 1
Class:        EVAL
d36 1
a36 1
Release:      20061013
@


1.13
log
@completely work-off packaging
@
text
@d30 2
a31 2
Packager:     OpenPKG
Distribution: OpenPKG
d36 1
a36 1
Release:      20061006
@


1.12
log
@Revoke type conflict on Linux with 2.6 kernel. Submitted by: skaar
@
text
@a24 2
#   FIXME: rse: uses OSSP fsl but provides no fsl.inetutils

d36 1
a36 1
Release:      20060331
a38 1
%option       with_fsl     yes
a42 4
Source1:      setenv.h
Source2:      setenv.c
Source3:      unsetenv.h
Source4:      unsetenv.c
a49 4
%if "%{with_fsl}" == "yes"
BuildPreReq:  fsl >= 1.2.0
PreReq:       fsl >= 1.2.0
%endif
d55 3
a57 4
    programs.

    Please note that specific to this OpenPKG version only a subset of
    the original GNU Internet Utilities is provided.
a68 4
    cp -f %{SOURCE setenv.c} libinetutils/
    cp -f %{SOURCE setenv.h} libinetutils/
    cp -f %{SOURCE unsetenv.c} libinetutils/
    cp -f %{SOURCE unsetenv.h} libinetutils/
d74 1
a74 2
    LDFLAGS="%{l_ldflags} %{l_fsl_ldflags}" \
    LIBS="%{l_fsl_libs}" \
d109 2
a110 1
    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} \
@


1.11
log
@fix two gcc hickups, that eventually depend on gcc4 ?
@
text
@d38 1
a38 1
Release:      20060123
@


1.10
log
@adjust copyrights for new year 2006
@
text
@d38 1
a38 1
Release:      20050910
@


1.9
log
@remember issue
@
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.8
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
@d25 2
d38 1
a38 1
Release:      20041129
@


1.7
log
@Happy New Year 2005
@
text
@d2 3
a4 4
##  inetutils.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.6
log
@quickly repair unportable setenv(3) implemenation by supplying our own, as copied from mapson and honeyd packages
@
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
@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
@d37 1
a37 1
Release:      20040207
d45 4
d80 4
@


1.4
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
d68 1
a68 1
        version   = 1.4.2
@


1.3
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:      20030912
d50 2
a51 2
BuildPreReq:  OpenPKG, openpkg >= 20030103, make
PreReq:       OpenPKG, openpkg >= 20030103
d65 7
@


1.2
log
@port to FreeBSD
@
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.1
log
@new package: inetutils 1.4.2 (GNU Internet Utilities)
@
text
@d36 1
a36 1
Release:      20030821
d44 1
d67 1
@

