FreeBSD Bugzilla – Attachment 118120 Details for
Bug 160288
[PATCH] security/pwman3: eliminate py-pysqlite2x dependency
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 3.48 KB, created by
R.Mahmatkhanov
on 2011-08-29 18:30:12 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
R.Mahmatkhanov
Created:
2011-08-29 18:30:12 UTC
Size:
3.48 KB
patch
obsolete
>diff -ruNa pwman3.orig/Makefile pwman3/Makefile >--- pwman3.orig/Makefile 2008-05-06 07:09:35.000000000 +0400 >+++ pwman3/Makefile 2011-08-29 21:13:44.000000000 +0400 >@@ -7,6 +7,7 @@ > > PORTNAME= pwman3 > PORTVERSION= 0.0.6 >+PORTREVISION= 1 > CATEGORIES= security python > MASTER_SITES= http://pwman.bleurgh.com/~ivan/pwman3/source/ \ > http://source.antisupport.com/pwman3/ >@@ -16,8 +17,7 @@ > COMMENT= Console password management application with sql storage > > RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycrypto>=2.0:${PORTSDIR}/security/py-pycrypto \ >- ${PYTHON_PKGNAMEPREFIX}cElementTree>=1.0.5:${PORTSDIR}/devel/py-celementtree \ >- ${PYTHON_PKGNAMEPREFIX}pysqlite>=2.0.5:${PORTSDIR}/databases/py-pysqlite23 >+ ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:${PORTSDIR}/databases/py-sqlite3 > > USE_PYTHON= 2.5+ > USE_PYDISTUTILS= yes >diff -ruNa pwman3.orig/files/patch-pwman-data-drivers_sqlite.py pwman3/files/patch-pwman-data-drivers_sqlite.py >--- pwman3.orig/files/patch-pwman-data-drivers_sqlite.py 1970-01-01 03:00:00.000000000 +0300 >+++ pwman3/files/patch-pwman-data-drivers_sqlite.py 2011-08-29 21:05:06.000000000 +0400 >@@ -0,0 +1,11 @@ >+--- pwman/data/drivers/sqlite.py.orig 2007-02-04 21:44:43.000000000 +0300 >++++ pwman/data/drivers/sqlite.py 2011-08-29 21:02:34.000000000 +0400 >+@@ -22,7 +22,7 @@ >+ from pwman.data.nodes import Node >+ from pwman.data.tags import Tag >+ >+-from pysqlite2 import dbapi2 as sqlite >++from sqlite3 import dbapi2 as sqlite >+ import pwman.util.config as config >+ import cPickle >+ >diff -ruNa pwman3.orig/files/patch-pwman-exchange_exporter.py pwman3/files/patch-pwman-exchange_exporter.py >--- pwman3.orig/files/patch-pwman-exchange_exporter.py 1970-01-01 03:00:00.000000000 +0300 >+++ pwman3/files/patch-pwman-exchange_exporter.py 2011-08-29 21:09:10.000000000 +0400 >@@ -0,0 +1,11 @@ >+--- pwman/exchange/exporter.py.orig 2007-02-04 21:44:43.000000000 +0300 >++++ pwman/exchange/exporter.py 2011-08-29 21:07:59.000000000 +0400 >+@@ -17,7 +17,7 @@ >+ # Copyright (C) 2006 Ivan Kelly <ivan@ivankelly.net> >+ #============================================================================ >+ >+-from cElementTree import Element, SubElement, dump, ElementTree >++from xml.etree.cElementTree import Element, SubElement, dump, ElementTree >+ from pwman.data.nodes import Node >+ from pwman.data.tags import Tag >+ >diff -ruNa pwman3.orig/files/patch-pwman-exchange_importer.py pwman3/files/patch-pwman-exchange_importer.py >--- pwman3.orig/files/patch-pwman-exchange_importer.py 1970-01-01 03:00:00.000000000 +0300 >+++ pwman3/files/patch-pwman-exchange_importer.py 2011-08-29 21:09:20.000000000 +0400 >@@ -0,0 +1,11 @@ >+--- pwman/exchange/importer.py.orig 2007-02-04 21:44:43.000000000 +0300 >++++ pwman/exchange/importer.py 2011-08-29 21:07:49.000000000 +0400 >+@@ -17,7 +17,7 @@ >+ # Copyright (C) 2006 Ivan Kelly <ivan@ivankelly.net> >+ #============================================================================ >+ >+-import cElementTree as ET >++import xml.etree.cElementTree as ET >+ from pwman.data.nodes import Node >+ from pwman.data.tags import Tag >+ >diff -ruNa pwman3.orig/pkg-descr pwman3/pkg-descr >--- pwman3.orig/pkg-descr 2008-05-06 07:09:35.000000000 +0400 >+++ pwman3/pkg-descr 2011-08-29 21:03:41.000000000 +0400 >@@ -1,5 +1,5 @@ >-Pwman3 is a console based password management application. >-Pwman3 is written in python. It uses sql for storage >+Pwman3 is a console based password management application. >+Pwman3 is written in python. It uses sql for storage > and all data is encrypted when it isn't being viewed on screen. > > WWW: http://pwman.bleurgh.com
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 160288
: 118120