diff options
author | Alin Năstac <mrness@gentoo.org> | 2007-05-23 17:25:12 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2007-05-23 17:25:12 +0000 |
commit | 83a8fdf0589ac85fa0609ddc503e49f3f7ff72e5 (patch) | |
tree | 0962e949bff7a32a0cd618f08ea1baa7ea481482 /net-libs/wvstreams | |
parent | Fix the resolvconf script to work properly on FreeBSD. (diff) | |
download | historical-83a8fdf0589ac85fa0609ddc503e49f3f7ff72e5.tar.gz historical-83a8fdf0589ac85fa0609ddc503e49f3f7ff72e5.tar.bz2 historical-83a8fdf0589ac85fa0609ddc503e49f3f7ff72e5.zip |
Avoid usage of obsolete member of the struct sigaction (#179401).
Package-Manager: portage-2.1.2.7
Diffstat (limited to 'net-libs/wvstreams')
-rw-r--r-- | net-libs/wvstreams/ChangeLog | 8 | ||||
-rw-r--r-- | net-libs/wvstreams/Manifest | 27 | ||||
-rw-r--r-- | net-libs/wvstreams/files/digest-wvstreams-4.3-r2 | 3 | ||||
-rw-r--r-- | net-libs/wvstreams/files/wvstreams-4.3-sigaction.patch | 11 | ||||
-rw-r--r-- | net-libs/wvstreams/wvstreams-4.3-r2.ebuild | 93 |
5 files changed, 133 insertions, 9 deletions
diff --git a/net-libs/wvstreams/ChangeLog b/net-libs/wvstreams/ChangeLog index 66e26e35ddb3..755b1a7f7335 100644 --- a/net-libs/wvstreams/ChangeLog +++ b/net-libs/wvstreams/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-libs/wvstreams # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/wvstreams/ChangeLog,v 1.102 2007/05/22 14:08:49 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/wvstreams/ChangeLog,v 1.103 2007/05/23 17:25:12 mrness Exp $ + +*wvstreams-4.3-r2 (23 May 2007) + + 23 May 2007; Alin Năstac <mrness@gentoo.org> + +files/wvstreams-4.3-sigaction.patch, +wvstreams-4.3-r2.ebuild: + Avoid usage of obsolete member of the struct sigaction (#179401). 22 May 2007; Gustavo Zacarias <gustavoz@gentoo.org> wvstreams-4.3-r1.ebuild: diff --git a/net-libs/wvstreams/Manifest b/net-libs/wvstreams/Manifest index 14e6bd4a3d15..f07654a7e8d2 100644 --- a/net-libs/wvstreams/Manifest +++ b/net-libs/wvstreams/Manifest @@ -61,6 +61,10 @@ AUX wvstreams-4.3-sane-cflags.patch 1566 RMD160 609e48c40707946ef69187f643fa1e2f MD5 a31feb9828c520c7a2df8ba48534e2ab files/wvstreams-4.3-sane-cflags.patch 1566 RMD160 609e48c40707946ef69187f643fa1e2f59584a67 files/wvstreams-4.3-sane-cflags.patch 1566 SHA256 ef649c68e9334f06fa526c07bdf2aab88ee53db89f6917e5972677244db254f7 files/wvstreams-4.3-sane-cflags.patch 1566 +AUX wvstreams-4.3-sigaction.patch 503 RMD160 395aab511a2112776797d8d79858a30d836e2236 SHA1 d805ece14b1d84698c14dfc573fc24c2eeee7b6d SHA256 80243c50de3e4167bf1ef5519182b4e4a70b0c251cfdaef3efc6f2ca3c58d10d +MD5 e1bcf8b8c8f2c6ce3ac8dd4686f3cf53 files/wvstreams-4.3-sigaction.patch 503 +RMD160 395aab511a2112776797d8d79858a30d836e2236 files/wvstreams-4.3-sigaction.patch 503 +SHA256 80243c50de3e4167bf1ef5519182b4e4a70b0c251cfdaef3efc6f2ca3c58d10d files/wvstreams-4.3-sigaction.patch 503 AUX wvstreams-4.3-type-punned.patch 5934 RMD160 a7b4505836d2a5c470516cd0f8ef59d4bf9aadde SHA1 d64d229e092e11b7c0aa0bd72e37d289f2d7feac SHA256 2bce0a22535d502fd555b3735c9457dc8584f609f65ae361f5fd30b1165c6bbf MD5 7f9d7c258f9089bb0e356ace096629ff files/wvstreams-4.3-type-punned.patch 5934 RMD160 a7b4505836d2a5c470516cd0f8ef59d4bf9aadde files/wvstreams-4.3-type-punned.patch 5934 @@ -91,10 +95,14 @@ EBUILD wvstreams-4.3-r1.ebuild 2477 RMD160 05e766d3ac7dce2fcf32b44944079f6cfb3f9 MD5 0a2b8f25975bc69d2bd5cbd3c6529a31 wvstreams-4.3-r1.ebuild 2477 RMD160 05e766d3ac7dce2fcf32b44944079f6cfb3f9de9 wvstreams-4.3-r1.ebuild 2477 SHA256 35bb7d6d8a0d855b40ec70cbb29678691e71f5697b5bf2f9255eef541deee668 wvstreams-4.3-r1.ebuild 2477 -MISC ChangeLog 16988 RMD160 283129ba6ae6b8589fbdfc33b3a993a5c06ad544 SHA1 461f2ee1b7c734564fbb011e7a7366aff1d545e2 SHA256 978815a2fe475a3a5dfc0d8bf3d711dc336ba28fed8a92c50491a9935e82dced -MD5 de8bbc4ed14c26f652368f1eb0d811ec ChangeLog 16988 -RMD160 283129ba6ae6b8589fbdfc33b3a993a5c06ad544 ChangeLog 16988 -SHA256 978815a2fe475a3a5dfc0d8bf3d711dc336ba28fed8a92c50491a9935e82dced ChangeLog 16988 +EBUILD wvstreams-4.3-r2.ebuild 2519 RMD160 39cc126da82f81b88b1378f98ce0dd08a991ccef SHA1 898946d8d7185271049ff07e635dff01ced3d120 SHA256 b49245f2d1a848580abaa8a71405f4bc0c424222450d8cdaf6e675b8937efafc +MD5 f36e6381419545171fd273872dbb9920 wvstreams-4.3-r2.ebuild 2519 +RMD160 39cc126da82f81b88b1378f98ce0dd08a991ccef wvstreams-4.3-r2.ebuild 2519 +SHA256 b49245f2d1a848580abaa8a71405f4bc0c424222450d8cdaf6e675b8937efafc wvstreams-4.3-r2.ebuild 2519 +MISC ChangeLog 17202 RMD160 23fef9eca5fec815263aa0ec0a232d467b45306c SHA1 44d89f2190f462779327f4c72e7a76ce5e51f780 SHA256 c2acde4b0f375f653ea3dd3190c9882eb23cfc23c6821b7f5f81f6d66d9436d0 +MD5 0a130ff59f58d2d32bd5554fb908e12b ChangeLog 17202 +RMD160 23fef9eca5fec815263aa0ec0a232d467b45306c ChangeLog 17202 +SHA256 c2acde4b0f375f653ea3dd3190c9882eb23cfc23c6821b7f5f81f6d66d9436d0 ChangeLog 17202 MISC metadata.xml 313 RMD160 e543c31d8ddc948a387dcdcc8638a848c587177b SHA1 a40d5fd17e50dc9f983efc63e5cbb8b407b95c7a SHA256 1ec30d4508abc443f3e9c4829b0e7d7e5c588419344203476818a29f71b98a37 MD5 227de7f678ad662524292836709de75f metadata.xml 313 RMD160 e543c31d8ddc948a387dcdcc8638a848c587177b metadata.xml 313 @@ -111,10 +119,13 @@ SHA256 af8d2d360c3e497dcd8a2f2cc57ec947b2c99a440dff184197b350e60491f451 files/di MD5 573eed9105c7a3828296d072fbc449eb files/digest-wvstreams-4.3-r1 244 RMD160 323f0e3ef47ac41b690134fc8b9a73f5ffbbd9ca files/digest-wvstreams-4.3-r1 244 SHA256 e3bb902f085262bd9e556d98911fdf2940e54befc15a71c88e4eb726df6a1692 files/digest-wvstreams-4.3-r1 244 +MD5 573eed9105c7a3828296d072fbc449eb files/digest-wvstreams-4.3-r2 244 +RMD160 323f0e3ef47ac41b690134fc8b9a73f5ffbbd9ca files/digest-wvstreams-4.3-r2 244 +SHA256 e3bb902f085262bd9e556d98911fdf2940e54befc15a71c88e4eb726df6a1692 files/digest-wvstreams-4.3-r2 244 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.7-ecc0.1.6 (GNU/Linux) +Version: GnuPG v2.0.4 (GNU/Linux) -iD8DBQFGUvl4KRy60XGEcJIRAvB6AJ4uszIK95HXEqAYJXyOWPIGz10Q+ACeNfup -yV9pGJaSlVs/E1ZJatjTZLM= -=7l4t +iD8DBQFGVHkEJnxX6mF440QRApzPAJ0ZK767bvDjHXhXRjNfkreblPGu2ACePg67 +CbCISayFAC6GeQun8CUM4bc= +=M+NU -----END PGP SIGNATURE----- diff --git a/net-libs/wvstreams/files/digest-wvstreams-4.3-r2 b/net-libs/wvstreams/files/digest-wvstreams-4.3-r2 new file mode 100644 index 000000000000..3b2f6d51a4f1 --- /dev/null +++ b/net-libs/wvstreams/files/digest-wvstreams-4.3-r2 @@ -0,0 +1,3 @@ +MD5 eb34544384c951fd14470d583273e02a wvstreams-4.3.tar.gz 1294177 +RMD160 fb6c480903cb725bf4911a05bfa1ef12bf05dfec wvstreams-4.3.tar.gz 1294177 +SHA256 54b2a693ef67fde375292d768fc6471bb00105870714cc4051289986a51aabb9 wvstreams-4.3.tar.gz 1294177 diff --git a/net-libs/wvstreams/files/wvstreams-4.3-sigaction.patch b/net-libs/wvstreams/files/wvstreams-4.3-sigaction.patch new file mode 100644 index 000000000000..a5da5fcdf83f --- /dev/null +++ b/net-libs/wvstreams/files/wvstreams-4.3-sigaction.patch @@ -0,0 +1,11 @@ +diff -Nru wvstreams-4.3.orig/utils/wvcrash.cc wvstreams-4.3/utils/wvcrash.cc +--- wvstreams-4.3.orig/utils/wvcrash.cc 2007-05-23 08:05:35.000000000 +0300 ++++ wvstreams-4.3/utils/wvcrash.cc 2007-05-23 20:14:37.000000000 +0300 +@@ -349,7 +349,6 @@ + act.sa_handler = wvcrash; + sigfillset(&act.sa_mask); + act.sa_flags = SA_ONSTACK | SA_RESTART; +- act.sa_restorer = NULL; + + if (sigaction(sig, &act, NULL)) + fprintf(stderr, "Failed to setup wvcrash handler for signal %d: %s\n", diff --git a/net-libs/wvstreams/wvstreams-4.3-r2.ebuild b/net-libs/wvstreams/wvstreams-4.3-r2.ebuild new file mode 100644 index 000000000000..606bb82697cc --- /dev/null +++ b/net-libs/wvstreams/wvstreams-4.3-r2.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/wvstreams/wvstreams-4.3-r2.ebuild,v 1.1 2007/05/23 17:25:12 mrness Exp $ + +WANT_AUTOCONF=2.59 +WANT_AUTOMAKE=none + +inherit eutils fixheadtails autotools qt3 + +DESCRIPTION="A network programming library in C++" +HOMEPAGE="http://alumnit.ca/wiki/?WvStreams" +SRC_URI="http://alumnit.ca/download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86" +IUSE="qt3 qdbm pam slp doc debug" + +RESTRICT="test" + +RDEPEND=">=sys-libs/db-3 + >=sys-libs/zlib-1.1.4 + >=dev-libs/openssl-0.9.7 + >=dev-libs/xplc-0.3.13 + qt3? ( $(qt_min_version 3.1) ) + qdbm? ( dev-db/qdbm ) + pam? ( >=sys-libs/pam-0.75 ) + slp? ( >=net-libs/openslp-1.0.9a )" + +DEPEND="${RDEPEND} + dev-util/pkgconfig + doc? ( app-doc/doxygen )" + +src_unpack() { + unpack ${A} + + epatch "${FILESDIR}/${P}-linux-serial.patch" + epatch "${FILESDIR}/${P}-wireless-user.patch" + epatch "${FILESDIR}/${P}-uniconfd-ini.patch" + epatch "${FILESDIR}/${P}-as-needed.patch" + epatch "${FILESDIR}/${P}-sane-cflags.patch" + epatch "${FILESDIR}/${P}-64bit.patch" + epatch "${FILESDIR}/${P}-type-punned.patch" + epatch "${FILESDIR}/${P}-sigaction.patch" + + epatch "${FILESDIR}/${P}-external-xplc.patch" + local XPLC_VER=`best_version dev-libs/xplc` + XPLC_VER=${XPLC_VER#*/*-} #reduce it to ${PV}-${PR} + XPLC_VER=${XPLC_VER%%[_-]*} # main version without beta/pre/patch/revision + sed -i -e "s:^xplc_version=.*:xplc_version='${XPLC_VER}':" "${S}/configure.ac" \ + || die "failed to set current xplc version" + rm -r "${S}/xplc" + + use qt3 && epatch "${FILESDIR}/${P}-MOC-fix.patch" + + ht_fix_file "${S}/configure.ac" + + #needed by xplc and as-needed patch: + cd "${S}" + eautoconf || die "autoconf failed" + #without following, the makefile would remove some files and request + #you to run ./configure again + touch include/wvautoconf.h.in configure +} + +src_compile() { + econf \ + `use_with qdbm` \ + `use_with pam` \ + `use_with slp openslp` \ + `use_with qt3 qt` \ + `use_enable debug` \ + --without-tcl \ + --without-swig \ + --with-xplc \ + --enable-verbose \ + --with-bdb \ + --with-zlib \ + --with-openssl \ + || die "configure failed" + emake CXXOPTS="-fPIC -DPIC" COPTS="-fPIC -DPIC" || die "compile failed" + use doc && doxygen +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + + if use doc ; then + #the list of files is too big for dohtml -r Docs/doxy-html/* + cd Docs/doxy-html + dohtml -r * + fi +} |