pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/shells/nologinmsg Initial import of nologinmsg 1.0 as ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b5fcf8a6e0cd
branches: trunk
changeset: 466036:b5fcf8a6e0cd
user: cjep <cjep%pkgsrc.org@localhost>
date: Sat Jan 10 17:05:44 2004 +0000
description:
Initial import of nologinmsg 1.0 as shells/nologinmsg.
Nologinmsg is a slightly more functional replacement for /sbin/nologin.
It adds per-user messages, and group messages (of a form).
>From the FreeBSD ports collection.
PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from: FreeBSD ports collection
MFC after:
diffstat:
shells/nologinmsg/DESCR | 2 ++
shells/nologinmsg/Makefile | 22 ++++++++++++++++++++++
shells/nologinmsg/PLIST | 2 ++
shells/nologinmsg/distinfo | 5 +++++
shells/nologinmsg/patches/patch-aa | 15 +++++++++++++++
5 files changed, 46 insertions(+), 0 deletions(-)
diffs (66 lines):
diff -r c63a8d899575 -r b5fcf8a6e0cd shells/nologinmsg/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/shells/nologinmsg/DESCR Sat Jan 10 17:05:44 2004 +0000
@@ -0,0 +1,2 @@
+Slightly more functional replacement for /sbin/nologin. Adds per-user
+messages, and group messages (of a form).
diff -r c63a8d899575 -r b5fcf8a6e0cd shells/nologinmsg/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/shells/nologinmsg/Makefile Sat Jan 10 17:05:44 2004 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/01/10 17:05:44 cjep Exp $
+# FreeBSD Id: ports/shells/nologinmsg/Makefile,v 1.3 2003/02/21 13:26:58 knu Exp
+
+DISTNAME= nologinmsg-1.0
+CATEGORIES= shells sysutils
+MASTER_SITES= ${MASTER_SITE_LOCAL}
+
+MAINTAINER= cjep%NetBSD.org@localhost
+#HOMEPAGE=
+COMMENT= More functional native binary replacement for /sbin/nologin
+
+USE_BUILDLINK2= yes
+
+post-patch:
+ ${MV} ${WRKSRC}/nologinmsg.8 ${WRKSRC}/nologinmsg.8.1
+ ${SED} -e 's|/usr/local/etc|${PKG_SYSCONFDIR}|g' \
+ ${WRKSRC}/nologinmsg.8.1 > ${WRKSRC}/nologinmsg.8
+ ${MV} ${WRKSRC}/pathnames.h ${WRKSRC}/pathnames.h.1
+ ${SED} -e 's|/usr/local/etc|${PKG_SYSCONFDIR}|g' \
+ ${WRKSRC}/pathnames.h.1 > ${WRKSRC}/pathnames.h
+
+.include "../../mk/bsd.pkg.mk"
diff -r c63a8d899575 -r b5fcf8a6e0cd shells/nologinmsg/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/shells/nologinmsg/PLIST Sat Jan 10 17:05:44 2004 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/01/10 17:05:44 cjep Exp $
+bin/nologinmsg
diff -r c63a8d899575 -r b5fcf8a6e0cd shells/nologinmsg/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/shells/nologinmsg/distinfo Sat Jan 10 17:05:44 2004 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/01/10 17:05:44 cjep Exp $
+
+SHA1 (nologinmsg-1.0.tar.gz) = 2271adfc47985db5e9c3c17f885dd9f728596157
+Size (nologinmsg-1.0.tar.gz) = 2954 bytes
+SHA1 (patch-aa) = 926105531543916c9d183bcc964f15fdd136d6c6
diff -r c63a8d899575 -r b5fcf8a6e0cd shells/nologinmsg/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/shells/nologinmsg/patches/patch-aa Sat Jan 10 17:05:44 2004 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/01/10 17:05:44 cjep Exp $
+
+--- Makefile.orig 2002-09-29 02:42:07.000000000 +0100
++++ Makefile
+@@ -2,8 +2,8 @@
+ PROG= nologinmsg
+ SRCS= nologinmsg.c
+ BINDIR= ${PREFIX}/bin
+-MANDIR= ${PREFIX}/man/man
+-MAN8= nologinmsg.8
++MANDIR= ${PREFIX}/man
++MAN= nologinmsg.8
+
+ CFLAGS+= -g
+
Home |
Main Index |
Thread Index |
Old Index