Re: How to determine when being packaged under Debian?

2015-10-02 Thread Jakub Wilk
* Dmitry Bogatov , 2015-09-30, 18:28: We try to minimize external dependencies (even a package maintainer is a dependency in the process). So we were hoping/looking for something like (its a C++ library): #if defined(PACKAGE_BUILD) && !defined(CRYPTOPP_INIT_PRIORITY) # pragma

Re: How to determine when being packaged under Debian?

2015-09-30 Thread Dmitry Bogatov
> We try to minimize external dependencies (even a package maintainer is > a dependency in the process). So we were hoping/looking for something > like (its a C++ library): > > #if defined(PACKAGE_BUILD) && !defined(CRYPTOPP_INIT_PRIORITY) > # pragma message "It is recommended you define

Re: How to determine when being packaged under Debian?

2015-09-30 Thread Russ Allbery
Jeffrey Walton writes: > On Wed, Sep 30, 2015 at 3:55 AM, Russ Allbery wrote: >> Yeah, this is why I'd put a check into the Debian packaging to be sure >> that the software was built this way and abort the build during the >> check phase if it wasn't, with a

Re: How to determine when being packaged under Debian?

2015-09-30 Thread Jeffrey Walton
> We would really, really prefer that you not do this, and instead work with > whoever is packaging the library for Debian to add a test to the packaging > rules themselves to be sure that they're built correctly. > > The reason for this is that Debian's packaging tools, by design, work > exactly

Re: How to determine when being packaged under Debian?

2015-09-30 Thread Russ Allbery
Jeffrey Walton writes: > OK, thanks. We are working with László Böszörményi. He's been very > helpful. > But if László ever leaves Debian or stops Crypto++, then I loose my > contact and the path to ensure things are handled correctly. Yeah, this is why I'd put a check into

Re: How to determine when being packaged under Debian?

2015-09-30 Thread Jeffrey Walton
On Wed, Sep 30, 2015 at 3:55 AM, Russ Allbery wrote: > Jeffrey Walton writes: > >> OK, thanks. We are working with László Böszörményi. He's been very >> helpful. > >> But if László ever leaves Debian or stops Crypto++, then I loose my >> contact and the path

How to determine when being packaged under Debian?

2015-09-29 Thread Jeffrey Walton
Hi Everyone, I work with the Crypto++ project. Debian carries the project and makes it available through the package https://packages.debian.org/source/libcrypto++. We have specific recommendations for packaging Crypto++ for distribution (cf., http://cryptopp.com/wiki/Config.h#Recommendations).

Re: How to determine when being packaged under Debian?

2015-09-29 Thread Russ Allbery
Jeffrey Walton writes: > We have specific recommendations for packaging Crypto++ for distribution > (cf., http://cryptopp.com/wiki/Config.h#Recommendations). Soon to be > released Crypto 5.6.3 introduces two new defines, and we feel distros > should enable them by default.