Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add recipe for triggerhappy daemon #131

Closed
wants to merge 1 commit into from

Conversation

markubiak
Copy link
Contributor

Rebased from master instead of sumo.

First time upstreaming a recipe, attempts were made to clean it up but please let me know if any style conventions are being violated.

Simple recipe for the 'triggerhappy' daemon, which runs shell commands in response to inputs from /dev/input. The debian release from the official repository was used, as it contains an initscript not contained in the master.

Points potentially requiring review:

All daemons are, by default, ran as "nobody".
My environment uses systemd, sysvinit script should probably be tested for anything debian-specific but on first glance it looks fine.
When built with systemd (identified by pkg-config in the Makefile), the service is of type 'notify', requiring linkage to libsystemd. This is the intent of the PACKAGECONFIG section, works fine on my system.

@markubiak
Copy link
Contributor Author

Should be good now, thanks for the review

@kraj
Copy link
Contributor

kraj commented Mar 28, 2019

@markubiak
Copy link
Contributor Author

Resolved, I thought cleansstate would remove the saved source files but it turns out that I had to run cleanall to get rid of the old sources. Passes fine on my machine and I arrived at the same checksums as the listed error report.

Thanks

@kraj
Copy link
Contributor

kraj commented Mar 29, 2019

Please squash all three patches into single and force push to the branch.

@markubiak
Copy link
Contributor Author

Resolved

@markubiak
Copy link
Contributor Author

I believe the necessary changes have been made, any updates?

@kraj
Copy link
Contributor

kraj commented Apr 3, 2019

@kraj kraj closed this Apr 3, 2019
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this pull request Apr 25, 2022
Changelog from 2.6.11 to 2.7.1
==============================
- Bugfixes
  - fix regression introduced in 2.5.0, __cimnamespace selector
    was not properly set in requests.
  - fixed several compiler warnings
  - code cleanup
  - general code robustness
  - msvc build fixes
  - cleanup passwords after use
  - drop RANDFILE in owsmangencert.h
  - fix potential NULL pointer dereference
  - MinGW build enablement

- API change
  - client_opt: expiry and hearbeat_interval are float
    wsmc_set_sub_expiry() and wsmc_set_heartbeat_interval() change their
    first parameter from int to float
  - bump so version of libwsman_client from 4 to 5
  - new functions for C++ bindings: OpenWsmanClient::GetWithFlags()
    and OpenWsmanClient::PutWithFlags to add a 'flags' parameter
  - add FLAG_SUPRESS_100_CONTINUE to options, fixes openembedded#131 to workaround
    a curl problem. Reportedly curl 7.69.0 fixes this also in curl.
  - fixed several compiler warnings
  - fixed spelling errors

Signed-off-by: Wang Mingyu <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this pull request Apr 25, 2022
Changelog from 2.6.11 to 2.7.1
==============================
- Bugfixes
  - fix regression introduced in 2.5.0, __cimnamespace selector
    was not properly set in requests.
  - fixed several compiler warnings
  - code cleanup
  - general code robustness
  - msvc build fixes
  - cleanup passwords after use
  - drop RANDFILE in owsmangencert.h
  - fix potential NULL pointer dereference
  - MinGW build enablement

- API change
  - client_opt: expiry and hearbeat_interval are float
    wsmc_set_sub_expiry() and wsmc_set_heartbeat_interval() change their
    first parameter from int to float
  - bump so version of libwsman_client from 4 to 5
  - new functions for C++ bindings: OpenWsmanClient::GetWithFlags()
    and OpenWsmanClient::PutWithFlags to add a 'flags' parameter
  - add FLAG_SUPRESS_100_CONTINUE to options, fixes openembedded#131 to workaround
    a curl problem. Reportedly curl 7.69.0 fixes this also in curl.
  - fixed several compiler warnings
  - fixed spelling errors

Signed-off-by: Wang Mingyu <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this pull request Oct 17, 2022
Update to use github-releases for upstream tracking.

Changelog:

2022-10-05 -- 0.9.7

  * Fixed: Multiple issues with IPv6 and IPvFuture literal parsing
      (GitHub openembedded#146, GitHub openembedded#150)
      Thanks to Scallop Ye for the report and the pull request!
  * Fixed: Fix symbol visibility for -DBUILD_SHARED_LIBS=OFF (GitHub openembedded#139,
      GitHub openembedded#141); thanks to Mariusz Zaborski for the report!
  * Fixed: For MinGW, use size_t for inet_ntop declaration and fix macro
      checks for both MinGW and mingw-w64 (GitHub openembedded#131)
  * Fixed: Compiler warnings (GitHub openembedded#132, GitHub openembedded#152)
  * Improved: Use name UriConfig.h rather than generic config.h for the
      config header file to avoid name clashes and also include it through
      "UriConfig.h" with quotes rather than <UriConfig.h> so that it is found
      in quote path locations (GitHub openembedded#149)
      Thanks to Gaspard Petit for bringing this up!
  * Improved: Document need for UriConfig.h in UriMemory.c (GitHub openembedded#136)
  * Infrastructure: Add (support for) Visual Studio 17/2022 (GitHub openembedded#152)
  * Infrastructure: Drop (support for) Visual Studio <=14/2015 (GitHub openembedded#152)
  * Infrastructure: Update Clang from 13 to 15 (GitHub openembedded#143, GitHub openembedded#151)
  * Infrastructure: Make MinGW with 32bit Wine on Ubuntu 20.04 possible
      (GitHub openembedded#142, GitHub openembedded#144, GitHub openembedded#145)
  * Soname: 1:30:0 — see https://verbump.de/ for what these numbers do

Signed-off-by: Alex Kiernan <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this pull request Oct 17, 2022
Update to use github-releases for upstream tracking.

Changelog:

2022-10-05 -- 0.9.7

  * Fixed: Multiple issues with IPv6 and IPvFuture literal parsing
      (GitHub openembedded#146, GitHub openembedded#150)
      Thanks to Scallop Ye for the report and the pull request!
  * Fixed: Fix symbol visibility for -DBUILD_SHARED_LIBS=OFF (GitHub openembedded#139,
      GitHub openembedded#141); thanks to Mariusz Zaborski for the report!
  * Fixed: For MinGW, use size_t for inet_ntop declaration and fix macro
      checks for both MinGW and mingw-w64 (GitHub openembedded#131)
  * Fixed: Compiler warnings (GitHub openembedded#132, GitHub openembedded#152)
  * Improved: Use name UriConfig.h rather than generic config.h for the
      config header file to avoid name clashes and also include it through
      "UriConfig.h" with quotes rather than <UriConfig.h> so that it is found
      in quote path locations (GitHub openembedded#149)
      Thanks to Gaspard Petit for bringing this up!
  * Improved: Document need for UriConfig.h in UriMemory.c (GitHub openembedded#136)
  * Infrastructure: Add (support for) Visual Studio 17/2022 (GitHub openembedded#152)
  * Infrastructure: Drop (support for) Visual Studio <=14/2015 (GitHub openembedded#152)
  * Infrastructure: Update Clang from 13 to 15 (GitHub openembedded#143, GitHub openembedded#151)
  * Infrastructure: Make MinGW with 32bit Wine on Ubuntu 20.04 possible
      (GitHub openembedded#142, GitHub openembedded#144, GitHub openembedded#145)
  * Soname: 1:30:0 — see https://verbump.de/ for what these numbers do

Signed-off-by: Alex Kiernan <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this pull request Oct 18, 2022
Update to use github-releases for upstream tracking.

Changelog:

2022-10-05 -- 0.9.7

  * Fixed: Multiple issues with IPv6 and IPvFuture literal parsing
      (GitHub openembedded#146, GitHub openembedded#150)
      Thanks to Scallop Ye for the report and the pull request!
  * Fixed: Fix symbol visibility for -DBUILD_SHARED_LIBS=OFF (GitHub openembedded#139,
      GitHub openembedded#141); thanks to Mariusz Zaborski for the report!
  * Fixed: For MinGW, use size_t for inet_ntop declaration and fix macro
      checks for both MinGW and mingw-w64 (GitHub openembedded#131)
  * Fixed: Compiler warnings (GitHub openembedded#132, GitHub openembedded#152)
  * Improved: Use name UriConfig.h rather than generic config.h for the
      config header file to avoid name clashes and also include it through
      "UriConfig.h" with quotes rather than <UriConfig.h> so that it is found
      in quote path locations (GitHub openembedded#149)
      Thanks to Gaspard Petit for bringing this up!
  * Improved: Document need for UriConfig.h in UriMemory.c (GitHub openembedded#136)
  * Infrastructure: Add (support for) Visual Studio 17/2022 (GitHub openembedded#152)
  * Infrastructure: Drop (support for) Visual Studio <=14/2015 (GitHub openembedded#152)
  * Infrastructure: Update Clang from 13 to 15 (GitHub openembedded#143, GitHub openembedded#151)
  * Infrastructure: Make MinGW with 32bit Wine on Ubuntu 20.04 possible
      (GitHub openembedded#142, GitHub openembedded#144, GitHub openembedded#145)
  * Soname: 1:30:0 — see https://verbump.de/ for what these numbers do

Signed-off-by: Alex Kiernan <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants