hi,

i'm not sure if everything is ok. would be nice if someone could have a look at this.

(known bug: sispmctl -b off (buzzer off) --> segmentation fault)

greetz jonas
--
Jonas Böttner
E-Mail:   [EMAIL PROTECTED]
Homepage: http://www.freewrt.org
Index: package/Depends.mk
===================================================================
--- package/Depends.mk	(revision 3220)
+++ package/Depends.mk	(working copy)
@@ -134,6 +134,7 @@
 sipp-compile: ncurses-compile uclibc++-compile libpthread-compile
 siproxd-compile: libosip2-compile
 sipsak-compile: openssl-compile
+sispmctl-compile: libusb-compile
 snort-compile: libnet-compile libpcap-compile pcre-compile
 snort-wireless-compile: libnet-compile libpcap-compile pcre-compile
 socat-compile: openssl-compile
Index: package/Makefile
===================================================================
--- package/Makefile	(revision 3220)
+++ package/Makefile	(working copy)
@@ -290,6 +290,7 @@
 package-$(FWRT_PACKAGE_SIPP) += sipp
 package-$(FWRT_PACKAGE_SIPROXD) += siproxd
 package-$(FWRT_PACKAGE_SIPSAK) += sipsak
+package-$(FWRT_PACKAGE_SISPMCTL) += sispmctl
 package-$(FWRT_PACKAGE_SLURM) += slurm
 package-$(FWRT_COMPILE_SNORT) += snort
 package-$(FWRT_COMPILE_SNORT_WIRELESS) += snort-wireless
Index: package/sispmctl/ipkg/sispmctl.control
===================================================================
--- package/sispmctl/ipkg/sispmctl.control	(revision 0)
+++ package/sispmctl/ipkg/sispmctl.control	(revision 0)
@@ -0,0 +1,5 @@
+Package: sispmctl
+Priority: optional
+Section: misc
+Depends: libusb
+Description: control application for power sockets
Index: package/sispmctl/Config.in
===================================================================
--- package/sispmctl/Config.in	(revision 0)
+++ package/sispmctl/Config.in	(revision 0)
@@ -0,0 +1,9 @@
+config FWRT_PACKAGE_SISPMCTL
+	prompt "sispmctl............................ control application for power sockets"
+	tristate
+	default n
+	select FWRT_PACKAGE_LIBUSB
+	help
+	sispmctl is a tool to switch the USB controlled outlets of Gembird Silver Shield PM.  It is known by many names, e.g. Revolt Power Switch.	
+  
+	http://sispmctl.sourceforge.net/
Index: package/sispmctl/Makefile
===================================================================
--- package/sispmctl/Makefile	(revision 0)
+++ package/sispmctl/Makefile	(revision 0)
@@ -0,0 +1,27 @@
+# $FreeWRT$
+#-
+# This file is part of the FreeWRT project. FreeWRT is copyrighted
+# material, please see the LICENCE file in the top-level directory
+# or at http://www.freewrt.org/licence for details.
+
+include ${TOPDIR}/rules.mk
+
+PKG_NAME:=		sispmctl
+PKG_VERSION:=		2.4b
+PKG_RELEASE:=		1
+PKG_MD5SUM:=		dbdf3ab45a8ed0c42029579f0a7b5eba
+MASTER_SITES:=		${MASTER_SITE_SOURCEFORGE:=sispmctl/}
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,SISPMCTL,sispmctl,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+CONFIGURE_STYLE:=	gnu
+BUILD_STYLE:=		auto
+INSTALL_STYLE:=		auto
+
+post-install:
+	${INSTALL_DIR} ${IDIR_SISPMCTL}/usr/bin
+	${INSTALL_BIN} ${WRKBUILD}/src/sispmctl ${IDIR_SISPMCTL}/usr/bin/
+
+include ${TOPDIR}/mk/pkg-bottom.mk
Index: package/Config.in
===================================================================
--- package/Config.in	(revision 3220)
+++ package/Config.in	(working copy)
@@ -475,6 +475,7 @@
 source "package/usbutils/Config.in"  # lsusb
 source "package/pciutils/Config.in"
 source "package/procps/Config.in"
+source "package/sispmctl/Config.in"
 source "package/strace/Config.in"
 source "package/stress/Config.in"
 source "package/sysstat/Config.in"
_______________________________________________
freewrt-developers mailing list
[email protected]
https://www.freewrt.org/lists/listinfo/freewrt-developers

Reply via email to