OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  r...@openpkg.org
  Module: openpkg-src                      Date:   06-Aug-2009 23:33:40
  Branch: HEAD                             Handle: 2009080622333900

  Modified files:
    openpkg-src/libtelnet   libtelnet.patch libtelnet.spec

  Log:
    upgrading package: libtelnet 0.9 -> 0.10

  Summary:
    Revision    Changes     Path
    1.2         +0  -13     openpkg-src/libtelnet/libtelnet.patch
    1.3         +12 -17     openpkg-src/libtelnet/libtelnet.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/libtelnet/libtelnet.patch
  ============================================================================
  $ cvs diff -u -r1.1 -r1.2 libtelnet.patch
  --- openpkg-src/libtelnet/libtelnet.patch     24 Mar 2009 18:33:20 -0000      
1.1
  +++ openpkg-src/libtelnet/libtelnet.patch     6 Aug 2009 21:33:39 -0000       
1.2
  @@ -1,16 +1,3 @@
  -Index: Makefile
  ---- Makefile.orig    2009-03-23 04:05:31 +0100
  -+++ Makefile 2009-03-24 19:26:58 +0100
  -@@ -1,6 +1,7 @@
  - VERSION = 0.9
  --CFLAGS = -Wall -g -O0 -DHAVE_ZLIB -DHAVE_ALLOCA -DENABLE_COLOR
  --LFLAGS = -L. -ltelnet -lz
  -+CC = gcc
  -+CFLAGS = $(CFLAGS) $(CPPFLAGS)
  -+LFLAGS = $(LDFLAGS) -L. -ltelnet -lz
  - 
  - all: telnet-proxy telnet-client telnet-chatd
  - 
   Index: libtelnet.c
   --- libtelnet.c.orig 2009-03-23 04:05:31 +0100
   +++ libtelnet.c      2009-03-24 19:26:28 +0100
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/libtelnet/libtelnet.spec
  ============================================================================
  $ cvs diff -u -r1.2 -r1.3 libtelnet.spec
  --- openpkg-src/libtelnet/libtelnet.spec      18 Apr 2009 13:12:16 -0000      
1.2
  +++ openpkg-src/libtelnet/libtelnet.spec      6 Aug 2009 21:33:39 -0000       
1.3
  @@ -31,8 +31,8 @@
   Class:        EVAL
   Group:        Network
   License:      Public Domain
  -Version:      0.9
  -Release:      20090324
  +Version:      0.10
  +Release:      20090806
   
   #   list of sources
   Source0:      
http://cloud.github.com/downloads/elanthis/libtelnet/libtelnet-%{version}.tar.gz
  @@ -66,24 +66,19 @@
       %patch -p0
   
   %build
  -    %{l_make} %{l_mflags} \
  -        CC="%{l_cc}" \
  -        CFLAGS="%{l_cflags -O}" \
  -        CPPFLAGS="%{l_cppflags} -DHAVE_ZLIB -DENABLE_COLOR" \
  -        LDFLAGS="%{l_ldflags}"
  +    CC="%{l_cc}" \
  +    CFLAGS="%{l_cflags -O}" \
  +    CPPFLAGS="%{l_cppflags} -DHAVE_ZLIB -DENABLE_COLOR" \
  +    LDFLAGS="%{l_ldflags}" \
  +    LIBS="-lz" \
  +    ./configure \
  +        --prefix=%{l_prefix} \
  +        --disable-shared
  +    %{l_make} %{l_mflags -O}
   
   %install
       rm -rf $RPM_BUILD_ROOT
  -    %{l_shtool} mkdir -f -p -m 755 \
  -        $RPM_BUILD_ROOT%{l_prefix}/include \
  -        $RPM_BUILD_ROOT%{l_prefix}/lib \
  -        $RPM_BUILD_ROOT%{l_prefix}/man/cat3
  -    %{l_shtool} install -c -m 644 \
  -        libtelnet.h $RPM_BUILD_ROOT%{l_prefix}/include/
  -    %{l_shtool} install -c -m 644 \
  -        libtelnet.a $RPM_BUILD_ROOT%{l_prefix}/lib/
  -    %{l_shtool} install -c -m 644 \
  -        README $RPM_BUILD_ROOT%{l_prefix}/man/cat3/libtelnet.3
  +    %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
       %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
   
   %files -f files
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to