summaryrefslogtreecommitdiff
path: root/rpmpopt.in
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2003-12-22 07:47:45 +0000
committerjbj <devnull@localhost>2003-12-22 07:47:45 +0000
commitbea918bb7741d0e4b3f8ba134014bdfdd4214ce4 (patch)
treec916a0ac6841607a61cde84147e4be534fd28ece /rpmpopt.in
parent3a3b74989a0e9986706f67a37dedbc725aa0f916 (diff)
downloadlibrpm-tizen-bea918bb7741d0e4b3f8ba134014bdfdd4214ce4.tar.gz
librpm-tizen-bea918bb7741d0e4b3f8ba134014bdfdd4214ce4.tar.bz2
librpm-tizen-bea918bb7741d0e4b3f8ba134014bdfdd4214ce4.zip
Add --filecontext, --fscontext, --recontext for 3 sources of security contexts.
CVS patchset: 6994 CVS date: 2003/12/22 07:47:45
Diffstat (limited to 'rpmpopt.in')
-rw-r--r--rpmpopt.in27
1 files changed, 27 insertions, 0 deletions
diff --git a/rpmpopt.in b/rpmpopt.in
index edbaa9acd..287ee8d66 100644
--- a/rpmpopt.in
+++ b/rpmpopt.in
@@ -92,6 +92,15 @@ rpm alias --fileclass --qf '[%{FILENAMES}\t%{FILECLASS}\n]' \
rpm alias --filecolor --qf '[%{FILENAMES}\t%{FILECOLORS}\n]' \
--POPTdesc=$"list file names with colors"
+rpm alias --filecontext --qf '[%{FILENAMES}\t%{FILECONTEXTS}\n]' \
+ --POPTdesc=$"list file names with security context from header"
+
+rpm alias --fscontext --qf '[%{FILENAMES}\t%{FSCONTEXTS}\n]' \
+ --POPTdesc=$"list file names with security context from file system"
+
+rpm alias --recontext --qf '[%{FILENAMES}\t%{RECONTEXTS}\n]' \
+ --POPTdesc=$"list file names with security context from policy RE"
+
rpm alias --fileprovide --qf '[%{FILENAMES}\t%{FILEPROVIDE}\n]' \
--POPTdesc=$"list file names with provides"
@@ -360,6 +369,15 @@ rpmq alias --fileclass --qf '[%{FILENAMES}\t%{FILECLASS}\n]' \
rpmq alias --filecolor --qf '[%{FILENAMES}\t%{FILECOLORS}\n]' \
--POPTdesc=$"list file names with colors"
+rpmq alias --filecontext --qf '[%{FILENAMES}\t%{FILECONTEXTS}\n]' \
+ --POPTdesc=$"list file names with security context"
+
+rpmq alias --fscontext --qf '[%{FILENAMES}\t%{FSCONTEXTS}\n]' \
+ --POPTdesc=$"list file names with security context from file system"
+
+rpmq alias --recontext --qf '[%{FILENAMES}\t%{RECONTEXTS}\n]' \
+ --POPTdesc=$"list file names with security context from policy RE"
+
rpmq alias --fileprovide --qf '[%{FILENAMES}\t%{FILEPROVIDE}\n]' \
--POPTdesc=$"list file names with provides"
@@ -445,6 +463,15 @@ rpmquery alias --fileclass --qf '[%{FILENAMES}\t%{FILECLASS}\n]' \
rpmquery alias --filecolor --qf '[%{FILENAMES}\t%{FILECOLORS}\n]' \
--POPTdesc=$"list file names with colors"
+rpmquery alias --filecontext --qf '[%{FILENAMES}\t%{FILECONTEXTS}\n]' \
+ --POPTdesc=$"list file names with security context"
+
+rpmquery alias --fscontext --qf '[%{FILENAMES}\t%{FSCONTEXTS}\n]' \
+ --POPTdesc=$"list file names with security context from file system"
+
+rpmquery alias --recontext --qf '[%{FILENAMES}\t%{RECONTEXTS}\n]' \
+ --POPTdesc=$"list file names with security context from policy RE"
+
rpmquery alias --fileprovide --qf '[%{FILENAMES}\t%{FILEPROVIDE}\n]' \
--POPTdesc=$"list file names with provides"