[Pkg-samba-maint] [samba] 01/03: Remove wins2dns.awk example script.
Jelmer Vernooij
jelmer at moszumanska.debian.org
Sun Nov 8 15:11:44 UTC 2015
This is an automated email from the git hooks/post-receive script.
jelmer pushed a commit to branch experimental
in repository samba.
commit 3b7861974e16f53eacd46c59be078f186fc79db6
Author: Jelmer Vernooij <jelmer at jelmer.uk>
Date: Sun Nov 8 14:14:57 2015 +0000
Remove wins2dns.awk example script.
---
debian/changelog | 1 +
debian/samba-doc.examples | 1 -
debian/wins2dns.awk | 38 --------------------------------------
3 files changed, 1 insertion(+), 39 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index ff31952..408c8e6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ samba (2:4.3.1+dfsg-1) UNRELEASED; urgency=medium
upstream. Closes: #799840
* Remove lib/zlib/contrib/dotzlib/DotZLib.chm from excluded files in
copyright; no longer shipped upstream.
+ * Remove wins2dns.awk example script.
-- Jelmer Vernooij <jelmer at debian.org> Thu, 01 Oct 2015 21:37:48 +0000
diff --git a/debian/samba-doc.examples b/debian/samba-doc.examples
index b630cd9..067f77d 100644
--- a/debian/samba-doc.examples
+++ b/debian/samba-doc.examples
@@ -1,3 +1,2 @@
-debian/wins2dns.awk
source3/smbadduser.in
examples/*
diff --git a/debian/wins2dns.awk b/debian/wins2dns.awk
deleted file mode 100644
index 176868a..0000000
--- a/debian/wins2dns.awk
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/usr/bin/awk -f
-#
-# Date: Wed, 26 Aug 1998 10:37:39 -0600 (MDT)
-# From: Jason Gunthorpe <jgg at deltatee.com>
-# To: samba at packages.debian.org
-# Subject: Nifty samba script
-#
-# Here is a really nifty script I just wrote for samba, it takes the wins
-# database in /var/samba/wins and writes out two dns files for it. In this
-# way network wide wins clients can get into the dns for use by unix
-# machines.
-#
-# Perhaps this could be included in /usr/doc/examples or somesuch.
-#
-
-BEGIN {
- FS="#|\"";
-FORWARD="/tmp/wins.hosts"
-REVERSE="/tmp/wins.rev"
-DOMAIN="ven.ra.rockwell.com"
-}
-$3 == "00" {
- split($4,a," " );
- split(a[2],b,".");
- while (sub(" ","-",$2));
- $2=tolower($2);
- if (b[1] == "255")
- next;
- if (length($2) >= 8)
- print $2"\ta\t"a[2] > FORWARD
- else
- print $2"\t\ta\t"a[2] > FORWARD
- print b[4]"."b[3]"\t\tptr\t"$2"."DOMAIN"." > REVERSE
-}
-END {
- system("echo killall -HUP named");
-}
-
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-samba/samba.git
More information about the Pkg-samba-maint
mailing list