Bug 551900 - Improvements to dictd package
Summary: Improvements to dictd package
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: dictd
Version: 14
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Karsten Hopp
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-01-02 23:28 UTC by Oron Peled
Modified: 2011-07-04 12:24 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-04 12:24:19 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
A modified .spec file for dictd (7.50 KB, text/plain)
2010-01-02 23:28 UTC, Oron Peled
no flags Details

Description Oron Peled 2010-01-02 23:28:16 UTC
Created attachment 381332 [details]
A modified .spec file for dictd

Attached a modified .spec file with the following changes:
- Split package to dictd and dictd-client packages so people can
  install the client without the server functionality.

- The daemon has code to test the existance of 'dictd' user and fall back
  to 'nobody' only if it's not found. It's best not to overload different
  roles (e.g: NFS) on this user.
  Therefore, we add/remove 'dictd' user+group during install/uninstall
  according to fedora policy.
  [https://fedoraproject.org/wiki/PackageUserCreation]

- Create and own a default configuration file. The default file let
  the daemon start correctly even before it has any dictionaries.

- By default listen only on 127.0.0.1 (secure by default)

- Default directory for dictionaries (datadir) is
  now /usr/share/dict/dictd, as we don't want to pollute /usr/share.

- Add the examples directory to the documentation

Before using the suggested .spec file, a uid for dictd should be allocated in:
  https://fedoraproject.org/wiki/PackageUserRegistry
And the correct value updated in the spec file (tentatively set to 51).

Version-Release number of selected component (if applicable):
Changes done against dictd-1.11.0-5.fc12.i686

Comment 1 Bug Zapper 2010-11-04 02:00:24 UTC
This message is a reminder that Fedora 12 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 12.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '12'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 12's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 12 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 2 Oron Peled 2010-11-06 16:32:44 UTC
 * No response from maintainer yet.
 * The original dictd package in F-14 repo is still the one built in F-12 :-(
 * My suggested improved .spec file from F-12 still rebuild without modification
   on F-14 (with same software version)
 * Bumped release of this bug-report to F-14, in hope that maintainer would 
   notice.

Comment 3 Karsten Hopp 2010-11-06 19:19:46 UTC
Sorry, I'm quite busy atm with other stuff. Would you like to become co-maintainer so that you can check in your changes and build packages with your fix ?
Otherwise I'll try to find some spare minutes next week to fix this...

Comment 4 Oron Peled 2010-11-06 22:13:41 UTC
> Would you like to become co-maintainer so that you can check in your changes and build packages with your fix ?

Sure, no-problem. While we're at it I can bump to current version (1.11.2).
Just let me know any details and I'll try to push it into rawhide first.

Comment 5 Karsten Hopp 2011-07-04 12:24:19 UTC
I've added most of your changes in dictd-1.12.0-1.fc16, although I did it the other way: I've added a dictd-server subpackage and kept the main dictd packages as the client as that's what most people are looking for.


Note You need to log in before you can comment on or make changes to this bug.