diff options
author | Marcin Juszkiewicz <hrw@openembedded.org> | 2006-01-13 13:25:59 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-01-13 13:25:59 +0000 |
commit | 20938adc193b05ec07f801b9ed5e4c2a6c4a73c9 (patch) | |
tree | b6e4077aceeaac6ff62e45f477397291da7c5bd8 /packages/opie-securityplugins | |
parent | d3db6716cb221a16011af6f6d40c6ae17c766990 (diff) |
opie-securityplugins: cleanup to get them look like other OPIE recipes
- each plugin has own .inc file used by 1.2.1 and CVS version
- each plugin .inc include one common opie-securityplugin.inc which define
common stuff like SECTION/MAINTAINER/RDEPENDS
Diffstat (limited to 'packages/opie-securityplugins')
13 files changed, 78 insertions, 169 deletions
diff --git a/packages/opie-securityplugins/opie-securityplugin-blueping.inc b/packages/opie-securityplugins/opie-securityplugin-blueping.inc new file mode 100644 index 0000000000..35f972ef9a --- /dev/null +++ b/packages/opie-securityplugins/opie-securityplugin-blueping.inc @@ -0,0 +1,15 @@ +DESCRIPTION = "Blueping plugin for opie-security authentication. \ +This is a bluetooth-based authentication plugin (you need \ +to have another Bluetooth device around to use it)." +RDEPENDS += "bluez-utils" +APPNAME = "multiauthbluepingplugin" + +include opie-securityplugin.inc + +S = "${WORKDIR}/blueping" + +do_install() { + install -d ${D}${palmtopdir}/pics/security/ + install -m 0644 ${WORKDIR}/pics/security/bluepingplugin.png ${D}${palmtopdir}/pics/security/ +} + diff --git a/packages/opie-securityplugins/opie-securityplugin-blueping_1.2.1.bb b/packages/opie-securityplugins/opie-securityplugin-blueping_1.2.1.bb index 85127240ab..65de7b78ec 100644 --- a/packages/opie-securityplugins/opie-securityplugin-blueping_1.2.1.bb +++ b/packages/opie-securityplugins/opie-securityplugin-blueping_1.2.1.bb @@ -1,26 +1,5 @@ -DESCRIPTION = "Blueping plugin for opie-security authentication. \ -This is a bluetooth-based authentication plugin (you need \ -to have another Bluetooth device around to use it)." -SECTION = "opie/security" -PRIORITY = "optional" -MAINTAINER = "Team Opie <opie@handhelds.org>" -LICENSE = "GPL" -I18N_FILES = "libmultiauthbluepingplugin.ts" -RDEPENDS = "opie-security bluez-utils" - -APPNAME = "multiauthbluepingplugin" - +include opie-securityplugin-blueping.inc SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/noncore/securityplugins/blueping \ ${HANDHELDS_CVS};tag=${TAG};module=opie/pics " -S = "${WORKDIR}/blueping" - -inherit opie - -# FILES plugins/security/libmultiauthbluepingplugin.so* pics/security/bluepingplugin.png root/etc/suspend-scripts/S50bluetooth -do_install() { - install -d ${D}${palmtopdir}/pics/security/ - install -m 0644 ${WORKDIR}/pics/security/bluepingplugin.png ${D}${palmtopdir}/pics/security/ -} - diff --git a/packages/opie-securityplugins/opie-securityplugin-blueping_cvs.bb b/packages/opie-securityplugins/opie-securityplugin-blueping_cvs.bb index 45f5ecf221..52bcbe6d16 100644 --- a/packages/opie-securityplugins/opie-securityplugin-blueping_cvs.bb +++ b/packages/opie-securityplugins/opie-securityplugin-blueping_cvs.bb @@ -1,25 +1,7 @@ -DESCRIPTION = "Blueping plugin for opie-security authentication. \ -This is a bluetooth-based authentication plugin (you need \ -to have another Bluetooth device around to use it)." -SECTION = "opie/security" -PRIORITY = "optional" -MAINTAINER = "Team Opie <opie@handhelds.org>" -LICENSE = "GPL" -I18N_FILES = "libmultiauthbluepingplugin.ts" -RDEPENDS = "opie-security bluez-utils" +include opie-securityplugin-blueping.inc + PV = "${OPIE_CVS_PV}" -APPNAME = "multiauthbluepingplugin" SRC_URI = "${HANDHELDS_CVS};module=opie/noncore/securityplugins/blueping \ ${HANDHELDS_CVS};module=opie/pics " -S = "${WORKDIR}/blueping" - -inherit opie - -# FILES plugins/security/libmultiauthbluepingplugin.so* pics/security/bluepingplugin.png root/etc/suspend-scripts/S50bluetooth -do_install() { - install -d ${D}${palmtopdir}/pics/security/ - install -m 0644 ${WORKDIR}/pics/security/bluepingplugin.png ${D}${palmtopdir}/pics/security/ -} - diff --git a/packages/opie-securityplugins/opie-securityplugin-dummy.inc b/packages/opie-securityplugins/opie-securityplugin-dummy.inc new file mode 100644 index 0000000000..bb0a9b962b --- /dev/null +++ b/packages/opie-securityplugins/opie-securityplugin-dummy.inc @@ -0,0 +1,14 @@ +DESCRIPTION = "Dummy plugin for opie-security authentication. \ +This is a very simple authentication plugin (you just have \ +to press a button basically), for demonstration purpose." +APPNAME = "multiauthdummyplugin" + +include opie-securityplugin.inc + +S = "${WORKDIR}/dummy" + +do_install() { + install -d ${D}${palmtopdir}/pics/security + install -m 0644 ${WORKDIR}/pics/security/dummyplugin.png ${D}${palmtopdir}/pics/security/ +} + diff --git a/packages/opie-securityplugins/opie-securityplugin-dummy_1.2.1.bb b/packages/opie-securityplugins/opie-securityplugin-dummy_1.2.1.bb index 825c14ea53..4a5bc3c2e0 100644 --- a/packages/opie-securityplugins/opie-securityplugin-dummy_1.2.1.bb +++ b/packages/opie-securityplugins/opie-securityplugin-dummy_1.2.1.bb @@ -1,26 +1,5 @@ -DESCRIPTION = "Dummy plugin for opie-security authentication. \ -This is a very simple authentication plugin (you just have \ -to press a button basically), for demonstration purpose." -SECTION = "opie/security" -PRIORITY = "optional" -MAINTAINER = "Team Opie <opie@handhelds.org>" -LICENSE = "GPL" -I18N_FILES = "libmultiauthdummyplugin.ts" -RDEPENDS = "opie-security" - -APPNAME = "multiauthdummyplugin" - +include opie-securityplugin-dummy.inc SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/noncore/securityplugins/dummy \ ${HANDHELDS_CVS};tag=${TAG};module=opie/pics " -S = "${WORKDIR}/dummy" - -inherit opie - -# FILES plugins/security/libmultiauthdummyplugin.so* pics/security/dummyplugin.png -do_install() { - install -d ${D}${palmtopdir}/pics/security - install -m 0644 ${WORKDIR}/pics/security/dummyplugin.png ${D}${palmtopdir}/pics/security/ -} - diff --git a/packages/opie-securityplugins/opie-securityplugin-dummy_cvs.bb b/packages/opie-securityplugins/opie-securityplugin-dummy_cvs.bb index 5aad60f8a6..b0d1e8d49e 100644 --- a/packages/opie-securityplugins/opie-securityplugin-dummy_cvs.bb +++ b/packages/opie-securityplugins/opie-securityplugin-dummy_cvs.bb @@ -1,25 +1,7 @@ -DESCRIPTION = "Dummy plugin for opie-security authentication. \ -This is a very simple authentication plugin (you just have \ -to press a button basically), for demonstration purpose." -SECTION = "opie/security" -PRIORITY = "optional" -MAINTAINER = "Team Opie <opie@handhelds.org>" -LICENSE = "GPL" -I18N_FILES = "libmultiauthdummyplugin.ts" -RDEPENDS = "opie-security" +include opie-securityplugin-dummy.inc + PV = "${OPIE_CVS_PV}" -APPNAME = "multiauthdummyplugin" SRC_URI = "${HANDHELDS_CVS};module=opie/noncore/securityplugins/dummy \ ${HANDHELDS_CVS};module=opie/pics " -S = "${WORKDIR}/dummy" - -inherit opie - -# FILES plugins/security/libmultiauthdummyplugin.so* pics/security/dummyplugin.png -do_install() { - install -d ${D}${palmtopdir}/pics/security - install -m 0644 ${WORKDIR}/pics/security/dummyplugin.png ${D}${palmtopdir}/pics/security/ -} - diff --git a/packages/opie-securityplugins/opie-securityplugin-notice.inc b/packages/opie-securityplugins/opie-securityplugin-notice.inc new file mode 100644 index 0000000000..09a4025760 --- /dev/null +++ b/packages/opie-securityplugins/opie-securityplugin-notice.inc @@ -0,0 +1,13 @@ +DESCRIPTION = "Notice plugin for opie-security authentication. \ +It allows you to display, for example, a notice from your legal departement." +APPNAME = "multiauthnoticeplugin" + +include opie-securityplugin.inc + +S = "${WORKDIR}/notice" + +do_install() { + install -d ${D}${palmtopdir}/pics/security/ + install -m 0644 ${WORKDIR}/pics/security/noticeplugin*.png ${D}${palmtopdir}/pics/security/ +} + diff --git a/packages/opie-securityplugins/opie-securityplugin-notice_1.2.1.bb b/packages/opie-securityplugins/opie-securityplugin-notice_1.2.1.bb index b1f11bcf6a..08bd1b13c0 100644 --- a/packages/opie-securityplugins/opie-securityplugin-notice_1.2.1.bb +++ b/packages/opie-securityplugins/opie-securityplugin-notice_1.2.1.bb @@ -1,25 +1,5 @@ -DESCRIPTION = "Notice plugin for opie-security authentication. \ -It allows you to display, for example, a notice from your legal departement." -SECTION = "opie/security" -PRIORITY = "optional" -MAINTAINER = "Team Opie <opie@handhelds.org>" -LICENSE = "GPL" -I18N_FILES = "libmultiauthnoticeplugin.ts" -RDEPENDS = "opie-security" - -APPNAME = "multiauthnoticeplugin" - +include opie-securityplugin-notice.inc SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/noncore/securityplugins/notice \ ${HANDHELDS_CVS};tag=${TAG};module=opie/pics " -S = "${WORKDIR}/notice" - -inherit opie - -# FILES plugins/security/libmultiauthnoticeplugin.so* pics/security/noticeplugin.png pics/security/noticeplugin_small.png -do_install() { - install -d ${D}${palmtopdir}/pics/security/ - install -m 0644 ${WORKDIR}/pics/security/noticeplugin*.png ${D}${palmtopdir}/pics/security/ -} - diff --git a/packages/opie-securityplugins/opie-securityplugin-notice_cvs.bb b/packages/opie-securityplugins/opie-securityplugin-notice_cvs.bb index 1f1ec113be..5223edbaf8 100644 --- a/packages/opie-securityplugins/opie-securityplugin-notice_cvs.bb +++ b/packages/opie-securityplugins/opie-securityplugin-notice_cvs.bb @@ -1,24 +1,7 @@ -DESCRIPTION = "Notice plugin for opie-security authentication. \ -It allows you to display, for example, a notice from your legal departement." -SECTION = "opie/security" -PRIORITY = "optional" -MAINTAINER = "Team Opie <opie@handhelds.org>" -LICENSE = "GPL" -I18N_FILES = "libmultiauthnoticeplugin.ts" -RDEPENDS = "opie-security" +include opie-securityplugin-notice.inc + PV = "${OPIE_CVS_PV}" -APPNAME = "multiauthnoticeplugin" SRC_URI = "${HANDHELDS_CVS};module=opie/noncore/securityplugins/notice \ ${HANDHELDS_CVS};module=opie/pics " -S = "${WORKDIR}/notice" - -inherit opie - -# FILES plugins/security/libmultiauthnoticeplugin.so* pics/security/noticeplugin.png pics/security/noticeplugin_small.png -do_install() { - install -d ${D}${palmtopdir}/pics/security/ - install -m 0644 ${WORKDIR}/pics/security/noticeplugin*.png ${D}${palmtopdir}/pics/security/ -} - diff --git a/packages/opie-securityplugins/opie-securityplugin-pin.inc b/packages/opie-securityplugins/opie-securityplugin-pin.inc new file mode 100644 index 0000000000..6286d8abcf --- /dev/null +++ b/packages/opie-securityplugins/opie-securityplugin-pin.inc @@ -0,0 +1,15 @@ +DESCRIPTION = "PIN plugin for opie-security authentication. \ +It implements the same kind of widgets as opie-security package, \ +but this implementation can be used along with other authentication \ +methods in the Opie Multi-Authentication Framework." +APPNAME = "multiauthpinplugin" + +include opie-securityplugin.inc + +S = "${WORKDIR}/pin" + +do_install() { + install -d ${D}${palmtopdir}/pics/security/ + install -m 0644 ${WORKDIR}/pics/security/pinplugin.png ${D}${palmtopdir}/pics/security/ +} + diff --git a/packages/opie-securityplugins/opie-securityplugin-pin_1.2.1.bb b/packages/opie-securityplugins/opie-securityplugin-pin_1.2.1.bb index 5a2d03f6d5..c5ccde6b5c 100644 --- a/packages/opie-securityplugins/opie-securityplugin-pin_1.2.1.bb +++ b/packages/opie-securityplugins/opie-securityplugin-pin_1.2.1.bb @@ -1,27 +1,5 @@ -DESCRIPTION = "PIN plugin for opie-security authentication. \ -It implements the same kind of widgets as opie-security package, \ -but this implementation can be used along with other authentication \ -methods in the Opie Multi-Authentication Framework." -SECTION = "opie/security" -PRIORITY = "optional" -MAINTAINER = "Team Opie <opie@handhelds.org>" -LICENSE = "GPL" -I18N_FILES = "libmultiauthpinplugin.ts" -RDEPENDS = "opie-security" - -APPNAME = "multiauthpinplugin" - +include opie-securityplugin-pin.inc SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/noncore/securityplugins/pin \ - ${HANDHELDS_CVS};tag=${TAG};module=opie/pics " - -S = "${WORKDIR}/pin" - -inherit opie - -# FILES plugins/security/libmultiauthpinplugin.so* pics/security/pinplugin.png -do_install() { - install -d ${D}${palmtopdir}/pics/security/ - install -m 0644 ${WORKDIR}/pics/security/pinplugin.png ${D}${palmtopdir}/pics/security/ -} + ${HANDHELDS_CVS};tag=${TAG};module=opie/pics" diff --git a/packages/opie-securityplugins/opie-securityplugin-pin_cvs.bb b/packages/opie-securityplugins/opie-securityplugin-pin_cvs.bb index 792fc706c0..bf2a607650 100644 --- a/packages/opie-securityplugins/opie-securityplugin-pin_cvs.bb +++ b/packages/opie-securityplugins/opie-securityplugin-pin_cvs.bb @@ -1,26 +1,7 @@ -DESCRIPTION = "PIN plugin for opie-security authentication. \ -It implements the same kind of widgets as opie-security package, \ -but this implementation can be used along with other authentication \ -methods in the Opie Multi-Authentication Framework." -SECTION = "opie/security" -PRIORITY = "optional" -MAINTAINER = "Team Opie <opie@handhelds.org>" -LICENSE = "GPL" -I18N_FILES = "libmultiauthpinplugin.ts" -RDEPENDS = "opie-security" +include opie-securityplugin-pin.inc + PV = "${OPIE_CVS_PV}" -APPNAME = "multiauthpinplugin" SRC_URI = "${HANDHELDS_CVS};module=opie/noncore/securityplugins/pin \ ${HANDHELDS_CVS};module=opie/pics " -S = "${WORKDIR}/pin" - -inherit opie - -# FILES plugins/security/libmultiauthpinplugin.so* pics/security/pinplugin.png -do_install() { - install -d ${D}${palmtopdir}/pics/security/ - install -m 0644 ${WORKDIR}/pics/security/pinplugin.png ${D}${palmtopdir}/pics/security/ -} - diff --git a/packages/opie-securityplugins/opie-securityplugin.inc b/packages/opie-securityplugins/opie-securityplugin.inc new file mode 100644 index 0000000000..855a610f6d --- /dev/null +++ b/packages/opie-securityplugins/opie-securityplugin.inc @@ -0,0 +1,8 @@ +SECTION = "opie/security" +PRIORITY = "optional" +MAINTAINER = "Team Opie <opie@handhelds.org>" +LICENSE = "GPL" +RDEPENDS = "opie-security" +I18N_FILES = "lib${APPNAME}.ts" + +inherit opie |