Hello community,
here is the log from the commit of package turnpike
checked in at Wed Jan 30 18:51:54 CET 2008.
--------
--- turnpike/turnpike.changes 2007-08-04 15:38:35.000000000 +0200
+++ turnpike/turnpike.changes 2008-01-30 17:46:21.000000000 +0100
@@ -1,0 +2,5 @@
+Wed Jan 30 17:46:17 CET 2008 - aj@suse.de
+
+- Fix build.
+
+-------------------------------------------------------------------
New:
----
turnpike-prototypes.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ turnpike.spec ++++++
--- /var/tmp/diff_new_pack.b18968/_old 2008-01-30 18:50:39.000000000 +0100
+++ /var/tmp/diff_new_pack.b18968/_new 2008-01-30 18:50:39.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package turnpike (Version 0.1.1)
#
-# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
@@ -20,7 +20,7 @@
%define gnome /gnome
Summary: IKE Plugin framework for IPSec tools
Version: 0.1.1
-Release: 95
+Release: 160
License: BSD 3-Clause
Group: Productivity/Networking/Security
Source: %{name}-%{version}.tar.gz
@@ -29,7 +29,8 @@
Source3: README.SuSE
Patch0: bug-226387_unenc_pwd.patch
Patch1: turnpike.patch
-URL: http://forge.novell.com/modules/xfmod/project/?turnpike
+Patch2: turnpike-prototypes.patch
+Url: http://forge.novell.com/modules/xfmod/project/?turnpike
Requires: novell-ipsec-tools >= 0.6.1
PreReq: coreutils
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -46,6 +47,7 @@
cp -v %{S:3} .
%patch
%patch1
+%patch2
%build
CFLAGS="$RPM_OPT_FLAGS"\
@@ -127,81 +129,83 @@
%doc README README.SuSE INSTALL
%changelog
-* Sat Aug 04 2007 - aj@suse.de
+* Wed Jan 30 2008 aj@suse.de
- Fix build.
-* Thu Jun 07 2007 - sbrabec@suse.cz
+* Sat Aug 04 2007 aj@suse.de
+- Fix build.
+* Thu Jun 07 2007 sbrabec@suse.cz
- Removed invalid desktop Category "Application" (#254654).
-* Mon Jan 08 2007 - tsureshkumar@suse.de
+* Mon Jan 08 2007 tsureshkumar@suse.de
- protect private cert key (#226387)
-* Fri Nov 17 2006 - tsureshkumar@suse.de
+* Fri Nov 17 2006 tsureshkumar@suse.de
- handle ph1 delete message
-* Tue May 23 2006 - tsureshkumar@suse.de
+* Tue May 23 2006 tsureshkumar@suse.de
- fix for nvpn disconnect in full tunneling. (# 177907)
-* Fri May 05 2006 - tsureshkumar@suse.de
+* Fri May 05 2006 tsureshkumar@suse.de
- removed accidental inclusion of COPYING with GPL. Include BSD.
- 64 bit blocker fix (#162805, #155614, #157875) for vpnlogin
-* Thu May 04 2006 - tsureshkumar@novell.com
+* Thu May 04 2006 tsureshkumar@novell.com
- 64 bit fixes : #162616, #157875
- clean sizes/ILP/binary-data-transfer to make 64 bit clean.
- locate the right va_copy, otherwise segfaults in 64 bit systems
-* Tue Apr 18 2006 - tsureshkumar@suse.de
+* Tue Apr 18 2006 tsureshkumar@suse.de
- remove orphan widgets from ui as no longer useful. (thanks to multiple proposal).
- fixed cryptic texts in combo boxes
- few code re-arganization.
-* Tue Apr 11 2006 - rvinay@suse.de
+* Tue Apr 11 2006 rvinay@suse.de
- restored back the changes for route string handling
-* Mon Apr 10 2006 - tsureshkumar@suse.de
+* Mon Apr 10 2006 tsureshkumar@suse.de
- print critical errors to stderr.
-* Mon Apr 03 2006 - rvinay@suse.de
+* Mon Apr 03 2006 rvinay@suse.de
- Fixed route string handling bug.
-* Wed Mar 29 2006 - rvinay@suse.de
+* Wed Mar 29 2006 rvinay@suse.de
- bumped the version to 0.1.1 (cert support)
- Added Certificate support for ph1 establishment for
non std gateways.
-* Thu Mar 23 2006 - tsureshkumar@suse.de
+* Thu Mar 23 2006 tsureshkumar@suse.de
- Moved README inside cvs
- Created README.SuSE for additional configure options
- use %%doc section rather than manual drop
- Use custom INSTALL text file.
-* Mon Mar 20 2006 - rvinay@suse.de
+* Mon Mar 20 2006 rvinay@suse.de
- Added file 'Readme' to the turnpike package.
- Related spec file changes to install the Readme file.
-* Fri Mar 17 2006 - rvinay@suse.de
+* Fri Mar 17 2006 rvinay@suse.de
- Fix for pfs group off if gateway is of standard type
-* Mon Mar 13 2006 - rvinay@suse.de
+* Mon Mar 13 2006 rvinay@suse.de
- Fix for vpnlogin and nvpn daemon creating heavy cpu load
-* Mon Mar 06 2006 - rvinay@suse.de
+* Mon Mar 06 2006 rvinay@suse.de
- Fix for spec file errors.
-* Sat Mar 04 2006 - aj@suse.de
+* Sat Mar 04 2006 aj@suse.de
- Fix build.
- Cleanup BuildRequires.
-* Thu Mar 02 2006 - rvinay@suse.de
+* Thu Mar 02 2006 rvinay@suse.de
- Package resubmitted.
-* Tue Feb 28 2006 - rvinay@suse.de
+* Tue Feb 28 2006 rvinay@suse.de
- Memory leak fixes
- Handling pfs group 'off'
-* Sat Feb 11 2006 - rvinay@suse.de
+* Sat Feb 11 2006 rvinay@suse.de
- Added another option 's' to give the pfs group
- Chnged vpnc to nvpn
-* Wed Feb 01 2006 - tsureshkumar2@suse.de
+* Wed Feb 01 2006 tsureshkumar2@suse.de
- removed Conflicts with ipsec-tools.
- removed install of racoon.conf
-* Wed Jan 25 2006 - mls@suse.de
+* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
-* Thu Jan 19 2006 - tsureshkumar@suse.de
+* Thu Jan 19 2006 tsureshkumar@suse.de
- added missing directories to filelist
-* Thu Jan 19 2006 - tsureshkumar@novell.com
+* Thu Jan 19 2006 tsureshkumar@novell.com
- added conflicts with ipsec-tools for racoon.conf
-* Thu Jan 19 2006 - ro@suse.de
+* Thu Jan 19 2006 ro@suse.de
- added missing directories to filelist again
- remove wrong requires for libxml2 and kernel again
- remove readline-devel from nfb again
-* Wed Jan 18 2006 - rvinay@novell.com
+* Wed Jan 18 2006 rvinay@novell.com
- added -Werror and -fno-strict-aliasing
-* Fri Jan 13 2006 - tsureshkumar@novell.com
+* Fri Jan 13 2006 tsureshkumar@novell.com
- removed empty preun, postun. added coreutils as PreReq
-* Fri Jan 13 2006 - tsureshkumar@novell.com
+* Fri Jan 13 2006 tsureshkumar@novell.com
- added coreutils to PreReq. don't kill vpnlogin. unnecessary
-* Fri Dec 23 2005 - tsureshkumar@novell.com
+* Fri Dec 23 2005 tsureshkumar@novell.com
- include perl-XML-Parser for build dependency
- initial
++++++ turnpike-prototypes.patch ++++++
--- VPNClient/CommonUI/plog.c
+++ VPNClient/CommonUI/plog.c
@@ -95,9 +95,7 @@
struct log *
-log_open(siz, fname)
- size_t siz;
- char *fname;
+log_open( size_t siz, char *fname)
{
struct log *p;
@@ -220,7 +218,7 @@
void
-ploginit()
+ploginit(void)
{
if (logfile) {
logp = log_open(250, logfile);
@@ -233,8 +231,7 @@
}
void
-plogset(file)
- char *file;
+plogset(char *file)
{
if (logfile != NULL)
free(logfile);
--- VPNClient/CommonUI/vpncExtCert.c
+++ VPNClient/CommonUI/vpncExtCert.c
@@ -54,7 +54,7 @@
return ret;
}
-static int FcloseAll()
+static int FcloseAll(void)
{
Fclose(fpx);
Fclose(fpp);
@@ -326,7 +326,7 @@
#ifdef __DEBUG__
fprintf(stderr, "Error retrieving X509 certificate\n");
#endif
- FcloseAll(fpc);
+ FcloseAll();
EVP_PBE_cleanup();
return VPNC_ERR_DCRT_RTRCERT;
}
--- VPNClient/vpnc/include/profile.h
+++ VPNClient/vpnc/include/profile.h
@@ -83,7 +83,7 @@
int displayProfileList(void);
int getGatewayType();
//int getGatewayAddress(char *file);
-int getCertificateNameFromProfile();
+int getCertificateNameFromProfile(void);
//int printf_ph1Config_to_racoon_conf(FILE *fp);
//int printf_ph2Config_to_racoon_conf(FILE *fp);
--- VPNClient/vpnc/include/utility.h
+++ VPNClient/vpnc/include/utility.h
@@ -52,9 +52,9 @@
void get_connect_client_event_poll_sock (char*);
void printing_function(char*);
void handle_sigint(int );
-int connectHandler();
+int connectHandler(void);
int disconnectHandler(int );
-int getGatewayAddress();
+int getGatewayAddress(boolean_t);
int create_cp(void **);
int getVendorProfileName(char *);
int isProfileExist();
--- VPNClient/vpnc/src/commandHandler.c
+++ VPNClient/vpnc/src/commandHandler.c
@@ -41,7 +41,7 @@
extern char* errString(int, char*);
extern int displayProfileList(void);
extern void usage(void);
-extern int connectHandler();
+extern int connectHandler(void);
extern int getVendorProfileName(char *file);
extern int isProfileExist(char *file);
extern int disconnectHandler(int);
@@ -190,7 +190,7 @@
case CONNECT | PFSGROUP:
case CONNECT | DHGROUP | PFSGROUP:
case CONNECT | DHGROUP | PFSGROUP | UPSCRIPT:
- if(connectHandler(&Inf)<0)
+ if(connectHandler()<0)
return -1;
break;
--- VPNClient/vpnc/src/utility.c
+++ VPNClient/vpnc/src/utility.c
@@ -48,12 +48,12 @@
#include