diff --git a/libs/.gitignore b/libs/.gitignore
index 8dd2b4db57..e0fed1112a 100644
--- a/libs/.gitignore
+++ b/libs/.gitignore
@@ -70,8 +70,7 @@ missing
 /broadvoice/src/Makefile.in
 /broadvoice/src/stamp-h1
 /broadvoice/tests/regression_tests.sh
-/celt-0.10.0/
-/celt-0.7.1/
+/celt-*/
 /Communicator_semi_40.cd_semi_6000/
 /curl/curl-config
 /curl/include/curl/Makefile
@@ -116,8 +115,8 @@ missing
 /curl/src/stamp-h2
 /esl/Debug/
 /esl/Release/
-/flite-1.3.99/
-/freeradius-client-1.1.6/
+/flite-*/
+/freeradius-client-*/
 /freetdm/build/compile
 /freetdm/COPYING
 /freetdm/INSTALL
@@ -218,11 +217,11 @@ missing
 /js/nsprpub/pr/src/threads/Makefile
 /js/nsprpub/pr/tests/dll/Makefile
 /js/nsprpub/pr/tests/Makefile
-/json-c-0.9/
+/json-c-*/
 /js/src/jsautocfg.h
 /js/src/perlconnect/Makefile.PL
-/lame-3.97/
-/ldns-1.6.9/
+/lame-*/
+/ldns-*/
 /ldns/doc/ldns_manpages
 /ldns/include/
 /ldns/ldns/config.h
@@ -294,9 +293,9 @@ missing
 /libg722_1/tests/regression_tests.sh
 /libg723_1/
 /libg729/
-/libmemcached-0.32/
-/libogg-1.1.3/
-/libshout-2.2.2/
+/libmemcached-*/
+/libogg-*/
+/libshout-*/
 /libsndfile/Cfg/compile
 /libsndfile/doc/Makefile
 /libsndfile/doc/Makefile.in
@@ -336,15 +335,15 @@ missing
 /libsndfile/tests/test_wrapper.sh
 /libsndfile/Win32/Makefile
 /libsndfile/Win32/Makefile.in
-/mongo-cxx-driver-v1.8/
+/mongo-cxx-driver-v*/
 /mpg123/
-/openldap-2.4.19/
-/openssl-1.0.0a/
+/openldap-*/
+/openssl-*/
 /openzap/build/compile
 /openzap/COPYING
 /openzap/INSTALL
 /openzap/Makefile.in
-/opus-0.9.0/
+/opus-*/
 /pcre/config.h
 /pcre/Makefile
 /pcre/Makefile.in
@@ -358,7 +357,7 @@ missing
 /pcre/pcre_stringpiece_unittest
 /pcre/pcretest
 /pcre/stamp-h1
-/pocketsphinx-0.7/
+/pocketsphinx-*/
 /portaudio/bin/
 /portaudio/bin-stamp
 /portaudio/lib-stamp
@@ -501,7 +500,7 @@ missing
 /sofia-sip/open_c/Makefile.in
 /sofia-sip/packages/Makefile
 /sofia-sip/packages/Makefile.in
-/sofia-sip/packages/sofia-sip-1.12.10devel.spec
+/sofia-sip/packages/sofia-sip-*devel.spec
 /sofia-sip/s2check/Makefile
 /sofia-sip/s2check/Makefile.in
 /sofia-sip/stamp-h1
@@ -516,7 +515,7 @@ missing
 /sofia-sip/win32/Makefile.in
 /sounds/
 /soundtouch/
-/soundtouch-1.3.1/
+/soundtouch-*/
 /spandsp/config-h.in
 /spandsp/doc/doxygen
 /spandsp/doc/Makefile
@@ -642,7 +641,7 @@ missing
 /speex/win32/VS2008/speexenc/Makefile.in
 /speex/win32/VS2008/tests/Makefile
 /speex/win32/VS2008/tests/Makefile.in
-/sphinxbase-0.7/
+/sphinxbase-*/
 /sqlite/keywordhash.h
 /sqlite/lemon
 /sqlite/lempar.c
@@ -667,95 +666,95 @@ missing
 /srtp/Makefile.in
 /srtp/test/Makefile
 /srtp/test/Makefile.in
-/tiff-3.8.2/contrib/acorn/Makefile
-/tiff-3.8.2/contrib/acorn/Makefile.in
-/tiff-3.8.2/contrib/addtiffo/addtiffo
-/tiff-3.8.2/contrib/addtiffo/Makefile
-/tiff-3.8.2/contrib/addtiffo/Makefile.in
-/tiff-3.8.2/contrib/dbs/Makefile
-/tiff-3.8.2/contrib/dbs/Makefile.in
-/tiff-3.8.2/contrib/dbs/tiff-bi
-/tiff-3.8.2/contrib/dbs/tiff-grayscale
-/tiff-3.8.2/contrib/dbs/tiff-palette
-/tiff-3.8.2/contrib/dbs/tiff-rgb
-/tiff-3.8.2/contrib/dbs/xtiff/Makefile
-/tiff-3.8.2/contrib/dbs/xtiff/Makefile.in
-/tiff-3.8.2/contrib/iptcutil/iptcutil
-/tiff-3.8.2/contrib/iptcutil/Makefile
-/tiff-3.8.2/contrib/iptcutil/Makefile.in
-/tiff-3.8.2/contrib/mac-cw/Makefile
-/tiff-3.8.2/contrib/mac-cw/Makefile.in
-/tiff-3.8.2/contrib/mac-mpw/Makefile
-/tiff-3.8.2/contrib/mac-mpw/Makefile.in
-/tiff-3.8.2/contrib/Makefile
-/tiff-3.8.2/contrib/Makefile.in
-/tiff-3.8.2/contrib/mfs/Makefile
-/tiff-3.8.2/contrib/mfs/Makefile.in
-/tiff-3.8.2/contrib/ojpeg/Makefile
-/tiff-3.8.2/contrib/ojpeg/Makefile.in
-/tiff-3.8.2/contrib/pds/Makefile
-/tiff-3.8.2/contrib/pds/Makefile.in
-/tiff-3.8.2/contrib/ras/Makefile
-/tiff-3.8.2/contrib/ras/Makefile.in
-/tiff-3.8.2/contrib/stream/Makefile
-/tiff-3.8.2/contrib/stream/Makefile.in
-/tiff-3.8.2/contrib/tags/Makefile
-/tiff-3.8.2/contrib/tags/Makefile.in
-/tiff-3.8.2/contrib/win_dib/Makefile
-/tiff-3.8.2/contrib/win_dib/Makefile.in
-/tiff-3.8.2/html/images/Makefile
-/tiff-3.8.2/html/images/Makefile.in
-/tiff-3.8.2/html/Makefile
-/tiff-3.8.2/html/Makefile.in
-/tiff-3.8.2/html/man/Makefile
-/tiff-3.8.2/html/man/Makefile.in
-/tiff-3.8.2/libtiff/Makefile
-/tiff-3.8.2/libtiff/Makefile.in
-/tiff-3.8.2/libtiff/mkg3states
-/tiff-3.8.2/libtiff/stamp-h1
-/tiff-3.8.2/libtiff/stamp-h2
-/tiff-3.8.2/libtiff/tif_config.h
-/tiff-3.8.2/libtiff/tif_config.h.in
-/tiff-3.8.2/libtiff/tiffconf.h
-/tiff-3.8.2/m4/libtool.m4
-/tiff-3.8.2/m4/lt~obsolete.m4
-/tiff-3.8.2/m4/ltoptions.m4
-/tiff-3.8.2/m4/ltsugar.m4
-/tiff-3.8.2/m4/ltversion.m4
-/tiff-3.8.2/Makefile
-/tiff-3.8.2/Makefile.in
-/tiff-3.8.2/man/Makefile
-/tiff-3.8.2/man/Makefile.in
-/tiff-3.8.2/port/Makefile
-/tiff-3.8.2/port/Makefile.in
-/tiff-3.8.2/test/Makefile
-/tiff-3.8.2/test/Makefile.in
-/tiff-3.8.2/tiff-Makefile.tgz
-/tiff-3.8.2/tools/bmp2tiff
-/tiff-3.8.2/tools/fax2ps
-/tiff-3.8.2/tools/fax2tiff
-/tiff-3.8.2/tools/gif2tiff
-/tiff-3.8.2/tools/Makefile
-/tiff-3.8.2/tools/Makefile.in
-/tiff-3.8.2/tools/pal2rgb
-/tiff-3.8.2/tools/ppm2tiff
-/tiff-3.8.2/tools/ras2tiff
-/tiff-3.8.2/tools/raw2tiff
-/tiff-3.8.2/tools/rgb2ycbcr
-/tiff-3.8.2/tools/thumbnail
-/tiff-3.8.2/tools/tiff2bw
-/tiff-3.8.2/tools/tiff2pdf
-/tiff-3.8.2/tools/tiff2ps
-/tiff-3.8.2/tools/tiff2rgba
-/tiff-3.8.2/tools/tiffcmp
-/tiff-3.8.2/tools/tiffcp
-/tiff-3.8.2/tools/tiffdither
-/tiff-3.8.2/tools/tiffdump
-/tiff-3.8.2/tools/tiffgt
-/tiff-3.8.2/tools/tiffinfo
-/tiff-3.8.2/tools/tiffmedian
-/tiff-3.8.2/tools/tiffset
-/tiff-3.8.2/tools/tiffsplit
+/tiff-*/contrib/acorn/Makefile
+/tiff-*/contrib/acorn/Makefile.in
+/tiff-*/contrib/addtiffo/addtiffo
+/tiff-*/contrib/addtiffo/Makefile
+/tiff-*/contrib/addtiffo/Makefile.in
+/tiff-*/contrib/dbs/Makefile
+/tiff-*/contrib/dbs/Makefile.in
+/tiff-*/contrib/dbs/tiff-bi
+/tiff-*/contrib/dbs/tiff-grayscale
+/tiff-*/contrib/dbs/tiff-palette
+/tiff-*/contrib/dbs/tiff-rgb
+/tiff-*/contrib/dbs/xtiff/Makefile
+/tiff-*/contrib/dbs/xtiff/Makefile.in
+/tiff-*/contrib/iptcutil/iptcutil
+/tiff-*/contrib/iptcutil/Makefile
+/tiff-*/contrib/iptcutil/Makefile.in
+/tiff-*/contrib/mac-cw/Makefile
+/tiff-*/contrib/mac-cw/Makefile.in
+/tiff-*/contrib/mac-mpw/Makefile
+/tiff-*/contrib/mac-mpw/Makefile.in
+/tiff-*/contrib/Makefile
+/tiff-*/contrib/Makefile.in
+/tiff-*/contrib/mfs/Makefile
+/tiff-*/contrib/mfs/Makefile.in
+/tiff-*/contrib/ojpeg/Makefile
+/tiff-*/contrib/ojpeg/Makefile.in
+/tiff-*/contrib/pds/Makefile
+/tiff-*/contrib/pds/Makefile.in
+/tiff-*/contrib/ras/Makefile
+/tiff-*/contrib/ras/Makefile.in
+/tiff-*/contrib/stream/Makefile
+/tiff-*/contrib/stream/Makefile.in
+/tiff-*/contrib/tags/Makefile
+/tiff-*/contrib/tags/Makefile.in
+/tiff-*/contrib/win_dib/Makefile
+/tiff-*/contrib/win_dib/Makefile.in
+/tiff-*/html/images/Makefile
+/tiff-*/html/images/Makefile.in
+/tiff-*/html/Makefile
+/tiff-*/html/Makefile.in
+/tiff-*/html/man/Makefile
+/tiff-*/html/man/Makefile.in
+/tiff-*/libtiff/Makefile
+/tiff-*/libtiff/Makefile.in
+/tiff-*/libtiff/mkg3states
+/tiff-*/libtiff/stamp-h1
+/tiff-*/libtiff/stamp-h2
+/tiff-*/libtiff/tif_config.h
+/tiff-*/libtiff/tif_config.h.in
+/tiff-*/libtiff/tiffconf.h
+/tiff-*/m4/libtool.m4
+/tiff-*/m4/lt~obsolete.m4
+/tiff-*/m4/ltoptions.m4
+/tiff-*/m4/ltsugar.m4
+/tiff-*/m4/ltversion.m4
+/tiff-*/Makefile
+/tiff-*/Makefile.in
+/tiff-*/man/Makefile
+/tiff-*/man/Makefile.in
+/tiff-*/port/Makefile
+/tiff-*/port/Makefile.in
+/tiff-*/test/Makefile
+/tiff-*/test/Makefile.in
+/tiff-*/tiff-Makefile.tgz
+/tiff-*/tools/bmp2tiff
+/tiff-*/tools/fax2ps
+/tiff-*/tools/fax2tiff
+/tiff-*/tools/gif2tiff
+/tiff-*/tools/Makefile
+/tiff-*/tools/Makefile.in
+/tiff-*/tools/pal2rgb
+/tiff-*/tools/ppm2tiff
+/tiff-*/tools/ras2tiff
+/tiff-*/tools/raw2tiff
+/tiff-*/tools/rgb2ycbcr
+/tiff-*/tools/thumbnail
+/tiff-*/tools/tiff2bw
+/tiff-*/tools/tiff2pdf
+/tiff-*/tools/tiff2ps
+/tiff-*/tools/tiff2rgba
+/tiff-*/tools/tiffcmp
+/tiff-*/tools/tiffcp
+/tiff-*/tools/tiffdither
+/tiff-*/tools/tiffdump
+/tiff-*/tools/tiffgt
+/tiff-*/tools/tiffinfo
+/tiff-*/tools/tiffmedian
+/tiff-*/tools/tiffset
+/tiff-*/tools/tiffsplit
 /unimrcp/build/acmacros/libtool.m4
 /unimrcp/build/acmacros/lt~obsolete.m4
 /unimrcp/build/acmacros/ltoptions.m4
@@ -904,8 +903,8 @@ missing
 !/portaudio/bindings/cpp/build/gnu/config.sub
 !/portaudio/bindings/cpp/build/gnu/configure
 !/portaudio/bindings/cpp/build/gnu/install-sh
-!/tiff-3.8.2/config/depcomp
-!/tiff-3.8.2/config/missing
+!/tiff-*/config/depcomp
+!/tiff-*/config/missing
 !/xmlrpc-c/install-sh
 !/xmlrpc-c/missing
 !/yaml/aclocal.m4