OBS User unknown 2007-01-15 23:23:16 +00:00 committed by Git OBS Bridge
commit 3b2d32819e
7 changed files with 353 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,23 @@
--- lib/snprintf.h
+++ lib/snprintf.h
@@ -45,12 +45,20 @@
extern int vsnprintf (char *str, size_t sz, const char *format, va_list args);
#endif
+#ifndef HAVE_ASPRINTF
extern int asprintf (char **ret, const char *format, ...);
+#endif
+#ifndef HAVE_ASNPRINTF
extern int asnprintf (char **ret, size_t max_sz, const char *format, ...);
+#endif
+#ifndef HAVE_VASPRINTF
extern int vasprintf (char **ret, const char *format, va_list args);
+#endif
+#ifndef HAVE_VSNPRINTF
extern int vasnprintf (char **ret, size_t max_sz, const char *format,
va_list args);
+#endif

3
libsmi-0.4.5.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ba37e8b2951000bb105abb7326bb92188311d25e19b7eadaa3fe4cceff6d4f5f
size 2565350

134
libsmi.changes Normal file
View File

@ -0,0 +1,134 @@
-------------------------------------------------------------------
Wed Oct 18 13:44:05 CEST 2006 - mjancar@suse.cz
- update to 0.4.5
* bugfixes
* new MIBs
- drop libsmi-0.4.5-sysconf.diff, included upstream
-------------------------------------------------------------------
Wed Jan 25 21:37:44 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Mon Jun 13 15:38:06 CEST 2005 - ro@suse.de
- do not redefine vsnprintf
-------------------------------------------------------------------
Thu Feb 24 20:27:15 CET 2005 - mjancar@suse.cz
- update to 0.4.3
-------------------------------------------------------------------
Fri Feb 27 09:17:45 CET 2004 - mjancar@suse.cz
- update to 0.4.2
-------------------------------------------------------------------
Sat Jan 10 14:10:49 CET 2004 - adrian@suse.de
- build as user
-------------------------------------------------------------------
Thu Jul 31 17:53:52 CEST 2003 - mjancar@suse.cz
- use %run_ldconfig
-------------------------------------------------------------------
Thu May 29 14:48:07 CEST 2003 - mjancar@suse.cz
- update to 0.4.1
-------------------------------------------------------------------
Wed May 28 11:16:32 CEST 2003 - coolo@suse.de
- add the aclocal macro file to the devel package
-------------------------------------------------------------------
Fri May 9 14:01:33 CEST 2003 - ro@suse.de
- do a full autoreconf
-------------------------------------------------------------------
Tue Jan 29 08:56:18 CET 2002 - cihlar@suse.cz
- use %{_libdir}
-------------------------------------------------------------------
Mon Nov 26 11:07:35 CET 2001 - cihlar@suse.cz
- update to version 0.3.0:
* many fixes
* added several files to mibs/... by new RFCs
- devel subpackage created
-------------------------------------------------------------------
Mon Nov 12 11:09:42 CET 2001 - cihlar@suse.cz
- fixed installation with new automake
-------------------------------------------------------------------
Wed Jun 6 09:55:18 CEST 2001 - cihlar@suse.cz
- fixed to compile with new libtool
-------------------------------------------------------------------
Tue Apr 17 08:15:51 CEST 2001 - cihlar@suse.cz
- update to version 0.2.16
-------------------------------------------------------------------
Wed Mar 7 14:07:12 CET 2001 - cihlar@suse.cz
- update to version 0.2.14
-------------------------------------------------------------------
Tue Feb 27 08:36:11 CET 2001 - cihlar@suse.cz
- update to version 0.2.13
- compile with --enable-smi and --enable-sming
-------------------------------------------------------------------
Sun Dec 3 15:07:12 CET 2000 - smid@suse.cz
- new version 0.2.11
-------------------------------------------------------------------
Wed Oct 11 11:21:29 CEST 2000 - smid@suse.cz
- new version 0.2.6
-------------------------------------------------------------------
Thu Jun 8 08:56:33 MEST 2000 - cihlar@suse.cz
- fixed License tag
- added %clean
-------------------------------------------------------------------
Fri Apr 21 12:59:01 CEST 2000 - smid@suse.cz
- upgrade to 0.2.0
- buildroot added
-------------------------------------------------------------------
Sat Apr 8 22:52:58 CEST 2000 - bk@suse.de
- added suse update config macro
-------------------------------------------------------------------
Thu Mar 2 15:35:38 CET 2000 - uli@suse.de
- moved man pages to %{_mandir}
-------------------------------------------------------------------
Mon Oct 25 18:41:03 MEST 1999 - uli@suse.de
- update -> 0.1.7
-------------------------------------------------------------------
Mon Sep 27 16:03:23 MEST 1999 - uli@suse.de
- new package, version 0.1.6

169
libsmi.spec Normal file
View File

@ -0,0 +1,169 @@
#
# spec file for package libsmi (Version 0.4.5)
#
# Copyright (c) 2006 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.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: libsmi
BuildRequires: wget
Version: 0.4.5
Release: 1
Autoreqprov: on
Group: System/Libraries
License: Other License(s), see package
URL: http://www.ibr.cs.tu-bs.de/projects/libsmi
Summary: A Library to Access SMI MIB Information
Source: %{name}-%{version}.tar.bz2
Patch0: %{name}-%{version}-no_redef.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The purpose of libsmi is to
* Give network management applications a concise programmer-friendly
interface to access MIB module information
* Separate the knowledge on SMI from the main parts of management
applications
* Allow addition of new kinds of MIB repositories without the need to
adapt applications that make use of libsmi
Authors:
--------
Frank Strauss <strauss@ibr.cs.tu-bs.de>
%package devel
Summary: libsmi header files and static libraries
Group: Development/Libraries/C and C++
Requires: libsmi glibc-devel
%description devel
This package contains the header files and static libraries of package
libsmi.
Authors:
--------
Frank Strauss <strauss@ibr.cs.tu-bs.de>
%prep
%setup -q
%patch0
%build
libtoolize --force
autoreconf --force --install
CFLAGS="$RPM_OPT_FLAGS -Wall" \
CXXFLAGS="$RPM_OPT_FLAGS -Wall -fmessage-length=0" \
./configure \
--mandir=%{_mandir} \
--prefix=%{_prefix} \
--sysconfdir=%{_sysconfdir} \
--libdir=%{_libdir} \
--infodir=%{_infodir} \
--enable-smi \
--enable-sming \
--with-mibdir=%{_datadir}/mibs
make
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
%post
%{run_ldconfig}
%postun
%{run_ldconfig}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc ANNOUNCE COPYING ChangeLog README THANKS TODO doc/*.txt
%doc %{_mandir}/man?/*
%{_libdir}/libsmi.so.*
%{_bindir}/*
%{_datadir}/mibs
%{_datadir}/pibs
%files devel
%defattr(-, root, root)
%{_includedir}/*
%{_libdir}/libsmi.a
%{_libdir}/libsmi.la
%{_libdir}/libsmi.so
%{_libdir}/pkgconfig/libsmi.pc
%{_datadir}/aclocal/libsmi.m4
%changelog -n libsmi
* Wed Oct 18 2006 - mjancar@suse.cz
- update to 0.4.5
* bugfixes
* new MIBs
- drop libsmi-0.4.5-sysconf.diff, included upstream
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Jun 13 2005 - ro@suse.de
- do not redefine vsnprintf
* Thu Feb 24 2005 - mjancar@suse.cz
- update to 0.4.3
* Fri Feb 27 2004 - mjancar@suse.cz
- update to 0.4.2
* Sat Jan 10 2004 - adrian@suse.de
- build as user
* Thu Jul 31 2003 - mjancar@suse.cz
- use %%run_ldconfig
* Thu May 29 2003 - mjancar@suse.cz
- update to 0.4.1
* Wed May 28 2003 - coolo@suse.de
- add the aclocal macro file to the devel package
* Fri May 09 2003 - ro@suse.de
- do a full autoreconf
* Tue Jan 29 2002 - cihlar@suse.cz
- use %%{_libdir}
* Mon Nov 26 2001 - cihlar@suse.cz
- update to version 0.3.0:
* many fixes
* added several files to mibs/... by new RFCs
- devel subpackage created
* Mon Nov 12 2001 - cihlar@suse.cz
- fixed installation with new automake
* Wed Jun 06 2001 - cihlar@suse.cz
- fixed to compile with new libtool
* Tue Apr 17 2001 - cihlar@suse.cz
- update to version 0.2.16
* Wed Mar 07 2001 - cihlar@suse.cz
- update to version 0.2.14
* Tue Feb 27 2001 - cihlar@suse.cz
- update to version 0.2.13
- compile with --enable-smi and --enable-sming
* Sun Dec 03 2000 - smid@suse.cz
- new version 0.2.11
* Wed Oct 11 2000 - smid@suse.cz
- new version 0.2.6
* Thu Jun 08 2000 - cihlar@suse.cz
- fixed License tag
- added %%clean
* Fri Apr 21 2000 - smid@suse.cz
- upgrade to 0.2.0
- buildroot added
* Sat Apr 08 2000 - bk@suse.de
- added suse update config macro
* Thu Mar 02 2000 - uli@suse.de
- moved man pages to %%{_mandir}
* Mon Oct 25 1999 - uli@suse.de
- update -> 0.1.7
* Mon Sep 27 1999 - uli@suse.de
- new package, version 0.1.6

0
ready Normal file
View File