Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Apr 2000 00:41:37 -0400 (EDT)
From:      dannyboy@dannyboy.eyep.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/18288: new port: fortunelock
Message-ID:  <200004290441.AAA00893@dannyboy.eyep.net>

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

>Number:         18288
>Category:       ports
>Synopsis:       new port: fortunelock
>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:   Fri Apr 28 21:50:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Daniel Harris
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
N/A
>Environment:
>Description:

	See ports/18264.
>How-To-Repeat:
>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:
#
#	fortunelock
#	fortunelock/pkg
#	fortunelock/pkg/COMMENT
#	fortunelock/pkg/DESCR
#	fortunelock/pkg/PLIST
#	fortunelock/files
#	fortunelock/files/md5
#	fortunelock/Makefile
#	fortunelock/patches
#	fortunelock/patches/patch-aa
#
echo c - fortunelock
mkdir -p fortunelock > /dev/null 2>&1
echo c - fortunelock/pkg
mkdir -p fortunelock/pkg > /dev/null 2>&1
echo x - fortunelock/pkg/COMMENT
sed 's/^X//' >fortunelock/pkg/COMMENT << 'END-of-fortunelock/pkg/COMMENT'
XLocks a terminal while showing fortunes
END-of-fortunelock/pkg/COMMENT
echo x - fortunelock/pkg/DESCR
sed 's/^X//' >fortunelock/pkg/DESCR << 'END-of-fortunelock/pkg/DESCR'
XFortunelock is a "keep it simple, stupid" program to lock a terminal while
Xshowing fortunes. It was designed to be as small and simple as possible
Xand therefore does not support PAM, NIS, shadow passwords or even regular
Xpasswords: the user must enter a lock password to lock the terminal.
X
XWWW: http://capsi.cx/code-fortunelock.html
X
X- Daniel Harris
Xdannyboy@subdimension.com
END-of-fortunelock/pkg/DESCR
echo x - fortunelock/pkg/PLIST
sed 's/^X//' >fortunelock/pkg/PLIST << 'END-of-fortunelock/pkg/PLIST'
Xbin/fortunelock
END-of-fortunelock/pkg/PLIST
echo c - fortunelock/files
mkdir -p fortunelock/files > /dev/null 2>&1
echo x - fortunelock/files/md5
sed 's/^X//' >fortunelock/files/md5 << 'END-of-fortunelock/files/md5'
XMD5 (fortunelock-0.1.2.tar.bz2) = 3df38afc59800db77e7cf77b0239a480
END-of-fortunelock/files/md5
echo x - fortunelock/Makefile
sed 's/^X//' >fortunelock/Makefile << 'END-of-fortunelock/Makefile'
X# New ports collection makefile for:	fortunelock
X# Date created:			25 April 2000
X# Whom:				Daniel Harris <dannyboy@subdimension.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	fortunelock
XPORTVERSION=	0.1.2
XCATEGORIES=	sysutils
XMASTER_SITES=	http://capsi.cx/src/fortunelock/
X
XMAINTAINER=	dannyboy@subdimension.com
X
XUSE_BZIP2=	yes
X
XMAN1=		fortunelock.1
XMANCOMPRESSED=	no
X
X.include <bsd.port.mk>
END-of-fortunelock/Makefile
echo c - fortunelock/patches
mkdir -p fortunelock/patches > /dev/null 2>&1
echo x - fortunelock/patches/patch-aa
sed 's/^X//' >fortunelock/patches/patch-aa << 'END-of-fortunelock/patches/patch-aa'
X--- Makefile.orig	Thu Apr 20 14:15:07 2000
X+++ Makefile	Wed Apr 26 19:16:04 2000
X@@ -1,10 +1,10 @@
X-CC=gcc
X-CFLAGS=-O3
X+CC?=gcc
X+CFLAGS?=-O3
X #CFLAGS=-O3 -Wall -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -pedantic -ansi
X #CFLAGS=-g -Wall -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -pedantic -ansi
X TARGET=fortunelock
X LIBS=-lncurses
X-PREFIXDIR=/usr/local
X+PREFIX?=/usr/local
X 
X all: $(TARGET)
X 
X@@ -19,8 +19,8 @@
X 
X install: 
X 	strip fortunelock
X-	install -m 755 fortunelock $(PREFIXDIR)/bin
X-	install -m 644 fortunelock.1 $(PREFIXDIR)/man/man1
X+	install -c -m 755 fortunelock $(PREFIX)/bin
X+	install -c -m 644 fortunelock.1 $(PREFIX)/man/man1
X 
X uninstall:
X-	rm -rf $(PREFIXDIR)/bin/fortunelock
X+	rm -rf $(PREFIX)/bin/fortunelock
END-of-fortunelock/patches/patch-aa
exit


>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?200004290441.AAA00893>