Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:bajizs_cnt
mydns-ng
mydns.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mydns.spec of Package mydns-ng
# norootforbuild # TODO: mysql backend links dynamically %define home /var/lib/mydns %define pkg mydns %define subvr 31 # Name: mydns-ng Version: 1.2.8 Release: 0 # License: GPL Group: Productivity/Networking/DNS/Servers # BuildRoot: %{_tmppath}/%{pkg}-%{version}-build BuildRequires: postgresql-devel libmysqlclient-devel openssl-devel zlib-devel pwdutils PreReq: %insserv_prereq %fillup_prereq %install_info_prereq update-alternatives pwdutils Requires: mydns-ng_binary-%{version}-%{release} # URL: http://mydns-ng.com/ Source0: http://sourceforge.net/projects/%{name}/files/%{pkg}/%{version}.%{subvr}/%{pkg}-%{version}.%{subvr}.tar.gz Source1: %{pkg}.init Patch: mydns-1.0.0_libsearchpaths.patch # Summary: A secure sql based dns server (common files) %description MyDNS is a free DNS server for UNIX. It was implemented from scratch and is designed to serve records directly from an SQL database (currently either MySQL or PostgreSQL). This is a newer version of mydns, named mydns next generation. Its primary objectives are stability, security, interoperability, and speed, though not necessarily in that order. MyDNS does not include recursive name service, nor a resolver library. It is primarily designed for organizations with many zones and/or resource records who desire the ability to perform real-time dynamic updates on their DNS data via MySQL. MyDNS starts and is ready to answer questions immediately, no matter how much DNS data you have in the database. It is very fast and memory-efficient. It includes complete documentation, including a manual and a FAQ. MyDNS supports a few frills, including round robin DNS, dynamic load balancing, and outgoing AXFR for non-MyDNS nameservers. MyDNS is licensed under the GNU General Public License. This package holds the common files. Authors: -------- Don Moore <bboy@bboy.net> Howard Wilkinson <howard@cohtech.com> %package mysql Group: Productivity/Networking/DNS/Servers PreReq: mydns-ng = %{version}-%{release} Provides: mydns-ng_binary-%{version}-%{release} # Summary: A secure sql based dns server (mysql version) %description mysql MyDNS is a free DNS server for UNIX. It was implemented from scratch and is designed to serve records directly from an SQL database (currently either MySQL or PostgreSQL). This is a newer version of mydns, named mydns next generation. Its primary objectives are stability, security, interoperability, and speed, though not necessarily in that order. MyDNS does not include recursive name service, nor a resolver library. It is primarily designed for organizations with many zones and/or resource records who desire the ability to perform real-time dynamic updates on their DNS data via MySQL. MyDNS starts and is ready to answer questions immediately, no matter how much DNS data you have in the database. It is very fast and memory-efficient. It includes complete documentation, including a manual and a FAQ. MyDNS supports a few frills, including round robin DNS, dynamic load balancing, and outgoing AXFR for non-MyDNS nameservers. MyDNS is licensed under the GNU General Public License. This package holds the mysql version. Authors: -------- Don Moore <bboy@bboy.net> Howard Wilkinson <howard@cohtech.com> %debug_package %prep %setup -n %{pkg}-%{version}.%{subvr} %patch %build autoreconf -fi export COMMON_OPTION="-bindir=%{_sbindir} --with-openssl --with-openssl-lib=%{_libdir} --enable-status" # --program-suffix="-pgsql" \ %configure \ $COMMON_OPTION \ --with-mysql-lib=%{_libdir}/mysql \ --with-mysql --without-pgsql \ --enable-alias \ %{__make} SED=%{__sed} %install %{__install} -Dd -m 755 \ %{buildroot}%{_sysconfdir}/init.d \ %{buildroot}%{_defaultdocdir}/%{name}/contrib \ %{buildroot}%{home} %makeinstall SED=%{__sed} # for i in %{buildroot}%{_sbindir}/* ; do mv "$i" "$i-mysql" ; done # %{__ln_s} -f mydns-conf-mysql %{buildroot}%{_sbindir}/mydns-conf %{__ln_s} -f mydnscheck-mysql %{buildroot}%{_sbindir}/mydnscheck %{__ln_s} -f mydnsexport-mysql %{buildroot}%{_sbindir}/mydnsexport %{__ln_s} -f mydnsimport-mysql %{buildroot}%{_sbindir}/mydnsimport %{__ln_s} -f mydnsptrconvert-mysql %{buildroot}%{_sbindir}/mydnsptrconvert # %find_lang %{pkg} # %{__make} SED=%{__sed} localconf \ | sed -e 's|nobody|%{pkg}|g' \ > %{buildroot}%{_sysconfdir}/%{pkg}.conf %{__install} -m 644 \ ABOUT-NLS AUTHORS BUGS ChangeLog COPYING INSTALL NEWS \ QUICKSTART.mysql QUICKSTART.postgres README TODO \ contrib/{admin.php,MyDNS.pm,README.alias,stats.php} \ %{buildroot}%{_defaultdocdir}/%{name}/ %{__install} -m 644 contrib/README \ %{buildroot}%{_defaultdocdir}/%{name}/README.contrib %{__install} -m 755 %{S:1} \ %{buildroot}%{_sysconfdir}/init.d/%{pkg} ln -sf %{_sysconfdir}/init.d/%{pkg} %{buildroot}%{_sbindir}/rc%{pkg} %clean %{__rm} -rf %{buildroot}; %post mysql /usr/sbin/update-alternatives --install %{_sbindir}/mydns mydns %{_sbindir}/mydns-mysql 1 \ --slave %{_sbindir}/mydns-conf mydns-conf %{_sbindir}/mydns-conf-mysql \ --slave %{_sbindir}/mydnscheck mydnscheck %{_sbindir}/mydnscheck-mysql \ --slave %{_sbindir}/mydnsexport mydnsexport %{_sbindir}/mydnsexport-mysql \ --slave %{_sbindir}/mydnsimport mydnsimport %{_sbindir}/mydnsimport-mysql \ --slave %{_sbindir}/mydnsptrconvert mydnsptrconvert %{_sbindir}/mydnsptrconvert-mysql %pre /usr/sbin/groupadd -r %{pkg} &>/dev/null || : /usr/sbin/useradd -o -g %{pkg} -s /bin/false -r -c "user for %{pkg}" -d %{home} %{pkg} &>/dev/null || : %post %install_info --info-dir=%{_infodir} %{_infodir}/%{pkg}.gz %fillup_and_insserv %{pkg} %preun %stop_on_removal %{pkg} %postun %install_info_delete --info-dir=%{_infodir} %{_infodir}/%{pkg}.info.gz %restart_on_update %{pkg} %{insserv_cleanup} %files -f %{pkg}.lang %defattr(-,root,root) %{_sbindir}/mydns-conf %{_sbindir}/mydnscheck %{_sbindir}/mydnsexport %{_sbindir}/mydnsimport %{_sbindir}/mydnsptrconvert %{_sbindir}/rc%{pkg}* %{_mandir}/man?/%{pkg}* %{_infodir}/%{pkg}.info* %config(noreplace) %attr(640,root,%{pkg}) %{_sysconfdir}/%{pkg}.conf %{_sysconfdir}/init.d/%{pkg} %doc %{_docdir}/%{name} %dir %attr(750,root,%{pkg}) %{home} %files mysql %defattr(-,root,root) %{_sbindir}/*-mysql %changelog * Thu Aug 25 2011 bajizs@cnt.rs - added new version NG 1.2.8.31 * Mon Sep 22 2007 bajizs@cnt.rs - added new version NG - can't build postgreesql variant - temporary removed * Thu Mar 29 2007 mrueckert@suse.de - added pwdutils to requires/buildrequires * Thu Apr 27 2006 mrueckert@suse.de - update to version 1.1.0: security update.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor