Radix cross Linux

The main Radix cross Linux repository contains the build scripts of packages, which have the most complete and common functionality for desktop machines

452 Commits   2 Branches   1 Tag
Index: dump/getopt.h
===================================================================
--- dump/getopt.h	(nonexistent)
+++ dump/getopt.h	(revision 5)
@@ -0,0 +1,87 @@
+/*
+ * Copyright (c) 2000-2001 Silicon Graphics, Inc.
+ * All Rights Reserved.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it would be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write the Free Software Foundation,
+ * Inc.,  51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+ */
+#ifndef GETOPT_H
+#define GETOPT_H
+
+/* getopt.h	common getopt  command string
+ *
+ * several modules parse the command line looking for arguments specific to
+ * that module. Unfortunately, each of the getopt(3) calls needs the
+ * complete command string, to know how to parse. This file's purpose is
+ * to contain that command string. It also abstracts the option letters,
+ * facilitating easy changes.
+ */
+
+#define GETOPT_CMDSTRING	"ab:c:d:ef:hl:mop:qs:t:v:z:AB:CDEFG:H:I:JKL:M:NO:PRSTUVWY:"
+
+#define GETOPT_DUMPASOFFLINE	'a'	/* dump DMF dualstate files as offline */
+#define	GETOPT_BLOCKSIZE	'b'	/* blocksize for rmt */
+#define	GETOPT_ALERTPROG	'c'	/* Media Change Alert prog(content.c) */
+#define	GETOPT_FILESZ		'd'	/* Media file size to use in Mb */
+#define GETOPT_EXCLUDEFILES	'e'	/* allow files to be excluded */
+#define	GETOPT_DUMPDEST		'f'	/* dump dest. file (drive.c) */
+/*				'g'	*/
+#define	GETOPT_HELP		'h'	/* display version and usage */
+/*				'i'	*/
+/*				'j'	*/
+/*				'k'	*/
+#define	GETOPT_LEVEL		'l'	/* dump level (content_inode.c) */
+#define GETOPT_MINRMT		'm'	/* use minimal rmt protocol */
+/*				'n'	*/
+#define GETOPT_OVERWRITE	'o'	/* overwrite data on tape */
+#define GETOPT_PROGRESS		'p'	/* interval between progress reports */
+#define	GETOPT_QIC		'q'	/* option to tell dump it's a QIC tape */
+/*				'r'	*/
+#define	GETOPT_SUBTREE		's'	/* subtree dump (content_inode.c) */
+#define GETOPT_DUMPTIME		't'	/* use mtime of file as dump time */
+/*				'u' */
+#define	GETOPT_VERBOSITY	'v'	/* verbosity level (0 to 4) */
+/*				'w' */
+/*				'x'	   used in irix for xvm snapshot */
+/*				'y' */
+#define GETOPT_MAXDUMPFILESIZE	'z'	/* prune files over specified size */
+#define	GETOPT_NOEXTATTR	'A'	/* do not dump ext. file attributes */
+#define	GETOPT_BASED		'B'	/* specify session to base increment */
+#define GETOPT_RECCHKSUM	'C'	/* use record checksums */
+#define GETOPT_NOUNCHANGEDDIRS	'D'	/* skip unchanged directories */
+#define	GETOPT_ERASE		'E'	/* pre-erase media */
+#define GETOPT_FORCE		'F'	/* don't prompt (getopt.c) */
+#define GETOPT_MINSTACKSZ	'G'	/* minimum stack size (bytes) */
+#define GETOPT_MAXSTACKSZ	'H'	/* maximum stack size (bytes) */
+#define GETOPT_INVPRINT         'I'     /* just display the inventory */
+#define	GETOPT_NOINVUPDATE	'J'	/* do not update the dump inventory */
+#define GETOPT_FMT2COMPAT	'K'	/* use dump format 2 for compat with old restore */
+#define	GETOPT_DUMPLABEL	'L'	/* dump session label (global.c) */
+#define	GETOPT_MEDIALABEL	'M'	/* media object label (media.c) */
+#define	GETOPT_TIMESTAMP	'N'	/* show timestamps in log msgs */
+#define	GETOPT_OPTFILE		'O'	/* specifycmd line options file */
+#define	GETOPT_RINGPIN		'P'	/* pin down I/O buffer ring */
+/*				'Q'	*/
+#define	GETOPT_RESUME		'R'	/* resume intr dump (content_inode.c) */
+#define	GETOPT_SINGLEMFILE	'S'	/* obsolete - now the default */
+#define	GETOPT_NOTIMEOUTS	'T'	/* don't timeout dialogs */
+#define	GETOPT_UNLOAD		'U'	/* unload media when change needed */
+#define	GETOPT_SHOWLOGSS	'V'	/* show subsystem of log messages */
+#define	GETOPT_SHOWLOGLEVEL	'W'	/* show level of log messages */
+/*				'X'	*/
+#define	GETOPT_RINGLEN		'Y'	/* specify I/O buffer ring length */
+/*				'Z'	   used on irix for miniroot */
+
+#endif /* GETOPT_H */
+
+#include_next <getopt.h>
Index: dump
===================================================================
--- dump	(nonexistent)
+++ dump	(revision 5)

Property changes on: dump
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,73 ##
+
+# install dir
+dist
+
+# Target build dirs
+.a1x-newlib
+.a2x-newlib
+.at91sam7s-newlib
+
+.build-machine
+
+.a1x-glibc
+.a2x-glibc
+.h3-glibc
+.h5-glibc
+.i586-glibc
+.i686-glibc
+.imx6-glibc
+.jz47xx-glibc
+.makefile
+.am335x-glibc
+.omap543x-glibc
+.p5600-glibc
+.power8-glibc
+.power8le-glibc
+.power9-glibc
+.power9le-glibc
+.m1000-glibc
+.riscv64-glibc
+.rk328x-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.dist
+.rootfs
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+.requires
+.requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Descriptions
+*.dsc
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# backup copies
+*~
Index: inventory/getopt.h
===================================================================
--- inventory/getopt.h	(nonexistent)
+++ inventory/getopt.h	(revision 5)
@@ -0,0 +1,52 @@
+/*
+ * Copyright (c) 2000-2001 Silicon Graphics, Inc.
+ * All Rights Reserved.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it would be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write the Free Software Foundation,
+ * Inc.,  51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+ */
+#ifndef GETOPT_H
+#define GETOPT_H
+
+/* getopt.h	common getopt  command string
+ *
+ * several modules parse the command line looking for arguments specific to
+ * that module. Unfortunately, each of the getopt(3) calls needs the
+ * complete command string, to know how to parse. This file's purpose is
+ * to contain that command string. It also abstracts the option letters,
+ * facilitating easy changes.
+ */
+
+#define GETOPT_CMDSTRING	"gwrqdL:u:l:s:t:v:m:f:i"
+
+#define	GETOPT_DUMPDEST		'f'	/* dump dest. file (drive.c) */
+#define	GETOPT_LEVEL		'l'	/* dump level (content_inode.c) */
+#define	GETOPT_SUBTREE		's'	/* subtree dump (content_inode.c) */
+#define	GETOPT_VERBOSITY	'v'	/* verbosity level (0 to 4) */
+#define	GETOPT_DUMPLABEL	'L'	/* dump session label (global.c) */
+#define	GETOPT_MEDIALABEL	'M'	/* media object label (content.c) */
+#define	GETOPT_RESUME		'R'	/* resume intr dump (content_inode.c) */
+#define GETOPT_INVPRINT         'i'     /* just display the inventory */
+/*
+ * f - dump destination:	drive.c
+ * l - dump level		content_inode.c
+ * s - subtree			content.c
+ * v - verbosity		mlog.c
+ * L - dump session label	global.c
+ * M - media object label	media.c
+ * R - resume interrupted dump	content_inode.c
+ */
+
+#endif /* GETOPT_H */
+
+#include_next <getopt.h>
Index: inventory
===================================================================
--- inventory	(nonexistent)
+++ inventory	(revision 5)

Property changes on: inventory
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,73 ##
+
+# install dir
+dist
+
+# Target build dirs
+.a1x-newlib
+.a2x-newlib
+.at91sam7s-newlib
+
+.build-machine
+
+.a1x-glibc
+.a2x-glibc
+.h3-glibc
+.h5-glibc
+.i586-glibc
+.i686-glibc
+.imx6-glibc
+.jz47xx-glibc
+.makefile
+.am335x-glibc
+.omap543x-glibc
+.p5600-glibc
+.power8-glibc
+.power8le-glibc
+.power9-glibc
+.power9le-glibc
+.m1000-glibc
+.riscv64-glibc
+.rk328x-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.dist
+.rootfs
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+.requires
+.requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Descriptions
+*.dsc
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# backup copies
+*~
Index: invutil/getopt.h
===================================================================
--- invutil/getopt.h	(nonexistent)
+++ invutil/getopt.h	(revision 5)
@@ -0,0 +1,36 @@
+/*
+ * Copyright (c) 2000-2002 Silicon Graphics, Inc.
+ * All Rights Reserved.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it would be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write the Free Software Foundation,
+ * Inc.,  51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+ */
+#ifndef GETOPT_H
+#define GETOPT_H
+
+#define GETOPT_CMDSTRING	"dilnu:wCFM:m:s:"
+
+#define GETOPT_DEBUG		'd'	/* debug */
+#define GETOPT_INTERACTIVE	'i'	/* interactive mode */
+#define GETOPT_NONINTERACTIVE	'n'	/* non interactive mode - obsoleted by -F */
+#define GETOPT_UUID		'u'	/* prune uuid */
+#define GETOPT_WAITFORLOCKS	'w'	/* wait for locks */
+#define GETOPT_CHECKPRUNEFSTAB	'C'	/* check and prune fstab */
+#define GETOPT_FORCE		'F'	/* force - do not ask for confirmation */
+#define GETOPT_PRUNEMNT		'M'	/* prune mount point */
+#define GETOPT_PRUNEMEDIALABEL	'm'	/* prune media label */
+#define GETOPT_PRUNESESSION	's'	/* prune session id */
+
+#endif /* GETOPT_H */
+
+#include_next <getopt.h>
Index: invutil
===================================================================
--- invutil	(nonexistent)
+++ invutil	(revision 5)

Property changes on: invutil
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,73 ##
+
+# install dir
+dist
+
+# Target build dirs
+.a1x-newlib
+.a2x-newlib
+.at91sam7s-newlib
+
+.build-machine
+
+.a1x-glibc
+.a2x-glibc
+.h3-glibc
+.h5-glibc
+.i586-glibc
+.i686-glibc
+.imx6-glibc
+.jz47xx-glibc
+.makefile
+.am335x-glibc
+.omap543x-glibc
+.p5600-glibc
+.power8-glibc
+.power8le-glibc
+.power9-glibc
+.power9le-glibc
+.m1000-glibc
+.riscv64-glibc
+.rk328x-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.dist
+.rootfs
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+.requires
+.requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Descriptions
+*.dsc
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# backup copies
+*~
Index: restore/getopt.h
===================================================================
--- restore/getopt.h	(nonexistent)
+++ restore/getopt.h	(revision 5)
@@ -0,0 +1,86 @@
+/*
+ * Copyright (c) 2000-2001 Silicon Graphics, Inc.
+ * All Rights Reserved.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it would be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write the Free Software Foundation,
+ * Inc.,  51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+ */
+#ifndef GETOPT_H
+#define GETOPT_H
+
+/* getopt.h	common getopt  command string
+ *
+ * several modules parse the command line looking for arguments specific to
+ * that module. Unfortunately, each of the getopt(3) calls needs the
+ * complete command string, to know how to parse. This file's sole
+ * purpose is to contain that command string.
+ */
+
+#define GETOPT_CMDSTRING	"a:b:c:def:himn:op:qrs:tv:wABCDEFG:H:I:JKL:M:NO:PQRS:TUVWX:Y:"
+
+#define GETOPT_WORKSPACE	'a'	/* workspace dir (content.c) */
+#define GETOPT_BLOCKSIZE        'b'     /* blocksize for rmt */
+#define GETOPT_ALERTPROG        'c'     /* Media Change Alert prog(content.c) */
+#define GETOPT_PV766024		'd'	/* DRIVE_ERROR_MEDIA for pv#766024 */
+#define	GETOPT_EXISTING		'e'	/* don't overwrite existing files */
+#define	GETOPT_DUMPDEST		'f'	/* dump src. file (drive.c) */
+/*				'g' */
+#define	GETOPT_HELP		'h'	/* display version and usage */
+#define	GETOPT_INTERACTIVE	'i'	/* interactive subtree selection */
+/*				'j' */
+/*				'k' */
+/*				'l' */
+#define GETOPT_MINRMT		'm'	/* use minimal rmt protocol */
+#define	GETOPT_NEWER		'n'	/* only restore files newer than arg */
+#define	GETOPT_OWNER		'o'	/* restore owner/grp even if not root */
+#define GETOPT_PROGRESS		'p'	/* interval between progress reports */
+#define	GETOPT_QIC		'q'	/* option to tell dump it's a QIC tape */
+#define	GETOPT_CUMULATIVE	'r'	/* accumulating restore (content.c) */
+#define	GETOPT_SUBTREE		's'	/* subtree restore (content.c) */
+#define	GETOPT_TOC		't'	/* display contents only (content.c) */
+/*				'u' */
+#define	GETOPT_VERBOSITY	'v'	/* verbosity level (0 to 4) */
+#define	GETOPT_SMALLWINDOW	'w'	/* use a small window for dir entries */
+/*				'x' */
+/*				'y' */
+/*				'z' */
+#define	GETOPT_NOEXTATTR	'A'	/* do not restore ext. file attr. */
+#define GETOPT_ROOTPERM		'B'	/* restore ownership and permissions for root directory */
+#define GETOPT_RECCHKSUM	'C'	/* use record checksums */
+#define GETOPT_SETDM		'D'	/* set DMAPI event mask and state */
+#define	GETOPT_CHANGED		'E'	/* overwrite if missing or old */
+#define GETOPT_FORCE		'F'	/* don't prompt (getopt.c) */
+#define GETOPT_MINSTACKSZ	'G'	/* minimum stack size (bytes) */
+#define GETOPT_MAXSTACKSZ	'H'	/* maximum stack size (bytes) */
+#define GETOPT_INVPRINT         'I'     /* just display the inventory */
+#define	GETOPT_NOINVUPDATE	'J'	/* do not update the dump inventory */
+#define GETOPT_FMT2COMPAT	'K'	/* force use format 2 gen numbers */
+#define	GETOPT_DUMPLABEL	'L'	/* dump session label (global.c) */
+#define	GETOPT_MEDIALABEL	'M'	/* media object label (media.c) */
+#define	GETOPT_TIMESTAMP	'N'	/* show timestamps in log msgs */
+#define	GETOPT_OPTFILE		'O'	/* specifycmd line options file */
+#define	GETOPT_RINGPIN		'P'	/* pin down I/O buffer ring */
+#define GETOPT_SESSCPLT		'Q'	/* force completion of intr. session */
+#define	GETOPT_RESUME		'R'	/* resume intr rest (content.c) */
+#define	GETOPT_SESSIONID	'S'	/* dump session uuid (global.c) */
+#define	GETOPT_NOTIMEOUTS	'T'	/* don't timeout dialogs */
+#define	GETOPT_UNLOAD		'U'	/* unload media when change needed */
+#define	GETOPT_SHOWLOGSS	'V'	/* show subsystem of log messages */
+#define	GETOPT_SHOWLOGLEVEL	'W'	/* show level of log messages */
+#define	GETOPT_NOSUBTREE	'X'	/* subtree to exclude */
+#define	GETOPT_RINGLEN		'Y'	/* specify I/O buffer ring length */
+/*				'Z'	   used on irix for miniroot */
+
+#endif /* GETOPT_H */
+
+#include_next <getopt.h>
Index: restore
===================================================================
--- restore	(nonexistent)
+++ restore	(revision 5)

Property changes on: restore
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,73 ##
+
+# install dir
+dist
+
+# Target build dirs
+.a1x-newlib
+.a2x-newlib
+.at91sam7s-newlib
+
+.build-machine
+
+.a1x-glibc
+.a2x-glibc
+.h3-glibc
+.h5-glibc
+.i586-glibc
+.i686-glibc
+.imx6-glibc
+.jz47xx-glibc
+.makefile
+.am335x-glibc
+.omap543x-glibc
+.p5600-glibc
+.power8-glibc
+.power8le-glibc
+.power9-glibc
+.power9le-glibc
+.m1000-glibc
+.riscv64-glibc
+.rk328x-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.dist
+.rootfs
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+.requires
+.requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Descriptions
+*.dsc
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# backup copies
+*~
Index: .
===================================================================
--- .	(nonexistent)
+++ .	(revision 5)

Property changes on: .
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,73 ##
+
+# install dir
+dist
+
+# Target build dirs
+.a1x-newlib
+.a2x-newlib
+.at91sam7s-newlib
+
+.build-machine
+
+.a1x-glibc
+.a2x-glibc
+.h3-glibc
+.h5-glibc
+.i586-glibc
+.i686-glibc
+.imx6-glibc
+.jz47xx-glibc
+.makefile
+.am335x-glibc
+.omap543x-glibc
+.p5600-glibc
+.power8-glibc
+.power8le-glibc
+.power9-glibc
+.power9le-glibc
+.m1000-glibc
+.riscv64-glibc
+.rk328x-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.dist
+.rootfs
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+.requires
+.requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Descriptions
+*.dsc
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# backup copies
+*~