Browse Source

nss

pull/1/head
Milis Arge 11 months ago
parent
commit
b912287116
9 changed files with 294 additions and 0 deletions
  1. +18
    -0
      talimatname/2/dev-libs/jansson#2.12-1/talimat
  2. +23
    -0
      talimatname/2/dev-libs/nss#3.45-1/derle.sh
  3. +145
    -0
      talimatname/2/dev-libs/nss#3.45-1/nss-config.in
  4. +11
    -0
      talimatname/2/dev-libs/nss#3.45-1/nss.pc.in
  5. +46
    -0
      talimatname/2/dev-libs/nss#3.45-1/pakur.sh
  6. +23
    -0
      talimatname/2/dev-libs/nss#3.45-1/talimat
  7. +4
    -0
      talimatname/2/net-utils/libpsl#0.21.0-1/libgerekler
  8. +3
    -0
      talimatname/2/net-utils/libpsl#0.21.0-1/pktlibler
  9. +21
    -0
      talimatname/2/net-utils/networkmanager#1.19.5-1/talimat

+ 18
- 0
talimatname/2/dev-libs/jansson#2.12-1/talimat View File

@@ -0,0 +1,18 @@
[paket]
tanim = JSON veri işleme C kütüphanesi
paketci = milisarge
grup = kütüphane
url = http://www.digip.org/jansson

[kaynak]
bz2 = http://www.digip.org/$isim/releases

[sha256]
1 = 645d72cc5dbebd4df608d33988e55aa42a7661039e19a379fcbe5c79d1aee1d2

[derle]
ekconf = --disable-static
tip = gnu
[pakur]
tip = gnu

+ 23
- 0
talimatname/2/dev-libs/nss#3.45-1/derle.sh View File

@@ -0,0 +1,23 @@
sed -e 's/\$(MKSHLIB) -o/\$(MKSHLIB) \$(LDFLAGS) -o/g' -i nss/coreconf/rules.mk

export LIBRUNPATH=
export BUILD_OPT=1
export NSS_USE_SYSTEM_SQLITE=1
export NSS_ENABLE_WERROR=0
export NSS_ENABLE_ECC=1
export FREEBL_NO_DEPEND=1

_native_use64="USE_64=1"

cd nss
# Build nsinstall for host.
make CFLAGS=$CFLAGS LDFLAGS=$LDFLAGS ${_native_use64} -C coreconf


export NSPR_INCLUDE_DIR=/usr/include/nspr
export NSPR_LIB_DIR=/usr/lib
export XCFLAGS="${CFLAGS}"

make ${_native_use64} -C lib/dbm
make ${_native_use64}


+ 145
- 0
talimatname/2/dev-libs/nss#3.45-1/nss-config.in View File

@@ -0,0 +1,145 @@
#!/bin/sh

prefix=@prefix@

major_version=@MOD_MAJOR_VERSION@
minor_version=@MOD_MINOR_VERSION@
patch_version=@MOD_PATCH_VERSION@

usage()
{
cat <<EOF
Usage: nss-config [OPTIONS] [LIBRARIES]
Options:
[--prefix[=DIR]]
[--exec-prefix[=DIR]]
[--includedir[=DIR]]
[--libdir[=DIR]]
[--version]
[--libs]
[--cflags]
Dynamic Libraries:
nss
nssutil
ssl
smime
EOF
exit $1
}

if test $# -eq 0; then
usage 1 1>&2
fi

lib_ssl=yes
lib_smime=yes
lib_nss=yes
lib_nssutil=yes

while test $# -gt 0; do
case "$1" in
-*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
*) optarg= ;;
esac

case $1 in
--prefix=*)
prefix=$optarg
;;
--prefix)
echo_prefix=yes
;;
--exec-prefix=*)
exec_prefix=$optarg
;;
--exec-prefix)
echo_exec_prefix=yes
;;
--includedir=*)
includedir=$optarg
;;
--includedir)
echo_includedir=yes
;;
--libdir=*)
libdir=$optarg
;;
--libdir)
echo_libdir=yes
;;
--version)
echo ${major_version}.${minor_version}.${patch_version}
;;
--cflags)
echo_cflags=yes
;;
--libs)
echo_libs=yes
;;
ssl)
lib_ssl=yes
;;
smime)
lib_smime=yes
;;
nss)
lib_nss=yes
;;
nssutil)
lib_nssutil=yes
;;
*)
usage 1 1>&2
;;
esac
shift
done

# Set variables that may be dependent upon other variables
if test -z "$exec_prefix"; then
exec_prefix=`pkg-config --variable=exec_prefix nss`
fi
if test -z "$includedir"; then
includedir=`pkg-config --variable=includedir nss`
fi
if test -z "$libdir"; then
libdir=`pkg-config --variable=libdir nss`
fi

if test "$echo_prefix" = "yes"; then
echo $prefix
fi

if test "$echo_exec_prefix" = "yes"; then
echo $exec_prefix
fi

if test "$echo_includedir" = "yes"; then
echo $includedir
fi

if test "$echo_libdir" = "yes"; then
echo $libdir
fi

if test "$echo_cflags" = "yes"; then
echo -I$includedir
fi

if test "$echo_libs" = "yes"; then
libdirs="-Wl,-rpath-link,$libdir -L$libdir"
if test -n "$lib_ssl"; then
libdirs="$libdirs -lssl${major_version}"
fi
if test -n "$lib_smime"; then
libdirs="$libdirs -lsmime${major_version}"
fi
if test -n "$lib_nss"; then
libdirs="$libdirs -lnss${major_version}"
fi
if test -n "$lib_nssutil"; then
libdirs="$libdirs -lnssutil${major_version}"
fi
echo $libdirs
fi


+ 11
- 0
talimatname/2/dev-libs/nss#3.45-1/nss.pc.in View File

@@ -0,0 +1,11 @@
prefix=%prefix%
exec_prefix=%exec_prefix%
libdir=%libdir%
includedir=%includedir%

Name: NSS
Description: Network Security Services
Version: %NSS_VERSION%
Requires: nspr >= %NSPR_VERSION%
Libs: -L${libdir} -lssl3 -lsmime3 -lnss3 -lnssutil3
Cflags: -I${includedir}

+ 46
- 0
talimatname/2/dev-libs/nss#3.45-1/pakur.sh View File

@@ -0,0 +1,46 @@
export _nsprver=4.21

mkdir -p $PKG/usr/lib/pkgconfig
mkdir -p $PKG/usr/bin
mkdir -p $PKG/usr/include/nss

NSS_VMAJOR=$(grep "#define.*NSS_VMAJOR" nss/lib/nss/nss.h | awk '{print $3}')
NSS_VMINOR=$(grep "#define.*NSS_VMINOR" nss/lib/nss/nss.h | awk '{print $3}')
NSS_VPATCH=$(grep "#define.*NSS_VPATCH" nss/lib/nss/nss.h | awk '{print $3}')

sed ${SRC}/nss.pc.in \
-e "s,%libdir%,/usr/lib,g" \
-e "s,%prefix%,/usr,g" \
-e "s,%exec_prefix%,/usr/bin,g" \
-e "s,%includedir%,/usr/include/nss,g" \
-e "s,%NSPR_VERSION%,${_nsprver},g" \
-e "s,%NSS_VERSION%,${version},g" > \
${PKG}/usr/lib/pkgconfig/nss.pc

ln -sf nss.pc ${PKG}/usr/lib/pkgconfig/mozilla-nss.pc
chmod 644 ${PKG}/usr/lib/pkgconfig/*.pc

sed ${SRC}/nss-config.in \
-e "s,@libdir@,/usr/lib,g" \
-e "s,@prefix@,/usr/bin,g" \
-e "s,@exec_prefix@,/usr/bin,g" \
-e "s,@includedir@,/usr/include/nss,g" \
-e "s,@MOD_MAJOR_VERSION@,${NSS_VMAJOR},g" \
-e "s,@MOD_MINOR_VERSION@,${NSS_VMINOR},g" \
-e "s,@MOD_PATCH_VERSION@,${NSS_VPATCH},g" \
> ${PKG}/usr/bin/nss-config
chmod 755 ${PKG}/usr/bin/nss-config

for f in libsoftokn3.so libfreebl3.so libnss3.so libnssutil3.so \
libssl3.so libsmime3.so libnssckbi.so libnssdbm3.so; do
install -m755 dist/*.OBJ/lib/${f} ${PKG}/usr/lib
done

install -m644 dist/*.OBJ/lib/libcrmf.a ${PKG}/usr/lib

for f in certutil cmsutil crlutil modutil pk12util shlibsign \
signtool signver ssltap; do
install -m755 dist/*.OBJ/bin/${f} ${PKG}/usr/bin
done

install -m644 dist/public/nss/*.h ${PKG}/usr/include/nss

+ 23
- 0
talimatname/2/dev-libs/nss#3.45-1/talimat View File

@@ -0,0 +1,23 @@
[paket]
tanim = Ağ güvenlik servisleri
paketci = milisarge
grup = kütüphane
url = https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS

[gerek]
derleme = nspr
calisma =

[kaynak]
gz = https://ftp.mozilla.org/pub/security/nss/releases/NSS_${surum//./_}_RTM/src
dosya = nss.pc.in
dosya = nss-config.in

[sha256]
1 = 112f05223d1fde902c170966bfc6f011b24a838be16969b110ecf2bb7bc24e8b

[derle]
dosya = derle.sh

[pakur]
dosya = pakur.sh

+ 4
- 0
talimatname/2/net-utils/libpsl#0.21.0-1/libgerekler View File

@@ -0,0 +1,4 @@
libpsl.so.5
libc.so.6
libunistring.so.2
libidn2.so.0

+ 3
- 0
talimatname/2/net-utils/libpsl#0.21.0-1/pktlibler View File

@@ -0,0 +1,3 @@
libpsl.so.5.3.2
libpsl.so
libpsl.so.5

+ 21
- 0
talimatname/2/net-utils/networkmanager#1.19.5-1/talimat View File

@@ -0,0 +1,21 @@
[paket]
tanim = Ağ yönetim arkaplan uygulaması
paketci = milisarge
grup = sistem
url = https://wiki.gnome.org/Projects/NetworkManager

[gerek]
derleme = nss dbus-glib libgudev libnl polkit ppp modemmanager libndp newt jansson libpsl
calisma = dbus dhclient iproute2 openresolv wpa_supplicant

[kaynak]
1 = https://download.gnome.org/sources/NetworkManager/${surum%.*}/NetworkManager-$surum.tar.xz

[sha256]
1 = 0d477d4dd08ebe7fe089e0a1141b61a09c38c98498cf3a112cba2be97d166f1f

[derle]
dosya = derle.sh

[pakur]
tip = gnu

Loading…
Cancel
Save