Radix cross Linux

The main Radix cross Linux repository contains the build scripts of packages, which have the most complete and common functionality for desktop machines

452 Commits   2 Branches   1 Tag
Index: update-cracklib
===================================================================
--- update-cracklib	(nonexistent)
+++ update-cracklib	(revision 5)
@@ -0,0 +1,39 @@
+#!/bin/sh
+# update-cracklib - Regenerate cracklib word lists
+#
+# This script is based on the original cron job written by Jean Pierre
+# LeJacq <jplejacq@quoininc.com>.
+
+set -e
+
+umask 0022
+
+if [ -r "/etc/cracklib/cracklib.conf" ] ; then
+  . /etc/cracklib/cracklib.conf
+else
+  echo "ERROR: cannot read configuration file /etc/cracklib/cracklib.conf"
+  exit 1
+fi
+
+if [ ! -d /var/cache/cracklib/ ] ; then
+  install -d -m 755 /var/cache/cracklib/
+fi
+
+if [ -n "${cracklib_dictpath_src}" -a -n "${cracklib_dictpath}" ] ; then
+  export LC_COLLATE=C
+  updated=0
+  for i in ${cracklib_dictpath_src} ; do
+    if ! [ -e /var/cache/cracklib/src-dicts ]       || \
+       ! grep -q "$i" /var/cache/cracklib/src-dicts || \
+       ! [ -e "${cracklib_dictpath}.pwd" ]          || \
+         [ "$i" -nt "${cracklib_dictpath}.pwd" ] ; then
+      if [ $updated = 0 ] ; then
+        /usr/sbin/cracklib-format ${cracklib_dictpath_src} | /usr/sbin/cracklib-packer
+        updated=1
+        echo "${cracklib_dictpath_src}" > /var/cache/cracklib/src-dicts
+      fi
+    fi
+  done
+fi
+
+exit 0
Index: .
===================================================================
--- .	(nonexistent)
+++ .	(revision 5)

Property changes on: .
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,73 ##
+
+# install dir
+dist
+
+# Target build dirs
+.a1x-newlib
+.a2x-newlib
+.at91sam7s-newlib
+
+.build-machine
+
+.a1x-glibc
+.a2x-glibc
+.h3-glibc
+.h5-glibc
+.i586-glibc
+.i686-glibc
+.imx6-glibc
+.jz47xx-glibc
+.makefile
+.am335x-glibc
+.omap543x-glibc
+.p5600-glibc
+.power8-glibc
+.power8le-glibc
+.power9-glibc
+.power9le-glibc
+.m1000-glibc
+.riscv64-glibc
+.rk328x-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.dist
+.rootfs
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+.requires
+.requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Descriptions
+*.dsc
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# backup copies
+*~