Files that exist only in patch-1

  1. X11/XFree86/files/gar-base.diff
  2. boot/busybox/files/bbc-config
  3. boot/sysvinit/files/bbc.inittab
  4. boot/sysvinit/files/uml.inittab
  5. boot/yaboot/Makefile
  6. boot/yaboot/checksums
  7. boot/yaboot/files/gar-base.diff
  8. crypto/gnupg/files/gar-base.diff
  9. crypto/gnupg/files/i386-lnxbbc-linux.cache
  10. crypto/gnupg/files/i386-lnxuml-linux.cache
  11. crypto/gnupg/files/powerpc-lnxbbc-linux.cache
  12. devel/gcc-inhibited/Makefile
  13. devel/gcc/files/gar-base.diff
  14. devel/glibc-crtstuff/Makefile
  15. devel/glibc-headers/Makefile
  16. devel/glibc/package-api.mk
  17. devel/newlib/Makefile
  18. devel/newlib/checksums
  19. disk/gpart/files/gar-base.diff
  20. disk/grub/Makefile
  21. disk/grub/checksums
  22. disk/pdisk/Makefile
  23. disk/pdisk/checksums
  24. fs/e2fsprogs/files/gar-base.diff
  25. fs/ntfsprogs/Makefile
  26. fs/ntfsprogs/checksums
  27. installer/stow/Makefile
  28. installer/stow/checksums
  29. kernel/cloop/files/gar-base.diff
  30. kernel/linux/files/Makefile.conf.vars
  31. kernel/linux/files/i386-lnxbbc-linux.config
  32. kernel/linux/files/powerpc-lnxbbc-linux.config
  33. kernel/linux/karchmap
  34. kernel/module-init-tools/Makefile
  35. kernel/module-init-tools/checksums
  36. kernel/user-mode-linux/Makefile
  37. kernel/user-mode-linux/checksums
  38. kernel/user-mode-linux/files/i386-lnxuml-linux.config
  39. lang/c++/Makefile
  40. lang/c/Makefile
  41. lib/gmp/Makefile
  42. lib/gmp/checksums
  43. lib/libnasl/Makefile
  44. lib/libnasl/checksums
  45. lib/ncurses/files/gar-base.diff
  46. lib/nessus-libraries/Makefile
  47. lib/nessus-libraries/checksums
  48. lib/pcre/Makefile
  49. lib/pcre/checksums
  50. lib/t1lib/Makefile
  51. lib/t1lib/checksums
  52. lib/uclibc/files/i386-lnxbbc-linux-config
  53. lib/uclibc/files/powerpc-lnxbbc-linux-config
  54. lib/uclibc/package-api.mk
  55. meta/bbc-contents/i386-contents
  56. meta/i386-livecd/Makefile
  57. meta/i386-livecd/checksums
  58. meta/i386-livecd/files/autorun.inf
  59. meta/i386-livecd/files/bbc.css
  60. meta/i386-livecd/files/lnxbbc.htm
  61. meta/lnx-bbc/package-api.mk
  62. meta/lnx-uml/Makefile
  63. meta/lnx-uml/package-api.mk
  64. meta/ppc-livecd/Makefile
  65. meta/ppc-livecd/checksums
  66. meta/ppc-livecd/files/maps
  67. meta/ppc-livecd/files/ofboot.b
  68. meta/ppc-livecd/files/yaboot.conf
  69. meta/singularity/files/builder
  70. meta/singularity/files/devices.cmd
  71. meta/uml-contents/Makefile
  72. meta/uml-contents/i386-contents
  73. meta/uml-contents/uml-contents
  74. net/bridge-utils/files/gar-base.diff
  75. net/curl/files/i386-lnxbbc-linux.cache
  76. net/curl/files/i386-lnxuml-linux.cache
  77. net/curl/files/powerpc-lnxbbc-linux.cache
  78. net/freeswan/files/gar-base.diff
  79. net/gkermit/files/gar-base.diff
  80. net/hping/Makefile
  81. net/hping/checksums
  82. net/hping/files/gar-base.diff
  83. net/hping/files/license
  84. net/iproute2/files/gar-base.diff
  85. net/kismet/files/gar-base.diff
  86. net/nessus-core/Makefile
  87. net/nessus-core/checksums
  88. net/nessus-plugins/Makefile
  89. net/nessus-plugins/checksums
  90. net/ngrep/files/gar-base.diff
  91. net/openssh/files/gar-base.diff
  92. net/openssh/files/i386-lnxbbc-linux.cache
  93. net/openssh/files/i386-lnxuml-linux.cache
  94. net/openssh/files/powerpc-lnxbbc-linux.cache
  95. net/rsync/files/i386-lnxbbc-linux.cache
  96. net/rsync/files/i386-lnxuml-linux.cache
  97. net/rsync/files/powerpc-lnxbbc-linux.cache
  98. net/snort/files/gar-base.diff
  99. shells/bash/files/cross-cache
  100. shells/bash/files/gar-base.diff
  101. shells/sash/files/gar-base.diff
  102. special/bbc-runlevels/Makefile
  103. special/uml-runlevels/Makefile
  104. utils/coreutils/files/i386-lnxbbc-linux.cache
  105. utils/coreutils/files/i386-lnxuml-linux.cache
  106. utils/coreutils/files/powerpc-lnxbbc-linux.cache
  107. utils/splitvt/Makefile
  108. utils/splitvt/checksums
  109. utils/splitvt/files/gar-base.diff
  110. utils/splitvt/manifest
  111. utils/xpdf/Makefile
  112. utils/xpdf/checksums

Files that changed between base-0 and patch-1









      boot/yaboot
      boot/yaboot/.arch-ids
      boot/yaboot/files
      boot/yaboot/files/.arch-ids
      crypto/gnupg/files
      crypto/gnupg/files/.arch-ids
      devel/gcc-inhibited
      devel/gcc-inhibited/.arch-ids
      devel/gcc/files
      devel/gcc/files/.arch-ids
      devel/glibc-crtstuff
      devel/glibc-crtstuff/.arch-ids
      devel/glibc-headers
      devel/glibc-headers/.arch-ids
      devel/newlib
      devel/newlib/.arch-ids
      disk/gpart/files
      disk/gpart/files/.arch-ids
      disk/grub
      disk/grub/.arch-ids
      disk/pdisk
      disk/pdisk/.arch-ids
      fs/e2fsprogs/files
      fs/e2fsprogs/files/.arch-ids
      fs/ntfsprogs
      fs/ntfsprogs/.arch-ids
      installer/stow
      installer/stow/.arch-ids
      kernel/cloop/files
      kernel/cloop/files/.arch-ids
      kernel/module-init-tools
      kernel/module-init-tools/.arch-ids
      kernel/user-mode-linux
      kernel/user-mode-linux/.arch-ids
      kernel/user-mode-linux/files
      kernel/user-mode-linux/files/.arch-ids
      lang/c
      lang/c++
      lang/c++/.arch-ids
      lang/c/.arch-ids
      lib/gmp
      lib/gmp/.arch-ids
      lib/libnasl
      lib/libnasl/.arch-ids
      lib/ncurses/files
      lib/ncurses/files/.arch-ids
      lib/nessus-libraries
      lib/nessus-libraries/.arch-ids
      lib/pcre
      lib/pcre/.arch-ids
      lib/t1lib
      lib/t1lib/.arch-ids
      lib/uclibc/files
      lib/uclibc/files/.arch-ids
      meta/i386-livecd
      meta/i386-livecd/.arch-ids
      meta/i386-livecd/files
      meta/i386-livecd/files/.arch-ids
      meta/lnx-uml
      meta/lnx-uml/.arch-ids
      meta/ppc-livecd
      meta/ppc-livecd/.arch-ids
      meta/ppc-livecd/files
      meta/ppc-livecd/files/.arch-ids
      meta/uml-contents
      meta/uml-contents/.arch-ids
      net/bridge-utils/files
      net/bridge-utils/files/.arch-ids
      net/curl/files
      net/curl/files/.arch-ids
      net/freeswan/files
      net/freeswan/files/.arch-ids
      net/gkermit/files
      net/gkermit/files/.arch-ids
      net/hping
      net/hping/.arch-ids
      net/hping/files
      net/hping/files/.arch-ids
      net/iproute2/files
      net/iproute2/files/.arch-ids
      net/nessus-core
      net/nessus-core/.arch-ids
      net/nessus-plugins
      net/nessus-plugins/.arch-ids
      net/ngrep/files
      net/ngrep/files/.arch-ids
      net/rsync/files
      net/rsync/files/.arch-ids
      net/snort/files
      net/snort/files/.arch-ids
      shells/bash/files
      shells/bash/files/.arch-ids
      special/bbc-runlevels
      special/bbc-runlevels/.arch-ids
      special/uml-runlevels
      special/uml-runlevels/.arch-ids
      utils/coreutils/files
      utils/coreutils/files/.arch-ids
      utils/splitvt
      utils/splitvt/.arch-ids
      utils/splitvt/files
      utils/splitvt/files/.arch-ids
      utils/xpdf
      utils/xpdf/.arch-ids
      boot/yaboot
      boot/yaboot/.arch-ids
      boot/yaboot/files
      boot/yaboot/files/.arch-ids
      crypto/gnupg/files
      crypto/gnupg/files/.arch-ids
      devel/gcc-inhibited
      devel/gcc-inhibited/.arch-ids
      devel/gcc/files
      devel/gcc/files/.arch-ids
      devel/glibc-crtstuff
      devel/glibc-crtstuff/.arch-ids
      devel/glibc-headers
      devel/glibc-headers/.arch-ids
      devel/newlib
      devel/newlib/.arch-ids
      disk/gpart/files
      disk/gpart/files/.arch-ids
      disk/grub
      disk/grub/.arch-ids
      disk/pdisk
      disk/pdisk/.arch-ids
      fs/e2fsprogs/files
      fs/e2fsprogs/files/.arch-ids
      fs/ntfsprogs
      fs/ntfsprogs/.arch-ids
      installer/stow
      installer/stow/.arch-ids
      kernel/cloop/files
      kernel/cloop/files/.arch-ids
      kernel/module-init-tools
      kernel/module-init-tools/.arch-ids
      kernel/user-mode-linux
      kernel/user-mode-linux/.arch-ids
      kernel/user-mode-linux/files
      kernel/user-mode-linux/files/.arch-ids
      lang/c
      lang/c++
      lang/c++/.arch-ids
      lang/c/.arch-ids
      lib/gmp
      lib/gmp/.arch-ids
      lib/libnasl
      lib/libnasl/.arch-ids
      lib/ncurses/files
      lib/ncurses/files/.arch-ids
      lib/nessus-libraries
      lib/nessus-libraries/.arch-ids
      lib/pcre
      lib/pcre/.arch-ids
      lib/t1lib
      lib/t1lib/.arch-ids
      lib/uclibc/files
      lib/uclibc/files/.arch-ids
      meta/i386-livecd
      meta/i386-livecd/.arch-ids
      meta/i386-livecd/files
      meta/i386-livecd/files/.arch-ids
      meta/lnx-uml
      meta/lnx-uml/.arch-ids
      meta/ppc-livecd
      meta/ppc-livecd/.arch-ids
      meta/ppc-livecd/files
      meta/ppc-livecd/files/.arch-ids
      meta/uml-contents
      meta/uml-contents/.arch-ids
      net/bridge-utils/files
      net/bridge-utils/files/.arch-ids
      net/curl/files
      net/curl/files/.arch-ids
      net/freeswan/files
      net/freeswan/files/.arch-ids
      net/gkermit/files
      net/gkermit/files/.arch-ids
      net/hping
      net/hping/.arch-ids
      net/hping/files
      net/hping/files/.arch-ids
      net/iproute2/files
      net/iproute2/files/.arch-ids
      net/nessus-core
      net/nessus-core/.arch-ids
      net/nessus-plugins
      net/nessus-plugins/.arch-ids
      net/ngrep/files
      net/ngrep/files/.arch-ids
      net/rsync/files
      net/rsync/files/.arch-ids
      net/snort/files
      net/snort/files/.arch-ids
      shells/bash/files
      shells/bash/files/.arch-ids
      special/bbc-runlevels
      special/bbc-runlevels/.arch-ids
      special/uml-runlevels
      special/uml-runlevels/.arch-ids
      utils/coreutils/files
      utils/coreutils/files/.arch-ids
      utils/splitvt
      utils/splitvt/.arch-ids
      utils/splitvt/files
      utils/splitvt/files/.arch-ids
      utils/xpdf
      utils/xpdf/.arch-ids
      boot/yaboot
      boot/yaboot/.arch-ids
      boot/yaboot/files
      boot/yaboot/files/.arch-ids
      crypto/gnupg/files
      crypto/gnupg/files/.arch-ids
      devel/gcc-inhibited
      devel/gcc-inhibited/.arch-ids
      devel/gcc/files
      devel/gcc/files/.arch-ids
      devel/glibc-crtstuff
      devel/glibc-crtstuff/.arch-ids
      devel/glibc-headers
      devel/glibc-headers/.arch-ids
      devel/newlib
      devel/newlib/.arch-ids
      disk/gpart/files
      disk/gpart/files/.arch-ids
      disk/grub
      disk/grub/.arch-ids
      disk/pdisk
      disk/pdisk/.arch-ids
      fs/e2fsprogs/files
      fs/e2fsprogs/files/.arch-ids
      fs/ntfsprogs
      fs/ntfsprogs/.arch-ids
      installer/stow
      installer/stow/.arch-ids
      kernel/cloop/files
      kernel/cloop/files/.arch-ids
      kernel/module-init-tools
      kernel/module-init-tools/.arch-ids
      kernel/user-mode-linux
      kernel/user-mode-linux/.arch-ids
      kernel/user-mode-linux/files
      kernel/user-mode-linux/files/.arch-ids
      lang/c
      lang/c++
      lang/c++/.arch-ids
      lang/c/.arch-ids
      lib/gmp
      lib/gmp/.arch-ids
      lib/libnasl
      lib/libnasl/.arch-ids
      lib/ncurses/files
      lib/ncurses/files/.arch-ids
      lib/nessus-libraries
      lib/nessus-libraries/.arch-ids
      lib/pcre
      lib/pcre/.arch-ids
      lib/t1lib
      lib/t1lib/.arch-ids
      lib/uclibc/files
      lib/uclibc/files/.arch-ids
      meta/i386-livecd
      meta/i386-livecd/.arch-ids
      meta/i386-livecd/files
      meta/i386-livecd/files/.arch-ids
      meta/lnx-uml
      meta/lnx-uml/.arch-ids
      meta/ppc-livecd
      meta/ppc-livecd/.arch-ids
      meta/ppc-livecd/files
      meta/ppc-livecd/files/.arch-ids
      meta/uml-contents
      meta/uml-contents/.arch-ids
      net/bridge-utils/files
      net/bridge-utils/files/.arch-ids
      net/curl/files
      net/curl/files/.arch-ids
      net/freeswan/files
      net/freeswan/files/.arch-ids
      net/gkermit/files
      net/gkermit/files/.arch-ids
      net/hping
      net/hping/.arch-ids
      net/hping/files
      net/hping/files/.arch-ids
      net/iproute2/files
      net/iproute2/files/.arch-ids
      net/nessus-core
      net/nessus-core/.arch-ids
      net/nessus-plugins
      net/nessus-plugins/.arch-ids
      net/ngrep/files
      net/ngrep/files/.arch-ids
      net/rsync/files
      net/rsync/files/.arch-ids
      net/snort/files
      net/snort/files/.arch-ids
      shells/bash/files
      shells/bash/files/.arch-ids
      special/bbc-runlevels
      special/bbc-runlevels/.arch-ids
      special/uml-runlevels
      special/uml-runlevels/.arch-ids
      utils/coreutils/files
      utils/coreutils/files/.arch-ids
      utils/splitvt
      utils/splitvt/.arch-ids
      utils/splitvt/files
      utils/splitvt/files/.arch-ids
      utils/xpdf
      utils/xpdf/.arch-ids
      boot/yaboot
      boot/yaboot/.arch-ids
      boot/yaboot/files
      boot/yaboot/files/.arch-ids
      crypto/gnupg/files
      crypto/gnupg/files/.arch-ids
      devel/gcc-inhibited
      devel/gcc-inhibited/.arch-ids
      devel/gcc/files
      devel/gcc/files/.arch-ids
      devel/glibc-crtstuff
      devel/glibc-crtstuff/.arch-ids
      devel/glibc-headers
      devel/glibc-headers/.arch-ids
      devel/newlib
      devel/newlib/.arch-ids
      disk/gpart/files
      disk/gpart/files/.arch-ids
      disk/grub
      disk/grub/.arch-ids
      disk/pdisk
      disk/pdisk/.arch-ids
      fs/e2fsprogs/files
      fs/e2fsprogs/files/.arch-ids
      fs/ntfsprogs
      fs/ntfsprogs/.arch-ids
      installer/stow
      installer/stow/.arch-ids
      kernel/cloop/files
      kernel/cloop/files/.arch-ids
      kernel/module-init-tools
      kernel/module-init-tools/.arch-ids
      kernel/user-mode-linux
      kernel/user-mode-linux/.arch-ids
      kernel/user-mode-linux/files
      kernel/user-mode-linux/files/.arch-ids
      lang/c
      lang/c++
      lang/c++/.arch-ids
      lang/c/.arch-ids
      lib/gmp
      lib/gmp/.arch-ids
      lib/libnasl
      lib/libnasl/.arch-ids
      lib/ncurses/files
      lib/ncurses/files/.arch-ids
      lib/nessus-libraries
      lib/nessus-libraries/.arch-ids
      lib/pcre
      lib/pcre/.arch-ids
      lib/t1lib
      lib/t1lib/.arch-ids
      lib/uclibc/files
      lib/uclibc/files/.arch-ids
      meta/i386-livecd
      meta/i386-livecd/.arch-ids
      meta/i386-livecd/files
      meta/i386-livecd/files/.arch-ids
      meta/lnx-uml
      meta/lnx-uml/.arch-ids
      meta/ppc-livecd
      meta/ppc-livecd/.arch-ids
      meta/ppc-livecd/files
      meta/ppc-livecd/files/.arch-ids
      meta/uml-contents
      meta/uml-contents/.arch-ids
      net/bridge-utils/files
      net/bridge-utils/files/.arch-ids
      net/curl/files
      net/curl/files/.arch-ids
      net/freeswan/files
      net/freeswan/files/.arch-ids
      net/gkermit/files
      net/gkermit/files/.arch-ids
      net/hping
      net/hping/.arch-ids
      net/hping/files
      net/hping/files/.arch-ids
      net/iproute2/files
      net/iproute2/files/.arch-ids
      net/nessus-core
      net/nessus-core/.arch-ids
      net/nessus-plugins
      net/nessus-plugins/.arch-ids
      net/ngrep/files
      net/ngrep/files/.arch-ids
      net/rsync/files
      net/rsync/files/.arch-ids
      net/snort/files
      net/snort/files/.arch-ids
      shells/bash/files
      shells/bash/files/.arch-ids
      special/bbc-runlevels
      special/bbc-runlevels/.arch-ids
      special/uml-runlevels
      special/uml-runlevels/.arch-ids
      utils/coreutils/files
      utils/coreutils/files/.arch-ids
      utils/splitvt
      utils/splitvt/.arch-ids
      utils/splitvt/files
      utils/splitvt/files/.arch-ids
      utils/xpdf
      utils/xpdf/.arch-ids
File: CREDITS
base-0 patch-1
Line 76Line 76
of  bugs.


of  bugs.



OBTAINING  SOURCE  CODE
---------------------

LNX-BBC  is  free  software.    Source  code  for  LNX-BBC  and  its  components
can  be  downloaded  from  the  LNX-BBC  web  site  at  http://www.lnx-bbc.org/.

You  can  also  receive  source  code  on  CD  during  the  three-year  period
following  the  most  recent  publication  of  this  version  of  LNX-BBC  by  the
LNX-BBC  project  or  its  partners  by  sending  a  check  or  money  order  for 
US$15.00,  payable  to  Nicholas  Moffitt,  to

        Nick  Moffitt
        The  GAR  Group
        2625  Alcatraz  Avenue  #305
        Berkeley,  CA  94705  USA


EARLIER  VERSIONS'  ACKNOWLEDGMENTS
---------------------------------

EARLIER  VERSIONS'  ACKNOWLEDGMENTS
---------------------------------

File: X11/XFree86/Makefile
base-0 patch-1
Line 1Line 1
GARNAME  =  XFree86
GARNAME  =  XFree86
GARVERSION  =  4.2.1
GARVERSION  =  4.3.0
CATEGORIES  =  XFree86
CATEGORIES  =  XFree86
MASTER_SITES  =  ftp://ftp.xfree86.org/pub/$(GARNAME)/4.2.0/source/ 
MASTER_SITES  +=  ftp://ftp.xfree86.org/pub/$(GARNAME)/$(GARVERSION)/patches/
MASTER_SITES  =  ftp://ftp.xfree86.org/pub/$(GARNAME)/$(GARVERSION)/source/ 
#MASTER_SITES  +=  ftp://ftp.xfree86.org/pub/$(GARNAME)/$(GARVERSION)/patches/
MASTER_SITES  +=  ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/gnu/fonts/
MASTER_SITES  +=  ftp://ftp.tux.org/pub/distributions/tinylinux/tinyX/
MASTER_SITES  +=  ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/gnu/fonts/
MASTER_SITES  +=  ftp://ftp.tux.org/pub/distributions/tinylinux/tinyX/
DISTFILES  =  X420src-1.tgz  X420src-2.tgz  Xtinylib.tar.gz  xinitrc.cpp  startx  encodings.dir  t1.fonts.dir  t1.fonts.alias  misc.fonts.dir  misc.fonts.alias  gnu-gs-fonts-std-6.0.tar.gz  urw++license 
DISTFILES  =  X430src-1.tgz  X430src-2.tgz  X430src-3.tgz  X430src-4.tgz  X430src-5.tgz  Xtinylib.tar.gz  xinitrc.cpp  startx  encodings.dir  t1.fonts.dir  t1.fonts.alias  misc.fonts.dir  misc.fonts.alias  gnu-gs-fonts-std-6.0.tar.gz  urw++license 
#lnxbbc.cf
#lnxbbc.cf
PATCHFILES  =  4.2.0-4.2.1.diff.gz
PATCHFILES  =  gar-base.diff
MAINTAINER  =  Jon  Webb  <lnx-bbc@jonwebb.org>,  Nick  Moffitt  <nick@zork.net>
MAINTAINER  =  Jon  Webb  <lnx-bbc@jonwebb.org>,  Nick  Moffitt  <nick@zork.net>
WORKSRC  =  $(WORKDIR)/xc
#LIBDEPS  =  lib/zlib  lib/ncurses
LIBDEPS  =  devel/glibc
BUILDDEPS  =  devel/flex  devel/bison  devel/imake
LICENSE  =  Bitstream_Type1  URW_GPL_plus_doc_exemption  MIT
#LICENSE  =  Bitstream_Type1  URW_GPL_plus_doc_exemption  MIT
LICENSE  =  MIT
Bitstream_Type1_LICENSE_TEXT  =  $(WORKSRC)/fonts/scaled/Type1/Copyright
URW_GPL_plus_doc_exemption_LICENSE_TEXT  =  $(DOWNLOADDIR)/urw++license
#  font  license-wise,  bitstream  are  the  good  guys;    IBM  &  B&H  won't  let  you  make  your  own;
Bitstream_Type1_LICENSE_TEXT  =  $(WORKSRC)/fonts/scaled/Type1/Copyright
URW_GPL_plus_doc_exemption_LICENSE_TEXT  =  $(DOWNLOADDIR)/urw++license
#  font  license-wise,  bitstream  are  the  good  guys;    IBM  &  B&H  won't  let  you  make  your  own;
Line 24Line 22
A  freely  redistributable  open-source  implementation  of  the  X  Window  System.
endef

A  freely  redistributable  open-source  implementation  of  the  X  Window  System.
endef

PATCHDIRLEVEL  =  0
WORKSRC  =  $(WORKDIR)/xc

SOURCE_LANGUAGES  =  c
BUILDDEPS  =  devel/flex  devel/bison  #devel/imake  X  will  build  its  own  imake  no  matter  what  we  do
LIBDEPS  =  lib/ncurses  lib/libpng  #lib/zlib

CONFIGURE_SCRIPTS  =  $(WORKSRC)/Makefile
CONFIGURE_ARGS  =  configure  NINJACC=$(build_CC)  NINJALD=$(build_LD)  NINJAAS=$(build_AS)  NINJAAR=$(build_AR)  NINJARANLIB=$(build_RANLIB)  NINJACFLAGS="$(build_CFLAGS)"  EXTRA_LDOPTIONS="$(build_LDFLAGS)"  FLAGS="$(MFLAGS)  -f  Makefile.ini  BOOTSTRAPCFLAGS='$(build_CFLAGS)'  CC='$(build_CC)'"
CONFIGURE_ENV  =  IMAKECPP=$(CPP)  IMAKECC=$(build_CC)
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
#  We  build  in  series  now.    In  future,  this  will  be  done  with  a
#  magical  Imake  var  that  we  set  to  $(PARALLELMFLAGS)
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
#  We  build  in  series  now.    In  future,  this  will  be  done  with  a
#  magical  Imake  var  that  we  set  to  $(PARALLELMFLAGS)
BUILD_ARGS  =  World  -j1  CC="$(CC)"
BUILD_ARGS  =  build  WORLDOPTS=  NINJACC=$(CC)  NINJALD=$(LD)  NINJAAS=$(AS)  NINJAAR=$(AR)  NINJARANLIB=$(RANLIB)  NINJACFLAGS="$(CFLAGS)"  EXTRA_LDOPTIONS="$(LDFLAGS)"
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_ARGS  =  install  -I$(includedir)
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_ARGS  =  install  -I$(includedir)
Line 39Line 45
include  ../../gar.mk

include  ../../gar.mk


CROSS_COMPILING  =  $(if  $(filter  $(GARBUILD),$(GARHOST)),NO,YES)

extract-xinitrc.cpp:
extract-xinitrc.cpp:
        cp  $(DOWNLOADDIR)/xinitrc.cpp  $(WORKSRC)/programs/xinit/
        cp  $(DOWNLOADDIR)/xinitrc.cpp  $(EXTRACTDIR)/xc/programs/xinit/
        $(MAKECOOKIE)

extract-lnxbbc.cf:
        $(MAKECOOKIE)

extract-lnxbbc.cf:
        cp  $(DOWNLOADDIR)/lnxbbc.cf  $(WORKSRC)/config/cf/
        cp  $(DOWNLOADDIR)/lnxbbc.cf  $(EXTRACTDIR)/xc/config/cf/
        $(MAKECOOKIE)

pre-configure:
        $(MAKECOOKIE)

pre-configure:
Line 56Line 64
        echo  "#define  UsrLibDir  $(libdir)"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#define  KDriveXServer  YES"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#define  TinyXServer  YES  "  >>  $(WORKSRC)/config/cf/site.def
        echo  "#define  UsrLibDir  $(libdir)"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#define  KDriveXServer  YES"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#define  TinyXServer  YES  "  >>  $(WORKSRC)/config/cf/site.def

        echo  "#ifdef  CrossCompiling"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#undef  CrossCompiling"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#endif"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#define  CrossCompiling                                    $(CROSS_COMPILING)"  >>  $(WORKSRC)/config/cf/site.def
        #echo  "#define  XvesaServer  YES"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#define  XfbdevServer  YES"  >>  $(WORKSRC)/config/cf/site.def
        #echo  "#define  XvesaServer  YES"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#define  XfbdevServer  YES"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#define  XnestServer  YES"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#define  XnestServer  NO"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#define  BuildSpeedo  YES"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#define  BuildFreeType  YES"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#define  BuildType1  YES"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#define  BuildLibraries  YES"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#define  BuildDocs  NO"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#define  BuildSpeedo  YES"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#define  BuildFreeType  YES"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#define  BuildType1  YES"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#define  BuildLibraries  YES"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#define  BuildDocs  NO"  >>  $(WORKSRC)/config/cf/site.def

        echo  "#define  BuildXcursorgen  NO">>  $(WORKSRC)/config/cf/site.def
        echo  "#define  Hastcl                                    NO"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#define  Hastk                                      NO"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#define  HasNCurses  NO"  >>  $(WORKSRC)/config/cf/site.def 
        echo  "#define  Hastcl                                    NO"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#define  Hastk                                      NO"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#define  HasNCurses  NO"  >>  $(WORKSRC)/config/cf/site.def 
        echo  "#define  OptimizedCDebugFlags        -Os  -fomit-frame-pointer"  >>  $(WORKSRC)/config/cf/site.def  #  optimize  for  space
        echo  "#define  OptimizedCDebugFlags        "  >>  $(WORKSRC)/config/cf/site.def
        echo  "#endif"  >>  $(WORKSRC)/config/cf/site.def
        #
        echo  "#ifdef  AfterVendorCF"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#endif"  >>  $(WORKSRC)/config/cf/site.def
        #
        echo  "#ifdef  AfterVendorCF"  >>  $(WORKSRC)/config/cf/site.def

        echo  "#ifdef  DefaultCCOptions"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#undef  DefaultCCOptions"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#endif"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#define  DefaultCCOptions  \$$(NINJACFLAGS)"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#undef  DefaultFontPath"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#define  DefaultFontPath  built-ins,/lib/X11/fonts/misc/,/lib/X11/fonts/Type1/"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#undef  HasPam"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#define  HasPam  NO"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#undef  HasZlib"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#define  HasZlib  NO"  >>  $(WORKSRC)/config/cf/site.def 
        echo  "#undef  DefaultFontPath"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#define  DefaultFontPath  built-ins,/lib/X11/fonts/misc/,/lib/X11/fonts/Type1/"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#undef  HasPam"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#define  HasPam  NO"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#undef  HasZlib"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#define  HasZlib  NO"  >>  $(WORKSRC)/config/cf/site.def 

        #  bison
        #  XXX:  Is  there  any  reason  YaccCmd  can't  just  be  "bison  -y"  and  let  PATH  sort  it  out?
        echo  "#ifdef  YaccCmd"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#undef  YaccCmd"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#endif"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#define  YaccCmd  $(build_DESTDIR)$(build_bindir)/bison  -y"    >>  $(WORKSRC)/config/cf/site.def
        #  XXX:  Is  there  any  reason  YaccCmd  can't  just  be  "bison  -y"  and  let  PATH  sort  it  out?
        echo  "#ifdef  YaccCmd"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#undef  YaccCmd"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#endif"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#define  YaccCmd  $(build_DESTDIR)$(build_bindir)/bison  -y"    >>  $(WORKSRC)/config/cf/site.def

        #  gcc
        echo  "#ifdef  CcCmd"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#undef  CcCmd"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#endif"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#endif"  >>  $(WORKSRC)/config/cf/site.def

        echo  "#define  CcCmd  \$$(NINJACC)"    >>  $(WORKSRC)/config/cf/site.def
        #  ld
        echo  "#ifdef  LdCmd"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#undef  LdCmd"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#endif"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#define  LdCmd  \$$(NINJALD)"    >>  $(WORKSRC)/config/cf/site.def
        #  as
        echo  "#ifdef  AsCmd"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#undef  AsCmd"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#endif"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#define  AsCmd  \$$(NINJAAS)"    >>  $(WORKSRC)/config/cf/site.def
        #  ar
        echo  "#ifdef  ArCmdBase"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#undef  ArCmdBase"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#endif"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#define  ArCmdBase  \$$(NINJAAR)"    >>  $(WORKSRC)/config/cf/site.def
        #  ranlib
        echo  "#ifdef  RanlibCmd"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#undef  RanlibCmd"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#endif"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#define  RanlibCmd  \$$(NINJARANLIB)"    >>  $(WORKSRC)/config/cf/site.def
        echo  "#define  BuildSharedLispModules  NO"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#endif"  >>  $(WORKSRC)/config/cf/site.def
        echo  "#define  emad"  >  $(WORKSRC)/config/cf/cross.def
        echo  "#define  HostCcCmd  $(build_CC)"  >>  $(WORKSRC)/config/cf/cross.def
        echo  "#include  <cross.rules>"  >>  $(WORKSRC)/config/cf/cross.def
        $(MAKECOOKIE)

        $(MAKECOOKIE)


#pre-install:
#        echo  ""  >>  $(WORKSRC)/config/cf/date.def
#        echo  ""  >>  $(WORKSRC)/config/cf/version.def
#        $(MAKECOOKIE)

#post-install:
#        cp  -f  $(WORKSRC)/config/cf/*  $(DESTDIR)$(libdir)/X11/config
#        $(MAKECOOKIE)

pre-install:
        touch  $(WORKSRC)/fonts/encodings/encodings.dir
pre-install:
        touch  $(WORKSRC)/fonts/encodings/encodings.dir

        echo  ""  >>  $(WORKSRC)/config/cf/date.def
        echo  ""  >>  $(WORKSRC)/config/cf/version.def
        $(MAKECOOKIE)

        $(MAKECOOKIE)

post-install:
post-install:

        cp  -f  $(WORKSRC)/config/cf/*  $(DESTDIR)$(libdir)/X11/config
        mkdir  -p  $(DESTDIR)$(libdir)/X11/fonts/misc/
        #  If  we  want  to  trim  these  down,  the  xterms  like  to  use 
        #  trimmed  about  half  of  these  (to  the  ones  xterm  asks  for  explcitly)
        mkdir  -p  $(DESTDIR)$(libdir)/X11/fonts/misc/
        #  If  we  want  to  trim  these  down,  the  xterms  like  to  use 
        #  trimmed  about  half  of  these  (to  the  ones  xterm  asks  for  explcitly)
Line 153Line 213
        chmod  0644  $(DESTDIR)$(libdir)/X11/fonts/Type1/*
        #  ok  back  to  the  configs
        mkdir  -p  $(DESTDIR)$(includedir)/X11/config/
        chmod  0644  $(DESTDIR)$(libdir)/X11/fonts/Type1/*
        #  ok  back  to  the  configs
        mkdir  -p  $(DESTDIR)$(includedir)/X11/config/
        mv  $(DESTDIR)$(libdir)/X11/config/*  $(DESTDIR)$(includedir)/X11/config/
        cp  $(DESTDIR)$(libdir)/X11/config/*  $(DESTDIR)$(includedir)/X11/config/
        chmod  0644  $(DESTDIR)$(includedir)/X11/config/*
        cp  $(WORKSRC)/config/cf/*  $(DESTDIR)$(includedir)/X11/config/
        chmod  0644  $(DESTDIR)$(includedir)/X11/config/*
        chmod  0644  $(DESTDIR)$(includedir)/X11/config/*
        cp  $(WORKSRC)/config/cf/*  $(DESTDIR)$(includedir)/X11/config/
        chmod  0644  $(DESTDIR)$(includedir)/X11/config/*
File: X11/XFree86/checksums
base-0 patch-1
Line 1Line 1
ad43a8e9e39703322005cd6f7145b77f    download/X420src-1.tgz
dae33268a9f2735b9678a81fb23e8d3e    download/X420src-2.tgz
4f241a4f867363f40efa2b00dca292af    download/X430src-1.tgz
844c2ee908d21dbf8911fd13115bf8b4    download/X430src-2.tgz
b82a0443e1b7bf860e4343e6b6766cb6    download/X430src-3.tgz
567903747018f2534965ab6cb3976b38    download/X430src-4.tgz
4dbdbe9a85c8f7f98dd0ee015a3c7b4f    download/X430src-5.tgz
e824cd6249ef2827ab09bb9d3a7ef85f    download/Xtinylib.tar.gz
307934dc12d7a13d190ea1435a6a8730    download/xinitrc.cpp
a5b2a6d85f01f1d3c4f31784ee76564f    download/startx
e824cd6249ef2827ab09bb9d3a7ef85f    download/Xtinylib.tar.gz
307934dc12d7a13d190ea1435a6a8730    download/xinitrc.cpp
a5b2a6d85f01f1d3c4f31784ee76564f    download/startx
Line 10Line 13
6813e4d152646d8a3299609f2502fe9f    download/misc.fonts.alias
1521fab85ca3e8ce3ce781d4970e6c79    download/gnu-gs-fonts-std-6.0.tar.gz
74856fbbb0b36ea596ce7b714024b721    download/urw++license
6813e4d152646d8a3299609f2502fe9f    download/misc.fonts.alias
1521fab85ca3e8ce3ce781d4970e6c79    download/gnu-gs-fonts-std-6.0.tar.gz
74856fbbb0b36ea596ce7b714024b721    download/urw++license
38adc94a4953a6b29e8619c25dda4887    download/4.2.0-4.2.1.diff.gz
41f360795da8f880698062fdda535104    download/gar-base.diff
File: X11/aterm/Makefile
base-0 patch-1
Line 14Line 14
  You  can  use  multiple  lines  if  you  want.
endef

  You  can  use  multiple  lines  if  you  want.
endef

LIBDEPS  =  devel/glibc  X11/XFree86
DEPENDS  =
BUILDDEPS  =
LIBDEPS  =  X11/XFree86
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
File: X11/blackbox/Makefile
base-0 patch-1
Line 14Line 14
    and  use  it. 
endef

    and  use  it. 
endef

LIBDEPS  =  devel/glibc  X11/XFree86  lib/libstdc++

SOURCE_LANGUAGES  =  c++
LIBDEPS  =  X11/XFree86
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
File: X11/freetype/Makefile
base-0 patch-1
Line 17Line 17
text  image  generation  tools,  and  many  other  products  as  well..
endef

text  image  generation  tools,  and  many  other  products  as  well..
endef

LIBDEPS  =  devel/glibc  lib/zlib
LIBDEPS  =  lib/zlib
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile  freetype-config

CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile  freetype-config

CONFIGURE_ARGS  =  $(DIRPATHS)  --host=$(GARHOST)
CONFIGURE_ARGS  =  $(DIRPATHS)  --build=$(GARBUILD)  --host=$(GARHOST)
INSTALL_OVERRIDE_DIRS  =  libdir  bindir  includedir  prefix

INSTALL_OVERRIDE_DIRS  =  libdir  bindir  includedir  prefix

File: X11/hackedbox/Makefile
base-0 patch-1
Line 1Line 1
GARNAME  =  hackedbox
GARNAME  =  hackedbox
GARVERSION  =  0.8.0
GARVERSION  =  0.8.2
CATEGORIES  =  X11
MASTER_SITES  =  http://scrudgeware.org/downloads/hackedbox/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz  menu.in
CATEGORIES  =  X11
MASTER_SITES  =  http://scrudgeware.org/downloads/hackedbox/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz  menu.in
Line 16Line 16
  enhancements  whenever  possible.
endef

  enhancements  whenever  possible.
endef

LIBDEPS  =  devel/glibc  X11/XFree86  lib/libstdc++  #devel/gcc

SOURCE_LANGUAGES  =  c++
LIBDEPS  =  X11/XFree86
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile

#  also  build  the  bgset  etc  stuff  for  completeness.
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile

#  also  build  the  bgset  etc  stuff  for  completeness.
CONFIGURE_ARGS  =  $(DIRPATHS)  --enable-bg-utils  --build=$(GARBUILD)  --host=$(GARHOST)  --x-includes=$(DESTDIR)$(includedir)  --x-libraries=$(DESTDIR)$(libdir)
CONFIGURE_ARGS  =  $(DIRPATHS)  --enable-bg-utils  --build=$(GARBUILD)  --host=$(GARHOST)  --x-includes=$(DESTDIR)$(includedir)  --x-libraries=$(DESTDIR)$(libdir)  --disable-nls  --disable-dependency-tracking
BUILD_ARGS  =  DEFAULT_STYLE=$(datadir)/$(GARNAME)/styles/BBC

#  some  subdirs  seem  to  be  blitzing  this
BUILD_ARGS  =  DEFAULT_STYLE=$(datadir)/$(GARNAME)/styles/BBC

#  some  subdirs  seem  to  be  blitzing  this
File: X11/hackedbox/checksums
base-0 patch-1
Line 1Line 1
595e27063ef0b1459f3b79005ce45ff0    download/hackedbox-0.8.0.tar.gz
3106462413c6b9440e77748da74f8e4e    download/hackedbox-0.8.2.tar.gz
1f9af9968f0a3ada23ff3eb884c7a1f9    download/menu.in
1f9af9968f0a3ada23ff3eb884c7a1f9    download/menu.in
File: X11/lesstif/Makefile
base-0 patch-1
Line 16Line 16
    compile  with  both  and  work  exactly  the  same! 
endef

    compile  with  both  and  work  exactly  the  same! 
endef

#  Dependencies  are  of  the  form  categorydir/packagedir
#  LIBDEPS  are  for  libraries,  and  DEPENDS  are  for  everything  else
LIBDEPS  =  devel/glibc  X11/XFree86
DEPENDS  =
#  Builddeps  are  installed  in  the  build  DESTIMG
LIBDEPS  =  X11/XFree86
BUILDDEPS  =  devel/libtool

BUILDDEPS  =  devel/libtool

CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile
File: X11/rxvt/Makefile
base-0 patch-1
Line 15Line 15
result,  rxvt  uses  much  less  swap  space.
endef

result,  rxvt  uses  much  less  swap  space.
endef

LIBDEPS  =  devel/glibc  X11/XFree86
LIBDEPS  =  X11/XFree86
DEPENDS  =
BUILDDEPS  =

DEPENDS  =
BUILDDEPS  =

File: X11/xscreensaver/Makefile
base-0 patch-1
Line 16Line 16
  You  can  use  multiple  lines  if  you  want.
endef

  You  can  use  multiple  lines  if  you  want.
endef

#  Dependencies  are  of  the  form  categorydir/packagedir
#  LIBDEPS  are  for  libraries,  and  DEPENDS  are  for  everything  else
LIBDEPS  =  devel/glibc  X11/XFree86  lib/gtk+
DEPENDS  =
#  Builddeps  are  installed  in  $(BUILD_PREFIX)  in  their  entirety
BUILDDEPS  =
LIBDEPS  =  X11/XFree86  lib/gtk+
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
File: archive/apt/Makefile
base-0 patch-1
Line 12Line 12
  #XXX:  nwall  package  blurb  goes  here.
endef

  #XXX:  nwall  package  blurb  goes  here.
endef

LIBDEPS  =  devel/glibc  lib/libstdc++
SOURCE_LANGUAGES  =  c++
BUILDDEPS  =  utils/gettext

CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILDDEPS  =  utils/gettext

CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
File: archive/bzip2/Makefile
base-0 patch-1
Line 17Line 17
times  faster  at  decompression.
endef

times  faster  at  decompression.
endef

LIBDEPS  =  devel/glibc
SOURCE_LANGUAGES  =  c
#  CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile

#  CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile

BUILD_ARGS  =  CC="$(CC)"
BUILD_ARGS  =  CC=$(CC)  AR=$(AR)  RANLIB=$(RANLIB)  TEST=
INSTALL_ARGS  =  DESTDIR=$(DESTDIR)  PREFIX=$(DESTDIR)

INSTALL_ARGS  =  DESTDIR=$(DESTDIR)  PREFIX=$(DESTDIR)

File: archive/bzip2/checksums
base-0 patch-1
Line 1Line 1
ee76864958d568677f03db8afad92beb    download/bzip2-1.0.2.tar.gz
ee76864958d568677f03db8afad92beb    download/bzip2-1.0.2.tar.gz
fa1db31e7afbcfab693e47d464c93755    download/gar-base.diff
32c46a763c483d9b943111005e93ccf8    download/gar-base.diff
File: archive/bzip2/files/gar-base.diff
base-0 patch-1
Line 1Line 1
diff  --speed-large-files  --minimal  -Nru  tmp/bzip2-1.0.2/Makefile  work/main.d/bzip2-1.0.2/Makefile
diff  --speed-large-files  --minimal  -Nru  tmp/bzip2-1.0.2/Makefile  work/main.d/bzip2-1.0.2/Makefile
---  tmp/bzip2-1.0.2/Makefile        Fri  Jan  25  15:34:53  2002
+++  work/main.d/bzip2-1.0.2/Makefile        Thu  Mar    6  22:46:45  2003
@@  -9,10  +9,10  @@
---  tmp/bzip2-1.0.2/Makefile        2002-01-25  17:34:53.000000000  -0600
+++  work/main.d/bzip2-1.0.2/Makefile        2003-10-25  00:01:04.000000000  -0500
@@  -9,11  +9,12  @@
 
  #  Suitably  paranoid  flags  to  avoid  bugs  in  gcc-2.7
  BIGFILES=-D_FILE_OFFSET_BITS=64
 
  #  Suitably  paranoid  flags  to  avoid  bugs  in  gcc-2.7
  BIGFILES=-D_FILE_OFFSET_BITS=64
Line 12Line 12
-PREFIX=/usr
+PREFIX=$(DESTDIR)
 
-PREFIX=/usr
+PREFIX=$(DESTDIR)
 

+TEST  =  test
 
  OBJS=  blocksort.o    \
 
  OBJS=  blocksort.o    \

              huffman.o        \
@@  -23,7  +24,7  @@
              decompress.o  \
              bzlib.o
 
-all:  libbz2.a  bzip2  bzip2recover  test
+all:  libbz2.a  bzip2  bzip2recover  $(TEST)
 
  bzip2:  libbz2.a  bzip2.o
          $(CC)  $(CFLAGS)  $(LDFLAGS)  -o  bzip2  bzip2.o  -L.  -lbz2
File: archive/cabextract/Makefile
base-0 patch-1
Line 11Line 11
A  program  to  extract  Microsoft  cabinet  (.CAB)  files.
endef

A  program  to  extract  Microsoft  cabinet  (.CAB)  files.
endef

LIBDEPS  =  devel/glibc


CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile
File: archive/cpio/Makefile
base-0 patch-1
Line 11Line 11
  #XXX:  nwall  package  blurb  goes  here.
endef

  #XXX:  nwall  package  blurb  goes  here.
endef

LIBDEPS  =  devel/glibc

BUILDDEPS  =  text/texinfo

CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILDDEPS  =  text/texinfo

CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
File: archive/dpkg/Makefile
base-0 patch-1
Line 14Line 14
admindir=$(localstatedir)/lib/dpkg

admindir=$(localstatedir)/lib/dpkg

LIBDEPS  =  devel/glibc


CONFIGURE_SCRIPTS  =  $(WORKSRC)/debian/rules
BUILD_SCRIPTS  =  $(WORKSRC)/build/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/build/Makefile  var
CONFIGURE_SCRIPTS  =  $(WORKSRC)/debian/rules
BUILD_SCRIPTS  =  $(WORKSRC)/build/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/build/Makefile  var
File: archive/garpkg/Makefile
base-0 patch-1
Line 20Line 20
BUILD_SCRIPTS  =  custom
INSTALL_SCRIPTS  =  custom

BUILD_SCRIPTS  =  custom
INSTALL_SCRIPTS  =  custom

DEPENDS  =  archive/tar  archive/gzip  crypto/gnupg  net/wget
SOURCE_LANGUAGES  =  #bash    There  is  no  lang/bash  package  :<
DEPENDS  =  archive/tar  archive/gzip  crypto/gnupg  net/wget  shells/bash
include  ../../gar.mk

include  ../../gar.mk

File: archive/gzip/Makefile
base-0 patch-1
Line 11Line 11
  #XXX:  nwall  package  blurb  goes  here.
endef

  #XXX:  nwall  package  blurb  goes  here.
endef

LIBDEPS  =  devel/glibc


CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile


CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile


CONFIGURE_ARGS  =  $(DIRPATHS)
CONFIGURE_ARGS  =  $(DIRPATHS)  --build=$(GARBUILD)  --host=$(GARHOST)
include  ../../gar.mk
include  ../../gar.mk
File: archive/lha/Makefile
base-0 patch-1
Line 12Line 12
  #XXX:  nwall  package  blurb  goes  here.
endef

  #XXX:  nwall  package  blurb  goes  here.
endef

LIBDEPS  =  devel/glibc


#  CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  custom

#  CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  custom


include  ../../gar.mk

install-custom: 
        install  $(WORKSRC)/src/lha  $(DESTDIR)$(bindir)
        $(MAKECOOKIE)
install-custom: 
        install  $(WORKSRC)/src/lha  $(DESTDIR)$(bindir)
        $(MAKECOOKIE)
include  ../../gar.mk

File: archive/ncompress/Makefile
base-0 patch-1
Line 16Line 16
compress  data.
endef

compress  data.
endef

LIBDEPS  =  devel/glibc


BUILD_SCRIPTS  =  custom
INSTALL_SCRIPTS  =  custom

BUILD_SCRIPTS  =  custom
INSTALL_SCRIPTS  =  custom

File: archive/pax/Makefile
base-0 patch-1
Line 17Line 17
WORKSRC  =  $(WORKDIR)/$(GARNAME)-$(GARVERSION).orig

WORKSRC  =  $(WORKDIR)/$(GARNAME)-$(GARVERSION).orig

LIBDEPS  =  devel/glibc


#  CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile
#  CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile
File: archive/tar/Makefile
base-0 patch-1
Line 11Line 11
  #XXX:  nwall  package  blurb  goes  here.
endef

  #XXX:  nwall  package  blurb  goes  here.
endef

LIBDEPS  =  devel/glibc


CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile

CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile

CONFIGURE_ARGS  =  $(DIRPATHS)
CONFIGURE_ARGS  =  $(DIRPATHS)  --build=$(GARBUILD)  --host=$(GARHOST)

#  tar  is  very  poorly  behaved!    It  prepends  prefix  onto  things
#  like  bindir!    This  is  not  the  way  GNU  packages  should  behave!
#  -NickM
#  tar  is  very  poorly  behaved!    It  prepends  prefix  onto  things
#  like  bindir!    This  is  not  the  way  GNU  packages  should  behave!
#  -NickM
File: archive/unzip/Makefile
base-0 patch-1
Line 15Line 15
found  on  MS-DOS  systems.
endef

found  on  MS-DOS  systems.
endef

LIBDEPS  =  devel/glibc


#CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  custom
INSTALL_SCRIPTS  =  custom
#CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  custom
INSTALL_SCRIPTS  =  custom
Line 25Line 23
build-custom:
        make  -f  unix/Makefile  -C  $(WORKSRC)  unix_make
build-custom:
        make  -f  unix/Makefile  -C  $(WORKSRC)  unix_make
        make  -C  $(WORKSRC)  unzips  CC=$(CC)  LD=$(CC)  CF="$(CFLAGS)  -I  ."
        make  -C  $(WORKSRC)  unzips  CC=$(CC)  LD=$(CC)  CF="$(CFLAGS)  -I  ."  AS=$(AS)  LF="-o  unzip  $(LDFLAGS)"  LF2="$(LDFLAGS)  -lc"
        $(MAKECOOKIE)

install-custom:
        $(MAKECOOKIE)

install-custom:
File: archive/zip/Makefile
base-0 patch-1
Line 14Line 14
Zip  will  create  .zip  archives,  commonly  found  on  MS-DOS  systems.
endef

Zip  will  create  .zip  archives,  commonly  found  on  MS-DOS  systems.
endef

LIBDEPS  =  devel/glibc
SOURCE_LANGUAGES  =  c
#CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  custom
#CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  custom
File: boot/busybox/Makefile
base-0 patch-1
Line 1Line 1
GARNAME  =  busybox
GARNAME  =  busybox
GARVERSION  =  0.60.3
GARVERSION  =  1.00-pre8
CATEGORIES  =  boot
MASTER_SITES  =  http://www.busybox.net/downloads/
CATEGORIES  =  boot
MASTER_SITES  =  http://www.busybox.net/downloads/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz  bbc-config
PATCHFILES  =  gar-base.diff
MAINTAINER  =  Seth  Schoen  <schoen@loyalty.org>
LICENSE  =  GPL2
PATCHFILES  =  gar-base.diff
MAINTAINER  =  Seth  Schoen  <schoen@loyalty.org>
LICENSE  =  GPL2
Line 14Line 14
  You  can  use  multiple  lines  if  you  want.
endef

  You  can  use  multiple  lines  if  you  want.
endef

#  Dependencies  are  of  the  form  categorydir/packagedir
LIBDEPS  =  lib/uclibc
DEPENDS  =
BUILDDEPS  =
SOURCE_LANGUAGES  =  c
PREFIX=$(prefix)

PREFIX=$(prefix)

#  CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
CONFIGURE_SCRIPTS  =  $(WORKSRC)/Makefile
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile

BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile

CONFIGURE_ARGS  =  $(DIRPATHS)
NODIRPATHS  = 
CONFIGURE_ARGS  =  oldconfig
BUILD_ARGS  =  CC=$(DESTDIR)$(prefix)/i386-linux-uclibc/bin/i386-uclibc-gcc  LD=$(DESTDIR)$(prefix)/i386-linux-uclibc/bin/i386-uclibc-ld  DOSTATIC=true
INSTALL_ARGS  =  CC=$(DESTDIR)$(prefix)/i386-linux-uclibc/bin/i386-uclibc-gcc  LD=$(DESTDIR)$(prefix)/i386-linux-uclibc/bin/i386-uclibc-ld  DOSTATIC=true
BUILD_ARGS  =  CC=$(CC)  LD=$(LD)
#  If  some  dirs  are  trying  to  install  into  /,  list  their  names
#  here,  such  as:  prefix  bindir  mandir
#  If  some  dirs  are  trying  to  install  into  /,  list  their  names
#  here,  such  as:  prefix  bindir  mandir
Line 39Line 34
#  This  should  go  before  any  hand-made  rules.
include  ../../gar.mk

#  This  should  go  before  any  hand-made  rules.
include  ../../gar.mk


extract-bbc-config:
        cat  $(DOWNLOADDIR)/bbc-config  |\
        sed  -e  's,@CROSS_COMPILING@,$(if  $(filter  $(GARBUILD),$(GARHOST)),n,y),'  |\
        sed  -e  's,@CFLAGS@,$(CFLAGS),'  \
        >  $(EXTRACTDIR)/$(DISTNAME)/.config
        $(MAKECOOKIE)

#  ***  override  because  we  want  to  use  ONLY  uclibc  libraries  and  not  ordinary
#  glibc;  if  you  use  ordinary  CFLAGS,  you  will  bring  in  glibc,  which  will
#  cause  trouble  here
#  ***  override  because  we  want  to  use  ONLY  uclibc  libraries  and  not  ordinary
#  glibc;  if  you  use  ordinary  CFLAGS,  you  will  bring  in  glibc,  which  will
#  cause  trouble  here
CFLAGS  =  -static  -I$(DESTDIR)$(prefix)/i386-linux-uclibc/include
LDFLAGS  =  -L$(DESTDIR)/$(prefix)/i386-linux-uclibc/lib
#CFLAGS  =  -static  -I$(build_prefix)/i386-linux-uclibc/include
#LDFLAGS  =  -L$(build_prefix)/i386-linux-uclibc/lib
File: boot/busybox/checksums
base-0 patch-1
Line 1Line 1
a202031d77cfd2515dfac0b163b47b1b    download/busybox-0.60.3.tar.gz
c1a778e3f76e868efd7d926698b10c83    download/gar-base.diff
755b547b90b89dd4362858daa89c6bc1    download/busybox-1.00-pre8.tar.gz
1436b8cac3964949aaaf4ad37d20c886    download/bbc-config
118197b53a018fb6a6b36d902f257d9e    download/gar-base.diff
File: boot/busybox/files/gar-base.diff
base-0 patch-1
Line 1Line 1
diff  --speed-large-files  --minimal  -Nru  tmp/busybox-0.60.3/Config.h  work/main.d/busybox-0.60.3/Config.h
---  tmp/busybox-0.60.3/Config.h        Fri  Apr    5  20:22:15  2002
+++  work/main.d/busybox-0.60.3/Config.h        Tue  Feb  18  06:41:43  2003
@@  -10,137  +10,137  @@
  //#define  BB_ADJTIMEX
  //#define  BB_AR
  #define  BB_ASH
-#define  BB_BASENAME
+//#define  BB_BASENAME
  #define  BB_CAT
-#define  BB_CHGRP
-#define  BB_CHMOD
-#define  BB_CHOWN
+//#define  BB_CHGRP
+//#define  BB_CHMOD
+//#define  BB_CHOWN
  #define  BB_CHROOT
-#define  BB_CHVT
-#define  BB_CLEAR
+//#define  BB_CHVT
+//#define  BB_CLEAR
  //#define  BB_CMP
  #define  BB_CP
  //#define  BB_CPIO
-#define  BB_CUT
-#define  BB_DATE
+//#define  BB_CUT
+//#define  BB_DATE
  //#define  BB_DC
-#define  BB_DD
+//#define  BB_DD
  //#define  BB_DEALLOCVT
-#define  BB_DF
-#define  BB_DIRNAME
-#define  BB_DMESG
+//#define  BB_DF
+//#define  BB_DIRNAME
+//#define  BB_DMESG
  //#define  BB_DOS2UNIX
  //#define  BB_DPKG
  //#define  BB_DPKG_DEB
  //#define  BB_DUTMP
-#define  BB_DU
+//#define  BB_DU
  //#define  BB_DUMPKMAP
  #define  BB_ECHO
-#define  BB_ENV
+//#define  BB_ENV
  //#define  BB_EXPR
  //#define  BB_FBSET
  //#define  BB_FDFLUSH
-#define  BB_FIND
-#define  BB_FREE
+//#define  BB_FIND
+//#define  BB_FREE
  //#define  BB_FREERAMDISK
  //#define  BB_FSCK_MINIX
  //#define  BB_GETOPT
-#define  BB_GREP
+//#define  BB_GREP
  #define  BB_GUNZIP
-#define  BB_GZIP
-#define  BB_HALT
-#define  BB_HEAD
+//#define  BB_GZIP
+//#define  BB_HALT
+//#define  BB_HEAD
  //#define  BB_HOSTID
  //#define  BB_HOSTNAME
  //#define  BB_HUSH
-#define  BB_ID
+//#define  BB_ID
  //#define  BB_IFCONFIG
-#define  BB_INIT
-//#define  BB_INSMOD
-#define  BB_KILL
-#define  BB_KILLALL
-#define  BB_KLOGD
+//#define  BB_INIT
+#define  BB_INSMOD
+//#define  BB_KILL
+//#define  BB_KILLALL
+//#define  BB_KLOGD
  //#define  BB_LASH
  //#define  BB_LENGTH
-#define  BB_LN
+//#define  BB_LN
  //#define  BB_LOADACM
  //#define  BB_LOADFONT
  //#define  BB_LOADKMAP
-#define  BB_LOGGER
+//#define  BB_LOGGER
  //#define  BB_LOGNAME
  //#define  BB_LOSETUP
-#define  BB_LS
-#define  BB_LSMOD
+//#define  BB_LS
+//#define  BB_LSMOD
  //#define  BB_MAKEDEVS
  //#define  BB_MD5SUM
  #define  BB_MKDIR
  //#define  BB_MKFIFO
  //#define  BB_MKFS_MINIX
  #define  BB_MKNOD
-#define  BB_MKSWAP
+//#define  BB_MKSWAP
  //#define  BB_MKTEMP
-#define  BB_MODPROBE
-#define  BB_MORE
+//#define  BB_MODPROBE
+//#define  BB_MORE
  #define  BB_MOUNT
  //#define  BB_MSH
  //#define  BB_MT
-#define  BB_MV
+//#define  BB_MV
  //#define  BB_NC
  //#define  BB_NSLOOKUP
-#define  BB_PIDOF
+//#define  BB_PIDOF
  //#define  BB_PING
-//#define  BB_PIVOT_ROOT
-#define  BB_POWEROFF
+#define  BB_PIVOT_ROOT
+//#define  BB_POWEROFF
  //#define  BB_PRINTF
-#define  BB_PS
-#define  BB_PWD
+//#define  BB_PS
+//#define  BB_PWD
  //#define  BB_RDATE
  //#define  BB_READLINK
-#define  BB_REBOOT
+//#define  BB_REBOOT
  //#define  BB_RENICE
-#define  BB_RESET
-#define  BB_RM
-#define  BB_RMDIR
+//#define  BB_RESET
+//#define  BB_RM
+//#define  BB_RMDIR
  //#define  BB_RMMOD
  //#define  BB_ROUTE
  //#define  BB_RPM2CPIO
-#define  BB_SED
+//#define  BB_SED
  //#define  BB_SETKEYCODES
  #define  BB_SLEEP
-#define  BB_SORT
+//#define  BB_SORT
  //#define  BB_STTY
-#define  BB_SWAPONOFF
-#define  BB_SYNC
-#define  BB_SYSLOGD
-#define  BB_TAIL
+//#define  BB_SWAPONOFF
+//#define  BB_SYNC
+//#define  BB_SYSLOGD
+//#define  BB_TAIL
  #define  BB_TAR
  //#define  BB_TEE
  //#define  BB_TEST
  //#define  BB_TELNET
  //#define  BB_TFTP
  //#define  BB_TIME
-#define  BB_TOUCH
+//#define  BB_TOUCH
  //#define  BB_TR
  //#define  BB_TRACEROUTE
  #define  BB_TRUE_FALSE
-#define  BB_TTY
+//#define  BB_TTY
  //#define  BB_UNIX2DOS
  //#define  BB_UUENCODE
  //#define  BB_UUDECODE
  #define  BB_UMOUNT
-#define  BB_UNIQ
-#define  BB_UNAME
+//#define  BB_UNIQ
+//#define  BB_UNAME
  //#define  BB_UPDATE
-#define  BB_UPTIME
+//#define  BB_UPTIME
  //#define  BB_USLEEP
  //#define  BB_VI
  //#define  BB_WATCHDOG
-#define  BB_WC
+//#define  BB_WC
  //#define  BB_WGET
-#define  BB_WHICH
-#define  BB_WHOAMI
-#define  BB_XARGS
-#define  BB_YES
+//#define  BB_WHICH
+//#define  BB_WHOAMI
+//#define  BB_XARGS
+//#define  BB_YES
  //  End  of  Applications  List
  //
  //
diff  --speed-large-files  --minimal  -Nru  scratch/busybox-1.00-pre8/libbb/loop.c  work/main.d/busybox-1.00-pre8/libbb/loop.c
---  scratch/busybox-1.00-pre8/libbb/loop.c        2004-02-06  01:16:36.000000000  -0600
+++  work/main.d/busybox-1.00-pre8/libbb/loop.c        2004-02-24  00:37:22.000000000  -0600
@@  -31,7  +31,7  @@
    *  so  we  get  to  try  and  cope  as  best  we  can...  */
  #include  <linux/version.h>
  #include  <asm/posix_types.h>
-#if  LINUX_VERSION_CODE  >=  132608
+#if  LINUX_VERSION_CODE  <  0x20600
  #define  __bb_kernel_dev_t      __kernel_old_dev_t
  #elif  LINUX_VERSION_CODE  >=  0x20600
  #define  __bb_kernel_dev_t      __kernel_dev_t
File: boot/minit/Makefile
base-0 patch-1
Line 14Line 14
    handling  and  will  soon  have  support  for  standard  and  user-defined  runlevels.
endef

    handling  and  will  soon  have  support  for  standard  and  user-defined  runlevels.
endef

#  Dependencies  are  of  the  form  categorydir/packagedir
#  LIBDEPS  are  for  libraries,  and  DEPENDS  are  for  everything  else
LIBDEPS  =
SOURCE_LANGUAGES  =  #make    There  is  no  lang/make  package  :<
DEPENDS  =  devel/make
DEPENDS  =  devel/make
#  Builddeps  are  installed  in  $(BUILD_PREFIX)  in  their  entirety
BUILDDEPS  =


CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile

CONFIGURE_ARGS  =  --prefix=/
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile

CONFIGURE_ARGS  =  --prefix=/
#NODIRPATHS  = 

#  If  some  dirs  are  trying  to  install  into  /,  list  their  names
#  here,  such  as:  prefix  bindir  mandir
#INSTALL_OVERRIDE_DIRS  = 

#  This  should  go  before  any  hand-made  rules.

include  ../../gar.mk
include  ../../gar.mk
File: boot/sysvinit/Makefile
base-0 patch-1
Line 2Line 2
GARVERSION  =  2.84
CATEGORIES  =  boot
MASTER_SITES  =  ftp://ftp.cistron.nl/pub/people/miquels/sysvinit/
GARVERSION  =  2.84
CATEGORIES  =  boot
MASTER_SITES  =  ftp://ftp.cistron.nl/pub/people/miquels/sysvinit/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz  inittab
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz  bbc.inittab  uml.inittab
PATCHFILES  =  gar-base.diff
MAINTAINER  =  Nate  Riffe  <inkblot@movealong.org>
LICENSE  =  GPL2
PATCHFILES  =  gar-base.diff
MAINTAINER  =  Nate  Riffe  <inkblot@movealong.org>
LICENSE  =  GPL2
Line 12Line 12
    sysvinit  is  the  standard  System  V  style  init  program  for  GNU/Linux.
endef

    sysvinit  is  the  standard  System  V  style  init  program  for  GNU/Linux.
endef

#  Dependencies  are  of  the  form  categorydir/packagedir
#  LIBDEPS  are  for  libraries,  and  DEPENDS  are  for  everything  else
LIBDEPS  =  devel/glibc
DEPENDS  =
#  Builddeps  are  installed  in  $(BUILD_PREFIX)  in  their  entirety
BUILDDEPS  =



#CONFIGURE_SCRIPTS  = 
BUILD_SCRIPTS  =  $(WORKSRC)/src/Makefile
#CONFIGURE_SCRIPTS  = 
BUILD_SCRIPTS  =  $(WORKSRC)/src/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/src/Makefile  inittab
INSTALL_SCRIPTS  =  $(WORKSRC)/src/Makefile  $(if  $(LNX_FLAVOR),$(LNX_FLAVOR).inittab,)
#CONFIGURE_ARGS  =  --prefix=/
#NODIRPATHS  = 
#CONFIGURE_ARGS  =  --prefix=/
#NODIRPATHS  = 
Line 38Line 30
#  This  should  go  before  any  hand-made  rules.
include  ../../gar.mk

#  This  should  go  before  any  hand-made  rules.
include  ../../gar.mk

install-inittab:
        install  -D  -m  644  $(WORKDIR)/inittab  $(DESTDIR)$(sysconfdir)/inittab
install-$(LNX_FLAVOR).inittab:
        install  -D  -m  644  $(WORKDIR)/$(LNX_FLAVOR).inittab  $(DESTDIR)$(sysconfdir)/inittab
        $(MAKECOOKIE)
        $(MAKECOOKIE)
File: boot/sysvinit/checksums
base-0 patch-1
Line 1Line 1
6ae4a8237a7e298097239e76eb7aff60    download/sysvinit-2.84.tar.gz
6ae4a8237a7e298097239e76eb7aff60    download/sysvinit-2.84.tar.gz
8918521a8a50c691b9d767b85dbabac6    download/inittab
afafbfc8bef25bd5d214fff0e1cda574    download/bbc.inittab
d026b2a410fdfb1f1f15799a84354b76    download/uml.inittab
1961aebaf44482ab17958870923e900e    download/gar-base.diff
1961aebaf44482ab17958870923e900e    download/gar-base.diff
File: boot/sysvinit/files/inittab
base-0 patch-1
Line 1Line 0
#  /etc/inittab:  init(8)  configuration.
#  $Id:  inittab,v  1.2  2003/01/19  23:50:06  inkblot  Exp  $

#  The  default  runlevel.
id:2:initdefault:

#  Boot-time  system  configuration/initialization  script.
#  This  is  run  first  except  when  booting  in  emergency  (-b)  mode.
si::sysinit:/etc/init.d/rc  sysinit

#  What  to  do  in  single-user  mode.
~~:S:wait:/sbin/sulogin

#  /etc/init.d  executes  the  S  and  K  scripts  upon  change
#  of  runlevel.
#
#  Runlevel  0  is  halt.
#  Runlevel  1  is  single-user.
#  Runlevels  2-5  are  multi-user.
#  Runlevel  6  is  reboot.

l0:0:wait:/etc/init.d/rc  halt
l1:1:wait:/etc/init.d/rc  single
l2:2:wait:/etc/init.d/rc  default
l3:3:wait:/etc/init.d/rc  rescue
l4:4:wait:/etc/init.d/rc  workstation
l5:5:wait:/etc/init.d/rc  custom
l6:6:wait:/etc/init.d/rc  reboot
#  Normally  not  reached,  but  fallthrough  in  case  of  emergency.
z6:6:respawn:/sbin/sulogin

#  What  to  do  when  CTRL-ALT-DEL  is  pressed.
ca:12345:ctrlaltdel:/sbin/shutdown  -t1  -a  -r  now

#  Action  on  special  keypress  (ALT-UpArrow).
kb::kbrequest:/bin/echo  "Keyboard  Request--edit  /etc/inittab  to  let  this  work."

#  What  to  do  when  the  power  fails/returns.
#pf::powerwait:/etc/init.d/powerfail  start
#pn::powerfailnow:/etc/init.d/powerfail  now
#po::powerokwait:/etc/init.d/powerfail  stop

#  /sbin/getty  invocations  for  the  runlevels.
#
#  The  "id"  field  MUST  be  the  same  as  the  last
#  characters  of  the  device  (after  "tty").
#
#  Format:
#    <id>:<runlevels>:<action>:<process>
1:2345:respawn:/sbin/agetty  57600  tty1
2:23:respawn:/sbin/agetty  57600  tty2
3:23:respawn:/sbin/agetty  57600  tty3
4:23:respawn:/sbin/agetty  57600  tty4
#5:23:respawn:/sbin/agetty  57600  tty5
#6:23:respawn:/sbin/agetty  57600  tty6

#  Example  how  to  put  a  getty  on  a  serial  line  (for  a  terminal)
#
#T0:23:respawn:/sbin/getty  -L  ttyS0  9600  vt100
#T1:23:respawn:/sbin/getty  -L  ttyS1  9600  vt100

#  Example  how  to  put  a  getty  on  a  modem  line.
#
#T3:23:respawn:/sbin/mgetty  -x0  -s  57600  ttyS3


File: chat/nwall/Makefile
base-0 patch-1
Line 1Line 1
GARNAME  =  nwall
GARVERSION  =  1.32
CATEGORIES  =  chat
GARNAME  =  nwall
GARVERSION  =  1.32
CATEGORIES  =  chat
Line 18Line 17
#  this  is  a  hack.    Should  fix  upstream
#CFLAGS  +=  -lncurses

#  this  is  a  hack.    Should  fix  upstream
#CFLAGS  +=  -lncurses

LIBDEPS  =  devel/glibc  utils/readline
LIBDEPS  =  utils/readline
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
CONFIGURE_ARGS  =  $(DIRPATHS)  --without-setuid
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
CONFIGURE_ARGS  =  $(DIRPATHS)  --without-setuid
Line 26Line 25
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile

BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile

include  ../../gar.mk
include  ../../gar.mk
File: chroot.txt
base-0 patch-1
Line 11Line 11
I  just  completed  a  test  build  of  the  LNX-BBC  in  a  Debian  chroot,  which
yielded  an  ISO  that  looks  about  the  right  size.    A  copy  of  this  chroot
I  just  completed  a  test  build  of  the  LNX-BBC  in  a  Debian  chroot,  which
yielded  an  ISO  that  looks  about  the  right  size.    A  copy  of  this  chroot
is  at  <http://zork.net/~sneakums/Debian-3.0r1.tar.bz2>;  it's  about  34M
is  at  <http://dorothy.movealong.org/~inkblot/Debian-3.0r1.tar.bz2>;  it's  about  34M
compressed,  125M  uncompressed,  and  contains  all  of  the  packages  I  have
found  necessary  to  complete  a  build  (for  reference:  the  Debian  base
system,  plus  build-essential,  rsync,  wget,  bison,  flex,  texinfo,
compressed,  125M  uncompressed,  and  contains  all  of  the  packages  I  have
found  necessary  to  complete  a  build  (for  reference:  the  Debian  base
system,  plus  build-essential,  rsync,  wget,  bison,  flex,  texinfo,
File: crypto/gnupg/Makefile
base-0 patch-1
Line 1Line 1
GARNAME  =  gnupg
GARNAME  =  gnupg
GARVERSION  =  1.2.2
GARVERSION  =  1.2.3
CATEGORIES  =  crypto
MASTER_SITES  =  ftp://ftp.gnupg.org/gcrypt/gnupg/
CATEGORIES  =  crypto
MASTER_SITES  =  ftp://ftp.gnupg.org/gcrypt/gnupg/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz 
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz  powerpc-lnxbbc-linux.cache  i386-lnxbbc-linux.cache  i386-lnxuml-linux.cache
PATCHFILES  =  gar-base.diff
LICENSE  =  GPL2

DESCRIPTION  =  gnupg
LICENSE  =  GPL2

DESCRIPTION  =  gnupg
Line 12Line 13
restrictions.  GnuPG  is  a  RFC2440  (OpenPGP)  compliant  application.
endef

restrictions.  GnuPG  is  a  RFC2440  (OpenPGP)  compliant  application.
endef

LIBDEPS  =  devel/glibc  lib/zlib
LIBDEPS  =  lib/zlib
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile

CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile

CONFIGURE_ARGS  =  $(DIRPATHS)
CONFIGURE_ARGS  =  $(DIRPATHS)  --build=$(GARBUILD)  --host=$(GARHOST)  --config-cache
include  ../../gar.mk
include  ../../gar.mk
File: crypto/gnupg/checksums
base-0 patch-1
Line Line 1
01cf9c6b949603d0511f6fc07bc758d2    download/gnupg-1.2.2.tar.gz
46b990908019422535a08ce91b370ae7    download/gnupg-1.2.3.tar.gz
3a90ed092700245c13f93c5df9676b3a    download/powerpc-lnxbbc-linux.cache
d317acf3f08ea981c25017eec3c1fa0c    download/i386-lnxbbc-linux.cache
d317acf3f08ea981c25017eec3c1fa0c    download/i386-lnxuml-linux.cache
82e6e1c4632321f72abd3d9ba317505f    download/gar-base.diff
File: crypto/openssl/Makefile
base-0 patch-1
Line 12Line 12
  #XXX:  nwall  package  blurb  goes  here.
endef

  #XXX:  nwall  package  blurb  goes  here.
endef

LIBDEPS  =  devel/glibc
SOURCE_LANGUAGES  =  c
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
Line 37Line 37
        (cd  $(WORKSRC);  ln  -sf  config  configure)
        $(MAKECOOKIE)

        (cd  $(WORKSRC);  ln  -sf  config  configure)
        $(MAKECOOKIE)


post-build:
        find  $(WORKSRC)/  -type  f  |  xargs  touch  -r  $(WORKSRC)
        $(MAKECOOKIE)

post-install:
        -mv  $(DESTDIR)$(prefix)/include/openssl  $(DESTDIR)$(includedir)
        $(MAKECOOKIE)
post-install:
        -mv  $(DESTDIR)$(prefix)/include/openssl  $(DESTDIR)$(includedir)
        $(MAKECOOKIE)
File: devel/bison/Makefile
base-0 patch-1
Line 28Line 28
      multicharacter  string  literals  and  other  features."
endef

      multicharacter  string  literals  and  other  features."
endef

LIBDEPS  =  devel/glibc
SOURCE_LANGUAGES  =  c
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
File: devel/ccache/Makefile
base-0 patch-1
Line 15Line 15
  cached  object  instead  of  recompiling.
endef

  cached  object  instead  of  recompiling.
endef

LIBDEPS  =  devel/glibc
SOURCE_LANGUAGES  =  c
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile  symlinks

CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile  symlinks

CONFIGURE_ARGS  =  $(DIRPATHS)  --host=$(GARHOST)
CONFIGURE_ARGS  =  $(DIRPATHS)  --build=$(GARBUILD)  --host=$(GARHOST)
INSTALL_OVERRIDE_DIRS  = 

INSTALL_OVERRIDE_DIRS  = 

File: devel/distcc/Makefile
base-0 patch-1
Line 21Line 21
  cross-compilers. 
endef

  cross-compilers. 
endef

LIBDEPS  =  devel/glibc

DEPENDS  =  devel/gcc

CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
DEPENDS  =  devel/gcc

CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
File: devel/flex/Makefile
base-0 patch-1
Line 23Line 23
        ing  C  code."
endef

        ing  C  code."
endef

LIBDEPS  =  devel/glibc
SOURCE_LANGUAGES  =  c
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
File: devel/gcc-primitives/Makefile
base-0 patch-1
Line 1Line 0
GARNAME  =  gcc-primitives
GARVERSION  =  $(GCC_VERSION)
CATEGORIES  =  devel
MAINTAINER  =  Nate  Riffe  <inkblot@movealong.org>
LICENSE  =  GPL2

WORKSRC  =  $(WORKDIR)/gcc-$(GARVERSION)

DESCRIPTION  =  GNU  Compiler  Collection  internal  headers  and  crt*  objects
define  BLURB
  The  gcc-primitives  package  provides  the  fixed  headers  and  crt*  objects  which
  are  needed  in  order  to  build  the  full  gcc  package.    This  is  the  egg.
  devel/gcc  is  the  chicken.
endef

BUILDDEPS  =  devel/gcc
INSTALL_SCRIPTS  =  slurp-cross-compiler

GAR_EXTRA_CONF  +=  devel/gcc/package-api.mk
include  ../../gar.mk

#  export  the  current  value  of  GARTARGET  to  the  environment.    When  GAR  gets
#  around  to  building  devel/gcc  as  a  BUILDDEPS,  that  value  will  tell  gcc  to  be  a
#  cross-compiler  (or  not,  if  GARBUILD  ==  GARHOST).
export  GARTARGET

install-slurp-cross-compiler:
        install  -d  $(GCC_DIR)
        install  -m  644  $(CROSS_GCC_DIR)/crt*  $(GCC_DIR)/
        rsync  -pav  $(CROSS_GCC_DIR)/include  $(GCC_DIR)/
        $(MAKECOOKIE)

File: devel/gcc/Makefile
base-0 patch-1
Line 3Line 3
CATEGORIES  =  devel
MASTER_SITES  =  ftp://ftp.gnu.org/gnu/gcc/ 
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz 
CATEGORIES  =  devel
MASTER_SITES  =  ftp://ftp.gnu.org/gnu/gcc/ 
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz 
MAINTAINER  =  Ian  Harding  <iharding@att.net>
PATCHFILES  =  gar-base.diff
MAINTAINER  =  Nate  Riffe  <inkblot@movealong.org>
LICENSE  =  GPL2

LICENSE  =  GPL2

WORKSRC=$(WORKDIR)/$(GARNAME)-$(GARVERSION)
#  Differentiate  builds  by  image  and  target
COOKIEDIR  =  $(COOKIEROOTDIR)/$(DESTIMG)_$(GARTARGET)
WORKDIR  =  $(WORKROOTDIR)/$(DESTIMG)_$(GARTARGET)

WORKSRC  =  $(WORKDIR)/$(GARNAME)-$(GARVERSION)
WORKBUILD  =  $(WORKDIR)/$(GARTARGET)

ifdef  TARGETIMG
GARTARGET  =  $($(TARGETIMG)_GARHOST)
TARGET_HEADERS  =  $($(TARGETIMG)_DESTDIR)$($(TARGETIMG)_includedir)
TARGET_LIBS  =  $($(TARGETIMG)_DESTDIR)$($(TARGETIMG)_libdir)
IMGDEPS  =  $(TARGETIMG)
$(TARGETIMG)_DEPENDS  =  $($(TARGETIMG)_LIBC)
else
TARGET_HEADERS  =  $(DESTDIR)$(includedir)
TARGET_LIBS  =  $(DESTDIR)$(libdir)
endif
DESCRIPTION  =  GNU  Compiler  Collection
define  BLURB
  #XXX:  gcc  package  blurb  goes  here.
endef

DESCRIPTION  =  GNU  Compiler  Collection
define  BLURB
  #XXX:  gcc  package  blurb  goes  here.
endef

LIBDEPS  =  devel/glibc
SOURCE_LANGUAGES  =  c
DEPENDS  =  utils/binutils
DEPENDS  =  utils/binutils
CONFIGURE_SCRIPTS  =  custom  #$(WORKSRC)/configure
CONFIGURE_ARGS  =  $(DIRPATHS)  --enable-version-specific-runtime-libs  --host=$(GARHOST)  --build=$(GARBUILD)  --target=$(GARTARGET)  --enable-threads=posix  --enable-shared  --enable-languages=c++
CONFIGURE_SCRIPTS  +=  custom  #$(WORKSRC)/configure
CONFIGURE_ARGS  +=  --prefix=$(prefix)  --exec-prefix=$(exec_prefix)  --enable-version-specific-runtime-libs  --host=$(GARHOST)  --build=$(GARBUILD)  --target=$(GARTARGET)  --enable-languages=c,c++  --enable-threads=posix  --enable-shared  --with-headers=$(TARGET_HEADERS)  --with-libs=$(TARGET_LIBS)
BUILD_SCRIPTS  =  $(WORKDIR)/$(GARTARGET)/Makefile 
BUILD_SCRIPTS  =  $(WORKBUILD)/Makefile 
BUILD_ARGS  =  -j1

BUILD_ARGS  =  -j1

INSTALL_SCRIPTS  =  $(WORKDIR)/$(GARTARGET)/Makefile  cc-symlink
INSTALL_SCRIPTS  =  $(WORKBUILD)/Makefile  cc-symlink
#INSTALL_OVERRIDE_DIRS  =  prefix  bindir  libdir  datadir  sysconfdir  sharedstatedir  libexecdir  datadir  localstatedir 

include  ../../gar.mk

pre-configure:
#INSTALL_OVERRIDE_DIRS  =  prefix  bindir  libdir  datadir  sysconfdir  sharedstatedir  libexecdir  datadir  localstatedir 

include  ../../gar.mk

pre-configure:
        @mkdir  -p  $(WORKDIR)/$(GARTARGET)
        @mkdir  -p  $(WORKBUILD)
        @$(MAKECOOKIE)

configure-custom:
        @$(MAKECOOKIE)

configure-custom:
        cd  $(WORKDIR)/$(GARTARGET)  &&  $(CONFIGURE_ENV)  ../$(GARNAME)-$(GARVERSION)/configure  $(CONFIGURE_ARGS)
        cd  $(WORKBUILD)  &&  $(CONFIGURE_ENV)  ./$(call  DIRSTODOTS,$(WORKBUILD))/$(WORKSRC)/configure  $(CONFIGURE_ARGS)
        $(MAKECOOKIE)

#  cc  ->  gcc  doesn't  actual  do  us  any  good  on  the  BUILDDEPS'd  cross-compiler
        $(MAKECOOKIE)

#  cc  ->  gcc  doesn't  actual  do  us  any  good  on  the  BUILDDEPS'd  cross-compiler
File: devel/gcc/checksums
base-0 patch-1
Line Line 1
f3ad4f32c2296fad758ed051b5ac8e28    download/gcc-2.95.3.tar.gz
e951123b2dfd2288c3e9337024dc9e4c    download/gcc-3.2.3.tar.gz
a249ffd2cabfbce9975970f6e59e2070    download/gar-base.diff
File: devel/gcc/package-api.mk
base-0 patch-1
Line 1Line 1
GCC_VERSION  =  2.95.3
GCC_VERSION  =  3.2.3
GCC_DIR  =  $(DESTDIR)$(libdir)/gcc-lib/$(GARHOST)/$(GCC_VERSION)
GCC_LIBDIR  =  $(GCC_DIR)
GCC_DIR  =  $(DESTDIR)$(libdir)/gcc-lib/$(GARHOST)/$(GCC_VERSION)
GCC_LIBDIR  =  $(GCC_DIR)
File: devel/gdb/Makefile
base-0 patch-1
Line 18Line 18
  programmer.                                                                                             
endef

  programmer.                                                                                             
endef

#  Dependencies  are  of  the  form  categorydir/packagedir
#  LIBDEPS  are  for  libraries,  and  DEPENDS  are  for  everything  else
LIBDEPS  =  devel/glibc  lib/ncurses
LIBDEPS  =  lib/ncurses
DEPENDS  =  devel/gcc
DEPENDS  =  devel/gcc
#  Builddeps  are  installed  in  the  build  DESTIMG
BUILDDEPS  =

CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure

CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure

File: devel/glib/Makefile
base-0 patch-1
Line 12Line 12
  GLib  package  blurb  goes  here.
endef

  GLib  package  blurb  goes  here.
endef

LIBDEPS  =  devel/glibc
SOURCE_LANGUAGES  =  c
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
CONFIGURE_ARGS  =  $(DIRPATHS)
CONFIGURE_ARGS  =  $(DIRPATHS)  --build=$(GARBUILD)  --host=$(GARHOST)  --x-includes=$(DESTDIR)$(includedir)  --x-libraries=$(DESTDIR)$(libdir)
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile

INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile  glib-config

include  ../../gar.mk
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile

INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile  glib-config

include  ../../gar.mk
install-glib-config:
        mkdir  -p  $(STAGINGDIR)/$(GARNAME)
        cp  -a  $(DESTDIR)$(bindir)/glib-config  $(STAGINGDIR)/$(GARNAME)/
        @$(MAKECOOKIE)

File: devel/glibc/Makefile
base-0 patch-1
Line 1Line 1
GARNAME  =  glibc
GARNAME  =  glibc
GARVERSION  =  2.2.5
GARVERSION  =  $(GLIBC_VERSION)
CATEGORIES  =  devel
MASTER_SITES  =  ftp://ftp.gnu.org/gnu/glibc/
CATEGORIES  =  devel
MASTER_SITES  =  ftp://ftp.gnu.org/gnu/glibc/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz    $(GARNAME)-linuxthreads-$(GARVERSION).tar.gz
MAINTAINER  =  Nick  Moffitt  <nick@zork.net>
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.bz2  $(GARNAME)-linuxthreads-$(GARVERSION).tar.bz2
PATCHFILES  =  gar-base.diff
PATCHFILES  =  gar-base.diff

MAINTAINER  =  Nick  Moffitt  <nick@zork.net>
LICENSE  =  LGPL2_1

DESCRIPTION  =  GNU  C  Library
LICENSE  =  LGPL2_1

DESCRIPTION  =  GNU  C  Library
Line 13Line 13
    programs  on  the  system.
endef

    programs  on  the  system.
endef

CFLAGS  +=  -mcpu=i386  -O3
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile
#  glibc  will  actually  use  the  PARALLELMFLAGS  var  itself
BUILD_ARGS  =  -j1 
#WORKSRC  =  $(WORKDIR)/$(GARNAME)-$(GARVERSION)
WORKBUILD  =  $(WORKDIR)/$(GARHOST)

DEPENDS  =  kernel/linux-headers

#  A  lot  of  packages  are  still  depending  on  glibc  directly  via  a  LIBDEPS.    That
#  is  now  deprecated  in  favor  of  including  "c"  in  SOURCE_LANGUAGES.    To  ease
#  transition,  this  test  relies  on  one  of  the  side-effects  of  the  dependency
#  chain  that  builds  the  toolchain,  which  is  that  TARGETIMG  is  set.
ifdef  TARGETIMG
#  TARGETIMG  is  set.  This  means:
#  1)  glibc  is  being  depped  by  devel/gcc  as  part  of  a  toolchain
#  2)  the  toolchain  is  for  cross-compiling
#  So  BUILDDEP  on  the  bootstrap  compiler
BUILDDEPS  =  devel/gcc-inhibited
else
#  TARGETIMG  is  not  set.    This  means  some  package  has  a  direct  dependency  on
#  glibc.    Which  means  we  still  need  C  support.
SOURCE_LANGUAGES  =  c
endif

CONFIGURE_SCRIPTS  =  custom  #$(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKBUILD)/Makefile
INSTALL_SCRIPTS  =  $(WORKBUILD)/Makefile

CONFIGURE_ENV  =  BUILD_CC="$(build_CC)"  BUILD_CFLAGS="$(build_CFLAGS)"
CONFIGURE_ARGS  =  $(DIRPATHS)  --build=$(GARBUILD)  --host=$(GARHOST)  --disable-static  --disable-profile  --disable-omitfp  --disable-bounded  --enable-shared  --with-elf  --without-cvs  --with-headers=$(KERNEL_INCLUDEDIR)  --without-gd  --enable-add-ons=linuxthreads
#  setting  this  just  makes  sure  that  glibc  doesn't  think  you  have
#  "."  in  the  LD_LIBRARY_PATH,  due  to  the  way  that  gar.conf.mk
#  setting  this  just  makes  sure  that  glibc  doesn't  think  you  have
#  "."  in  the  LD_LIBRARY_PATH,  due  to  the  way  that  gar.conf.mk
Line 26Line 47
#  hasn't  been  set  before,  and  doesn't  bother  exporting  it  because
#  gar.conf.mk  will  end  up  doing  that  anyway.
LD_LIBRARY_PATH  ?=  $(DESTDIR)$(libdir)
#  hasn't  been  set  before,  and  doesn't  bother  exporting  it  because
#  gar.conf.mk  will  end  up  doing  that  anyway.
LD_LIBRARY_PATH  ?=  $(DESTDIR)$(libdir)
DEPENDS  =  kernel/linux-headers  devel/gcc-primitives 
CFLAGS  +=  -mcpu=$(ALTGARCH)  -O3
BUILD_ARGS  =  install_root=$(DESTDIR)  cross-compiling=$(CROSS_COMPILING)
CONFIGURE_ARGS  =  $(DIRPATHS)  $(GARHOST)  --with-elf  --disable-static  --enable-shared  --enable-add-ons=linuxthreads  --without-cvs  --build=$(GARBUILD)  --host=$(GARHOST)  --without-gd  --with-headers=$(DESTDIR)$(sourcedir)/linux/include  --enable-kernel=$(KERNEL_VERSION)  --disable-profile  --enable-omitfp
INSTALL_ARGS  =  install_root=$(DESTDIR)  cross-compiling=$(CROSS_COMPILING)
#  BUILD_ARGS  +=  --dynamic-linker=/lib/ld-linux.so.2
GAR_EXTRA_CONF  +=  devel/glibc/package-api.mk  kernel/linux/package-api.mk
include  ../../gar.mk
INSTALL_ARGS  =  install_root=$(DESTDIR)
CROSS_COMPILING  =  $(if  $(filter-out  $(GARBUILD),$(GARHOST)),yes,no)
GAR_EXTRA_CONF  +=  kernel/linux/package-api.mk
include  ../../gar.mk
extract-$(GARNAME)-linuxthreads-$(GARVERSION).tar.bz2:
        @echo  "  ==>  Extracting  $(DOWNLOADDIR)/$(GARNAME)-linuxthreads-$(GARVERSION).tar.bz2"
        @tar  xjf  $(DOWNLOADDIR)/$(GARNAME)-linuxthreads-$(GARVERSION).tar.bz2  -C  $(EXTRACTDIR)/$(GARNAME)-$(GARVERSION)/
        @$(MAKECOOKIE)

pre-configure:
        @mkdir  -p  $(WORKBUILD)
        @$(MAKECOOKIE)

configure-custom:
        @echo  "  ==>  Running  configure  in  $(WORKBUILD)"
        @cd  $(WORKBUILD)  &&  $(CONFIGURE_ENV)  ./$(call  DIRSTODOTS,$(WORKBUILD))/$(WORKSRC)/configure  $(CONFIGURE_ARGS)
        @$(MAKECOOKIE)
#  low-down  dirty-as-sin  hack-with-a-dull-blade.    I  hate  this
#  thing.    glibc  just  fails  when  parallel  sometimes.    It  sucks
#  like  a  nuclear-powered  hoover.    When  revving  up  the  version,
#  check  to  see  if  cygnus  fixed  this.
post-configure:
#  low-down  dirty-as-sin  hack-with-a-dull-blade.    I  hate  this
#  thing.    glibc  just  fails  when  parallel  sometimes.    It  sucks
#  like  a  nuclear-powered  hoover.    When  revving  up  the  version,
#  check  to  see  if  cygnus  fixed  this.
post-configure:
        echo  '.NOTPARALLEL:'  >>  $(WORKSRC)/elf/Makefile
        $(MAKECOOKIE)
        @echo  '.NOTPARALLEL:'  >>  $(WORKSRC)/elf/Makefile
        @$(MAKECOOKIE)
extract-$(GARNAME)-linuxthreads-$(GARVERSION).tar.gz:
        tar  xzf  $(DOWNLOADDIR)/$(GARNAME)-linuxthreads-$(GARVERSION).tar.gz  -C  $(EXTRACTDIR)/$(GARNAME)-$(GARVERSION)/
        $(MAKECOOKIE)
post-build:
        @echo  "h8  u,  $(GARNAME)  :<"
        find  $(WORKBUILD)/  |  xargs  touch  -r  $(WORKBUILD)
        @$(MAKECOOKIE)
post-install:
post-install:
        cp  -R  /usr/include/linux  /usr/include/asm  $(DESTDIR)$(includedir)
        echo  'GROUP  (  $(DESTDIR)$(libdir)/libc.so.6  $(DESTDIR)$(libdir)/libc_nonshared.a  /lib/libc.so.6  libc_nonshared.a  )'  >  $(DESTDIR)$(libdir)/libc.so
        mkdir  -p  $(DESTDIR)$(includedir)/linux  $(DESTDIR)$(includedir)/asm  $(DESTDIR)$(includedir)/asm-generic
        rsync  -pav  $(KERNEL_INCLUDEDIR)/linux/  $(DESTDIR)$(includedir)/linux/
        rsync  -pav  $(KERNEL_INCLUDEDIR)/asm/  $(DESTDIR)$(includedir)/asm/
        rsync  -pav  $(KERNEL_INCLUDEDIR)/asm-generic/  $(DESTDIR)$(includedir)/asm-generic/
        echo  'GROUP  (  $(DESTDIR)$(libdir)/libc.so.6  $(DESTDIR)$(libdir)/libc_nonshared.a  )'  >  $(DESTDIR)$(libdir)/libc.so
        echo  'GROUP  (  $(DESTDIR)$(libdir)/libpthread.so.0  $(DESTDIR)$(libdir)/libpthread_nonshared.a  )'  >  $(DESTDIR)$(libdir)/libpthread.so
        $(MAKECOOKIE)
        $(MAKECOOKIE)
File: devel/glibc/checksums
base-0 patch-1
Line 1Line 1
e4c3eb8343b5df346ceaaec23459f1dc    download/glibc-2.2.5.tar.gz
c766a79a51668d7fa33f175a249655b4    download/glibc-linuxthreads-2.2.5.tar.gz
3b9ba238eaa92a61e91c234cd28ed5bb    download/gar-base.diff
ede969aad568f48083e413384f20753c    download/glibc-2.3.2.tar.bz2
894b8969cfbdf787c73e139782167607    download/glibc-linuxthreads-2.3.2.tar.bz2
8e9a1b0812174fbd10b999237df26da7    download/gar-base.diff
File: devel/glibc/files/gar-base.diff
base-0 patch-1
Line 1Line 1
diff  -Nru  tmp/glibc-2.2.5/sysdeps/unix/sysv/linux/bits/in.h  work/glibc-2.2.5/sysdeps/unix/sysv/linux/bits/in.h
---  tmp/glibc-2.2.5/sysdeps/unix/sysv/linux/bits/in.h        Thu  Jul    5  21:56:14  2001
+++  work/glibc-2.2.5/sysdeps/unix/sysv/linux/bits/in.h        Thu  Jul    4  23:59:43  2002
@@  -63,11  +63,36  @@
  /*  Structure  used  to  describe  IP  options  for  IP_OPTIONS.  The  `ip_dst'
        field  is  used  for  the  first-hop  gateway  when  using  a  source  route
        (this  gets  put  into  the  header  proper).    */
-struct  ip_opts
-    {
-        struct  in_addr  ip_dst;        /*  First  hop;  zero  without  source  route.    */
-        char  ip_opts[40];                /*  Actually  variable  in  size.    */
-    };
+/*  struct  ip_opts
+        {
+            struct  in_addr  ip_dst;
+            char  ip_opts[40];
+        };  */
diff  --speed-large-files  --minimal  -Nru  tmp/glibc-2.3.2/Makerules  work/main.d/glibc-2.3.2/Makerules
---  tmp/glibc-2.3.2/Makerules        Sat  Feb  22  15:23:31  2003
+++  work/main.d/glibc-2.3.2/Makerules        Tue  Aug  12  00:45:55  2003
@@  -605,8  +605,11  @@
  LDLIBS-c.so  +=  $(gnulib)
  #  Give  libc.so  an  entry  point  and  make  it  directly  runnable  itself.
  LDFLAGS-c.so  +=  -e  __libc_main
-#  Force  the  backward  compatibility  EH  functions  to  be  linked.
-LDFLAGS-c.so  +=  -u  __register_frame
+
+
+/*  In  ANSI  C++,  a  struct  may  not  have  a  member  with  the  same  name  as  the
+  *  struct.    This  rule  is  ignored  by  g++  in  header  files  included  from
+  *  standard  system  include  paths,  but  not  files  included  via  -I.    The  result
+  *  is  that  a  C++  program  which  includes  <netinet/in.h>  and  gets  the  present
+  *  file  in  a  -I  specified  include  directory  will  fail  to  compile.    (lftp  is
+  *  one  example  of  such  a  program.)
+  *
+  *  One  solution  provided  by
+  *
+  *  http://www.monkey.org/openbsd/archive/bugs/9812/msg00097.html
+  *
+  *  is  used  below.    If  you  want  the  original  definition,  it's  commented  out
+  *  immediately  above.  */
+
+struct  ip_opts  {
+                struct    in_addr  ip_dst;                  /*  first  hop,  0  w/o  src  rt  */
+#if  defined(__cplusplus)
+#warning  ip_opts  structure  for  C++  MODIFIED  by  LNX-BBC;  see  <bits/in.h>!
+                char        Ip_opts[40];                        /*  cannot  have  same  name  as  class  */
+#else
+                char        ip_opts[40];                        /*  actually  variable  in  size  */
+#endif
+};
+#  Force  the  backward  compatibility  EH  functions  to  be  linked.  -Zack  Weinberg
+#  Take  it  out  because  it  fills  up  libc.so.lds  with  linker  errors.  -Nate  Riffe
+#LDFLAGS-c.so  +=  -u  __register_frame
+
+

  #  Pre-link  the  objects  of  libc_pic.a  so  that  we  can  locally  resolve
  #  COMMON  symbols  before  we  link  against  ld.so.    This  is  because  ld.so
  #  contains  some  of  libc_pic.a  already,  which  will  prevent  the  COMMONs
diff  --speed-large-files  --minimal  -Nru  scratch/glibc-2.3.2/configure  work/main.d/glibc-2.3.2/configure
---  scratch/glibc-2.3.2/configure        2003-02-26  03:20:48.000000000  -0600
+++  work/main.d/glibc-2.3.2/configure        2003-08-06  17:33:50.000000000  -0500
@@  -2271,10  +2271,7  @@
  echo  $ECHO_N  "checking  version  of  $CC...  $ECHO_C"  >&6
      ac_prog_version=`$CC  -v  2>&1  |  sed  -n  's/^.*version  \([egcygnustpi-]*[0-9.]*\).*$/\1/p'`
      case  $ac_prog_version  in
-        '')  ac_prog_version="v.  ?.??,  bad";  ac_verc_fail=yes;;
-        3.[2-9]*)
-              ac_prog_version="$ac_prog_version,  ok";  ac_verc_fail=no;;
-        *)  ac_prog_version="$ac_prog_version,  bad";  ac_verc_fail=yes;;
+        *)  ac_prog_version="$ac_prog_version,  fine";  ac_verc_fail=no;;
 
 
  /*  Structure  used  for  IP_ADD_MEMBERSHIP  and  IP_DROP_MEMBERSHIP.  */
  struct  ip_mreq
      esac
      echo  "$as_me:$LINENO:  result:  $ac_prog_version"  >&5
File: devel/imake/Makefile
base-0 patch-1
Line 1Line 1
GARNAME  =  imake
GARVERSION  =  4.2.1
CATEGORIES  =  devel
GARNAME  =  imake
GARVERSION  =  4.2.1
CATEGORIES  =  devel
MASTER_SITES  =  ftp://ftp.xfree86.org/pub/XFree86/4.2.0/source/ 
MASTER_SITES  +=  ftp://ftp.xfree86.org/pub/XFree86/$(GARVERSION)/patches/
MASTER_SITES  +=  ftp://ftp.tux.org/pub/distributions/tinylinux/tinyX/
MAINTAINER  =  Nate  Riffe  <inkblot@movealong.org>
SOURCEPKG  =  X11/XFree86
SOURCEPKG  =  X11/XFree86
DISTFILES  =  Makefile  license
MAINTAINER  =  Heather  Stern  <star@starshine.org>
WORKSRC  =  $(WORKDIR)/xc/config/$(GARNAME)
BUILDDEPS  = 
DISTFILES  =  license
LICENSE  =  redistrib_modify_indemnify
LICENSE  =  redistrib_modify_indemnify

LICENSE  =  MIT
redistrib_modify_indemnify_LICENSE_TEXT  =  $(WORKDIR)/license

redistrib_modify_indemnify_LICENSE_TEXT  =  $(WORKDIR)/license

DESCRIPTION  =  imake  is  a  cc  preprocessor  for  make.
define  BLURB
    This  is  a  C  and  C++  preprocessor  for  make.    Control  files  closely
DESCRIPTION  =  imake  is  a  cc  preprocessor  for  make.
define  BLURB
    This  is  a  C  and  C++  preprocessor  for  make.    Control  files  closely
Line 22Line 17
    This  was  copied  whole,  with  the  exception  of  renaming  Makefile.ini
    to  Makefile,  from  the  XFree86  4.2.1  distribution.
endef
    This  was  copied  whole,  with  the  exception  of  renaming  Makefile.ini
    to  Makefile,  from  the  XFree86  4.2.1  distribution.
endef
LICENSE  =  MIT

PATCHDIRLEVEL  =  0

LIBDEPS  =  devel/glibc
WORKSRC  =  $(WORKDIR)/xc/config/$(GARNAME)
CONFIGURE_SCRIPTS  = 

BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_OVERRIDE_DIRS  =  DESTDIR  bindir
BUILD_ARGS  =  -f  Makefile.ini  CC="$(CC)"

INSTALL_SCRIPTS  =  custom
include  ../../gar.mk

include  ../../gar.mk

extract-Makefile:
        cp  $(DOWNLOADDIR)/Makefile  $(WORKSRC)/Makefile
install-custom:
        install  -D  -m  755  $(WORKSRC)/imake  $(DESTDIR)$(bindir)/imake
        $(MAKECOOKIE)
        $(MAKECOOKIE)
File: devel/imake/checksums
base-0 patch-1
Line 1Line 1
cbf7c1d65f5b932a36e6961206276e1b    download/Makefile

b25ce298045e9443429f6e1cfc55a00d    download/license
b25ce298045e9443429f6e1cfc55a00d    download/license
File: devel/imake/files/Makefile
base-0 patch-1
Line 1Line 0
#  $Xorg:  Makefile.ini,v  1.3  2000/08/17  19:41:50  cpqbld  Exp  $
#
#      WARNING        WARNING        WARNING        WARNING        WARNING        WARNING        WARNING
#
#  This  is  NOT  an  automatically  generated  Makefile!    It  is  hand-crafted  as  a 
#  bootstrap,  may  need  editing  for  your  system.    The  BOOTSTRAPCFLAGS  variable
#  may  be  given  at  the  top  of  the  build  tree  for  systems  that  do  not  define
#  any  machine-specific  preprocessor  symbols.
#
#  $XFree86:  xc/config/imake/Makefile.ini,v  3.10  2001/01/17  16:38:55  dawes  Exp  $

BOOTSTRAPCFLAGS  = 
CC  =  cc
CDEBUGFLAGS  =  -O
INCLUDES  =  -I../../include  -I../../imports/x11/include/X11
CFLAGS  =  $(BOOTSTRAPCFLAGS)  $(CDEBUGFLAGS)  $(INCLUDES)
SHELL  =  /bin/sh
RM  =  rm  -f
MV  =  mv
MAKE  =  make
RM_CMD  =  $(RM)  *.CKP  *.ln  *.BAK  *.bak  *.o  core  errs  ,*  *~  *.a  \
          tags  TAGS  make.log
NPROC  =  1

imake::
        @echo  "making  imake  with  BOOTSTRAPCFLAGS=$(BOOTSTRAPCFLAGS)  in  config/imake"

imake::  imake.o
        $(CC)  -o  imake  $(CFLAGS)  imake.o

imake.o:  ccimake  imake.c
        $(CC)  -c  $(CFLAGS)  `./ccimake`  imake.c

ccimake:  ccimake.c
        $(CC)  -o  ccimake  $(CFLAGS)  ccimake.c

#  a  derived  object  erroneously  would  get  shared  across  platforms  by  clearmake
.NO_CONFIG_REC:  ccimake

bootstrap:
        -@if  [  -d  bootstrap  ];  then  exit  0;  else  set  -x;  mkdir  bootstrap;  fi
        $(MV)  *.o  bootstrap
        @if  [  -f  imake.exe  ];  then  set  -x;  $(MV)  imake.exe  bootstrap;  \
          elif  [  -f  imake  ];  then  set  -x;  $(MV)  imake  bootstrap;  else  exit  0;  fi

relink:
        $(RM)  imake
        $(MAKE)  $(MFLAGS)  imake

clean:
        $(RM)  ccimake  imake.o  imake
        $(RM_CMD)  \#*
        $(RM)  -r  Makefile.proto  Makefile  Makefile.dep  bootstrap

depend:

imake.exe::
        @echo  making  imake  with  BOOTSTRAPCFLAGS=-DWIN32

imake.exe::  imake.obj
        cl  -nologo  imake.obj  libc.lib  kernel32.lib

imake.obj:  imake.c
        cl  -nologo  -W2  -D__STDC__  -c  -DWIN32  $(CFLAGS)  imake.c

clean.Win32:
        if  exist  imake.exe  del  imake.exe
        if  exist  imake.obj  del  imake.obj

clean.os2:
        imakesvc  4  imake  imake.exe  imake.o  /imake.exe

imake.os2:  imake.c
        $(CC)  -DBSD43  $(CFLAGS)  -o  imake.exe  imake.c
        copy  imake.exe  \\ 

install:
        cp  imake  $(DESTDIR)$(bindir)
        cp  ccimake  $(DESTDIR)$(bindir)


File: devel/libtool/Makefile
base-0 patch-1
Line 10Line 10
define  BLURB
endef

define  BLURB
endef


SOURCE_LANGUAGES  =  #bash    There  is  no  lang/bash  package  :<

CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile
File: devel/make/Makefile
base-0 patch-1
Line 1Line 1
GARNAME  =  make
GARNAME  =  make
GARVERSION  =  3.79.1
GARVERSION  =  3.80
CATEGORIES  =  devel
MASTER_SITES  =  ftp://ftp.gnu.org/pub/gnu/make/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz
CATEGORIES  =  devel
MASTER_SITES  =  ftp://ftp.gnu.org/pub/gnu/make/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz
Line 11Line 11
  it,  all  the  better  to  compile  your  software  with!
endef

  it,  all  the  better  to  compile  your  software  with!
endef

LIBDEPS  =  devel/glibc


CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile
File: devel/make/checksums
base-0 patch-1
Line Line 1
22ea95c125c7b80e04354d4ee4ae960d    download/make-3.79.1.tar.gz
c68540da9302a48068d5cce1f0099477    download/make-3.80.tar.gz
File: devel/nasm/Makefile
base-0 patch-1
Line 1Line 1
GARNAME  =  nasm
GARNAME  =  nasm
GARVERSION  =  0.98.31
GARVERSION  =  0.98.38
CATEGORIES  =  devel
MASTER_SITES  =  http://telia.dl.sourceforge.net/nasm/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz
CATEGORIES  =  devel
MASTER_SITES  =  http://telia.dl.sourceforge.net/nasm/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz
Line 12Line 12
  You  can  use  multiple  lines  if  you  want.
endef

  You  can  use  multiple  lines  if  you  want.
endef

LIBDEPS  =  devel/glibc
SOURCE_LANGUAGES  =  c
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
File: devel/nasm/checksums
base-0 patch-1
Line Line 1
a59ea025de1f2f608405e2da8fb87f44    download/nasm-0.98.31.tar.gz
9c1df91560651cbfaa73595fe6babb85    download/nasm-0.98.38.tar.gz
File: devel/pkg-config/Makefile
base-0 patch-1
Line 11Line 11
  pkgconfig  package  blurb  goes  here.
endef

  pkgconfig  package  blurb  goes  here.
endef

LIBDEPS  =  devel/glibc  devel/glib
LIBDEPS  =  devel/glib
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
#  don't  comment  this  out!    It  puts  things  in  the  right  dirs!
CONFIGURE_ARGS  =  $(DIRPATHS)
CONFIGURE_ARGS  =  $(DIRPATHS)  --build=$(GARBUILD)  --host=$(GARHOST)  --x-includes=$(DESTDIR)$(includedir)  --x-libraries=$(DESTDIR)$(libdir)  --enable-shared  --disable-static
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile

BUILD_SCRIPTS  =  $(WORKSRC)/Makefile

File: disk/cdrtools/Makefile
base-0 patch-1
Line 22Line 22
    target  to  $(prefix).
endef

    target  to  $(prefix).
endef

LIBDEPS  =  devel/glibc
SOURCE_LANGUAGES  =  c
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile

BUILD_SCRIPTS  =  $(WORKSRC)/Makefile

File: disk/dumprestore/Makefile
base-0 patch-1
Line 11Line 11
define  BLURB
endef

define  BLURB
endef

LIBDEPS  =  devel/glibc  fs/e2fsprogs  lib/zlib
LIBDEPS  =  fs/e2fsprogs  lib/zlib
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
File: disk/fixdisktable/Makefile
base-0 patch-1
Line 12Line 12
  #XXX:  package  blurb  goes  here.
endef

  #XXX:  package  blurb  goes  here.
endef

LIBDEPS  =  devel/glibc


CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  custom
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  custom
File: disk/gpart/Makefile
base-0 patch-1
Line 3Line 3
CATEGORIES  =  disk
MASTER_SITES  =  http://www.stud.uni-hannover.de/user/76201/gpart/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz 
CATEGORIES  =  disk
MASTER_SITES  =  http://www.stud.uni-hannover.de/user/76201/gpart/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz 

PATCHFILES  =  gar-base.diff
LICENSE  =  GPL2

DESCRIPTION  =  gpart
LICENSE  =  GPL2

DESCRIPTION  =  gpart
Line 10Line 11
  #XXX:  gpart  package  blurb  goes  here.
endef

  #XXX:  gpart  package  blurb  goes  here.
endef

LIBDEPS  =  devel/glibc


BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  custom

BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  custom

File: disk/gpart/checksums
base-0 patch-1
Line Line 1
ee3a2d2dde70bcf404eb354b3d1ee6d4    download/gpart-0.1h.tar.gz
ee3a2d2dde70bcf404eb354b3d1ee6d4    download/gpart-0.1h.tar.gz

96dc75e5b0e7c992b89ee64d23812c54    download/gar-base.diff
File: disk/hdparm/Makefile
base-0 patch-1
Line 1Line 1
GARNAME  =  hdparm
GARNAME  =  hdparm
GARVERSION  =  4.6
GARVERSION  =  5.5
CATEGORIES  =  disk
MASTER_SITES  =  http://www.ibiblio.org/pub/Linux/system/hardware/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz  license
CATEGORIES  =  disk
MASTER_SITES  =  http://www.ibiblio.org/pub/Linux/system/hardware/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz  license
Line 11Line 11
  #XXX:  nwall  package  blurb  goes  here.
endef

  #XXX:  nwall  package  blurb  goes  here.
endef

LIBDEPS  =  devel/glibc


#  CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  custom
#  CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  custom
File: disk/hdparm/checksums
base-0 patch-1
Line 1Line 1
39347a2906b163d12ebf5cb33a8f356a    download/hdparm-4.6.tar.gz
b3d65aa96d93fc08bc807fd1d9497c21    download/hdparm-5.5.tar.gz
8d6a5fc3a9726b5b06e2d36ca75d7cec    download/license
8d6a5fc3a9726b5b06e2d36ca75d7cec    download/license
File: disk/lilo/Makefile
base-0 patch-1
Line 14Line 14
  You  can  use  multiple  lines  if  you  want.
endef

  You  can  use  multiple  lines  if  you  want.
endef

LIBDEPS  =  devel/glibc

BUILDDEPS  =  devel/nasm

SBIN_DIR=$(sbindir)
BUILDDEPS  =  devel/nasm

SBIN_DIR=$(sbindir)
Line 24Line 23
MAN_DIR=$(mandir)

BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
MAN_DIR=$(mandir)

BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile

#  If  some  dirs  are  trying  to  install  into  /,  list  their  names
#  here,  such  as:  prefix  bindir  mandir
BUILD_ARGS  =  CC="$(CC)"
BUILD_OVERRIDE_DIRS  =  SBIN_DIR  CFG_DIR  BOOT_DIR  USRSBIN_DIR  MAN_DIR
BUILD_OVERRIDE_DIRS  =  SBIN_DIR  CFG_DIR  BOOT_DIR  USRSBIN_DIR  MAN_DIR
INSTALL_OVERRIDE_DIRS  =  $(BUILD_OVERRIDE_DIRS)

#INSTALL_ARGS  =  ROOT=$(DESTDIR)
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_OVERRIDE_DIRS  =  $(BUILD_OVERRIDE_DIRS)
#  This  should  go  before  any  hand-made  rules.

include  ../../gar.mk
include  ../../gar.mk
File: disk/lvm/Makefile
base-0 patch-1
Line 1Line 1
GARNAME  =  lvm
GARNAME  =  lvm
GARVERSION  =  1.0.6
GARVERSION  =  1.0.8
CATEGORIES  =  utils
MASTER_SITES  =  ftp://ftp.sistina.com/pub/LVM/1.0/
DISTFILES  =  $(GARNAME)_$(GARVERSION).tar.gz  lvm.init
CATEGORIES  =  utils
MASTER_SITES  =  ftp://ftp.sistina.com/pub/LVM/1.0/
DISTFILES  =  $(GARNAME)_$(GARVERSION).tar.gz  lvm.init
Line 10Line 10
MAINTAINER  =  Sean  Neakums  <sneakums@zork.net>

MAINTAINER  =  Sean  Neakums  <sneakums@zork.net>

LIBDEPS  =  devel/glibc

DEPENDS  =  boot/minit  kernel/linux-headers

DESCRIPTION  =  lvm
DEPENDS  =  boot/minit  kernel/linux-headers

DESCRIPTION  =  lvm
File: disk/lvm/checksums
base-0 patch-1
Line 1Line 1
88f8c5c839708c0bc627d0e1238dc061    download/lvm_1.0.6.tar.gz
f8520b9e100970ff13328fd08eb64dcd    download/lvm_1.0.8.tar.gz
c851317a9a1728dbe5d1c40f4789da81    download/lvm.init
bb0df5f61555384f7eb7aecba8f2956d    download/gar-base.diff
c851317a9a1728dbe5d1c40f4789da81    download/lvm.init
bb0df5f61555384f7eb7aecba8f2956d    download/gar-base.diff
File: disk/nbd/Makefile
base-0 patch-1
Line 16Line 16
WORKSRC  =  $(WORKDIR)/$(GARNAME)

WORKSRC  =  $(WORKDIR)/$(GARNAME)

#  Dependencies  are  of  the  form  categorydir/packagedir
#  LIBDEPS  are  for  libraries,  and  DEPENDS  are  for  everything  else
LIBDEPS  =  devel/glibc
DEPENDS  =
#  Builddeps  are  installed  in  $(BUILD_PREFIX)  in  their  entirety
BUILDDEPS  =



CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile
File: disk/parted/Makefile
base-0 patch-1
Line 10Line 10
  #XXX:  package  blurb  goes  here.
endef

  #XXX:  package  blurb  goes  here.
endef

LIBDEPS  =  devel/glibc  fs/e2fsprogs  lib/ncurses  utils/readline
LIBDEPS  =  fs/e2fsprogs  lib/ncurses  utils/readline
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
CONFIGURE_ARGS  =  $(DIRPATHS)  --disable-nls
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
CONFIGURE_ARGS  =  $(DIRPATHS)  --disable-nls
File: disk/raidtools/Makefile
base-0 patch-1
Line 14Line 14
WORKSRC  =  $(WORKDIR)/$(GARNAME)-$(GARVERSION)

WORKSRC  =  $(WORKDIR)/$(GARNAME)-$(GARVERSION)

LIBDEPS  =  devel/glibc  lib/popt
LIBDEPS  =  lib/popt
BUILDDEPS  =  utils/gettext

CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILDDEPS  =  utils/gettext

CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
File: editors/biew/Makefile
base-0 patch-1
Line 1Line 1
GARNAME  =  biew
GARNAME  =  biew
GARVERSION  =  532
GARVERSION  =  550
CATEGORIES  =  editors
MASTER_SITES  =  http://telia.dl.sourceforge.net/sourceforge/biew/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.bz2
CATEGORIES  =  editors
MASTER_SITES  =  http://telia.dl.sourceforge.net/sourceforge/biew/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.bz2
Line 14Line 14
  You  can  use  multiple  lines  if  you  want.
endef

  You  can  use  multiple  lines  if  you  want.
endef

#  Dependencies  are  of  the  form  categorydir/packagedir
#  LIBDEPS  are  for  libraries,  and  DEPENDS  are  for  everything  else
LIBDEPS  =  devel/glibc  lib/ncurses
DEPENDS  =
#  Builddeps  are  installed  in  $(BUILD_PREFIX)  in  their  entirety
BUILDDEPS  =

SOURCE_LANGUAGES  =  c
LIBDEPS  =  lib/ncurses
#  CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
#  CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
File: editors/biew/checksums
base-0 patch-1
Line 1Line 1
9619003b7da7306ed876624456a6cae1    download/biew-532.tar.bz2
8511c4ccc19ec61b52a2e9c7f80cd5f3    download/gar-base.diff
e24de24e56900b00420ee882305c9167    download/biew-550.tar.bz2
20f297ec351a1a5f6f9a2f3d9f4f6573    download/gar-base.diff
File: editors/biew/files/gar-base.diff
base-0 patch-1
Line 1Line 1
diff  --speed-large-files  --minimal  -Nru  tmp/biew-532/plugins/disasm.c  work/biew-532/plugins/disasm.c
---  tmp/biew-532/plugins/disasm.c        Thu  Jan  10  16:59:26  2002
+++  work/biew-532/plugins/disasm.c        Fri  Nov  29  01:43:09  2002
diff  --speed-large-files  --minimal  -Nru  tmp/biew-550/plugins/disasm.c  work/biew-550/plugins/disasm.c
---  tmp/biew-550/plugins/disasm.c        Thu  Jan  10  16:59:26  2002
+++  work/biew-550/plugins/disasm.c        Fri  Nov  29  01:43:09  2002
Line Line
  #include  "bconsole.h"
  #include  "editor.h"
  #include  "bconsole.h"
  #include  "editor.h"
Line 10Line 10
  #include  "tstrings.h"
  #include  "biewlib/file_ini.h"
  #include  "biewlib/biewlib.h"
  #include  "tstrings.h"
  #include  "biewlib/file_ini.h"
  #include  "biewlib/biewlib.h"
diff  --speed-large-files  --minimal  -Nru  tmp/biew-532/plugins/textmode.c  work/biew-532/plugins/textmode.c
---  tmp/biew-532/plugins/textmode.c        Sun  Dec  30  19:32:45  2001
+++  work/biew-532/plugins/textmode.c        Fri  Nov  29  01:42:41  2002
diff  --speed-large-files  --minimal  -Nru  tmp/biew-550/plugins/textmode.c  work/biew-550/plugins/textmode.c
---  tmp/biew-550/plugins/textmode.c        Sun  Dec  30  19:32:45  2001
+++  work/biew-550/plugins/textmode.c        Fri  Nov  29  01:42:41  2002
Line Line
  #include  "biewutil.h"
  #include  "biewhelp.h"
  #include  "biewutil.h"
  #include  "biewhelp.h"
File: editors/bvi/Makefile
base-0 patch-1
Line 11Line 11
  #XXX:  nwall  package  blurb  goes  here.
endef

  #XXX:  nwall  package  blurb  goes  here.
endef

LIBDEPS  =  devel/glibc  lib/ncurses
LIBDEPS  =  lib/ncurses
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
Line 19Line 19
CONFIGURE_ARGS  =  $(DIRPATHS)

CONFIGURE_ARGS  =  $(DIRPATHS)


INSTALL_OVERRIDE_DIRS  =  datadir  mandir  bindir

include  ../../gar.mk
include  ../../gar.mk
File: editors/ed/Makefile
base-0 patch-1
Line 10Line 10
  #XXX:  nwall  package  blurb  goes  here.
endef

  #XXX:  nwall  package  blurb  goes  here.
endef

LIBDEPS  =  devel/glibc


NODIRPATHS  ==  --bindir  --sbindir  --libexecdir  --datadir  --infodir  --sysconfdir  --sharedstatedir  --localstatedir  --libdir  --includedir  --mandir

CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
NODIRPATHS  ==  --bindir  --sbindir  --libexecdir  --datadir  --infodir  --sysconfdir  --sharedstatedir  --localstatedir  --libdir  --includedir  --mandir

CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
File: editors/fb/Makefile
base-0 patch-1
Line 12Line 12
  #XXX:  nwall  package  blurb  goes  here.
endef

  #XXX:  nwall  package  blurb  goes  here.
endef

LIBDEPS  =  devel/glibc


#  CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  custom
INSTALL_SCRIPTS  =  custom
#  CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  custom
INSTALL_SCRIPTS  =  custom
File: editors/hexcurse/Makefile
base-0 patch-1
Line 13Line 13
  You  can  use  multiple  lines  if  you  want.
endef

  You  can  use  multiple  lines  if  you  want.
endef

#  Dependencies  are  of  the  form  categorydir/packagedir
#  LIBDEPS  are  for  libraries,  and  DEPENDS  are  for  everything  else
LIBDEPS  =  devel/glibc  lib/ncurses
DEPENDS  =
#  Builddeps  are  installed  in  $(BUILD_PREFIX)  in  their  entirety
BUILDDEPS  =

LIBDEPS  =  lib/ncurses
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
File: editors/joe/Makefile
base-0 patch-1
Line 10Line 10
  #XXX:  nwall  package  blurb  goes  here.
endef

  #XXX:  nwall  package  blurb  goes  here.
endef

LIBDEPS  =  devel/glibc  lib/ncurses
LIBDEPS  =  lib/ncurses
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
File: editors/less/Makefile
base-0 patch-1
Line 1Line 1
GARNAME  =  less
GARNAME  =  less
GARVERSION  =  378
GARVERSION  =  381
CATEGORIES  =  editors
MASTER_SITES  =  ftp://ftp.gnu.org/pub/gnu/less/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz 
CATEGORIES  =  editors
MASTER_SITES  =  ftp://ftp.gnu.org/pub/gnu/less/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz 
Line 20Line 20
designed  to  work  on  simple  text-only  terminals.
endef

designed  to  work  on  simple  text-only  terminals.
endef

LIBDEPS  =  devel/glibc  lib/ncurses
LIBDEPS  =  lib/ncurses
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
File: editors/less/checksums
base-0 patch-1
Line Line 1
db73e39a2d1a68eafa949f80be5a28c8    download/less-378.tar.gz
40c2dd4ac137b61b6a55a6478817daf4    download/less-381.tar.gz
File: editors/nano/Makefile
base-0 patch-1
Line 5Line 5
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz 
LICENSE  =  GPL2

DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz 
LICENSE  =  GPL2

LIBDEPS  =  devel/glibc  lib/ncurses


DESCRIPTION  =  nano  (free  pico  clone)
define  BLURB
  #XXX:  Nano  package  blurb  goes  here.
endef

DESCRIPTION  =  nano  (free  pico  clone)
define  BLURB
  #XXX:  Nano  package  blurb  goes  here.
endef


LIBDEPS  =  lib/ncurses

CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile
File: editors/vim/Makefile
base-0 patch-1
Line 13Line 13
  #XXX:  nwall  package  blurb  goes  here.
endef

  #XXX:  nwall  package  blurb  goes  here.
endef

LIBDEPS  =  devel/glibc  lib/ncurses
LIBDEPS  =  lib/ncurses
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
File: fs/bmap/Makefile
base-0 patch-1
Line 16Line 16
detected  using  checksums  or  access  times.
endef

detected  using  checksums  or  access  times.
endef

LIBDEPS  =  devel/glibc


#  CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
BUILD_ARGS  =  binaries  -j1  CFLAGS="$(CFLAGS)"
INSTALL_SCRIPTS  =  custom

#  CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
BUILD_ARGS  =  binaries  -j1  CFLAGS="$(CFLAGS)"
INSTALL_SCRIPTS  =  custom


include  ../../gar.mk

install-custom:  $(COOKIEDIR)
        install  $(WORKSRC)/bmap  $(WORKSRC)/bclump  $(WORKSRC)/slacker  $(DESTDIR)$(bindir)
        $(MAKECOOKIE)
install-custom:  $(COOKIEDIR)
        install  $(WORKSRC)/bmap  $(WORKSRC)/bclump  $(WORKSRC)/slacker  $(DESTDIR)$(bindir)
        $(MAKECOOKIE)
include  ../../gar.mk

File: fs/devfsd/Makefile
base-0 patch-1
Line 1Line 1
GARNAME  =  devfsd
GARVERSION  =  v1.3.25
CATEGORIES  =  fs
GARNAME  =  devfsd
GARVERSION  =  v1.3.25
CATEGORIES  =  fs

MAINTAINER  =  Nate  Riffe  <inkblot@movealong.org>
MASTER_SITES  =  ftp://ftp.atnf.csiro.au/pub/people/rgooch/linux/daemons/devfsd/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz  devfsd.init
PATCHFILES  =  gar-base.diff
MASTER_SITES  =  ftp://ftp.atnf.csiro.au/pub/people/rgooch/linux/daemons/devfsd/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz  devfsd.init
PATCHFILES  =  gar-base.diff
MAINTAINER  =  Andrew  Scott  <ascott@tathata.org>
WORKSRC  =  $(WORKDIR)/$(GARNAME)

LICENSE  =  GPL2

DESCRIPTION  =  devfs  daemon
LICENSE  =  GPL2

DESCRIPTION  =  devfs  daemon
Line 15Line 14
  You  can  use  multiple  lines  if  you  want.
endef

  You  can  use  multiple  lines  if  you  want.
endef


WORKSRC  =  $(WORKDIR)/$(GARNAME)
CFLAGS  +=  -I$(KERNEL_INCLUDEDIR)

MANDIR=$(mandir)

#  I  think  we  need  current  Linux  kernel  headers  available  before  building  this
DEPENDS  =  kernel/linux-headers  boot/minit

#  I  think  we  need  current  Linux  kernel  headers  available  before  building  this
DEPENDS  =  kernel/linux-headers  boot/minit

CFLAGS  +=  -I$(KERNEL_INCLUDEDIR)


#  CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
#  CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/GNUmakefile
INSTALL_SCRIPTS  =  $(WORKSRC)/GNUmakefile  devfsd.init


BUILD_SCRIPTS  =  $(WORKSRC)/GNUmakefile
BUILD_ENV  =  KERNEL_DIR="$(KERNEL_SOURCEDIR)"

BUILD_ENV  =  KERNEL_DIR="$(KERNEL_SOURCEDIR)"

MANDIR=$(mandir)
INSTALL_SCRIPTS  =  $(WORKSRC)/GNUmakefile  devfsd.init
INSTALL_OVERRIDE_DIRS  =  MANDIR
INSTALL_ENV  =  KERNEL_DIR="$(KERNEL_SOURCEDIR)"
INSTALL_ARGS  =  PREFIX="$(DESTDIR)"

INSTALL_OVERRIDE_DIRS  =  MANDIR
INSTALL_ENV  =  KERNEL_DIR="$(KERNEL_SOURCEDIR)"
INSTALL_ARGS  =  PREFIX="$(DESTDIR)"

#  This  should  go  before  any  hand-made  rules.

GAR_EXTRA_CONF  +=  kernel/linux/package-api.mk
include  ../../gar.mk
GAR_EXTRA_CONF  +=  kernel/linux/package-api.mk
include  ../../gar.mk
File: fs/devfsd/checksums
base-0 patch-1
Line 1Line 1
44c6394b8e2e8feaf453aeddc8a3ee69    download/devfsd-v1.3.25.tar.gz
44c6394b8e2e8feaf453aeddc8a3ee69    download/devfsd-v1.3.25.tar.gz
1106d3968ee1fd59d36a2a7669aaf411    download/devfsd.init
ec427c5b9340917a201aee87ca766488    download/devfsd.init
3d2221e36b9f28b637678963f9d354ba    download/gar-base.diff
3d2221e36b9f28b637678963f9d354ba    download/gar-base.diff
File: fs/devfsd/files/devfsd.init
base-0 patch-1
Line 1Line 1
#!/bin/make  -sSf

INITNAME  =  devfsd
#!/bin/make  -sSf

INITNAME  =  devfsd
START_SCRIPTS  =  daemon
START_SCRIPTS  =  /dev/tty0
STOP_SCRIPTS  =  SIGTERM
RELOAD_SCRIPTS  =  restart
DAEMON  =  /sbin/devfsd
STOP_SCRIPTS  =  SIGTERM
RELOAD_SCRIPTS  =  restart
DAEMON  =  /sbin/devfsd
Line 9Line 9
DESCRIPTION  =  devfsd  service:  start  devfsd  to  provide  device  nodes  in  /dev  [important!]

include  /etc/init.d/init.mk
DESCRIPTION  =  devfsd  service:  start  devfsd  to  provide  device  nodes  in  /dev  [important!]

include  /etc/init.d/init.mk

/dev/tty0:
        @echo  -n  "$@  not  found  in  filesystem.    Starting  devfsd  to  create:  "
        @$(MAKE)  -sSf  /etc/init.d/devfsd  START_SCRIPTS=daemon  start

start-/dev/tty0:  /dev/tty0
File: fs/dosfstools/Makefile
base-0 patch-1
Line 1Line 1
GARNAME  =  dosfstools
GARNAME  =  dosfstools
GARVERSION  =  2.8
GARVERSION  =  2.10
CATEGORIES  =  fs
CATEGORIES  =  fs
MASTER_SITES  =  ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools/
MASTER_SITES  =  ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools/  http://www.linuxfromscratch.org/patches/downloads/dosfstools/
DISTFILES  =  $(GARNAME)-$(GARVERSION).src.tar.gz 
MAINTAINER  =  Seth  Schoen  <schoen@loyalty.org>
DISTFILES  =  $(GARNAME)-$(GARVERSION).src.tar.gz 
MAINTAINER  =  Seth  Schoen  <schoen@loyalty.org>
PATCHFILES  =  gar-base.diff
PATCHFILES  =  gar-base.diff  dosfstools-2.10-kernel-2.6-1.patch
LICENSE  =  GPL2

DESCRIPTION  =  DOS  FAT/VFAT  filesystem  utilities
LICENSE  =  GPL2

DESCRIPTION  =  DOS  FAT/VFAT  filesystem  utilities
Line 12Line 12
  #XXX:  nwall  package  blurb  goes  here.
endef

  #XXX:  nwall  package  blurb  goes  here.
endef

LIBDEPS  =  devel/glibc
PATCHDIRLEVEL  =  0

#  The  next  NUV  will  probably  compile  cleanly  in  the  presence  of  linux  2.6
#  headers.    Please  check.    Until  then,  CFLAGS  needs  *ours*  and  we  need  to  dep
#  the  kernel  headers.
CFLAGS  +=  -I$(DESTDIR)$(sourcedir)/linux/include
DEPENDS  =  kernel/linux-headers
#CONFIGURE_SCRIPTS  =  custom
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile

CONFIGURE_ARGS  =  $(DIRPATHS)
#CONFIGURE_SCRIPTS  =  custom
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile

CONFIGURE_ARGS  =  $(DIRPATHS)
BUILD_ARGS  =  DEBUGFLAGS="$(CFLAGS)"  CC="$(CC)"
BUILD_ARGS  =  DEBUGFLAGS="$(CFLAGS)"  CC="$(CC)"  LDFLAGS="$(LDFLAGS)"
PREFIX  =  $(prefix)
SBINDIR  =  $(sbindir)
PREFIX  =  $(prefix)
SBINDIR  =  $(sbindir)
Line 27Line 34
INSTALL_OVERRIDE_DIRS  =  SBINDIR  MANDIR  PREFIX

INSTALL_OVERRIDE_DIRS  =  SBINDIR  MANDIR  PREFIX

#configure-custom:  $(COOKIEDIR)
#        echo  "PREFIX  =  $(prefix)"  >  $(WORKSRC)/Makefile.NEW
#        grep  -v  "^PREFIX  ="  $(WORKSRC)/Makefile  >>  $(WORKSRC)/Makefile.NEW
#        mv  $(WORKSRC)/Makefile.NEW  $(WORKSRC)/Makefile
#        $(MAKECOOKIE)


include  ../../gar.mk
include  ../../gar.mk
File: fs/dosfstools/checksums
base-0 patch-1
Line 1Line 1
b2df01c3c22090bee21ca5af6f56c298    download/dosfstools-2.8.src.tar.gz
aa01d54ad845d6a0a7a533e71f25c025    download/gar-base.diff
59a02f311a891af8787c4c9e28c6b89b    download/dosfstools-2.10.src.tar.gz
251902ba7d03cc3bd7020c2222a94308    download/gar-base.diff
167d69614c0de02a2f6614842371e7de    download/dosfstools-2.10-kernel-2.6-1.patch
File: fs/dosfstools/files/gar-base.diff
base-0 patch-1
Line 1Line 1
diff  -Nru  tmp/dosfstools-2.8/dosfsck/Makefile  work/dosfstools-2.8/dosfsck/Makefile
---  tmp/dosfstools-2.8/dosfsck/Makefile        Tue  Jul    6  07:22:43  1999
+++  work/dosfstools-2.8/dosfsck/Makefile        Mon  Jul    1  01:38:02  2002
diff  --speed-large-files  --minimal  -Nru  dosfstools-2.10/dosfsck/Makefile.orig  dosfstools-2.10/dosfsck/Makefile
---  dosfstools-2.10/dosfsck/Makefile.orig        1999-07-06  09:23:11.000000000  -0500
+++  dosfstools-2.10/dosfsck/Makefile        2003-11-06  13:31:51.000000000  -0600
Line Line
          install  -m  644  dosfsck.8  $(MANDIR)
          rm  -f  $(SBINDIR)/fsck.msdos
          install  -m  644  dosfsck.8  $(MANDIR)
          rm  -f  $(SBINDIR)/fsck.msdos
Line 17Line 17
 
  clean:
          rm  -f  *.o  *.s  *.i  *~  \#*#  tmp_make  .#*  .new*
 
  clean:
          rm  -f  *.o  *.s  *.i  *~  \#*#  tmp_make  .#*  .new*
diff  -Nru  tmp/dosfstools-2.8/mkdosfs/Makefile  work/dosfstools-2.8/mkdosfs/Makefile
---  tmp/dosfstools-2.8/mkdosfs/Makefile        Tue  Jul    6  07:23:23  1999
+++  work/dosfstools-2.8/mkdosfs/Makefile        Mon  Jul    1  01:38:16  2002
diff  --speed-large-files  --minimal  -Nru  dosfstools-2.10/mkdosfs/Makefile.orig  dosfstools-2.10/mkdosfs/Makefile
---  dosfstools-2.10/mkdosfs/Makefile.orig        1999-07-06  09:23:32.000000000  -0500
+++  dosfstools-2.10/mkdosfs/Makefile        2003-11-06  13:31:51.000000000  -0600
Line Line
          install  -m  644  mkdosfs.8  $(MANDIR)
          rm  -f  $(SBINDIR)/mkfs.msdos
          install  -m  644  mkdosfs.8  $(MANDIR)
          rm  -f  $(SBINDIR)/mkfs.msdos
File: fs/e2fsprogs/Makefile
base-0 patch-1
Line 5Line 5
MASTER_SITES  =  ftp://download.sf.net/pub/sourceforge/e2fsprogs/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz 
LICENSE  =  GPL2
MASTER_SITES  =  ftp://download.sf.net/pub/sourceforge/e2fsprogs/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz 
LICENSE  =  GPL2

PATCHFILES  =  gar-base.diff
DESCRIPTION  =  e2fs  filesystem  utilities

DESCRIPTION  =  e2fs  filesystem  utilities

Line 18Line 19
endef

endef

LIBDEPS  =  devel/glibc  utils/readline
SOURCE_LANGUAGES  =  c
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
File: fs/e2fsprogs/checksums
base-0 patch-1
Line Line 1
8d922086299ae9794b008256bde6188f    download/e2fsprogs-1.33.tar.gz
8d922086299ae9794b008256bde6188f    download/e2fsprogs-1.33.tar.gz

618b96adb589c73123ee31629b7f3be2    download/gar-base.diff
File: fs/e2salvage/Makefile
base-0 patch-1
Line 10Line 10
  #XXX:  nwall  package  blurb  goes  here.
endef

  #XXX:  nwall  package  blurb  goes  here.
endef

LIBDEPS  =  devel/glibc


CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile

CONFIGURE_ARGS  =  $(DIRPATHS)

CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile

CONFIGURE_ARGS  =  $(DIRPATHS)


include  ../../gar.mk

#  The  upstream  developer  attempts  to  force  us  to  read  the  config.h
#  file.
post-configure:
#  The  upstream  developer  attempts  to  force  us  to  read  the  config.h
#  file.
post-configure:
Line 25Line 25
        sed  's/\(CHECKED_CONFIG\)  0/\1  1/'  >  $(WORKSRC)/src/config.h.new
        mv  $(WORKSRC)/src/config.h.new  $(WORKSRC)/src/config.h
        $(MAKECOOKIE)
        sed  's/\(CHECKED_CONFIG\)  0/\1  1/'  >  $(WORKSRC)/src/config.h.new
        mv  $(WORKSRC)/src/config.h.new  $(WORKSRC)/src/config.h
        $(MAKECOOKIE)
include  ../../gar.mk

File: fs/ext2resize/Makefile
base-0 patch-1
Line 10Line 10
  #XXX:  nwall  package  blurb  goes  here.
endef

  #XXX:  nwall  package  blurb  goes  here.
endef

LIBDEPS  =  devel/glibc


CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile
File: fs/genromfs/Makefile
base-0 patch-1
Line 9Line 9
DESCRIPTION  =  romfs  is  a  space-efficient,  small,  read-only  filesystem  for  Linux.

DESCRIPTION  =  romfs  is  a  space-efficient,  small,  read-only  filesystem  for  Linux.

#  Dependencies  are  of  the  form  categorydir/packagedir
LIBDEPS  =  devel/glibc
DEPENDS  =
BUILDDEPS  =

SOURCE_LANGUAGES  =  c
#  CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
#  CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
File: fs/jfsutils/Makefile
base-0 patch-1
Line 1Line 1
GARNAME  =  jfsutils
GARNAME  =  jfsutils
GARVERSION  =  1.1.0
GARVERSION  =  1.1.2
CATEGORIES  =  utils
CATEGORIES  =  utils

MAINTAINER  =  Sean  Neakums  <sneakums@zork.net>
MASTER_SITES  =  http://www10.software.ibm.com/developer/opensource/jfs/project/pub/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz
MASTER_SITES  =  http://www10.software.ibm.com/developer/opensource/jfs/project/pub/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz
LICENSE  =  GPL2

LICENSE  =  GPL2

MAINTAINER  =  Sean  Neakums  <sneakums@zork.net>

LIBDEPS  =  devel/glibc  fs/e2fsprogs


DESCRIPTION  =  jfstools
define  BLURB
  Utilities  for  creating  and  managing  IBM  JFS  filesystems.
endef

DESCRIPTION  =  jfstools
define  BLURB
  Utilities  for  creating  and  managing  IBM  JFS  filesystems.
endef


LIBDEPS  =  fs/e2fsprogs

CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile
File: fs/jfsutils/checksums
base-0 patch-1
Line Line 1
22532ed5a4939666b49cb1cfb34b44e3    download/jfsutils-1.1.0.tar.gz
324b8b8f8c09817fb79dc093092998f2    download/jfsutils-1.1.2.tar.gz
File: fs/mtools/Makefile
base-0 patch-1
Line 1Line 1
GARNAME  =  mtools
GARNAME  =  mtools
GARVERSION  =  3.9.8
GARVERSION  =  3.9.9
CATEGORIES  =  fs
MASTER_SITES  =  http://mtools.linux.lu/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz 
CATEGORIES  =  fs
MASTER_SITES  =  http://mtools.linux.lu/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz 
Line 11Line 11
  #XXX:  nwall  package  blurb  goes  here.
endef

  #XXX:  nwall  package  blurb  goes  here.
endef

LIBDEPS  =  devel/glibc
SOURCE_LANGUAGES  =  c
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
File: fs/mtools/checksums
base-0 patch-1
Line 1Line 1
383538ac2df83871ce18628e132fcb10    download/mtools-3.9.8.tar.gz
94fceb0bf50b6f52aa847863179a7c7f    download/gar-base.diff
3e68b857b4e1f3a6521d1dfefbd30a36    download/mtools-3.9.9.tar.gz
4195b8aecc69024cee03dc5607633a01    download/gar-base.diff
File: fs/mtools/files/gar-base.diff
base-0 patch-1
Line 1Line 1
diff  -Nru  tmp/mtools-3.9.8/Makefile.in  work/mtools-3.9.8/Makefile.in
---  tmp/mtools-3.9.8/Makefile.in        2001-05-20  11:36:57.000000000  -0700
+++  work/mtools-3.9.8/Makefile.in        2002-08-27  16:16:51.000000000  -0700
@@  -51,7  +51,7  @@
diff  --speed-large-files  --minimal  -Nru  tmp/mtools-3.9.9/Makefile.in  work/main.d/mtools-3.9.9/Makefile.in
---  tmp/mtools-3.9.9/Makefile.in        Sun  Feb  16  13:55:16  2003
+++  work/main.d/mtools-3.9.9/Makefile.in        Mon  Aug    4  00:24:36  2003
@@  -50,7  +50,7  @@
  INSTALL                  =  @INSTALL@
  INSTALL_PROGRAM  =  @INSTALL_PROGRAM@
  INSTALL_DATA        =  @INSTALL_DATA@
  INSTALL                  =  @INSTALL@
  INSTALL_PROGRAM  =  @INSTALL_PROGRAM@
  INSTALL_DATA        =  @INSTALL_DATA@
Line 10Line 10
 
  .SUFFIXES:
  .SUFFIXES:  .o  .c
 
  .SUFFIXES:
  .SUFFIXES:  .o  .c
@@  -120,7  +120,7  @@
@@  -119,7  +119,7  @@
 
  LINKS=mattrib  mcat  mcd  mcopy  mdel  mdeltree  mdir  mdu  mformat  minfo  mlabel  \
 
  LINKS=mattrib  mcat  mcd  mcopy  mdel  mdeltree  mdir  mdu  mformat  minfo  mlabel  \
  mmd  mmount  mmove  mpartition  mrd  mread  mren  mtype  mtoolstest  mshowfat  \
-mmd  mmount  mmove  mpartition  mrd  mren  mtype  mtoolstest  mshowfat  \
-mbadblocks  mzip
-mbadblocks  mzip

+mmd  mmount  mmove  mpartition  mrd  mread  mren  mtype  mtoolstest  mshowfat  \
+mbadblocks  mzip  mdoctorfat  mwrite
 
  X_CFLAGS  =  @X_CFLAGS@
+mbadblocks  mzip  mdoctorfat  mwrite
 
  X_CFLAGS  =  @X_CFLAGS@
File: fs/reiserfsprogs/Makefile
base-0 patch-1
Line 13Line 13
  #XXX:  nwall  package  blurb  goes  here.
endef

  #XXX:  nwall  package  blurb  goes  here.
endef

LIBDEPS  =  devel/glibc


CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile  mkfs-symlink
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile  mkfs-symlink
File: fs/xfsprogs/Makefile
base-0 patch-1
Line 14Line 14
endef

BUILDDEPS  =  devel/libtool
endef

BUILDDEPS  =  devel/libtool
LIBDEPS  =  devel/glibc  fs/e2fsprogs
LIBDEPS  =  fs/e2fsprogs
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
File: games/boggle/Makefile
base-0 patch-1
Line 19Line 19
WORKSRC  =  $(WORKDIR)/bsd-games-2.13/boggle/boggle

WORKSRC  =  $(WORKDIR)/bsd-games-2.13/boggle/boggle

#  Dependencies  are  of  the  form  categorydir/packagedir
#  LIBDEPS  are  for  libraries,  and  DEPENDS  are  for  everything  else
LIBDEPS  =  devel/glibc  lib/ncurses
DEPENDS  =
#  Builddeps  are  installed  in  $(BUILD_PREFIX)  in  their  entirety
BUILDDEPS  =

LIBDEPS  =  lib/ncurses
#  CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
#  CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
File: games/cowsay/Makefile
base-0 patch-1
Line 23Line 23
                        ||          ||
endef

                        ||          ||
endef

DEPENDS  =  lang/perl
SOURCE_LANGUAGES  =  perl
CONFIGURE_SCRIPTS  =  custom
INSTALL_SCRIPTS  =  custom
CONFIGURE_SCRIPTS  =  custom
INSTALL_SCRIPTS  =  custom
File: games/emad/Makefile
base-0 patch-1
Line 18Line 18
  GET  HIM  OUT!
endef

  GET  HIM  OUT!
endef

DEPENDS  =  devel/glibc  lib/ncurses
DEPENDS  =  lib/ncurses
CONFIGURE_ARGS  =  $(DIRPATHS)

CONFIGURE_ARGS  =  $(DIRPATHS)

File: games/robotfindskitten/Makefile
base-0 patch-1
Line 11Line 11
  #XXX:  rfk  package  blurb  goes  here.
endef

  #XXX:  rfk  package  blurb  goes  here.
endef

LIBDEPS  =  devel/glibc  lib/ncurses
LIBDEPS  =  lib/ncurses
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
File: games/seatris/Makefile
base-0 patch-1
Line 10Line 10
    seatris  is  a  console-based  tetris  game  which  uses  ncurses.
endef

    seatris  is  a  console-based  tetris  game  which  uses  ncurses.
endef

LIBDEPS  =  devel/glibc  lib/ncurses
LIBDEPS  =  lib/ncurses
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
File: games/sl/Makefile
base-0 patch-1
Line 17Line 17
WORKSRC  =  $(WORKDIR)/$(GARNAME)

WORKSRC  =  $(WORKDIR)/$(GARNAME)

#  Dependencies  are  of  the  form  categorydir/packagedir
#  LIBDEPS  are  for  libraries,  and  DEPENDS  are  for  everything  else
LIBDEPS  =  devel/glibc  lib/ncurses
DEPENDS  =
#  Builddeps  are  installed  in  $(BUILD_PREFIX)  in  their  entirety
BUILDDEPS  =

LIBDEPS  =  lib/ncurses
#  CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
#  CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
File: games/sl/checksums
base-0 patch-1
Line 1Line 1
cc06b159f78f86bfd2d4e0e16330fbae    download/sl.tar
1bf5944970e168992b35def4b23d121c    download/license
cc06b159f78f86bfd2d4e0e16330fbae    download/sl.tar
1bf5944970e168992b35def4b23d121c    download/license
75150da171b66906c7d09ee317b306b3    download/gar-base.diff
edf5ef20dcb77d68345261463e2a78b5    download/gar-base.diff
File: games/sl/files/gar-base.diff
base-0 patch-1
Line 1Line 1
diff  -Nru  tmp/sl/Makefile  work/sl/Makefile
---  tmp/sl/Makefile        Wed  Jul  22  07:00:41  1998
+++  work/sl/Makefile        Fri  Jul  12  19:08:05  2002
@@  -6,7  +6,7  @@
diff  --speed-large-files  --minimal  -Nru  scratch/sl/Makefile  work/main.d/sl/Makefile
---  scratch/sl/Makefile        1998-07-22  09:00:41.000000000  -0500
+++  work/main.d/sl/Makefile        2003-08-21  12:56:15.000000000  -0500
@@  -5,10  +5,10  @@
  #        Last  Modified:  1998/  7/22
  #==========================================
 
  #==========================================
 
  CC=cc
-CC=cc
-CFLAGS=-O
-CFLAGS=-O
+CFLAGS+=-O
+CC  ?=  cc
+CFLAGS  +=  -O
 
  sl:  sl.c  sl.h
 
  sl:  sl.c  sl.h
          $(CC)  $(CFLAGS)  -o  sl  sl.c  -lcurses  -ltermcap
-        $(CC)  $(CFLAGS)  -o  sl  sl.c  -lcurses  -ltermcap
+        $(CC)  $(CFLAGS)  $(LDFLAGS)  -o  sl  sl.c  -lncurses  -ltermcap
  #        $(CC)  $(CFLAGS)  -o  sl  sl.c  -lcurses
 
File: games/xkobo/Makefile
base-0 patch-1
Line 19Line 19
  You  can  use  multiple  lines  if  you  want.
endef

  You  can  use  multiple  lines  if  you  want.
endef

LIBDEPS  =  devel/glibc  lib/libstdc++  X11/XFree86
SOURCE_LANGUAGES  =  c  c++
LIBDEPS  =  X11/XFree86
BUILDDEPS  =  devel/imake

CONFIGURE_SCRIPTS  =  $(WORKSRC)/Imakefile
BUILDDEPS  =  devel/imake

CONFIGURE_SCRIPTS  =  $(WORKSRC)/Imakefile

CONFIGURE_ARGS  =  $(DIRPATHS)  -DINCROOT="includedir"

BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  manifest
BUILD_ARGS  =  xkobo  NINJACC=$(CC)  NINJALD=$(LD)  NINJACFLAGS="$(CFLAGS)"  EXTRA_LDOPTIONS="$(LDFLAGS)"  includedir="$(DESTDIR)$(includedir)"
CONFIGURE_ARGS  =  $(DIRPATHS)  -DINCROOT="includedir"
BUILD_ARGS  =  xkobo  LDOPTIONS="$(LDFLAGS)"  includedir="$(DESTDIR)$(includedir)"
INSTALL_SCRIPTS  =  manifest
#  This  should  go  before  any  hand-made  rules.

include  ../../gar.mk
include  ../../gar.mk
File: gar.bugs.mk
base-0 patch-1
Line 107Line 107
        @echo  "<html><head>  <title>Dependency  tree  for  $(GARNAME)</title>"
        @echo  "<link  rel=\"stylesheet\"  type=\"text/css\"  href=\"bbc.css\">  </head><body>"
        @echo  "<h1>$(GARNAME)  Dependency  Tree</h1>"
        @echo  "<html><head>  <title>Dependency  tree  for  $(GARNAME)</title>"
        @echo  "<link  rel=\"stylesheet\"  type=\"text/css\"  href=\"bbc.css\">  </head><body>"
        @echo  "<h1>$(GARNAME)  Dependency  Tree</h1>"
        @echo  "<h2>Color  Legend:</h2><ol>"
        @echo  "<h2>Color  Legend:</h2><ul>"
        @echo  "<li  class=\"main\">main</li>"
        @echo  "<li  class=\"singularity\">singularity</li>"
        @echo  "<li  class=\"build\">build</li>"
        @echo  "<li  class=\"rootbin\">rootbin</li>"
        @echo  "<li  class=\"main\">main</li>"
        @echo  "<li  class=\"singularity\">singularity</li>"
        @echo  "<li  class=\"build\">build</li>"
        @echo  "<li  class=\"rootbin\">rootbin</li>"
        @echo  "<li  class=\"lnximg\">lnximg</li></ol>"
        @echo  "<h2>Dependency  Tree:</h2>  <ul>"
        @echo  "<li  class=\"lnximg\">lnximg</li></ul>"
        @echo  "<h2>Dependency  Tree:</h2>  <ol>"
        @$(MAKE)  -s  htmldep
        @$(MAKE)  -s  htmldep
        @echo  "</ul></body></html>"
        @echo  "</ol></body></html>"
htmldep:
        @$(foreach  IMG,$(IMGDEPS),for  dep  in  $(filter-out  $($(IMG)_NODEPEND),$($(IMG)_DEPENDS));  \
        do  echo  -e  "<li  class=\"$(IMG)\"><span  class=\"lynxonly\">$(IMG):  </span>$$dep</li>";  \
htmldep:
        @$(foreach  IMG,$(IMGDEPS),for  dep  in  $(filter-out  $($(IMG)_NODEPEND),$($(IMG)_DEPENDS));  \
        do  echo  -e  "<li  class=\"$(IMG)\"><span  class=\"lynxonly\">$(IMG):  </span>$$dep</li>";  \
        echo  -e  "<ul>";  \
        echo  -e  "<ol>";  \
        $(MAKE)  -s  -C  $(GARDIR)/$$dep  DESTIMG=$(IMG)  htmldep;  \
        $(MAKE)  -s  -C  $(GARDIR)/$$dep  DESTIMG=$(IMG)  htmldep;  \
        echo  -e  "</ul>";  \
        echo  -e  "</ol>";  \
        done  ;)  true

webtest:
        done  ;)  true

webtest:
File: gar.conf.mk
base-0 patch-1
Line 15Line 15
COLOR_GAR  ?=  yes

COLOR_GAR  ?=  yes


#  changing  this  to  "yes"  will  cause  the  GAR  build  to  use  the
#  "stow"  utility  to  merge  packages  into  the  system  tree  using
#  symlinks.   

USE_STOW  ?=  no
STOW_PREFIX  ?=  $(prefix)/stow/

#  Setting  this  variable  will  cause  the  results  of  your  builds  to
#  be  cleaned  out  after  being  installed.    Uncomment  only  if  you
#  desire  this  behavior!
#  Setting  this  variable  will  cause  the  results  of  your  builds  to
#  be  cleaned  out  after  being  installed.    Uncomment  only  if  you
#  desire  this  behavior!
Line 118Line 125
build_GARCH  :=  $(shell  arch)
build_GARHOST  :=  $(GARBUILD)

build_GARCH  :=  $(shell  arch)
build_GARHOST  :=  $(GARBUILD)

#  Exclude  specific  packages  as  dependencies  in  specific  DESTIMGs
main_NODEPEND  =  devel/glibc  devel/gcc-primitives  lib/libstdc++
build_NODEPEND  =  devel/glibc  devel/gcc-primitives
#  Assume  that  the  build  system  has  support  for  the  C  and  C++  languages  and  test
#  for  perl.    Would  check  for  python,  too,  but  python  needs  to  builddep  itself.
build_NODEPEND  +=  lang/c  lang/c++
build_NODEPEND  +=  $(if  $(shell  which  perl),lang/perl,)

#  Assume  the  same  of  main,  also  check  for  python
main_NODEPEND  +=  lang/c  lang/c++
main_NODEPEND  +=  $(if  $(shell  which  perl),lang/perl,)
main_NODEPEND  +=  $(if  $(shell  which  python),lang/python,)

#  Most  stuff  is  written  in  C,  so  SOURCE_LANGUAGES  will  default  to  that
SOURCE_LANGUAGES  ?=  c

#  Profiles  other  than  LNX-BBC  should  override  this  in  the  environment
LNX_FLAVOR  ?=  bbc
#  This  is  for  foo-config  chaos
PKG_CONFIG_PATH=$(DESTDIR)$(libdir)/pkgconfig/
#  This  is  for  foo-config  chaos
PKG_CONFIG_PATH=$(DESTDIR)$(libdir)/pkgconfig/
Line 131Line 150
STAGE_EXPORTS  +=  sysconfdir  sharedstatedir  localstatedir  libdir  infodir  lispdir
STAGE_EXPORTS  +=  includedir  mandir  docdir  sourcedir
STAGE_EXPORTS  +=  CPPFLAGS  CFLAGS  LDFLAGS
STAGE_EXPORTS  +=  sysconfdir  sharedstatedir  localstatedir  libdir  infodir  lispdir
STAGE_EXPORTS  +=  includedir  mandir  docdir  sourcedir
STAGE_EXPORTS  +=  CPPFLAGS  CFLAGS  LDFLAGS
STAGE_EXPORTS  +=  CC  CXX  LD  RANLIB  AS  AR  #CPP
STAGE_EXPORTS  +=  CC  CXX  CPP  LD  RANLIB  AS  AR
CONFIGURE_ENV  +=  $(foreach  TTT,$(STAGE_EXPORTS),$(TTT)="$($(TTT))")
BUILD_ENV  +=  $(foreach  TTT,$(STAGE_EXPORTS),$(TTT)="$($(TTT))")
CONFIGURE_ENV  +=  $(foreach  TTT,$(STAGE_EXPORTS),$(TTT)="$($(TTT))")
BUILD_ENV  +=  $(foreach  TTT,$(STAGE_EXPORTS),$(TTT)="$($(TTT))")
File: gar.lib.mk
base-0 patch-1
Line 203Line 203
extract-%.deb:  deb-bin-extract-%.deb
        @$(MAKECOOKIE)

extract-%.deb:  deb-bin-extract-%.deb
        @$(MAKECOOKIE)


#  For  extracting  configure  script  caches
extract-$(GARHOST).cache:
        @echo  -e  "  $(WORKCOLOR)==  Copying  $(BOLD)$(DOWNLOADDIR)/$(GARHOST).cache$(NORMALCOLOR)"
        @cp  $(DOWNLOADDIR)/$(GARHOST).cache  $(WORKSRC)/config.cache
        @$(MAKECOOKIE)
#  anything  we  don't  know  about,  we  just  assume  is  already
#  uncompressed  and  unarchived  in  plain  format
#  anything  we  don't  know  about,  we  just  assume  is  already
#  uncompressed  and  unarchived  in  plain  format
Line 286Line 291
#  arguments
configure-%/Imakefile: 
        @echo  -e  "  $(WORKCOLOR)==>  Running  imake  in  $(BOLD)$*$(NORMALCOLOR)"
#  arguments
configure-%/Imakefile: 
        @echo  -e  "  $(WORKCOLOR)==>  Running  imake  in  $(BOLD)$*$(NORMALCOLOR)"
        @cd  $*  &&  $(CONFIGURE_ENV)  imake  -DUseInstalled  -DBOOTSTRAPCFLAGS="$(CFLAGS)"  -I$(DESTDIR)$(includedir)/X11/config  $(CONFIGURE_ARGS)
        @cd  $*  &&  $(CONFIGURE_ENV)  imake  -DUseInstalled  -DBOOTSTRAPCFLAGS="$(CFLAGS)"  -I$(DESTDIR)$(libdir)/X11/config  $(CONFIGURE_ARGS)
        @$(MAKECOOKIE)

#  configure  a  package  that  uses  a  "config"  or  "oldconfig"  make
        @$(MAKECOOKIE)

#  configure  a  package  that  uses  a  "config"  or  "oldconfig"  make
Line 336Line 341
INSTALL_TARGET  ?=  install

INSTALL_TARGET  ?=  install


install-%:  prefix  :=  $(if  $(filter  $(USE_STOW),yes),$(STOW_PREFIX)/$(GARNAME)-$(GARVERSION),$(prefix))

#  just  run  make  install  and  hope  for  the  best.
install-%/Makefile:
        @echo  -e  "  $(WORKCOLOR)==>  Running  make  install  in  $(BOLD)$*$(NORMALCOLOR)"
#  just  run  make  install  and  hope  for  the  best.
install-%/Makefile:
        @echo  -e  "  $(WORKCOLOR)==>  Running  make  install  in  $(BOLD)$*$(NORMALCOLOR)"
        @$(INSTALL_ENV)  $(firstword  $(MAKE))  DESTDIR=$(DESTDIR)  $(foreach  TTT,$(INSTALL_OVERRIDE_DIRS),$(TTT)="$(DESTDIR)$($(TTT))")  -C  $*  $(INSTALL_ARGS)  $(INSTALL_TARGET)
        @$(firstword  $(MAKE))  $(INSTALL_ENV)  DESTDIR=$(DESTDIR)  $(foreach  TTT,$(INSTALL_OVERRIDE_DIRS),$(TTT)="$(DESTDIR)$($(TTT))")  -C  $*  $(INSTALL_ARGS)  $(INSTALL_TARGET)
        @$(MAKECOOKIE)

install-%/makefile:
        @echo  -e  "  $(WORKCOLOR)==>  Running  make  install  in  $(BOLD)$*$(NORMALCOLOR)"
        @$(MAKECOOKIE)

install-%/makefile:
        @echo  -e  "  $(WORKCOLOR)==>  Running  make  install  in  $(BOLD)$*$(NORMALCOLOR)"
        @$(INSTALL_ENV)  $(firstword  $(MAKE))  DESTDIR=$(DESTDIR)  $(foreach  TTT,$(INSTALL_OVERRIDE_DIRS),$(TTT)="$(DESTDIR)$($(TTT))")  -C  $*  $(INSTALL_ARGS)  $(INSTALL_TARGET)
        @$(firstword  $(MAKE))  $(INSTALL_ENV)  DESTDIR=$(DESTDIR)  $(foreach  TTT,$(INSTALL_OVERRIDE_DIRS),$(TTT)="$(DESTDIR)$($(TTT))")  -C  $*  $(INSTALL_ARGS)  $(INSTALL_TARGET)
        @$(MAKECOOKIE)

install-%/GNUmakefile:
        @echo  -e  "  $(WORKCOLOR)==>  Running  make  install  in  $(BOLD)$*$(NORMALCOLOR)"
        @$(MAKECOOKIE)

install-%/GNUmakefile:
        @echo  -e  "  $(WORKCOLOR)==>  Running  make  install  in  $(BOLD)$*$(NORMALCOLOR)"
        @$(INSTALL_ENV)  $(firstword  $(MAKE))  DESTDIR=$(DESTDIR)  $(foreach  TTT,$(INSTALL_OVERRIDE_DIRS),$(TTT)="$(DESTDIR)$($(TTT))")  -C  $*  $(INSTALL_ARGS)  $(INSTALL_TARGET)
        @$(firstword  $(MAKE))  $(INSTALL_ENV)  DESTDIR=$(DESTDIR)  $(foreach  TTT,$(INSTALL_OVERRIDE_DIRS),$(TTT)="$(DESTDIR)$($(TTT))")  -C  $*  $(INSTALL_ARGS)  $(INSTALL_TARGET)
        @$(MAKECOOKIE)

#  LICENSE  INSTALLATION
        @$(MAKECOOKIE)

#  LICENSE  INSTALLATION
Line 385Line 392
        @cp  -f  $(DESTDIR)$(bindir)/$*-config  $(STAGINGDIR)/$(GARNAME)/
        @$(MAKECOOKIE)

        @cp  -f  $(DESTDIR)$(bindir)/$*-config  $(STAGINGDIR)/$(GARNAME)/
        @$(MAKECOOKIE)


####################  STOW  RULES  ####################

stow-%:
        @mkdir  -p  $(DESTDIR)$(prefix)/stow/$*
        @echo  -e  "  $(WORKCOLOR)==>  Relinking  $(BOLD)$*  $(WORKCOLOR)  to  become  the  default  version$(NORMALCOLOR)"
        -@mv  $(DESTDIR)$(STOW_PREFIX)$(GARNAME)  $(DESTDIR)$(STOW_PREFIX)$(GARNAME)-old
        @ln  -sf  $(DESTDIR)$(STOW_PREFIX)$*  $(DESTDIR)$(STOW_PREFIX)$(GARNAME)
        @echo  -e  "  $(WORKCOLOR)==>  Stowing  $(BOLD)$(GARNAME)  $(GARVERSION)$(NORMALCOLOR)"
        @stow  -v  -d  $(DESTDIR)$(STOW_PREFIX)  -t  $(DESTDIR)$(prefix)  -R  $(GARNAME)
        @$(MAKECOOKIE)

unstow-%:
        @echo  -e  "  $(WORKCOLOR)==>  Unstowing  $(BOLD)$*$(NORMALCOLOR)"
        @stow  -v  -d  $(DESTDIR)$(STOW_PREFIX)  -t  $(DESTDIR)$(prefix)  -D  $(GARNAME)
        @rm  -f  $(DESTDIR)$(STOW_PREFIX)/$(GARNAME)
        @rm  -f  $(COOKIEDIR)/stow-$*



######################################
#  Use  a  manifest  file  of  the  format:
#  src:dest[:mode[:owner[:group]]]
######################################
#  Use  a  manifest  file  of  the  format:
#  src:dest[:mode[:owner[:group]]]
File: gar.mk
base-0 patch-1
Line 111Line 111
GARCH  =  $($(DESTIMG)_GARCH)
GARHOST  =  $($(DESTIMG)_GARHOST)

GARCH  =  $($(DESTIMG)_GARCH)
GARHOST  =  $($(DESTIMG)_GARHOST)


#  Some  architectures  go  by  multiple  names.  GARCH  should  always  be  the  string
#  output  by  `arch'.  ALTGARCH  should  be  set  to  the  other  name.  In  cases  where
#  there  is  no  altername  name,  set  to  GARCH
ALTGARCH  =  $(GARCH)
ALTGARCH  :=  $(if  $(filter  $(GARCH),ppc),powerpc,$(ALTGARCH))

#  GARTARGET  may  be  exported  from  a  package  with  an  arbitrary  value  to  indicate
#  that  dependencies  of  that  package  which  recognize  a  "target"  platform,  such
#  as  GCC  and  GNU  binutils,  should  target  the  specified  platform.    The  default
#  GARTARGET  may  be  exported  from  a  package  with  an  arbitrary  value  to  indicate
#  that  dependencies  of  that  package  which  recognize  a  "target"  platform,  such
#  as  GCC  and  GNU  binutils,  should  target  the  specified  platform.    The  default
Line 179Line 185
#  For  rules  that  do  nothing,  display  what  dependencies  they
#  successfully  completed
#DONADA  =  @echo  "        [$@]  complete.    Finished  rules:  $+"
#  For  rules  that  do  nothing,  display  what  dependencies  they
#  successfully  completed
#DONADA  =  @echo  "        [$@]  complete.    Finished  rules:  $+"
DONADA  =  @touch  $(COOKIEDIR)/$@;  echo  -e  "        $(ANNOUNCECOLOR)[$(STAGECOLOR)$@$(ANNOUNCECOLOR)]  complete  for  $(NAMECOLOR)$(GARNAME)$(ANNOUNCECOLOR).$(NORMALCOLOR)"
DONADA  =  @touch  $(COOKIEDIR)/$@;  echo  -e  "        $(ANNOUNCECOLOR)[$(STAGECOLOR)$@$(ANNOUNCECOLOR)]  complete  for  $(NAMECOLOR)$(GARNAME)$(ANNOUNCECOLOR).$(NORMALCOLOR)";  which  xtermset  >  /dev/null  &&  xtermset  -T  "[$@]  complete  for  $(GARNAME)"  ||  true
#  TODO:  write  a  stub  rule  to  print  out  the  name  of  a  rule  when  it
#  *does*  do  something,  and  handle  indentation  intelligently.
#  TODO:  write  a  stub  rule  to  print  out  the  name  of  a  rule  when  it
#  *does*  do  something,  and  handle  indentation  intelligently.
Line 215Line 221
post-%:
        @true

post-%:
        @true


xtermset-%:
        -@which  xtermset  >  /dev/null  &&  xtermset  -T  "$(GARNAME):  $*"  ||  true

#  Call  any  arbitrary  rule  recursively
deep-%:  %
        @$(foreach  IMG,$(IMGDEPS),for  dep  in  $(filter-out  $($(IMG)_NODEPEND),$($(IMG)_DEPENDS));  do  $(MAKE)  -C  ../../$$dep  DESTIMG=$(IMG)  $@;  done;  )
#  Call  any  arbitrary  rule  recursively
deep-%:  %
        @$(foreach  IMG,$(IMGDEPS),for  dep  in  $(filter-out  $($(IMG)_NODEPEND),$($(IMG)_DEPENDS));  do  $(MAKE)  -C  ../../$$dep  DESTIMG=$(IMG)  $@;  done;  )
Line 259Line 268
#                                    into  $(DOWNLOADDIR)  as  necessary.
FETCH_TARGETS  =    $(addprefix  $(DOWNLOADDIR)/,$(ALLFILES))

#                                    into  $(DOWNLOADDIR)  as  necessary.
FETCH_TARGETS  =    $(addprefix  $(DOWNLOADDIR)/,$(ALLFILES))

fetch:  announce  pre-everything  $(COOKIEDIR)  $(DOWNLOADDIR)  $(PARTIALDIR)  $(addprefix  dep-$(GARDIR)/,$(FETCHDEPS))  pre-fetch  $(FETCH_TARGETS)  post-fetch 
fetch:  announce  xtermset-fetch  pre-everything  $(COOKIEDIR)  $(DOWNLOADDIR)  $(PARTIALDIR)  $(addprefix  dep-$(GARDIR)/,$(FETCHDEPS))  pre-fetch  $(FETCH_TARGETS)  post-fetch 
        $(DONADA)

#  returns  true  if  fetch  has  completed  successfully,  false
        $(DONADA)

#  returns  true  if  fetch  has  completed  successfully,  false
Line 271Line 280
#                                      distfiles  are  valid.
CHECKSUM_TARGETS  =  $(addprefix  checksum-,$(filter-out  $(NOCHECKSUM),$(ALLFILES)))

#                                      distfiles  are  valid.
CHECKSUM_TARGETS  =  $(addprefix  checksum-,$(filter-out  $(NOCHECKSUM),$(ALLFILES)))

checksum:  fetch  $(COOKIEDIR)  pre-checksum  $(CHECKSUM_TARGETS)  post-checksum
checksum:  fetch  xtermset-checksum  $(COOKIEDIR)  pre-checksum  $(CHECKSUM_TARGETS)  post-checksum
        $(DONADA)

#  returns  true  if  checksum  has  completed  successfully,  false
        $(DONADA)

#  returns  true  if  checksum  has  completed  successfully,  false
Line 301Line 310
EXTRACT_TARGETS  =  $(addprefix  extract-,$(filter-out  $(NOEXTRACT),$(DISTFILES)))
EXTRACT_SOURCEPKG  =  $(addprefix  $(COOKIEDIR)/sourcepkg-,$(addsuffix  /patch,$(SOURCEPKG)))

EXTRACT_TARGETS  =  $(addprefix  extract-,$(filter-out  $(NOEXTRACT),$(DISTFILES)))
EXTRACT_SOURCEPKG  =  $(addprefix  $(COOKIEDIR)/sourcepkg-,$(addsuffix  /patch,$(SOURCEPKG)))

extract:  checksum  $(EXTRACTDIR)  $(COOKIEDIR)  $(EXTRACT_SOURCEPKG)  $(addprefix  dep-$(GARDIR)/,$(EXTRACTDEPS))  pre-extract  $(EXTRACT_TARGETS)  post-extract
extract:  checksum  xtermset-extract  $(EXTRACTDIR)  $(COOKIEDIR)  $(EXTRACT_SOURCEPKG)  $(addprefix  dep-$(GARDIR)/,$(EXTRACTDEPS))  pre-extract  $(EXTRACT_TARGETS)  post-extract
        $(DONADA)

#  returns  true  if  extract  has  completed  successfully,  false
        $(DONADA)

#  returns  true  if  extract  has  completed  successfully,  false
Line 319Line 328
#  patch                        -  Apply  any  provided  patches  to  the  source.
PATCH_TARGETS  =  $(addprefix  patch-,$(PATCHFILES))

#  patch                        -  Apply  any  provided  patches  to  the  source.
PATCH_TARGETS  =  $(addprefix  patch-,$(PATCHFILES))

patch:  extract  $(WORKSRC)  pre-patch  $(PATCH_TARGETS)  post-patch
patch:  extract  xtermset-patch  $(WORKSRC)  pre-patch  $(PATCH_TARGETS)  post-patch
        $(DONADA)

#  returns  true  if  patch  has  completed  successfully,  false
        $(DONADA)

#  returns  true  if  patch  has  completed  successfully,  false
Line 346Line 355
CONFIGURE_TARGETS  =  $(addprefix  configure-,$(CONFIGURE_SCRIPTS))
CONFIGURE_IMGDEPS  =  $(addprefix  imgdep-,$(IMGDEPS))

CONFIGURE_TARGETS  =  $(addprefix  configure-,$(CONFIGURE_SCRIPTS))
CONFIGURE_IMGDEPS  =  $(addprefix  imgdep-,$(IMGDEPS))

configure:  patch  $(CONFIGURE_IMGDEPS)  $(addprefix  srcdep-$(GARDIR)/,$(SOURCEDEPS))  pre-configure  $(CONFIGURE_TARGETS)  post-configure
configure:  patch  xtermset-configure  $(CONFIGURE_IMGDEPS)  $(addprefix  srcdep-$(GARDIR)/,$(SOURCEDEPS))  pre-configure  $(CONFIGURE_TARGETS)  post-configure
        $(DONADA)

#  returns  true  if  configure  has  completed  successfully,  false
        $(DONADA)

#  returns  true  if  configure  has  completed  successfully,  false
Line 357Line 366
#  build                        -  Actually  compile  the  sources.
BUILD_TARGETS  =  $(addprefix  build-,$(BUILD_SCRIPTS))

#  build                        -  Actually  compile  the  sources.
BUILD_TARGETS  =  $(addprefix  build-,$(BUILD_SCRIPTS))

build:  configure  pre-build  $(BUILD_TARGETS)  post-build
build:  configure  xtermset-build  pre-build  $(BUILD_TARGETS)  post-build
        $(DONADA)

#  returns  true  if  build  has  completed  successfully,  false
        $(DONADA)

#  returns  true  if  build  has  completed  successfully,  false
Line 372Line 381
#  install                -  Install  the  results  of  a  build.
INSTALL_TARGETS  =  $(addprefix  install-,$(INSTALL_SCRIPTS))  $(addprefix  install-license-,$(subst  /,  ,$(LICENSE)))

#  install                -  Install  the  results  of  a  build.
INSTALL_TARGETS  =  $(addprefix  install-,$(INSTALL_SCRIPTS))  $(addprefix  install-license-,$(subst  /,  ,$(LICENSE)))

install:  build  $(addprefix  dep-$(GARDIR)/,$(INSTALLDEPS))  $(INSTALL_DIRS)  pre-install  $(INSTALL_TARGETS)  post-install  $(DO_BUILD_CLEAN)
install:  build  xtermset-install  $(addprefix  dep-$(GARDIR)/,$(INSTALLDEPS))  $(INSTALL_DIRS)  pre-install  $(INSTALL_TARGETS)  post-install  $(DO_BUILD_CLEAN)  $(if  $(filter  $(USE_STOW),yes),stow)
        $(DONADA)

#  returns  true  if  install  has  completed  successfully,  false
        $(DONADA)

#  returns  true  if  install  has  completed  successfully,  false
Line 390Line 399
        rm  -rf  $(COOKIEDIR)/*install*
        $(MAKE)  install

        rm  -rf  $(COOKIEDIR)/*install*
        $(MAKE)  install

#  uninstall                -  Remove  the  installation.
#  TODO:  actually  write  it!
uninstall:  build
        @echo  -e  "$(ERRORCOLOR)$@  NOT  IMPLEMENTED  YET$(NORMALCOLOR)"
       
#  uninstall                -  Remove  the  installation  if  it  was  installed
#                                          with  stow  in  mind.
uninstall: 
        @$(if  $(filter  $(USE_STOW),yes),rm  -rf  $(DESTDIR)$(STOW_PREFIX)/$(GARNAME)-$(GARVERSION),echo  -e  "$(ERRORCOLOR)$@  only  works  if  you  installed  with  USE_STOW$(NORMALCOLOR)")
        $(DONADA)


#  stow                        -  merge  stow-installed  packages  into  the  system.
stow:  install  xtermset-stow  pre-stow  stow-$(DISTNAME)  post-stow
        $(DONADA)

unstow:  unstow-$(DISTNAME)
        $(DONADA)
#  package                -  Create  a  package  from  an  _installed_  port.
#  TODO:  actually  write  it!
#  package                -  Create  a  package  from  an  _installed_  port.
#  TODO:  actually  write  it!
File: installer/debian/Makefile
base-0 patch-1
Line 12Line 12
WORKSRC  =  $(WORKDIR)

WORKSRC  =  $(WORKDIR)

LIBDEPS  =
SOURCE_LANGUAGES  =  #bash    There  is  no  lang/bash  package  :<
DEPENDS  =  utils/util-linux  disk/parted  shells/bash  archive/dpkg  archive/apt
DEPENDS  =  utils/util-linux  disk/parted  shells/bash  archive/dpkg  archive/apt
BUILDDEPS  =

#CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
#BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
#CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
#BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
File: installer/debian/checksums
base-0 patch-1
Line 2Line 2
212fa2890f452fafa431c53c4ea606f2    download/swap
6fe4ebd993aad736406b1e7206797ac5    download/filesystems
d8da92922595b634f82206d81f03c76e    download/mount
212fa2890f452fafa431c53c4ea606f2    download/swap
6fe4ebd993aad736406b1e7206797ac5    download/filesystems
d8da92922595b634f82206d81f03c76e    download/mount
a60de192dcc327c64b44429aaf0a5edf    download/functions
7d5645c9faf83f9c800363fd672561d3    download/functions
e07bba1d9ad30a66f5458a7edd333693    download/umount.py
91e87b171801646fc612311ab4d24427    download/apt
e07bba1d9ad30a66f5458a7edd333693    download/umount.py
91e87b171801646fc612311ab4d24427    download/apt
File: installer/debian/files/functions
base-0 patch-1
Line 43Line 43
                rm  $INSTROOT/tmp/data.tar.gz
        done
}
                rm  $INSTROOT/tmp/data.tar.gz
        done
}

#  These  two  functions  are  ripped  directly  from  crosshurd's
#  scripts.  -NickM

function  apt_debfor  {
    for  p  in  "$@";  do  (
        cd  "$TARGET/var/cache/apt/archives"
        local  chk=0
        for  x  in  ${p}_*_*.deb;  do
            if  [  -e  "$x"  ];  then
                echo  "/var/cache/apt/archives/$x"
                chk=1
            fi
        done
        if  [  "$chk"  =  0  ];  then  return  1;  fi
    );  done
}


function  feign_install  {
                local  pkg="$1"
                local  deb="$(apt_debfor  $pkg)"
                local  ver="$(
                        ar  -p  "$TARGET/$deb"  control.tar.gz  |  zcat  |
                                tar  -O  -xf  -  control  ./control  2>/dev/null  |
                                sed  -ne  's/^Version:  *//Ip'  |  head  -n  1
                )"
 
                mkdir  -p  "$TARGET/var/lib/dpkg/info"
 
                echo  \
"Package:  $pkg
Version:  $ver
Status:  install  ok  installed
"  >>  "$TARGET/var/lib/dpkg/status"
                                                                 
        #  IM  HURD  AN  I  TUCH  UR  GNUBS
                touch  "$TARGET/var/lib/dpkg/info/${pkg}.list"
}

File: kernel/cloop-bin/Makefile
base-0 patch-1
Line 1Line 1
GARNAME  =  cloop-bin
GARNAME  =  cloop-bin
GARVERSION  =  0.68
GARVERSION  =  2.01
CATEGORIES  =  kernel
SOURCEPKG  =  kernel/cloop
LICENSE  =  GPL2
CATEGORIES  =  kernel
SOURCEPKG  =  kernel/cloop
LICENSE  =  GPL2
Line 14Line 14
WORKSRC  =  $(WORKDIR)/cloop-$(GARVERSION)

WORKSRC  =  $(WORKDIR)/cloop-$(GARVERSION)

LIBDEPS  =  devel/glibc
SOURCE_LANGUAGES  =  c
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  custom
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  custom
File: kernel/cloop-module/Makefile
base-0 patch-1
Line 1Line 1
GARNAME  =  cloop-module
GARNAME  =  cloop-module
GARVERSION  =  0.68
GARVERSION  =  2.01
CATEGORIES  =  kernel
SOURCEPKG  =  kernel/cloop
LICENSE  =  GPL2
CATEGORIES  =  kernel
SOURCEPKG  =  kernel/cloop
LICENSE  =  GPL2
Line 14Line 14
WORKSRC  =  $(WORKDIR)/cloop-$(GARVERSION)

WORKSRC  =  $(WORKDIR)/cloop-$(GARVERSION)


SOURCE_LANGUAGES  =  c
DEPENDS  =  kernel/linux-headers

#  CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  custom
DEPENDS  =  kernel/linux-headers

#  CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  custom
BUILD_ARGS  =  KERNEL_DIR="$(KERNEL_SOURCEDIR)"  -j1  CC="$(CC)"  zcode  cloop.o
BUILD_ARGS  =  KERNEL_DIR="$(KERNEL_SOURCEDIR)"  -j1  CC="$(CC)"  cloop.o
#  CONFIGURE_ARGS  =  $(DIRPATHS)
#  NODIRPATHS  = 
#  CONFIGURE_ARGS  =  $(DIRPATHS)
#  NODIRPATHS  = 
File: kernel/cloop/Makefile
base-0 patch-1
Line 1Line 1
GARNAME  =  cloop
GARNAME  =  cloop
GARVERSION  =  0.68
GAR_SUBVERSION  =  -3
GARVERSION  =  2.01
GAR_SUBVERSION  =  -1
CATEGORIES  =  kernel
CATEGORIES  =  kernel

MAINTAINER  =  Nate  Riffe  <inkblot@movealong.org>
MASTER_SITES  =  http://developer.linuxtag.net/knoppix/sources/
DISTFILES  =  $(GARNAME)_$(GARVERSION)$(GAR_SUBVERSION).tar.gz
MASTER_SITES  =  http://developer.linuxtag.net/knoppix/sources/
DISTFILES  =  $(GARNAME)_$(GARVERSION)$(GAR_SUBVERSION).tar.gz

PATCHFILES  =  gar-base.diff
LICENSE  =  GPL2

DESCRIPTION  =  Compressed  loopback  filesystem  support
LICENSE  =  GPL2

DESCRIPTION  =  Compressed  loopback  filesystem  support
Line 20Line 22
BUILDDEPS  =  lib/zlib

#  CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILDDEPS  =  lib/zlib

#  CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
INSTALL_SCRIPTS  =  custom
INSTALL_SCRIPTS  =  custom

BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
BUILD_ARGS  =  KERNEL_DIR="$(KERNEL_SOURCEDIR)"  -j1  CC="$(CC)"

#  CONFIGURE_ARGS  =  $(DIRPATHS)
BUILD_ARGS  =  KERNEL_DIR="$(KERNEL_SOURCEDIR)"  -j1  CC="$(CC)"

#  CONFIGURE_ARGS  =  $(DIRPATHS)
File: kernel/cloop/checksums
base-0 patch-1
Line Line 1
1dc435b7d830ed894150eaa894e85bd1    download/cloop_0.68-3.tar.gz
f69971fdfbb93ebcd37aa35e2bd4e460    download/cloop_2.01-1.tar.gz
5d8ace5a3afb224f7c040660163ab29c    download/gar-base.diff
File: kernel/device-list/Makefile
base-0 patch-1
Line 14Line 14
  You  can  use  multiple  lines  if  you  want.
endef

  You  can  use  multiple  lines  if  you  want.
endef


SOURCE_LANGUAGES  =

#  This  package  sources  kernel/linux,  so  it  needs  to  have  these  set  the  same
#  way.    Differentiate  kernel  builds  by  GARCH,  rather  than  DESTIMG
WORKDIR  =  $(WORKROOTDIR)/$(GARCH)
#  This  package  sources  kernel/linux,  so  it  needs  to  have  these  set  the  same
#  way.    Differentiate  kernel  builds  by  GARCH,  rather  than  DESTIMG
WORKDIR  =  $(WORKROOTDIR)/$(GARCH)
File: kernel/discover-data/Makefile
base-0 patch-1
Line 18Line 18
  You  can  use  multiple  lines  if  you  want.
endef

  You  can  use  multiple  lines  if  you  want.
endef


SOURCE_LANGUAGES  =

BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile

BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile

File: kernel/discover/Makefile
base-0 patch-1
Line 24Line 24
endef

DEPENDS  =  kernel/discover-data  kernel/pcmcia-cs  boot/minit  lang/sed
endef

DEPENDS  =  kernel/discover-data  kernel/pcmcia-cs  boot/minit  lang/sed
LIBDEPS  =  devel/glibc  lib/zlib  net/curl  lib/expat
LIBDEPS  =  lib/zlib  net/curl  lib/expat
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
File: kernel/linux-headers/Makefile
base-0 patch-1
Line 16Line 16
WORKSRC  =  $(WORKDIR)/linux-$(GARVERSION)

WORKSRC  =  $(WORKDIR)/linux-$(GARVERSION)

CONFIGURE_SCRIPTS  =  $(WORKSRC)/Makefile
MAKE_LITANY  =  HOSTCC=$(build_CC)  $(if  $(filter  $(CROSS_COMPILING),yes),CROSS_COMPILE=$(GARHOST)-  ARCH=$(GARCH),)

CONFIGURE_SCRIPTS  =  mrproper  version.h  asm  oldconfig  conf.vars
#  Installations  need  to  be  done  on  a  DESTIMG  by  DESTIMG  basis.
#  Since  the  kernel  builds  only  once  per  GARCH,  and  that's  what
#  Installations  need  to  be  done  on  a  DESTIMG  by  DESTIMG  basis.
#  Since  the  kernel  builds  only  once  per  GARCH,  and  that's  what
Line 35Line 37
GAR_EXTRA_CONF  +=  kernel/linux/package-api.mk
include  ../../gar.mk

GAR_EXTRA_CONF  +=  kernel/linux/package-api.mk
include  ../../gar.mk

configure-$(WORKSRC)/Makefile:
        yes  ""  |    $(MAKE)  -C  $(WORKSRC)  oldconfig
        $(MAKE)  -C  $(WORKSRC)  dep
        $(MAKE)  -C  $(WORKSRC)  clean
CROSS_COMPILING  =  $(if  $(filter  $(GARBUILD),$(GARHOST)),no,yes)

configure-oldconfig:
        yes  ""  |    $(MAKE)  -C  $(WORKSRC)  $(MAKE_LITANY)  oldconfig
        $(MAKECOOKIE)

configure-mrproper:
        $(MAKE)  -C  $(WORKSRC)  $(MAKE_LITANY)  mrproper
        $(MAKECOOKIE)

configure-conf.vars:
        $(MAKE)  -C  $(WORKSRC)  $(MAKE_LITANY)  -f  ../Makefile.conf.vars  conf.vars
        $(MAKECOOKIE)

configure-version.h:
        $(MAKE)  -C  $(WORKSRC)  $(MAKE_LITANY)  include/linux/version.h
        $(MAKECOOKIE)

configure-asm:
        $(MAKE)  -C  $(WORKSRC)  $(MAKE_LITANY)  include/asm
        $(MAKECOOKIE)

install-$(DESTIMG)-config:
        mkdir  -p  $(KERNEL_SOURCEDIR)
        $(MAKECOOKIE)

install-$(DESTIMG)-config:
        mkdir  -p  $(KERNEL_SOURCEDIR)
        install  -m  644  $(WORKSRC)/.config  $(KERNEL_SOURCEDIR)/
        install  -m  644  $(WORKSRC)/.config  $(WORKSRC)/conf.vars  $(KERNEL_SOURCEDIR)/
        $(MAKECOOKIE)

install-$(DESTIMG)-headers:
        $(MAKECOOKIE)

install-$(DESTIMG)-headers:
File: kernel/linux-image/Makefile
base-0 patch-1
Line 10Line 10
    This  is  the  set  of  C  headers  for  Linux  kernel  version  $(GARVERSION)
endef

    This  is  the  set  of  C  headers  for  Linux  kernel  version  $(GARVERSION)
endef

BUILDDEPS  =  devel/gcc
SOURCE_LANGUAGES  =  c
#  Differentiate  kernel  builds  by  GARCH,  rather  than  DESTIMG
WORKDIR  =  $(WORKROOTDIR)/$(GARCH)
#  Differentiate  kernel  builds  by  GARCH,  rather  than  DESTIMG
WORKDIR  =  $(WORKROOTDIR)/$(GARCH)
Line 18Line 18
WORKSRC  =  $(WORKDIR)/linux-$(GARVERSION)

WORKSRC  =  $(WORKDIR)/linux-$(GARVERSION)


MAKE_LITANY  =  HOSTCC=$(build_CC)  $(if  $(filter  $(CROSS_COMPILING),yes),CROSS_COMPILE=$(GARHOST)-  ARCH=$(GARCH),)

CONFIGURE_SCRIPTS  =  $(WORKSRC)/Makefile

CONFIGURE_SCRIPTS  =  $(WORKSRC)/Makefile


i386_BUILD_TARGET  =  bzImage
ppc_BUILD_TARGET  =  vmlinux
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
BUILD_ARGS  =  bzImage  HOSTCC="$(build_CC)"  CC="$(CC)"  LD="$(LD)"
BUILD_ARGS  =  $($(GARCH)_BUILD_TARGET)  $(MAKE_LITANY)
#  Installations  need  to  be  done  on  a  DESTIMG  by  DESTIMG  basis.
#  Since  the  kernel  builds  only  once  per  GARCH,  and  that's  what
#  COOKIEDIR  and  WORKDIR  are  based  on,  the  install  scripts  need
#  to  change  with  the  DESTIMG.    version  is  an  exception  because
#  it  does  all  of  its  work  in  $(STAGINGDIR)
#  Installations  need  to  be  done  on  a  DESTIMG  by  DESTIMG  basis.
#  Since  the  kernel  builds  only  once  per  GARCH,  and  that's  what
#  COOKIEDIR  and  WORKDIR  are  based  on,  the  install  scripts  need
#  to  change  with  the  DESTIMG.    version  is  an  exception  because
#  it  does  all  of  its  work  in  $(STAGINGDIR)
INSTALL_SCRIPTS  =  $(DESTIMG)-$(WORKSRC)/arch/i386/boot/bzImage  version
i386_KERNEL_IMAGE  =  arch/i386/boot/bzImage
ppc_KERNEL_IMAGE  =  vmlinux
INSTALL_SCRIPTS  =  $(DESTIMG)-$(WORKSRC)/$($(GARCH)_KERNEL_IMAGE)  version
INSTALL_PATH  =  $(DESTDIR)$(prefix)/boot

INSTALL_PATH  =  $(DESTDIR)$(prefix)/boot

Line 42Line 48
GAR_EXTRA_CONF  +=  kernel/linux/package-api.mk
include  ../../gar.mk

GAR_EXTRA_CONF  +=  kernel/linux/package-api.mk
include  ../../gar.mk

export  GARTARGET
TARGETIMG  ?=  $(DESTIMG)
export  TARGETIMG

CROSS_COMPILING  =  $(if  $(filter  $(GARBUILD),$(GARHOST)),no,yes)
configure-$(WORKSRC)/Makefile:
configure-$(WORKSRC)/Makefile:
        yes  ""  |    $(MAKE)  -C  $(WORKSRC)  oldconfig
        $(MAKE)  -C  $(WORKSRC)  dep
        $(MAKE)  -C  $(WORKSRC)  clean
        yes  ""  |    $(MAKE)  -C  $(WORKSRC)  oldconfig  $(MAKE_LITANY)
        $(MAKE)  -C  $(WORKSRC)  dep  $(MAKE_LITANY)
        $(MAKE)  -C  $(WORKSRC)  clean  $(MAKE_LITANY)
        $(MAKECOOKIE)

        $(MAKECOOKIE)

install-$(DESTIMG)-%/bzImage:
install-$(DESTIMG)-$(WORKSRC)/$($(GARCH)_KERNEL_IMAGE):
        mkdir  -p  $(INSTALL_PATH)
        mkdir  -p  $(INSTALL_PATH)
        cp  $*/bzImage  $(WORKSRC)/System.map  $(INSTALL_PATH)
        cp  $(subst  install-$(DESTIMG)-,,$@)  $(WORKSRC)/System.map  $(INSTALL_PATH)
        $(MAKECOOKIE)

install-version:
        $(MAKECOOKIE)

install-version:
File: kernel/linux-modules/Makefile
base-0 patch-1
Line 10Line 10
    This  is  the  set  of  C  headers  for  Linux  kernel  version  $(GARVERSION)
endef

    This  is  the  set  of  C  headers  for  Linux  kernel  version  $(GARVERSION)
endef

BUILDDEPS  =  devel/gcc
SOURCE_LANGUAGES  =  c
#  Differentiate  kernel  builds  by  GARCH,  rather  than  DESTIMG
WORKDIR  =  $(WORKROOTDIR)/$(GARCH)
#  Differentiate  kernel  builds  by  GARCH,  rather  than  DESTIMG
WORKDIR  =  $(WORKROOTDIR)/$(GARCH)
Line 18Line 18
WORKSRC  =  $(WORKDIR)/linux-$(GARVERSION)

WORKSRC  =  $(WORKDIR)/linux-$(GARVERSION)


MAKE_LITANY  =  HOSTCC=$(build_CC)  $(if  $(filter  $(CROSS_COMPILING),yes),CROSS_COMPILE=$(GARHOST)-  ARCH=$(GARCH),)

CONFIGURE_SCRIPTS  =  $(WORKSRC)/Makefile

BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
CONFIGURE_SCRIPTS  =  $(WORKSRC)/Makefile

BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
BUILD_ARGS  =  modules  HOSTCC="$(build_CC)"  CC="$(CC)"  LD="$(LD)"
BUILD_ARGS  =  modules  $(MAKE_LITANY)
#  Installations  need  to  be  done  on  a  DESTIMG  by  DESTIMG  basis.
#  Since  the  kernel  builds  only  once  per  GARCH,  and  that's  what
#  Installations  need  to  be  done  on  a  DESTIMG  by  DESTIMG  basis.
#  Since  the  kernel  builds  only  once  per  GARCH,  and  that's  what
Line 35Line 37
INSTALL_PATH  =  $(DESTDIR)$(prefix)/boot
INSTALL_MOD_PATH  =  $(DESTDIR)$(prefix)
INSTALL_ENV  =  INSTALL_PATH="$(INSTALL_PATH)"  INSTALL_MOD_PATH="$(INSTALL_MOD_PATH)"
INSTALL_PATH  =  $(DESTDIR)$(prefix)/boot
INSTALL_MOD_PATH  =  $(DESTDIR)$(prefix)
INSTALL_ENV  =  INSTALL_PATH="$(INSTALL_PATH)"  INSTALL_MOD_PATH="$(INSTALL_MOD_PATH)"
INSTALL_ARGS  =  modules_install
INSTALL_ARGS  =  modules_install  $(MAKE_LITANY)
EXTURVERSION  =  $(shell  grep  ^EXTRAVERSION  $(WORKSRC)/Makefile  |  cut  -d'  '  -f3)

EXTURVERSION  =  $(shell  grep  ^EXTRAVERSION  $(WORKSRC)/Makefile  |  cut  -d'  '  -f3)

Line 47Line 49
GAR_EXTRA_CONF  +=  kernel/linux/package-api.mk
include  ../../gar.mk

GAR_EXTRA_CONF  +=  kernel/linux/package-api.mk
include  ../../gar.mk

export  GARTARGET
TARGETIMG  ?=  $(DESTIMG)
export  TARGETIMG

CROSS_COMPILING  =  $(if  $(filter  $(GARBUILD),$(GARHOST)),no,yes)
configure-$(WORKSRC)/Makefile:
configure-$(WORKSRC)/Makefile:
        yes  ""  |    $(MAKE)  -C  $(WORKSRC)  oldconfig
        $(MAKE)  -C  $(WORKSRC)  dep
        $(MAKE)  -C  $(WORKSRC)  clean
        yes  ""  |    $(MAKE)  -C  $(WORKSRC)  oldconfig  $(MAKE_LITANY)
        $(MAKE)  -C  $(WORKSRC)  dep  $(MAKE_LITANY)
        $(MAKE)  -C  $(WORKSRC)  clean  $(MAKE_LITANY)
        $(MAKECOOKIE)

install-$(DESTIMG)-$(WORKSRC)/Makefile:
        $(MAKECOOKIE)

install-$(DESTIMG)-$(WORKSRC)/Makefile:
File: kernel/linux-source/Makefile
base-0 patch-1
Line 16Line 16
WORKSRC  =  $(WORKDIR)/linux-$(GARVERSION)

WORKSRC  =  $(WORKDIR)/linux-$(GARVERSION)

CONFIGURE_SCRIPTS  =  $(WORKSRC)/Makefile
MAKE_LITANY  =  HOSTCC=$(build_CC)  $(if  $(filter  $(CROSS_COMPILING),yes),CROSS_COMPILE=$(GARHOST)-  ARCH=$(GARCH),)

CONFIGURE_SCRIPTS  =  $(WORKSRC)/Makefile  conf.vars
#  Installations  need  to  be  done  on  a  DESTIMG  by  DESTIMG  basis.
#  Since  the  kernel  builds  only  once  per  GARCH,  and  that's  what
#  Installations  need  to  be  done  on  a  DESTIMG  by  DESTIMG  basis.
#  Since  the  kernel  builds  only  once  per  GARCH,  and  that's  what
Line 35Line 37
GAR_EXTRA_CONF  +=  kernel/linux/package-api.mk
include  ../../gar.mk

GAR_EXTRA_CONF  +=  kernel/linux/package-api.mk
include  ../../gar.mk


CROSS_COMPILING  =  $(if  $(filter  $(GARBUILD),$(GARHOST)),no,yes)

configure-$(WORKSRC)/Makefile:
configure-$(WORKSRC)/Makefile:
        yes  ""  |    $(MAKE)  -C  $(WORKSRC)  oldconfig
        $(MAKE)  -C  $(WORKSRC)  dep
        $(MAKE)  -C  $(WORKSRC)  clean
        yes  ""  |    $(MAKE)  -C  $(WORKSRC)  oldconfig  $(MAKE_LITANY)
        $(MAKE)  -C  $(WORKSRC)  dep  $(MAKE_LITANY)
        $(MAKE)  -C  $(WORKSRC)  clean  $(MAKE_LITANY)
        $(MAKECOOKIE)

configure-conf.vars:
        $(MAKE)  -C  $(WORKSRC)  -f  ../Makefile.conf.vars  conf.vars  $(MAKE_LITANY)
        $(MAKECOOKIE)

install-$(DESTIMG)-source:
        $(MAKECOOKIE)

install-$(DESTIMG)-source:
File: kernel/linux/Makefile
base-0 patch-1
Line 1Line 1
GARNAME  =  linux
GARVERSION  =  $(KERNEL_VERSION)
GARNAME  =  linux
GARVERSION  =  $(KERNEL_VERSION)
CATEGORIES  =  kernel 
MASTER_SITES  =  http://www.kernel.org/pub/linux/kernel/v2.4/
LINUX_DOTCONFIG  =  config-2.4.19bbc-r1
LOGO_PATCH  =  2.4.19-logo.patch
LOGO_IMAGE  =  bbc-logo.ppm
XFSBASE  =  linux-2.4.19-xfs-1.2.0.patch.gz  linux-2.4.19-core-xfs-1.2.0.patch.gz 
PATCHFILES  =  $(XFSBASE)  jfs-2.4.19.patch  $(LOGO_PATCH)
JFSCORE  =  jfs-2.4-1.1.1.tar.gz
MASTER_SITES  +=  ftp://oss.sgi.com/projects/xfs/download/Release-1.2/kernel_patches/
MASTER_SITES  +=  http://www10.software.ibm.com/developer/opensource/jfs/project/pub/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz  $(LINUX_DOTCONFIG)  $(JFSCORE)  $(LOGO_IMAGE)
CATEGORIES  =  kernel
MASTER_SITES  =  http://www.kernel.org/pub/linux/kernel/v2.6/
LINUX_DOTCONFIG  =  $(GARHOST).config
#LOGO_PATCH  =  2.4.19-logo.patch
#LOGO_IMAGE  =  bbc-logo.ppm
#  <PG>  IPSECPATCH  =  freeswan-2.05.k2.4.patch.gz
#XFSBASE  =  xfs-$(KERNEL_VERSION)-all-i386.bz2
#PATCHFILES  =  $(LOGO_PATCH)  $(XFSBASE)  #  <PG>  $(IPSECPATCH)
#MASTER_SITES  +=  ftp://oss.sgi.com/projects/xfs/patches/$(KERNEL_VERSION)/
#  <PG>  MASTER_SITES  +=  ftp://ftp.xs4all.nl/pub/crypto/freeswan/kernpatch/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz  Makefile.conf.vars  i386-lnxbbc-linux.config  powerpc-lnxbbc-linux.config  $(LOGO_IMAGE)
MAINTAINER  =  Dave  Barry  <dave@mikamyla.com>
LICENSE  =  GPL2

MAINTAINER  =  Dave  Barry  <dave@mikamyla.com>
LICENSE  =  GPL2

Line 19Line 19
    This  is  the  Linux  kernel  version  $(GARVERSION)
endef

    This  is  the  Linux  kernel  version  $(GARVERSION)
endef

#BUILDDEPS  =  devel/gcc


DEPENDS  =  kernel/linux-image  kernel/linux-modules  kernel/linux-source

#  Differentiate  kernel  builds  by  GARCH,  rather  than  DESTIMG
WORKDIR  =  $(WORKROOTDIR)/$(GARCH)
COOKIEDIR  =  $(COOKIEROOTDIR)/$(GARCH)

DEPENDS  =  kernel/linux-image  kernel/linux-modules  kernel/linux-source

#  Differentiate  kernel  builds  by  GARCH,  rather  than  DESTIMG
WORKDIR  =  $(WORKROOTDIR)/$(GARCH)
COOKIEDIR  =  $(COOKIEROOTDIR)/$(GARCH)

#BUILD_ARGS  =  bzImage  modules  HOSTCC="$(build_CC)"  CC="$(CC)"  LD="$(LD)"
#INSTALL_ARGS  =  modules_install

#  this  tells  the  kernel  makefile  that  we  want  to  put  our  kernels
#  elsewhere.
#INSTALL_PATH  =  $(DESTDIR)$(prefix)/boot
#INSTALL_MOD_PATH  =  $(DESTDIR)$(prefix)
#INSTALL_ENV  =  INSTALL_PATH="$(INSTALL_PATH)"  INSTALL_MOD_PATH="$(INSTALL_MOD_PATH)"
#INSTALL_ARGS  =  modules_install

#CONFIGURE_SCRIPTS  =  $(WORKSRC)/Makefile
#BUILD_SCRIPTS  =  $(WORKSRC)/Makefile

#  Installations  need  to  be  done  on  a  DESTIMG  by  DESTIMG  basis.
#  Since  the  kernel  builds  only  once  per  GARCH,  and  that's  what
#  COOKIEDIR  and  WORKDIR  are  based  on,  the  install  scripts  need
#  to  change  with  the  DESTIMG.    version  is  an  exception  because
#  it  does  all  of  its  work  in  $(STAGINGDIR)
#INSTALL_SCRIPTS  =  $(addprefix  $(DESTIMG)-,$(WORKSRC)/arch/i386/boot/bzImage  $(WORKSRC)/Makefile  source)  version

#EXTURVERSION  =  $(shell  grep  ^EXTRAVERSION  $(WORKSRC)/Makefile  |  cut  -d'  '  -f3)

PATCHDIR=$(WORKSRC)
PATCHDIRFUZZ=3

PATCHDIR=$(WORKSRC)
PATCHDIRFUZZ=3

#  The  above  WORKDIR  and  COOKIEDIR  munging  make  this  package  incompatible  with
#  BUILD_CLEAN
#BUILD_CLEAN  :=
#export  BUILD_CLEAN


include  ../../gar.mk

include  ../../gar.mk

#  export  the  current  value  of  GARTARGET  to  the  environment.    When  GAR  gets
#  around  to  building  devel/gcc  as  a  BUILDDEPS,  that  value  will  tell  gcc  to  be  a
#  cross-compiler  (or  not,  if  GARBUILD  ==  GARHOST).
#export  GARTARGET
KARCH  =  $(strip  $(shell  grep  ^$(GARCH):  karchmap  |  cut  -d:  -f2))
extract-$(LINUX_DOTCONFIG):
extract-$(LINUX_DOTCONFIG):
        ln  -sf  $(CURDIR)/$(DOWNLOADDIR)/$(LINUX_DOTCONFIG)  $(WORKDIR)/$(GARNAME)-$(GARVERSION)/.config
        cp  $(DOWNLOADDIR)/$(LINUX_DOTCONFIG)  $(WORKSRC)/.config
        $(MAKECOOKIE)

extract-$(LOGO_IMAGE):
        $(MAKECOOKIE)

extract-$(LOGO_IMAGE):
        cp  files/$(LOGO_IMAGE)  $(WORKDIR)/$(GARNAME)-$(GARVERSION)/arch/i386/linux_logo.ppm
        cp  files/$(LOGO_IMAGE)  $(WORKSRC)/arch/$(KARCH)/linux_logo.ppm
        $(MAKECOOKIE)
        $(MAKECOOKIE)
       
extract-$(JFSCORE):
        cd  $(WORKDIR)/$(GARNAME)-$(GARVERSION)    &&  tar  -zxvf  $(CURDIR)/$(DOWNLOADDIR)/$(JFSCORE)
        $(MAKECOOKIE)

#configure-$(WORKSRC)/Makefile:
#        yes  ""  |    $(MAKE)  -C  $(WORKSRC)  oldconfig
#        $(MAKE)  -C  $(WORKSRC)  dep
#        $(MAKE)  -C  $(WORKSRC)  clean
#        $(MAKECOOKIE)

#install-$(DESTIMG)-%/bzImage:
#        mkdir  -p  $(INSTALL_PATH)
#        cp  $*/bzImage  $(WORKSRC)/System.map  $(INSTALL_PATH)
#        $(MAKECOOKIE)

#install-$(DESTIMG)-$(WORKSRC)/Makefile:
#        $(MAKE)  $(INSTALL_ENV)  -C  $(WORKSRC)  $(INSTALL_ARGS)
#        $(MAKECOOKIE)

#install-$(DESTIMG)-source:
#        mkdir  -p  $(KERNEL_SOURCEDIR)
#        rsync  -pav  $(WORKSRC)/  $(KERNEL_SOURCEDIR)/
#        make  -C  $(KERNEL_SOURCEDIR)  clean
#        $(MAKECOOKIE)

#install-version:
#        install  -d  $(STAGINGDIR)/linux
#        echo  $(EXTURVERSION)  >  $(STAGINGDIR)/linux/extraversion
#        echo  $(GARVERSION)  >  $(STAGINGDIR)/linux/version
#        echo  $(GARVERSION)$(EXTURVERSION)  >  $(STAGINGDIR)/linux/full-version
#        $(MAKECOOKIE)

#  This  is  bad  and  wrong.    DO  NOT  UNCOMMENT!!
#post-install:
#        cp  -av  $(WORKSRC)/include/*  $(DESTDIR)$(includedir)
#        $(MAKECOOKIE)


File: kernel/linux/checksums
base-0 patch-1
Line 1Line 1
f4c1c8f6131a4cc083fe7711742b0fcd    download/linux-2.4.19.tar.gz
4e27313ede99433e7665ee9ea4bf27a8    download/config-2.4.19bbc-r1
93828aea31e72bc34e3188d64cf0518a    download/jfs-2.4-1.1.1.tar.gz
1c0c4d3b00babe76818d6e64c33efaa8    download/bbc-logo.ppm
e0b76f53bc82d721614b6b63284b2c54    download/linux-2.4.19-xfs-1.2.0.patch.gz
9fc8546a7466f1d5ceb772b9e04d58af    download/linux-2.4.19-core-xfs-1.2.0.patch.gz
9bbed2c000c2b545cfd806f738fcd6a5    download/jfs-2.4.19.patch
d7f944e4f3d3a2dd8d74581c4c788c9d    download/2.4.19-logo.patch
eecc98f673e135f3a7c0f58443f4ce07    download/linux-2.6.3.tar.gz
03a58691ddcb75a6d0777216cb58c5b5    download/Makefile.conf.vars
2cd3414e0fa4b96e577dfb75fb78d7d4    download/i386-lnxbbc-linux.config
f3b17e91c737b59786bdde6a5aebbcff    download/powerpc-lnxbbc-linux.config
File: kernel/linux/package-api.mk
base-0 patch-1
Line 1Line 1
KERNEL_MAJOR_VERSION  =  2
KERNEL_MAJOR_VERSION  =  2
KERNEL_MINOR_VERSION  =  4
KERNEL_SUBMINOR_VERSION  =  19
KERNEL_MINOR_VERSION  =  6
KERNEL_SUBMINOR_VERSION  =  3
KERNEL_EXTRA_VERSION  =  $(shell  cat  $(STAGINGDIR)/linux/extraversion)

KERNEL_VERSION  =  $(KERNEL_MAJOR_VERSION).$(KERNEL_MINOR_VERSION).$(KERNEL_SUBMINOR_VERSION)
KERNEL_EXTRA_VERSION  =  $(shell  cat  $(STAGINGDIR)/linux/extraversion)

KERNEL_VERSION  =  $(KERNEL_MAJOR_VERSION).$(KERNEL_MINOR_VERSION).$(KERNEL_SUBMINOR_VERSION)
File: kernel/modutils/Makefile
base-0 patch-1
Line 9Line 9
define  BLURB
  #XXX:  nwall  package  blurb  goes  here.
endef
define  BLURB
  #XXX:  nwall  package  blurb  goes  here.
endef
BUILDDEPS  =  devel/bison  devel/flex
BUILDDEPS  =  devel/bison  devel/flex
LIBDEPS  =  devel/glibc

CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
File: kernel/pcmcia-cs/Makefile
base-0 patch-1
Line 4Line 4
MASTER_SITES  =  http://pcmcia-cs.sourceforge.net/ftp/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz  pcmcia
PATCHFILES  =  gar-base.diff
MASTER_SITES  =  http://pcmcia-cs.sourceforge.net/ftp/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz  pcmcia
PATCHFILES  =  gar-base.diff
MAINTAINER  =  Andrew  Scott  <ascott@tathata.org>
MAINTAINER  =  Nate  Riffe  <inkblot@movealong.org>
LICENSE  =  MPL/GPL2

DESCRIPTION  =  David  Hinds,  PCMCIA  Card  Services  package
LICENSE  =  MPL/GPL2

DESCRIPTION  =  David  Hinds,  PCMCIA  Card  Services  package
Line 13Line 13
endef

DEPENDS  =  kernel/linux-source  boot/minit
endef

DEPENDS  =  kernel/linux-source  boot/minit
LIBDEPS  =  devel/glibc  X11/XFree86
#LIBDEPS  =  X11/XFree86
CONFIGURE_SCRIPTS  =  $(WORKSRC)/Configure

CONFIGURE_SCRIPTS  =  $(WORKSRC)/Configure

File: lang/gawk/Makefile
base-0 patch-1
Line 10Line 10
  #XXX:  nwall  package  blurb  goes  here.
endef

  #XXX:  nwall  package  blurb  goes  here.
endef

LIBDEPS  =  devel/glibc


CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile
File: lang/perl/Makefile
base-0 patch-1
Line 14Line 14
        sed,  awk  and  shell.
endef

        sed,  awk  and  shell.
endef

LIBDEPS  =  devel/glibc
SOURCE_LANGUAGES  =  c
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
Line 31Line 31
ARCHLIB  =  $(shell  perl  -ne  'print  $$1  if  /^archlib=(.*)/'  $(WORKSRC)/config.sh)
PERLLIB  =  $(shell  perl  -ne  'print  $$1  if  /^privlib=(.*)/'  $(WORKSRC)/config.sh)
PERL  =  LD_LIBRARY_PATH=$(ARCHLIB)/CORE  PERL5LIB=$(PERLLIB)  $(WORKSRC)/perl
ARCHLIB  =  $(shell  perl  -ne  'print  $$1  if  /^archlib=(.*)/'  $(WORKSRC)/config.sh)
PERLLIB  =  $(shell  perl  -ne  'print  $$1  if  /^privlib=(.*)/'  $(WORKSRC)/config.sh)
PERL  =  LD_LIBRARY_PATH=$(ARCHLIB)/CORE  PERL5LIB=$(PERLLIB)  $(WORKSRC)/perl

LIBDEPS  =  lib/db
include  ../../gar.mk

include  ../../gar.mk

File: lang/python/Makefile
base-0 patch-1
Line 1Line 1
GARNAME  =  python
GARNAME  =  python
GARVERSION  =  2.2.2
GARVERSION  =  2.3.2
CATEGORIES  =  lang
MASTER_SITES  =  http://www.python.org/ftp/python/$(GARVERSION)/
DISTFILES  =  Python-$(GARVERSION).tgz 
CATEGORIES  =  lang
MASTER_SITES  =  http://www.python.org/ftp/python/$(GARVERSION)/
DISTFILES  =  Python-$(GARVERSION).tgz 
Line 15Line 15
DESCRIPTION  =  Python  OOP  scripting  language
define  BLURB
DESCRIPTION  =  Python  OOP  scripting  language
define  BLURB
  #XXX:  nwall  package  blurb  goes  here.
  #XXX:  python  package  blurb  goes  here.
endef

endef

LIBDEPS  =  devel/glibc  lib/libstdc++  lib/ncurses  utils/readline  lib/zlib
SOURCE_LANGUAGES  =  c  c++
LIBDEPS  =  lib/ncurses  utils/readline  lib/zlib
BUILDDEPS  =  lang/python
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile

CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile


CONFIGURE_ARGS  =  $(DIRPATHS)  --build=$(GARBUILD)  --host=$(GARHOST)

BUILD_ENV  =  CROSS_COMPILING=$(CROSS_COMPILING)
BUILD_ARGS  =  $(CROSS_BUILD_ARGS)

INCLUDEDIR  =  $(includedir)
MANDIR  =  $(mandir)
INCLUDEDIR  =  $(includedir)
MANDIR  =  $(mandir)

INSTALL_ENV  =  CROSS_COMPILING=$(CROSS_COMPILING)
INSTALL_ARGS  =  $(CROSS_INSTALL_ARGS)
INSTALL_OVERRIDE_DIRS  =  prefix  exec_prefix  MANDIR  INCLUDEDIR

INSTALL_OVERRIDE_DIRS  =  prefix  exec_prefix  MANDIR  INCLUDEDIR

CONFIGURE_ARGS  =  $(DIRPATHS)


include  ../../gar.mk
include  ../../gar.mk

CROSS_COMPILING  =  $(if  $(filter  $(GARBUILD),$(GARHOST)),no,yes)
ifeq  ($(CROSS_COMPILING),yes)
CROSS_BUILD_ARGS  =  HOSTPYTHON="$(build_bindir)/python"  HOSTPGEN="$(WORKSRC)/../../build.d/Python-$(GARVERSION)/Parser/pgen"
CROSS_INSTALL_ARGS  =  HOSTPYTHON="$(build_bindir)/python"  HOSTPGEN="$(WORKSRC)/../../build.d/Python-$(GARVERSION)/Parser/pgen"
endif

ifeq  ($(DESTIMG),build)
TARGETIMG  ?=  $(DESTIMG)
$(TARGETIMG)_NODEPEND  :=  $(sort  $($(TARGETIMG)_NODEPEND)  lang/python)
export  TARGETIMG  $(TARGETIMG)_NODEPEND
endif
File: lang/python/checksums
base-0 patch-1
Line 1Line 1
1c1067396e5aa0299978486eb5bd1a5c    download/Python-2.2.2.tgz
b7e4d30de626ef5ed034432ba1f68893    download/gar-base.diff
f54d7a529d444994b4b33429bbb45479    download/Python-2.3.2.tgz
65b25e1de3b93b106639b4ff5e6428be    download/gar-base.diff
File: lang/python/files/gar-base.diff
base-0 patch-1
Line 1Line 1
diff  --speed-large-files  --minimal  -Nru  tmp/Python-2.2.2/Makefile.pre.in  work/main.d/Python-2.2.2/Makefile.pre.in
---  tmp/Python-2.2.2/Makefile.pre.in        Fri  Aug  23  09:05:49  2002
+++  work/main.d/Python-2.2.2/Makefile.pre.in        Wed  Apr  16  22:07:15  2003
diff  -urN  scratch/singularity.d/Python-2.3.2/Makefile.pre.in  work/singularity.d/Python-2.3.2/Makefile.pre.in
---  scratch/Python-2.3.2/Makefile.pre.in        2003-09-20  03:50:28.000000000  -0700
+++  work/singularity.d/Python-2.3.2/Makefile.pre.in        2003-11-12  18:31:48.000000000  -0800
Line Line
  #  Compiler  options
  OPT=                @OPT@
  #  Compiler  options
  OPT=                @OPT@
  DEFS=                @DEFS@
-CFLAGS=                $(OPT)
+CFLAGS+=        $(OPT)
  CPPFLAGS=        -I.  -I$(srcdir)/Include  $(DEFS)
  BASECFLAGS=        @BASECFLAGS@
-CFLAGS=                $(BASECFLAGS)  $(OPT)
+CFLAGS+=                $(BASECFLAGS)  $(OPT)
  CPPFLAGS=        -I.  -I$(srcdir)/Include
  LDFLAGS=        @LDFLAGS@
  LDLAST=                @LDLAST@
  LDFLAGS=        @LDFLAGS@
  LDLAST=                @LDLAST@
@@  -582,7  +582,7  @@
  PLATDIR=        plat-$(MACHDEP)
  MACHDEPS=        $(PLATDIR)
  XMLLIBSUBDIRS=    xml  xml/dom  xml/parsers  xml/sax
@@  -159,6  +159,7  @@
 
  PYTHON=                python$(EXE)
  BUILDPYTHON=        python$(BUILDEXE)
+HOSTPYTHON=          ./$(BUILDPYTHON)
 
  #  ===  Definitions  added  by  makesetup  ===
 
@@  -186,6  +187,8  @@
  #  Parser
  PGEN=                Parser/pgen$(EXE)
 
+HOSTPGEN=    $(PGEN)
+
  POBJS=                \
                  Parser/acceler.o  \
                  Parser/grammar1.o  \
@@  -314,8  +317,8  @@
  #  Build  the  shared  modules
  sharedmods:  $(BUILDPYTHON)
          case  $$MAKEFLAGS  in  \
-        *-s*)  $(RUNSHARED)  CC='$(CC)'  LDSHARED='$(BLDSHARED)'  OPT='$(OPT)'  ./$(BUILDPYTHON)  -E  $(srcdir)/setup.py  -q  build;;  \
-        *)  $(RUNSHARED)  CC='$(CC)'  LDSHARED='$(BLDSHARED)'  OPT='$(OPT)'  ./$(BUILDPYTHON)  -E  $(srcdir)/setup.py  build;;  \
+        *-s*)  $(RUNSHARED)  CC='$(CC)'  LDSHARED='$(BLDSHARED)'  OPT='$(OPT)'  $(HOSTPYTHON)  -E  $(srcdir)/setup.py  -q  build;;  \
+        *)  $(RUNSHARED)  CC='$(CC)'  LDSHARED='$(BLDSHARED)'  OPT='$(OPT)'  $(HOSTPYTHON)  -E  $(srcdir)/setup.py  build;;  \
          esac
 
  #  buildno  should  really  depend  on  something  like  LIBRARY_SRC
@@  -432,7  +435,7  @@
 
 
  $(GRAMMAR_H)  $(GRAMMAR_C):  $(PGEN)  $(GRAMMAR_INPUT)
-                -$(PGEN)  $(GRAMMAR_INPUT)  $(GRAMMAR_H)  $(GRAMMAR_C)
+                -$(HOSTPGEN)  $(GRAMMAR_INPUT)  $(GRAMMAR_H)  $(GRAMMAR_C)
 
  $(PGEN):        $(PGENOBJS)
                  $(CC)  $(OPT)  $(LDFLAGS)  $(PGENOBJS)  $(LIBS)  -o  $(PGEN)
@@  -643,9  +646,9  @@
          plat-mac/lib-scriptpackages/SystemEvents  \
          plat-mac/lib-scriptpackages/Terminal
  PLATMACPATH=:plat-mac:plat-mac/lib-scriptpackages
-LIBSUBDIRS=        lib-old  lib-tk  site-packages  test  test/output  test/data  \
-LIBSUBDIRS=        lib-old  lib-tk  site-packages  test  test/output  test/data  \

-                encodings  email  email/test  email/test/data  compiler  hotshot  \
-                logging  bsddb  bsddb/test  csv  idlelib  idlelib/Icons  \
+LIBSUBDIRS=        lib-old  lib-tk  site-packages  \
+LIBSUBDIRS=        lib-old  lib-tk  site-packages  \
                  encodings  email  compiler  hotshot  \
+                encodings  email  compiler  hotshot  \
+                logging  bsddb  csv  idlelib  idlelib/Icons  \
                  distutils  distutils/command  $(XMLLIBSUBDIRS)  curses  $(MACHDEPS)
  libinstall:        $(BUILDPYTHON)  $(srcdir)/Lib/$(PLATDIR)
                  distutils  distutils/command  $(XMLLIBSUBDIRS)  curses  $(MACHDEPS)
  libinstall:        $(BUILDPYTHON)  $(srcdir)/Lib/$(PLATDIR)
diff  --speed-large-files  --minimal  -Nru  tmp/Python-2.2.2/Modules/Setup.dist  work/main.d/Python-2.2.2/Modules/Setup.dist
---  tmp/Python-2.2.2/Modules/Setup.dist        Thu  Aug    8  12:52:42  2002
+++  work/main.d/Python-2.2.2/Modules/Setup.dist        Wed  Apr  16  22:08:51  2003
@@  -140,7  +140,7  @@
          @for  i  in  $(SCRIPTDIR)  $(LIBDEST);  \
@@  -703,19  +706,19  @@
          done
          $(INSTALL_DATA)  $(srcdir)/LICENSE  $(DESTDIR)$(LIBDEST)/LICENSE.txt
          PYTHONPATH=$(DESTDIR)$(LIBDEST)    $(RUNSHARED)  \
-                ./$(BUILDPYTHON)  -Wi  -tt  $(DESTDIR)$(LIBDEST)/compileall.py  \
+                $(HOSTPYTHON)  -Wi  -tt  $(DESTDIR)$(LIBDEST)/compileall.py  \
                  -d  $(LIBDEST)  -f  \
                  -x  'badsyntax|site-packages'  $(DESTDIR)$(LIBDEST)
          PYTHONPATH=$(DESTDIR)$(LIBDEST)  $(RUNSHARED)  \
-                ./$(BUILDPYTHON)  -Wi  -tt  -O  $(DESTDIR)$(LIBDEST)/compileall.py  \
+                $(HOSTPYTHON)  -Wi  -tt  -O  $(DESTDIR)$(LIBDEST)/compileall.py  \
                  -d  $(LIBDEST)  -f  \
                  -x  'badsyntax|site-packages'  $(DESTDIR)$(LIBDEST)
          PYTHONPATH=$(DESTDIR)$(LIBDEST)    $(RUNSHARED)  \
-                ./$(BUILDPYTHON)  -Wi  -t  $(DESTDIR)$(LIBDEST)/compileall.py  \
+                $(HOSTPYTHON)  -Wi  -t  $(DESTDIR)$(LIBDEST)/compileall.py  \
                  -d  $(LIBDEST)/site-packages  -f  \
                  -x  badsyntax  $(DESTDIR)$(LIBDEST)/site-packages
          PYTHONPATH=$(DESTDIR)$(LIBDEST)  $(RUNSHARED)  \
-                ./$(BUILDPYTHON)  -Wi  -t  -O  $(DESTDIR)$(LIBDEST)/compileall.py  \
+                $(HOSTPYTHON)  -Wi  -t  -O  $(DESTDIR)$(LIBDEST)/compileall.py  \
                  -d  $(LIBDEST)/site-packages  -f  \
                  -x  badsyntax  $(DESTDIR)$(LIBDEST)/site-packages
 
diff  -urN  scratch/singularity.d/Python-2.3.2/Modules/Setup.dist  work/singularity.d/Python-2.3.2/Modules/Setup.dist
---  scratch/Python-2.3.2/Modules/Setup.dist        2003-06-14  14:03:05.000000000  -0700
+++  work/singularity.d/Python-2.3.2/Modules/Setup.dist        2003-11-12  18:33:08.000000000  -0800
@@  -157,7  +157,7  @@
  #  it,  depending  on  your  system  --  see  the  GNU  readline  instructions.
  #  It's  okay  for  this  to  be  a  shared  library,  too.
 
  #  it,  depending  on  your  system  --  see  the  GNU  readline  instructions.
  #  It's  okay  for  this  to  be  a  shared  library,  too.
 
Line 31Line 96
 
 
  #  Modules  that  should  always  be  present  (non  UNIX  dependent):
 
 
  #  Modules  that  should  always  be  present  (non  UNIX  dependent):
@@  -346,9  +346,9  @@
@@  -366,9  +366,9  @@
  #
  #  First,  look  at  Setup.config;  configure  may  have  set  this  for  you.
 
  #
  #  First,  look  at  Setup.config;  configure  may  have  set  this  for  you.
 
Line 43Line 108
 
 
  #  Generic  (SunOS  /  SVR4)  dynamic  loading  module.
 
 
  #  Generic  (SunOS  /  SVR4)  dynamic  loading  module.
@@  -435,7  +435,7  @@
@@  -463,7  +463,7  @@
  #  Andrew  Kuchling's  zlib  module.
  #  This  require  zlib  1.1.3  (or  later).
  #  See  http://www.cdrom.com/pub/infozip/zlib/
  #  Andrew  Kuchling's  zlib  module.
  #  This  require  zlib  1.1.3  (or  later).
  #  See  http://www.cdrom.com/pub/infozip/zlib/
Line 52Line 117
 
  #  Interface  to  the  Expat  XML  parser
  #
 
  #  Interface  to  the  Expat  XML  parser
  #

diff  -urN  scratch/singularity.d/Python-2.3.2/setup.py  work/singularity.d/Python-2.3.2/setup.py
---  scratch/Python-2.3.2/setup.py        2003-09-21  18:19:45.000000000  -0700
+++  work/singularity.d/Python-2.3.2/setup.py        2003-11-12  18:35:40.000000000  -0800
@@  -206,26  +206,27  @@
                  try:
                          imp.load_dynamic(ext.name,  ext_filename)
                  except  ImportError,  why:
-                        self.announce('***  WARNING:  renaming  "%s"  since  importing  it'
-                                                    '  failed:  %s'  %  (ext.name,  why),  level=3)
-                        assert  not  self.inplace
-                        basename,  tail  =  os.path.splitext(ext_filename)
-                        newname  =  basename  +  "_failed"  +  tail
-                        if  os.path.exists(newname):
-                                os.remove(newname)
-                        os.rename(ext_filename,  newname)
-
-                        #  XXX  --  This  relies  on  a  Vile  HACK  in
-                        #  distutils.command.build_ext.build_extension().    The
-                        #  _built_objects  attribute  is  stored  there  strictly  for
-                        #  use  here.
-                        #  If  there  is  a  failure,  _built_objects  may  not  be  there,
-                        #  so  catch  the  AttributeError  and  move  on.
-                        try:
-                                for  filename  in  self._built_objects:
-                                        os.remove(filename)
-                        except  AttributeError:
-                                self.announce('unable  to  remove  files  (ignored)')
+                        if  os.environ['CROSS_COMPILING']  !=  'yes':
+                                self.announce('***  WARNING:  renaming  "%s"  since  importing  it'
+                                                            '  failed:  %s'  %  (ext.name,  why),  level=3)
+                                assert  not  self.inplace
+                                basename,  tail  =  os.path.splitext(ext_filename)
+                                newname  =  basename  +  "_failed"  +  tail
+                                if  os.path.exists(newname):
+                                        os.remove(newname)
+                                os.rename(ext_filename,  newname)
+
+                                #  XXX  --  This  relies  on  a  Vile  HACK  in
+                                #  distutils.command.build_ext.build_extension().    The
+                                #  _built_objects  attribute  is  stored  there  strictly  for
+                                #  use  here.
+                                #  If  there  is  a  failure,  _built_objects  may  not  be  there,
+                                #  so  catch  the  AttributeError  and  move  on.
+                                try:
+                                        for  filename  in  self._built_objects:
+                                                os.remove(filename)
+                                except  AttributeError:
+                                        self.announce('unable  to  remove  files  (ignored)')
                  except:
                          exc_type,  why,  tb  =  sys.exc_info()
                          self.announce('***  WARNING:  importing  extension  "%s"  '
File: lang/ruby/Makefile
base-0 patch-1
Line 1Line 1
GARNAME  =  ruby
GARNAME  =  ruby
GARVERSION  =  1.6.7
GARVERSION  =  1.6.8
CATEGORIES  =  lang
MASTER_SITES  =  ftp://ftp.ruby-lang.org/pub/ruby/stable/
#MASTER_SITES  +=  ftp://fearless.ece.vill.edu/pub/ruby/1.6/
CATEGORIES  =  lang
MASTER_SITES  =  ftp://ftp.ruby-lang.org/pub/ruby/stable/
#MASTER_SITES  +=  ftp://fearless.ece.vill.edu/pub/ruby/1.6/
Line 8Line 8
LICENSE  =  GPL/Ruby
Ruby_LICENSE_TEXT  =  $(WORKSRC)/LEGAL

LICENSE  =  GPL/Ruby
Ruby_LICENSE_TEXT  =  $(WORKSRC)/LEGAL

LIBDEPS  =  devel/glibc  lib/ncurses


DESCRIPTION  =  Ruby  OOP  scripting  language
define  BLURB
  #XXX:  nwall  package  blurb  goes  here.
endef

DESCRIPTION  =  Ruby  OOP  scripting  language
define  BLURB
  #XXX:  nwall  package  blurb  goes  here.
endef


LIBDEPS  =  lib/ncurses

CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile
File: lang/ruby/checksums
base-0 patch-1
Line 1Line 1
4213d723911ce346717d60256fa925e1    download/ruby-1.6.7.tar.gz
9fe13ab5af9a4166c28e095552c06e5b    download/gar-base.diff
bf48d49dbd94b5c0eda5f75b3bfbac16    download/ruby-1.6.8.tar.gz
e0bf785e2612c2612e2a01ba35dabe9e    download/gar-base.diff
File: lang/ruby/files/gar-base.diff
base-0 patch-1
Line 1Line 1
diff  -Nru  tmp/ruby-1.6.7/configure  work/ruby-1.6.7/configure
---  tmp/ruby-1.6.7/configure        Sun  Jun  17  08:44:32  2001
+++  work/ruby-1.6.7/configure        Tue  May  14  00:15:24  2002
diff  -Nru  tmp/ruby-1.6.8/configure  work/ruby-1.6.7/configure
---  tmp/ruby-1.6.8/configure        Sun  Jun  17  08:44:32  2001
+++  work/ruby-1.6.8/configure        Tue  May  14  00:15:24  2002
Line Line
                          rb_cv_dlopen=yes  ;;
          osf*)                  LDSHARED="$CC  -shared"
                          rb_cv_dlopen=yes  ;;
          osf*)                  LDSHARED="$CC  -shared"
File: lib/db/Makefile
base-0 patch-1
Line 1Line 1
GARNAME  =  db
GARVERSION  =  4.1.24
CATEGORIES  =  lib
GARNAME  =  db
GARVERSION  =  4.1.24
CATEGORIES  =  lib
MAINTAINER  =  ascott@tathata.org
MAINTAINER  =  Nate  Riffe  <inkblot@movealong.org>
DESCRIPTION  =  Sleepycat  Software\'s  Berkeley  DB
LICENSE  =  Sleepycat
Sleepycat_LICENSE_TEXT  =  $(WORKSRC)/LICENSE
DESCRIPTION  =  Sleepycat  Software\'s  Berkeley  DB
LICENSE  =  Sleepycat
Sleepycat_LICENSE_TEXT  =  $(WORKSRC)/LICENSE
Line 11Line 11
    and  mission-critical  database  support  to  software  developers.
endef

    and  mission-critical  database  support  to  software  developers.
endef

LIBDEPS  =  devel/glibc


MASTER_SITES  =  http://www.sleepycat.com/update/snapshot/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz 

CONFIGURE_SCRIPTS  =  $(WORKSRC)/dist/configure
MASTER_SITES  =  http://www.sleepycat.com/update/snapshot/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz 

CONFIGURE_SCRIPTS  =  $(WORKSRC)/dist/configure
CONFIGURE_ARGS  =  $(DIRPATHS)  --enable-compat185  --enable-static  --with-gnu-ld  --enable-shared 
CONFIGURE_ARGS  =  $(DIRPATHS)  --build=$(GARBUILD)  --host=$(GARHOST)  --enable-compat185  --enable-static  --with-gnu-ld  --enable-shared 
BUILD_SCRIPTS  =  $(WORKSRC)/dist/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/dist/Makefile
BUILD_SCRIPTS  =  $(WORKSRC)/dist/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/dist/Makefile
File: lib/expat/Makefile
base-0 patch-1
Line 1Line 1
GARNAME  =  expat
GARNAME  =  expat
GARVERSION  =  1.95.5
GARVERSION  =  1.95.6
CATEGORIES  =  lib
MASTER_SITES  =  http://unc.dl.sourceforge.net/sourceforge/expat/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz
CATEGORIES  =  lib
MASTER_SITES  =  http://unc.dl.sourceforge.net/sourceforge/expat/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz
Line 14Line 14
  C  library  for  parsing  XML.
endef

  C  library  for  parsing  XML.
endef

LIBDEPS  =  devel/glibc


CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile

CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile

CONFIGURE_ARGS  =  $(DIRPATHS)
CONFIGURE_ARGS  =  $(DIRPATHS)  --build=$(GARBUILD)  --host=$(GARHOST)

BUILD_ARGS  =  CFLAGS='$$(INCLUDES)  $(CFLAGS)'
INSTALL_OVERRIDE_DIRS  =  prefix  exec_prefix  bindir  libdir  includedir  mandir 

INSTALL_OVERRIDE_DIRS  =  prefix  exec_prefix  bindir  libdir  includedir  mandir 

File: lib/expat/checksums
base-0 patch-1
Line Line 1
6500d7d8c6c2c985cc0be257c9840cb4    download/expat-1.95.5.tar.gz
ca78d94e83e9f077b5da2bfe28ba986a    download/expat-1.95.6.tar.gz
File: lib/gdk-pixbuf/Makefile
base-0 patch-1
Line 4Line 4
MASTER_SITES  +=  ftp://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/0.22/ 
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz
PATCHFILES  = 
MASTER_SITES  +=  ftp://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/0.22/ 
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz
PATCHFILES  = 
#  put  your  e-mail  address  in  here,  as  in:          Foo  Bar  <foo@bar.com>

MAINTAINER  =  HEATHER  STERN  <star@starshine.org>
MAINTAINER  =  HEATHER  STERN  <star@starshine.org>
#  GPL,  GPL2,  BSD,  MIT,  etc.  Or  add  the  URL  to  any  custom  license

LICENSE  =  GPL

DESCRIPTION  =  GDK-pixbuf  helps  image  rendering  under  GTK. 
LICENSE  =  GPL

DESCRIPTION  =  GDK-pixbuf  helps  image  rendering  under  GTK. 
Line 15Line 13
    under  GTK.
endef

    under  GTK.
endef

#  Dependencies  are  of  the  form  categorydir/packagedir
#  LIBDEPS  are  for  libraries,  and  DEPENDS  are  for  everything  else

LIBDEPS  =  lib/gtk+  lib/libjpeg  lib/libpng    lib/zlib
LIBDEPS  =  lib/gtk+  lib/libjpeg  lib/libpng    lib/zlib
DEPENDS  =
#  Builddeps  are  installed  in  the  build  DESTIMG
BUILDDEPS  =


CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile

CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile

CONFIGURE_ARGS  =  $(DIRPATHS)  --enable-shared=yes  --disable-gtk-doc  --disable-mmx  --without-html-dir 
#CONFIGURE_ARGS  =  $(DIRPATHS)  --disable-xim  --with-xinput=no  --with-glib-prefix=$(DESTDIR)$(prefix)  --x-includes=$(DESTDIR)$(includedir)  --x-libraries=$(DESTDIR)$(libdir)
NODIRPATHS  = 

CONFIGURE_ARGS  =  $(DIRPATHS)  --enable-shared=yes  --disable-gtk-doc  --disable-mmx  --without-html-dir  --x-includes=$(DESSTDIR)$(includedir)  --x-libraries=$(DESTDIR)$(libdir)
#  If  some  dirs  are  trying  to  install  into  /,  list  their  names
#  here,  such  as:  prefix  bindir  mandir
INSTALL_OVERRIDE_DIRS  = 

#  This  should  go  before  any  hand-made  rules.

include  ../../gar.mk
include  ../../gar.mk
#pre-everything:  n/a

File: lib/gtk+/Makefile
base-0 patch-1
Line 15Line 15
  written  in  C  with  a  very  object-oriented  approach.
endef

  written  in  C  with  a  very  object-oriented  approach.
endef

LIBDEPS  =  devel/glibc  devel/glib  X11/XFree86
SOURCE_LANGUAGES  =  c
LIBDEPS  =  devel/glib  X11/XFree86
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
CONFIGURE_ARGS  =  $(DIRPATHS)  --disable-xim  --with-xinput=no  --with-glib-prefix=$(DESTDIR)$(prefix)  --x-includes=$(DESTDIR)$(includedir)  --x-libraries=$(DESTDIR)$(libdir)
#  There  is  also  a  --disable-xim  option,  but  phoenix  has  no  matching  option,  and
#  requires  a  patch  to  build  against  a  GTK+  without  XIM.
CONFIGURE_ARGS  =  $(DIRPATHS)  --build=$(GARBUILD)  --host=$(GARHOST)  --with-xinput=no  --with-glib-prefix=$(DESTDIR)$(prefix)  --x-includes=$(DESTDIR)$(includedir)  --x-libraries=$(DESTDIR)$(libdir)  --disable-glibtest
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile

BUILD_SCRIPTS  =  $(WORKSRC)/Makefile

File: lib/libgcc/Makefile
base-0 patch-1
Line 9Line 9
  The  libgcc  package  provides  the  libgcc  library  used  by  all  GCC-compiled  programs
endef

  The  libgcc  package  provides  the  libgcc  library  used  by  all  GCC-compiled  programs
endef

DEPENDS  =  devel/gcc-primitives


INSTALL_SCRIPTS  =  slurp-cross-compiler

GAR_EXTRA_CONF  +=  devel/gcc/package-api.mk
INSTALL_SCRIPTS  =  slurp-cross-compiler

GAR_EXTRA_CONF  +=  devel/gcc/package-api.mk
File: lib/libjpeg/Makefile
base-0 patch-1
Line 18Line 18
or  line  drawings.    JPEG  handles  only  still  images,  but  there  is  a  related
standard  called  MPEG  for  motion  pictures.
endef
or  line  drawings.    JPEG  handles  only  still  images,  but  there  is  a  related
standard  called  MPEG  for  motion  pictures.
endef
WORKSRC=$(WORKDIR)/jpeg-$(GARVERSION)
#  Dependencies  are  of  the  form  categorydir/packagedir
#  LIBDEPS  are  for  libraries,  and  DEPENDS  are  for  everything  else
LIBDEPS  =  devel/glibc
DEPENDS  =
#  Builddeps  are  installed  in  $(BUILD_PREFIX)  in  their  entirety
BUILDDEPS  =


WORKSRC=$(WORKDIR)/jpeg-$(GARVERSION)
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
File: lib/libnet/Makefile
base-0 patch-1
Line 29Line 29
#  I  have  no  idea  why  the  name  is  capitalized  only  when  extracted.
WORKSRC  =  $(WORKDIR)/Libnet-$(GARVERSION)

#  I  have  no  idea  why  the  name  is  capitalized  only  when  extracted.
WORKSRC  =  $(WORKDIR)/Libnet-$(GARVERSION)

LIBDEPS  =  devel/glibc  lib/libpcap
LIBDEPS  =  lib/libpcap
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
CONFIGURE_ARGS  =  $(DIRPATHS) 
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
CONFIGURE_ARGS  =  $(DIRPATHS) 
File: lib/libpcap/Makefile
base-0 patch-1
Line 12Line 12
    A  system-independent  interface  for  user-level  network  packet  capture.
endef

    A  system-independent  interface  for  user-level  network  packet  capture.
endef

LIBDEPS  =  devel/glibc


CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile

CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile

CONFIGURE_ARGS  =  $(DIRPATHS)
CONFIGURE_ARGS  =  $(DIRPATHS)  --build=$(GARBUILD)  --host=$(GARHOST)
INSTALL_OVERRIDE_DIRS  =  prefix  exec_prefix  includedir  libdir  mandir 

INSTALL_OVERRIDE_DIRS  =  prefix  exec_prefix  includedir  libdir  mandir 

File: lib/libpng/Makefile
base-0 patch-1
Line 25Line 25
basis  alone.
endef

basis  alone.
endef

#  Dependencies  are  of  the  form  categorydir/packagedir
#  LIBDEPS  are  for  libraries,  and  DEPENDS  are  for  everything  else
LIBDEPS  =  devel/glibc  lib/zlib
DEPENDS  =
#  Builddeps  are  installed  in  $(BUILD_PREFIX)  in  their  entirety
BUILDDEPS  = 

LIBDEPS  =  lib/zlib
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
Line 48Line 42
#  This  should  go  before  any  hand-made  rules.
include  ../../gar.mk
#  This  should  go  before  any  hand-made  rules.
include  ../../gar.mk
post-extract:
        cp  $(WORKSRC)/scripts/makefile.linux  $(WORKSRC)/Makefile
post-extract:
        cp  $(WORKSRC)/scripts/makefile.linux  $(WORKSRC)/Makefile

        $(MAKECOOKIE)
File: lib/libstdc++/Makefile
base-0 patch-1
Line 10Line 10
  compiled  using  GCC
endef

  compiled  using  GCC
endef

DEPENDS  =  devel/gcc-primitives  lib/libgcc
SOURCE_LANGUAGES  =  c
INSTALL_SCRIPTS  =  slurp-cross-compiler

INSTALL_SCRIPTS  =  slurp-cross-compiler

File: lib/libwrap/Makefile
base-0 patch-1
Line 15Line 15
  A  library  for  TCP  connection  security.
endef

  A  library  for  TCP  connection  security.
endef

LIBDEPS  =  devel/glibc


#  CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  manifest
#  CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  manifest
File: lib/ncurses/Makefile
base-0 patch-1
Line 1Line 1
GARNAME  =  ncurses
GARNAME  =  ncurses
GARVERSION  =  5.2
GARVERSION  =  5.3
CATEGORIES  =  lib
CATEGORIES  =  lib

MAINTAINER  =  Nate  Riffe  <inkblot@movealong.org>
MASTER_SITES  =  ftp://ftp.gnu.org/gnu/ncurses/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz
MASTER_SITES  =  ftp://ftp.gnu.org/gnu/ncurses/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz

PATCHFILES  =  gar-base.diff
LICENSE  =  MIT

DESCRIPTION  =  Shared  libraries  for  terminal  handling
LICENSE  =  MIT

DESCRIPTION  =  Shared  libraries  for  terminal  handling
Line 11Line 13
  programs  compiled  with  ncurses.
endef

  programs  compiled  with  ncurses.
endef

LIBDEPS  =  devel/glibc


CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure

CONFIGURE_ENV  =  CXXCPP=$(CPP)
CONFIGURE_ARGS  =  $(DIRPATHS)  --build=$(GARBUILD)  --host=$(GARHOST)  --with-shared  --without-static  --without-debug  --enable-termcap  --without-ada  --without-ada-compiler  --enable-overwrite  $(if  $(filter  $(CROSS_COMPILING),yes),--with-build-cc=$(build_CC)  --with-build-cflags="$(build_CFLAGS)  -I../include"  --with-build-cppflags="$(build_CPPFLAGS)  -I../include"  --with-build-ldflags="$(build_LDFLAGS)",)

BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile

#  ncurses  won't  build  in  parallel
BUILD_ARGS  =  -j1
CONFIGURE_ARGS  =  $(DIRPATHS)  --disable-static  --with-shared  --enable-termcap  --without-cxx-binding  --without-ada  --without-ada-compiler
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile
include  ../../gar.mk

include  ../../gar.mk


CROSS_COMPILING  =  $(if  $(filter  $(GARBUILD),$(GARHOST)),no,yes)

post-install:
        cd  $(DESTDIR)$(libdir)  &&  ln  -sf  libncurses.so  libtermcap.so
post-install:
        cd  $(DESTDIR)$(libdir)  &&  ln  -sf  libncurses.so  libtermcap.so

        $(MAKECOOKIE)
File: lib/ncurses/checksums
base-0 patch-1
Line Line 1
464d6a49010cf2a6eb9ce59a264d4d47    download/ncurses-5.2.tar.gz
5dcc9faa93157eafa572494bffed131a    download/ncurses-5.3.tar.gz
64ca2a6f3edb4638c89908e62a0737fb    download/gar-base.diff
File: lib/nids/Makefile
base-0 patch-1
Line 14Line 14
MASTER_SITES  =  http://www.packetfactory.net/Projects/Libnids/dist/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz 

MASTER_SITES  =  http://www.packetfactory.net/Projects/Libnids/dist/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz 

LIBDEPS  =  devel/glibc  lib/libnet  lib/libpcap 
LIBDEPS  =  lib/libnet  lib/libpcap 
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure

CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure

File: lib/popt/Makefile
base-0 patch-1
Line 13Line 13
  You  can  use  multiple  lines  if  you  want.
endef

  You  can  use  multiple  lines  if  you  want.
endef

#  Dependencies  are  of  the  form  categorydir/packagedir
#  LIBDEPS  are  for  libraries,  and  DEPENDS  are  for  everything  else
LIBDEPS  =  devel/glibc
DEPENDS  =
#  Builddeps  are  installed  in  $(BUILD_PREFIX)  in  their  entirety

BUILDDEPS  =  utils/gettext

BUILDDEPS  =  utils/gettext

CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile
File: lib/pygtk/Makefile
base-0 patch-1
Line 15Line 15
have  to  do  normally  with  the  C  API.
endef

have  to  do  normally  with  the  C  API.
endef

#  Dependencies  are  of  the  form  categorydir/packagedir
#  LIBDEPS  are  for  libraries,  and  DEPENDS  are  for  everything  else
LIBDEPS  =  lib/gtk+  lang/python
DEPENDS  = 
#  Builddeps  are  installed  in  the  build  DESTIMG
BUILDDEPS  =
SOURCE_LANGUAGES  =  c  python
LIBDEPS  =  lib/gtk+
PYTHON  =  $(DESTDIR)$(bindir)/python
GTK_CONFIG  =  $(STAGINGDIR)/gtk+/gtk-config
PYTHON  =  $(DESTDIR)$(bindir)/python
GTK_CONFIG  =  $(STAGINGDIR)/gtk+/gtk-config
File: lib/uclibc/Makefile
base-0 patch-1
Line 1Line 1
GARNAME  =  uClibc
GARNAME  =  uClibc
GARVERSION  =  0.9.12
GARVERSION  =  $(UCLIBC_VERSION)
CATEGORIES  =  lib
MAINTAINER  =  Nate  Riffe  <inkblot@movealong.org>
MASTER_SITES  =  http://www.uclibc.org/downloads/
CATEGORIES  =  lib
MAINTAINER  =  Nate  Riffe  <inkblot@movealong.org>
MASTER_SITES  =  http://www.uclibc.org/downloads/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.bz2
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.bz2  i386-lnxbbc-linux-config  powerpc-lnxbbc-linux-config
PATCHFILES  = 
LICENSE  =  LGPL2

PATCHFILES  = 
LICENSE  =  LGPL2

Line 31Line 31
endef

#  Dependencies  are  of  the  form  categorydir/packagedir
endef

#  Dependencies  are  of  the  form  categorydir/packagedir
LIBDEPS  =

DEPENDS  =  kernel/linux-headers
DEPENDS  =  kernel/linux-headers
BUILDDEPS  =

#  CONFIGURE_SCRIPTS  =  $(WORKSRC)/Config
CONFIGURE_SCRIPTS  =  $(WORKSRC)/Makefile
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile

BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile

BUILD_ENV  =  KERNEL_SOURCE="$(KERNEL_SOURCEDIR)"  TARGET_ARCH="$(GARCH)"
CONFIGURE_ARGS  =  oldconfig

BUILD_ENV  =  TARGET_ARCH="$(ALTGARCH)"
BUILD_ARGS  =  -j1  CC="$(CC)"  LD="$(LD)"

BUILD_ARGS  =  -j1  CC="$(CC)"  LD="$(LD)"

INSTALL_ENV  =  KERNEL_SOURCE="$(KERNEL_SOURCEDIR)"  TARGET_ARCH="$(GARCH)"
INSTALL_ENV  =  TARGET_ARCH="$(ALTGARCH)"
#  This  should  go  before  any  hand-made  rules.
GAR_EXTRA_CONF  +=  kernel/linux/package-api.mk
include  ../../gar.mk

#  This  should  go  before  any  hand-made  rules.
GAR_EXTRA_CONF  +=  kernel/linux/package-api.mk
include  ../../gar.mk

pre-configure:
        @  if  test  !  -L  $(WORKSRC)/Config;  then  echo  "Linking  config."  &&  ln  -sf  extra/Configs/Config.$(GARCH)  $(WORKSRC)/Config;  else  echo  "Config  already  linked.";  fi
        @  echo  "DEVEL_PREFIX  =  $(DESTDIR)$(prefix)/$(GARCH)-linux-uclibc"  >>  $(WORKSRC)/Config
        @  echo  "SYSTEM_DEVEL_PREFIX  =  $(DESTDIR)$(prefix)/$(GARCH)-linux-uclibc"  >>  $(WORKSRC)/Config
        @  echo  "KERNEL_SOURCE  =  $(KERNEL_SOURCEDIR)"  >>  $(WORKSRC)/Config
        @  echo  "TARGET_ARCH  =  $(GARCH)"  >>  $(WORKSRC)/Config
extract-$(GARHOST)-config:
        cat  $(patsubst  extract-%,$(DOWNLOADDIR)/%,$@)  |\
        sed  's,@KERNEL_SOURCE@,$(KERNEL_SOURCEDIR),'  |\
        sed  's,@TOOLDIR@,$(build_prefix)/$(ALTGARCH)-linux-uclibc,'  \
        >  $(EXTRACTDIR)/$(DISTNAME)/.config
        $(MAKECOOKIE)
File: lib/uclibc/checksums
base-0 patch-1
Line Line 1
d6407e30d29fa70bf164cea2c7064e64    download/uClibc-0.9.12.tar.bz2
ea78e9fbff9377996a31d54832aec3b8    download/uClibc-0.9.20.tar.bz2
b472b2f07a0c7da0e50787349c86935f    download/i386-lnxbbc-linux-config
821a3260b0d088adf6e513a3fa1e3655    download/powerpc-lnxbbc-linux-config
File: lib/xml2/Makefile
base-0 patch-1
Line 1Line 1
GARNAME  =  libxml2
GARNAME  =  libxml2
GARVERSION  =  2.5
CATEGORIES  = 
MASTER_SITES  =  ftp://ftp.gnome.org/pub/gnome/sources/$(GARNAME)/$(GARVERSION)/
DISTNAME  =  $(GARNAME)-$(GARVERSION).3
DISTFILES  =  $(DISTNAME).tar.gz
GARVERSION  =  2.5.11
CATEGORIES  =  lib
MASTER_SITES  =  ftp://ftp.gnome.org/pub/gnome/sources/libxml2/2.5/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz
PATCHFILES  = 
#  put  your  e-mail  address  in  here,  as  in:          Foo  Bar  <foo@bar.com>
MAINTAINER  =  Nick  Moffitt  <nick@zork.net>
PATCHFILES  = 
#  put  your  e-mail  address  in  here,  as  in:          Foo  Bar  <foo@bar.com>
MAINTAINER  =  Nick  Moffitt  <nick@zork.net>
File: lib/xml2/checksums
base-0 patch-1
Line Line 1
098a2ae0cac6e8a867f42333b95312d1    download/libxml2-2.5.3.tar.gz
560bcab5812d3d544a58368574c9f17b    download/libxml2-2.5.11.tar.gz
File: lib/zlib/Makefile
base-0 patch-1
Line 26Line 26
  compression. 
endef

  compression. 
endef

LIBDEPS  =  devel/glibc
SOURCE_LANGUAGES  =  c
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
CONFIGURE_ARGS  =  --shared
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
CONFIGURE_ARGS  =  --shared
File: math/bc/Makefile
base-0 patch-1
Line 10Line 10
  #XXX:  nwall  package  blurb  goes  here.
endef

  #XXX:  nwall  package  blurb  goes  here.
endef

LIBDEPS  =  devel/glibc


CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile
File: meta/bbc-contents/Makefile
base-0 patch-1
Line 10Line 10
  packages  which  distiguish  the  LNX-BBC  suite.
endef

  packages  which  distiguish  the  LNX-BBC  suite.
endef

DEPENDS  =  $(shell  grep  -v  ^\;  bbc-contents)
SOURCE_LANGUAGES  =
DEPENDS  =  $(shell  grep  -hv  ^\;  bbc-contents  $(GARCH)-contents  2>  /dev/null)
include  ../../gar.mk
include  ../../gar.mk
File: meta/bbc-contents/bbc-contents
base-0 patch-1
Line 5Line 5
archive/bzip2
archive/cabextract
archive/cpio
archive/bzip2
archive/cabextract
archive/cpio

archive/garpkg
archive/gzip
;  archive/lha  --  all  rights  reserved
archive/ncompress
archive/pax
;  archive/lha  --  all  rights  reserved
archive/ncompress
archive/pax

archive/tar
archive/unzip
archive/zip
archive/unzip
archive/zip

boot/sysvinit
crypto/gnupg
crypto/gnupg

crypto/openssl
;  devel/bison  --  dev  tool
;  devel/flex  --  dev  tool
;  devel/gcc  --  dev  tool
;  devel/bison  --  dev  tool
;  devel/flex  --  dev  tool
;  devel/gcc  --  dev  tool
Line 20Line 25
disk/cdrtools
disk/dumprestore
disk/fixdisktable
disk/cdrtools
disk/dumprestore
disk/fixdisktable
disk/gpart

disk/hdparm
disk/hdparm
disk/lilo

disk/lvm
disk/nbd
disk/lvm
disk/nbd
disk/parted

disk/raidtools
editors/bvi
disk/raidtools
editors/bvi
editors/biew

editors/ed
editors/fb
editors/hexcurse
editors/ed
editors/fb
editors/hexcurse
Line 38Line 39
editors/vim
;  editors/xxd  --  pending  license  clarification
fs/bmap
editors/vim
;  editors/xxd  --  pending  license  clarification
fs/bmap

fs/devfsd
fs/dosfstools
fs/e2fsprogs
fs/e2salvage
fs/ext2resize
fs/genromfs
fs/jfsutils
fs/dosfstools
fs/e2fsprogs
fs/e2salvage
fs/ext2resize
fs/genromfs
fs/jfsutils
fs/lde
;  fs/lde  --  broken  with  glibc  2.3
fs/mtools
fs/reiserfsprogs
fs/xfsprogs
fs/mtools
fs/reiserfsprogs
fs/xfsprogs
Line 56Line 58
;  games/tt  --  non-free!    Hefty  requirements  on  commercial  use
games/xkobo
kernel/device-list
;  games/tt  --  non-free!    Hefty  requirements  on  commercial  use
games/xkobo
kernel/device-list
kernel/discover
kernel/linux-image
kernel/linux-modules
kernel/modutils
;  kernel/monte  --  currently  not  working
lang/gawk
lang/perl
;  kernel/monte  --  currently  not  working
lang/gawk
lang/perl
Line 67Line 71
net/aps
net/arping
net/atftp
net/aps
net/arping
net/atftp
net/becker-ethernet-tools
;  net/becker-ethernet-tools  --  upstream  does  not  provide  a  versioned  file
net/bind
net/bittorrent
net/bridge-utils
net/bind
net/bittorrent
net/bridge-utils
Line 77Line 81
net/dhcpcd
net/dhcpd
;  net/dillo  --  we  use  mozilla  firebird  (phoenix)
net/dhcpcd
net/dhcpd
;  net/dillo  --  we  use  mozilla  firebird  (phoenix)
net/dsniff
;  net/dsniff  --  headers  issue
;  net/ethereal  --  garpkg
;  net/ettercap  --  garpkg
net/firehose
net/gkermit
;  net/ethereal  --  garpkg
;  net/ettercap  --  garpkg
net/firehose
net/gkermit
net/hping2
net/hping
net/httptunnel
net/hunt
net/httptunnel
net/hunt

net/ipcalc
net/iproute2
net/iproute2

net/iptables
net/iptraf
net/iputils
net/irssi
net/lftp
net/links
net/lrzsz
net/iptraf
net/iputils
net/irssi
net/lftp
net/links
net/lrzsz

net/lynx
net/minicom
net/minicom

net/mtr
net/ncftp
net/ncp
net/netcat
net/ncftp
net/ncp
net/netcat
Line 103Line 111
net/netkit-tftp
net/netpipes
net/netsed
net/netkit-tftp
net/netpipes
net/netsed

net/net-tools
net/ngrep
;  net/nmap  --  garpkg
;  net/nttcp  --  license  problem
net/ngrep
;  net/nmap  --  garpkg
;  net/nttcp  --  license  problem

net/openssh
net/p0f
net/p0f

net/pppd
net/portmap
net/phoenix
net/rdate
net/portmap
net/phoenix
net/rdate
Line 119Line 130
net/tcpdump
net/thttpd
net/traceroute
net/tcpdump
net/thttpd
net/traceroute
net/ttcp
;  net/ttcp  --  upstream  does  not  provide  a  versioned  file
net/udhcp
;  net/w3m  --  we  use  links
net/wavemon
net/udhcp
;  net/w3m  --  we  use  links
net/wavemon

net/wget
net/wireless-tools
net/whois
net/wireless-tools
net/whois

net/wvdial
net/vnc
net/vnc

shells/bash
shells/sash
shells/tcsh
sound/aumix
shells/sash
shells/tcsh
sound/aumix
Line 133Line 147
sound/vorbis-tools
special/accounts
special/bbc-provided
sound/vorbis-tools
special/accounts
special/bbc-provided

special/bbc-runlevels
special/documentation
;  special/keys
special/swap
special/documentation
;  special/keys
special/swap
system/hotplug

utils/binutils
utils/binutils
utils/bioswriter

;  utils/chntpw    --  non-commercial  only
;  utils/chntpw    --  non-commercial  only

utils/coreutils
;  utils/cvs  --  dev  tool
utils/dialog
utils/diffutils
;  utils/cvs  --  dev  tool
utils/dialog
utils/diffutils
Line 149Line 163
;  utils/glark  --  omitted  by  policy  ratified  21-Aug-2003
utils/gpm
utils/grep
;  utils/glark  --  omitted  by  policy  ratified  21-Aug-2003
utils/gpm
utils/grep
utils/isapnptools

utils/kbd
utils/lsof
;  utils/ltrace  --  waiting  for  a  lib/iberty  package
utils/kbd
utils/lsof
;  utils/ltrace  --  waiting  for  a  lib/iberty  package
Line 159Line 172
utils/mt-st
utils/par
utils/patch
utils/mt-st
utils/par
utils/patch

utils/pciutils
utils/procinfo
utils/procps
utils/psmisc
utils/pv
utils/readline
utils/regutils
utils/screen
utils/procps
utils/psmisc
utils/pv
utils/readline
utils/regutils
utils/screen

utils/setserial
utils/stat
utils/strace
utils/symlinks
utils/stat
utils/strace
utils/symlinks
utils/tct
;  utils/tct  --  broken  with  glibc  2.3
utils/termcap
utils/termcap

utils/util-linux
utils/which
utils/wipe
utils/which
utils/wipe
utils/x86info

File: meta/build-chroot/Makefile
base-0 patch-1
Line 11Line 11
  distributions.
endef

  distributions.
endef


SOURCE_LANGUAGES  =
IMGDEPS  =  build_chroot
build_chroot_DEPENDS  =  archive/bzip2  archive/gzip  archive/tar  archive/unzip  archive/zip  devel/bison  devel/flex  devel/make  devel/gcc  lang/gawk  lang/perl  lang/sed  net/wget  shells/bash  utils/binutils  utils/cvs  utils/diffutils  utils/fileutils  utils/findutils  utils/grep  utils/m4  utils/patch  utils/sh-utils  utils/textutils  utils/util-linux

IMGDEPS  =  build_chroot
build_chroot_DEPENDS  =  archive/bzip2  archive/gzip  archive/tar  archive/unzip  archive/zip  devel/bison  devel/flex  devel/make  devel/gcc  lang/gawk  lang/perl  lang/sed  net/wget  shells/bash  utils/binutils  utils/cvs  utils/diffutils  utils/fileutils  utils/findutils  utils/grep  utils/m4  utils/patch  utils/sh-utils  utils/textutils  utils/util-linux

File: meta/lnx-bbc/Makefile
base-0 patch-1
Line 1Line 1
GARNAME  =  lnx-bbc
GARNAME  =  lnx-bbc
GARVERSION  :=  $(shell  date  --iso-8601=seconds)
#GARVERSION  :=  2.0
DISTNAME  :=  $(GARNAME)-$(shell  date  --iso-8601)
#  LNX_VERSION,  which  is  the  LNX-BBC  version  number,  is  now  set  in
#  package-api.mk;  so  is  DISTNAME.    If  you're  doing  an  official  release,
#  you  need  to  look  there.    This  information  is  made  available  to  a
#  running  LNX  system  in  /etc/lnx-release.
GARVERSION  =  $(LNX_VERSION)
CATEGORIES  =  meta
#  MASTER_SITES  = 
CATEGORIES  =  meta
#  MASTER_SITES  = 
DISTFILES  =  autorun.inf  lnxbbc.htm  bbc.css  logo.png  hash_search.c
#DISTFILES  =  autorun.inf  lnxbbc.htm  bbc.css  logo.png
#  PATCHFILES  = 
MAINTAINER  =  Seth  Schoen  <schoen@loyalty.org>
LICENSE  =  GPL
#  PATCHFILES  = 
MAINTAINER  =  Seth  Schoen  <schoen@loyalty.org>
LICENSE  =  GPL
Line 16Line 18
  This  package  creates  an  iso9660  filesystem  image.
endef

  This  package  creates  an  iso9660  filesystem  image.
endef

LNX_FLAVOR  =  bbc

export  LNX_FLAVOR

#  Dependencies  are  of  the  form  categorydir/packagedir
#  LIBDEPS  are  for  libraries,  and  DEPENDS  are  for  everything  else
LIBDEPS  =  crypto/openssl
DEPENDS  =  meta/singularity  meta/lnx.img  special/rawrite2  special/rawwritewin  special/archivers-msdos  special/docopen  special/putty

BUILDDEPS  =  devel/ccache  disk/cdrtools
SOURCE_LANGUAGES  =
DEPENDS  =  meta/$(singularity_GARCH)-livecd
BUILDDEPS  =  devel/ccache  #disk/cdrtools
#  CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  custom
#  INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile

#  Singularity  pruning
#  CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  custom
#  INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile

#  Singularity  pruning
#singularity_PRUNE_PATHS  +=  $(docdir)  ;uncomment  to  remove  the  lnx-bbc  README's
#singularity_PRUNE_PATHS  +=  $(docdir)  ;uncomment  to  remove  the  lnx-bbc  READMEs
singularity_PRUNE_PATHS  +=  $(infodir)
singularity_PRUNE_PATHS  +=  $(includedir)
singularity_PRUNE_PATHS  +=  $(sourcedir)
singularity_PRUNE_PATHS  +=  $(infodir)
singularity_PRUNE_PATHS  +=  $(includedir)
singularity_PRUNE_PATHS  +=  $(sourcedir)
Line 40Line 35
singularity_PRUNE_PATHS  +=  /usr
singularity_PRUNE_PATHS  +=  /boot/bzImage

singularity_PRUNE_PATHS  +=  /usr
singularity_PRUNE_PATHS  +=  /boot/bzImage

#  FIXME:  Not  sure  if  this  is  the  correct  place  for  this.    -NickM
singularity_PRUNE_PATHS  +=  $(libdir)/mozilla-*/res/samples


singularity_PRUNE_SCRIPTS  +=  strip
singularity_PRUNE_SCRIPTS  +=  terminfo
singularity_PRUNE_SCRIPTS  +=  xemacs-packages
singularity_PRUNE_SCRIPTS  +=  strip
singularity_PRUNE_SCRIPTS  +=  terminfo
singularity_PRUNE_SCRIPTS  +=  xemacs-packages
Line 53Line 45
singularity_PRUNE_SCRIPTS  +=  devel
singularity_PRUNE_SCRIPTS  +=  superfluous-binaries

singularity_PRUNE_SCRIPTS  +=  devel
singularity_PRUNE_SCRIPTS  +=  superfluous-binaries

export  singularity_PRUNE_PATHS  singularity_PRUNE_SCRIPTS
singularity_FORMAT  =  cloop

export  singularity_PRUNE_PATHS  singularity_PRUNE_SCRIPTS  singularity_FORMAT
#  This  should  go  before  any  hand-made  rules.
include  ../../gar.mk

pre-everything:
#  This  should  go  before  any  hand-made  rules.
include  ../../gar.mk

pre-everything:
        @echo  "Building  BBC  image  bbc-$(GARVERSION).iso."
        @echo  -e  "$(CLEAR)$(BLUEBG)$(BOLD)$(WHITE)Building  LNX  image  $(YELLOW)$(GARNAME)-$(singularity_GARCH)-$(GARVERSION).iso.$(NORMALCOLOR)"
MEDIA  =  cdrom

MEDIA  =  cdrom

$(WORKDIR)/hash_search:  $(WORKDIR)/hash_search.c
        $(CC)  -O9  -o  $(WORKDIR)/hash_search  $(WORKDIR)/hash_search.c  -lcrypto

build-custom:  $(WORKDIR)/hash_search
        mkdir  -p  $(WORKDIR)/$(MEDIA)
        #  for  Nick's  experiment
        mkdir  -p  $(WORKDIR)/$(MEDIA)/mnt
        #  for  Nate's  experiment
        mkdir  -p  $(WORKDIR)/$(MEDIA)/dev
        mkdir  -p  $(WORKDIR)/$(MEDIA)/mnt/initrd
        mkdir  -p  $(WORKDIR)/$(MEDIA)/mnt/cloop
        cp  $(DESTDIR)/lnx.img  $(WORKDIR)/$(MEDIA)
        cp  $(DESTDIR)/singularity  $(WORKDIR)/$(MEDIA)
        cp  $(lnximg_DESTDIR)/boot/cloop.o  $(WORKDIR)/$(MEDIA)
        cp  ../../CREDITS  $(WORKDIR)/$(MEDIA)
        mkdir  -p  $(WORKDIR)/$(MEDIA)/rawrite
        mkdir  -p  $(WORKDIR)/$(MEDIA)/archivers
        mkdir  -p  $(WORKDIR)/$(MEDIA)/putty
        install  $(DESTDIR)$(bindir)/RAWRITE2.EXE  $(WORKDIR)/$(MEDIA)/rawrite
        install  $(DESTDIR)$(bindir)/rawwritewin.exe  $(DESTDIR)$(bindir)/diskio.dll  $(WORKDIR)/$(MEDIA)/rawrite
        install  $(DESTDIR)$(bindir)/gzip.exe  $(DESTDIR)$(bindir)/tar.exe  $(WORKDIR)/$(MEDIA)/archivers
        install  $(DESTDIR)$(bindir)/putty.exe  $(DESTDIR)$(bindir)/pscp.exe  $(WORKDIR)/$(MEDIA)/putty
        install  $(DESTDIR)$(bindir)/docopen.exe  $(WORKDIR)/$(MEDIA)
        install  -m  644  $(DOWNLOADDIR)/autorun.inf  $(DOWNLOADDIR)/lnxbbc.htm  $(DOWNLOADDIR)/bbc.css  $(DOWNLOADDIR)/logo.png  $(WORKDIR)/$(MEDIA)
        mkisofs  -v  -d  -N  -D  -R  -T  -c  boot.catalog  -b  lnx.img  -A  "Linux"  -V  "LNX-BBC"  -P  "version_$(GARVERSION)"  -o  $(WORKDIR)/bbc-STABLE-$(GARVERSION).iso  $(WORKDIR)/$(MEDIA)
        #  hack  MD5  hash  of  resulting  image  to  begin  with  "bbcbbc"
        #  (when  built  with  make_matching=1,  hash_search  will  output  the
        #  unmodified  original  file  if  it  is  unable  to  find  a  match)
        #  For  an  official  release,  change  this  to  (e.g.)  "bbc210"
        #  The  next  three  lines  are  purely  cosmetic  and  don't  do  anything  useful!
        echo  Trying  to  hack  MD5  hash  of  resulting  image...
        $(WORKDIR)/hash_search  bbcbbc  28  <  $(WORKDIR)/bbc-STABLE-$(GARVERSION).iso  >  $(WORKDIR)/bbc-STABLE-$(GARVERSION).iso.hash
        mv  $(WORKDIR)/bbc-STABLE-$(GARVERSION).iso.hash  $(WORKDIR)/bbc-STABLE-$(GARVERSION).iso
build-custom:
        cp  $(STAGINGDIR)/$(singularity_GARCH)-livecd/$(singularity_GARCH)-livecd.iso  $(WORKDIR)/$(GARNAME)-$(singularity_GARCH)-$(GARVERSION).iso
        $(MAKECOOKIE)

super-clean:
        $(MAKECOOKIE)

super-clean:
File: meta/lnx-bbc/checksums
base-0 patch-1
Line 2Line 2
08290880436521e268cac9827ab24cd1    download/lnxbbc.htm
dc5f2723f895e3252413f53fd3a8c19b    download/bbc.css
90dc3e5ccc58f22edd79c78459ff5571    download/logo.png
08290880436521e268cac9827ab24cd1    download/lnxbbc.htm
dc5f2723f895e3252413f53fd3a8c19b    download/bbc.css
90dc3e5ccc58f22edd79c78459ff5571    download/logo.png
2543dc72245352f046221daee6ce8615    download/hash_search.c

File: meta/lnx-bbc/files/hash_search.c
base-0 patch-1
Line 1Line 0
/*  hash_search.c:  partially  reverse  MD5  hashes  by  finding  bytes  to  add
  *  to  an  existing  file  so  that  its  MD5  hash  begin  with  a  specified  prefix
  *
  *  link  with  -lcrypto      (use  libcrypto,  supplied  by  OpenSSL)
  * 
  *  Copyright  (C)  2003,  Seth  Schoen
  *
  *  Permission  is  granted  to  any  person  obtaining  a  copy  of  this  program
  *  to  deal  in  the  program  without  restriction.
  *
  *  Thanks  to  Zack  Brown  for  suggesting  the  proper  strategy  for  searching
  *  (copying  the  md5  context  data  for  re-use);  thanks  to  Jef  Pearlman  for
  *  suggesting  linking  against  OpenSSL.
  *
  *  Thanks  to  Aaron  Swartz  for  testing  on  ppc.    Seemingly  endian-safe.  */

#include  <openssl/md5.h>
#include  <fcntl.h>
#include  <stdio.h>
#include  <string.h>
#include  <sys/stat.h>
#include  <sys/types.h>
#include  <unistd.h>

/*  block  size  for  file  reads  */
#define  SIZE  16384

#define  SAVE_STATE  memcpy(dup_md5_state,  md5_state,  sizeof(MD5_CTX))
#define  RESTORE_STATE  memcpy(md5_state,  dup_md5_state,  sizeof(MD5_CTX))

/*  This  should  be  a  command-line  option.    If  make_matching  is  1,  the
  *  program  outputs  a  matching  file  on  stdout.    If  make_matching  is  0,
  *  the  program  instead  outputs  a  list  of  potential  matches  (mainly  useful
  *  for  speed  testing  or  debugging).  */
#define  make_matching  1

void  print_result(FILE  *f,  unsigned  char  *result){
        int  i;

        for  (i  =  0;  i  <  16;  i++)  fprintf(f,  "%02x",  result[i]);
}

size_t  reliable_write(int  fd,  void  *buf,  size_t  count){
        size_t  orig  =  count;
        size_t  temp;

        while  (count)  {
                temp  =  write(fd,  buf,  count);
                if  (count  -  temp){
                        buf  +=  temp;
                }
                count  -=  temp;
        }

        return  orig;
}

int  get_value(int  argc,  char  *argv[],  unsigned  char  *s){
        int  n  =  0;
        unsigned  int  blah;  /*  %x  conversion  requires  int  */

        while  (  n  <  strlen(argv[1])  )  {
                sscanf(argv[1]  +  n,  "%2x",  &blah);
                s[n/2]  =  (char)  blah  ;
                n  +=  2;
        };

        /*  single  hex  digit  if  total  hex  digits  is  odd  */
        if  (strlen(argv[1])  %  2){
                s[(n-2)/2]  <<=  4;
        }

        return  4  *  strlen(argv[1]);

}

int  main(int  argc,  char  *argv[]){

        char  *s;
        int  *new_byte;
        int  L,  bits,  count,  i;
        unsigned  long  MAX_SEARCH;
        char  buf[SIZE];
        char  result[16];
        MD5_CTX  *md5_state,  *dup_md5_state;
        ssize_t  n;

        if  (argc  <  2){
                fprintf(stderr,  "usage:  %s  hexdigits  [bits]\n",  argv[0]);
                exit(1);
        }

        L  =  strlen(argv[1]);

        /*  find  out  what  we're  searching  for  */
        s  =  (char  *)malloc((L+1)/2+1);
        bits  =  get_value(argc,  argv,  s);

        /*  and  see  how  long  to  search  */
        if  (argc  >  2)  {
                MAX_SEARCH  =  (1  <<  atol(argv[2]))  -  1;
        }
        else  {
                MAX_SEARCH  =  256*256*256;
        }

        /*  allocate  memory  for  hash  state  */
        md5_state  =  (MD5_CTX  *)malloc(sizeof(MD5_CTX));
        dup_md5_state  =  (MD5_CTX  *)malloc(sizeof(MD5_CTX));
        new_byte  =  (int  *)malloc(sizeof(int));

        /*  initialize  hash  */
        MD5_Init(md5_state);

        /*  hash  the  existing  file  */
        fprintf(stderr,  "reading  file  to  hash  from  stdin...");
        if  (isatty(0)){
                fprintf(stderr,  "\n");
                while  (n  =  read(0,  buf,  SIZE))  {
                        MD5_Update(md5_state,  buf,  n);
                        if  (make_matching)  reliable_write(1,  buf,  n);
                }
        }  else  {
                while  (n  =  read(0,  buf,  SIZE))  {
                        MD5_Update(md5_state,  buf,  n);
                        if  (make_matching)  reliable_write(1,  buf,  n);
                        /*  progress  indicator  */
                        if  (!((count++)%256))  fprintf(stderr,  ".");
                }
                fprintf(stderr,  "\n");
        }

        /*  announce  the  start  of  the  search  */
        fprintf(stderr,  "beginning  search  (original  hash  =  ");
        SAVE_STATE;
        MD5_Final(result,  md5_state);
        print_result(stderr,  result);
        RESTORE_STATE;
        fprintf(stderr,  ")\nsearching  0  to  0x%x  ...  ",  MAX_SEARCH);

        /*  do  the  search  */
        /*  (It  would  be  good  to  extend  this  to  allow  searches  of
          *  more  than  32  bits.    Maybe  a  long  long,  which  is  still
          *  at  the  high  end  of  distributed  computing  brute  force
          *  searches?)  */
        for  (*new_byte=0;  *new_byte<MAX_SEARCH;  (*new_byte)++){
                SAVE_STATE;

                MD5_Update(md5_state,  (char  *)new_byte,  sizeof(int));
                MD5_Final(result,  md5_state);
                if  (!memcmp(result,  s,  bits/8))  {
                        /*  just  one  last  nibble?  */
                        if  ((bits%8  ==  0)  ||  ((result[bits/8]  &  0xf0)  ==  (s[bits/8]  &  0xf0))){
                        if  (make_matching)  {
                                /*  goal  is  to  output  an  actual  matching  file  */
                                fprintf(stderr,  "found  match!\n");
                                fprintf(stderr,  "new  hash  is  ");
                                print_result(stderr,  result);
                                fprintf(stderr,  "\n");
                                reliable_write(1,  new_byte,  4);
                                close(1);
                                exit(0);
                        }  else  {
                                /*  goal  is  to  display  all  possible  matches  */
                                print_result(stdout,  result);
                                fprintf(stdout,  "  bytes  %08x\n",  *new_byte);
                        }
                        }
                }

                RESTORE_STATE;
        }

        /*  free  memory  */
        free(md5_state);  free(dup_md5_state);  free(s);

        if  (make_matching)  fprintf(stderr,  "no  match  found.\n");
        /*  if  the  goal  was  to  output  a  matching  file,  then  fail  if  we  got
          *  here  (because  we  would  have  exited  above  if  we  had  succeeded  */
        return  make_matching;
}

File: meta/lnx-pen/pen-contents
base-0 patch-1
Line 72Line 72
net/ettercap
net/firehose
net/gkermit
net/ettercap
net/firehose
net/gkermit
net/hping2
net/hping
net/httptunnel
net/irssi
net/lftp
net/httptunnel
net/irssi
net/lftp
File: meta/lnx.img/Makefile
base-0 patch-1
Line 17Line 17
WORKSRC  =  $(WORKDIR)

WORKSRC  =  $(WORKDIR)

#  Dependencies  are  of  the  form  categorydir/packagedir
SOURCE_LANGUAGES  =
LIBDEPS  =
BUILDDEPS  =  fs/dosfstools  fs/mtools

LIBDEPS  =
BUILDDEPS  =  fs/dosfstools  fs/mtools

File: meta/lnx.img/lnx.img.conf.mk
base-0 patch-1
Line 3Line 3
lnximg_GARCH  =  $(singularity_GARCH)
lnximg_GARHOST  =  $(singularity_GARHOST)

lnximg_GARCH  =  $(singularity_GARCH)
lnximg_GARHOST  =  $(singularity_GARHOST)


lnximg_LIBC  =  lib/uclibc

lnximg_prefix  =  /
lnximg_exec_prefix  =  $(lnximg_prefix)
lnximg_bindir  =  $(lnximg_exec_prefix)/bin
lnximg_prefix  =  /
lnximg_exec_prefix  =  $(lnximg_prefix)
lnximg_bindir  =  $(lnximg_exec_prefix)/bin
Line 21Line 23
lnximg_sourcedir  =  $(lnximg_prefix)/src
lnximg_licensedir  =  $(lnximg_prefix)/licenses

lnximg_sourcedir  =  $(lnximg_prefix)/src
lnximg_licensedir  =  $(lnximg_prefix)/licenses

lnximg_CC  =  $(singularity_CC)
lnximg_CXX  =  $(singularity_CXX)
lnximg_LD  =  $(singularity_LD)
lnximg_CC  ?=  $(build_prefix)/$(ALTGARCH)-linux-uclibc/bin/$(ALTGARCH)-uclibc-gcc
lnximg_CXX  =  false  #$(singularity_CXX)
lnximg_LD  ?=  $(build_prefix)/$(ALTGARCH)-linux-uclibc/bin/$(ALTGARCH)-uclibc-ld
lnximg_RANLIB  =  $(singularity_RANLIB)
lnximg_CPP  =  $(singularity_CPP)
lnximg_AS  =  $(singularity_AS)
lnximg_AR  =  $(singularity_AR)

lnximg_RANLIB  =  $(singularity_RANLIB)
lnximg_CPP  =  $(singularity_CPP)
lnximg_AS  =  $(singularity_AS)
lnximg_AR  =  $(singularity_AR)

lnximg_CPPFLAGS  =  $(singularity_CPPFLAGS)
lnximg_CFLAGS  =  $(singularity_CFLAGS)
lnximg_LDFLAGS  =  $(singularity_LDFLAGS)
lnximg_CPPFLAGS  =  -I$(build_prefix)/$(ALTGARCH)-linux-uclibc/include
lnximg_CFLAGS  =  -static  -I$(build_prefix)/$(ALTGARCH)-linux-uclibc/include  -L$(build_prefix)/$(ALTGARCH)-linux-uclibc/lib
lnximg_LDFLAGS  =  -static  -L$(build_prefix)/$(ALTGARCH)-linux-uclibc/lib
File: meta/root.bin/Makefile
base-0 patch-1
Line 2Line 2
GARVERSION  = 
CATEGORIES  =  meta
MASTER_SITES  = 
GARVERSION  = 
CATEGORIES  =  meta
MASTER_SITES  = 
DISTFILES  =  buildext2.cmd  init  hotplug
DISTFILES  =  buildext2.cmd  init
PATCHFILES  = 
LICENSE  =  GPL2

PATCHFILES  = 
LICENSE  =  GPL2

Line 18Line 18
SIZE=8192

SIZE=8192

#  Dependencies  are  of  the  form  categorydir/packagedir
SOURCE_LANGUAGES  =
LIBDEPS  =
BUILDDEPS  =  fs/e2fsprogs

IMGDEPS  =  rootbin
LIBDEPS  =
BUILDDEPS  =  fs/e2fsprogs

IMGDEPS  =  rootbin
rootbin_DEPENDS  =  boot/busybox  kernel/linux-modules
rootbin_DEPENDS  =  boot/busybox  #kernel/linux-modules
#  CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  custom
#  CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  custom
Line 48Line 48
        cp  -f  $(DOWNLOADDIR)/init  $(WORKDIR)/linuxrc
        $(MAKECOOKIE)

        cp  -f  $(DOWNLOADDIR)/init  $(WORKDIR)/linuxrc
        $(MAKECOOKIE)

#extract-%:
#        cp  -f  $(DOWNLOADDIR)/$(subst  extract-,,$@)  $(WORKDIR)
#        $(MAKECOOKIE)


build-custom:
        dd  if=/dev/zero  of=$(EXT2FILE)  bs=1k  count=$(SIZE)
        mke2fs  -F  $(EXT2FILE)
        cp  $(rootbin_DESTDIR)$(rootbin_bindir)/busybox  $(WORKDIR)
build-custom:
        dd  if=/dev/zero  of=$(EXT2FILE)  bs=1k  count=$(SIZE)
        mke2fs  -F  $(EXT2FILE)
        cp  $(rootbin_DESTDIR)$(rootbin_bindir)/busybox  $(WORKDIR)
        mkdir  -p  $(WORKDIR)/modules
        cp  $(MODULES_DIR)/kernel/drivers/usb/usb-ohci.o  $(WORKDIR)/modules
        cp  $(MODULES_DIR)/kernel/drivers/usb/usb-uhci.o  $(WORKDIR)/modules
        cp  $(MODULES_DIR)/kernel/drivers/usb/storage/usb-storage.o  $(WORKDIR)/modules
        tar  -C  $(WORKDIR)/modules/  -cvf  -  usb-ohci.o  usb-uhci.o  usb-storage.o  |  gzip  -9  >  $(WORKDIR)/modules.tar.gz
        #mkdir  -p  $(WORKDIR)/modules
        #cp  $(MODULES_DIR)/kernel/drivers/usb/usb-ohci.o  $(WORKDIR)/modules
        #cp  $(MODULES_DIR)/kernel/drivers/usb/usb-uhci.o  $(WORKDIR)/modules
        #cp  $(MODULES_DIR)/kernel/drivers/usb/storage/usb-storage.o  $(WORKDIR)/modules
        #tar  -C  $(WORKDIR)/modules/  -cvf  -  usb-ohci.o  usb-uhci.o  usb-storage.o  |  gzip  -9  >  $(WORKDIR)/modules.tar.gz
        #  XXX:  The  following  script  needs  to  be  fleshed  out  better.
        #  XXX:  The  following  script  needs  to  be  fleshed  out  better.
        LD_LIBRARY_PATH=$(build_DESTDIR)$(build_libdir)  debugfs  -f  $(WORKDIR)/buildext2.cmd  -w  $(EXT2FILE)  |  /bin/cat
        debugfs  -f  $(WORKDIR)/buildext2.cmd  -w  $(EXT2FILE)  |  /bin/cat
        gzip  -9  -c  $(EXT2FILE)  >  $(WORKDIR)/$(GARNAME)
        $(MAKECOOKIE)

        gzip  -9  -c  $(EXT2FILE)  >  $(WORKDIR)/$(GARNAME)
        $(MAKECOOKIE)

File: meta/root.bin/checksums
base-0 patch-1
Line 1Line 1
6fc1ad0855175f5ee035beed10415b65    download/buildext2.cmd
5a0663316db5cfc41647f932d969b199    download/init
7047f3c0ed76fb1f3e35559a8f5e5a82    download/hotplug
0cdd40eac60387be5d57de9ab935e077    download/buildext2.cmd
c8cbe9d546bd4585e550f9f27bb25bdd    download/init
File: meta/root.bin/files/buildext2.cmd
base-0 patch-1
Line 1Line 1
write  $(WORKDIR)/linuxrc  linuxrc
write  $(WORKDIR)/linuxrc  linuxrc
write  $(WORKDIR)/modules.tar.gz  modules.tar.gz
#write  $(WORKDIR)/modules.tar.gz  modules.tar.gz
mkdir  /sbin
mkdir  /sbin
cd  /sbin
write  $(WORKDIR)/hotplug  hotplug

cd  /
mkdir  /dev
mkdir  /etc
cd  /
mkdir  /dev
mkdir  /etc
Line 16Line 14
ln  busybox  ash
#ln  busybox  basename
#ln  busybox  busybox
ln  busybox  ash
#ln  busybox  basename
#ln  busybox  busybox
ln  busybox  cat
#ln  busybox  chroot
#ln  busybox  cat
ln  busybox  chroot
#ln  busybox  chvt
#ln  busybox  clear
#ln  busybox  chvt
#ln  busybox  clear
#ln  busybox  cp
ln  busybox  cp
#ln  busybox  cut
#ln  busybox  date
#ln  busybox  dd
#ln  busybox  cut
#ln  busybox  date
#ln  busybox  dd
Line 32Line 30
#ln  busybox  false
#ln  busybox  find
#ln  busybox  grep
#ln  busybox  false
#ln  busybox  find
#ln  busybox  grep
ln  busybox  gunzip
#ln  busybox  gunzip
#ln  busybox  head
#ln  busybox  id
#ln  busybox  init
ln  busybox  insmod
#ln  busybox  kill
#ln  busybox  head
#ln  busybox  id
#ln  busybox  init
ln  busybox  insmod
#ln  busybox  kill
ln  busybox  ln
#ln  busybox  ln
#ln  busybox  ls
#ln  busybox  lsmod
ln  busybox  mkdir
#ln  busybox  ls
#ln  busybox  lsmod
ln  busybox  mkdir
Line 52Line 50
#ln  busybox  rmdir
#ln  busybox  sed
ln  busybox  sh
#ln  busybox  rmdir
#ln  busybox  sed
ln  busybox  sh
ln  busybox  sleep
#ln  busybox  sleep
#ln  busybox  sort
#ln  busybox  tail
#ln  busybox  sort
#ln  busybox  tail
ln  busybox  tar
#ln  busybox  tar
ln  busybox  test
#ln  busybox  touch
ln  busybox  test
#ln  busybox  touch
ln  busybox  true
#ln  busybox  true
ln  busybox  umount
#ln  busybox  uname
#ln  busybox  uniq
ln  busybox  umount
#ln  busybox  uname
#ln  busybox  uniq
File: meta/root.bin/files/hotplug
base-0 patch-1
Line 1Line 0
#!/bin/sh

#  Me  caveman  hotplug  script
#  Me  only  know  storage
insmod  usb-storage.o

File: meta/root.bin/files/init
base-0 patch-1
Line 12Line 12
#      echo  "Couldn't  run  a  shell!"
#  fi

#      echo  "Couldn't  run  a  shell!"
#  fi

args="$*"
#  The  default  mounting  location
MEDIA=/mnt/media
export  PATH=/bin:/mnt/initrd/bin
echo
echo  "Mounting  /proc."
mkdir  /proc
mount  -t  proc  none  /proc
export  PATH=/bin:/mnt/initrd/bin
echo
echo  "Mounting  /proc."
mkdir  /proc
mount  -t  proc  none  /proc
echo  "Trying  to  mount  LNX  media."
mkdir  -p  /mnt/media

echo  "Unpacking  modules."
gunzip  modules.tar.gz
tar  -xf  modules.tar
 
#  if  test  -f  usb-uhci.o;  then  insmod  usb-uhci.o;  fi
#  if  test  -f  usb-ohci.o;  then  insmod  usb-ohci.o;  fi
unset  RUNINRAM  args

while  test  !  -z  "$1"  ;  do
    if  test  "$1"  =  "rir"  ||  test  "$1"  =  "runinram"  ||  test  "$1"  =  "toram"  ;  then
        RUNINRAM=yes
        MEDIA=/mnt/cd
    else
        args  =  "$args  $1"
    fi
    shift  1
done
#  wait  for  hotplug
#  sleep  3
if  test  ${RUNINRAM}  =  "yes"  ;  then 
      echo  "Migrating  image  to  ram"
else
      echo  "Running  image  off  the  media"
fi

echo  "Trying  to  mount  LNX  media."
mkdir  -p  $MEDIA
#  /dev/cdroms/cdrom*  are  the  CD-ROM  devices
#  /dev/cdroms/cdrom*  are  the  CD-ROM  devices
#  /dev/scsi/host*/bus0/target0/lun0/part1  are  (sometimes)  USB  storage  devices

#  /dev/ubd0  is  some  UML  thing
#  /dev/