]> git.pld-linux.org Git - packages/docsis.git/commitdiff
- updated to 0.9.6 master auto/th/docsis-0.9.6-1
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 6 Oct 2020 15:13:13 +0000 (17:13 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Tue, 6 Oct 2020 15:13:13 +0000 (17:13 +0200)
- updated link patch
- removed obsolete gnu-m4-detect patch
- added no-common patch to fix build with -fno-common (gcc 10 default)

docsis-gnu-m4-detect.patch [deleted file]
docsis-link.patch
docsis-no-common.patch [new file with mode: 0644]
docsis.spec

diff --git a/docsis-gnu-m4-detect.patch b/docsis-gnu-m4-detect.patch
deleted file mode 100644 (file)
index a66b20b..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- docsis-0.9.5/configure.in~ 2007-09-22 00:55:03.862858273 +0200
-+++ docsis-0.9.5/configure.in  2007-09-22 00:58:30.177668639 +0200
-@@ -16,7 +16,7 @@
-   AC_MSG_ERROR([M4 is required])
- else
-   ac_m4_vers=`$M4 --version 2>/dev/null | head -1` ;
--  ac_is_gnu_m4=`echo $ac_m4_vers | cut -d' ' -f1`;
-+  ac_is_gnu_m4=`echo $ac_m4_vers | grep -q GNU && echo GNU` ;
-   if test "x$ac_is_gnu_m4" = "xGNU"; then
-       AC_MSG_RESULT([   found $ac_m4_vers at $M4 ])
-   else
index cbac01c4966c99f116259fc7752b2335f7b035c6..49046dfbd1aa30c09e6e3ab8678118cf8a59972f 100644 (file)
@@ -1,15 +1,11 @@
-diff -u b.docsis-0.9.5/configure.in n.docsis-0.9.5/configure.in
---- b.docsis-0.9.5/configure.in        2005-07-06 01:53:18.000000000 +0200
-+++ n.docsis-0.9.5/configure.in        2008-09-25 15:54:05.804556120 +0200
-@@ -10,6 +10,7 @@
+--- docsis-0.9.6/configure.in.orig     2020-10-06 17:01:31.477677619 +0200
++++ docsis-0.9.6/configure.in  2020-10-06 17:03:55.176899134 +0200
+@@ -8,7 +8,7 @@
+ dnl AC_PROG_YACC
  AC_PROG_LEX
  
- AC_CHECK_LIB(resolv, inet_aton)
-+AC_CHECK_LIB(m, trunc)
+-AC_CHECK_LIB(resolv, inet_aton)
++AC_SEARCH_LIBS(inet_aton, resolv)
+ AC_CHECK_LIBM
+ AC_SUBST(LIBM)
  
- AC_PATH_PROGS([M4], [gm4 gnum4 m4], [notfound],[/usr/local/bin:/usr/freeware/bin:/usr/gnu/bin:${prefix}/bin:${exec_prefix}/bin:$PATH] )
- if test "x$M4" = "xnotfound"; then
-Common subdirectories: b.docsis-0.9.5/doc and n.docsis-0.9.5/doc
-Common subdirectories: b.docsis-0.9.5/examples and n.docsis-0.9.5/examples
-Common subdirectories: b.docsis-0.9.5/mibs and n.docsis-0.9.5/mibs
-Common subdirectories: b.docsis-0.9.5/src and n.docsis-0.9.5/src
diff --git a/docsis-no-common.patch b/docsis-no-common.patch
new file mode 100644 (file)
index 0000000..83596d5
--- /dev/null
@@ -0,0 +1,27 @@
+--- docsis-0.9.6/src/docsis_globals.h.orig     2010-05-27 00:00:09.000000000 +0200
++++ docsis-0.9.6/src/docsis_globals.h  2020-10-06 17:08:17.658810480 +0200
+@@ -23,8 +23,8 @@
+ #ifndef _DOCSIS_GLOBALS_H
+ #define _DOCSIS_GLOBALS_H
+-char prog_name[255];
+-struct tlv *global_tlvtree_head;
+-symbol_type *global_symtable;
++extern char prog_name[255];
++extern struct tlv *global_tlvtree_head;
++extern symbol_type *global_symtable;
+ #endif /* _DOCSIS_GLOBALS_H */
+--- docsis-0.9.6/src/docsis.c.orig     2010-06-11 18:32:30.000000000 +0200
++++ docsis-0.9.6/src/docsis.c  2020-10-06 17:10:41.491364606 +0200
+@@ -44,6 +44,10 @@
+ extern unsigned int line;     /* defined in docsis_lex.l */
++char prog_name[255];
++struct tlv *global_tlvtree_head;
++symbol_type *global_symtable;
++
+ static void setup_mib_flags(void);
+ static unsigned int
index 4b5280a8699d356ce4c5f1a675ed6722ed84245b..be5162b4831bb4fd554abaef7ad27febb07c820f 100644 (file)
@@ -1,22 +1,24 @@
 Summary:       DOCSIS RFI 1.1 Encoding Configuration File Settings into binary configuration files
 Summary(pl.UTF-8):     Kodowanie ustawieÅ„ konfiguracyjnych w plikach binarnych wg DOCSIS RFI 1.1
 Name:          docsis
-Version:       0.9.5
-Release:       8
+Version:       0.9.6
+Release:       1
 License:       GPL v2
 Group:         Applications
-Source0:       http://dl.sourceforge.net/docsis/%{name}-%{version}.tar.gz
-# Source0-md5: 2b89cf254a5eb07b0ee8b6331238ea96
-Patch0:                %{name}-gnu-m4-detect.patch
-Patch1:                %{name}-link.patch
+Source0:       http://downloads.sourceforge.net/docsis/%{name}-%{version}.tar.bz2
+# Source0-md5: fd431046f04b10fe8e46c4dd1c178b58
+Patch0:                %{name}-link.patch
+Patch1:                %{name}-no-common.patch
 URL:           http://docsis.sourceforge.net/
 BuildRequires: autoconf
-BuildRequires: automake
-BuildRequires: bison
+BuildRequires: automake >= 1:1.8
+BuildRequires: bison >= 1.28
 BuildRequires: flex
 BuildRequires: libtool
-BuildRequires: net-snmp-devel
-Requires:      mibs-%{name}
+BuildRequires: m4
+BuildRequires: net-snmp-devel >= 5.0.7
+Requires:      mibs-%{name} = %{version}-%{release}
+Requires:      net-snmp-libs >= 5.0.7
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -29,12 +31,16 @@ konfiguracyjnych zgodnie z DOCSIS RFI 1.1.
 
 %package -n mibs-%{name}
 Summary:       MIBs from DOCSIS
+Summary(pl.UTF-8):     MIB-y z DOCSIS
 Group:         Base
 Requires:      mibs-dirs
 Requires:      mibs-net-snmp
 
 %description -n mibs-%{name}
-MIBs (Management Information Base) from DOCSIS.
+MIB (Management Information Base) files from DOCSIS.
+
+%description -n mibs-%{name} -l pl.UTF-8
+Pliki MIB (Management Information Base) z DOCSIS.
 
 %prep
 %setup -q
@@ -45,8 +51,8 @@ MIBs (Management Information Base) from DOCSIS.
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
-%{__automake}
 %{__autoheader}
+%{__automake}
 %configure
 %{__make}
 
@@ -68,4 +74,22 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -n mibs-%{name}
 %defattr(644,root,root,755)
-%{_datadir}/mibs/*
+%{_datadir}/mibs/CLAB-DEF-MIB
+%{_datadir}/mibs/DIFFSERV-DSCP-TC
+%{_datadir}/mibs/DIFFSERV-MIB
+%{_datadir}/mibs/DOCS-BPI-MIB
+%{_datadir}/mibs/DOCS-BPI2-MIB
+%{_datadir}/mibs/DOCS-CABLE-DEVICE-MIB
+%{_datadir}/mibs/DOCS-CABLE-DEVICE-TRAP-MIB
+%{_datadir}/mibs/DOCS-IF-EXT-MIB
+%{_datadir}/mibs/DOCS-IF-MIB
+%{_datadir}/mibs/DOCS-QOS-MIB
+%{_datadir}/mibs/DOCS-SUBMGT-MIB
+%{_datadir}/mibs/IGMP-STD-MIB
+%{_datadir}/mibs/INTEGRATED-SERVICES-MIB
+%{_datadir}/mibs/PKTC-EVENT-MIB
+%{_datadir}/mibs/PKTC-IETF-SIG-MIB
+%{_datadir}/mibs/PKTC-MTA-MIB
+%{_datadir}/mibs/PKTC-SIG-MIB
+%{_datadir}/mibs/RMON2-MIB
+%{_datadir}/mibs/TOKEN-RING-RMON-MIB
This page took 0.082627 seconds and 4 git commands to generate.