# Generate Maintainers file used by e.g. the Debian Bug Tracking System
# Copyright (C) 2000, 2001 James Troup <james@nocrew.org>
-# $Id: charisma,v 1.12 2001-11-18 19:57:58 rmurray Exp $
+# $Id: charisma,v 1.13 2002-02-12 22:14:38 troup Exp $
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
################################################################################
-import os, pg, re, string, sys
-import db_access, utils
-import apt_pkg
+import pg, string, sys;
+import db_access, utils;
+import apt_pkg;
################################################################################
# Manipulate suite tags
# Copyright (C) 2000, 2001 James Troup <james@nocrew.org>
-# $Id: heidi,v 1.11 2001-11-18 19:57:58 rmurray Exp $
+# $Id: heidi,v 1.12 2002-02-12 22:14:38 troup Exp $
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
#######################################################################################
-import os, pg, string, sys;
+import pg, string, sys;
import apt_pkg;
import utils, db_access, logging;
# Sync PostgreSQL with (LDAP-generated) passwd file
# Copyright (C) 2001 James Troup <james@nocrew.org>
-# $Id: julia,v 1.4 2001-11-18 19:57:58 rmurray Exp $
+# $Id: julia,v 1.5 2002-02-12 22:14:38 troup Exp $
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
################################################################################
-import os, pg, string, sys;
+import pg, string, sys;
import utils;
import apt_pkg;
# Display information about package(s) (suite, version, etc.)
# Copyright (C) 2000, 2001 James Troup <james@nocrew.org>
-# $Id: madison,v 1.14 2002-01-19 18:57:06 troup Exp $
+# $Id: madison,v 1.15 2002-02-12 22:14:38 troup Exp $
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
################################################################################
-import pg, sys, os, string
-import utils, db_access
+import pg, string, sys;
+import utils, db_access;
import apt_pkg;
################################################################################
# General purpose package removal tool for ftpmaster
# Copyright (C) 2000, 2001 James Troup <james@nocrew.org>
-# $Id: melanie,v 1.21 2002-01-28 18:53:01 troup Exp $
+# $Id: melanie,v 1.22 2002-02-12 22:14:38 troup Exp $
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-# X-Listening-To: Astronomy, Metallica - Garage Inc.
+################################################################################
+
+# o OpenBSD team wants to get changes incorporated into IPF. Darren no
+# respond.
+# o Ask again -> No respond. Darren coder supreme.
+# o OpenBSD decide to make changes, but only in OpenBSD source
+# tree. Darren hears, gets angry! Decides: "LICENSE NO ALLOW!"
+# o Insert Flame War.
+# o OpenBSD team decide to switch to different packet filter under BSD
+# license. Because Project Goal: Every user should be able to make
+# changes to source tree. IPF license bad!!
+# o Darren try get back: says, NetBSD, FreeBSD allowed! MUAHAHAHAH!!!
+# o Theo say: no care, pf much better than ipf!
+# o Darren changes mind: changes license. But OpenBSD will not change
+# back to ipf. Darren even much more bitter.
+# o Darren so bitterbitter. Decides: I'LL GET BACK BY FORKING OPENBSD AND
+# RELEASING MY OWN VERSION. HEHEHEHEHE.
+
+# http://slashdot.org/comments.pl?sid=26697&cid=2883271
################################################################################
-import commands, os, pg, pwd, re, string, sys, tempfile
+import commands, os, pg, re, string, sys, tempfile
import utils, db_access
import apt_pkg, apt_inst;
Subst["__BCC__"] = "Bcc: " + string.join(bcc, ", ");
else:
Subst["__BCC__"] = "X-Filler: 42";
- Subst["__CC__"] = "X-Melanie: $Revision: 1.21 $";
+ Subst["__CC__"] = "X-Melanie: $Revision: 1.22 $";
if carbon_copy:
Subst["__CC__"] = Subst["__CC__"] + "\nCc: " + string.join(carbon_copy, ", ");
Subst["__SUITE_LIST__"] = suites_list;
# Manipulate override files
# Copyright (C) 2000, 2001 James Troup <james@nocrew.org>
-# $Id: natalie.py,v 1.14 2001-11-19 22:19:46 rmurray Exp $
+# $Id: natalie.py,v 1.15 2002-02-12 22:14:38 troup Exp $
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
################################################################################
-import errno, os, pg, pwd, string, sys, time;
+import pg, string, sys, time;
import utils, db_access, logging;
import apt_pkg;
# Populate the DB
# Copyright (C) 2000, 2001 James Troup <james@nocrew.org>
-# $Id: neve,v 1.7 2001-11-18 19:57:58 rmurray Exp $
+# $Id: neve,v 1.8 2002-02-12 22:14:38 troup Exp $
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
###############################################################################################################
-import commands, os, pg, re, sys, string, tempfile
+import commands, os, pg, re, string, tempfile
import apt_pkg
import db_access, utils
# rhona, cleans up unassociated binary and source packages
# Copyright (C) 2000, 2001 James Troup <james@nocrew.org>
-# $Id: rhona,v 1.19 2001-11-24 18:42:10 troup Exp $
+# $Id: rhona,v 1.20 2002-02-12 22:14:38 troup Exp $
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
################################################################################
-import os, pg, stat, string, sys, time
+import os, pg, stat, sys, time
import apt_pkg
import utils
# Clean incoming of old unused files
# Copyright (C) 2000, 2001 James Troup <james@nocrew.org>
-# $Id: shania,v 1.11 2002-01-28 18:53:01 troup Exp $
+# $Id: shania,v 1.12 2002-02-12 22:14:38 troup Exp $
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
################################################################################
-import os, re, stat, string, sys, time, traceback
-import utils
+import os, stat, sys, time;
+import utils;
import apt_pkg;
################################################################################
Cnf = None;
Options = None;
del_dir = None;
+delete_date = None;
################################################################################
# Create all the Release files
# Copyright (C) 2001 Anthony Towns <ajt@debian.org>
-# $Id: ziyi,v 1.16 2002-01-12 16:33:23 ajt Exp $
+# $Id: ziyi,v 1.17 2002-02-12 22:14:38 troup Exp $
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
################################################################################
-import pg, sys, os, popen2, tempfile, stat, string, time
-import utils, db_access
+import sys, os, popen2, tempfile, stat, string, time
+import utils
import apt_pkg
################################################################################
j = string.index(name, "/")
k = string.index(name, ">")
(cat, ext, name) = (name[1:j], name[j+1:k], name[k+1:])
- (size, file_handle) = create_temp_file("%s %s%s%s" %
+ (size, file_handle) = create_temp_file("%s %s%s%s" %
(cat, path, name, ext))
else:
size = os.stat(path + name)[stat.ST_SIZE]
for keyid in signkeyids:
if keyid != "": defkeyid = "--default-key %s" % keyid
else: defkeyid = ""
- os.system("gpg %s %s %s --detach-sign <%s >>%s" %
+ os.system("gpg %s %s %s --detach-sign <%s >>%s" %
(keyring, defkeyid, arguments,
Cnf["Dir::RootDir"] + tree + "/Release", dest))