Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=a14b77fbea6ebd3db8555e37c061cd38caf4b6e9

commit a14b77fbea6ebd3db8555e37c061cd38caf4b6e9
Author: Miklos Vajna <vmik...@frugalware.org>
Date:   Thu Sep 1 00:50:18 2011 +0200

dnsmasq-2.58-1-i686

- version bump
- drop no longer needed sysv script, upstream ships a native systemd
unit now

diff --git a/source/network-extra/dnsmasq/FrugalBuild 
b/source/network-extra/dnsmasq/FrugalBuild
index 3fe6a3c..52c0dac 100644
--- a/source/network-extra/dnsmasq/FrugalBuild
+++ b/source/network-extra/dnsmasq/FrugalBuild
@@ -3,19 +3,18 @@
# Contributor: DNAku <dn...@frugalware.org>

pkgname=dnsmasq
-pkgver=2.57
+pkgver=2.58
pkgrel=1
pkgdesc="Dnsmasq is a lightweight, easy to configure DNS forwarder and DHCP 
server."
url="http://thekelleys.org.uk/dnsmasq/doc.html";
-depends=()
+depends=('systemd')
archs=('i686' 'x86_64')
backup=(etc/dnsmasq.conf)
groups=('network-extra')
up2date="lynx -dump http://www.thekelleys.org.uk/dnsmasq |grep 'LATEST'|sed 's/ 
//g'|sed 's/.].*//g'|sed 's/.*_//g'|sed -e '/^$/d'"
source=(http://thekelleys.org.uk/dnsmasq/$pkgname-$pkgver.tar.gz \
-       rc.dnsmasq dnsmasq.conf makefile.patch)
-sha1sums=('37e36564f8acfd94af0455fa2a43daf9f2338b76' \
-          'f8d86e165c051623b4eebf5e15cb72d15f278ab0' \
+       dnsmasq.conf makefile.patch)
+sha1sums=('9150bf110edd39d7439399bc4c233852275c7801' \
'fd09fa99f453cf81e905e2de4da2137e8c3be3d4' \
'b1e390905416f9f055ed28d2e5bbef7cfc6f38eb')
build()
@@ -23,6 +22,8 @@ build()
Fcd
Fsed 'nawk' 'awk' Makefile
Fbuild
+       cd contrib/systemd
+       Ffilerel /lib/systemd/system/dnsmasq.service
Ffile /etc/dnsmasq.conf
Fmkdir var/lib/misc
Fdoc $pkgname-$pkgver/*.html
diff --git a/source/network-extra/dnsmasq/rc.dnsmasq 
b/source/network-extra/dnsmasq/rc.dnsmasq
deleted file mode 100644
index b7500c0..0000000
--- a/source/network-extra/dnsmasq/rc.dnsmasq
+++ /dev/null
@@ -1,52 +0,0 @@
-#!/bin/sh
-
-# (c) 2005 David Kimpe <dn...@frugalware.org>
-# rc.dnsmasq  for Frugalware
-# distributed under GPL License
-
-# chkconfig: 2345 18 46
-# description: Dnsmasq is a small DNS/DHCP server.
-
-source /lib/initscripts/functions
-TEXTDOMAIN=dnsmasq
-TEXTDOMAINDIR=/lib/initscripts
-
-actions=(restart start stop status)
-daemon=$"Dnsmasq"
-
-pid="pidof dnsmasq 2> /dev/null"
-
-rc_start()
-{
-       start_msg
-       if [[ "$(eval $pid)" == "" ]] ; then
-               /usr/sbin/dnsmasq
-               ok $?
-       else
-               ok 999
-       fi
-}
-
-rc_stop()
-{
-       stop_msg
-       if [[ "$eval $pid)" != "" ]] ; then
-               killall dnsmasq
-               ok $?
-       else
-               ok 999
-       fi
-}
-
-rc_status()
-{
-        msg "$daemon are"
-       if [[ "$eval $pid)" == "" ]] ; then
-                ok 997
-        else
-                ok 998
-        fi
-}
-rc_exec $1
-
-# vim: ft=sh
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to