--- ./Makefile.orig 2005-08-27 19:33:06.000000000 -0400
+++ ./Makefile 2007-06-18 10:43:00.000000000 +0200
--- ./smart/const.py.jbj 2005-08-27 19:28:52.000000000 -0400
+++ ./smart/const.py 2005-08-27 19:30:30.000000000 -0400
-DISTROFILE = "/usr/lib/smart/distro.py"
-PLUGINSDIR = "/usr/lib/smart/plugins/"
-DATADIR = "/var/lib/smart/"
+DISTROFILE = "@@PREFIX@@/lib/smart/distro.py"
+PLUGINSDIR = "@@PREFIX@@/lib/smart/plugins/"
+DATADIR = "@@PREFIX@@/var/lib/smart/"
USERDATADIR = "~/.smart/"
--- ./smart/plugins/detectsys.py.orig 2010-12-03 23:08:06.000000000 +0100
+++ ./smart/plugins/detectsys.py 2007-06-18 10:43:26.000000000 +0200
dir = os.path.join(sysconf.get("rpm-root", "/"),
- sysconf.get("rpm-dbpath", "var/lib/rpm"))
+ sysconf.get("rpm-dbpath", "@@PREFIX@@/var/lib/rpm"))
file = os.path.join(dir, "Packages")
for alias in sysconf.keys("channels"):
dir = os.path.join(sysconf.get("deb-root", "/"),
- sysconf.get("deb-admindir", "var/lib/dpkg"))
+ sysconf.get("deb-admindir", "@@PREFIX@@/var/lib/dpkg"))
file = os.path.join(dir, "status")
for alias in sysconf.keys("channels"):
dir = os.path.join(sysconf.get("slack-root", "/"),
sysconf.get("slack-packages-dir",
+ "@@PREFIX@@/var/log/packages"))
for alias in sysconf.keys("channels"):
if sysconf.get(("channels", alias, "type")) == "slack-sys":
dir = os.path.join(sysconf.get("arch-root", "/"),
sysconf.get("arch-packages-dir",
+ "@@PREFIX@@/var/lib/pacman"))
for alias in sysconf.keys("channels"):
if sysconf.get(("channels", alias, "type")) == "arch-sys":
--- ./smart/backends/rpm/base.py.orig 2011-10-09 10:50:25.000000000 +0200
+++ ./smart/backends/rpm/base.py 2007-06-18 20:53:43.000000000 +0200
getTS.ts = rpm.ts(getTS.root)
if not sysconf.get("rpm-check-signatures", False):
getTS.ts.setVSFlags(rpm._RPMVSF_NOSIGNATURES)
- rpm_dbpath = sysconf.get("rpm-dbpath", "var/lib/rpm")
+ rpm_dbpath = sysconf.get("rpm-dbpath", "@@PREFIX@@/var/lib/rpm")
dbdir = os.path.join(getTS.root, rpm_dbpath)
if not os.path.isdir(dbdir):
--- ./smart/channels/rpm_sys.py.orig 2010-12-03 23:08:06.000000000 +0100
+++ ./smart/channels/rpm_sys.py 2007-06-18 20:53:33.000000000 +0200
def fetch(self, fetcher, progress):
getTS() # Make sure the db exists.
path = os.path.join(sysconf.get("rpm-root", "/"),
- sysconf.get("rpm-dbpath", "var/lib/rpm"),
+ sysconf.get("rpm-dbpath", "@@PREFIX@@/var/lib/rpm"),
digest = os.path.getmtime(path)
if digest == self._digest:
--- ./smart/channels/deb_sys.py.orig 2010-12-03 23:08:06.000000000 +0100
+++ ./smart/channels/deb_sys.py 2008-01-28 11:55:32.000000000 +0100
def fetch(self, fetcher, progress):