diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-05-30 20:39:07 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-05-30 20:39:07 +0200 |
commit | ba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd (patch) | |
tree | 10c726d162bc0ded85eb7aeacf8f246bd39ad63a /package/heyu | |
parent | bbd610f15a71b27c955175cb98392b114717fd47 (diff) |
optimize ipkg package management
- generate ipkg control file from PKG_* variables
- automatically install init scripts from ./files/*.init
set #PKG pkgname to set the binary package
- rename FWINIT -> INIT
- move postinst and conffiles meta data to ./files
- update the packages to the latest upstream version
- remove some unready or unused package (strongswan,..)
more cleanups needed after allmodconfig
Diffstat (limited to 'package/heyu')
-rw-r--r-- | package/heyu/Makefile | 13 | ||||
-rw-r--r-- | package/heyu/files/files/heyu.conffiles (renamed from package/heyu/ipkg/files/heyu.conffiles) | 0 | ||||
-rw-r--r-- | package/heyu/ipkg/heyu.control | 6 | ||||
-rw-r--r-- | package/heyu/patches/patch-tty_c | 8 | ||||
-rw-r--r-- | package/heyu/patches/patch-x10state_c | 12 |
5 files changed, 25 insertions, 14 deletions
diff --git a/package/heyu/Makefile b/package/heyu/Makefile index a87affdfc..7e9efc5a0 100644 --- a/package/heyu/Makefile +++ b/package/heyu/Makefile @@ -6,15 +6,20 @@ include ${TOPDIR}/rules.mk PKG_NAME:= heyu -PKG_VERSION:= 2.3.2 +PKG_VERSION:= 2.6.0 PKG_RELEASE:= 1 -PKG_MD5SUM:= af3eeeaa8c432e5b3510f4df6dd39f4f +PKG_MD5SUM:= 9c7624b61ea39bbfa70336dc703cd5f1 +PKG_DESCR:= X10 home automation control using the CM11A +PKG_SECTION:= misc +PKG_DEPENDS:= setserial +PKG_URL:= http://heyu.tanj.com +PKG_SITES:= http://heyu.tanj.com/download/ + DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tgz -MASTER_SITES:= http://heyu.tanj.com/download/ include ${TOPDIR}/mk/package.mk -$(eval $(call PKG_template,HEYU,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE})) +$(eval $(call PKG_template,HEYU,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) do-build: (cd ${WRKBUILD} && ${BASH} ./Configure); diff --git a/package/heyu/ipkg/files/heyu.conffiles b/package/heyu/files/files/heyu.conffiles index f3c36bc00..f3c36bc00 100644 --- a/package/heyu/ipkg/files/heyu.conffiles +++ b/package/heyu/files/files/heyu.conffiles diff --git a/package/heyu/ipkg/heyu.control b/package/heyu/ipkg/heyu.control deleted file mode 100644 index e888f236c..000000000 --- a/package/heyu/ipkg/heyu.control +++ /dev/null @@ -1,6 +0,0 @@ -Package: heyu -Priority: optional -Section: misc -Source: buildroot internal -Description: X10 home automation control using the CM11A -Depends: setserial diff --git a/package/heyu/patches/patch-tty_c b/package/heyu/patches/patch-tty_c index d5a83ff86..cb8acf6d9 100644 --- a/package/heyu/patches/patch-tty_c +++ b/package/heyu/patches/patch-tty_c @@ -1,8 +1,8 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ ---- heyu-2.3.2.orig/tty.c 2008-04-14 00:40:24.000000000 +0200 -+++ heyu-2.3.2/tty.c 2008-10-09 14:57:18.000000000 +0200 -@@ -396,7 +396,7 @@ char *make_lock_name ( char *ttydev ) - char err_string[200]; +--- heyu-2.6.0.orig/tty.c 2009-01-19 03:57:00.000000000 +0100 ++++ heyu-2.6.0/tty.c 2009-05-29 14:08:06.087764489 +0200 +@@ -395,7 +395,7 @@ char *make_lock_name ( char *ttydev ) + struct stat stat_buf; /* strip the leading path name */ - ptr = rindex(ttydev, '/'); diff --git a/package/heyu/patches/patch-x10state_c b/package/heyu/patches/patch-x10state_c new file mode 100644 index 000000000..c56f2489d --- /dev/null +++ b/package/heyu/patches/patch-x10state_c @@ -0,0 +1,12 @@ +$Id: update-patches 24 2008-08-31 14:56:13Z wbx $ +--- heyu-2.6.0.orig/x10state.c 2009-04-21 00:45:51.000000000 +0200 ++++ heyu-2.6.0/x10state.c 2009-05-29 14:17:51.812378291 +0200 +@@ -5601,7 +5601,7 @@ char **create_noenv_environment ( LAUNCH + + // launcherp = configp->launcherp; + +- if ( daemon == D_RELAY || (index >= 0 && launcherp && launcherp->type == L_POWERFAIL) ) ++ if ( daemon == D_RELAY || (launcherp && launcherp->type == L_POWERFAIL) ) + putenv("HEYU_PARENT=RELAY"); + else + putenv("HEYU_PARENT=ENGINE"); |