diff options
author | Alin Năstac <mrness@gentoo.org> | 2007-11-14 15:30:58 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2007-11-14 15:30:58 +0000 |
commit | 928216d21a05366d1e110df11951bf1cb2b8be8e (patch) | |
tree | 0b8d7d469dd08b04e0ded8e1ab3f72cdbabad062 /net-dialup | |
parent | Stable for HPPA (bug #198572). (diff) | |
download | historical-928216d21a05366d1e110df11951bf1cb2b8be8e.tar.gz historical-928216d21a05366d1e110df11951bf1cb2b8be8e.tar.bz2 historical-928216d21a05366d1e110df11951bf1cb2b8be8e.zip |
Version bump. Drop gnuconfig.eclass inheritance (#160186). Quote FILESDIR.
Package-Manager: portage-2.1.3.16
Diffstat (limited to 'net-dialup')
8 files changed, 581 insertions, 23 deletions
diff --git a/net-dialup/isdn4k-utils/ChangeLog b/net-dialup/isdn4k-utils/ChangeLog index 910eabd9631a..63fb184b41ed 100644 --- a/net-dialup/isdn4k-utils/ChangeLog +++ b/net-dialup/isdn4k-utils/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for net-dialup/isdn4k-utils # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/isdn4k-utils/ChangeLog,v 1.60 2007/05/02 08:17:07 genone Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/isdn4k-utils/ChangeLog,v 1.61 2007/11/14 15:30:57 mrness Exp $ + +*isdn4k-utils-3.11_pre20071003 (14 Nov 2007) + + 14 Nov 2007; Alin Năstac <mrness@gentoo.org> + +files/config-3.11_pre20071003, + +files/isdn4k-utils-3.11_pre20071003-qa-fixes.patch, + +isdn4k-utils-3.11_pre20071003.ebuild: + Version bump. Drop gnuconfig.eclass inheritance (#160186). Quote FILESDIR. 02 May 2007; Marius Mauch <genone@gentoo.org> isdn4k-utils-3.8_pre20050821.ebuild, isdn4k-utils-3.9_pre20060124.ebuild: diff --git a/net-dialup/isdn4k-utils/Manifest b/net-dialup/isdn4k-utils/Manifest index 33a829c96b99..8507341f231a 100644 --- a/net-dialup/isdn4k-utils/Manifest +++ b/net-dialup/isdn4k-utils/Manifest @@ -5,6 +5,10 @@ AUX auerswald.usermap 397 RMD160 4914f36a0095823448f43c54066e8758636396d9 SHA1 9 MD5 857c709217075d76229be25e413710d9 files/auerswald.usermap 397 RMD160 4914f36a0095823448f43c54066e8758636396d9 files/auerswald.usermap 397 SHA256 d7986d6e79316664314cdcd273635f5011c7a9365505663a5bb78227db747d49 files/auerswald.usermap 397 +AUX config-3.11_pre20071003 2596 RMD160 536d11ebe39b47f7c899b186dcdb9bce1c61922c SHA1 0cc935708fcb7532dac2e5a53390f942888002f1 SHA256 9c98a76e9b4f4a592b81883d982faee27331eeaddebbcbb7867d3198c33c1c73 +MD5 4ec35b50ece828a5a2d1a11007dcf82a files/config-3.11_pre20071003 2596 +RMD160 536d11ebe39b47f7c899b186dcdb9bce1c61922c files/config-3.11_pre20071003 2596 +SHA256 9c98a76e9b4f4a592b81883d982faee27331eeaddebbcbb7867d3198c33c1c73 files/config-3.11_pre20071003 2596 AUX config-3.8_pre20050821 2781 RMD160 f9fdfd3d8b1360a278df98cf9b273b356da93d05 SHA1 05c7db280e4e589b9489772323b69ee1c85397ea SHA256 08b531c1bf20d9d6188fab9f8afbff5693c2a3b99613880b6af0723375537081 MD5 6ac41911cd731019286016727a61f5ac files/config-3.8_pre20050821 2781 RMD160 f9fdfd3d8b1360a278df98cf9b273b356da93d05 files/config-3.8_pre20050821 2781 @@ -57,6 +61,10 @@ AUX isdn.pcmcia.conf 4581 RMD160 06af23d70633ed1183054b5687f07dac5ba5c59b SHA1 e MD5 01f12d0a19d1304719792797f8977782 files/isdn.pcmcia.conf 4581 RMD160 06af23d70633ed1183054b5687f07dac5ba5c59b files/isdn.pcmcia.conf 4581 SHA256 212293f7ca17272d215740d6d415bf9fbcd17d7c5f8bc8932904d5b6aac7ea62 files/isdn.pcmcia.conf 4581 +AUX isdn4k-utils-3.11_pre20071003-qa-fixes.patch 1630 RMD160 74b9b90ee9e8814347bb48dcc4d92aaaea943346 SHA1 5531837123473e6dd0a2f4703b27ba19ba8ccc4e SHA256 61c005b119b65c4098a184f063316a703716635255f5b2608ac13769c4d64b5e +MD5 b86b50b852bed49e0d5cd7f3318916ae files/isdn4k-utils-3.11_pre20071003-qa-fixes.patch 1630 +RMD160 74b9b90ee9e8814347bb48dcc4d92aaaea943346 files/isdn4k-utils-3.11_pre20071003-qa-fixes.patch 1630 +SHA256 61c005b119b65c4098a184f063316a703716635255f5b2608ac13769c4d64b5e files/isdn4k-utils-3.11_pre20071003-qa-fixes.patch 1630 AUX isdnlog.confd 679 RMD160 6c3cfce8a979ce5b79abd4c8f59efececd2a29de SHA1 3cf80ad22196dd01fb61e6aa4d1a463d39f33ec6 SHA256 f293af570546ed89ebfd17003ce0c5053030efabf14b0250f04c20a88e745c0f MD5 64c78da4643b660b18da623dcf0d9826 files/isdnlog.confd 679 RMD160 6c3cfce8a979ce5b79abd4c8f59efececd2a29de files/isdnlog.confd 679 @@ -79,22 +87,30 @@ RMD160 8ed0921ae6912fdb4462181a1b9a5209f2bb0c0d files/options.ippp0 443 SHA256 663e9db679a5cc471f07bd6e75ff450c3c7e6508f6bfd904b8da5437ec72d052 files/options.ippp0 443 DIST isdn4k-utils-CVS-2005-08-21.tar.bz2 5650794 RMD160 f23f4bf9f0c89f0ea154a723db70ae68713233ec SHA1 369d55f0e9e4cea0db9237ac8f40bf524a5838f4 SHA256 8d5c16dfe6e0b0d806572946e03e1cedaeb9a931896ff1bc782c75ad3435ebaa DIST isdn4k-utils-CVS-2006-01-24.tar.bz2 5756851 RMD160 e54d10fbc4db46a004ba693bbfed8b0ba503d275 SHA1 b52639c7bf2a0bf3f9ff395ac3df1856991850b9 SHA256 92e7bbf0614cc1d7940658510456b847644cf61aae37d6ae5ec5c68bf8a05ac9 -EBUILD isdn4k-utils-3.8_pre20050821.ebuild 11078 RMD160 9c96b4bf6d613ca960272ce458066e1b7cec320b SHA1 67550b343173c484d495fa7be4640bf300c773fd SHA256 acbc2ba12cb1e9eb3cd0798b7662f51c1087cbfb4245aff98a3c9640d5fab3e2 -MD5 c5a97ba8a76269889ffcfa65ad81d9a9 isdn4k-utils-3.8_pre20050821.ebuild 11078 -RMD160 9c96b4bf6d613ca960272ce458066e1b7cec320b isdn4k-utils-3.8_pre20050821.ebuild 11078 -SHA256 acbc2ba12cb1e9eb3cd0798b7662f51c1087cbfb4245aff98a3c9640d5fab3e2 isdn4k-utils-3.8_pre20050821.ebuild 11078 -EBUILD isdn4k-utils-3.9_pre20060124.ebuild 12017 RMD160 7a9586d6b6f8ced5a98a5f723f054902ca7dc80e SHA1 c2a00e3bd28be00a031882355e474b2ea2d9d48c SHA256 0cce2cc0989ab4ab89610d62366d8d245e8fccfa5a57e1d2aa12fe53e3e8cbfb -MD5 a0fe39d9c992894cce9c371d8934b196 isdn4k-utils-3.9_pre20060124.ebuild 12017 -RMD160 7a9586d6b6f8ced5a98a5f723f054902ca7dc80e isdn4k-utils-3.9_pre20060124.ebuild 12017 -SHA256 0cce2cc0989ab4ab89610d62366d8d245e8fccfa5a57e1d2aa12fe53e3e8cbfb isdn4k-utils-3.9_pre20060124.ebuild 12017 -MISC ChangeLog 15951 RMD160 4507eca2f2b5c7ef225b7500e695543890ca017b SHA1 f884f9aeb9ada3d666fbca6db04961be45215c9f SHA256 e96aef20f22e99a316f2083ca1cc3d1b1530064a475e2923ff953aed602909a8 -MD5 99a7d52fafc842a477b1b919b9eccb10 ChangeLog 15951 -RMD160 4507eca2f2b5c7ef225b7500e695543890ca017b ChangeLog 15951 -SHA256 e96aef20f22e99a316f2083ca1cc3d1b1530064a475e2923ff953aed602909a8 ChangeLog 15951 +DIST isdn4k-utils-CVS-2007-10-03.tar.bz2 6106662 RMD160 a7d50d253d638402906df0ec010fffa863ccd8e1 SHA1 912d82439de2fb5649908541404d5d05a29a25f6 SHA256 abdea12d66eb250357ee33094355396567976600b11de9d51e4c2b97d0a247ff +EBUILD isdn4k-utils-3.11_pre20071003.ebuild 11752 RMD160 f6cdb82c13ff4a9933586e3019db18159e789f9d SHA1 a7f7b033e03dce24e7cb6a7498893d6019352fb1 SHA256 deb09d8548af7cd2782c30d0424edc49932a5f01f6cf3b8d144815a2bc3eb52e +MD5 c7e4a8c9f67e6ebff7d2a303c5d38c0c isdn4k-utils-3.11_pre20071003.ebuild 11752 +RMD160 f6cdb82c13ff4a9933586e3019db18159e789f9d isdn4k-utils-3.11_pre20071003.ebuild 11752 +SHA256 deb09d8548af7cd2782c30d0424edc49932a5f01f6cf3b8d144815a2bc3eb52e isdn4k-utils-3.11_pre20071003.ebuild 11752 +EBUILD isdn4k-utils-3.8_pre20050821.ebuild 11082 RMD160 b28962589494985f7432bd518e7648d061cb7377 SHA1 a3292d3c1e558dddf8a7dda79b0c437f521cbc59 SHA256 645fff57a456ace08bd08a5a2720aa90de70ff2ed6bdb12e1d1461315672e0e5 +MD5 b168a9351ebf0f47e39866621a102c5e isdn4k-utils-3.8_pre20050821.ebuild 11082 +RMD160 b28962589494985f7432bd518e7648d061cb7377 isdn4k-utils-3.8_pre20050821.ebuild 11082 +SHA256 645fff57a456ace08bd08a5a2720aa90de70ff2ed6bdb12e1d1461315672e0e5 isdn4k-utils-3.8_pre20050821.ebuild 11082 +EBUILD isdn4k-utils-3.9_pre20060124.ebuild 12022 RMD160 19997e4d33340882cda3f3ed98d205b536e44b76 SHA1 20f2de2fc737be8e5cde1afde13142a6603a68c2 SHA256 b88bb8f093b35b79288627ef69736596d7914eece60f909b1d3bd552b4909f13 +MD5 ca0f2a72c32724d876822918e30901ff isdn4k-utils-3.9_pre20060124.ebuild 12022 +RMD160 19997e4d33340882cda3f3ed98d205b536e44b76 isdn4k-utils-3.9_pre20060124.ebuild 12022 +SHA256 b88bb8f093b35b79288627ef69736596d7914eece60f909b1d3bd552b4909f13 isdn4k-utils-3.9_pre20060124.ebuild 12022 +MISC ChangeLog 16253 RMD160 468b12235f31e6a2645f5f8025c1ddc4c7336b2a SHA1 c31be9e32063bb98782f2be5d7fbc3152f5b5839 SHA256 6db7c615c668dcfbadabe1088ac62246f43b2490bbbf07ddf1b9186afb1c8e62 +MD5 877bd09e90a3ac47772c700d38e05ade ChangeLog 16253 +RMD160 468b12235f31e6a2645f5f8025c1ddc4c7336b2a ChangeLog 16253 +SHA256 6db7c615c668dcfbadabe1088ac62246f43b2490bbbf07ddf1b9186afb1c8e62 ChangeLog 16253 MISC metadata.xml 418 RMD160 17c396ff690867e3973b4edc6e9d12913f2d122f SHA1 30c7bf94b2e4be609488267b95c74298bbd0f463 SHA256 26d507f24caf982ef7137e998ccb984ed6c555dbd4134e4c291739aebe6fccf1 MD5 41bb308eb7db7d75c04a60f8cfb73be3 metadata.xml 418 RMD160 17c396ff690867e3973b4edc6e9d12913f2d122f metadata.xml 418 SHA256 26d507f24caf982ef7137e998ccb984ed6c555dbd4134e4c291739aebe6fccf1 metadata.xml 418 +MD5 b01d14d888c9a8e4ef3d6402df26fde8 files/digest-isdn4k-utils-3.11_pre20071003 289 +RMD160 4a0b23cd13a01bf950e1aabdd2e1444133ac62fb files/digest-isdn4k-utils-3.11_pre20071003 289 +SHA256 370264a5b8a5289b5b4addb743dc82abf29b0cb343a5052421908f074b3d6ffa files/digest-isdn4k-utils-3.11_pre20071003 289 MD5 12ef52efe9327c154209634d335cece8 files/digest-isdn4k-utils-3.8_pre20050821 289 RMD160 744c728fee8c1af9529578e13488da46a5653f5f files/digest-isdn4k-utils-3.8_pre20050821 289 SHA256 8e277c915e4fff37f550919f96fee1f976be4a771d2c6a5fc2162ef4a2f2e6e8 files/digest-isdn4k-utils-3.8_pre20050821 289 @@ -102,9 +118,9 @@ MD5 23a226d133fb2e0922ba3bcafacf7524 files/digest-isdn4k-utils-3.9_pre20060124 2 RMD160 676939ffad818783078fcb4032a5648eace80578 files/digest-isdn4k-utils-3.9_pre20060124 289 SHA256 388f54ca04dad83410194b4c3ba94a1218036e2782e752c056dc548c51e2f81b files/digest-isdn4k-utils-3.9_pre20060124 289 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.3 (GNU/Linux) +Version: GnuPG v2.0.7 (GNU/Linux) -iD8DBQFGOEhz6J2i8a8J4okRApBuAKCVLucX7DqrCobjKk7/uiYeF6PKswCeOmAT -rsmPLhtyfVDJyx7626TSFa4= -=+Hr6 +iD8DBQFHOxTDVSA5X31g7/gRAl/4AJ9Xde/kFLXO8BmhhvEhHwVtUDw37gCfddQ9 +PXt4ytrECRM8ufE1frfWUZo= +=7eqE -----END PGP SIGNATURE----- diff --git a/net-dialup/isdn4k-utils/files/config-3.11_pre20071003 b/net-dialup/isdn4k-utils/files/config-3.11_pre20071003 new file mode 100644 index 000000000000..51e36ce6079e --- /dev/null +++ b/net-dialup/isdn4k-utils/files/config-3.11_pre20071003 @@ -0,0 +1,130 @@ +# +# Automatically generated by make menuconfig: don't edit +# + +# +# Code maturity level options +# +CONFIG_EXPERIMENTAL=y + +# +# General configuration +# +CONFIG_BUILDX11=y +CONFIG_KERNELDIR='/usr/src/linux' +CONFIG_BINDIR='/usr/bin' +CONFIG_SBINDIR='/usr/sbin' +CONFIG_CARD_SBINDIR='/usr/sbin' +CONFIG_MANDIR='/usr/share/man' +CONFIG_FIRMWAREDIR='/lib/firmware/isdn' +CONFIG_RUNDIR='/var/run' +CONFIG_LOCKDIR='/var/lock' +CONFIG_LOCKFILE='LCK..' +CONFIG_I4LCONFDIR='/etc/isdn' +CONFIG_CONFFILE='isdn.conf' +CONFIG_CALLERIDFILE='callerid.conf' +CONFIG_USERCONFFILE='~/.isdn' +CONFIG_COUNTRYCODE='49' +CONFIG_AREACODE='89' +CONFIG_COUNTRY_PREFIX='+' +CONFIG_AREA_PREFIX='0' +CONFIG_DATADIR='/usr/share/isdn' + +# +# Runtime configuration tools +# +CONFIG_ISDNCTRL=y +CONFIG_ISDNCTRL_CONF=y +CONFIG_ISDNCTRL_TIMRU=y +CONFIG_ISDNCTRL_DWABC_UDP_INFO=y +CONFIG_IPROFD=y +CONFIG_DIVERTCTRL=y + +# +# Card configuration tools +# +CONFIG_HISAXCTRL=y +CONFIG_ICNCTRL=y +# CONFIG_ICNCTRL_DEBUG=y +CONFIG_ACTCTRL=y +CONFIG_PCBITCTL=y +# CONFIG_AVMCAPICTRL is not set +CONFIG_ACTCTRL=y +CONFIG_EICONCTRL=y +CONFIG_LOOPCTRL=y + +# +# Tools for monitoring activity +# +CONFIG_IMON=y +CONFIG_IMONTTY=y +CONFIG_ISDNLOG=y + +# +# Options for isdnlog package +# +CONFIG_ISDNLOG_SERV_PORT=20011 +CONFIG_ISDNLOG_USERFILE='isdnlog.users' +CONFIG_ISDNLOG_CHARGEFILE='charge.dat' +CONFIG_ISDNLOG_LOGFILE='/var/log/isdn.log' +CONFIG_ISDNLOG_RELOADCMD='/etc/init.d/isdn restart' +CONFIG_ISDNLOG_STOPCMD='/etc/init.d/isdn stop' +CONFIG_ISDNLOG_REBOOTCMD='/sbin/reboot' +CONFIG_ISDNLOG_DOCDIR='' +CONFIG_ISDNLOG_OLDI4LCONFDIR='/etc/isdnlog' +CONFIG_ISDNLOG_OLDI4LCONFFILE='isdnlog.conf' +# CONFIG_ISDNLOG_POSTGRES=y +# CONFIG_ISDNLOG_POSTGRESDIR='/usr' +# CONFIG_ISDNLOG_MYSQLDB=y +# CONFIG_ISDNLOG_MYSQLDIR='/usr' +# CONFIG_ISDNLOG_ORACLE=y +CONFIG_ISDN_LOG_XX=y +CONFIG_ISDN_LOG_CC='' +CONFIG_ISDN_LOG_CC_EN=y +CONFIG_ISDN_LOG_DEST_DE=y +CONFIG_ISDN_LOG_DEST_AT=y +CONFIG_ISDN_LOG_DEST_NL=y +CONFIG_ISDN_LOG_DEST_CH=y +CONFIG_ISDN_LOG_DEST_BE=y +CONFIG_ISDN_LOG_DEST_CN=y +CONFIG_IPPPSTATS=y +CONFIG_XISDNLOAD=y +CONFIG_XMONISDN=y + +# +# Options for xmonisdn +# +CONFIG_XMONISDN_UPCMD='/etc/isdn/netup' +CONFIG_XMONISDN_DOWNCMD='/etc/isdn/netdown' + +# +# Applications +# +# CONFIG_VBOX is not set +CONFIG_IPPPD=y + +# +# Options for ipppd +# +CONFIG_IPPPD_MSCHAP=y +CONFIG_IPPP_FILTER=y +# CONFIG_IPPPD_RADIUS=y +# CONFIG_RADIUS_WTMP_LOGGING=y +# RADIUS_CLIENT_CONFIG_FILE='' +# CONFIG_CAPIFAX is not set +# CONFIG_RCAPID is not set +# CONFIG_PPPDCAPIPLUGIN is not set +CONFIG_EUROFILE=y + +# +# Options for eurofile +# +CONFIG_EFTD=y +CONFIG_EFTP=y +CONFIG_EFT_INSTALL_CONF=y + +# +# Documentation +# +CONFIG_GENMAN=y +# CONFIG_FAQ is not set diff --git a/net-dialup/isdn4k-utils/files/digest-isdn4k-utils-3.11_pre20071003 b/net-dialup/isdn4k-utils/files/digest-isdn4k-utils-3.11_pre20071003 new file mode 100644 index 000000000000..d590532136e8 --- /dev/null +++ b/net-dialup/isdn4k-utils/files/digest-isdn4k-utils-3.11_pre20071003 @@ -0,0 +1,3 @@ +MD5 640cb5303769361b35c1534e05fc7c83 isdn4k-utils-CVS-2007-10-03.tar.bz2 6106662 +RMD160 a7d50d253d638402906df0ec010fffa863ccd8e1 isdn4k-utils-CVS-2007-10-03.tar.bz2 6106662 +SHA256 abdea12d66eb250357ee33094355396567976600b11de9d51e4c2b97d0a247ff isdn4k-utils-CVS-2007-10-03.tar.bz2 6106662 diff --git a/net-dialup/isdn4k-utils/files/isdn4k-utils-3.11_pre20071003-qa-fixes.patch b/net-dialup/isdn4k-utils/files/isdn4k-utils-3.11_pre20071003-qa-fixes.patch new file mode 100644 index 000000000000..115da21b24c9 --- /dev/null +++ b/net-dialup/isdn4k-utils/files/isdn4k-utils-3.11_pre20071003-qa-fixes.patch @@ -0,0 +1,36 @@ +diff -Nru isdn4k-utils-CVS-2007-10-03.orig/imontty/Makefile isdn4k-utils-CVS-2007-10-03/imontty/Makefile +--- isdn4k-utils-CVS-2007-10-03.orig/imontty/Makefile 2007-11-14 17:17:36.000000000 +0200 ++++ isdn4k-utils-CVS-2007-10-03/imontty/Makefile 2007-11-14 17:11:40.000000000 +0200 +@@ -53,7 +53,7 @@ + $(INSTALL_MAN) $< $(DESTDIR)$(MAN8DIR)/$(MANPAGE) + + install: $(PROGS) rootperm install-man +- install -s -o 0 -g 0 -m 0755 $(PROGS) $(DESTDIR)$(CONFIG_SBINDIR) ++ install -o 0 -g 0 -m 0755 $(PROGS) $(DESTDIR)$(CONFIG_SBINDIR) + + uninstall: rootperm + for i in $(PROGS) ; do rm -f $(DESTDIR)$(CONFIG_SBINDIR)/$$i; done +diff -Nru isdn4k-utils-CVS-2007-10-03.orig/isdnlog/isdnlog/asn1_comp.c isdn4k-utils-CVS-2007-10-03/isdnlog/isdnlog/asn1_comp.c +--- isdn4k-utils-CVS-2007-10-03.orig/isdnlog/isdnlog/asn1_comp.c 2007-11-14 17:17:36.000000000 +0200 ++++ isdn4k-utils-CVS-2007-10-03/isdnlog/isdnlog/asn1_comp.c 2007-11-14 17:11:40.000000000 +0200 +@@ -61,6 +61,8 @@ + #include "asn1_aoc.h" + #include "asn1_comp.h" + ++extern void showmsg(const char *fmt, ...); ++ + // ====================================================================== + // Component EN 300 196-1 D.1 + +diff -Nru isdn4k-utils-CVS-2007-10-03.orig/xmonisdn/Imakefile isdn4k-utils-CVS-2007-10-03/xmonisdn/Imakefile +--- isdn4k-utils-CVS-2007-10-03.orig/xmonisdn/Imakefile 2002-01-30 02:51:52.000000000 +0200 ++++ isdn4k-utils-CVS-2007-10-03/xmonisdn/Imakefile 2007-11-14 17:17:48.000000000 +0200 +@@ -7,7 +7,7 @@ + OBJS = xmonisdn.o Net.o + HEADERS = NetP.h Net.h + +- INSTPGMFLAGS = -m 0755 -s ++ INSTPGMFLAGS = -m 0755 + + ComplexProgramTarget(xmonisdn) + diff --git a/net-dialup/isdn4k-utils/isdn4k-utils-3.11_pre20071003.ebuild b/net-dialup/isdn4k-utils/isdn4k-utils-3.11_pre20071003.ebuild new file mode 100644 index 000000000000..e1121ed124e7 --- /dev/null +++ b/net-dialup/isdn4k-utils/isdn4k-utils-3.11_pre20071003.ebuild @@ -0,0 +1,365 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dialup/isdn4k-utils/isdn4k-utils-3.11_pre20071003.ebuild,v 1.1 2007/11/14 15:30:57 mrness Exp $ + +WANT_AUTOCONF="2.1" +WANT_AUTOMAKE="none" + +inherit eutils multilib linux-info autotools + +MY_PV="${PV/*_pre/}" +MY_P="${PN}-CVS-${MY_PV:0:4}-${MY_PV:4:2}-${MY_PV:6:2}" + +FW_DIR="/lib/firmware" + +DESCRIPTION="ISDN4Linux Utils" +SRC_URI="ftp://ftp.isdn4linux.de/pub/isdn4linux/CVS-Snapshots/${MY_P}.tar.bz2" +HOMEPAGE="http://www.isdn4linux.de/" + +KEYWORDS="~alpha ~amd64 ~ppc ~x86" +LICENSE="GPL-2" +IUSE="X activefilter mschap ipppd isdnlog eurofile usb pcmcia" +# TODO: mysql postgres oracle radius +SLOT="0" + +# mysql? ( virtual/mysql ) +# oracle? ( dev-db/oracle-instantclient-basic ) +# postgres? ( dev-db/postgresql ) + +DEPEND="virtual/linux-sources + virtual/libc + sys-libs/ncurses + sys-libs/gdbm + dev-lang/tcl + app-text/rman + eurofile? ( net-ftp/ftpbase ) + ipppd? ( mschap? ( dev-libs/openssl ) ) + ipppd? ( activefilter? ( >=virtual/libpcap-0.9.3 ) ) + X? ( + x11-libs/libX11 + x11-libs/libXaw + x11-libs/libXmu + x11-libs/libXt + x11-misc/imake + x11-proto/xextproto + x11-proto/xproto + )" + +RDEPEND="${DEPEND} + virtual/modutils + ipppd? ( net-dialup/ppp ) + X? ( + x11-libs/libICE + x11-libs/libSM + x11-libs/libXext + x11-libs/libXp + x11-libs/libXpm + ) + pcmcia? ( virtual/pcmcia )" + +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + # check kernel config + CONFIG_CHECK="~ISDN ~ISDN_I4L" + if use ipppd; then + CONFIG_CHECK="${CONFIG_CHECK} ~ISDN_PPP" + use activefilter && CONFIG_CHECK="${CONFIG_CHECK} ~IPPP_FILTER" + fi + use eurofile && CONFIG_CHECK="${CONFIG_CHECK} ~X25 ~ISDN_X25" + get_version || die "check kernel config failed" # config checked later in pkg_postinst + + # Get country code from I4L_CC variable + # default country: DE (Germany) + I4L_CC=$(echo -n "${I4L_CC}" | tr "[:lower:]" "[:upper:]") + [ -z "${I4L_CC}" ] && I4L_CC="DE" + I4L_CC_LOW=$(echo -n "${I4L_CC}" | tr "[:upper:]" "[:lower:]") + + # Get language from I4L_LANG variable ('de' or 'en') + if [ -z "${I4L_LANG}" ]; then + case "${I4L_CC}" in + AT|CH|DE) + I4L_LANG="DE" + ;; + *) + I4L_LANG="EN" + ;; + esac + else + I4L_LANG=$(echo -n "${I4L_LANG}" | tr "[:lower:]" "[:upper:]") + [ "${I4L_LANG}" = "DE" -o "${I4L_LANG}" = "EN" ] || I4L_LANG="EN" + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${P}-qa-fixes.patch" + + # apply pcap patch (bug #99190) + use ipppd && use activefilter && \ + epatch "${FILESDIR}/ipppd-pcap-0.9.3.patch" + + # apply gcc4 patch (bug #117573) + epatch "${FILESDIR}/eiconctrl-gcc4.patch" + + # patch all Makefiles to use our CFLAGS + find . -name "Makefile*" -type f | \ + xargs -r sed -i -e "s:^\(CFLAGS.*=.*-Wall\) -O2:\1 \$(MYCFLAGS):g" \ + -e "s:^\(CFLAGS.*=.*\) -O[26] -fomit-frame-pointer:\1 \$(MYCFLAGS):g" \ + -e "s:^\(CFLAGS.*=.*\) -fomit-frame-pointer -O2:\1 \$(MYCFLAGS):g" \ + -e "s:^\(CFLAGS.*=.*\) -g -Wall:\1 \$(MYCFLAGS) -Wall:g" \ + -e "s:^\(CFLAGS.*=.*\) -Wall -g:\1 -Wall \$(MYCFLAGS):g" \ + -e "s:^\(CFLAGS.*=.*-Wall.*\) -O2 -g:\1 \$(MYCFLAGS):g" \ + -e "s:^\(CFLAGS.*= -Wall\)$:\1 \$(MYCFLAGS):g" \ + -e "s:^\(CFLAGS.*=\) -g$:\1 \$(MYCFLAGS):g" || die "sed failed" + + # install our config + case "${I4L_CC}" in + DE|AT|NL|LU|CH) + # These countries are specially supported in the isdnlog source. + sed -e "s:^CONFIG_ISDN_LOG_XX=:CONFIG_ISDN_LOG_${I4L_CC}=:g" \ + -e "s:^\(CONFIG_ISDN_LOG_CC_\)..=:\1${I4L_LANG}=:g" \ + -e "s:^CONFIG_ISDN_LOG_CC=.*$:#:g" \ + < "${FILESDIR}"/config-${PV} > .config || die "failed to modify .config" + ;; + *) + # Others get a generic isdnlog. + sed -e "s:^\(CONFIG_ISDN_LOG_CC=\).*$:\1'${I4L_CC_LOW}':g" \ + -e "s:^\(CONFIG_ISDN_LOG_CC_\)..=:\1${I4L_LANG}=:g" \ + < "${FILESDIR}"/config-${PV} > .config || die "failed to modify .config" + ;; + esac + + # build X clients + use X || \ + sed -i -e "s:^\(CONFIG_BUILDX11=.*\)$:# \1:g" \ + -e "s:^\(CONFIG_XISDNLOAD=.*\)$:# \1:g" \ + -e "s:^\(CONFIG_XMONISDN=.*\)$:# \1:g" .config + + # build ipppd + if use ipppd; then + use activefilter || \ + sed -i -e "s:^\(CONFIG_IPPP_FILTER=.*\)$:# \1:g" .config + use mschap || \ + sed -i -e "s:^\(CONFIG_IPPPD_MSCHAP=.*\)$:# \1:g" .config + else + sed -i -e "s:^\(CONFIG_IPPPD=.*\)$:# \1:g" \ + -e "s:^\(CONFIG_IPPPSTATS=.*\)$:# \1:g" .config + fi + + # build isdnlog + use isdnlog || sed -i -e "s:^\(CONFIG_ISDNLOG=.*\)$:# \1:g" .config + + # build eurofile (etf) + use eurofile || sed -i -e "s:^\(CONFIG_EUROFILE=.*\)$:# \1:g" .config + + # set firmware location + sed -i -e "s:^\(CONFIG_FIRMWAREDIR=\).*$:\1'${FW_DIR}':g" .config + + # selecting database support for isdnlog (only ONE is possible) + #use mysql || sed -i -e "s:^\(CONFIG_ISDNLOG_MYSQL.*=.*\)$:# \1:g" .config + #use oracle || sed -i -e "s:^\(CONFIG_ISDNLOG_ORACLE.*=.*\)$:# \1:g" .config + #use postgres || sed -i -e "s:^\(CONFIG_ISDNLOG_POSTGRES.*=.*\)$:# \1:g" .config + + # Patch in order to make generic config for countries which are not known to isdnlog source + sed -i -e "s:\$(INSTALL_DATA) rate-:-\$(INSTALL_DATA) rate-:g" \ + -e "s:\$(INSTALL_DATA) holiday-:-\$(INSTALL_DATA) holiday-:g" isdnlog/Makefile.in + + # Patch path to isdnlog docs + sed -i -e "s:^\(CONFIG_ISDNLOG_DOCDIR=\).*$:\1'/usr/share/doc/${PF}/isdnlog':g" .config + + # add --libdir to configure call in Makefile + sed -i -e "s:\(\./configure \):\1--libdir=/usr/$(get_libdir) :g" Makefile + + # Fixing /usr/lib to /usr/$(get_libdir} (for multilib-strict) + sed -i -e "s:/usr/lib:/usr/$(get_libdir):g" isdnctrl/Makefile.in + + # Fixing location of openssl-headers + sed -i -e "s:<ssl/:<openssl/:g" ipppd/chap_ms.c + + # disable creation of /dev nodes + sed -i -e "s:\(sh scripts/makedev.sh\):echo \1:g" Makefile + sed -i -e "s:^\([[:space:]]*\)\(.*mknod.*capi20.*\)\$:\1# \2:g" \ + -e "s:^\([[:space:]]*\)\(.*rm.*capi20.*\)\$:\1# \2:g" \ + -e "s:^\([[:space:]]*\)\(.*chgrp.*capi20.*\)\$:\1true # \2:g" scripts/makedev.sh + + # if specified, convert all relevant files to UTF-8 + # 2006-02-04: commented out because upstream switched to UTF-8 + #if use unicode; then + # einfo "Converting configs and docs to UTF-8" + # for i in isdnlog/samples/{isdn,rate}.conf* isdnlog/*-??.dat \ + # Mini-FAQ/*.txt FAQ/_howto/{pppbind,vbox_sound,xp-howto}.txt \ + # eurofile/TODO isdnlog/{README,Isdn,.country-alias}; do + # iconv -f latin1 -t utf8 -o "${i}~" "${i}" && mv -f "${i}~" "${i}" || rm -f "${i}~" + # done + # for i in isdnlog/TODO; do + # iconv -f cp850 -t utf8 -o "${i}~" "${i}" && mv -f "${i}~" "${i}" || rm -f "${i}~" + # done + #fi + + # run autoconf + einfo "Running autoconf" + for i in act2000 divertctrl doc eicon eurofile FAQ hisax icn imon ipppd \ + ipppstats iprofd isdnctrl isdnlog loop pcbit isdnlog isdnlog/client \ + isdnlog/tools/cdb isdnlog/tools/dest isdnlog/tools/zone; do + einfo " Updating ${i}" + pushd "${i}" >/dev/null + eautoconf || die "eautoconf failed in dir ${i}" + popd >/dev/null + done +} + +src_compile() { + emake -j1 MYCFLAGS="${CFLAGS}" subconfig || die "make subconfig failed" + emake -j1 MYCFLAGS="${CFLAGS}" || die "make failed" +} + +src_install() { + keepdir /var/lib/isdn + dodir /usr/sbin "${FW_DIR}" + + use isdnlog && dodir /usr/share/isdn + (use isdnlog || use eurofile) && dodir /etc/isdn + (use X || use isdnlog || use eurofile) && dodir /usr/bin + + make DESTDIR="${D}" install || die "make install failed" + + # remove obsolete firmware files (these are in net-dialup/isdn-firmware) + rm -f "${D}${FW_DIR}"/{bip1120,dnload,ds4bri,dspdload,loadpg,pc_??_ca,prload,te_????}.* + + # remove obsolete symlink + rm -f "${D}/usr/lib/X11/app-defaults" + rmdir --ignore-fail-on-non-empty "${D}/usr/lib/X11" + + # install USB hotplug stuff + if use usb; then + insinto /etc/hotplug/blacklist.d + newins "${FILESDIR}/isdn.blacklist" isdn + fi + + # install PCMCIA stuff + if use pcmcia; then + insinto /etc/pcmcia + newins "${FILESDIR}/isdn.pcmcia.conf" isdn.conf + exeinto /etc/pcmcia + newexe "${FILESDIR}/isdn.pcmcia" isdn + fi + + # install init-scripts + configs + insinto /etc + newinitd "${FILESDIR}/isdn.initd" isdn + newconfd "${FILESDIR}/isdn.confd" isdn + newinitd "${FILESDIR}/hisax.initd" hisax + doins "${FILESDIR}/hisax.conf" + + # install docs (base) + dodoc NEWS README Mini-FAQ/isdn-faq.txt scripts/makedev.sh FAQ/_howto/xp* + + # install ipppd stuff + if use ipppd; then + newinitd "${FILESDIR}"/net.ippp0 net.ippp0 + insinto /etc/ppp + doins "${FILESDIR}"/{ioptions,options.ippp0} + docinto ipppd + dodoc LEGAL.ipppcomp ipppd/{README,README.*.ORIG,NOTES.IPPPD} ipppcomp/README.LZS # ipppd/README.RADIUS + docinto ipppd/example + dodoc FAQ/_example/*.txt + docinto ipppd/howto + dodoc FAQ/_howto/{dns*,i4l_ipx*,isdn*,lan*,leased*,masq*,mppp*,ppp*,route*} + fi + + # install isdnlog stuff + if use isdnlog; then + newinitd "${FILESDIR}/isdnlog.initd" isdnlog.contr0 + newconfd "${FILESDIR}/isdnlog.confd" isdnlog.contr0 + + insinto /usr/share/isdn + doins isdnlog/*.dat + + insinto /etc/logrotate.d + newins "${FILESDIR}/isdnlog.logrotated" isdnlog + + insinto /etc/isdn # install example isdnlog configs + cp -f "${D}/etc/isdn/isdnlog.isdnctrl0.options" "${D}/etc/isdn/isdnlog.options.example" + mv -f "${D}/etc/isdn/isdnlog.isdnctrl0.options" "${D}/etc/isdn/isdnlog.options.contr0" + doins isdnlog/samples/{isdn,rate}.conf.{at,de,lu,nl,no,pl} + newins isdnlog/samples/isdn.conf isdn.conf.unknown + if [ -f "isdnlog/samples/isdn.conf.${I4L_CC_LOW}" ]; then + newins "isdnlog/samples/isdn.conf.${I4L_CC_LOW}" isdn.conf + else + doins isdnlog/samples/isdn.conf + fi + if [ -f "isdnlog/samples/rate.conf.${I4L_CC_LOW}" ]; then + newins "isdnlog/samples/rate.conf.${I4L_CC_LOW}" rate.conf + fi + sed -i -e "s:/usr/lib/isdn/:/usr/share/isdn/:g" "${D}"/etc/isdn/isdn.conf* + + docinto isdnlog + dodoc isdnlog/{BUGS,CREDITS,FAQ,Isdn,NEWS,README*,TODO} + dodoc FAQ/_howto/win* isdnlog/samples/provider + docinto isdnlog/areacode + dodoc areacode/*.doc + docinto isdnlog/contrib/isdnbill + dodoc isdnlog/contrib/isdnbill/{*.isdnbill,*.gz} + docinto isdnlog/contrib/winpopup + dodoc isdnlog/contrib/winpopup/* + + #if use oracle; then + # docinto isdnlog/oracle + # dodoc isdnlog/isdnlog/oracle/*.sql + #fi + fi + + # install eurofile stuff + if use eurofile; then + docinto eurofile + dodoc eurofile/{CHANGES,INSTALL,README*,TODO} + newdoc eurofile/src/wuauth/README README.AUTHLIB + docinto eurofile/scripts + dodoc eurofile/scripts/{eft_useradd,check_system,ix25test,eftd.sh,eftp.sh} + fi +} + +pkg_postinst() { + elog + elog "Please edit:" + elog + elog "- /etc/conf.d/isdn general config for init-script" + elog "- /etc/hisax.conf if you have hisax supported cards" + if use ipppd; then + elog "- /etc/ppp/* critical if you need networking" + fi + elog + if use isdnlog; then + elog "For isdnlog you should edit:" + elog + elog "- /etc/conf.d/isdnlog.contr0" + elog "- /etc/isdn/isdnlog.options.contr0" + elog "- /etc/isdn/*.conf" + elog + fi + elog "/etc/init.d/isdn will save and restore your isdnctrl config." + elog "it will also handle the modem-register daemon." + elog + elog "/etc/init.d/hisax will load and initialize your hisax based" + elog "cards. If you have such cards, please edit /etc/hisax.conf" + elog "and add the hisax init-script to your default runlevel." + elog + if use ipppd; then + elog "/etc/init.d/net.ippp0 will start synchronous PPP connections" + elog "which you need to set up using isdnctrl first!" + elog + fi + if use isdnlog; then + elog "/etc/init.d/isdnlog.contr0 starts and stops isdnlog for contr0" + elog "You can symlink it to isdnlog.contr1 and copy the corresponding" + elog "configs if you have more than one card." + elog + fi + elog "If any of the following kernel configuration options is missing, you" + elog "should reconfigure and rebuild your kernel before using isdn4k-utils." + linux-info_pkg_setup + elog +} diff --git a/net-dialup/isdn4k-utils/isdn4k-utils-3.8_pre20050821.ebuild b/net-dialup/isdn4k-utils/isdn4k-utils-3.8_pre20050821.ebuild index 55e6adc41ffa..e62a606514fc 100644 --- a/net-dialup/isdn4k-utils/isdn4k-utils-3.8_pre20050821.ebuild +++ b/net-dialup/isdn4k-utils/isdn4k-utils-3.8_pre20050821.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/isdn4k-utils/isdn4k-utils-3.8_pre20050821.ebuild,v 1.10 2007/05/02 08:17:07 genone Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/isdn4k-utils/isdn4k-utils-3.8_pre20050821.ebuild,v 1.11 2007/11/14 15:30:57 mrness Exp $ inherit eutils multilib gnuconfig linux-info @@ -115,13 +115,13 @@ src_unpack() { sed -e "s:^CONFIG_ISDN_LOG_XX=:CONFIG_ISDN_LOG_${I4L_CC}=:g" \ -e "s:^\(CONFIG_ISDN_LOG_CC_\)..=:\1${I4L_LANG}=:g" \ -e "s:^CONFIG_ISDN_LOG_CC=.*$:#:g" \ - < ${FILESDIR}/config-${PV} > .config || die "failed to modify .config" + < "${FILESDIR}"/config-${PV} > .config || die "failed to modify .config" ;; *) # Others get a generic isdnlog. sed -e "s:^\(CONFIG_ISDN_LOG_CC=\).*$:\1'${I4L_CC_LOW}':g" \ -e "s:^\(CONFIG_ISDN_LOG_CC_\)..=:\1${I4L_LANG}=:g" \ - < ${FILESDIR}/config-${PV} > .config || die "failed to modify .config" + < "${FILESDIR}"/config-${PV} > .config || die "failed to modify .config" ;; esac diff --git a/net-dialup/isdn4k-utils/isdn4k-utils-3.9_pre20060124.ebuild b/net-dialup/isdn4k-utils/isdn4k-utils-3.9_pre20060124.ebuild index a7b0b3a125c0..989da0f96b6c 100644 --- a/net-dialup/isdn4k-utils/isdn4k-utils-3.9_pre20060124.ebuild +++ b/net-dialup/isdn4k-utils/isdn4k-utils-3.9_pre20060124.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/isdn4k-utils/isdn4k-utils-3.9_pre20060124.ebuild,v 1.9 2007/05/02 08:17:07 genone Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/isdn4k-utils/isdn4k-utils-3.9_pre20060124.ebuild,v 1.10 2007/11/14 15:30:57 mrness Exp $ inherit eutils multilib gnuconfig linux-info @@ -128,13 +128,13 @@ src_unpack() { sed -e "s:^CONFIG_ISDN_LOG_XX=:CONFIG_ISDN_LOG_${I4L_CC}=:g" \ -e "s:^\(CONFIG_ISDN_LOG_CC_\)..=:\1${I4L_LANG}=:g" \ -e "s:^CONFIG_ISDN_LOG_CC=.*$:#:g" \ - < ${FILESDIR}/config-${PV} > .config || die "failed to modify .config" + < "${FILESDIR}"/config-${PV} > .config || die "failed to modify .config" ;; *) # Others get a generic isdnlog. sed -e "s:^\(CONFIG_ISDN_LOG_CC=\).*$:\1'${I4L_CC_LOW}':g" \ -e "s:^\(CONFIG_ISDN_LOG_CC_\)..=:\1${I4L_LANG}=:g" \ - < ${FILESDIR}/config-${PV} > .config || die "failed to modify .config" + < "${FILESDIR}"/config-${PV} > .config || die "failed to modify .config" ;; esac |