SPECS: dhcdbd.spec (NEW) - initial, based on the original spec fro...

jpc jpc at pld-linux.org
Wed Jul 13 00:58:09 CEST 2005


Author: jpc                          Date: Tue Jul 12 22:58:09 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial, based on the original spec from sources

---- Files affected:
SPECS:
   dhcdbd.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/dhcdbd.spec
diff -u /dev/null SPECS/dhcdbd.spec:1.1
--- /dev/null	Wed Jul 13 00:58:09 2005
+++ SPECS/dhcdbd.spec	Wed Jul 13 00:58:03 2005
@@ -0,0 +1,120 @@
+# $Revision$, $Date$
+#
+# TODO:
+# - move header file to -devel
+# - split an -init
+#
+Summary:	DHCP D-BUS daemon (dhcdbd) controls dhclient sessions with D-BUS, stores and presents DHCP options.
+#Summary(pl):
+Name:		dhcdbd
+Version:	1.6
+Release:	1
+License:	GPL
+Group:		Networking/Daemons
+Source0:	http://people.redhat.com/~jvdias/dhcdbd/%{name}-%{version}.tar.gz
+# Source0-md5:	e46269dcfceca8fb678e48a42450db0b
+Source1:	%{name}.init
+URL:		http://people.redhat.com/~jvdias/dhcdbd
+BuildRequires:	dbus-devel >= 0.33
+Requires:	dbus >= 0.33
+Requires:	dhcp-client >= 3.0.2
+Requires:	rc-scripts
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+DHCP D-BUS daemon (dhcdbd) controls dhclient sessions with D-BUS,
+stores and presents DHCP options.
+
+#description -l pl
+
+%prep
+%setup -q
+
+%build
+%{__make} \
+	CFLAGS="%{rpmcflags}"
+	LDFALGS="%{rpmldflags}"
+	CC="%{__gcc}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+install -c %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/dhcdbd
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+/sbin/chkconfig --add dhcdbd
+if [ -f /var/lock/subsys/dhcdbd ]; then
+	/etc/rc.d/init.d/dhcdbd restart 1>&2
+else
+	echo "Run \"/etc/rc.d/init.d/dhcdbd start\" to start DHCP D-BUS daemon."
+	echo "You will probably also need \"/etc/rc.d/init.d/messagebus restart\""
+	echo "to reload the *.service database."
+fi
+
+
+%preun
+if [ "$1" = "0" ]; then
+	if [ -f /var/lock/subsys/dhcdbd ]; then
+		/etc/rc.d/init.d/dhcdbd stop 1>&2
+	fi
+	[ ! -x /sbin/chkconfig ] || /sbin/chkconfig --fel dhcdbd
+fi
+
+%files
+%defattr(644,root,root,755)
+%doc README LICENSE dhcp_options.h dhcdbd.h dbus_service.h
+%attr(755,root,root) /sbin/dhcdbd
+%attr(754,root,root) /etc/rc.d/init.d/dhcdbd
+%config(noreplace) %{_sysconfdir}/dbus-1/system.d/dhcdbd.conf
+%{_datadir}/dbus-1/services/dhcdbd.service
+
+%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  2005/07/12 22:58:03  jpc
+- initial, based on the original spec from sources
+
+* Mon Jun 06 2005 Jason Vas Dias <jvdias at redhat.com> 1.6-1
+- Add GPL licensing
+- Make all paths into -D options
+- Handle interface specific dhclient-${if}.conf files properly
+- Add "up" dhclient flag DHCLIENT_NO_LEASES to remove
+  lease database on startup
+- Add /var/run/dhcdbd.pid file support
+- fix initscript stop & add condrestart
+- invoke condrestart on upgrade
+- cleanup after dead prospective subscribers properly
+
+* Sun May 15 2005 Jason Vas Dias <jvdias at redhat.com> 1.5-1
+- add subscriptions for option signals from ANY interface
+- fix handling of .old. options from previous lease
+
+* Tue May 03 2005 Jason Vas Dias <jvdias at redhat.com> 1.4-1
+- continue to ship dhcdbd.conf and dhcdbd.service even if
+  DHCDBD_SETUID=0
+- allow --no_daemon to appear before --system or --session
+
+* Tue May 03 2005 Jason Vas Dias <jvdias at redhat.com> 1.3-1
+- added timeout "up" argument
+
+* Mon May 02 2005 Jason Vas Dias <jvdias at redhat.com> 1.2-1
+- removed setuid requirement.
+
+* Fri Apr 30 2005 Jason Vas Dias <jvdias at redhat.com> 1.1-1
+- added subscription facility.
+
+* Mon Apr 25 2005 Jason Vas Dias <jvdias at redhat.com> -
+- Initial build.
+
+
+
================================================================



More information about the pld-cvs-commit mailing list