osdir.com
mailing list archive

Subject: CVS kohda tetex-bin: fixed patch for texconfig (according to the change of the name 05TeXMF.cnf) - msg#00234

List: debian.devel.tetex

Date: Prev Next Index Thread: Prev Next Index
CVSROOT: /cvs/tetex
Module name: tetex-bin
Changes by: kohda Fri Jan 17 01:02:18 MST 2003

Modified files:
debian : changelog

Log message:
fixed patch for texconfig (according to the change of the name 05TeXMF.cnf)




Was this page helpful?
Yes No
Thread at a glance:

Previous Message by Date: click to view message preview

Bug#177094: tetex-bin: /var/cache/fonts problems: mode query and /etc/texmf/texmf.d patch for texconfig

From: Matthew Swift <swift@xxxxxxxxxxxx> Subject: Bug#177094: tetex-bin: /var/cache/fonts problems: mode query and /etc/texmf/texmf.d patch for texconfig Date: Thu, 16 Jan 2003 21:04:57 -0500 > (1) I think you want to install a world-writable /var/cache/fonts/ls-R > when you create /var/cache/fonts. > Otherwise you get errors like: Perhaps, no. It was setted with debconf question. > -- debconf information: > tetex-bin/oldcfg: true > * tetex-bin/cnf_name: > * tetex-bin/lsr-perms: true > * tetex-bin/userperm: false > * tetex-bin/groupname: users > * tetex-bin/groupperm: true Under these settings, if you add yourself to group "users" you will not see error messages. This will be your (or a user's) decision now. > (2) Missing ".cnf" extension in the code. Ah, yes I overlooked this change. This is very important. > (3) I think that texconfig ought to check the permissions on /var/cache/fonts > and perhaps its > subdirs, when /var/cache/fonts exists, rather than just assuming > everything is OK and exiting. For security reason, the permissions could not be relaxed so far. cf. Bug#57746 This is an issue not easy to fix, I guess. I will fix (2) and close this, because other problems are; (1) is not a problem in fact and (2) is the same as #57746 essentially. If I misunderstand something, please let me know. Best regards, 2003-1-17(Fri) -- Debian Developer & Debian JP Developer - much more I18N of Debian Atsuhito Kohda <kohda@xxxxxxxxxx> Department of Math., Tokushima Univ.

Next Message by Date: click to view message preview

CVS kohda tetex-bin: fixed patch for texconfig (according to the change of the name 05TeXMF.cnf)

CVSROOT: /cvs/tetex Module name: tetex-bin Changes by: kohda Fri Jan 17 01:02:38 MST 2003 Modified files: debian/patches : patch-deb Log message: fixed patch for texconfig (according to the change of the name 05TeXMF.cnf)

Previous Message by Thread: click to view message preview

Bug#177094: tetex-bin: /var/cache/fonts problems: mode query and /etc/texmf/texmf.d patch for texconfig

Package: tetex-bin Version: 1.0.7+20021025-8 Severity: normal Tags: patch (1) I think you want to install a world-writable /var/cache/fonts/ls-R when you create /var/cache/fonts. Otherwise you get errors like: Font metrics written on cmti10.tfm. Output written on cmti10.300gf (128 characters, 13592 bytes). Transcript written on cmti10.log. mktexlsr: /var/cache/fonts: directory not writable. Skipping... /usr/share/texmf/web2c/mktexupd: /var/cache/fonts/ls-R unwritable. mktexpk: /var/cache/fonts/pk/ricoh/public/cm/cmti10.300pk: successfully generated. kpathsea: Running mktexpk --mfmode ricoh --bdpi 300 --mag 1+0/300 --dpi 300 cmss10 (2) Missing ".cnf" extension in the code. (3) I think that texconfig ought to check the permissions on /var/cache/fonts and perhaps its subdirs, when /var/cache/fonts exists, rather than just assuming everything is OK and exiting. The following patch fixes (1) and (2) but not (3). --- texconfig.orig 2003-01-16 03:03:30.000000000 -0500 +++ texconfig 2003-01-16 21:01:26.000000000 -0500 @@ -1517,7 +1517,10 @@ test -d "$vardir/source" || { mkdir "$vardir/source" && chmod 1777 "$vardir/source"; } || return 1 - config_replace "/etc/texmf/texmf.d/05TeXMF" '^VARTEXFONTS' "VARTEXFONTS = $vardir" + mktexlsr "$vardir" + chmod 666 "$vardir/ls-R" + + config_replace "/etc/texmf/texmf.d/05TeXMF.cnf" '^VARTEXFONTS' "VARTEXFONTS = $vardir" test -x /usr/sbin/update-texmf && /usr/sbin/update-texmf || return 1 } -- System Information: Debian Release: testing/unstable Architecture: i386 Kernel: Linux beth 2.4.20 #1 Wed Jan 15 16:59:59 EST 2003 i686 Locale: LANG=C, LC_CTYPE=C Versions of packages tetex-bin depends on: ii debconf 1.2.21 Debian configuration management sy ii debianutils 1.16.7 Miscellaneous utilities specific t ii dpkg 1.10.9 Package maintenance system for Deb ii ed 0.2-19 The classic unix line editor ii libc6 2.2.5-14.3 GNU C Library: Shared libraries an ii libkpathsea3 1.0.7+20021025-8 shared libkpathsea for teTeX ii libpng12-0 1.2.5-5 PNG library - runtime ii libwww-ssl0 [libwww0] 5.4.0-5 The W3C-WWW library (SSL support) ii libxaw7 4.2.1-3 X Athena widget set library ii t1lib1 1.3.1-1 Type 1 font rasterizer library - r ii tetex-base 1.0.2+20021025-7 basic teTeX library files ii xlibs 4.2.1-3 X Window System client libraries ii zlib1g 1:1.1.4-6 compression library - runtime -- debconf information: tetex-bin/oldcfg: true * tetex-bin/cnf_name: * tetex-bin/lsr-perms: true * tetex-bin/userperm: false * tetex-bin/groupname: users * tetex-bin/groupperm: true

Next Message by Thread: click to view message preview

CVS kohda tetex-bin: fixed patch for texconfig (according to the change of the name 05TeXMF.cnf)

CVSROOT: /cvs/tetex Module name: tetex-bin Changes by: kohda Fri Jan 17 01:02:38 MST 2003 Modified files: debian/patches : patch-deb Log message: fixed patch for texconfig (according to the change of the name 05TeXMF.cnf)
Sign up for updates to this mailing list. email:
Loading Comments...
Home | News | Patents | Sitemap | FAQ | advertise

Advertising by