Changeset 14700 for trunk/base


Ignore:
Timestamp:
Oct 19, 2005, 3:23:06 AM (15 years ago)
Author:
jmpp
Message:

Submitted by: jmpp@

I'm finally starting the recovery of the "Available Ports" site, let it be
permanent this time! I plan to have a dedicated "dpadmin" (or anything to that
effect) OD based account that will take care of the job of keeping the page's db
up to date on an automated fashion, along with other chores such as the index
regen one, which is now being taken care of by Paul's account on Lamancha
(which shouldn't be). The appropriate request will be routed through admin@

In the mean time, I suppose there's no reason why management scripts in
base/src/portmgr/ shouldn't be installed, so here's a minor abstraction to
the PortIndex2MySQL.tcl one to make it work with non-default dp installations.
Other scripts can be adapted later for proper installation too.

Location:
trunk/base/src
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/Makefile.in

    r13475 r14700  
    11TCLPKG=         darwinports1.0 port1.0 package1.0 pextlib1.0 registry1.0 \
    22                        darwintracelib1.0 @OUR_INCLUDED_PACKAGES@
    3 SUBDIR=         ${TCLPKG} port programs
     3SUBDIR=         ${TCLPKG} port programs portmgr
    44
    55all::
  • trunk/base/src/portmgr/PortIndex2MySQL.tcl

    r14669 r14700  
    1 #!/usr/bin/tclsh
     1#!/usr/bin/env tclsh
    22# PortIndex2MySQL.tcl
    33# Kevin Van Vechten | kevin@opendarwin.org
    44# 3-Oct-2002
    5 # $Id: PortIndex2MySQL.tcl,v 1.7 2005/10/17 01:51:00 kevin Exp $
     5# $Id: PortIndex2MySQL.tcl,v 1.8 2005/10/19 03:23:06 jmpp Exp $
    66#
    77# Copyright (c) 2003 Apple Computer, Inc.
     
    5454
    5555if {$use_db != ""} {
    56     load /opt/local/lib/libmysqltcl.dylib
     56    load @PREFIX@/lib/libmysqltcl.dylib
    5757    set db [mysqlconnect -user darwinports -password woot -db darwinports]
    5858} else {
Note: See TracChangeset for help on using the changeset viewer.