shadow: moved to github
shadow: moved to github

git-svn-id: svn://svn.openwrt.org/openwrt/packages@41732 3c298f89-4303-0410-b956-a3cf2f4a3e73

file:a/libs/expat/Makefile (deleted)
--- a/libs/expat/Makefile
+++ /dev/null
@@ -1,69 +1,1 @@
-#
-# Copyright (C) 2006 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
 
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:=expat
-PKG_VERSION:=2.1.0
-PKG_RELEASE:=1
-
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_MD5SUM:=dd7dab7a5fea97d2a6a43f511449b7cd
-PKG_SOURCE_URL:=@SF/expat
-
-PKG_LICENSE:=MIT
-PACKAGE_LICENSE_FILES:=COPYING
-
-PKG_FIXUP:=autoreconf
-PKG_REMOVE_FILES:=conftools/libtool.m4
-
-PKG_BUILD_PARALLEL:=1
-
-include $(INCLUDE_DIR)/host-build.mk
-include $(INCLUDE_DIR)/package.mk
-
-define Package/libexpat
-  SECTION:=libs
-  CATEGORY:=Libraries
-  TITLE:=An XML parsing library
-  URL:=http://expat.sourceforge.net/
-endef
-
-define Package/libexpat/description
- A fast, non-validating, stream-oriented XML parsing library.
-endef
-
-
-TARGET_CFLAGS += $(FPIC)
-
-CONFIGURE_ARGS += \
-	--enable-shared \
-	--enable-static
-
-define Build/Compile
-	+$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" install
-endef
-
-define Host/Install
-	$(MAKE) -C $(HOST_BUILD_DIR) install
-endef
-
-define Build/InstallDev
-	$(INSTALL_DIR) $(1)/usr/include
-	$(CP) $(PKG_INSTALL_DIR)/usr/include/expat{,_external}.h $(1)/usr/include/
-	$(INSTALL_DIR) $(1)/usr/lib
-	$(CP) $(PKG_INSTALL_DIR)/usr/lib/libexpat.{a,so*} $(1)/usr/lib/
-endef
-
-define Package/libexpat/install
-	$(INSTALL_DIR) $(1)/usr/lib
-	$(CP) $(PKG_INSTALL_DIR)/usr/lib/libexpat.so.* $(1)/usr/lib/
-endef
-
-$(eval $(call HostBuild))
-$(eval $(call BuildPackage,libexpat))
-

file:a/libs/flac/Makefile (deleted)
--- a/libs/flac/Makefile
+++ /dev/null
@@ -1,76 +1,1 @@
-#
-# Copyright (C) 2006-2009 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
 
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:=flac
-PKG_VERSION:=1.2.1
-PKG_RELEASE:=1
-
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=@SF/flac
-PKG_MD5SUM:=
-PKG_INSTALL:=1
-
-PKG_LICENSE:=GFDLv1.2 GPLv2 LGPLv2.1 BSD-3c
-PKG_LICENSE_FILES:=README COPYING.FDL COPYING.GPL COPYING.LGPL COPYING.Xiph
-
-PKG_FIXUP:=autoreconf
-PKG_REMOVE_FILES:=autogen.sh aclocal.m4
-
-include $(INCLUDE_DIR)/package.mk
-
-define Package/libflac
-  SECTION:=libs
-  CATEGORY:=Libraries
-  TITLE:=Free Lossless Audio Codec library
-  URL:=http://flac.sourceforge.net/
-endef
-
-define Build/Configure
-	$(call Build/Configure/Default, \
-		--disable-cpplibs \
-		--disable-sse \
-		--disable-3dnow \
-		--disable-altivec \
-		--disable-doxgen-docs \
-		--disable-local-xmms-plugin \
-		--disable-xmms-plugin \
-		--disable-ogg \
-		--disable-oggtest \
-		--disable-debug \
-	)
-endef
-
-TARGET_CFLAGS += $(FPIC)
-
-define Build/InstallDev
-	$(INSTALL_DIR) $(1)/usr/include
-	$(CP) \
-		$(PKG_INSTALL_DIR)/usr/include/FLAC \
-		$(1)/usr/include/
-	$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
-	$(CP) \
-		$(PKG_INSTALL_DIR)/usr/lib/libFLAC.{a,so*,la} \
-		$(1)/usr/lib/
-	$(INSTALL_DATA) \
-		$(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \
-		$(1)/usr/lib/pkgconfig/
-
-	$(INSTALL_DIR) $(1)/usr/share/aclocal/
-	$(INSTALL_DATA) \
-		$(PKG_INSTALL_DIR)/usr/share/aclocal/* \
-		$(1)/usr/share/aclocal/
-endef
-
-define Package/libflac/install
-	$(INSTALL_DIR) $(1)/usr/lib
-	$(CP) $(PKG_INSTALL_DIR)/usr/lib/libFLAC.so* $(1)/usr/lib/
-endef
-
-$(eval $(call BuildPackage,libflac))
-

--- a/libs/flac/patches/001-no-docs-and-examples.patch
+++ /dev/null
@@ -1,74 +1,1 @@
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -30,7 +30,7 @@
- 
- AUTOMAKE_OPTIONS = foreign 1.7
- 
--SUBDIRS = doc include m4 man src examples test build obj
-+SUBDIRS = include m4 src build obj
- 
- DISTCLEANFILES = libtool-disable-static
- 
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -234,7 +234,7 @@ target_alias = @target_alias@
- 
- AUTOMAKE_OPTIONS = foreign 1.7
- 
--SUBDIRS = doc include m4 man src examples test build obj
-+SUBDIRS = include m4 src build obj
- 
- DISTCLEANFILES = libtool-disable-static
- 
---- a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -30,12 +30,6 @@ SUBDIRS = \
- 	metaflac \
- 	monkeys_audio_utilities \
- 	$(XMMS_DIRS) \
--	plugin_winamp2 \
--	test_grabbag \
--	test_libs_common \
--	test_libFLAC \
--	test_seeking \
--	test_streams \
- 	$(CPPLIBS_DIRS)
- 
- EXTRA_DIST = \
---- a/src/Makefile.in
-+++ b/src/Makefile.in
-@@ -221,7 +221,7 @@ target_alias = @target_alias@
- 
- @FLaC__HAS_XMMS_TRUE@XMMS_DIRS = plugin_common plugin_xmms
- 
--@FLaC__WITH_CPPLIBS_TRUE@CPPLIBS_DIRS = libFLAC++ test_libFLAC++
-+@FLaC__WITH_CPPLIBS_TRUE@CPPLIBS_DIRS = libFLAC++
- 
- SUBDIRS = \
- 	libFLAC \
-@@ -230,12 +230,6 @@ SUBDIRS = \
- 	metaflac \
- 	monkeys_audio_utilities \
- 	$(XMMS_DIRS) \
--	plugin_winamp2 \
--	test_grabbag \
--	test_libs_common \
--	test_libFLAC \
--	test_seeking \
--	test_streams \
- 	$(CPPLIBS_DIRS)
- 
- 
-@@ -256,9 +250,8 @@ RECURSIVE_TARGETS = info-recursive dvi-r
- 	check-recursive installcheck-recursive
- DIST_COMMON = $(srcdir)/Makefile.in Makefile.am
- DIST_SUBDIRS = libFLAC share flac metaflac monkeys_audio_utilities \
--	plugin_common plugin_xmms plugin_winamp2 test_grabbag \
--	test_libs_common test_libFLAC test_seeking test_streams \
--	libFLAC++ test_libFLAC++
-+	plugin_common plugin_xmms plugin_winamp2 \
-+	libFLAC++
- all: all-recursive
- 
- .SUFFIXES:
 

--- a/libs/flac/patches/002-no-utility.patch
+++ /dev/null
@@ -1,25 +1,1 @@
---- a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -26,9 +26,6 @@ endif
- SUBDIRS = \
- 	libFLAC \
- 	share \
--	flac \
--	metaflac \
--	monkeys_audio_utilities \
- 	$(XMMS_DIRS) \
- 	$(CPPLIBS_DIRS)
- 
---- a/src/Makefile.in
-+++ b/src/Makefile.in
-@@ -226,9 +226,6 @@ target_alias = @target_alias@
- SUBDIRS = \
- 	libFLAC \
- 	share \
--	flac \
--	metaflac \
--	monkeys_audio_utilities \
- 	$(XMMS_DIRS) \
- 	$(CPPLIBS_DIRS)
- 
 

--- a/libs/flac/patches/010-automake-compat.patch
+++ /dev/null
@@ -1,12 +1,1 @@
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -34,6 +34,8 @@ SUBDIRS = include m4 src build obj
- 
- DISTCLEANFILES = libtool-disable-static
- 
-+ACLOCAL_AMFLAGS = -I m4
-+
- EXTRA_DIST = \
- 	COPYING.FDL \
- 	COPYING.GPL \
 

--- a/libs/flac/patches/020-libFLAC-remove-altivec-options.patch
+++ /dev/null
@@ -1,63 +1,1 @@
---- a/src/libFLAC/Makefile.in
-+++ b/src/libFLAC/Makefile.in
-@@ -66,6 +66,7 @@ NORMAL_UNINSTALL = :
- PRE_UNINSTALL = :
- POST_UNINSTALL = :
- host_triplet = @host@
-+@FLaC__CPU_PPC_TRUE@@FLaC__SYS_DARWIN_FALSE@@FLaC__USE_ALTIVEC_TRUE@am__append_1 = -maltivec -mabi=altivec
- ACLOCAL = @ACLOCAL@
- ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@
- AMDEP_FALSE = @AMDEP_FALSE@
-@@ -234,13 +235,21 @@ target_alias = @target_alias@
- 
- lib_LTLIBRARIES = libFLAC.la
- @DEBUG_TRUE@DEBUGCFLAGS = -DFLAC__OVERFLOW_DETECT
-+# Linux-gcc for PPC does not have -force_cpusubtype_ALL, it is Darwin-specific
-+#@@@ PPC optimizations temporarily disabled
-+@FLaC__CPU_PPC_TRUE@@FLaC__SYS_DARWIN_FALSE@CPUCFLAGS =  \
-+@FLaC__CPU_PPC_TRUE@@FLaC__SYS_DARWIN_FALSE@	$(am__append_1) \
-+@FLaC__CPU_PPC_TRUE@@FLaC__SYS_DARWIN_FALSE@	-DFLAC__NO_ASM
-+
-+# FIXME: The following logic should be part of configure, not of Makefile.am
-+
- # The -force_cpusubtype_ALL is needed to insert a ppc64 instruction
- # into cpu.c with an asm().
- #@@@ PPC optimizations temporarily disabled
--@FLaC__CPU_PPC_TRUE@@FLaC__SYS_DARWIN_TRUE@CPUCFLAGS = -faltivec -force_cpusubtype_ALL -DFLAC__NO_ASM
--# Linux-gcc for PPC does not have -force_cpusubtype_ALL, it is Darwin-specific
--#@@@ PPC optimizations temporarily disabled
--@FLaC__CPU_PPC_TRUE@@FLaC__SYS_DARWIN_FALSE@CPUCFLAGS = -maltivec -mabi=altivec -DFLAC__NO_ASM
-+@FLaC__CPU_PPC_TRUE@@FLaC__SYS_DARWIN_TRUE@CPUCFLAGS = -faltivec \
-+@FLaC__CPU_PPC_TRUE@@FLaC__SYS_DARWIN_TRUE@	-force_cpusubtype_ALL \
-+@FLaC__CPU_PPC_TRUE@@FLaC__SYS_DARWIN_TRUE@	-DFLAC__NO_ASM \
-+@FLaC__CPU_PPC_TRUE@@FLaC__SYS_DARWIN_TRUE@	$(am__append_1)
- 
- AM_CFLAGS = $(DEBUGCFLAGS) $(CPUCFLAGS) @OGG_CFLAGS@
- @FLaC__CPU_PPC_TRUE@@FLaC__NO_ASM_FALSE@ARCH_SUBDIRS = ppc
---- a/src/libFLAC/Makefile.am
-+++ b/src/libFLAC/Makefile.am
-@@ -32,6 +32,9 @@ lib_LTLIBRARIES = libFLAC.la
- if DEBUG
- DEBUGCFLAGS = -DFLAC__OVERFLOW_DETECT
- endif
-+
-+# FIXME: The following logic should be part of configure, not of Makefile.am
-+
- if FLaC__CPU_PPC
- # The -force_cpusubtype_ALL is needed to insert a ppc64 instruction
- # into cpu.c with an asm().
-@@ -40,8 +43,12 @@ if FLaC__SYS_DARWIN
- CPUCFLAGS = -faltivec -force_cpusubtype_ALL -DFLAC__NO_ASM
- else
- # Linux-gcc for PPC does not have -force_cpusubtype_ALL, it is Darwin-specific
-+CPUCFLAGS =
-+if FLaC__USE_ALTIVEC
-+CPUCFLAGS += -maltivec -mabi=altivec
-+endif
- #@@@ PPC optimizations temporarily disabled
--CPUCFLAGS = -maltivec -mabi=altivec -DFLAC__NO_ASM
-+CPUCFLAGS += -DFLAC__NO_ASM
- endif
- endif
- 
 

file:a/libs/libmad/Makefile (deleted)
--- a/libs/libmad/Makefile
+++ /dev/null
@@ -1,79 +1,1 @@
-#
-# Copyright (C) 2006-2010 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
 
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:=libmad
-PKG_VERSION:=0.15.1b
-PKG_RELEASE:=3
-
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=@SF/mad \
-	ftp://ftp.mars.org/pub/mpeg/
-PKG_MD5SUM:=1be543bc30c56fb6bea1d7bf6a64e66c
-
-PKG_LICENSE:=GPLv2
-PKG_LICENSE_FILES:=COPYING
-
-PKG_FIXUP:=autoreconf
-
-PKG_INSTALL:=1
-
-include $(INCLUDE_DIR)/package.mk
-
-FPM:=default
-ifeq ($(ARCH),armeb)
-  FPM:=arm
-endif
-ifeq ($(ARCH),i386)
-  FPM:=intel
-endif
-ifeq ($(ARCH),mipsel)
-  FPM:=mips
-endif
-
-define Package/libmad
-  SECTION:=libs
-  CATEGORY:=Libraries
-  TITLE:=An high-quality MPEG audio decoding library
-  URL:=http://www.underbit.com/products/mad/
-  DEPENDS:=@BUILD_PATENTED
-endef
-
-define Package/libmad/description
-	MAD is a high-quality MPEG audio decoder. It currently supports
-	MPEG-1 and the MPEG-2 extension to lower sampling frequencies,
-	as well as the de facto MPEG 2.5 format. All three audio layers -
-	Layer I, Layer II, and Layer III (i.e. MP3) - are fully implemented.
-endef
-
-TARGET_CFLAGS += $(FPIC)
-
-CONFIGURE_ARGS+= \
-	--enable-shared \
-	--enable-static \
-	--enable-fpm="$(FPM)" \
-	--disable-debugging \
-	--enable-speed \
-
-MAKE_FLAGS+= \
-	CFLAGS="$(TARGET_CFLAGS)" \
-
-define Build/InstallDev
-	$(INSTALL_DIR) $(1)/usr/include
-	$(CP) $(PKG_INSTALL_DIR)/usr/include/mad.h $(1)/usr/include/
-	$(INSTALL_DIR) $(1)/usr/lib
-	$(CP) $(PKG_INSTALL_DIR)/usr/lib/libmad.{a,so*} $(1)/usr/lib/
-endef
-
-define Package/libmad/install
-	$(INSTALL_DIR) $(1)/usr/lib
-	$(CP) $(PKG_INSTALL_DIR)/usr/lib/libmad.so.* $(1)/usr/lib/
-endef
-
-$(eval $(call BuildPackage,libmad))
-

--- a/libs/libmad/patches/001-mips_removal_h_constraint.patch
+++ /dev/null
@@ -1,71 +1,1 @@
-diff -ur libmad-0.15.1b-orig/fixed.h libmad-0.15.1b/fixed.h
---- libmad-0.15.1b-orig/fixed.h	2004-02-17 12:32:03.000000000 +1030
-+++ libmad-0.15.1b/fixed.h	2009-08-05 10:46:30.000000000 +0930
-@@ -299,6 +299,23 @@
- 
- # elif defined(FPM_MIPS)
- 
-+/* Test for gcc >= maj.min, as per __GNUC_PREREQ in glibc */
-+#if defined (__GNUC__) && defined (__GNUC_MINOR__)
-+#define __GNUC_PREREQ(maj, min) \
-+	((__GNUC__ << 16) + __GNUC_MINOR__ >= ((maj) << 16) + (min))
-+#else
-+#define __GNUC_PREREQ(maj, min)  0
-+#endif
-+
-+#if __GNUC_PREREQ(4,4)
-+  typedef unsigned int u64_di_t __attribute__ ((mode (DI)));
-+# define MAD_F_MLX(hi, lo, x, y) \
-+   do { \
-+      u64_di_t __ll = (u64_di_t) (x) * (y); \
-+      hi = __ll >> 32; \
-+      lo = __ll; \
-+   } while (0) 
-+#else
- /*
-  * This MIPS version is fast and accurate; the disposition of the least
-  * significant bit depends on OPT_ACCURACY via mad_f_scale64().
-@@ -328,6 +345,7 @@
- 	 : "%r" ((x) >> 12), "r" ((y) >> 16))
- #  define MAD_F_MLZ(hi, lo)  ((mad_fixed_t) (lo))
- # endif
-+#endif /* __GNU_PREREQ(4,4) */
- 
- # if defined(OPT_SPEED)
- #  define mad_f_scale64(hi, lo)  \
-diff -ur libmad-0.15.1b-orig/mad.h libmad-0.15.1b/mad.h
---- libmad-0.15.1b-orig/mad.h	2004-02-17 13:25:44.000000000 +1030
-+++ libmad-0.15.1b/mad.h	2009-08-05 10:42:40.000000000 +0930
-@@ -344,6 +344,23 @@
- 
- # elif defined(FPM_MIPS)
- 
-+/* Test for gcc >= maj.min, as per __GNUC_PREREQ in glibc */
-+#if defined (__GNUC__) && defined (__GNUC_MINOR__)
-+#define __GNUC_PREREQ(maj, min) \
-+	((__GNUC__ << 16) + __GNUC_MINOR__ >= ((maj) << 16) + (min))
-+#else
-+#define __GNUC_PREREQ(maj, min)  0
-+#endif
-+
-+#if __GNUC_PREREQ(4,4)
-+  typedef unsigned int u64_di_t __attribute__ ((mode (DI)));
-+# define MAD_F_MLX(hi, lo, x, y) \
-+   do { \
-+      u64_di_t __ll = (u64_di_t) (x) * (y); \
-+      hi = __ll >> 32; \
-+      lo = __ll; \
-+   } while (0) 
-+#else
- /*
-  * This MIPS version is fast and accurate; the disposition of the least
-  * significant bit depends on OPT_ACCURACY via mad_f_scale64().
-@@ -373,6 +390,7 @@
- 	 : "%r" ((x) >> 12), "r" ((y) >> 16))
- #  define MAD_F_MLZ(hi, lo)  ((mad_fixed_t) (lo))
- # endif
-+#endif /* __GNU_PREREQ(4,4) */
- 
- # if defined(OPT_SPEED)
- #  define mad_f_scale64(hi, lo)  \
 

file:a/libs/libogg/Makefile (deleted)
--- a/libs/libogg/Makefile
+++ /dev/null
@@ -1,59 +1,1 @@
-#
-# Copyright (C) 2008-2013 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
 
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:=libogg
-PKG_VERSION:=1.3.1
-PKG_RELEASE:=1
-
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
-PKG_SOURCE_URL:=http://downloads.xiph.org/releases/ogg/
-PKG_MD5SUM:=ca25d8da0ddfc8c6cbbf78d847a209fe
-
-PKG_LICENSE:=BSD-3c
-PKG_LICENSE_FILES:=COPYING
-
-PKG_FIXUP:=autoreconf
-
-PKG_INSTALL:=1
-
-include $(INCLUDE_DIR)/package.mk
-
-define Package/libogg
-  SECTION:=libs
-  CATEGORY:=Libraries
-  TITLE:=libogg
-  URL:=http://xiph.org/ogg/
-endef
-
-define Package/libogg/description
-Ogg project codecs use the Ogg bitstream format to arrange the raw,
-compressed bitstream into a more robust, useful form.  For example,
-the Ogg bitstream makes seeking, time stamping and error recovery
-possible, as well as mixing several sepearate, concurrent media
-streams into a single physical bitstream.
-endef
-
-define Build/InstallDev
-	$(INSTALL_DIR) $(1)/usr/include/ogg/
-	$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/include/ogg/* $(1)/usr/include/ogg/
-	$(INSTALL_DIR) $(1)/usr/lib/
-	$(CP) $(PKG_INSTALL_DIR)/usr/lib/*.{so*,a,la} $(1)/usr/lib/
-	$(INSTALL_DIR) $(1)/usr/lib/pkgconfig/
-	$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* $(1)/usr/lib/pkgconfig/
-	$(INSTALL_DIR) $(1)/usr/share/aclocal/
-	$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/aclocal/* $(1)/usr/share/aclocal/
-endef
-
-define Package/libogg/install
-	$(INSTALL_DIR) $(1)/usr/lib/
-	$(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so.* $(1)/usr/lib/
-endef
-
-$(eval $(call BuildPackage,libogg))
-

file:a/libs/libsigc++/Makefile (deleted)
--- a/libs/libsigc++/Makefile
+++ /dev/null
@@ -1,62 +1,1 @@
-#
-# Copyright (C) 2006-2012 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
 
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:=libsigc++
-PKG_VERSION:=2.2.10
-PKG_RELEASE:=1
-
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
-PKG_SOURCE_URL:=@GNOME/libsigc++/2.2
-PKG_MD5SUM:=73419b477f3bb9ddb9905c88a92f4b4c
-
-PKG_FIXUP:=autoreconf
-PKG_INSTALL:=1
-
-include $(INCLUDE_DIR)/package.mk
-
-define Package/libsigcxx
-  SECTION:=libs
-  CATEGORY:=Libraries
-  TITLE:=typesafe callback system for standard C++
-  URL:=http://libsigc.sourceforge.net/
-  DEPENDS:=+libstdcpp
-endef
-
-define Package/libsigcxx/description
- It allows you to define signals and to connect those signals to any
- callback function, either global or a member function, regardless of
- whether it is static or virtual.
-endef
-
-TARGET_CFLAGS += $(FPIC)
-
-TARGET_CPPFLAGS +=  \
-	-fno-strict-aliasing -fno-inline \
-
-CONFIGURE_ARGS += \
-	--enable-shared \
-	--enable-static \
-
-define Build/InstallDev
-	$(INSTALL_DIR) $(1)/usr/include
-	$(CP) $(PKG_INSTALL_DIR)/usr/include/sigc++-2.0 $(1)/usr/include/
-	$(INSTALL_DIR) $(1)/usr/lib
-	$(CP) $(PKG_INSTALL_DIR)/usr/lib/libsigc-2.0.{a,so*} $(1)/usr/lib/
-	$(CP) $(PKG_INSTALL_DIR)/usr/lib/sigc++-2.0 $(1)/usr/lib/
-	$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
-	$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/sigc++-2.0.pc $(1)/usr/lib/pkgconfig/
-endef
-
-define Package/libsigcxx/install
-	$(INSTALL_DIR) $(1)/usr/lib
-	$(CP) $(PKG_INSTALL_DIR)/usr/lib/libsigc-2.0.so.* $(1)/usr/lib/
-endef
-
-$(eval $(call BuildPackage,libsigcxx))
-

--- a/libs/libsigc++/patches/001-no_doc_tests_examples.patch
+++ /dev/null
@@ -1,23 +1,1 @@
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -22,7 +22,7 @@ doc_subdirs = docs
- else
- doc_subdirs =
- endif
--SUBDIRS = sigc++ tests examples $(doc_subdirs)
-+SUBDIRS = sigc++
- 
- sigc_configdir = $(libdir)/$(SIGCXX_MODULE_NAME)/include
- nodist_sigc_config_HEADERS = sigc++config.h
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -116,7 +116,7 @@ AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGE
- 	distdir dist dist-all distcheck
- ETAGS = etags
- CTAGS = ctags
--DIST_SUBDIRS = sigc++ tests examples docs
-+DIST_SUBDIRS = sigc++
- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
- distdir = $(PACKAGE)-$(VERSION)
- top_distdir = $(distdir)
 

--- a/libs/libvorbisidec/Makefile
+++ /dev/null
@@ -1,57 +1,1 @@
-#
-# Copyright (C) 2006-2011 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
 
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:=libvorbisidec
-PKG_VERSION:=1.0.2+svn18153
-PKG_RELEASE:=1
-
-PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
-PKG_SOURCE_URL:=http://ftp.de.debian.org/debian/pool/main/libv/libvorbisidec/
-PKG_MD5SUM:=4190859414c5d6760e316b5cf00fe7c5
-
-PKG_LICENSE:=BSD-3c
-PKG_LICENSE_FILES:=COPYING
-
-PKG_FIXUP:=autoreconf
-PKG_INSTALL:=1
-
-include $(INCLUDE_DIR)/package.mk
-
-define Package/libvorbisidec
-  SECTION:=libs
-  CATEGORY:=Libraries
-  TITLE:=A fixed-point Ogg/Vorbis decoder library
-  DEPENDS:= +libogg
-  URL:=http://wiki.xiph.org/index.php/Tremor
-endef
-
-define Package/libvorbisidec/description
-	libvorbisidec is "tremor", a fixed-point implementation of libvorbis.
-	It also has libogg built-in. It is suitable as a replacement for
-	libvorbis and libogg in tremor-aware applications.
-	Tremor is a decoder only.
-endef
-
-TARGET_CFLAGS += $(FPIC)
-CONFIGURE_ARGS += --enable-shared --enable-static
-
-define Build/InstallDev
-	$(INSTALL_DIR) $(1)/usr/include
-	$(CP) $(PKG_INSTALL_DIR)/usr/include/tremor $(1)/usr/include/
-	$(INSTALL_DIR) $(1)/usr/lib
-	$(CP) $(PKG_INSTALL_DIR)/usr/lib/libvorbisidec.{a,so*} $(1)/usr/lib/
-endef
-
-define Package/libvorbisidec/install
-	$(INSTALL_DIR) $(1)/usr/lib
-	$(CP) $(PKG_INSTALL_DIR)/usr/lib/libvorbisidec.so.* $(1)/usr/lib/
-endef
-
-$(eval $(call BuildPackage,libvorbisidec))
-

file:a/utils/bzip2/Makefile (deleted)
--- a/utils/bzip2/Makefile
+++ /dev/null
@@ -1,80 +1,1 @@
-#
-# Copyright (C) 2007-2008 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
 
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:=bzip2
-PKG_VERSION:=1.0.6
-PKG_RELEASE:=1
-
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=http://www.bzip.org/$(PKG_VERSION)
-PKG_MD5SUM:=00b516f4704d4a7cb50a1d97e6e8e15b
-
-PKG_LICENSE:=BZIP2
-PKG_LICENSE_FILES:=LICENSE
-
-include $(INCLUDE_DIR)/package.mk
-
-define Package/libbz2
-  SECTION:=libs
-  CATEGORY:=Libraries
-  DEPENDS:=
-  TITLE:=bzip2 library.
-  URL:=http://www.bzip.org/
-endef
-
-define Package/libbz2/description
-	bzip2 is a freely available, patent free, high-quality
-	data compressor. This packages provides libbz2 library.
-endef
-
-define Package/bzip2
-  SECTION:=utils
-  CATEGORY:=Utilities
-  DEPENDS:=+libbz2
-  TITLE:=bzip2 is a compression utility.
-  URL:=http://www.bzip.org/
-endef
-
-define Package/bzip2/description
-	bzip2 is a freely available, patent free, high-quality
-	data compressor. This package provides the binary.
-endef
-
-TARGET_CFLAGS += $(FPIC)
-CONFIGURE_ARGS += --prefix=/usr
-
-MAKE_FLAGS += \
-	-f Makefile-libbz2_so \
-	CFLAGS="$(TARGET_CFLAGS)" \
-	LDFLAGS="$(TARGET_LDLAGS)" \
-	all
-
-define Build/InstallDev
-	$(INSTALL_DIR) $(1)/usr/include
-	$(CP) $(PKG_BUILD_DIR)/bzlib.h $(1)/usr/include/
-	$(INSTALL_DIR) $(1)/usr/lib
-	$(CP) $(PKG_BUILD_DIR)/libbz2.so.$(PKG_VERSION) $(1)/usr/lib/
-	$(LN) libbz2.so.$(PKG_VERSION) $(1)/usr/lib/libbz2.so.1.0
-	$(LN) libbz2.so.$(PKG_VERSION) $(1)/usr/lib/libbz2.so
-endef
-
-define Package/libbz2/install
-	$(INSTALL_DIR) $(1)/usr/lib/
-	$(CP) $(PKG_BUILD_DIR)/libbz2.so.$(PKG_VERSION) $(1)/usr/lib/
-	$(LN) libbz2.so.$(PKG_VERSION) $(1)/usr/lib/libbz2.so.1.0
-endef
-
-define Package/bzip2/install
-	$(INSTALL_DIR) $(1)/usr/bin/
-	$(INSTALL_BIN) $(PKG_BUILD_DIR)/bzip2-shared $(1)/usr/bin/bzip2
-endef
-
-$(eval $(call BuildPackage,libbz2))
-$(eval $(call BuildPackage,bzip2))
-

file:a/utils/dbus/Makefile (deleted)
--- a/utils/dbus/Makefile
+++ /dev/null
@@ -1,188 +1,1 @@
-#
-# Copyright (C) 2007-2011 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
 
-include $(TOPDIR)/rules.mk
-
-# Make sure to also update the dbus-x package
-PKG_NAME:=dbus
-PKG_VERSION:=1.4.14
-PKG_RELEASE:=2
-
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=http://dbus.freedesktop.org/releases/dbus/
-PKG_MD5SUM:=ae6de2562a57516cfabaf56903375ba9
-
-PKG_FIXUP:=autoreconf
-PKG_INSTALL:=1
-
-include $(INCLUDE_DIR)/package.mk
-
-TARGET_LDFLAGS+= \
-	-Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
-	-Wl,-rpath=/usr/lib/
-
-define Package/dbus/Default
-  SECTION:=utils
-  CATEGORY:=Utilities
-  TITLE:=Simple interprocess messaging system
-  URL:=http://dbus.freedesktop.org/
-endef
-
-define Package/dbus/Default/description
- D-Bus is a message bus system, a simple way for applications to talk to one
- another. In addition to interprocess communication, D-Bus helps coordinate
- process lifecycle; it makes it simple and reliable to code a "single instance"
- application or daemon, and to launch applications and daemons on demand when
- their services are needed.
-endef
-
-define Package/libdbus
-$(call Package/dbus/Default)
-  CATEGORY:=Libraries
-  TITLE+= (library)
-  DEPENDS:= +librt
-endef
-
-define Package/libdbus/Description
-$(call Package/dbus/Default/description)
- This package contains the D-Bus shared library.
-endef
-
-define Package/dbus
-$(call Package/dbus/Default)
- TITLE+= (daemon)
- DEPENDS:= +libexpat +libdbus
-endef
-
-define Package/dbus/Description
-$(call Package/dbus/Default/description)
- This package contains the D-Bus daemon.
-endef
-
-define Package/dbus-utils
-$(call Package/dbus/Default)
- TITLE+= (utilities)
- DEPENDS:= dbus
-endef
-
-define Package/dbus-utils/Description
-$(call Package/dbus/Default/description)
- This package contains D-Bus utilities.
-endef
-
-
-define Build/Prepare
-	$(Build/Prepare/Default)
-	$(SED) 's/-Wl,--gc-sections/--gc-sections/' $(PKG_BUILD_DIR)/configure
-endef
-
-CONFIGURE_ARGS += \
-	--enable-shared \
-	--enable-static \
-	--disable-abstract-sockets \
-	--disable-ansi \
-	--disable-asserts \
-	--disable-console-owner-file \
-	--disable-doxygen-docs \
-	--disable-compiler_coverage \
-	--disable-selinux \
-	--disable-tests \
-	--disable-verbose-mode \
-	--disable-xml-docs \
-	--with-xml="expat" \
-	--with-dbus-user=root \
-	--with-dbus-daemondir="/usr/sbin" \
-	--with-system-socket="/var/run/dbus/system_bus_socket" \
-	--with-system-pid-file="/var/run/dbus.pid" \
-	--without-x \
-	--libexecdir=/usr/lib/dbus-1
-
-CONFIGURE_VARS+= \
-	ac_cv_have_abstract_sockets="yes" \
-	ac_cv_lib_expat_XML_ParserCreate_MM="yes" \
-
-
-define Build/InstallDev
-	$(INSTALL_DIR) $(1)/usr/include
-	$(CP) \
-		$(PKG_INSTALL_DIR)/usr/include/dbus-1.0 \
-		$(1)/usr/include/
-	$(INSTALL_DIR) $(1)/usr/lib/dbus-1.0/include/dbus/
-	$(INSTALL_DATA) \
-		$(PKG_INSTALL_DIR)/usr/lib/dbus-1.0/include/dbus/*.h \
-		$(1)/usr/lib/dbus-1.0/include/dbus/
-
-	$(INSTALL_DIR) $(1)/usr/lib
-	$(INSTALL_DATA) \
-		$(PKG_INSTALL_DIR)/usr/lib/libdbus-1.{so*,la,a} \
-		$(1)/usr/lib/
-	$(CP) \
-		$(PKG_INSTALL_DIR)/usr/lib/dbus-1.0 \
-		$(1)/usr/lib/
-	$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
-	$(INSTALL_DATA) \
-		$(PKG_INSTALL_DIR)/usr/lib/pkgconfig/dbus-1.pc \
-		$(1)/usr/lib/pkgconfig/
-endef
-
-define Package/dbus/conffiles
-/etc/dbus-1/session.conf
-/etc/dbus-1/system.conf
-endef
-
-define Package/libdbus/install
-	$(INSTALL_DIR) $(1)/usr/lib
-	$(CP) \
-		$(PKG_INSTALL_DIR)/usr/lib/libdbus-1.so.* \
-		$(1)/usr/lib/
-endef
-
-define Package/dbus/install
-	$(INSTALL_DIR) $(1)/etc
-	$(CP) \
-		$(PKG_INSTALL_DIR)/etc/dbus-1 \
-		$(1)/etc/
-
-	$(INSTALL_DIR) $(1)/usr/lib/dbus-1
-	$(INSTALL_BIN) \
-		$(PKG_INSTALL_DIR)/usr/lib/dbus-1/dbus-daemon-launch-helper \
-		$(1)/usr/lib/dbus-1/
-
-	$(INSTALL_DIR) $(1)/usr/sbin
-	$(INSTALL_BIN) \
-		$(PKG_INSTALL_DIR)/usr/sbin/dbus-daemon \
-		$(1)/usr/sbin/
-
-	$(INSTALL_DIR) $(1)/usr/bin
-	$(INSTALL_BIN) \
-		$(PKG_INSTALL_DIR)/usr/bin/dbus-uuidgen \
-		$(1)/usr/bin/
-
-	$(INSTALL_BIN) \
-		$(PKG_INSTALL_DIR)/usr/bin/dbus-launch \
-		$(1)/usr/bin/dbus-launch.real
-	$(INSTALL_BIN) \
-		./files/dbus-launch \
-		$(1)/usr/bin/
-
-	$(INSTALL_DIR) $(1)/etc/init.d
-	$(INSTALL_BIN) \
-		./files/dbus.init \
-		$(1)/etc/init.d/dbus
-endef
-
-define Package/dbus-utils/install
-	$(INSTALL_DIR) $(1)/usr/bin
-	$(INSTALL_BIN) \
-		$(PKG_INSTALL_DIR)/usr/bin/dbus-{send,monitor,cleanup-sockets} \
-		$(1)/usr/bin/
-endef
-
-$(eval $(call BuildPackage,libdbus))
-$(eval $(call BuildPackage,dbus))
-$(eval $(call BuildPackage,dbus-utils))
-

--- a/utils/dbus/files/dbus-launch
+++ /dev/null
@@ -1,13 +1,1 @@
-#!/bin/sh
-#
-# Simple wrapper script which allows us to build dbus without general x support
-# If an application needs x support in dbus-launch it has to depend on the
-# dbus-launch-x package. The script is used to prefer dbus-launch with x over
-# the dbus-lauch without x.
 
-if [ -f /usr/bin/dbus-launch-x ]; then
-	exec /usr/bin/dbus-launch-x $@
-else
-	exec /usr/bin/dbus-launch.real $@
-fi
-

--- a/utils/dbus/files/dbus.init
+++ /dev/null
@@ -1,18 +1,1 @@
-#!/bin/sh /etc/rc.common
-# Copyright (C) 2007-2011 OpenWrt.org
 
-START=60
-
-SERVICE_PID_FILE=/var/run/dbus.pid
-
-start() {
-	mkdir -m 0755 -p /var/lib/dbus
-	mkdir -m 0755 -p /var/run/dbus
-	[ -x /usr/bin/dbus-uuidgen ] && /usr/bin/dbus-uuidgen --ensure
-	service_start /usr/sbin/dbus-daemon --system
-}
-
-stop() {
-	service_stop /usr/sbin/dbus-daemon && rm $SERVICE_PID_FILE
-}
-

file:a/utils/shadow/Makefile (deleted)
--- a/utils/shadow/Makefile
+++ /dev/null
@@ -1,112 +1,1 @@
-#
-# Copyright (C) 2008-2013 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
 
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:=shadow
-PKG_VERSION:=4.1.5.1
-PKG_RELEASE:=4
-
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
-PKG_SOURCE_URL:=http://pkg-shadow.alioth.debian.org/releases
-PKG_MD5SUM:=a00449aa439c69287b6d472191dc2247
-
-PKG_FIXUP:=autoreconf
-PKG_BUILD_PARALLEL:=1
-PKG_INSTALL:=1
-
-PKG_BUILD_DEPENDS:=libintl
-
-include $(INCLUDE_DIR)/package.mk
-
-SHADOW_APPLETS := \
-	chage groupadd groupdel groupmod groups passwd su \
-	useradd userdel usermod
-
-CONFIGURE_ARGS += \
-	--without-audit \
-	--without-libpam \
-	--without-selinux \
-	--without-acl \
-	--without-attr \
-	--without-tcb \
-	--without-nscd
-
-define Package/shadow/Default
-  SECTION:=utils
-  CATEGORY:=Utilities
-  TITLE:=The PLD Linux shadow utilities
-  URL:=http://pkg-shadow.alioth.debian.org/
-endef
-
-define Package/shadow
-  $(call Package/shadow/Default)
-  DEPENDS:=$(foreach u,$(SHADOW_APPLETS),+shadow-$(u))
-endef
-
-define Package/shadow/description
-  Full versions of standard shadow utilities. Normally, you would not
-  use this package, since the functionality in BusyBox is more than
-  sufficient and much smaller.
-endef
-
-define Package/shadow/install
-	true
-endef
-
-
-define Package/shadow-common
-  $(call Package/shadow/Default)
-  TITLE:=Shared definitions for the PLD Linux shadow utilities
-endef
-
-
-define GenPlugin
-  define Package/shadow-$(1)
-    $(call Package/shadow/Default)
-    TITLE:=Utility $(1) from the PLD Linux shadow utilities
-    DEPENDS:=+shadow-common
-  endef
-
-  define Package/shadow-$(1)/description
-    Full version of standard $(1) utility. Normally, you would not use this
-    package, since the functionality in BusyBox is more than sufficient.
-  endef
-endef
-
-$(foreach u,$(SHADOW_APPLETS),$(eval $(call GenPlugin,$(u))))
-
-
-define Package/shadow-common/conffiles
-/etc/login.defs
-endef
-
-define Package/shadow-common/install
-	$(INSTALL_DIR) $(1)/etc
-	$(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/login.defs $(1)/etc/
-endef
-
-
-define BuildPlugin
-  define Package/shadow-$(1)/install
-	[ -x "$(PKG_INSTALL_DIR)/usr/sbin/$(1)" ] && { \
-		$(INSTALL_DIR) $$(1)/usr/sbin; \
-		$(CP) $(PKG_INSTALL_DIR)/usr/sbin/$(1) $$(1)/usr/sbin/; \
-	} || { \
-		$(INSTALL_DIR) $$(1)/usr/bin; \
-		$(CP) $(PKG_INSTALL_DIR)/usr/bin/$(1) $$(1)/usr/bin/; \
-	}
-  endef
-
-  $$(eval $$(call BuildPackage,shadow-$(1)))
-endef
-
-$(foreach u,$(SHADOW_APPLETS),$(eval $(call BuildPlugin,$(u))))
-
-$(eval $(call BuildPackage,shadow))
-$(eval $(call BuildPackage,shadow-common))
-

--- a/utils/shadow/patches/001-busybox_ash.patch
+++ /dev/null
@@ -1,14 +1,1 @@
-diff --git a/etc/login.defs b/etc/login.defs
-index 5b6fab3..79eeccf 100644
---- a/etc/login.defs
-+++ b/etc/login.defs
-@@ -111,7 +111,7 @@ NOLOGINS_FILE	/etc/nologin
- # command is "-su".  If not defined, then "ps" would display the
- # name of the shell actually being run, e.g. something like "-sh".
- #
--SU_NAME		su
-+#SU_NAME		su
- 
- #
- # *REQUIRED*
 

--- a/utils/shadow/patches/002-disable-ruser-lookup.patch
+++ /dev/null
@@ -1,11 +1,1 @@
---- a/configure.in
-+++ b/configure.in
-@@ -195,7 +195,6 @@ AC_DEFINE_UNQUOTED(PASSWD_PROGRAM, "$sha
- dnl XXX - quick hack, should disappear before anyone notices :).
- AC_DEFINE(USE_SYSLOG, 1, [Define to use syslog().])
- AC_DEFINE(RLOGIN, 1, [Define if login should support the -r flag for rlogind.])
--AC_DEFINE(RUSEROK, 0, [Define to the ruserok() "success" return value (0 or 1).])
- 
- AC_ARG_ENABLE(shadowgrp,
- 	[AC_HELP_STRING([--enable-shadowgrp], [enable shadow group support @<:@default=yes@:>@])],
 

comments