From 21667adc4b631e498e0bb33dd7d4027b1c9cfe49 Mon Sep 17 00:00:00 2001 From: Steve Price Date: Sun, 30 Apr 2000 00:35:15 +0000 Subject: Initial import of fortunlock version 0.1.2. Locks the terminal while showing fortunes. PR: 18288 Submitted by: Daniel Harris --- sysutils/fortunelock/Makefile | 20 ++++++++++++++++++++ sysutils/fortunelock/distinfo | 1 + sysutils/fortunelock/files/patch-aa | 28 ++++++++++++++++++++++++++++ sysutils/fortunelock/pkg-comment | 1 + sysutils/fortunelock/pkg-descr | 9 +++++++++ sysutils/fortunelock/pkg-plist | 1 + 6 files changed, 60 insertions(+) create mode 100644 sysutils/fortunelock/Makefile create mode 100644 sysutils/fortunelock/distinfo create mode 100644 sysutils/fortunelock/files/patch-aa create mode 100644 sysutils/fortunelock/pkg-comment create mode 100644 sysutils/fortunelock/pkg-descr create mode 100644 sysutils/fortunelock/pkg-plist diff --git a/sysutils/fortunelock/Makefile b/sysutils/fortunelock/Makefile new file mode 100644 index 000000000000..16e0c5b1c1c3 --- /dev/null +++ b/sysutils/fortunelock/Makefile @@ -0,0 +1,20 @@ +# New ports collection makefile for: fortunelock +# Date created: 25 April 2000 +# Whom: Daniel Harris +# +# $FreeBSD$ +# + +PORTNAME= fortunelock +PORTVERSION= 0.1.2 +CATEGORIES= sysutils +MASTER_SITES= http://capsi.cx/src/fortunelock/ + +MAINTAINER= dannyboy@subdimension.com + +USE_BZIP2= yes + +MAN1= fortunelock.1 +MANCOMPRESSED= no + +.include diff --git a/sysutils/fortunelock/distinfo b/sysutils/fortunelock/distinfo new file mode 100644 index 000000000000..11280db79e33 --- /dev/null +++ b/sysutils/fortunelock/distinfo @@ -0,0 +1 @@ +MD5 (fortunelock-0.1.2.tar.bz2) = 3df38afc59800db77e7cf77b0239a480 diff --git a/sysutils/fortunelock/files/patch-aa b/sysutils/fortunelock/files/patch-aa new file mode 100644 index 000000000000..440a2c72e4ef --- /dev/null +++ b/sysutils/fortunelock/files/patch-aa @@ -0,0 +1,28 @@ +--- Makefile.orig Thu Apr 20 14:15:07 2000 ++++ Makefile Wed Apr 26 19:16:04 2000 +@@ -1,10 +1,10 @@ +-CC=gcc +-CFLAGS=-O3 ++CC?=gcc ++CFLAGS?=-O3 + #CFLAGS=-O3 -Wall -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -pedantic -ansi + #CFLAGS=-g -Wall -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -pedantic -ansi + TARGET=fortunelock + LIBS=-lncurses +-PREFIXDIR=/usr/local ++PREFIX?=/usr/local + + all: $(TARGET) + +@@ -19,8 +19,8 @@ + + install: + strip fortunelock +- install -m 755 fortunelock $(PREFIXDIR)/bin +- install -m 644 fortunelock.1 $(PREFIXDIR)/man/man1 ++ install -c -m 755 fortunelock $(PREFIX)/bin ++ install -c -m 644 fortunelock.1 $(PREFIX)/man/man1 + + uninstall: +- rm -rf $(PREFIXDIR)/bin/fortunelock ++ rm -rf $(PREFIX)/bin/fortunelock diff --git a/sysutils/fortunelock/pkg-comment b/sysutils/fortunelock/pkg-comment new file mode 100644 index 000000000000..24abcbd6a9bd --- /dev/null +++ b/sysutils/fortunelock/pkg-comment @@ -0,0 +1 @@ +Locks a terminal while showing fortunes diff --git a/sysutils/fortunelock/pkg-descr b/sysutils/fortunelock/pkg-descr new file mode 100644 index 000000000000..422c13eb5eca --- /dev/null +++ b/sysutils/fortunelock/pkg-descr @@ -0,0 +1,9 @@ +Fortunelock is a "keep it simple, stupid" program to lock a terminal while +showing fortunes. It was designed to be as small and simple as possible +and therefore does not support PAM, NIS, shadow passwords or even regular +passwords: the user must enter a lock password to lock the terminal. + +WWW: http://capsi.cx/code-fortunelock.html + +- Daniel Harris +dannyboy@subdimension.com diff --git a/sysutils/fortunelock/pkg-plist b/sysutils/fortunelock/pkg-plist new file mode 100644 index 000000000000..c98d5306c41f --- /dev/null +++ b/sysutils/fortunelock/pkg-plist @@ -0,0 +1 @@ +bin/fortunelock -- cgit v1.2.3