├── src ├── bin │ ├── ed │ │ ├── test │ │ │ ├── ascii.t │ │ │ ├── bang1.d │ │ │ ├── l.d │ │ │ ├── l.r │ │ │ ├── l.t │ │ │ ├── n.d │ │ │ ├── n.r │ │ │ ├── n.t │ │ │ ├── p.d │ │ │ ├── p.r │ │ │ ├── p.t │ │ │ ├── q.d │ │ │ ├── q.r │ │ │ ├── s3.d │ │ │ ├── d.err │ │ │ ├── e3.t │ │ │ ├── e4.t │ │ │ ├── g3.err │ │ │ ├── h.err │ │ │ ├── r2.t │ │ │ ├── s6.err │ │ │ ├── u.err │ │ │ ├── x.err │ │ │ ├── =.err │ │ │ ├── addr1.err │ │ │ ├── bang1.r │ │ │ ├── bang2.err │ │ │ ├── d.r │ │ │ ├── e1.r │ │ │ ├── e1.t │ │ │ ├── e3.err │ │ │ ├── k1.err │ │ │ ├── k2.err │ │ │ ├── k3.err │ │ │ ├── nl.err │ │ │ ├── q1.err │ │ │ ├── r3.d │ │ │ ├── r3.t │ │ │ ├── s1.err │ │ │ ├── t1.err │ │ │ ├── t2.err │ │ │ ├── t2.t │ │ │ ├── w2.err │ │ │ ├── z.err │ │ │ ├── addr2.err │ │ │ ├── bang1.err │ │ │ ├── e1.d │ │ │ ├── e1.err │ │ │ ├── e2.err │ │ │ ├── e2.r │ │ │ ├── f1.err │ │ │ ├── f2.err │ │ │ ├── g1.err │ │ │ ├── g2.err │ │ │ ├── g2.r │ │ │ ├── j.t │ │ │ ├── r1.err │ │ │ ├── s3.err │ │ │ ├── s3.r │ │ │ ├── s5.err │ │ │ ├── w3.err │ │ │ ├── addr.r │ │ │ ├── d.t │ │ │ ├── g5.t │ │ │ ├── r2.err │ │ │ ├── r3.r │ │ │ ├── s4.err │ │ │ ├── e2.d │ │ │ ├── e2.t │ │ │ ├── e3.d │ │ │ ├── e3.r │ │ │ ├── e4.d │ │ │ ├── e4.r │ │ │ ├── t1.t │ │ │ ├── w.t │ │ │ ├── a1.err │ │ │ ├── a2.err │ │ │ ├── c1.err │ │ │ ├── c2.err │ │ │ ├── g5.d │ │ │ ├── i1.err │ │ │ ├── i2.err │ │ │ ├── i3.err │ │ │ ├── s2.err │ │ │ ├── w1.err │ │ │ ├── g2.t │ │ │ ├── q.t │ │ │ ├── m.err │ │ │ ├── nl2.t │ │ │ ├── s10.err │ │ │ ├── s8.err │ │ │ ├── s9.err │ │ │ ├── j.r │ │ │ ├── k4.err │ │ │ ├── s2.t │ │ │ ├── s7.err │ │ │ ├── a.d │ │ │ ├── c.d │ │ │ ├── d.d │ │ │ ├── g3.t │ │ │ ├── i.d │ │ │ ├── j.d │ │ │ ├── k.d │ │ │ ├── m.d │ │ │ ├── m.r │ │ │ ├── t.d │ │ │ ├── u.d │ │ │ ├── v.d │ │ │ ├── w.d │ │ │ ├── bang1.t │ │ │ ├── g1.d │ │ │ ├── g2.d │ │ │ ├── g3.d │ │ │ ├── g3.r │ │ │ ├── g4.d │ │ │ ├── k.r │ │ │ ├── nl1.d │ │ │ ├── nl1.t │ │ │ ├── nl2.d │ │ │ ├── r1.d │ │ │ ├── r1.t │ │ │ ├── r2.d │ │ │ ├── s1.d │ │ │ ├── s2.d │ │ │ ├── t1.d │ │ │ ├── t2.d │ │ │ ├── addr.t │ │ │ ├── m.t │ │ │ ├── s2.r │ │ │ ├── t2.r │ │ │ ├── c.r │ │ │ ├── nl2.r │ │ │ ├── s1.r │ │ │ ├── g4.r │ │ │ ├── s3.t │ │ │ ├── ascii.d │ │ │ ├── ascii.r │ │ │ ├── g1.t │ │ │ ├── nl1.r │ │ │ ├── r1.r │ │ │ ├── s1.t │ │ │ ├── v.t │ │ │ ├── k.t │ │ │ ├── a.t │ │ │ ├── i.t │ │ │ ├── a.r │ │ │ ├── addr.d │ │ │ ├── i.r │ │ │ ├── g5.r │ │ │ ├── w.r │ │ │ ├── r2.r │ │ │ ├── u.r │ │ │ ├── g4.t │ │ │ ├── v.r │ │ │ ├── c.t │ │ │ ├── t.r │ │ │ ├── t1.r │ │ │ ├── g1.r │ │ │ └── u.t │ │ ├── USD.doc │ │ │ ├── 09.edtut │ │ │ │ └── Makefile │ │ │ └── 10.edadv │ │ │ │ └── Makefile │ │ └── Makefile │ ├── ksh │ │ ├── tests │ │ │ ├── glob.t │ │ │ ├── unclass2.t │ │ │ ├── version.t │ │ │ └── syntax.t │ │ ├── version.c │ │ ├── ksh_limval.h │ │ └── LEGAL │ ├── Makefile.inc │ ├── cat │ │ └── Makefile │ ├── echo │ │ └── Makefile │ ├── kill │ │ └── Makefile │ ├── pwd │ │ └── Makefile │ ├── rm │ │ └── Makefile │ ├── mkdir │ │ └── Makefile │ ├── rmdir │ │ └── Makefile │ ├── sleep │ │ └── Makefile │ ├── hostname │ │ └── Makefile │ ├── domainname │ │ └── Makefile │ ├── cp │ │ └── Makefile │ ├── expr │ │ └── Makefile │ ├── ln │ │ └── Makefile │ ├── rmail │ │ └── Makefile │ ├── sync │ │ └── Makefile │ ├── mv │ │ └── Makefile │ ├── rcp │ │ └── Makefile │ ├── dd │ │ └── Makefile │ ├── stty │ │ └── Makefile │ ├── date │ │ └── Makefile │ ├── df │ │ └── Makefile │ ├── ls │ │ ├── Makefile │ │ └── main.c │ ├── test │ │ └── Makefile │ ├── chio │ │ └── Makefile │ ├── ps │ │ └── Makefile │ ├── mt │ │ └── Makefile │ ├── Makefile │ ├── csh │ │ └── USD.doc │ │ │ └── Makefile │ ├── md5 │ │ └── Makefile │ └── chmod │ │ └── Makefile └── usr.bin │ ├── bgplg │ ├── bgplg.foot │ ├── openbgpd.gif │ ├── bgplg.css │ ├── bgplg.head │ ├── ping │ │ └── Makefile │ ├── ping6 │ │ └── Makefile │ ├── traceroute │ │ └── Makefile │ ├── traceroute6 │ │ └── Makefile │ ├── bgpctl │ │ └── Makefile │ ├── index.html │ ├── bgplgsh │ │ └── Makefile │ └── bgplg │ │ └── Makefile │ ├── pmdb │ └── arch │ │ ├── arm │ │ └── Makefile.inc │ │ ├── mips64 │ │ └── Makefile.inc │ │ ├── powerpc │ │ └── Makefile.inc │ │ ├── m68k │ │ └── Makefile.inc │ │ ├── m88k │ │ └── Makefile.inc │ │ ├── sh │ │ └── Makefile.inc │ │ ├── vax │ │ └── Makefile.inc │ │ ├── amd64 │ │ └── Makefile.inc │ │ ├── hppa │ │ └── Makefile.inc │ │ ├── i386 │ │ └── Makefile.inc │ │ ├── sparc │ │ └── Makefile.inc │ │ ├── sparc64 │ │ └── Makefile.inc │ │ └── alpha │ │ └── Makefile.inc │ ├── sudo │ ├── noexec │ │ ├── shlib_version │ │ └── Makefile │ ├── ChangeLog │ ├── Makefile │ ├── indent.pro │ └── Makefile.inc │ ├── vi │ ├── catalog │ │ ├── dutch.owner │ │ ├── english.owner │ │ ├── german.owner │ │ ├── swedish.owner │ │ ├── uk_UA.KOI8-U.owner │ │ ├── ru_RU.KOI8-R.owner │ │ ├── french │ │ ├── polish │ │ ├── spanish │ │ ├── swedish │ │ ├── french.base │ │ ├── french.check │ │ ├── polish.base │ │ ├── polish.check │ │ ├── polish.owner │ │ ├── ru_RU.KOI8-R │ │ ├── spanish.base │ │ ├── spanish.check │ │ ├── swedish.base │ │ ├── swedish.check │ │ ├── uk_UA.KOI8-U │ │ ├── ru_RU.KOI8-R.base │ │ ├── ru_RU.KOI8-R.check │ │ ├── uk_UA.KOI8-U.base │ │ └── spell.ok │ ├── include │ │ ├── tcl_extern.h │ │ └── perl_extern.h │ ├── Makefile │ ├── build │ │ └── port.h │ ├── ex │ │ ├── version.h │ │ └── ex.awk │ ├── perl_scripts │ │ ├── wc.pl │ │ └── forall.pl │ ├── common │ │ └── options.awk │ └── docs │ │ ├── USD.doc │ │ ├── vi.man │ │ │ └── Makefile │ │ ├── vi.ref │ │ │ └── merge.awk │ │ └── exref │ │ │ └── Makefile │ │ └── interp │ │ └── spell.ok │ ├── grep │ ├── file.c │ ├── grep.c │ ├── grep.h │ ├── util.c │ ├── binary.c │ ├── mmfile.c │ └── queue.c │ ├── rdist │ ├── cron.entry │ └── Makefile │ ├── file │ └── magdir │ │ ├── riff │ │ ├── linux │ │ ├── natinst │ │ ├── filesystems │ │ ├── wordprocessors │ │ ├── fortran │ │ ├── osf1 │ │ ├── mmdf │ │ ├── citrus │ │ ├── lif │ │ ├── sc │ │ ├── sketch │ │ ├── pbm │ │ ├── tgif │ │ ├── vmware │ │ ├── 386bsd │ │ ├── lecter │ │ ├── mirage │ │ ├── teapot │ │ ├── Header │ │ ├── apl │ │ ├── mlssa │ │ ├── psdbms │ │ ├── securitycerts │ │ ├── ctags │ │ ├── mime │ │ ├── typeset │ │ ├── bout │ │ ├── pkgadd │ │ ├── mathcad │ │ ├── netware │ │ ├── karma │ │ ├── octave │ │ ├── Localstuff │ │ ├── tuxedo │ │ ├── mkid │ │ ├── inform │ │ ├── interleaf │ │ ├── terminfo │ │ ├── island │ │ ├── mozilla │ │ ├── matroska │ │ ├── chord │ │ ├── dact │ │ ├── kde │ │ ├── pulsar │ │ ├── cddb │ │ ├── diff │ │ ├── gnumeric │ │ ├── project │ │ ├── allegro │ │ ├── amanda │ │ ├── dyadic │ │ ├── parix │ │ ├── epoc │ │ ├── magic │ │ ├── bflt │ │ ├── luks │ │ ├── adi │ │ ├── pyramid │ │ ├── applix │ │ ├── mercurial │ │ ├── btsnoop │ │ ├── zilog │ │ ├── llvm │ │ ├── nitpicker │ │ ├── cisco │ │ ├── fcs │ │ ├── vxl │ │ └── xdelta │ ├── asn1_compile │ ├── gen.c │ ├── hash.c │ ├── hash.h │ ├── lex.h │ ├── lex.l │ ├── main.c │ ├── getarg.c │ ├── getarg.h │ ├── parse.y │ ├── symbol.c │ ├── symbol.h │ ├── gen_copy.c │ ├── gen_free.c │ ├── gen_glue.c │ ├── gen_locl.h │ ├── gen_decode.c │ ├── gen_encode.c │ ├── gen_length.c │ └── Makefile │ ├── lex │ ├── VERSION │ ├── version.h │ ├── PSD.doc │ │ └── Makefile │ ├── libyywrap.c │ ├── mkskel.sh │ └── libmain.c │ ├── Makefile.inc │ ├── false │ ├── false.sh │ └── Makefile │ ├── passwd │ └── krb5_passwd.c │ ├── telnet │ └── telnet_locl.h │ ├── true │ ├── true.sh │ └── Makefile │ ├── compile_et │ ├── compile_et.c │ ├── compile_et.h │ ├── error_table.y │ ├── et_lex.lex.l │ └── Makefile │ ├── locate │ ├── Makefile.inc │ ├── Makefile │ ├── bigram │ │ └── Makefile │ └── code │ │ └── Makefile │ ├── ssh │ ├── version.h │ ├── scp │ │ └── Makefile │ ├── ssh-add │ │ └── Makefile │ ├── sftp │ │ └── Makefile │ ├── sftp-server │ │ └── Makefile │ ├── ssh-keygen │ │ └── Makefile │ ├── ssh-keyscan │ │ └── Makefile │ ├── ssh-agent │ │ └── Makefile │ ├── ssh-pkcs11-helper │ │ └── Makefile │ ├── ssh-keysign │ │ └── Makefile │ └── Makefile │ ├── biff │ └── Makefile │ ├── cal │ └── Makefile │ ├── col │ └── Makefile │ ├── comm │ └── Makefile │ ├── cut │ └── Makefile │ ├── env │ └── Makefile │ ├── fold │ └── Makefile │ ├── from │ └── Makefile │ ├── head │ └── Makefile │ ├── lam │ └── Makefile │ ├── last │ └── Makefile │ ├── lndir │ └── Makefile │ ├── look │ └── Makefile │ ├── mail │ ├── misc │ │ └── mail.rc │ └── USD.doc │ │ └── Makefile │ ├── mesg │ └── Makefile │ ├── nice │ └── Makefile │ ├── rev │ └── Makefile │ ├── rs │ └── Makefile │ ├── rwho │ └── Makefile │ ├── tee │ └── Makefile │ ├── time │ └── Makefile │ ├── tty │ └── Makefile │ ├── what │ └── Makefile │ ├── who │ └── Makefile │ ├── xstr │ └── Makefile │ ├── yes │ └── Makefile │ ├── apply │ └── Makefile │ ├── colrm │ └── Makefile │ ├── column │ └── Makefile │ ├── csplit │ └── Makefile │ ├── dirname │ └── Makefile │ ├── getcap │ └── Makefile │ ├── getconf │ └── Makefile │ ├── getopt │ └── Makefile │ ├── ipcrm │ └── Makefile │ ├── leave │ └── Makefile │ ├── logger │ └── Makefile │ ├── logname │ └── Makefile │ ├── mkstr │ └── Makefile │ ├── mktemp │ └── Makefile │ ├── nohup │ └── Makefile │ ├── paste │ └── Makefile │ ├── printf │ └── Makefile │ ├── ruptime │ └── Makefile │ ├── split │ └── Makefile │ ├── strings │ └── Makefile │ ├── tcopy │ └── Makefile │ ├── touch │ └── Makefile │ ├── uname │ └── Makefile │ ├── unvis │ └── Makefile │ ├── users │ └── Makefile │ ├── ypcat │ └── Makefile │ ├── ypmatch │ └── Makefile │ ├── basename │ └── Makefile │ ├── calendar │ └── calendars │ │ ├── calendar.history │ │ ├── ru_RU.KOI8-R │ │ ├── calendar.all │ │ ├── calendar.msk │ │ ├── calendar.pagan │ │ ├── calendar.common │ │ ├── calendar.history │ │ ├── calendar.orthodox │ │ └── calendar.primety │ │ ├── fr_FR.ISO8859-1 │ │ ├── calendar.all │ │ ├── calendar.fetes │ │ ├── calendar.jferies │ │ ├── calendar.proverbes │ │ └── calendar.french │ │ ├── de_DE.ISO_8859-1 │ │ ├── calendar.musik │ │ ├── calendar.feiertag │ │ ├── calendar.literatur │ │ ├── calendar.geschichte │ │ └── calendar.wissenschaft │ │ ├── hr_HR.ISO_8859-2 │ │ ├── calendar.praznici │ │ └── calendar.all │ │ ├── calendar.french │ │ ├── calendar.german │ │ ├── calendar.russian │ │ ├── calendar.croatian │ │ ├── calendar.world │ │ └── calendar.all │ ├── fsplit │ └── Makefile │ ├── printenv │ └── Makefile │ ├── readlink │ └── Makefile │ ├── bdes │ └── Makefile │ ├── fmt │ └── Makefile │ ├── id │ ├── whoami.sh │ ├── groups.sh │ └── Makefile │ ├── join │ └── Makefile │ ├── jot │ └── Makefile │ ├── less │ ├── Makefile │ ├── Makefile.inc │ ├── mkfuncs.awk │ └── lesskey │ │ └── Makefile │ ├── pr │ └── Makefile │ ├── tr │ └── Makefile │ ├── unifdef │ └── Makefile │ ├── whois │ └── Makefile │ ├── file2c │ └── Makefile │ ├── gencat │ └── Makefile │ ├── radioctl │ └── Makefile │ ├── renice │ └── Makefile │ ├── rpcinfo │ └── Makefile │ ├── unexpand │ └── Makefile │ ├── uniq │ └── Makefile │ ├── vacation │ └── Makefile │ ├── vis │ └── Makefile │ ├── modstat │ └── pathnames.h │ ├── showmount │ └── Makefile │ ├── su │ └── Makefile │ ├── du │ └── Makefile │ ├── expand │ └── Makefile │ ├── nc │ └── Makefile │ ├── wc │ └── Makefile │ ├── write │ └── Makefile │ ├── xargs │ └── Makefile │ ├── cap_mkdb │ └── Makefile │ ├── gprof │ ├── hppa.c │ ├── alpha.c │ ├── amd64.c │ ├── hppa64.c │ ├── powerpc.c │ ├── sparc64.c │ ├── sh.c │ ├── m68k.c │ ├── m88k.c │ ├── ns32k.c │ └── arm.c │ ├── ipcs │ └── Makefile │ ├── lastcomm │ └── Makefile │ ├── pagesize │ ├── pagesize.sh │ └── Makefile │ ├── ul │ └── Makefile │ ├── deroff │ └── Makefile │ ├── nfsstat │ └── Makefile │ ├── script │ └── Makefile │ ├── sed │ ├── Makefile │ └── USD.doc │ │ └── Makefile │ ├── cmp │ └── Makefile │ ├── quota │ └── Makefile │ ├── rsh │ └── Makefile │ ├── rup │ └── Makefile │ ├── tail │ └── Makefile │ ├── x99token │ └── Makefile │ ├── finger │ └── Makefile │ ├── ktrace │ └── Makefile │ ├── lock │ └── Makefile │ ├── rusers │ └── Makefile │ ├── rwall │ └── Makefile │ ├── tftp │ └── Makefile │ ├── diff │ └── Makefile │ ├── patch │ ├── Makefile │ └── pathnames.h │ ├── sendbug │ └── Makefile │ ├── wall │ └── Makefile │ ├── whatis │ └── Makefile │ ├── find │ └── Makefile │ ├── getent │ └── Makefile │ ├── indent │ └── Makefile │ ├── stat │ └── Makefile │ ├── apropos │ └── Makefile │ ├── asa │ └── Makefile │ ├── arch │ └── Makefile │ ├── login │ └── Makefile │ ├── uudecode │ └── Makefile │ ├── which │ └── Makefile │ ├── tsort │ └── Makefile │ ├── ctags │ └── Makefile │ ├── skeyinit │ └── Makefile │ ├── skeyaudit │ └── Makefile │ ├── sdiff │ ├── common.h │ ├── Makefile │ ├── extern.h │ └── common.c │ ├── man │ └── Makefile │ ├── tic │ └── transform.h │ ├── vmstat │ └── Makefile │ ├── audioctl │ └── Makefile │ ├── bc │ ├── USD.doc │ │ └── Makefile │ └── Makefile │ ├── dc │ ├── Makefile │ └── USD.doc │ │ └── Makefile │ ├── mixerctl │ └── Makefile │ ├── skeyinfo │ └── Makefile │ ├── m4 │ └── PSD.doc │ │ └── Makefile │ ├── tput │ └── Makefile │ ├── fgen │ └── Makefile │ ├── midiplay │ └── Makefile │ ├── hexdump │ └── Makefile │ ├── rpcgen │ └── Makefile │ ├── pctr │ └── Makefile │ ├── usbhidctl │ └── Makefile │ ├── shar │ └── Makefile │ ├── units │ └── Makefile │ ├── pkg-config │ └── Makefile │ ├── rdistd │ └── Makefile │ ├── mkdep │ └── Makefile │ ├── talk │ └── Makefile │ ├── fstat │ └── Makefile │ ├── gzsig │ └── Makefile │ ├── usbhidaction │ └── Makefile │ ├── cdio │ └── Makefile │ ├── make │ └── PSD.doc │ │ └── Makefile │ ├── netstat │ └── Makefile │ ├── sort │ └── Makefile │ ├── uuencode │ └── Makefile │ ├── awk │ └── USD.doc │ │ └── Makefile │ ├── lorder │ └── Makefile │ ├── w │ └── Makefile │ ├── diff3 │ └── Makefile │ ├── mg │ ├── funmap.h │ ├── key.h │ ├── macro.h │ └── version.c │ ├── top │ └── Makefile │ ├── ypwhich │ └── Makefile │ ├── pkill │ └── Makefile │ ├── xinstall │ └── Makefile │ ├── crontab │ └── Makefile │ ├── tip │ └── Makefile │ ├── ar │ └── Makefile │ ├── ranlib │ └── Makefile │ ├── yacc │ ├── Makefile │ └── PSD.doc │ │ └── Makefile │ ├── encrypt │ └── Makefile │ ├── nm │ └── Makefile │ ├── aucat │ └── Makefile │ ├── at │ └── Makefile │ ├── oldrdist │ └── Makefile │ ├── mklocale │ └── Makefile │ ├── newsyslog │ └── Makefile │ ├── banner │ └── Makefile │ ├── cpp │ └── Makefile │ └── tcpbench │ └── Makefile ├── libobase ├── include │ ├── sys │ │ ├── ucred.h │ │ ├── dirent.h │ │ ├── limits.h │ │ ├── types.h │ │ ├── sem.h │ │ ├── stat.h │ │ └── param.h │ ├── ssl │ ├── db.h │ ├── time.h │ ├── err.h │ ├── regex.h │ ├── paths.h │ ├── stdio.h │ ├── glob.h │ ├── limits.h │ ├── pwd.h │ ├── string.h │ └── unistd.h ├── setpassent.c └── ohash_int.h └── LICENSE /src/bin/ed/test/ascii.t: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/bin/ed/test/bang1.d: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/bin/ed/test/l.d: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/bin/ed/test/l.r: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/bin/ed/test/l.t: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/bin/ed/test/n.d: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/bin/ed/test/n.r: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/bin/ed/test/n.t: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/bin/ed/test/p.d: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/bin/ed/test/p.r: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/bin/ed/test/p.t: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/bin/ed/test/q.d: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/bin/ed/test/q.r: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/bin/ed/test/s3.d: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /libobase/include/sys/ucred.h: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/bin/ed/test/d.err: -------------------------------------------------------------------------------- 1 | dd 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/e3.t: -------------------------------------------------------------------------------- 1 | E 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/e4.t: -------------------------------------------------------------------------------- 1 | e 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/g3.err: -------------------------------------------------------------------------------- 1 | g 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/h.err: -------------------------------------------------------------------------------- 1 | .h 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/r2.t: -------------------------------------------------------------------------------- 1 | r 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/s6.err: -------------------------------------------------------------------------------- 1 | s 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/u.err: -------------------------------------------------------------------------------- 1 | .u 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/x.err: -------------------------------------------------------------------------------- 1 | .x 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/=.err: -------------------------------------------------------------------------------- 1 | 1,$= 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/addr1.err: -------------------------------------------------------------------------------- 1 | 100 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/bang1.r: -------------------------------------------------------------------------------- 1 | okay 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/bang2.err: -------------------------------------------------------------------------------- 1 | !! 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/d.r: -------------------------------------------------------------------------------- 1 | line 2 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/e1.r: -------------------------------------------------------------------------------- 1 | E e1.t 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/e1.t: -------------------------------------------------------------------------------- 1 | E e1.t 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/e3.err: -------------------------------------------------------------------------------- 1 | ee.err 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/k1.err: -------------------------------------------------------------------------------- 1 | 1,$ka 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/k2.err: -------------------------------------------------------------------------------- 1 | kA 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/k3.err: -------------------------------------------------------------------------------- 1 | 0ka 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/nl.err: -------------------------------------------------------------------------------- 1 | ,1 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/q1.err: -------------------------------------------------------------------------------- 1 | .q 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/r3.d: -------------------------------------------------------------------------------- 1 | r r3.t 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/r3.t: -------------------------------------------------------------------------------- 1 | r r3.t 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/s1.err: -------------------------------------------------------------------------------- 1 | s . x 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/t1.err: -------------------------------------------------------------------------------- 1 | tt 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/t2.err: -------------------------------------------------------------------------------- 1 | t0;-1 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/t2.t: -------------------------------------------------------------------------------- 1 | t0;/./ 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/w2.err: -------------------------------------------------------------------------------- 1 | ww.o 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/z.err: -------------------------------------------------------------------------------- 1 | z 2 | z 3 | -------------------------------------------------------------------------------- /src/bin/ed/test/addr2.err: -------------------------------------------------------------------------------- 1 | -100 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/bang1.err: -------------------------------------------------------------------------------- 1 | .!date 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/e1.d: -------------------------------------------------------------------------------- 1 | hello world 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/e1.err: -------------------------------------------------------------------------------- 1 | ee e1.err 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/e2.err: -------------------------------------------------------------------------------- 1 | .e e2.err 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/e2.r: -------------------------------------------------------------------------------- 1 | hello world- 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/f1.err: -------------------------------------------------------------------------------- 1 | .f f1.err 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/f2.err: -------------------------------------------------------------------------------- 1 | ff1.err 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/g1.err: -------------------------------------------------------------------------------- 1 | g/./s //x/ 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/g2.err: -------------------------------------------------------------------------------- 1 | g//s/./x/ 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/g2.r: -------------------------------------------------------------------------------- 1 | hello world 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/j.t: -------------------------------------------------------------------------------- 1 | 1,1j 2 | 2,3j 3 | -------------------------------------------------------------------------------- /src/bin/ed/test/r1.err: -------------------------------------------------------------------------------- 1 | 1,$r r1.err 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/s3.err: -------------------------------------------------------------------------------- 1 | s/[xyx/a/ 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/s3.r: -------------------------------------------------------------------------------- 1 | hello world 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/s5.err: -------------------------------------------------------------------------------- 1 | s//xyz/ 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/w3.err: -------------------------------------------------------------------------------- 1 | wqp w.o 2 | -------------------------------------------------------------------------------- /libobase/include/ssl: -------------------------------------------------------------------------------- 1 | /usr/include/openssl -------------------------------------------------------------------------------- /src/bin/ed/test/addr.r: -------------------------------------------------------------------------------- 1 | line 2 2 | line9 3 | -------------------------------------------------------------------------------- /src/bin/ed/test/d.t: -------------------------------------------------------------------------------- 1 | 1d 2 | 2;+1d 3 | $d 4 | -------------------------------------------------------------------------------- /src/bin/ed/test/g5.t: -------------------------------------------------------------------------------- 1 | g/./1,3t$\ 2 | 1d 3 | -------------------------------------------------------------------------------- /src/bin/ed/test/r2.err: -------------------------------------------------------------------------------- 1 | r a-good-book 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/r3.r: -------------------------------------------------------------------------------- 1 | r r3.t 2 | r r3.t 3 | -------------------------------------------------------------------------------- /src/bin/ed/test/s4.err: -------------------------------------------------------------------------------- 1 | s/\a\b\c/xyz/ 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/e2.d: -------------------------------------------------------------------------------- 1 | E !echo hello world- 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/e2.t: -------------------------------------------------------------------------------- 1 | E !echo hello world- 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/e3.d: -------------------------------------------------------------------------------- 1 | E !echo hello world- 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/e3.r: -------------------------------------------------------------------------------- 1 | E !echo hello world- 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/e4.d: -------------------------------------------------------------------------------- 1 | E !echo hello world- 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/e4.r: -------------------------------------------------------------------------------- 1 | E !echo hello world- 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/t1.t: -------------------------------------------------------------------------------- 1 | 1t0 2 | 2,3t2 3 | ,t$ 4 | -------------------------------------------------------------------------------- /src/bin/ed/test/w.t: -------------------------------------------------------------------------------- 1 | w !cat >\!.z 2 | r \!.z 3 | -------------------------------------------------------------------------------- /libobase/include/db.h: -------------------------------------------------------------------------------- 1 | #include_next 2 | -------------------------------------------------------------------------------- /libobase/include/time.h: -------------------------------------------------------------------------------- 1 | #include 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/a1.err: -------------------------------------------------------------------------------- 1 | 1,$a 2 | hello world 3 | . 4 | -------------------------------------------------------------------------------- /src/bin/ed/test/a2.err: -------------------------------------------------------------------------------- 1 | aa 2 | hello world 3 | . 4 | -------------------------------------------------------------------------------- /src/bin/ed/test/c1.err: -------------------------------------------------------------------------------- 1 | cc 2 | hello world 3 | . 4 | -------------------------------------------------------------------------------- /src/bin/ed/test/c2.err: -------------------------------------------------------------------------------- 1 | 0c 2 | hello world 3 | . 4 | -------------------------------------------------------------------------------- /src/bin/ed/test/g5.d: -------------------------------------------------------------------------------- 1 | line 1 2 | line 2 3 | line 3 4 | -------------------------------------------------------------------------------- /src/bin/ed/test/i1.err: -------------------------------------------------------------------------------- 1 | 1,$i 2 | hello world 3 | . 4 | -------------------------------------------------------------------------------- /src/bin/ed/test/i2.err: -------------------------------------------------------------------------------- 1 | ii 2 | hello world 3 | . 4 | -------------------------------------------------------------------------------- /src/bin/ed/test/i3.err: -------------------------------------------------------------------------------- 1 | 0i 2 | hello world 3 | . 4 | -------------------------------------------------------------------------------- /src/bin/ed/test/s2.err: -------------------------------------------------------------------------------- 1 | a 2 | a 3 | . 4 | s/x*/a/g 5 | -------------------------------------------------------------------------------- /src/bin/ed/test/w1.err: -------------------------------------------------------------------------------- 1 | w /to/some/far-away/place 2 | -------------------------------------------------------------------------------- /src/usr.bin/bgplg/bgplg.foot: -------------------------------------------------------------------------------- 1 | 2 |
3 | -------------------------------------------------------------------------------- /libobase/include/sys/dirent.h: -------------------------------------------------------------------------------- 1 | #include_next 2 | -------------------------------------------------------------------------------- /libobase/include/sys/limits.h: -------------------------------------------------------------------------------- 1 | #include_next 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/g2.t: -------------------------------------------------------------------------------- 1 | g/[2-4]/-1,+1c\ 2 | hello world 3 | -------------------------------------------------------------------------------- /src/bin/ed/test/q.t: -------------------------------------------------------------------------------- 1 | w q.o 2 | a 3 | hello 4 | . 5 | q 6 | -------------------------------------------------------------------------------- /src/usr.bin/pmdb/arch/arm/Makefile.inc: -------------------------------------------------------------------------------- 1 | SRCS+=arm.c 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/m.err: -------------------------------------------------------------------------------- 1 | a 2 | hello world 3 | . 4 | 1,$m1 5 | -------------------------------------------------------------------------------- /src/bin/ed/test/nl2.t: -------------------------------------------------------------------------------- 1 | a 2 | hello world 3 | . 4 | 0;/./ 5 | -------------------------------------------------------------------------------- /src/bin/ed/test/s10.err: -------------------------------------------------------------------------------- 1 | a 2 | hello 3 | . 4 | s/[h[.]/x/ 5 | -------------------------------------------------------------------------------- /src/bin/ed/test/s8.err: -------------------------------------------------------------------------------- 1 | a 2 | hello 3 | . 4 | s/[h[=]/x/ 5 | -------------------------------------------------------------------------------- /src/bin/ed/test/s9.err: -------------------------------------------------------------------------------- 1 | a 2 | hello 3 | . 4 | s/[h[:]/x/ 5 | -------------------------------------------------------------------------------- /src/usr.bin/pmdb/arch/mips64/Makefile.inc: -------------------------------------------------------------------------------- 1 | SRCS+=mips64.c 2 | -------------------------------------------------------------------------------- /src/usr.bin/pmdb/arch/powerpc/Makefile.inc: -------------------------------------------------------------------------------- 1 | SRCS+=powerpc.c 2 | -------------------------------------------------------------------------------- /src/usr.bin/sudo/noexec/shlib_version: -------------------------------------------------------------------------------- 1 | major=0 2 | minor=0 3 | -------------------------------------------------------------------------------- /src/bin/ed/test/j.r: -------------------------------------------------------------------------------- 1 | line 1 2 | line 2line 3 3 | line 4 4 | line5 5 | -------------------------------------------------------------------------------- /src/bin/ed/test/k4.err: -------------------------------------------------------------------------------- 1 | a 2 | hello 3 | . 4 | .ka 5 | 'ad 6 | 'ap 7 | -------------------------------------------------------------------------------- /src/bin/ed/test/s2.t: -------------------------------------------------------------------------------- 1 | ,s/./(&)/3 2 | s/$/00 3 | 2s//%/g 4 | s/^l 5 | -------------------------------------------------------------------------------- /src/bin/ed/test/s7.err: -------------------------------------------------------------------------------- 1 | a 2 | hello world 3 | . 4 | /./ 5 | sr 6 | -------------------------------------------------------------------------------- /src/bin/ed/test/a.d: -------------------------------------------------------------------------------- 1 | line 1 2 | line 2 3 | line 3 4 | line 4 5 | line5 6 | -------------------------------------------------------------------------------- /src/bin/ed/test/c.d: -------------------------------------------------------------------------------- 1 | line 1 2 | line 2 3 | line 3 4 | line 4 5 | line5 6 | -------------------------------------------------------------------------------- /src/bin/ed/test/d.d: -------------------------------------------------------------------------------- 1 | line 1 2 | line 2 3 | line 3 4 | line 4 5 | line5 6 | -------------------------------------------------------------------------------- /src/bin/ed/test/g3.t: -------------------------------------------------------------------------------- 1 | g/./s//x/\ 2 | 3m0 3 | g/./s/e/c/\ 4 | 2,3m1 5 | -------------------------------------------------------------------------------- /src/bin/ed/test/i.d: -------------------------------------------------------------------------------- 1 | line 1 2 | line 2 3 | line 3 4 | line 4 5 | line5 6 | -------------------------------------------------------------------------------- /src/bin/ed/test/j.d: -------------------------------------------------------------------------------- 1 | line 1 2 | line 2 3 | line 3 4 | line 4 5 | line5 6 | -------------------------------------------------------------------------------- /src/bin/ed/test/k.d: -------------------------------------------------------------------------------- 1 | line 1 2 | line 2 3 | line 3 4 | line 4 5 | line5 6 | -------------------------------------------------------------------------------- /src/bin/ed/test/m.d: -------------------------------------------------------------------------------- 1 | line 1 2 | line 2 3 | line 3 4 | line 4 5 | line5 6 | -------------------------------------------------------------------------------- /src/bin/ed/test/m.r: -------------------------------------------------------------------------------- 1 | line5 2 | line 1 3 | line 2 4 | line 3 5 | line 4 6 | -------------------------------------------------------------------------------- /src/bin/ed/test/t.d: -------------------------------------------------------------------------------- 1 | line 1 2 | line 2 3 | line 3 4 | line 4 5 | line5 6 | -------------------------------------------------------------------------------- /src/bin/ed/test/u.d: -------------------------------------------------------------------------------- 1 | line 1 2 | line 2 3 | line 3 4 | line 4 5 | line5 6 | -------------------------------------------------------------------------------- /src/bin/ed/test/v.d: -------------------------------------------------------------------------------- 1 | line 1 2 | line 2 3 | line 3 4 | line 4 5 | line5 6 | -------------------------------------------------------------------------------- /src/bin/ed/test/w.d: -------------------------------------------------------------------------------- 1 | line 1 2 | line 2 3 | line 3 4 | line 4 5 | line5 6 | -------------------------------------------------------------------------------- /src/usr.bin/vi/catalog/dutch.owner: -------------------------------------------------------------------------------- 1 | J.G. Vons 2 | -------------------------------------------------------------------------------- /libobase/include/err.h: -------------------------------------------------------------------------------- 1 | #define _warnx warnx 2 | 3 | #include_next 4 | -------------------------------------------------------------------------------- /src/bin/ed/test/bang1.t: -------------------------------------------------------------------------------- 1 | !read one 2 | hello, world 3 | a 4 | okay 5 | . 6 | -------------------------------------------------------------------------------- /src/bin/ed/test/g1.d: -------------------------------------------------------------------------------- 1 | line 1 2 | line 2 3 | line 3 4 | line 4 5 | line5 6 | -------------------------------------------------------------------------------- /src/bin/ed/test/g2.d: -------------------------------------------------------------------------------- 1 | line 1 2 | line 2 3 | line 3 4 | line 4 5 | line5 6 | -------------------------------------------------------------------------------- /src/bin/ed/test/g3.d: -------------------------------------------------------------------------------- 1 | line 1 2 | line 2 3 | line 3 4 | line 4 5 | line5 6 | -------------------------------------------------------------------------------- /src/bin/ed/test/g3.r: -------------------------------------------------------------------------------- 1 | linc 3 2 | xine 1 3 | xine 2 4 | xinc 4 5 | xinc5 6 | -------------------------------------------------------------------------------- /src/bin/ed/test/g4.d: -------------------------------------------------------------------------------- 1 | line 1 2 | line 2 3 | line 3 4 | line 4 5 | line5 6 | -------------------------------------------------------------------------------- /src/bin/ed/test/k.r: -------------------------------------------------------------------------------- 1 | line 3 2 | hello world 3 | line 4 4 | line5 5 | line 2 6 | -------------------------------------------------------------------------------- /src/bin/ed/test/nl1.d: -------------------------------------------------------------------------------- 1 | line 1 2 | line 2 3 | line 3 4 | line 4 5 | line5 6 | -------------------------------------------------------------------------------- /src/bin/ed/test/nl1.t: -------------------------------------------------------------------------------- 1 | 1 2 | 3 | 4 | 0a 5 | 6 | 7 | hello world 8 | . 9 | -------------------------------------------------------------------------------- /src/bin/ed/test/nl2.d: -------------------------------------------------------------------------------- 1 | line 1 2 | line 2 3 | line 3 4 | line 4 5 | line5 6 | -------------------------------------------------------------------------------- /src/bin/ed/test/r1.d: -------------------------------------------------------------------------------- 1 | line 1 2 | line 2 3 | line 3 4 | line 4 5 | line5 6 | -------------------------------------------------------------------------------- /src/bin/ed/test/r1.t: -------------------------------------------------------------------------------- 1 | 1;r !echo hello world 2 | 1 3 | r !echo hello world 4 | -------------------------------------------------------------------------------- /src/bin/ed/test/r2.d: -------------------------------------------------------------------------------- 1 | line 1 2 | line 2 3 | line 3 4 | line 4 5 | line5 6 | -------------------------------------------------------------------------------- /src/bin/ed/test/s1.d: -------------------------------------------------------------------------------- 1 | line 1 2 | line 2 3 | line 3 4 | line 4 5 | line5 6 | -------------------------------------------------------------------------------- /src/bin/ed/test/s2.d: -------------------------------------------------------------------------------- 1 | line 1 2 | line 2 3 | line 3 4 | line 4 5 | line5 6 | -------------------------------------------------------------------------------- /src/bin/ed/test/t1.d: -------------------------------------------------------------------------------- 1 | line 1 2 | line 2 3 | line 3 4 | line 4 5 | line5 6 | -------------------------------------------------------------------------------- /src/bin/ed/test/t2.d: -------------------------------------------------------------------------------- 1 | line 1 2 | line 2 3 | line 3 4 | line 4 5 | line5 6 | -------------------------------------------------------------------------------- /src/usr.bin/vi/catalog/english.owner: -------------------------------------------------------------------------------- 1 | Keith Bostic 2 | -------------------------------------------------------------------------------- /libobase/include/regex.h: -------------------------------------------------------------------------------- 1 | #define REG_BASIC 0 2 | 3 | #include_next 4 | -------------------------------------------------------------------------------- /src/bin/ed/test/addr.t: -------------------------------------------------------------------------------- 1 | 1 d 2 | 1 1 d 3 | 1,2,d 4 | 1;+ + ,d 5 | 1,2;., + 2d 6 | -------------------------------------------------------------------------------- /src/usr.bin/vi/catalog/german.owner: -------------------------------------------------------------------------------- 1 | Bernhard Daeubler 2 | -------------------------------------------------------------------------------- /src/usr.bin/vi/catalog/swedish.owner: -------------------------------------------------------------------------------- 1 | Jan Djarv 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/m.t: -------------------------------------------------------------------------------- 1 | 1,2m$ 2 | 1,2m$ 3 | 1,2m$ 4 | $m0 5 | $m0 6 | 2,3m1 7 | 2,3m3 8 | -------------------------------------------------------------------------------- /src/bin/ed/test/s2.r: -------------------------------------------------------------------------------- 1 | li(n)e 1 2 | i(n)e 200 3 | li(n)e 3 4 | li(n)e 4 5 | li(n)e500 6 | -------------------------------------------------------------------------------- /src/bin/ed/test/t2.r: -------------------------------------------------------------------------------- 1 | line 1 2 | line5 3 | line 2 4 | line 3 5 | line 4 6 | line5 7 | -------------------------------------------------------------------------------- /src/bin/ed/test/c.r: -------------------------------------------------------------------------------- 1 | at the top 2 | between top/middle 3 | in the middle 4 | at the bottom 5 | -------------------------------------------------------------------------------- /src/bin/ed/test/nl2.r: -------------------------------------------------------------------------------- 1 | line 1 2 | line 2 3 | line 3 4 | line 4 5 | line5 6 | hello world 7 | -------------------------------------------------------------------------------- /src/bin/ed/test/s1.r: -------------------------------------------------------------------------------- 1 | liene 1 2 | (liene) (2) 3 | (liene) (3) 4 | liene (4) 5 | (()liene5) 6 | -------------------------------------------------------------------------------- /libobase/include/paths.h: -------------------------------------------------------------------------------- 1 | #define _PATH_DEFTAPE "/dev/st0" 2 | 3 | #include_next 4 | -------------------------------------------------------------------------------- /src/bin/ed/test/g4.r: -------------------------------------------------------------------------------- 1 | hello 2 | zine 1 3 | line 2 4 | line 3 5 | line 4 6 | line5 7 | world 8 | -------------------------------------------------------------------------------- /src/bin/ed/test/s3.t: -------------------------------------------------------------------------------- 1 | a 2 | hello/[]world 3 | . 4 | s/[/]/ / 5 | s/[[:digit:][]/ / 6 | s/[]]/ / 7 | -------------------------------------------------------------------------------- /src/bin/ed/test/ascii.d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/bin/ed/test/ascii.d -------------------------------------------------------------------------------- /src/bin/ed/test/ascii.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/bin/ed/test/ascii.r -------------------------------------------------------------------------------- /src/bin/ed/test/g1.t: -------------------------------------------------------------------------------- 1 | g/./m0 2 | g/./s/$/\ 3 | hello world 4 | g/hello /s/lo/p!/\ 5 | a\ 6 | order 7 | -------------------------------------------------------------------------------- /src/bin/ed/test/nl1.r: -------------------------------------------------------------------------------- 1 | 2 | 3 | hello world 4 | line 1 5 | line 2 6 | line 3 7 | line 4 8 | line5 9 | -------------------------------------------------------------------------------- /src/usr.bin/grep/file.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/grep/file.c -------------------------------------------------------------------------------- /src/usr.bin/grep/grep.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/grep/grep.c -------------------------------------------------------------------------------- /src/usr.bin/grep/grep.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/grep/grep.h -------------------------------------------------------------------------------- /src/usr.bin/grep/util.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/grep/util.c -------------------------------------------------------------------------------- /src/bin/ed/test/r1.r: -------------------------------------------------------------------------------- 1 | line 1 2 | hello world 3 | line 2 4 | line 3 5 | line 4 6 | line5 7 | hello world 8 | -------------------------------------------------------------------------------- /src/bin/ed/test/s1.t: -------------------------------------------------------------------------------- 1 | s/\([^ ][^ ]*\)/(\1)/g 2 | 2s 3 | /3/s 4 | /\(4\)/sr 5 | /\(.\)/srg 6 | %s/i/&e/ 7 | -------------------------------------------------------------------------------- /src/bin/ed/test/v.t: -------------------------------------------------------------------------------- 1 | v/[ ]/m0 2 | v/[ ]/s/$/\ 3 | hello world 4 | v/hello /s/lo/p!/\ 5 | a\ 6 | order 7 | -------------------------------------------------------------------------------- /src/bin/ksh/tests/glob.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/bin/ksh/tests/glob.t -------------------------------------------------------------------------------- /src/usr.bin/grep/binary.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/grep/binary.c -------------------------------------------------------------------------------- /src/usr.bin/grep/mmfile.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/grep/mmfile.c -------------------------------------------------------------------------------- /src/usr.bin/grep/queue.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/grep/queue.c -------------------------------------------------------------------------------- /src/usr.bin/rdist/cron.entry: -------------------------------------------------------------------------------- 1 | 30 3 * * * /usr/bin/rdist -f /etc/Distfile >& /var/log/rdist/rdist.err 2>&1 2 | -------------------------------------------------------------------------------- /src/usr.bin/sudo/ChangeLog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/sudo/ChangeLog -------------------------------------------------------------------------------- /src/usr.bin/vi/catalog/uk_UA.KOI8-U.owner: -------------------------------------------------------------------------------- 1 | Olexander Kunytsa aka Cawko Xakep 2 | -------------------------------------------------------------------------------- /src/bin/ksh/tests/unclass2.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/bin/ksh/tests/unclass2.t -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/riff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/file/magdir/riff -------------------------------------------------------------------------------- /src/usr.bin/vi/catalog/ru_RU.KOI8-R.owner: -------------------------------------------------------------------------------- 1 | Dima Ruban , "Andrey A. Chernov" 2 | -------------------------------------------------------------------------------- /src/bin/ed/test/k.t: -------------------------------------------------------------------------------- 1 | 2ka 2 | 1d 3 | 'am$ 4 | 1ka 5 | 0a 6 | hello world 7 | . 8 | 'ad 9 | u 10 | 'am0 11 | -------------------------------------------------------------------------------- /src/usr.bin/asn1_compile/gen.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/asn1_compile/gen.c -------------------------------------------------------------------------------- /src/usr.bin/asn1_compile/hash.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/asn1_compile/hash.c -------------------------------------------------------------------------------- /src/usr.bin/asn1_compile/hash.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/asn1_compile/hash.h -------------------------------------------------------------------------------- /src/usr.bin/asn1_compile/lex.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/asn1_compile/lex.h -------------------------------------------------------------------------------- /src/usr.bin/asn1_compile/lex.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/asn1_compile/lex.l -------------------------------------------------------------------------------- /src/usr.bin/asn1_compile/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/asn1_compile/main.c -------------------------------------------------------------------------------- /src/usr.bin/bgplg/openbgpd.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/bgplg/openbgpd.gif -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/linux: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/file/magdir/linux -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/natinst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/file/magdir/natinst -------------------------------------------------------------------------------- /src/usr.bin/lex/VERSION: -------------------------------------------------------------------------------- 1 | A complete flex-2.5.4 distribution is available from ftp.ee.lbl.gov 2 | or prep.ai.mit.edu 3 | -------------------------------------------------------------------------------- /src/usr.bin/vi/catalog/french: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/vi/catalog/french -------------------------------------------------------------------------------- /src/usr.bin/vi/catalog/polish: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/vi/catalog/polish -------------------------------------------------------------------------------- /src/usr.bin/vi/catalog/spanish: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/vi/catalog/spanish -------------------------------------------------------------------------------- /src/usr.bin/vi/catalog/swedish: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/vi/catalog/swedish -------------------------------------------------------------------------------- /src/bin/ed/test/a.t: -------------------------------------------------------------------------------- 1 | 0a 2 | hello world 3 | . 4 | 2a 5 | hello world! 6 | . 7 | $a 8 | hello world!! 9 | . 10 | -------------------------------------------------------------------------------- /src/bin/ed/test/i.t: -------------------------------------------------------------------------------- 1 | 1i 2 | hello world 3 | . 4 | 2i 5 | hello world! 6 | . 7 | $i 8 | hello world!! 9 | . 10 | -------------------------------------------------------------------------------- /src/usr.bin/Makefile.inc: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile.inc,v 1.2 1996/06/26 05:31:08 deraadt Exp $ 2 | 3 | BINDIR?= /usr/bin 4 | -------------------------------------------------------------------------------- /src/usr.bin/asn1_compile/getarg.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/asn1_compile/getarg.c -------------------------------------------------------------------------------- /src/usr.bin/asn1_compile/getarg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/asn1_compile/getarg.h -------------------------------------------------------------------------------- /src/usr.bin/asn1_compile/parse.y: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/asn1_compile/parse.y -------------------------------------------------------------------------------- /src/usr.bin/asn1_compile/symbol.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/asn1_compile/symbol.c -------------------------------------------------------------------------------- /src/usr.bin/asn1_compile/symbol.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/asn1_compile/symbol.h -------------------------------------------------------------------------------- /src/usr.bin/false/false.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | # $OpenBSD: false.sh,v 1.2 1996/06/26 05:32:50 deraadt Exp $ 3 | 4 | exit 1 5 | -------------------------------------------------------------------------------- /src/usr.bin/passwd/krb5_passwd.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/passwd/krb5_passwd.c -------------------------------------------------------------------------------- /src/usr.bin/telnet/telnet_locl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/telnet/telnet_locl.h -------------------------------------------------------------------------------- /src/usr.bin/true/true.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | # $OpenBSD: true.sh,v 1.2 1996/06/26 05:41:53 deraadt Exp $ 3 | 4 | exit 0 5 | -------------------------------------------------------------------------------- /src/bin/ed/test/a.r: -------------------------------------------------------------------------------- 1 | hello world 2 | line 1 3 | hello world! 4 | line 2 5 | line 3 6 | line 4 7 | line5 8 | hello world!! 9 | -------------------------------------------------------------------------------- /src/bin/ed/test/addr.d: -------------------------------------------------------------------------------- 1 | line 1 2 | line 2 3 | line 3 4 | line 4 5 | line5 6 | 1ine6 7 | line7 8 | line8 9 | line9 10 | -------------------------------------------------------------------------------- /src/bin/ed/test/i.r: -------------------------------------------------------------------------------- 1 | hello world 2 | hello world! 3 | line 1 4 | line 2 5 | line 3 6 | line 4 7 | hello world!! 8 | line5 9 | -------------------------------------------------------------------------------- /src/usr.bin/asn1_compile/gen_copy.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/asn1_compile/gen_copy.c -------------------------------------------------------------------------------- /src/usr.bin/asn1_compile/gen_free.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/asn1_compile/gen_free.c -------------------------------------------------------------------------------- /src/usr.bin/asn1_compile/gen_glue.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/asn1_compile/gen_glue.c -------------------------------------------------------------------------------- /src/usr.bin/asn1_compile/gen_locl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/asn1_compile/gen_locl.h -------------------------------------------------------------------------------- /src/usr.bin/compile_et/compile_et.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/compile_et/compile_et.c -------------------------------------------------------------------------------- /src/usr.bin/compile_et/compile_et.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/compile_et/compile_et.h -------------------------------------------------------------------------------- /src/usr.bin/compile_et/error_table.y: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/compile_et/error_table.y -------------------------------------------------------------------------------- /src/usr.bin/compile_et/et_lex.lex.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/compile_et/et_lex.lex.l -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/filesystems: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/file/magdir/filesystems -------------------------------------------------------------------------------- /src/usr.bin/pmdb/arch/m68k/Makefile.inc: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile.inc,v 1.1 2003/05/30 19:32:53 miod Exp $ 2 | 3 | SRCS+= m68k.c 4 | -------------------------------------------------------------------------------- /src/usr.bin/pmdb/arch/m88k/Makefile.inc: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile.inc,v 1.1 2003/05/30 20:50:31 miod Exp $ 2 | 3 | SRCS+= m88k.c 4 | -------------------------------------------------------------------------------- /src/usr.bin/pmdb/arch/sh/Makefile.inc: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile.inc,v 1.1 2007/03/03 14:20:12 miod Exp $ 2 | 3 | SRCS+= sh.c 4 | -------------------------------------------------------------------------------- /src/usr.bin/pmdb/arch/vax/Makefile.inc: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile.inc,v 1.1 2002/03/19 21:01:49 fgsch Exp $ 2 | 3 | SRCS+= vax.c 4 | -------------------------------------------------------------------------------- /src/usr.bin/vi/catalog/french.base: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/vi/catalog/french.base -------------------------------------------------------------------------------- /src/usr.bin/vi/catalog/french.check: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/vi/catalog/french.check -------------------------------------------------------------------------------- /src/usr.bin/vi/catalog/polish.base: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/vi/catalog/polish.base -------------------------------------------------------------------------------- /src/usr.bin/vi/catalog/polish.check: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/vi/catalog/polish.check -------------------------------------------------------------------------------- /src/usr.bin/vi/catalog/polish.owner: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/vi/catalog/polish.owner -------------------------------------------------------------------------------- /src/usr.bin/vi/catalog/ru_RU.KOI8-R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/vi/catalog/ru_RU.KOI8-R -------------------------------------------------------------------------------- /src/usr.bin/vi/catalog/spanish.base: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/vi/catalog/spanish.base -------------------------------------------------------------------------------- /src/usr.bin/vi/catalog/spanish.check: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/vi/catalog/spanish.check -------------------------------------------------------------------------------- /src/usr.bin/vi/catalog/swedish.base: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/vi/catalog/swedish.base -------------------------------------------------------------------------------- /src/usr.bin/vi/catalog/swedish.check: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/vi/catalog/swedish.check -------------------------------------------------------------------------------- /src/usr.bin/vi/catalog/uk_UA.KOI8-U: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/vi/catalog/uk_UA.KOI8-U -------------------------------------------------------------------------------- /src/bin/ed/test/g5.r: -------------------------------------------------------------------------------- 1 | line 1 2 | line 2 3 | line 3 4 | line 2 5 | line 3 6 | line 1 7 | line 3 8 | line 1 9 | line 2 10 | -------------------------------------------------------------------------------- /src/usr.bin/asn1_compile/gen_decode.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/asn1_compile/gen_decode.c -------------------------------------------------------------------------------- /src/usr.bin/asn1_compile/gen_encode.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/asn1_compile/gen_encode.c -------------------------------------------------------------------------------- /src/usr.bin/asn1_compile/gen_length.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/asn1_compile/gen_length.c -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/wordprocessors: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/file/magdir/wordprocessors -------------------------------------------------------------------------------- /src/usr.bin/lex/version.h: -------------------------------------------------------------------------------- 1 | /* $OpenBSD: version.h,v 1.4 1996/12/10 22:22:03 millert Exp $ */ 2 | 3 | #define FLEX_VERSION "2.5.4" 4 | -------------------------------------------------------------------------------- /src/usr.bin/pmdb/arch/amd64/Makefile.inc: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile.inc,v 1.2 2004/02/28 18:51:32 deraadt Exp $ 2 | 3 | SRCS+= amd64.c 4 | -------------------------------------------------------------------------------- /src/usr.bin/pmdb/arch/hppa/Makefile.inc: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile.inc,v 1.2 2002/03/15 18:33:03 mickey Exp $ 2 | 3 | SRCS+=hppa.c 4 | -------------------------------------------------------------------------------- /src/usr.bin/pmdb/arch/i386/Makefile.inc: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile.inc,v 1.2 2002/03/15 16:41:06 jason Exp $ 2 | 3 | SRCS+= i386.c 4 | -------------------------------------------------------------------------------- /src/usr.bin/pmdb/arch/sparc/Makefile.inc: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile.inc,v 1.2 2002/03/15 18:33:03 mickey Exp $ 2 | 3 | SRCS+=sparc.c 4 | -------------------------------------------------------------------------------- /src/bin/Makefile.inc: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile.inc,v 1.4 1997/09/21 11:34:33 deraadt Exp $ 2 | 3 | BINDIR?= /bin 4 | LDSTATIC= ${STATIC} 5 | -------------------------------------------------------------------------------- /src/bin/cat/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:34:39 deraadt Exp $ 2 | 3 | PROG= cat 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/bin/echo/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:35:02 deraadt Exp $ 2 | 3 | PROG= echo 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/bin/ed/test/w.r: -------------------------------------------------------------------------------- 1 | line 1 2 | line 2 3 | line 3 4 | line 4 5 | line5 6 | line 1 7 | line 2 8 | line 3 9 | line 4 10 | line5 11 | -------------------------------------------------------------------------------- /src/bin/kill/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:35:12 deraadt Exp $ 2 | 3 | PROG= kill 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/bin/pwd/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:35:35 deraadt Exp $ 2 | 3 | PROG= pwd 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/bin/rm/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:35:40 deraadt Exp $ 2 | 3 | PROG= rm 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/locate/Makefile.inc: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile.inc,v 1.3 1997/09/21 11:49:35 deraadt Exp $ 2 | 3 | LIBEXECDIR?= /usr/libexec 4 | -------------------------------------------------------------------------------- /src/usr.bin/pmdb/arch/sparc64/Makefile.inc: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile.inc,v 1.2 2002/03/15 18:33:03 mickey Exp $ 2 | 3 | SRCS+=sparc64.c 4 | -------------------------------------------------------------------------------- /src/usr.bin/ssh/version.h: -------------------------------------------------------------------------------- 1 | /* $OpenBSD: version.h,v 1.64 2012/02/09 20:00:18 markus Exp $ */ 2 | 3 | #define SSH_VERSION "OpenSSH_6.0" 4 | -------------------------------------------------------------------------------- /src/usr.bin/vi/catalog/ru_RU.KOI8-R.base: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/vi/catalog/ru_RU.KOI8-R.base -------------------------------------------------------------------------------- /src/usr.bin/vi/catalog/ru_RU.KOI8-R.check: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/vi/catalog/ru_RU.KOI8-R.check -------------------------------------------------------------------------------- /src/usr.bin/vi/catalog/uk_UA.KOI8-U.base: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/vi/catalog/uk_UA.KOI8-U.base -------------------------------------------------------------------------------- /src/usr.bin/vi/include/tcl_extern.h: -------------------------------------------------------------------------------- 1 | /* $OpenBSD: tcl_extern.h,v 1.3 2002/02/16 21:27:58 millert Exp $ */ 2 | 3 | int tcl_init(GS *); 4 | -------------------------------------------------------------------------------- /src/bin/ed/test/r2.r: -------------------------------------------------------------------------------- 1 | line 1 2 | line 2 3 | line 3 4 | line 4 5 | line5 6 | line 1 7 | line 2 8 | line 3 9 | line 4 10 | line5 11 | -------------------------------------------------------------------------------- /src/bin/ed/test/u.r: -------------------------------------------------------------------------------- 1 | line 1 2 | hello 3 | hello world!! 4 | line 2 5 | line 3 6 | line 4 7 | line5 8 | hello 9 | hello world!! 10 | -------------------------------------------------------------------------------- /src/bin/mkdir/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:35:20 deraadt Exp $ 2 | 3 | PROG= mkdir 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/bin/rmdir/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:35:45 deraadt Exp $ 2 | 3 | PROG= rmdir 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/bin/sleep/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:35:48 deraadt Exp $ 2 | 3 | PROG= sleep 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/biff/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:48:28 deraadt Exp $ 2 | 3 | PROG= biff 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/cal/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:48:29 deraadt Exp $ 2 | 3 | PROG= cal 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/col/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:48:42 deraadt Exp $ 2 | 3 | PROG= col 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/comm/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:48:47 deraadt Exp $ 2 | 3 | PROG= comm 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/cut/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:48:51 deraadt Exp $ 2 | 3 | PROG= cut 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/env/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:48:56 deraadt Exp $ 2 | 3 | PROG= env 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/fold/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:49:05 deraadt Exp $ 2 | 3 | PROG= fold 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/from/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:49:06 deraadt Exp $ 2 | 3 | PROG= from 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/head/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.2 1996/06/26 05:34:14 deraadt Exp $ 2 | 3 | PROG= head 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/lam/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:49:24 deraadt Exp $ 2 | 3 | PROG= lam 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/last/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:49:26 deraadt Exp $ 2 | 3 | PROG= last 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/lndir/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.1 1996/08/19 05:47:25 downsj Exp $ 2 | 3 | PROG= lndir 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/look/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:49:44 deraadt Exp $ 2 | 3 | PROG= look 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/mail/misc/mail.rc: -------------------------------------------------------------------------------- 1 | set append dot save asksub 2 | ignore Received Message-Id Resent-Message-Id Status Mail-From Return-Path Via 3 | -------------------------------------------------------------------------------- /src/usr.bin/mesg/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:50:00 deraadt Exp $ 2 | 3 | PROG= mesg 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/nice/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:50:19 deraadt Exp $ 2 | 3 | PROG= nice 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/rev/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:50:34 deraadt Exp $ 2 | 3 | PROG= rev 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/rs/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.2 1996/06/26 05:38:46 deraadt Exp $ 2 | 3 | 4 | PROG= rs 5 | 6 | .include 7 | -------------------------------------------------------------------------------- /src/usr.bin/rwho/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.2 1996/06/26 05:38:59 deraadt Exp $ 2 | 3 | PROG= rwho 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/tee/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:51:09 deraadt Exp $ 2 | 3 | PROG= tee 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/time/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:51:14 deraadt Exp $ 2 | 3 | PROG= time 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/tty/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:51:27 deraadt Exp $ 2 | 3 | PROG= tty 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/what/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:51:58 deraadt Exp $ 2 | 3 | PROG= what 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/who/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:52:02 deraadt Exp $ 2 | 3 | PROG= who 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/xstr/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:52:15 deraadt Exp $ 2 | 3 | PROG= xstr 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/yes/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:52:17 deraadt Exp $ 2 | 3 | PROG= yes 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /libobase/include/sys/types.h: -------------------------------------------------------------------------------- 1 | #include 2 | #define letoh16 le16toh 3 | #define betoh64 be64toh 4 | 5 | #include_next 6 | -------------------------------------------------------------------------------- /src/bin/ed/test/g4.t: -------------------------------------------------------------------------------- 1 | g/./s/./x/\ 2 | u\ 3 | s/./y/\ 4 | u\ 5 | s/./z/\ 6 | u 7 | u 8 | 0a 9 | hello 10 | . 11 | $a 12 | world 13 | . 14 | -------------------------------------------------------------------------------- /src/bin/hostname/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:35:09 deraadt Exp $ 2 | 3 | PROG= hostname 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/apply/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:48:16 deraadt Exp $ 2 | 3 | PROG= apply 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/bgplg/bgplg.css: -------------------------------------------------------------------------------- 1 | .footer { 2 | text-align: left; 3 | width: 100%; 4 | } 5 | img { 6 | border: none; 7 | border-width: 0px; 8 | } 9 | -------------------------------------------------------------------------------- /src/usr.bin/colrm/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:48:45 deraadt Exp $ 2 | 3 | PROG= colrm 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/column/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:48:46 deraadt Exp $ 2 | 3 | PROG= column 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/csplit/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.1 2006/07/17 16:38:02 millert Exp $ 2 | 3 | PROG= csplit 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/dirname/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.4 2001/07/05 22:06:24 pjanzen Exp $ 2 | 3 | PROG= dirname 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/getcap/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.1 2005/02/19 22:15:41 millert Exp $ 2 | 3 | PROG= getcap 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/getconf/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:49:12 deraadt Exp $ 2 | 3 | PROG=getconf 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/getopt/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.2 1996/06/26 05:33:44 deraadt Exp $ 2 | 3 | PROG = getopt 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/ipcrm/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.2 1996/06/26 05:34:34 deraadt Exp $ 2 | 3 | PROG= ipcrm 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/leave/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:49:31 deraadt Exp $ 2 | 3 | PROG= leave 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/logger/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:49:37 deraadt Exp $ 2 | 3 | PROG= logger 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/logname/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:49:42 deraadt Exp $ 2 | 3 | PROG= logname 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/mkstr/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:50:06 deraadt Exp $ 2 | 3 | PROG= mkstr 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/mktemp/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.1 1996/11/21 07:59:31 millert Exp $ 2 | 3 | PROG= mktemp 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/nohup/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:50:24 deraadt Exp $ 2 | 3 | PROG= nohup 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/paste/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.2 1996/06/26 05:37:49 deraadt Exp $ 2 | 3 | PROG= paste 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/pmdb/arch/alpha/Makefile.inc: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile.inc,v 1.2 2002/03/15 18:33:03 mickey Exp $ 2 | 3 | SRCS+=alpha.c alpha_trace.c 4 | -------------------------------------------------------------------------------- /src/usr.bin/printf/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.2 1996/06/26 05:37:58 deraadt Exp $ 2 | 3 | PROG= printf 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/ruptime/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.2 1996/06/26 05:38:53 deraadt Exp $ 2 | 3 | PROG= ruptime 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/split/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:50:59 deraadt Exp $ 2 | 3 | PROG= split 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/strings/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:51:00 deraadt Exp $ 2 | 3 | PROG= strings 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/tcopy/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:51:07 deraadt Exp $ 2 | 3 | PROG= tcopy 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/touch/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:51:19 deraadt Exp $ 2 | 3 | PROG= touch 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/uname/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.2 1996/06/26 05:42:06 deraadt Exp $ 2 | 3 | PROG= uname 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/unvis/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:51:36 deraadt Exp $ 2 | 3 | PROG= unvis 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/users/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:51:37 deraadt Exp $ 2 | 3 | PROG= users 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/vi/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.13 2010/10/17 22:54:37 schwarze Exp $ 2 | 3 | SUBDIR= build 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/ypcat/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.2 1996/05/21 21:32:39 deraadt Exp $ 2 | 3 | PROG= ypcat 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/ypmatch/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.2 1996/05/21 21:32:41 deraadt Exp $ 2 | 3 | PROG= ypmatch 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/bin/domainname/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:34:59 deraadt Exp $ 2 | 3 | PROG= domainname 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/bin/ed/test/v.r: -------------------------------------------------------------------------------- 1 | line5 2 | order 3 | hello world 4 | line 1 5 | order 6 | line 2 7 | order 8 | line 3 9 | order 10 | line 4 11 | order 12 | -------------------------------------------------------------------------------- /src/usr.bin/basename/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.5 2001/07/05 22:06:33 pjanzen Exp $ 2 | 3 | PROG= basename 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/calendar/calendars/calendar.history: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/calendar/calendars/calendar.history -------------------------------------------------------------------------------- /src/usr.bin/fsplit/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.2 1996/06/26 05:33:28 deraadt Exp $ 2 | 3 | PROG= fsplit 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/printenv/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.2 1996/06/26 05:37:56 deraadt Exp $ 2 | 3 | PROG= printenv 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/readlink/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.2 1997/08/18 20:30:59 kstailey Exp $ 2 | 3 | PROG= readlink 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/bin/cp/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:34:47 deraadt Exp $ 2 | 3 | PROG= cp 4 | SRCS= cp.c utils.c 5 | 6 | .include 7 | -------------------------------------------------------------------------------- /src/bin/expr/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:35:07 deraadt Exp $ 2 | 3 | PROG= expr 4 | SRCS= expr.c 5 | 6 | .include 7 | -------------------------------------------------------------------------------- /src/bin/ln/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:35:15 deraadt Exp $ 2 | 3 | PROG= ln 4 | MAN= ln.1 symlink.7 5 | 6 | .include 7 | -------------------------------------------------------------------------------- /src/bin/rmail/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:35:43 deraadt Exp $ 2 | 3 | PROG= rmail 4 | MAN= rmail.8 5 | 6 | .include 7 | -------------------------------------------------------------------------------- /src/bin/sync/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:35:53 deraadt Exp $ 2 | 3 | PROG= sync 4 | MAN= sync.8 5 | 6 | .include 7 | -------------------------------------------------------------------------------- /src/usr.bin/bdes/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.4 1997/09/21 11:48:26 deraadt Exp $ 2 | 3 | MAN= bdes.1 4 | PROG= bdes 5 | 6 | .include 7 | -------------------------------------------------------------------------------- /src/usr.bin/fmt/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.4 1998/04/25 23:08:26 millert Exp $ 2 | 3 | PROG= fmt 4 | SRCS= fmt.c 5 | 6 | .include 7 | -------------------------------------------------------------------------------- /src/usr.bin/id/whoami.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh - 2 | # $OpenBSD: whoami.sh,v 1.4 1999/09/25 17:21:38 pjanzen Exp $ 3 | # Public domain 4 | 5 | exec /usr/bin/id -un 6 | -------------------------------------------------------------------------------- /src/usr.bin/join/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 2003/12/12 10:38:44 otto Exp $ 2 | 3 | PROG= join 4 | CFLAGS+= -Wall 5 | 6 | .include 7 | -------------------------------------------------------------------------------- /src/usr.bin/jot/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.4 2003/12/29 08:51:19 otto Exp $ 2 | 3 | PROG= jot 4 | CFLAGS+= -Wall 5 | 6 | .include 7 | -------------------------------------------------------------------------------- /src/usr.bin/less/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.1 2011/09/16 18:12:09 shadchin Exp $ 2 | 3 | SUBDIR= less lesskey 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/vi/build/port.h: -------------------------------------------------------------------------------- 1 | /* $OpenBSD: port.h,v 1.4 1999/11/26 22:49:08 millert Exp $ */ 2 | 3 | /* 4 | * Nothing needed here for OpenBSD. 5 | */ 6 | -------------------------------------------------------------------------------- /src/bin/ed/test/c.t: -------------------------------------------------------------------------------- 1 | 1c 2 | at the top 3 | . 4 | 4c 5 | in the middle 6 | . 7 | $c 8 | at the bottom 9 | . 10 | 2,3c 11 | between top/middle 12 | . 13 | -------------------------------------------------------------------------------- /src/usr.bin/id/groups.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh - 2 | # $OpenBSD: groups.sh,v 1.4 2001/06/20 20:50:27 pjanzen Exp $ 3 | # Public domain. 4 | 5 | exec /usr/bin/id -Gn $* 6 | -------------------------------------------------------------------------------- /src/usr.bin/locate/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.5 1997/09/21 11:49:33 deraadt Exp $ 2 | 3 | SUBDIR= bigram code locate 4 | 5 | .include 6 | -------------------------------------------------------------------------------- /src/usr.bin/pr/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.2 1996/06/26 05:37:51 deraadt Exp $ 2 | 3 | PROG= pr 4 | SRCS= pr.c egetopt.c 5 | 6 | .include 7 | -------------------------------------------------------------------------------- /src/usr.bin/tr/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:51:22 deraadt Exp $ 2 | 3 | PROG= tr 4 | SRCS= str.c tr.c 5 | 6 | .include 7 | -------------------------------------------------------------------------------- /src/usr.bin/unifdef/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.6 2003/11/20 23:23:09 avsm Exp $ 2 | 3 | PROG= unifdef 4 | COPTS+= -Wall 5 | 6 | .include 7 | -------------------------------------------------------------------------------- /src/usr.bin/whois/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.6 2005/06/25 14:28:29 henning Exp $ 2 | 3 | PROG= whois 4 | CFLAGS+= -Wall 5 | 6 | .include 7 | -------------------------------------------------------------------------------- /src/usr.bin/calendar/calendars/ru_RU.KOI8-R/calendar.all: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/calendar/calendars/ru_RU.KOI8-R/calendar.all -------------------------------------------------------------------------------- /src/usr.bin/calendar/calendars/ru_RU.KOI8-R/calendar.msk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/calendar/calendars/ru_RU.KOI8-R/calendar.msk -------------------------------------------------------------------------------- /src/usr.bin/file2c/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.2 1997/09/21 11:49:01 deraadt Exp $ 2 | 3 | PROG= file2c 4 | MAN1= file2c.1 5 | 6 | .include 7 | -------------------------------------------------------------------------------- /src/usr.bin/gencat/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.5 1997/09/21 11:49:10 deraadt Exp $ 2 | 3 | PROG= gencat 4 | MAN= gencat.1 5 | 6 | .include 7 | -------------------------------------------------------------------------------- /src/usr.bin/radioctl/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.4 2003/11/20 23:23:09 avsm Exp $ 2 | 3 | PROG= radioctl 4 | CFLAGS+=-Wall 5 | 6 | .include 7 | -------------------------------------------------------------------------------- /src/usr.bin/renice/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.2 1996/06/26 05:38:26 deraadt Exp $ 2 | 3 | PROG= renice 4 | MAN= renice.8 5 | 6 | .include 7 | -------------------------------------------------------------------------------- /src/usr.bin/rpcinfo/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.2 1996/06/26 05:38:43 deraadt Exp $ 2 | 3 | PROG= rpcinfo 4 | MAN= rpcinfo.8 5 | 6 | .include 7 | -------------------------------------------------------------------------------- /src/usr.bin/unexpand/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:51:30 deraadt Exp $ 2 | 3 | PROG= unexpand 4 | NOMAN= noman 5 | 6 | .include 7 | -------------------------------------------------------------------------------- /src/usr.bin/uniq/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.4 2006/04/07 05:10:02 ray Exp $ 2 | 3 | PROG= uniq 4 | 5 | COPTS+= -Wall -W 6 | 7 | .include 8 | -------------------------------------------------------------------------------- /src/usr.bin/vacation/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:51:42 deraadt Exp $ 2 | 3 | PROG= vacation 4 | LDADD= -ldb 5 | 6 | .include 7 | -------------------------------------------------------------------------------- /src/usr.bin/vis/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:51:50 deraadt Exp $ 2 | 3 | PROG= vis 4 | SRCS= vis.c foldit.c 5 | 6 | .include 7 | -------------------------------------------------------------------------------- /src/usr.bin/calendar/calendars/ru_RU.KOI8-R/calendar.pagan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/calendar/calendars/ru_RU.KOI8-R/calendar.pagan -------------------------------------------------------------------------------- /src/usr.bin/modstat/pathnames.h: -------------------------------------------------------------------------------- 1 | /* $OpenBSD: pathnames.h,v 1.2 1996/06/26 05:37:16 deraadt Exp $ */ 2 | 3 | #include 4 | 5 | #define _PATH_LKM "/dev/lkm" 6 | -------------------------------------------------------------------------------- /src/usr.bin/showmount/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:50:46 deraadt Exp $ 2 | 3 | PROG= showmount 4 | MAN= showmount.8 5 | 6 | .include 7 | -------------------------------------------------------------------------------- /src/usr.bin/su/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.8 2001/05/29 21:40:35 millert Exp $ 2 | 3 | PROG= su 4 | BINOWN= root 5 | BINMODE=4555 6 | 7 | .include 8 | -------------------------------------------------------------------------------- /src/usr.bin/calendar/calendars/fr_FR.ISO8859-1/calendar.all: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/calendar/calendars/fr_FR.ISO8859-1/calendar.all -------------------------------------------------------------------------------- /src/usr.bin/calendar/calendars/fr_FR.ISO8859-1/calendar.fetes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/calendar/calendars/fr_FR.ISO8859-1/calendar.fetes -------------------------------------------------------------------------------- /src/usr.bin/calendar/calendars/ru_RU.KOI8-R/calendar.common: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/calendar/calendars/ru_RU.KOI8-R/calendar.common -------------------------------------------------------------------------------- /src/usr.bin/calendar/calendars/ru_RU.KOI8-R/calendar.history: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/calendar/calendars/ru_RU.KOI8-R/calendar.history -------------------------------------------------------------------------------- /src/usr.bin/calendar/calendars/ru_RU.KOI8-R/calendar.orthodox: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/calendar/calendars/ru_RU.KOI8-R/calendar.orthodox -------------------------------------------------------------------------------- /src/usr.bin/calendar/calendars/ru_RU.KOI8-R/calendar.primety: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/calendar/calendars/ru_RU.KOI8-R/calendar.primety -------------------------------------------------------------------------------- /src/usr.bin/du/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.4 2004/06/14 18:21:31 otto Exp $ 2 | 3 | PROG= du 4 | DPADD= ${LIBUTIL} 5 | LDADD= -lutil 6 | 7 | .include 8 | -------------------------------------------------------------------------------- /src/usr.bin/expand/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:48:59 deraadt Exp $ 2 | 3 | PROG= expand 4 | MLINKS= expand.1 unexpand.1 5 | 6 | .include 7 | -------------------------------------------------------------------------------- /src/usr.bin/nc/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.6 2001/09/02 18:45:41 jakob Exp $ 2 | 3 | PROG= nc 4 | SRCS= netcat.c atomicio.c socks.c 5 | 6 | .include 7 | -------------------------------------------------------------------------------- /src/usr.bin/wc/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 2005/10/19 21:49:02 espie Exp $ 2 | 3 | PROG= wc 4 | DPADD= ${LIBUTIL} 5 | LDADD= -lutil 6 | 7 | .include 8 | -------------------------------------------------------------------------------- /src/usr.bin/write/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.2 1996/06/26 05:43:59 deraadt Exp $ 2 | 3 | PROG= write 4 | BINMODE=2555 5 | BINGRP= tty 6 | 7 | .include 8 | -------------------------------------------------------------------------------- /src/usr.bin/xargs/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.4 2003/06/12 01:09:22 millert Exp $ 2 | 3 | PROG= xargs 4 | SRCS= xargs.c strnsubst.c 5 | 6 | .include 7 | -------------------------------------------------------------------------------- /src/bin/mv/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:35:25 deraadt Exp $ 2 | 3 | PROG= mv 4 | 5 | DPADD+= ${LIBUTIL} 6 | LDADD+= -lutil 7 | 8 | .include 9 | -------------------------------------------------------------------------------- /src/bin/rcp/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.13 2010/11/11 17:40:55 miod Exp $ 2 | 3 | PROG= rcp 4 | SRCS= rcp.c util.c 5 | #INSTALLFLAGS=-fschg 6 | 7 | .include 8 | -------------------------------------------------------------------------------- /src/usr.bin/calendar/calendars/de_DE.ISO_8859-1/calendar.musik: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/calendar/calendars/de_DE.ISO_8859-1/calendar.musik -------------------------------------------------------------------------------- /src/usr.bin/calendar/calendars/fr_FR.ISO8859-1/calendar.jferies: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/calendar/calendars/fr_FR.ISO8859-1/calendar.jferies -------------------------------------------------------------------------------- /src/usr.bin/cap_mkdb/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.4 1999/03/05 04:47:45 tholo Exp $ 2 | 3 | PROG= cap_mkdb 4 | SRCS= cap_mkdb.c getinfo.c 5 | 6 | .include 7 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/fortran: -------------------------------------------------------------------------------- 1 | # $OpenBSD: fortran,v 1.2 2009/04/26 14:17:45 chl Exp $ 2 | 3 | # FORTRAN source 4 | 0 string/c c\ FORTRAN program 5 | !:mime text/x-fortran 6 | -------------------------------------------------------------------------------- /src/usr.bin/gprof/hppa.c: -------------------------------------------------------------------------------- 1 | #include "gprof.h" 2 | 3 | void 4 | findcall(nltype *parentp, unsigned long p_lowpc, unsigned long p_highpc) 5 | { 6 | /* not supported. */ 7 | } 8 | -------------------------------------------------------------------------------- /src/usr.bin/ipcs/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.4 2001/09/28 01:44:37 millert Exp $ 2 | 3 | PROG= ipcs 4 | DPADD+= ${LIBKVM} 5 | LDADD+= -lkvm 6 | 7 | .include 8 | -------------------------------------------------------------------------------- /src/usr.bin/lastcomm/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.5 2002/05/11 00:20:18 espie Exp $ 2 | 3 | PROG= lastcomm 4 | DPADD= ${LIBM} 5 | LDADD= -lm 6 | 7 | .include 8 | -------------------------------------------------------------------------------- /src/usr.bin/pagesize/pagesize.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh - 2 | # $OpenBSD: pagesize.sh,v 1.3 2001/08/06 23:35:21 millert Exp $ 3 | # Public domain. 4 | 5 | exec /sbin/sysctl -n hw.pagesize 6 | -------------------------------------------------------------------------------- /src/usr.bin/ul/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.4 1998/07/24 00:11:08 millert Exp $ 2 | 3 | PROG= ul 4 | DPADD= ${LIBCURSES} 5 | LDADD= -lcurses 6 | 7 | .include 8 | -------------------------------------------------------------------------------- /src/usr.bin/calendar/calendars/de_DE.ISO_8859-1/calendar.feiertag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/calendar/calendars/de_DE.ISO_8859-1/calendar.feiertag -------------------------------------------------------------------------------- /src/usr.bin/calendar/calendars/de_DE.ISO_8859-1/calendar.literatur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/calendar/calendars/de_DE.ISO_8859-1/calendar.literatur -------------------------------------------------------------------------------- /src/usr.bin/calendar/calendars/fr_FR.ISO8859-1/calendar.proverbes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/calendar/calendars/fr_FR.ISO8859-1/calendar.proverbes -------------------------------------------------------------------------------- /src/usr.bin/calendar/calendars/hr_HR.ISO_8859-2/calendar.praznici: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/calendar/calendars/hr_HR.ISO_8859-2/calendar.praznici -------------------------------------------------------------------------------- /src/usr.bin/deroff/Makefile: -------------------------------------------------------------------------------- 1 | # @(#)Makefile 8.1 (Berkeley) 6/6/93 2 | # $OpenBSD: Makefile,v 1.1 2002/02/28 06:58:21 millert Exp $ 3 | 4 | PROG= deroff 5 | 6 | .include 7 | -------------------------------------------------------------------------------- /src/usr.bin/gprof/alpha.c: -------------------------------------------------------------------------------- 1 | #include "gprof.h" 2 | 3 | void 4 | findcall(nltype *parentp, unsigned long p_lowpc, unsigned long p_highpc) 5 | { 6 | /* not supported. */ 7 | } 8 | -------------------------------------------------------------------------------- /src/usr.bin/gprof/amd64.c: -------------------------------------------------------------------------------- 1 | #include "gprof.h" 2 | 3 | void 4 | findcall(nltype *parentp, unsigned long p_lowpc, unsigned long p_highpc) 5 | { 6 | /* not supported. */ 7 | } 8 | -------------------------------------------------------------------------------- /src/usr.bin/gprof/hppa64.c: -------------------------------------------------------------------------------- 1 | #include "gprof.h" 2 | 3 | void 4 | findcall(nltype *parentp, unsigned long p_lowpc, unsigned long p_highpc) 5 | { 6 | /* not supported. */ 7 | } 8 | -------------------------------------------------------------------------------- /src/usr.bin/gprof/powerpc.c: -------------------------------------------------------------------------------- 1 | #include "gprof.h" 2 | 3 | void 4 | findcall(nltype *parentp, unsigned long p_lowpc, unsigned long p_highpc) 5 | { 6 | /* not supported. */ 7 | } 8 | -------------------------------------------------------------------------------- /src/usr.bin/gprof/sparc64.c: -------------------------------------------------------------------------------- 1 | #include "gprof.h" 2 | 3 | void 4 | findcall(nltype *parentp, unsigned long p_lowpc, unsigned long p_highpc) 5 | { 6 | /* not supported. */ 7 | } 8 | -------------------------------------------------------------------------------- /src/usr.bin/less/Makefile.inc: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile.inc,v 1.1 2011/09/16 18:20:14 shadchin Exp $ 2 | 3 | BINDIR= /usr/bin 4 | CPPFLAGS+= -I${.CURDIR}/.. 5 | 6 | .PATH: ${.CURDIR}/.. 7 | -------------------------------------------------------------------------------- /src/usr.bin/nfsstat/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.6 2004/12/14 23:07:12 pedro Exp $ 2 | 3 | PROG= nfsstat 4 | DPADD= ${LIBKVM} 5 | LDADD= -lkvm 6 | 7 | .include 8 | -------------------------------------------------------------------------------- /src/usr.bin/script/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:50:42 deraadt Exp $ 2 | 3 | PROG= script 4 | LDADD= -lutil 5 | DPADD= ${LIBUTIL} 6 | 7 | .include 8 | -------------------------------------------------------------------------------- /src/usr.bin/sed/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.4 2010/01/04 17:50:39 deraadt Exp $ 2 | 3 | PROG= sed 4 | SRCS= compile.c main.c misc.c process.c 5 | 6 | .include 7 | -------------------------------------------------------------------------------- /src/bin/dd/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.5 1998/05/29 04:34:20 rahnds Exp $ 2 | 3 | PROG= dd 4 | SRCS= args.c conv.c conv_tab.c dd.c misc.c position.c 5 | 6 | .include 7 | -------------------------------------------------------------------------------- /src/bin/stty/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:35:50 deraadt Exp $ 2 | 3 | PROG= stty 4 | SRCS= cchar.c gfmt.c key.c modes.c print.c stty.c 5 | 6 | .include 7 | -------------------------------------------------------------------------------- /src/usr.bin/calendar/calendars/de_DE.ISO_8859-1/calendar.geschichte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/calendar/calendars/de_DE.ISO_8859-1/calendar.geschichte -------------------------------------------------------------------------------- /src/usr.bin/cmp/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:48:41 deraadt Exp $ 2 | 3 | PROG= cmp 4 | SRCS= cmp.c misc.c regular.c special.c 5 | 6 | .include 7 | -------------------------------------------------------------------------------- /src/usr.bin/quota/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 2002/05/17 21:23:53 millert Exp $ 2 | 3 | PROG= quota 4 | 5 | DPADD= ${LIBRPCSVC} 6 | LDADD= -lrpcsvc 7 | 8 | .include 9 | -------------------------------------------------------------------------------- /src/usr.bin/rsh/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.8 2004/01/17 20:57:15 millert Exp $ 2 | 3 | PROG= rsh 4 | SRCS= rsh.c 5 | BINOWN= root 6 | BINMODE=4555 7 | 8 | .include 9 | -------------------------------------------------------------------------------- /src/usr.bin/rup/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.2 1996/06/26 05:38:50 deraadt Exp $ 2 | 3 | PROG= rup 4 | 5 | DPADD= ${LIBRPCSVC} 6 | LDADD= -lrpcsvc 7 | 8 | .include 9 | -------------------------------------------------------------------------------- /src/usr.bin/tail/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.5 1999/02/03 02:09:30 millert Exp $ 2 | 3 | PROG= tail 4 | SRCS= forward.c misc.c read.c reverse.c tail.c 5 | 6 | .include 7 | -------------------------------------------------------------------------------- /src/usr.bin/x99token/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.4 2010/10/15 10:18:42 jsg Exp $ 2 | 3 | PROG= x99token 4 | LDADD+= -lcrypto 5 | DPADD+= ${LIBCRYPTO} 6 | 7 | .include 8 | -------------------------------------------------------------------------------- /src/bin/date/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.4 2011/07/07 21:00:59 deraadt Exp $ 2 | 3 | PROG= date 4 | SRCS= date.c 5 | DPADD+= ${LIBUTIL} 6 | LDADD+= -lutil 7 | 8 | .include 9 | -------------------------------------------------------------------------------- /src/usr.bin/calendar/calendars/de_DE.ISO_8859-1/calendar.wissenschaft: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leahneukirchen/obase/HEAD/src/usr.bin/calendar/calendars/de_DE.ISO_8859-1/calendar.wissenschaft -------------------------------------------------------------------------------- /src/usr.bin/finger/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.2 1996/06/26 05:33:14 deraadt Exp $ 2 | 3 | PROG= finger 4 | SRCS= finger.c lprint.c net.c sprint.c util.c 5 | 6 | .include 7 | -------------------------------------------------------------------------------- /src/usr.bin/ktrace/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1996/09/16 10:16:55 downsj Exp $ 2 | 3 | LDSTATIC=${STATIC} 4 | PROG= ktrace 5 | SRCS= ktrace.c subr.c 6 | 7 | .include 8 | -------------------------------------------------------------------------------- /src/usr.bin/lock/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.10 2001/05/29 21:38:14 millert Exp $ 2 | 3 | PROG= lock 4 | BINOWN= root 5 | BINGRP= auth 6 | BINMODE=2555 7 | 8 | .include 9 | -------------------------------------------------------------------------------- /src/usr.bin/rusers/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.2 1996/06/26 05:38:55 deraadt Exp $ 2 | 3 | PROG = rusers 4 | 5 | DPADD= ${LIBRPCSVC} 6 | LDADD= -lrpcsvc 7 | 8 | .include 9 | -------------------------------------------------------------------------------- /src/usr.bin/rwall/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.2 1996/06/26 05:38:57 deraadt Exp $ 2 | 3 | PROG = rwall 4 | 5 | DPADD= ${LIBRPCSVC} 6 | LDADD= -lrpcsvc 7 | 8 | .include 9 | -------------------------------------------------------------------------------- /src/usr.bin/tftp/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.4 2003/04/17 17:17:27 henning Exp $ 2 | 3 | PROG= tftp 4 | CFLAGS+=-Wall 5 | SRCS= main.c tftp.c tftpsubs.c 6 | 7 | .include 8 | -------------------------------------------------------------------------------- /libobase/include/sys/sem.h: -------------------------------------------------------------------------------- 1 | #include_next 2 | 3 | union semun 4 | { 5 | int val; 6 | struct semid_ds *buf; 7 | unsigned short int *array; 8 | struct seminfo *__buf; 9 | }; 10 | -------------------------------------------------------------------------------- /src/usr.bin/diff/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 2007/05/29 18:24:56 ray Exp $ 2 | 3 | PROG= diff 4 | SRCS= diff.c diffdir.c diffreg.c xmalloc.c 5 | COPTS+= -Wall 6 | 7 | .include 8 | -------------------------------------------------------------------------------- /src/usr.bin/patch/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.4 2005/05/16 15:22:46 espie Exp $ 2 | 3 | PROG= patch 4 | SRCS= patch.c pch.c inp.c util.c backupfile.c mkpath.c 5 | 6 | .include 7 | -------------------------------------------------------------------------------- /src/usr.bin/sendbug/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.2 2007/04/06 20:29:18 ray Exp $ 2 | 3 | PROG=sendbug 4 | SRCS=atomicio.c sendbug.c 5 | COPTS+=-Wall -W -Wshadow 6 | 7 | .include 8 | -------------------------------------------------------------------------------- /src/usr.bin/vi/ex/version.h: -------------------------------------------------------------------------------- 1 | /* $OpenBSD: version.h,v 1.9 2001/01/29 01:58:46 niklas Exp $ */ 2 | 3 | #define VI_VERSION \ 4 | "Version 1.79 (10/23/96) The CSRG, University of California, Berkeley." 5 | -------------------------------------------------------------------------------- /src/usr.bin/wall/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:51:56 deraadt Exp $ 2 | 3 | PROG= wall 4 | SRCS= ttymsg.c wall.c 5 | BINGRP= tty 6 | BINMODE=2555 7 | 8 | .include 9 | -------------------------------------------------------------------------------- /src/usr.bin/whatis/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:51:59 deraadt Exp $ 2 | 3 | PROG= whatis 4 | SRCS= whatis.c config.c 5 | .PATH: ${.CURDIR}/../man 6 | 7 | .include 8 | -------------------------------------------------------------------------------- /src/bin/df/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.8 2003/05/26 18:02:32 ian Exp $ 2 | 3 | PROG= df 4 | SRCS= df.c ffs_df.c ext2fs_df.c 5 | LDADD= -lutil 6 | DPADD= ${LIBUTIL} 7 | 8 | .include 9 | -------------------------------------------------------------------------------- /src/usr.bin/find/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.4 2000/07/19 19:30:10 mickey Exp $ 2 | 3 | PROG= find 4 | SRCS= find.c function.c ls.c main.c misc.c operator.c option.c 5 | 6 | .include 7 | -------------------------------------------------------------------------------- /src/usr.bin/getent/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.1 2005/11/10 19:24:36 otto Exp $ 2 | # $NetBSD: Makefile,v 1.2 2004/11/29 05:02:52 lukem Exp $ 3 | 4 | PROG= getent 5 | 6 | .include 7 | -------------------------------------------------------------------------------- /src/usr.bin/indent/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.2 1996/06/26 05:34:27 deraadt Exp $ 2 | 3 | PROG= indent 4 | SRCS= indent.c io.c lexi.c parse.c pr_comment.c args.c 5 | 6 | .include 7 | -------------------------------------------------------------------------------- /src/usr.bin/stat/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.2 2005/04/03 18:30:55 deraadt Exp $ 2 | # $NetBSD: Makefile,v 1.7 2003/07/25 03:21:17 atatat Exp $ 3 | 4 | PROG= stat 5 | 6 | .include 7 | -------------------------------------------------------------------------------- /src/bin/ed/test/t.r: -------------------------------------------------------------------------------- 1 | line 1 2 | line 1 3 | line 1 4 | line 2 5 | line 2 6 | line 3 7 | line 4 8 | line5 9 | line 1 10 | line 1 11 | line 1 12 | line 2 13 | line 2 14 | line 3 15 | line 4 16 | line5 17 | -------------------------------------------------------------------------------- /src/bin/ed/test/t1.r: -------------------------------------------------------------------------------- 1 | line 1 2 | line 1 3 | line 1 4 | line 2 5 | line 2 6 | line 3 7 | line 4 8 | line5 9 | line 1 10 | line 1 11 | line 1 12 | line 2 13 | line 2 14 | line 3 15 | line 4 16 | line5 17 | -------------------------------------------------------------------------------- /src/usr.bin/apropos/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:48:17 deraadt Exp $ 2 | 3 | PROG= apropos 4 | SRCS= apropos.c config.c 5 | .PATH: ${.CURDIR}/../man 6 | 7 | .include 8 | -------------------------------------------------------------------------------- /src/usr.bin/asa/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.4 1997/09/21 11:48:21 deraadt Exp $ 2 | 3 | PROG= asa 4 | 5 | LINKS= ${BINDIR}/asa ${BINDIR}/fpr 6 | MLINKS= asa.1 fpr.1 7 | 8 | .include 9 | -------------------------------------------------------------------------------- /libobase/include/stdio.h: -------------------------------------------------------------------------------- 1 | #include_next 2 | #include_next 3 | #include_next 4 | #include_next 5 | 6 | #define __va_list va_list 7 | char *fgetln(FILE *stream, size_t *len); 8 | -------------------------------------------------------------------------------- /src/bin/ls/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.7 2003/08/06 19:09:09 tedu Exp $ 2 | 3 | PROG= ls 4 | SRCS= cmp.c ls.c main.c print.c util.c 5 | DPADD= ${LIBUTIL} 6 | LDADD= -lutil 7 | 8 | .include 9 | -------------------------------------------------------------------------------- /src/usr.bin/arch/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.2 1999/08/19 22:17:38 niklas Exp $ 2 | 3 | PROG= arch 4 | LINKS= ${BINDIR}/arch ${BINDIR}/machine 5 | MLINKS= arch.1 machine.1 6 | 7 | .include 8 | -------------------------------------------------------------------------------- /src/usr.bin/login/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.21 2002/10/16 01:08:56 millert Exp $ 2 | 3 | PROG= login 4 | SRCS= login.c failedlogin.c 5 | DPADD= ${LIBUTIL} 6 | LDADD= -lutil 7 | 8 | .include 9 | -------------------------------------------------------------------------------- /src/usr.bin/uudecode/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.4 2004/04/09 22:54:02 millert Exp $ 2 | 3 | PROG= uudecode 4 | LINKS= ${BINDIR}/uudecode ${BINDIR}/b64decode 5 | NOMAN= noman 6 | 7 | .include 8 | -------------------------------------------------------------------------------- /src/usr.bin/which/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.5 1997/04/08 02:44:05 millert Exp $ 2 | 3 | PROG= which 4 | MAN= which.1 whereis.1 5 | LINKS= ${BINDIR}/which ${BINDIR}/whereis 6 | 7 | .include 8 | -------------------------------------------------------------------------------- /src/bin/ed/test/g1.r: -------------------------------------------------------------------------------- 1 | line5 2 | help! world 3 | order 4 | line 4 5 | help! world 6 | order 7 | line 3 8 | help! world 9 | order 10 | line 2 11 | help! world 12 | order 13 | line 1 14 | help! world 15 | order 16 | -------------------------------------------------------------------------------- /src/bin/ksh/tests/version.t: -------------------------------------------------------------------------------- 1 | name: version-1 2 | description: 3 | Check version of shell. 4 | category: pdksh 5 | stdin: 6 | echo $KSH_VERSION 7 | expected-stdout: 8 | @(#)PD KSH v5.2.14 99/07/13.2 9 | --- 10 | -------------------------------------------------------------------------------- /src/bin/test/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.4 2011/06/23 22:46:12 schwarze Exp $ 2 | 3 | PROG= test 4 | SRCS= test.c 5 | LINKS= ${BINDIR}/test ${BINDIR}/[ 6 | MLINKS= test.1 [.1 7 | 8 | .include 9 | -------------------------------------------------------------------------------- /src/usr.bin/tsort/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.5 2001/07/19 10:20:01 espie Exp $ 2 | 3 | PROG= tsort 4 | 5 | CDIAGFLAGS=-Wall -Wno-char-subscripts -Wstrict-prototypes -pedantic -W 6 | 7 | .include 8 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | src/ is straight from OpenBSD CVS with tiny modifications. 2 | libobase/ is from OpenBSD CVS, FreeBSD CVS and libbsd. 3 | 4 | The /Makefile and unmarked headers in libobase/include/ 5 | are in the public domain. 6 | -------------------------------------------------------------------------------- /src/bin/ksh/tests/syntax.t: -------------------------------------------------------------------------------- 1 | name: syntax-1 2 | description: 3 | Check that lone ampersand is a syntax error 4 | stdin: 5 | & 6 | expected-exit: e != 0 7 | expected-stderr-pattern: 8 | /syntax error/ 9 | --- 10 | 11 | -------------------------------------------------------------------------------- /src/usr.bin/ctags/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:48:50 deraadt Exp $ 2 | 3 | PROG= ctags 4 | CFLAGS+=-I${.CURDIR} 5 | SRCS= C.c ctags.c fortran.c lisp.c print.c tree.c yacc.c 6 | 7 | .include 8 | -------------------------------------------------------------------------------- /src/usr.bin/less/mkfuncs.awk: -------------------------------------------------------------------------------- 1 | BEGIN { FS="("; state = 0 } 2 | 3 | /^ public/ { ftype = $0; state = 1 } 4 | 5 | { if (state == 1) 6 | state = 2 7 | else if (state == 2) 8 | { print ftype,$1,"();"; state = 0 } 9 | } 10 | -------------------------------------------------------------------------------- /src/usr.bin/skeyinit/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.7 2002/05/16 03:50:42 millert Exp $ 2 | 3 | PROG= skeyinit 4 | BINGRP=auth 5 | BINMODE=2555 6 | DPADD= ${LIBSKEY} 7 | LDADD= -lskey 8 | 9 | .include 10 | -------------------------------------------------------------------------------- /src/usr.bin/vi/ex/ex.awk: -------------------------------------------------------------------------------- 1 | # $OpenBSD: ex.awk,v 1.2 2001/01/29 01:58:40 niklas Exp $ 2 | 3 | # @(#)ex.awk 10.1 (Berkeley) 6/8/95 4 | 5 | /^\/\* C_[0-9A-Z_]* \*\/$/ { 6 | printf("#define %s %d\n", $2, cnt++); 7 | next; 8 | } 9 | -------------------------------------------------------------------------------- /libobase/include/glob.h: -------------------------------------------------------------------------------- 1 | /* GLOB_QUOTE - This option has no effect and is included for 2 | backwards compatibility with older sources. */ 3 | #define GLOB_QUOTE 0 4 | 5 | #define gl_matchc gl_pathc 6 | 7 | #include_next 8 | -------------------------------------------------------------------------------- /src/bin/chio/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.12 2007/11/02 15:26:07 jmc Exp $ 2 | 3 | PROG= chio 4 | SRCS= chio.c parse.y 5 | DPADD= ${LIBUTIL} 6 | LDADD= -lutil 7 | MAN= chio.1 chio.conf.5 8 | 9 | .include 10 | -------------------------------------------------------------------------------- /src/usr.bin/skeyaudit/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 2002/05/16 03:50:42 millert Exp $ 2 | 3 | PROG= skeyaudit 4 | BINGRP= auth 5 | BINMODE=2555 6 | DPADD= ${LIBSKEY} 7 | LDADD= -lskey 8 | 9 | .include 10 | -------------------------------------------------------------------------------- /src/bin/ps/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.8 2002/06/08 22:41:46 art Exp $ 2 | 3 | PROG= ps 4 | SRCS= fmt.c keyword.c nlist.c print.c ps.c 5 | DPADD= ${LIBM} ${LIBKVM} 6 | LDADD= -lm -lkvm 7 | 8 | .include 9 | 10 | -------------------------------------------------------------------------------- /src/usr.bin/sdiff/common.h: -------------------------------------------------------------------------------- 1 | /* $OpenBSD: common.h,v 1.2 2006/05/25 03:20:32 ray Exp $ */ 2 | 3 | /* 4 | * Written by Raymond Lai . 5 | * Public domain. 6 | */ 7 | #include 8 | __dead void cleanup(const char *); 9 | -------------------------------------------------------------------------------- /libobase/include/limits.h: -------------------------------------------------------------------------------- 1 | #include_next 2 | #define QUAD_MIN INT64_MIN 3 | #define QUAD_MAX INT64_MAX 4 | #define UQUAD_MAX UINT64_MAX 5 | #define SIZE_T_MAX ((size_t)-1) 6 | 7 | #include 8 | #include_next 9 | -------------------------------------------------------------------------------- /src/usr.bin/bgplg/bgplg.head: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | OpenBGPD 6 | 7 | -------------------------------------------------------------------------------- /src/usr.bin/vi/catalog/spell.ok: -------------------------------------------------------------------------------- 1 | ARGMAX 2 | LC 3 | NL 4 | XXXX 5 | arg1 6 | arg2 7 | chys 8 | english 9 | english.base 10 | german.base 11 | langauge 12 | msg 13 | msg.c 14 | msgcat 15 | msgq 16 | nvi 17 | nvi's 18 | pathname 19 | sp 20 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/osf1: -------------------------------------------------------------------------------- 1 | # $OpenBSD: osf1,v 1.2 2001/01/29 01:57:57 niklas Exp $ 2 | 3 | # 4 | # Mach magic number info 5 | # 6 | 0 long 0xefbe OSF/Rose object 7 | # I386 magic number info 8 | # 9 | 0 short 0565 i386 COFF object 10 | -------------------------------------------------------------------------------- /src/usr.bin/less/lesskey/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.1 2011/09/16 18:12:09 shadchin Exp $ 2 | 3 | PROG= lesskey 4 | SRCS= lesskey.c version.c 5 | 6 | CDIAGFLAGS+=-Wall -W 7 | 8 | MAN= lesskey.1 9 | 10 | .include 11 | -------------------------------------------------------------------------------- /src/usr.bin/man/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.5 1999/10/18 01:46:36 aaron Exp $ 2 | 3 | PROG= man 4 | SRCS= config.c man.c 5 | MAN= man.1 man.conf.5 help.1 6 | 7 | LINKS= ${BINDIR}/man ${BINDIR}/help 8 | 9 | .include 10 | -------------------------------------------------------------------------------- /src/usr.bin/sdiff/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.4 2006/02/20 08:38:18 otto Exp $ 2 | 3 | PROG=sdiff 4 | SRCS=common.c edit.c sdiff.c 5 | COPTS+=-Wall -W 6 | 7 | LDADD+= -lutil 8 | DPADD+= ${LIBUTIL} 9 | 10 | .include 11 | -------------------------------------------------------------------------------- /src/usr.bin/tic/transform.h: -------------------------------------------------------------------------------- 1 | /* $OpenBSD: transform.h,v 1.2 2001/01/29 01:58:24 niklas Exp $ */ 2 | 3 | #define PROG_CAPTOINFO "captoinfo" 4 | #define PROG_INFOTOCAP "infotocap" 5 | #define PROG_RESET "reset" 6 | #define PROG_INIT "init" 7 | -------------------------------------------------------------------------------- /src/usr.bin/vmstat/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.8 2007/12/15 03:43:41 deraadt Exp $ 2 | 3 | PROG= vmstat 4 | 5 | SRCS= dkstats.c vmstat.c 6 | MAN= vmstat.8 7 | DPADD= ${LIBKVM} 8 | LDADD= -lkvm 9 | 10 | .include 11 | 12 | -------------------------------------------------------------------------------- /src/usr.bin/audioctl/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.2 1998/04/26 22:27:22 provos Exp $ 2 | # $NetBSD: Makefile,v 1.1 1997/05/13 17:35:52 augustss Exp $ 3 | # @(#)Makefile 8.1 (Berkeley) 6/6/93 4 | 5 | PROG= audioctl 6 | 7 | .include 8 | -------------------------------------------------------------------------------- /src/usr.bin/bc/USD.doc/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 2004/02/01 15:18:01 jmc Exp $ 2 | 3 | DIR= usd/06.bc 4 | SRCS= bc 5 | MACROS= -ms 6 | 7 | paper.txt: ${SRCS} 8 | ${ROFF} -Tascii ${SRCS} > ${.TARGET} 9 | 10 | .include 11 | -------------------------------------------------------------------------------- /src/usr.bin/dc/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.2 2006/11/26 11:31:09 deraadt Exp $ 2 | 3 | PROG= dc 4 | SRCS= dc.c bcode.c inout.c mem.c stack.c 5 | COPTS+= -Wall 6 | LDADD= -lcrypto 7 | DPADD= ${LIBCRYPTO} 8 | 9 | .include 10 | -------------------------------------------------------------------------------- /src/usr.bin/mixerctl/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.2 1998/04/26 22:27:27 provos Exp $ 2 | # $NetBSD: Makefile,v 1.1 1997/05/13 17:35:54 augustss Exp $ 3 | # @(#)Makefile 8.1 (Berkeley) 6/6/93 4 | 5 | PROG= mixerctl 6 | 7 | .include 8 | -------------------------------------------------------------------------------- /src/usr.bin/skeyinfo/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.4 2002/05/16 17:26:58 millert Exp $ 2 | 3 | PROG= skeyinfo 4 | DPADD= ${LIBSKEY} 5 | LDADD= -lskey 6 | 7 | BINOWN= root 8 | BINGRP= auth 9 | BINMODE=2555 10 | 11 | .include 12 | -------------------------------------------------------------------------------- /src/usr.bin/sudo/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.2 2004/09/28 15:10:50 millert Exp $ 2 | 3 | .include 4 | 5 | SUBDIR= lib sudo visudo 6 | .if !defined(NOPIC) 7 | SUBDIR+= noexec 8 | .endif 9 | 10 | .include 11 | -------------------------------------------------------------------------------- /src/usr.bin/sed/USD.doc/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.2 2004/02/01 15:24:03 jmc Exp $ 2 | 3 | DIR= usd/15.sed 4 | SRCS= sed 5 | MACROS= -ms 6 | 7 | paper.txt: ${SRCS} 8 | ${ROFF} -Tascii ${SRCS} > ${.TARGET} 9 | 10 | .include 11 | -------------------------------------------------------------------------------- /src/usr.bin/vi/perl_scripts/wc.pl: -------------------------------------------------------------------------------- 1 | sub wc { 2 | my $words; 3 | $i = $VI::StartLine; 4 | while ($i <= $VI::StopLine) { 5 | $_ = $curscr->GetLine($i++); 6 | $words+=split; 7 | } 8 | $curscr->Msg("$words words"); 9 | } 10 | 11 | 1; 12 | -------------------------------------------------------------------------------- /src/usr.bin/m4/PSD.doc/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.4 2004/02/01 14:43:10 jmc Exp $ 2 | 3 | 4 | DIR= psd/17.m4 5 | SRCS= m4.ms 6 | MACROS= -ms 7 | 8 | paper.txt: ${SRCS} 9 | ${ROFF} -Tascii ${SRCS} > ${.TARGET} 10 | 11 | .include 12 | -------------------------------------------------------------------------------- /src/usr.bin/tput/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.11 1999/06/29 19:39:39 millert Exp $ 2 | 3 | PROG= tput 4 | DPADD= ${LIBCURSES} 5 | LDADD= -lcurses 6 | MLINKS= tput.1 clear.1 7 | LINKS= ${BINDIR}/tput ${BINDIR}/clear 8 | 9 | .include 10 | -------------------------------------------------------------------------------- /src/bin/ksh/version.c: -------------------------------------------------------------------------------- 1 | /* $OpenBSD: version.c,v 1.12 1999/07/14 13:37:24 millert Exp $ */ 2 | 3 | /* 4 | * value of $KSH_VERSION (or $SH_VERSION) 5 | */ 6 | 7 | #include "sh.h" 8 | 9 | const char ksh_version [] = 10 | "@(#)PD KSH v5.2.14 99/07/13.2"; 11 | -------------------------------------------------------------------------------- /src/usr.bin/fgen/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.1 2001/08/17 21:31:02 jason Exp $ 2 | # $NetBSD: Makefile,v 1.4 2000/07/03 02:51:16 matt Exp $ 3 | 4 | CPPFLAGS+= -I${.CURDIR} 5 | PROG= fgen 6 | SRCS= fgen.l 7 | MAN= fgen.1 8 | 9 | .include 10 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/mmdf: -------------------------------------------------------------------------------- 1 | # $OpenBSD: mmdf,v 1.2 2004/06/03 03:14:20 tedu Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # mmdf: file(1) magic for MMDF mail files 5 | # 6 | 0 string \001\001\001\001 MMDF mailbox 7 | -------------------------------------------------------------------------------- /src/usr.bin/midiplay/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.2 2010/02/13 13:45:29 ratchov Exp $ 2 | # $NetBSD: Makefile,v 1.1 1998/08/12 21:39:11 augustss Exp $ 3 | # @(#)Makefile 8.1 (Berkeley) 6/6/93 4 | 5 | PROG= midiplay 6 | LDADD+= -lsndio 7 | 8 | .include 9 | -------------------------------------------------------------------------------- /src/usr.bin/hexdump/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.2 1996/06/26 05:34:16 deraadt Exp $ 2 | 3 | PROG= hexdump 4 | SRCS= conv.c display.c hexdump.c hexsyntax.c odsyntax.c parse.c 5 | MAN= hexdump.1 od.1 6 | LINKS= ${BINDIR}/hexdump ${BINDIR}/od 7 | 8 | .include 9 | -------------------------------------------------------------------------------- /src/usr.bin/rpcgen/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.4 1997/10/11 21:10:40 deraadt Exp $ 2 | 3 | PROG= rpcgen 4 | SRCS= rpc_clntout.c rpc_cout.c rpc_hout.c rpc_main.c rpc_parse.c rpc_scan.c \ 5 | rpc_svcout.c rpc_util.c rpc_sample.c rpc_tblout.c 6 | 7 | .include 8 | -------------------------------------------------------------------------------- /src/usr.bin/vi/perl_scripts/forall.pl: -------------------------------------------------------------------------------- 1 | sub forall { 2 | my ($code) = shift; 3 | my ($i) = $VI::StartLine-1; 4 | while (++$i <= $VI::StopLine) { 5 | $_ = $curscr->GetLine($i); 6 | VI::SetLine($VI::ScreenId, $i, $_) if(&$code); 7 | } 8 | } 9 | 10 | 1; 11 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/citrus: -------------------------------------------------------------------------------- 1 | # $OpenBSD: citrus,v 1.1 2004/06/03 03:14:19 tedu Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # citrus locale declaration 5 | # 6 | 7 | 0 string RuneCT Citrus locale declaration for LC_CTYPE 8 | 9 | -------------------------------------------------------------------------------- /src/bin/ed/USD.doc/09.edtut/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.2 2004/02/01 15:21:55 jmc Exp $ 2 | 3 | DIR= usd/09.edtut 4 | SRCS= e.mac e0 e1 e2 e3 e4 e5 e6 e7 5 | MACROS= -ms 6 | 7 | paper.txt: ${SRCS} 8 | ${ROFF} -Tascii ${SRCS} > ${.TARGET} 9 | 10 | .include 11 | -------------------------------------------------------------------------------- /src/usr.bin/ssh/scp/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.16 2003/01/12 16:59:14 markus Exp $ 2 | 3 | .PATH: ${.CURDIR}/.. 4 | 5 | PROG= scp 6 | BINOWN= root 7 | 8 | BINMODE?=555 9 | 10 | BINDIR= /usr/bin 11 | MAN= scp.1 12 | 13 | SRCS= scp.c 14 | 15 | .include 16 | -------------------------------------------------------------------------------- /src/bin/mt/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.8 2009/10/28 05:17:19 deraadt Exp $ 2 | 3 | COPTS+= -DRMT 4 | PROG= mt 5 | SRCS= mt.c mtrmt.c 6 | DPADD= ${LIBUTIL} 7 | LDADD= -lutil 8 | 9 | LINKS= ${BINDIR}/mt ${BINDIR}/eject 10 | MLINKS= mt.1 eject.1 11 | 12 | .include 13 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/lif: -------------------------------------------------------------------------------- 1 | # $OpenBSD: lif,v 1.3 2004/06/03 03:14:20 tedu Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # lif: file(1) magic for lif 5 | # 6 | # (Daniel Quinlan ) 7 | # 8 | 0 beshort 0x8000 lif file 9 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/sc: -------------------------------------------------------------------------------- 1 | # $OpenBSD: sc,v 1.3 2009/04/24 18:54:34 chl Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # sc: file(1) magic for "sc" spreadsheet 5 | # 6 | 38 string Spreadsheet sc spreadsheet file 7 | !:mime application/x-sc 8 | -------------------------------------------------------------------------------- /src/usr.bin/pctr/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.7 2007/10/17 02:30:23 deraadt Exp $ 2 | 3 | MAN=pctr.1 4 | 5 | CFLAGS+=-W -Wall -Werror 6 | 7 | .if ${MACHINE} == "amd64" || ${MACHINE} == "i386" 8 | PROG= pctr 9 | .else 10 | NOPROG= 11 | .endif 12 | 13 | .include 14 | -------------------------------------------------------------------------------- /src/usr.bin/usbhidctl/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.2 2001/12/30 07:10:42 pvalchev Exp $ 2 | # $NetBSD: Makefile,v 1.4 1999/05/11 21:02:25 augustss Exp $ 3 | 4 | PROG= usbhidctl 5 | SRCS= usbhid.c 6 | 7 | LDADD+= -lusbhid 8 | DPADD+= ${LIBUSB} 9 | 10 | .include 11 | -------------------------------------------------------------------------------- /src/usr.bin/shar/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.5 1997/09/21 11:50:44 deraadt Exp $ 2 | 3 | MAN= shar.1 4 | 5 | beforeinstall: 6 | ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ 7 | ${.CURDIR}/shar.sh ${DESTDIR}/usr/bin/shar 8 | 9 | .include 10 | -------------------------------------------------------------------------------- /src/usr.bin/true/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.4 1997/04/27 20:56:55 millert Exp $ 2 | 3 | MAN= true.1 4 | 5 | beforeinstall: 6 | ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ 7 | ${.CURDIR}/true.sh ${DESTDIR}${BINDIR}/true 8 | 9 | .include 10 | -------------------------------------------------------------------------------- /src/usr.bin/units/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.4 1997/04/27 20:56:56 millert Exp $ 2 | 3 | PROG= units 4 | 5 | beforeinstall: 6 | ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \ 7 | ${.CURDIR}/units.lib ${DESTDIR}/usr/share/misc 8 | 9 | .include 10 | -------------------------------------------------------------------------------- /src/bin/ed/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.9 2010/01/04 17:50:37 deraadt Exp $ 2 | 3 | PROG= ed 4 | CFLAGS+=-DBACKWARDS -UDES 5 | SRCS= buf.c cbc.c glbl.c io.c main.c re.c sub.c undo.c 6 | 7 | #LINKS= ${BINDIR}/ed ${BINDIR}/red 8 | #MLINKS= ed.1 red.1 9 | 10 | .include 11 | -------------------------------------------------------------------------------- /src/bin/ed/USD.doc/10.edadv/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.2 2004/02/01 15:21:55 jmc Exp $ 2 | 3 | DIR= usd/10.edadv 4 | SRCS= ae.mac ae0 ae1 ae2 ae3 ae4 ae5 ae6 ae7 ae9 5 | MACROS= -ms 6 | 7 | paper.txt: ${SRCS} 8 | ${ROFF} -Tascii ${SRCS} > ${.TARGET} 9 | 10 | .include 11 | -------------------------------------------------------------------------------- /src/usr.bin/false/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.4 1997/04/27 20:56:42 millert Exp $ 2 | 3 | MAN= false.1 4 | 5 | beforeinstall: 6 | ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ 7 | ${.CURDIR}/false.sh ${DESTDIR}${BINDIR}/false 8 | 9 | .include 10 | -------------------------------------------------------------------------------- /src/usr.bin/lex/PSD.doc/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 2004/02/01 14:40:26 jmc Exp $ 2 | # @(#)Makefile 8.1 (Berkeley) 6/8/93 3 | 4 | DIR= psd/16.lex 5 | SRCS= lex.ms 6 | MACROS= -ms 7 | 8 | paper.txt: ${SRCS} 9 | ${ROFF} -Tascii ${SRCS} > ${.TARGET} 10 | 11 | .include 12 | -------------------------------------------------------------------------------- /src/usr.bin/pkg-config/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.4 2006/11/28 00:48:08 ckuethe Exp $ 2 | 3 | MAN=pkg-config.1 4 | 5 | beforeinstall: 6 | ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ 7 | ${.CURDIR}/pkg-config ${DESTDIR}${BINDIR}/pkg-config 8 | 9 | .include 10 | -------------------------------------------------------------------------------- /src/usr.bin/rdistd/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.4 2003/05/06 22:10:11 millert Exp $ 2 | 3 | PROG= rdistd 4 | SRCS= common.c filesys-os.c filesys.c message.c rdistd.c server.c 5 | .PATH: ${.CURDIR}/../rdist 6 | CFLAGS+=-I${.CURDIR}/../rdist -DOS_H=\"os-openbsd.h\" 7 | 8 | .include 9 | -------------------------------------------------------------------------------- /libobase/include/pwd.h: -------------------------------------------------------------------------------- 1 | #define _PW_NAME_LEN 31 2 | #define _PATH_MP_DB "/dev/null" 3 | 4 | #include_next 5 | 6 | int setpassent(int stayopen); 7 | int setgroupent(int stayopen); 8 | const char *user_from_uid(uid_t uid, int nouser); 9 | const char *group_from_gid(gid_t gid, int nogroup); 10 | -------------------------------------------------------------------------------- /src/bin/ed/test/u.t: -------------------------------------------------------------------------------- 1 | 1;r u.t 2 | u 3 | a 4 | hello 5 | world 6 | . 7 | g/./s//x/\ 8 | a\ 9 | hello\ 10 | world 11 | u 12 | u 13 | u 14 | a 15 | hello world! 16 | . 17 | u 18 | 1,$d 19 | u 20 | 2,3d 21 | u 22 | c 23 | hello world!! 24 | . 25 | u 26 | u 27 | -1;.,+1j 28 | u 29 | u 30 | u 31 | .,+1t$ 32 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/sketch: -------------------------------------------------------------------------------- 1 | # $OpenBSD: sketch,v 1.2 2009/04/24 18:54:34 chl Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # Sketch Drawings: http://sketch.sourceforge.net/ 5 | # From: Edwin Mons 6 | 0 search/1 ##Sketch Sketch document text 7 | -------------------------------------------------------------------------------- /src/usr.bin/gprof/sh.c: -------------------------------------------------------------------------------- 1 | /* $OpenBSD: sh.c,v 1.2 2009/10/27 23:59:38 deraadt Exp $ */ 2 | 3 | #include "gprof.h" 4 | 5 | /* 6 | * gprof -c isn't currently supported... 7 | */ 8 | 9 | /* XXX */ 10 | void 11 | findcall(nltype *parentp, unsigned long p_lowpc, unsigned long p_highpc) 12 | { 13 | } 14 | -------------------------------------------------------------------------------- /src/usr.bin/mkdep/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.5 1997/09/21 11:50:02 deraadt Exp $ 2 | 3 | MAN= mkdep.1 4 | 5 | beforeinstall: 6 | ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ 7 | ${.CURDIR}/mkdep.gcc.sh ${DESTDIR}/usr/bin/mkdep 8 | 9 | .include 10 | -------------------------------------------------------------------------------- /libobase/setpassent.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | /* Ignore stayopen. */ 6 | 7 | int 8 | setpassent(int stayopen) 9 | { 10 | setpwent(); 11 | return 1; 12 | } 13 | 14 | int 15 | setgroupent(int stayopen) 16 | { 17 | setgrent(); 18 | return 1; 19 | } 20 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/pbm: -------------------------------------------------------------------------------- 1 | # $OpenBSD: pbm,v 1.2 2004/06/03 03:14:20 tedu Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # pbm: file(1) magic for Portable Bitmap files 5 | # 6 | # XXX - byte order? 7 | # 8 | 0 short 0x2a17 "compact bitmap" format (Poskanzer) 9 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/tgif: -------------------------------------------------------------------------------- 1 | # $OpenBSD: tgif,v 1.2 2008/05/14 20:45:35 chl Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # file(1) magic for tgif(1) files 5 | # From Hendrik Scholz 6 | 7 | 0 string %TGIF\ x Tgif file version %s 8 | 9 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/vmware: -------------------------------------------------------------------------------- 1 | # $OpenBSD: vmware,v 1.2 2008/05/08 01:40:57 chl Exp $ 2 | 3 | # ----------------------------------------------------------- 4 | # VMware specific files (deducted from version 1.1 and log file entries) 5 | # Anthon van der Neut (anthon@mnt.org) 6 | 0 belong 0x4d52564e VMware nvram 7 | -------------------------------------------------------------------------------- /src/usr.bin/talk/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.6 1998/07/24 00:11:00 millert Exp $ 2 | 3 | PROG= talk 4 | DPADD= ${LIBCURSES} 5 | LDADD= -lcurses 6 | SRCS= ctl.c ctl_transact.c display.c get_addrs.c get_names.c \ 7 | init_disp.c invite.c io.c look_up.c msgs.c talk.c 8 | 9 | .include 10 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/386bsd: -------------------------------------------------------------------------------- 1 | # $OpenBSD: 386bsd,v 1.2 2004/06/03 03:14:19 tedu Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # 386bsd: file(1) magic for 386BSD objects 5 | # 6 | 0 lelong 000000413 386BSD demand paged executable 7 | >16 lelong >0 not stripped 8 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/lecter: -------------------------------------------------------------------------------- 1 | # $OpenBSD: lecter,v 1.1 2004/06/03 03:14:20 tedu Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # DEC SRC Virtual Paper: Lectern files 5 | # Karl M. Hegbloom 6 | 0 string lect DEC SRC Virtual Paper Lectern file 7 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/mirage: -------------------------------------------------------------------------------- 1 | # $OpenBSD: mirage,v 1.2 2004/06/03 03:14:20 tedu Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # mirage: file(1) magic for Mirage executables 5 | # 6 | # XXX - byte order? 7 | # 8 | 0 long 31415 Mirage Assembler m.out executable 9 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/teapot: -------------------------------------------------------------------------------- 1 | # $OpenBSD: teapot,v 1.1 2004/06/03 03:14:20 tedu Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # teapot: file(1) magic for "teapot" spreadsheet 5 | # 6 | 0 string #!teapot\012xdr teapot work sheet (XDR format) 7 | -------------------------------------------------------------------------------- /src/usr.bin/fstat/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.10 2009/07/08 16:04:00 millert Exp $ 2 | 3 | PROG= fstat 4 | SRCS= fstat.c fuser.c 5 | MAN= fstat.1 fuser.1 6 | DPADD= ${LIBKVM} 7 | LDADD= -lkvm 8 | LINKS= ${BINDIR}/fstat ${BINDIR}/fuser 9 | 10 | CFLAGS+=-DINET6 11 | 12 | .include 13 | 14 | -------------------------------------------------------------------------------- /src/usr.bin/gzsig/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 2006/11/26 11:31:09 deraadt Exp $ 2 | 3 | PROG = gzsig 4 | SRCS = gzsig.c key.c sign.c ssh.c ssh2.c util.c verify.c x509.c 5 | 6 | LDADD = -lcrypto -lm 7 | DPADD = ${LIBCRYPTO} ${LIBM} 8 | 9 | CLEANFILES += TAGS *~ 10 | 11 | .include 12 | -------------------------------------------------------------------------------- /src/usr.bin/locate/bigram/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.6 1996/09/15 16:50:34 michaels Exp $ 2 | # @(#)Makefile 8.1 (Berkeley) 6/6/93 3 | 4 | PROG= locate.bigram 5 | NOMAN= noman 6 | BINDIR= ${LIBEXECDIR} 7 | CFLAGS+= -I${.CURDIR}/../locate 8 | 9 | .include "../Makefile.inc" 10 | .include 11 | -------------------------------------------------------------------------------- /src/usr.bin/locate/code/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.6 1996/09/15 16:50:36 michaels Exp $ 2 | # @(#)Makefile 8.1 (Berkeley) 6/6/93 3 | 4 | PROG= locate.code 5 | CFLAGS+=-I${.CURDIR}/../locate 6 | NOMAN= noman 7 | BINDIR= ${LIBEXECDIR} 8 | 9 | .include "../Makefile.inc" 10 | .include 11 | -------------------------------------------------------------------------------- /src/usr.bin/usbhidaction/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.1 2002/05/10 00:09:17 nate Exp $ 2 | # $NetBSD: Makefile,v 1.4 2002/02/02 16:54:26 veego Exp $ 3 | 4 | PROG= usbhidaction 5 | SRCS= usbhidaction.c 6 | 7 | LDADD+= -lusbhid -lutil 8 | DPADD+= ${LIBUSBHID} ${LIBUTIL} 9 | 10 | .include 11 | -------------------------------------------------------------------------------- /src/usr.bin/vi/common/options.awk: -------------------------------------------------------------------------------- 1 | # $OpenBSD: options.awk,v 1.3 2001/01/29 01:58:31 niklas Exp $ 2 | 3 | # @(#)options.awk 10.1 (Berkeley) 6/8/95 4 | 5 | /^\/\* O_[0-9A-Z_]*/ { 6 | printf("#define %s %d\n", $2, cnt++); 7 | next; 8 | } 9 | END { 10 | printf("#define O_OPTIONCOUNT %d\n", cnt); 11 | } 12 | -------------------------------------------------------------------------------- /src/bin/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.10 2007/05/18 16:08:12 deraadt Exp $ 2 | 3 | SUBDIR= cat chio chmod cp csh date dd df domainname echo \ 4 | ed expr hostname kill ksh ln ls md5 mkdir mt \ 5 | mv pax ps pwd rcp rm rmail rmdir sleep stty \ 6 | sync systrace test 7 | 8 | .include 9 | 10 | -------------------------------------------------------------------------------- /src/bin/ls/main.c: -------------------------------------------------------------------------------- 1 | /* $OpenBSD: main.c,v 1.3 2003/06/11 23:42:12 deraadt Exp $ */ 2 | 3 | /* 4 | * Public domain - no warranty. 5 | */ 6 | 7 | #include 8 | 9 | int ls_main(int argc, char **argv); 10 | 11 | int 12 | main(int argc, char *argv[]) 13 | { 14 | return ls_main(argc, argv); 15 | } 16 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/Header: -------------------------------------------------------------------------------- 1 | # Magic 2 | # $OpenBSD: Header,v 1.6 2008/05/08 01:40:56 chl Exp $ 3 | 4 | # Magic data for file(1) command. 5 | # Machine-generated from src/usr.bin/file/magdir/*; edit there only! 6 | # Format is described in magic(files), where: 7 | # files is 5 on V7 and BSD, 4 on SV, and ?? in the SVID. 8 | -------------------------------------------------------------------------------- /src/usr.bin/cdio/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.6 2008/11/29 08:57:10 jakemsr Exp $ 2 | 3 | PROG= cdio 4 | DPADD= ${LIBUTIL} ${LIBEDIT} ${LIBTERMCAP} 5 | LDADD= -lutil -ledit -ltermcap -lsndio 6 | SRCS= cdio.c cddb.c mmc.c rip.c 7 | CDIAGFLAGS=-Wall -W -Wmissing-prototypes -pedantic 8 | 9 | .include 10 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/apl: -------------------------------------------------------------------------------- 1 | # $OpenBSD: apl,v 1.2 2004/06/03 03:14:19 tedu Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # apl: file(1) magic for APL (see also "pdp" and "vax" for other APL 5 | # workspaces) 6 | # 7 | 0 long 0100554 APL workspace (Ken's original?) 8 | -------------------------------------------------------------------------------- /src/usr.bin/vi/docs/USD.doc/vi.man/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.2 2001/01/29 01:58:34 niklas Exp $ 2 | 3 | 4 | SRCS= vi.1 5 | DOCS= vi.0 vi.0.ps 6 | 7 | all: ${DOCS} 8 | 9 | vi.0: vi.1 10 | groff -man -Tascii < vi.1 > $@ 11 | vi.0.ps: vi.1 12 | groff -man < vi.1 > $@ 13 | 14 | clean: 15 | rm -f ${DOCS} 16 | -------------------------------------------------------------------------------- /src/usr.bin/calendar/calendars/calendar.french: -------------------------------------------------------------------------------- 1 | /* 2 | * French calendar file(s) 3 | * 4 | * $OpenBSD: calendar.french,v 1.2 2004/03/15 13:16:04 xsa Exp $ 5 | */ 6 | 7 | #ifndef _calendar_french_ 8 | #define _calendar_french_ 9 | 10 | #include 11 | 12 | #endif /* !_calendar_french_ */ 13 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/mlssa: -------------------------------------------------------------------------------- 1 | # $OpenBSD: mlssa,v 1.1 2004/06/03 03:14:20 tedu Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # mlssa: file(1) magic for MLSSA datafiles 5 | # 6 | 0 lelong 0xffffabcd MLSSA datafile, 7 | >4 leshort x algorithm %d, 8 | >10 lelong x %d samples 9 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/psdbms: -------------------------------------------------------------------------------- 1 | # $OpenBSD: psdbms,v 1.2 2004/06/03 03:14:20 tedu Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # psdbms: file(1) magic for psdatabase 5 | # 6 | 0 belong&0xff00ffff 0x56000000 ps database 7 | >1 string >\0 version %s 8 | >4 string >\0 from kernel %s 9 | -------------------------------------------------------------------------------- /src/usr.bin/make/PSD.doc/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.4 2004/02/01 14:33:13 jmc Exp $ 2 | # $NetBSD: Makefile,v 1.2 1995/06/14 15:20:23 christos Exp $ 3 | 4 | DIR= psd/12.make 5 | SRCS= tutorial.ms 6 | MACROS= -ms 7 | 8 | paper.txt: ${SRCS} 9 | ${ROFF} -Tascii ${SRCS} > ${.TARGET} 10 | 11 | .include 12 | -------------------------------------------------------------------------------- /src/usr.bin/netstat/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.20 2011/07/09 00:45:40 henning Exp $ 2 | 3 | PROG= netstat 4 | SRCS= if.c inet.c inet6.c main.c mbuf.c mroute.c route.c \ 5 | unix.c mroute6.c net80211.c show.c 6 | BINGRP= kmem 7 | BINMODE=2555 8 | LDADD= -lkvm 9 | DPADD= ${LIBKVM} 10 | 11 | .include 12 | -------------------------------------------------------------------------------- /src/usr.bin/sort/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 2007/03/13 17:35:13 millert Exp $ 2 | 3 | PROG= sort 4 | SRCS= append.c fields.c files.c fsort.c init.c msort.c sort.c tmp.c 5 | 6 | # Work around gcc optimization bug on sh 7 | .if (${MACHINE_ARCH} == sh) 8 | COPTS+= -O1 9 | .endif 10 | 11 | .include 12 | -------------------------------------------------------------------------------- /src/usr.bin/uuencode/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.6 2004/04/09 22:54:02 millert Exp $ 2 | 3 | PROG= uuencode 4 | MAN= uuencode.1 uuencode.5 5 | LINKS= ${BINDIR}/uuencode ${BINDIR}/b64encode 6 | MLINKS= uuencode.1 uudecode.1 \ 7 | uuencode.1 b64encode.1 \ 8 | uuencode.1 b64decode.1 9 | 10 | .include 11 | -------------------------------------------------------------------------------- /src/usr.bin/awk/USD.doc/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 2004/02/01 15:24:03 jmc Exp $ 2 | 3 | DIR= usd/16.awk 4 | SRCS= awk 5 | MACROS= -ms 6 | 7 | paper.ps: ${SRCS} 8 | ${TBL} ${SRCS} | ${ROFF} > ${.TARGET} 9 | 10 | paper.txt: ${SRCS} 11 | ${TBL} ${SRCS} | ${ROFF} -Tascii > ${.TARGET} 12 | 13 | .include 14 | -------------------------------------------------------------------------------- /src/usr.bin/bgplg/ping/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.1 2006/12/11 23:10:11 reyk Exp $ 2 | 3 | PROGDIR= ${.CURDIR}/../../../sbin/ping 4 | 5 | LDSTATIC= -static 6 | CFLAGS+= -I${PROGDIR} 7 | NOMAN= yes 8 | 9 | .include "${PROGDIR}/Makefile" 10 | 11 | BINDIR= /var/www/bin 12 | BINMODE= 000 13 | 14 | .PATH: ${PROGDIR} 15 | -------------------------------------------------------------------------------- /src/usr.bin/calendar/calendars/calendar.german: -------------------------------------------------------------------------------- 1 | /* 2 | * German calendar file(s) 3 | * 4 | * $OpenBSD: calendar.german,v 1.1 1996/12/05 06:04:46 millert Exp $ 5 | */ 6 | 7 | #ifndef _calendar_german_ 8 | #define _calendar_german_ 9 | 10 | #include 11 | 12 | #endif /* !_calendar_german_ */ 13 | -------------------------------------------------------------------------------- /src/usr.bin/calendar/calendars/calendar.russian: -------------------------------------------------------------------------------- 1 | /* 2 | * Russian calendar files 3 | * 4 | * $OpenBSD: calendar.russian,v 1.2 2001/09/04 20:44:35 mickey Exp $ 5 | */ 6 | 7 | #ifndef _calendar_russian_ 8 | #define _calendar_russian_ 9 | 10 | #include 11 | 12 | #endif /* !_calendar_russian_ */ 13 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/securitycerts: -------------------------------------------------------------------------------- 1 | # $OpenBSD: securitycerts,v 1.2 2009/04/26 14:17:45 chl Exp $ 2 | 3 | 0 search/1 -----BEGIN\ CERTIFICATE------ RFC1421 Security Certificate text 4 | 0 search/1 -----BEGIN\ NEW\ CERTIFICATE RFC1421 Security Certificate Signing Request text 5 | 0 belong 0xedfeedfe Sun 'jks' Java Keystore File data 6 | -------------------------------------------------------------------------------- /src/usr.bin/lorder/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.9 2011/11/08 10:37:10 guenther Exp $ 2 | 3 | MAN= lorder.1 4 | 5 | SCRIPT= lorder.sh 6 | 7 | realinstall: 8 | ${INSTALL} ${INSTALL_COPY} -S -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ 9 | ${.CURDIR}/${SCRIPT} ${DESTDIR}${BINDIR}/lorder 10 | 11 | .include 12 | -------------------------------------------------------------------------------- /src/usr.bin/patch/pathnames.h: -------------------------------------------------------------------------------- 1 | /* $OpenBSD: pathnames.h,v 1.1 2003/07/29 20:10:17 millert Exp $ */ 2 | 3 | /* 4 | * Placed in the public domain by Todd C. Miller 5 | * on July 29, 2003. 6 | */ 7 | 8 | #include 9 | 10 | #define _PATH_ED "/bin/ed" 11 | #define _PATH_MKDIR "/bin/mkdir" 12 | -------------------------------------------------------------------------------- /src/usr.bin/w/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.6 2002/06/08 22:57:34 angelos Exp $ 2 | 3 | PROG= w 4 | SRCS= fmt.c pr_time.c proc_compare.c w.c 5 | MAN= w.1 uptime.1 6 | DPADD= ${LIBKVM} 7 | LDADD= -lkvm 8 | LINKS= ${BINDIR}/w ${BINDIR}/uptime 9 | 10 | .PATH: ${.CURDIR}/../../bin/ps 11 | 12 | .include 13 | 14 | -------------------------------------------------------------------------------- /src/usr.bin/bgplg/ping6/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.1 2010/04/02 21:20:49 sthen Exp $ 2 | 3 | PROGDIR= ${.CURDIR}/../../../sbin/ping6 4 | 5 | LDSTATIC= -static 6 | CFLAGS+= -I${PROGDIR} 7 | NOMAN= yes 8 | 9 | .include "${PROGDIR}/Makefile" 10 | 11 | BINDIR= /var/www/bin 12 | BINMODE= 000 13 | 14 | .PATH: ${PROGDIR} 15 | -------------------------------------------------------------------------------- /src/usr.bin/dc/USD.doc/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.2 2004/02/01 15:18:01 jmc Exp $ 2 | 3 | DIR= usd/05.dc 4 | SRCS= dc 5 | MACROS= -ms 6 | 7 | paper.ps: ${SRCS} 8 | ${EQN} ${SRCS} | ${ROFF} > ${.TARGET} 9 | 10 | paper.txt: ${SRCS} 11 | ${EQN} -Tascii ${SRCS} | ${ROFF} -Tascii > ${.TARGET} 12 | 13 | .include 14 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/ctags: -------------------------------------------------------------------------------- 1 | # $OpenBSD: ctags,v 1.3 2009/04/24 18:54:34 chl Exp $ 2 | 3 | # ---------------------------------------------------------------------------- 4 | # ctags: file (1) magic for Exuberant Ctags files 5 | # From: Alexander Mai 6 | 0 search/1 =!_TAG Exuberant Ctags tag file text 7 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/mime: -------------------------------------------------------------------------------- 1 | # $OpenBSD: mime,v 1.2 2008/05/08 01:40:57 chl Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # mime: file(1) magic for MIME encoded files 5 | # 6 | 0 string Content-Type:\ 7 | >14 string >\0 %s 8 | 0 string Content-Type: 9 | >13 string >\0 %s 10 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/typeset: -------------------------------------------------------------------------------- 1 | # $OpenBSD: typeset,v 1.2 2004/06/03 03:14:20 tedu Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # typeset: file(1) magic for other typesetting 5 | # 6 | 0 string Interpress/Xerox Xerox InterPress data 7 | >16 string / (version 8 | >>17 string >\0 %s) 9 | -------------------------------------------------------------------------------- /src/usr.bin/pagesize/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.5 1997/09/21 11:50:26 deraadt Exp $ 2 | 3 | MAN= pagesize.1 4 | 5 | SCRIPT= pagesize.sh 6 | 7 | realinstall: 8 | ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ 9 | ${.CURDIR}/${SCRIPT} ${DESTDIR}${BINDIR}/pagesize 10 | 11 | .include 12 | -------------------------------------------------------------------------------- /src/usr.bin/sdiff/extern.h: -------------------------------------------------------------------------------- 1 | /* $OpenBSD: extern.h,v 1.5 2009/06/07 13:29:50 ray Exp $ */ 2 | 3 | /* 4 | * Written by Raymond Lai . 5 | * Public domain. 6 | */ 7 | 8 | extern FILE *outfp; /* file to save changes to */ 9 | extern const char *tmpdir; 10 | 11 | int eparse(const char *, const char *, const char *); 12 | -------------------------------------------------------------------------------- /src/usr.bin/calendar/calendars/calendar.croatian: -------------------------------------------------------------------------------- 1 | /* 2 | * Croatian calendar files 3 | * 4 | * $OpenBSD: calendar.croatian,v 1.1 1996/12/05 06:04:45 millert Exp $ 5 | */ 6 | 7 | #ifndef _calendar_croatian_ 8 | #define _calendar_croatian_ 9 | 10 | #include 11 | 12 | #endif /* !_calendar_croatian_ */ 13 | -------------------------------------------------------------------------------- /src/usr.bin/diff3/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.2 2003/07/22 00:11:30 millert Exp $ 2 | 3 | PROG= diff3prog 4 | MAN= diff3.1 5 | BINDIR= /usr/libexec 6 | 7 | beforeinstall: 8 | install ${INSTALL_COPY}c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ 9 | ${.CURDIR}/diff3.ksh ${DESTDIR}/usr/bin/diff3 10 | 11 | .include 12 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/bout: -------------------------------------------------------------------------------- 1 | # $OpenBSD: bout,v 1.3 2008/05/08 01:40:57 chl Exp $ 2 | 3 | # 4 | # i80960 b.out objects and archives 5 | # 6 | 0 long 0x10d i960 b.out relocatable object 7 | >16 long >0 not stripped 8 | # 9 | # b.out archive (hp-rt on i960) 10 | 0 string =! b.out archive 11 | >8 string __.SYMDEF random library 12 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/pkgadd: -------------------------------------------------------------------------------- 1 | # $OpenBSD: pkgadd,v 1.3 2009/04/24 18:54:34 chl Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # pkgadd: file(1) magic for SysV R4 PKG Datastreams 5 | # 6 | 0 string #\ PaCkAgE\ DaTaStReAm pkg Datastream (SVR4) 7 | !:mime application/x-svr4-package 8 | -------------------------------------------------------------------------------- /src/usr.bin/mg/funmap.h: -------------------------------------------------------------------------------- 1 | /* $OpenBSD: funmap.h,v 1.7 2008/06/10 00:19:31 kjell Exp $ */ 2 | 3 | /* This file is in the public domain */ 4 | 5 | void funmap_init(void); 6 | PF name_function(const char *); 7 | const char *function_name(PF); 8 | struct list *complete_function_list(const char *); 9 | int funmap_add(PF, const char *); 10 | -------------------------------------------------------------------------------- /libobase/include/sys/stat.h: -------------------------------------------------------------------------------- 1 | #include_next 2 | #include_next 3 | #include_next 4 | 5 | #define st_atimespec st_atim 6 | #define st_mtimespec st_mtim 7 | #define st_atimensec st_atim.tv_nsec 8 | #define st_ctimensec st_ctim.tv_nsec 9 | #define st_mtimensec st_mtim.tv_nsec 10 | #define f_iosize f_bsize 11 | -------------------------------------------------------------------------------- /src/bin/csh/USD.doc/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 2004/02/01 15:15:40 jmc Exp $ 2 | # $NetBSD: Makefile,v 1.3 1995/03/21 09:03:31 cgd Exp $ 3 | 4 | DIR= usd/04.csh 5 | SRCS= tabs csh.1 csh.2 csh.3 csh.4 csh.a csh.g 6 | MACROS= -ms 7 | 8 | paper.txt: ${SRCS} 9 | ${ROFF} -Tascii ${SRCS} > ${.TARGET} 10 | 11 | .include 12 | -------------------------------------------------------------------------------- /src/usr.bin/calendar/calendars/fr_FR.ISO8859-1/calendar.french: -------------------------------------------------------------------------------- 1 | /* $OpenBSD: calendar.french,v 1.2 2004/01/16 18:43:28 mickey Exp $ */ 2 | 3 | /* 4 | * French calendar file(s) 5 | */ 6 | 7 | #ifndef _calendar_french_ 8 | #define _calendar_french_ 9 | 10 | #include 11 | 12 | #endif /* !_calendar_french_ */ 13 | -------------------------------------------------------------------------------- /src/usr.bin/gprof/m68k.c: -------------------------------------------------------------------------------- 1 | /* $OpenBSD: m68k.c,v 1.5 2009/10/27 23:59:38 deraadt Exp $ */ 2 | /* $NetBSD: m68k.c,v 1.4 1995/04/19 07:16:07 cgd Exp $ */ 3 | 4 | #include "gprof.h" 5 | 6 | /* 7 | * gprof -c isn't currently supported... 8 | */ 9 | void 10 | findcall(nltype *parentp, unsigned long p_lowpc, unsigned long p_highpc) 11 | { 12 | } 13 | -------------------------------------------------------------------------------- /src/usr.bin/gprof/m88k.c: -------------------------------------------------------------------------------- 1 | /* $OpenBSD: m88k.c,v 1.4 2009/10/27 23:59:38 deraadt Exp $ */ 2 | /* $NetBSD: m88k.c,v 1.4 1995/04/19 07:16:07 cgd Exp $ */ 3 | 4 | #include "gprof.h" 5 | 6 | /* 7 | * gprof -c isn't currently supported... 8 | */ 9 | void 10 | findcall(nltype *parentp, unsigned long p_lowpc, unsigned long p_highpc) 11 | { 12 | } 13 | -------------------------------------------------------------------------------- /src/usr.bin/bgplg/traceroute/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.1 2006/12/11 23:10:11 reyk Exp $ 2 | 3 | PROGDIR= ${.CURDIR}/../../../usr.sbin/traceroute 4 | 5 | LDSTATIC= -static 6 | CFLAGS+= -I${PROGDIR} 7 | NOMAN= yes 8 | 9 | .include "${PROGDIR}/Makefile" 10 | 11 | BINDIR= /var/www/bin 12 | BINMODE= 000 13 | 14 | .PATH: ${PROGDIR} 15 | 16 | -------------------------------------------------------------------------------- /src/usr.bin/bgplg/traceroute6/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.1 2010/04/02 21:20:49 sthen Exp $ 2 | 3 | PROGDIR= ${.CURDIR}/../../../usr.sbin/traceroute6 4 | 5 | LDSTATIC= -static 6 | CFLAGS+= -I${PROGDIR} 7 | NOMAN= yes 8 | 9 | .include "${PROGDIR}/Makefile" 10 | 11 | BINDIR= /var/www/bin 12 | BINMODE= 000 13 | 14 | .PATH: ${PROGDIR} 15 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/mathcad: -------------------------------------------------------------------------------- 1 | # $OpenBSD: mathcad,v 1.2 2009/04/26 14:17:45 chl Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # mathcad: file(1) magic for Mathcad documents 5 | # URL: http://www.mathsoft.com/ 6 | # From: Josh Triplett 7 | 8 | 0 string .MCAD\t Mathcad document 9 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/netware: -------------------------------------------------------------------------------- 1 | # $OpenBSD: netware,v 1.2 2009/04/26 14:17:45 chl Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # netware: file(1) magic for NetWare Loadable Modules (NLMs) 5 | # From: Mads Martin Joergensen 6 | 7 | 0 string NetWare\ Loadable\ Module NetWare Loadable Module 8 | -------------------------------------------------------------------------------- /src/usr.bin/gprof/ns32k.c: -------------------------------------------------------------------------------- 1 | /* $OpenBSD: ns32k.c,v 1.5 2009/10/27 23:59:38 deraadt Exp $ */ 2 | /* $NetBSD: ns32k.c,v 1.3 1995/04/19 07:16:13 cgd Exp $ */ 3 | 4 | #include "gprof.h" 5 | 6 | /* 7 | * gprof -c isn't currently supported... 8 | */ 9 | void 10 | findcall(nltype *parentp, unsigned long p_lowpc, unsigned long p_highpc) 11 | { 12 | } 13 | -------------------------------------------------------------------------------- /src/usr.bin/ssh/ssh-add/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.20 2001/03/04 00:51:25 markus Exp $ 2 | 3 | .PATH: ${.CURDIR}/.. 4 | 5 | PROG= ssh-add 6 | BINOWN= root 7 | 8 | BINMODE?=555 9 | 10 | BINDIR= /usr/bin 11 | MAN= ssh-add.1 12 | 13 | SRCS= ssh-add.c 14 | 15 | .include 16 | 17 | LDADD+= -lcrypto 18 | DPADD+= ${LIBCRYPTO} 19 | -------------------------------------------------------------------------------- /src/usr.bin/calendar/calendars/hr_HR.ISO_8859-2/calendar.all: -------------------------------------------------------------------------------- 1 | /* 2 | * hrvatski calendar 3 | * 4 | * $OpenBSD: calendar.all,v 1.1 1996/12/05 06:04:56 millert Exp $ 5 | */ 6 | 7 | #ifndef _hr_HR_ISO_8859_2_all 8 | #define _hr_HR_ISO_8859_2_all 9 | 10 | #include 11 | 12 | #endif /* !_hr_HR_ISO_8859_2_all */ 13 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/karma: -------------------------------------------------------------------------------- 1 | # $OpenBSD: karma,v 1.4 2004/06/03 03:14:20 tedu Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # karma: file(1) magic for Karma data files 5 | # 6 | # From 7 | 8 | 0 string KarmaRHD Version Karma Data Structure Version 9 | >16 belong x %lu 10 | -------------------------------------------------------------------------------- /src/usr.bin/top/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.15 2010/03/18 12:28:09 otto Exp $ 2 | # 3 | # Makefile for OpenBSD top-3.4. 4 | 5 | PROG= top 6 | 7 | CFLAGS+=-I. -Wall -Wmissing-prototypes 8 | SRCS= commands.c display.c machine.c screen.c top.c username.c utils.c 9 | DPADD= ${LIBCURSES} 10 | LDADD= -lcurses 11 | 12 | .include 13 | 14 | -------------------------------------------------------------------------------- /src/usr.bin/ypwhich/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.6 1999/03/20 15:36:12 maja Exp $ 2 | # from: @(#)Makefile 5.8 (Berkeley) 7/28/90 3 | 4 | PROG= ypwhich 5 | SRCS= ypwhich.c yplib_host.c 6 | MAN= ypwhich.1 7 | 8 | .PATH: ${.CURDIR}/../../usr.sbin/ypserv/common 9 | CFLAGS+=-I${.CURDIR}/../../usr.sbin/ypserv/common 10 | 11 | .include 12 | -------------------------------------------------------------------------------- /src/usr.bin/lex/libyywrap.c: -------------------------------------------------------------------------------- 1 | /* $OpenBSD: libyywrap.c,v 1.6 2003/07/28 20:38:31 deraadt Exp $ */ 2 | 3 | /* libyywrap - flex run-time support library "yywrap" function */ 4 | 5 | /* $Header: /cvs/src/usr.bin/lex/libyywrap.c,v 1.6 2003/07/28 20:38:31 deraadt Exp $ */ 6 | 7 | int yywrap(void); 8 | 9 | int 10 | yywrap(void) 11 | { 12 | return 1; 13 | } 14 | -------------------------------------------------------------------------------- /src/usr.bin/lex/mkskel.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | # $OpenBSD: mkskel.sh,v 1.2 1996/06/26 05:35:39 deraadt Exp $ 3 | 4 | 5 | cat < 2 | 3 | void *memrchr(const void *b, int c, size_t len); 4 | char *strcasestr(const char *big, const char *little); 5 | size_t strlcpy(char *dst, const char *src, size_t size); 6 | size_t strlcat(char *dst, const char *src, size_t size); 7 | void strmode(int mode, char *p); 8 | 9 | #include_next 10 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/octave: -------------------------------------------------------------------------------- 1 | # $OpenBSD: octave,v 1.1 2004/06/03 03:14:20 tedu Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # octave binary data file(1) magic, from Dirk Eddelbuettel 5 | 0 string Octave-1-L Octave binary data (little endian) 6 | 0 string Octave-1-B Octave binary data (big endian) 7 | -------------------------------------------------------------------------------- /src/usr.bin/gprof/arm.c: -------------------------------------------------------------------------------- 1 | /* $OpenBSD: arm.c,v 1.3 2009/10/27 23:59:38 deraadt Exp $ */ 2 | /* $NetBSD: arm32.c,v 1.1 1996/04/01 21:51:22 mark Exp $ */ 3 | 4 | #include "gprof.h" 5 | 6 | /* 7 | * gprof -c isn't currently supported... 8 | */ 9 | 10 | /* XXX */ 11 | void 12 | findcall(nltype *parentp, unsigned long p_lowpc, unsigned long p_highpc) 13 | { 14 | } 15 | -------------------------------------------------------------------------------- /src/usr.bin/pkill/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.1 2004/01/06 20:07:49 millert Exp $ 2 | # $NetBSD: Makefile,v 1.1 2002/03/01 11:21:58 ad Exp $ 3 | 4 | PROG= pkill 5 | SRCS= pkill.c 6 | MAN= pkill.1 7 | 8 | LDADD+= -lkvm 9 | DPADD+= ${LIBKVM} 10 | 11 | LINKS+= ${BINDIR}/pkill ${BINDIR}/pgrep 12 | MLINKS+=pkill.1 pgrep.1 13 | 14 | .include 15 | -------------------------------------------------------------------------------- /src/usr.bin/ssh/sftp/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.11 2008/04/18 12:32:11 djm Exp $ 2 | 3 | .PATH: ${.CURDIR}/.. 4 | 5 | PROG= sftp 6 | BINOWN= root 7 | 8 | BINMODE?=555 9 | 10 | BINDIR= /usr/bin 11 | MAN= sftp.1 12 | 13 | SRCS= sftp.c sftp-client.c sftp-common.c sftp-glob.c 14 | 15 | .include 16 | 17 | LDADD+= -ledit -ltermcap -lutil 18 | -------------------------------------------------------------------------------- /src/usr.bin/xinstall/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.7 2011/11/08 10:37:10 guenther Exp $ 2 | 3 | PROG= xinstall 4 | SRCS= xinstall.c 5 | MAN= install.1 6 | 7 | realinstall: 8 | ${INSTALL} ${INSTALL_COPY} -S ${INSTALL_STRIP} \ 9 | -o ${BINOWN} -g ${BINGRP} \ 10 | -m ${BINMODE} ${PROG} ${DESTDIR}${BINDIR}/install 11 | 12 | .include 13 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/Localstuff: -------------------------------------------------------------------------------- 1 | 2 | #------------------------------------------------------------------------------ 3 | # Localstuff: file(1) magic for locally observed files 4 | # 5 | # $OpenBSD: Localstuff,v 1.5 2008/05/08 01:40:57 chl Exp $ 6 | # Add any locally observed files here. Remember: 7 | # text if readable, executable if runnable binary, data if unreadable. 8 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/tuxedo: -------------------------------------------------------------------------------- 1 | # $OpenBSD: tuxedo,v 1.2 2008/05/08 01:40:57 chl Exp $ 2 | 3 | # 4 | #------------------------------------------------------------------------------ 5 | # tuxedo: file(1) magic for BEA TUXEDO data files 6 | # 7 | # from Ian Springer 8 | # 9 | 0 string \0\0\1\236\0\0\0\0\0\0\0\0\0\0\0\0 BEA TUXEDO DES mask data 10 | -------------------------------------------------------------------------------- /src/usr.bin/ssh/sftp-server/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.8 2010/01/13 01:40:16 djm Exp $ 2 | 3 | .PATH: ${.CURDIR}/.. 4 | 5 | PROG= sftp-server 6 | BINOWN= root 7 | 8 | BINMODE?=555 9 | 10 | BINDIR= /usr/libexec 11 | MAN= sftp-server.8 12 | 13 | SRCS= sftp-server.c sftp-common.c sftp-server-main.c 14 | 15 | LDADD+= -lutil 16 | 17 | .include 18 | -------------------------------------------------------------------------------- /src/usr.bin/ssh/ssh-keygen/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.22 2003/07/28 09:49:56 djm Exp $ 2 | 3 | .PATH: ${.CURDIR}/.. 4 | 5 | PROG= ssh-keygen 6 | BINOWN= root 7 | 8 | BINMODE?=555 9 | 10 | BINDIR= /usr/bin 11 | MAN= ssh-keygen.1 12 | 13 | SRCS= ssh-keygen.c moduli.c 14 | 15 | .include 16 | 17 | LDADD+= -lcrypto 18 | DPADD+= ${LIBCRYPTO} 19 | -------------------------------------------------------------------------------- /src/bin/ksh/ksh_limval.h: -------------------------------------------------------------------------------- 1 | /* $OpenBSD: ksh_limval.h,v 1.2 2004/12/18 20:55:52 millert Exp $ */ 2 | 3 | /* Wrapper around the values.h/limits.h includes/ifdefs */ 4 | 5 | /* limits.h is included in sh.h */ 6 | 7 | #ifndef DMAXEXP 8 | # define DMAXEXP 128 /* should be big enough */ 9 | #endif 10 | 11 | #ifndef BITS 12 | # define BITS(t) (CHAR_BIT * sizeof(t)) 13 | #endif 14 | -------------------------------------------------------------------------------- /src/usr.bin/crontab/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.5 2005/12/19 19:12:17 millert Exp $ 2 | 3 | PROG= crontab 4 | SRCS= crontab.c misc.c entry.c env.c 5 | CFLAGS+=-I${.CURDIR} -I${.CURDIR}/../../usr.sbin/cron -DDEBUGGING=0 6 | BINGRP =crontab 7 | BINMODE=2555 8 | MAN= crontab.1 crontab.5 9 | 10 | .PATH: ${.CURDIR}/../../usr.sbin/cron 11 | 12 | .include 13 | -------------------------------------------------------------------------------- /src/bin/ksh/LEGAL: -------------------------------------------------------------------------------- 1 | $OpenBSD: LEGAL,v 1.2 2003/07/17 20:59:43 deraadt Exp $ 2 | 3 | pdksh is provided AS IS, with NO WARRANTY, either expressed or implied. 4 | 5 | The vast majority of the code that makes pdksh is in the public domain. 6 | The exceptions are: 7 | sigact.c and sigact.h 8 | [REMOVED] 9 | aclocal.m4 10 | [REMOVED] 11 | 12 | That's it. Short and simple. 13 | -------------------------------------------------------------------------------- /src/usr.bin/bgplg/bgpctl/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.1 2006/12/11 23:10:10 reyk Exp $ 2 | 3 | PROGDIR= ${.CURDIR}/../../../usr.sbin/bgpctl 4 | 5 | LDSTATIC= -static 6 | CFLAGS+= -I${PROGDIR} -I${PROGDIR}/../bgpd 7 | NOMAN= yes 8 | 9 | .include "${PROGDIR}/Makefile" 10 | 11 | BINDIR= /var/www/bin 12 | BINMODE= 000 13 | 14 | .PATH: ${PROGDIR} ${PROGDIR}/../bgpd 15 | -------------------------------------------------------------------------------- /libobase/include/sys/param.h: -------------------------------------------------------------------------------- 1 | #define UID_MAX UINT_MAX 2 | #define GID_MAX UINT_MAX 3 | #define MAXBSIZE (64 * 1024) 4 | #define NOFILE_MAX 1024 5 | #define CHILD_MAX 1024 6 | #define MAXLOGNAME 31 7 | 8 | // XXX amd64 only 9 | #define ALIGNBYTES (sizeof(long) - 1) 10 | #define ALIGN(p) (((u_int)(p) + ALIGNBYTES) &~ ALIGNBYTES) 11 | 12 | #include_next 13 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/mkid: -------------------------------------------------------------------------------- 1 | # $OpenBSD: mkid,v 1.2 2004/06/03 03:14:20 tedu Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # mkid: file(1) magic for mkid(1) databases 5 | # 6 | # ID is the binary tags database produced by mkid(1). 7 | # 8 | # XXX - byte order? 9 | # 10 | 0 string \311\304 ID tags data 11 | >2 short >0 version %d 12 | -------------------------------------------------------------------------------- /src/usr.bin/vi/include/perl_extern.h: -------------------------------------------------------------------------------- 1 | /* $OpenBSD: perl_extern.h,v 1.5 2002/02/16 21:27:58 millert Exp $ */ 2 | 3 | int perl_end(GS *); 4 | int perl_init(SCR *); 5 | int perl_screen_end(SCR*); 6 | int perl_ex_perl(SCR*, CHAR_T *, size_t, recno_t, recno_t); 7 | int perl_ex_perldo(SCR*, CHAR_T *, size_t, recno_t, recno_t); 8 | #ifdef USE_SFIO 9 | Sfdisc_t* sfdcnewnvi(SCR*); 10 | #endif 11 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/inform: -------------------------------------------------------------------------------- 1 | # $OpenBSD: inform,v 1.2 2009/04/26 14:17:45 chl Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # inform: file(1) magic for Inform interactive fiction language 5 | 6 | # URL: http://www.inform-fiction.org/ 7 | # From: Reuben Thomas 8 | 9 | 0 search/cB/100 constant\ story Inform source text 10 | -------------------------------------------------------------------------------- /src/usr.bin/ssh/ssh-keyscan/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.5 2009/05/28 16:50:16 andreas Exp $ 2 | 3 | .PATH: ${.CURDIR}/.. 4 | 5 | PROG= ssh-keyscan 6 | BINOWN= root 7 | 8 | BINMODE?=555 9 | 10 | BINDIR= /usr/bin 11 | MAN= ssh-keyscan.1 12 | 13 | SRCS= ssh-keyscan.c roaming_dummy.c 14 | 15 | .include 16 | 17 | LDADD+= -lcrypto -lz 18 | DPADD+= ${LIBCRYPTO} ${LIBZ} 19 | -------------------------------------------------------------------------------- /src/usr.bin/tip/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.15 2010/07/02 07:40:03 nicm Exp $ 2 | 3 | PROG= tip 4 | LINKS= ${BINDIR}/tip ${BINDIR}/cu 5 | MAN= tip.1 cu.1 6 | 7 | CFLAGS+=-I${.CURDIR} -DDEFBR=9600 -DDEFFS=BUFSIZ 8 | LDADD= -lutil 9 | DPADD= ${LIBUTIL} 10 | 11 | SRCS= cmds.c cmdtab.c cu.c hunt.c log.c partab.c remote.c tip.c \ 12 | tipout.c value.c 13 | 14 | .include 15 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/interleaf: -------------------------------------------------------------------------------- 1 | # $OpenBSD: interleaf,v 1.3 2004/06/03 03:14:20 tedu Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # interleaf: file(1) magic for InterLeaf TPS: 5 | # 6 | 0 string =\210OPS Interleaf saved data 7 | 0 string =5 string ,\ Version\ = \b, version 9 | >>17 string >\0 %.3s 10 | -------------------------------------------------------------------------------- /src/usr.bin/ssh/ssh-agent/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.24 2010/02/09 08:55:31 markus Exp $ 2 | 3 | .PATH: ${.CURDIR}/.. 4 | 5 | PROG= ssh-agent 6 | BINOWN= root 7 | BINGRP= _sshagnt 8 | 9 | BINMODE?=2555 10 | 11 | BINDIR= /usr/bin 12 | MAN= ssh-agent.1 13 | 14 | SRCS= ssh-agent.c ssh-pkcs11-client.c 15 | 16 | .include 17 | 18 | LDADD+= -lcrypto 19 | DPADD+= ${LIBCRYPTO} 20 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/terminfo: -------------------------------------------------------------------------------- 1 | # $OpenBSD: terminfo,v 1.2 2004/06/03 03:14:20 tedu Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # terminfo: file(1) magic for terminfo 5 | # 6 | # XXX - byte order for screen images? 7 | # 8 | 0 string \032\001 Compiled terminfo entry 9 | 0 short 0433 Curses screen image 10 | 0 short 0434 Curses screen image 11 | -------------------------------------------------------------------------------- /src/usr.bin/ssh/ssh-pkcs11-helper/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.2 2010/02/09 08:25:32 markus Exp $ 2 | 3 | .PATH: ${.CURDIR}/.. 4 | 5 | PROG= ssh-pkcs11-helper 6 | BINOWN= root 7 | 8 | BINMODE?=555 9 | 10 | BINDIR= /usr/libexec 11 | MAN= ssh-pkcs11-helper.8 12 | 13 | SRCS= ssh-pkcs11-helper.c ssh-pkcs11.c 14 | 15 | .include 16 | 17 | LDADD+= -lcrypto 18 | DPADD+= ${LIBCRYPTO} 19 | -------------------------------------------------------------------------------- /src/usr.bin/ar/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.4 2005/09/19 13:01:26 deraadt Exp $ 2 | 3 | .include 4 | 5 | .if (${ELF_TOOLCHAIN:L} == "no") 6 | PROG= ar 7 | CFLAGS+=-I${.CURDIR} 8 | SRCS= append.c ar.c archive.c contents.c delete.c extract.c misc.c \ 9 | move.c print.c replace.c 10 | MAN= ar.1 11 | .else 12 | NOPROG= 13 | .endif 14 | 15 | MAN+= ar.5 16 | 17 | .include 18 | -------------------------------------------------------------------------------- /src/usr.bin/ssh/ssh-keysign/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.6 2009/05/28 16:50:16 andreas Exp $ 2 | 3 | .PATH: ${.CURDIR}/.. 4 | 5 | PROG= ssh-keysign 6 | BINOWN= root 7 | 8 | BINMODE?=4555 9 | 10 | BINDIR= /usr/libexec 11 | MAN= ssh-keysign.8 12 | 13 | SRCS= ssh-keysign.c readconf.c roaming_dummy.c 14 | 15 | .include 16 | 17 | LDADD+= -lcrypto -lz 18 | DPADD+= ${LIBCRYPTO} ${LIBZ} 19 | -------------------------------------------------------------------------------- /src/usr.bin/vi/docs/USD.doc/vi.ref/merge.awk: -------------------------------------------------------------------------------- 1 | # $OpenBSD: merge.awk,v 1.3 2001/01/29 01:58:35 niklas Exp $ 2 | 3 | # @(#)merge.awk 8.3 (Berkeley) 5/25/94 4 | # 5 | # merge index entries into one line per label 6 | $1 == prev { 7 | printf ", %s", $2; 8 | next; 9 | } 10 | { 11 | if (NR != 1) 12 | printf "\n"; 13 | printf "%s \t%s", $1, $2; 14 | prev = $1; 15 | } 16 | END { 17 | printf "\n" 18 | } 19 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/island: -------------------------------------------------------------------------------- 1 | # $OpenBSD: island,v 1.1 2004/06/03 03:14:20 tedu Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # island: file(1) magic for IslandWite/IslandDraw, from SunOS 5.5.1 5 | # "/etc/magic": 6 | # From: guy@netapp.com (Guy Harris) 7 | # 8 | 4 string pgscriptver IslandWrite document 9 | 13 string DrawFile IslandDraw document 10 | 11 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/mozilla: -------------------------------------------------------------------------------- 1 | # $OpenBSD: mozilla,v 1.2 2009/04/26 14:17:45 chl Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # mozilla: file(1) magic for Mozilla XUL fastload files 5 | # (XUL.mfasl and XPC.mfasl) 6 | # URL: http://www.mozilla.org/ 7 | # From: Josh Triplett 8 | 9 | 0 string XPCOM\nMozFASL\r\n\x1A Mozilla XUL fastload data 10 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/matroska: -------------------------------------------------------------------------------- 1 | # $OpenBSD: matroska,v 1.2 2008/05/14 20:45:35 chl Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # matroska: file(1) magic for Matroska files 5 | # 6 | # See http://www.matroska.org/ 7 | # 8 | 9 | # EBML id: 10 | 0 belong 0x1a45dfa3 11 | # DocType id: 12 | >5 beshort 0x4282 13 | # DocType contents: 14 | >>8 string matroska Matroska data 15 | 16 | -------------------------------------------------------------------------------- /src/usr.bin/ranlib/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.4 2005/09/19 13:01:26 deraadt Exp $ 2 | 3 | .include 4 | 5 | .if (${ELF_TOOLCHAIN:L} == "no") 6 | PROG= ranlib 7 | SRCS= archive.c build.c misc.c ranlib.c touch.c 8 | CFLAGS+=-I${.CURDIR} -I${.CURDIR}/../ar -I${.CURDIR}/../nm 9 | MAN= ranlib.1 10 | VPATH= ${.CURDIR}/../ar 11 | .else 12 | NOPROG= 13 | .endif 14 | 15 | MAN+= ranlib.5 16 | 17 | .include 18 | -------------------------------------------------------------------------------- /src/usr.bin/sdiff/common.c: -------------------------------------------------------------------------------- 1 | /* $OpenBSD: common.c,v 1.4 2006/05/25 03:20:32 ray Exp $ */ 2 | 3 | /* 4 | * Written by Raymond Lai . 5 | * Public domain. 6 | */ 7 | 8 | #include 9 | #include 10 | #include 11 | 12 | #include "common.h" 13 | 14 | void 15 | cleanup(const char *filename) 16 | { 17 | if (unlink(filename)) 18 | err(2, "could not delete: %s", filename); 19 | exit(2); 20 | } 21 | -------------------------------------------------------------------------------- /src/usr.bin/bc/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.6 2011/03/07 08:11:15 otto Exp $ 2 | 3 | PROG= bc 4 | SRCS= bc.y scan.l 5 | CPPFLAGS+= -I. -I${.CURDIR} 6 | CFLAGS+= -Wall -Wno-unused 7 | YFLAGS+= 8 | LDADD+= -ledit -lcurses 9 | DPADD+= ${LIBEDIT} ${LIBCURSES} 10 | 11 | 12 | beforeinstall: 13 | install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/bc.library \ 14 | ${DESTDIR}/usr/share/misc 15 | 16 | .include 17 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/chord: -------------------------------------------------------------------------------- 1 | # $OpenBSD: chord,v 1.1 2004/06/03 03:14:19 tedu Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # chord: file(1) magic for Chord music sheet typesetting utility input files 5 | # 6 | # From Philippe De Muyter 7 | # File format is actually free, but many distributed files begin with `{title' 8 | # 9 | 0 string {title Chord text file 10 | 11 | -------------------------------------------------------------------------------- /src/usr.bin/yacc/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.5 2010/10/17 22:54:37 schwarze Exp $ 2 | 3 | PROG= yacc 4 | SRCS= closure.c error.c lalr.c lr0.c main.c mkpar.c output.c reader.c \ 5 | skeleton.c symtab.c verbose.c warshall.c 6 | MAN= yacc.1 yyfix.1 7 | 8 | beforeinstall: 9 | ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ 10 | ${.CURDIR}/yyfix.sh ${DESTDIR}${BINDIR}/yyfix 11 | 12 | .include 13 | -------------------------------------------------------------------------------- /src/usr.bin/bgplg/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | bgplg... 6 | 7 | 8 | 9 |

bgplg...

10 | 11 | 12 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/dact: -------------------------------------------------------------------------------- 1 | # $OpenBSD: dact,v 1.1 2004/06/03 03:14:19 tedu Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # dact: file(1) magic for DACT compressed files 5 | # 6 | 0 long 0x444354C3 DACT compressed data 7 | >4 byte >-1 (version %i. 8 | >5 byte >-1 $BS%i. 9 | >6 byte >-1 $BS%i) 10 | >7 long >0 $BS, original size: %i bytes 11 | >15 long >30 $BS, block size: %i bytes 12 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/kde: -------------------------------------------------------------------------------- 1 | # $OpenBSD: kde,v 1.2 2009/04/26 14:17:45 chl Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # kde: file(1) magic for KDE 5 | 6 | 0 string [KDE\ Desktop\ Entry] KDE desktop entry 7 | !:mime application/x-kdelnk 8 | 0 string #\ KDE\ Config\ File KDE config file 9 | !:mime application/x-kdelnk 10 | 0 string #\ xmcd xmcd database file for kscd 11 | !:mime text/x-xmcd 12 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/pulsar: -------------------------------------------------------------------------------- 1 | # $OpenBSD: pulsar,v 1.1 2004/06/03 03:14:20 tedu Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # pulsar: file(1) magic for Pulsar POP3 daemon binary files 5 | # 6 | # http://pulsar.sourceforge.net 7 | # mailto:rok.papez@lugos.si 8 | # 9 | 10 | 0 belong 0x1ee7f11e Pulsar POP3 daemon mailbox cache file. 11 | >4 ubelong x Version: %d. 12 | >8 ubelong x \b%d 13 | 14 | -------------------------------------------------------------------------------- /src/usr.bin/id/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.4 1997/04/27 20:56:45 millert Exp $ 2 | 3 | PROG= id 4 | MAN= id.1 groups.1 whoami.1 5 | 6 | afterinstall: 7 | ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ 8 | ${.CURDIR}/groups.sh ${DESTDIR}/usr/bin/groups 9 | ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ 10 | ${.CURDIR}/whoami.sh ${DESTDIR}/usr/bin/whoami 11 | 12 | .include 13 | -------------------------------------------------------------------------------- /src/usr.bin/lex/libmain.c: -------------------------------------------------------------------------------- 1 | /* $OpenBSD: libmain.c,v 1.6 2003/07/28 20:38:31 deraadt Exp $ */ 2 | 3 | /* libmain - flex run-time support library "main" function */ 4 | 5 | /* $Header: /cvs/src/usr.bin/lex/libmain.c,v 1.6 2003/07/28 20:38:31 deraadt Exp $ */ 6 | 7 | int yylex(void); 8 | int main(int, char **); 9 | 10 | /* ARGSUSED */ 11 | int 12 | main(int argc, char *argv[]) 13 | { 14 | while (yylex() != 0) 15 | ; 16 | 17 | return 0; 18 | } 19 | -------------------------------------------------------------------------------- /src/bin/md5/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.11 2010/07/12 23:16:55 tedu Exp $ 2 | 3 | PROG= md5 4 | SRCS= crc.c md5.c 5 | MAN= cksum.1 md5.1 sha1.1 sha256.1 6 | LINKS= ${BINDIR}/md5 ${BINDIR}/sha1 \ 7 | ${BINDIR}/md5 ${BINDIR}/sha256 \ 8 | ${BINDIR}/md5 ${BINDIR}/cksum \ 9 | ${BINDIR}/md5 ${BINDIR}/sum 10 | MLINKS= cksum.1 sum.1 11 | 12 | CPPFLAGS+= -I${.CURDIR} 13 | COPTS+= -Wall -Wconversion -Wmissing-prototypes 14 | 15 | .include 16 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/cddb: -------------------------------------------------------------------------------- 1 | # $OpenBSD: cddb,v 1.2 2009/04/24 18:54:34 chl Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # CDDB: file(1) magic for CDDB(tm) format CD text data files 5 | # 6 | # From 7 | # 8 | # This is the /etc/magic entry to decode datafiles as used by 9 | # CDDB-enabled CD player applications. 10 | # 11 | 12 | 0 search/1/b #\040xmcd CDDB(tm) format CD text data 13 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/diff: -------------------------------------------------------------------------------- 1 | # $OpenBSD: diff,v 1.4 2009/04/24 18:54:34 chl Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # diff: file(1) magic for diff(1) output 5 | # 6 | 0 search/1 diff\ diff output text 7 | 0 search/1 ***\ diff output text 8 | 0 search/1 Only\ in\ diff output text 9 | 0 search/1 Common\ subdirectories:\ diff output text 10 | 11 | 0 search/1 Index: RCS/CVS diff output text 12 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/gnumeric: -------------------------------------------------------------------------------- 1 | # $OpenBSD: gnumeric,v 1.2 2009/04/26 14:17:45 chl Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # gnumeric: file(1) magic for Gnumeric spreadsheet 5 | # This entry is only semi-helpful, as Gnumeric compresses its files, so 6 | # they will ordinarily reported as "compressed", but at least -z helps 7 | 39 string =10 string 1 version 2.7 9 | >10 string 2 version 2.8 to 2.10 10 | >10 string 3 version 2.11 or later 11 | -------------------------------------------------------------------------------- /src/usr.bin/rdist/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.15 2004/01/05 02:55:28 espie Exp $ 2 | 3 | 4 | PROG= rdist 5 | CFLAGS+=-I. -I${.CURDIR} -DOS_H=\"os-openbsd.h\" 6 | SRCS= gram.y child.c client.c common.c distopt.c docmd.c expand.c \ 7 | isexec.c lookup.c message.c rdist.c 8 | CLEANFILES+=gram.c y.tab.h 9 | 10 | .include 11 | 12 | .if ${ELF_TOOLCHAIN:L} == "yes" 13 | CFLAGS+=-DEXE_TYPE=EXE_ELF 14 | .endif 15 | 16 | .depend: gram.c 17 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/allegro: -------------------------------------------------------------------------------- 1 | # $OpenBSD: allegro,v 1.1 2004/06/03 03:14:19 tedu Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # allegro: file(1) magic for Allegro datafiles 5 | # Toby Deshane 6 | # 7 | 0 belong 0x736C6821 Allegro datafile (packed) 8 | 0 belong 0x736C682E Allegro datafile (not packed/autodetect) 9 | 0 belong 0x736C682B Allegro datafile (appended exe data) 10 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/amanda: -------------------------------------------------------------------------------- 1 | # $OpenBSD: amanda,v 1.4 2004/06/03 03:14:19 tedu Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # amanda: file(1) magic for amanda file format 5 | # 6 | 0 string AMANDA:\ AMANDA 7 | >8 string TAPESTART\ DATE tape header file, 8 | >>23 string X 9 | >>>25 string >\ Unused %s 10 | >>23 string >\ DATE %s 11 | >8 string FILE\ dump file, 12 | >>13 string >\ DATE %s 13 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/dyadic: -------------------------------------------------------------------------------- 1 | # $OpenBSD: dyadic,v 1.1 2004/06/03 03:14:20 tedu Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # Dyadic: file(1) magic for Dyalog APL. 5 | # 6 | 0 byte 0xaa 7 | >1 byte <4 Dyalog APL 8 | >>1 byte 0x00 incomplete workspace 9 | >>1 byte 0x01 component file 10 | >>1 byte 0x02 external variable 11 | >>1 byte 0x03 workspace 12 | >>2 byte x version %d 13 | >>3 byte x .%d 14 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/parix: -------------------------------------------------------------------------------- 1 | # $OpenBSD: parix,v 1.1 2004/06/03 03:14:20 tedu Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # 5 | # Parix COFF executables 6 | # From: Ignatios Souvatzis 7 | # 8 | 0 beshort&0xfff 0xACE PARIX 9 | >0 byte&0xf0 0x80 T800 10 | >0 byte&0xf0 0x90 T9000 11 | >19 byte&0x02 0x02 executable 12 | >19 byte&0x02 0x00 object 13 | >19 byte&0x0c 0x00 not stripped 14 | -------------------------------------------------------------------------------- /src/usr.bin/sudo/indent.pro: -------------------------------------------------------------------------------- 1 | -br 2 | -cdb 3 | -ce 4 | -d0 5 | -di1 6 | -ei 7 | -i4 8 | -nlp 9 | -npcs 10 | -npsl 11 | -ps 12 | -sc 13 | -TYYSTYPE 14 | -TLIST 15 | -TLINK 16 | -Tu_char 17 | -Tu_short 18 | -Tu_int 19 | -Tu_long 20 | -Tushort 21 | -Tuint 22 | -Tdaddr_t 23 | -Tcaddr_t 24 | -Tino_t 25 | -Tswblk_t 26 | -Tsize_t 27 | -Ttime_t 28 | -Tdev_t 29 | -Toff_t 30 | -Tuid_t 31 | -Tgid_t 32 | -Tfixpt_t 33 | -Tkey_t 34 | -Tpaddr_t 35 | -Tfd_mask 36 | -Tfd_set 37 | -------------------------------------------------------------------------------- /src/usr.bin/mg/key.h: -------------------------------------------------------------------------------- 1 | /* $OpenBSD: key.h,v 1.5 2005/06/14 18:14:40 kjell Exp $ */ 2 | 3 | /* This file is in the public domain. */ 4 | 5 | /* key.h: Insert file for mg 2 functions that need to reference key pressed */ 6 | 7 | #define MAXKEY 8 /* maximum number of prefix chars */ 8 | 9 | struct key { /* the chacter sequence in a key */ 10 | int k_count; /* number of chars */ 11 | KCHAR k_chars[MAXKEY]; /* chars */ 12 | }; 13 | 14 | extern struct key key; 15 | -------------------------------------------------------------------------------- /src/usr.bin/encrypt/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.7 2002/06/27 19:56:03 art Exp $ 2 | 3 | # Must be static because the floppies use it through a chroot. 4 | 5 | LDSTATIC= ${STATIC} 6 | PROG= encrypt 7 | SRCS= encrypt.c pwd_gensalt.c 8 | .PATH: ${.CURDIR}/../passwd 9 | 10 | LDADD = -lutil 11 | DPADD= ${LIBUTIL} 12 | LIBEXEC?= /usr/libexec 13 | 14 | LINKS= ${BINDIR}/encrypt ${LIBEXEC}/makekey 15 | MLINKS= encrypt.1 makekey.8 16 | 17 | .include 18 | -------------------------------------------------------------------------------- /src/usr.bin/nm/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.7 2004/10/10 16:45:00 mickey Exp $ 2 | 3 | PROG= nm 4 | SRCS= nm.c elf32.c elf64.c 5 | CLEANFILES+=elf32.c elf64.c 6 | CPPFLAGS+=-I${.CURDIR} 7 | LINKS= ${BINDIR}/nm ${BINDIR}/size 8 | MAN= nm.1 size.1 9 | 10 | elf32.c: ${.CURDIR}/elf.c 11 | echo '#define ELFSIZE 32' | cat - $> > ${.TARGET} 12 | 13 | elf64.c: ${.CURDIR}/elf.c 14 | echo '#define ELFSIZE 64' | cat - $> > ${.TARGET} 15 | 16 | .include 17 | -------------------------------------------------------------------------------- /src/usr.bin/sudo/Makefile.inc: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile.inc,v 1.1 2004/01/15 21:32:03 millert Exp $ 2 | 3 | CPPFLAGS+= -I${.CURDIR}/.. 4 | CFLAGS+= -Wall 5 | 6 | .include 7 | 8 | .if exists(${.CURDIR}/../lib/${__objdir}) 9 | LDADD+= -L${.CURDIR}/../lib/${__objdir} -lsudo 10 | DPADD+= ${.CURDIR}/../lib/${__objdir}/libsudo.a 11 | .else 12 | LDADD+= -L${.CURDIR}/../lib -lsudo 13 | DPADD+= ${.CURDIR}/../lib/libsudo.a 14 | .endif 15 | -------------------------------------------------------------------------------- /src/usr.bin/aucat/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.17 2011/12/09 14:36:42 ratchov Exp $ 2 | 3 | PROG= aucat 4 | SRCS= aucat.c abuf.c aparams.c aproc.c dev.c midi.c file.c headers.c \ 5 | siofile.c miofile.c sock.c pipe.c listen.c opt.c wav.c dbg.c 6 | MAN= aucat.1 7 | CFLAGS+= -Wall -Wstrict-prototypes -Wundef -DDEBUG -I${.CURDIR}/../../lib/libsndio 8 | LDADD+= -lsndio 9 | LINKS= ${BINDIR}/aucat ${BINDIR}/sndiod 10 | MLINKS = aucat.1 sndiod.1 11 | .include 12 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/epoc: -------------------------------------------------------------------------------- 1 | # $OpenBSD: epoc,v 1.1 2004/06/03 03:14:20 tedu Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # Epoc 32 : file(1) magic for Epoc Documents [psion/osaris 5 | # Stefan Praszalowicz (hpicollo@worldnet.fr) 6 | #0 lelong 0x10000037 Epoc32 7 | >4 lelong 0x1000006D 8 | >>8 lelong 0x1000007F Word 9 | >>8 lelong 0x10000088 Sheet 10 | >>8 lelong 0x1000007D Sketch 11 | >>8 lelong 0x10000085 TextEd 12 | -------------------------------------------------------------------------------- /src/usr.bin/mail/USD.doc/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.4 2004/02/01 15:19:57 jmc Exp $ 2 | # @(#)Makefile 8.1 (Berkeley) 6/8/93 3 | 4 | DIR= usd/07.mail 5 | SRCS= mail0.nr mail1.nr mail2.nr mail3.nr mail4.nr mail5.nr mail6.nr \ 6 | mail7.nr mail8.nr mail9.nr maila.nr 7 | MACROS= -me 8 | 9 | paper.ps: ${SRCS} 10 | ${TBL} ${SRCS} | ${ROFF} > ${.TARGET} 11 | 12 | paper.txt: ${SRCS} 13 | ${TBL} ${SRCS} | ${ROFF} -Tascii > ${.TARGET} 14 | 15 | .include 16 | -------------------------------------------------------------------------------- /src/usr.bin/at/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.8 2003/02/20 20:38:08 millert Exp $ 2 | 3 | PROG= at 4 | SRCS= at.c misc.c parsetime.c 5 | CRONDIR=${.CURDIR}/../../usr.sbin/cron 6 | CFLAGS+=-I${CRONDIR} -DDEBUGGING=0 7 | MAN= at.1 atrm.1 atq.1 8 | LINKS= ${BINDIR}/at ${BINDIR}/atq \ 9 | ${BINDIR}/at ${BINDIR}/atrm \ 10 | ${BINDIR}/at ${BINDIR}/batch 11 | MLINKS= at.1 batch.1 12 | BINGRP= crontab 13 | BINMODE= 2555 14 | 15 | .PATH: ${CRONDIR} 16 | 17 | .include 18 | -------------------------------------------------------------------------------- /src/usr.bin/oldrdist/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.6 1997/04/27 20:56:51 millert Exp $ 2 | 3 | PROG= rdist 4 | CFLAGS+=-I${.CURDIR} 5 | SRCS= docmd.c expand.c lookup.c main.c server.c 6 | OBJS+= gram.o 7 | BINOWN= root 8 | BINMODE=555 9 | CLEANFILES=y.tab.h 10 | MAN= oldrdist.1 11 | 12 | realinstall: 13 | ${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP} -o ${BINOWN} -g ${BINGRP} \ 14 | -m ${BINMODE} ${PROG} ${DESTDIR}${BINDIR}/oldrdist 15 | 16 | .include 17 | -------------------------------------------------------------------------------- /src/usr.bin/sudo/noexec/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.2 2008/11/14 11:58:08 millert Exp $ 2 | 3 | .PATH: ${.CURDIR}/.. 4 | 5 | LIB= noexec 6 | NOMAN= yes 7 | SRCS= sudo_noexec.c 8 | LIBDIR= /usr/libexec 9 | 10 | DEBUGLIBS= no 11 | NOPROFILE= yes 12 | 13 | install: 14 | ${INSTALL} ${INSTALL_COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ 15 | lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \ 16 | ${DESTDIR}${LIBDIR}/sudo_noexec.so 17 | 18 | .include 19 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/magic: -------------------------------------------------------------------------------- 1 | # $OpenBSD: magic,v 1.3 2008/05/08 01:40:57 chl Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # magic: file(1) magic for magic files 5 | # 6 | 0 string #\ Magic magic text file for file(1) cmd 7 | 0 lelong 0xF11E041C magic binary file for file(1) cmd 8 | >4 lelong x (version %d) (little endian) 9 | 0 belong 0xF11E041C magic binary file for file(1) cmd 10 | >4 belong x (version %d) (big endian) 11 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/bflt: -------------------------------------------------------------------------------- 1 | # $OpenBSD: bflt,v 1.2 2008/05/14 20:45:35 chl Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # bFLT: file(1) magic for BFLT uclinux binary files 5 | # 6 | # From Philippe De Muyter 7 | # 8 | 0 string bFLT BFLT executable 9 | >4 belong x - version %ld 10 | >4 belong 4 11 | >>36 belong&0x1 0x1 ram 12 | >>36 belong&0x2 0x2 gotpic 13 | >>36 belong&0x4 0x4 gzip 14 | >>36 belong&0x8 0x8 gzdata 15 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/luks: -------------------------------------------------------------------------------- 1 | # $OpenBSD: luks,v 1.2 2009/04/26 14:17:45 chl Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # luks: file(1) magic for Linux Unified Key Setup 5 | # URL: http://luks.endorphin.org/spec 6 | # From: Anthon van der Neut 7 | 8 | 0 string LUKS\xba\xbe LUKS encrypted file, 9 | >6 beshort x ver %d 10 | >8 string x [%s, 11 | >40 string x %s, 12 | >72 string x %s] 13 | >168 string x UUID: %s 14 | -------------------------------------------------------------------------------- /src/usr.bin/yacc/PSD.doc/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.2 2004/02/01 14:38:47 jmc Exp $ 2 | # @(#)Makefile 8.1 (Berkeley) 8/14/93 3 | 4 | DIR= psd/15.yacc 5 | SRCS= ss.. ss0 ss1 ss2 ss3 ss4 ss5 ss6 ss7 ss8 ss9 ssA ssB ssa ssb ssc ssd 6 | MACROS= -ms 7 | REFER= refer -e # -p /usr/share/dict/papers/Ind 8 | 9 | paper.ps: ${SRCS} 10 | ${REFER} ${SRCS} | ${ROFF} > ${.TARGET} 11 | 12 | paper.txt: ${SRCS} 13 | ${REFER} ${SRCS} | ${ROFF} -Tascii > ${.TARGET} 14 | 15 | .include 16 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/adi: -------------------------------------------------------------------------------- 1 | # $OpenBSD: adi,v 1.1 2004/06/03 03:14:19 tedu Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # adi: file(1) magic for ADi's objects 5 | # From Gregory McGarry 6 | # 7 | 0 leshort 0x521c COFF DSP21k 8 | >18 lelong &02 executable, 9 | >18 lelong ^02 10 | >>18 lelong &01 static object, 11 | >>18 lelong ^01 relocatable object, 12 | >18 lelong &010 stripped 13 | >18 lelong ^010 not stripped 14 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/pyramid: -------------------------------------------------------------------------------- 1 | # $OpenBSD: pyramid,v 1.3 2004/06/03 03:14:20 tedu Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # pyramid: file(1) magic for Pyramids 5 | # 6 | # XXX - byte order? 7 | # 8 | 0 long 0x50900107 Pyramid 90x family executable 9 | 0 long 0x50900108 Pyramid 90x family pure executable 10 | >16 long >0 not stripped 11 | 0 long 0x5090010b Pyramid 90x family demand paged pure executable 12 | >16 long >0 not stripped 13 | -------------------------------------------------------------------------------- /libobase/include/unistd.h: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | #define S_ISTXT S_ISVTX 5 | 6 | extern int optreset; 7 | #include 8 | #undef getopt 9 | #define getopt(argc, argv, optstr) bsd_getopt(argc, argv, optstr) 10 | int bsd_getopt(int, char * const [], const char *); 11 | 12 | mode_t getmode(const void *set, mode_t mode); 13 | void *setmode(const char *mode_str); 14 | 15 | #define fflagstostr(x) "" 16 | #define issetugid() 0 17 | 18 | #include_next 19 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/applix: -------------------------------------------------------------------------------- 1 | # $OpenBSD: applix,v 1.1 2004/06/03 03:14:19 tedu Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # applix: file(1) magic for Applixware 5 | # From: Peter Soos 6 | # 7 | 0 string *BEGIN Applixware 8 | >7 string WORDS Words Document 9 | >7 string GRAPHICS Graphic 10 | >7 string RASTER Bitmap 11 | >7 string SPREADSHEETS Spreadsheet 12 | >7 string MACRO Macro 13 | >7 string BUILDER Builder Object 14 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/mercurial: -------------------------------------------------------------------------------- 1 | # $OpenBSD: mercurial,v 1.2 2009/04/26 14:17:45 chl Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # mercurial: file(1) magic for Mercurial changeset bundles 5 | # http://www.selenic.com/mercurial/wiki/ 6 | # 7 | # Jesse Glick (jesse.glick@sun.com) 8 | # 9 | 10 | 0 string HG10 Mercurial changeset bundle 11 | >4 string UN (uncompressed) 12 | >4 string GZ (gzip compressed) 13 | >4 string BZ (bzip2 compressed) 14 | -------------------------------------------------------------------------------- /libobase/ohash_int.h: -------------------------------------------------------------------------------- 1 | /* $OpenBSD: ohash_int.h,v 1.3 2006/01/16 15:52:25 espie Exp $ */ 2 | 3 | #include 4 | #include 5 | #include 6 | #include 7 | #include "ohash.h" 8 | 9 | struct _ohash_record { 10 | u_int32_t hv; 11 | const char *p; 12 | }; 13 | 14 | #define DELETED ((const char *)h) 15 | #define NONE (h->size) 16 | 17 | /* Don't bother changing the hash table if the change is small enough. */ 18 | #define MINSIZE (1UL << 4) 19 | #define MINDELETED 4 20 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/btsnoop: -------------------------------------------------------------------------------- 1 | # $OpenBSD: btsnoop,v 1.2 2008/05/14 20:45:35 chl Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # BTSnoop: file(1) magic for BTSnoop files 5 | # 6 | # From 7 | 0 string btsnoop\0 BTSnoop 8 | >8 belong x version %d, 9 | >12 belong 1001 Unencapsulated HCI 10 | >12 belong 1002 HCI UART (H4) 11 | >12 belong 1003 HCI BCSP 12 | >12 belong 1004 HCI Serial (H5) 13 | >>12 belong x type %d 14 | -------------------------------------------------------------------------------- /src/usr.bin/asn1_compile/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 2003/06/25 21:20:12 deraadt Exp $ 2 | 3 | PROG= asn1_compile 4 | NOMAN= 5 | SRCS= parse.c lex.l main.c hash.c symbol.c gen.c \ 6 | gen_encode.c gen_decode.c gen_free.c gen_length.c gen_copy.c \ 7 | gen_glue.c getarg.c 8 | 9 | CFLAGS+=-I. -I$(.CURDIR) -DFALSE=0 -DTRUE=1 -DHAVE_ARC4RANDOM 10 | 11 | CLEANFILES= parse.[ch] lex.c 12 | 13 | parse.h parse.c: parse.y 14 | ${YACC} -d -o parse.c ${.ALLSRC} 15 | 16 | .include 17 | -------------------------------------------------------------------------------- /src/usr.bin/mklocale/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.2 2009/08/08 19:37:14 sobrado Exp $ 2 | # $NetBSD: Makefile,v 1.11 2003/08/01 17:04:04 lukem Exp $ 3 | 4 | .include 5 | 6 | PROG= mklocale 7 | SRCS= yacc.y lex.l 8 | CPPFLAGS+= -I. -I${.CURDIR} -I${.CURDIR}/../../lib/libc -I${.CURDIR}/../../lib/libc/include 9 | YHEADER= 1 10 | 11 | yacc.c yacc.h: yacc.y 12 | ${YACC} -d ${.ALLSRC} && mv y.tab.c yacc.c && mv y.tab.h yacc.h 13 | 14 | 15 | CLEANFILES+= yacc.c yacc.h 16 | .include 17 | -------------------------------------------------------------------------------- /src/bin/chmod/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.7 2001/09/06 18:52:55 mickey Exp $ 2 | 3 | PROG= chmod 4 | CFLAGS+=-DSUPPORT_DOT 5 | MAN= chmod.1 chgrp.1 chown.8 chflags.1 6 | LINKS= ${BINDIR}/chmod ${BINDIR}/chgrp \ 7 | ${BINDIR}/chmod /sbin/chown 8 | 9 | # XXX compatibility 10 | afterinstall: 11 | (cd ${DESTDIR}/usr/sbin; \ 12 | ln -sf ../../sbin/chown .; \ 13 | ln -sf ../../bin/chgrp .) 14 | (cd ${DESTDIR}/usr/bin; \ 15 | ln -sf ../../bin/chmod chflags) 16 | 17 | 18 | .include 19 | -------------------------------------------------------------------------------- /src/usr.bin/bgplg/bgplgsh/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.1 2006/12/11 23:10:11 reyk Exp $ 2 | 3 | .PATH: ${.CURDIR}/.. 4 | 5 | PROG= bgplgsh 6 | SRCS= bgplgsh.c misc.c 7 | CFLAGS+= -Wall 8 | CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes 9 | CLFAGS+= -Wmissing-declarations -Wredundant-decls 10 | CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual 11 | CFLAGS+= -Wsign-compare 12 | CFLAGS+= -I${.CURDIR} 13 | LDADD= -ledit -lncurses 14 | MAN= bgplgsh.8 15 | 16 | BINDIR= /usr/bin 17 | 18 | .include 19 | -------------------------------------------------------------------------------- /src/usr.bin/ssh/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.15 2010/02/09 08:55:31 markus Exp $ 2 | 3 | .include 4 | 5 | SUBDIR= lib ssh sshd ssh-add ssh-keygen ssh-agent scp sftp-server \ 6 | ssh-keysign ssh-keyscan sftp ssh-pkcs11-helper 7 | 8 | distribution: 9 | ${INSTALL} -C -o root -g wheel -m 0644 ${.CURDIR}/ssh_config \ 10 | ${DESTDIR}/etc/ssh/ssh_config 11 | ${INSTALL} -C -o root -g wheel -m 0644 ${.CURDIR}/sshd_config \ 12 | ${DESTDIR}/etc/ssh/sshd_config 13 | 14 | .include 15 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/zilog: -------------------------------------------------------------------------------- 1 | # $OpenBSD: zilog,v 1.4 2004/06/03 03:14:20 tedu Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # zilog: file(1) magic for Zilog Z8000. 5 | # 6 | # Was it big-endian or little-endian? My Product Specification doesn't 7 | # say. 8 | # 9 | 0 long 0xe807 object file (z8000 a.out) 10 | 0 long 0xe808 pure object file (z8000 a.out) 11 | 0 long 0xe809 separate object file (z8000 a.out) 12 | 0 long 0xe805 overlay object file (z8000 a.out) 13 | -------------------------------------------------------------------------------- /src/usr.bin/bgplg/bgplg/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.1 2006/12/11 23:10:11 reyk Exp $ 2 | 3 | .PATH: ${.CURDIR}/.. 4 | 5 | PROG= bgplg 6 | SRCS= bgplg.c misc.c 7 | CFLAGS+= -Wall 8 | CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes 9 | CLFAGS+= -Wmissing-declarations -Wredundant-decls 10 | CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual 11 | CFLAGS+= -Wsign-compare 12 | CFLAGS+= -I${.CURDIR} 13 | LDSTATIC= -static 14 | MAN= bgplg.8 15 | 16 | BINDIR= /var/www/cgi-bin 17 | BINMODE= 000 18 | 19 | .include 20 | -------------------------------------------------------------------------------- /src/usr.bin/calendar/calendars/calendar.world: -------------------------------------------------------------------------------- 1 | /* 2 | * World wide calendar files, except national calendars 3 | * 4 | * $OpenBSD: calendar.world,v 1.1 1996/12/05 06:04:51 millert Exp $ 5 | */ 6 | 7 | #ifndef _calendar_world_ 8 | #define _calendar_world_ 9 | 10 | #include 11 | #include 12 | #include 13 | #include 14 | #include 15 | #include 16 | #include 17 | 18 | #endif /* !_calendar_world_ */ 19 | -------------------------------------------------------------------------------- /src/usr.bin/newsyslog/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.5 2001/08/21 17:25:05 deraadt Exp $ 2 | 3 | PROG= newsyslog 4 | 5 | CFLAGS+= -DCONF=\"/etc/newsyslog.conf\" 6 | CFLAGS+= -DPIDFILE=\"/var/run/syslog.pid\" 7 | CFLAGS+= -DCOMPRESS=\"/usr/bin/gzip\" 8 | CFLAGS+= -DCOMPRESS_POSTFIX=\".gz\" 9 | CFLAGS+= -DSTATS_DIR=\"/var/run\" 10 | CFLAGS+= -DSENDMAIL=\"/usr/sbin/sendmail\" 11 | CFLAGS+= -DQUAD_OFF_T 12 | 13 | BINOWN= root 14 | 15 | MAN= newsyslog.8 16 | MLINKS= newsyslog.8 newsyslog.conf.5 17 | 18 | .include 19 | -------------------------------------------------------------------------------- /src/usr.bin/vi/docs/interp/spell.ok: -------------------------------------------------------------------------------- 1 | API 2 | BERR 3 | Mapt 4 | Nvi 5 | Perl 6 | SCR 7 | SYSERR 8 | Tcl 9 | VINFO 10 | aline 11 | callback 12 | chp 13 | cmd 14 | cmds 15 | dline 16 | enum 17 | escreen 18 | excmd 19 | freeline 20 | getbuf 21 | getcursor 22 | getline 23 | getmotion 24 | gline 25 | iline 26 | int 27 | interp 28 | iscreen 29 | lenp 30 | linep 31 | lline 32 | lno 33 | lnop 34 | lp 35 | mapt 36 | maptype 37 | movetype 38 | msgq 39 | msgtype 40 | nvi 41 | recno 42 | setcursor 43 | sline 44 | strerror 45 | textp 46 | vicmd 47 | -------------------------------------------------------------------------------- /src/usr.bin/compile_et/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.2 2000/02/19 12:07:17 hin Exp $ 2 | 3 | PROG= compile_et 4 | SRCS= compile_et.c error_table.c et_lex.lex.l 5 | CFLAGS+=-I. -I${.CURDIR} -I${.CURDIR}/../../lib/libcom_err 6 | DPADD= ${LIBL} 7 | LDADD= -ll 8 | CLEANFILES=error_table.h error_table.c y.tab.h et_lex.lex.c 9 | 10 | error_table.h error_table.c: error_table.y 11 | ${YACC} -d -o error_table.c ${.CURDIR}/error_table.y 12 | 13 | beforedepend: et_lex.lex.c 14 | error_table.o: et_lex.lex.c 15 | 16 | .include 17 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/llvm: -------------------------------------------------------------------------------- 1 | # $OpenBSD: llvm,v 1.2 2009/04/26 14:17:45 chl Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # llvm: file(1) magic for LLVM byte-codes 5 | # URL: http://llvm.cs.uiuc.edu/docs/BytecodeFormat.html#signature 6 | # From: Al Stone 7 | 8 | 0 string llvm LLVM byte-codes, uncompressed 9 | 0 string llvc0 LLVM byte-codes, null compression 10 | 0 string llvc1 LLVM byte-codes, gzip compression 11 | 0 string llvc2 LLVM byte-codes, bzip2 compression 12 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/nitpicker: -------------------------------------------------------------------------------- 1 | # $OpenBSD: nitpicker,v 1.1 2004/06/03 03:14:20 tedu Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # nitpicker: file(1) magic for Flowfiles. 5 | # From: Christian Jachmann http://www.nitpicker.de 6 | 0 string NPFF NItpicker Flow File 7 | >4 byte x V%d. 8 | >5 byte x %d 9 | >6 bedate x started: %s 10 | >10 bedate x stopped: %s 11 | >14 belong x Bytes: %u 12 | >18 belong x Bytes1: %u 13 | >22 belong x Flows: %u 14 | >26 belong x Pkts: %u 15 | -------------------------------------------------------------------------------- /src/usr.bin/banner/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.3 1997/09/21 11:48:23 deraadt Exp $ 2 | 3 | PROG= banner 4 | 5 | SRCS= $(PROG).c chset.c 6 | 7 | # if you want to make chars from the letter involved (like lpd), then 8 | # un-comment the following. 9 | #CFLAGS+= -DNOHASH_ONLY 10 | 11 | # if you want to use the same char set that lpd uses then un-comment 12 | # the following. Lpd uses a much nicer character set but banner 13 | # output will not be the same as the real thing. 14 | #CFLAGS+= -DLPD_CHSET 15 | 16 | .include 17 | 18 | -------------------------------------------------------------------------------- /src/usr.bin/mg/macro.h: -------------------------------------------------------------------------------- 1 | /* $OpenBSD: macro.h,v 1.7 2005/11/18 20:56:53 deraadt Exp $ */ 2 | 3 | /* This file is in the public domain. */ 4 | 5 | /* definitions for keyboard macros */ 6 | 7 | #define MAXMACRO 256 /* maximum functs in a macro */ 8 | 9 | extern int inmacro; 10 | extern int macrodef; 11 | extern int macrocount; 12 | 13 | union macrodef { 14 | PF m_funct; 15 | int m_count; /* for count-prefix */ 16 | }; 17 | 18 | extern union macrodef macro[MAXMACRO]; 19 | 20 | extern struct line *maclhead; 21 | extern struct line *maclcur; 22 | -------------------------------------------------------------------------------- /src/usr.bin/vi/docs/USD.doc/exref/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.4 2004/01/30 23:14:26 jmc Exp $ 2 | 3 | 4 | DIR= usd/13.ex 5 | SRCS= ex.rm 6 | EXTRA= ex.summary 7 | MACROS= -ms 8 | CLEANFILES=summary.* 9 | 10 | paper.ps: ${SRCS} summary.ps 11 | ${ROFF} ${SRCS} > ${.TARGET} 12 | paper.txt: ${SRCS} summary.txt 13 | ${ROFF} -Tascii ${SRCS} > ${.TARGET} 14 | 15 | summary.ps: ex.summary 16 | ${TBL} ex.summary | ${ROFF} > ${.TARGET} 17 | summary.txt: ex.summary 18 | ${TBL} ex.summary | ${ROFF} -Tascii > ${.TARGET} 19 | 20 | .include 21 | -------------------------------------------------------------------------------- /src/usr.bin/cpp/Makefile: -------------------------------------------------------------------------------- 1 | # $OpenBSD: Makefile,v 1.10 2010/05/10 18:20:31 drahn Exp $ 2 | 3 | .include 4 | 5 | NOMAN= 6 | 7 | PROG=cpp 8 | SRCS= 9 | INSTALL_STRIP= 10 | 11 | cpp: cpp.sh 12 | .if ${COMPILER_VERSION:L} == "gcc3" 13 | sed -e 's/@GNUC@/-D__GNUC__/' -e 's/@dollaropt@//' ${.CURDIR}/cpp.sh >$@ 14 | .elif ${COMPILER_VERSION:L} == "gcc4" 15 | sed -e 's/@GNUC@//' -e 's/@dollaropt@//' ${.CURDIR}/cpp.sh >$@ 16 | .else 17 | sed -e 's/@GNUC@/-D__GNUC__/' -e 's/@dollaropt@/-$$/' ${.CURDIR}/cpp.sh >$@ 18 | .endif 19 | 20 | .include 21 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/cisco: -------------------------------------------------------------------------------- 1 | # $OpenBSD: cisco,v 1.1 2004/06/03 03:14:19 tedu Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # cisco: file(1) magic for cisco Systems routers 5 | # 6 | # Most cisco file-formats are covered by the generic elf code 7 | # 8 | # Microcode files are non-ELF, 0x8501 conflicts with NetBSD/alpha. 9 | 0 belong&0xffffff00 0x85011400 cisco IOS microcode 10 | >7 string >\0 for '%s' 11 | 0 belong&0xffffff00 0x8501cb00 cisco IOS experimental microcode 12 | >7 string >\0 for '%s' 13 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/fcs: -------------------------------------------------------------------------------- 1 | # $OpenBSD: fcs,v 1.1 2004/06/03 03:14:20 tedu Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # fcs: file(1) magic for FCS (Flow Cytometry Standard) data files 5 | # From Roger Leigh 6 | 0 string FCS1.0 Flow Cytometry Standard (FCS) data, version 1.0 7 | 0 string FCS2.0 Flow Cytometry Standard (FCS) data, version 2.0 8 | 0 string FCS3.0 Flow Cytometry Standard (FCS) data, version 3.0 9 | 10 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/vxl: -------------------------------------------------------------------------------- 1 | # $OpenBSD: vxl,v 1.1 2004/06/03 03:14:20 tedu Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # VXL: file(1) magic for VXL binary IO data files 5 | # 6 | # from Ian Scott 7 | # 8 | # VXL is a collection of C++ libraries for Computer Vision. 9 | # See the vsl chapter in the VXL Book for more info 10 | # http://www.isbe.man.ac.uk/public_vxl_doc/books/vxl/book.html 11 | # http:/vxl.sf.net 12 | 13 | 2 lelong 0x472b2c4e VXL data file, 14 | >0 leshort >0 schema version no %d 15 | -------------------------------------------------------------------------------- /src/usr.bin/file/magdir/xdelta: -------------------------------------------------------------------------------- 1 | # $OpenBSD: xdelta,v 1.1 2004/06/03 03:14:20 tedu Exp $ 2 | 3 | #------------------------------------------------------------------------------ 4 | # file(1) magic(5) data for xdelta Josh MacDonald 5 | # 6 | 0 string %XDELTA% XDelta binary patch file 0.14 7 | 0 string %XDZ000% XDelta binary patch file 0.18 8 | 0 string %XDZ001% XDelta binary patch file 0.20 9 | 0 string %XDZ002% XDelta binary patch file 1.0 10 | 0 string %XDZ003% XDelta binary patch file 1.0.4 11 | 0 string %XDZ004% XDelta binary patch file 1.1 12 | -------------------------------------------------------------------------------- /src/usr.bin/mg/version.c: -------------------------------------------------------------------------------- 1 | /* $OpenBSD: version.c,v 1.9 2005/06/14 18:14:40 kjell Exp $ */ 2 | 3 | /* This file is in the public domain. */ 4 | 5 | /* 6 | * This file contains the string that gets written 7 | * out by the emacs-version command. 8 | */ 9 | 10 | #include "def.h" 11 | 12 | const char version[] = "Mg 2a"; 13 | 14 | /* 15 | * Display the version. All this does 16 | * is copy the version string onto the echo line. 17 | */ 18 | /* ARGSUSED */ 19 | int 20 | showversion(int f, int n) 21 | { 22 | ewprintf("%s", version); 23 | return (TRUE); 24 | } 25 | -------------------------------------------------------------------------------- /src/usr.bin/tcpbench/Makefile: -------------------------------------------------------------------------------- 1 | MAN= tcpbench.1 2 | 3 | CDIAGFLAGS= -Wall 4 | #CDIAGFLAGS+= -Werror 5 | CDIAGFLAGS+= -Wpointer-arith 6 | CDIAGFLAGS+= -Wuninitialized 7 | CDIAGFLAGS+= -Wstrict-prototypes 8 | CDIAGFLAGS+= -Wmissing-prototypes 9 | CDIAGFLAGS+= -Wunused 10 | CDIAGFLAGS+= -Wsign-compare 11 | CDIAGFLAGS+= -Wbounded 12 | CDIAGFLAGS+= -Wshadow 13 | 14 | #DEBUG=-g 15 | 16 | PROG=tcpbench 17 | 18 | LDADD=-lkvm -levent 19 | DPADD=${LIBKVM} ${LIBEVENT} 20 | 21 | #BINGRP= kmem 22 | #BINMODE=2555 23 | 24 | .include 25 | -------------------------------------------------------------------------------- /src/usr.bin/calendar/calendars/calendar.all: -------------------------------------------------------------------------------- 1 | /* 2 | * International and national calendar files 3 | * 4 | * $OpenBSD: calendar.all,v 1.4 2006/07/03 15:46:22 jasper Exp $ 5 | */ 6 | 7 | #ifndef _calendar_all_ 8 | #define _calendar_all_ 9 | 10 | #include 11 | #include 12 | #include 13 | #include 14 | #include 15 | #include 16 | #include 17 | #include 18 | #include 19 | 20 | #endif /* !_calendar_all_ */ 21 | --------------------------------------------------------------------------------