diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2005-05-22 12:04:06 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2005-05-22 12:04:06 +0000 |
commit | ec56cc58d1b5df4c9fa34372477449d6dddcf282 (patch) | |
tree | 7c1f2ed06a538b952c464cb239e4812bee6fb70c /net-misc | |
parent | Add nasty hack so config.{sub,guess} is writable (and hence econf wont fail t... (diff) | |
download | gentoo-2-ec56cc58d1b5df4c9fa34372477449d6dddcf282.tar.gz gentoo-2-ec56cc58d1b5df4c9fa34372477449d6dddcf282.tar.bz2 gentoo-2-ec56cc58d1b5df4c9fa34372477449d6dddcf282.zip |
Inherit pam for newpamd function. Added new revision with include syntax for OpenPAM compatibility.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/netkit-rsh/ChangeLog | 11 | ||||
-rw-r--r-- | net-misc/netkit-rsh/Manifest | 8 | ||||
-rw-r--r-- | net-misc/netkit-rsh/files/digest-netkit-rsh-0.17-r7 | 2 | ||||
-rw-r--r-- | net-misc/netkit-rsh/files/rexec.pamd-include | 9 | ||||
-rw-r--r-- | net-misc/netkit-rsh/files/rlogin.pamd-include | 11 | ||||
-rw-r--r-- | net-misc/netkit-rsh/files/rsh.pamd-include | 13 | ||||
-rw-r--r-- | net-misc/netkit-rsh/netkit-rsh-0.17-r6.ebuild | 4 | ||||
-rw-r--r-- | net-misc/netkit-rsh/netkit-rsh-0.17-r7.ebuild | 66 |
8 files changed, 118 insertions, 6 deletions
diff --git a/net-misc/netkit-rsh/ChangeLog b/net-misc/netkit-rsh/ChangeLog index 9a46db3927d5..5f4bbd8e0686 100644 --- a/net-misc/netkit-rsh/ChangeLog +++ b/net-misc/netkit-rsh/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for net-misc/netkit-rsh # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-rsh/ChangeLog,v 1.23 2005/05/21 12:46:31 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-rsh/ChangeLog,v 1.24 2005/05/22 12:04:06 flameeyes Exp $ + +*netkit-rsh-0.17-r7 (22 May 2005) + + 22 May 2005; Diego Pettenò <flameeyes@gentoo.org> + +files/rexec.pamd-include, +files/rlogin.pamd-include, + +files/rsh.pamd-include, netkit-rsh-0.17-r6.ebuild, + +netkit-rsh-0.17-r7.ebuild: + Inherit pam for newpamd function. Added new revision with include syntax for + OpenPAM compatibility. 21 May 2005; Markus Rothe <corsair@gentoo.org> netkit-rsh-0.17-r6.ebuild: Stable on ppc64; bug #93215 diff --git a/net-misc/netkit-rsh/Manifest b/net-misc/netkit-rsh/Manifest index b456f0a20448..ff81a33d29a2 100644 --- a/net-misc/netkit-rsh/Manifest +++ b/net-misc/netkit-rsh/Manifest @@ -1,8 +1,7 @@ MD5 97e5150fbfacfe9b937246d81ff5a92c ChangeLog 4201 -MD5 018bc520dd3079ec49d1e337e64db5a8 netkit-rsh-0.17-r6.ebuild 1678 MD5 0d35953e8d20a584860aec805fb3176f netkit-rsh-0.17-r5.ebuild 1956 -MD5 5b6497e87f4d7de5851f57d8ba73d75b files/digest-netkit-rsh-0.17-r6 126 -MD5 49b955e20153259f348033f607b9cac8 files/netkit-rsh-0.10-stdarg.patch 952 +MD5 5bd51be3a5517a9ba508a59dcd46277f netkit-rsh-0.17-r6.ebuild 1682 +MD5 4c10c52025f71155c80acce712b34e09 netkit-rsh-0.17-r7.ebuild 1633 MD5 00dc5439d1237d8da5351107131d6e28 files/digest-netkit-rsh-0.17-r5 71 MD5 849aa086002eda305d4d6d59a94fadd8 files/rexec.pamd 457 MD5 501cf426db7510decc4dee17b07c5ea2 files/rexec.xinetd 280 @@ -12,6 +11,8 @@ MD5 14c9e8ca2d9f8b9ae525e14fdd13df31 files/rlogind-auth.diff 260 MD5 7b9d8d0930734500608538c166d0179a files/rsh.pamd 445 MD5 0586a4c1829df038be6179b9be20c458 files/rsh.xinetd 279 MD5 9b184bf125dc1c12dea5364f6aeb2f69 files/va_start.diff 569 +MD5 5b6497e87f4d7de5851f57d8ba73d75b files/digest-netkit-rsh-0.17-r6 126 +MD5 49b955e20153259f348033f607b9cac8 files/netkit-rsh-0.10-stdarg.patch 952 MD5 97e5406e59c08d21c2b06f9de5b1731f files/netkit-rsh-0.16-jbj.patch 1105 MD5 177a1cdcf36f1c698b8e94ac8b6abfc7 files/netkit-rsh-0.16-jbj4.patch 314 MD5 bfd431692675af108693a643a4a7213f files/netkit-rsh-0.16-nokrb.patch 5117 @@ -34,3 +35,4 @@ MD5 47b233c663e185795193bb878b3cad32 files/netkit-rsh-0.17-sectty.patch 1454 MD5 f1f297025fb545f4cf2dc02e6c63867f files/netkit-rsh-0.17-strip.patch 2459 MD5 6bb199dffcf2c9f158ca571310bb5569 files/netkit-rsh-0.17-userandhost.patch 2188 MD5 645b699bd649a22d2d0ef57b0efd9e93 files/redhat.spec 805 +MD5 5b6497e87f4d7de5851f57d8ba73d75b files/digest-netkit-rsh-0.17-r7 126 diff --git a/net-misc/netkit-rsh/files/digest-netkit-rsh-0.17-r7 b/net-misc/netkit-rsh/files/digest-netkit-rsh-0.17-r7 new file mode 100644 index 000000000000..a734efb0e00a --- /dev/null +++ b/net-misc/netkit-rsh/files/digest-netkit-rsh-0.17-r7 @@ -0,0 +1,2 @@ +MD5 65f5f28e2fe22d9ad8b17bb9a10df096 netkit-rsh-0.17.tar.gz 58268 +MD5 17c2b2fa2aed6af7e0b850673d5ef1f9 rexec-1.5.tar.gz 18469 diff --git a/net-misc/netkit-rsh/files/rexec.pamd-include b/net-misc/netkit-rsh/files/rexec.pamd-include new file mode 100644 index 000000000000..ca9bfcafc9e2 --- /dev/null +++ b/net-misc/netkit-rsh/files/rexec.pamd-include @@ -0,0 +1,9 @@ +#%PAM-1.0 +# For root login to succeed here with pam_securetty, "rexec" must be +# listed in /etc/securetty. +auth required pam_nologin.so +auth required pam_securetty.so +auth optional pam_env.so +auth include system-auth +account include system-auth +session include system-auth diff --git a/net-misc/netkit-rsh/files/rlogin.pamd-include b/net-misc/netkit-rsh/files/rlogin.pamd-include new file mode 100644 index 000000000000..54e49c332056 --- /dev/null +++ b/net-misc/netkit-rsh/files/rlogin.pamd-include @@ -0,0 +1,11 @@ +#%PAM-1.0 +# For root login to succeed here with pam_securetty, "rlogin" must be +# listed in /etc/securetty. +auth required pam_nologin.so +auth required pam_securetty.so +auth required pam_env.so +auth sufficient pam_rhosts_auth.so +auth include system-auth +account include system-auth +password include system-auth +session include system-auth diff --git a/net-misc/netkit-rsh/files/rsh.pamd-include b/net-misc/netkit-rsh/files/rsh.pamd-include new file mode 100644 index 000000000000..bcee6c5b01e2 --- /dev/null +++ b/net-misc/netkit-rsh/files/rsh.pamd-include @@ -0,0 +1,13 @@ +#%PAM-1.0 +# For root login to succeed here with pam_securetty, "rsh" must be +# listed in /etc/securetty. +auth required pam_nologin.so +auth required pam_securetty.so +auth optional pam_env.so + +# Uncomment this and comment the following to use rhosts_auth module +#auth required pam_rhosts_auth.so +auth include system-auth + +account include system-auth +session include system-auth diff --git a/net-misc/netkit-rsh/netkit-rsh-0.17-r6.ebuild b/net-misc/netkit-rsh/netkit-rsh-0.17-r6.ebuild index c24e24d5d173..9db033f1030c 100644 --- a/net-misc/netkit-rsh/netkit-rsh-0.17-r6.ebuild +++ b/net-misc/netkit-rsh/netkit-rsh-0.17-r6.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-rsh/netkit-rsh-0.17-r6.ebuild,v 1.6 2005/05/21 12:46:31 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-rsh/netkit-rsh-0.17-r6.ebuild,v 1.7 2005/05/22 12:04:06 flameeyes Exp $ -inherit eutils +inherit eutils pam DESCRIPTION="Netkit's Remote Shell Suite: rexec{,d} rlogin{,d} rsh{,d}" HOMEPAGE="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/" diff --git a/net-misc/netkit-rsh/netkit-rsh-0.17-r7.ebuild b/net-misc/netkit-rsh/netkit-rsh-0.17-r7.ebuild new file mode 100644 index 000000000000..fe11825c11b9 --- /dev/null +++ b/net-misc/netkit-rsh/netkit-rsh-0.17-r7.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-rsh/netkit-rsh-0.17-r7.ebuild,v 1.1 2005/05/22 12:04:06 flameeyes Exp $ + +inherit eutils pam + +DESCRIPTION="Netkit's Remote Shell Suite: rexec{,d} rlogin{,d} rsh{,d}" +HOMEPAGE="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/" +SRC_URI="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/${P}.tar.gz + mirror://gentoo/rexec-1.5.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="pam" + +DEPEND=">=sys-libs/ncurses-5.2 + pam? ( virtual/pam )" + +src_unpack() { + unpack ${P}.tar.gz + cd "${S}" + unpack rexec-1.5.tar.gz + for p in $(grep -v '^#' "${FILESDIR}"/redhat.spec) ; do + EPATCH_SINGLE_MSG="Applying Redhat's ${p} ..." \ + epatch "${FILESDIR}"/${p} + done + sed -i \ + -e '/LDFLAGS/s:$: -Wl,-z,now:' \ + r{cp,login,sh}/Makefile +} + +src_compile() { + local myconf + use pam || myconf="--without-pam" + ./configure ${myconf} || die + + sed -i \ + -e "s:-pipe -O2:${CFLAGS}:" \ + -e "s:-Wpointer-arith::" \ + MCONFIG + make || die +} + +src_install() { + local b exe + insinto /etc/xinetd.d + for b in rcp rexec{,d} rlogin{,d} rsh{,d} ; do + if [[ ${b:0-1} == "d" ]] ; then + dosbin ${b}/${b} || die "dosbin ${b} failed" + dosym ${b} /usr/sbin/in.${b} + doman ${b}/${b}.8 + else + dobin ${b}/${b} || die "dobin ${b} failed" + doman ${b}/${b}.1 + [[ ${b} != "rexec" ]] \ + && fperms 4711 /usr/bin/${b} + if [[ ${b} != "rcp" ]]; then + newins "${FILESDIR}"/${b}.xinetd ${b} + newpamd "${FILESDIR}/${b}.pamd-include" ${b} + fi + fi + done + dodoc README ChangeLog BUGS + newdoc rexec/README README.rexec +} |