diff options
author | Alin Năstac <mrness@gentoo.org> | 2008-10-18 08:05:06 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2008-10-18 08:05:06 +0000 |
commit | 98966e6d1934e76ecf8ec6daa6b33f494af97709 (patch) | |
tree | 57c55c65c8659ac9cd07644dbaf69286bab74f19 /net-dialup/hsfmodem | |
parent | Build hcfusbdiag with user specified CFLAGS/LDFLAGS (#240874). (diff) | |
download | historical-98966e6d1934e76ecf8ec6daa6b33f494af97709.tar.gz historical-98966e6d1934e76ecf8ec6daa6b33f494af97709.tar.bz2 historical-98966e6d1934e76ecf8ec6daa6b33f494af97709.zip |
Version bump.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'net-dialup/hsfmodem')
-rw-r--r-- | net-dialup/hsfmodem/ChangeLog | 8 | ||||
-rw-r--r-- | net-dialup/hsfmodem/Manifest | 12 | ||||
-rw-r--r-- | net-dialup/hsfmodem/files/hsfmodem-7.68.00.14-gentoo.patch | 129 | ||||
-rw-r--r-- | net-dialup/hsfmodem/hsfmodem-7.68.00.14.ebuild | 82 |
4 files changed, 226 insertions, 5 deletions
diff --git a/net-dialup/hsfmodem/ChangeLog b/net-dialup/hsfmodem/ChangeLog index 353bf521a279..51fb956f510f 100644 --- a/net-dialup/hsfmodem/ChangeLog +++ b/net-dialup/hsfmodem/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-dialup/hsfmodem # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/hsfmodem/ChangeLog,v 1.51 2008/09/25 20:46:56 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/hsfmodem/ChangeLog,v 1.52 2008/10/18 08:05:05 mrness Exp $ + +*hsfmodem-7.68.00.14 (18 Oct 2008) + + 18 Oct 2008; Alin Năstac <mrness@gentoo.org> + +files/hsfmodem-7.68.00.14-gentoo.patch, +hsfmodem-7.68.00.14.ebuild: + Version bump. *hsfmodem-7.68.00.13 (25 Sep 2008) diff --git a/net-dialup/hsfmodem/Manifest b/net-dialup/hsfmodem/Manifest index cce13bb5fe97..ca06bcd6f5b7 100644 --- a/net-dialup/hsfmodem/Manifest +++ b/net-dialup/hsfmodem/Manifest @@ -4,6 +4,7 @@ Hash: SHA1 AUX hsfmodem-7.68.00.09-gentoo.patch 1570 RMD160 e9e60ded13fea2fefd057fc97c9b24fb9e7e0bb2 SHA1 73428460ec1afc359971bf120966141061f39413 SHA256 16507783f89fcbe625b370adb13f552aa26b939b5c3ef10c3d893cf3649f4bda AUX hsfmodem-7.68.00.12-gentoo.patch 3028 RMD160 50ac17ea33386316b965d78e50f7199e51f65e39 SHA1 662b73e19928d8b587c5bd7c05fd485330ce293b SHA256 2e4a514651568bbff5cd447761c51e3a87d0e98737e7827e53e2af06507d40a4 AUX hsfmodem-7.68.00.13-gentoo.patch 3089 RMD160 efffe47e3d194bded0c76f2c3e6445122cba744f SHA1 b4d7c9a66f43fa604a5bcc3e65c8ab2e99c74354 SHA256 0303a348e452ee965a3677337fe69ba1eea82e49e3cfcbc4e0c9deaf8c439e12 +AUX hsfmodem-7.68.00.14-gentoo.patch 3964 RMD160 76a267a60c9aebcf5cd47a8e174c7be361b0ece6 SHA1 49a190a92714964e757cb5789ad8ab0422652700 SHA256 616d0c81de5ac1304cc896969709f71c03d6c5274a1445f55c6f4713b7389831 DIST 100498D_RM_HxF_Released.pdf 718949 RMD160 be9df1ae492bcce46775c0325cd438b91213bf7a SHA1 519c9b064e734873d67cf9c17d8eb1389a6f4eef SHA256 e05385b094ac97f13aabc9432ba7478c0acf12862b3c4da097272435d43f6ac1 DIST hsfmodem-7.68.00.09full.tar.gz 1468087 RMD160 5a1ddf2cc3f5949e279819d3f5710ed63f81f832 SHA1 323e4270e969f1ee2763313cc9f0bd29444fbb2b SHA256 380a600676bfcf81967b321e95e870b238aaa7b39310d2b9a4f0d8bc9ac5d92c DIST hsfmodem-7.68.00.09x86_64full.tar.gz 1595414 RMD160 0e4ced44d0f9327ae8f6c2b3c4af0759e859bda6 SHA1 a3d0cc78a9974c659dfb9245a17ec9fcfe0bc6fd SHA256 d235f2ef546ed928cd6c96411081d4d6dfbdaa72592fe1b25f7c7c33da92b239 @@ -11,15 +12,18 @@ DIST hsfmodem-7.68.00.12full.tar.gz 1468875 RMD160 fb6a1cfb60478b858f9f2393f54de DIST hsfmodem-7.68.00.12x86_64full.tar.gz 1596301 RMD160 8ed28c09410188649db5babf0ca768ed4ab5f01d SHA1 8a2f0ad14381c8f17ab38e63226c8dc2d253f6b6 SHA256 b02ec83047c1b8cd15274c41d2db198a4a8f46b5b233fdc75203e2db7270ac10 DIST hsfmodem-7.68.00.13full.tar.gz 1469155 RMD160 2226b57b7251bfb0af102ee13e59a2e1efb0736f SHA1 e7e47c1daa3d36ce6a0074f5167b7cb7562bcf9f SHA256 5779369e2bc368dfb9188773c9405025f3bcffd31a79ee6c8a101d5181d114a8 DIST hsfmodem-7.68.00.13x86_64full.tar.gz 1596695 RMD160 b4a496826a2955483139d1d653a8a4933bd0d0d9 SHA1 3d365894669fad10c0a38c52b34e7dbab0437767 SHA256 b4441715c45a563d7638ae1f7eb6b7412b864198148cb71eafa319d1fdbef957 +DIST hsfmodem-7.68.00.14full.tar.gz 1469774 RMD160 ab6643bea775e56b948ee14a23f84ab018aef9a2 SHA1 94bb350321ed0511bd290a371f1307956bdc86ac SHA256 6ac4928649e214823c55bb546a9b47f3fb3ae6917cbc9134e51b86c78f848d85 +DIST hsfmodem-7.68.00.14x86_64full.tar.gz 1597633 RMD160 08cff862017af089047ebe28f93e721df489c0f2 SHA1 06dd5dfcf5edbc2fa7822b74d24c1b2a8b430213 SHA256 cd6760a8dcd79393f12e8ee103eb998d9342ff647942e0e90a96e74e0108d106 EBUILD hsfmodem-7.68.00.09.ebuild 2089 RMD160 1dd99a36db9f126a27e2367b4609bd4124b1c524 SHA1 595e4846dc6c5330d41d46aa555682dd422f39aa SHA256 f913355bf18f63e6ee8da4d3e3a709d18d90116d24afac907f18ab7a13b122fb EBUILD hsfmodem-7.68.00.12.ebuild 2091 RMD160 fdb46267f0d0e7fad78d59556898da0388c5a79b SHA1 d5e353cd7222de689f9558d00845d416090988f6 SHA256 c5180e5da4839a6c63ae5726264ab5920e2ec4b435ec1b6995552e7342a879c1 EBUILD hsfmodem-7.68.00.13.ebuild 2091 RMD160 a861d3ba29872e5d116e5ad1037327554b081f46 SHA1 f6c3f6fc5d27b47a332054d19b8392d95bd8783f SHA256 5169b1b16fe2f80b8a52fbcbd7c63eb64eb5f6b6bb6f9020d574ab701ca92e59 -MISC ChangeLog 11836 RMD160 d3287a951133e4aba634d76c54340c82c2e5a13a SHA1 cab90ede6784f3be46c672eea475b8799749bfac SHA256 c9290f38cd5b975680bdde15d5a735478f65ff5f432dced4dc5f385252354ae5 +EBUILD hsfmodem-7.68.00.14.ebuild 2091 RMD160 83c0f7489fb0efaf5471cdd628da7c139cd63e6a SHA1 a2dd6d91c0640c1ad3dd3d1135e2c3c32413b347 SHA256 e8442de9e5fd73419bc63e4786350be7b1de548991232d400da105c434d28de9 +MISC ChangeLog 12009 RMD160 08c69cedc3a0b93fa9912589cbc36c800c04d92e SHA1 8c2f6e0f42d955b6a8d53bffb1b7d0e86b4acf35 SHA256 d9b78d25964407f40bdb7daf5345adb625f2621e19c149023ad0ddb71e82fe70 MISC metadata.xml 163 RMD160 df94c60cc0bb7abe5913b464a33966b142b2fe1e SHA1 d8332605fd22c32f15438bbdf24aa622c3d2738a SHA256 1137a0fd866641cf719b0c2e9e77ca9fa4541a42f2cc851fe4659cf2677acca3 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) -iEYEARECAAYFAkjb+MYACgkQPrHvTlXvhtu0uQCeIodX6PbyYGPxeoIFLgRldorF -rpYAn2V3+A/i5VGTbWIuu90QnpvSQw8p -=d/mK +iEYEARECAAYFAkj5mLgACgkQPrHvTlXvhtvVeQCdEycKYrFAZO+9G/qx9P0+NGhB +fBUAoI7riqOZXVZXQfXpVs1+L8vQPOZl +=IvEM -----END PGP SIGNATURE----- diff --git a/net-dialup/hsfmodem/files/hsfmodem-7.68.00.14-gentoo.patch b/net-dialup/hsfmodem/files/hsfmodem-7.68.00.14-gentoo.patch new file mode 100644 index 000000000000..b230164efc03 --- /dev/null +++ b/net-dialup/hsfmodem/files/hsfmodem-7.68.00.14-gentoo.patch @@ -0,0 +1,129 @@ +diff -ur hsfmodem-7.68.00.14x86_64full.orig/diag/makefile hsfmodem-7.68.00.14x86_64full/diag/makefile +--- hsfmodem-7.68.00.14x86_64full.orig/diag/makefile 2006-01-13 19:23:50.000000000 +0000 ++++ hsfmodem-7.68.00.14x86_64full/diag/makefile 2008-10-18 07:59:20.000000000 +0000 +@@ -10,7 +10,7 @@ + include $(TOP)/config.mak + -include $(TOP)/modules/imported/makeflags.mak + +-CFLAGS = -I$(TOP)/modules/imported/include -I$(TOP)/modules/include ++CFLAGS += -I$(TOP)/modules/imported/include -I$(TOP)/modules/include + CFLAGS += $(IMPORTED_FRAMEWORK_DEFS) $(IMPORTED_GENERAL_DEFS) + CFLAGS += -DCNXTTARGET="\"$(CNXTTARGET)\"" + +@@ -41,13 +41,13 @@ + $(MKDIR) -p $@ + + $(CNXTTARGET)diag: diag.o modemexpert.o +- $(CC) -o $@ $^ ++ $(CC) ${LDFLAGS} -o $@ $^ + + $(CNXTTARGET)scr: scr.o +- $(CC) -o $@ $^ ++ $(CC) ${CFLAGS} ${LDFLAGS} -o $@ $^ + + $(CNXTTARGET)dmp: dmp.o +- $(CC) -o $@ $^ ++ $(CC) ${CFLAGS} ${LDFLAGS} -o $@ $^ + + clean: + rm -f *.o $(ALL) +diff -ur hsfmodem-7.68.00.14x86_64full.orig/modules/Makefile hsfmodem-7.68.00.14x86_64full/modules/Makefile +--- hsfmodem-7.68.00.14x86_64full.orig/modules/Makefile 2008-09-09 18:27:06.000000000 +0000 ++++ hsfmodem-7.68.00.14x86_64full/modules/Makefile 2008-10-18 07:59:54.000000000 +0000 +@@ -147,7 +147,7 @@ + ifeq ($(ON_BUILD_SYSTEM)-$(CONFIG_SND_HDA_INTEL),no-) + # On Ubuntu Gutsy (7.10), the HDA modules are not included in linux-image but in a seprarate package + # and CONFIG_SND_HDA_INTEL is not enabled in the kernel .config file +-CONFIG_SND_HDA_INTEL=$(shell modprobe -n snd-hda-intel > /dev/null 2>&1 && echo y || echo n) ++# CONFIG_SND_HDA_INTEL=$(shell modprobe -n snd-hda-intel > /dev/null 2>&1 && echo y || echo n) + endif + + else +diff -ur hsfmodem-7.68.00.14x86_64full.orig/scripts/cnxtconfig.in hsfmodem-7.68.00.14x86_64full/scripts/cnxtconfig.in +--- hsfmodem-7.68.00.14x86_64full.orig/scripts/cnxtconfig.in 2008-10-01 16:13:30.000000000 +0000 ++++ hsfmodem-7.68.00.14x86_64full/scripts/cnxtconfig.in 2008-10-18 07:59:54.000000000 +0000 +@@ -1973,9 +1973,9 @@ + if [ -d /etc/udev/rules.d ]; then + rm -f /etc/udev/rules.d/00-@CNXTTARGET@.rules + if [ "@CNXTDRIVER@" = "dgc" ]; then +- echo 'KERNEL=="ttyACM0", SYMLINK="modem"' > /etc/udev/rules.d/00-@CNXTTARGET@.rules ++ echo 'KERNEL=="ttyACM0", SYMLINK="modem", GROUP="dialout"' > /etc/udev/rules.d/99-@CNXTTARGET@.rules + else +- echo 'KERNEL=="ttyS@CNXTSERDEV@0", SYMLINK="modem"' > /etc/udev/rules.d/00-@CNXTTARGET@.rules ++ echo 'KERNEL=="ttyS@CNXTSERDEV@0", SYMLINK="modem", GROUP="dialout"' > /etc/udev/rules.d/99-@CNXTTARGET@.rules + fi + fi + +diff -ur hsfmodem-7.68.00.14x86_64full.orig/scripts/rccnxt.in hsfmodem-7.68.00.14x86_64full/scripts/rccnxt.in +--- hsfmodem-7.68.00.14x86_64full.orig/scripts/rccnxt.in 2004-11-22 21:59:29.000000000 +0000 ++++ hsfmodem-7.68.00.14x86_64full/scripts/rccnxt.in 2008-10-18 07:59:54.000000000 +0000 +@@ -1,63 +1,12 @@ +-# +-# chkconfig: 2345 09 91 +-# description: @CNXTDRVDSC@ +-# +-### BEGIN INIT INFO +-# Provides: @CNXTTARGET@ +-# Should-Start: hotplug coldplug +-# Required-Start: $local_fs +-# Required-Stop: $network +-# Default-Start: 3 5 +-# Default-Stop: 0 1 2 6 +-# Description: Start @CNXTDRVDSC@ +-### END INIT INFO + +-if [ -e /etc/runlevels ]; then +- begincmd="ebegin" +- endcmd="eend" +-else +- begincmd="echo" +- endcmd="/bin/true" +-fi +- +- +-start() +-{ +- ${begincmd} "Starting @CNXTDRVDSC@" ++start() { ++ ebegin "Starting @CNXTDRVDSC@" + @CNXTSBINDIR@/@CNXTTARGET@config --rcstart +- ${endcmd} 0 ++ eend 0 + } + +-stop() +-{ +- ${begincmd} "Stopping @CNXTDRVDSC@" ++stop() { ++ ebegin "Stopping @CNXTDRVDSC@" + @CNXTSBINDIR@/@CNXTTARGET@config --rcstop +- ${endcmd} 0 ++ eend 0 + } +- +-restart() +-{ +- stop +- start +-} +- +-if [ ! -e /etc/runlevels ]; then +- case "$1" in +- start) +- start +- ;; +- stop) +- stop +- ;; +- restart|force-reload|reload) +- restart +- ;; +- status) +- exit 3 +- ;; +- *) +- echo "Usage: $0 {start|stop|status|try-restart|restart|force-reload|reload}" +- exit 1 +- ;; +- esac +-fi diff --git a/net-dialup/hsfmodem/hsfmodem-7.68.00.14.ebuild b/net-dialup/hsfmodem/hsfmodem-7.68.00.14.ebuild new file mode 100644 index 000000000000..54b180e8c07e --- /dev/null +++ b/net-dialup/hsfmodem/hsfmodem-7.68.00.14.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dialup/hsfmodem/hsfmodem-7.68.00.14.ebuild,v 1.1 2008/10/18 08:05:05 mrness Exp $ + +inherit eutils linux-info + +#The document is the same as in hcfpcimodem, even if it has a different URL +MY_DOC="100498D_RM_HxF_Released.pdf" + +DESCRIPTION="Linuxant's modem driver for Conexant HSF chipset" +HOMEPAGE="http://www.linuxant.com/drivers/hsf/index.php" +SRC_URI="x86? ( http://www.linuxant.com/drivers/hsf/full/archive/${P}full/${P}full.tar.gz ) + amd64? ( http://www.linuxant.com/drivers/hsf/full/archive/${P}x86_64full/${P}x86_64full.tar.gz ) + doc? ( http://www.linuxant.com/drivers/hsf/full/archive/${P}full/${MY_DOC} )" + +LICENSE="Conexant" +KEYWORDS="-* ~amd64 ~x86" +IUSE="doc" +SLOT="0" + +DEPEND="dev-lang/perl + app-arch/cpio" + +S="${WORKDIR}" + +pkg_setup() { + linux-info_pkg_setup + if useq x86; then + MY_ARCH_S="${S}/${P}full" + elif useq amd64; then + MY_ARCH_S="${S}/${P}x86_64full" + fi + + local f + QA_EXECSTACK="" + for f in pcibasic2 mc97ich mc97via mc97ali mc97ati mc97sis usbcd2 soar hda engine ; do + QA_EXECSTACK="${QA_EXECSTACK} usr/lib/hsfmodem/modules/imported/hsf${f}-i386.O" + done +} + +src_unpack() { + unpack ${A} + cd "${MY_ARCH_S}" + epatch "${FILESDIR}/${P}-gentoo.patch" +} + +src_compile() { + cd "${MY_ARCH_S}" + emake all || die "make failed" +} + +src_install () { + cd "${MY_ARCH_S}" + make ROOT="${D}" install || die "make install failed" + + # on testing arches, kernelcompiler.sh permissions are 0600 (#158736) + fperms a+rx /usr/lib/hsfmodem/modules/kernelcompiler.sh + + use doc && dodoc "${DISTDIR}/${MY_DOC}" +} + +pkg_preinst() { + local NVMDIR="${ROOT}/etc/${PN}/nvm" + if [ -d "${NVMDIR}" ]; then + einfo "Cleaning ${NVMDIR}..." + rm -rf "${NVMDIR}" + eend + fi +} + +pkg_postinst() { + if [ "${ROOT}" = / ]; then + elog "To complete the installation and configuration of your HSF modem," + elog "please run hsfconfig." + fi +} + +pkg_prerm() { + if [ "${ROOT}" = / -a -f /etc/init.d/hsf ] ; then + hsfconfig --remove || die "hsfconfig --remove failed" + fi +} |