]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/commitdiff
ustr: Drop package
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 20 Dec 2022 18:52:27 +0000 (18:52 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 20 Dec 2022 18:52:27 +0000 (18:52 +0000)
Nothing seems to depend on this

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
ustr/patches/c99-inline.patch [deleted file]
ustr/ustr.nm [deleted file]

diff --git a/ustr/patches/c99-inline.patch b/ustr/patches/c99-inline.patch
deleted file mode 100644 (file)
index dfa021f..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-diff -rup ustr-1.0.4-orig/ustr-compiler.h ustr-1.0.4/ustr-compiler.h
---- ustr-1.0.4-orig/ustr-compiler.h    2008-02-15 15:12:28.000000000 -0500
-+++ ustr-1.0.4/ustr-compiler.h 2008-06-13 15:25:18.000000000 -0400
-@@ -113,17 +113,23 @@
- #endif
- #ifndef USTR_CONF_EI_PROTO /* external inline */
--# if USTR_CONF_INCLUDE_CODEONLY_HEADERS
-+# if USTR_CONF_INCLUDE_CODEONLY_HEADERS || ! defined(__GNUC__) || \
-+     ! USTR_CONF_COMPILE_USE_INLINE
- #  define USTR_CONF_EI_PROTO static USTR__INLINE
- # else
- #  define USTR_CONF_EI_PROTO extern
- # endif
- #endif
- #ifndef USTR_CONF_II_PROTO /* implementation of inline */
--# if USTR_CONF_INCLUDE_CODEONLY_HEADERS
-+# if USTR_CONF_INCLUDE_CODEONLY_HEADERS || ! defined(__GNUC__) || \
-+     ! USTR_CONF_COMPILE_USE_INLINE
- #  define USTR_CONF_II_PROTO static USTR__INLINE
- # else
--#  define USTR_CONF_II_PROTO extern inline
-+#  if defined(__GNUC_STDC_INLINE__) || defined(__GNUC_GNU_INLINE__)
-+#   define USTR_CONF_II_PROTO extern inline __attribute__ ((__gnu_inline__))
-+#  else
-+#   define USTR_CONF_II_PROTO extern inline
-+#  endif
- # endif
- #endif
diff --git a/ustr/ustr.nm b/ustr/ustr.nm
deleted file mode 100644 (file)
index 9e12f8e..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-###############################################################################
-# IPFire.org    - An Open Source Firewall Solution                            #
-# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
-###############################################################################
-
-name       = ustr
-version    = 1.0.4
-release    = 3.1
-
-groups     = System/Libraries
-url        = http://www.and.org/ustr/
-license    = MIT or LGPLv2+ or BSD
-summary    = String library, very low memory overhead, simple to import.
-
-description
-       Micro string library, with very low overhead.
-end
-
-source_dl  = http://www.and.org/ustr/%{version}/
-sources    = %{thisapp}.tar.bz2
-
-build
-       CFLAGS += -fgnu89-inline
-
-       make_build_targets += \
-               all-shared \
-               CFLAGS="%{CFLAGS}" \
-               LDFLAGS="%{LDFLAGS}"
-
-       test
-               make check
-       end
-
-       make_install_targets += libdir=%{libdir}
-
-       install_cmds
-               rm -rf %{BUILDROOT}/usr/share
-               rm -rf %{BUILDROOT}/usr/lib*/pkgconfig/*debug*
-               rm -rf %{BUILDROOT}/lib/*debug*
-               rm -rf %{BUILDROOT}/usr/lib*/*debug*
-       end
-end
-
-packages
-       package %{name}
-
-       package %{name}-devel
-               template DEVEL
-
-               files += %{bindir}
-       end
-
-       package %{name}-debuginfo
-               template DEBUGINFO
-       end
-end