mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-23 18:14:54 +08:00
more core util packages updated/rebuild/clean-up, diffutils, sed, dnsutils, findutils, which
This commit is contained in:
parent
3edeedd74a
commit
699fe43da7
@ -1,22 +1,22 @@
|
||||
#
|
||||
# Chakra Packages for Chakra, part of chakra-project.org
|
||||
# Core Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||||
# maintainer (x86_64): Drake Justice <djustice[at]chakra-linux[dot]org>
|
||||
# maintainer: abveritas@chakra-project.org
|
||||
|
||||
|
||||
pkgname=diffutils
|
||||
pkgver=3.2
|
||||
pkgrel=1
|
||||
pkgdesc="Utility programs used for creating patch files"
|
||||
arch=('i686' 'x86_64')
|
||||
arch=('x86_64')
|
||||
url="http://www.gnu.org/software/diffutils"
|
||||
license=('GPL3')
|
||||
groups=('base')
|
||||
depends=('glibc' 'sh')
|
||||
install=diffutils.install
|
||||
source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz)
|
||||
md5sums=('26ff64c332429c830c154be46b393382')
|
||||
source=("ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz"{,.sig})
|
||||
md5sums=('26ff64c332429c830c154be46b393382'
|
||||
'6f7560ae92525d3f2e64dbc8bf0e9023')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
|
@ -1,39 +1,44 @@
|
||||
#
|
||||
# Core Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||||
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||||
|
||||
# include global config
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
# maintainer: abveritas@chakra-project.org
|
||||
|
||||
pkgname=dnsutils
|
||||
# Use a period and not a hyphen before the patch level for proper versioning.
|
||||
pkgver=9.8.0.P1
|
||||
_pkgver=9.8.0-P1
|
||||
pkgrel=2
|
||||
# _pkver when P version used.
|
||||
pkgver=9.9.2
|
||||
_pkgver=9.9.2
|
||||
pkgrel=1
|
||||
pkgdesc="Various DNS utilities - dig host nslookup nsupdate"
|
||||
arch=(i686 x86_64)
|
||||
arch=('x86_64')
|
||||
url="https://www.isc.org/software/bind"
|
||||
license=('custom:ISC')
|
||||
depends=('openssl')
|
||||
replaces=('bind-tools' 'host')
|
||||
options=('makeflags')
|
||||
source=(http://ftp.isc.org/isc/bind9/${_pkgver}/bind-${_pkgver}.tar.gz
|
||||
tools-only.patch)
|
||||
md5sums=('d97ecd8f62a4cf4a769742c79cd8f921'
|
||||
'be0558f70ed81d90e68e6b6003ba12ed')
|
||||
source=("http://ftp.isc.org/isc/bind9/${_pkgver}/bind-${_pkgver}.tar.gz"
|
||||
'tools-only.patch')
|
||||
md5sums=('3b37d8de1bb15d3e887ce9ee8e07cd71'
|
||||
'a7b414849b4fb2137e33f348c3cdd458')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/bind-${_pkgver}"
|
||||
patch -Np1 -i "${srcdir}/tools-only.patch" || return 1
|
||||
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
|
||||
--with-openssl=yes --disable-linux-caps || return 1
|
||||
make || return 1
|
||||
cd "${srcdir}/bind-${_pkgver}"
|
||||
|
||||
patch -p1 -i "${srcdir}/tools-only.patch"
|
||||
export STD_CDEFINES='-DDIG_SIGCHASE'
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--disable-static \
|
||||
--disable-linux-caps \
|
||||
--with-openssl
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/bind-${_pkgver}/bin"
|
||||
make DESTDIR="${pkgdir}" install || return 1
|
||||
install -Dm644 ../COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1
|
||||
cd "${srcdir}/bind-${_pkgver}"
|
||||
|
||||
install -Dm644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
cd bin; make DESTDIR="${pkgdir}" install
|
||||
}
|
||||
|
@ -1,19 +1,19 @@
|
||||
diff -Naur bind-9.7.1-P2.orig/bin/Makefile.in bind-9.7.1-P2/bin/Makefile.in
|
||||
--- bind-9.7.1-P2.orig/bin/Makefile.in 2009-10-05 08:07:08.000000000 -0400
|
||||
+++ bind-9.7.1-P2/bin/Makefile.in 2010-07-22 15:55:00.000000000 -0400
|
||||
diff -aur old/bin/Makefile.in new/bin/Makefile.in
|
||||
--- old/bin/Makefile.in 2009-10-05 05:07:08.000000000 -0700
|
||||
+++ new/bin/Makefile.in 2011-08-28 19:16:17.245495043 -0700
|
||||
@@ -19,8 +19,7 @@
|
||||
VPATH = @srcdir@
|
||||
top_srcdir = @top_srcdir@
|
||||
|
||||
-SUBDIRS = named rndc dig dnssec tests tools nsupdate \
|
||||
- check confgen @PKCS11_TOOLS@
|
||||
+SUBDIRS = dig nsupdate
|
||||
- check confgen @PYTHON_TOOLS@ @PKCS11_TOOLS@
|
||||
+SUBDIRS = dig
|
||||
TARGETS =
|
||||
|
||||
@BIND9_MAKE_RULES@
|
||||
diff -Naur bind-9.7.1-P2.orig/lib/Makefile.in bind-9.7.1-P2/lib/Makefile.in
|
||||
--- bind-9.7.1-P2.orig/lib/Makefile.in 2007-06-19 19:47:13.000000000 -0400
|
||||
+++ bind-9.7.1-P2/lib/Makefile.in 2010-07-22 15:56:29.000000000 -0400
|
||||
diff -aur old/lib/Makefile.in new/lib/Makefile.in
|
||||
--- old/lib/Makefile.in 2007-06-19 16:47:13.000000000 -0700
|
||||
+++ new/lib/Makefile.in 2011-08-28 19:17:50.828688599 -0700
|
||||
@@ -23,7 +23,7 @@
|
||||
# Attempt to disable parallel processing.
|
||||
.NOTPARALLEL:
|
||||
|
@ -1,21 +1,20 @@
|
||||
#
|
||||
# Chakra Packages for Chakra, part of chakra-project.org
|
||||
# Core Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||||
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||||
# maintainer: abveritas@chakra-project.org
|
||||
|
||||
pkgname=findutils
|
||||
pkgver=4.4.2
|
||||
pkgrel=4
|
||||
pkgrel=5
|
||||
pkgdesc="GNU utilities to locate files"
|
||||
arch=('i686' 'x86_64')
|
||||
arch=('x86_64')
|
||||
license=('GPL3')
|
||||
groups=('base')
|
||||
depends=('glibc' 'sh')
|
||||
url="http://www.gnu.org/software/findutils"
|
||||
source=(ftp://ftp.gnu.org/pub/gnu/findutils/findutils-$pkgver.tar.gz)
|
||||
source=("ftp://ftp.gnu.org/pub/gnu/findutils/findutils-$pkgver.tar.gz")
|
||||
install=findutils.install
|
||||
sha1sums=('e8dd88fa2cc58abffd0bfc1eddab9020231bb024')
|
||||
md5sums=('351cc4adb07d54877fa15f75fb77d39f')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
@ -28,6 +27,12 @@ build() {
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
make check
|
||||
}
|
||||
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
make DESTDIR=$pkgdir install
|
||||
|
21
sed/PKGBUILD
21
sed/PKGBUILD
@ -1,20 +1,22 @@
|
||||
# $Id: PKGBUILD 77816 2010-04-18 08:52:19Z allan $
|
||||
# Maintainer: Allan McRae <allan@archlinux.org>
|
||||
# Contributor: judd <jvinet@zeroflux.org>
|
||||
#
|
||||
# Core Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# maintainer: abveritas@chakra-project.org
|
||||
|
||||
pkgname=sed
|
||||
pkgver=4.2.1
|
||||
pkgrel=4
|
||||
pkgrel=5
|
||||
pkgdesc="GNU stream editor"
|
||||
arch=('i686' 'x86_64')
|
||||
arch=('x86_64')
|
||||
url="http://www.gnu.org/software/sed"
|
||||
license=('GPL3')
|
||||
groups=('base')
|
||||
depends=('acl' 'sh')
|
||||
makedepends=('gettext')
|
||||
install=sed.install
|
||||
source=("ftp://ftp.gnu.org/pub/gnu/sed/${pkgname}-${pkgver}.tar.gz")
|
||||
md5sums=('f0fd4d7da574d4707e442285fd2d3b86')
|
||||
source=("ftp://ftp.gnu.org/pub/gnu/sed/${pkgname}-${pkgver}.tar.gz"{,.sig})
|
||||
md5sums=('f0fd4d7da574d4707e442285fd2d3b86'
|
||||
'91871b227dbf0916e019ba1fb0fbfdf3')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
@ -25,6 +27,11 @@ build() {
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
make check
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
make DESTDIR="${pkgdir}" install
|
||||
|
@ -1,32 +1,36 @@
|
||||
#
|
||||
# Core Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||||
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||||
|
||||
# include global config
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
# maintainer: abveritas@chakra-project.org
|
||||
|
||||
pkgname=which
|
||||
pkgver=2.20
|
||||
pkgrel=5
|
||||
pkgrel=6
|
||||
pkgdesc="A utility to show the full path of commands"
|
||||
arch=('i686' 'x86_64')
|
||||
arch=('x86_64')
|
||||
url="http://www.xs4all.nl/~carlo17/which"
|
||||
license=('GPL3')
|
||||
groups=('base')
|
||||
depends=('glibc' 'sh')
|
||||
install=which.install
|
||||
source=(http://www.xs4all.nl/~carlo17/$pkgname/$pkgname-$pkgver.tar.gz)
|
||||
source=("http://www.xs4all.nl/~carlo17/$pkgname/$pkgname-$pkgver.tar.gz")
|
||||
md5sums=('95be0501a466e515422cde4af46b2744')
|
||||
|
||||
build() {
|
||||
cd $srcdir/$pkgname-$pkgver
|
||||
|
||||
./configure --prefix=/usr
|
||||
make || return 1
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
|
||||
make check
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $srcdir/$pkgname-$pkgver
|
||||
|
||||
make DESTDIR=$pkgdir install
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user