open-plc-utils: moved to github
open-plc-utils: moved to github

Signed-off-by: Florian Fainelli <florian@openwrt.org>

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

file:a/devel/perf/Makefile (deleted)
--- a/devel/perf/Makefile
+++ /dev/null
@@ -1,67 +1,1 @@
-#
-# Copyright (C) 2011-2013 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
 
-include $(TOPDIR)/rules.mk
-include $(INCLUDE_DIR)/kernel.mk
-
-PKG_NAME:=perf
-PKG_VERSION:=$(LINUX_VERSION)
-PKG_RELEASE:=2
-
-PKG_USE_MIPS16:=0
-
-include $(INCLUDE_DIR)/package.mk
-
-define Package/perf
-  SECTION:=devel
-  CATEGORY:=Development
-  DEPENDS:= +libelf1 +libdw +libpthread +librt +binutils
-  TITLE:=Linux performance monitoring tool
-  VERSION:=$(LINUX_VERSION)-$(PKG_RELEASE)
-  URL:=http://www.kernel.org
-endef
-
-define Package/perf/description
-  perf is the Linux performance monitoring tool
-endef
-
-# Perf's makefile and headers are not relocatable and must be built from the
-# Linux sources directory
-define Build/Prepare
-	$(RM) -r $(PKG_BUILD_DIR)
-	ln -s $(LINUX_DIR)/tools/perf $(PKG_BUILD_DIR)
-endef
-
-# MAKE_FLAGS should be passed again upon cleaning because Perf's makefile
-# always performs checks before processing any rule
-define Build/Clean
-	-$(MAKE) -C $(PKG_BUILD_DIR) \
-		NO_DWARF=1 \
-		$(MAKE_FLAGS) \
-		clean
-endef
-
-MAKE_FLAGS = \
-	ARCH="$(LINUX_KARCH)" \
-	NO_LIBPERL=1 \
-	NO_LIBPYTHON=1 \
-	NO_NEWT=1 \
-	CROSS_COMPILE="$(TARGET_CROSS)" \
-	CC="$(TARGET_CC)" \
-	LD="$(TARGET_CROSS)ld" \
-	CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
-	LDFLAGS="$(TARGET_LDFLAGS)" \
-	V=1 \
-	prefix=/usr
-
-define Package/perf/install
-	$(INSTALL_DIR) $(1)/usr/bin
-	$(INSTALL_BIN) $(LINUX_DIR)/tools/perf/perf $(1)/usr/bin/
-endef
-
-$(eval $(call BuildPackage,perf))
-

file:a/utils/hdparm/Makefile (deleted)
--- a/utils/hdparm/Makefile
+++ /dev/null
@@ -1,38 +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:=hdparm
-PKG_VERSION:=9.39
-PKG_RELEASE:=1
-
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=@SF/$(PKG_NAME)
-PKG_MD5SUM:=2bc17b72403885d4faf959682944243b
-
-include $(INCLUDE_DIR)/package.mk
-
-define Package/hdparm
-  SECTION:=utils
-  CATEGORY:=Utilities
-  SUBMENU:=disc
-  TITLE:=Hard disk drive configuration utilitity
-  URL:=http://sourceforge.net/projects/hdparm/
-endef
-
-define Package/hdparm/description
- get/set SATA/IDE device parameters
-endef
-
-define Package/hdparm/install
-	$(INSTALL_DIR) $(1)/sbin
-	$(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/sbin
-endef
-
-$(eval $(call BuildPackage,hdparm))
-

file:a/utils/mc/Config.in (deleted)
--- a/utils/mc/Config.in
+++ /dev/null
@@ -1,21 +1,1 @@
-menu "Configuration"
-	depends on PACKAGE_mc
 
-config MC_DIFF_VIEWER
-	bool "Compile with diff viewer"
-	default n
-
-config MC_EDITOR
-	bool "Enable internal editor"
-	default n
-
-config MC_SUBSHELL
-	bool "Compile in concurrent subshell"
-	default n
-
-config MC_DISABLE_VFS
-	bool "Disable VFS"
-	default y
-
-endmenu
-

file:a/utils/mc/Makefile (deleted)
--- a/utils/mc/Makefile
+++ /dev/null
@@ -1,97 +1,1 @@
-#
-# Copyright (C) 2006-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:=mc
-PKG_VERSION:=4.8.10
-PKG_RELEASE:=1
-
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
-PKG_SOURCE_URL:=http://www.midnight-commander.org/downloads/
-PKG_MD5SUM:=eb4bdc23abd4fdfa14911d53d65c8186
-
-PKG_BUILD_PARALLEL:=1
-PKG_FIXUP:=autoreconf
-
-include $(INCLUDE_DIR)/package.mk
-include $(INCLUDE_DIR)/nls.mk
-
-define Package/mc
-  SECTION:=utils
-  CATEGORY:=Utilities
-  DEPENDS:=+glib2 +libncurses $(LIBRPC_DEPENDS) $(ICONV_DEPENDS)
-  TITLE:=midnight commander - a powerful file manager
-  URL:=http://www.midnight-commander.org/
-  SUBMENU:=filemanager
-  MENU:=1
-endef
-
-define Package/mc/config
-	source "$(SOURCE)/Config.in"
-endef
-
-define Package/mc/description
- GNU Midnight Commander is a visual file manager, licensed under GNU General
- Public License and therefore qualifies as Free Software. It's a feature rich
- full-screen text mode application that allows you to copy, move and delete
- files and whole directory trees, search for files and run commands in the
- subshell.
-endef
-
-CONFIGURE_ARGS += \
-	--enable-utf8 \
-	--disable-doxygen-doc \
-	--disable-vfs-sftp \
-	--with-screen=ncurses \
-	--without-gpm-mouse \
-	--without-x \
-	ac_cv_search_addwstr=no
-
-ifeq ($(CONFIG_MC_DIFF_VIEWER),n)
-CONFIGURE_ARGS += \
-	--without-diff-viewer
-endif
-
-ifeq ($(CONFIG_MC_EDITOR),n)
-CONFIGURE_ARGS += \
-	--without-edit
-endif
-
-ifeq ($(CONFIG_MC_SUBSHELL),n)
-CONFIGURE_ARGS += \
-	--without-subshell
-endif
-
-ifeq ($(CONFIG_MC_DISABLE_VFS),y)
-CONFIGURE_ARGS += \
-	--without-vfs
-endif
-
-define Package/mc/install
-	$(INSTALL_DIR) $(1)/usr/bin
-	$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/mc $(1)/usr/bin
-	$(INSTALL_DIR) $(1)/etc/mc
-ifeq ($(CONFIG_MC_DIFF_VIEWER),y)
-	ln -sf mc $(1)/usr/bin/mcdiff
-endif
-ifeq ($(CONFIG_MC_EDITOR),y)
-	ln -sf mc $(1)/usr/bin/mcedit
-endif
-	$(INSTALL_DATA) $(PKG_BUILD_DIR)/misc/mc.menu $(1)/etc/mc
-	$(INSTALL_DIR) $(1)/etc/mc/skins
-	$(INSTALL_DATA) $(PKG_BUILD_DIR)/misc/skins/default.ini $(1)/etc/mc/skins
-	$(INSTALL_DIR) $(1)/root/.mc/cedit/Syntax
-endef
-
-define Package/mc/conffiles
-/etc/mc/mc.menu
-/etc/mc/skins/default.ini
-endef
-
-$(eval $(call BuildPackage,mc))
-

--- a/utils/open-plc-utils/Makefile
+++ /dev/null
@@ -1,99 +1,1 @@
-#
-# Copyright (C) 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:=open-plc-utils
-PKG_VERSION:=2013-01-29
-PKG_RELEASE:=$(PKG_SOURCE_VERSION)
-
-PKG_SOURCE_PROTO:=git
-PKG_SOURCE_URL:=git://github.com/qca/open-plc-utils.git
-PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
-PKG_SOURCE_VERSION:=6beeb6fe6ce2b16b14284c26e1b9220b68044591
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
-
-PKG_BUILD_PARALLEL:=1
-
-include $(INCLUDE_DIR)/package.mk
-
-define Package/open-plc-utils/Default
-  SECTION:=utils
-  CATEGORY:=Utilities
-  TITLE:=Qualcomm Atheros Power Line Communication utilities
-  URL:=https://github.com/qca/open-plc-utils/blob/master/README
-endef
-
-define Package/open-plc-utils
-  $(call Package/open-plc-utils/Default)
-  MENU:=1
-endef
-
-define GenPlugin
-  define Package/$(addprefix open-plc-utils-,$(1))
-    $(call Package/open-plc-utils/Default)
-    DEPENDS:=open-plc-utils
-    TITLE:=Utility $(2) from the Open PLC utilities
-  endef
-
-   define Package/$(addprefix open-plc-utils-,$(1))/description
-     Utility $(2) from the Open PLC utilities package.
-   endef
-endef
-
-OPEN_PLC_UTILS_APPS:=efbu efeu efru efsu edru edsu nics \
-		     hpavkey hpavkeys rkey mac2pw mac2pwd \
-		     mdioblock mdioblock2 mdiodump mdiogen \
-		     hpav mme \
-		     chknvm chknvm2 nvmsplit nvmmerge \
-		     chkpib chkpib2 setpib getpib modpib pib2xml \
-		     pibcomp pibdump pibruin xml2pib psin psout pskey \
-		     psgraph psnotch pibrump \
-		     int6k int6kboot int6keth int6kf int6khost \
-		     int64host int6kid int6klist int6klog int6kmdio \
-		     int6kmdio2 int6kmod int6kstat int6ktest int6krate \
-		     int6krule int6ktone int6kwait CMEncrypt sada \
-		     coqos_add coqos_info coqos_man coqos_mod coqos_rel \
-		     mdustats ampboot amphost ampID amplist amprate \
-		     ampstat amptest amptool amptone ampwait \
-		     plcboot plchost plcID plclist plcrate plcrule \
-		     plcstat plctest plctool plctone \
-		     plcwait plchostd plcget plcset plcotst plcfwd \
-		     plcdevs plclog plcmdio16 plcmdio32 \
-		     config2cfg sdram \
-		     int6kuart int6kbaud ttysig ptsctl weeder ttysend \
-		     ttyrecv ttycat int6kdetect
-
-$(foreach a,$(OPEN_PLC_UTILS_APPS),$(eval $(call GenPlugin,$(a))))
-
-define Build/Compile
-	$(MAKE) -C $(PKG_BUILD_DIR) \
-		EXTRA_CFLAGS="$(TARGET_CPPFLAGS) $(TARGET_CFLAGS)" \
-		LDFLAGS="$(TARGET_CFLAGS) $(TARGET_LDFLAGS)" \
-		CROSS="$(TARGET_CROSS)" \
-		ROOTFS="$(PKG_INSTALL_DIR)" \
-		OWNER="$(shell id -u $(shell whoami))" \
-		GROUP="$(shell id -g $(shell whoami))" \
-		all install
-endef
-
-define Package/open-plc-utils/install
-endef
-
-define BuildPlugin
-  define Package/$(1)/install
-  	$(INSTALL_DIR) $$(1)/usr/bin
-	$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/local/bin/$(subst open-plc-utils-,,$(1)) \
-		$$(1)/usr/bin/
-  endef
-
-  $$(eval $$(call BuildPackage,$(1)))
-endef
-
-$(eval $(call BuildPackage,open-plc-utils))
-$(foreach a,$(OPEN_PLC_UTILS_APPS),$(eval $(call BuildPlugin,open-plc-utils-$(a))))
-

file:a/utils/sispmctl/Makefile (deleted)
--- a/utils/sispmctl/Makefile
+++ /dev/null
@@ -1,51 +1,1 @@
-#
-# Copyright (C) 2008-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:=sispmctl
-PKG_VERSION:=3.0
-PKG_RELEASE:=1
-
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=@SF/$(PKG_NAME)
-PKG_MD5SUM:=eca3d5803a29617432ef9f609be59bad
-
-PKG_INSTALL:=1
-
-include $(INCLUDE_DIR)/package.mk
-
-define Package/sispmctl
-  SECTION:=utils
-  CATEGORY:=Utilities
-  TITLE:=Silver Shield PM Control for Linux
-  URL:=http://sispmctl.sourceforge.net/
-  DEPENDS:=+libusb-compat
-endef
-
-define Package/sispmctl/description
- The sispmctl tool can control Gembird SIS-PM Silver Shield
- programmable power outlet strips (also known under the name
- Revolt Intelli-Plug) from the command line.
- .
- It can be used to switch on or off any of the programmable
- power sockets of the SIS-PM via USB. It can also show the
- current status of each power socket, and it can handle
- multiple SIS-PM devices, too.
-endef
-
-CONFIGURE_ARGS += \
-	--enable-webless \
-	--disable-dependency-tracking
-
-define Package/sispmctl/install
-	$(INSTALL_DIR) $(1)/usr/bin
-	$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/$(PKG_NAME) $(1)/usr/bin/
-endef
-
-$(eval $(call BuildPackage,sispmctl))
-

comments