summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2001-05-11 04:01:04 +0000
committerjbj <devnull@localhost>2001-05-11 04:01:04 +0000
commitc7ee57336766b4411f3aeaaa78dd3778cfea3244 (patch)
tree628669756123446e12df3962c0d77db02551521f /Makefile.am
parentdda243d6621372bf8c10bc04643e730d9e388091 (diff)
downloadlibrpm-tizen-c7ee57336766b4411f3aeaaa78dd3778cfea3244.tar.gz
librpm-tizen-c7ee57336766b4411f3aeaaa78dd3778cfea3244.tar.bz2
librpm-tizen-c7ee57336766b4411f3aeaaa78dd3778cfea3244.zip
- rpm database has rpm.rpm g+w permissions to share db3 mutexes.
- expose more db3 macro configuration tokens. - move fprint.[ch] and hash.[ch] to rpmdb directory. - detect and fiddle incompatible mixtures of db3 env/open flags. - add DBI_WRITECURSOR to map to db3 flags with CDB database model. - add rpmdbSetIteratorRewrite to warn of pending lazy (re-)writes. CVS patchset: 4765 CVS date: 2001/05/11 04:01:04
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am13
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 1a4793737..8d3978cf9 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -180,6 +180,19 @@ setperms:
done
@$(__CHOWN) ${RPMUSER}.${RPMGROUP} $(DESTDIR)$(pkglibdir)
@$(__CHOWN) -R ${RPMUSER}.${RPMGROUP} $(DESTDIR)$(varprefix)/lib/rpm
+ -@$(__CHMOD) 0664 $(DESTDIR)$(varprefix)/lib/rpm/[A-Z]*
+ -@$(__CHMOD) 0775 $(DESTDIR)$(varprefix)/lib/rpm
+ -@$(__CHMOD) 0755 $(DESTDIR)$(varprefix)/lib/rpm/Desktop
+ -@$(__CHMOD) 0664 $(DESTDIR)$(varprefix)/lib/rpm/__db.*
+
+.PHONY: unsetuid
+unsetuid:
+ @for f in $(rpmbin_PROGRAMS) ; do\
+ $(__CHMOD) u-s $(DESTDIR)$(rpmbindir)/$$f ;\
+ done
+ @for f in $(pkglib_PROGRAMS) ; do\
+ $(__CHMOD) u-s $(DESTDIR)$(pkglibdir)/$$f ;\
+ done
.PHONY: tar
tar: