NetBSD/external/apache2/mDNSResponder/prepare-import.sh

38 lines
1.3 KiB
Bash
Raw Normal View History

#!/bin/sh
# $NetBSD: prepare-import.sh,v 1.2 2014/03/24 00:13:23 pettai Exp $
#
# Extract the new tarball and rename the mDNSResponder-X.Y directory
# to dist. Run this script and check for additional files and
# directories to prune, only relevant content is included.
set -e
cd dist
rm -rf mDNSMacOS9 mDNSMacOSX mDNSVxWorks mDNSWindows
rm -f Makefile mDNSResponder.sln README.txt PrivateDNS.txt
cd Clients
rm -rf BonjourExample DNS-SD.VisualStudio DNS-SD.xcodeproj
rm -rf DNSServiceBrowser-Info.plist DNSServiceBrowser.NET
rm -rf DNSServiceBrowser.VB DNSServiceBrowser.m DNSServiceBrowser.nib
rm -rf DNSServiceReg-Info.plist DNSServiceReg.m DNSServiceReg.nib
rm -rf ExplorerPlugin FirefoxExtension Java Makefile PrinterSetupWizard
rm -rf ReadMe.txt SimpleChat.NET SimpleChat.VB mDNSNetMonitor.VisualStudio
cd ../mDNSCore
rm -f Implementer\ Notes.txt
cd ../mDNSPosix
rm -f Client.c ExampleClientApp.c ExampleClientApp.h Identify.c
rm -f Makefile NetMonitor.c ProxyResponder.c ReadMe.txt Responder.c
rm -f Services.txt libnss_mdns.8 mdnsd.sh nss_ReadMe.txt nss_mdns.c
rm -f nss_mdns.conf nss_mdns.conf.5 parselog.py
cd ../mDNSShared
rm -rf DebugServices.c DebugServices.h Java dnssd_clientshim.c mDNS.1
rm -f dnsextd.8 dnsextd.c dnsextd.conf dnsextd.h dnsextd_lexer.l dnsextd_parser.y
# Kill RCS Log lines
cd ..
find . | xargs qsubst '$Log' 'Log' -noask