-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Distro-specific packaging #32
Labels
Comments
Jnchi
changed the title
Travis CI: Upload binarines on release
Travis CI: Upload binaries on release
Apr 19, 2019
RPM for RHEL-based distributions%global debug_package ${nil}
Name: aad-auth
Version: 0.0.1
Release: 0
Summary: Bundles pam_aad, libnss_aad and dependencies
Group: System Environment/Base
License: GPLv3+
URL: https://github.com/CyberNinjas
Source0: aad-auth-0.0.1.tar.gz
BuildArch: x86_64
Requires: jansson libcurl libuuid openssl
Provides: libcjson libjwt libsds libsodium
%description
See Package Summary.
%prep
%setup -qD
%build
%install
install -m 0755 -d $RPM_BUILD_ROOT/etc
install -m 0755 -d $RPM_BUILD_ROOT/lib64
install -m 0755 -d $RPM_BUILD_ROOT/lib64/security
install -m 0755 libcjson.so.1.7.10 $RPM_BUILD_ROOT/lib64/libcjson.so.1.7.10
install -m 0755 libjwt.so.0.5.1 $RPM_BUILD_ROOT/lib64/libjwt.so.0.5.1
install -m 0755 libsds.so.2.0.0 $RPM_BUILD_ROOT/lib64/libsds.so.2.0.0
install -m 0755 libsodium.so.23.2.0 $RPM_BUILD_ROOT/lib64/libsodium.so.23.2.0
install -m 0644 pam_aad.conf $RPM_BUILD_ROOT/etc/pam_aad.conf
install -m 0755 pam_aad.so $RPM_BUILD_ROOT/lib64/security/pam_aad.so
install -m 0644 libnss-aad.conf $RPM_BUILD_ROOT/etc/libnss-aad.conf
install -m 0755 libnss_aad.so.2 $RPM_BUILD_ROOT/lib64/libnss_aad.so.2
%post
ln -s /lib64/libcjson.so.1.7.10 /lib64/libcjson.so
ln -s /lib64/libcjson.so.1.7.10 /lib64/libcjson.so.1
ln -s /lib64/libjwt.so.0.5.1 /lib64/libjwt.so
ln -s /lib64/libjwt.so.0.5.1 /lib64/libjwt.so.0
ln -s /lib64/libsds.so.2.0.0 /lib64/libsds.so
ln -s /lib64/libsds.so.2.0.0 /lib64/libsds.so.2
ln -s /lib64/libsodium.so.23.2.0 /lib64/libsodium.so
ln -s /lib64/libsodium.so.23.2.0 /lib64/libsodium.so.23
%files
/lib64/libcjson.so.1.7.10
/lib64/libjwt.so.0.5.1
/lib64/libsds.so.2.0.0
/lib64/libsodium.so.23.2.0
/etc/pam_aad.conf
/lib64/security/pam_aad.so
/etc/libnss-aad.conf
/lib64/libnss_aad.so.2
%changelog
* Mon Apr 22 2019 Lucas Ramage 0.0.1
- Initial rpm release See: https://tecadmin.net/create-rpm-of-your-own-script-in-centosredhat |
Closed
Jnchi
added a commit
to CyberNinjas/libnss_aad
that referenced
this issue
May 10, 2019
Jnchi
added a commit
that referenced
this issue
May 10, 2019
Jnchi
added a commit
to CyberNinjas/libnss_aad
that referenced
this issue
May 10, 2019
Jnchi
added a commit
that referenced
this issue
May 10, 2019
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
See also: jnchi/puppet-aad |
https://security.stackexchange.com/questions/165205/ubuntu-how-do-i-download-ppa-software-over-https |
This comment has been minimized.
This comment has been minimized.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
/etc/pam.d/aad
, (See: https://salsa.debian.org/debian/libpam-ssh/blob/master/debian/pam-configs/ssh)/etc/pam_aad.conf
/etc/libnss-aad.conf
The text was updated successfully, but these errors were encountered: