summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Krier <cedk@gentoo.org>2006-07-17 11:53:31 +0000
committerCédric Krier <cedk@gentoo.org>2006-07-17 11:53:31 +0000
commitd01bf23eed2e749d83b4f416f0284abd6becc6d8 (patch)
tree01bedba2f65ebda57d7f70c793a9d708ec636014 /net-misc/sambascanner
parentfix repoman problems with sunrise-commit, svn problems with echangelog and us... (diff)
downloadsunrise-d01bf23eed2e749d83b4f416f0284abd6becc6d8.tar.gz
sunrise-d01bf23eed2e749d83b4f416f0284abd6becc6d8.tar.bz2
sunrise-d01bf23eed2e749d83b4f416f0284abd6becc6d8.zip
net-misc/sambascanner: New Ebuild for bug 104489 thanks to Johannes Bauer, Jakub Moc and Ciaran McCreesh
svn path=/sunrise/; revision=637
Diffstat (limited to 'net-misc/sambascanner')
-rw-r--r--net-misc/sambascanner/ChangeLog9
-rw-r--r--net-misc/sambascanner/Manifest20
-rw-r--r--net-misc/sambascanner/files/digest-sambascanner-0.103
-rw-r--r--net-misc/sambascanner/files/sambascanner-0.10-makefile.patch36
-rw-r--r--net-misc/sambascanner/metadata.xml5
-rw-r--r--net-misc/sambascanner/sambascanner-0.10.ebuild34
6 files changed, 107 insertions, 0 deletions
diff --git a/net-misc/sambascanner/ChangeLog b/net-misc/sambascanner/ChangeLog
new file mode 100644
index 000000000..cec8fd5b4
--- /dev/null
+++ b/net-misc/sambascanner/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for net-misc/sambascanner
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 17 Jul 2006; Cedric Krier <ced@ced.homedns.org> +sambascanner-0.10.ebuild,
+ +files/sambascanner-0.10-makefile.patch, +metadata.xml:
+ New Ebuild for bug 104489 thanks to Johannes Bauer, Jakub Moc and Ciaran
+ McCreesh
+
diff --git a/net-misc/sambascanner/Manifest b/net-misc/sambascanner/Manifest
new file mode 100644
index 000000000..9c622d644
--- /dev/null
+++ b/net-misc/sambascanner/Manifest
@@ -0,0 +1,20 @@
+AUX sambascanner-0.10-makefile.patch 1550 RMD160 9ad7556ba3eb8396c2fc5676912c6605cec574a0 SHA1 2862c1fd941580b760393c186ecad1c7682555b7 SHA256 96ec656071fedec1f82f86c73a00a48d9a88251d7870408a12023b894448b880
+MD5 aa38031e5e53a604826c572be13fd1fc files/sambascanner-0.10-makefile.patch 1550
+RMD160 9ad7556ba3eb8396c2fc5676912c6605cec574a0 files/sambascanner-0.10-makefile.patch 1550
+SHA256 96ec656071fedec1f82f86c73a00a48d9a88251d7870408a12023b894448b880 files/sambascanner-0.10-makefile.patch 1550
+DIST SambaScanner-0.10.tar.bz2 16109 RMD160 8a1467018568868557feb1bb86ab093e390f569d SHA1 3d11ea359c7481dcdfd32f492cd5904146c5cd82 SHA256 0d0af41581361c2d690ed807c8e7ccac4a8c51cd50374c80e9f18d6627f53360
+EBUILD sambascanner-0.10.ebuild 703 RMD160 3bd482945361e021fe0c6dc0e3dd970f19b772d3 SHA1 f13fb4a59d2c5937f810c6f407a2c6e984ab0112 SHA256 56414eda61fe22e3a6c5ca6b4cc729d791064e74aad7b5fe1507693a162ede32
+MD5 0a2cc7f019b7d8765f5904a47fcf598b sambascanner-0.10.ebuild 703
+RMD160 3bd482945361e021fe0c6dc0e3dd970f19b772d3 sambascanner-0.10.ebuild 703
+SHA256 56414eda61fe22e3a6c5ca6b4cc729d791064e74aad7b5fe1507693a162ede32 sambascanner-0.10.ebuild 703
+MISC ChangeLog 344 RMD160 4842216edf0c6d3eff380cd924626e51e35dd045 SHA1 daae40967890efd0fca76d535c416f37881a0ccd SHA256 e63713f1e39bb0603bbb7d9e5d317a5f41348196113e20658a542ae07aa5440a
+MD5 1ea704efc5da766079ea037d247ae91d ChangeLog 344
+RMD160 4842216edf0c6d3eff380cd924626e51e35dd045 ChangeLog 344
+SHA256 e63713f1e39bb0603bbb7d9e5d317a5f41348196113e20658a542ae07aa5440a ChangeLog 344
+MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
+MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170
+RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170
+SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata.xml 170
+MD5 780653922828094f278de98a3b16af1e files/digest-sambascanner-0.10 253
+RMD160 cc3731f163a8fa4d43ef2aea88f81759af9c510c files/digest-sambascanner-0.10 253
+SHA256 b6ebe959126cb4be01ec554a8e2c796301b8e62e9180c6ac8bb6a5f625d7bfc9 files/digest-sambascanner-0.10 253
diff --git a/net-misc/sambascanner/files/digest-sambascanner-0.10 b/net-misc/sambascanner/files/digest-sambascanner-0.10
new file mode 100644
index 000000000..66be59ec6
--- /dev/null
+++ b/net-misc/sambascanner/files/digest-sambascanner-0.10
@@ -0,0 +1,3 @@
+MD5 6bfed851d3a8bdf671927561a712f3d1 SambaScanner-0.10.tar.bz2 16109
+RMD160 8a1467018568868557feb1bb86ab093e390f569d SambaScanner-0.10.tar.bz2 16109
+SHA256 0d0af41581361c2d690ed807c8e7ccac4a8c51cd50374c80e9f18d6627f53360 SambaScanner-0.10.tar.bz2 16109
diff --git a/net-misc/sambascanner/files/sambascanner-0.10-makefile.patch b/net-misc/sambascanner/files/sambascanner-0.10-makefile.patch
new file mode 100644
index 000000000..9b68a1f3e
--- /dev/null
+++ b/net-misc/sambascanner/files/sambascanner-0.10-makefile.patch
@@ -0,0 +1,36 @@
+--- SambaScanner-0.10~/Makefile 2006-07-17 12:59:45.000000000 +0200
++++ SambaScanner-0.10/Makefile 2006-07-17 13:01:37.000000000 +0200
+@@ -1,5 +1,5 @@
+ OBJS = Parser.o Mutex.o Semaphore.o
+-CFLAGS = -O2 -Wall -DDEFAULT_SMBCLIENT=\"/usr/bin/smbclient\" -DDEFAULT_NMBLOOKUP=\"/usr/bin/nmblookup\" -DDEFAULT_SMBLISTER=\"/usr/bin/smblister\"
++CFLAGS += -Wall -DDEFAULT_SMBCLIENT=\"/usr/bin/smbclient\" -DDEFAULT_NMBLOOKUP=\"/usr/bin/nmblookup\" -DDEFAULT_SMBLISTER=\"/usr/bin/smblister\"
+ #CFLAGS += -ggdb3
+ #CFLAGS += -ansi -pedantic -D_POSIX_SOURCE -D_XOPEN_SOURCE=500
+
+@@ -9,20 +9,20 @@
+ rm -f sambascanner semaphore_test smblister Filelist.txt Retrieve.txt $(OBJS)
+
+ sambascanner: sambascanner.c sambascanner.h $(OBJS)
+- gcc $(CFLAGS) -lpthread -lsmbclient -o sambascanner sambascanner.c $(OBJS)
++ $(CC) $(CFLAGS) -lpthread -lsmbclient -o sambascanner sambascanner.c $(OBJS)
+
+ smblister: smblister.c
+- gcc $(CFLAGS) -lsmbclient -o smblister smblister.c
++ $(CC) $(CFLAGS) -lsmbclient -o smblister smblister.c
+
+ Parser.o: Parser.c Parser.h
+- gcc $(CFLAGS) -c -o Parser.o Parser.c
++ $(CC) $(CFLAGS) -c -o Parser.o Parser.c
+
+ Mutex.o: Mutex.c Mutex.h
+- gcc $(CFLAGS) -c -o Mutex.o Mutex.c
++ $(CC) $(CFLAGS) -c -o Mutex.o Mutex.c
+
+ Semaphore.o: Semaphore.c Semaphore.h
+- gcc $(CFLAGS) -c -o Semaphore.o Semaphore.c
++ $(CC) $(CFLAGS) -c -o Semaphore.o Semaphore.c
+
+ semaphore_test: semaphore_test.c $(OBJS)
+- gcc $(CFLAGS) -lpthread -o semaphore_test semaphore_test.c $(OBJS)
++ $(CC) $(CFLAGS) -lpthread -o semaphore_test semaphore_test.c $(OBJS)
+
diff --git a/net-misc/sambascanner/metadata.xml b/net-misc/sambascanner/metadata.xml
new file mode 100644
index 000000000..7e3286984
--- /dev/null
+++ b/net-misc/sambascanner/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>maintainer-wanted</herd>
+</pkgmetadata>
diff --git a/net-misc/sambascanner/sambascanner-0.10.ebuild b/net-misc/sambascanner/sambascanner-0.10.ebuild
new file mode 100644
index 000000000..13c6403a3
--- /dev/null
+++ b/net-misc/sambascanner/sambascanner-0.10.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="a tool to search a whole samba network for files"
+HOMEPAGE="http://www.johannes-bauer.com/sambascanner/"
+SRC_URI="http://www.johannes-bauer.com/${PN}/SambaScanner-${PV}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND=">=net-fs/samba-3"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/SambaScanner-${PV}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-makefile.patch"
+}
+
+src_compile() {
+ emake CC=$(tc-getCC) || die "emake failed"
+}
+
+src_install() {
+ dobin sambascanner sambaretrieve smblister
+ dodoc ChangeLog
+}