Bug 176100 - Please do not introduce perl dependency
Summary: Please do not introduce perl dependency
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: bind
Version: 6
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Martin Stransky
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-12-19 13:45 UTC by Enrico Scholz
Modified: 2007-11-30 22:11 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-12-21 14:05:12 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Rewrite of namedGetForwarders in shell scripting (4.98 KB, application/x-shellscript)
2007-01-03 15:17 UTC, Baris Cicek
no flags Details

Description Enrico Scholz 2005-12-19 13:45:24 UTC
Description of problem:

Please do not introduce a perl dependency by shipping the
/usr/sbin/namedGetForwards in the main package. perl is not required for many
things and I would like to avoid this huge package on my servers.

The dbus stuff is needed for small amount of installations (laptops) only, so I
would recommend to add the related bits into a separate -dbus subpackage (which
is required in turn by things requiring the named dbus functionality).

The 'perl' dep did not exist in previous versions of 'named' and it would be bad
when FC5 would introduce it.


Version-Release number of selected component (if applicable):

bind-9.3.2rc1-1.1

Comment 1 Jason Vas Dias 2005-12-19 16:45:47 UTC
OK, I'll remove the perl dependency - namedGetForwarders is an optional extra
"icing on the cake" - but would be quite useful to those using the dbus features.
I don't think we should re-engineer the named dbus support to be in an 
optional sub-package - support for dbus UNIX sockets is in bind-libs, and
so cannot be fully separated from the standard bind package.




Comment 2 Jason Vas Dias 2005-12-20 22:43:52 UTC
This is now fixed with bind-9.3.2rc1-2 : bind no longer Requires: perl .


Comment 3 Enrico Scholz 2006-12-20 22:31:42 UTC
is back again in FC-6:

| $ rpm -qp i386/bind-9.3.3-0.1.rc3.fc6.i386.rpm  --filerequire | grep perl
| /usr/sbin/namedGetForwarders    /usr/bin/perl perl(Getopt::Std) 


Comment 4 Martin Stransky 2006-12-21 14:05:12 UTC
right, because this fix breaks a file coloring.
btw. perl is in the base so it's installed anyway...

Comment 5 Baris Cicek 2007-01-03 15:17:07 UTC
Created attachment 144713 [details]
Rewrite of namedGetForwarders in shell scripting

Here's rewrite of namedGetForwarders application rewritten using bash
scripting. Perl might be installed any ways, but at least bind should not be
dependent to perl for just unique application. 

Attached script works completely same way as perl coded one does.

Comment 6 Martin Stransky 2007-01-04 14:41:19 UTC
(In reply to comment #5)
> Created an attachment (id=144713) [edit]
> Rewrite of namedGetForwarders in shell scripting

Added to CVS, thanks!


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