Skip to content

Commit

Permalink
Create a rcmds package.
Browse files Browse the repository at this point in the history
Sponsored by:	The FreeBSD Foundation
  • Loading branch information
gjb authored and gjb committed Jan 21, 2016
1 parent 9b15cd4 commit 11e00eb
Show file tree
Hide file tree
Showing 11 changed files with 49 additions and 1 deletion.
2 changes: 2 additions & 0 deletions bin/rcp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ PROG= rcp
SRCS= rcp.c util.c
CFLAGS+=-DBINDIR=${BINDIR}

PACKAGE=rcmds

BINOWN= root
BINMODE=4555

Expand Down
9 changes: 8 additions & 1 deletion etc/pam.d/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ FILES= README \
login \
other \
passwd pop3 \
rsh \
sshd su system \
telnetd \
xdm
Expand All @@ -26,6 +25,14 @@ ATDIR= /etc/pam.d
ATMODE= 644
.endif

.if ${MK_RCMDS} != "no"
FILESGROUPS+= RCMDS
RCMDS+= rsh
RCMDSPACKAGE+= rcmds
RCMDSDIR= /etc/pam.d
RCMDSMODE= 644
.endif

FILESDIR= /etc/pam.d
FILESMODE= 644
FILESMODE_README= 444
Expand Down
1 change: 1 addition & 0 deletions libexec/rlogind/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

PROG= rlogind
MAN= rlogind.8
PACKAGE=rcmds
LIBADD= util
WARNS?= 2

Expand Down
2 changes: 2 additions & 0 deletions libexec/rshd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
PROG= rshd
MAN= rshd.8

PACKAGE=rcmds

WARNS?= 3
WFORMAT=0

Expand Down
13 changes: 13 additions & 0 deletions release/packages/rcmds-debug.ucl
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name = "FreeBSD-%PKGNAME%"
origin = "base"
version = "%VERSION%"
comment = "Remote Command Tools (debugging symbols)"
categories = [ base ]
maintainer = "[email protected]"
www = "https://www.FreeBSD.org"
prefix = "/"
licenselogic = "single"
licenses = [ BSD2CLAUSE ]
desc = <<EOD
%DESC%
EOD
13 changes: 13 additions & 0 deletions release/packages/rcmds.ucl
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name = "FreeBSD-%PKGNAME%"
origin = "base"
version = "%VERSION%"
comment = "Remote Command Tools"
categories = [ base ]
maintainer = "[email protected]"
www = "https://www.FreeBSD.org"
prefix = "/"
licenselogic = "single"
licenses = [ BSD2CLAUSE ]
desc = <<EOD
%DESC%
EOD
2 changes: 2 additions & 0 deletions usr.bin/rlogin/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

PROG= rlogin

PACKAGE=rcmds

BINOWN= root
BINMODE=4555

Expand Down
2 changes: 2 additions & 0 deletions usr.bin/rsh/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
PROG= rsh
CFLAGS+=-I${.CURDIR}/../../libexec/rlogind

PACKAGE=rcmds

BINOWN= root
BINMODE=4555

Expand Down
2 changes: 2 additions & 0 deletions usr.bin/ruptime/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@

PROG= ruptime

PACKAGE=rcmds

.include <bsd.prog.mk>
2 changes: 2 additions & 0 deletions usr.bin/rwho/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@

PROG= rwho

PACKAGE=rcmds

.include <bsd.prog.mk>
2 changes: 2 additions & 0 deletions usr.sbin/rwhod/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
PROG= rwhod
MAN= rwhod.8

PACKAGE=rcmds

WARNS?= 3

.include <bsd.prog.mk>

0 comments on commit 11e00eb

Please sign in to comment.