diff options
author | Danny Rawlins <romster@shortcircuit.net.au> | 2008-07-29 23:22:59 +1000 |
---|---|---|
committer | Danny Rawlins <romster@shortcircuit.net.au> | 2008-07-29 23:23:21 +1000 |
commit | 0206d43be19c0c76401daa87638030aa1b19fcef (patch) | |
tree | aa0f95604b51a5beb6f37419b77a5272799088b2 /preload/Pkgfile | |
parent | b8ed95f87614097b0029ff63434ce2d2515c4b1e (diff) | |
download | contrib-0206d43be19c0c76401daa87638030aa1b19fcef.tar.gz contrib-0206d43be19c0c76401daa87638030aa1b19fcef.tar.xz |
preload: 0.4 -> 0.6.3
Diffstat (limited to 'preload/Pkgfile')
-rw-r--r-- | preload/Pkgfile | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/preload/Pkgfile b/preload/Pkgfile index 502719acb..51136b9d5 100644 --- a/preload/Pkgfile +++ b/preload/Pkgfile @@ -5,13 +5,18 @@ # Depends on: glib help2man name=preload -version=0.4 +version=0.6.3 release=1 source=(http://dl.sourceforge.net/sourceforge/preload/preload-$version.tar.gz - rc.preload) + rc.preload + $name-$version-memcached-default.patch + $name-$version-statedir-fix.patch) build() { cd preload-$version + patch -p 1 -i $SRC/$name-$version-memcached-default.patch + patch -p 1 -i $SRC/$name-$version-statedir-fix.patch + autoreconf # preload(8) is generated by help2man if available, otherwise # it only contains "help2man is required to generate this file." @@ -30,14 +35,13 @@ build() { make -j 1 make DESTDIR=$PKG install - cd $PKG - rm -r etc/{rc.d,logrotate.d,sysconfig} - rm -r usr/share/doc - rmdir usr/share + rm -r $PKG/etc/{rc.d,logrotate.d,sysconfig} + rm -r $PKG/usr/share/doc + rmdir $PKG/usr/share - # preload.state is installed 644 but changed to 640 on first run, + # preload.state is installed 0644 but changed to 0600 on first run, # so we change the mode in the package to avoid rejmerge. - chmod 0640 var/lib/preload/preload.state + chmod 0600 $PKG/var/cache/preload/preload.state # install services rc script install -m 0755 -D $SRC/rc.preload $PKG/etc/rc.d/preload |