diff options
author | Tiziano Müller <dev-zero@gentoo.org> | 2006-09-04 20:39:02 +0000 |
---|---|---|
committer | Tiziano Müller <dev-zero@gentoo.org> | 2006-09-04 20:39:02 +0000 |
commit | f1be1b49d3c2988732718f9cdd72f508a612dc15 (patch) | |
tree | a7825468266917b7500ea1dda91482791afcf28e /net-nds | |
parent | avahi USE-flag for net-nds/lat added. (diff) | |
download | sunrise-f1be1b49d3c2988732718f9cdd72f508a612dc15.tar.gz sunrise-f1be1b49d3c2988732718f9cdd72f508a612dc15.tar.bz2 sunrise-f1be1b49d3c2988732718f9cdd72f508a612dc15.zip |
net-nds/lat: Version bump. Original ebuild provided by upstream, but patching and clean-up was needed.
svn path=/sunrise/; revision=1140
Diffstat (limited to 'net-nds')
-rw-r--r-- | net-nds/lat/ChangeLog | 5 | ||||
-rw-r--r-- | net-nds/lat/Manifest | 20 | ||||
-rw-r--r-- | net-nds/lat/files/digest-lat-1.1.6 | 3 | ||||
-rw-r--r-- | net-nds/lat/files/lat-1.1.6-service_finder_cs.patch | 111 | ||||
-rw-r--r-- | net-nds/lat/lat-1.1.6.ebuild | 44 |
5 files changed, 179 insertions, 4 deletions
diff --git a/net-nds/lat/ChangeLog b/net-nds/lat/ChangeLog index 23f9c03c1..8fe4a18a6 100644 --- a/net-nds/lat/ChangeLog +++ b/net-nds/lat/ChangeLog @@ -2,6 +2,11 @@ # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 04 Sep 2006; Tiziano Müller <gentoo@dev-zero.ch> +lat-1.1.6.ebuild, + +files/lat-1.1.6-service_finder_cs.patch: + Version bump. Original ebuild provided by upstream, but patching and + clean-up was needed. + 31 Aug 2006; Tiziano Müller <gentoo@dev-zero.ch> +lat-1.0.6.ebuild, +metadata.xml: New ebuild for bug #86854, based on the original ebuild available on the diff --git a/net-nds/lat/Manifest b/net-nds/lat/Manifest index b38cbfa20..21819bb60 100644 --- a/net-nds/lat/Manifest +++ b/net-nds/lat/Manifest @@ -1,12 +1,21 @@ +AUX lat-1.1.6-service_finder_cs.patch 2929 RMD160 89ae7b2db830e0bf1bffdcd45cd62b8b0ed9d1dc SHA1 0dbdfd7c2a63272af76d0234f31cac1a2a0d0dc0 SHA256 7b0eec394bcfc93b9271061bb73e97d1af3252356ddba008215efa5847895e29 +MD5 d9fa1d474a949061f1cf247228841b46 files/lat-1.1.6-service_finder_cs.patch 2929 +RMD160 89ae7b2db830e0bf1bffdcd45cd62b8b0ed9d1dc files/lat-1.1.6-service_finder_cs.patch 2929 +SHA256 7b0eec394bcfc93b9271061bb73e97d1af3252356ddba008215efa5847895e29 files/lat-1.1.6-service_finder_cs.patch 2929 DIST lat-1.0.6.tar.gz 399223 RMD160 fca8e8ae6476f4d6a8f19c61916a3322ac6016a1 SHA1 e0e9d5a9cdfecd9bd095c3cb94153e8dc1712efd SHA256 382876aab3795290b2efcbaf5140836f058463737875c23a369cb705372e023d +DIST lat-1.1.6.tar.gz 438053 RMD160 b43f1f1b334338cf8968cccd1b85ef542d5c5c22 SHA1 8017ee3146875ba2043ac9ff18f9ac9b75b60c77 SHA256 69aaf546c4e7ee451e7c485e57eb0b577ed6ad67e358276a9983ae7d874f113e EBUILD lat-1.0.6.ebuild 730 RMD160 4873f51491d261e3b13dc05fc4cdefaea011a90e SHA1 564ac685d8870a4aa61270f1ef3dc31f9660019b SHA256 54e9e6b93b1786bd3ebba940b7bc8a7b776717340aa77cea0bafee34cc15eebb MD5 303b67c8a9d917901fdeec68ff7f9137 lat-1.0.6.ebuild 730 RMD160 4873f51491d261e3b13dc05fc4cdefaea011a90e lat-1.0.6.ebuild 730 SHA256 54e9e6b93b1786bd3ebba940b7bc8a7b776717340aa77cea0bafee34cc15eebb lat-1.0.6.ebuild 730 -MISC ChangeLog 292 RMD160 b910a48a6fee55d267546f7cef761626705b063d SHA1 08bc9a86d8210f5028fc33c2210d5b37074a08b6 SHA256 5eae6c3ef081635ff6633579805d17be005aacab078b4349ed2ebce94f7c877f -MD5 d9a6dc6ec96eb42c7ff252237b8148b4 ChangeLog 292 -RMD160 b910a48a6fee55d267546f7cef761626705b063d ChangeLog 292 -SHA256 5eae6c3ef081635ff6633579805d17be005aacab078b4349ed2ebce94f7c877f ChangeLog 292 +EBUILD lat-1.1.6.ebuild 1053 RMD160 184fd7e5ac9ad292bb0b462476b9bb6a46a3caa1 SHA1 1a8fa1fca446701f2a1c3551d4acf042eacecfc8 SHA256 5aec7cc3f6883228881d0178d34cc5cd46786df1885ddc8235de468876acea9f +MD5 76b47d27fe3a334f25164a39e7d4ddbc lat-1.1.6.ebuild 1053 +RMD160 184fd7e5ac9ad292bb0b462476b9bb6a46a3caa1 lat-1.1.6.ebuild 1053 +SHA256 5aec7cc3f6883228881d0178d34cc5cd46786df1885ddc8235de468876acea9f lat-1.1.6.ebuild 1053 +MISC ChangeLog 502 RMD160 3f07526e8cb5d0dbf9d6b3b269a0d78016480683 SHA1 ca9790f25217d4ee9eaa6ce7c6162ef71cfd03f3 SHA256 31368fff81eabec64a15fcc7eff4abd937d2cb9f517c43336e035d403fdad243 +MD5 4786c8099d199f841d49e50f99d777e0 ChangeLog 502 +RMD160 3f07526e8cb5d0dbf9d6b3b269a0d78016480683 ChangeLog 502 +SHA256 31368fff81eabec64a15fcc7eff4abd937d2cb9f517c43336e035d403fdad243 ChangeLog 502 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170 @@ -14,3 +23,6 @@ SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata MD5 88cf472e0fc308a29cbcde27e94e0902 files/digest-lat-1.0.6 229 RMD160 8a12c9c0d67ff6849aee65bd3c572bb3b23c95f0 files/digest-lat-1.0.6 229 SHA256 713f94a2900377958d099062a14c8870545e2c8804a726d4d5f799897f54f8c7 files/digest-lat-1.0.6 229 +MD5 45e8f06fd38c229274eeb53d0b60eff3 files/digest-lat-1.1.6 229 +RMD160 655af7d7c527ff2387e94378ca02104cf646416c files/digest-lat-1.1.6 229 +SHA256 b74e77225c034af7b666598ee1b69583307b31b36ac6dd63617bbede2966a412 files/digest-lat-1.1.6 229 diff --git a/net-nds/lat/files/digest-lat-1.1.6 b/net-nds/lat/files/digest-lat-1.1.6 new file mode 100644 index 000000000..bf783e494 --- /dev/null +++ b/net-nds/lat/files/digest-lat-1.1.6 @@ -0,0 +1,3 @@ +MD5 fd5b20b49eb65ce891b00722da2206f1 lat-1.1.6.tar.gz 438053 +RMD160 b43f1f1b334338cf8968cccd1b85ef542d5c5c22 lat-1.1.6.tar.gz 438053 +SHA256 69aaf546c4e7ee451e7c485e57eb0b577ed6ad67e358276a9983ae7d874f113e lat-1.1.6.tar.gz 438053 diff --git a/net-nds/lat/files/lat-1.1.6-service_finder_cs.patch b/net-nds/lat/files/lat-1.1.6-service_finder_cs.patch new file mode 100644 index 000000000..e80b6c821 --- /dev/null +++ b/net-nds/lat/files/lat-1.1.6-service_finder_cs.patch @@ -0,0 +1,111 @@ +diff -Naur lat.orig/ServiceFinder.cs lat/ServiceFinder.cs +--- lat.orig/ServiceFinder.cs 1970-01-01 01:00:00.000000000 +0100 ++++ lat/ServiceFinder.cs 2006-09-04 22:27:08.000000000 +0200 +@@ -0,0 +1,107 @@ ++// ++// lat - ServiceFinder.cs ++// Author: Loren Bandiera ++// Copyright 2005-2006 MMG Security, Inc. ++// ++// This program is free software; you can redistribute it and/or modify ++// it under the terms of the GNU General Public License as published by ++// the Free Software Foundation; Version 2 ++// ++// This program is distributed in the hope that it will be useful, ++// but WITHOUT ANY WARRANTY; without even the implied warranty of ++// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++// GNU General Public License for more details. ++// ++// You should have received a copy of the GNU General Public License ++// along with this program; if not, write to the Free Software ++// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ++// ++// ++ ++using System; ++using Avahi; ++ ++namespace lat ++{ ++ public class ServiceEventArgs : EventArgs ++ { ++ Connection conn; ++ ++ public ServiceEventArgs (Connection conn) ++ { ++ this.conn = conn; ++ } ++ ++ public Connection FoundConnection ++ { ++ get { return conn; } ++ } ++ } ++ ++ public delegate void ServiceEventHandler (object o, ServiceEventArgs args); ++ ++ public class ServiceFinder ++ { ++ Client client; ++ ServiceBrowser sb; ++ ++ public event ServiceEventHandler Found; ++ ++ public ServiceFinder () ++ { ++ client = new Client(); ++ } ++ ++ public void Start () ++ { ++ try { ++ sb = new ServiceBrowser (client, "_ldap._tcp"); ++ sb.ServiceAdded += OnServiceAdded; ++ sb.ServiceRemoved += OnServiceRemoved; ++ } catch (ClientException ce) { ++ Log.Debug (ce); ++ } ++ } ++ ++ public void Stop () ++ { ++ sb.Dispose (); ++ } ++ ++ void OnServiceResolved (object o, ServiceInfoArgs args) ++ { ++ (o as ServiceResolver).Dispose (); ++ ++ ConnectionData cd = new ConnectionData (); ++ cd.Name = String.Format ("{0} ({1})", args.Service.Name, args.Service.Address); ++ cd.Host = args.Service.Address.ToString (); ++ cd.Port = args.Service.Port; ++ cd.UserName = ""; ++ cd.Pass = ""; ++ cd.SavePassword = false; ++ cd.ServerType = Util.GetServerType ("Generic LDAP server"); ++ cd.Dynamic = true; ++ ++ Log.Debug ("Found LDAP service {0} on {1} port {2}", ++ args.Service.Name, args.Service.Address, args.Service.Port); ++ ++ if (args.Service.Port == 636) ++ cd.Encryption = EncryptionType.SSL; ++ ++ Connection conn = new Connection (cd); ++ ++ if (Found != null) ++ Found (this, new ServiceEventArgs (conn)); ++ } ++ ++ void OnServiceAdded (object o, ServiceInfoArgs args) ++ { ++ ServiceResolver resolver = new ServiceResolver (client, args.Service); ++ resolver.Found += OnServiceResolved; ++ } ++ ++ void OnServiceRemoved (object o, ServiceInfoArgs args) ++ { ++ } ++ } ++} diff --git a/net-nds/lat/lat-1.1.6.ebuild b/net-nds/lat/lat-1.1.6.ebuild new file mode 100644 index 000000000..617ea079b --- /dev/null +++ b/net-nds/lat/lat-1.1.6.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils gnome2 mono + +KEYWORDS="~x86" + +DESCRIPTION="LDAP Administration Tool, allows you to browse LDAP-based directories and add/edit/delete entries." +HOMEPAGE="http://dev.mmgsecurity.com/projects/lat" +SRC_URI="http://dev.mmgsecurity.com/downloads/${PN}/1.1/${P}.tar.gz" +LICENSE="GPL-2" +IUSE="avahi" +SLOT="0" + +RDEPEND=">=dev-lang/mono-1.1.13 + =dev-dotnet/gtk-sharp-2.8* + =dev-dotnet/gnome-sharp-2.8* + =dev-dotnet/glade-sharp-2.8* + =dev-dotnet/gconf-sharp-2.8* + =gnome-base/gnome-keyring-0.4* + sys-apps/dbus + avahi? ( net-dns/avahi )" +DEPEND="${RDEPEND} + app-text/scrollkeeper + dev-util/pkgconfig" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-service_finder_cs.patch" +} + +src_compile() { + econf \ + $(use_enable avahi) \ + || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS ChangeLog NEWS README TODO +} |