Files that exist only in patch-1

  1. TODO.txt
  2. archive/apt/Makefile
  3. archive/apt/checksums
  4. archive/apt/files/gar-base.diff
  5. archive/apt/manifest
  6. archive/dpkg/Makefile
  7. archive/dpkg/checksums
  8. archive/dpkg/files/gar-base.diff
  9. disk/smartmontools/Makefile
  10. disk/smartmontools/checksums
  11. disk/smartmontools/manifest
  12. editors/nedit/Makefile
  13. editors/nedit/checksums
  14. games/emad/Makefile
  15. games/emad/checksums
  16. gar.color.mk
  17. installer/debian/Makefile
  18. installer/debian/checksums
  19. installer/debian/files/apt
  20. installer/debian/files/filesystems
  21. installer/debian/files/functions
  22. installer/debian/files/mount
  23. installer/debian/files/partition
  24. installer/debian/files/swap
  25. installer/debian/files/umount.py
  26. kernel/hostap/Makefile
  27. kernel/hostap/checksums
  28. kernel/linux-image/Makefile
  29. kernel/linux-modules/Makefile
  30. kernel/linux-source/Makefile
  31. lib/libgcc/Makefile
  32. lib/pygtk/Makefile
  33. lib/pygtk/checksums
  34. meta/lnx-bbc/files/hash_search.c
  35. net/airsnort/Makefile
  36. net/airsnort/checksums
  37. net/airtraf/Makefile
  38. net/airtraf/checksums
  39. net/airtraf/files/gar-base.diff
  40. net/bittorrent/files/nice-command-line.patch
  41. net/bittorrent/files/oneline.patch
  42. net/iptraf/files/dewankuerization.diff
  43. net/iputils/files/gar-base.diff
  44. net/kismet/Makefile
  45. net/kismet/checksums
  46. net/kismet/files/kismet.conf
  47. net/phoenix/files/gar-base.diff
  48. net/udpcast/Makefile
  49. net/udpcast/checksums
  50. net/udpcast/files/gar-base.diff
  51. net/udpcast/manifest
  52. net/wvdial/files/gar-base.diff
  53. net/wvstreams/Makefile
  54. net/wvstreams/checksums
  55. net/wvstreams/files/gar-base.diff
  56. print.css
  57. special/accounts/files/users.init
  58. special/bbc-provided/files/daemon.bootstrap
  59. special/bbc-provided/files/daemon.group
  60. special/bbc-provided/files/daemon.passwd
  61. special/documentation/files/help
  62. utils/chkrootkit/Makefile
  63. utils/chkrootkit/checksums
  64. utils/chkrootkit/manifest
  65. utils/coreutils/Makefile
  66. utils/coreutils/checksums
  67. utils/man/Makefile
  68. utils/man/checksums
  69. utils/man/files/info
  70. utils/man/files/man
  71. utils/memtest86/files/gar-base.diff
  72. utils/syslinux/files/gar-base.diff

Files that changed between base-0 and patch-1









      archive/apt
      archive/apt/.arch-ids
      archive/apt/files
      archive/apt/files/.arch-ids
      archive/dpkg
      archive/dpkg/.arch-ids
      archive/dpkg/files
      archive/dpkg/files/.arch-ids
      disk/smartmontools
      disk/smartmontools/.arch-ids
      editors/nedit
      editors/nedit/.arch-ids
      games/emad
      games/emad/.arch-ids
      installer/debian
      installer/debian/.arch-ids
      installer/debian/files
      installer/debian/files/.arch-ids
      kernel/hostap
      kernel/hostap/.arch-ids
      kernel/linux-image
      kernel/linux-image/.arch-ids
      kernel/linux-modules
      kernel/linux-modules/.arch-ids
      kernel/linux-source
      kernel/linux-source/.arch-ids
      lib/libgcc
      lib/libgcc/.arch-ids
      lib/pygtk
      lib/pygtk/.arch-ids
      net/airsnort
      net/airsnort/.arch-ids
      net/airtraf
      net/airtraf/.arch-ids
      net/airtraf/files
      net/airtraf/files/.arch-ids
      net/bittorrent/files
      net/bittorrent/files/.arch-ids
      net/iputils/files
      net/iputils/files/.arch-ids
      net/kismet
      net/kismet/.arch-ids
      net/kismet/files
      net/kismet/files/.arch-ids
      net/udpcast
      net/udpcast/.arch-ids
      net/udpcast/files
      net/udpcast/files/.arch-ids
      net/wvdial/files
      net/wvdial/files/.arch-ids
      net/wvstreams
      net/wvstreams/.arch-ids
      net/wvstreams/files
      net/wvstreams/files/.arch-ids
      utils/chkrootkit
      utils/chkrootkit/.arch-ids
      utils/coreutils
      utils/coreutils/.arch-ids
      utils/man
      utils/man/.arch-ids
      utils/man/files
      utils/man/files/.arch-ids
      utils/memtest86/files
      utils/memtest86/files/.arch-ids
      archive/apt
      archive/apt/.arch-ids
      archive/apt/files
      archive/apt/files/.arch-ids
      archive/dpkg
      archive/dpkg/.arch-ids
      archive/dpkg/files
      archive/dpkg/files/.arch-ids
      disk/smartmontools
      disk/smartmontools/.arch-ids
      editors/nedit
      editors/nedit/.arch-ids
      games/emad
      games/emad/.arch-ids
      installer/debian
      installer/debian/.arch-ids
      installer/debian/files
      installer/debian/files/.arch-ids
      kernel/hostap
      kernel/hostap/.arch-ids
      kernel/linux-image
      kernel/linux-image/.arch-ids
      kernel/linux-modules
      kernel/linux-modules/.arch-ids
      kernel/linux-source
      kernel/linux-source/.arch-ids
      lib/libgcc
      lib/libgcc/.arch-ids
      lib/pygtk
      lib/pygtk/.arch-ids
      net/airsnort
      net/airsnort/.arch-ids
      net/airtraf
      net/airtraf/.arch-ids
      net/airtraf/files
      net/airtraf/files/.arch-ids
      net/bittorrent/files
      net/bittorrent/files/.arch-ids
      net/iputils/files
      net/iputils/files/.arch-ids
      net/kismet
      net/kismet/.arch-ids
      net/kismet/files
      net/kismet/files/.arch-ids
      net/udpcast
      net/udpcast/.arch-ids
      net/udpcast/files
      net/udpcast/files/.arch-ids
      net/wvdial/files
      net/wvdial/files/.arch-ids
      net/wvstreams
      net/wvstreams/.arch-ids
      net/wvstreams/files
      net/wvstreams/files/.arch-ids
      utils/chkrootkit
      utils/chkrootkit/.arch-ids
      utils/coreutils
      utils/coreutils/.arch-ids
      utils/man
      utils/man/.arch-ids
      utils/man/files
      utils/man/files/.arch-ids
      utils/memtest86/files
      utils/memtest86/files/.arch-ids
      archive/apt
      archive/apt/.arch-ids
      archive/apt/files
      archive/apt/files/.arch-ids
      archive/dpkg
      archive/dpkg/.arch-ids
      archive/dpkg/files
      archive/dpkg/files/.arch-ids
      disk/smartmontools
      disk/smartmontools/.arch-ids
      editors/nedit
      editors/nedit/.arch-ids
      games/emad
      games/emad/.arch-ids
      installer/debian
      installer/debian/.arch-ids
      installer/debian/files
      installer/debian/files/.arch-ids
      kernel/hostap
      kernel/hostap/.arch-ids
      kernel/linux-image
      kernel/linux-image/.arch-ids
      kernel/linux-modules
      kernel/linux-modules/.arch-ids
      kernel/linux-source
      kernel/linux-source/.arch-ids
      lib/libgcc
      lib/libgcc/.arch-ids
      lib/pygtk
      lib/pygtk/.arch-ids
      net/airsnort
      net/airsnort/.arch-ids
      net/airtraf
      net/airtraf/.arch-ids
      net/airtraf/files
      net/airtraf/files/.arch-ids
      net/bittorrent/files
      net/bittorrent/files/.arch-ids
      net/iputils/files
      net/iputils/files/.arch-ids
      net/kismet
      net/kismet/.arch-ids
      net/kismet/files
      net/kismet/files/.arch-ids
      net/udpcast
      net/udpcast/.arch-ids
      net/udpcast/files
      net/udpcast/files/.arch-ids
      net/wvdial/files
      net/wvdial/files/.arch-ids
      net/wvstreams
      net/wvstreams/.arch-ids
      net/wvstreams/files
      net/wvstreams/files/.arch-ids
      utils/chkrootkit
      utils/chkrootkit/.arch-ids
      utils/coreutils
      utils/coreutils/.arch-ids
      utils/man
      utils/man/.arch-ids
      utils/man/files
      utils/man/files/.arch-ids
      utils/memtest86/files
      utils/memtest86/files/.arch-ids
      archive/apt
      archive/apt/.arch-ids
      archive/apt/files
      archive/apt/files/.arch-ids
      archive/dpkg
      archive/dpkg/.arch-ids
      archive/dpkg/files
      archive/dpkg/files/.arch-ids
      disk/smartmontools
      disk/smartmontools/.arch-ids
      editors/nedit
      editors/nedit/.arch-ids
      games/emad
      games/emad/.arch-ids
      installer/debian
      installer/debian/.arch-ids
      installer/debian/files
      installer/debian/files/.arch-ids
      kernel/hostap
      kernel/hostap/.arch-ids
      kernel/linux-image
      kernel/linux-image/.arch-ids
      kernel/linux-modules
      kernel/linux-modules/.arch-ids
      kernel/linux-source
      kernel/linux-source/.arch-ids
      lib/libgcc
      lib/libgcc/.arch-ids
      lib/pygtk
      lib/pygtk/.arch-ids
      net/airsnort
      net/airsnort/.arch-ids
      net/airtraf
      net/airtraf/.arch-ids
      net/airtraf/files
      net/airtraf/files/.arch-ids
      net/bittorrent/files
      net/bittorrent/files/.arch-ids
      net/iputils/files
      net/iputils/files/.arch-ids
      net/kismet
      net/kismet/.arch-ids
      net/kismet/files
      net/kismet/files/.arch-ids
      net/udpcast
      net/udpcast/.arch-ids
      net/udpcast/files
      net/udpcast/files/.arch-ids
      net/wvdial/files
      net/wvdial/files/.arch-ids
      net/wvstreams
      net/wvstreams/.arch-ids
      net/wvstreams/files
      net/wvstreams/files/.arch-ids
      utils/chkrootkit
      utils/chkrootkit/.arch-ids
      utils/coreutils
      utils/coreutils/.arch-ids
      utils/man
      utils/man/.arch-ids
      utils/man/files
      utils/man/files/.arch-ids
      utils/memtest86/files
      utils/memtest86/files/.arch-ids
File: CREDITS
base-0 patch-1
Line 25Line 25
Sean  "keen  with  the  winchesters"  Neakums
Niall  O  Broin
"Yosemite"  Sam  Phillips
Sean  "keen  with  the  winchesters"  Neakums
Niall  O  Broin
"Yosemite"  Sam  Phillips
Nate  "<@CrackMonkey>  I  thought  for  sure  that'd  be  insurmountable"  Riffe
Nate  "$(if  $(filter  $(GARBUILD),$(GARHOST)),no,yes)"  Riffe
Seth  "Seth  David  Schoen"  Schoen
Andrew  Scott
Heather  Stern
Len  Trigg
Jon  Webb
Seth  "Seth  David  Schoen"  Schoen
Andrew  Scott
Heather  Stern
Len  Trigg
Jon  Webb

Brian  Danger  Hicks
Jac  Kersing
RESOURCES,  ADVICE,  AND  MISCELLANEOUS  CONTRIBUTIONS  PROVIDED  BY
RESOURCES,  ADVICE,  AND  MISCELLANEOUS  CONTRIBUTIONS  PROVIDED  BY
Line 41Line 43
T.R.  Fullhart
Brian  Danger  Hicks
Bill  Immerman
T.R.  Fullhart
Brian  Danger  Hicks
Bill  Immerman
Jac  Kersing

C.J.  Kucera
Fabrice  Laborie
Tripp  Lilley           
C.J.  Kucera
Fabrice  Laborie
Tripp  Lilley           
Line 54Line 55
Jani  Virta
Jeff  "GARNOME"  Waugh 
Zack  Weinberg
Jani  Virta
Jeff  "GARNOME"  Waugh 
Zack  Weinberg

Jonathan  Sergent
SPECIAL  THANKS
SPECIAL  THANKS
File: README.txt
base-0 patch-1
Line 4Line 4
To  build  a  bbc,  first  you  must  fetch  the  GAR  tree.

To  build  a  bbc,  first  you  must  fetch  the  GAR  tree.

===  By  HTTP  ===
===  Tarballs  ===
<http://www.lnx-bbc.org/images/lnx-bbc-2.0.tar.gz  clean  GAR  tree>:
Exactly  equivalent  to  an  anonymous  checkout  of  the  RELEASE_lnx-bbc_2_0
tag.    Approximately  700k.

<http://www.lnx-bbc.org/images/lnx-bbc-2.0-with-sources.tar.gz  GAR  tree  with  upstream  sources>:
As  above,  but  all  upstream  sources  have  been  combined  into  the  tree.
Approximately  250  MB.
====  By  BitTorrent  ====

<http://www.lnx-bbc.org/images/bbc-2.1-with-sources.tar.gz.torrent>:
Exactly  equivalent  to  an  anonymous  checkout  of  the  RELEASE_lnx-bbc_2_1
tag,  but  with  sources  pre-downloaded  for  the  packages  used  by  the
2.1  LNX-BBC.    Approximately  270MB.

====  By  HTTP  ====

<http://www.lnx-bbc.org/images/bbc-2.1-with-sources.tar.gz>:
As  above.
When  you  unpack  your  tarball,  you  should  have  a  directory  called
When  you  unpack  your  tarball,  you  should  have  a  directory  called
"lnx-bbc-2.0"  sitting  in  your  current  directory.    You  can  rename  it  if
you  like.    We  call  it  gar.
"gar"  sitting  in  your  current  directory.    You  can  rename  it  if
you  like.   
===  From  CVS  ===

===  From  CVS  ===

Line 29Line 33
Just  hit  return  when  it  asks  you  for  a  password.    You  can  now  check
out  the  STABLE  or  HEAD  branches  of  the  tree.

Just  hit  return  when  it  asks  you  for  a  password.    You  can  now  check
out  the  STABLE  or  HEAD  branches  of  the  tree.


====  LNX-BBC  2.1  ====

Each  release  is  tagged  in  the  exact  state  used  for  it.    These  are
typically  snapshots  of  the  STABLE  branch  (see  below).    For  example,  to
grab  the  2.1  release,  we  use  the  RELEASE_lnx-bbc_2_1  tag  as  follows:

----8<----
cvs  -z3  -d:pserver:anonymous@cvs.lnx-bbc.org:/var/cvs  co  -r  RELEASE_lnx-bbc_2_1  gar
----8<----

====  STABLE  ====

====  STABLE  ====

The  STABLE  branch  is  designed  to  compile  on  the  current  revision  of
Debian  Stable.    Our  build  system  uses  this,  and  our  <chroot.html
published  chroot  environments>  use  it  as  well.    Typically  our  releases
come  from  this  tree,  and  we  try  to  fold  in  changes  judiciously.
The  <versions.html  STABLE  branch>  is  designed  to  compile  on  the
current  revision  of  Debian  Stable,  although  it  may  also  work  on  other
similarly  composed  GNU/Linux  systems.    However,  our  build  system  uses
Debian  Stable,  and  our  <chroot.html  published  chroot  environments>  use
it  as  well.

Typically  our  releases  come  from  this  tree,  and  we  try  to  fold  in
changes  judiciously.
----8<----
cvs  -z3  -d:pserver:anonymous@cvs.lnx-bbc.org:/var/cvs  co  -r  STABLE  gar
----8<----
cvs  -z3  -d:pserver:anonymous@cvs.lnx-bbc.org:/var/cvs  co  -r  STABLE  gar
Line 42Line 60
====  HEAD  ====

====  HEAD  ====

This  is  the  unstable  branch  of  the  tree,  and  contains  up-to-the-minute
updates  of  what  our  developers  have  been  working  on.    It  typically
builds  on  a  Debian  testing  or  unstable  distribution,  and  may  break  on
stable.    You  may  find  this  to  build  on  your  more  recent  Red  Hat
distributions  if  the  STABLE  branch  does  not.   
This  is  the  <versions.html  unstable  branch>  of  the  tree,  and  contains
up-to-the-minute  updates  of  what  our  developers  have  been  working  on.
It  typically  builds  on  a  Debian  testing  or  unstable  distribution,  and
may  break  on  stable.    You  may  find  this  to  build  on  your  more  recent
Red  Hat  distributions  if  the  STABLE  branch  does  not.   
----8<----
cvs  -z3  -d:pserver:anonymous@cvs.lnx-bbc.org:/var/cvs  co  gar
----8<----
cvs  -z3  -d:pserver:anonymous@cvs.lnx-bbc.org:/var/cvs  co  gar
Line 75Line 93
===  Configuring  older  versions  of  GAR  ===

===  Configuring  older  versions  of  GAR  ===

This  section  explains  how  to  configure  the  version  of  GAR  as
distributed  by  the  Free  Software  Foundation,  as  checked  out  from  CVS
using  the  RELEASE_lnx-bbc_2_0  tag,  or  any  earlier  version.
This  section  explains  how  to  configure  the  version  of  GAR  as  initially
distributed  by  the  Free  Software  Foundation  in  early  2003,  as  checked
out  from  CVS  using  the  RELEASE_lnx-bbc_2_0  tag,  or  any  earlier
version.   
There  are  two  variables  which  you  should  override,  either  by  editting
the  file  gar.conf.mk  or  by  exporting  them  in  your  shell's  environment.
There  are  two  variables  which  you  should  override,  either  by  editting
the  file  gar.conf.mk  or  by  exporting  them  in  your  shell's  environment.
Line 95Line 114
==  Bulk  Operations  on  all  Packages  ==

Running  any  target  from  the  top-level  dir  (the  one  in  which  this  README 
==  Bulk  Operations  on  all  Packages  ==

Running  any  target  from  the  top-level  dir  (the  one  in  which  this  README 
lives)  will  be  performed  on  all  packages.   
lives)  will  cause  it  to  be  performed  on  all  packages.
However,  we  have  provided  some  custom  make  targets  in  the
gar/meta/lnx-bbc  directory  Makefile  in  order  to  make  development  life
However,  we  have  provided  some  custom  make  targets  in  the
gar/meta/lnx-bbc  directory  Makefile  in  order  to  make  development  life
Line 114Line 133
===  First,  you  can  checksum  the  tree.  =====

From  the  gar/meta/lnx-bbc  directory,  "make  deep-checksums":
===  First,  you  can  checksum  the  tree.  =====

From  the  gar/meta/lnx-bbc  directory,  "make  deep-checksums":
This  has  the  advantage  of  downloading  and  verifying  only  those  packages 
which  are  needed  by  the  LNX-BBC  itself.    This  is  how  the  "with  sources" 
tarball  above  was  created.

or,  from  the  top-level  directory,  "make  checksums":  This  may,  however,
download  a  number  of  tarballs  for  packages  that  are  not  needed  by  the
BBC  but  are  in  the  GAR  tree  nonetheless. 
        This  has  the  advantage  of  downloading  and  verifying  only  those
        packages  which  are  needed  by  the  LNX-BBC  itself.    This  is  how
        the  "with  sources"  tarball  above  was  created.

or,  from  the  top-level  directory,  "make  checksums": 
        This  may,  however,  download  a  number  of  tarballs  for  packages
        that  are  not  needed  by  the  BBC  but  are  in  the  GAR  tree
        nonetheless. 
===  Second,  you  can  preserve  a  fetched  source  tree  from  doom  and  destruction.  ===

===  Second,  you  can  preserve  a  fetched  source  tree  from  doom  and  destruction.  ===

Line 134Line 154
placed  in  the  directory  referenced  by  GARCHIVEROOT.    See  "Configuring
GAR"  above.

placed  in  the  directory  referenced  by  GARCHIVEROOT.    See  "Configuring
GAR"  above.

==  Building  the  ISO  ==

If  this  is  not  your  first  time  building  and  you  wish  to  rebuild
everything,  you  have  two  choices.    From  the  top  directory  you  can
"make  clean"  and  it  will  propagate  into  every  package.    However,  this
==  Building  the  ISO  ==

If  this  is  not  your  first  time  building  and  you  wish  to  rebuild
everything,  you  have  two  choices.    From  the  top  directory  you  can
"make  clean"  and  it  will  propagate  into  every  package.    However,  this
will  not  clean  out  your  DESTDIR  or  BUILD_PREFIX  directories.    Drastic
changes  and  especially  removals  of  extra  parts  (perhaps  things  that
take  too  much  space?)  will  require  a  cleaner  build  to  be  properly
will  not  clean  out  your  main_DESTDIR  or  build_prefix  directories.
Drastic  changes  and  especially  removals  of  extra  parts  (perhaps  things
that  take  too  much  space?)  will  require  a  cleaner  build  to  be  properly
tested.    You  can  clear  out  those  directories  yourself,  or  take  the
easy  way  out;    from  gar/meta/lnx-bbc,  run  "make  super-clean"  and  it
will  clear  both  locations  for  you  as  well  as  cleaning  the  GAR  tree.
tested.    You  can  clear  out  those  directories  yourself,  or  take  the
easy  way  out;    from  gar/meta/lnx-bbc,  run  "make  super-clean"  and  it
will  clear  both  locations  for  you  as  well  as  cleaning  the  GAR  tree.
File: X11/XFree86/Makefile
base-0 patch-1
Line 21Line 21
DESCRIPTION  =  X11R6
define  BLURB
DESCRIPTION  =  X11R6
define  BLURB
  X  package  blurb  goes  here.
A  freely  redistributable  open-source  implementation  of  the  X  Window  System.
endef

PATCHDIRLEVEL  =  0
endef

PATCHDIRLEVEL  =  0
File: X11/XFree86/checksums
base-0 patch-1
Line 1Line 1
ad43a8e9e39703322005cd6f7145b77f    download/X420src-1.tgz
dae33268a9f2735b9678a81fb23e8d3e    download/X420src-2.tgz
e824cd6249ef2827ab09bb9d3a7ef85f    download/Xtinylib.tar.gz
ad43a8e9e39703322005cd6f7145b77f    download/X420src-1.tgz
dae33268a9f2735b9678a81fb23e8d3e    download/X420src-2.tgz
e824cd6249ef2827ab09bb9d3a7ef85f    download/Xtinylib.tar.gz
5912fa0614068bcd3eaaf9a7145cc907    download/xinitrc.cpp
307934dc12d7a13d190ea1435a6a8730    download/xinitrc.cpp
a5b2a6d85f01f1d3c4f31784ee76564f    download/startx
486b824bb9baaeae64fe87a4723a39f9    download/encodings.dir
ba0958cbda9fa6dac8d5d48a6dffdcc2    download/t1.fonts.dir
1733ac11f88c9d83ee4225bde5eac1b4    download/t1.fonts.alias
a5b2a6d85f01f1d3c4f31784ee76564f    download/startx
486b824bb9baaeae64fe87a4723a39f9    download/encodings.dir
ba0958cbda9fa6dac8d5d48a6dffdcc2    download/t1.fonts.dir
1733ac11f88c9d83ee4225bde5eac1b4    download/t1.fonts.alias
3a204817ab4e0b81e83190f5b437c170    download/misc.fonts.dir
8063580caf8066df9ca79c81b45ee69a    download/misc.fonts.dir
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
File: X11/XFree86/files/misc.fonts.dir
base-0 patch-1
Line 10Line 10
6x13B.pcf.Z  -misc-fixed-bold-r-semicondensed--13-120-75-75-c-60-iso8859-1
7x13.pcf.Z  -misc-fixed-medium-r-normal--13-120-75-75-c-70-iso8859-1
7x13B.pcf.Z  -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-1
6x13B.pcf.Z  -misc-fixed-bold-r-semicondensed--13-120-75-75-c-60-iso8859-1
7x13.pcf.Z  -misc-fixed-medium-r-normal--13-120-75-75-c-70-iso8859-1
7x13B.pcf.Z  -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-1
7x14.pcf.Z    -misc-fixed-medium-r-normal--14-120-75-75-c-70-iso8859-1
7x14.pcf.Z  -misc-fixed-medium-r-normal--14-120-75-75-c-70-iso8859-1
7x14B.pcf.Z  -misc-fixed-bold-r-normal--14-120-75-75-c-70-iso8859-1
8x13.pcf.Z  -misc-fixed-medium-r-normal--13-120-75-75-c-80-iso8859-1
8x13B.pcf.Z  -misc-fixed-bold-r-normal--13-120-75-75-c-80-iso8859-1
7x14B.pcf.Z  -misc-fixed-bold-r-normal--14-120-75-75-c-70-iso8859-1
8x13.pcf.Z  -misc-fixed-medium-r-normal--13-120-75-75-c-80-iso8859-1
8x13B.pcf.Z  -misc-fixed-bold-r-normal--13-120-75-75-c-80-iso8859-1
File: X11/XFree86/files/xinitrc.cpp
base-0 patch-1
Line 31Line 31
XCOMM  start  some  nice  programs

xclock  -geometry  50x50-1+1  &
XCOMM  start  some  nice  programs

xclock  -geometry  50x50-1+1  &
xterm  -geometry  80x20+400-20  &
rxvt  -geometry  80x20+0+0  -ls  -fg  AntiqueWhite  -bg  black  -cr  yellow  &
xterm  -geometry  80x24+400-24  &
rxvt  -geometry  80x24+0+0  -ls  -fg  AntiqueWhite  -bg  black  -cr  yellow  &
hackedbox
hackedbox
File: X11/freetype/Makefile
base-0 patch-1
Line 8Line 8
LICENSE  =  FTL/GPL2
FTL_LICENSE_TEXT  =  $(WORKSRC)/docs/FTL.txt

LICENSE  =  FTL/GPL2
FTL_LICENSE_TEXT  =  $(WORKSRC)/docs/FTL.txt

DESCRIPTION  = 
DESCRIPTION  =  FreeType
define  BLURB
define  BLURB

FreeType  2  is  a  software  font  engine  that  is  designed  to  be
small,  efficient,  highly  customizable  and  portable  while  capable
of  producing  high-quality  output  (glyph  images).  It  can  be  used
in  graphics  libraries,  display  servers,  font  conversion  tools,
text  image  generation  tools,  and  many  other  products  as  well..
endef

LIBDEPS  =  devel/glibc  lib/zlib
endef

LIBDEPS  =  devel/glibc  lib/zlib
File: X11/hackedbox/checksums
base-0 patch-1
Line 1Line 1
595e27063ef0b1459f3b79005ce45ff0    download/hackedbox-0.8.0.tar.gz
595e27063ef0b1459f3b79005ce45ff0    download/hackedbox-0.8.0.tar.gz
1a8a1bc4c7b0643e198b5ada2a2c5b37    download/menu.in
1f9af9968f0a3ada23ff3eb884c7a1f9    download/menu.in
File: X11/hackedbox/files/menu.in
base-0 patch-1
Line 5Line 5
    [end]
   
    [submenu]  (Internet)
    [end]
   
    [submenu]  (Internet)
        [exec]  (browsex  graphical  web  browser)          {browsex}
        [exec]  (Mozilla  Firebird)          {MozillaFirebird}
    [end]

    [submenu]  (Network  Utilities)
    [end]

    [submenu]  (Network  Utilities)
File: X11/lesstif/Makefile
base-0 patch-1
Line 18Line 18
#  Dependencies  are  of  the  form  categorydir/packagedir
#  LIBDEPS  are  for  libraries,  and  DEPENDS  are  for  everything  else
#  Dependencies  are  of  the  form  categorydir/packagedir
#  LIBDEPS  are  for  libraries,  and  DEPENDS  are  for  everything  else
LIBDEPS  =
DEPENDS  =  X11/XFree86
LIBDEPS  =  devel/glibc  X11/XFree86
DEPENDS  =
#  Builddeps  are  installed  in  the  build  DESTIMG
#  Builddeps  are  installed  in  the  build  DESTIMG
BUILDDEPS  =  devel/libtool  devel/gcc  devel/glibc
BUILDDEPS  =  devel/libtool
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
File: X11/rxvt/Makefile
base-0 patch-1
Line 9Line 9
DESCRIPTION  =  rxvt,  an  xterm-alike  program
define  BLURB
DESCRIPTION  =  rxvt,  an  xterm-alike  program
define  BLURB
  Enter  a  longer  description  here.

  You  can  use  multiple  lines  if  you  want.
rxvt  is  a  colour  vt102  terminal  emulator  intended  as  an  xterm(1)
replacement  for  users  who  do  not  require  features  such  Developer  as
Tektronix  4014  emulation  and  toolkit-style  configurability.  As  a
result,  rxvt  uses  much  less  swap  space.
endef

LIBDEPS  =  devel/glibc  X11/XFree86
endef

LIBDEPS  =  devel/glibc  X11/XFree86
File: archive/bzip2/Makefile
base-0 patch-1
Line 10Line 10
DESCRIPTION  =  bzip2
define  BLURB
DESCRIPTION  =  bzip2
define  BLURB
  #XXX:  nwall  package  blurb  goes  here.
bzip2  is  a  freely  available,  patent  free  (see  below),  high-quality
data  compressor.  It  typically  compresses  files  to  within  10%  to  15%  of
the  best  available  techniques  (the  PPM  family  of  statistical
compressors),  whilst  being  around  twice  as  fast  at  compression  and  six
times  faster  at  decompression.
endef

LIBDEPS  =  devel/glibc
endef

LIBDEPS  =  devel/glibc
File: archive/cabextract/Makefile
base-0 patch-1
Line 8Line 8
DESCRIPTION  =  cabextract
define  BLURB
DESCRIPTION  =  cabextract
define  BLURB
  Enter  a  longer  description  here.

  You  can  use  multiple  lines  if  you  want.
A  program  to  extract  Microsoft  cabinet  (.CAB)  files.
endef

LIBDEPS  =  devel/glibc
endef

LIBDEPS  =  devel/glibc
File: archive/ncompress/Makefile
base-0 patch-1
Line 11Line 11
DESCRIPTION  =  ncompress
define  BLURB
DESCRIPTION  =  ncompress
define  BLURB
  #XXX:  nwall  package  blurb  goes  here.
Compress  is  a  fast,  simple  LZW  file  compressor.  Compress  does  not  have
the  highest  compression  rate,  but  it  is  one  of  the  fastest  programs  to
compress  data.
endef

LIBDEPS  =  devel/glibc
endef

LIBDEPS  =  devel/glibc
File: archive/unzip/Makefile
base-0 patch-1
Line 11Line 11
DESCRIPTION  =  Info-ZIP  unzip
define  BLURB
DESCRIPTION  =  Info-ZIP  unzip
define  BLURB
  #XXX:  nwall  package  blurb  goes  here.
UnZip  will  list,  test,  or  extract  files  from  a  .zip  archive,  commonly
found  on  MS-DOS  systems.
endef

LIBDEPS  =  devel/glibc
endef

LIBDEPS  =  devel/glibc
File: archive/zip/Makefile
base-0 patch-1
Line 11Line 11
DESCRIPTION  =  Info-ZIP  zip
define  BLURB
DESCRIPTION  =  Info-ZIP  zip
define  BLURB
  #XXX:  nwall  package  blurb  goes  here.
Zip  will  create  .zip  archives,  commonly  found  on  MS-DOS  systems.
endef

LIBDEPS  =  devel/glibc
endef

LIBDEPS  =  devel/glibc
File: bbc.css
base-0 patch-1
Line 1Line 1
body  {
        background-color:  #000000;
        color:  #cccccc;
body  {
        background-color:  #000000;
        color:  #cccccc;
        font-family:  Times  New;
        font-family:  serif;
        font-size:  small;
}

h1,h2,h3,h4,h5  {
        font-size:  small;
}

h1,h2,h3,h4,h5  {
        font-family:  Helvetica;
        font-family:  sans-serif;
        background-color:  #536287;
        color:  white;
        background-color:  #536287;
        color:  white;
        padding-left:3pt;

        margin-top:2pt;
        margin-bottom:8pt;
        margin-top:2pt;
        margin-bottom:8pt;

        padding-top:  1px;
        padding-bottom:  1px;
        clear:  left;
}

h1  {
        font-size:  xx-large;
        border-style:double;
        border-width:medium;
}

h1  {
        font-size:  xx-large;
        border-style:double;
        border-width:medium;

        padding-left:3pt;
        border-color:black;
        border-color:black;

        clear:  both;
}

h2  {
}

h2  {
Line 27Line 31
        border-style:double;
        border-width:medium;
        border-color:black;
        border-style:double;
        border-width:medium;
        border-color:black;

        clear:  both;
}

h3  {
}

h3  {
Line 110Line 115
a.navbar:link,  a.navbar:visited  {
        color:  #cccccc;
a.navbar:link,  a.navbar:visited  {
        color:  #cccccc;

        display:  block;
}

}

a.next:link,  a.next:visited  {
a.next:link,  a.next:visited,  a.previous:link,  a.previous:visited  {
        background-color:  #003366;
        color:white;
        border-style:double;
        background-color:  #003366;
        color:white;
        border-style:double;
Line 120Line 126
        border-color:black;
}

        border-color:black;
}


div.next  {
        float:  right;
        clear:  right;
}

div.previous  {
        float:  left;
        clear:  both;
}

a:visited  {
        color:  #aaaaaa;
}
a:visited  {
        color:  #aaaaaa;
}
Line 129Line 145
}

tt,pre  {
}

tt,pre  {
        font-family:  Lucida  Console,Courier  New,Courier,monotype;
        font-size:  x-small;
        font-family:  monospace;
}

pre.code  {
}

pre.code  {

        font-size:  x-small;
        margin-top:  8pt;
        margin-bottom:  8pt;
        background-color:  #001133;
        margin-top:  8pt;
        margin-bottom:  8pt;
        background-color:  #001133;
Line 146Line 162
        font-size:  x-small;
}

        font-size:  x-small;
}

p.sidebar  {
.sidebar  {
        font-style:  italic;
        float:  right;
        float:  right;
        width:  15em;
        clear:  right;
        width:  33%;
        margin-left:  .5em;
        margin-bottom:  .5em;
        margin-top:  0;
        margin-right:  0;
        border-style:  solid;
        border-width:  thin;
        border-color:#0099cc;
        background-color:  #001133;
        text-align:  justify;
        padding:  .5em;
}

}


.boxology,  .listy  {
        border-style:  solid;
        border-width:  thin;
        border-color:  #536287;
        border-collapse:  collapse;
        margin:  5px  15px;
        padding:  5px;
}

th.listy  {
        text-align:  right;
        font-family:  sans-serif;
}

/*  colors  for  the  dep  tree  */

li.main  {  color:  white;  }
li.singularity  {  color:  cyan;  }
li.build  {  color:  blue;  }
li.rootbin  {  color:  red;  }
li.lnximg  {  color:  purple;  }

.lynxonly  {  display:  none;  }

/*  Style  info  for  the  diffs  in  the  package  list  */
TABLE.d2h-table  {
  border-collapse:  collapse;
/*  Style  info  for  the  diffs  in  the  package  list  */
TABLE.d2h-table  {
  border-collapse:  collapse;
File: bbc.lib.mk
base-0 patch-1
Line 18Line 18
#  EXTRACTING  GARUSERS
#  get  the  .passwd,  .group,  and  .bootstrap  files  into  their  correct  locations
$(foreach  OOZER,$(GARUSERS),$(addprefix  extract-$(OOZER),.passwd  .group  .bootstrap)):
#  EXTRACTING  GARUSERS
#  get  the  .passwd,  .group,  and  .bootstrap  files  into  their  correct  locations
$(foreach  OOZER,$(GARUSERS),$(addprefix  extract-$(OOZER),.passwd  .group  .bootstrap)):
        @echo  "  ==>  Copying  $(subst  extract-,$(DOWNLOADDIR)/,$@)"
        @echo  -e  "  $(WORKCOLOR)==>  Copying  $(BOLD)$(subst  extract-,$(DOWNLOADDIR)/,$@)$(NORMALCOLOR)"
        @cp  $(subst  extract-,$(DOWNLOADDIR)/,$@)  $(WORKDIR)/
        @$(MAKECOOKIE)

        @cp  $(subst  extract-,$(DOWNLOADDIR)/,$@)  $(WORKDIR)/
        @$(MAKECOOKIE)

File: boot/busybox/Makefile
base-0 patch-1
Line 15Line 15
endef

#  Dependencies  are  of  the  form  categorydir/packagedir
endef

#  Dependencies  are  of  the  form  categorydir/packagedir
LIBDEPS  =
DEPENDS  =  lib/uclibc
LIBDEPS  =  lib/uclibc
DEPENDS  =
BUILDDEPS  =

PREFIX=$(prefix)
BUILDDEPS  =

PREFIX=$(prefix)
Line 29Line 29
NODIRPATHS  = 

BUILD_ARGS  =  CC=$(DESTDIR)$(prefix)/i386-linux-uclibc/bin/i386-uclibc-gcc  LD=$(DESTDIR)$(prefix)/i386-linux-uclibc/bin/i386-uclibc-ld  DOSTATIC=true
NODIRPATHS  = 

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
#  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
File: crypto/gnupg/Makefile
base-0 patch-1
Line 1Line 1
GARNAME  =  gnupg
GARNAME  =  gnupg
GARVERSION  =  1.2.1
GARVERSION  =  1.2.2
CATEGORIES  =  crypto
MASTER_SITES  =  ftp://ftp.gnupg.org/gcrypt/gnupg/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz 
CATEGORIES  =  crypto
MASTER_SITES  =  ftp://ftp.gnupg.org/gcrypt/gnupg/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz 
Line 7Line 7
DESCRIPTION  =  gnupg
define  BLURB
DESCRIPTION  =  gnupg
define  BLURB
  #XXX:  nwall  package  blurb  goes  here.
GnuPG  is  a  complete  and  free  replacement  for  PGP.  Because  it  does  not
use  the  patented  IDEA  algorithm,  it  can  be  used  without  any
restrictions.  GnuPG  is  a  RFC2440  (OpenPGP)  compliant  application.
endef

LIBDEPS  =  devel/glibc  lib/zlib
endef

LIBDEPS  =  devel/glibc  lib/zlib
File: crypto/gnupg/checksums
base-0 patch-1
Line Line 1
83e02b4905dab34c4dc25652936022f9    download/gnupg-1.2.1.tar.gz
01cf9c6b949603d0511f6fc07bc758d2    download/gnupg-1.2.2.tar.gz
File: devel/ccache/Makefile
base-0 patch-1
Line 4Line 4
MASTER_SITES  =  http://ccache.samba.org/ftp/ccache/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz
PATCHFILES  = 
MASTER_SITES  =  http://ccache.samba.org/ftp/ccache/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz
PATCHFILES  = 
MAINTAINER  =  Nate  Riffe  <inkblot@movealong.org
MAINTAINER  =  Nate  Riffe  <inkblot@movealong.org>
LICENSE  = 

DESCRIPTION  =  The  compiler  cache
LICENSE  = 

DESCRIPTION  =  The  compiler  cache
File: devel/glibc/Makefile
base-0 patch-1
Line 26Line 26
#  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  =  devel/gcc-primitives  kernel/linux-headers
DEPENDS  =  kernel/linux-headers  devel/gcc-primitives 
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

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

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

define  BLURB
endef

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: developer.txt
base-0 patch-1
Line 471Line 471
        Unfinished,  but  soon  whole  paragraphs  wrapped  in  [brackets]
        will  be  made  into  sidebars  of  a  sort.

        Unfinished,  but  soon  whole  paragraphs  wrapped  in  [brackets]
        will  be  made  into  sidebars  of  a  sort.


        [Note  how  the  sidebar  box  appears  to  the  right  of  the  *next*
        paragraph,  and  not  the  one  above.    This  means  that  the  notes
        will  have  to  come  before  the  paragraphs,  but  that's  not  so
        bad.]

emphasis:
        This  is  a  little  broken,  but  it's  supposed  to  work  so  that
        slashes  mark  italics,  stars  bold,  and  underscores  underline.  I
emphasis:
        This  is  a  little  broken,  but  it's  supposed  to  work  so  that
        slashes  mark  italics,  stars  bold,  and  underscores  underline.  I
Line 485Line 490
        BUILD_SCRIPTS.    We  may  wish  to  update  all  vars  to  be  in
        $-format  (but  see  how  that  gets  mistakenly  typeset!).

        BUILD_SCRIPTS.    We  may  wish  to  update  all  vars  to  be  in
        $-format  (but  see  how  that  gets  mistakenly  typeset!).


boxological  tables:
        Tables  are  paragraphs  consisting  of  cells  wrapped  in  and
        delimited  by  vertical  pipes  (|):   

        |  a  man  |  a  plan  |
        |  a  canal  |  panama  |

        Of  course,  it  wouldn't  be  truly  boxological  unless  you  could
        provide  the  row  separators  as  well.    The  system  also  igores
        lines  made  up  of  hyphens  and  plus  signs  (-  and  +):

        +-----------------+----------+
        |  Welcome  to            |  lnx-bbc    |
        +-----------------+----------+
        |  This  is  so  very  |  <--  emad  |
        +-----------------+----------+
       
key-value  lists:
        One  of  the  most  commonplace  formats  for  a  desired  table  is  a
        paragraph  that  is  entirely  rfc822-esque  key:value  pairs.    In
        this  situation,  a  two-column  table  is  made,  with  the  left
        column  consisting  of  <th>  cells,  and  the  right  <td>:

        One:  two
        buckle:  my  shoe
        three  four:  <--  emad

As  you  can  see,  the  system  needs  work.    It  did,  however,  generate  a
lot  of  good  HTML  using  basically  legible  TXT  files.    Beaujolais!

As  you  can  see,  the  system  needs  work.    It  did,  however,  generate  a
lot  of  good  HTML  using  basically  legible  TXT  files.    Beaujolais!

File: disk/cdrtools/Makefile
base-0 patch-1
Line 1Line 1
GARNAME  =  cdrtools
GARNAME  =  cdrtools
GARVERSION  =  1.10
GARVERSION  =  2.00.3
CATEGORIES  =  disk
MASTER_SITES  =  ftp://ftp.berlios.de/pub/cdrecord/
DISTFILES  =  $(DISTNAME).tar.gz
CATEGORIES  =  disk
MASTER_SITES  =  ftp://ftp.berlios.de/pub/cdrecord/
DISTFILES  =  $(DISTNAME).tar.gz
Line 10Line 10
DESCRIPTION  =  cdrtools
define  BLURB
DESCRIPTION  =  cdrtools
define  BLURB
    The  cdrtools  package  is  based  upon  the  works  from  Joerg  Schilling.
    cdrtools  (formerly  cdrecord)  creates  home-burned  CDs  with  a  CDR/CDRW
    recorder.  It  works  as  a  burn  engine  for  several  applications.    The
    cdrtools  package  is  based  upon  the  works  from  Joerg  Schilling.

    In  order  to  make  the  compilation  of  the  package  "gar-friendly"  a 
    change  to  the  target  installation  directory  is  necessary.

    In  order  to  make  the  compilation  of  the  package  "gar-friendly"  a 
    change  to  the  target  installation  directory  is  necessary.

File: disk/cdrtools/checksums
base-0 patch-1
Line 1Line 1
3a7c452738eb9f58c738908d8146601d    download/cdrtools-1.10.tar.gz
69d7c1c298428c33b5bf5fe3e4a68478    download/gar-base.diff
c0cdfa2dbe9f4c977b0a71fb08ddff0e    download/cdrtools-2.00.3.tar.gz
c8f7410e9861615df58a4f3a1c54c72c    download/gar-base.diff
File: disk/cdrtools/files/gar-base.diff
base-0 patch-1
Line 1Line 1
diff  -Nru  tmp/cdrtools-1.10/DEFAULTS/Defaults.linux  work/cdrtools-1.10/DEFAULTS/Defaults.linux
---  tmp/cdrtools-1.10/DEFAULTS/Defaults.linux        Mon  Mar  13  06:37:45  2000
+++  work/cdrtools-1.10/DEFAULTS/Defaults.linux        Mon  Apr    1  11:01:19  2002
diff  --speed-large-files  --minimal  -Nru  tmp/cdrtools-2.00.3/DEFAULTS/Defaults.linux  work/main.d/cdrtools-2.00.3/DEFAULTS/Defaults.linux
---  tmp/cdrtools-2.00.3/DEFAULTS/Defaults.linux        2003-02-15  18:01:48.000000000  -0600
+++  work/main.d/cdrtools-2.00.3/DEFAULTS/Defaults.linux        2003-06-18  10:12:05.000000000  -0500
Line Line
  CWARNOPTS=
 
  DEFINCDIRS=        $(SRCROOT)/include  /usr/src/linux/include
-LDPATH=                -L/opt/schily/lib
-RUNPATH=        -R  $(INS_BASE)/lib  -R  /opt/schily/lib  -R  $(OLIBSDIR)
  CWARNOPTS=
 
  DEFINCDIRS=        $(SRCROOT)/include  /usr/src/linux/include
-LDPATH=                -L/opt/schily/lib
-RUNPATH=        -R  $(INS_BASE)/lib  -R  /opt/schily/lib  -R  $(OLIBSDIR)
+LDPATH=                -L$(INS_BASE)/lib
+RUNPATH=        -R  $(INS_BASE)/lib  -R  $(prefix)/lib  -R  $(OLIBSDIR)
+LDPATH=                -L/$(INS_BASE)/lib
+RUNPATH=        -R  $(INS_BASE)/lib  -R  $(prefix)/$(libdir)  -R  $(OLIBSDIR)
 
  ###########################################################################
  #
 
  ###########################################################################
  #
File: disk/dumprestore/Makefile
base-0 patch-1
Line 11Line 11
define  BLURB
endef

define  BLURB
endef

LIBDEPS  =  devel/glibc
DEPENDS  =  fs/e2fsprogs
LIBDEPS  =  devel/glibc  fs/e2fsprogs  lib/zlib
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
File: disk/lvm/Makefile
base-0 patch-1
Line 10Line 10
MAINTAINER  =  Sean  Neakums  <sneakums@zork.net>

MAINTAINER  =  Sean  Neakums  <sneakums@zork.net>

LIBDEPS  =  devel/glibc  kernel/linux
DEPENDS  =  boot/minit
LIBDEPS  =  devel/glibc
DEPENDS  =  boot/minit  kernel/linux-headers
DESCRIPTION  =  lvm
define  BLURB
DESCRIPTION  =  lvm
define  BLURB
File: disk/nbd/Makefile
base-0 patch-1
Line 18Line 18
#  Dependencies  are  of  the  form  categorydir/packagedir
#  LIBDEPS  are  for  libraries,  and  DEPENDS  are  for  everything  else
#  Dependencies  are  of  the  form  categorydir/packagedir
#  LIBDEPS  are  for  libraries,  and  DEPENDS  are  for  everything  else
LIBDEPS  =
LIBDEPS  =  devel/glibc
DEPENDS  =
#  Builddeps  are  installed  in  $(BUILD_PREFIX)  in  their  entirety
BUILDDEPS  =
DEPENDS  =
#  Builddeps  are  installed  in  $(BUILD_PREFIX)  in  their  entirety
BUILDDEPS  =
File: download.txt
base-0 patch-1
Line 3Line 3
The  LNX-BBC  project  produces  physical  CD-ROMs  that  fit  in  a  wallet.
We  also  provide  ISO9660  CD-ROM  image  files  for  you  to  burn  to  a  CD-R
or  CD-RW  blank  of  any  size.    For  more  information  on  finding  business
The  LNX-BBC  project  produces  physical  CD-ROMs  that  fit  in  a  wallet.
We  also  provide  ISO9660  CD-ROM  image  files  for  you  to  burn  to  a  CD-R
or  CD-RW  blank  of  any  size.    For  more  information  on  finding  business
card-sized  discs,  please  see  our  <printing.html  printing>  page  for
more  information.
card-sized  discs,  please  see  our  <printing.html  printing>  page.
If  you're  looking  for  the  bleeding  edge  of  LNX-BBC  development,
consider  our  <testing.html  testing  releases>  or  our
<http://www.lnx-bbc.org/builds/  automated  cvs  builds>.

If  you're  looking  for  the  bleeding  edge  of  LNX-BBC  development,
consider  our  <testing.html  testing  releases>  or  our
<http://www.lnx-bbc.org/builds/  automated  cvs  builds>.

We  use  several  mirrors  in  order  to  make  downloads  quicker.    Please
select  one  of  the  URLs  listed  for  the  image  you  wish  to  download.

If  you  wish  to  help  mirror  the  BBC  images,  the  best  way  is  to  use  our
We  use  bittorrent  in  order  to  make  downloads  quicker.    If  you  wish  to
help  mirror  the  BBC  images,  the  best  way  is  to  use  our
<http://bitconjurer.org/BitTorrent/  BitTorrent>  service.    Simply  use
the  torrent  file  with  the
<http://bitconjurer.org/BitTorrent/download.html  bittorrent  software>,
<http://bitconjurer.org/BitTorrent/  BitTorrent>  service.    Simply  use
the  torrent  file  with  the
<http://bitconjurer.org/BitTorrent/download.html  bittorrent  software>,
Line 21Line 18
other  users.    We  also  have  <bittorrent.html  a  tutorial>  to  help  you
out  a  bit.

other  users.    We  also  have  <bittorrent.html  a  tutorial>  to  help  you
out  a  bit.

==  Release  2.0  ==

Released:
January  2003
==  Release  2.1  ==
md5sum:
8bff9cc3ec0bfe9db2afadca6c55b525
Released:  1  May  2003
md5sum:  0cbbc83f4f9dc19f55b9e15287a8a7f4
BitTorrent  download:  <http://www.lnx-bbc.org/images/bbc-2.1.iso.torrent>
HTTP  download:  <http://www.lnx-bbc.org/images/bbc-2.1.iso> 
Label:  <labelslug.png>
BitTorrent  download:
        *  <http://www.lnx-bbc.org/images/bbc-2.0.iso.torrent>
==  Release  2.0  ==
HTTP  download:
        *  <http://www.lnx-bbc.org/images/bbc-2.0.iso>  --    (<http://genetikayos.com  Genetikayos>)
Released:  January  2003
md5sum:  8bff9cc3ec0bfe9db2afadca6c55b525
BitTorrent  download:    <http://www.lnx-bbc.org/images/bbc-2.0.iso.torrent>
HTTP  download:    <http://www.lnx-bbc.org/images/bbc-2.0.iso>
==  Release  1.618  ==

==  Release  1.618  ==

Released:
August  2001

md5sum:
2f87c9e823d44c65da95181cd3e77f4e 

BitTorrent  download:
        *  <http://www.lnx-bbc.org/images/lnx-bbc-1.618.iso.torrent>

HTTP  download:
        *  <http://xcssa.org/files/lnx-bbc-1.618.iso>  --  (<http://xcssa.org/  Xotic>)
        *  <http://www.ibiblio.org/pub/Linux/distributions/lnx-bbc/lnx-bbc-1.618.iso>  --  (<http://www.ibiblio.org/  Ibiblio>)
        *  <http://www.tux.org/pub/distributions/tinylinux/lnx-bbc/lnx-bbc-1.618.iso>  --  (<http://www.tux.org  Tux.org>)
        *  <http://images.mooseriver.com/lnx-bbc-1.618.iso>  --  (<http://www.mooseriver.com  Moose  River>)
        *  <http://public.planetmirror.com/pub/lnx-bbc/lnx-bbc-1.618.iso>  --  (<http://planetmirror.com/  Planet  Mirror>)

FTP  download:
        *  <ftp://ftp.ibiblio.org/pub/Linux/distributions/lnx-bbc/lnx-bbc-1.618.iso>  --  (<http://www.ibiblio.org/  Ibiblio>)
        *  <ftp://ftp.tux.org/pub/distributions/tinylinux/lnx-bbc/lnx-bbc-1.618.iso>  --  (<http://www.tux.org  Tux.org>)
        *  <ftp://planetmirror.com/pub/lnx-bbc/lnx-bbc-1.618.iso>  --  (<http://planetmirror.com/  Planet  Mirror>)
Released:  August  2001
md5sum:  2f87c9e823d44c65da95181cd3e77f4e 
BitTorrent  download:  <http://www.lnx-bbc.org/images/lnx-bbc-1.618.iso.torrent>
HTTP  download:  <http://www.lnx-bbc.org/images/lnx-bbc-1.618.iso>
==  Release  1.6.0  ==

==  Release  1.6.0  ==

Released:
May  2001

md5sum:
5512af456ef1f4d87e35b0b0b3503687 

BitTorrent  download:
        *  <http://www.lnx-bbc.org/images/lnx-bbc-1.6.0.iso.torrent>

HTTP  download:
        *  <http://xcssa.org/files/lnx-bbc-1.6.0.iso>  --  (<http://xcssa.org/  Xotic>)
        *  <http://www.ibiblio.org/pub/Linux/distributions/lnx-bbc/lnx-bbc-1.6.0.iso>  --  (<http://www.ibiblio.org/  Ibiblio>)
        *  <http://www.tux.org/pub/distributions/tinylinux/lnx-bbc/lnx-bbc-1.6.0.iso>  --  (<http://www.tux.org  Tux.org>)
        *  <http://images.mooseriver.com/lnx-bbc-1.6.0.iso>  --  (<http://www.mooseriver.com  Moose  River>)
        *  <http://public.planetmirror.com/pub/lnx-bbc/lnx-bbc-1.6.0.iso>  --  (<http://planetmirror.com/  Planet  Mirror>)

FTP  download:
        *  <ftp://ftp.ibiblio.org/pub/Linux/distributions/lnx-bbc/lnx-bbc-1.6.0.iso>  --  (<http://www.ibiblio.org/  Ibiblio>)
        *  <ftp://ftp.tux.org/pub/distributions/tinylinux/lnx-bbc/lnx-bbc-1.6.0.iso>  --  (<http://www.tux.org  Tux.org>)
        *  <ftp://planetmirror.com/pub/lnx-bbc/lnx-bbc-1.6.0.iso>  --  (<http://planetmirror.com/  Planet  Mirror>)
Released:  May  2001 
md5sum:  5512af456ef1f4d87e35b0b0b3503687 
BitTorrent  download:  <http://www.lnx-bbc.org/images/lnx-bbc-1.6.0.iso.torrent>
HTTP  download:  <http://www.lnx-bbc.org/images/lnx-bbc-1.6.0.iso>
File: editors/biew/Makefile
base-0 patch-1
Line 16Line 16
#  Dependencies  are  of  the  form  categorydir/packagedir
#  LIBDEPS  are  for  libraries,  and  DEPENDS  are  for  everything  else
#  Dependencies  are  of  the  form  categorydir/packagedir
#  LIBDEPS  are  for  libraries,  and  DEPENDS  are  for  everything  else
LIBDEPS  =  lib/ncurses
LIBDEPS  =  devel/glibc  lib/ncurses
DEPENDS  =
#  Builddeps  are  installed  in  $(BUILD_PREFIX)  in  their  entirety
BUILDDEPS  =
DEPENDS  =
#  Builddeps  are  installed  in  $(BUILD_PREFIX)  in  their  entirety
BUILDDEPS  =
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  =  lib/ncurses
LIBDEPS  =  devel/glibc  lib/ncurses
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
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/emacs/Makefile
base-0 patch-1
Line 1Line 1
GARNAME  =  emacs
GARNAME  =  emacs
GARVERSION  =  21.2
GARVERSION  =  21.3
CATEGORIES  =  editors
MASTER_SITES  =  http://ftp.gnu.org/pub/gnu/emacs/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz
CATEGORIES  =  editors
MASTER_SITES  =  http://ftp.gnu.org/pub/gnu/emacs/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz
Line 18Line 18
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile

#  Plain  jane  emacs  build,  tell  it  where  it  will  live  in  the  bbc  runtime
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile

#  Plain  jane  emacs  build,  tell  it  where  it  will  live  in  the  bbc  runtime
CONFIGURE_ARGS  =  --prefix=$(prefix)  --with-x=no
CONFIGURE_ARGS  =  --prefix=$(prefix)  --without-tiff  --without-gif
#  Set  explicit  prefix  for  installation  location
INSTALL_ARGS  =  prefix=$(DESTDIR)$(prefix)
#  Set  explicit  prefix  for  installation  location
INSTALL_ARGS  =  prefix=$(DESTDIR)$(prefix)
File: editors/emacs/checksums
base-0 patch-1
Line Line 1
f4b58e5c2d923fc92495e0c2f167c5db    download/emacs-21.2.tar.gz
a0bab457cbf5b4f8eb99d1d0a3ada420    download/emacs-21.3.tar.gz
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  =  lib/ncurses
LIBDEPS  =  devel/glibc
#  CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  custom
#  CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  custom
File: editors/hexcurse/Makefile
base-0 patch-1
Line 1Line 1
GARNAME  =  hexcurse
GARVERSION  =  1.54
GARNAME  =  hexcurse
GARVERSION  =  1.54
CATEGORIES  = 
CATEGORIES  =  editors
MASTER_SITES  =  http://jewfish.net/downloads/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz
MAINTAINER  =  Seth  Schoen  <schoen@loyalty.org>
MASTER_SITES  =  http://jewfish.net/downloads/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz
MAINTAINER  =  Seth  Schoen  <schoen@loyalty.org>
Line 15Line 15
#  Dependencies  are  of  the  form  categorydir/packagedir
#  LIBDEPS  are  for  libraries,  and  DEPENDS  are  for  everything  else
#  Dependencies  are  of  the  form  categorydir/packagedir
#  LIBDEPS  are  for  libraries,  and  DEPENDS  are  for  everything  else
LIBDEPS  =
LIBDEPS  =  devel/glibc  lib/ncurses
DEPENDS  =
#  Builddeps  are  installed  in  $(BUILD_PREFIX)  in  their  entirety
BUILDDEPS  =
DEPENDS  =
#  Builddeps  are  installed  in  $(BUILD_PREFIX)  in  their  entirety
BUILDDEPS  =
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  =  lib/ncurses
LIBDEPS  =  devel/glibc  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 7Line 7
DESCRIPTION  =  less  pager  (less  is  more)
define  BLURB
DESCRIPTION  =  less  pager  (less  is  more)
define  BLURB
  #XXX:  nwall  package  blurb  goes  here.
Less  is  a  pager.  A  pager  is  a  program  that  displays  text  files.  Other
pagers  commonly  in  use  are  more  and  pg.  Pagers  are  often  used  in
command-line  environments  like  the  Unix  shell  and  the  MS-DOS  command
prompt  to  display  files.  Windowed  environments  like  the  Windows  and
Macintosh  desktops  don't  need  pagers  as  much,  since  they  have  other
methods  for  viewing  files.

Less  is  not  an  editor.  You  can't  change  the  contents  of  the  file
you're  viewing.  Less  is  not  a  windowing  system.  It  doesn't  have  fancy
scroll  bars  or  other  GUI  (graphical  user  interface)  elements.  It  was
designed  to  work  on  simple  text-only  terminals.
endef

endef

LIBDEPS  =  lib/ncurses
LIBDEPS  =  devel/glibc  lib/ncurses
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
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  =  lib/ncurses
LIBDEPS  =  devel/glibc  lib/ncurses
DESCRIPTION  =  nano  (free  pico  clone)
define  BLURB
DESCRIPTION  =  nano  (free  pico  clone)
define  BLURB
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  =  lib/ncurses
LIBDEPS  =  devel/glibc  lib/ncurses
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
File: faq.txt
base-0 patch-1
Line 35Line 35
pivot_rooting  to  make  a  50MB  CD-ROM  hold  all  of  the  programs  we
include.

pivot_rooting  to  make  a  50MB  CD-ROM  hold  all  of  the  programs  we
include.


==  Why  not  just  use  Knoppix?  ==

Knoppix  is  an  excellent  live-CD  distribution,  but  one  with  different
goals.    Knoppix  is  meant  to  be  a  fully-featured  Debian  system  on  a  CD
or  DVD.    The  LNX-BBC  is  meant  to  be  a  portable  card-sized
distribution,  designed  to  fit  in  your  wallet  or  pocket.    The  form
factor  of  a  business  card  CD  makes  the  LNX-BBC  more  readily  transportable
than  a  full-size  CD-ROM.

==  Does  it  work  with  Red  Hat?  ==

The  LNX-BBC  is  its  own  operating  system.    It  works  independently  of
==  Does  it  work  with  Red  Hat?  ==

The  LNX-BBC  is  its  own  operating  system.    It  works  independently  of
Line 42Line 51
could  have  OS/2  installed  on  your  system  and  the  LNX-BBC  would  still
function  in  your  machine.

could  have  OS/2  installed  on  your  system  and  the  LNX-BBC  would  still
function  in  your  machine.


==  Does  it  work  with  Windows?  ==

See  above  question  about  Red  Hat.

==  So  how  do  I  get  one?  ==

Your  options:
==  So  how  do  I  get  one?  ==

Your  options:
Line 50Line 63
                burn  it>  to  a  CD-R.
        *  Meet  one  of  us  at  any  of  the  trade  shows  we  attend.
        *  Join  the  FSF  and  get  their  <http://member.fsf.org/  membership  card>.
                burn  it>  to  a  CD-R.
        *  Meet  one  of  us  at  any  of  the  trade  shows  we  attend.
        *  Join  the  FSF  and  get  their  <http://member.fsf.org/  membership  card>.
        *  Request  one  on  the  <http://zork.net/mailman/listinfo/lnx-bbc 
                lnx-bbc  mailing  list>
        *  Purchase  one  from  the
                <http://shop.eff.org/Merchant2/merchant.mvc?Screen=PROD&Store_Code=ES&Product_Code=BBC
                EFF  Online  Store>
        *  If  you  run  a  Free  Software  user  group  of  some  kind,  you  may
                request  that  some  be  sent  on  the
                <http://zork.net/mailman/listinfo/lnx-bbc  lnx-bbc
                mailing  list>

==  What  do  I  do  with  an  ISO  file?  ==

ISO9660  is  the  standard  that  defines  the  CD-ROM  format.    The  .iso  file
you  download  from  us  is  a  raw  image  of  a  CD-ROM.    You  need  to  burn  it
to  your  CD-R  or  CD-RW  in  some  sort  of  raw  mode,  to  avoid  making
a  CD  with  a  single  large  .iso  file  on  it!

There  is  a  decent  rundown  on  <http://www.linuxdocs.org/sln/cdcommands/
using  cdrecord  under  Unix>  to  burn  CDs  at  the  command-line.    You  may
also  find  <http://xcdroast.org/  X-CD-Roast>  a  helpful  GUI  tool.

Some  people  have  found  that  renaming  the  file  extension  from  .iso  to
.raw  helps  convince  Microsoft  Windows  what  the  appropriate  burning
technique  should  be.    Most  other  operating  systems  in  the  world  are
Unix-based,  and  determine  the  file  type  by  what's  actually  in  it
rather  than  what  it  claims  to  be.
==  So  this  is  that  Linuxcare  thing,  right?  ==

==  So  this  is  that  Linuxcare  thing,  right?  ==

Line 76Line 111
==  But  Linuxcare  still  has  a  GNU/Linux  business  card  CD.    Is  this  the  same  project?  ==

The  LNX-BBC  has  no  affiliation  with  Linuxcare,  although  Linuxcare  have
==  But  Linuxcare  still  has  a  GNU/Linux  business  card  CD.    Is  this  the  same  project?  ==

The  LNX-BBC  has  no  affiliation  with  Linuxcare,  although  Linuxcare  have
continued  maintaining  <http://lbt.linuxcare.com/index.epl  their  own
similar  project>.    Both  are  descended  from  the  original  project,  but
all  of  the  original  developers  are  currently  working  on  the  LNX-BBC.
<http://lbt.linuxcare.com/index.epl  their  own  similar  project>.
Unfortunately,  it  looks  like  Linuxcare  have  not  updated  their  version
of  the  BBC  since  August  2001.    Both  are  descended  from  the  original
project,  but  all  of  the  original  developers  are  currently  working  on
the  LNX-BBC.
==  So  what  version  should  I  get?  ==

==  So  what  version  should  I  get?  ==

As  of  this  writing  (September  2002)  the  latest  release  version  is
<download.html  1.618>.    The  2.0  version  will  be  built
entirely  from  source  code  using  GAR.    When  you  build  from  source,  you
currently  get  a  timestamped  pre-release  edition  of  the  LNX-BBC.
As  of  this  writing  (May  2003)  the  latest  release  version  is
<download.html  2.1>.   
==  Are  there  any  images  for  larger  CDs?    (8cm,  full  CD-ROM  etc)?  ==

==  Are  there  any  images  for  larger  CDs?    (8cm,  full  CD-ROM  etc)?  ==

Line 186Line 221
<http://cvs.lnx-bbc.org/cvs/gar/gar.tar.gz?tarball=1  the  latest  CVS
snapshot>,  updated  immediately  from  the  latest  CVS  checkin. 

<http://cvs.lnx-bbc.org/cvs/gar/gar.tar.gz?tarball=1  the  latest  CVS
snapshot>,  updated  immediately  from  the  latest  CVS  checkin. 


For  the  STABLE  branch,  issue  the  following  instead:

----8<----
cvs  -z3  -d:pserver:anonymous@cvs.lnx-bbc.org:/var/cvs  login
cvs  -z3  -d:pserver:anonymous@cvs.lnx-bbc.org:/var/cvs  co  -r  STABLE  gar
----8<----

==  When  I  try  to  get  GAR,  it  hangs  on  wireless-tools!  How  do  I  fix
this?  ==

==  When  I  try  to  get  GAR,  it  hangs  on  wireless-tools!  How  do  I  fix
this?  ==

Line 222Line 264
All  of  the  1.x  versions  of  the  BBC  and  LNX-BBC  were  built  by  taking
binaries  from  a  variety  of  sources  (hand-compiled,  out  of  Debian
All  of  the  1.x  versions  of  the  BBC  and  LNX-BBC  were  built  by  taking
binaries  from  a  variety  of  sources  (hand-compiled,  out  of  Debian
packages,  etc)  and  just  throwing  them  together.    As  of  September  2002,
there  has  not  yet  been  a  release  of  the  LNX-BBC  that  uses  the  GAR
tree.   

However,  our  build  system  attempts  to  build  two  ISO  files  per  day,  and
puts  them  up  at  <http://www.lnx-bbc.org/builds/>.    If  you're  just
looking  to  boot  our  development  pre-release  and  look  around,  that's
the  way  to  go  (though  it  most  likely  won't  fit  on  a  business  card  CD
yet).
packages,  etc)  and  just  throwing  them  together.   

Our  build  system  attempts  to  build  two  ISO  files  per  day,  and  puts
them  up  at  <http://www.lnx-bbc.org/builds/>.    If  you're  just  looking
to  boot  our  development  pre-release  and  look  around,  that's  the  way  to
go.
==  I  don't  always  have  access  to  the  Internet,  but  want  to  be  able  to
build  with  a  pre-downloaded  set  of  tarballs.    How  do  I  get  GAR  to  do
==  I  don't  always  have  access  to  the  Internet,  but  want  to  be  able  to
build  with  a  pre-downloaded  set  of  tarballs.    How  do  I  get  GAR  to  do
Line 285Line 324
         
Yes.

         
Yes.


==  I  have  a  Gentoo  system  and  I'd  like  to  have  GAR  look  for  any  files
it  needs  in  the  portage  download  directory  before  it  tries  to  get  them
off  of  the  Internet.    Is  there  an  easy  way  to  do  this?  ==

Yes.    In  gar.conf.mk,  append  "file://usr/portage/distfiles/"  to
FILE_SITES.
File: fs/bmap/Makefile
base-0 patch-1
Line 7Line 7
DESCRIPTION  =  bmap  forensic  tool
define  BLURB
DESCRIPTION  =  bmap  forensic  tool
define  BLURB
  #XXX:  nwall  package  blurb  goes  here.
The  blocksize  of  a  typical  file  system  varies  from  1K  to  4K.    Every
file  takes  at  least  one  block.    The  unused  space  in  that  block  is
slack  space.    bmap  can  save  data  into  this  slack  space,  extract  data
from  slack  space,  and  delete  data  in  slack  space.    The  data  cannot  be
accessed  using  tools  unaware  of  slack  space  (ie.  almost  all  other
tools),  does  not  change  existing  files,  and  therefore  cannot  be
detected  using  checksums  or  access  times.
endef

endef


LIBDEPS  =  devel/glibc

#  CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
BUILD_ARGS  =  binaries  -j1  CFLAGS="$(CFLAGS)"
#  CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
BUILD_ARGS  =  binaries  -j1  CFLAGS="$(CFLAGS)"
File: fs/devfsd/Makefile
base-0 patch-1
Line 16Line 16
endef

#  I  think  we  need  current  Linux  kernel  headers  available  before  building  this
endef

#  I  think  we  need  current  Linux  kernel  headers  available  before  building  this
DEPENDS  =  kernel/linux  boot/minit
DEPENDS  =  kernel/linux-headers  boot/minit
CFLAGS  +=  -I$(KERNEL_INCLUDEDIR)

CFLAGS  +=  -I$(KERNEL_INCLUDEDIR)

File: fs/dosfstools/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  =  custom
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile
#CONFIGURE_SCRIPTS  =  custom
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile
File: fs/e2fsprogs/Makefile
base-0 patch-1
Line 1Line 1
GARNAME  =  e2fsprogs
GARNAME  =  e2fsprogs
GARVERSION  =  1.32
GARVERSION  =  1.33
CATEGORIES  =  fs
CATEGORIES  =  fs

MAINTAINER  =  Nate  Riffe  <inkblot@movealong.org>
MASTER_SITES  =  ftp://download.sf.net/pub/sourceforge/e2fsprogs/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz 
MASTER_SITES  =  ftp://download.sf.net/pub/sourceforge/e2fsprogs/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz 
MAINTAINER  =  Andrew  Scott  <ascott@tathata.org>

LICENSE  =  GPL2

DESCRIPTION  =  e2fs  filesystem  utilities
LICENSE  =  GPL2

DESCRIPTION  =  e2fs  filesystem  utilities
Line 18Line 18
endef

endef


LIBDEPS  =  devel/glibc  utils/readline

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

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

Line 26Line 28
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_ARGS  =  install-libs

INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_ARGS  =  install-libs

CPPFLAGS  +=  -g  -O2  -I$(CURDIR)/$(WORKSRC)/include
CPPFLAGS  +=  -g  -O2  -I$(CURDIR)/$(WORKSRC)/include  -DHAVE_NETINET_IN_H
include  ../../gar.mk
include  ../../gar.mk
File: fs/e2fsprogs/checksums
base-0 patch-1
Line Line 1
a7ced9d6edaba3a000ccc5200e09b90d    download/e2fsprogs-1.32.tar.gz
8d922086299ae9794b008256bde6188f    download/e2fsprogs-1.33.tar.gz
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_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile
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 10Line 10
DESCRIPTION  =  romfs  is  a  space-efficient,  small,  read-only  filesystem  for  Linux.

#  Dependencies  are  of  the  form  categorydir/packagedir
DESCRIPTION  =  romfs  is  a  space-efficient,  small,  read-only  filesystem  for  Linux.

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

DEPENDS  =
BUILDDEPS  =

File: fs/jfsutils/Makefile
base-0 patch-1
Line 8Line 8
MAINTAINER  =  Sean  Neakums  <sneakums@zork.net>

MAINTAINER  =  Sean  Neakums  <sneakums@zork.net>

LIBDEPS  =  fs/e2fsprogs
LIBDEPS  =  devel/glibc  fs/e2fsprogs
DESCRIPTION  =  jfstools
define  BLURB
DESCRIPTION  =  jfstools
define  BLURB
File: fs/mtools/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
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
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile  mkfs-symlink
CONFIGURE_ARGS  =  $(DIRPATHS)

include  ../../gar.mk
CONFIGURE_ARGS  =  $(DIRPATHS)

include  ../../gar.mk

install-mkfs-symlink:
        ln  -sf  mkreiserfs  $(DESTDIR)$(sbindir)/mkfs.reiserfs
        $(MAKECOOKIE)
File: fs/xfsprogs/Makefile
base-0 patch-1
Line 14Line 14
endef

BUILDDEPS  =  devel/libtool
endef

BUILDDEPS  =  devel/libtool
LIBDEPS  =  fs/e2fsprogs
LIBDEPS  =  devel/glibc  fs/e2fsprogs
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
Line 26Line 26
CONFIGURE_ARGS  =  $(DIRPATHS)  --enable-shared-uuid=yes

BUILD_ARGS=  CC="$(CC)  -L$(DESTDIR)$(libdir)"  LIBTOOL="$(LIBTOOL)"
CONFIGURE_ARGS  =  $(DIRPATHS)  --enable-shared-uuid=yes

BUILD_ARGS=  CC="$(CC)  -L$(DESTDIR)$(libdir)"  LIBTOOL="$(LIBTOOL)"
INSTALL_ARGS  =  PKG_SLIB_DIR="$(DESTDIR)$(libdir)"  PKG_SBIN_DIR="$(DESTDIR)$(bindir)"  PKG_BIN_DIR="$(DESTDIR)$(bindir)"  PKG_LIB_DIR="$(DESTDIR)$(libdir)"  PKG_MAN_DIR="$(DESTDIR)$(mandir)"  PKG_DOC_DIR="$(DESTDIR)$(docdir)/xfs"  PKG_INC_DIR="$(DESTDIR)$(includedir)"  CHOWN="true"
INSTALL_ARGS  =  PKG_SLIB_DIR="$(DESTDIR)$(libdir)"  PKG_SBIN_DIR="$(DESTDIR)$(sbindir)"  PKG_BIN_DIR="$(DESTDIR)$(bindir)"  PKG_LIB_DIR="$(DESTDIR)$(libdir)"  PKG_MAN_DIR="$(DESTDIR)$(mandir)"  PKG_DOC_DIR="$(DESTDIR)$(docdir)/xfs"  PKG_INC_DIR="$(DESTDIR)$(includedir)"  CHOWN="true"
File: games/boggle/Makefile
base-0 patch-1
Line 21Line 21
#  Dependencies  are  of  the  form  categorydir/packagedir
#  LIBDEPS  are  for  libraries,  and  DEPENDS  are  for  everything  else
#  Dependencies  are  of  the  form  categorydir/packagedir
#  LIBDEPS  are  for  libraries,  and  DEPENDS  are  for  everything  else
LIBDEPS  =  lib/ncurses
LIBDEPS  =  devel/glibc  lib/ncurses
DEPENDS  =
#  Builddeps  are  installed  in  $(BUILD_PREFIX)  in  their  entirety
BUILDDEPS  =
DEPENDS  =
#  Builddeps  are  installed  in  $(BUILD_PREFIX)  in  their  entirety
BUILDDEPS  =
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  =  lib/ncurses  devel/glib
LIBDEPS  =  devel/glibc  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  =  lib/ncurses
LIBDEPS  =  devel/glibc  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 19Line 19
#  Dependencies  are  of  the  form  categorydir/packagedir
#  LIBDEPS  are  for  libraries,  and  DEPENDS  are  for  everything  else
#  Dependencies  are  of  the  form  categorydir/packagedir
#  LIBDEPS  are  for  libraries,  and  DEPENDS  are  for  everything  else
LIBDEPS  =  lib/ncurses
LIBDEPS  =  devel/glibc  lib/ncurses
DEPENDS  =
#  Builddeps  are  installed  in  $(BUILD_PREFIX)  in  their  entirety
BUILDDEPS  =
DEPENDS  =
#  Builddeps  are  installed  in  $(BUILD_PREFIX)  in  their  entirety
BUILDDEPS  =
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  =  X11/XFree86
LIBDEPS  =  devel/glibc  lib/libstdc++  X11/XFree86
BUILDDEPS  =  devel/imake

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

CONFIGURE_SCRIPTS  =  $(WORKSRC)/Imakefile
File: gar.bugs.mk
base-0 patch-1
Line 102Line 102
        @echo  -e  $${HTMLTEMPLATE}  >  $(HTMLDIR)/$(GARNAME).html
        @echo  "<li><dt><a  href=\"$(CATEGORYURL)$(GARNAME).html\">$(GARNAME)</a>  </dt><dd>  $(DESCRIPTION)</blockquote></dd></li>"  >>  $(HTMLINDEX)

        @echo  -e  $${HTMLTEMPLATE}  >  $(HTMLDIR)/$(GARNAME).html
        @echo  "<li><dt><a  href=\"$(CATEGORYURL)$(GARNAME).html\">$(GARNAME)</a>  </dt><dd>  $(DESCRIPTION)</blockquote></dd></li>"  >>  $(HTMLINDEX)


htmldeps:
        @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  "<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>"
        @$(MAKE)  -s  htmldep
        @echo  "</ul></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>";  \
        echo  -e  "<ul>";  \
        $(MAKE)  -s  -C  $(GARDIR)/$$dep  DESTIMG=$(IMG)  htmldep;  \
        echo  -e  "</ul>";  \
        done  ;)  true

webtest:
        @echo  -e  $${HTMLTEMPLATE}
webtest:
        @echo  -e  $${HTMLTEMPLATE}
File: gar.conf.mk
base-0 patch-1
Line 10Line 10
#  default  data)  of  the  system  will  remain  in  bbc.gar.mk
#  (bbc.port.mk)

#  default  data)  of  the  system  will  remain  in  bbc.gar.mk
#  (bbc.port.mk)


#  If  the  color  codes  are  interfering  with  your  terminal,  consider
#  commenting  this  next  line  out.

COLOR_GAR  ?=  yes

#  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 74Line 79
#main_CPPFLAGS  +=  -nostdinc
#main_CFLAGS  +=  -nostdinc  -nostdlib
#main_LDFLAGS  +=  -nostdlib
#main_CPPFLAGS  +=  -nostdinc
#main_CFLAGS  +=  -nostdinc  -nostdlib
#main_LDFLAGS  +=  -nostdlib
main_CPPFLAGS  +=  -I$(DESTDIR)$(includedir) 
main_CFLAGS  +=  -Os  -I$(DESTDIR)$(includedir)  -L$(DESTDIR)$(libdir) 
#main_CXXFLAGS  +=  -Os  -I$(DESTDIR)$(includedir)  -L$(DESTDIR)$(libdir) 
main_LDFLAGS  +=  -L$(DESTDIR)$(libdir) 
main_CPPFLAGS  +=  -I$(GCC_INCLUDEDIR)  -I$(CROSS_GCC_INCLUDEDIR)
main_CFLAGS  +=  -I$(GCC_INCLUDEDIR)  -I$(CROSS_GCC_INCLUDEDIR)  -L$(GCC_LIBDIR)  -L$(CROSS_GCC_LIBDIR)
#main_CXXFLAGS  +=  -I$(GCC_INCLUDEDIR)  -I$(CROSS_GCC_INCLUDEDIR)  -L$(GCC_LIBDIR)  -L$(CROSS_GCC_LIBDIR)
main_LDFLAGS  +=  -L$(GCC_LIBDIR)  -L$(CROSS_GCC_LIBDIR)
main_CPPFLAGS  +=  $(foreach  DESTIMG,main,-I$(DESTDIR)$(includedir))
main_CFLAGS  +=  $(foreach  DESTIMG,main,-Os  -I$(DESTDIR)$(includedir)  -L$(DESTDIR)$(libdir))
#main_CXXFLAGS  +=  $(foreach  DESTIMG,main,-Os  -I$(DESTDIR)$(includedir)  -L$(DESTDIR)$(libdir))
main_LDFLAGS  +=  $(foreach  DESTIMG,main,-L$(DESTDIR)$(libdir))
main_CPPFLAGS  +=  $(foreach  DESTIMG,main,-I$(GCC_INCLUDEDIR)  -I$(CROSS_GCC_INCLUDEDIR))
main_CFLAGS  +=  $(foreach  DESTIMG,main,-I$(GCC_INCLUDEDIR)  -I$(CROSS_GCC_INCLUDEDIR)  -L$(GCC_LIBDIR)  -L$(CROSS_GCC_LIBDIR))
#main_CXXFLAGS  +=  $(foreach  DESTIMG,main,-I$(GCC_INCLUDEDIR)  -I$(CROSS_GCC_INCLUDEDIR)  -L$(GCC_LIBDIR)  -L$(CROSS_GCC_LIBDIR))
main_LDFLAGS  +=  $(foreach  DESTIMG,main,-L$(GCC_LIBDIR)  -L$(CROSS_GCC_LIBDIR))
#  allow  us  to  link  to  libraries  we  installed
#  allow  us  to  link  to  libraries  we  installed
build_CPPFLAGS  +=  -I$(DESTDIR)$(includedir) 
build_CFLAGS  +=  -Os  -I$(DESTDIR)$(includedir)  -L$(DESTDIR)$(libdir) 
#build_CXXFLAGS  +=  -Os  -I$(DESTDIR)$(includedir)  -L$(DESTDIR)$(libdir) 
build_LDFLAGS  +=  -L$(DESTDIR)$(libdir) 
build_CPPFLAGS  +=  $(foreach  DESTIMG,build,-I$(DESTDIR)$(includedir))
build_CFLAGS  +=  $(foreach  DESTIMG,build,-Os  -I$(DESTDIR)$(includedir)  -L$(DESTDIR)$(libdir))
#build_CXXFLAGS  +=  $(foreach  DESTIMG,build,-Os  -I$(DESTDIR)$(includedir)  -L$(DESTDIR)$(libdir))
build_LDFLAGS  +=  $(foreach  DESTIMG,build,-L$(DESTDIR)$(libdir))
#  Default  main_CC  to  gcc,  $(DESTIMG)_CC  to  main_CC  and  set  CC  based  on  $(DESTIMG)
#  Default  main_CC  to  gcc,  $(DESTIMG)_CC  to  main_CC  and  set  CC  based  on  $(DESTIMG)
main_CC  ?=  $(GARHOST)-gcc
main_CC  ?=  gcc
main_CXX  ?=  g++
main_CXX  ?=  g++
main_LD  ?=  $(GARHOST)-ld
main_LD  ?=  ld
main_RANLIB  ?=  ranlib
main_CPP  ?=  cpp
main_AS  ?=  as
main_AR  ?=  ar
build_CC  ?=  gcc
build_CXX  ?=  g++
build_LD  ?=  ld
build_CC  ?=  gcc
build_CXX  ?=  g++
build_LD  ?=  ld

build_RANLIB  ?=  ranlib
build_CPP  ?=  cpp
build_AS  ?=  as
build_AR  ?=  ar
#  GARCH  and  GARHOST  for  main.    Override  these  for  cross-compilation
#  GARCH  and  GARHOST  for  main.    Override  these  for  cross-compilation
main_GARCH  ?=  i386
main_GARHOST  ?=  i386-pc-linux-gnu
main_GARCH  ?=  $(shell  arch)
main_GARHOST  ?=  $(shell  gcc  -dumpmachine)
#  GARCH  and  GARHOST  for  build.    Do  not  change  these.
build_GARCH  :=  $(shell  arch)
build_GARHOST  :=  $(GARBUILD)

#  GARCH  and  GARHOST  for  build.    Do  not  change  these.
build_GARCH  :=  $(shell  arch)
build_GARHOST  :=  $(GARBUILD)

#  Don't  build  these  packages  as  in  the  build  image
#  Exclude  specific  packages  as  dependencies  in  specific  DESTIMGs
main_NODEPEND  =  devel/glibc  devel/gcc-primitives  lib/libstdc++
build_NODEPEND  =  devel/glibc  devel/gcc-primitives

#  This  is  for  foo-config  chaos
build_NODEPEND  =  devel/glibc  devel/gcc-primitives

#  This  is  for  foo-config  chaos
Line 117Line 131
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
STAGE_EXPORTS  +=  CC  CXX  LD  RANLIB  AS  AR  #CPP
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 37Line 37
#  get  one  that  doesn't  return  an  error  code.
$(DOWNLOADDIR)/%:   
        @if  test  -f  $(COOKIEDIR)/checksum-$*;  then  :  ;  else  \
#  get  one  that  doesn't  return  an  error  code.
$(DOWNLOADDIR)/%:   
        @if  test  -f  $(COOKIEDIR)/checksum-$*;  then  :  ;  else  \
                echo  "  ==>  Grabbing  $@";  \
                echo  -e  "  $(WORKCOLOR)==>  Grabbing  $(BOLD)$@$(NORMALCOLOR)";  \
                for  i  in  $(filter  %/$*,$(URLS));  do    \
                for  i  in  $(filter  %/$*,$(URLS));  do    \
                        echo  "          ==>  Trying  $$i";  \
                        echo  -e  "          $(WORKCOLOR)==>  Trying  $(BOLD)$$i$(NORMALCOLOR)";  \
                        $(MAKE)  -s  $$i  ||  continue;  \
                        mv  $(PARTIALDIR)/$*  $@;  \
                        break;  \
                done;  \
                if  test  -r  $@  ;  then  :  ;  else  \
                        $(MAKE)  -s  $$i  ||  continue;  \
                        mv  $(PARTIALDIR)/$*  $@;  \
                        break;  \
                done;  \
                if  test  -r  $@  ;  then  :  ;  else  \
                        echo  '***  GAR  GAR  GAR!    Failed  to  download  $@!    GAR  GAR  GAR!  ***'  1>&2;  \
                        echo  -e  "$(ERRORCOLOR)***  GAR  GAR  GAR!    Failed  to  download  $@!    GAR  GAR  GAR!  ***$(NORMALCOLOR)"  1>&2;  \
                        false;  \
                fi;  \
        fi

#  download  an  http  URL  (colons  omitted)
http//%: 
                        false;  \
                fi;  \
        fi

#  download  an  http  URL  (colons  omitted)
http//%: 
        @wget  -c  -P  $(PARTIALDIR)  http://$*
        @wget  -c  -P  $(PARTIALDIR)  -T  120  -t  3  http://$*
#  download  an  ftp  URL  (colons  omitted)
ftp//%: 
#  download  an  ftp  URL  (colons  omitted)
ftp//%: 
        @wget  -c  --passive-ftp  -P  $(PARTIALDIR)  ftp://$*
        @wget  -c  --passive-ftp  -P  $(PARTIALDIR)  -T  120  -t  3  ftp://$*
#  link  to  a  local  copy  of  the  file
#  (absolute  path)
#  link  to  a  local  copy  of  the  file
#  (absolute  path)
Line 85Line 85
scp//%:
        @scp  -C  $*  $(PARTIALDIR)/

scp//%:
        @scp  -C  $*  $(PARTIALDIR)/


cvs//%:
        @cvs  -d  :pserver:$(shell  dirname  $*  |  sed  's,/,:/,')  login;  \
        cd  $(PARTIALDIR);  \
        cvs  -z3  -d  :pserver:$(shell  dirname  $*  |  sed  's,/,:/,')  co  $(shell  basename  $*)


####################  CHECKSUM  RULES  ####################

#  check  a  given  file's  checksum  against  $(CHECKSUM_FILE)  and
#  error  out  if  it  mentions  the  file  without  an  "OK".
checksum-%:  $(CHECKSUM_FILE) 
####################  CHECKSUM  RULES  ####################

#  check  a  given  file's  checksum  against  $(CHECKSUM_FILE)  and
#  error  out  if  it  mentions  the  file  without  an  "OK".
checksum-%:  $(CHECKSUM_FILE) 
        @echo  "  ==>  Running  checksum  on  $*"
        @if  grep  --  '$*'  $(CHECKSUM_FILE);  then  \
                if  LC_ALL="C"  LANG="C"  md5sum  -c  $(CHECKSUM_FILE)  2>&1  |  grep  --  '$*'  |  grep  -v  ':[  ]\+OK';  then  \
                        echo  '***  GAR  GAR  GAR!    $*  failed  checksum  test!    GAR  GAR  GAR!  ***'  1>&2;  \
        @echo  -e  "  $(WORKCOLOR)==>  Running  checksum  on  $(BOLD)$*$(NORMALCOLOR)"
        @rm  -f  $(CHECKSUM_FILE).tmp
        @cat  $(CHECKSUM_FILE)  |  sed  -e  's~  download/~  $(DOWNLOADDIR)/~'  >  $(CHECKSUM_FILE).tmp
        @if  grep  --  '$*'  $(CHECKSUM_FILE).tmp;  then  \
                if  LC_ALL="C"  LANG="C"  md5sum  -c  $(CHECKSUM_FILE).tmp  2>&1  |  grep  --  '$*'  |  grep  -v  ':[  ]\+OK';  then  \
                        echo  -e  "$(ERRORCOLOR)***  GAR  GAR  GAR!    $*  failed  checksum  test!    GAR  GAR  GAR!  ***$(NORMALCOLOR)"  1>&2;  \
                        rm  -f  $(CHECKSUM_FILE).tmp  ;\
                        false;  \
                else  \
                        false;  \
                else  \
                        echo  'file  $*  passes  checksum  test!';  \
                        echo  -e  "$(SUCCESSCOLOR)file  $(BOLD)$*  $(SUCCESSCOLOR)passes  checksum  test!$(NORMALCOLOR)";  \
                        rm  -f  $(CHECKSUM_FILE).tmp  ;\
                        $(MAKECOOKIE);  \
                fi  \
        else  \
                        $(MAKECOOKIE);  \
                fi  \
        else  \
                echo  '***  GAR  GAR  GAR!    $*  not  in  $(CHECKSUM_FILE)  file!    GAR  GAR  GAR!  ***'  1>&2;  \
                echo  -e  "$(ERRORCOLOR)***  GAR  GAR  GAR!    $*  not  in  $(CHECKSUM_FILE)  file!    GAR  GAR  GAR!  ***$(NORMALCOLOR)"  1>&2;  \
                rm  -f  $(CHECKSUM_FILE).tmp  ;\
                false;  \
        fi
               
                false;  \
        fi
               
Line 111Line 122
#  checksummed  files

$(GARCHIVEDIR)/%:  $(GARCHIVEDIR)
#  checksummed  files

$(GARCHIVEDIR)/%:  $(GARCHIVEDIR)
        cp  -Lr  $(DOWNLOADDIR)/$*  $@ 
        -cp  -Lr  $(DOWNLOADDIR)/$*  $@ 
####################  EXTRACT  RULES  ####################

#  rule  to  extract  uncompressed  tarballs
tar-extract-%:
####################  EXTRACT  RULES  ####################

#  rule  to  extract  uncompressed  tarballs
tar-extract-%:
        @echo  "  ==>  Extracting  $(DOWNLOADDIR)/$*"
        @echo  -e  "  $(WORKCOLOR)==>  Extracting  $(BOLD)$(DOWNLOADDIR)/$*$(NORMALCOLOR)"
        @tar  -xf  $(DOWNLOADDIR)/$*  -C  $(EXTRACTDIR)
        @$(MAKECOOKIE)

#  rule  to  extract  files  with  tar  xzf
tar-gz-extract-%:
        @tar  -xf  $(DOWNLOADDIR)/$*  -C  $(EXTRACTDIR)
        @$(MAKECOOKIE)

#  rule  to  extract  files  with  tar  xzf
tar-gz-extract-%:
        @echo  "  ==>  Extracting  $(DOWNLOADDIR)/$*"
        @echo  -e  "  $(WORKCOLOR)==>  Extracting  $(BOLD)$(DOWNLOADDIR)/$*$(NORMALCOLOR)"
        @gzip  -dc  $(DOWNLOADDIR)/$*  |  tar  -xf  -  -C  $(EXTRACTDIR)
        @$(MAKECOOKIE)

#  rule  to  extract  files  with  tar  and  bzip
tar-bz-extract-%:
        @gzip  -dc  $(DOWNLOADDIR)/$*  |  tar  -xf  -  -C  $(EXTRACTDIR)
        @$(MAKECOOKIE)

#  rule  to  extract  files  with  tar  and  bzip
tar-bz-extract-%:
        @echo  "  ==>  Extracting  $(DOWNLOADDIR)/$*"
        @echo  -e  "  $(WORKCOLOR)==>  Extracting  $(BOLD)$(DOWNLOADDIR)/$*$(NORMALCOLOR)"
        @bzip2  -dc  $(DOWNLOADDIR)/$*  |  tar  -xf  -  -C  $(EXTRACTDIR)
        @$(MAKECOOKIE)

#  rule  to  extract  files  with  unzip
zip-extract-%:
        @bzip2  -dc  $(DOWNLOADDIR)/$*  |  tar  -xf  -  -C  $(EXTRACTDIR)
        @$(MAKECOOKIE)

#  rule  to  extract  files  with  unzip
zip-extract-%:
        @echo  "  ==>  Extracting  $(DOWNLOADDIR)/$*"
        @echo  -e  "  $(WORKCOLOR)==>  Extracting  $(BOLD)$(DOWNLOADDIR)/$*$(NORMALCOLOR)"
        @unzip  $(DOWNLOADDIR)/$*  -d  $(EXTRACTDIR)
        @$(MAKECOOKIE)

#  this  is  a  null  extract  rule  for  files  which  are  constant  and
#  unchanged  (not  archives)
cp-extract-%:
        @unzip  $(DOWNLOADDIR)/$*  -d  $(EXTRACTDIR)
        @$(MAKECOOKIE)

#  this  is  a  null  extract  rule  for  files  which  are  constant  and
#  unchanged  (not  archives)
cp-extract-%:
        @echo  "  ==>  Copying  $(DOWNLOADDIR)/$*"
        @cp  $(DOWNLOADDIR)/$*  $(WORKDIR)/
        @echo  -e  "  $(WORKCOLOR)==>  Copying  $(BOLD)$(DOWNLOADDIR)/$*$(NORMALCOLOR)"
        @cp  -a  $(DOWNLOADDIR)/$*  $(WORKDIR)/
        @$(MAKECOOKIE)

#gets  the  meat  of  a  .deb  into  $(WORKSRC)
deb-bin-extract-%:
        @$(MAKECOOKIE)

#gets  the  meat  of  a  .deb  into  $(WORKSRC)
deb-bin-extract-%:
        @echo  "  ==>  Extracting  $(DOWNLOADDIR)/$*"
        @echo  -e  "  $(WORKCOLOR)==>  Extracting  $(BOLD)$(DOWNLOADDIR)/$*$(NORMALCOLOR)"
        @ar  x  $(DOWNLOADDIR)/$*
        @rm  debian-binary  &&  mv  *.tar.gz  $(DOWNLOADDIR)  &&  mkdir  $(WORKSRC)  &&  tar  -xvz  -C  $(WORKSRC)  -f  $(DOWNLOADDIR)/data.tar.gz
        @$(MAKECOOKIE)
        @ar  x  $(DOWNLOADDIR)/$*
        @rm  debian-binary  &&  mv  *.tar.gz  $(DOWNLOADDIR)  &&  mkdir  $(WORKSRC)  &&  tar  -xvz  -C  $(WORKSRC)  -f  $(DOWNLOADDIR)/data.tar.gz
        @$(MAKECOOKIE)
Line 208Line 219
#  apply  bzipped  patches
bz-patch-%:
#  apply  bzipped  patches
bz-patch-%:
        @echo  "  ==>  Applying  patch  $(DOWNLOADDIR)/$*"
        @echo  -e  "  $(WORKCOLOR)==>  Applying  patch  $(BOLD)$(DOWNLOADDIR)/$*$(NORMALCOLOR)"
        @bzip2  -dc  $(DOWNLOADDIR)/$*  |$(GARPATCH)
        @$(MAKECOOKIE)

#  apply  gzipped  patches
gz-patch-%:
        @bzip2  -dc  $(DOWNLOADDIR)/$*  |$(GARPATCH)
        @$(MAKECOOKIE)

#  apply  gzipped  patches
gz-patch-%:
        @echo  "  ==>  Applying  patch  $(DOWNLOADDIR)/$*"
        @echo  -e  "  $(WORKCOLOR)==>  Applying  patch  $(BOLD)$(DOWNLOADDIR)/$*$(NORMALCOLOR)"
        @gzip  -dc  $(DOWNLOADDIR)/$*  |$(GARPATCH)
        @$(MAKECOOKIE)

#  apply  normal  patches
normal-patch-%:
        @gzip  -dc  $(DOWNLOADDIR)/$*  |$(GARPATCH)
        @$(MAKECOOKIE)

#  apply  normal  patches
normal-patch-%:
        @echo  "  ==>  Applying  patch  $(DOWNLOADDIR)/$*"
        @echo  -e  "  $(WORKCOLOR)==>  Applying  patch  $(BOLD)$(DOWNLOADDIR)/$*$(NORMALCOLOR)"
        @$(GARPATCH)  <$(DOWNLOADDIR)/$*
        @$(MAKECOOKIE)

#  This  is  used  by  makepatch
%/gar-base.diff:
        @$(GARPATCH)  <$(DOWNLOADDIR)/$*
        @$(MAKECOOKIE)

#  This  is  used  by  makepatch
%/gar-base.diff:
        @echo  "  ==>  Creating  patch  $@"
        @EXTRACTDIR=$(SCRATCHDIR)  COOKIEDIR=$(SCRATCHDIR)-$(COOKIEDIR)  $(MAKE)  extract
        @echo  -e  "  $(WORKCOLOR)==>  Creating  patch  $(BOLD)$@$(NORMALCOLOR)"
        @$(MAKE)  EXTRACTDIR=$(SCRATCHDIR)  COOKIEDIR=$(SCRATCHDIR)-$(COOKIEDIR)  extract
        @if  diff  --speed-large-files  --minimal  -Nru  $(SCRATCHDIR)  $(WORKDIR)  >  $@;  then  \
                rm  $@;  \
        fi
        @if  diff  --speed-large-files  --minimal  -Nru  $(SCRATCHDIR)  $(WORKDIR)  >  $@;  then  \
                rm  $@;  \
        fi
Line 266Line 277
#  configure  a  package  that  has  an  autoconf-style  configure
#  script.
configure-%/configure: 
#  configure  a  package  that  has  an  autoconf-style  configure
#  script.
configure-%/configure: 
        @echo  "  ==>  Running  configure  in  $*"
        @echo  -e  "  $(WORKCOLOR)==>  Running  configure  in  $(BOLD)$*$(NORMALCOLOR)"
        @cd  $*  &&  $(CONFIGURE_ENV)  ./configure  $(CONFIGURE_ARGS)
        @$(MAKECOOKIE)

        @cd  $*  &&  $(CONFIGURE_ENV)  ./configure  $(CONFIGURE_ARGS)
        @$(MAKECOOKIE)

Line 274Line 285
#  FIXME:  untested  and  likely  not  the  right  way  to  handle  the
#  arguments
configure-%/Imakefile: 
#  FIXME:  untested  and  likely  not  the  right  way  to  handle  the
#  arguments
configure-%/Imakefile: 
        @echo  "  ==>  Running  imake  in  $*"
        @echo  -e  "  $(WORKCOLOR)==>  Running  imake  in  $(BOLD)$*$(NORMALCOLOR)"
        @cd  $*  &&  $(CONFIGURE_ENV)  imake  -DUseInstalled  -DBOOTSTRAPCFLAGS="$(CFLAGS)"  -I$(DESTDIR)$(includedir)/X11/config  $(CONFIGURE_ARGS)
        @$(MAKECOOKIE)

        @cd  $*  &&  $(CONFIGURE_ENV)  imake  -DUseInstalled  -DBOOTSTRAPCFLAGS="$(CFLAGS)"  -I$(DESTDIR)$(includedir)/X11/config  $(CONFIGURE_ARGS)
        @$(MAKECOOKIE)


#  configure  a  package  that  uses  a  "config"  or  "oldconfig"  make
#  target
configure-%/Makefile:
        @echo  -e  "  $(WORKCOLOR)==>  Running  make  in  $(BOLD)$*$(NORMALCOLOR)"
        @$(CONFIGURE_ENV)  $(firstword  $(MAKE))  $(PARALLELMFLAGS)  -C  $*  $(CONFIGURE_ARGS)
        @$(MAKECOOKIE)

####################  BUILD  RULES  ####################

#  build  from  a  standard  gnu-style  makefile's  default  rule.
build-%/Makefile:
####################  BUILD  RULES  ####################

#  build  from  a  standard  gnu-style  makefile's  default  rule.
build-%/Makefile:
        @echo  "  ==>  Running  make  in  $*"
        @$(BUILD_ENV)  $(MAKE)  $(PARALLELMFLAGS)  $(foreach  TTT,$(BUILD_OVERRIDE_DIRS),$(TTT)="$($(TTT))")  -C  $*  $(BUILD_ARGS)
        @echo  -e  "  $(WORKCOLOR)==>  Running  make  in  $(BOLD)$*$(NORMALCOLOR)"
        @$(BUILD_ENV)  $(firstword  $(MAKE))  $(PARALLELMFLAGS)  $(foreach  TTT,$(BUILD_OVERRIDE_DIRS),$(TTT)="$($(TTT))")  -C  $*  $(BUILD_ARGS)
        @$(MAKECOOKIE)

build-%/makefile:
        @$(MAKECOOKIE)

build-%/makefile:
        @echo  "  ==>  Running  make  in  $*"
        @$(BUILD_ENV)  $(MAKE)  $(PARALLELMFLAGS)  $(foreach  TTT,$(BUILD_OVERRIDE_DIRS),$(TTT)="$($(TTT))")  -C  $*  $(BUILD_ARGS)
        @echo  -e  "  $(WORKCOLOR)==>  Running  make  in  $(BOLD)$*$(NORMALCOLOR)"
        @$(BUILD_ENV)  $(firstword  $(MAKE))  $(PARALLELMFLAGS)  $(foreach  TTT,$(BUILD_OVERRIDE_DIRS),$(TTT)="$($(TTT))")  -C  $*  $(BUILD_ARGS)
        @$(MAKECOOKIE)

build-%/GNUmakefile:
        @$(MAKECOOKIE)

build-%/GNUmakefile:
        @echo  "  ==>  Running  make  in  $*"
        @$(BUILD_ENV)  $(MAKE)  $(PARALLELMFLAGS)  $(foreach  TTT,$(BUILD_OVERRIDE_DIRS),$(TTT)="$($(TTT))")  -C  $*  $(BUILD_ARGS)
        @echo  -e  "  $(WORKCOLOR)==>  Running  make  in  $(BOLD)$*$(NORMALCOLOR)"
        @$(BUILD_ENV)  $(firstword  $(MAKE))  $(PARALLELMFLAGS)  $(foreach  TTT,$(BUILD_OVERRIDE_DIRS),$(TTT)="$($(TTT))")  -C  $*  $(BUILD_ARGS)
        @$(MAKECOOKIE)

####################  STRIP  RULES  ####################
        @$(MAKECOOKIE)

####################  STRIP  RULES  ####################
Line 306Line 324
#    This  will  likely  become  almost  as  hairy  as  the  actual
#    installation  code.
strip-$(MANIFEST_FILE):
#    This  will  likely  become  almost  as  hairy  as  the  actual
#    installation  code.
strip-$(MANIFEST_FILE):
        @echo  "Not  finished"
        @echo  -e  "$(ERRORCOLOR)Not  finished$(NORMALCOLOR)"
#  The  Makefile  must  have  a  "make  strip"  rule  for  this  to  work.
strip-%/Makefile:
#  The  Makefile  must  have  a  "make  strip"  rule  for  this  to  work.
strip-%/Makefile:
        @echo  "  ==>  Running  make  strip  in  $*"
        @$(BUILD_ENV)  $(MAKE)  -C  $*  $(BUILD_ARGS)  strip
        @echo  -e  "  $(WORKCOLOR)==>  Running  make  strip  in  $(BOLD)$*$(NORMALCOLOR)"
        @$(BUILD_ENV)  $(firstword  $(MAKE))  -C  $*  $(BUILD_ARGS)  strip
        @$(MAKECOOKIE)

####################  INSTALL  RULES  ####################

        @$(MAKECOOKIE)

####################  INSTALL  RULES  ####################


INSTALL_TARGET  ?=  install

#  just  run  make  install  and  hope  for  the  best.
install-%/Makefile:
#  just  run  make  install  and  hope  for  the  best.
install-%/Makefile:
        @echo  "  ==>  Running  make  install  in  $*"
        @$(INSTALL_ENV)  $(MAKE)  DESTDIR=$(DESTDIR)  $(foreach  TTT,$(INSTALL_OVERRIDE_DIRS),$(TTT)="$(DESTDIR)$($(TTT))")  -C  $*  $(INSTALL_ARGS)  install
        @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)
        @$(MAKECOOKIE)

install-%/makefile:
        @$(MAKECOOKIE)

install-%/makefile:
        @echo  "  ==>  Running  make  install  in  $*"
        @$(INSTALL_ENV)  $(MAKE)  DESTDIR=$(DESTDIR)  $(foreach  TTT,$(INSTALL_OVERRIDE_DIRS),$(TTT)="$(DESTDIR)$($(TTT))")  -C  $*  $(INSTALL_ARGS)  install
        @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)
        @$(MAKECOOKIE)

install-%/GNUmakefile:
        @$(MAKECOOKIE)

install-%/GNUmakefile:
        @echo  "  ==>  Running  make  install  in  $*"
        @$(INSTALL_ENV)  $(MAKE)  DESTDIR=$(DESTDIR)  $(foreach  TTT,$(INSTALL_OVERRIDE_DIRS),$(TTT)="$(DESTDIR)$($(TTT))")  -C  $*  $(INSTALL_ARGS)  install
        @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)
        @$(MAKECOOKIE)

#  LICENSE  INSTALLATION
        @$(MAKECOOKIE)

#  LICENSE  INSTALLATION
Line 353Line 373
Public_Domain_LICENSE_TEXT  =  $(LICENSEDIR)/public-domain.txt

install-license-%:  $($*_LICENSE_TEXT)
Public_Domain_LICENSE_TEXT  =  $(LICENSEDIR)/public-domain.txt

install-license-%:  $($*_LICENSE_TEXT)
        echo  "  ==>  Installing  $*  license  text"
        install  -d  $(DESTDIR)$(licensedir)/$(GARNAME)/
        install  -m  644  $($*_LICENSE_TEXT)  $(DESTDIR)$(licensedir)/$(GARNAME)/
        $(MAKECOOKIE)
        @echo  -e  "  $(WORKCOLOR)==>  Installing  $(BOLD)$*  $(WORKCOLOR)license  text$(NORMALCOLOR)"
        @install  -d  $(DESTDIR)$(licensedir)/$(GARNAME)/
        @install  -m  644  $($*_LICENSE_TEXT)  $(DESTDIR)$(licensedir)/$(GARNAME)/
        @$(MAKECOOKIE)
#  pkg-config  scripts

install-%-config:
#  pkg-config  scripts

install-%-config:
        mkdir  -p  $(STAGINGDIR)/$(GARNAME)
        cp  -f  $(DESTDIR)$(bindir)/$*-config  $(STAGINGDIR)/$(GARNAME)/
        $(MAKECOOKIE)
        @mkdir  -p  $(STAGINGDIR)/$(GARNAME)
        @cp  -f  $(DESTDIR)$(bindir)/$*-config  $(STAGINGDIR)/$(GARNAME)/
        @$(MAKECOOKIE)
######################################
#  Use  a  manifest  file  of  the  format:
######################################
#  Use  a  manifest  file  of  the  format:
Line 422Line 442
#  FIXME:  using  -D  may  not  be  the  right  thing  to  do!
install-$(MANIFEST_FILE):
#  FIXME:  using  -D  may  not  be  the  right  thing  to  do!
install-$(MANIFEST_FILE):
        @echo  "  ==>  Installing  from  $(MANIFEST_FILE)"
        @echo  -e  "  $(WORKCOLOR)==>  Installing  from  $(BOLD)$(MANIFEST_FILE)$(NORMALCOLOR)"
        $(MANIFEST_ENV)  ;  $(foreach  ZORCH,$(shell  cat  $(MANIFEST_FILE)),  install  -Dc  $(join  $(wordlist  3,$(MANIFEST_SIZE),$(MANIFEST_FLAGS)),$(wordlist  3,$(MANIFEST_SIZE),$(MANIFEST_LINE)))  $(word  1,$(MANIFEST_LINE))  $(word  2,$(MANIFEST_LINE))  ;)
        @$(MAKECOOKIE)

#  stanard  steps  for  installing  a  minit  script
install-%.init:
        $(MANIFEST_ENV)  ;  $(foreach  ZORCH,$(shell  cat  $(MANIFEST_FILE)),  install  -Dc  $(join  $(wordlist  3,$(MANIFEST_SIZE),$(MANIFEST_FLAGS)),$(wordlist  3,$(MANIFEST_SIZE),$(MANIFEST_LINE)))  $(word  1,$(MANIFEST_LINE))  $(word  2,$(MANIFEST_LINE))  ;)
        @$(MAKECOOKIE)

#  stanard  steps  for  installing  a  minit  script
install-%.init:
        @echo  "  ==>  Installing  minit  script  $*"
        @echo  -e  "  $(WORKCOLOR)==>  Installing  minit  script  $(BOLD)$*$(NORMALCOLOR)"
        @install  -D  -m  755  $(WORKDIR)/$*.init  $(DESTDIR)$(sysconfdir)/init.d/$*
        @if  !  grep  "^NOSTOP[  ]="  $(WORKDIR)/$*.init  >  /dev/null;  then  \
                install  -d  $(DESTDIR)$(sysconfdir)/rchalt.d  $(DESTDIR)$(sysconfdir)/rcreboot.d  ;\
        @install  -D  -m  755  $(WORKDIR)/$*.init  $(DESTDIR)$(sysconfdir)/init.d/$*
        @if  !  grep  "^NOSTOP[  ]="  $(WORKDIR)/$*.init  >  /dev/null;  then  \
                install  -d  $(DESTDIR)$(sysconfdir)/rchalt.d  $(DESTDIR)$(sysconfdir)/rcreboot.d  ;\
Line 442Line 462
#  These  three  lines  are  here  to  grandfather  in  all  the  packages  that  use
#  BUILDDEPS,  LIBDEPS  and  DEPENDS.    BUILDDEPS,  LIBDEPS,  and  DEPENDS  are  not
#  obsolete...  merely  integrated  into  a  more  general  mechanism
#  These  three  lines  are  here  to  grandfather  in  all  the  packages  that  use
#  BUILDDEPS,  LIBDEPS  and  DEPENDS.    BUILDDEPS,  LIBDEPS,  and  DEPENDS  are  not
#  obsolete...  merely  integrated  into  a  more  general  mechanism
IMGDEPS  +=  $(sort  $(if  $(BUILDDEPS),build,)  $(if  $(strip  $(DEPENDS)  $(LIBDEPS)),$(DESTIMG),))
$(DESTIMG)_DEPENDS  +=  $(LIBDEPS)  $(DEPENDS)
$(DESTIMG)_DEPENDS  +=  $(addprefix  lang/,$(filter-out  none,$(SOURCE_LANGUAGES)))  $(LIBDEPS)  $(DEPENDS)
IMGDEPS  +=  $(sort  $(if  $(BUILDDEPS),build,)  $(if  $(strip  $($(DESTIMG)_DEPENDS)),$(DESTIMG),))
build_DEPENDS  +=  $(BUILDDEPS)

#  Standard  deps  install  into  the  standard  install  dir.    For  the
#  BBC,  we  set  the  includedir  to  the  build  tree  and  the  libdir  to
#  the  install  tree.    Most  dependencies  work  this  way.

build_DEPENDS  +=  $(BUILDDEPS)

#  Standard  deps  install  into  the  standard  install  dir.    For  the
#  BBC,  we  set  the  includedir  to  the  build  tree  and  the  libdir  to
#  the  install  tree.    Most  dependencies  work  this  way.

$(GARDIR)/%/$(COOKIEROOTDIR)/$(DESTIMG).d/install:
        @echo  '  ==>  Building  $*  as  a  dependency'
        @$(MAKE)  -C  $(GARDIR)/$*  install  DESTIMG=$(DESTIMG)
$(GARDIR)/%/$(COOKIEROOTDIR)/$(__DESTIMG).d/install:
        @echo  -e  "  $(WORKCOLOR)==>  Building  $(BOLD)$*  $(WORKCOLOR)as  a  dependency$(NORMALCOLOR)"
        @$(MAKE)  -C  $(GARDIR)/$*  install  DESTIMG=$(__DESTIMG)
#  builddeps  need  to  have  everything  put  in  the  build  DESTIMG
#$(GARDIR)/%/$(COOKIEROOTDIR)/build.d/install:
#  builddeps  need  to  have  everything  put  in  the  build  DESTIMG
#$(GARDIR)/%/$(COOKIEROOTDIR)/build.d/install:
Line 463Line 483
#  XXX:  nobody  uses  this,  but  it  should  really  be  more  like
#  $(GARDIR)/%/cookies/patch:
srcdep-$(GARDIR)/%:
#  XXX:  nobody  uses  this,  but  it  should  really  be  more  like
#  $(GARDIR)/%/cookies/patch:
srcdep-$(GARDIR)/%:
        @echo  '  ==>  Grabbing  source  for  $*  as  a  dependency'
        @echo  -e  "  $(WORKCOLOR)==>  Grabbing  source  for  $(BOLD)$*  $(WORKCOLOR)as  a  dependency$(NORMALCOLOR)"
        @$(MAKE)  -C  $(GARDIR)/$*  patch-p  extract-p  >  /dev/null  2>&1  ||  \
          $(MAKE)  -C  $(GARDIR)/$*  patch

        @$(MAKE)  -C  $(GARDIR)/$*  patch-p  extract-p  >  /dev/null  2>&1  ||  \
          $(MAKE)  -C  $(GARDIR)/$*  patch

Line 471Line 491
#  images  other  than  the  current  package's  DESTIMG.
IMGDEP_TARGETS  =  $(foreach  TTT,$(filter-out  $($*_NODEPEND),$($*_DEPENDS)),$(subst  xyzzy,$(TTT),$(GARDIR)/xyzzy/$(COOKIEROOTDIR)/$*.d/install))
imgdep-%:
#  images  other  than  the  current  package's  DESTIMG.
IMGDEP_TARGETS  =  $(foreach  TTT,$(filter-out  $($*_NODEPEND),$($*_DEPENDS)),$(subst  xyzzy,$(TTT),$(GARDIR)/xyzzy/$(COOKIEROOTDIR)/$*.d/install))
imgdep-%:
        @$(if  $(IMGDEP_TARGETS),$(MAKE)  DESTIMG="$*"  $(IMGDEP_TARGETS),true)
        @$(if  $(IMGDEP_TARGETS),$(MAKE)  __DESTIMG="$*"  $(IMGDEP_TARGETS),true)
        @$(MAKECOOKIE)

#  SOURCEPKG
        @$(MAKECOOKIE)

#  SOURCEPKG
Line 479Line 499
#  source  for  the  specified  package  into  the  current  packages  $(WORKDIR)

$(COOKIEDIR)/sourcepkg-%/patch:
#  source  for  the  specified  package  into  the  current  packages  $(WORKDIR)

$(COOKIEDIR)/sourcepkg-%/patch:
        $(MAKE)  -C  $(GARDIR)/$*  DESTIMG="$(DESTIMG)"  EXTRACTDIR="$(CURDIR)/$(EXTRACTDIR)"  WORKDIR="$(CURDIR)/$(WORKDIR)"  COOKIEDIR="$(CURDIR)/$(COOKIEDIR)/sourcepkg-$*"  patch
        @$(MAKE)  -C  $(GARDIR)/$*  DESTIMG="$(DESTIMG)"  DOWNLOADDIR="$(GARDIR)/$(CATEGORIES)/$(GARNAME)/$(DOWNLOADDIR)"  EXTRACTDIR="$(GARDIR)/$(CATEGORIES)/$(GARNAME)/$(EXTRACTDIR)"  WORKDIR="$(GARDIR)/$(CATEGORIES)/$(GARNAME)/$(WORKDIR)"  COOKIEDIR="$(GARDIR)/$(CATEGORIES)/$(GARNAME)/$(COOKIEDIR)/sourcepkg-$*"  patch
#  Igor's  info  and  man  gzipper  rule
gzip-info-man:  gzip-info  gzip-man
#  Igor's  info  and  man  gzipper  rule
gzip-info-man:  gzip-info  gzip-man
Line 531Line 551
prune-language-modules:
        #  XXX:  TODO  for  Perl  and  Ruby
        #  XXX:  also  remove  some  modules  which  users  are  unlikely  to  need
prune-language-modules:
        #  XXX:  TODO  for  Perl  and  Ruby
        #  XXX:  also  remove  some  modules  which  users  are  unlikely  to  need
        echo  Deleting  compiled  Python  modules...
        @echo  -e  "$(WORKCOLOR)Deleting  compiled  Python  modules...$(NORMALCOLOR)"
        [  !  -d  $(WORKSRC)/lib/python2.2  ]  ||  find  $(WORKSRC)/lib/python2.2  -name  '*.py[co]'  -exec  rm  -f  '{}'  ';'
        [  !  -d  $(WORKSRC)/lib/python2.2  ]  ||  find  $(WORKSRC)/lib/python2.2  -name  '*.py[co]'  -exec  rm  -f  '{}'  ';'
        echo  Removing  Python  config  directory...
        @echo  -e  "$(WORKCOLOR)Removing  Python  config  directory...$(NORMALCOLOR)"
        rm  -rf  $(WORKSRC)/lib/python2.2/config
        rm  -rf  $(WORKSRC)/lib/python2.2/config
        echo  Deleting  Perl  documentation...
        @echo  -e  "$(WORKCOLOR)Deleting  Perl  documentation...$(NORMALCOLOR)"
        [  !  -d  $(WORKSRC)/lib/perl5  ]  ||  find  $(WORKSRC)/lib/perl5  -name  '*.pod'  -exec  rm  -f  '{}'  ';'
        [  !  -d  $(WORKSRC)/lib/perl5  ]  ||  find  $(WORKSRC)/lib/perl5  -name  '*.pod'  -exec  rm  -f  '{}'  ';'
        echo  Deleting  Perl  unicore...
        @echo  -e  "$(WORKCOLOR)Deleting  Perl  unicore...$(NORMALCOLOR)"
#        [  !  -d  $(WORKSRC)/lib/perl5  ]  ||  find  $(WORKSRC)/lib/perl5  -type  d  -name  unicore  -exec  rm  -rf  '{}'  ';'
        [  !  -d  $(WORKSRC)/lib/perl5/5.8.0/unicore  ]  ||  rm  -rf  $(WORKSRC)/lib/perl5/5.8.0/unicore
        $(MAKECOOKIE)

prune-xemacs:
#        [  !  -d  $(WORKSRC)/lib/perl5  ]  ||  find  $(WORKSRC)/lib/perl5  -type  d  -name  unicore  -exec  rm  -rf  '{}'  ';'
        [  !  -d  $(WORKSRC)/lib/perl5/5.8.0/unicore  ]  ||  rm  -rf  $(WORKSRC)/lib/perl5/5.8.0/unicore
        $(MAKECOOKIE)

prune-xemacs:
        echo  Pruning  XEmacs  distribution...
        @echo  -e  "$(WORKCOLOR)Pruning  XEmacs  distribution...$(NORMALCOLOR)"
        [  !  -d  $(WORKSRC)$(libdir)/xemacs-21.4.9/etc/photos  ]  ||  rm  -rf  $(WORKSRC)$(libdir)/xemacs-21.4.9/etc/photos
        [  !  -d  $(WORKSRC)$(libdir)/xemacs-21.4.9/info  ]  ||  rm  -rf  $(WORKSRC)$(libdir)/xemacs-21.4.9/info
        [  !  -d  $(WORKSRC)$(libdir)/xemacs-21.4.9/lisp  ]  ||  (for  f  in  $$(find  $(WORKSRC)$(libdir)/xemacs-21.4.9/lisp  -name  "*.el"  -or  -name  "*.elc"    |  sed  "s/elc/el/g"    |  sort  |  uniq  -d);  do  rm  -rf  $$f;  done)
        [  !  -d  $(WORKSRC)$(libdir)/xemacs-21.4.9/etc/photos  ]  ||  rm  -rf  $(WORKSRC)$(libdir)/xemacs-21.4.9/etc/photos
        [  !  -d  $(WORKSRC)$(libdir)/xemacs-21.4.9/info  ]  ||  rm  -rf  $(WORKSRC)$(libdir)/xemacs-21.4.9/info
        [  !  -d  $(WORKSRC)$(libdir)/xemacs-21.4.9/lisp  ]  ||  (for  f  in  $$(find  $(WORKSRC)$(libdir)/xemacs-21.4.9/lisp  -name  "*.el"  -or  -name  "*.elc"    |  sed  "s/elc/el/g"    |  sort  |  uniq  -d);  do  rm  -rf  $$f;  done)
Line 553Line 573
        $(MAKECOOKIE)

prune-xemacs-packages:  prune-xemacs
        $(MAKECOOKIE)

prune-xemacs-packages:  prune-xemacs
        echo  Pruning  XEmacs  packages...
        @echo  -e  "$(WORKCOLOR)Pruning  XEmacs  packages...$(NORMALCOLOR)"
        [  !  -d  $(WORKSRC)$(libdir)/xemacs/xemacs-packages/lisp  ]  ||  (for  f  in  $$(find  $(WORKSRC)$(libdir)/xemacs/xemacs-packages/lisp  -name  "*.el"  -or  -name  "*.elc"    |  sed  "s/elc/el/g"    |  sort  |  uniq  -d);  do  rm  -rf  $$f;  done)
        [  !  -d  $(WORKSRC)$(libdir)/xemacs/xemacs-packages/info  ]  ||  rm  -rf  $(WORKSRC)$(libdir)/xemacs/xemacs-packages/info
        [  !  -d  $(WORKSRC)$(libdir)/xemacs/xemacs-packages/man  ]  ||  rm  -rf  $(WORKSRC)$(libdir)/xemacs/xemacs-packages/man
        [  !  -d  $(WORKSRC)$(libdir)/xemacs/xemacs-packages/lisp  ]  ||  (for  f  in  $$(find  $(WORKSRC)$(libdir)/xemacs/xemacs-packages/lisp  -name  "*.el"  -or  -name  "*.elc"    |  sed  "s/elc/el/g"    |  sort  |  uniq  -d);  do  rm  -rf  $$f;  done)
        [  !  -d  $(WORKSRC)$(libdir)/xemacs/xemacs-packages/info  ]  ||  rm  -rf  $(WORKSRC)$(libdir)/xemacs/xemacs-packages/info
        [  !  -d  $(WORKSRC)$(libdir)/xemacs/xemacs-packages/man  ]  ||  rm  -rf  $(WORKSRC)$(libdir)/xemacs/xemacs-packages/man
Line 629Line 649
        #  some  hard  links  didn't  seem  to  survive
        cd  $(WORKSRC)$(bindir)  &&  ln  -sf  python2.2  python
        cd  $(WORKSRC)$(bindir)  &&  ln  -sf  perl5.8.0  perl
        #  some  hard  links  didn't  seem  to  survive
        cd  $(WORKSRC)$(bindir)  &&  ln  -sf  python2.2  python
        cd  $(WORKSRC)$(bindir)  &&  ln  -sf  perl5.8.0  perl
        cd  $(WORKSRC)$(bindir)  &&  ln  -sf  gawk-3.1.0  gawk

        cd  $(WORKSRC)$(bindir)  &&  ln  -sf  mkisofs  mkhybrid
        $(MAKECOOKIE)

        cd  $(WORKSRC)$(bindir)  &&  ln  -sf  mkisofs  mkhybrid
        $(MAKECOOKIE)

Line 637Line 656
#  Wholesale  deletion  of  various  include  directories
#  XXX:  Is  there  any  reason  to  list  /usr/*?
#  Wholesale  deletion  of  various  include  directories
#  XXX:  Is  there  any  reason  to  list  /usr/*?
prune-headers:  $(addprefix  prune-delete-$(WORKSRC),$(includedir)  /usr/X11R6/include  /usr/share/keymaps/include/usr/share/keymaps/i386/include  /usr/share/keymaps/mac/include  $(libdir)/glib)
prune-headers:  $(addprefix  prune-delete-$(WORKSRC),$(includedir)  /usr/X11R6/include  /usr/share/keymaps/include  /usr/share/keymaps/i386/include  /usr/share/keymaps/mac/include  $(libdir)/glib)
        $(MAKECOOKIE)

#  Wholesale  deletion  of  $(sourcedir)
        $(MAKECOOKIE)

#  Wholesale  deletion  of  $(sourcedir)
Line 656Line 675
        rm  -f  $(WORKSRC)/usr/lib/*.a
        rm  -f  $(WORKSRC)/usr/X11R6/lib/*.a
        rm  -f  $(WORKSRC)/usr/local/lib/*.a
        rm  -f  $(WORKSRC)/usr/lib/*.a
        rm  -f  $(WORKSRC)/usr/X11R6/lib/*.a
        rm  -f  $(WORKSRC)/usr/local/lib/*.a
        echo  NOT  deleting  all  other  static  library  archives.
        echo  Remaining  static  libraries  in  DESTDIR  are  currently
        @echo  "$(WORKCOLOR)NOT  deleting  all  other  static  library  archives."
        @echo  "Remaining  static  libraries  in  DESTDIR  are  currently$(BOLD)"
        find  $(WORKSRC)  -name  '*.a'  -print
        find  $(WORKSRC)  -name  '*.a'  -print

        @echo  -e  "$(NORMALCOLOR)"
        $(MAKECOOKIE)

prune-superfluous-binaries:
        $(MAKECOOKIE)

prune-superfluous-binaries:
File: gar.mk
base-0 patch-1
Line 22Line 22
#  GARBUILD  is  the  platform  on  which  you're  running  GAR.    If  you  want  to
#  override  it  with  a  value  other  than  what  GCC  thinks  it's  running  on  that's
#  ok,  but  the  results  will  be  very...  VERY  ...strange.
#  GARBUILD  is  the  platform  on  which  you're  running  GAR.    If  you  want  to
#  override  it  with  a  value  other  than  what  GCC  thinks  it's  running  on  that's
#  ok,  but  the  results  will  be  very...  VERY  ...strange.
GARBUILD  ?=  $(shell  gcc  -dumpmachine)
GARBUILD  ?=  $(shell  $(build_CC)  -dumpmachine)
#  include  the  configuration  file  to  override  any  of  these  variables
#  no  variable  expansions  or  targets  are  allowed  in  these  files.
include  $(GARDIR)/gar.conf.mk
-include  $(addprefix  $(GARDIR)/,$(GAR_EXTRA_CONF))  package-api.mk

#  include  the  configuration  file  to  override  any  of  these  variables
#  no  variable  expansions  or  targets  are  allowed  in  these  files.
include  $(GARDIR)/gar.conf.mk
-include  $(addprefix  $(GARDIR)/,$(GAR_EXTRA_CONF))  package-api.mk


#  Give  us  color,  if  defined  in  gar.conf.mk
ifeq  ($(COLOR_GAR),yes)
include  $(GARDIR)/gar.color.mk
endif

#######  Default  values  for  variables  which  remain  unconfigured.  #######

#####  Default  image  configuration  #####
#######  Default  values  for  variables  which  remain  unconfigured.  #######

#####  Default  image  configuration  #####
Line 61Line 66
$(DESTIMG)_GARCH  ?=  $(main_GARCH)
$(DESTIMG)_GARHOST  ?=  $(main_GARHOST)

$(DESTIMG)_GARCH  ?=  $(main_GARCH)
$(DESTIMG)_GARHOST  ?=  $(main_GARHOST)


#  If  not  specified,  then  glibc
$(DESTIMG)_LIBC  ?=  devel/glibc

#  Default  image  tools
$(DESTIMG)_CC  ?=  $(main_CC)
$(DESTIMG)_CXX  ?=  $(main_CXX)
$(DESTIMG)_LD  ?=  $(main_LD)
#  Default  image  tools
$(DESTIMG)_CC  ?=  $(main_CC)
$(DESTIMG)_CXX  ?=  $(main_CXX)
$(DESTIMG)_LD  ?=  $(main_LD)

$(DESTIMG)_RANLIB  ?=  $(main_RANLIB)
$(DESTIMG)_CPP  ?=  $(main_CPP)
$(DESTIMG)_AS  ?=  $(main_AS)
$(DESTIMG)_AR  ?=  $(main_AR)
#  Default  image  tool  options
$(DESTIMG)_CPPFLAGS  ?=  $(main_CPPFLAGS)
#  Default  image  tool  options
$(DESTIMG)_CPPFLAGS  ?=  $(main_CPPFLAGS)
Line 109Line 121
CC  =  $($(DESTIMG)_CC)
CXX  =  $($(DESTIMG)_CXX)
LD  =  $($(DESTIMG)_LD)
CC  =  $($(DESTIMG)_CC)
CXX  =  $($(DESTIMG)_CXX)
LD  =  $($(DESTIMG)_LD)

RANLIB  =  $($(DESTIMG)_RANLIB)
CPP  =  $($(DESTIMG)_CPP)
AS  =  $($(DESTIMG)_AS)
AR  =  $($(DESTIMG)_AR)
#  Tool  options  --  These  are  append-mode  assignments  so  that  packages  may
#  provide  additional  tool  options.
#  Tool  options  --  These  are  append-mode  assignments  so  that  packages  may
#  provide  additional  tool  options.
Line 134Line 150
ALLFILES  ?=  $(DISTFILES)  $(PATCHFILES)
STAGINGDIR  ?=  $(build_DESTDIR)$(build_prefix)/staging

ALLFILES  ?=  $(DISTFILES)  $(PATCHFILES)
STAGINGDIR  ?=  $(build_DESTDIR)$(build_prefix)/staging


#######  Useful  Macros  #######
DIRSTODOTS  =  $(subst  .  /,./,$(patsubst  %,/..,$(subst  /,  ,/$(1))))
ROOTFROMDEST  =  $(call  DIRSTODOTS,$(DESTDIR))

#  allow  us  to  use  programs  we  just  built
PATH  :=  $(build_DESTDIR)$(build_libdir)/ccache:$(build_DESTDIR)$(build_bindir):$(build_DESTDIR)$(build_sbindir):$(PATH):$(build_DESTDIR)$(build_bindir):$(build_DESTDIR)$(build_sbindir)
#  this  causes  pain  for  all  involved  once  glibc  is  built.
#  allow  us  to  use  programs  we  just  built
PATH  :=  $(build_DESTDIR)$(build_libdir)/ccache:$(build_DESTDIR)$(build_bindir):$(build_DESTDIR)$(build_sbindir):$(PATH):$(build_DESTDIR)$(build_bindir):$(build_DESTDIR)$(build_sbindir)
#  this  causes  pain  for  all  involved  once  glibc  is  built.
Line 143Line 163
#  help  nowadays:
#LD_PRELOAD  +=/lib/libc.so.6

#  help  nowadays:
#LD_PRELOAD  +=/lib/libc.so.6

#  XXX:  These  macros  should  go  in  lib
DIRSTODOTS  =  $(subst  .  /,./,$(patsubst  %,/..,$(subst  /,  ,/$(1))))
ROOTFROMDEST  =  $(call  DIRSTODOTS,$(DESTDIR))


#  XXX:  BUILD_CLEAN  handling  should  go  in  lib
ifdef  BUILD_CLEAN
DO_BUILD_CLEAN  =  buildclean
#  XXX:  BUILD_CLEAN  handling  should  go  in  lib
ifdef  BUILD_CLEAN
DO_BUILD_CLEAN  =  buildclean
Line 163Line 179
#  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  "        [$@]  complete  for  $(GARNAME)."
DONADA  =  @touch  $(COOKIEDIR)/$@;  echo  -e  "        $(ANNOUNCECOLOR)[$(STAGECOLOR)$@$(ANNOUNCECOLOR)]  complete  for  $(NAMECOLOR)$(GARNAME)$(ANNOUNCECOLOR).$(NORMALCOLOR)"
#  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 182Line 198
$(sort  $(DOWNLOADDIR)  $(PARTIALDIR)  $(COOKIEDIR)  $(WORKSRC)  $(WORKDIR)  $(EXTRACTDIR)  $(FILEDIR)  $(SCRATCHDIR)  $(INSTALL_DIRS)  $(GARCHIVEDIR)  $(GARPKGDIR)  $(STAGINGDIR))  $(COOKIEDIR)/%:
        @if  test  -d  $@;  then  :  ;  else  \
                install  -d  $@;  \
$(sort  $(DOWNLOADDIR)  $(PARTIALDIR)  $(COOKIEDIR)  $(WORKSRC)  $(WORKDIR)  $(EXTRACTDIR)  $(FILEDIR)  $(SCRATCHDIR)  $(INSTALL_DIRS)  $(GARCHIVEDIR)  $(GARPKGDIR)  $(STAGINGDIR))  $(COOKIEDIR)/%:
        @if  test  -d  $@;  then  :  ;  else  \
                install  -d  $@;  \
                echo  "install  -d  $@";  \
                echo  -e  "$(WORKCOLOR)making  directory  $(BOLD)$@$(NORMALCOLOR)";  \
        fi

#  These  stubs  are  wildcarded,  so  that  the  port  maintainer  can
        fi

#  These  stubs  are  wildcarded,  so  that  the  port  maintainer  can
Line 225Line 241
#  what  just  happened  when  all  the  dependencies  are  finished.

announce:
#  what  just  happened  when  all  the  dependencies  are  finished.

announce:
        @echo  "[=====  NOW  BUILDING:        $(DISTNAME)        =====]"
        @echo  -e  "$(ANNOUNCECOLOR)[=====  NOW  BUILDING:        $(NAMECOLOR)$(DISTNAME)        $(ANNOUNCECOLOR)=====]$(NORMALCOLOR)"
#  fetch-list        -  Show  list  of  files  that  would  be  retrieved  by  fetch.
#  NOTE:  DOES  NOT  RUN  pre-everything!
#  fetch-list        -  Show  list  of  files  that  would  be  retrieved  by  fetch.
#  NOTE:  DOES  NOT  RUN  pre-everything!
Line 269Line 285
makesum:  fetch  $(MAKESUM_TARGETS)
        @if  test  "x$(MAKESUM_TARGETS)"  !=  "x  ";  then  \
                md5sum  $(MAKESUM_TARGETS)  >  $(CHECKSUM_FILE)  ;  \
makesum:  fetch  $(MAKESUM_TARGETS)
        @if  test  "x$(MAKESUM_TARGETS)"  !=  "x  ";  then  \
                md5sum  $(MAKESUM_TARGETS)  >  $(CHECKSUM_FILE)  ;  \
                echo  "Checksums  made  for  $(MAKESUM_TARGETS)"  ;  \
                echo  -e  "$(WORKCOLOR)Checksums  made  for  $(NAMECOLOR)$(MAKESUM_TARGETS)$(NORMALCOLOR)"  ;  \
                cat  $(CHECKSUM_FILE)  ;  \
        fi

                cat  $(CHECKSUM_FILE)  ;  \
        fi

Line 298Line 314
#                                      patches  deal  with  the  same  file.
#  TODO:  actually  write  it!
checkpatch:  extract
#                                      patches  deal  with  the  same  file.
#  TODO:  actually  write  it!
checkpatch:  extract
        @echo  "$@  NOT  IMPLEMENTED  YET"
        @echo  -e  "$(ERRORCOLOR)$@  NOT  IMPLEMENTED  YET$(NORMALCOLOR)"
#  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))
Line 351Line 367
#  strip                        -  Strip  binaries
strip:  build  pre-strip  $(addprefix  strip-,$(STRIP_SCRIPTS))  post-strip
#  strip                        -  Strip  binaries
strip:  build  pre-strip  $(addprefix  strip-,$(STRIP_SCRIPTS))  post-strip
        @echo  "$@  NOT  IMPLEMENTED  YET"
        @echo  -e  "$(ERRORCOLOR)$@  NOT  IMPLEMENTED  YET$(NORMALCOLOR)"
#  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)))
Line 377Line 393
#  uninstall                -  Remove  the  installation.
#  TODO:  actually  write  it!
uninstall:  build
#  uninstall                -  Remove  the  installation.
#  TODO:  actually  write  it!
uninstall:  build
        @echo  "$@  NOT  IMPLEMENTED  YET"
        @echo  -e  "$(ERRORCOLOR)$@  NOT  IMPLEMENTED  YET$(NORMALCOLOR)"
       

#  package                -  Create  a  package  from  an  _installed_  port.
#  TODO:  actually  write  it!
package:  build
       

#  package                -  Create  a  package  from  an  _installed_  port.
#  TODO:  actually  write  it!
package:  build
        @echo  "$@  NOT  IMPLEMENTED  YET"
        @echo  -e  "$(ERRORCOLOR)$@  NOT  IMPLEMENTED  YET$(NORMALCOLOR)"
#  tarball                -  Make  a  tarball  from  an  install  of  the  package  into  a  scratch  dir
tarball:  tarball-$(DESTIMG)
#  tarball                -  Make  a  tarball  from  an  install  of  the  package  into  a  scratch  dir
tarball:  tarball-$(DESTIMG)
Line 397Line 413
#  garpkg                -  Produce  a  garpkg  and  file  it  appropriately  under  $(GARPKGDIR)
garpkg:  $(GARPKGDIR)
#  garpkg                -  Produce  a  garpkg  and  file  it  appropriately  under  $(GARPKGDIR)
garpkg:  $(GARPKGDIR)
        $(MAKE)  DESTIMG="$(DESTIMG)"  $(DESTIMG)_prefix="/usr/local"  tarball
        $(MAKE)  DESTIMG="$(DESTIMG)"  $(DESTIMG)_prefix="/usr/local"  install
        $(MAKE)  DESTIMG="$(DESTIMG)"  $(DESTIMG)_prefix="/usr/local"  $(DESTIMG)_DESTDIR="$(CURDIR)/$(SCRATCHDIR)"  reinstall
        find  $(SCRATCHDIR)  -depth  -type  d  |  while  read  i;  do  rmdir  $$i  >  /dev/null  2>&1  ||  true;  done
        tar  czvf  $(CURDIR)/$(WORKDIR)/$(DISTNAME)-$(DESTIMG)-install.tar.gz  -C  $(SCRATCHDIR)/usr/local  .
        install  -m  644  -D  $(CURDIR)/$(WORKDIR)/$(DISTNAME)-$(DESTIMG)-install.tar.gz  $(GARPKGDIR)/$(DISTNAME).tar.gz
        ln  -fs  $(DISTNAME).tar.gz  $(GARPKGDIR)/$(GARNAME).tar.gz
        rm  -f  $(GARPKGDIR)/$(GARNAME).tar.gz.sig
        install  -m  644  -D  $(CURDIR)/$(WORKDIR)/$(DISTNAME)-$(DESTIMG)-install.tar.gz  $(GARPKGDIR)/$(DISTNAME).tar.gz
        ln  -fs  $(DISTNAME).tar.gz  $(GARPKGDIR)/$(GARNAME).tar.gz
        rm  -f  $(GARPKGDIR)/$(GARNAME).tar.gz.sig
Line 412Line 431
#  cookie,  but  that  would  be  lame  and  unportable).
clean:  cookieclean
        @rm  -rf  $(DOWNLOADDIR)
#  cookie,  but  that  would  be  lame  and  unportable).
clean:  cookieclean
        @rm  -rf  $(DOWNLOADDIR)

        @echo  -e  "    $(ANNOUNCECOLOR)[$(STAGECOLOR)$@$(ANNOUNCECOLOR)]  complete  for  $(NAMECOLOR)$(GARNAME)$(ANNOUNCECOLOR).$(NORMALCOLOR)"
cookieclean:  buildclean
        @rm  -rf  $(COOKIEROOTDIR)
cookieclean:  buildclean
        @rm  -rf  $(COOKIEROOTDIR)
Line 425Line 445
superclean:  clean  imgclean

love:
superclean:  clean  imgclean

love:
        @echo  "not  war!"
        @echo  "$(REVERSE)  not  war!  $(NORMALCOLOR)"
#  these  targets  do  not  have  actual  corresponding  files
.PHONY:  all  fetch-list  beaujolais  fetch-p  checksum-p  extract-p  patch-p  configure-p  build-p  install-p  love
#  these  targets  do  not  have  actual  corresponding  files
.PHONY:  all  fetch-list  beaujolais  fetch-p  checksum-p  extract-p  patch-p  configure-p  build-p  install-p  love
File: garchitecture.txt
base-0 patch-1
Line 503Line 503
Begin  by  taking  responsibility  for  your  package,  editing  the  Makefile
and  filling  out  the  MAINTAINER  variable  with  your  e-mail  address.

Begin  by  taking  responsibility  for  your  package,  editing  the  Makefile
and  filling  out  the  MAINTAINER  variable  with  your  e-mail  address.


        [The  example  e-mail  address  is  a  spam  trap,  and  will  list  any
        mails  sent  to  it  with  the  vipul's  razor  spam  registry.    One  of
        the  BBC  developers,  Seth  Schoen,  notes  that  his  last  name  is
        German  for  "beautiful",  and  so  set  up  a  spam  trap  using  the
        German  word  for  "ugly".]

----8<----
MAINTAINER  =  J.  Random  Hacker  <haesslich@zork.net>
----8<----

----8<----
MAINTAINER  =  J.  Random  Hacker  <haesslich@zork.net>
----8<----

Note: 
        The  example  e-mail  address  is  a  spam  trap,  and  will  list  any
        mails  sent  to  it  with  the  vipul's  razor  spam  registry.    One  of
        the  BBC  developers,  Seth  Schoen,  notes  that  his  last  name  is
        German  for  "beautiful",  and  so  set  up  a  spam  trap  using  the
        German  word  for  "ugly".

For  aesthetic  purposes,  get  rid  of  the  pre-install  rule  at  the  bottom
of  the  file,  and  set  the  CATEGORIES.
For  aesthetic  purposes,  get  rid  of  the  pre-install  rule  at  the  bottom
of  the  file,  and  set  the  CATEGORIES.
File: index.txt
base-0 patch-1
Line 26Line 26
If  you're  just  looking  to  download  ISO  images,  have  a  look  at  our
<download.html  download  page>.   

If  you're  just  looking  to  download  ISO  images,  have  a  look  at  our
<download.html  download  page>.   

==  Testing  Needed  ==
==  2.1  Released!  ==
We  are  now  in  release  candidate  status  and  approaching  LNX-BBC  2.1.
Please  give  us  your  best  effort  to  bang  on  this.    We  need  to  know 
right  away  about  anything  that  affects  booting,  crashes  systems,
or  has  other  drastic  effects.    It's  in  our  <testing.html  beta  area>.
The  LNX-BBC  project  has  released  version  2.1  of  the  bootable  business
card!    To  download  an  ISO,  please  hit  our  <download.html  download
page>.
Our  <http://www.lnx-bbc.org/builds/  automated  builds>  are  also  operational.
ISO  images  from  builds  at  this  point  should  be  functional,  however...
New  features  in  2.1:
        *  2.4.19  kernel
        *  large  IDE  disk  support
        *  more  fonts
        *  more  DHCP  clients
        *  bittorrent
                *  bittorrent  downloads  of  ISOs  from  the  Web  site
                *  bittorrent  clients  on  the  BBC
        *  coroner's  toolkit
        *  security  upgrades 
                *  openssh
                *  openssl
        *  new  upstream  versions  of  many  software  packages
If  you  do  find  a  problem,  please  see  the  "How  do  I  file  a  bug  against
a  GAR  package?"  entry  in  the  <faq.html  FAQ>.
and  last  but  not  least...

---8<---
  _________ 
<  cowsay!  >
  --------- 
                \      ^__^
                  \    (oo)\_______
                        (__)\              )\/\
                                ||----w  |
                                ||          ||
---8<---
File: kernel/cloop-bin/Makefile
base-0 patch-1
Line 1Line 1
GARNAME  =  cloop-bin
GARNAME  =  cloop-bin
GARVERSION  =  0.67
GAR_SUBVERSION  =  -2
GARVERSION  =  0.68
CATEGORIES  =  kernel
SOURCEPKG  =  kernel/cloop
LICENSE  =  GPL2
CATEGORIES  =  kernel
SOURCEPKG  =  kernel/cloop
LICENSE  =  GPL2
File: kernel/cloop-module/Makefile
base-0 patch-1
Line 1Line 1
GARNAME  =  cloop-module
GARNAME  =  cloop-module
GARVERSION  =  0.67
GAR_SUBVERSION  =  -2
GARVERSION  =  0.68
CATEGORIES  =  kernel
SOURCEPKG  =  kernel/cloop
LICENSE  =  GPL2
CATEGORIES  =  kernel
SOURCEPKG  =  kernel/cloop
LICENSE  =  GPL2
File: kernel/cloop/Makefile
base-0 patch-1
Line 1Line 1
GARNAME  =  cloop
GARNAME  =  cloop
GARVERSION  =  0.67
GAR_SUBVERSION  =  -2
GARVERSION  =  0.68
GAR_SUBVERSION  =  -3
CATEGORIES  =  kernel
CATEGORIES  =  kernel
MASTER_SITES  =  http://www.knopper.net/download/knoppix/
MASTER_SITES  =  http://developer.linuxtag.net/knoppix/sources/
DISTFILES  =  $(GARNAME)_$(GARVERSION)$(GAR_SUBVERSION).tar.gz
LICENSE  =  GPL2

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

File: kernel/cloop/checksums
base-0 patch-1
Line Line 1
11383caa18805c65908505d97abf40c2    download/cloop_0.67-2.tar.gz
1dc435b7d830ed894150eaa894e85bd1    download/cloop_0.68-3.tar.gz
File: kernel/device-list/Makefile
base-0 patch-1
Line 1Line 1
GARNAME  =  devices.txt
GARVERSION  =  none
GARNAME  =  device-list
GARVERSION  =  $(KERNEL_VERSION)
CATEGORIES  =  kernel
CATEGORIES  =  kernel
MASTER_SITES  =  http://www.lanana.org/docs/device-list/
DISTFILES  =  $(GARNAME)  license
MAINTAINER  =  Seth  Schoen  <schoen@loyalty.org>
MAINTAINER  =  Nate  Riffe  <inkblot@movealong.org>
DISTFILES  =  license
SOURCEPKG  =  kernel/linux
LICENSE  =  none
none_LICENSE_TEXT  =  $(WORKDIR)/license

LICENSE  =  none
none_LICENSE_TEXT  =  $(WORKDIR)/license

Line 14Line 14
  You  can  use  multiple  lines  if  you  want.
endef

  You  can  use  multiple  lines  if  you  want.
endef


#  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)
COOKIEDIR  =  $(COOKIEROOTDIR)/$(GARCH)

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

INSTALL_SCRIPTS  =  custom

INSTALL_SCRIPTS  =  custom

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

install-custom:
include  ../../gar.mk

install-custom:
        install  -D  $(WORKDIR)/$(GARNAME)  $(DESTDIR)/$(sharedstatedir)/$(GARNAME)
        install  -D  $(WORKSRC)/Documentation/devices.txt  $(DESTDIR)/$(sharedstatedir)/devices.txt
        $(MAKECOOKIE)
        $(MAKECOOKIE)
File: kernel/device-list/checksums
base-0 patch-1
Line 1Line 1
4fe7eed5b7a3eb1f4b4167818ffcf601    download/devices.txt

352057568dbef0c5cce498b5b7c490b4    download/license
352057568dbef0c5cce498b5b7c490b4    download/license
File: kernel/discover/Makefile
base-0 patch-1
Line 10Line 10
LICENSE  =  weird
weird_LICENSE_TEXT  =  $(WORKSRC)/LICENSE

LICENSE  =  weird
weird_LICENSE_TEXT  =  $(WORKSRC)/LICENSE

DESCRIPTION  = 
DESCRIPTION  =  hardware  identification  system
define  BLURB
define  BLURB
  Enter  a  longer  description  here.

  You  can  use  multiple  lines  if  you  want.
Discover  is  a  hardware  identification  system  based  on  the  libdiscover1
library.  Discover  provides  a  flexible  interface  that  programs  can  use
to  report  a  wide  range  of  information  about  the  hardware  that  is
installed  on  a  Linux  system.  In  addition  to  reporting  information,
discover  includes  support  for  doing  hardware  detection  at  boot
time.  Detection  occurs  in  two  stages..  The  first  stage,  which  runs  from
an  initial  ramdisk  (initrd),  loads  just  the  drivers  needed  to  mount
the  root  file  system,  and  the  second  stage  loads  the  rest  (ethernet
cards,  sound  cards,  etc.).
endef

endef

DEPENDS  =  kernel/discover-data  net/curl  kernel/pcmcia-cs  boot/minit
LIBDEPS  =  lib/expat
DEPENDS  =  kernel/discover-data  kernel/pcmcia-cs  boot/minit  lang/sed
LIBDEPS  =  devel/glibc  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/Makefile
base-0 patch-1
Line 19Line 19
    This  is  the  Linux  kernel  version  $(GARVERSION)
endef

    This  is  the  Linux  kernel  version  $(GARVERSION)
endef

BUILDDEPS  =  devel/gcc
#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)

#  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
#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.
#  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
#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
#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)
#  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
#INSTALL_SCRIPTS  =  $(addprefix  $(DESTIMG)-,$(WORKSRC)/arch/i386/boot/bzImage  $(WORKSRC)/Makefile  source)  version
EXTURVERSION  =  $(shell  grep  ^EXTRAVERSION  $(WORKSRC)/Makefile  |  cut  -d'  '  -f3)
#EXTURVERSION  =  $(shell  grep  ^EXTRAVERSION  $(WORKSRC)/Makefile  |  cut  -d'  '  -f3)
PATCHDIR=$(WORKSRC)
PATCHDIRFUZZ=3

#  The  above  WORKDIR  and  COOKIEDIR  munging  make  this  package  incompatible  with
#  BUILD_CLEAN
PATCHDIR=$(WORKSRC)
PATCHDIRFUZZ=3

#  The  above  WORKDIR  and  COOKIEDIR  munging  make  this  package  incompatible  with
#  BUILD_CLEAN
BUILD_CLEAN  :=
export  BUILD_CLEAN
#BUILD_CLEAN  :=
#export  BUILD_CLEAN
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).
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
#export  GARTARGET
extract-$(LINUX_DOTCONFIG):
        ln  -sf  $(CURDIR)/$(DOWNLOADDIR)/$(LINUX_DOTCONFIG)  $(WORKDIR)/$(GARNAME)-$(GARVERSION)/.config
extract-$(LINUX_DOTCONFIG):
        ln  -sf  $(CURDIR)/$(DOWNLOADDIR)/$(LINUX_DOTCONFIG)  $(WORKDIR)/$(GARNAME)-$(GARVERSION)/.config
Line 73Line 75
        cd  $(WORKDIR)/$(GARNAME)-$(GARVERSION)    &&  tar  -zxvf  $(CURDIR)/$(DOWNLOADDIR)/$(JFSCORE)
        $(MAKECOOKIE)

        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)
#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)-%/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)-$(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-$(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)
#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:
#  This  is  bad  and  wrong.    DO  NOT  UNCOMMENT!!
#post-install:
File: kernel/linux/checksums
base-0 patch-1
Line 1Line 1
f4c1c8f6131a4cc083fe7711742b0fcd    download/linux-2.4.19.tar.gz
f4c1c8f6131a4cc083fe7711742b0fcd    download/linux-2.4.19.tar.gz
25e4680b42c63772f9fe0d26a417b416    download/config-2.4.19bbc-r1
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
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
File: kernel/linux/files/config-2.4.19bbc-r1
base-0 patch-1
Line 369Line 369
#  CONFIG_LLC  is  not  set
#  CONFIG_NET_DIVERT  is  not  set
#  CONFIG_ECONET  is  not  set
#  CONFIG_LLC  is  not  set
#  CONFIG_NET_DIVERT  is  not  set
#  CONFIG_ECONET  is  not  set
CONFIG_WAN_ROUTER=m
#  CONFIG_WAN_ROUTER  is  not  set
#  CONFIG_NET_FASTROUTE  is  not  set
CONFIG_NET_HW_FLOWCONTROL=y

#  CONFIG_NET_FASTROUTE  is  not  set
CONFIG_NET_HW_FLOWCONTROL=y

Line 801Line 801
#
#  Wan  interfaces
#
#
#  Wan  interfaces
#
CONFIG_WAN=y
CONFIG_HOSTESS_SV11=m
CONFIG_COSA=m
#  CONFIG_COMX  is  not  set
CONFIG_DSCC4=m
CONFIG_FARSYNC=m
CONFIG_LANMEDIA=m
CONFIG_ATI_XX20=m
CONFIG_SEALEVEL_4021=m
CONFIG_SYNCLINK_SYNCPPP=m
CONFIG_HDLC=m
CONFIG_HDLC_PPP=y
CONFIG_HDLC_X25=y
CONFIG_N2=m
CONFIG_C101=m
CONFIG_DLCI=m
CONFIG_DLCI_COUNT=24
CONFIG_DLCI_MAX=8
CONFIG_SDLA=m
CONFIG_WAN_ROUTER_DRIVERS=y
CONFIG_VENDOR_SANGOMA=m
CONFIG_WANPIPE_CHDLC=y
CONFIG_WANPIPE_FR=y
CONFIG_WANPIPE_X25=y
CONFIG_WANPIPE_PPP=y
CONFIG_WANPIPE_MULTPPP=y
CONFIG_CYCLADES_SYNC=m
#  CONFIG_CYCLOMX_X25  is  not  set
CONFIG_LAPBETHER=m
CONFIG_X25_ASY=m
CONFIG_SBNI=m
CONFIG_SBNI_MULTILINE=y
#  CONFIG_WAN  is  not  set
#
#  Amateur  Radio  support
#
#  Amateur  Radio  support
File: kernel/modutils/Makefile
base-0 patch-1
Line 10Line 10
  #XXX:  nwall  package  blurb  goes  here.
endef
BUILDDEPS  =  devel/bison  devel/flex
  #XXX:  nwall  package  blurb  goes  here.
endef
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 12Line 12
    PCMCIA  blurb  goes  here
endef

    PCMCIA  blurb  goes  here
endef

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

CONFIGURE_SCRIPTS  =  $(WORKSRC)/Configure

Line 21Line 22
#  Does  moddir  need  a  relative  path?
CONFIGURE_ARGS  =  -n  --kernel=$(KERNEL_SOURCEDIR)  --target=$(DESTDIR)$(prefix)  --moddir=lib/modules/$(KERNEL_FULL_VERSION)  --cardbus  --pnp  --srctree  --arch="$(GARCH)"  --ucc="$(CC)"  --kcc="$(CC)"  --ld="$(LD)"  --uflags="$(CFLAGS)"

#  Does  moddir  need  a  relative  path?
CONFIGURE_ARGS  =  -n  --kernel=$(KERNEL_SOURCEDIR)  --target=$(DESTDIR)$(prefix)  --moddir=lib/modules/$(KERNEL_FULL_VERSION)  --cardbus  --pnp  --srctree  --arch="$(GARCH)"  --ucc="$(CC)"  --kcc="$(CC)"  --ld="$(LD)"  --uflags="$(CFLAGS)"

BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile  pcmcia.init
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile  pcmcia.init  #includes
MANDIR  =  $(mandir)
BUILD_OVERRIDE_DIRS  =  MANDIR
INSTALL_OVERRIDE_DIRS  =  MANDIR 
MANDIR  =  $(mandir)
BUILD_OVERRIDE_DIRS  =  MANDIR
INSTALL_OVERRIDE_DIRS  =  MANDIR 
Line 44Line 46
        (cd  $(WORKSRC);  $(MAKE)  all)
        $(MAKECOOKIE)

        (cd  $(WORKSRC);  $(MAKE)  all)
        $(MAKECOOKIE)

#post-install:
#        /sbin/depmod  -a  -r  -b  $(DESTDIR)  -F  $(DESTDIR)/boot/System.map  $(KERNEL_FULL_VERSION)
#        $(MAKECOOKIE)
install-includes:  #  hostap  could  use  these  headers...
        install  -d  $(DESTDIR)$(sourcedir)/pcmcia-cs/include
        rsync    -pav  $(WORKSRC)/include/  $(DESTDIR)/$(sourcedir)/pcmcia-cs/include/
        $(MAKECOOKIE)
File: kernel/pcmcia-cs/checksums
base-0 patch-1
Line 1Line 1
581749071efdfc8056ed05f0373d5b79    download/pcmcia-cs-3.2.3.tar.gz
590d573d94cedd9377468c8341621e59    download/pcmcia
581749071efdfc8056ed05f0373d5b79    download/pcmcia-cs-3.2.3.tar.gz
590d573d94cedd9377468c8341621e59    download/pcmcia
4758a2f13b4bc89469df66c21bf01d15    download/gar-base.diff
fc86aa00e2ab3883ab044f51332cec80    download/gar-base.diff
File: kernel/pcmcia-cs/files/gar-base.diff
base-0 patch-1
Line 1Line 1
diff  --speed-large-files  --minimal  -Nru  tmp/pcmcia-cs-3.2.3/cardmgr/Makefile  work/pcmcia-cs-3.2.3/cardmgr/Makefile
---  tmp/pcmcia-cs-3.2.3/cardmgr/Makefile        2002-10-09  21:20:58.000000000  -0700
+++  work/pcmcia-cs-3.2.3/cardmgr/Makefile        2003-01-20  12:59:15.000000000  -0800
diff  --speed-large-files  --minimal  -Nru  tmp/pcmcia-cs-3.2.3/cardmgr/Makefile  work/main.d/pcmcia-cs-3.2.3/cardmgr/Makefile
---  tmp/pcmcia-cs-3.2.3/cardmgr/Makefile        2002-10-09  23:20:58.000000000  -0500
+++  work/main.d/pcmcia-cs-3.2.3/cardmgr/Makefile        2003-05-13  07:28:08.000000000  -0500
Line Line
          chmod  u+s  $(PREFIX)/usr/X11R6/bin/xcardinfo
 
          chmod  u+s  $(PREFIX)/usr/X11R6/bin/xcardinfo
 
Line 12Line 12
 
  install-probe:  pcic_probe
          @mkdir  -p  $(PREFIX)/sbin
 
  install-probe:  pcic_probe
          @mkdir  -p  $(PREFIX)/sbin
diff  --speed-large-files  --minimal  -Nru  tmp/pcmcia-cs-3.2.3/debug-tools/Makefile  work/pcmcia-cs-3.2.3/debug-tools/Makefile
---  tmp/pcmcia-cs-3.2.3/debug-tools/Makefile        2001-02-06  16:41:40.000000000  -0800
+++  work/pcmcia-cs-3.2.3/debug-tools/Makefile        2003-01-20  12:59:15.000000000  -0800
diff  --speed-large-files  --minimal  -Nru  tmp/pcmcia-cs-3.2.3/debug-tools/Makefile  work/main.d/pcmcia-cs-3.2.3/debug-tools/Makefile
---  tmp/pcmcia-cs-3.2.3/debug-tools/Makefile        2001-02-06  18:41:40.000000000  -0600
+++  work/main.d/pcmcia-cs-3.2.3/debug-tools/Makefile        2003-05-13  07:28:08.000000000  -0500
Line Line
          cp  -f  dump_cis  pack_cis  $(PREFIX)/sbin
  ifdef  CONFIG_PNP_BIOS
          cp  -f  dump_cis  pack_cis  $(PREFIX)/sbin
  ifdef  CONFIG_PNP_BIOS
Line 26Line 26
  endif
 
  include  ../rules.mk
  endif
 
  include  ../rules.mk
diff  --speed-large-files  --minimal  -Nru  tmp/pcmcia-cs-3.2.3/etc/ide.opts  work/pcmcia-cs-3.2.3/etc/ide.opts
---  tmp/pcmcia-cs-3.2.3/etc/ide.opts        2000-06-06  14:01:50.000000000  -0700
+++  work/pcmcia-cs-3.2.3/etc/ide.opts        2003-01-20  12:59:51.000000000  -0800
diff  --speed-large-files  --minimal  -Nru  tmp/pcmcia-cs-3.2.3/etc/ide.opts  work/main.d/pcmcia-cs-3.2.3/etc/ide.opts
---  tmp/pcmcia-cs-3.2.3/etc/ide.opts        2000-06-06  16:01:50.000000000  -0500
+++  work/main.d/pcmcia-cs-3.2.3/etc/ide.opts        2003-05-13  07:28:08.000000000  -0500
Line Line
  *,*,*)
          #PARTS="1"
  *,*,*)
          #PARTS="1"
Line 38Line 38
          NO_FUSER=n
          ;;
  esac
          NO_FUSER=n
          ;;
  esac
diff  --speed-large-files  --minimal  -Nru  tmp/pcmcia-cs-3.2.3/etc/memory.opts  work/pcmcia-cs-3.2.3/etc/memory.opts
---  tmp/pcmcia-cs-3.2.3/etc/memory.opts        2000-06-06  14:01:50.000000000  -0700
+++  work/pcmcia-cs-3.2.3/etc/memory.opts        2003-01-20  13:00:00.000000000  -0800
diff  --speed-large-files  --minimal  -Nru  tmp/pcmcia-cs-3.2.3/etc/memory.opts  work/main.d/pcmcia-cs-3.2.3/etc/memory.opts
---  tmp/pcmcia-cs-3.2.3/etc/memory.opts        2000-06-06  16:01:50.000000000  -0500
+++  work/main.d/pcmcia-cs-3.2.3/etc/memory.opts        2003-05-13  07:28:08.000000000  -0500
Line Line
          #OPTS=""
          #MOUNTPT="/mnt/mem"
          #OPTS=""
          #MOUNTPT="/mnt/mem"
Line 50Line 50
          NO_FUSER=n
          ;;
  esac
          NO_FUSER=n
          ;;
  esac
diff  --speed-large-files  --minimal  -Nru  tmp/pcmcia-cs-3.2.3/etc/network.opts  work/pcmcia-cs-3.2.3/etc/network.opts
---  tmp/pcmcia-cs-3.2.3/etc/network.opts        2000-06-06  14:01:50.000000000  -0700
+++  work/pcmcia-cs-3.2.3/etc/network.opts        2003-01-20  13:00:09.000000000  -0800
diff  --speed-large-files  --minimal  -Nru  tmp/pcmcia-cs-3.2.3/etc/network.opts  work/main.d/pcmcia-cs-3.2.3/etc/network.opts
---  tmp/pcmcia-cs-3.2.3/etc/network.opts        2000-06-06  16:01:50.000000000  -0500
+++  work/main.d/pcmcia-cs-3.2.3/etc/network.opts        2003-05-13  07:28:08.000000000  -0500
Line Line
          #  Extra  stuff  to  do  before  shutting  down  the  interface
          stop_fn  ()  {  return;  }
          #  Extra  stuff  to  do  before  shutting  down  the  interface
          stop_fn  ()  {  return;  }
Line 62Line 62
          NO_FUSER=n
          ;;
  esac
          NO_FUSER=n
          ;;
  esac
diff  --speed-large-files  --minimal  -Nru  tmp/pcmcia-cs-3.2.3/etc/parport.opts  work/pcmcia-cs-3.2.3/etc/parport.opts
---  tmp/pcmcia-cs-3.2.3/etc/parport.opts        2000-06-06  14:01:50.000000000  -0700
+++  work/pcmcia-cs-3.2.3/etc/parport.opts        2003-01-20  13:00:15.000000000  -0800
diff  --speed-large-files  --minimal  -Nru  tmp/pcmcia-cs-3.2.3/etc/parport.opts  work/main.d/pcmcia-cs-3.2.3/etc/parport.opts
---  tmp/pcmcia-cs-3.2.3/etc/parport.opts        2000-06-06  16:01:50.000000000  -0500
+++  work/main.d/pcmcia-cs-3.2.3/etc/parport.opts        2003-05-13  07:28:08.000000000  -0500
Line Line
          #  Options  for  'tunelp'
          #LP_OPTS=""
          #  Options  for  'tunelp'
          #LP_OPTS=""
Line 74Line 74
          NO_FUSER=n
          ;;
  esac
          NO_FUSER=n
          ;;
  esac
diff  --speed-large-files  --minimal  -Nru  tmp/pcmcia-cs-3.2.3/etc/scsi.opts  work/pcmcia-cs-3.2.3/etc/scsi.opts
---  tmp/pcmcia-cs-3.2.3/etc/scsi.opts        2000-06-06  14:01:50.000000000  -0700
+++  work/pcmcia-cs-3.2.3/etc/scsi.opts        2003-01-20  13:00:19.000000000  -0800
diff  --speed-large-files  --minimal  -Nru  tmp/pcmcia-cs-3.2.3/etc/scsi.opts  work/main.d/pcmcia-cs-3.2.3/etc/scsi.opts
---  tmp/pcmcia-cs-3.2.3/etc/scsi.opts        2000-06-06  16:01:50.000000000  -0500
+++  work/main.d/pcmcia-cs-3.2.3/etc/scsi.opts        2003-05-13  07:28:08.000000000  -0500
Line Line
          OPTS="ro,noauto"
          OPTS="ro,noauto"
          MOUNTPT="/mnt/media"
          MOUNTPT="/mnt/cdrom"
          #  Card  eject  policy  options
-        NO_CHECK=n
+        NO_CHECK=y
          NO_FUSER=n
          ;;
  esac
          #  Card  eject  policy  options
-        NO_CHECK=n
+        NO_CHECK=y
          NO_FUSER=n
          ;;
  esac
diff  --speed-large-files  --minimal  -Nru  tmp/pcmcia-cs-3.2.3/etc/serial.opts  work/pcmcia-cs-3.2.3/etc/serial.opts
---  tmp/pcmcia-cs-3.2.3/etc/serial.opts        2001-02-27  16:30:50.000000000  -0800
+++  work/pcmcia-cs-3.2.3/etc/serial.opts        2003-01-20  13:00:24.000000000  -0800
diff  --speed-large-files  --minimal  -Nru  tmp/pcmcia-cs-3.2.3/etc/scsi.opts.orig  work/main.d/pcmcia-cs-3.2.3/etc/scsi.opts.orig
---  tmp/pcmcia-cs-3.2.3/etc/scsi.opts.orig        1969-12-31  18:00:00.000000000  -0600
+++  work/main.d/pcmcia-cs-3.2.3/etc/scsi.opts.orig        2000-06-06  16:01:50.000000000  -0500
@@  -0,0  +1,23  @@
+#  SCSI  adapter  configuration
+#
+#  The  address  format  is  "scheme,type,socket,channel,id,lun[,part]".
+#
+#  For  multi-partition  devices,  first  return  list  of  partitions  in
+#  $PARTS.    Then,  we'll  get  called  for  each  partition.
+#
+#  This  example  will  mount  any  CD-ROM  on  /cdrom,  if  possible.
+#
+case  "$ADDRESS"  in
+*,sr,*,*,*,*)
+        INFO="Default  CD-ROM  setup"
+        LINK="/dev/cdrom"
+        PARTS=""
+        DO_FSTAB="y"  ;  DO_FSCK="n"  ;  DO_MOUNT="n"
+        FSTYPE="iso9660"
+        OPTS="ro,noauto"
+        MOUNTPT="/mnt/cdrom"
+        #  Card  eject  policy  options
+        NO_CHECK=n
+        NO_FUSER=n
+        ;;
+esac
diff  --speed-large-files  --minimal  -Nru  tmp/pcmcia-cs-3.2.3/etc/serial.opts  work/main.d/pcmcia-cs-3.2.3/etc/serial.opts
---  tmp/pcmcia-cs-3.2.3/etc/serial.opts        2001-02-27  18:30:50.000000000  -0600
+++  work/main.d/pcmcia-cs-3.2.3/etc/serial.opts        2003-05-13  07:28:08.000000000  -0500
Line Line
          #  Extra  stuff  to  do  before  shutting  down  the  device
          stop_fn  ()  {  return;  }
          #  Extra  stuff  to  do  before  shutting  down  the  device
          stop_fn  ()  {  return;  }
Line 98Line 125
          NO_FUSER=n
          ;;
  esac
          NO_FUSER=n
          ;;
  esac

diff  --speed-large-files  --minimal  -Nru  tmp/pcmcia-cs-3.2.3/wireless/hermes.c  work/main.d/pcmcia-cs-3.2.3/wireless/hermes.c
---  tmp/pcmcia-cs-3.2.3/wireless/hermes.c        2002-05-01  22:37:30.000000000  -0500
+++  work/main.d/pcmcia-cs-3.2.3/wireless/hermes.c        2003-05-13  07:29:06.000000000  -0500
@@  -187,6  +187,10  @@
          if  (err)
                  return  err;
 
+                for  (  k  =  0;  k  <  HERMES_NUMPORTS_MAX;  k++)  {
+                hw->port_enabled[k]  =  0;
+        }
+
          reg  =  hermes_read_regn(hw,  EVSTAT);
          k  =  CMD_INIT_TIMEOUT;
          while  (  (!  (reg  &  HERMES_EV_CMD))  &&  k)  {
diff  --speed-large-files  --minimal  -Nru  tmp/pcmcia-cs-3.2.3/wireless/hermes.h  work/main.d/pcmcia-cs-3.2.3/wireless/hermes.h
---  tmp/pcmcia-cs-3.2.3/wireless/hermes.h        2002-05-01  22:32:39.000000000  -0500
+++  work/main.d/pcmcia-cs-3.2.3/wireless/hermes.h        2003-05-13  07:29:06.000000000  -0500
@@  -33,6  +33,10  @@
  #include  <linux/if_ether.h>
  #include  <asm/byteorder.h>
 
+#define                HFA384x_PORTTYPE_IBSS                        ((uint16_t)3)
+#define                HFA384x_WEPFLAGS_DISABLE_TXCRYPT        (0x10)
+#define                HFA384x_WEPFLAGS_DISABLE_RXCRYPT        (0x80)
+
  /*
    *  Limits  and  constants
    */
@@  -149,6  +153,38  @@
  #define                HERMES_MONITOR_DISABLE                (0x000f)
 
  /*
+  *  Configuration  RIDs
+  */
+
+#define                HERMES_RID_CNF_PORTTYPE                (0xfc00)
+#define                HERMES_RID_CNF_CHANNEL                (0xfc03)
+#define                HERMES_RID_CNF_PRISM2_WEP_ON        (0xfc28)
+
+/*--  Status  Fields  --*/
+#define                HERMES_RXSTATUS_MSGTYPE                (0xE000)
+#define                HERMES_RXSTATUS_MACPORT                (0x0700)
+#define                HERMES_RXSTATUS_UNDECR                (0x0002)
+#define                HERMES_RXSTATUS_FCSERR                (0x0001)
+
+/*--------------------------------------------------------------------
+Communication  Frames:  Test/Get/Set  Field  Values  for  Receive  Frames
+--------------------------------------------------------------------*/
+#define                HERMES_RXSTATUS_MSGTYPE_GET(value)        (((value)  &  HERMES_RXSTATUS_MSGTYPE)  >>  13)
+#define                HERMES_RXSTATUS_MSGTYPE_SET(value)        ((value)  <<  13)
+#define                HERMES_RXSTATUS_MACPORT_GET(value)        (((value)  &  HERMES_RXSTATUS_MACPORT)  >>  8)
+#define                HERMES_RXSTATUS_MACPORT_SET(value)        ((value)  <<  8)
+#define                HERMES_RXSTATUS_ISUNDECR(value)        ((value)  &  HERMES_RXSTATUS_UNDECR)
+#define                HERMES_RXSTATUS_ISFCSERR(value)        ((value)  &  HERMES_RXSTATUS_FCSERR)
+
+/*--------------------------------------------------------------------
+Communication  Frames:  Field  Masks  for  Receive  Frames
+--------------------------------------------------------------------*/
+/*--  Offsets  --------*/
+#define                HERMES_RX_DATA_LEN_OFF                (44)
+#define                HERMES_RX_80211HDR_OFF                (14)
+#define                HERMES_RX_DATA_OFF                        (60)
+
+/*
    *  Frame  structures  and  constants
    */
 
@@  -274,6  +310,7  @@
  #define  HERMES_32BIT_REGSPACING        1
 
          u16  inten;  /*  Which  interrupts  should  be  enabled?  */
+          uint8_t                port_enabled[HERMES_NUMPORTS_MAX];
 
  #ifdef  HERMES_DEBUG_BUFFER
          struct  hermes_debug_entry  dbuf[HERMES_DEBUG_BUFSIZE];
@@  -333,12  +370,14  @@
 
  static  inline  int  hermes_enable_port(hermes_t  *hw,  int  port)
  {
+                hw->port_enabled[port]  =  1;
          return  hermes_docmd_wait(hw,  HERMES_CMD_ENABLE  |  (port  <<  8),
                                    0,  NULL);
  }
 
  static  inline  int  hermes_disable_port(hermes_t  *hw,  int  port)
  {
+                hw->port_enabled[port]  =  0;
          return  hermes_docmd_wait(hw,  HERMES_CMD_DISABLE  |  (port  <<  8), 
                                    0,  NULL);
  }
diff  --speed-large-files  --minimal  -Nru  tmp/pcmcia-cs-3.2.3/wireless/orinoco.c  work/main.d/pcmcia-cs-3.2.3/wireless/orinoco.c
---  tmp/pcmcia-cs-3.2.3/wireless/orinoco.c        2002-08-08  01:43:30.000000000  -0500
+++  work/main.d/pcmcia-cs-3.2.3/wireless/orinoco.c        2003-05-13  07:30:15.000000000  -0500
@@  -638,6  +638,12  @@
          if  (err)
                  goto  out;
 
+        /*  Set  the  MAC  address  */
+        err  =  hermes_write_ltv(hw,  USER_BAP,  HERMES_RID_CNFOWNMACADDR,
+                                      HERMES_BYTES_TO_RECLEN(ETH_ALEN),  dev->dev_addr);
+        if  (err)
+                goto  out;
+
          err  =  hermes_allocate(hw,  priv->nicbuf_size,  &priv->txfid);
          if  (err  ==  -EIO)  {
                  /*  Try  workaround  for  old  Symbol  firmware  bug  */
@@  -1317,6  +1323,7  @@
          struct  header_struct  hdr;
          struct  ethhdr  *eh;
          int  err;
+                struct  ieee802_11_hdr  hdr80211;
 
          rxfid  =  hermes_read_regn(hw,  RXFID);
          DEBUG(3,  "__orinoco_ev_rx():  RXFID=0x%04x\n",  rxfid);
@@  -1334,6  +1341,7  @@
         
          if  (status  &  HERMES_RXSTAT_ERR)  {
                  if  (status  &  HERMES_RXSTAT_UNDECRYPTABLE)  {
+                                        if  (dev->type  !=  ARPHRD_ETHER)  goto  sniffing;
                          wstats->discard.code++;
                          DEBUG(1,  "%s:  Undecryptable  frame  on  Rx.  Frame  dropped.\n",
                                        dev->name);
@@  -1344,7  +1352,7  @@
                  stats->rx_errors++;
                  goto  drop;
          }
-
+sniffing:
          /*  For  now  we  ignore  the  802.11  header  completely,  assuming
                        that  the  card's  firmware  has  handled  anything  vital  */
 
@@  -1374,6  +1382,10  @@
                  stats->rx_errors++;
                  goto  drop;
          }
+        /*  Now  handle  frame  based  on  port#  */
+        switch(  HERMES_RXSTATUS_MACPORT_GET(status)  )
+        {
+        case  0:
 
          /*  We  need  space  for  the  packet  data  itself,  plus  an  ethernet
                header,  plus  2  bytes  so  we  can  align  the  IP  header  on  a
@@  -1452,6  +1464,26  @@
 
          return;
 
+        case  7:
+                        if  (  !  HERMES_RXSTATUS_ISFCSERR(status)  )  {
+                                      if  (hermes_bap_pread(hw,  IRQ_BAP,  &hdr80211,  sizeof(hdr80211), 
+                                                                              rxfid,  HERMES_RX_80211HDR_OFF))  {
+                                            stats->rx_errors++;
+                                      }
+                                      else  {
+                                                /*  Copy  to  wlansnif  skb  */
+                                                orinoco_int_rxmonitor(  priv,  rxfid,  length,  &desc,  &hdr80211);
+                                      }
+                                }  else  {
+                                                printk("Received  monitor  frame:  FCSerr  set\n");
+                                }
+                                break;
+
+        default:
+                printk("Received  frame  on  unsupported  port=%d\n",
+                        HERMES_RXSTATUS_MACPORT_GET(status)  );
+                break;
+        }
    drop:       
          if  (skb)
                  dev_kfree_skb_irq(skb);
@@  -2036,6  +2068,24  @@
          return  err;
  }
 
+#define  SET_MAC_ADDRESS
+#ifdef  SET_MAC_ADDRESS
+static  int
+orinoco_set_mac_address(struct  net_device  *dev,  void  *addr)
+{
+    struct  orinoco_private  *priv  =  dev->priv;
+    struct  sockaddr  *mac  =  addr;
+
+    /*  Copy  the  address  */
+    memcpy(dev->dev_addr,  mac->sa_data,  WLAN_ADDR_LEN);
+
+    /*  Reconfig  the  beast  */
+    orinoco_reset(priv);
+
+    return  0;
+}
+#endif        /*  SET_MAC_ADDRESS  */
+
  static  void
  orinoco_tx_timeout(struct  net_device  *dev)
  {
@@  -3129,6  +3179,157  @@
          return  0;
  }
 
+/*----------------------------------------------------------------
+*  orinoco_wlansniff
+*
+*  Start  or  stop  sniffing.
+*
+*  Arguments:
+*        wlandev                wlan  device  structure
+*        msgp                ptr  to  msg  buffer
+*
+*  Returns: 
+*        0        success  and  done
+*        <0        success,  but  we're  waiting  for  something  to  finish.
+*        >0        an  error  occurred  while  handling  the  message.
+*  Side  effects:
+*
+*  Call  context:
+*        process  thread    (usually)
+*        interrupt
+----------------------------------------------------------------*/
+static  int  orinoco_wlansniff(struct  net_device  *dev,  struct  iwreq  *wrq)
+{
+        struct  orinoco_private  *priv  =  dev->priv;
+
+        hermes_t                *hw  =  &(priv->hw);
+                hermes_response_t    resp;
+        int                          result  =  0;
+        uint16_t                        word;
+
+        int  *parms  =  (int  *)  wrq->u.name;
+        int  enable  =  parms[0]  >  0;
+
+        orinoco_lock(priv);
+
+        switch  (enable)
+        {
+        case  P80211ENUM_truth_false:
+                /*  Confirm  that  we're  in  monitor  mode  */
+                if  (  dev->type  ==  ARPHRD_ETHER  )  {
+                        result  =  -EFAULT;
+                }
+                /*  Disable  monitor  mode  */
+                        word  =        HERMES_CMD_MONITOR  |  (HERMES_MONITOR_DISABLE  <<  8);
+                        result  =  hermes_docmd_wait(hw,  word,  0,  &resp);
+
+                if  (  result  )  break;
+
+                /*  Disable  port  0  */
+                result  =  hermes_disable_port(hw,  0);
+                if  (  result  )  break;
+
+                /*  Clear  the  driver  state  */
+                dev->type  =  ARPHRD_ETHER;
+
+                /*  Restore  the  wepflags  */      //Orinoco  doesn't  like  this
+/*
+                result  =  hermes_write_wordrec(hw,  USER_BAP,
+                                HERMES_RID_CNF_PRISM2_WEP_ON, 
+                                priv->presniff_wepflags);
+                if  (  result  )  break;
+
+*/
+                /*  Set  the  port  to  its  prior  type  and  enable  (if  necessary)  */
+                if  (priv->presniff_port_type  !=  0  )  {
+                        word  =  priv->presniff_port_type;
+                        result  =  hermes_write_wordrec(hw,  USER_BAP, 
+                                HERMES_RID_CNF_PORTTYPE,  word);
+                        if  (  result  )  break;
+
+                        /*  Enable  the  port  */
+                        result  =  hermes_enable_port(hw,  0);
+                        if  (  result  )  break;
+
+                }
+
+                break;
+        case  P80211ENUM_truth_true:
+                /*  Disable  the  port  (if  enabled),  only  check  Port  0  */
+                if  (  hw->port_enabled[0]  )  {
+                        /*  Save  macport  0  state  */
+                        result  =  hermes_read_wordrec(hw,  USER_BAP,
+                                        HERMES_RID_CNF_PORTTYPE,
+                                        &(priv->presniff_port_type));
+                        if  (  result  )  break;
+
+                        /*  Save  the  wepflags  state  */
+                        result  =  hermes_read_wordrec(hw,  USER_BAP,
+                                        HERMES_RID_CNF_PRISM2_WEP_ON,
+                                        &(priv->presniff_wepflags));
+                        if  (  result  )  break;
+                        result  =  hermes_disable_port(hw,  0);
+                        if  (  result  )  break;
+
+                }
+                else  {
+                        priv->presniff_port_type  =  0;
+                }
+
+                /*  Set  the  channel  we  wish  to  sniff    */
+                if  (parms[1]  >  0  &&  parms[1]  <  15)  {
+                      word  =  parms[1];
+                    result  =  hermes_write_wordrec(hw,  USER_BAP, 
+                                    HERMES_RID_CNF_CHANNEL,  word);
+                }  else  {
+                      result  =  -EFAULT;
+                }
+
+                if  (  result  )  break;
+
+                /*  Set  the  port  type  to  pIbss  */
+                word  =  HFA384x_PORTTYPE_IBSS;
+                result  =  hermes_write_wordrec(hw,  USER_BAP, 
+                                HERMES_RID_CNF_PORTTYPE,  word);
+                if  (  result  )  break;
+
+/*
+                            if  (  (msg->keepwepflags.status  ==  P80211ENUM_msgitem_status_data_ok)  && 
+                                          (msg->keepwepflags.data  !=  P80211ENUM_truth_true))  {
+                    //  Set  the  wepflags  for  no  decryption      //Orinoco  doesn't  like  this
+                            word  =  HFA384x_WEPFLAGS_DISABLE_TXCRYPT  | 
+                                  HFA384x_WEPFLAGS_DISABLE_RXCRYPT;
+                    result  =  hermes_write_wordrec(hw,  USER_BAP, 
+                                  HERMES_RID_CNF_PRISM2_WEP_ON,  word);  //won't  work  with  the  bits  above
+                                }
+                if  (  result  )  break;
+
+*/
+                /*  Enable  the  port  */
+                result  =  hermes_enable_port(hw,  0);
+                if  (  result  )  break;
+
+                /*  Enable  monitor  mode  */
+                        word  =        HERMES_CMD_MONITOR  |  (HERMES_MONITOR_ENABLE  <<  8);
+                        result  =  hermes_docmd_wait(hw,  word,  0,  &resp);
+                if  (  result  )  break;
+
+                /*  Set  the  driver  state  */
+                /*  Do  we  want  the  prism2  header?  */
+                if  (parms[0]  ==  1)
+                    dev->type  =  ARPHRD_IEEE80211_PRISM;
+                else 
+                    dev->type  =  ARPHRD_IEEE80211;
+                break;
+        default:
+                result  =  -EFAULT;
+                break;
+        }
+        orinoco_unlock(priv);
+        return  result;
+
+}
+
  static  int
  orinoco_ioctl(struct  net_device  *dev,  struct  ifreq  *rq,  int  cmd)
  {
@@  -3380,7  +3581,10  @@
                                      0,  "set_ibssport"  },
                                  {  SIOCIWFIRSTPRIV  +  0x7,  0,
                                      IW_PRIV_TYPE_INT  |  IW_PRIV_SIZE_FIXED  |  1,
-                                    "get_ibssport"  }
+                                    "get_ibssport"  },
+                                {  SIOCIWFIRSTPRIV  +  0x8,
+                                    IW_PRIV_TYPE_INT  |  IW_PRIV_SIZE_FIXED  |  2,
+                                    0,  "monitor"  }
                          };
 
                          err  =  verify_area(VERIFY_WRITE,  wrq->u.data.pointer,  sizeof(privtab));
@@  -3488,6  +3692,15  @@
                  err  =  orinoco_ioctl_getibssport(dev,  wrq);
                  break;
 
+                case  SIOCIWFIRSTPRIV  +  0x8:  /*  set  sniff  (monitor)  mode  */ 
+                DEBUG(1,  "%s:  SIOCIWFIRSTPRIV  +  0x8  (monitor)\n",
+                            dev->name);
+                if  (!  capable(CAP_NET_ADMIN))  {
+                        err  =  -EPERM;
+                        break;
+                }
+                                err  =  orinoco_wlansniff(dev,  wrq);
+                break;
 
          default:
                  err  =  -EOPNOTSUPP;
@@  -3884,7  +4097,9  @@
                  printk(KERN_ERR  "Unable  to  initialize  /proc/hermes/%s/recs\n",    dev->name);
                  goto  fail;
          }
-
+#ifdef  SET_MAC_ADDRESS
+        dev->set_mac_address  =  orinoco_set_mac_address;
+#endif        /*  SET_MAC_ADDRESS  */
  #ifdef  HERMES_DEBUG_BUFFER
          e  =  create_proc_read_entry("buf",  S_IFREG  |  S_IRUGO,
                                                        priv->dir_dev,  orinoco_proc_get_hermes_buf,  priv);
@@  -3955,6  +4170,7  @@
          /*  Setup  /  override  net_device  fields  */
          dev->init  =  orinoco_init;
          dev->hard_start_xmit  =  orinoco_xmit;
+
  #ifdef  HAVE_TX_TIMEOUT
          dev->tx_timeout  =  orinoco_tx_timeout;
          dev->watchdog_timeo  =  HZ;  /*  1  second  timeout  */
@@  -3978,6  +4194,202  @@
 
  }
 
+/*----------------------------------------------------------------
+*  orinoco_int_rxmonitor
+*
+*  Helper  function  for  int_rx.    Handles  monitor  frames.
+*  Note  that  this  function  allocates  space  for  the  FCS  and  sets  it
+*  to  0xffffffff.    The  hfa384x  doesn't  give  us  the  FCS  value  but  the
+*  higher  layers  expect  it.    0xffffffff  is  used  as  a  flag  to  indicate
+*  the  FCS  is  bogus.
+*
+*  Arguments:
+*        dev                wlan  device  structure
+*        rxfid                received  FID
+*        rxdesc                rx  descriptor  read  from  card  in  int_rx
+*
+*  Returns: 
+*        nothing
+*
+*  Side  effects:
+*        Allocates  an  skb  and  passes  it  up  via  the  PF_PACKET  interface.
+*  Call  context:
+*        interrupt
+----------------------------------------------------------------*/
+void  orinoco_int_rxmonitor(  struct  orinoco_private  *dev,  uint16_t  rxfid,  int  len,
+                                                        struct  hermes_rx_descriptor  *rxdesc,  struct  ieee802_11_hdr  *hdr)
+{
+        hermes_t                        *hw  =  &(dev->hw);
+        uint32_t                                hdrlen  =  0;
+        uint32_t                                datalen  =  0;
+        uint32_t                                skblen  =  0;
+        p80211msg_lnxind_wlansniffrm_t        *msg;
+        struct  net_device_stats  *stats  =  &dev->stats;
+
+
+        uint8_t                                *datap;
+        uint16_t                                fc;
+        struct  sk_buff                        *skb;
+
+        /*  Don't  forget  the  status,  time,  and  data_len  fields  are  in  host  order  */
+        /*  Figure  out  how  big  the  frame  is  */
+        fc  =  le16_to_cpu(hdr->frame_ctl);
+        switch  (  WLAN_GET_FC_FTYPE(fc)  )
+        {
+        case  WLAN_FTYPE_DATA:
+                if  (  WLAN_GET_FC_TODS(fc)  &&  WLAN_GET_FC_FROMDS(fc)  )  {
+                        hdrlen  =  WLAN_HDR_A4_LEN;
+                }  else  {
+                        hdrlen  =  WLAN_HDR_A3_LEN;
+                }
+                datalen  =  len;
+                break;
+        case  WLAN_FTYPE_MGMT:
+                hdrlen  =  WLAN_HDR_A3_LEN;
+                datalen  =  len;
+                break;
+        case  WLAN_FTYPE_CTL:
+                switch  (  WLAN_GET_FC_FSTYPE(fc)  )
+                {
+                case  WLAN_FSTYPE_PSPOLL:
+                case  WLAN_FSTYPE_RTS:
+                case  WLAN_FSTYPE_CFEND:
+                case  WLAN_FSTYPE_CFENDCFACK:
+                        hdrlen  =  16;
+                        break;
+                case  WLAN_FSTYPE_CTS:
+                case  WLAN_FSTYPE_ACK:
+                        hdrlen  =  10;
+                        break;
+                }
+                datalen  =  0;
+                break;
+        default:
+                printk("unknown  frm:  fc=0x%04x\n",  fc);
+                return;
+        }
+
+        /*  Allocate  an  ind  message+framesize  skb  */
+        skblen  =  sizeof(p80211msg_lnxind_wlansniffrm_t)  + 
+            hdrlen  +  datalen  +  WLAN_CRC_LEN;
+       
+        /*  sanity  check  the  length  */
+        if  (  skblen  > 
+                (sizeof(p80211msg_lnxind_wlansniffrm_t)  + 
+                WLAN_HDR_A4_LEN  +  WLAN_DATA_MAXLEN  +  WLAN_CRC_LEN)  )  {
+                printk("overlen  frm:  len=%d\n", 
+                        skblen  -  sizeof(p80211msg_lnxind_wlansniffrm_t));
+        }
+                       
+        if  (  (skb  =  dev_alloc_skb(skblen))  ==  NULL  )  {
+                printk("alloc_skb  failed  trying  to  allocate  %d  bytes\n",  skblen);
+                return;
+        }
+
+        /*  only  prepend  the  prism  header  if  in  the  right  mode  */
+        if  (dev->ndev->type  !=  ARPHRD_IEEE80211_PRISM)  {
+            skb_put(skb,  skblen  -  sizeof(p80211msg_lnxind_wlansniffrm_t));
+            datap  =  skb->data;
+        }  else  {
+            skb_put(skb,  skblen);
+            datap  =  skb->data  +  sizeof(p80211msg_lnxind_wlansniffrm_t);
+            msg  =  (p80211msg_lnxind_wlansniffrm_t*)skb->data;
+           
+            /*  Initialize  the  message  members  */
+            msg->msgcode  =  DIDmsg_lnxind_wlansniffrm;
+            msg->msglen  =  sizeof(p80211msg_lnxind_wlansniffrm_t);
+            strcpy(msg->devname,  dev->ndev->name);
+           
+            msg->hosttime.did  =  DIDmsg_lnxind_wlansniffrm_hosttime;
+            msg->hosttime.status  =  0;
+            msg->hosttime.len  =  4;
+            msg->hosttime.data  =  jiffies;
+           
+            msg->mactime.did  =  DIDmsg_lnxind_wlansniffrm_mactime;
+            msg->mactime.status  =  0;
+            msg->mactime.len  =  4;
+            msg->mactime.data  =  rxdesc->time;
+           
+            msg->channel.did  =  DIDmsg_lnxind_wlansniffrm_channel;
+            msg->channel.status  =  P80211ENUM_msgitem_status_no_value;
+            msg->channel.len  =  4;
+            msg->channel.data  =  0;
+
+            msg->rssi.did  =  DIDmsg_lnxind_wlansniffrm_rssi;
+            msg->rssi.status  =  P80211ENUM_msgitem_status_no_value;
+            msg->rssi.len  =  4;
+            msg->rssi.data  =  0;
+           
+            msg->sq.did  =  DIDmsg_lnxind_wlansniffrm_sq;
+            msg->sq.status  =  P80211ENUM_msgitem_status_no_value;
+            msg->sq.len  =  4;
+            msg->sq.data  =  0;
+           
+            msg->signal.did  =  DIDmsg_lnxind_wlansniffrm_signal;
+            msg->signal.status  =  0;
+            msg->signal.len  =  4;
+            msg->signal.data  =  rxdesc->signal;
+           
+            msg->noise.did  =  DIDmsg_lnxind_wlansniffrm_noise;
+            msg->noise.status  =  0;
+            msg->noise.len  =  4;
+            msg->noise.data  =  rxdesc->silence;
+
+            msg->rate.did  =  DIDmsg_lnxind_wlansniffrm_rate;
+            msg->rate.status  =  0;
+            msg->rate.len  =  4;
+            msg->rate.data  =  rxdesc->rate  /  5;  /*  set  to  802.11  units  */
+   
+            msg->istx.did  =  DIDmsg_lnxind_wlansniffrm_istx;
+            msg->istx.status  =  0;
+            msg->istx.len  =  4;
+            msg->istx.data  =  P80211ENUM_truth_false;
+           
+            msg->frmlen.did  =  DIDmsg_lnxind_wlansniffrm_frmlen;
+            msg->frmlen.status  =  0;
+            msg->frmlen.len  =  4;
+            msg->frmlen.data  =  hdrlen  +  datalen  +  WLAN_CRC_LEN;
+        }           
+
+        /*  Copy  the  802.11  header  to  the  skb  (ctl  frames  may  be  less  than  a  full  header)  */
+        memcpy(  datap,  &(hdr->frame_ctl),  hdrlen);
+
+        /*  If  any,  copy  the  data  from  the  card  to  the  skb  */
+        if  (  datalen  >  0  )
+        {
+                hermes_bap_pread(hw,  IRQ_BAP,  datap  +  hdrlen,  (datalen+1)&~1,
+                                              rxfid,  HERMES_RX_DATA_OFF);
+
+                /*  check  for  unencrypted  stuff  if  WEP  bit  set.  */
+                if  (*(datap+1)  &  0x40)  //  wep  set
+                    if  ((*(datap+hdrlen)  ==  0xaa)  &&  (*(datap+hdrlen+1)  ==  0xaa))
+                        *(datap+1)  &=  0xbf;  //  clear  wep;  it's  the  802.2  header!
+        }
+
+        /*  Set  the  CRC  */
+
+        /*  Pass  it  up  */
+        memset(  ((uint8_t  *)(skb->tail))  -  WLAN_CRC_LEN,  0xff,  WLAN_CRC_LEN);

+              /*  pass  it  up  via  the  PF_PACKET  interface  */
+              {
+              skb->dev  =  dev->ndev;
+              skb->dev->last_rx  =  jiffies;
+
+              skb->mac.raw  =  skb->data  ;
+              skb->ip_summed  =  CHECKSUM_NONE;
+              skb->pkt_type  =  PACKET_OTHERHOST;
+              skb->protocol  =  htons(ETH_P_80211_RAW);    /*  XXX  ETH_P_802_2?  */
+
+              stats->rx_packets++;
+              stats->rx_bytes  +=  skb->len;
+
+              netif_rx(skb);
+              }
+
+        return;
+}
+
  /********************************************************************/
  /*  module  bookkeeping                                                                                              */
  /********************************************************************/
diff  --speed-large-files  --minimal  -Nru  tmp/pcmcia-cs-3.2.3/wireless/orinoco.h  work/main.d/pcmcia-cs-3.2.3/wireless/orinoco.h
---  tmp/pcmcia-cs-3.2.3/wireless/orinoco.h        2002-05-01  22:33:21.000000000  -0500
+++  work/main.d/pcmcia-cs-3.2.3/wireless/orinoco.h        2003-05-13  07:29:06.000000000  -0500
@@  -7,9  +7,25  @@
  #ifndef  _ORINOCO_H
  #define  _ORINOCO_H
 
+#include  "hermes.h"
+
  /*  To  enable  debug  messages  */
  //#define  ORINOCO_DEBUG                3
 
+#ifndef  ETH_P_ECONET
+#define  ETH_P_ECONET      0x0018        /*  needed  for  2.2.x  kernels  */
+#endif
+
+#define  ETH_P_80211_RAW                (ETH_P_ECONET  +  1)
+
+#ifndef  ARPHRD_IEEE80211
+#define  ARPHRD_IEEE80211  801          /*  kernel  2.4.6  */
+#endif
+
+#ifndef  ARPHRD_IEEE80211_PRISM    /*  kernel  2.4.18  */
+#define  ARPHRD_IEEE80211_PRISM  802
+#endif
+
  #if  (!  defined  (WIRELESS_EXT))  ||  (WIRELESS_EXT  <  10)
  #error  "orinoco  driver  requires  Wireless  extensions  v10  or  later."
  #endif  /*  (!  defined  (WIRELESS_EXT))  ||  (WIRELESS_EXT  <  10)  */
@@  -27,6  +43,159  @@
 
  /*====================================================================*/
 
+#define  WLAN_DEVNAMELEN_MAX  16
+
+/*  message  data  item  for  INT,  BOUNDEDINT,  ENUMINT  */
+typedef  struct  p80211item_uint32
+{
+        uint32_t                did                __attribute__  ((packed));
+        uint16_t                status        __attribute__  ((packed));
+        uint16_t                len                __attribute__  ((packed));
+        uint32_t                data        __attribute__  ((packed));
+}  __attribute__  ((packed))  p80211item_uint32_t;
+
+typedef  struct  p80211msg
+{
+        uint32_t        msgcode                __attribute__  ((packed));
+        uint32_t        msglen                __attribute__  ((packed));
+        uint8_t        devname[WLAN_DEVNAMELEN_MAX]        __attribute__  ((packed));
+}  __attribute__  ((packed))  p80211msg_t;
+
+#define  DIDmsg_lnxind_wlansniffrm  0x0041
+#define  DIDmsg_lnxind_wlansniffrm_hosttime  0x1041
+#define  DIDmsg_lnxind_wlansniffrm_mactime  0x2041
+#define  DIDmsg_lnxind_wlansniffrm_channel  0x3041
+#define  DIDmsg_lnxind_wlansniffrm_rssi  0x4041
+#define  DIDmsg_lnxind_wlansniffrm_sq  0x5041
+#define  DIDmsg_lnxind_wlansniffrm_signal  0x6041
+#define  DIDmsg_lnxind_wlansniffrm_noise  0x7041
+#define  DIDmsg_lnxind_wlansniffrm_rate  0x8041
+#define  DIDmsg_lnxind_wlansniffrm_istx  0x9041
+#define  DIDmsg_lnxind_wlansniffrm_frmlen  0xA041
+
+typedef  struct  p80211msg_lnxind_wlansniffrm
+{
+        uint32_t                msgcode;
+        uint32_t                msglen;
+        uint8_t                        devname[WLAN_DEVNAMELEN_MAX];
+        p80211item_uint32_t        hosttime;
+        p80211item_uint32_t        mactime;
+        p80211item_uint32_t        channel;
+        p80211item_uint32_t        rssi;
+        p80211item_uint32_t        sq;
+        p80211item_uint32_t        signal;
+        p80211item_uint32_t        noise;
+        p80211item_uint32_t        rate;
+        p80211item_uint32_t        istx;
+        p80211item_uint32_t        frmlen;
+}  __attribute__  ((packed))  p80211msg_lnxind_wlansniffrm_t;
+
+#define  P80211ENUM_truth_false                        0
+#define  P80211ENUM_truth_true                        1
+#define  P80211ENUM_resultcode_success                1
+#define  P80211ENUM_resultcode_invalid_parameters        2
+#define  P80211ENUM_resultcode_not_supported        3
+#define  P80211ENUM_resultcode_timeout                4
+#define  P80211ENUM_resultcode_too_many_req        5
+#define  P80211ENUM_resultcode_refused                6
+#define  P80211ENUM_resultcode_bss_already        7
+#define  P80211ENUM_resultcode_invalid_access        8
+#define  P80211ENUM_resultcode_invalid_mibattribute        9
+#define  P80211ENUM_resultcode_cant_set_readonly_mib        10
+#define  P80211ENUM_resultcode_implementation_failure        11
+#define  P80211ENUM_resultcode_cant_get_writeonly_mib        12
+#define  P80211ENUM_msgitem_status_data_ok                0
+#define  P80211ENUM_msgitem_status_no_value                1
+#define  P80211ENUM_msgitem_status_invalid_itemname        2
+#define  P80211ENUM_msgitem_status_invalid_itemdata        3
+#define  P80211ENUM_msgitem_status_missing_itemdata        4
+#define  P80211ENUM_msgitem_status_incomplete_itemdata        5
+#define  P80211ENUM_msgitem_status_invalid_msg_did        6
+#define  P80211ENUM_msgitem_status_invalid_mib_did        7
+#define  P80211ENUM_msgitem_status_missing_conv_func        8
+#define  P80211ENUM_msgitem_status_string_too_long        9
+#define  P80211ENUM_msgitem_status_data_out_of_range        10
+#define  P80211ENUM_msgitem_status_string_too_short        11
+#define  P80211ENUM_msgitem_status_missing_valid_func        12
+#define  P80211ENUM_msgitem_status_unknown                13
+#define  P80211ENUM_msgitem_status_invalid_did                14
+#define  P80211ENUM_msgitem_status_missing_print_func        15
+
+#define  WLAN_GET_FC_FTYPE(n)        (((n)  &  0x0C)  >>  2)
+#define  WLAN_GET_FC_FSTYPE(n)        (((n)  &  0xF0)  >>  4)
+#define  WLAN_GET_FC_TODS(n)          (((n)  &  0x0100)  >>  8)
+#define  WLAN_GET_FC_FROMDS(n)        (((n)  &  0x0200)  >>  9)
+
+/*---  Sizes  -----------------------------------------------*/
+#define  WLAN_ADDR_LEN                        6
+#define  WLAN_CRC_LEN                        4
+#define  WLAN_BSSID_LEN                        6
+#define  WLAN_BSS_TS_LEN                        8
+#define  WLAN_HDR_A3_LEN                        24
+#define  WLAN_HDR_A4_LEN                        30
+#define  WLAN_SSID_MAXLEN                32
+#define  WLAN_DATA_MAXLEN                2312
+
+/*---  Frame  Control  Field  -------------------------------------*/
+/*  Frame  Types  */
+#define  WLAN_FTYPE_MGMT                        0x00
+#define  WLAN_FTYPE_CTL                        0x01
+#define  WLAN_FTYPE_DATA                        0x02
+
+/*  Frame  subtypes  */
+/*  Management  */
+#define  WLAN_FSTYPE_ASSOCREQ                0x00
+#define  WLAN_FSTYPE_ASSOCRESP                0x01
+#define  WLAN_FSTYPE_REASSOCREQ                0x02
+#define  WLAN_FSTYPE_REASSOCRESP                0x03
+#define  WLAN_FSTYPE_PROBEREQ                0x04 
+#define  WLAN_FSTYPE_PROBERESP                0x05
+#define  WLAN_FSTYPE_BEACON                0x08
+#define  WLAN_FSTYPE_ATIM                0x09
+#define  WLAN_FSTYPE_DISASSOC                0x0a
+#define  WLAN_FSTYPE_AUTHEN                0x0b
+#define  WLAN_FSTYPE_DEAUTHEN                0x0c
+
+/*  Control  */
+#define  WLAN_FSTYPE_PSPOLL                0x0a
+#define  WLAN_FSTYPE_RTS                        0x0b
+#define  WLAN_FSTYPE_CTS                        0x0c
+#define  WLAN_FSTYPE_ACK                        0x0d
+#define  WLAN_FSTYPE_CFEND                0x0e
+#define  WLAN_FSTYPE_CFENDCFACK                0x0f
+
+/*  Data  */
+#define  WLAN_FSTYPE_DATAONLY                0x00
+#define  WLAN_FSTYPE_DATA_CFACK                0x01
+#define  WLAN_FSTYPE_DATA_CFPOLL                0x02
+#define  WLAN_FSTYPE_DATA_CFACK_CFPOLL        0x03
+#define  WLAN_FSTYPE_NULL                0x04
+#define  WLAN_FSTYPE_CFACK                0x05
+#define  WLAN_FSTYPE_CFPOLL                0x06
+#define  WLAN_FSTYPE_CFACK_CFPOLL        0x07
+
+/*----------------------------------------------------------------*/
+/*  Magic  number,  a  quick  test  to  see  we're  getting  the  desired  struct  */
+
+#define  P80211_IOCTL_MAGIC        (0x4a2d464dUL)
+
+/*================================================================*/
+/*  Types  */
+
+/*----------------------------------------------------------------*/
+/*  A  ptr  to  the  following  structure  type  is  passed  as  the  third  */
+/*    argument  to  the  ioctl  system  call  when  issuing  a  request  to  */
+/*    the  p80211  module.  */
+
+typedef  struct  p80211ioctl_req
+{
+        char          name[WLAN_DEVNAMELEN_MAX]  __attribute__  ((packed));
+        void        *data                  __attribute__  ((packed));
+        uint32_t        magic          __attribute__  ((packed));
+        uint16_t        len          __attribute__  ((packed));
+        uint32_t        result          __attribute__  ((packed));
+}  __attribute__  ((packed))  p80211ioctl_req_t;
+
  struct  orinoco_private  {
          void  *card;        /*  Pointer  to  card  dependant  structure  */
          /*  card  dependant  extra  reset  code  (i.e.  bus/interface  specific  */
@@  -84,6  +253,8  @@
          int  port_type,  allow_ibss;
          int  promiscuous,  mc_count;
 
+        uint16_t                presniff_port_type;
+        uint16_t                presniff_wepflags;
 
          /*  /proc  based  debugging  stuff  */
          struct  proc_dir_entry  *dir_dev;
@@  -115,4  +286,12  @@
  extern  void  orinoco_proc_dev_cleanup(struct  orinoco_private  *priv);
  extern  void  orinoco_interrupt(int  irq,  void  *  dev_id,  struct  pt_regs  *regs);
 
+/*================================================================*/
+/*  Function  Declarations  */
+
+struct  ieee802_11_hdr;
+
+void  orinoco_int_rxmonitor(  struct  orinoco_private  *dev,  uint16_t  rxfid,  int  len,
+                                                        struct  hermes_rx_descriptor  *rxdesc,  struct  ieee802_11_hdr  *hdr);
+
  #endif  /*  _ORINOCO_H  */
File: lang/gawk/Makefile
base-0 patch-1
Line 1Line 1
GARNAME  =  gawk
GARNAME  =  gawk
GARVERSION  =  3.1.0
GARVERSION  =  3.1.2
CATEGORIES  =  lang
MASTER_SITES  =  ftp://ftp.gnu.org/pub/gnu/gawk/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz 
CATEGORIES  =  lang
MASTER_SITES  =  ftp://ftp.gnu.org/pub/gnu/gawk/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz 
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
Line 21Line 23
include  ../../gar.mk

post-install:
include  ../../gar.mk

post-install:
        (cd  $(DESTDIR)$(bindir);  ln  -sf  gawk  awk)
        ln  -sf  gawk-$(GARVERSION)  $(DESTDIR)$(bindir)/awk
        ln  -sf  gawk-$(GARVERSION)  $(DESTDIR)$(bindir)/gawk
        $(MAKECOOKIE)
        $(MAKECOOKIE)
File: lang/gawk/checksums
base-0 patch-1
Line Line 1
789d223fc7ee4ada694071e04124a3ae    download/gawk-3.1.0.tar.gz
6d14f3c95669ace8c6aee2a96ba4eed7    download/gawk-3.1.2.tar.gz
File: lang/python/Makefile
base-0 patch-1
Line 18Line 18
  #XXX:  nwall  package  blurb  goes  here.
endef

  #XXX:  nwall  package  blurb  goes  here.
endef

LIBDEPS  =  utils/readline  lib/zlib
LIBDEPS  =  devel/glibc  lib/libstdc++  lib/ncurses  utils/readline  lib/zlib
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
File: lang/ruby/Makefile
base-0 patch-1
Line 8Line 8
LICENSE  =  GPL/Ruby
Ruby_LICENSE_TEXT  =  $(WORKSRC)/LEGAL

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

LIBDEPS  =  lib/ncurses
LIBDEPS  =  devel/glibc  lib/ncurses
DESCRIPTION  =  Ruby  OOP  scripting  language
define  BLURB
DESCRIPTION  =  Ruby  OOP  scripting  language
define  BLURB
File: lib/expat/Makefile
base-0 patch-1
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
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/glib
DEPENDS=X11/XFree86
LIBDEPS  =  devel/glibc  devel/glib  X11/XFree86
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)
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)
File: lib/idl/Makefile
base-0 patch-1
Line 31Line 31
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile  libIDL-config

CONFIGURE_ENV  =  GLIB_CONFIG="$(GLIB_CONFIG)"
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile  libIDL-config

CONFIGURE_ENV  =  GLIB_CONFIG="$(GLIB_CONFIG)"
CONFIGURE_ARGS  =  $(DIRPATHS)  --disable-glibtest
#  It  tries  stdin  during  one  stage  of  configure,  and  that's  just  WRONG.
CONFIGURE_ARGS  =  $(DIRPATHS)  --disable-glibtest  </dev/null
#--with-glib-prefix=$(DESTDIR)$(prefix)  --with-glib-exec-prefix=$(DESTDIR)$(exec_prefix)
NODIRPATHS  = 

#--with-glib-prefix=$(DESTDIR)$(prefix)  --with-glib-exec-prefix=$(DESTDIR)$(exec_prefix)
NODIRPATHS  = 

File: lib/libjpeg/Makefile
base-0 patch-1
Line 9Line 9
#  GPL,  GPL2,  BSD,  MIT,  etc.  Or  add  the  URL  to  any  custom  license
LICENSE  =  jpeg
jpeg_LICENSE_TEXT  =  $(WORKSRC)/README
#  GPL,  GPL2,  BSD,  MIT,  etc.  Or  add  the  URL  to  any  custom  license
LICENSE  =  jpeg
jpeg_LICENSE_TEXT  =  $(WORKSRC)/README
DESCRIPTION  = 
define  BLURB
  Enter  a  longer  description  here.

  You  can  use  multiple  lines  if  you  want.
DESCRIPTION  =  JPEG  image  library
define  BLURB
JPEG  is  designed  for  compressing  either  full-color  or  gray-scale  images
of  natural,  real-world  scenes.    It  works  well  on  photographs,  naturalistic
artwork,  and  similar  material;  not  so  well  on  lettering,  simple  cartoons,
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
endef
WORKSRC=$(WORKDIR)/jpeg-$(GARVERSION)
#  Dependencies  are  of  the  form  categorydir/packagedir
#  LIBDEPS  are  for  libraries,  and  DEPENDS  are  for  everything  else
LIBDEPS  =
LIBDEPS  =  devel/glibc
DEPENDS  =
#  Builddeps  are  installed  in  $(BUILD_PREFIX)  in  their  entirety
BUILDDEPS  =
DEPENDS  =
#  Builddeps  are  installed  in  $(BUILD_PREFIX)  in  their  entirety
BUILDDEPS  =
Line 28Line 31
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile

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

CONFIGURE_ARGS  =  $(DIRPATHS)
CONFIGURE_ARGS  =  $(DIRPATHS)  --enable-shared
NODIRPATHS  = 
#  If  some  dirs  are  trying  to  install  into  /,  list  their  names
#  here,  such  as:  prefix  bindir  mandir
NODIRPATHS  = 
#  If  some  dirs  are  trying  to  install  into  /,  list  their  names
#  here,  such  as:  prefix  bindir  mandir
INSTALL_OVERRIDE_DIRS  =  bindir  mandir  includedir  prefix
INSTALL_OVERRIDE_DIRS  =  bindir  mandir  includedir  prefix  libdir
#  This  should  go  before  any  hand-made  rules.
include  ../../gar.mk
#  This  should  go  before  any  hand-made  rules.
include  ../../gar.mk
File: lib/libpcap/Makefile
base-0 patch-1
Line 1Line 1
GARNAME  =  libpcap
GARNAME  =  libpcap
GARVERSION  =  0.7.1
GARVERSION  =  0.7.2
CATEGORIES  =  lib
MASTER_SITES  =  http://www.tcpdump.org/release/ 
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz
CATEGORIES  =  lib
MASTER_SITES  =  http://www.tcpdump.org/release/ 
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz
File: lib/libpcap/checksums
base-0 patch-1
Line 1Line 1
0597c23e3496a5c108097b2a0f1bd0c7    download/libpcap-0.7.1.tar.gz
9558a42d6784b7e427df6b5407e8a9ac    download/gar-base.diff
e3993a5409b98989c7a73e27c5df4d27    download/libpcap-0.7.2.tar.gz
6ec866d1160db92772bbe2e37bea4cee    download/gar-base.diff
File: lib/libpcap/files/gar-base.diff
base-0 patch-1
Line 1Line 1
diff  -Nru  tmp/libpcap-0.7.1/Makefile.in  work/libpcap-0.7.1/Makefile.in
---  tmp/libpcap-0.7.1/Makefile.in        Wed  Jan  17  20:05:12  2001
+++  work/libpcap-0.7.1/Makefile.in        Mon  Mar  18  03:58:16  2002
diff  -Nru  tmp/libpcap-0.7.2/Makefile.in  work/libpcap-0.7.2/Makefile.in
---  tmp/libpcap-0.7.2/Makefile.in        Wed  Jan  17  20:05:12  2001
+++  work/libpcap-0.7.2/Makefile.in        Mon  Mar  18  03:58:16  2002
Line Line
  srcdir  =  @srcdir@
  VPATH  =  @srcdir@
  srcdir  =  @srcdir@
  VPATH  =  @srcdir@
File: lib/libpng/Makefile
base-0 patch-1
Line 10Line 10
LICENSE  =  png
png_LICENSE_TEXT  =  $(WORKSRC)/LICENSE

LICENSE  =  png
png_LICENSE_TEXT  =  $(WORKSRC)/LICENSE

DESCRIPTION  = 
DESCRIPTION  =  PNG  image  library
define  BLURB
define  BLURB
  Enter  a  longer  description  here.

  You  can  use  multiple  lines  if  you  want.
The  Portable  Network  Graphics  (PNG)  format  was  designed  to  replace  the
older  and  simpler  GIF  format  and,  to  some  extent,  the  much  more
complex  TIFF  format.
 
For  the  Web,  PNG  really  has  three  main  advantages  over  GIF:  alpha
channels  (variable  transparency),  gamma  correction  (cross-platform
control  of  image  brightness),  and  two-dimensional  interlacing  (a
method  of  progressive  display).  PNG  also  compresses  better  than  GIF  in
almost  every  case,  but  the  difference  is  generally  only  around  5%  to
25%,  not  a  large  enough  factor  to  encourage  folks  to  switch  on  that
basis  alone.
endef

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

#  Dependencies  are  of  the  form  categorydir/packagedir
#  LIBDEPS  are  for  libraries,  and  DEPENDS  are  for  everything  else
LIBDEPS  =  lib/zlib
LIBDEPS  =  devel/glibc  lib/zlib
DEPENDS  =
#  Builddeps  are  installed  in  $(BUILD_PREFIX)  in  their  entirety
BUILDDEPS  = 
DEPENDS  =
#  Builddeps  are  installed  in  $(BUILD_PREFIX)  in  their  entirety
BUILDDEPS  = 
File: lib/libstdc++/Makefile
base-0 patch-1
Line 10Line 10
  compiled  using  GCC
endef

  compiled  using  GCC
endef

DEPENDS  =  devel/gcc-primitives
DEPENDS  =  devel/gcc-primitives  lib/libgcc
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 11Line 11
  programs  compiled  with  ncurses.
endef

  programs  compiled  with  ncurses.
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: 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  =  lib/libnet  lib/libpcap 
LIBDEPS  =  devel/glibc  lib/libnet  lib/libpcap 
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure

CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure

File: lib/popt/Makefile
base-0 patch-1
Line 15Line 15
#  Dependencies  are  of  the  form  categorydir/packagedir
#  LIBDEPS  are  for  libraries,  and  DEPENDS  are  for  everything  else
#  Dependencies  are  of  the  form  categorydir/packagedir
#  LIBDEPS  are  for  libraries,  and  DEPENDS  are  for  everything  else
LIBDEPS  =
LIBDEPS  =  devel/glibc
DEPENDS  =
#  Builddeps  are  installed  in  $(BUILD_PREFIX)  in  their  entirety
BUILDDEPS  =  utils/gettext
DEPENDS  =
#  Builddeps  are  installed  in  $(BUILD_PREFIX)  in  their  entirety
BUILDDEPS  =  utils/gettext
File: lib/uclibc/Makefile
base-0 patch-1
Line 1Line 1
GARNAME  =  uClibc
GARVERSION  =  0.9.12
CATEGORIES  =  lib
GARNAME  =  uClibc
GARVERSION  =  0.9.12
CATEGORIES  =  lib

MAINTAINER  =  Nate  Riffe  <inkblot@movealong.org>
MASTER_SITES  =  http://www.uclibc.org/downloads/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.bz2
PATCHFILES  = 
MASTER_SITES  =  http://www.uclibc.org/downloads/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.bz2
PATCHFILES  = 
Line 31Line 32
#  Dependencies  are  of  the  form  categorydir/packagedir
LIBDEPS  =
#  Dependencies  are  of  the  form  categorydir/packagedir
LIBDEPS  =
DEPENDS  =  kernel/linux
DEPENDS  =  kernel/linux-headers
BUILDDEPS  =


BUILDDEPS  =


Line 40Line 41
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile

BUILD_ENV  =  KERNEL_SOURCE="$(KERNEL_SOURCEDIR)"  TARGET_ARCH="$(GARCH)"
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile

BUILD_ENV  =  KERNEL_SOURCE="$(KERNEL_SOURCEDIR)"  TARGET_ARCH="$(GARCH)"
BUILD_ARGS  =  -j1
BUILD_ARGS  =  -j1  CC="$(CC)"  LD="$(LD)"
INSTALL_ENV  =  KERNEL_SOURCE="$(KERNEL_SOURCEDIR)"  TARGET_ARCH="$(GARCH)"

INSTALL_ENV  =  KERNEL_SOURCE="$(KERNEL_SOURCEDIR)"  TARGET_ARCH="$(GARCH)"

File: lib/zlib/Makefile
base-0 patch-1
Line 26Line 26
  compression. 
endef

  compression. 
endef


LIBDEPS  =  devel/glibc

CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
CONFIGURE_ARGS  =  --shared

CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
CONFIGURE_ARGS  =  --shared

Line 35Line 37
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_OVERRIDE_DIRS  =  prefix  exec_prefix  libdir  includedir 

INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_OVERRIDE_DIRS  =  prefix  exec_prefix  libdir  includedir 

include  ../../gar.mk

include  ../../gar.mk


AR  :=  $(AR)  rc

post-install:
        install  $(WORKSRC)/libz.a  $(DESTDIR)$(libdir)/libz.a
post-install:
        install  $(WORKSRC)/libz.a  $(DESTDIR)$(libdir)/libz.a
File: lists.txt
base-0 patch-1
Line 32Line 32
Also  available  as  a  <news://news.gmane.org/gmane.linux.bbc.cvs
newsgroup>.

Also  available  as  a  <news://news.gmane.org/gmane.linux.bbc.cvs
newsgroup>.


        [Please  do  not  send  mail  to  the  lnx-bbc-bugs  list.    Instead,
        send  mail  to  submit@bugs.lnx-bbc.org  with  a  line  like
        "Package:  bash"  (to  file  a  bug  against  bash).    Sending  mail  to
        the  list  directly  is  almost  a  guarantee  your  mail  will  be
        ignored  or  bounced.]

<http://zork.net/mailman/listinfo/lnx-bbc-bugs  lnx-bbc-bugs>:
Every  single  piece  of  activity  relating  to  the  bug  tracking  system
sends  a  mail  to  this  list.    It  can  also  be  high-volume,  just  like  the
<http://zork.net/mailman/listinfo/lnx-bbc-bugs  lnx-bbc-bugs>:
Every  single  piece  of  activity  relating  to  the  bug  tracking  system
sends  a  mail  to  this  list.    It  can  also  be  high-volume,  just  like  the
Line 39Line 45
Also  available  as  a  <news://news.gmane.org/gmane.linux.bbc.bugs
newsgroup>.

Also  available  as  a  <news://news.gmane.org/gmane.linux.bbc.bugs
newsgroup>.

Please  do  not  send  mail  to  the  lnx-bbc-bugs  list.    Instead,  send  mail
to  submit@bugs.lnx-bbc.org  with  a  line  like  "Package:  bash"  (to  file  a
bug  against  bash).    Sending  mail  to  the  list  directly  is  almost  a
guarantee  your  mail  will  be  ignored  or  bounced.


<http://slashnet.org/  SlashNet  IRC>,  channel  <http://www.slashnet.org/channels/lnx-bbc/  #lnx-bbc>:
While  not  actually  a  mailing  list,  most  of  the  developers  hang  out  in
this  channel,  usually  including  <http://slashnet.org/~crackmonkey  Nick
<http://slashnet.org/  SlashNet  IRC>,  channel  <http://www.slashnet.org/channels/lnx-bbc/  #lnx-bbc>:
While  not  actually  a  mailing  list,  most  of  the  developers  hang  out  in
this  channel,  usually  including  <http://slashnet.org/~crackmonkey  Nick
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/bbc-contents
base-0 patch-1
Line 61Line 61
lang/gawk
lang/perl
lang/python
lang/gawk
lang/perl
lang/python
lang/ruby
;  lang/ruby  --  omitted  by  policy  ratified  21-Aug-2003
lang/sed
math/bc
net/aps
lang/sed
math/bc
net/aps
Line 71Line 71
net/bind
net/bittorrent
net/bridge-utils
net/bind
net/bittorrent
net/bridge-utils
net/browsex
;  net/browsex  --  we  use  mozilla  firebird  (phoenix)
net/bsd-finger
net/curl
net/dhcpcd
net/dhcpd
net/bsd-finger
net/curl
net/dhcpcd
net/dhcpd
;  net/dillo  --  small  small  GUI  browser
;  net/dillo  --  we  use  mozilla  firebird  (phoenix)
net/dsniff
net/dsniff
net/ethereal
net/ettercap
;  net/ethereal  --  garpkg
;  net/ettercap  --  garpkg
net/firehose
net/gkermit
net/hping2
net/httptunnel
net/hunt
net/firehose
net/gkermit
net/hping2
net/httptunnel
net/hunt
;  net/iproute2  --  broken
net/iproute2
net/iptraf
net/iptraf

net/iputils
net/irssi
net/lftp
net/links
net/irssi
net/lftp
net/links
Line 103Line 104
net/netpipes
net/netsed
net/ngrep
net/netpipes
net/netsed
net/ngrep
net/nmap
;  net/nmap  --  garpkg
;  net/nttcp  --  license  problem
net/p0f
net/portmap
;  net/nttcp  --  license  problem
net/p0f
net/portmap
;  net/phoenix  --  large  small  GUI  browser
net/phoenix
net/rdate
net/redir
net/rsync
net/rdate
net/redir
net/rsync
Line 120Line 121
net/traceroute
net/ttcp
net/udhcp
net/traceroute
net/ttcp
net/udhcp
net/w3m
;  net/w3m  --  we  use  links
net/wavemon
net/wireless-tools
net/whois
net/wavemon
net/wireless-tools
net/whois
Line 133Line 134
special/accounts
special/bbc-provided
special/documentation
special/accounts
special/bbc-provided
special/documentation
;  special/keys  --  this  package  is  currently  unused
;  special/keys
special/swap
system/hotplug
utils/binutils
utils/bioswriter
special/swap
system/hotplug
utils/binutils
utils/bioswriter
;  utils/chntpw    --  non-commercial  only  (this  is  changing)
;  utils/chntpw    --  non-commercial  only
;  utils/cvs  --  dev  tool
utils/dialog
utils/diffutils
utils/fbset
utils/file
utils/findutils
;  utils/cvs  --  dev  tool
utils/dialog
utils/diffutils
utils/fbset
utils/file
utils/findutils
utils/glark
;  utils/glark  --  omitted  by  policy  ratified  21-Aug-2003
utils/gpm
utils/grep
utils/isapnptools
utils/gpm
utils/grep
utils/isapnptools
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.1
GARVERSION  :=  $(shell  date  --iso-8601=seconds)
#GARVERSION  :=  2.0
DISTNAME  :=  $(GARNAME)-$(shell  date  --iso-8601)
CATEGORIES  =  meta
#  MASTER_SITES  = 
DISTNAME  :=  $(GARNAME)-$(shell  date  --iso-8601)
CATEGORIES  =  meta
#  MASTER_SITES  = 
DISTFILES  =  autorun.inf  lnxbbc.htm  bbc.css  logo.png
DISTFILES  =  autorun.inf  lnxbbc.htm  bbc.css  logo.png  hash_search.c
#  PATCHFILES  = 
MAINTAINER  =  Seth  Schoen  <schoen@loyalty.org>
LICENSE  =  GPL
#  PATCHFILES  = 
MAINTAINER  =  Seth  Schoen  <schoen@loyalty.org>
LICENSE  =  GPL
Line 22Line 22
#  Dependencies  are  of  the  form  categorydir/packagedir
#  LIBDEPS  are  for  libraries,  and  DEPENDS  are  for  everything  else
#  Dependencies  are  of  the  form  categorydir/packagedir
#  LIBDEPS  are  for  libraries,  and  DEPENDS  are  for  everything  else
LIBDEPS  =
DEPENDS  =  meta/singularity  meta/lnx.img  special/rawrite2  special/rawwritewin  special/archivers-msdos  special/docopen  special/putty  kernel/cloop-module
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

BUILDDEPS  =  devel/ccache  disk/cdrtools

Line 40Line 40
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 60Line 63
MEDIA  =  cdrom

MEDIA  =  cdrom

build-custom:
$(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
        mkdir  -p  $(WORKDIR)/$(MEDIA)
        #  for  Nick's  experiment
        mkdir  -p  $(WORKDIR)/$(MEDIA)/mnt
Line 68Line 74
        mkdir  -p  $(WORKDIR)/$(MEDIA)/dev
        mkdir  -p  $(WORKDIR)/$(MEDIA)/mnt/initrd
        mkdir  -p  $(WORKDIR)/$(MEDIA)/mnt/cloop
        mkdir  -p  $(WORKDIR)/$(MEDIA)/dev
        mkdir  -p  $(WORKDIR)/$(MEDIA)/mnt/initrd
        mkdir  -p  $(WORKDIR)/$(MEDIA)/mnt/cloop
        cp  $(STAGINGDIR)/lnx.img/lnx.img  $(WORKDIR)/$(MEDIA)
        cp  $(STAGINGDIR)/singularity/singularity  $(WORKDIR)/$(MEDIA)
        cp  $(DESTDIR)/boot/cloop.o  $(WORKDIR)/$(MEDIA)
        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
        cp  ../../CREDITS  $(WORKDIR)/$(MEDIA)
        mkdir  -p  $(WORKDIR)/$(MEDIA)/rawrite
        mkdir  -p  $(WORKDIR)/$(MEDIA)/archivers
        mkdir  -p  $(WORKDIR)/$(MEDIA)/putty
        install  $(STAGINGDIR)/rawrite2/RAWRITE2.EXE  $(WORKDIR)/$(MEDIA)/rawrite
        install  $(STAGINGDIR)/rawwritewin/rawwritewin.exe  $(STAGINGDIR)/rawwritewin/diskio.dll  $(WORKDIR)/$(MEDIA)/rawrite
        install  $(STAGINGDIR)/archivers-msdos/gzip.exe  $(STAGINGDIR)/archivers-msdos/tar.exe  $(WORKDIR)/$(MEDIA)/archivers
        install  $(STAGINGDIR)/putty/putty.exe  $(STAGINGDIR)/putty/pscp.exe  $(WORKDIR)/$(MEDIA)/putty
        install  $(STAGINGDIR)/docopen/docopen.exe  $(WORKDIR)/$(MEDIA)
        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)
        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
        $(MAKECOOKIE)

super-clean:
        $(MAKECOOKIE)

super-clean:
File: meta/lnx-bbc/checksums
base-0 patch-1
Line 1Line 1
1325f21ab49cb77bf46e4a2d9b688c8f    download/autorun.inf
1325f21ab49cb77bf46e4a2d9b688c8f    download/autorun.inf
5acd7b50f2fb588dd8d2601301c6b18a    download/lnxbbc.htm
3ff88485252b8509057da0e0b8e365bd    download/bbc.css
78e7c1475bdef85fac400f671a6700a2    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/bbc.css
base-0 patch-1
Line 5Line 5
        font-size:  small;
}

        font-size:  small;
}

h1,  h2,  h3,  h4,  h5  {
h1,h2,h3,h4,h5  {
        font-family:  Helvetica;
        font-family:  Helvetica;
        background-color:  #2c4464;
        background-color:  #536287;
        color:  white;
        padding-left:3pt;
        margin-top:2pt;
        margin-bottom:8pt;
        padding-left:3pt;
        margin-top:2pt;
        margin-bottom:8pt;
Line 55Line 56
        margin-right:  0px;
}

        margin-right:  0px;
}

li.navbar,  h4.navbar  {
li.navbar,h4.navbar  {
        padding-left:  6pt;
        margin-top:8pt;
        margin-bottom:2pt;
        padding-left:  6pt;
        margin-top:8pt;
        margin-bottom:2pt;
Line 104Line 105
}

a:link  {
}

a:link  {
        color:  #336699;
        color:  #0099cc;
}

a.navbar:link,  a.navbar:visited  {
}

a.navbar:link,  a.navbar:visited  {
Line 123Line 124
        color:  #aaaaaa;
}

        color:  #aaaaaa;
}

dl,  ul,  ol  {
dl,ul,ol  {
        margin-top:  1pt;
}

        margin-top:  1pt;
}

tt,  pre  {
tt,pre  {
        font-family:  Lucida  Console,Courier  New,Courier,monotype;
        font-size:  x-small;
}
        font-family:  Lucida  Console,Courier  New,Courier,monotype;
        font-size:  x-small;
}
Line 150Line 151
        width:  15em;
}

        width:  15em;
}


.boxology,  .listy  {
        border-style:  solid;
        border-width:  thin;
        border-color:  #536287;
        border-collapse:  collapse;
        margin:  5px  15px;
        padding:  5px;
}

th.listy  {
        text-align:  right;
        font-family:  Helvetica;
}

/*  Style  info  for  the  diffs  in  the  package  list  */
TABLE.d2h-table  {
  border-collapse:  collapse;
  border-style:  solid;
  border-width:  1px;
  border-color:  white;
  margin:  5px  15px;
  color:  #cccccc;
  }

TABLE.d2h-table  TR  {
  font-family:  sans-serif;
}

TABLE.d2h-table  TR.blk-hdr  {
  font-size:  11pt;
  font-weight:  bold;
  border-style:  solid;
  border-width:  1px  0px  0px  0px;
  border-color:  white;
  background-color:  #333333;
}

TABLE.d2h-table  TR.blk-hdr  TH  {
  border-style:  dashed;
  border-width:  0px  0px  0px  1px;
  border-color:  white;
  padding:  0px  2px;
}

TABLE.d2h-table  TR.blk-text  {
  font-size:  11pt;
}

TABLE.d2h-table  TR.blk-text  TD  {
  border-style:  dashed;
  border-width:  0px  0px  0px  1px;
  border-color:  white;
  padding:  0px  5px;
}

TABLE.d2h-table  TR.blk-text  TD.right-changed,  TABLE.d2h-table  TR.blk-text  TD.left-changed  {
  background-color:  #536287;
}

TABLE.d2h-table  TR.blk-text  TD.right-added,  TABLE.d2h-table  TR.ver-hdr  TH.newver  {
  background-color:  #336633;
}

TABLE.d2h-table  TR.blk-text  TD.left-removed,  TABLE.d2h-table  TR.ver-hdr  TH.oldver  {
  background-color:  #663333;
}
File: meta/lnx-bbc/files/lnxbbc.htm
base-0 patch-1
Line 10Line 10
        <table  width="100%"  border="0">
            <tbody>
                <tr>
        <table  width="100%"  border="0">
            <tbody>
                <tr>
                    <th><span  width="240"><a  href="http://lnx-bbc.org/"><img  style="WIDTH:  240px;  HEIGHT:  62px"  height="62"  alt="LNX-BBC"  src="logo.png"  width="240"
                    <th><span  width="240"><a  href="http://lnx-bbc.org/"><img  style="WIDTH:  200px;  HEIGHT:  231px"  height="231"  alt="LNX-BBC"  src="logo.png"  width="200"
                    border="0"></a></span></th>
                    <td  valign="top"  align="left">
                        <h4  class="navbar">LNX-BBC.ORG</h4>
                    border="0"></a></span></th>
                    <td  valign="top"  align="left">
                        <h4  class="navbar">LNX-BBC.ORG</h4>
File: meta/lnx.img/Makefile
base-0 patch-1
Line 22Line 22
BUILDDEPS  =  fs/dosfstools  fs/mtools

IMGDEPS  =  lnximg
BUILDDEPS  =  fs/dosfstools  fs/mtools

IMGDEPS  =  lnximg
lnximg_DEPENDS  =  kernel/linux  kernel/cloop-module  utils/memtest86  utils/syslinux  meta/root.bin
lnximg_DEPENDS  =  kernel/linux-image  kernel/cloop-module  utils/memtest86  utils/syslinux  meta/root.bin
#  CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  custom
#  CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  custom
Line 63Line 63
        dd  conv=notrunc  if=$(lnximg_DESTDIR)/boot/ldlinux.bss  of=$(IMAGE)  bs=512  count=1
        dd  conv=notrunc  if=$(TEMP)  of=$(IMAGE)  bs=1  seek=$(BSCOPYSTART)  skip=$(BSCOPYSTART)  count=$(BSCOPYLEN)
        rm  $(TEMP)
        dd  conv=notrunc  if=$(lnximg_DESTDIR)/boot/ldlinux.bss  of=$(IMAGE)  bs=512  count=1
        dd  conv=notrunc  if=$(TEMP)  of=$(IMAGE)  bs=1  seek=$(BSCOPYSTART)  skip=$(BSCOPYSTART)  count=$(BSCOPYLEN)
        rm  $(TEMP)
        mcopy  $(STAGINGDIR)/root.bin/root.bin  $(LETTER):root.bin
        mcopy  $(lnximg_DESTDIR)/root.bin  $(LETTER):root.bin
        cp  $(lnximg_DESTDIR)/boot/bzImage  $(WORKDIR)/bzImage
        #  This  is  equivalent  to  "rdev  bzImage  /dev/cloop",  except  that  we  do
        #  not  require  that  /dev/cloop  actually  exist  on  the  build  system.
        cp  $(lnximg_DESTDIR)/boot/bzImage  $(WORKDIR)/bzImage
        #  This  is  equivalent  to  "rdev  bzImage  /dev/cloop",  except  that  we  do
        #  not  require  that  /dev/cloop  actually  exist  on  the  build  system.
Line 83Line 83
        $(MAKECOOKIE)

install-custom:
        $(MAKECOOKIE)

install-custom:
        install  -D  $(IMAGE)  $(STAGINGDIR)/$(GARNAME)/$(GARNAME)
        install  -D  $(IMAGE)  $(DESTDIR)/$(GARNAME)
        $(MAKECOOKIE)
        $(MAKECOOKIE)
File: meta/lnx.img/lnx.img.conf.mk
base-0 patch-1
Line 24Line 24
lnximg_CC  =  $(singularity_CC)
lnximg_CXX  =  $(singularity_CXX)
lnximg_LD  =  $(singularity_LD)
lnximg_CC  =  $(singularity_CC)
lnximg_CXX  =  $(singularity_CXX)
lnximg_LD  =  $(singularity_LD)

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_CPPFLAGS  =  $(singularity_CPPFLAGS)
lnximg_CFLAGS  =  $(singularity_CFLAGS)
File: meta/root.bin/Makefile
base-0 patch-1
Line 23Line 23
BUILDDEPS  =  fs/e2fsprogs

IMGDEPS  =  rootbin
BUILDDEPS  =  fs/e2fsprogs

IMGDEPS  =  rootbin
rootbin_DEPENDS  =  boot/busybox  kernel/linux
rootbin_DEPENDS  =  boot/busybox  kernel/linux-modules
#  CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  custom
#  CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  custom
Line 62Line 62
        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.
        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.
        debugfs  -f  $(WORKDIR)/buildext2.cmd  -w  $(EXT2FILE)  |  /bin/cat
        LD_LIBRARY_PATH=$(build_DESTDIR)$(build_libdir)  debugfs  -f  $(WORKDIR)/buildext2.cmd  -w  $(EXT2FILE)  |  /bin/cat
        gzip  -9  -c  $(EXT2FILE)  >  $(WORKDIR)/$(GARNAME)
        $(MAKECOOKIE)

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

install-custom:
        install  -D  $(WORKDIR)/$(GARNAME)  $(STAGINGDIR)/$(GARNAME)/$(GARNAME)
        install  -D  $(WORKDIR)/$(GARNAME)  $(DESTDIR)/$(GARNAME)
        $(MAKECOOKIE)
        $(MAKECOOKIE)
File: meta/root.bin/root.bin.conf.mk
base-0 patch-1
Line 24Line 24
rootbin_CC  =  $(singularity_CC)
rootbin_CXX  =  $(singularity_CXX)
rootbin_LD  =  $(singularity_LD)
rootbin_CC  =  $(singularity_CC)
rootbin_CXX  =  $(singularity_CXX)
rootbin_LD  =  $(singularity_LD)

rootbin_RANLIB  =  $(singularity_RANLIB)
rootbin_CPP  =  $(singularity_CPP)
rootbin_AS  =  $(singularity_AS)
rootbin_AR  =  $(singularity_AR)
rootbin_CPPFLAGS  =  $(singularity_CPPFLAGS)
rootbin_CFLAGS  =  $(singularity_CFLAGS)
rootbin_CPPFLAGS  =  $(singularity_CPPFLAGS)
rootbin_CFLAGS  =  $(singularity_CFLAGS)
File: meta/singularity/Makefile
base-0 patch-1
Line 113Line 113
        $(MAKECOOKIE)

install-custom:
        $(MAKECOOKIE)

install-custom:
        install  -D  $(SINGULARITY)  $(STAGINGDIR)/$(GARNAME)/$(GARNAME)
        touch  $(STAGINGDIR)/$(GARNAME)/$(GARNAME)
        install  -D  $(SINGULARITY)  $(DESTDIR)/$(GARNAME)
        touch  $(DESTDIR)/$(GARNAME)
        $(MAKECOOKIE)
        $(MAKECOOKIE)
File: meta/singularity/singularity-contents
base-0 patch-1
Line 8Line 8
boot/sysvinit
crypto/openssl
fs/devfsd
boot/sysvinit
crypto/openssl
fs/devfsd
kernel/linux
kernel/linux-image
kernel/linux-modules
kernel/modutils
kernel/pcmcia-cs
net/ipcalc
kernel/modutils
kernel/pcmcia-cs
net/ipcalc
Line 22Line 23
net/wireless-tools
net/wvdial
shells/bash
net/wireless-tools
net/wvdial
shells/bash
utils/fileutils
utils/coreutils
utils/pciutils
utils/procinfo
utils/setserial
utils/pciutils
utils/procinfo
utils/setserial
utils/sh-utils
utils/textutils

utils/util-linux
utils/util-linux
File: meta/singularity/singularity.conf.mk
base-0 patch-1
Line 1Line 1
singularity_DESTDIR  =  $(STAGINGDIR)/singularity/image

singularity_DESTDIR  =  $(STAGINGDIR)/singularity/image

singularity_GARCH  =  $(main_GARCH)
singularity_GARHOST  =  $(main_GARHOST)
singularity_GARCH  ?=  i386
singularity_GARHOST  ?=  i386-pc-linux-gnu
singularity_prefix  =  /
singularity_exec_prefix  =  $(singularity_prefix)
singularity_prefix  =  /
singularity_exec_prefix  =  $(singularity_prefix)
Line 24Line 24
singularity_CC  =  $(GARHOST)-gcc
singularity_CXX  =  g++
singularity_LD  =  $(GARHOST)-ld
singularity_CC  =  $(GARHOST)-gcc
singularity_CXX  =  g++
singularity_LD  =  $(GARHOST)-ld

singularity_RANLIB  =  $(GARHOST)-ranlib
singularity_CPP  =  $(GARHOST)-cpp
singularity_AS  =  $(GARHOST)-as
singularity_AR  =  $(GARHOST)-ar
#  allow  us  to  link  to  libraries  we  installed
#singularity_CPPFLAGS  +=  -nostdinc
#  allow  us  to  link  to  libraries  we  installed
#singularity_CPPFLAGS  +=  -nostdinc
File: net/aps/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  =  custom
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  custom
File: net/arping/Makefile
base-0 patch-1
Line 1Line 1
GARNAME  =  arping
GARNAME  =  arping
GARVERSION  =  1.05
GARVERSION  =  1.07
CATEGORIES  =  net
MASTER_SITES  =  ftp://ftp.habets.pp.se/pub/synscan/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz
CATEGORIES  =  net
MASTER_SITES  =  ftp://ftp.habets.pp.se/pub/synscan/
DISTFILES  =  $(GARNAME)-$(GARVERSION).tar.gz
Line 18Line 18
#  Dependencies  are  of  the  form  categorydir/packagedir
#  LIBDEPS  are  for  libraries,  and  DEPENDS  are  for  everything  else
#  Dependencies  are  of  the  form  categorydir/packagedir
#  LIBDEPS  are  for  libraries,  and  DEPENDS  are  for  everything  else
LIBDEPS  =  lib/libnet
LIBDEPS  =  devel/glibc  lib/libnet
DEPENDS  =
#  Builddeps  are  installed  in  $(BUILD_PREFIX)  in  their  entirety
BUILDDEPS  =
DEPENDS  =
#  Builddeps  are  installed  in  $(BUILD_PREFIX)  in  their  entirety
BUILDDEPS  =
Line 27Line 27
INSTALL_SCRIPTS  =  manifest

LIBNET_CONFIG  =  $(STAGINGDIR)/libnet/libnet-config
INSTALL_SCRIPTS  =  manifest

LIBNET_CONFIG  =  $(STAGINGDIR)/libnet/libnet-config
BUILD_ENV  =  LIBNET_CONFIG="$(LIBNET_CONFIG)"
BUILD_ARGS  =  linux  CFLAGS="-I$(DESTDIR)/$(includedir)  -L$(DESTDIR)/$(libdir)  -DUSE_NETIF=1  -DLINUX=1"
CFLAGS  +=  -DUSE_NETIF=1  -DLINUX=1
BUILD_ENV  =  CFLAGS="$(CFLAGS)"  CC="$(CC)"  LIBNET_CONFIG="$(LIBNET_CONFIG)"
BUILD_ARGS  =  linux
NODIRPATHS  = 

NODIRPATHS  = 

File: net/arping/checksums
base-0 patch-1
Line 1Line 1
a0adba7dae1465ec4001b5ab608e020a    download/arping-1.05.tar.gz
ffa17e5f125d90abf42af870b10da16e    download/gar-base.diff
37fbbe6944d1aaf294db2c33ff02c288    download/arping-1.07.tar.gz
76e0d89201ec7ff3f72fcfef51398c95    download/gar-base.diff
File: net/arping/files/gar-base.diff
base-0 patch-1
Line 1Line 1
diff  --speed-large-files  --minimal  -Nru  tmp/arping-1.05/Makefile  work/main.d/arping-1.05/Makefile
---  tmp/arping-1.05/Makefile        Sun  Nov    3  11:57:57  2002
+++  work/main.d/arping-1.05/Makefile        Mon  Feb  17  14:57:28  2003
@@  -11,6  +11,8  @@
  #  explicit  pcap  include  dir  is  for  redhat  which  is  fux0red
  CFLAGS=-g  -I/usr/local/include  -L/usr/local/lib  -DUSE_NETIF=$(USE_NETIF)  -DOPENBSD=$(OPENBSD)  -DLINUX=$(LINUX)  -DSOLARIS=$(SOLARIS)  -DFREEBSD=$(FREEBSD)  -DMACOSX=$(MACOSX)  -I/usr/include/pcap
diff  --speed-large-files  --minimal  -Nru  tmp/arping-1.07/Makefile  work/main.d/arping-1.07/Makefile
---  tmp/arping-1.07/Makefile        2002-11-03  13:57:57.000000000  -0600
+++  work/main.d/arping-1.07/Makefile        2003-06-19  12:15:50.000000000  -0500
@@  -9,7  +9,9  @@
  MACOSX=0
 
 
+LIBNET_CONFIG  ?=  libnet-config
  #  explicit  pcap  include  dir  is  for  redhat  which  is  fux0red
-CFLAGS=-g  -I/usr/local/include  -L/usr/local/lib  -DUSE_NETIF=$(USE_NETIF)  -DOPENBSD=$(OPENBSD)  -DLINUX=$(LINUX)  -DSOLARIS=$(SOLARIS)  -DFREEBSD=$(FREEBSD)  -DMACOSX=$(MACOSX)  -I/usr/include/pcap
+#CFLAGS=-g  -I/usr/local/include  -L/usr/local/lib  -DUSE_NETIF=$(USE_NETIF)  -DOPENBSD=$(OPENBSD)  -DLINUX=$(LINUX)  -DSOLARIS=$(SOLARIS)  -DFREEBSD=$(FREEBSD)  -DMACOSX=$(MACOSX)  -I/usr/include/pcap
+
+

+LIBNET_CONFIG  ?=  libnet-config
 
  usage:
          @echo
  usage:
          @echo
          @echo  "usage:  make  [  target  ]"
@@  -59,11  +61,11  @@
@@  -53,22  +55,22  @@
          make  USE_NETIF=0  SOLARIS=1  all
 
  install:
-        install  -c  arping  /usr/local/bin/arping
-        install  arping.8  /usr/local/man/man8/arping.8
+        install  -c  arping  $(DESTDIR)$(bindir)/arping
+        install  arping.8  $(DESTDIR)$(mandir)/man8/arping.8
 
  all:  $(TARGETS)
 
  arping.o:  arping.c
-        gcc  -Wall  $(CFLAGS)  -c  `libnet-config  --defines`  `libnet-config  --cflags`  arping.c
  all:  $(TARGETS)
 
  arping.o:  arping.c
-        gcc  -Wall  $(CFLAGS)  -c  `libnet-config  --defines`  `libnet-config  --cflags`  arping.c
+        gcc  -Wall  $(CFLAGS)  -c  `$(LIBNET_CONFIG)  --defines`  `$(LIBNET_CONFIG)  --cflags`  arping.c
+        $(CC)  -Wall  $(CFLAGS)  -c  `$(LIBNET_CONFIG)  --defines`  `$(LIBNET_CONFIG)  --cflags`  arping.c
 
  O_arping=arping.o
  arping:  $(O_arping)
-        gcc  $(CFLAGS)  -g  -o  $@  $(O_arping)  `libnet-config  --libs`  -lpcap
 
  O_arping=arping.o
  arping:  $(O_arping)
-        gcc  $(CFLAGS)  -g  -o  $@  $(O_arping)  `libnet-config  --libs`  -lpcap
+        gcc  $(CFLAGS)  -g  -o  $@  $(O_arping)  `$(LIBNET_CONFIG)  --libs`  -lpcap
+        $(CC)  $(CFLAGS)  -g  -o  $@  $(O_arping)  `$(LIBNET_CONFIG)  --libs`  -lpcap
 
  O_arping2=arping-2/arping.c
  arping2:  arping-2/arping
 
  O_arping2=arping-2/arping.c
  arping2:  arping-2/arping

  arping-2/arping:  $(O_arping2)
-        gcc  -I/usr/src/Libnet-1.1.0/include  -L/usr/src/Libnet-1.1.0/src  -o  arping  arping-2/arping.c  -lnet  -lpcap
+        $(CC)  $(CFLAGS)  -o  arping  arping-2/arping.c  -lnet  -lpcap
 
  clean:
          rm  -f  *.o  $(TARGETS)
File: net/atftp/Makefile
base-0 patch-1
Line 16Line 16
#  Dependencies  are  of  the  form  categorydir/packagedir
#  LIBDEPS  are  for  libraries,  and  DEPENDS  are  for  everything  else
#  Dependencies  are  of  the  form  categorydir/packagedir
#  LIBDEPS  are  for  libraries,  and  DEPENDS  are  for  everything  else
LIBDEPS  =  lib/libwrap
LIBDEPS  =  devel/glibc  lib/libwrap  lib/ncurses  utils/readline
DEPENDS  =
#  Builddeps  are  installed  in  $(BUILD_PREFIX)  in  their  entirety
BUILDDEPS  =
DEPENDS  =
#  Builddeps  are  installed  in  $(BUILD_PREFIX)  in  their  entirety
BUILDDEPS  =
File: net/bind/Makefile
base-0 patch-1
Line 14Line 14
  #XXX:  nwall  package  blurb  goes  here.
endef

  #XXX:  nwall  package  blurb  goes  here.
endef


LIBDEPS  =  devel/glibc

CONFIGURE_SCRIPTS  =  custom
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
BUILD_ARGS  =  -j1
CONFIGURE_SCRIPTS  =  custom
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
BUILD_ARGS  =  -j1
Line 33Line 35
        $(MAKECOOKIE)

include  ../../gar.mk
        $(MAKECOOKIE)

include  ../../gar.mk

AR  :=  $(AR)  crus
File: net/bittorrent/Makefile
base-0 patch-1
Line 3Line 3
CATEGORIES  =  net
MASTER_SITES  =  http://www.bitconjurer.org/BitTorrent/
DISTFILES  =  BitTorrent-$(GARVERSION).tar.gz
CATEGORIES  =  net
MASTER_SITES  =  http://www.bitconjurer.org/BitTorrent/
DISTFILES  =  BitTorrent-$(GARVERSION).tar.gz
PATCHFILES  = 
PATCHFILES  =  nice-command-line.patch        #  makes    btdownloadfoo  url
                                        #  and        btdownloadfoo  responsefile
                                        #  work  without  --url/--responsefile
PATCHFILES  +=  oneline.patch        #  one-line  console  downloader  by  Aaron  Swartz
#  put  your  e-mail  address  in  here,  as  in:          Foo  Bar  <foo@bar.com>
MAINTAINER  =  Seth  Schoen  <schoen@loyalty.org>
#  GPL,  GPL2,  BSD,  MIT,  etc.  Or  add  the  URL  to  any  custom  license
#  put  your  e-mail  address  in  here,  as  in:          Foo  Bar  <foo@bar.com>
MAINTAINER  =  Seth  Schoen  <schoen@loyalty.org>
#  GPL,  GPL2,  BSD,  MIT,  etc.  Or  add  the  URL  to  any  custom  license
Line 31Line 34
install-custom:
        #  omitting  GUI  clients,  which  require  wxpython
install-custom:
        #  omitting  GUI  clients,  which  require  wxpython
        cp  $(WORKSRC)/btcompletedir.py  $(DESTDIR)$(bindir)
        cp  $(WORKSRC)/btdownloadcurses.py  $(DESTDIR)$(bindir)
        cp  $(WORKSRC)/btdownloadheadless.py  $(DESTDIR)$(bindir)
        cp  $(WORKSRC)/btdownloadlibrary.py  $(DESTDIR)$(bindir)
        cp  $(WORKSRC)/btlaunchmany.py  $(DESTDIR)$(bindir)
        cp  $(WORKSRC)/btlaunchmanycurses.py  $(DESTDIR)$(bindir)
        cp  $(WORKSRC)/btmakemetafile.py  $(DESTDIR)$(bindir)
        cp  $(WORKSRC)/btreannounce.py  $(DESTDIR)$(bindir)
        cp  $(WORKSRC)/btrename.py  $(DESTDIR)$(bindir)
        cp  $(WORKSRC)/btshowmetainfo.py  $(DESTDIR)$(bindir)
        cp  $(WORKSRC)/bttest.py  $(DESTDIR)$(bindir)
        cp  $(WORKSRC)/bttrack.py  $(DESTDIR)$(bindir)
        install  $(WORKSRC)/btcompletedir.py  $(DESTDIR)$(bindir)
        install  $(WORKSRC)/btdownloadcurses.py  $(DESTDIR)$(bindir)
        install  $(WORKSRC)/btdownloadheadless.py  $(DESTDIR)$(bindir)
        install  $(WORKSRC)/btdownloadlibrary.py  $(DESTDIR)$(bindir)
        install  $(WORKSRC)/btdownloadoneline.py  $(DESTDIR)$(bindir)
        install  $(WORKSRC)/btlaunchmany.py  $(DESTDIR)$(bindir)
        install  $(WORKSRC)/btlaunchmanycurses.py  $(DESTDIR)$(bindir)
        install  $(WORKSRC)/btmakemetafile.py  $(DESTDIR)$(bindir)
        install  $(WORKSRC)/btreannounce.py  $(DESTDIR)$(bindir)
        install  $(WORKSRC)/btrename.py  $(DESTDIR)$(bindir)
        install  $(WORKSRC)/btshowmetainfo.py  $(DESTDIR)$(bindir)
        install  $(WORKSRC)/bttest.py  $(DESTDIR)$(bindir)
        install  $(WORKSRC)/bttrack.py  $(DESTDIR)$(bindir)
        rsync  -av  $(WORKSRC)/BitTorrent  $(DESTDIR)$(libdir)/python2.2
        $(MAKECOOKIE)
        rsync  -av  $(WORKSRC)/BitTorrent  $(DESTDIR)$(libdir)/python2.2
        $(MAKECOOKIE)
File: net/bittorrent/checksums
base-0 patch-1
Line Line 1
9e0cc346a4bfa3904380ed119d8bac90    download/BitTorrent-3.2.1b.tar.gz
9e0cc346a4bfa3904380ed119d8bac90    download/BitTorrent-3.2.1b.tar.gz

185f945a7f10480abcc467437a5da9d7    download/nice-command-line.patch
482d05b136d4b680939446f8c4768cc6    download/oneline.patch
File: net/bridge-utils/Makefile
base-0 patch-1
Line 16Line 16
WORKSRC  =  $(WORKDIR)/$(GARNAME)
#  Dependencies  are  of  the  form  categorydir/packagedir
#  LIBDEPS  are  for  libraries,  and  DEPENDS  are  for  everything  else
WORKSRC  =  $(WORKDIR)/$(GARNAME)
#  Dependencies  are  of  the  form  categorydir/packagedir
#  LIBDEPS  are  for  libraries,  and  DEPENDS  are  for  everything  else
LIBDEPS  =
LIBDEPS  =  devel/glibc
DEPENDS  =
#  Builddeps  are  installed  in  $(BUILD_PREFIX)  in  their  entirety
BUILDDEPS  =
DEPENDS  =
#  Builddeps  are  installed  in  $(BUILD_PREFIX)  in  their  entirety
BUILDDEPS  =
File: net/browsex/Makefile
base-0 patch-1
Line 7Line 7
WORKSRC  =  $(WORKDIR)

WORKSRC  =  $(WORKDIR)

LIBDEPS  =  lib/gdbm
LIBDEPS  =  devel/glibc  X11/XFree86  lib/gdbm
#  BINARY  PACKAGE

#  BINARY  PACKAGE

File: net/bsd-finger/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

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

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

CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
File: net/curl/Makefile
base-0 patch-1
Line 10Line 10
DESCRIPTION  =  curl  WWW  agent
define  BLURB
DESCRIPTION  =  curl  WWW  agent
define  BLURB
  #XXX:  nwall  package  blurb  goes  here.
Curl  is  a  command  line  tool  for  transferring  files  with  URL  syntax,
supporting  FTP,  FTPS,  HTTP,  HTTPS,  GOPHER,  TELNET,  DICT,  FILE  and
LDAP.  Curl  supports  HTTPS  certificates,  HTTP  POST,  HTTP  PUT,  FTP
uploading,  kerberos,  HTTP  form  based  upload,  proxies,  cookies,
user+password  authentication,  file  transfer  resume,  http  proxy
tunneling  and  a  busload  of  other  useful  tricks.
endef

endef

LIBDEPS  =  crypto/openssl
LIBDEPS  =  devel/glibc  crypto/openssl  lib/zlib
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
File: net/dhcpcd/Makefile
base-0 patch-1
Line 16Line 16
    option.
endef

    option.
endef


LIBDEPS  =  devel/glibc

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

#INSTALL_OVERRIDE_DIRS  =  mandir=$(mandir)

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

#INSTALL_OVERRIDE_DIRS  =  mandir=$(mandir)

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

include  ../../gar.mk
INSTALL_ARGS  =  mandir=$(mandir)

include  ../../gar.mk
File: net/dhcpd/Makefile
base-0 patch-1
Line 20Line 20
#  Dependencies  are  of  the  form  categorydir/packagedir
#  LIBDEPS  are  for  libraries,  and  DEPENDS  are  for  everything  else
#  Dependencies  are  of  the  form  categorydir/packagedir
#  LIBDEPS  are  for  libraries,  and  DEPENDS  are  for  everything  else
LIBDEPS  =
LIBDEPS  =  devel/glibc
DEPENDS  =
#  Builddeps  are  installed  in  $(BUILD_PREFIX)  in  their  entirety
BUILDDEPS  =
DEPENDS  =
#  Builddeps  are  installed  in  $(BUILD_PREFIX)  in  their  entirety
BUILDDEPS  =
File: net/dillo/Makefile
base-0 patch-1
Line 29Line 29
#  Dependencies  are  of  the  form  categorydir/packagedir
#  LIBDEPS  are  for  libraries,  and  DEPENDS  are  for  everything  else
#  Dependencies  are  of  the  form  categorydir/packagedir
#  LIBDEPS  are  for  libraries,  and  DEPENDS  are  for  everything  else
LIBDEPS  =  lib/gtk+  lib/libjpeg  lib/libpng
LIBDEPS  =  devel/glibc  X11/XFree86  lib/gtk+  lib/libjpeg  lib/libpng  lib/zlib
DEPENDS  =
#  Builddeps  are  installed  in  the  build  DESTIMG
BUILDDEPS  =
DEPENDS  =
#  Builddeps  are  installed  in  the  build  DESTIMG
BUILDDEPS  =
File: net/dsniff/Makefile
base-0 patch-1
Line 17Line 17
#  this  has  a  lot  of  build  deps  (libnet,  libnids,  libdb,  libpcap)
#  which  may  be  run  deps  too
#  this  has  a  lot  of  build  deps  (libnet,  libnids,  libdb,  libpcap)
#  which  may  be  run  deps  too
LIBDEPS  =  lib/libnet  lib/libpcap  crypto/openssl  lib/db  lib/nids  X11/XFree86
LIBDEPS  =  devel/glibc  lib/libnet  lib/libpcap  crypto/openssl  lib/db  lib/nids  X11/XFree86
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
File: net/ethereal/Makefile
base-0 patch-1
Line 1Line 1
GARNAME  =  ethereal
GARNAME  =  ethereal
GARVERSION  =  0.9.11
GARVERSION  =  0.9.13
CATEGORIES  =  net
MASTER_SITES  =  http://www.ethereal.com/distribution/
DISTFILES  =  $(DISTNAME).tar.gz
MAINTAINER  =  Paul  Gray  <gray@cs.uni.edu>
CATEGORIES  =  net
MASTER_SITES  =  http://www.ethereal.com/distribution/
DISTFILES  =  $(DISTNAME).tar.gz
MAINTAINER  =  Paul  Gray  <gray@cs.uni.edu>
LIBDEPS  =  lib/libpcap  devel/glib  lib/gtk+

LICENSE  =  GPL2

#PATCHFILES  = 
LICENSE  =  GPL2

#PATCHFILES  = 
Line 24Line 23
    from  the  capture.
endef

    from  the  capture.
endef


LIBDEPS  =  devel/glibc  X11/XFree86  lib/libpcap  devel/glib  lib/gtk+  lib/zlib

CONFIGURE_ARGS  =  $(DIRPATHS)  --without-ucdsnmp  --with-glib-prefix=$(DESTDIR)  --with-gtk-prefix=$(DESTDIR)
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
CONFIGURE_ARGS  =  $(DIRPATHS)  --without-ucdsnmp  --with-glib-prefix=$(DESTDIR)  --with-gtk-prefix=$(DESTDIR)
CONFIGURE_SCRIPTS  =  $(WORKSRC)/configure
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
BUILD_SCRIPTS  =  $(WORKSRC)/Makefile

INSTALL_ARGS  =  install_root=$(DESTDIR)
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  $(WORKSRC)/Makefile
include  ../../gar.mk

post-install:
include  ../../gar.mk

post-install:
File: net/ethereal/checksums
base-0 patch-1
Line Line 1
fc299868320f810642d51721fc030572    download/ethereal-0.9.11.tar.gz
0d3942b1352d690342ae444afffdb3e6    download/ethereal-0.9.13.tar.gz
File: net/ettercap/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

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: net/firehose/Makefile
base-0 patch-1
Line 12Line 12
  #XXX:  firehose  package  blurb  goes  here.
endef

  #XXX:  firehose  package  blurb  goes  here.
endef


LIBDEPS  =  devel/glibc

BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  custom

BUILD_SCRIPTS  =  $(WORKSRC)/Makefile
INSTALL_SCRIPTS  =  custom

File: net/gkermit/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

BINDIR  =  $(bindir)
MANDIR  =  $(mandir)
TEXTDIR  =  $(sharedstatedir)/doc
BINDIR  =  $(bindir)
MANDIR  =  $(mandir)
TEXTDIR  =  $(sharedstatedir)/doc
File: net/hping2/Makefile
base-0 patch-1
Line 15Line 15
  #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: net/httptunnel/Makefile
base-0 patch-1
Line 8Line 8
DESCRIPTION  =  tunnel  connections  through  HTTP
define  BLURB
DESCRIPTION  =  tunnel  connections  through  HTTP
define  BLURB
  Enter  a  longer  description  here.

  You  can  use  multiple  lines  if  you  want.
httptunnel  creates  a  bidirectional  virtual  data  connection  tunnelled
in  HTTP  requests.  The  HTTP  requests  can  be  sent  via  an  HTTP  proxy  if
so  desired.

This  can  be  useful  for  users  behind  restrictive  firewalls.  If  WWW
access  is  allowed  through  a  HTTP  proxy,  it's  possible  to  use
httptunnel  and,  say,  telnet  or  PPP  to  connect  to  a  computer  outside
the  firewall.
endef

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

#  Dependencies  are  of  the  form  categorydir/packagedir
#  LIBDEPS  are  for  libraries,  and  DEPENDS  are  for  everything  else
LIBDEPS  =
LIBDEPS  =  devel/glibc
DEPENDS  =
#  Builddeps  are  installed  in  $(BUILD_PREFIX)  in  their  entirety
BUILDDEPS  =
DEPENDS  =
#  Builddeps  are  installed  in  $(BUILD_PREFIX)  in  their  entirety
BUILDDEPS  =
File: net/hunt/Makefile
base-0 patch-1
Line 15Line 15
#  Dependencies  are  of  the  form  categorydir/packagedir
#  LIBDEPS  are  for  libraries,  and  DEPENDS  are  for  everything  else
#  Dependencies  are  of  the  form  categorydir/packagedir
#  LIBDEPS  are  for  libraries,  and  DEPENDS  are  for  everything  else
LIBDEPS  =
LIBDEPS  =  devel/glibc
DEPENDS  =
#  Builddeps  are  installed  in  the  build  DESTIMG
BUILDDEPS  =
DEPENDS  =
#  Builddeps  are  installed  in  the  build  DESTIMG
BUILDDEPS  =
File: net/ipcalc/Makefile
base-0 patch-1
Line 18Line 18
#  Dependencies  are  of  the  form  categorydir/packagedir
#  LIBDEPS  are  for  libraries,  and  DE