mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Fix build from autoconf patch import.
This commit is contained in:
parent
1fcc3c6650
commit
c49d478b92
10
Makefile
10
Makefile
@ -40,6 +40,10 @@ all:
|
||||
(cd $$subdir && $(MAKE) $@) || exit 1; \
|
||||
done
|
||||
|
||||
autogen:
|
||||
cd ipa-server && sh autogen.sh --prefix=/usr --sysconfdir=/etc
|
||||
cd ipa-client && sh autogen.sh --prefix=/usr --sysconfdir=/etc
|
||||
|
||||
install: all
|
||||
@for subdir in $(SUBDIRS); do \
|
||||
(cd $$subdir && $(MAKE) $@) || exit 1; \
|
||||
@ -87,6 +91,7 @@ tarballs:
|
||||
# ipa-server
|
||||
mv dist/freeipa/ipa-server dist/$(SERV_TARBALL_PREFIX)
|
||||
rm -f dist/$(SERV_TARBALL)
|
||||
cd dist/$(SERV_TARBALL_PREFIX; sh autogen.sh
|
||||
cd dist; tar cfz $(SERV_TARBALL) $(SERV_TARBALL_PREFIX)
|
||||
rm -fr dist/$(SERV_TARBALL_PREFIX)
|
||||
|
||||
@ -105,6 +110,7 @@ tarballs:
|
||||
# ipa-client
|
||||
mv dist/freeipa/ipa-client dist/$(CLI_TARBALL_PREFIX)
|
||||
rm -f dist/$(CLI_TARBALL)
|
||||
cd dist/$(CLI_TARBALL_PREFIX; sh autogen.sh
|
||||
cd dist; tar cfz $(CLI_TARBALL) $(CLI_TARBALL_PREFIX)
|
||||
rm -fr dist/$(CLI_TARBALL_PREFIX)
|
||||
|
||||
@ -145,5 +151,7 @@ dist: version-update archive tarballs archive-cleanup rpms
|
||||
|
||||
local-dist: clean version-update local-archive tarballs archive-cleanup rpms
|
||||
|
||||
dist-clean: clean
|
||||
maintainer-clean: clean
|
||||
rm -fr rpmbuild dist
|
||||
cd ipa-server && $(MAKE) maintainer-clean
|
||||
cd ipa-client && $(MAKE) maintainer-clean
|
||||
|
0
ipa-client/AUTHORS
Normal file
0
ipa-client/AUTHORS
Normal file
0
ipa-client/NEWS
Normal file
0
ipa-client/NEWS
Normal file
0
ipa-client/README
Normal file
0
ipa-client/README
Normal file
@ -17,16 +17,16 @@ The client package provide install and configuration scripts for clients.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
./configure --prefix=%{buildroot}/usr --libdir=%{buildroot}/%{_libdir} --sysconfdir=%{buildroot}/etc
|
||||
|
||||
%build
|
||||
|
||||
make DESTDIR=%{buildroot}
|
||||
make
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
mkdir -p %{buildroot}%{_sbindir}
|
||||
|
||||
make install DESTDIR=%{buildroot}
|
||||
make install
|
||||
|
||||
|
||||
%clean
|
||||
|
@ -17,16 +17,16 @@ The client package provide install and configuration scripts for clients.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
./configure --prefix=%{buildroot}/usr --libdir=%{buildroot}/%{_libdir} --sysconfdir=%{buildroot}/etc
|
||||
|
||||
%build
|
||||
|
||||
make DESTDIR=%{buildroot}
|
||||
make
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
mkdir -p %{buildroot}%{_sbindir}
|
||||
|
||||
make install DESTDIR=%{buildroot}
|
||||
make install
|
||||
|
||||
|
||||
%clean
|
||||
|
0
ipa-server/AUTHORS
Normal file
0
ipa-server/AUTHORS
Normal file
0
ipa-server/NEWS
Normal file
0
ipa-server/NEWS
Normal file
0
ipa-server/README
Normal file
0
ipa-server/README
Normal file
@ -21,17 +21,16 @@ FreeIPA is a server for identity, policy, and audit.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
./configure --prefix=%{buildroot}/usr --libdir=%{buildroot}/%{_libdir} --sysconfdir=%{buildroot}/etc
|
||||
|
||||
%build
|
||||
|
||||
make DESTDIR=%{buildroot}
|
||||
make
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
mkdir -p %{buildroot}%{_sbindir}
|
||||
mkdir -p %{buildroot}%{plugin_dir}
|
||||
|
||||
make install DESTDIR=%{buildroot} LIBDIR=%{buildroot}%{_libdir}
|
||||
make install
|
||||
|
||||
|
||||
%clean
|
||||
@ -41,7 +40,7 @@ rm -rf %{buildroot}
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{_sbindir}/ipa-server-install
|
||||
%{_sbindir}/ipa_kpasswd
|
||||
%{_sbindir}/ipa-kpasswd
|
||||
%{_sbindir}/ipa-webgui
|
||||
%attr(755,root,root) %{_initrddir}/ipa-kpasswd
|
||||
%attr(755,root,root) %{_initrddir}/ipa-webgui
|
||||
@ -50,8 +49,11 @@ rm -rf %{buildroot}
|
||||
%{_usr}/share/ipa/*
|
||||
|
||||
%attr(755,root,root) %{plugin_dir}/libipa_pwd_extop.so
|
||||
%attr(755,root,root) %{plugin_dir}/libipa_pwd_extop.la
|
||||
%attr(755,root,root) %{plugin_dir}/libipa-memberof-plugin.so
|
||||
%attr(755,root,root) %{plugin_dir}/libipa-memberof-plugin.la
|
||||
%attr(755,root,root) %{plugin_dir}/libipa-dna-plugin.so
|
||||
%attr(755,root,root) %{plugin_dir}/libipa-dna-plugin.la
|
||||
|
||||
|
||||
%changelog
|
||||
|
@ -21,17 +21,16 @@ FreeIPA is a server for identity, policy, and audit.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
./configure --prefix=%{buildroot}/usr --libdir=%{buildroot}/%{_libdir} --sysconfdir=%{buildroot}/etc
|
||||
|
||||
%build
|
||||
|
||||
make DESTDIR=%{buildroot}
|
||||
make
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
mkdir -p %{buildroot}%{_sbindir}
|
||||
mkdir -p %{buildroot}%{plugin_dir}
|
||||
|
||||
make install DESTDIR=%{buildroot} LIBDIR=%{buildroot}%{_libdir}
|
||||
make install
|
||||
|
||||
|
||||
%clean
|
||||
@ -41,7 +40,7 @@ rm -rf %{buildroot}
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{_sbindir}/ipa-server-install
|
||||
%{_sbindir}/ipa_kpasswd
|
||||
%{_sbindir}/ipa-kpasswd
|
||||
%{_sbindir}/ipa-webgui
|
||||
%attr(755,root,root) %{_initrddir}/ipa-kpasswd
|
||||
%attr(755,root,root) %{_initrddir}/ipa-webgui
|
||||
@ -50,8 +49,11 @@ rm -rf %{buildroot}
|
||||
%{_usr}/share/ipa/*
|
||||
|
||||
%attr(755,root,root) %{plugin_dir}/libipa_pwd_extop.so
|
||||
%attr(755,root,root) %{plugin_dir}/libipa_pwd_extop.la
|
||||
%attr(755,root,root) %{plugin_dir}/libipa-memberof-plugin.so
|
||||
%attr(755,root,root) %{plugin_dir}/libipa-memberof-plugin.la
|
||||
%attr(755,root,root) %{plugin_dir}/libipa-dna-plugin.so
|
||||
%attr(755,root,root) %{plugin_dir}/libipa-dna-plugin.la
|
||||
|
||||
|
||||
%changelog
|
||||
|
@ -23,6 +23,8 @@ libipa_dna_plugin_la_SOURCES = \
|
||||
dna.c \
|
||||
$(NULL)
|
||||
|
||||
libipa_dna_plugin_la_LDFLAGS = -avoid-version
|
||||
|
||||
libipa_dna_plugin_la_LIBADD = \
|
||||
$(MOZLDAP_LIBS) \
|
||||
$(NULL)
|
||||
|
@ -23,6 +23,8 @@ libipa_memberof_plugin_la_SOURCES = \
|
||||
ipa-memberof.c \
|
||||
$(NULL)
|
||||
|
||||
libipa_memberof_plugin_la_LDFLAGS = -avoid-version
|
||||
|
||||
libipa_memberof_plugin_la_LIBADD = \
|
||||
$(MOZLDAP_LIBS) \
|
||||
$(NULL)
|
||||
|
@ -23,6 +23,8 @@ libipa_pwd_extop_la_SOURCES = \
|
||||
ipa_pwd_extop.c \
|
||||
$(NULL)
|
||||
|
||||
libipa_pwd_extop_la_LDFLAGS = -avoid-version
|
||||
|
||||
libipa_pwd_extop_la_LIBADD = \
|
||||
$(MOZLDAP_LIBS) \
|
||||
$(NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user