OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 30-Sep-2004 20:33:06
Branch: HEAD Handle: 2004093019330500
Modified files:
openpkg-src/smbc smbc.patch smbc.spec
Log:
upgrading package: smbc 0.9.0 -> 1.0.0
Summary:
Revision Changes Path
1.4 +14 -5 openpkg-src/smbc/smbc.patch
1.7 +8 -11 openpkg-src/smbc/smbc.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/smbc/smbc.patch
============================================================================
$ cvs diff -u -r1.3 -r1.4 smbc.patch
--- openpkg-src/smbc/smbc.patch 10 Aug 2004 11:20:08 -0000 1.3
+++ openpkg-src/smbc/smbc.patch 30 Sep 2004 18:33:05 -0000 1.4
@@ -1,12 +1,21 @@
Index: src/smbc.c
---- src/smbc.c.orig 2004-08-10 13:15:01 +0200
-+++ src/smbc.c 2004-08-10 13:15:11 +0200
-@@ -1095,7 +1095,7 @@
+--- src/smbc.c.orig 2004-09-23 11:07:25 +0200
++++ src/smbc.c 2004-09-30 20:24:55 +0200
+@@ -23,6 +23,8 @@
+ #endif /* HAVE_STRINGS_H */
+ #endif /* not HAVE_STRING_H */
+
++#include <sys/types.h>
++#include <signal.h>
+ #include <sys/ioctl.h>
+ #include <libintl.h>
+ #include <sys/file.h>
+@@ -1342,7 +1344,7 @@
int Rkey, Rsel, RmaxY, Rx6, Ri, RlFirst, RlSelect;
TTdownload *RdownloadListTmp, *RdownloadListTmp2;
int Rcut = 0;
- sighandler_t RpreviousAction;
+ void (*RpreviousAction)();
- void RpaintList(int Rfirst, int Rselect)
- {
+ void
+ RpaintList(int Rfirst, int Rselect)
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/smbc/smbc.spec
============================================================================
$ cvs diff -u -r1.6 -r1.7 smbc.spec
--- openpkg-src/smbc/smbc.spec 26 Aug 2004 07:40:23 -0000 1.6
+++ openpkg-src/smbc/smbc.spec 30 Sep 2004 18:33:05 -0000 1.7
@@ -26,18 +26,18 @@
# package information
Name: smbc
Summary: SMB Text-Mode Client
-URL: http://www.air.rzeszow.pl/smbc/smbc/
+URL: http://smbc.airm.net/
Vendor: Rafal Michniewicz
Packager: The OpenPKG Project
Distribution: OpenPKG
Class: EVAL
Group: Filesystem
License: GPL
-Version: 0.9.0
-Release: 20040826
+Version: 1.0.0
+Release: 20040930
# list of sources
-Source0: http://www.air.rzeszow.pl/smbc/smbc/%{version}/smbc-%{version}.tgz
+Source0: http://smbc.airm.net/%{version}/smbc-%{version}.tgz
Patch0: smbc.patch
# build information
@@ -60,8 +60,8 @@
%track
prog smbc = {
version = %{version}
- url = http://www.air.rzeszow.pl/smbc/smbc/en/index.php
- regex = smbc-(__VER__)
+ url = http://smbc.airm.net/en/index.php
+ regex = download\s+(__VER__)
}
%prep
@@ -75,7 +75,7 @@
LDFLAGS="%{l_ldflags}" \
./configure \
--prefix=%{l_prefix} \
- --datadir=%{l_prefix}/share/smbc \
+ --datadir=%{l_prefix}/share \
--with-libiconv-prefix=%{l_prefix} \
--with-libintl-prefix=%{l_prefix}
%{l_make} %{l_mflags -O}
@@ -84,10 +84,7 @@
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
- mv $RPM_BUILD_ROOT%{l_prefix}/share/smbc/doc/sample.smbcrc \
- $RPM_BUILD_ROOT%{l_prefix}/share/smbc/sample.smbcrc
- rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/smbc/doc
- rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/smbc/locale
+ rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/locale
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
%files -f files
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]