rpms/node/F-8 node-0.3.2-conf.patch, NONE, 1.1 node-0.3.2-install.patch, NONE, 1.1 node-0.3.2-rose.patch, NONE, 1.1 node.spec, NONE, 1.1 node.xinetd, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Lucian Langa (lucilanga)
fedora-extras-commits at redhat.com
Sun Aug 10 07:34:47 UTC 2008
- Previous message (by thread): rpms/fusecompress/devel .cvsignore, 1.4, 1.5 fusecompress.spec, 1.6, 1.7 sources, 1.4, 1.5
- Next message (by thread): rpms/mars-sim/EL-5 import.log, NONE, 1.1 mars-sim, NONE, 1.1 mars-sim-2.84-java15.patch, NONE, 1.1 mars-sim-2.84-jfreegraph.patch, NONE, 1.1 mars-sim-2.84-manifest.patch, NONE, 1.1 mars-sim-2.84-paths.patch, NONE, 1.1 mars-sim-strip.sh, NONE, 1.1 mars-sim.desktop, NONE, 1.1 mars-sim.png, NONE, 1.1 mars-sim.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: lucilanga
Update of /cvs/pkgs/rpms/node/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9363
Modified Files:
.cvsignore sources
Added Files:
node-0.3.2-conf.patch node-0.3.2-install.patch
node-0.3.2-rose.patch node.spec node.xinetd
Log Message:
initial import
node-0.3.2-conf.patch:
--- NEW FILE node-0.3.2-conf.patch ---
--- node-0.3.2/configure 2003-03-06 20:36:50.000000000 +0200
+++ node-0.3.2-mod/configure 2008-06-16 08:23:32.000000000 +0300
@@ -43,29 +43,13 @@
# Global protocol definition symbols for programmers that want to conditionally
# compile
- HAVEAX25="#undef"
- HAVENETROM="#undef"
- HAVEROSE="#undef"
-
- echo -n "Include support for the AX.25 protocol ? [Y/n]: "; read answer
- if [ "$answer" = "Y" -o "$answer" = "y" -o "$answer" = "" ]
- then
- HAVEAX25="#define"
- fi
- #
- echo -n "Include support for the NetRom protocol ? [Y/n]: "; read answer
- if [ "$answer" = "Y" -o "$answer" = "y" -o "$answer" = "" ]
- then
- HAVEAX25="#define"
- HAVENETROM="#define"
- fi
- #
- echo -n "Include support for the Rose protocol ? [Y/n]: "; read answer
- if [ "$answer" = "Y" -o "$answer" = "y" -o "$answer" = "" ]
- then
- HAVEAX25="#define"
- HAVEROSE="#define"
- fi
+# HAVEAX25="#undef"
+# HAVENETROM="#undef"
+# HAVEROSE="#undef"
+
+ HAVEAX25="#define"
+ HAVENETROM="#define"
+ HAVEROSE="#define"
echo "Creating Makefile.include"
node-0.3.2-install.patch:
--- NEW FILE node-0.3.2-install.patch ---
--- node-0.3.2/Makefile 2003-08-23 17:27:27.000000000 +0300
+++ node-0.3.2-mod/Makefile 2008-06-16 12:25:07.000000000 +0300
@@ -21,30 +21,30 @@
$(CC) $(CFLAGS) -c $<
install: installbin installman installhelp
- install -m 755 -o root -g root -d $(VAR_DIR)/node
- install -m 644 -o root -g root etc/loggedin $(VAR_DIR)/node
+ install -m 755 -d $(VAR_DIR)/node
+ install -m 644 etc/loggedin $(VAR_DIR)/node
@rm -f /usr/bin/node
@rm -f /usr/bin/nodeusers
installbin: all
- install -m 4755 -s -o root -g root node $(SBIN_DIR)
- install -m 755 -s -o root -g root nodeusers $(SBIN_DIR)
+ install -m 755 node $(SBIN_DIR)
+ install -m 755 nodeusers $(SBIN_DIR)
installhelp:
- install -m 755 -o root -g root -d $(LIB_DIR)/ax25/node/help
- install -m 644 -o root -g root etc/help/*.hlp $(LIB_DIR)/ax25/node/help
+ install -m 755 -d $(LIB_DIR)/ax25/node/help
+ install -m 644 etc/help/*.hlp $(LIB_DIR)/ax25/node/help
installconf: installhelp
- install -m 755 -o root -g root -d $(ETC_DIR)
- install -m 600 -o root -g root etc/node.conf $(ETC_DIR)
- install -m 600 -o root -g root etc/node.perms $(ETC_DIR)
- install -m 600 -o root -g root etc/node.motd $(ETC_DIR)
+ install -m 755 -d $(ETC_DIR)
+ install -m 600 etc/node.conf $(ETC_DIR)
+ install -m 600 etc/node.perms $(ETC_DIR)
+ install -m 600 etc/node.motd $(ETC_DIR)
installman:
- install -m 644 -o bin -g bin man/nodeusers.1 $(MAN_DIR)/man1
- install -m 644 -o bin -g bin man/node.conf.5 $(MAN_DIR)/man5
- install -m 644 -o bin -g bin man/node.perms.5 $(MAN_DIR)/man5
- install -m 644 -o bin -g bin man/node.8 $(MAN_DIR)/man8
+ install -m 644 man/nodeusers.1 $(MAN_DIR)/man1
+ install -m 644 man/node.conf.5 $(MAN_DIR)/man5
+ install -m 644 man/node.perms.5 $(MAN_DIR)/man5
+ install -m 644 man/node.8 $(MAN_DIR)/man8
clean:
rm -f *.o *~ *.bak *.orig
node-0.3.2-rose.patch:
--- NEW FILE node-0.3.2-rose.patch ---
--- node-0.3.2/node.c 2003-08-24 22:13:06.000000000 +0300
+++ node-0.3.2-mod/node.c 2008-06-16 10:58:26.000000000 +0300
@@ -14,6 +14,7 @@
#include <netax25/nrconfig.h>
#include <netax25/rsconfig.h>
#include <netax25/procutils.h>
+#include <netax25/kernel_rose.h>
#include "node.h"
@@ -87,7 +88,7 @@
{
union {
struct full_sockaddr_ax25 sax;
- struct sockaddr_rose srose;
+ struct full_sockaddr_rose srose;
struct sockaddr_in sin;
} saddr;
int slen = sizeof(saddr);
--- NEW FILE node.spec ---
Name: node
Version: 0.3.2
Release: 4%{?dist}
Summary: Simple node front end, modelled after the node shells of TheNet and G8BPQ nodes
Group: Applications/Communications
License: GPLv2+
URL: ftp://ftp.hes.iki.fi/pub/ham/linux/ax25/
Source0: ftp://ftp.hes.iki.fi/pub/ham/linux/ax25/%{name}-%{version}.tar.gz
Source1: node.xinetd
Patch0: node-0.3.2-conf.patch
Patch1: node-0.3.2-rose.patch
Patch2: node-0.3.2-install.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: /sbin/service
Requires: xinetd
BuildRequires: zlib-devel
BuildRequires: libax25-devel
%description
This is a simple node frontend for Linux kernel AX.25, NETROM,
ROSE and TCP. It's based on pms.c by Alan Cox (GW4PTS) but has been
heavily modified since.
%prep
%setup -q
%patch0 -p1 -b .conf
%patch1 -p1 -b .rose
%patch2 -p1 -b .install
%build
#this is no standard configure file just a custom script to setup things
sh configure
# populate CFLAGS,
# which is internal build variable to accomodate Fedora opt flags
make %{?_smp_mflags} -e CFLAGS="%{optflags}"
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_sbindir}
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/ax25
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man{1,5,8}
make ETC_DIR=$RPM_BUILD_ROOT%{_sysconfdir}/ax25 SBIN_DIR=$RPM_BUILD_ROOT%{_sbindir} LIB_DIR=$RPM_BUILD_ROOT%{_datadir} MAN_DIR=$RPM_BUILD_ROOT%{_mandir} VAR_DIR=$RPM_BUILD_ROOT%{_localstatedir}/lib/ax25 install installconf
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d
install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d/node
%clean
rm -rf $RPM_BUILD_ROOT
%post
[ -f /var/lock/subsys/xinetd ] && /sbin/service xinetd reload > /dev/null 2>&1 || :
%postun
[ -f /var/lock/subsys/xinetd ] && /sbin/service xinetd reload > /dev/null 2>&1 || :
%files
%defattr(-,root,root,-)
%{_sbindir}/node
%{_sbindir}/nodeusers
%{_mandir}/man1/node*
%{_mandir}/man5/node*
%{_mandir}/man8/node*
%{_datadir}/ax25/node/help/*
%{_localstatedir}/lib/ax25/node/loggedin
%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/xinetd.d/node
%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/ax25/node.conf
%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/ax25/node.motd
%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/ax25/node.perms
%doc AUTHORS COPYING HISTORY README
%changelog
* Mon Jun 23 2008 Lucian Langa <cooly at gnome.eu.org> - 0.3.2-4
- added fedora's compiler flags
- licence fix
* Mon Jun 23 2008 Lucian Langa <cooly at gnome.eu.org> - 0.3.2-3
- Fixed description
- change var/ax25 -> var/lib/ax25
* Wed Jun 18 2008 Lucian Langa <cooly at gnome.eu.org> - 0.3.2-2
- Added xinetd config file
* Mon Jun 16 2008 Lucian Langa <cooly at gnome.eu.org> - 0.3.2-1
- Initial spec file
--- NEW FILE node.xinetd ---
# default: off
service node
{
socket_type = stream
protocol = tcp
user = root
wait = no
server = /usr/sbin/node
disable = no
}
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/node/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 10 Aug 2008 01:32:55 -0000 1.1
+++ .cvsignore 10 Aug 2008 07:34:17 -0000 1.2
@@ -0,0 +1 @@
+node-0.3.2.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/node/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 10 Aug 2008 01:32:55 -0000 1.1
+++ sources 10 Aug 2008 07:34:17 -0000 1.2
@@ -0,0 +1 @@
+e458f3d8d75fd364f7841a296e0a4eae node-0.3.2.tar.gz
- Previous message (by thread): rpms/fusecompress/devel .cvsignore, 1.4, 1.5 fusecompress.spec, 1.6, 1.7 sources, 1.4, 1.5
- Next message (by thread): rpms/mars-sim/EL-5 import.log, NONE, 1.1 mars-sim, NONE, 1.1 mars-sim-2.84-java15.patch, NONE, 1.1 mars-sim-2.84-jfreegraph.patch, NONE, 1.1 mars-sim-2.84-manifest.patch, NONE, 1.1 mars-sim-2.84-paths.patch, NONE, 1.1 mars-sim-strip.sh, NONE, 1.1 mars-sim.desktop, NONE, 1.1 mars-sim.png, NONE, 1.1 mars-sim.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list