logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git

oss-4.2.2019_no_compressed_manpages.patch (3042B)


  1. --- oss-v4.2-build2019-src-gpl/setup/Linux/build.sh.old 2020-04-22 23:19:18.042367733 +0200
  2. +++ oss-v4.2-build2019-src-gpl/setup/Linux/build.sh 2020-04-22 23:20:27.526622099 +0200
  3. @@ -132,18 +132,18 @@
  4. if test -f $SRCDIR/kernel/drv/$N/$N.man
  5. then
  6. sed "s:CONFIGFILEPATH:$OSSLIBDIR/conf:g" < $SRCDIR/kernel/drv/$N/$N.man > /tmp/ossman.txt
  7. - $TXT2MAN -t "$CMD" -v "OSS Devices" -s 7 /tmp/ossman.txt | gzip -9 > prototype/usr/share/man/man7/$N.7.gz
  8. + $TXT2MAN -t "$CMD" -v "OSS Devices" -s 7 /tmp/ossman.txt > prototype/usr/share/man/man7/$N.7
  9. else
  10. if test -f $SRCDIR/kernel/nonfree/drv/$N/$N.man
  11. then
  12. sed "s:CONFIGFILEPATH:$OSSLIBDIR/conf:g" < $SRCDIR/kernel/nonfree/drv/$N/$N.man > /tmp/ossman.txt
  13. - $TXT2MAN -t "$CMD" -v "OSS Devices" -s 7 $SRCDIR/kernel/nonfree/drv/$N/$N.man | gzip -9 > prototype/usr/share/man/man7/$N.7.gz
  14. + $TXT2MAN -t "$CMD" -v "OSS Devices" -s 7 $SRCDIR/kernel/nonfree/drv/$N/$N.man > prototype/usr/share/man/man7/$N.7
  15. fi
  16. fi
  17. done
  18. sed "s:CONFIGFILEPATH:$OSSLIBDIR/conf:g" < $SRCDIR/kernel/drv/osscore/osscore.man > /tmp/ossman.txt
  19. -$TXT2MAN -t "osscore" -v "OSS Devices" -s 7 /tmp/ossman.txt | gzip -9 > prototype/usr/share/man/man7/osscore.7.gz
  20. +$TXT2MAN -t "osscore" -v "OSS Devices" -s 7 /tmp/ossman.txt > prototype/usr/share/man/man7/osscore.7
  21. rm -f /tmp/ossman.txt
  22. # Link the optional NOREGPARM modules
  23. @@ -162,13 +162,13 @@
  24. do
  25. N=`basename $n .man`
  26. - $TXT2MAN -t "$CMD" -v "OSS Devices" -s 7 $n | gzip -9 > prototype/usr/share/man/man7/$N.7.gz
  27. + $TXT2MAN -t "$CMD" -v "OSS Devices" -s 7 $n > prototype/usr/share/man/man7/$N.7
  28. done
  29. for n in $SRCDIR/misc/man1m/*.man
  30. do
  31. N=`basename $n .man`
  32. - $TXT2MAN -t "$CMD" -v "OSS System Administration Commands" -s 1 $n | gzip -9 > prototype/usr/share/man/man1/$N.1.gz
  33. + $TXT2MAN -t "$CMD" -v "OSS System Administration Commands" -s 1 $n > prototype/usr/share/man/man1/$N.1
  34. done
  35. if ! cp lib/libOSSlib/libOSSlib.so lib/libsalsa/.libs/libsalsa.so.2.0.0 prototype/$OSSLIBDIR/lib
  36. @@ -189,7 +189,7 @@
  37. for i in target/bin/*
  38. do
  39. CMD=`basename $i`
  40. -$TXT2MAN -t "$CMD" -v "OSS User Commands" -s 1 cmd/$CMD/$CMD.man | gzip -9 > prototype/usr/share/man/man1/$CMD.1.gz
  41. +$TXT2MAN -t "$CMD" -v "OSS User Commands" -s 1 cmd/$CMD/$CMD.man > prototype/usr/share/man/man1/$CMD.1
  42. echo done $CMD
  43. done
  44. @@ -198,12 +198,12 @@
  45. CMD=`basename $i`
  46. if test -f cmd/$CMD/$CMD.man
  47. then
  48. - $TXT2MAN -t "$CMD" -v "OSS System Administration Commands" -s 8 cmd/$CMD/$CMD.man | gzip -9 > prototype/usr/share/man/man8/$CMD.8.gz
  49. + $TXT2MAN -t "$CMD" -v "OSS System Administration Commands" -s 8 cmd/$CMD/$CMD.man > prototype/usr/share/man/man8/$CMD.8
  50. echo done $CMD
  51. fi
  52. done
  53. -$TXT2MAN -t "ossdetect" -v "User Commands" -s 8 os_cmd/Linux/ossdetect/ossdetect.man | gzip -9 > prototype/usr/share/man/man8/ossdetect.8.gz
  54. +$TXT2MAN -t "ossdetect" -v "User Commands" -s 8 os_cmd/Linux/ossdetect/ossdetect.man > prototype/usr/share/man/man8/ossdetect.8
  55. echo done ossdetect
  56. cp -f $SRCDIR/oss/lib/flashsupport.c prototype/$OSSLIBDIR/lib