add dynamic motd generator

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/genlink@2634 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one
2010-10-31 13:20:29 +00:00
parent b2304cadfc
commit 9bae6d0d35
11 changed files with 114 additions and 13 deletions

View File

@@ -0,0 +1,2 @@
DIST update-motd_3.5.orig.tar.gz 17686 RMD160 f4df6d07798a04c69d0ae7740b806551c6bc5e46 SHA1 4e34fa820463bebb83c4a30cfbe4f0496f8eb1e7 SHA256 c1f8c3d8b54aa6a1300b173b4bf81ee768ffd9396ef3e4ce4c1454ef32a7ed00
EBUILD update-motd-3.5.ebuild 654 RMD160 7e29fbf36a30275d24de614de18ba392e8bdcda1 SHA1 d63436d6d9c0339dbd6d2a647eb59725516c53c7 SHA256 b8c8b951889e9509f861418e7c4d682586b86bb17308c3b08c3a12fbb9773244

View File

@@ -0,0 +1,35 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils
DESCRIPTION="dynamic update for the motd file"
HOMEPAGE="http://bazaar.launchpad.net/~kirkland/update-motd/main"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""
RESTRICT="mirror"
S="${WORKDIR}/${PN}_${PV}.orig"
SRC_URI_BASE="mirror://ubuntu/pool/main/${PN:0:1}/${PN}/"
SRC_URI="${SRC_URI_BASE}${PN}_${PV}.orig.tar.gz"
DEPEND=""
RDEPEND="sys-apps/debianutils"
PDEPEND="app-admin/motd-base"
src_install() {
dobin update-motd
insinto /etc/profile.d
doins update-motd.sh
doman update-motd.1
dodoc README THANKS
keepdir /etc/update-motd.d
}