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

tang: Add package tang into tree #5447

Open
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
4 participants
@Tiboris
Contributor

Tiboris commented Jan 14, 2018

Tang is lightweight server for binding data to network presence.

Tang's source: https://github.com/latchset/tang

Maintainer: @Tiboris

Compile tested: (mips, TL-WR842N, 17.01.4, r3560-79f57e422d)

Tang requires a few other software libraries:

  1. libhttp-parser: #5446
  2. xinetd's socket activation
  3. jose >= 8: #4334

Compared to tang upstream:
Two new files:

  • tangdx : configuration file for xinetd
  • tangdw : wrapper for tangd service
    • puts timestamp when service activated, and
    • redirects stderr to log file in /var/log/

Removed systemd requirement and nagios program

Signed-off-by: Tibor Dudlák tibor.dudlak@gmail.com

Show outdated Hide outdated utils/tang/Makefile Outdated
define Package/tang
SECTION:=utils
TITLE:=tang v$(PKG_VERSION) - daemon for binding data to the presence of a third party
DEPENDS:=+libhttp-parser +xinetd +jose +bash

This comment has been minimized.

@karlp

karlp Jul 13, 2018

Contributor

really? it requires bash ?

@karlp

karlp Jul 13, 2018

Contributor

really? it requires bash ?

This comment has been minimized.

@Tiboris

Tiboris Jul 29, 2018

Contributor

I do not know how else should I make sure that tang's scripts will be run without any problem.

@Tiboris

Tiboris Jul 29, 2018

Contributor

I do not know how else should I make sure that tang's scripts will be run without any problem.

This comment has been minimized.

@Tiboris

Tiboris Aug 27, 2018

Contributor
(>&2 echo "Please check the Tang's keys in /usr/share/tang/db \
and regenate cache using /usr/libexec/tangd-update script.")
else
/usr/libexec/tangd-update /usr/share/tang/db/ /usr/share/tang/cache/

This comment has been minimized.

@karlp

karlp Jul 13, 2018

Contributor

You probably want to add these directories to the conffiles, so they are kept across upgrades right?

@karlp

karlp Jul 13, 2018

Contributor

You probably want to add these directories to the conffiles, so they are kept across upgrades right?

This comment has been minimized.

@Tiboris

Tiboris Jul 29, 2018

Contributor

Sure! I will try to do so, thank you for hint!

@Tiboris

Tiboris Jul 29, 2018

Contributor

Sure! I will try to do so, thank you for hint!

Show outdated Hide outdated utils/tang/files/tangdw Outdated
@karlp

This comment has been minimized.

Show comment
Hide comment
@karlp

karlp Jul 13, 2018

Contributor

Personally, I'd rather see the patches include the header and description of them, rather than just having the file name too.

Contributor

karlp commented Jul 13, 2018

Personally, I'd rather see the patches include the header and description of them, rather than just having the file name too.

@Tiboris

This comment has been minimized.

Show comment
Hide comment
@Tiboris

Tiboris Jul 29, 2018

Contributor

Hello @karlp,
thanks for review. I will add desctiption to patches.

Contributor

Tiboris commented Jul 29, 2018

Hello @karlp,
thanks for review. I will add desctiption to patches.

tang: Add package into tree
Tang is lightweight server for binding data to network presence.
---
Tang's source: https://github.com/latchset/tang

Maintainer: @Tiboris

Compile tested: (mips, TL-WR842N, 17.01.4, r3560-79f57e422d)

**Tang requires a few other software libraries:**

1. libhttp-parser:
2. xinetd's socket activation
3. jose >= 8:

**Two new files compared to tang upstream:**
- tangdx : configuration file for xinetd
- tangdw : wrapper for tangd service
	- puts timestamp when service activated, and
	- redirects stderr to log file in /var/log/

**Removed systemd requirement**

Signed-off-by: Tibor Dudlák <tdudlak@redhat.com>
@cloggo

This comment has been minimized.

Show comment
Hide comment
@cloggo

cloggo Sep 22, 2018

If you can add node 8 or higher to the package tree, you can basically just use tangd from https://github.com/cloggo/tangd.

cloggo commented Sep 22, 2018

If you can add node 8 or higher to the package tree, you can basically just use tangd from https://github.com/cloggo/tangd.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment