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:
10
Makefile
10
Makefile
@@ -40,6 +40,10 @@ all:
|
|||||||
(cd $$subdir && $(MAKE) $@) || exit 1; \
|
(cd $$subdir && $(MAKE) $@) || exit 1; \
|
||||||
done
|
done
|
||||||
|
|
||||||
|
autogen:
|
||||||
|
cd ipa-server && sh autogen.sh --prefix=/usr --sysconfdir=/etc
|
||||||
|
cd ipa-client && sh autogen.sh --prefix=/usr --sysconfdir=/etc
|
||||||
|
|
||||||
install: all
|
install: all
|
||||||
@for subdir in $(SUBDIRS); do \
|
@for subdir in $(SUBDIRS); do \
|
||||||
(cd $$subdir && $(MAKE) $@) || exit 1; \
|
(cd $$subdir && $(MAKE) $@) || exit 1; \
|
||||||
@@ -87,6 +91,7 @@ tarballs:
|
|||||||
# ipa-server
|
# ipa-server
|
||||||
mv dist/freeipa/ipa-server dist/$(SERV_TARBALL_PREFIX)
|
mv dist/freeipa/ipa-server dist/$(SERV_TARBALL_PREFIX)
|
||||||
rm -f dist/$(SERV_TARBALL)
|
rm -f dist/$(SERV_TARBALL)
|
||||||
|
cd dist/$(SERV_TARBALL_PREFIX; sh autogen.sh
|
||||||
cd dist; tar cfz $(SERV_TARBALL) $(SERV_TARBALL_PREFIX)
|
cd dist; tar cfz $(SERV_TARBALL) $(SERV_TARBALL_PREFIX)
|
||||||
rm -fr dist/$(SERV_TARBALL_PREFIX)
|
rm -fr dist/$(SERV_TARBALL_PREFIX)
|
||||||
|
|
||||||
@@ -105,6 +110,7 @@ tarballs:
|
|||||||
# ipa-client
|
# ipa-client
|
||||||
mv dist/freeipa/ipa-client dist/$(CLI_TARBALL_PREFIX)
|
mv dist/freeipa/ipa-client dist/$(CLI_TARBALL_PREFIX)
|
||||||
rm -f dist/$(CLI_TARBALL)
|
rm -f dist/$(CLI_TARBALL)
|
||||||
|
cd dist/$(CLI_TARBALL_PREFIX; sh autogen.sh
|
||||||
cd dist; tar cfz $(CLI_TARBALL) $(CLI_TARBALL_PREFIX)
|
cd dist; tar cfz $(CLI_TARBALL) $(CLI_TARBALL_PREFIX)
|
||||||
rm -fr dist/$(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
|
local-dist: clean version-update local-archive tarballs archive-cleanup rpms
|
||||||
|
|
||||||
dist-clean: clean
|
maintainer-clean: clean
|
||||||
rm -fr rpmbuild dist
|
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
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
./configure --prefix=%{buildroot}/usr --libdir=%{buildroot}/%{_libdir} --sysconfdir=%{buildroot}/etc
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
make DESTDIR=%{buildroot}
|
make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
mkdir -p %{buildroot}%{_sbindir}
|
|
||||||
|
|
||||||
make install DESTDIR=%{buildroot}
|
make install
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
|
|||||||
@@ -17,16 +17,16 @@ The client package provide install and configuration scripts for clients.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
./configure --prefix=%{buildroot}/usr --libdir=%{buildroot}/%{_libdir} --sysconfdir=%{buildroot}/etc
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
make DESTDIR=%{buildroot}
|
make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
mkdir -p %{buildroot}%{_sbindir}
|
|
||||||
|
|
||||||
make install DESTDIR=%{buildroot}
|
make install
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%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
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
./configure --prefix=%{buildroot}/usr --libdir=%{buildroot}/%{_libdir} --sysconfdir=%{buildroot}/etc
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
make DESTDIR=%{buildroot}
|
make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
mkdir -p %{buildroot}%{_sbindir}
|
|
||||||
mkdir -p %{buildroot}%{plugin_dir}
|
|
||||||
|
|
||||||
make install DESTDIR=%{buildroot} LIBDIR=%{buildroot}%{_libdir}
|
make install
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
@@ -41,7 +40,7 @@ rm -rf %{buildroot}
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_sbindir}/ipa-server-install
|
%{_sbindir}/ipa-server-install
|
||||||
%{_sbindir}/ipa_kpasswd
|
%{_sbindir}/ipa-kpasswd
|
||||||
%{_sbindir}/ipa-webgui
|
%{_sbindir}/ipa-webgui
|
||||||
%attr(755,root,root) %{_initrddir}/ipa-kpasswd
|
%attr(755,root,root) %{_initrddir}/ipa-kpasswd
|
||||||
%attr(755,root,root) %{_initrddir}/ipa-webgui
|
%attr(755,root,root) %{_initrddir}/ipa-webgui
|
||||||
@@ -50,8 +49,11 @@ rm -rf %{buildroot}
|
|||||||
%{_usr}/share/ipa/*
|
%{_usr}/share/ipa/*
|
||||||
|
|
||||||
%attr(755,root,root) %{plugin_dir}/libipa_pwd_extop.so
|
%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.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.so
|
||||||
|
%attr(755,root,root) %{plugin_dir}/libipa-dna-plugin.la
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
@@ -21,17 +21,16 @@ FreeIPA is a server for identity, policy, and audit.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
./configure --prefix=%{buildroot}/usr --libdir=%{buildroot}/%{_libdir} --sysconfdir=%{buildroot}/etc
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
make DESTDIR=%{buildroot}
|
make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
mkdir -p %{buildroot}%{_sbindir}
|
|
||||||
mkdir -p %{buildroot}%{plugin_dir}
|
|
||||||
|
|
||||||
make install DESTDIR=%{buildroot} LIBDIR=%{buildroot}%{_libdir}
|
make install
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
@@ -41,7 +40,7 @@ rm -rf %{buildroot}
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_sbindir}/ipa-server-install
|
%{_sbindir}/ipa-server-install
|
||||||
%{_sbindir}/ipa_kpasswd
|
%{_sbindir}/ipa-kpasswd
|
||||||
%{_sbindir}/ipa-webgui
|
%{_sbindir}/ipa-webgui
|
||||||
%attr(755,root,root) %{_initrddir}/ipa-kpasswd
|
%attr(755,root,root) %{_initrddir}/ipa-kpasswd
|
||||||
%attr(755,root,root) %{_initrddir}/ipa-webgui
|
%attr(755,root,root) %{_initrddir}/ipa-webgui
|
||||||
@@ -50,8 +49,11 @@ rm -rf %{buildroot}
|
|||||||
%{_usr}/share/ipa/*
|
%{_usr}/share/ipa/*
|
||||||
|
|
||||||
%attr(755,root,root) %{plugin_dir}/libipa_pwd_extop.so
|
%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.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.so
|
||||||
|
%attr(755,root,root) %{plugin_dir}/libipa-dna-plugin.la
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
@@ -23,6 +23,8 @@ libipa_dna_plugin_la_SOURCES = \
|
|||||||
dna.c \
|
dna.c \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
|
libipa_dna_plugin_la_LDFLAGS = -avoid-version
|
||||||
|
|
||||||
libipa_dna_plugin_la_LIBADD = \
|
libipa_dna_plugin_la_LIBADD = \
|
||||||
$(MOZLDAP_LIBS) \
|
$(MOZLDAP_LIBS) \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|||||||
@@ -23,6 +23,8 @@ libipa_memberof_plugin_la_SOURCES = \
|
|||||||
ipa-memberof.c \
|
ipa-memberof.c \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
|
libipa_memberof_plugin_la_LDFLAGS = -avoid-version
|
||||||
|
|
||||||
libipa_memberof_plugin_la_LIBADD = \
|
libipa_memberof_plugin_la_LIBADD = \
|
||||||
$(MOZLDAP_LIBS) \
|
$(MOZLDAP_LIBS) \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|||||||
@@ -23,6 +23,8 @@ libipa_pwd_extop_la_SOURCES = \
|
|||||||
ipa_pwd_extop.c \
|
ipa_pwd_extop.c \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
|
libipa_pwd_extop_la_LDFLAGS = -avoid-version
|
||||||
|
|
||||||
libipa_pwd_extop_la_LIBADD = \
|
libipa_pwd_extop_la_LIBADD = \
|
||||||
$(MOZLDAP_LIBS) \
|
$(MOZLDAP_LIBS) \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|||||||
Reference in New Issue
Block a user