summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorcjep <cjep@pkgsrc.org>2004-01-10 17:05:44 +0000
committercjep <cjep@pkgsrc.org>2004-01-10 17:05:44 +0000
commitfefd0d387e58a0eefa862831a5ff12e3874684d1 (patch)
tree96908811c4ff071df0686c7368ab655c906d6857 /shells
parenta313ade2854e615d5944711ba40ffca61b2cb97a (diff)
downloadpkgsrc-fefd0d387e58a0eefa862831a5ff12e3874684d1.tar.gz
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 (limited to 'shells')
-rw-r--r--shells/nologinmsg/DESCR2
-rw-r--r--shells/nologinmsg/Makefile22
-rw-r--r--shells/nologinmsg/PLIST2
-rw-r--r--shells/nologinmsg/distinfo5
-rw-r--r--shells/nologinmsg/patches/patch-aa15
5 files changed, 46 insertions, 0 deletions
diff --git a/shells/nologinmsg/DESCR b/shells/nologinmsg/DESCR
new file mode 100644
index 00000000000..0e25f472f14
--- /dev/null
+++ b/shells/nologinmsg/DESCR
@@ -0,0 +1,2 @@
+Slightly more functional replacement for /sbin/nologin. Adds per-user
+messages, and group messages (of a form).
diff --git a/shells/nologinmsg/Makefile b/shells/nologinmsg/Makefile
new file mode 100644
index 00000000000..ffccf67de47
--- /dev/null
+++ b/shells/nologinmsg/Makefile
@@ -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
+#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 --git a/shells/nologinmsg/PLIST b/shells/nologinmsg/PLIST
new file mode 100644
index 00000000000..09f9703795b
--- /dev/null
+++ b/shells/nologinmsg/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/01/10 17:05:44 cjep Exp $
+bin/nologinmsg
diff --git a/shells/nologinmsg/distinfo b/shells/nologinmsg/distinfo
new file mode 100644
index 00000000000..0ca3b39734f
--- /dev/null
+++ b/shells/nologinmsg/distinfo
@@ -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 --git a/shells/nologinmsg/patches/patch-aa b/shells/nologinmsg/patches/patch-aa
new file mode 100644
index 00000000000..61ca7296828
--- /dev/null
+++ b/shells/nologinmsg/patches/patch-aa
@@ -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
+