rpms/stun/F-9 import.log, NONE, 1.1 patch0.diff, NONE, 1.1 stun.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Itamar Reis Peixoto itamarjp at fedoraproject.org
Wed Dec 24 19:46:11 UTC 2008


Author: itamarjp

Update of /cvs/pkgs/rpms/stun/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17658/F-9

Modified Files:
	.cvsignore sources 
Added Files:
	import.log patch0.diff stun.spec 
Log Message:
Initial RPM release



--- NEW FILE import.log ---
stun-0_96-2_fc8:F-9:stun-0.96-2.fc8.src.rpm:1230147528

patch0.diff:

--- NEW FILE patch0.diff ---
--- stun.cxx	2005-08-14 06:09:03.000000000 +0530
+++ stun.cxx.huzaifas	2008-04-09 15:11:29.000000000 +0530
@@ -669,16 +669,16 @@
       tick = hightick;
       tick <<= 32;
       tick |= lowtick;
-#elif defined(__GNUC__) && ( defined(__i686__) || defined(__i386__) )
+#elif defined(__GNUC__) && ( defined(__i686__) || defined(__i386__) || defined(__x86_64__)  )
       asm("rdtsc" : "=A" (tick));
-#elif defined (__SUNPRO_CC) || defined( __sparc__ )	
+#elif defined (__SUNPRO_CC) || defined( __sparc__ )
       tick = gethrtime();
 #elif defined(__MACH__) 
       int fd=open("/dev/random",O_RDONLY);
       read(fd,&tick,sizeof(tick));
       closesocket(fd);
 #else
-#     error Need some way to seed the random number generator 
+/* #     error Need some way to seed the random number generator */
 #endif 
       int seed = int(tick);
 #ifdef WIN32


--- NEW FILE stun.spec ---
%define	download_name	stund
%define download_version	_0.96_Aug13.tgz

Name:		stun
Version:	0.96    
Release:	2%{?dist}
Summary:	Implements a simple Stun Client
Group:		Applications/Communications
License:	Vovida Software License 1.0
URL:		http://sourceforge.net/projects/%{name}
Source0:	http://downloads.sourceforge.net/%{name}/%{download_name}%{download_version}
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Patch0:		patch0.diff

%description
Implements a simple STUN client on Windows, Linux, and Solaris. 
The STUN protocol (Simple Traversal of UDP through NATs) is described in the 
IETF RFC 3489, available at http://www.ietf.org/rfc/rfc3489.txt

%package server
Summary:	Implements the Stun Server
Group:		Applications/Communications

%description server
Implements a simple STUN client on Windows, Linux, and Solaris.           
The STUN protocol (Simple Traversal of UDP through NATs) is described in the
IETF RFC 3489, available at http://www.ietf.org/rfc/rfc3489.txt


%prep
%setup -q  -n %{download_name}
%patch0 -p0

%build
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT

mkdir -p $RPM_BUILD_ROOT%{_bindir}
mkdir -p $RPM_BUILD_ROOT%{_sbindir}
install   client $RPM_BUILD_ROOT%{_bindir}/stun-client
install   server $RPM_BUILD_ROOT%{_sbindir}/stun-server



%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc rfc3489.txt
%{_bindir}/stun-client

%files server
%{_sbindir}/stun-server




%changelog
* Wed Apr 9 2008 Huzaifa Sidhpurwala <huzaifas at redhat.com> - 0.96-2
- Patched for ppc and x86_64

* Mon Jan 21 2008 Huzaifa Sidhpurwala <huzaifas at redhat.com> - 0.96-1
- Used correct macros

* Mon Jan 21 2008 Huzaifa Sidhpurwala <huzaifas at redhat.com> - 0.96-0
- Initial version



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/stun/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	30 Sep 2008 04:33:00 -0000	1.1
+++ .cvsignore	24 Dec 2008 19:45:41 -0000	1.2
@@ -0,0 +1 @@
+stund_0.96_Aug13.tgz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/stun/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	30 Sep 2008 04:33:00 -0000	1.1
+++ sources	24 Dec 2008 19:45:41 -0000	1.2
@@ -0,0 +1 @@
+af23f5f19ed059269f0e29745353a069  stund_0.96_Aug13.tgz




More information about the fedora-extras-commits mailing list