scitokens / scitokens-cpp

A C++ implementation of the SciTokens library with a C library interface
Apache License 2.0
5 stars 22 forks source link

Debian packaging is missing #36

Closed DrDaveD closed 3 years ago

DrDaveD commented 3 years ago

I want to build this for cvmfs-contrib on Debian/Ubuntu, but the packaging is missing. @duncanmmacleod you have been submitting fixes for Debian; can you supply the packaging files? Having a "debian" subdirectory is the usual convention.

duncanmmacleod commented 3 years ago

@DrDaveD, I've been submitted fixed for conda, not debian, but am happy to throw together a debian directory anyway. Can someone provide me the correct copyright years and owners for the various sources?

timtheisen commented 3 years ago

I also worked on Debian packaging a made a pull request was well. There are differences. However, it's my first Debian library package, so perhaps I can learn something.

timtheisen commented 3 years ago

I'll take the best from both PRs and make a new one.

DrDaveD commented 3 years ago

I'll take the best from both PRs and make a new one.

Ok good. When you do please call the directory 'debian' instead of deb. Also with yours the error I had when building was Unmet build dependencies: sqlite. I attempted to build on a lot of variants here and they all failed but I didn't look at them all. The missing sqlite error was on Debian 10.0 x86_64.

ellert commented 3 years ago

Are you planning an upload of the package to Debian unstable? I maintain xrootd in Debian, and its next release will have a new dependency on scitokens-cpp. I could upload it, but I don't want to steal it from any of you if you are already in the process of packaging it. I do not see an "intend to package" (ITP) bug for it though: https://bugs.debian.org/cgi-bin/pkgreport.cgi?package=wnpp

DrDaveD commented 3 years ago

I wasn't, no; feel free. I want to build it for the cvmfs-contrib apt repository, where cvmfs-x509-helper is currently hosted for Debian cvmfs users. (cvmfs-x509-helper is only currently used by LIGO, and they have some sites that are based on Debian).

ellert commented 3 years ago

https://tracker.debian.org/pkg/scitokens-cpp

DrDaveD commented 3 years ago

Done in #38 long ago, and as ellert said the package is even in Debian itself.