[subversion-commit] SVN tex-common commit + diffs: r1474 - in tex-common/trunk: . conf/texmf.d debian doc texmf texmf/web2c

Frank Küster frank at costa.debian.org
Mon Jul 3 13:45:27 UTC 2006


Author: frank
Date: 2006-07-03 13:45:25 +0000 (Mon, 03 Jul 2006)
New Revision: 1474

Added:
   tex-common/trunk/debian/NEWS.Debian
   tex-common/trunk/texmf/
   tex-common/trunk/texmf/web2c/
   tex-common/trunk/texmf/web2c/mktex.cnf
Modified:
   tex-common/trunk/conf/texmf.d/05TeXMF.cnf
   tex-common/trunk/debian/README.Debian
   tex-common/trunk/debian/changelog
   tex-common/trunk/debian/config.in
   tex-common/trunk/debian/postinst.in
   tex-common/trunk/debian/postrm.in
   tex-common/trunk/debian/rules
   tex-common/trunk/debian/templates
   tex-common/trunk/doc/Debian-TeX-Policy.pdf
   tex-common/trunk/doc/Debian-TeX-Policy.sgml
Log:
(untested) new font cache scheme

Modified: tex-common/trunk/conf/texmf.d/05TeXMF.cnf
===================================================================
--- tex-common/trunk/conf/texmf.d/05TeXMF.cnf	2006-07-02 15:38:29 UTC (rev 1473)
+++ tex-common/trunk/conf/texmf.d/05TeXMF.cnf	2006-07-03 13:45:25 UTC (rev 1474)
@@ -126,7 +126,7 @@
 % Where generated fonts may be written.  This tree is used when the sources
 % were found in a system tree and either that tree wasn't writable, or the
 % varfonts feature was enabled in MT_FEATURES in mktex.cnf.
-VARTEXFONTS = /var/cache/fonts
+VARTEXFONTS = /tmp/texfonts
 
 % Where to look for ls-R files.  There need not be an ls-R in the
 % directories in this path, but if there is one, Kpathsea will use it.

Added: tex-common/trunk/debian/NEWS.Debian
===================================================================
--- tex-common/trunk/debian/NEWS.Debian	2006-07-02 15:38:29 UTC (rev 1473)
+++ tex-common/trunk/debian/NEWS.Debian	2006-07-03 13:45:25 UTC (rev 1474)
@@ -0,0 +1,26 @@
+tex-common (0.26) unstable; urgency=low
+  
+  * New font cache handling
+  
+    The font cache handling has been reworked completely.  By default, a
+    separate font cache is kept for each user.  If you want to re-enable
+    site-wide caching, see the instructions in README.Debian.  On systems
+    where $HOME is not writable, fonts will be temporarily cached in
+    /tmp/texfonts. 
+  
+  * mktex.cnf change
+  
+    The change described above has been implemented by installing
+    /usr/share/texmf/web2c/mktex.cnf.  If you have a mktex.cnf in
+    TEXMFSYSCONFIG or TEXMFCONFIG with local additions, it would shadow
+    the new file, and font caching may not work until you transfer the
+    setting of MT_FEATURES to your configuration file.
+  
+  * Breakage with TeXLive
+  
+    The texlive packages do not yet automatically create a user's TEXMFVAR
+    directory for font caching.  This might break document processing in
+    some configurations.  Simply create the directory $HOME/.texmf-var
+    manually to fix this.
+  
+ -- Frank Küster <frank at debian.org>  Mon,  3 Jul 2006 15:25:26 +0200

Modified: tex-common/trunk/debian/README.Debian
===================================================================
--- tex-common/trunk/debian/README.Debian	2006-07-02 15:38:29 UTC (rev 1473)
+++ tex-common/trunk/debian/README.Debian	2006-07-03 13:45:25 UTC (rev 1474)
@@ -1,26 +1,26 @@
 
-Security information:
-=====================
+Font caching mechanisms:
+========================
 
-By default and according to long-standing tradition, the TeX font
-cache directory /var/cache/fonts is world-writable.  We suggest that
-you at least restrict write permissions to a particular group,
-e.g. "users" (note, however, that the default Debian installation does
-not put users into that group!).  Since this still allows every group
-member to create arbitrary files on the /var partition, even this
-might be a security risk, depending on local requirements and policy.
+ A TeX system needs to generate new font data (pixel data, metric,
+ sources) on the fly. These files can be saved into the TeX font cache
+ and later be reused.  By default, a separate font cache is created
+ for each user in their own TEXMFVAR directory ($HOME/.texmf-var/).
+ If this directory is not writable, e.g. during automated package
+ building, a directory called VARTEXFONTS, /tmp/texfonts/, is used
+ instead, but this directory is cleaned up regularly.
 
-You can use "dpkg-reconfigure -plow tex-common" to restrict write
-access to some group.  Alternatively, you could put /var/cache/fonts
-on a different partition, e.g. using bind-mount.
+ On multi-user machines, it might be advisable that the local
+ administrator set VARTEXFONTS to a persistent directory,
+ e.g. /var/cache/fonts.  The variable is set in in
+ /etc/texmf/texmf.d/05TeXMF.cnf, do not forget to run update-texmf
+ after making the change.  Care should be taken to specifiy
+ appropriate permissions for that directory.  Either the local admin
+ should create all available font data and not allow write access, or
+ else write access should be limited to trusted users.  Yet an other
+ alternative is to bind-mount /var/cache/fonts from a separate
+ partition, so that users are not able to fill up the /var partition
+ with font data.
 
-Removing group write permission completely must be done manually (but
-will be respected by debconf, of course).  In this case, the local
-administrator should probably fill the font cache, using the commands
-"allneeded" or "allcm" and "allec" in the teTeX or TeXlive packages.
 
-If you had version 0.16 installed and want to get back world-writable
-cache directories, please make this change manually.
-
-
- -- Frank Küster <frank at debian.org>, Wed Mar 15 20:38:13 2006
+ -- Frank Küster <frank at debian.org>, Mon,  3 Jul 2006 14:54:46 +0200

Modified: tex-common/trunk/debian/changelog
===================================================================
--- tex-common/trunk/debian/changelog	2006-07-02 15:38:29 UTC (rev 1473)
+++ tex-common/trunk/debian/changelog	2006-07-03 13:45:25 UTC (rev 1474)
@@ -1,3 +1,12 @@
+tex-common (0.25.1) unreleased; urgency=low
+
+  * Font data are now cached separately for each user, or in /tmp/texfonts
+    when there is no writable home directory.  Thus we could get rid of
+    the complicated debconf questions related to that issue (there's still
+    one note left).  Many thanks to Ralf Stubner for his "braindump".
+
+ -- Frank Küster <frank at debian.org>  Mon,  3 Jul 2006 15:27:22 +0200
+
 tex-common (0.25) unstable; urgency=low
 
   * Translations:

Modified: tex-common/trunk/debian/config.in
===================================================================
--- tex-common/trunk/debian/config.in	2006-07-02 15:38:29 UTC (rev 1473)
+++ tex-common/trunk/debian/config.in	2006-07-03 13:45:25 UTC (rev 1474)
@@ -41,115 +41,134 @@
 db_unregister tex-common/userperm || true
 db_unregister tex-common/managedlsr || true
 
-# The groupname question has been split up, but it need not be shown again
-db_fget tex-common/groupname seen || true
-if [ "$RET" = true ]; then
- db_fset tex-common/groupname_single seen true || true
- db_fset tex-common/groupname_multi seen true || true
-fi
+# now we can also unregister the managecache questions
 db_unregister tex-common/groupname || true
+db_unregister tex-common/groupname_single || true
+db_unregister tex-common/groupname_multi || true
+db_unregister tex-common/managecache || true
+db_unregister tex-common/invalid_groupname || true
 
+# test whether mktex.cnf exists in TEXMFSYSCONFIG and warn the user
+# mktex.cnf in TEXMFCONFIG will have the same effect, but all we can provide
+# in this case is the message in NEWS.Debian
+sysconfig=`kpsewhich --var-value='TEXMFSYSCONFIG'`
+if kpsewhich --format='web2c files' mktex.cnf | grep $sysconfig; then
+  db_subst tex-common/warn_mktexcnf sysconfig "$sysconfig" || true
+  db_input medium tex-common/warn_mktexcnf || true
+  db_go
+fi
 
+
+
+# The groupname question has been split up, but it need not be shown again
+# db_fget tex-common/groupname seen || true
+# if [ "$RET" = true ]; then
+#  db_fset tex-common/groupname_single seen true || true
+#  db_fset tex-common/groupname_multi seen true || true
+# fi
+# db_unregister tex-common/groupname || true
+
+
 # this script may be run twice: Once by dpkg-preconfigure, once again by
 # debconf when it is sourced in the postinst script.  We must do the
 # following only once, therefore we fiddle with a special flag
-db_fget tex-common/managecache firstrundone || true
+# db_fget tex-common/managecache firstrundone || true
 
-if [ "$RET" != "true" ]; then
-  # we are in the first pass, set the flag and do the things
-  db_fset tex-common/managecache firstrundone true || true
+# if [ "$RET" != "true" ]; then
+#   # we are in the first pass, set the flag and do the things
+#   db_fset tex-common/managecache firstrundone true || true
 
-  # check wether the directory /var/cache/fonts is group writeable and
-  # for which group
-  PERMS=$(stat --format="%a" /var/cache/fonts 2>/dev/null) || true
-  GROUP=$(stat --format="%G" /var/cache/fonts 2>/dev/null) || true
+#   # check wether the directory /var/cache/fonts is group writeable and
+#   # for which group
+#   PERMS=$(stat --format="%a" /var/cache/fonts 2>/dev/null) || true
+#   GROUP=$(stat --format="%G" /var/cache/fonts 2>/dev/null) || true
 
-  if [ "$GROUP" = "UNKNOWN" ] ; then
-    GROUP=$(stat --format="%g" /var/cache/fonts 2>/dev/null) || true
-  fi
+#   if [ "$GROUP" = "UNKNOWN" ] ; then
+#     GROUP=$(stat --format="%g" /var/cache/fonts 2>/dev/null) || true
+#   fi
 
-  # see wether we already have asked this question once
-  db_fget tex-common/managecache seen || true
-  SEEN="$RET"
+#   # see wether we already have asked this question once
+#   db_fget tex-common/managecache seen || true
+#   SEEN="$RET"
 
-  if [ "$SEEN" = true ] ; then
-    # this question was already shown
-    # if the permissions are still <:=$FONTCACHE_PERMS:> we set managecache to true
-    if [ "$PERMS" = $FONTCACHE_PERMS ] ; then
-      db_set tex-common/managecache true || true
-      db_set tex-common/groupname_single "$GROUP" || true
-      db_set tex-common/groupname_multi "$GROUP" || true
-    else
-      db_set tex-common/managecache false || true
-    fi
-  else
-    # this question has not been seen, so if the permissions are 
-    # - either the new permissions <:=$FONTCACHE_PERMS:> as we'd like to set them
-    # - or the permissions as shipped by old tetex versions
-    # then set the managecache to true, otherwise to false
-    # we will later change it to <:=$FONTCACHE_PERMS:> in the true case
-    #
-    # If the permissions are empty (preconfigure phase) or as shipped
-    # in the deb, don't set to true (after noninteractive install in
-    # pbuilder etc., dir needs to be world-writable).
+#   if [ "$SEEN" = true ] ; then
+#     # this question was already shown
+#     # if the permissions are still <:=$FONTCACHE_PERMS:> we set managecache to true
+#     if [ "$PERMS" = $FONTCACHE_PERMS ] ; then
+#       db_set tex-common/managecache true || true
+#       db_set tex-common/groupname_single "$GROUP" || true
+#       db_set tex-common/groupname_multi "$GROUP" || true
+#     else
+#       db_set tex-common/managecache false || true
+#     fi
+#   else
+#     # this question has not been seen, so if the permissions are 
+#     # - either the new permissions <:=$FONTCACHE_PERMS:> as we'd like to set them
+#     # - or the permissions as shipped by old tetex versions
+#     # then set the managecache to true, otherwise to false
+#     # we will later change it to <:=$FONTCACHE_PERMS:> in the true case
+#     #
+#     # If the permissions are empty (preconfigure phase) or as shipped
+#     # in the deb, don't set to true (after noninteractive install in
+#     # pbuilder etc., dir needs to be world-writable).
 
-    if [ "$PERMS" = $FONTCACHE_PERMS ] || [ "$PERMS" = 1777 ]; then
-      db_set tex-common/managecache true || true
-    else
-      db_set tex-common/managecache false || true
-    fi
-  fi
+#     if [ "$PERMS" = $FONTCACHE_PERMS ] || [ "$PERMS" = 1777 ]; then
+#       db_set tex-common/managecache true || true
+#     else
+#       db_set tex-common/managecache false || true
+#     fi
+#   fi
 
-  # now check whether this machine has only one normal user account (outside the system range)
-  usercount=0
-  userid=""
-  for uid in `getent passwd | cut -d ':' -f 3`; do
-    if [ $uid -ge 1000 ] && [ $uid -le 29999 ]; then
-      userid=$uid
-      : $(($usercount+1))
-    fi
-  done
-  if [ $usercount -eq 1 ]; then
-    db_set tex-common/singleuser true || true
-    # exactly one user account, number in $userid: suggest its group
-    groupID=`getent passwd | egrep "^[^:]+:[^:]+:$userid:" | cut -d ':' -f 4`
-    GROUP=`getent group | egrep "^[^:]+:[^:]+:$groupID:" | cut -d ':' -f 1`
-    db_set tex-common/groupname_single "$GROUP" || true
-  fi
+#   # now check whether this machine has only one normal user account (outside the system range)
+#   usercount=0
+#   userid=""
+#   for uid in `getent passwd | cut -d ':' -f 3`; do
+#     if [ $uid -ge 1000 ] && [ $uid -le 29999 ]; then
+#       userid=$uid
+#       : $(($usercount+1))
+#     fi
+#   done
+#   if [ $usercount -eq 1 ]; then
+#     db_set tex-common/singleuser true || true
+#     # exactly one user account, number in $userid: suggest its group
+#     groupID=`getent passwd | egrep "^[^:]+:[^:]+:$userid:" | cut -d ':' -f 4`
+#     GROUP=`getent group | egrep "^[^:]+:[^:]+:$groupID:" | cut -d ':' -f 1`
+#     db_set tex-common/groupname_single "$GROUP" || true
+#   fi
 
-  cache_debconf_priority=medium
-  db_input $cache_debconf_priority tex-common/managecache || true
-  db_go || true
+#   cache_debconf_priority=medium
+#   db_input $cache_debconf_priority tex-common/managecache || true
+#   db_go || true
 
-  db_get tex-common/managecache || true
-  if [ "$RET" = true ]; then
-    groupname_variant=multi
-    if [ $usercount -eq 1 ]; then
-      groupname_variant=single
-    fi
-    while true; do
-      db_input $cache_debconf_priority tex-common/groupname_$groupname_variant || true
-      db_go || true
-      db_get tex-common/groupname_$groupname_variant || true
-      GROUP="$RET"
-      # now check whether the returned group name exists.  This time, we can't rely on
-      # /etc/group, since we would never get out of this loop if the group information
-      # comes from somewhere else.
-      # Instead, we try to chown a file to that group
-      dobreak=true # means: execute /bin/true, do not break out of the loop
-      tempfile=`mktemp`
-      if [ -n "$GROUP" ] && chown :$GROUP $tempfile; then # no redirecting of stderr!
-	dobreak=break
-      fi
-      rm $tempfile
-      $dobreak
-      # still there?  invalid group
-      db_subst tex-common/invalid_groupname badgroup $GROUP || true
-      db_input $cache_debconf_priority tex-common/invalid_groupname || true
-      db_go || true
-    done
-  fi
-fi
+#   db_get tex-common/managecache || true
+#   if [ "$RET" = true ]; then
+#     groupname_variant=multi
+#     if [ $usercount -eq 1 ]; then
+#       groupname_variant=single
+#     fi
+#     while true; do
+#       db_input $cache_debconf_priority tex-common/groupname_$groupname_variant || true
+#       db_go || true
+#       db_get tex-common/groupname_$groupname_variant || true
+#       GROUP="$RET"
+#       # now check whether the returned group name exists.  This time, we can't rely on
+#       # /etc/group, since we would never get out of this loop if the group information
+#       # comes from somewhere else.
+#       # Instead, we try to chown a file to that group
+#       dobreak=true # means: execute /bin/true, do not break out of the loop
+#       tempfile=`mktemp`
+#       if [ -n "$GROUP" ] && chown :$GROUP $tempfile; then # no redirecting of stderr!
+# 	dobreak=break
+#       fi
+#       rm $tempfile
+#       $dobreak
+#       # still there?  invalid group
+#       db_subst tex-common/invalid_groupname badgroup $GROUP || true
+#       db_input $cache_debconf_priority tex-common/invalid_groupname || true
+#       db_go || true
+#     done
+#   fi
+# fi
 
 # Local Variables:
 # mode: shell-script

Modified: tex-common/trunk/debian/postinst.in
===================================================================
--- tex-common/trunk/debian/postinst.in	2006-07-02 15:38:29 UTC (rev 1473)
+++ tex-common/trunk/debian/postinst.in	2006-07-03 13:45:25 UTC (rev 1474)
@@ -131,31 +131,31 @@
 
     #
     # do the config stuff
-    db_get tex-common/managecache || true
-    if [ $RET = true ] ; then
-      db_get tex-common/singleuser || true
-      if [ "$RET" = true ]; then
-	db_get tex-common/groupname_single || true
-      else
-	db_get tex-common/groupname_multi || true
-      fi
-      GROUP="$RET"
-      if [ -n "$GROUP" ] ; then
-	echo -n "Adjusting permissions of TeX font cache... "
-        find /var/cache/fonts -type d -print0 | xargs -0r chmod $FONTCACHE_PERMS
-	find /var/cache/fonts -type d -print0 | xargs -0r chown "root:$GROUP"
-	if [ -f /var/cache/fonts/ls-R ]; then
-	  chmod 664 /var/cache/fonts/ls-R
-	  chown "root:$GROUP" /var/cache/fonts/ls-R
-	fi
-	echo "done."
-      fi
-    fi
+#     db_get tex-common/managecache || true
+#     if [ $RET = true ] ; then
+#       db_get tex-common/singleuser || true
+#       if [ "$RET" = true ]; then
+# 	db_get tex-common/groupname_single || true
+#       else
+# 	db_get tex-common/groupname_multi || true
+#       fi
+#       GROUP="$RET"
+#       if [ -n "$GROUP" ] ; then
+# 	echo -n "Adjusting permissions of TeX font cache... "
+#         find /var/cache/fonts -type d -print0 | xargs -0r chmod $FONTCACHE_PERMS
+# 	find /var/cache/fonts -type d -print0 | xargs -0r chown "root:$GROUP"
+# 	if [ -f /var/cache/fonts/ls-R ]; then
+# 	  chmod 664 /var/cache/fonts/ls-R
+# 	  chown "root:$GROUP" /var/cache/fonts/ls-R
+# 	fi
+# 	echo "done."
+#       fi
+#     fi
 
     # the config script may be run twice: Once by dpkg-preconfigure, once
     # again by debconf when it is sourced in the postinst script.  On the
     # first pass, it sets a special flag, which must now be reset.
-    db_fset tex-common/managecache firstrundone false || true
+#     db_fset tex-common/managecache firstrundone false || true
 
     ;;
   *)

Modified: tex-common/trunk/debian/postrm.in
===================================================================
--- tex-common/trunk/debian/postrm.in	2006-07-02 15:38:29 UTC (rev 1473)
+++ tex-common/trunk/debian/postrm.in	2006-07-03 13:45:25 UTC (rev 1474)
@@ -27,7 +27,7 @@
     # remove TEXMFSYSVARDIR: All files and dirs are created either by
     # us, or by packages depending on us.
     rm -rf $TEXMFSYSVARDIR
-    # same with /var/cache/fonts
+    # same with obsolete /var/cache/fonts
     rm -rf /var/cache/fonts
     ;;
   purge)

Modified: tex-common/trunk/debian/rules
===================================================================
--- tex-common/trunk/debian/rules	2006-07-02 15:38:29 UTC (rev 1473)
+++ tex-common/trunk/debian/rules	2006-07-03 13:45:25 UTC (rev 1474)
@@ -90,10 +90,12 @@
 	grep -v '^[ \t]*#' scripts/postrm-tex > $(INSTDIR)/usr/share/debhelper/autoscripts/postrm-tex
 	grep -v '^[ \t]*#' scripts/postinst-tex > $(INSTDIR)/usr/share/debhelper/autoscripts/postinst-tex
 
-        # ship /var/cache/fonts with proper permissions
-	mkdir --mode=1777 $(INSTDIR)/var/cache/fonts/pk
-	mkdir --mode=1777 $(INSTDIR)/var/cache/fonts/tfm
-	mkdir --mode=1777 $(INSTDIR)/var/cache/fonts/source
+        # fontcache stuff with proper permissions
+	install -d $(INSTDIR)/usr/share/texmf/web2c/
+	install -m 644 texmf/web2c/mktex.cnf $(INSTDIR)/usr/share/texmf/web2c/
+# 	mkdir --mode=1777 $(INSTDIR)/var/cache/fonts/pk
+# 	mkdir --mode=1777 $(INSTDIR)/var/cache/fonts/tfm
+# 	mkdir --mode=1777 $(INSTDIR)/var/cache/fonts/source
 
         # Remove the out-of-date ls-R file from /usr/share/texmf and create a
         # link to one in /var/lib/texmf that we can update without violating

Modified: tex-common/trunk/debian/templates
===================================================================
--- tex-common/trunk/debian/templates	2006-07-02 15:38:29 UTC (rev 1473)
+++ tex-common/trunk/debian/templates	2006-07-03 13:45:25 UTC (rev 1474)
@@ -1,81 +1,15 @@
-Template: tex-common/managecache
-Type: boolean
-Default: false
-_Description: Handle permissions of the TeX font cache by post-installation script?
- A TeX system needs  to generate new font data (pixel data, metric,
- sources) on the fly. These files can be saved into the TeX font cache
- in /var/cache/fonts and later reused.
- .
- If you choose to handle the permissions manually, the font cache
- directory will be world-writable, which is a security risk.  If you
- choose to handle permissions with the post-installation script, you
- can specify a group name and all directories under /var/cache/fonts
- will get ownership root:<groupname> and permission bits 3775.
- .
- If you choose to let the post-installation script manage permission,
- font generation on multi-user machines will only work for users that
- have been added to the group you chose - this has to be done manually
- by you!  On machines used only by a single user, the setup will try
- to automatically detect a suitable group.
- .
- The default is not to manage permissions by the post-installation
- script, but this is just because this is required for automatic
- installs on Debian package building machines (buildds).  In almost
- every other setup, like desktop machines or multi-user servers,
- handling by the postinst script is strongly recommended!
+Template: tex-common/warn_mktexcnf
+Type: note
+#flag:comment:2
+# Please do not translate FEATURES!
+_Description: mktex.cnf in /etc/ shadows changed /usr/share/texmf/web2c/mktex.cnf
+ The mechanism of TeX font caching has changed, requiring the
+ installation of /usr/share/texmf/web2c/mktex.cnf.  On your system,
+ ${sysconfig}/web2c/mktex.cnf exists with possible local changes, and
+ makes the new file invisible to TeX.  Font caching might not work
+ until the setting of MT_FEATURES has been transferred to your
+ configuration file.
 
-Template: tex-common/singleuser
-Type: boolean
-Default: false
-Description: internal item, question mark for lintian?
- Internal item which tells postinst whether config thinks only one
- user works on this system
-
-Template: tex-common/groupname_multi
-Type: string
-Default: users
-#flag:comment:3
-# Don't translate "users" in quotation marks, it is the name of the
-# default group as found in /etc/groups.
-_Description: Group that should own the TeX font cache:
- You can choose a specific group which will own all directories under and
- including the TeX font cache /var/cache/fonts. These directories will 
- get permission 3775.
- .
- The default is "users",  Note that on a Debian system, no local user is
- member of the "users" group by default, so you have to add them manually!
-
-Template: tex-common/groupname_single
-Type: string
-Default: users
-#flag:comment:4
-# Don't translate "users" in quotation marks, it is the name of the
-# default group as found in /etc/groups.
-_Description: Group that should own the TeX font cache:
- You can choose a specific group which will own all directories under and
- including the TeX font cache /var/cache/fonts. These directories will 
- get permission 3775.
- .
- The setup detected only a single user who works on this system.  If
- this is correct, the best choice is to choose this user's private group 
- with the same name as the user name.
- .
- If it is incorrect and more users are supposed to work on this
- machine, or if daemons running as system users will use TeX, it is
- suggested to choose an existing group, like "users", and add the
- required users manually.
-
-Template: tex-common/invalid_groupname
-Type: error
-Description: The group name you entered, ${badgroup}, does not exist
- The setup has tried to change ownership of a test file to the group
- you entered in the previous dialog box, 
- .
- ${badgroup}
- .
- but this failed.  You will be asked again; please enter the name (not
- the numeric ID) of a group that exists on your system. 
-
 Template: tex-common/cnf_name
 Type: note
 _Description: Change of name of files in /etc/texmf/texmf.d/

Modified: tex-common/trunk/doc/Debian-TeX-Policy.pdf
===================================================================
(Binary files differ)

Modified: tex-common/trunk/doc/Debian-TeX-Policy.sgml
===================================================================
--- tex-common/trunk/doc/Debian-TeX-Policy.sgml	2006-07-02 15:38:29 UTC (rev 1473)
+++ tex-common/trunk/doc/Debian-TeX-Policy.sgml	2006-07-03 13:45:25 UTC (rev 1474)
@@ -276,11 +276,19 @@
 	<heading>Generated files</heading>
 
 	<p>
-	Generated font files must be put in subdirectories of
-	<file>/var/cache/fonts</file>, all other generated files
-	should be below <file>/var/lib/texmf</file> (or the
-	user-specific variable directories), with the subdirectory
-	structure conforming to the TDS.<!--   If necessary, symbolic links -->
+	Generated files should be created
+	below <var>TEXMFSYSVAR</var> (or the user-specific
+	variable directories, <var>TEXMFVAR</var>), with the
+	subdirectory structure conforming to the TDS.  Generated font
+	files will either be created in each
+	user's <var>TEXMFVAR</var> tree, or in
+	the <var>VARTEXFONTS</var> tree<footnote>Per default, this
+	tree is located in the world-writeable
+	directory <file>/tmp/texfonts/</file>, in order to allow
+	automatic package builds to work without user directories.  On
+	multi user systems, the admin might want to change this to a
+	persistent directory and set up proper
+	permissions</footnote> <!-- If necessary, symbolic links -->
 <!-- 	can point from static <var>TEXMF</var> trees to files -->
 <!-- 	below <file>/var/</file>. -->
 	</p>

Added: tex-common/trunk/texmf/web2c/mktex.cnf
===================================================================
--- tex-common/trunk/texmf/web2c/mktex.cnf	2006-07-02 15:38:29 UTC (rev 1473)
+++ tex-common/trunk/texmf/web2c/mktex.cnf	2006-07-03 13:45:25 UTC (rev 1474)
@@ -0,0 +1,5 @@
+: ${MT_FEATURES=appendonlydir:texmfvar}
+#: ${MODE=ljfour}
+#: ${BDPI=600}
+# uncomment the following line to use ps2pk instead of gsftopk:
+# : ${ps_to_pk=ps2pk}




More information about the Pkg-tetex-commits mailing list