Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Apr 2001 00:46:07 -0700 (PDT)
From:      netman@dunap.FreeBSD.ORG;, ex.net@FreeBSD.ORG;
To:        freebsd-gnats-submit@FreeBSD.ORG
Subject:   ports/26911: New Port - System Maintenance scripts in Python and csh.
Message-ID:  <200104280746.f3S7k7f14187@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         26911
>Category:       ports
>Synopsis:       New Port - System Maintenance scripts in Python and csh.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 28 00:50:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Dale Weber
>Release:        4.3-STABLE
>Organization:
The Dynaplex Network
>Environment:
FreeBSD defiant.dynaplex.org 4.3-STABLE FreeBSD 4.3-STABLE #1: Sun Apr 22 14:47:11 PDT 2001     root@defiant.dynaplex.org:/usr/src/sys/compile/DEFIANT  i386

>Description:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#       maint
#       maint/files
#       maint/pkg-descr
#       maint/pkg-comment
#       maint/pkg-plist
#       maint/distinfo
#       maint/Makefile
#
echo c - maint
mkdir -p maint > /dev/null 2>&1
echo c - maint/files
mkdir -p maint/files > /dev/null 2>&1
echo x - maint/pkg-descr
sed 's/^X//' >maint/pkg-descr << 'END-of-maint/pkg-descr'
X  Maint is a system maintenance script wrapper package written in Python and CSH
Xto handle common tasks, such as updating ports and source trees, building the
XOS, readmes, cleaning ports and source trees, and other common tasks.  Maint
Xis very modular and easy to extend and/or add new functions to. Maint also
Xincludes a batch facility to allow creating batch files for the most often
Xdone or special sequences of commands - and is cronable.
X
X  A fully automatic system build facility is in the works, which will include
Xbuilding the OS and kernel, as well as software from the ports collection.
XThis will make duplicating or restoring a system setup extremely easy.
X
XWWW: http://www.dynaplex.net/opensource/software
X
X- Dale Weber <software@dynaplex.net>
END-of-maint/pkg-descr
echo x - maint/pkg-comment
sed 's/^X//' >maint/pkg-comment << 'END-of-maint/pkg-comment'
XSystem maintenance package written in Python and CSH
END-of-maint/pkg-comment
echo x - maint/pkg-plist
sed 's/^X//' >maint/pkg-plist << 'END-of-maint/pkg-plist'
Xbin/maint
Xbin/maint.py
Xbin/maint-backup.py
Xbin/maint-build.py
Xbin/maint-build-kde2.cshXbin/maint-build-system.csh
Xbin/maint-build-system2.csh
Xbin/maint-clean.py
Xbin/maint-restore.py
Xbin/maint-update.py
Xbin/maintlib.py
Xetc/maint/daily.conf
Xetc/maint/exclusions.conf
Xetc/maint/special.conf
Xetc/maint/weekly.conf
Xetc/maint/scripts/daily.local
Xetc/maint/scripts/weekly.local
Xetc/maint/supfiles/kde2
Xetc/maint/supfiles/ports
Xetc/maint/supfiles/source
Xshare/maint/data/packages.sample
Xshare/maint/data/portsdeps.sample
Xshare/maint/doc/maint.txt
Xshare/maint/logs/keep.me
X@dirrm share/maint/data
X@dirrm share/maint/doc
X@dirrm share/maint/logs
X@dirrm share/maint
X@dirrm etc/maint/scripts
X@dirrm etc/maint/supfiles
X@dirrm etc/maint
END-of-maint/pkg-plist
echo x - maint/distinfo
sed 's/^X//' >maint/distinfo << 'END-of-maint/distinfo'
XMD5 (maint-0.5.0.tar.gz) = 522901c9b21d85e97ed86d292f0b6767
END-of-maint/distinfo
echo x - maint/Makefile
sed 's/^X//' >maint/Makefile << 'END-of-maint/Makefile'
X# New ports collection makefile for:   pyfind
X# Date created:                                5 April 2001
X# Whom:                                Maxim Sobolev <sobomax@FreeBSD.org>
X#
X# $FreeBSD: ports/sysutils/pyfind/Makefile,v 1.3 2001/04/18 19:15:31 sobomax Exp $
X#
X
XPORTNAME=      maint
XPORTVERSION=   0.5.0
XCATEGORIES=    sysutils python
XMASTER_SITES=  http://www.dynaplex.net/opensource/software/
XDISTNAME=      ${PORTNAME:S/f/F/}-${PORTVERSION}
X
XMAINTAINER=    netman@dynaplex.net

X
XBUILD_DEPENDS= python:${PORTSDIR}/lang/python
XRUN_DEPENDS=   python:${PORTSDIR}/lang/python
X
XUSE_PYTHON=    yes
X
XBINDIR=                ${PREFIX}/bin
XMYCONFDIR=     ${PREFIX}/etc/maint
XMYSCRIPTDIR=   ${MYCONFDIR}/scripts
XMYSUPFILESDIR= ${MYCONFDIR}/supfiles
XMYSHAREDIR=    ${PREFIX}/share/maint
XMYDATADIR=     ${MYSHAREDIR}/data
XMYLOGSDIR=     ${MYSHAREDIR}/logs
XMYDOCDIR=      ${MYSHAREDIR}/doc
X
Xdo-build:
X
Xdo-install:
X       ${MKDIR} ${MYCONFDIR}
X       ${MKDIR} ${MYSCRIPTDIR}
X       ${MKDIR} ${MYSUPFILESDIR}
X       ${MKDIR} ${MYSHAREDIR}
X       ${MKDIR} ${MYDOCDIR}
X       ${MKDIR} ${MYDATADIR}
X       ${MKDIR} ${MYLOGSDIR}
X       ${INSTALL_SCRIPT} ${WRKSRC}/maint* ${BINDIR}
X       ${INSTALL_DATA} ${WRKSRC}/share/maint/data/* ${MYDATADIR}
X       ${INSTALL_DATA} ${WRKSRC}/etc/maint/*.conf ${MYCONFDIR}
X       ${INSTALL_DATA} ${WRKSRC}/etc/maint/scripts/* ${MYSCRIPTDIR}
X       ${INSTALL_DATA} ${WRKSRC}/etc/maint/supfiles/* ${MYSUPFILESDIR}
X       ${INSTALL_DATA} ${WRKSRC}/share/maint/logs/* ${MYLOGSDIR}
X       ${INSTALL_MAN} ${WRKSRC}/share/maint/doc/* ${MYDOCDIR}
X
Xpost-install:
X       ${CP} ${BINDIR}/maint.py ${BINDIR}/maint
X
X.include <bsd.port.mk>
END-of-maint/Makefile
exit


>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104280746.f3S7k7f14187>