FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CRUX > CRUX

 
 
LinkBack Thread Tools
 
Old 10-05-2012, 10:56 AM
 
Default ports/opt (2.7): distribute, security update remove world writeable file permissions

commit 0be1980073109b7943f964ca73a5f92276b46235
Author: Danny Rawlins <monster.romster@gmail.com>
Date: Fri Oct 5 20:56:01 2012 +1000

[notify] distribute, security update remove world writeable file permissions

diff --git a/distribute/.footprint b/distribute/.footprint
index 78788b1..9d7bd70 100644
--- a/distribute/.footprint
+++ b/distribute/.footprint
@@ -6,12 +6,12 @@ drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/python2.7/
drwxr-xr-x root/root usr/lib/python2.7/site-packages/
drwxr-xr-x root/root usr/lib/python2.7/site-packages/distribute-0.6.28-py2.7.egg-info/
--rw-rw-rw- root/root usr/lib/python2.7/site-packages/distribute-0.6.28-py2.7.egg-info/PKG-INFO
--rw-rw-rw- root/root usr/lib/python2.7/site-packages/distribute-0.6.28-py2.7.egg-info/SOURCES.txt
--rw-rw-rw- root/root usr/lib/python2.7/site-packages/distribute-0.6.28-py2.7.egg-info/dependency_links.txt
--rw-rw-rw- root/root usr/lib/python2.7/site-packages/distribute-0.6.28-py2.7.egg-info/entry_points.txt
--rw-rw-rw- root/root usr/lib/python2.7/site-packages/distribute-0.6.28-py2.7.egg-info/top_level.txt
--rw-rw-rw- root/root usr/lib/python2.7/site-packages/distribute-0.6.28-py2.7.egg-info/zip-safe
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/distribute-0.6.28-py2.7.egg-info/PKG-INFO
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/distribute-0.6.28-py2.7.egg-info/SOURCES.txt
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/distribute-0.6.28-py2.7.egg-info/dependency_links.txt
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/distribute-0.6.28-py2.7.egg-info/entry_points.txt
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/distribute-0.6.28-py2.7.egg-info/top_level.txt
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/distribute-0.6.28-py2.7.egg-info/zip-safe
-rw-r--r-- root/root usr/lib/python2.7/site-packages/easy_install.py
-rw-r--r-- root/root usr/lib/python2.7/site-packages/easy_install.pyc
-rw-r--r-- root/root usr/lib/python2.7/site-packages/pkg_resources.py
@@ -23,9 +23,9 @@ drwxr-xr-x root/root usr/lib/python2.7/site-packages/setuptools/
-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/__init__.pyc
-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/archive_util.py
-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/archive_util.pyc
--rwxrwxrwx root/root usr/lib/python2.7/site-packages/setuptools/cli-32.exe
--rwxrwxrwx root/root usr/lib/python2.7/site-packages/setuptools/cli-64.exe
--rwxrwxrwx root/root usr/lib/python2.7/site-packages/setuptools/cli.exe
+-rwxr-xr-x root/root usr/lib/python2.7/site-packages/setuptools/cli-32.exe
+-rwxr-xr-x root/root usr/lib/python2.7/site-packages/setuptools/cli-64.exe
+-rwxr-xr-x root/root usr/lib/python2.7/site-packages/setuptools/cli.exe
drwxr-xr-x root/root usr/lib/python2.7/site-packages/setuptools/command/
-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/__init__.py
-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/__init__.pyc
@@ -77,9 +77,9 @@ drwxr-xr-x root/root usr/lib/python2.7/site-packages/setuptools/command/
-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/dist.pyc
-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/extension.py
-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/extension.pyc
--rwxrwxrwx root/root usr/lib/python2.7/site-packages/setuptools/gui-32.exe
--rwxrwxrwx root/root usr/lib/python2.7/site-packages/setuptools/gui-64.exe
--rwxrwxrwx root/root usr/lib/python2.7/site-packages/setuptools/gui.exe
+-rwxr-xr-x root/root usr/lib/python2.7/site-packages/setuptools/gui-32.exe
+-rwxr-xr-x root/root usr/lib/python2.7/site-packages/setuptools/gui-64.exe
+-rwxr-xr-x root/root usr/lib/python2.7/site-packages/setuptools/gui.exe
-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/package_index.py
-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/package_index.pyc
-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/sandbox.py
diff --git a/distribute/Pkgfile b/distribute/Pkgfile
index e4ffc96..79ea180 100644
--- a/distribute/Pkgfile
+++ b/distribute/Pkgfile
@@ -6,11 +6,13 @@

name=distribute
version=0.6.28
-release=1
+release=2
source=(http://pypi.python.org/packages/source/d/$name/$name-$version.tar.gz)

build() {
cd $name-$version

python setup.py install --root=$PKG
+
+ chmod -R og-w $PKG
}
_______________________________________________
CRUX mailing list
CRUX@lists.crux.nu
http://lists.crux.nu/mailman/listinfo/crux
 

Thread Tools




All times are GMT. The time now is 05:53 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org