Add Cron script and proper dependencies

(Portage version: 2.2.0_alpha123/git/Linux x86_64, RepoMan options: --force, unsigned Manifest commit)
This commit is contained in:
Mario Fetka 2012-11-04 21:00:56 +01:00
parent e833198b00
commit 19629c7f20
3 changed files with 19 additions and 3 deletions

View File

@ -1,5 +1,6 @@
AUX 00-sabayon-anti-fork-bomb.conf 690 SHA256 80f397f12a746a73d48d90c010d6176c9e0661fbe118c770f97c165810caeee5 SHA512 da4c0ce2efacb3a420a73fc6ac533d17fef8e338bf6d3e784e52e49f1098504e985d4a24a96b4f67c1ceda45942c592423de3f5699cefd4aa148c23f5414acd3 WHIRLPOOL dc283b03fdd9acf8bb27c2904a40f94ebc5c45f81bd4f46c825fa5e999975d5663c25bf1d8226bb4b9e0c31791295dd75e0ef2ed3ed343defaf21557aba71d19
AUX check.py 115 SHA256 e8ed197aef798b0656a5b242fd43f8ff913594b1c59d157360740630b3ab2048 SHA512 cfa3a99ca687c065c3a045418548c4ea96062074a7b727f5632e9cfddbc6acfdff81a0aa3ac1738801be044d02ba529e45f35d9867db52f1527f3c76423bf7dd WHIRLPOOL 40c2f49c8ca24dcdb27b3c0c3305b90262e3491918d31851ae7f12196038d6ee4b2175f121bafac31baa461cfb2370e770311dda5380b7c3f548c29d69c61a7e
AUX equo-update.cron 56 SHA256 daa3666087585aac025162ee78189c94c6d39662a56c3b7497f6789caabc9364 SHA512 071abc2530ca3842249459ec1996f0e378b6b73bb4d6f5b6daa1b5e92f37342f1eee3f00bc6b2da4f31777ecfc3bf89d034b2362216f38731645a55970a16e65 WHIRLPOOL 82cd89523f0d21c1177b5245bd9afa1f9396c938bf292f6dc80fe6402bcb5501e12f5ec0c81afbea156a85ee5041094a2cc0c35e797663926be9835974814b37
AUX greeting.sh 1830 SHA256 92c6b5620c08c7868fda0e7fa7b003872aced5bb11681cf333494dbdc6c6526f SHA512 298d33a3c600c00bc46c54e31f7ec20c4ecca90da143a9b5abfed3aaef7c9d5664419d22b7ebb13ab8c1ba66d1329e114ead4d101093cdac8b20d116891f913e WHIRLPOOL 448d802524acfd01adb970d196b0dde3b777672250c1125632a5e7e68a788f4b0afd883035cff0629b43c6c395f603ae71ca9982df0f4fcc732f60f6519ad7cb
EBUILD sablink-version-0.ebuild 1353 SHA256 f08e36f2345ffcc73bb3018e8f6a4f7dc2a597fc86e2f43760e3c1f53441ad62 SHA512 cd8c35b51052744fc193242f467e4da52e439c44e63ed3383c5627d76601f7dad3dcaf9bf6bd8b9746fba5c0610dd3a8286caab9fe6c779b887dce73fe365794 WHIRLPOOL 85777831764a5f91676ddcd38e30c90c940e6f2ca2ae32e96a975ebc8f4abe5c6e54c9f96e6348b5e0d4669540a8ef210299dc0aaf1747e672c0d37cff312cd9
EBUILD sablink-version-0.ebuild 1602 SHA256 372892f645e8c0eb8be2ecf1774fea1194d5ce9d51c5fe53dfc6eb06a4334641 SHA512 75e1d561f01f7f38e109a94823c4b843c8b7e7fea66b274be3d94ee24b06dcb455a2a7fcba32aae641e347c1fe4b9f71712dcba07525ac5ec22bb7737efbc24b WHIRLPOOL ec83ad685f530d021b687dab7fb0c583612cde7aee37e2105190fd71602032c45e33c34d2228bb5d65358bb53d6e139ead39d3ab16120d4f871bf011a028ddb8
MISC metadata.xml 201 SHA256 56d6a20c3db8ae4e27afa0c395811020111e1093b58e2a6b4da6f4f3f0605d7e SHA512 a93eecbe1e2d614d3d8ebd418c7bb690221b889790f392c8a3d11f5d726955c53f9c8300c38b734bf0e0ceecb07bf901cbc25b9381d4417fd9b87ab3830279c3 WHIRLPOOL e68445633cbba9adfd423588892a44020aec6c1b2fe479c2c4d58a0dc3b48a011f0dcd681ccc01c204f85c7a33f7171760c12d3a0b5899d66bc97c44c91836ab

View File

@ -0,0 +1,3 @@
#!/bin/bash
LC_ALL=en_US.UTF-8 equo update &> /dev/null

View File

@ -19,7 +19,9 @@ RDEPEND="app-admin/eselect-python
dev-lang/python:2.7
sys-devel/base-gcc:4.6
sys-devel/gcc-config
app-admin/update-motd"
app-admin/update-motd
virtual/cron
app-admin/equo"
SABLINK_VER="${PV}"
SABLINK_HEADER="SabLink Linux"
@ -36,14 +38,24 @@ src_unpack() {
}
src_install() {
# install relesae file
insinto /etc
doins "${SABLINK_RELEASE}"
dosym /etc/"${SABLINK_RELEASE}" /etc/system-release
# install equo update cron
exeinto /etc/cron.daily
doexe "${FILESDIR}/equo-update.cron"
# Bug 3459 - reduce the risk of fork bombs
insinto /etc/security/limits.d
doins "${FILESDIR}/00-sabayon-anti-fork-bomb.conf"
newins "${FILESDIR}/00-sabayon-anti-fork-bomb.conf" 00-sablink-anti-fork-bomb.conf
# install sablink greeting
exeinto /etc/update-motd.d
newexe "${FILESDIR}/greeting.sh" 20-greeting
# install the check for updates script
newbin "${FILESDIR}/check.py" sablink-equo-check
}