packages: unxsbind/unxsbind.spec - some pldizations - added TODO

sparky sparky at pld-linux.org
Mon Jan 24 16:35:35 CET 2011


Author: sparky                       Date: Mon Jan 24 15:35:35 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- some pldizations
- added TODO

---- Files affected:
packages/unxsbind:
   unxsbind.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: packages/unxsbind/unxsbind.spec
diff -u packages/unxsbind/unxsbind.spec:1.3 packages/unxsbind/unxsbind.spec:1.4
--- packages/unxsbind/unxsbind.spec:1.3	Sun Jun 14 19:27:01 2009
+++ packages/unxsbind/unxsbind.spec	Mon Jan 24 16:35:30 2011
@@ -1,4 +1,6 @@
 # $Revision$, $Date$
+# TODO:
+# - fix makefiles
 Summary:	DNS BIND 9 telco quality manager with quality admin and end-user web interfaces. Also rrdtool graphics
 Name:		unxsbind
 Version:	1.11
@@ -10,12 +12,14 @@
 URL:		http://openisp.net/openisp/unxsBind
 Patch0:		%{name}-include.patch
 BuildRequires:	mysql-devel
+BuildRequires:	sed >= 4.0
 BuildRequires:	ucidr
 BuildRequires:	zlib-devel
 Requires:	bind >= 9.3.4
 Requires:	bind-utils
 Requires:	rrdtool
 Requires:	unxsadmin >= 1.2
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 unxsBind iDNS provides a professional DNS BIND 9 manager. For 1 to
@@ -50,12 +54,20 @@
 %prep
 %setup -q
 %patch0 -p1
+%{__sed} -e 's/getline/unx_getline/' -i cgi.c
 
 %build
 %{__make} \
 	DESTDIR=$RPM_BUILD_ROOT \
 	libdir=%{_libdir}
 
+for i in admin errorlog org thit
+do
+	%{__make} -C interfaces/$i \
+		DESTDIR=$RPM_BUILD_ROOT \
+		libdir=%{_libdir}
+done
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
@@ -88,9 +100,9 @@
 
 for i in admin errorlog org thit
 do
-%{__make} -C interfaces/$i install \
-        DESTDIR=$RPM_BUILD_ROOT \
-        libdir=%{_libdir}
+	%{__make} -C interfaces/$i install \
+	        DESTDIR=$RPM_BUILD_ROOT \
+	        libdir=%{_libdir}
 done
 
 install interfaces/thit/bind9-genstats.sh $RPM_BUILD_ROOT%{_sbindir}/bind9-genstats.sh
@@ -128,6 +140,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2011/01/24 15:35:30  sparky
+- some pldizations
+- added TODO
+
 Revision 1.3  2009/06/14 17:27:01  paszczus
 - now it builds, but it`s still very very ugly
 
@@ -136,4 +152,3 @@
 
 Revision 1.1  2009/06/12 13:57:51  paszczus
 - initial, NFY.
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/unxsbind/unxsbind.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list