uptimed: 0.3.12 -> 0.3.13

This commit is contained in:
Danny Rawlins 2008-12-19 03:16:24 +11:00
parent 8759799448
commit e3b3eec326
3 changed files with 24995 additions and 14 deletions

View File

@ -1,2 +1,3 @@
e6ef350822a8ce092e3810c6c67cbf75 rc.uptimed
c523d6434b672107ea00559bb38eb050 uptimed-0.3.12.tar.bz2
7daf2722c3f5f81692520394cac3e4c6 uptimed-0.3.13.patch
3b5d4a4b53a08fe0ae5efd30ae93e59e uptimed-0.3.13.tar.bz2

View File

@ -5,20 +5,15 @@
# Depends on:
name=uptimed
version=0.3.12
version=0.3.13
release=1
source=(http://podgorny.cz/uptimed/releases/uptimed-$version.tar.bz2
rc.uptimed)
source=(http://podgorny.cz/uptimed/releases/$name-$version.tar.bz2
$name-0.3.13.patch rc.uptimed)
build() {
cd uptimed-$version
sed -i -e "s|/var/spool/uptimed|'\$(DESTDIR)&'|" Makefile.in
sed -i \
-e '/^SENDMAIL=/s|lib|sbin|' \
-e "s|^PIDFILE=.*|'&.pid'|" \
etc/uptimed.conf-dist
cd $name-$version
patch -p 1 -i $SRC/$name-0.3.13.patch
chmod u+x configure
./configure \
--prefix=/usr \
@ -30,6 +25,5 @@ build() {
make DESTDIR=$PKG install
mv $PKG/etc/uptimed.conf-dist $PKG/etc/uptimed.conf
install -D -m 0755 $SRC/rc.uptimed $PKG/etc/rc.d/uptimed
install -m 0755 -D $SRC/rc.uptimed $PKG/etc/rc.d/uptimed
}

24986
uptimed/uptimed-0.3.13.patch Normal file

File diff suppressed because it is too large Load Diff