summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2013-03-05 12:59:28 +0800
committerPatrick Lauer <patrick@gentoo.org>2013-03-05 12:59:28 +0800
commit28bfb85087b80d451846ffd1b1424e302092c589 (patch)
tree6ee24af36247e4d347c339c404592dc4dfa6fdc9 /app-admin
parentapp-admin/jailkit: Add ~amd64 keyword, EAPI bump (diff)
downloadsunrise-28bfb85087b80d451846ffd1b1424e302092c589.tar.gz
sunrise-28bfb85087b80d451846ffd1b1424e302092c589.tar.bz2
sunrise-28bfb85087b80d451846ffd1b1424e302092c589.zip
app-admin/ldapscripts: Add ~amd64 keyword, EAPI bump
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/ldapscripts/Manifest2
-rw-r--r--app-admin/ldapscripts/ldapscripts-1.5-r1.ebuild (renamed from app-admin/ldapscripts/ldapscripts-1.5.ebuild)10
2 files changed, 6 insertions, 6 deletions
diff --git a/app-admin/ldapscripts/Manifest b/app-admin/ldapscripts/Manifest
index 6314e075e..3c8d2b666 100644
--- a/app-admin/ldapscripts/Manifest
+++ b/app-admin/ldapscripts/Manifest
@@ -1,4 +1,4 @@
DIST ldapscripts-1.5.tgz 20357 SHA256 22ee9be675d3a3a529a92ae6ab16bd0727fa8cf06c9bdb90eac4394f57d2eddc SHA512 ad440e87033b4c932d1878ecf80b4feae479558a29e9b07a1e97667da0125caddf5f8523e6d5d000a32e58760fa1392e5c1f26f91c989fb260e32f82d6f08be5 WHIRLPOOL 3dbed5aa17c8545ccbcac6e7d21761e2d83f9e10458011439bf1836cbc7bd47e6ff93c6aedcce994066f1af0f2b7a176b2139e478bd95cf0f2f61c9f91c20725
-EBUILD ldapscripts-1.5.ebuild 947 SHA256 cb394dd5e48fb6179f544153e816f09f0e51d16d4c7cc40fbfc30be969197ea4 SHA512 8c028f4b9717fa9ba5fea9b978579940ebd43be87eaacdf69c9227472e0b0a63009abc0990db025ec6f00b95235c6dedc64cac298de5fa62fc7d3d28df9ba550 WHIRLPOOL bd3d12aeedb1370cf904c4c62648924b7746ff4fbc5bef444f8349d21e6dab1dc15cda8ffb933d073eeb58c9339c625e55718a6fd71f96636476669f6079a3bb
+EBUILD ldapscripts-1.5-r1.ebuild 895 SHA256 9dadd5a97060798be40234f5188a09203ab44d1fe808e180e66711e9b5d613d4 SHA512 771059ca29fd10cebe6d27afd05838cce5bca4482f1c6afc9bca6e0693160f73a326cb4bd3b4ef427afa1402663063c753ed66fe2ad07cc6cdda27d7344d1db1 WHIRLPOOL 0d2cc169e7ef2fb3331a9fa75ea09d5ac863c3dc5b48703c5333a21d5937b51c4ca3cd624980a6c9b08f8b89c536843cb10941d621bc5173c9d1c29f80b5ead8
MISC ChangeLog 648 SHA256 5fb31ff72c20cd8171cba4c26b44070df41c42298d85052fb0f4c22867b203a3 SHA512 caae6d93c932e7e9a882d05b199146774dcfacb069c0e2598d406d4ae81697e275d15af7faf3698b70b90b630d64c8bf60a9529d0dbdd2dc5878dd5f59f9fc14 WHIRLPOOL 22ff130ac538fdb10047c702d0d607e132b67d663503ff6b73ab782dfd3c43573b04a6a27aed4945dad4922723640633cde1e2ba75d9f0fc2bc66e196f50e0f5
MISC metadata.xml 208 SHA256 c4841c87f0c2b9b5e679a27dc72180be8d508fb3f5df0fbab2ec2c805c0a6d82 SHA512 21d90d4547c76c80e50e134359dfbec42b158bbc16e4741738bdde5f67b7926d158dae1905948a477405b74e754ce4ed63cad910f220a709db8dfccf160e5288 WHIRLPOOL 33ec53f42c7a8c4c419989bd94e083c417574463e19c9c1322e6b96d0f5a6a52e3dd69fbedf2d11a7a77d24a93b81f3a604b6b33cac62548389537bf3e42df0e
diff --git a/app-admin/ldapscripts/ldapscripts-1.5.ebuild b/app-admin/ldapscripts/ldapscripts-1.5-r1.ebuild
index 481875447..feb748a8a 100644
--- a/app-admin/ldapscripts/ldapscripts-1.5.ebuild
+++ b/app-admin/ldapscripts/ldapscripts-1.5-r1.ebuild
@@ -2,6 +2,10 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
+EAPI="5"
+
+inherit eutils
+
DESCRIPTION="Shell scripts to manage POSIX accounts in an LDAP."
HOMEPAGE="http://contribs.martymac.com/"
SRC_URI="http://contribs.martymac.com/${PN}/${P}.tgz"
@@ -20,11 +24,7 @@ RUNTIMEFILE="runtime"
ETCDIR="/etc/${PN}"
ETCFILE="ldapscripts.conf"
-src_unpack() {
- unpack ${A}
-
- # Prepare sources, as the install script would do it
- cd "${S}"
+src_prepare() {
sed -i.orig -e "s|^_RUNTIMEFILE=.*|_RUNTIMEFILE=\"${RUNTIMEDIR}/${RUNTIMEFILE}\"|g" bin/*
sed -i.orig -e "s|^_CONFIGFILE=.*|_CONFIGFILE=\"${ETCDIR}/${ETCFILE}\"|g" etc/*
}