|
|
5dc08fc |
diff -Naur aprsd-2.2.5-15/aprsd.spec aprsd-compile/aprsd.spec
|
|
|
5dc08fc |
--- aprsd-2.2.5-15/aprsd.spec 1970-01-01 02:00:00.000000000 +0200
|
|
|
5dc08fc |
+++ aprsd-compile/aprsd.spec 2008-02-21 19:21:49.000000000 +0200
|
|
|
5dc08fc |
@@ -0,0 +1,62 @@
|
|
|
5dc08fc |
+%define rel 15
|
|
|
5dc08fc |
+Name: aprsd
|
|
|
5dc08fc |
+Summary: aprsd is a server daemon that provides Internet gateway and client access to amateur radio APRS packet data.
|
|
|
5dc08fc |
+Version: 2.2.5
|
|
|
5dc08fc |
+Release: %{rel}.1%{?dist}
|
|
|
5dc08fc |
+Group: Applications/Internet
|
|
|
5dc08fc |
+License: GPLv2+
|
|
|
5dc08fc |
+Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}-%{rel}.tar.gz
|
|
|
5dc08fc |
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
5dc08fc |
+URL: http://aprsd.sourceforge.net/
|
|
|
5dc08fc |
+
|
|
|
5dc08fc |
+BuildRequires: gettext
|
|
|
5dc08fc |
+
|
|
|
5dc08fc |
+%description
|
|
|
5dc08fc |
+APRSd is an APRS server program that uses amateur radio and internet#
|
|
|
5dc08fc |
+services to convey GPS mapping, weather, and positional data.
|
|
|
5dc08fc |
+It has been developed by and for amateur radio enthusiasts to provide
|
|
|
5dc08fc |
+real-time data in an easy to use package.
|
|
|
5dc08fc |
+
|
|
|
5dc08fc |
+%prep
|
|
|
5dc08fc |
+%setup -q -n %{name}-%{version}-%{rel}
|
|
|
5dc08fc |
+
|
|
|
5dc08fc |
+%build
|
|
|
5dc08fc |
+%configure
|
|
|
5dc08fc |
+make %{?_smp_mflags}
|
|
|
5dc08fc |
+
|
|
|
5dc08fc |
+%install
|
|
|
5dc08fc |
+rm -rf %{buildroot}
|
|
|
5dc08fc |
+make install DESTDIR="%{buildroot}"
|
|
|
5dc08fc |
+find %{buildroot} -name \*\.la -print | xargs rm -f
|
|
|
5dc08fc |
+%find_lang %{name}
|
|
|
5dc08fc |
+
|
|
|
5dc08fc |
+%clean
|
|
|
5dc08fc |
+rm -rf %{buildroot}
|
|
|
5dc08fc |
+
|
|
|
5dc08fc |
+%post
|
|
|
5dc08fc |
+/sbin/ldconfig
|
|
|
5dc08fc |
+
|
|
|
5dc08fc |
+%preun
|
|
|
5dc08fc |
+/sbin/ldconfig
|
|
|
5dc08fc |
+
|
|
|
5dc08fc |
+%postun -p /sbin/ldconfig
|
|
|
5dc08fc |
+
|
|
|
5dc08fc |
+%files -f %{name}.lang
|
|
|
5dc08fc |
+%defattr(-,root,root,-)
|
|
|
5dc08fc |
+%{_datadir}/evolution/*/images/spam.gif
|
|
|
5dc08fc |
+%{_datadir}/evolution/*/images/nspam.gif
|
|
|
5dc08fc |
+%{_sysconfdir}/gconf/schemas/rspam.schemas
|
|
|
5dc08fc |
+%{_datadir}/evolution/*/errors/org-gnome-sa-rspam.error
|
|
|
5dc08fc |
+%{_libdir}/evolution/*/plugins/org-gnome-sa-rspam.eplug
|
|
|
5dc08fc |
+%{_libdir}/evolution/*/plugins/liborg-gnome-sa-rspam.so
|
|
|
5dc08fc |
+%doc AUTHORS
|
|
|
5dc08fc |
+%doc COPYING
|
|
|
5dc08fc |
+%doc ChangeLog
|
|
|
5dc08fc |
+%doc NEWS
|
|
|
5dc08fc |
+%doc README
|
|
|
5dc08fc |
+%doc TODO
|
|
|
5dc08fc |
+
|
|
|
5dc08fc |
+%changelog
|
|
|
5dc08fc |
+* Thu Feb 21 2008 Lucian Langa <cooly@gnome.eu.org> - 2.2.5-15-1
|
|
|
5dc08fc |
+- Initial spec file created
|
|
|
5dc08fc |
+
|
|
|
5dc08fc |
diff -Naur aprsd-2.2.5-15/src/aprsd.cpp aprsd-compile/src/aprsd.cpp
|
|
|
5dc08fc |
--- aprsd-2.2.5-15/src/aprsd.cpp 2003-05-29 06:09:39.000000000 +0300
|
|
|
5dc08fc |
+++ aprsd-compile/src/aprsd.cpp 2008-02-21 19:36:31.000000000 +0200
|
|
|
5dc08fc |
@@ -53,13 +53,14 @@
|
|
|
5dc08fc |
|
|
|
5dc08fc |
#include <fstream>
|
|
|
5dc08fc |
#include <iostream>
|
|
|
5dc08fc |
-#include <strstream>
|
|
|
5dc08fc |
+//#include <strstream>
|
|
|
5dc08fc |
#include <iomanip>
|
|
|
5dc08fc |
#include <sstream>
|
|
|
5dc08fc |
|
|
|
5dc08fc |
#ifdef linux
|
|
|
5dc08fc |
#include <linux/kernel.h>
|
|
|
5dc08fc |
-#include <linux/sys.h>
|
|
|
5dc08fc |
+//#include <linux/sys.h>
|
|
|
5dc08fc |
+//#include <iostream.h>
|
|
|
5dc08fc |
#endif
|
|
|
5dc08fc |
#include <sys/resource.h>
|
|
|
5dc08fc |
|
|
|
5dc08fc |
diff -Naur aprsd-2.2.5-15/src/aprsString.h aprsd-compile/src/aprsString.h
|
|
|
5dc08fc |
--- aprsd-2.2.5-15/src/aprsString.h 2003-10-01 19:58:27.000000000 +0300
|
|
|
5dc08fc |
+++ aprsd-compile/src/aprsString.h 2008-02-21 19:37:40.000000000 +0200
|
|
|
5dc08fc |
@@ -196,7 +196,7 @@
|
|
|
5dc08fc |
void parseLogon(void);
|
|
|
5dc08fc |
bool parseCommand(void);
|
|
|
5dc08fc |
bool parsePortFilter(void);
|
|
|
5dc08fc |
- void aprsString::getMsgText(string& msg);
|
|
|
5dc08fc |
+ void getMsgText(string& msg);
|
|
|
5dc08fc |
void print(ostream& os);
|
|
|
5dc08fc |
string getAX25Source(void);
|
|
|
5dc08fc |
string getAX25Dest(void);
|
|
|
5dc08fc |
diff -Naur aprsd-2.2.5-15/src/servers.cpp aprsd-compile/src/servers.cpp
|
|
|
5dc08fc |
--- aprsd-2.2.5-15/src/servers.cpp 2003-10-01 19:58:27.000000000 +0300
|
|
|
5dc08fc |
+++ aprsd-compile/src/servers.cpp 2008-02-22 08:01:57.000000000 +0200
|
|
|
5dc08fc |
@@ -46,7 +46,7 @@
|
|
|
5dc08fc |
|
|
|
5dc08fc |
#ifdef linux
|
|
|
5dc08fc |
#include <linux/kernel.h>
|
|
|
5dc08fc |
-#include <linux/sys.h>
|
|
|
5dc08fc |
+//#include <linux/sys.h>
|
|
|
5dc08fc |
#endif
|
|
|
5dc08fc |
#include <sys/resource.h>
|
|
|
5dc08fc |
|
|
|
5dc08fc |
@@ -3277,7 +3277,7 @@
|
|
|
5dc08fc |
|
|
|
5dc08fc |
//----------------------------------------------------------------------
|
|
|
5dc08fc |
|
|
|
5dc08fc |
-inline string convertUpTime(int dTime)
|
|
|
5dc08fc |
+string convertUpTime(int dTime)
|
|
|
5dc08fc |
{
|
|
|
5dc08fc |
std::ostringstream ostr;
|
|
|
5dc08fc |
int x;
|