annotate pixmaps/Makefile.mingw @ 13659:a92263b13380

[gaim-migrate @ 16061] silcgaim_check_silc_dir() checks to make sure the user's private key has permission 0600. If it doesn't, it chmod's the file. Nathanael Hoyle pointed out the totally absurd scenario where, if Gaim is suid root, someone could replace the private key with something else between the fstat and the chmod so that the file permissions are changed on a file that the user wouldn't otherwise have access to. He also suggested a fix along the lines of this one. Ethan said this still isn't totally safe, but it should be a little better, and I don't really care anyway because you'd have to be a moron to run Gaim with the suid bit set in the first place. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Wed, 19 Apr 2006 02:12:45 +0000
parents bc494c4a3991
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4318
5f0385678315 [gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
1 #
5f0385678315 [gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
2 # Makefile.mingw
5f0385678315 [gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
3 #
5f0385678315 [gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
4 # Description: Makefile for win32 (mingw) version of Gaim pixmaps
5f0385678315 [gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
5 #
5f0385678315 [gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
6
5f0385678315 [gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
7 datadir = ../win32-install-dir
5f0385678315 [gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
8
5f0385678315 [gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
9 include ./Makefile.am
5f0385678315 [gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
10
5f0385678315 [gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
11 install:
5f0385678315 [gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
12 if test '$(SUBDIRS)'; then \
5f0385678315 [gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
13 list='$(SUBDIRS)'; for subdir in $$list; do \
5f0385678315 [gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
14 $(MAKE) -C $$subdir -f Makefile.mingw install; \
5f0385678315 [gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
15 done; \
5f0385678315 [gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
16 fi;
5f0385678315 [gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
17 if test '$(gaimbuttonpix_DATA)'; then \
5f0385678315 [gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
18 mkdir -p $(gaimbuttonpixdir); \
5f0385678315 [gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
19 cp $(gaimbuttonpix_DATA) $(gaimbuttonpixdir); \
5f0385678315 [gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
20 fi;
5f0385678315 [gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
21 if test '$(gaimdialogpix_DATA)'; then \
5f0385678315 [gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
22 mkdir -p $(gaimdialogpixdir); \
5f0385678315 [gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
23 cp $(gaimdialogpix_DATA) $(gaimdialogpixdir); \
5f0385678315 [gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
24 fi;
5031
bc494c4a3991 [gaim-migrate @ 5368]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 4318
diff changeset
25 if test '$(gaimiconpix_DATA)'; then \
bc494c4a3991 [gaim-migrate @ 5368]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 4318
diff changeset
26 mkdir -p $(gaimiconpixdir); \
bc494c4a3991 [gaim-migrate @ 5368]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 4318
diff changeset
27 cp $(gaimiconpix_DATA) $(gaimiconpixdir); \
4318
5f0385678315 [gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
28 fi;
5f0385678315 [gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
29 if test '$(gaimdistpix_DATA)'; then \
5f0385678315 [gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
30 mkdir -p $(gaimdistpixdir); \
5f0385678315 [gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
31 cp $(gaimdistpix_DATA) $(gaimdistpixdir); \
5f0385678315 [gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
32 fi;
5f0385678315 [gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
33 if test '$(distpixmap_DATA)'; then \
5f0385678315 [gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
34 mkdir -p $(distpixmapdir); \
5f0385678315 [gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
35 cp $(distpixmap_DATA) $(distpixmapdir); \
5f0385678315 [gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
36 fi;
5f0385678315 [gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
37