]> git.saurik.com Git - apt.git/commitdiff
stop exporting the accidently exported parsenetrc() symbol
authorMichael Vogt <egon@debian-devbox>
Wed, 17 Oct 2012 08:25:08 +0000 (10:25 +0200)
committerMichael Vogt <egon@debian-devbox>
Wed, 17 Oct 2012 08:25:08 +0000 (10:25 +0200)
apt-pkg/contrib/netrc.cc
apt-pkg/contrib/netrc.h
configure.in
debian/changelog

index 0a902f12699e0713327171475f0e5c40001cac76..b3d30fd4af5466ef3732099b87061fb5f3d01019 100644 (file)
@@ -155,18 +155,6 @@ static int parsenetrc_string (char *host, std::string &login, std::string &passw
 
   return retcode;
 }
-// for some unknown reason this method is exported so keep a compatible interface for now …
-int parsenetrc (char *host, char *login, char *password, char *netrcfile = NULL)
-{
-   std::string login_string, password_string;
-   int const ret = parsenetrc_string(host, login_string, password_string, netrcfile);
-   if (ret < 0)
-      return ret;
-   strncpy(login, login_string.c_str(), LOGINSIZE - 1);
-   strncpy(password, password_string.c_str(), PASSWORDSIZE - 1);
-   return ret;
-}
-
 
 void maybe_add_auth (URI &Uri, string NetRCFile)
 {
index 6feb5b726f40ff0853501e49399d6d4cdb04ef64..7349126c4fcaf8e143bdf50a6fe3a239b6df174a 100644 (file)
@@ -25,9 +25,5 @@
 
 class URI;
 
-// kill this export on the next ABI break - strongly doubt its in use anyway
-// outside of the apt itself, its really a internal interface
-__deprecated int parsenetrc (char *host, char *login, char *password, char *filename);
-
 void maybe_add_auth (URI &Uri, std::string NetRCFile);
 #endif
index a5a2347c02d18889d06e5442ede399e3ca1af24c..bb71bce8e6b0c4c1c34fc0c98348a12a88463c14 100644 (file)
@@ -18,7 +18,7 @@ AC_CONFIG_AUX_DIR(buildlib)
 AC_CONFIG_HEADER(include/config.h:buildlib/config.h.in include/apti18n.h:buildlib/apti18n.h.in)
 
 PACKAGE="apt"
-PACKAGE_VERSION="0.9.7.6"
+PACKAGE_VERSION="0.9.8~exp1~20121017"
 PACKAGE_MAIL="APT Development Team <deity@lists.debian.org>"
 AC_DEFINE_UNQUOTED(PACKAGE,"$PACKAGE")
 AC_DEFINE_UNQUOTED(PACKAGE_VERSION,"$PACKAGE_VERSION")
index 45829eeffc6cef0e4d3dda27ba3eda083c1d1333..2688a2686c251bc5299db08a0be654701fbc3a47 100644 (file)
@@ -8,6 +8,7 @@ apt (0.9.8~exp1) UNRELEASED; urgency=low
   * lp:~mvo/apt/webserver-simulate-broken-with-fix346386:
     - fix invalid InRelease file download checking and add regression
       test to server broken files to the buildin test webserver
+  * stop exporting the accidently exported parsenetrc() symbol
 
  -- David Kalnischkies <kalnischkies@gmail.com>  Mon, 09 Jul 2012 17:36:40 +0200