Last active
December 17, 2015 12:49
-
-
Save jhrcz/5612221 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
to much depends over paradise.... | |
mod_authnz_crowd od atlassianu | |
original package.... | |
[root@etn-twinstone-1 ~]# yum install mod_authnz_crowd-2.0.1-1.el6.x86_64.rpm | |
Loaded plugins: changelog, downloadonly, etckeeper, priorities, security, versionlock | |
base | 3.7 kB 00:00 | |
epel | 4.2 kB 00:00 | |
epel/primary_db | 5.1 MB 00:00 | |
etn | 951 B 00:00 | |
etn/primary | 16 kB 00:00 | |
etn 68/68 | |
etn-bacula | 951 B 00:00 | |
extras | 3.5 kB 00:00 | |
percona | 951 B 00:00 | |
percona/primary | 13 kB 00:00 | |
percona 41/41 | |
pgdg92 | 2.8 kB 00:00 | |
pgdg92/primary_db | 102 kB 00:00 | |
updates | 3.5 kB 00:00 | |
updates/primary_db | 2.5 MB 00:00 | |
Setting up Install Process | |
Examining mod_authnz_crowd-2.0.1-1.el6.x86_64.rpm: mod_authnz_crowd-2.0.1-1.el6.x86_64 | |
Marking mod_authnz_crowd-2.0.1-1.el6.x86_64.rpm to be installed | |
Resolving Dependencies | |
--> Running transaction check | |
---> Package mod_authnz_crowd.x86_64 0:2.0.1-1.el6 will be installed | |
--> Processing Dependency: httpd-devel for package: mod_authnz_crowd-2.0.1-1.el6.x86_64 | |
--> Processing Dependency: libtool for package: mod_authnz_crowd-2.0.1-1.el6.x86_64 | |
--> Processing Dependency: mod_dav_svn for package: mod_authnz_crowd-2.0.1-1.el6.x86_64 | |
--> Running transaction check | |
---> Package httpd-devel.x86_64 0:2.2.15-28.el6.centos will be installed | |
--> Processing Dependency: httpd = 2.2.15-28.el6.centos for package: httpd-devel-2.2.15-28.el6.centos.x86_64 | |
--> Processing Dependency: apr-util-devel for package: httpd-devel-2.2.15-28.el6.centos.x86_64 | |
--> Processing Dependency: apr-devel for package: httpd-devel-2.2.15-28.el6.centos.x86_64 | |
---> Package libtool.x86_64 0:2.2.6-15.5.el6 will be installed | |
--> Processing Dependency: gcc = 4.4.4 for package: libtool-2.2.6-15.5.el6.x86_64 | |
--> Processing Dependency: automake >= 1.4 for package: libtool-2.2.6-15.5.el6.x86_64 | |
--> Processing Dependency: autoconf >= 2.58 for package: libtool-2.2.6-15.5.el6.x86_64 | |
---> Package mod_dav_svn.x86_64 0:1.6.11-9.el6_4 will be installed | |
--> Processing Dependency: subversion = 1.6.11-9.el6_4 for package: mod_dav_svn-1.6.11-9.el6_4.x86_64 | |
--> Processing Dependency: libsvn_subr-1.so.0()(64bit) for package: mod_dav_svn-1.6.11-9.el6_4.x86_64 | |
--> Processing Dependency: libsvn_repos-1.so.0()(64bit) for package: mod_dav_svn-1.6.11-9.el6_4.x86_64 | |
--> Processing Dependency: libsvn_fs_util-1.so.0()(64bit) for package: mod_dav_svn-1.6.11-9.el6_4.x86_64 | |
--> Processing Dependency: libsvn_fs_fs-1.so.0()(64bit) for package: mod_dav_svn-1.6.11-9.el6_4.x86_64 | |
--> Processing Dependency: libsvn_fs_base-1.so.0()(64bit) for package: mod_dav_svn-1.6.11-9.el6_4.x86_64 | |
--> Processing Dependency: libsvn_fs-1.so.0()(64bit) for package: mod_dav_svn-1.6.11-9.el6_4.x86_64 | |
--> Processing Dependency: libsvn_delta-1.so.0()(64bit) for package: mod_dav_svn-1.6.11-9.el6_4.x86_64 | |
--> Running transaction check | |
---> Package apr-devel.x86_64 0:1.3.9-5.el6_2 will be installed | |
---> Package apr-util-devel.x86_64 0:1.3.9-3.el6_0.1 will be installed | |
--> Processing Dependency: openldap-devel for package: apr-util-devel-1.3.9-3.el6_0.1.x86_64 | |
--> Processing Dependency: expat-devel for package: apr-util-devel-1.3.9-3.el6_0.1.x86_64 | |
--> Processing Dependency: db4-devel for package: apr-util-devel-1.3.9-3.el6_0.1.x86_64 | |
---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed | |
---> Package automake.noarch 0:1.11.1-4.el6 will be installed | |
---> Package gcc.x86_64 0:4.4.7-3.el6 will be installed | |
--> Processing Dependency: libgomp = 4.4.7-3.el6 for package: gcc-4.4.7-3.el6.x86_64 | |
--> Processing Dependency: cpp = 4.4.7-3.el6 for package: gcc-4.4.7-3.el6.x86_64 | |
--> Processing Dependency: libgcc >= 4.4.7-3.el6 for package: gcc-4.4.7-3.el6.x86_64 | |
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.7-3.el6.x86_64 | |
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.7-3.el6.x86_64 | |
--> Processing Dependency: libgomp.so.1()(64bit) for package: gcc-4.4.7-3.el6.x86_64 | |
---> Package httpd.x86_64 0:2.2.15-15.el6.centos.1 will be updated | |
--> Processing Dependency: httpd = 2.2.15-15.el6.centos.1 for package: 1:mod_ssl-2.2.15-15.el6.centos.1.x86_64 | |
---> Package httpd.x86_64 0:2.2.15-28.el6.centos will be an update | |
--> Processing Dependency: httpd-tools = 2.2.15-28.el6.centos for package: httpd-2.2.15-28.el6.centos.x86_64 | |
---> Package subversion.x86_64 0:1.6.11-9.el6_4 will be installed | |
--> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-9.el6_4.x86_64 | |
--> Running transaction check | |
---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed | |
--> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 | |
--> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 | |
---> Package cpp.x86_64 0:4.4.7-3.el6 will be installed | |
--> Processing Dependency: libmpfr.so.1()(64bit) for package: cpp-4.4.7-3.el6.x86_64 | |
---> Package db4-devel.x86_64 0:4.7.25-17.el6 will be installed | |
--> Processing Dependency: db4-cxx = 4.7.25-17.el6 for package: db4-devel-4.7.25-17.el6.x86_64 | |
--> Processing Dependency: libdb_cxx-4.7.so()(64bit) for package: db4-devel-4.7.25-17.el6.x86_64 | |
---> Package expat-devel.x86_64 0:2.0.1-11.el6_2 will be installed | |
---> Package glibc-devel.x86_64 0:2.12-1.107.el6 will be installed | |
--> Processing Dependency: glibc-headers = 2.12-1.107.el6 for package: glibc-devel-2.12-1.107.el6.x86_64 | |
--> Processing Dependency: glibc = 2.12-1.107.el6 for package: glibc-devel-2.12-1.107.el6.x86_64 | |
--> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.107.el6.x86_64 | |
---> Package httpd-tools.x86_64 0:2.2.15-15.el6.centos.1 will be updated | |
---> Package httpd-tools.x86_64 0:2.2.15-28.el6.centos will be an update | |
---> Package libgcc.x86_64 0:4.4.6-4.el6 will be updated | |
---> Package libgcc.x86_64 0:4.4.7-3.el6 will be an update | |
---> Package libgomp.x86_64 0:4.4.7-3.el6 will be installed | |
---> Package mod_ssl.x86_64 1:2.2.15-15.el6.centos.1 will be updated | |
---> Package mod_ssl.x86_64 1:2.2.15-28.el6.centos will be an update | |
---> Package neon.x86_64 0:0.29.3-2.el6 will be installed | |
--> Processing Dependency: libproxy.so.0()(64bit) for package: neon-0.29.3-2.el6.x86_64 | |
--> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-2.el6.x86_64 | |
---> Package openldap-devel.x86_64 0:2.4.23-32.el6_4.1 will be installed | |
--> Processing Dependency: openldap = 2.4.23-32.el6_4.1 for package: openldap-devel-2.4.23-32.el6_4.1.x86_64 | |
--> Processing Dependency: cyrus-sasl-devel >= 2.1 for package: openldap-devel-2.4.23-32.el6_4.1.x86_64 | |
--> Running transaction check | |
---> Package cyrus-sasl-devel.x86_64 0:2.1.23-13.el6_3.1 will be installed | |
--> Processing Dependency: cyrus-sasl-lib = 2.1.23-13.el6_3.1 for package: cyrus-sasl-devel-2.1.23-13.el6_3.1.x86_64 | |
--> Processing Dependency: cyrus-sasl = 2.1.23-13.el6_3.1 for package: cyrus-sasl-devel-2.1.23-13.el6_3.1.x86_64 | |
---> Package db4-cxx.x86_64 0:4.7.25-17.el6 will be installed | |
---> Package glibc.x86_64 0:2.12-1.80.el6 will be updated | |
--> Processing Dependency: glibc = 2.12-1.80.el6 for package: glibc-common-2.12-1.80.el6.x86_64 | |
---> Package glibc.x86_64 0:2.12-1.107.el6 will be an update | |
---> Package glibc-headers.x86_64 0:2.12-1.107.el6 will be installed | |
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.107.el6.x86_64 | |
--> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.107.el6.x86_64 | |
---> Package libproxy.x86_64 0:0.3.0-4.el6_3 will be installed | |
--> Processing Dependency: libproxy-python = 0.3.0-4.el6_3 for package: libproxy-0.3.0-4.el6_3.x86_64 | |
--> Processing Dependency: libproxy-bin = 0.3.0-4.el6_3 for package: libproxy-0.3.0-4.el6_3.x86_64 | |
---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed | |
---> Package openldap.x86_64 0:2.4.23-26.el6 will be updated | |
---> Package openldap.x86_64 0:2.4.23-32.el6_4.1 will be an update | |
---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed | |
---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed | |
--> Running transaction check | |
---> Package cyrus-sasl.x86_64 0:2.1.23-13.el6 will be updated | |
---> Package cyrus-sasl.x86_64 0:2.1.23-13.el6_3.1 will be an update | |
---> Package cyrus-sasl-lib.x86_64 0:2.1.23-13.el6 will be updated | |
--> Processing Dependency: cyrus-sasl-lib = 2.1.23-13.el6 for package: cyrus-sasl-plain-2.1.23-13.el6.x86_64 | |
---> Package cyrus-sasl-lib.x86_64 0:2.1.23-13.el6_3.1 will be an update | |
---> Package glibc-common.x86_64 0:2.12-1.80.el6 will be updated | |
---> Package glibc-common.x86_64 0:2.12-1.107.el6 will be an update | |
---> Package kernel-headers.x86_64 0:2.6.32-358.6.2.el6 will be installed | |
---> Package libproxy-bin.x86_64 0:0.3.0-4.el6_3 will be installed | |
---> Package libproxy-python.x86_64 0:0.3.0-4.el6_3 will be installed | |
--> Running transaction check | |
---> Package cyrus-sasl-plain.x86_64 0:2.1.23-13.el6 will be updated | |
---> Package cyrus-sasl-plain.x86_64 0:2.1.23-13.el6_3.1 will be an update | |
--> Finished Dependency Resolution | |
Dependencies Resolved | |
================================================================================================================================= | |
Package Arch Version Repository Size | |
================================================================================================================================= | |
Installing: | |
mod_authnz_crowd x86_64 2.0.1-1.el6 /mod_authnz_crowd-2.0.1-1.el6.x86_64 177 k | |
Installing for dependencies: | |
apr-devel x86_64 1.3.9-5.el6_2 base 176 k | |
apr-util-devel x86_64 1.3.9-3.el6_0.1 base 69 k | |
autoconf noarch 2.63-5.1.el6 base 781 k | |
automake noarch 1.11.1-4.el6 base 550 k | |
cloog-ppl x86_64 0.15.7-1.2.el6 base 93 k | |
cpp x86_64 4.4.7-3.el6 base 3.7 M | |
cyrus-sasl-devel x86_64 2.1.23-13.el6_3.1 base 302 k | |
db4-cxx x86_64 4.7.25-17.el6 base 588 k | |
db4-devel x86_64 4.7.25-17.el6 base 6.6 M | |
expat-devel x86_64 2.0.1-11.el6_2 base 120 k | |
gcc x86_64 4.4.7-3.el6 base 10 M | |
glibc-devel x86_64 2.12-1.107.el6 base 974 k | |
glibc-headers x86_64 2.12-1.107.el6 base 604 k | |
httpd-devel x86_64 2.2.15-28.el6.centos updates 150 k | |
kernel-headers x86_64 2.6.32-358.6.2.el6 updates 2.3 M | |
libgomp x86_64 4.4.7-3.el6 base 118 k | |
libproxy x86_64 0.3.0-4.el6_3 updates 39 k | |
libproxy-bin x86_64 0.3.0-4.el6_3 updates 8.2 k | |
libproxy-python x86_64 0.3.0-4.el6_3 updates 8.4 k | |
libtool x86_64 2.2.6-15.5.el6 base 564 k | |
mod_dav_svn x86_64 1.6.11-9.el6_4 updates 79 k | |
mpfr x86_64 2.4.1-6.el6 base 157 k | |
neon x86_64 0.29.3-2.el6 base 118 k | |
openldap-devel x86_64 2.4.23-32.el6_4.1 updates 1.1 M | |
pakchois x86_64 0.4-3.2.el6 base 21 k | |
ppl x86_64 0.10.2-11.el6 base 1.3 M | |
subversion x86_64 1.6.11-9.el6_4 updates 2.3 M | |
Updating for dependencies: | |
cyrus-sasl x86_64 2.1.23-13.el6_3.1 base 78 k | |
cyrus-sasl-lib x86_64 2.1.23-13.el6_3.1 base 136 k | |
cyrus-sasl-plain x86_64 2.1.23-13.el6_3.1 base 31 k | |
glibc x86_64 2.12-1.107.el6 base 3.8 M | |
glibc-common x86_64 2.12-1.107.el6 base 14 M | |
httpd x86_64 2.2.15-28.el6.centos updates 821 k | |
httpd-tools x86_64 2.2.15-28.el6.centos updates 73 k | |
libgcc x86_64 4.4.7-3.el6 base 100 k | |
mod_ssl x86_64 1:2.2.15-28.el6.centos updates 90 k | |
openldap x86_64 2.4.23-32.el6_4.1 updates 265 k | |
Transaction Summary | |
================================================================================================================================= | |
Install 28 Package(s) | |
Upgrade 10 Package(s) | |
Total size: 52 M | |
Total download size: 52 M | |
Is this ok [y/N]: ^CExiting on user Command | |
post change.... | |
[root@etn-twinstone-1 ~]# yum install mod_authnz_crowd-2.0.2-1.jhr1.el6.x86_64.rpm | |
Loaded plugins: changelog, downloadonly, etckeeper, priorities, security, versionlock | |
Setting up Install Process | |
Examining mod_authnz_crowd-2.0.2-1.jhr1.el6.x86_64.rpm: mod_authnz_crowd-2.0.2-1.jhr1.el6.x86_64 | |
Marking mod_authnz_crowd-2.0.2-1.jhr1.el6.x86_64.rpm to be installed | |
Resolving Dependencies | |
--> Running transaction check | |
---> Package mod_authnz_crowd.x86_64 0:2.0.2-1.jhr1.el6 will be installed | |
--> Processing Dependency: mod_dav_svn for package: mod_authnz_crowd-2.0.2-1.jhr1.el6.x86_64 | |
--> Running transaction check | |
---> Package mod_dav_svn.x86_64 0:1.6.11-9.el6_4 will be installed | |
--> Processing Dependency: subversion = 1.6.11-9.el6_4 for package: mod_dav_svn-1.6.11-9.el6_4.x86_64 | |
--> Processing Dependency: libsvn_subr-1.so.0()(64bit) for package: mod_dav_svn-1.6.11-9.el6_4.x86_64 | |
--> Processing Dependency: libsvn_repos-1.so.0()(64bit) for package: mod_dav_svn-1.6.11-9.el6_4.x86_64 | |
--> Processing Dependency: libsvn_fs_util-1.so.0()(64bit) for package: mod_dav_svn-1.6.11-9.el6_4.x86_64 | |
--> Processing Dependency: libsvn_fs_fs-1.so.0()(64bit) for package: mod_dav_svn-1.6.11-9.el6_4.x86_64 | |
--> Processing Dependency: libsvn_fs_base-1.so.0()(64bit) for package: mod_dav_svn-1.6.11-9.el6_4.x86_64 | |
--> Processing Dependency: libsvn_fs-1.so.0()(64bit) for package: mod_dav_svn-1.6.11-9.el6_4.x86_64 | |
--> Processing Dependency: libsvn_delta-1.so.0()(64bit) for package: mod_dav_svn-1.6.11-9.el6_4.x86_64 | |
--> Running transaction check | |
---> Package subversion.x86_64 0:1.6.11-9.el6_4 will be installed | |
--> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-9.el6_4.x86_64 | |
--> Running transaction check | |
---> Package neon.x86_64 0:0.29.3-2.el6 will be installed | |
--> Processing Dependency: libproxy.so.0()(64bit) for package: neon-0.29.3-2.el6.x86_64 | |
--> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-2.el6.x86_64 | |
--> Running transaction check | |
---> Package libproxy.x86_64 0:0.3.0-4.el6_3 will be installed | |
--> Processing Dependency: libproxy-python = 0.3.0-4.el6_3 for package: libproxy-0.3.0-4.el6_3.x86_64 | |
--> Processing Dependency: libproxy-bin = 0.3.0-4.el6_3 for package: libproxy-0.3.0-4.el6_3.x86_64 | |
---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed | |
--> Running transaction check | |
---> Package libproxy-bin.x86_64 0:0.3.0-4.el6_3 will be installed | |
---> Package libproxy-python.x86_64 0:0.3.0-4.el6_3 will be installed | |
--> Finished Dependency Resolution | |
Dependencies Resolved | |
================================================================================================================================= | |
Package Arch Version Repository Size | |
================================================================================================================================= | |
Installing: | |
mod_authnz_crowd x86_64 2.0.2-1.jhr1.el6 /mod_authnz_crowd-2.0.2-1.jhr1.el6.x86_64 52 k | |
Installing for dependencies: | |
libproxy x86_64 0.3.0-4.el6_3 updates 39 k | |
libproxy-bin x86_64 0.3.0-4.el6_3 updates 8.2 k | |
libproxy-python x86_64 0.3.0-4.el6_3 updates 8.4 k | |
mod_dav_svn x86_64 1.6.11-9.el6_4 updates 79 k | |
neon x86_64 0.29.3-2.el6 base 118 k | |
pakchois x86_64 0.4-3.2.el6 base 21 k | |
subversion x86_64 1.6.11-9.el6_4 updates 2.3 M | |
Transaction Summary | |
================================================================================================================================= | |
Install 8 Package(s) | |
Total size: 2.6 M | |
Total download size: 2.5 M | |
Installed size: 12 M | |
Is this ok [y/N]: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Name: mod_authnz_crowd | |
Version: 2.0.2 | |
Release: 1.jhr1%{?dist} | |
Summary: Modules for integrating Apache httpd and Subversion with Atlassian Crowd | |
License: Apache License, Version 2.0 | |
URL: http://www.atlassian.com/software/crowd/ | |
Source0: %{name}-%{version}.tar.gz | |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) | |
BuildRequires: autoconf automake curl-devel httpd-devel libtool libxml2-devel subversion-devel | |
Requires: curl httpd libxml2 mod_dav_svn | |
Group: Networking/WWW | |
%description | |
Modules for Apache httpd that allow Atlassian Crowd to be used for the authentication and authorisation of HTTP and Subversion requests | |
%prep | |
%setup | |
%build | |
aclocal | |
autoreconf --install | |
%configure | |
make %{?_smp_mflags} | |
%install | |
rm -rf $RPM_BUILD_ROOT | |
make | |
mkdir -p $RPM_BUILD_ROOT%{_libdir}/httpd/modules | |
%{_libdir}/httpd/build/instdso.sh SH_LIBTOOL='%{_libdir}/apr-1/build/libtool' src/mod_authnz_crowd.la $RPM_BUILD_ROOT%{_libdir}/httpd/modules | |
%{_libdir}/httpd/build/instdso.sh SH_LIBTOOL='%{_libdir}/apr-1/build/libtool' src/svn/mod_authz_svn_crowd.la $RPM_BUILD_ROOT%{_libdir}/httpd/modules | |
mv $RPM_BUILD_ROOT%{_libdir}/httpd/modules/mod_authnz_crowd.so.0.0.0 $RPM_BUILD_ROOT%{_libdir}/httpd/modules/mod_authnz_crowd.so | |
mv $RPM_BUILD_ROOT%{_libdir}/httpd/modules/mod_authz_svn_crowd.so.0.0.0 $RPM_BUILD_ROOT%{_libdir}/httpd/modules/mod_authz_svn_crowd.so | |
%clean | |
rm -rf $RPM_BUILD_ROOT | |
%files | |
%defattr(644,root,root,-) | |
%attr(755,root,root) %{_libdir}/httpd/modules/mod_authnz_crowd.so | |
%attr(755,root,root) %{_libdir}/httpd/modules/mod_authz_svn_crowd.so | |
%doc LICENSE | |
%post | |
/usr/sbin/apxs -e -a -n authnz_crowd mod_authnz_crowd.so | |
cat << END > /tmp/httpd.conf.sed | |
/^[ \t]*[Ll][Oo][Aa][Dd][Mm][Oo][Dd][Uu][Ll][Ee][ \t]\+authz_svn_module[ \t]/ { | |
s/^/# / | |
a\ | |
LoadModule authz_svn_crowd_module modules/mod_authz_svn_crowd.so | |
} | |
END | |
sed -i.bak -f /tmp/httpd.conf.sed /etc/httpd/conf/httpd.conf /etc/httpd/conf.d/*.conf | |
/usr/sbin/apachectl configtest | |
/usr/sbin/apachectl graceful || true | |
%preun | |
/usr/sbin/apxs -e -A -n authnz_crowd mod_authnz_crowd.so | |
cat << END > /tmp/httpd.conf.sed | |
/^[ \t]*[Ll][Oo][Aa][Dd][Mm][Oo][Dd][Uu][Ll][Ee][ \t]\+authz_svn_crowd_module[ \t]/ { | |
s/^/# / | |
} | |
END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment