non existing file to patch

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

non existing file to patch

joseph
can't find file to patch at input line 951
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git src/ssl/stub_libsslutil.cc src/ssl/stub_libsslutil.cc
|index 006be27..e0d3803 100644
|--- src/ssl/stub_libsslutil.cc
|+++ src/ssl/stub_libsslutil.cc

=========================================
diff --git src/ssl/stub_libsslutil.cc src/ssl/stub_libsslutil.cc
index 006be27..e0d3803 100644
--- src/ssl/stub_libsslutil.cc
+++ src/ssl/stub_libsslutil.cc
@@ -27,13 +27,13 @@ void Ssl::CrtdMessage::parseBody(BodyParams & map,
std::string & other_part) con
 void Ssl::CrtdMessage::composeBody(BodyParams const & map, std::string
const & other_part) STUB
 
 #include "ssl/gadgets.h"
-X509_REQ * Ssl::createNewX509Request(EVP_PKEY_Pointer const &, const char
*) STUB_RETVAL(NULL)
-bool Ssl::writeCertAndPrivateKeyToMemory(Security::CertPointer const &,
EVP_PKEY_Pointer const &, std::string &) STUB_RETVAL(false)
-bool Ssl::writeCertAndPrivateKeyToFile(Security::CertPointer const &,
EVP_PKEY_Pointer const &, char const *) STUB_RETVAL(false)
-bool Ssl::readCertAndPrivateKeyFromMemory(Security::CertPointer &,
EVP_PKEY_Pointer &, char const *) STUB_RETVAL(false)
-X509 * Ssl::signRequest(X509_REQ_Pointer const &, Security::CertPointer
const &, EVP_PKEY_Pointer const &, ASN1_TIME *, BIGNUM const *)
STUB_RETVAL(NULL)
-bool Ssl::generateSslCertificateAndPrivateKey(char const *,
Security::CertPointer const &, EVP_PKEY_Pointer const &,
Security::CertPointer &, EVP_PKEY_Pointer &, BIGNUM const *)
STUB_RETVAL(false)
-void Ssl::readCertAndPrivateKeyFromFiles(Security::CertPointer &,
EVP_PKEY_Pointer &, char const *, char const *) STUB
+X509_REQ * Ssl::createNewX509Request(Security::PrivateKeyPointer const &,
const char *) STUB_RETVAL(nullptr)
+bool Ssl::writeCertAndPrivateKeyToMemory(Security::CertPointer const &,
Security::PrivateKeyPointer const &, std::string &) STUB_RETVAL(false)
+bool Ssl::writeCertAndPrivateKeyToFile(Security::CertPointer const &,
Security::PrivateKeyPointer const &, char const *) STUB_RETVAL(false)
+bool Ssl::readCertAndPrivateKeyFromMemory(Security::CertPointer &,
Security::PrivateKeyPointer &, char const *) STUB_RETVAL(false)
+X509 * Ssl::signRequest(X509_REQ_Pointer const &, Security::CertPointer
const &, Security::PrivateKeyPointer const &, ASN1_TIME *, BIGNUM const *)
STUB_RETVAL(nullptr)
+bool Ssl::generateSslCertificateAndPrivateKey(char const *,
Security::CertPointer const &, Security::PrivateKeyPointer const &,
Security::CertPointer &, Security::PrivateKeyPointer &, BIGNUM const *)
STUB_RETVAL(false)
+void Ssl::readCertAndPrivateKeyFromFiles(Security::CertPointer &,
Security::PrivateKeyPointer &, char const *, char const *) STUB
 bool Ssl::sslDateIsInTheFuture(char const *) STUB_RETVAL(false)
 

also please guys remove         non existing  folder  wen posting patch
public thanks
a/src/ssl/stub_libsslutil.cc
b/src/ssl/stub_libsslutil.cc

a ? b?



--
Sent from: http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-Users-f1019091.html
_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users
************************** ***** Crash to the future **** **************************
Reply | Threaded
Open this post in threaded view
|

Re: non existing file to patch

Alex Rousskov
On 11/02/2017 08:10 AM, joseph wrote:

> also please guys remove         non existing  folder  wen posting patch
> public thanks
> a/src/ssl/stub_libsslutil.cc
> b/src/ssl/stub_libsslutil.cc
>
> a ? b?

This is how git generates patches. If you are not using git to apply
patches, then use "patch -p1 ..." to ignore first-level directories.

Alex.
P.S. Your primary (implied) question may lack sufficient context for
anybody to help you without digging through all the current patches.
_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users
Reply | Threaded
Open this post in threaded view
|

Re: non existing file to patch

joseph
wat about missing file
src/ssl/stub_libsslutil.cc




--
Sent from: http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-Users-f1019091.html
_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users
************************** ***** Crash to the future **** **************************
Reply | Threaded
Open this post in threaded view
|

Re: non existing file to patch

Alex Rousskov
On 11/02/2017 08:44 AM, joseph wrote:
> wat about missing file
> src/ssl/stub_libsslutil.cc

As I said in the last email, your question may lack sufficient context
for anybody to help you without digging through all the current patches.
Do not assume we know what patch you are using and what Squid snapshot
you are patching. If you are using a patch for one Squid snapshot to
patch another Squid snapshot, you may have to backport or upport changes.

Alex.
_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users