Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 374177 - net-misc/dahdi-tools - updated dahdi-autoconf script
Summary: net-misc/dahdi-tools - updated dahdi-autoconf script
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
: 365781 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-07-05 21:03 UTC by Jaco Kroon
Modified: 2011-09-02 10:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dahdi-autoconf.initd (dahdi-autoconf,5.68 KB, text/plain)
2011-07-05 21:08 UTC, Jaco Kroon
Details
dahdi-autoconf.conf (dahdi-autoconf,1.04 KB, text/plain)
2011-07-05 21:11 UTC, Jaco Kroon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaco Kroon 2011-07-05 21:03:24 UTC
Tony,

Not sure exactly which version you've got in the tree at the moment, but here is the complete changelog anyway.

commit 4f026480d5b6d15ec5185c2a03f93a02a3db66b9
Author: Jaco Kroon <jaco@uls.co.za>
Date:   Tue May 3 09:14:54 2011 +0200

    Implement a sub-standard PRI-E1-NET mode.
    
    Unfortunately I have no way of detecting whether we should be
    master/slave in this relationship like in BRI, as such, going config is
    the only way to achieve what I want.

commit e482d363368603e57ef4ca6a08dbca83f2cbdbfc
Author: Jaco Kroon <jaco@uls.co.za>
Date:   Mon Apr 4 23:46:35 2011 +0200

    Use a counter mechanism on the location in order to determine the port number for the card.
    
    The reason for the counter is because we have no control over the name
    that's presented, wcb4xxp happens to include something useable, but
    zaphfc does not.  This mechanism works more reliably.

commit ce2915aab30a9f69bfd36d3bd8d160d9f6755b93
Author: Jaco Kroon <jaco@uls.co.za>
Date:   Mon Apr 4 23:36:59 2011 +0200

    Fix the typo in order to allow NT ports to properly configure.
    
    Additionally put a timestamp in the generated dahdi/system.conf file.

commit 10d41dedfff83e16c46c065996ce634529d1790c
Author: Jaco Kroon <jaco@uls.co.za>
Date:   Mon Mar 14 12:46:28 2011 +0200

    TE style auto-config for E1 links (No NT support yet).

commit 4ee19458b93a2f9c175a16fd0a222ab2dfea9406
Author: Jaco Kroon <jaco@uls.co.za>
Date:   Sat Feb 12 22:34:35 2011 +0200

    Move the checking for no hardware to before the read loop.
    
    This just prevents an ugly load failure when the read loop reads an
    empty line as the extra \n produced by the echo command kicks in.

commit 37f0359ba07d67f3ff026367d46dc8d9a35af011
Author: Jaco Kroon <jaco@uls.co.za>
Date:   Thu Feb 10 23:58:56 2011 +0200

    Script to at startup time generate /etc/dahdi/system.conf.
    
    And I daresay I suspect this is cleaner (and more correct) than the
    config file produced by the Digium provided dahdi_gen_conf script.


Reproducible: Always
Comment 1 Jaco Kroon 2011-07-05 21:08:26 UTC
Created attachment 279191 [details]
dahdi-autoconf.initd

Looking at the diff from the version you have this is a minor bugfix and added support for PRI NET ports (now all port types that I know of is supported).
Comment 2 Jaco Kroon 2011-07-05 21:11:21 UTC
Created attachment 279193 [details]
dahdi-autoconf.conf

New default/sample conf.d/dahdi-autoconf

Tony - unless someone else needs this I don't recommend a bump specifically for this - but next time you bump dahdi-tools just include this.
Comment 3 Tony Vroon (RETIRED) gentoo-dev 2011-09-02 09:38:34 UTC
+*dahdi-tools-2.5.0 (02 Sep 2011)
+
+  02 Sep 2011; Tony Vroon <chainsaw@gentoo.org> +dahdi-tools-2.5.0.ebuild,
+  +files/dahdi-autoconf.conf2, +files/dahdi-autoconf.init2:
+  Version bump. Newly updated autoconfig functionality by Jaco Kroon closes bug
+  #374177.
Comment 4 Tony Vroon (RETIRED) gentoo-dev 2011-09-02 10:08:49 UTC
*** Bug 365781 has been marked as a duplicate of this bug. ***