OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 12-Apr-2006 21:26:35
Branch: HEAD Handle: 2006041220263500
Added files:
openpkg-src/multitail multitail.patch
Modified files:
openpkg-src/multitail multitail.spec
Log:
upgrading package: multitail 3.8.10 -> 4.0.0
Summary:
Revision Changes Path
1.3 +15 -0 openpkg-src/multitail/multitail.patch
1.88 +9 -4 openpkg-src/multitail/multitail.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/multitail/multitail.patch
============================================================================
$ cvs diff -u -r0 -r1.3 multitail.patch
--- /dev/null 2006-04-12 21:26:15 +0200
+++ multitail.patch 2006-04-12 21:26:35 +0200
@@ -0,0 +1,15 @@
+Index: Makefile
+--- Makefile.orig 2006-04-12 16:50:32 +0200
++++ Makefile 2006-04-12 21:23:22 +0200
+@@ -3,9 +3,8 @@
+ DESTDIR=/
+ CONFIG_FILE=$(DESTDIR)/etc/multitail.conf
+
+-DEBUG=-g # -D_DEBUG -W -pedantic # -pg #-fprofile-arcs
+-LDFLAGS=-lpanel -lncurses -lutil -lm $(DEBUG)
+-CFLAGS+=-D`uname` -O2 -Wall -DVERSION=\"$(VERSION)\" $(DEBUG)
-DCONFIG_FILE=\"$(CONFIG_FILE)\"
++LDFLAGS = $(OPENPKG_LDFLAGS)
++CFLAGS = $(OPENPKG_CFLAGS) -D`uname` -DVERSION=\"$(VERSION)\"
-DCONFIG_FILE=\"$(CONFIG_FILE)\"
+
+ OBJS=utils.o mt.o error.o my_pty.o term.o scrollback.o help.o mem.o cv.o
selbox.o stripstring.o color.o misc.o ui.o exec.o diff.o config.o cmdline.o
globals.o
+
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/multitail/multitail.spec
============================================================================
$ cvs diff -u -r1.87 -r1.88 multitail.spec
--- openpkg-src/multitail/multitail.spec 27 Mar 2006 17:32:35 -0000
1.87
+++ openpkg-src/multitail/multitail.spec 12 Apr 2006 19:26:35 -0000
1.88
@@ -32,11 +32,12 @@
Class: PLUS
Group: Terminal
License: GPL
-Version: 3.8.10
-Release: 20060327
+Version: 4.0.0
+Release: 20060412
# list of sources
Source0: http://www.vanheusden.com/multitail/multitail-%{version}.tgz
+Patch0: multitail.patch
# build information
Prefix: %{l_prefix}
@@ -63,6 +64,7 @@
%prep
%setup -q
+ %patch -p0
%build
libs="-lpanel -lncurses -lm"
@@ -78,11 +80,14 @@
*-linux* | *-netbsd* )
libs="$libs -lutil"
;;
+ *-sunos* )
+ libs="$libs -lsocket -lnsl"
+ ;;
esac
%{l_make} %{l_mflags} \
CC="%{l_cc}" \
- CFLAGS="%{l_cflags -O} %{l_cppflags ncurses}
-DVERSION=\\\"%{version}\\\"" \
- LDFLAGS="%{l_ldflags} $libs"
+ OPENPKG_CFLAGS="%{l_cflags -O} %{l_cppflags ncurses}" \
+ OPENPKG_LDFLAGS="%{l_ldflags} $libs"
%install
rm -rf $RPM_BUILD_ROOT
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]