diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2014-08-03 23:44:35 +0000 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2014-08-03 23:44:35 +0000 |
commit | 296c2b69f5cc593a18e7aa6a731343d59e4f1c30 (patch) | |
tree | fb2ff9fbb0fba68d8b9a7be559ce82af54e495a7 /net-misc/ipv6calc | |
parent | Version bump (diff) | |
download | gentoo-2-296c2b69f5cc593a18e7aa6a731343d59e4f1c30.tar.gz gentoo-2-296c2b69f5cc593a18e7aa6a731343d59e4f1c30.tar.bz2 gentoo-2-296c2b69f5cc593a18e7aa6a731343d59e4f1c30.zip |
Remove older version
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)
Diffstat (limited to 'net-misc/ipv6calc')
-rw-r--r-- | net-misc/ipv6calc/ChangeLog | 6 | ||||
-rw-r--r-- | net-misc/ipv6calc/files/ipv6calc-fix-configure-opts.patch | 348 | ||||
-rw-r--r-- | net-misc/ipv6calc/ipv6calc-0.97.2-r1.ebuild | 65 |
3 files changed, 5 insertions, 414 deletions
diff --git a/net-misc/ipv6calc/ChangeLog b/net-misc/ipv6calc/ChangeLog index 8b673369c23a..83f1e73cd7e1 100644 --- a/net-misc/ipv6calc/ChangeLog +++ b/net-misc/ipv6calc/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-misc/ipv6calc # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/ipv6calc/ChangeLog,v 1.80 2014/08/03 23:34:19 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/ipv6calc/ChangeLog,v 1.81 2014/08/03 23:44:35 blueness Exp $ + + 03 Aug 2014; Anthony G. Basile <blueness@gentoo.org> + -files/ipv6calc-fix-configure-opts.patch, -ipv6calc-0.97.2-r1.ebuild: + Remove older version *ipv6calc-0.97.4 (03 Aug 2014) diff --git a/net-misc/ipv6calc/files/ipv6calc-fix-configure-opts.patch b/net-misc/ipv6calc/files/ipv6calc-fix-configure-opts.patch deleted file mode 100644 index c6575f446972..000000000000 --- a/net-misc/ipv6calc/files/ipv6calc-fix-configure-opts.patch +++ /dev/null @@ -1,348 +0,0 @@ ---- ipv6calc-0.97.2.orig/configure.in 2014-05-23 14:29:46.000000000 -0400 -+++ ipv6calc-0.97.2/configure.in 2014-06-01 20:03:27.623149762 -0400 -@@ -44,12 +44,20 @@ - AS_HELP_STRING([--enable-bundled-getopt], - [Enable bundled getopt library (default: autoselected)]), - [ -- AC_MSG_RESULT([*** use of bundled getopt library forced]) -- ENABLE_BUNDLED_GETOPT=1 -+ if test "$enable_bundled_getopt" = "yes"; then -+ AC_MSG_RESULT([*** use of bundled getopt library forced]) -+ ENABLE_BUNDLED_GETOPT=1 -+ else -+ AC_MSG_RESULT([*** use of system getopt library forced]) -+ fi - ], - [ -- AC_CHECK_FUNC(getopt_long, [], -+ AC_CHECK_FUNC(getopt_long, -+ [ -+ AC_MSG_RESULT([*** use of system getopt library autoselected]) -+ ], - [ -+ AC_MSG_RESULT([*** use of bundled getopt library autoselected]) - ENABLE_BUNDLED_GETOPT=1 - ]) - ]) -@@ -72,8 +80,12 @@ - AS_HELP_STRING([--enable-bundled-md5], - [Enable bundled MD5 library (default: autoselected)]), - [ -- AC_MSG_RESULT([*** use of bundled MD5 library forced]) -- ENABLE_BUNDLED_MD5=1 -+ if test "$enable_bundled_md5" = "yes"; then -+ AC_MSG_RESULT([*** use of bundled MD5 library forced]) -+ ENABLE_BUNDLED_MD5=1 -+ else -+ AC_MSG_RESULT([*** use of system MD5 library forced]) -+ fi - ], - [ - AC_CHECK_HEADER("openssl/md5.h", [ -@@ -83,11 +95,16 @@ - LDFLAGS="-lcrypto $LDFLAGS" - AC_CHECK_FUNCS(MD5_Init MD5_Update MD5_Final, - [ -+ md5_found="yes" - ], - [ - ENABLE_BUNDLED_MD5=1 - ]) -- -+ if test "$md5_found" = "yes"; then -+ AC_MSG_RESULT([*** use of system MD5 library autoselected]) -+ else -+ AC_MSG_RESULT([*** use of bundled MD5 library autoselected]) -+ fi - ], - [ - AC_MSG_WARN([crypto library header files were found but not supporting required MD5 functions (will us bundled MD5 function).]) -@@ -129,19 +146,19 @@ - AC_ARG_ENABLE( - [shared], - AS_HELP_STRING([--enable-shared], -- [Enable shared library build (default: disabled)]), -- [ -- AC_MSG_RESULT([*** Shared library build enabled]) -- SHARED_LIBRARY="yes" -- AC_DEFINE(SHARED_LIBRARY, 1, Define if you want ipv6calc binaries compiled with shared library libipv6calc) -- LDFLAGS_EXTRA="../lib/libipv6calc.so.$PACKAGE_VERSION ../databases/lib/libipv6calc_db_wrapper.so.$PACKAGE_VERSION $LDFLAGS_EXTRA" -- LD_LIBRARY_PATH=../lib:../databases/lib:$LD_LIBRARY_PATH -- ], -- [ -- SHARED_LIBRARY="no" -- IPV6CALC_LIB="-L../lib/ -L../databases/lib/ -lipv6calc -lipv6calc_db_wrapper" -- ],[ -- ]) -+ [Enable shared library build (default: disabled)]) -+ ) -+ -+if test "$enable_shared" = "yes"; then -+ AC_MSG_RESULT([*** Shared library build enabled]) -+ SHARED_LIBRARY="yes" -+ AC_DEFINE(SHARED_LIBRARY, 1, Define if you want ipv6calc binaries compiled with shared library libipv6calc) -+ LDFLAGS_EXTRA="../lib/libipv6calc.so.$PACKAGE_VERSION ../databases/lib/libipv6calc_db_wrapper.so.$PACKAGE_VERSION $LDFLAGS_EXTRA" -+ LD_LIBRARY_PATH=../lib:../databases/lib:$LD_LIBRARY_PATH -+else -+ SHARED_LIBRARY="no" -+ IPV6CALC_LIB="-L../lib/ -L../databases/lib/ -lipv6calc -lipv6calc_db_wrapper" -+fi - - AC_SUBST(SHARED_LIBRARY) - AC_SUBST(IPV6CALC_LIB) -@@ -153,24 +170,24 @@ - AC_CHECK_HEADER(dlfcn.h, - [ - AC_MSG_RESULT([*** Dynamic loading of libraries is SUPPORTED]) -- DYNAMIC_LOAD_SUPPORT="yes" -+ DYNAMIC_LOAD_SUPPORT="yes" - ], -- [ -- DYNAMIC_LOAD_SUPPORT="no" -+ [ -+ DYNAMIC_LOAD_SUPPORT="no" - AC_MSG_WARN(["Dynamic loading of libraries is not supported, no header file found"]) - ]) - - AC_ARG_ENABLE( - [dynamic-load], - AS_HELP_STRING([--disable-dynamic-load], -- [Disable dynamic load of libraries (default: enabled)]), -- [ -- DYNAMIC_LOAD="no" -- ], -- [ -- DYNAMIC_LOAD="yes" -- ],[ -- ]) -+ [Disable dynamic load of libraries (default: enabled)]) -+ ) -+ -+if test "$enable_dynamic_load" = "yes"; then -+ DYNAMIC_LOAD="no" -+else -+ DYNAMIC_LOAD="yes" -+fi - - if test "$DYNAMIC_LOAD_SUPPORT" = "yes"; then - if test "$DYNAMIC_LOAD" = "no"; then -@@ -186,7 +203,7 @@ - AS_HELP_STRING([--disable-db-ieee], - [Disable built-in IEEE database (default: enabled)]), - [ -- DB_IEEE="$enableval" -+ DB_IEEE="$enable_db_ieee" - ],[ - DB_IEEE="yes" - ]) -@@ -203,7 +220,7 @@ - AS_HELP_STRING([--disable-db-ipv4], - [Disable built-in IPv4 database (default: enabled)]), - [ -- DB_IPV4="$enableval" -+ DB_IPV4="$enable_db_ipv6" - ],[ - DB_IPV4="yes" - ]) -@@ -220,7 +237,7 @@ - AS_HELP_STRING([--disable-db-ipv6], - [Disable built-in IPv6 database (default: enabled)]), - [ -- DB_IPV6="$enableval" -+ DB_IPV6="$enable_db_ipv6" - ], - [ - DB_IPV6="yes" -@@ -238,7 +255,7 @@ - AS_HELP_STRING([--enable-ip2location], - [Enable IP2Location support (default: disabled)]), - [ -- IP2LOCATION="$enableval" -+ IP2LOCATION="$enable_ip2location" - ],[ - IP2LOCATION="no" - ]) -@@ -247,21 +264,21 @@ - AS_HELP_STRING([--with-ip2location-headers=DIR], - [IP2Location include files location]), - [ -- IP2LOCATION_INCLUDE="-I$withval" -+ IP2LOCATION_INCLUDE="-I$with_ip2location_headers" - ]) - - AC_ARG_WITH([ip2location-lib], - AS_HELP_STRING([--with-ip2location-lib=FILE], - [IP2Location library location]), - [ -- IP2LOCATION_LIB="-L$withval $IP2LOCATION_LIB" -+ IP2LOCATION_LIB="-L$with_ip2location_lib $IP2LOCATION_LIB" - ]) - - AC_ARG_WITH([ip2location-static], - AS_HELP_STRING([--with-ip2location-static], - [Explicitly link IP2Location statically (default=no)]), - [ -- if test "$withval" != "no"; then -+ if test "$with_ip2location_static" != "no"; then - IP2LOCATION_LIB="-Wl,-Bstatic $IP2LOCATION_LIB -Wl,-Bdynamic" - fi - ]) -@@ -270,8 +287,8 @@ - AS_HELP_STRING([--with-ip2location-dynamic], - [Enable use of dynamic loading of IP2Location library (default=no)]), - [ -- if test "$enableval" != "no"; then -- IP2LOCATION_DYN="$enableval" -+ if test "$enable_ip2location_dynamic" != "no"; then -+ IP2LOCATION_DYN="$enable_ip2location_dynamic" - fi - ],[ - true -@@ -282,7 +299,7 @@ - AS_HELP_STRING([--with-ip2location-db=DIR], - [Use specified IP2Location database directory, default: /usr/share/IP2Location]), - [ -- ip2location_db="$withval" -+ ip2location_db="$with_ip2location_db" - ], - [ - ip2location_db=$ip2location_db_default -@@ -292,7 +309,7 @@ - AS_HELP_STRING([--with-ip2location-dyn-lib=NAME], - [Use specified IP2Location dynamic library, default: libIP2Location.so]), - [ -- ip2location_dyn_lib="$withval" -+ ip2location_dyn_lib="$with_ip2location_dyn_lib" - ], - [ - ip2location_dyn_lib=$ip2location_dyn_lib_default -@@ -303,7 +320,7 @@ - AC_MSG_RESULT([*** IP2Location support requested]) - - AC_CHECK_HEADER(IP2Location.h,, -- [ -+ [ - AC_MSG_ERROR([IP2Location library header files not found]) - ]) - -@@ -319,7 +336,7 @@ - AC_MSG_ERROR([IP2Location library header files were found but the library was not found]) - ]) - -- IP2LOCATION_LIB="-lIP2Location" -+ IP2LOCATION_LIB="-lIP2Location" - LDFLAGS="$LDFLAGS $IP2LOCATION_LIB" - - if test "$IP2LOCATION_STATIC" = "yes"; then -@@ -327,13 +344,13 @@ - fi - - AC_CHECK_LIB(IP2Location, IP2Location_open, -- [ -+ [ - AC_DEFINE(SUPPORT_IP2LOCATION, 1, Define if you want IP2Location support.) - AC_MSG_RESULT([*** IP2Location support enabled]) -- ], -- [ -+ ], -+ [ - AC_MSG_ERROR([IP2Location library header files were found but the library was not found]) -- ]) -+ ]) - else - # wrapper detects by itself the real support - AC_MSG_RESULT([*** IP2Location dyn lib: $ip2location_dyn_lib]) -@@ -358,8 +375,8 @@ - AS_HELP_STRING([--enable-geoip], - [Enable GeoIP support (default: disabled)]), - [ -- if test "$enableval" != "no"; then -- GEOIP="$enableval" -+ if test "$enable_geoip" != "no"; then -+ GEOIP="$enable_geoip" - fi - ],[ - GEOIP="no" -@@ -369,22 +386,22 @@ - AS_HELP_STRING([--with-geoip-headers=DIR], - [GeoIP include files location]), - [ -- GEOIP_INCLUDE="-I$withval" -+ GEOIP_INCLUDE="-I$with_geoip_headers" - ]) - - AC_ARG_WITH([geoip-lib], - AS_HELP_STRING([--with-geoip-lib=DIR], - [GeoIP library location]), - [ -- GEOIP_LIB="-L$withval $GEOIP_LIB" -+ GEOIP_LIB="-L$with_geoip_lib $GEOIP_LIB" - ]) - - AC_ARG_WITH([geoip-static], - AS_HELP_STRING([--with-geoip-static], - [Explicitly link GeoIP statically (default=no)]), - [ -- if test "$withval" != "no"; then -- GEOIP_STATIC="$enableval" -+ if test "$with_geoip_static" != "no"; then -+ GEOIP_STATIC="$with_geoip_static" - GEOIP_LIB="-Wl,-Bstatic $GEOIP_LIB -Wl,-Bdynamic" - fi - ],[ -@@ -395,8 +412,8 @@ - AS_HELP_STRING([--with-geoip-dynamic], - [Enable use of dynamic loading of GeoIP library (default=no)]), - [ -- if test "$enableval" != "no"; then -- GEOIP_DYN="$enableval" -+ if test "$with_geoip_dynamic" != "no"; then -+ GEOIP_DYN="$with_geoip_dynamic" - fi - ],[ - true -@@ -406,7 +423,7 @@ - AS_HELP_STRING([--with-geoip-db=DIR], - [Use specified GeoIP database directory, default: /usr/share/GeoIP]), - [ -- geoip_db="$withval" -+ geoip_db="$with_geoip_db" - ], - [ - geoip_db=$geoip_db_default -@@ -416,7 +433,7 @@ - AS_HELP_STRING([--with-geoip-dyn-lib=NAME], - [Use specified GeoIP dynamic library, default: libGeoIP.so.1]), - [ -- geoip_dyn_lib="$withval" -+ geoip_dyn_lib="$with_geoip_dyn_lib" - ], - [ - geoip_dyn_lib=$geoip_dyn_lib_default -@@ -426,7 +443,7 @@ - AS_HELP_STRING([--with-geoip-ipv6-compat], - [Use IPv6 interface of GeoIP in compatibility mode (supporting 1.4.5)]), - [ -- if test "$withval" != "no"; then -+ if test "$with_geoip_ipv6_compat" != "no"; then - GEOIP_COMPAT="yes", - fi - ],[ -@@ -493,7 +510,7 @@ - AC_DEFINE(SUPPORT_GEOIP_LIB_VERSION, 1, Define if your GeoIP version supports GeoIP_lib_version.) - ], - [ -- AC_MSG_WARN([GeoIP library header files were found but not supporting GeoIP_lib_version (upgrade to newer version for support).]) -+ AC_MSG_WARN([GeoIP library header files were found but not supporting GeoIP_lib_version (upgrade to newer version for support).]) - ]) - - AC_CHECK_LIB(GeoIP, GeoIP_country_code_by_addr_v6, -@@ -545,7 +562,7 @@ - dnl ************************************************* - if test "$DYNAMIC_LOAD" = "yes"; then - if test "$GEOIP_DYN" = "yes" -o "$IP2LOCATION_DYN" = "yes"; then -- DYNAMIC_LOAD="yes" -+ DYNAMIC_LOAD="yes" - AC_MSG_RESULT([*** Dynamic loading of libraries is ENABLED]) - DYNLOAD_LIB="-rdynamic -ldl" - fi diff --git a/net-misc/ipv6calc/ipv6calc-0.97.2-r1.ebuild b/net-misc/ipv6calc/ipv6calc-0.97.2-r1.ebuild deleted file mode 100644 index d5e284f42ba2..000000000000 --- a/net-misc/ipv6calc/ipv6calc-0.97.2-r1.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/ipv6calc/ipv6calc-0.97.2-r1.ebuild,v 1.1 2014/06/02 00:08:10 blueness Exp $ - -EAPI="5" -inherit eutils autotools - -DESCRIPTION="IPv6 address calculator" -HOMEPAGE="http://www.deepspace6.net/projects/ipv6calc.html" -SRC_URI="ftp://ftp.bieringer.de/pub/linux/IPv6/ipv6calc/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux" -IUSE="geoip test" - -RDEPEND=" - dev-libs/openssl - geoip? ( >=dev-libs/geoip-1.4.7 ) -" -DEPEND="${RDEPEND} - test? ( dev-perl/Digest-SHA1 ) -" - -#dev-perl/URI is needed for web interface, that is not installed now - -src_prepare() { - epatch "${FILESDIR}"/${PN}-fix-configure-opts.patch - eautoreconf -} - -src_configure() { - if use geoip; then - myconf=$(use_enable geoip) - myconf+=" --with-geoip-db=${EPREFIX}/usr/share/GeoIP" - fi - econf \ - --disable-bundled-getopt \ - --disable-bundled-md5 \ - --enable-shared \ - --enable-dynamic-load \ - --enable-db-ieee \ - --enable-db-ipv4 \ - --enable-db-ipv6 \ - --disable-ip2location \ - ${myconf} -} - -src_compile() { - # Disable default CFLAGS (-O2 and -g) - emake DEFAULT_CFLAGS="" -} - -src_test() { - if [[ ${EUID} -eq 0 ]]; then - # Disable tests that fail as root - echo true > ipv6logstats/test_ipv6logstats.sh - fi - default -} - -src_install() { - emake DESTDIR="${D}" install - dodoc ChangeLog CREDITS README TODO USAGE -} |