summaryrefslogtreecommitdiffstats
path: root/extra/ca-certificates/Pkgfile
diff options
context:
space:
mode:
authororchidman <lesibel@free.fr>2011-07-18 08:55:00 +0200
committerorchidman <lesibel@free.fr>2011-07-18 08:55:00 +0200
commitfe6032502a78efd090c7006bc1fb8567fa8ba940 (patch)
tree6f5b85beba71bf46b8adb4d76b77c2893b6020b9 /extra/ca-certificates/Pkgfile
parent9db42a56d07557f917b742897169119ca564fd15 (diff)
downloadnutyx-extra-fe6032502a78efd090c7006bc1fb8567fa8ba940.tar.gz
nutyx-extra-fe6032502a78efd090c7006bc1fb8567fa8ba940.tar.bz2
nutyx-extra-fe6032502a78efd090c7006bc1fb8567fa8ba940.tar.xz
nutyx-extra-fe6032502a78efd090c7006bc1fb8567fa8ba940.zip
ca-certificates 20110502-1 ajout port
Diffstat (limited to 'extra/ca-certificates/Pkgfile')
-rwxr-xr-xextra/ca-certificates/Pkgfile33
1 files changed, 33 insertions, 0 deletions
diff --git a/extra/ca-certificates/Pkgfile b/extra/ca-certificates/Pkgfile
new file mode 100755
index 000000000..fa26d75ca
--- /dev/null
+++ b/extra/ca-certificates/Pkgfile
@@ -0,0 +1,33 @@
+# Description: CA rtificats courant
+# Url : http://packages.qa.debian.org/c/ca-certificates.html
+# Maintainer: NutyX core team
+# Packager: lesibel at free dot fr
+# Depends on: openssl,findutils,coreutils,nmap
+# Run on:
+
+name=ca-certificates
+version=20110502
+release=1
+
+source=(http://ftp.debian.org/debian/pool/main/c/$name/${name}_${version}.tar.gz )
+
+build() {
+ cd $name-$version
+ sed 's|/usr/bin/python|/usr/bin/python2|g' -i mozilla/certdata2pem.py
+ sed 's|python|python2|g' -i mozilla/Makefile
+ make
+ install -d -m755 $PKG/{etc/ca-certificates/update.d,usr/{sbin,share/ca-certificates},etc/ssl/certs}
+ make install DESTDIR=$PKG
+ install -D -m644 sbin/update-ca-certificates.8 $PKG/usr/share/man/man8/update-ca-certificates.8
+
+ (
+ echo "# Automatically generated by $name-$version-$release"
+ echo "# see update-ca-certificates man page"
+ echo "# "
+ cd $PKG/usr/share/ca-certificates
+ find . -name '*.crt' | sort | cut -b3-
+ ) > $PKG/etc/ca-certificates.conf
+
+ cp -av /usr/share/ncat/ca-bundle.crt $PKG/etc/ssl/certs/ca-certificates.crt
+}
+