sys-auth/CASA: add my CASA branch

This commit is contained in:
geos_one 2010-01-19 08:24:54 +00:00
parent c412d4051f
commit 4e1a3e047d
5 changed files with 240 additions and 1 deletions

View File

@ -0,0 +1,85 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
inherit eutils mono autotools
HOMEPAGE="http://www.novell.com"
SRC_URI="http://ftp.mars.arge.at/n4g/${P}.tar.bz2"
DESCRIPTION="Novell Common Authentication Service Adapter (CASA)"
KEYWORDS="~x86 ~amd64"
LICENSE="LGPL"
SLOT="0"
DEPEND="dev-lang/mono
dev-dotnet/glade-sharp
dev-dotnet/gtk-sharp
app-crypt/mit-krb5
gnome-base/gnome-keyring
gnome-base/gnome-vfs
virtual/jdk"
src_prepare() {
# epatch ${FILESDIR}/${PN}-1.6-glib-glade.patch
# epatch ${FILESDIR}/${PN}-1.6-gnome.patch
# epatch ${FILESDIR}/${PN}-1.6-qt.patch
eautoreconf
}
src_configure() {
econf || die econf failed
}
src_compile() {
emake || die emake failed
die
}
src_install() {
dodir /lib/security
mv lib/Release/pam_*.so ${D}/lib/security
insinto /usr/lib
doins lib/Release/*.dll
doins lib/Release/*.jar
doins lib/Release/*.so*
dosym /usr/lib/libad_ff.so.1.1.1 /usr/lib/libad_ff.so.1
dosym /usr/lib/libad_gk.so.1.1.1 /usr/lib/libad_gk.so.1
insinto /usr/bin
doins bin/Release/CASAManager.exe
doins c_gui/CASAManager.exe.config
exeinto /usr/bin
mv c_gui/CASAManager.sh c_gui/CASAManager
doexe c_gui/CASAManager
insinto /usr/bin
doins bin/Release/micasad.exe
exeinto /usr/sbin
mv c_micasad/startup/micasad.sh c_micasad/micasad
doexe c_micasad/micasad
newinitd ${FILESDIR}/micasad.rc micasad
insinto /usr/share/applications
doins c_gui/CASAManager.desktop
exeinto /usr/sbin
for x in casacfgpam casaucfgpam; do
doexe c_micasad/startup/$x
done
exeinto /usr/bin
for x in installcasa uninstallcasa iscasaconfiged; do
doexe ${FILESDIR}/$x
done
insinto /usr/include
doins include/*.h
doicon c_gui/images/*.png
insinto /usr/share/doc/${P}/help/en
doins c_gui/help/en/*
dosym /usr/share/doc/${P}/help /usr/share/doc/packages/CASA/help
dodir /usr/share/doc/packages/CASA/images
dodoc c_doc/*.doc
dodoc doc/CASA_Reference_Guide.pdf
}

View File

@ -0,0 +1,89 @@
# Created by George Hron @ 2007.02.05
inherit eutils kde-functions mono autotools
LICENSE="LGPL"
MY_PN="CASA"
MY_VER="1.6"
HOMEPAGE="http://www.novell.com"
SRC_URI="http://forge.novell.com/modules/xfcontent/private.php/casa/CASA_1.6/CASA/downloads/source/${MY_PN}-${PV}.tar.bz2"
DESCRIPTION="Novell Common Authentication Service Adapter (CASA)"
DEPEND="dev-lang/mono
dev-dotnet/glade-sharp
dev-dotnet/gtk-sharp
app-crypt/mit-krb5
>=kde-base/kdelibs-3.5
<kde-base/kdelibs-3.6
gnome-base/gnome-keyring
gnome-base/gnome-vfs
virtual/jdk"
S=${WORKDIR}/${MY_PN}-${PV}
KEYWORDS="~x86"
src_unpack() {
unpack ${A}
cd ${S}
eautoreconf
epatch ${FILESDIR}/${MY_PN}-${MY_VER}-glib-glade.patch
epatch ${FILESDIR}/${MY_PN}-${MY_VER}-gnome.patch
epatch ${FILESDIR}/${MY_PN}-${MY_VER}-qt.patch
set-kdedir 3.5
sed -i 's@/opt/kde3@${KDEDIR}@g' `grep -ril "/opt/kde3" .`
}
src_compile() {
econf || die econf failed
emake || die emake failed
rm lib/Release/libad_ff.so.1
rm lib/Release/libad_gk.so.1
}
src_install() {
dodir /lib/security
mv lib/Release/pam_*.so ${D}/lib/security
insinto /usr/lib
doins lib/Release/*.dll
doins lib/Release/*.jar
doins lib/Release/*.so*
dosym /usr/lib/libad_ff.so.1.1.1 /usr/lib/libad_ff.so.1
dosym /usr/lib/libad_gk.so.1.1.1 /usr/lib/libad_gk.so.1
insinto /usr/bin
doins bin/Release/CASAManager.exe
doins c_gui/CASAManager.exe.config
exeinto /usr/bin
mv c_gui/CASAManager.sh c_gui/CASAManager
doexe c_gui/CASAManager
insinto /usr/bin
doins bin/Release/micasad.exe
exeinto /usr/sbin
mv c_micasad/startup/micasad.sh c_micasad/micasad
doexe c_micasad/micasad
newinitd ${FILESDIR}/micasad.rc micasad
insinto /usr/share/applications
doins c_gui/CASAManager.desktop
exeinto /usr/sbin
for x in casacfgpam casaucfgpam; do
doexe c_micasad/startup/$x
done
exeinto /usr/bin
for x in installcasa uninstallcasa iscasaconfiged; do
doexe ${FILESDIR}/$x
done
insinto /usr/include
doins include/*.h
doicon c_gui/images/*.png
insinto /usr/share/doc/${P}/help/en
doins c_gui/help/en/*
dosym /usr/share/doc/${P}/help /usr/share/doc/packages/CASA/help
dodir /usr/share/doc/packages/CASA/images
dodoc c_doc/*.doc
dodoc doc/CASA_Reference_Guide.pdf
}

View File

@ -0,0 +1,45 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
MY_P="${P/_pre/-pre}"
inherit eutils mono cmake-utils java-pkg-2
HOMEPAGE="http://www.novell.com"
SRC_URI="http://ftp.mars.arge.at/n4g/${MY_P}.tar.bz2"
DESCRIPTION="Novell Common Authentication Service Adapter (CASA)"
KEYWORDS="~x86 ~amd64"
LICENSE="LGPL"
SLOT="0"
DEPEND="dev-lang/mono
dev-dotnet/glade-sharp
dev-dotnet/gtk-sharp
app-crypt/mit-krb5
gnome-base/gnome-keyring
gnome-base/gnome-vfs
>=virtual/jdk-1.5"
RDEPEND="dev-lang/mono
dev-dotnet/glade-sharp
dev-dotnet/gtk-sharp
app-crypt/mit-krb5
gnome-base/gnome-keyring
gnome-base/gnome-vfs
>=virtual/jre-1.5"
S="${WORKDIR}/${MY_P}"
mycmakeargs="-DSYSCONF_INSTALL_DIR=/etc
-DLIBROOT_INSTALL_DIR=/$(get_libdir)"
src_prepare() {
cp "${FILESDIR}"/*casa* micasad/startup || die "Error applying patch"
}
src_install() {
cmake-utils_src_install
}

View File

@ -1,7 +1,11 @@
# ChangeLog for sys-auth/CASA
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
19 Jan 2010; Mario Fetka <mario.fetka@gmail.com> +CASA-1.7.1592.ebuild,
+CASA-1.7.1592-r1.ebuild, +CASA-1.8.0_pre1.ebuild:
add my CASA branch
26 Jan 2008; Mario Fetka <mario-fetka@gmx.at> +metadata.xml:
initial ifolder import from http://trac.one-gear.com/chaos/wiki

View File

@ -0,0 +1,16 @@
AUX CASA-1.6-glib-glade.patch 5837 RMD160 0aa2a907f31e6770c8ed4e521e459cb14812e859 SHA1 ecb32e8dfa28ee669227614ff84cd00a11a3739b SHA256 7e557daa5069a41d01ed4b85c8b280730622fa5c3c36ac6c0076add0b6b9a6eb
AUX CASA-1.6-gnome.patch 13727 RMD160 36152ba5a3aa49d1fe116121c119ba46543f8f35 SHA1 3efdfcca6367085a9bce63558d656a05ed54d920 SHA256 b2cc683afb211c246dc948fe0d490816d99d291c05f631152e06040c857eb3da
AUX CASA-1.6-qt.patch 5773 RMD160 16cd09004df7bb30952e3943aa2948eb867c468c SHA1 89e0cae94cbc6822814400442103256073ae202d SHA256 0ff50b88e10c72f598ead84046199091bfec95b92bb7098bd3f1aec9e7426323
AUX installcasa 169 RMD160 5712ad3441c72d9ad2843c2c92eaf39e7240d14d SHA1 b6064db4ae8c8fb7a851bc77e5cb45a72232fe26 SHA256 865772233a65c4ac56a2499b0f96652bca251900ff481dc0ec67cd3630993222
AUX iscasaconfiged 118 RMD160 4080032d0e370a0301ed0ecd44c398b030a4a4f2 SHA1 2b4fd75e8745599ab7e7d15c4cbf04beeae18d96 SHA256 926b22587978c90727b4835150520bce354835d4728c6b19c631f62fa6e20311
AUX micasad.rc 210 RMD160 479613e228db530d63609c2b8978d8639ce1aab1 SHA1 e6fbee107bb00f7c3bf088d026125a05c45c50d0 SHA256 ba55b66b293d4fbd20e80ae507252180590c09113d5243dc5e4a40a3733b4f63
AUX uninstallcasa 151 RMD160 21d8ced76fc6660e43d6e9ac95d5da58a519957b SHA1 a76df9443dc8cb41c0155052e2f41d8d4f114746 SHA256 9db17c287a1e4ed5b58234c52a6b5e5fead23cfd74ed11f6f1059d5071bd9de8
DIST CASA-1.6.659.tar.bz2 3651237 RMD160 61053e960ee1c8824548c26d4a5d1a1f47695390 SHA1 4ebe83d3358e910b2d68d17bad2d946ed93ea9e4 SHA256 dd60dd58d54fcb87d679aa285cc36e1ebf645ad92daac8cb214cc2d89462a5c7
DIST CASA-1.7.1592.tar.bz2 8871317 RMD160 2ac5059fb51777d4e58b191e7e22af379266d7c6 SHA1 e96a7083150b4e100003789c7b41a6a97939bff0 SHA256 dacf72cf4ab74e00ea08fdae59489a457cffb297115fedb324f67c1558e69971
DIST CASA-1.8.0-pre1.tar.bz2 4473797 RMD160 caa311ec7be8fdf6bf52238bf188bddc9841f05f SHA1 6cfb135e125143f71e6187f6045992232b577029 SHA256 8944c28d260ac4f8f619fe82085dae6b73ee80d3acb43717d7cc7d9bc3ec7b89
EBUILD CASA-1.6.659.ebuild 2230 RMD160 b1d4e6754d895884bbc4192320f302f46745fa2d SHA1 1eee81616d5ce7c5d62ec16707b837a8f6da2ec2 SHA256 c4d4997ff15a2172655dab53aea30ff0123e1413fdb183446b4ae60a93076b2e
EBUILD CASA-1.7.1592-r1.ebuild 1993 RMD160 47ae6542add6cc55542cbaed3b7d5ea3496b1e50 SHA1 f34af5bb4d048456b7d5163af5b21daabef1a1c2 SHA256 0bef7bd7aa1e410d02257aa4d77d27a792f523697e6402f2b6baa173ac7bb7bb
EBUILD CASA-1.7.1592.ebuild 2230 RMD160 b1d4e6754d895884bbc4192320f302f46745fa2d SHA1 1eee81616d5ce7c5d62ec16707b837a8f6da2ec2 SHA256 c4d4997ff15a2172655dab53aea30ff0123e1413fdb183446b4ae60a93076b2e
EBUILD CASA-1.8.0_pre1.ebuild 962 RMD160 bfbe9fb0579e23a4432fa4f7f5562a8c19306766 SHA1 b318d5435cc05c1612df72e4600fb2cef4c096c3 SHA256 7f8811ec170c81c61d434d67057d64ca2240bdbc5666b82fff9251c0ae2b3738
MISC ChangeLog 393 RMD160 3f4e08d5ca86e0a3ee3d524ecae841de542bafae SHA1 e23d298df3ffb173b915af19752a4c08d5e7c4be SHA256 8692ea6682228b2026008bed2d4e043ba6462acfdc6df7132c8cecc41dc1fd34
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42