glob-include patch and manager.d

Jose Carlos Garcia Sogo jsogo@debian.org
Tue, 21 Jun 2005 22:30:30 +0200


--=-ev7dg741ZbH3rkx5W7u0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

El mar, 21-06-2005 a las 00:31 +0300, Tzafrir Cohen escribi=C3=B3:
> Hi
>=20
> Seems like its time to start thinking about changes again, once Sarge is
> out.
>=20
> One of the patches I have in our Asterisk package[1] is glob-include. It
> allows using globbing in the #include directive. This allows me to add
> extra files without explicitly configuring the packages about them. The
> patch has already been included in HEAD, so it's generally safe to add.
>=20
> I currently have the following includes:
>=20
> manager.conf: defaults to listening only on localhost and defines no
> users. includes manager.d/*.conf
>=20
> sip.conf: includes=20
> - sip-reg.d/*.conf in the general section (for register lines)
> - sip-phones/*.conf for standard SIP peers/users
>=20
> iax.conf: includes=20
> - iax-reg.d/*.conf in the general section (for register lines)
> - iax-phones/*.conf for standard IAX peers/users
>=20
> extensions.conf:
> - extensions-phones.d/*.conf: entries in [phones] section
> - extensions.d/*.conf: for complete sections
>=20
> IMO most of them are quite useful. Specifically manager.d is very useful
> for other packages that will use the manager interface and thus won't
> need to edit manager.conf at install time.
>=20
> What do you think?

 I think this patch can be useful... have you tried sending it upstream?
Anyway, I think this patch can improve package usage, so perhaps Debian
should include it, as it enhaces user "experience"

 Tzafir, can you provide a patch against Debian packages?

--=20
Jose Carlos Garcia Sogo
   jsogo@debian.org

--=-ev7dg741ZbH3rkx5W7u0
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBCuHjmS+BYJZB4jhERAtcsAJ9M4xti0/DMTLU42dN2vFYm0Yxs/wCeMUx9
hSp7yKsm3wL1jCB+oT7XTC4=
=IYVn
-----END PGP SIGNATURE-----

--=-ev7dg741ZbH3rkx5W7u0--