ports/66964: New port x11/xtrlock
"Alexey Y. Mikhailov" <Alexey Y.Mikhailov
karma at ez.pereslavl.ru
Thu May 20 22:30:17 UTC 2004
>Number: 66964
>Category: ports
>Synopsis: New port x11/xtrlock
>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: Thu May 20 15:30:15 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator: Alexey Y. Mikhailov
>Release: FreeBSD 5.2.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD 5.2.1-RELEASE #2: Wed May 12 17:21:50 MSD 2004
root at ez.pereslavl.ru:/usr/src/sys/i386/compile/MYKERNEL
>Description:
New port x11/xtrlock
A minimal xlock with minimum usage of resources.
>How-To-Repeat:
>Fix:
--- xtrlock.shar begins here ---
# 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:
#
# xtrlock
# xtrlock/pkg-descr
# xtrlock/distinfo
# xtrlock/files
# xtrlock/files/patch-aa
# xtrlock/files/Makefile
# xtrlock/Makefile
#
echo c - xtrlock
mkdir -p xtrlock > /dev/null 2>&1
echo x - xtrlock/pkg-descr
sed 's/^X//' >xtrlock/pkg-descr << 'END-of-xtrlock/pkg-descr'
XA minimal xlock with minimum usage of resources.
END-of-xtrlock/pkg-descr
echo x - xtrlock/distinfo
sed 's/^X//' >xtrlock/distinfo << 'END-of-xtrlock/distinfo'
XMD5 (xtrlock_2.0-8.tar.gz) = db68dc8f1e4b5b55183cc3c33a5bd799
XSIZE (xtrlock_2.0-8.tar.gz) = 7310
END-of-xtrlock/distinfo
echo c - xtrlock/files
mkdir -p xtrlock/files > /dev/null 2>&1
echo x - xtrlock/files/patch-aa
sed 's/^X//' >xtrlock/files/patch-aa << 'END-of-xtrlock/files/patch-aa'
X*** xtrlock.c.orig Sun Sep 1 08:46:29 2002
X--- xtrlock.c Tue May 18 17:45:48 2004
X***************
X*** 31,41 ****
X #include <grp.h>
X #include <limits.h>
X #include <string.h>
X- #include <crypt.h>
X #include <unistd.h>
X #include <math.h>
X #include <ctype.h>
X- #include <values.h>
X
X #ifdef SHADOW_PWD
X #include <shadow.h>
X--- 31,39 ----
END-of-xtrlock/files/patch-aa
echo x - xtrlock/files/Makefile
sed 's/^X//' >xtrlock/files/Makefile << 'END-of-xtrlock/files/Makefile'
X# Makefile for xtrlock - X Transparent Lock
X# This Makefile provided for those of you who lack a functioning xmkmf.
X#
X# Copyright (C)1993,1994 Ian Jackson
X#
X# This is free software; you can redistribute it and/or modify
X# it under the terms of the GNU General Public License as published by
X# the Free Software Foundation; either version 2, or (at your option)
X# any later version.
X#
X# This is distributed in the hope that it will be useful,
X# but WITHOUT ANY WARRANTY; without even the implied warranty of
X# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
X# GNU General Public License for more details.
X
XLDLIBS=-lX11 -lcrypt
XCC=gcc
XCFLAGS=-I${X11BASE}/include -L${X11BASE}/lib
XINSTALL=install -c
XINSTALL_PROGRAM = ${INSTALL}
XINSTPGMFLAGS = -s -o root -m4111
XOBJS=xtrlock.o
X
Xxtrlock: xtrlock.o
X ${CC} ${CFLAGS} ${LDLIBS} -o xtrlock ${OBJS}
X
Xxtrlock.o: xtrlock.c lock.bitmap mask.bitmap patchlevel.h
X ${CC} -c ${CFLAGS} xtrlock.c
X
Xinstall: xtrlock install.man
X $(INSTALL_PROGRAM) $(INSTPGMFLAGS) xtrlock ${X11BASE}/bin
X
Xinstall.man:
X $(INSTALL) -m 644 xtrlock.man ${X11BASE}/man/man1/xtrlock.1
X
Xall: xtrlock
X
X
X
X
END-of-xtrlock/files/Makefile
echo x - xtrlock/Makefile
sed 's/^X//' >xtrlock/Makefile << 'END-of-xtrlock/Makefile'
X# New ports collection makefile for: xtrlock
X# Date created: 18 May 2004
X# Whom: Alexey Mikhailov <karma at ez.pereslavl.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME= xtrlock
XPORTVERSION= 2.0.8
XPORTREVISION= 1
XCATEGORIES+= x11
XMASTER_SITES= http://ftp.debian.org/debian/pool/main/x/xtrlock/
XDISTNAME= ${PORTNAME}_2.0-8
X
XMAINTAINER= karma at ez.pereslavl.ru
XCOMMENT= X Transparent Lock
X
XUSE_X_PREFIX= yes
X
XWRKSRC= ${WRKDIR}/${PORTNAME}-2.0
XMAKEFILE= ${FILESDIR}/Makefile
X
XMAN1= xtrlock.1
XPLIST_FILES= bin/xtrlock
X
X.include <bsd.port.mk>
END-of-xtrlock/Makefile
exit
--- xtrlock.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list