Major changes to not depend on cksum and db from NetBSD.

Two new utilities in C have been created:
	- xbps-digest: shows the SHA256 hash for a file.
	- xbps-pkgdb: handles dependency stuff via proplib.

Templates should use now $build_depends and change $checksum to be
a SHA256 hash. That means that I'm currently using xbps on Linux and
I lost interest on NetBSD, perhaps I'll add support for it in the
future.

Only git and its dependencies have been converted, as well as vim.

--HG--
extra : convert_revision : 53a7e030ca6b6d02bb6cd3e51d42b7d5702c1b57
This commit is contained in:
Juan RP
2008-10-20 16:34:27 +02:00
parent a5c39c58aa
commit 99d5350b30
19 changed files with 851 additions and 126 deletions

View File

@@ -7,7 +7,7 @@ configure_args="--enable-ldaps"
pkgconfig_override="libcurl.pc"
short_desc="Client that groks URLs"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=2849e82496eb19bd75792d64f42eaa196e1ebac3
checksum=a0e28b019f022942650ffa4bdf46e4c09bd8ec18e6ca5f08ad273668115f51f7
long_desc="
Curl is a command line tool for transferring files with URL syntax, supporting
FTP, FTPS, HTTP, HTTPS, GOPHER, TELNET, DICT, FILE and LDAP. Curl supports
@@ -15,3 +15,5 @@ long_desc="
proxies, cookies, user+password authentication (Basic, Digest, NTLM, Negotiate,
kerberos...), file transfer resume, proxy tunneling and a busload of other
useful tricks."
build_depends="libidn-1.9"

View File

@@ -6,8 +6,10 @@ http://kent.dl.sourceforge.net/sourceforge/expat/$pkgname-$version@.tar.gz"
build_style=gnu_configure
short_desc="XML parser library written in C"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=d31bcb152adaff9e358968be1ea901e1b4ed3b2f
checksum=847660b4df86e707c9150e33cd8c25bc5cd828f708c7418e765e3e983a2e5e93
long_desc="
This is James Clark's expat XML parser library in C. It is a stream
oriented parser that requires setting handlers to deal with the
structure that the parser discovers in the document."
build_depends="libtool-2.2.6a"

View File

@@ -6,13 +6,13 @@ distfiles="
http://www.kernel.org/pub/software/scm/git/$pkgname-$version@.tar.bz2"
build_style=gnu_configure
configure_env="CURLDIR=$XBPS_MASTERDIR"
make_env="CURLDIR=$XBPS_MASTERDIR THREADED_DELTA_SEARCH=1"
configure_args="--with-shell=/bin/sh --with-perl=$XBPS_MASTERDIR/bin/perl
--with-curl --without-tcltk --with-expat"
make_cmd="$XBPS_MASTERDIR/bin/gmake"
make_env="CURLDIR=$XBPS_MASTERDIR"
short_desc="GIT Tree History Storage Tool"
maintainer="Daniel Horecki <morr@morr.pl>"
checksum=eb91ca256d0fbcc956f91ad02da659d9b322261d
checksum=a332fbcb1c9cf8b1dc224135d5b14e99da4720fc8b082e595b4f20eaf640dad8
long_desc="
GIT is a \"directory content manager\" designed to handle absolutely massive
projects with speed and efficiency, and the release of the 2.6.12 (and later)
@@ -23,3 +23,5 @@ long_desc="
to e.g. GNU Arch or Monotone (or, in the commercial world, BitKeeper). Every
GIT working directory is a full-fledged repository with full revision tracking
capabilities, not dependent on network access to a central server."
build_depends="curl-7.18.0 expat-2.0.1 perl-5.10.0"

View File

@@ -8,7 +8,7 @@ configure_env="EMACS=/bin/false"
configure_args="--disable-csharp --disable-java"
short_desc="Internationalized Domain Names command line tool"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=e112eeb5340c8ded1e0aef8096432451a03351bb
checksum=30887522c8f495f6c8e24e84e60acc2863cea2ca5da70b92297e57160ad4b038
long_desc="
GNU Libidn is an implementation of the Stringprep, Punycode, and IDNA
specifications defined by the IETF Internationalized Domain Names (IDN)
@@ -22,3 +22,5 @@ long_desc="
bidirectional character handling. Profiles for iSCSI, Kerberos 5, Nameprep,
SASL, and XMPP are included. Punycode and ASCII Compatible Encoding (ACE) via
IDNA are supported."
build_depends="perl-5.10.0 pkg-config-0.23 libtool-2.2.6a"

View File

@@ -7,7 +7,7 @@ distfiles="http://ftp.gnu.org/pub/gnu/libtool/$pkgname-$version@.tar.gz"
build_style=gnu_configure
short_desc="Generic library support"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=f8862338e2c6ea04332fd5aad4aad5bc35d0e152
checksum=eb6b8f8272c5a5cad0c7c6b949aa75632f45c295f09b2e1e90b6bce15b32b796
long_desc="
This is GNU libtool, a generic library support script. Libtool hides
the complexity of generating special library types (such as shared

View File

@@ -3,7 +3,7 @@
perl_arch=$(uname -m)
perl_libdir=$XBPS_DESTDIR/$pkgname-$version/lib/perl5
config_pm=$perl_libdir/$version/$perl_arch-netbsd-thread-multi/Config.pm
config_pm=$perl_libdir/$version/$perl_arch-linux-thread-multi/Config.pm
$sed_cmd -e "s|$XBPS_DESTDIR\/$pkgname-$version|$XBPS_MASTERDIR|g" \
$config_pm > $config_pm.in

View File

@@ -9,7 +9,7 @@ configure_args="-Dusethreads -des -Dprefix=$XBPS_DESTDIR/$pkgname-$version
build_style=configure
short_desc="Practical Extraction and Report Language"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=c6614fc99a162790a703f91085b24a60af903ba2
checksum=94464a0d374fa63226eee56e0bb3d35564f9d8391a1a8d9f0055805ec25f3b2e
long_desc="
Perl is a general-purpose programming language originally developed
for text manipulation and now used for a wide range of tasks including

View File

@@ -7,7 +7,7 @@ build_style=gnu_configure
configure_args="--disable-threads --with-pc-path=$XBPS_MASTERDIR/lib/pkgconfig"
short_desc="System for managing library compile/link flags"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=0aa5565430d609319917ac2c8ffeaa5e4a509489
checksum=08a0e072d6a05419a58124db864f0685e6ac96e71b2875bf15ac12714e983b53
long_desc="
pkg-config is a system for managing library compile/link flags that
works with automake and autoconf. It replaces the ubiquitous

View File

@@ -6,7 +6,7 @@ distfiles="ftp://ftp.vim.org/pub/vim/unix/$pkgname-$version@.tar.bz2"
build_style=gnu_configure
short_desc="Vim editor (vi clone)"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=eaff64d0fec09d725addf8de569f508b80a5766e
checksum=914db0f2205ebd6f02878295ec2506036ea7500399db112c61a01491cd9a1d86
long_desc="
Vim is an almost compatible version of the UNIX editor Vi. Many new features
have been added: multi level undo, syntax highlighting, command line history,

View File

@@ -6,7 +6,7 @@ http://kent.dl.sourceforge.net/sourceforge/xstow/$pkgname-$version@.tar.bz2"
build_style=gnu_configure
short_desc="Replacement of GNU Stow written in C++"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=9b99bd9affe9a841503970e903555ce340fcf296
checksum=f1872c10eccca3b3b4202e2e0f4c7f10833bc941e02f3f17776d5ddb192f68f5
long_desc="
XStow as GNU Stow, are programs for managing the installation of
software packages, keeping them separate (/usr/local/stow/emacs vs.