Modify

Opened 10 years ago

Closed 7 years ago

Last modified 3 years ago

#2497 closed enhancement (obsolete)

djbdns port + dependencies

Reported by: Alexander Tsvyashchenko Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Kamikaze trunk
Keywords: djbdns, tinydns, ucspi-tcp, daemontools Cc:

Description

Here's djbdns + dependencies (ucspi-tcp and daemontools) port for OpenWrt, Kamikadze.

The port is based on respective port by FreeWrt, but with the following changes:

1) Instead of doing hacky host-system based configure checks, as it is done in FreeWrt port, the values of checks are hard-coded to the defaults which seem to be meaningful for most platforms OpenWrt runs on. Besides being IMHO cleaner, this avoids problems when building package on x86-64 systems (where host-based checks return 64-bit native long type, as opposed to 32-bit found on OpenWrt supported hardware).

2) Configuration is not performed by default (i.e., /etc/inittab is not patched): it doesn't seem like the right idea because most likely users of djbdns would like to construct service directory for djbdns manually, as it needs to contain both log files and persistent files (root/data and env/IP) - therefore, the best way seems to be to construct the directory layout user needs dynamically in init script, on /var system by symlinking persistent parts to /etc - which will be inherently specific to user preferences and this also interferes with the approach of putting svcscan in /etc/inittab, as then svcscan starts first, before the service directory is even constructed.

Also users / groups which djbdns relies on are not created automatically - user needs to create them manually.

Just in case, I provide in attach also my init script for convenience - I'm not considering it mature enough to be included by default in package, but probably it still may be useful for somebody as an example.

Attachments (4)

tinydns (549 bytes) - added by anonymous 10 years ago.
daemontools.patch (10.2 KB) - added by anonymous 10 years ago.
ucspi-tcp.patch (8.0 KB) - added by anonymous 10 years ago.
djbdns.patch (7.8 KB) - added by anonymous 10 years ago.

Download all attachments as: .zip

Change History (6)

Changed 10 years ago by anonymous

Changed 10 years ago by anonymous

Changed 10 years ago by anonymous

Changed 10 years ago by anonymous

comment:1 Changed 7 years ago by thepeople

  • Resolution set to obsolete
  • Status changed from new to closed
  • Version set to Kamikaze trunk

[patchteam] Everything is already in trunk, closing

comment:2 Changed 3 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.