diff options
author | Alin Năstac <mrness@gentoo.org> | 2008-09-23 19:57:13 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2008-09-23 19:57:13 +0000 |
commit | d57b785d034c94a4d472e76171fe66dc272eeeb0 (patch) | |
tree | f20bbc89af9d7ed21f0b9cb246aa7d87de13695c /net-dialup/hsfmodem | |
parent | Fix accidental removal (#233852) (diff) | |
download | historical-d57b785d034c94a4d472e76171fe66dc272eeeb0.tar.gz historical-d57b785d034c94a4d472e76171fe66dc272eeeb0.tar.bz2 historical-d57b785d034c94a4d472e76171fe66dc272eeeb0.zip |
Fix accidental ebuild removal (#233852).
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'net-dialup/hsfmodem')
-rw-r--r-- | net-dialup/hsfmodem/Manifest | 10 | ||||
-rw-r--r-- | net-dialup/hsfmodem/hsfmodem-7.68.00.12.ebuild | 82 |
2 files changed, 87 insertions, 5 deletions
diff --git a/net-dialup/hsfmodem/Manifest b/net-dialup/hsfmodem/Manifest index b8fceda4613d..9653a71b53b1 100644 --- a/net-dialup/hsfmodem/Manifest +++ b/net-dialup/hsfmodem/Manifest @@ -2,20 +2,20 @@ 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 1616 RMD160 d0987ce7ac863601348b24bf1536d55e2050189a SHA1 12bd462932db87f9cab88b13f538f20bc17d512b SHA256 216813bbad6f52f4f1017c8dab8220491038f34662ad3e4931b04e4b246e4cb6 +AUX hsfmodem-7.68.00.12-gentoo.patch 3028 RMD160 50ac17ea33386316b965d78e50f7199e51f65e39 SHA1 662b73e19928d8b587c5bd7c05fd485330ce293b SHA256 2e4a514651568bbff5cd447761c51e3a87d0e98737e7827e53e2af06507d40a4 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 DIST hsfmodem-7.68.00.12full.tar.gz 1468875 RMD160 fb6a1cfb60478b858f9f2393f54de0d43eef812c SHA1 69bfde1db7d2d52877c99346d9462afb753724e0 SHA256 e3af53751c6eeed971f492a1739181901425ea4139ce4b599f57b46cb903660d DIST hsfmodem-7.68.00.12x86_64full.tar.gz 1596301 RMD160 8ed28c09410188649db5babf0ca768ed4ab5f01d SHA1 8a2f0ad14381c8f17ab38e63226c8dc2d253f6b6 SHA256 b02ec83047c1b8cd15274c41d2db198a4a8f46b5b233fdc75203e2db7270ac10 EBUILD hsfmodem-7.68.00.09.ebuild 2089 RMD160 1dd99a36db9f126a27e2367b4609bd4124b1c524 SHA1 595e4846dc6c5330d41d46aa555682dd422f39aa SHA256 f913355bf18f63e6ee8da4d3e3a709d18d90116d24afac907f18ab7a13b122fb -EBUILD hsfmodem-7.68.00.12.ebuild 2097 RMD160 46b788064b85b5f8e9215eb4f1798b020f6c9392 SHA1 e4241f22e0ff83aada28e46ac881c5dcc5c3bb01 SHA256 de81e01c3fa656c83bd2a9f8cae0740c699ca77c5b3ce30ff2e1a5bf2bfd0ce9 +EBUILD hsfmodem-7.68.00.12.ebuild 2091 RMD160 fdb46267f0d0e7fad78d59556898da0388c5a79b SHA1 d5e353cd7222de689f9558d00845d416090988f6 SHA256 c5180e5da4839a6c63ae5726264ab5920e2ec4b435ec1b6995552e7342a879c1 MISC ChangeLog 11630 RMD160 c9974f496c4a8ab1c7901e8d0b11c862ecf91189 SHA1 502a74acffbd33ce917194ec6f76a4a5ff9c574b SHA256 23f8a0dd42c9a1acff1c7264d72301a769f772ac4fc03cc16efa262778fcecba MISC metadata.xml 163 RMD160 df94c60cc0bb7abe5913b464a33966b142b2fe1e SHA1 d8332605fd22c32f15438bbdf24aa622c3d2738a SHA256 1137a0fd866641cf719b0c2e9e77ca9fa4541a42f2cc851fe4659cf2677acca3 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) -iEYEARECAAYFAkjZSZ0ACgkQPrHvTlXvhtv3NQCfZsF2bYK4QGKU6V5OVelECWOA -VxoAoJFhKEfXjIzVBw77bxZzs68n8Fd+ -=XmgU +iEYEARECAAYFAkjZSiEACgkQPrHvTlXvhtsbrACfcWbieYF0c3BvA1mfJBGUtlKH +stoAn2mGUT+IpydyASpK8DYPcyXbIKLh +=ReS4 -----END PGP SIGNATURE----- diff --git a/net-dialup/hsfmodem/hsfmodem-7.68.00.12.ebuild b/net-dialup/hsfmodem/hsfmodem-7.68.00.12.ebuild new file mode 100644 index 000000000000..6cbb17db49bc --- /dev/null +++ b/net-dialup/hsfmodem/hsfmodem-7.68.00.12.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.12.ebuild,v 1.3 2008/09/23 19:57:13 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 +} |