summaryrefslogtreecommitdiffstats
path: root/ca-certificates/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'ca-certificates/Pkgfile')
-rwxr-xr-xca-certificates/Pkgfile30
1 files changed, 30 insertions, 0 deletions
diff --git a/ca-certificates/Pkgfile b/ca-certificates/Pkgfile
new file mode 100755
index 000000000..d829b268d
--- /dev/null
+++ b/ca-certificates/Pkgfile
@@ -0,0 +1,30 @@
+# Description: Certificats CA courants
+# Url : http://packages.qa.debian.org/c/ca-certificates.html
+# Maintainer: NutyX core team
+# Packager: lesibel at free dot fr
+# Depends on: openssl, debianutils
+# Run on: openssl,debianutils
+
+name=ca-certificates
+version=20111025
+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
+}