Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=2bb1c53490be3727190070abc48766dcf6341402
commit 2bb1c53490be3727190070abc48766dcf6341402 Author: Miklos Vajna <[EMAIL PROTECTED]> Date: Wed May 14 21:26:56 2008 +0200 adjtimex-1.21-2-i686 - moved to extra diff --git a/source/apps-extra/adjtimex/FrugalBuild b/source/apps-extra/adjtimex/FrugalBuild new file mode 100644 index 0000000..116e866 --- /dev/null +++ b/source/apps-extra/adjtimex/FrugalBuild @@ -0,0 +1,25 @@ +# Compiling Time: 0.01 SBU +# Maintainer: VMiklos <[EMAIL PROTECTED]> + +pkgname=adjtimex +pkgver=1.21 +pkgrel=2 +pkgdesc="display or set the kernel time variables" +url="http://www.ibiblio.org/linsearch/lsms/adjtimex.html" +depends=('glibc>=2.7-3') +groups=('apps-extra') +archs=('i686' 'x86_64' 'ppc') +up2date="lynx -dump http://www.ibiblio.org/pub/Linux/system/admin/time/ | grep $pkgname | Flasttar" +source=(http://www.ibiblio.org/pub/Linux/system/admin/time/$pkgname-$pkgver.tar.gz \ + adjtimex-1.13-glibc.patch) +sha1sums=('0a18b481005ca8d56bba3f56693a79e305bb6738' \ + '5c5e26a052c39da0c05610bd36e4a22a82a4f166') + +build() { + Fsed 'bindir=/sbin' 'bindir=${prefix}/sbin' Makefile.in + Fsed "VERSION=1.20" "VERSION=${pkgver}" Makefile.in + Fmkdir /usr/{sbin,man/man8} + Fbuild +} + +# optimization OK diff --git a/source/apps-extra/adjtimex/adjtimex-1.13-glibc.patch b/source/apps-extra/adjtimex/adjtimex-1.13-glibc.patch new file mode 100644 index 0000000..ca467b9 --- /dev/null +++ b/source/apps-extra/adjtimex/adjtimex-1.13-glibc.patch @@ -0,0 +1,18 @@ +--- adjtimex-1.20/adjtimex.c.glibc 2004-09-19 17:37:29.000000000 +0200 ++++ adjtimex-1.20/adjtimex.c 2005-03-16 13:16:02.514052584 +0100 +@@ -35,15 +35,7 @@ + #include <sys/ioctl.h> + #include <linux/rtc.h> + +-#ifdef __alpha__ + extern int adjtimex(struct timex *); +-#else +-#ifdef __ia64__ +-extern int adjtimex(struct timex *); +-#else +-_syscall1(int, adjtimex, struct timex *, txcp) +-#endif +-#endif + int F_print = 0; + + #ifndef LOG_PATH diff --git a/source/base/adjtimex/FrugalBuild b/source/base/adjtimex/FrugalBuild deleted file mode 100644 index 05e7615..0000000 --- a/source/base/adjtimex/FrugalBuild +++ /dev/null @@ -1,26 +0,0 @@ -# Compiling Time: 0.01 SBU -# Maintainer: VMiklos <[EMAIL PROTECTED]> - -pkgname=adjtimex -pkgver=1.21 -pkgrel=2 -pkgdesc="display or set the kernel time variables" -url="http://www.ibiblio.org/linsearch/lsms/adjtimex.html" -depends=('glibc>=2.7-3') -groups=('base') -archs=('i686' 'x86_64' 'ppc') -up2date="lynx -dump http://www.ibiblio.org/pub/Linux/system/admin/time/ | grep $pkgname | Flasttar" -source=(http://www.ibiblio.org/pub/Linux/system/admin/time/$pkgname-$pkgver.tar.gz \ - adjtimex-1.13-glibc.patch) -sha1sums=('0a18b481005ca8d56bba3f56693a79e305bb6738' \ - '5c5e26a052c39da0c05610bd36e4a22a82a4f166') - -build() { - Fcd - Fsed 'bindir=/sbin' 'bindir=${prefix}/sbin' Makefile.in - Fsed "VERSION=1.20" "VERSION=${pkgver}" Makefile.in - Fmkdir /usr/{sbin,man/man8} - Fbuild -} - -# optimization OK diff --git a/source/base/adjtimex/adjtimex-1.13-glibc.patch b/source/base/adjtimex/adjtimex-1.13-glibc.patch deleted file mode 100644 index ca467b9..0000000 --- a/source/base/adjtimex/adjtimex-1.13-glibc.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- adjtimex-1.20/adjtimex.c.glibc 2004-09-19 17:37:29.000000000 +0200 -+++ adjtimex-1.20/adjtimex.c 2005-03-16 13:16:02.514052584 +0100 -@@ -35,15 +35,7 @@ - #include <sys/ioctl.h> - #include <linux/rtc.h> - --#ifdef __alpha__ - extern int adjtimex(struct timex *); --#else --#ifdef __ia64__ --extern int adjtimex(struct timex *); --#else --_syscall1(int, adjtimex, struct timex *, txcp) --#endif --#endif - int F_print = 0; - - #ifndef LOG_PATH _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
