packages: unxsbind/unxsbind.spec (NEW), unxsbind/unxsbind-include.patch (NE...

paszczus paszczus at pld-linux.org
Fri Jun 12 15:57:56 CEST 2009


Author: paszczus                     Date: Fri Jun 12 13:57:56 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial, NFY.

---- Files affected:
packages/unxsbind:
   unxsbind.spec (NONE -> 1.1)  (NEW), unxsbind-include.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/unxsbind/unxsbind.spec
diff -u /dev/null packages/unxsbind/unxsbind.spec:1.1
--- /dev/null	Fri Jun 12 15:57:56 2009
+++ packages/unxsbind/unxsbind.spec	Fri Jun 12 15:57:51 2009
@@ -0,0 +1,128 @@
+# $Revision$, $Date$
+Summary:	DNS BIND 9 telco quality manager with quality admin and end-user web interfaces. Also rrdtool graphics
+Name:		unxsbind
+Version:	1.11
+Release:	0.1
+License:	GPL
+Group:		Networking/Admin
+Source0:	http://unixservice.com/source/%{name}-%{version}.tar.gz
+# Source0-md5:	e6e5e218f4c9449ca2f58fa42a50d638
+URL:		http://openisp.net/openisp/unxsBind
+Patch0:		%{name}-include.patch
+Requires:	rrdtool
+BuildRequires:	ucidr
+BuildRequires:	zlib-devel
+BuildRequires:	mysql-devel
+Requires:	unxsadmin >= 1.2
+Requires:	bind >= 9.3.4
+Requires:	bind-utils
+
+%description
+unxsBind iDNS provides a professional DNS BIND 9 manager. For 1 to
+1000's of NSs.
+
+Main features supported:
+
+1-. Multiple disjoint NS sets that can share same NS cluster nodes.
+2-. Unlimited split horizon views (with no BIND xfer issues.) 3-. Bulk
+zone and resource record operations. 4-. Traffic monitoring per zone
+or per NS set (per NS or aggregated across cluster) with rrdtool
+graphics. 5-. Wizards for CIDR based downstream delegation of arpa
+zones. 6-. Hidden masters, external masters, all masters only clusters
+(no BIND xfer problems.) 7-. Secondary only zone management for
+customers running their own (hidden or public) masters. 8-.
+Engineering and development friendly tech web interface backend. 9-.
+Organization/Company contact web interface. Allows non skilled zone
+owners to modify RRs. 10-. User friendly admin web interface for zone
+and customer, contact management authorized users. 11-. Uses
+company-contact-role model for allowing management partitioning
+perfect for DNS as a service (ASP) deployments. The root ASP manages
+the infrastructure, clients that are companies, NGOs or other
+organizations have contacts (staff) that can be of diverse permission
+levels for operating on their companies zones. 12-. Optional automatic
+creation of rev dns PTR records. 13-. Support for upstream delegated
+sub class C delegated rev dns zones. 14-. Migration and import tools.
+15-. Database can fail and DNS services continue. 16-. Support for
+large DKIM and other txt RRs. 17-. DNSSEC and international char
+(IDNS) support available soon with just one "yum update unxsbind"
+command.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__make} \
+	DESTDIR=$RPM_BUILD_ROOT \
+	libdir=%{_libdir} 
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT/usr/share/unxs/cgi-bin
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT/usr/share/idns
+install -d $RPM_BUILD_ROOT/usr/share/iDNS/data
+install -d $RPM_BUILD_ROOT/usr/share/iDNS/setup9
+install -d $RPM_BUILD_ROOT/usr/share/iDNS/admin/templates
+install -d $RPM_BUILD_ROOT/usr/local/share/iDNS/org/templates
+install -d $RPM_BUILD_ROOT/var/log/named
+
+cp -u images/* $RPM_BUILD_ROOT/var/www/unxs/html/images/
+cp -u interfaces/admin/templates/images/* $RPM_BUILD_ROOT/var/www/unxs/html/images/
+cp -u interfaces/admin/templates/css/* $RPM_BUILD_ROOT/var/www/unxs/html/css/
+cp `find ./interfaces/admin/templates/ -type f -print` %{_prefix}/local/share/iDNS/admin/templates/
+cp `find ./interfaces/org/templates/ -type f -print` %{_prefix}/local/share/iDNS/org/templates/
+cp data/*.txt %{_prefix}/local/share/iDNS/data/
+chown -R mysql:mysql %{_prefix}/local/share/iDNS/data
+cp setup9/rndc.conf %{_sysconfdir}/rndc.conf
+cp setup9/rndc.key %{_sysconfdir}/rndc.key
+cp setup9/* %{_prefix}/local/share/iDNS/setup9/
+cp agents/mysqlcluster/mysqlcluster.sh %{_sbindir}/
+%{_bindir}/dig @e.root-servers.net . ns > %{_prefix}/local/share/iDNS/setup9/root.cache
+
+cd interfaces/admin
+%{__make} install
+cd ../org
+%{__make} install
+cd ../thit
+cp bind9-genstats.sh %{_sbindir}/bind9-genstats.sh
+%{__make} install
+cd ../errorlog
+%{__make} install
+
+export ISMROOT=%{_prefix}/local/share
+/var/www/unxs/cgi-bin/iDNS.cgi installbind 127.0.0.1
+chmod -R og+x %{_prefix}/local/idns
+cd $RPM_BUILD_DIR
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE INSTALL
+%{_prefix}/local/share/iDNS
+%{_prefix}/local/idns
+/var/www/unxs/cgi-bin/iDNS.cgi
+/var/www/unxs/cgi-bin/idnsAdmin.cgi
+/var/www/unxs/cgi-bin/idnsOrg.cgi
+%attr(755,root,root) %{_sbindir}/tHitCollector
+%attr(755,root,root) %{_sbindir}/bind9-genstats.sh
+%attr(755,root,root) %{_sbindir}/idns-logerror
+/var/www/unxs/html/images/green.gif
+/var/www/unxs/html/images/red.gif
+/var/log/named
+%attr(755,root,root) %{_sbindir}/mysqlcluster.sh
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2009/06/12 13:57:51  paszczus
+- initial, NFY.
+

================================================================
Index: packages/unxsbind/unxsbind-include.patch
diff -u /dev/null packages/unxsbind/unxsbind-include.patch:1.1
--- /dev/null	Fri Jun 12 15:57:56 2009
+++ packages/unxsbind/unxsbind-include.patch	Fri Jun 12 15:57:51 2009
@@ -0,0 +1,22 @@
+diff -ur unxsbind-1.11/makefile unxsbind-1.11.new/makefile
+--- unxsbind-1.11/makefile	2009-06-08 12:30:51.000000000 +0200
++++ unxsbind-1.11.new/makefile	2009-06-12 15:51:25.874012635 +0200
+@@ -14,8 +14,9 @@
+ #
+ CFLAGS= -Wall
+ RELEASE= 1.0
++libdir = @libdir@
+ 
+-LIBS= -L/usr/lib/mysql -L/usr/lib/openisp -lz -lcrypt -lm -lssl -lucidr -lmysqlclient
++LIBS= -L$(libdir)/mysql -L$(libdir)/openisp -lz -lcrypt -lm -lssl -lucidr -lmysqlclient
+ 
+ all: iDNS.cgi
+ 
+@@ -126,5 +127,5 @@
+ 	rm -f *.o iDNS.cgi
+ 
+ install: iDNS.cgi
+-	install -s iDNS.cgi /var/www/unxs/cgi-bin/iDNS.cgi
++	install -s iDNS.cgi $(DESTDIR)/usr/share/unxs/cgi-bin/iDNS.cgi
+ 	rm iDNS.cgi
+Tylko w unxsbind-1.11.new/: makefile~
================================================================


More information about the pld-cvs-commit mailing list