From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Mar 14 21:00:33 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5DE0416A4CF for ; Sun, 14 Mar 2004 21:00:33 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4128A43D53 for ; Sun, 14 Mar 2004 21:00:33 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i2F50Xbv060526 for ; Sun, 14 Mar 2004 21:00:33 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i2F50Xa2060525; Sun, 14 Mar 2004 21:00:33 -0800 (PST) (envelope-from gnats) Resent-Date: Sun, 14 Mar 2004 21:00:33 -0800 (PST) Resent-Message-Id: <200403150500.i2F50Xa2060525@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, robert@martin-legene.dk Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4CEAA16A4CE for ; Sun, 14 Mar 2004 20:52:32 -0800 (PST) Received: from kb.pinguino.dk (kb.pinguino.dk [193.3.157.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC65343D48 for ; Sun, 14 Mar 2004 20:52:31 -0800 (PST) (envelope-from robert@kb.pinguino.dk) Received: from kb.pinguino.dk (kb.pinguino.dk [193.3.157.3]) by kb.pinguino.dk (8.12.9/8.12.9) with ESMTP id i2F4qTHb076569 for ; Mon, 15 Mar 2004 05:52:29 +0100 (CET) (envelope-from robert@kb.pinguino.dk) Received: (from robert@localhost) by kb.pinguino.dk (8.12.9/8.12.9/Submit) id i2F4qTrA076568; Mon, 15 Mar 2004 05:52:29 +0100 (CET) (envelope-from robert) Message-Id: <200403150452.i2F4qTrA076568@kb.pinguino.dk> Date: Mon, 15 Mar 2004 05:52:29 +0100 (CET) From: robert@martin-legene.dk To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.2 Subject: ports/64279: New port: sysutils/autostart X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Mar 2004 05:00:33 -0000 >Number: 64279 >Category: ports >Synopsis: New port: sysutils/autostart >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Mar 14 21:00:32 PST 2004 >Closed-Date: >Last-Modified: >Originator: Robert Martin-Legene >Release: FreeBSD 4.2-RELEASE i386 >Organization: >Environment: Confirmed working on 4.2-RELEASE and 4.9-RELEASE. >Description: New port: sysutils/autostart Autostart will automatically launch user programs (usually a script owned by the user) after the machine has booted. >How-To-Repeat: cd /usr/ports/sysutils/autostart make install clean vi .autostart.`whoami`@`hostname` chmod 744 !$ su root -c reboot >Fix: # 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: # # autostart # autostart/Makefile # autostart/pkg-descr # autostart/pkg-plist # autostart/distinfo # echo c - autostart mkdir -p autostart > /dev/null 2>&1 echo x - autostart/Makefile sed 's/^X//' >autostart/Makefile << 'END-of-autostart/Makefile' X# New ports collection makefile for: autostart X# Date created: 15 Mar 2004 X# Whom: Robert Martin-Legene X# X# $FreeBSD$ X# X XPORTNAME= autostart XPORTVERSION= 1.02 XCATEGORIES= sysutils XMASTER_SITES= http://robert.martin-legene.dk/ports/distfiles/ X XMAINTAINER= robert@martin-legene.dk XCOMMENT= Automatically launch user programs after machine has booted X XMAN8= autostart.8 XMANCOMPRESSED= yes X X.include END-of-autostart/Makefile echo x - autostart/pkg-descr sed 's/^X//' >autostart/pkg-descr << 'END-of-autostart/pkg-descr' XAfter a machine has booted, users home directories are checked Xfor an autostart file. If such exists and the permissions Xlooks safe, the file will be executed. X XThis will hinder users having to make crontabs that runs once Xevery 15 minutes / 1 hours or whatever their preference might Xbe, to ensure that their applications are running even after Xa system boot. X X- robert@martin-legene.dk END-of-autostart/pkg-descr echo x - autostart/pkg-plist sed 's/^X//' >autostart/pkg-plist << 'END-of-autostart/pkg-plist' Xsbin/autostart Xetc/rc.d/autostart.sh END-of-autostart/pkg-plist echo x - autostart/distinfo sed 's/^X//' >autostart/distinfo << 'END-of-autostart/distinfo' XMD5 (autostart-1.02.tar.gz) = 9c8b228fe1a59e58769b2ffc80a56b07 END-of-autostart/distinfo exit >Release-Note: >Audit-Trail: >Unformatted: