X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=mech_eap.spec.in;h=d2b578cdc45efac34c7a45bdb3ced7457c549f14;hb=b84f728803d092777511e0bab34935cd7e9afaf6;hp=c60d73bd13e52abe343b2648a91c450efb66beee;hpb=e8b1ec41e7a3ecc7acaa19da063d26781304409f;p=mech_eap.git diff --git a/mech_eap.spec.in b/mech_eap.spec.in index c60d73b..d2b578c 100644 --- a/mech_eap.spec.in +++ b/mech_eap.spec.in @@ -41,6 +41,15 @@ make install DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT +%post +oid_aes128=1.3.6.1.5.5.15.1.1.17 +oid_aes256=1.3.6.1.5.5.15.1.1.18 +mechfile=%{_sysconfdir}/gss/mech +mkdir -p %{_sysconfdir}/gss +test -e $mechfile |touch $mechfile +fgrep $oid_aes128 $mechfile ||echo eap-aes128 $oid_aes128 mech_eap.so >>$mechfile +fgrep $oid_aes256 $mechfile ||echo eap-aes256 $oid_aes256 mech_eap.so >>$mechfile + %files %defattr(-,root,root,-)