2022-11-28 21:48:09 +05:30
|
|
|
if HAVE_VENDORDIR
|
|
|
|
VENDORDIR_COND=with_vendordir
|
|
|
|
else
|
|
|
|
VENDORDIR_COND=without_vendordir
|
|
|
|
endif
|
* configure.in, man/po/Makefile.in.in, man/po/Makevars,
man/po/POTFILES.in, man/Makefile.am: Generate the PO files for the
manpages in the man/po directory (instead of man/<lang>). Use a
Makefile.in.in based on gettext's one. This ensure that the PO are
generated before being used in the <lang> directories.
* man/generate_mans.mak, man/generate_translations.mak,
man/Makefile.am: New makefile for the generation of manpages from
XML (generate_mans.mak). This avoid duplicate chunks in
generate_translations.mak and Makefile.am
* man/de/de.po, man/fr/fr.po, man/it/it.po, man/pl/pl.po,
man/ru/ru.po, man/sv/sv.po: Moved to...
* man/po/de.po, man/po/fr.po, man/po/it.po, man/po/pl.po,
man/po/ru.po, man/po/sv.po: ... here.
2007-11-26 02:32:32 +05:30
|
|
|
if USE_PAM
|
|
|
|
PAM_COND=pam
|
|
|
|
else
|
|
|
|
PAM_COND=no_pam
|
|
|
|
endif
|
|
|
|
if SHADOWGRP
|
|
|
|
SHADOWGRP_COND=gshadow
|
|
|
|
else
|
|
|
|
SHADOWGRP_COND=no_gshadow
|
|
|
|
endif
|
2010-01-30 Paweł Hajdan, Jr. <phajdan.jr@gentoo.org>
* NEWS: Add support for TCB.
* lib/tcbfuncs.h, lib/tcbfuncs.c, lib/Makefile.am: New library to
support TCB.
* lib/prototypes, libmisc/copydir.c (remove_tree): Add boolean
parameter remove_root.
* configure.in: Add conditional WITH_TCB.
* src/userdel.c, src/usermod.c: Add support for TCB. Update call to
remove_tree().
* src/pwconv.c, src/pwunconv.c: Should not be used with TCB enabled.
* src/vipw.c: Add support for TCB. Update call to remove_tree().
* src/useradd.c: Add support for TCB. Open the shadow file outside
of open_files().
* src/chage.c: Add support for TCB.
* src/Makefile.am: Install passwd sgid shadow when TCB is enabled.
* lib/getdefs.c, man/vipw.8.xml, man/login.defs.5.xml,
man/login.defs/TCB_AUTH_GROUP.xml, man/login.defs/USE_TCB.xml,
man/login.defs/TCB_SYMLINKS.xml, man/generate_mans.mak,
man/generate_mans.deps, man/Makefile.am: New configuration
parameters: TCB_AUTH_GROUP, TCB_SYMLINKS, USE_TCB.
* lib/shadowio.c, lib/commonio.c: Add support for TCB.
2010-03-04 23:41:13 +05:30
|
|
|
if WITH_TCB
|
|
|
|
TCB_COND=tcb
|
|
|
|
else
|
|
|
|
TCB_COND=no_tcb
|
|
|
|
endif
|
* configure.in, man/po/Makefile.in.in, man/po/Makevars,
man/po/POTFILES.in, man/Makefile.am: Generate the PO files for the
manpages in the man/po directory (instead of man/<lang>). Use a
Makefile.in.in based on gettext's one. This ensure that the PO are
generated before being used in the <lang> directories.
* man/generate_mans.mak, man/generate_translations.mak,
man/Makefile.am: New makefile for the generation of manpages from
XML (generate_mans.mak). This avoid duplicate chunks in
generate_translations.mak and Makefile.am
* man/de/de.po, man/fr/fr.po, man/it/it.po, man/pl/pl.po,
man/ru/ru.po, man/sv/sv.po: Moved to...
* man/po/de.po, man/po/fr.po, man/po/it.po, man/po/pl.po,
man/po/ru.po, man/po/sv.po: ... here.
2007-11-26 02:32:32 +05:30
|
|
|
|
|
|
|
if USE_SHA_CRYPT
|
|
|
|
SHA_CRYPT_COND=sha_crypt
|
|
|
|
else
|
|
|
|
SHA_CRYPT_COND=no_sha_crypt
|
|
|
|
endif
|
|
|
|
|
Allow disabling of subordinate IDs.
* configure.in: Add configure options --enable-subordinate-ids /
--disable-subordinate-ids. Enabled by default.
* lib/prototypes.h: Include <config.h> before using its macros.
* lib/commonio.h, lib/commonio.c: Define commonio_append only when
ENABLE_SUBIDS is defined.
* lib/prototypes.h, libmisc/find_new_sub_gids.c,
libmisc/find_new_sub_uids.c: Likewise.
* lib/subordinateio.h, lib/subordinateio.c: Likewise.
* libmisc/user_busy.c: Only check if subordinate IDs are in use if
ENABLE_SUBIDS is defined.
* src/Makefile.am: Create newgidmap and newuidmap only if
ENABLE_SUBIDS is defined.
* src/newusers.c: Check for ENABLE_SUBIDS to enable support for
subordinate IDs.
* src/useradd.c: Likewise.
* src/userdel.c: Likewise.
* src/usermod.c: Likewise.
* man/Makefile.am: Install man1/newgidmap.1, man1/newuidmap.1,
man5/subgid.5, and man5/subuid.5 only if ENABLE_SUBIDS is defined.
* man/fr/Makefile.am: Install man1/newgidmap.1, man1/newuidmap.1,
man5/subgid.5, and man5/subuid.5 (not translated yet).
* man/generate_mans.mak: Add xsltproc conditionals
subids/no_subids.
* man/login.defs.d/SUB_GID_COUNT.xml: Add dependency on subids
condition.
* man/login.defs.d/SUB_UID_COUNT.xml: Likewise.
* man/usermod.8.xml: Document options for subordinate IDs and
reference subgid(5) / subuid(5) depending on the subids condition.
2013-08-11 18:24:22 +05:30
|
|
|
if ENABLE_SUBIDS
|
|
|
|
SUBIDS_COND=subids
|
|
|
|
else
|
|
|
|
SUBIDS_COND=no_subids
|
|
|
|
endif
|
|
|
|
|
2010-03-20 15:55:34 +05:30
|
|
|
if ENABLE_REGENERATE_MAN
|
2011-11-07 00:10:11 +05:30
|
|
|
%.xml-config: %.xml
|
2011-09-18 22:32:10 +05:30
|
|
|
if grep -q SHADOW-CONFIG-HERE $<; then \
|
|
|
|
sed -e 's/^<!-- SHADOW-CONFIG-HERE -->/<!ENTITY % config SYSTEM "config.xml">%config;/' $< > $@; \
|
|
|
|
else \
|
|
|
|
sed -e 's/^\(<!DOCTYPE .*docbookx.dtd"\)>/\1 [<!ENTITY % config SYSTEM "config.xml">%config;]>/' $< > $@; \
|
|
|
|
fi
|
2009-09-08 03:19:29 +05:30
|
|
|
|
2012-05-20 15:48:33 +05:30
|
|
|
man1/% man3/% man5/% man8/%: %.xml-config Makefile config.xml
|
2022-11-28 21:48:09 +05:30
|
|
|
$(XSLTPROC) --stringparam profile.condition "$(PAM_COND);$(SHADOWGRP_COND);$(TCB_COND);$(SHA_CRYPT_COND);$(SUBIDS_COND);$(VENDORDIR_COND)" \
|
2012-05-21 02:31:24 +05:30
|
|
|
--param "man.authors.section.enabled" "0" \
|
2012-05-20 15:48:33 +05:30
|
|
|
--stringparam "man.output.base.dir" "" \
|
2022-11-28 21:48:09 +05:30
|
|
|
--stringparam vendordir "$(VENDORDIR)" \
|
2012-05-20 15:48:33 +05:30
|
|
|
--param "man.output.in.separate.dir" "1" \
|
2023-02-07 14:04:59 +05:30
|
|
|
--path "$(srcdir)/login.defs.d" \
|
2022-11-28 21:48:09 +05:30
|
|
|
-nonet $(top_builddir)/man/shadow-man.xsl $<
|
2012-05-21 02:31:24 +05:30
|
|
|
|
|
|
|
clean-local:
|
2016-12-06 02:32:19 +05:30
|
|
|
rm -rf man1 man3 man5 man8
|
2012-05-21 02:31:24 +05:30
|
|
|
|
2009-08-31 01:16:54 +05:30
|
|
|
else
|
2010-03-20 15:55:34 +05:30
|
|
|
$(man_MANS):
|
2009-08-31 01:16:54 +05:30
|
|
|
@echo you need to run configure with --enable-man to generate man pages
|
|
|
|
endif
|
* configure.in, man/po/Makefile.in.in, man/po/Makevars,
man/po/POTFILES.in, man/Makefile.am: Generate the PO files for the
manpages in the man/po directory (instead of man/<lang>). Use a
Makefile.in.in based on gettext's one. This ensure that the PO are
generated before being used in the <lang> directories.
* man/generate_mans.mak, man/generate_translations.mak,
man/Makefile.am: New makefile for the generation of manpages from
XML (generate_mans.mak). This avoid duplicate chunks in
generate_translations.mak and Makefile.am
* man/de/de.po, man/fr/fr.po, man/it/it.po, man/pl/pl.po,
man/ru/ru.po, man/sv/sv.po: Moved to...
* man/po/de.po, man/po/fr.po, man/po/it.po, man/po/pl.po,
man/po/ru.po, man/po/sv.po: ... here.
2007-11-26 02:32:32 +05:30
|
|
|
|
2012-05-20 15:48:33 +05:30
|
|
|
man8/grpconv.8 man8/grpunconv.8 man8/pwunconv.8: man8/pwconv.8
|
* configure.in, man/po/Makefile.in.in, man/po/Makevars,
man/po/POTFILES.in, man/Makefile.am: Generate the PO files for the
manpages in the man/po directory (instead of man/<lang>). Use a
Makefile.in.in based on gettext's one. This ensure that the PO are
generated before being used in the <lang> directories.
* man/generate_mans.mak, man/generate_translations.mak,
man/Makefile.am: New makefile for the generation of manpages from
XML (generate_mans.mak). This avoid duplicate chunks in
generate_translations.mak and Makefile.am
* man/de/de.po, man/fr/fr.po, man/it/it.po, man/pl/pl.po,
man/ru/ru.po, man/sv/sv.po: Moved to...
* man/po/de.po, man/po/fr.po, man/po/it.po, man/po/pl.po,
man/po/ru.po, man/po/sv.po: ... here.
2007-11-26 02:32:32 +05:30
|
|
|
|
2012-05-20 15:48:33 +05:30
|
|
|
man3/getspnam.3: man3/shadow.3
|
* configure.in, man/po/Makefile.in.in, man/po/Makevars,
man/po/POTFILES.in, man/Makefile.am: Generate the PO files for the
manpages in the man/po directory (instead of man/<lang>). Use a
Makefile.in.in based on gettext's one. This ensure that the PO are
generated before being used in the <lang> directories.
* man/generate_mans.mak, man/generate_translations.mak,
man/Makefile.am: New makefile for the generation of manpages from
XML (generate_mans.mak). This avoid duplicate chunks in
generate_translations.mak and Makefile.am
* man/de/de.po, man/fr/fr.po, man/it/it.po, man/pl/pl.po,
man/ru/ru.po, man/sv/sv.po: Moved to...
* man/po/de.po, man/po/fr.po, man/po/it.po, man/po/pl.po,
man/po/ru.po, man/po/sv.po: ... here.
2007-11-26 02:32:32 +05:30
|
|
|
|
2012-05-20 15:48:33 +05:30
|
|
|
man8/vigr.8: man8/vipw.8
|