# PaCkAgE DaTaStReAm ANDIrand 1 293 # end of header 0707010c14e038000081a40000005a0000000e000000013a179c04000000e8000000000000000100000000000000000000001100000003ANDIrand/pkginfoPSTAMP=200011191023 PKG=ANDIrand NAME=random-0.6 ARCH=sparc VERSION=0.6 CATEGORY=system DESC=random number generator CLASSES=none sed HOTLINE=http://www.cosy.sbg.ac.at/~andi/ VENDOR=Andreas Maier EMAIL=andi@cosy.sbg.ac.at BASEDIR=/ 0707010c14e392000081a40000005a0000000e000000013a179c040000034c000000000000000100000c0b000179f00000001000000003ANDIrand/pkgmap: 1 293 1 d none /etc ? ? ? 1 e sed /etc/devlink.tab ? ? ? 660 56189 959671948 1 d none /etc/init.d ? ? ? 1 f none /etc/init.d/random 0744 root sys 1064 19347 971458215 1 d none /etc/rc0.d ? ? ? 1 s none /etc/rc0.d/K10random=../init.d/random 1 d none /etc/rc2.d ? ? ? 1 s none /etc/rc2.d/S90random=../init.d/random 1 d none /usr ? ? ? 1 d none /usr/kernel ? ? ? 1 d none /usr/kernel/drv ? ? ? 1 f none /usr/kernel/drv/random 0755 root sys 9780 9674 974625796 1 e none /usr/kernel/drv/random.conf 0644 root sys 42 3717 958888431 1 d km64 /usr/kernel/drv/sparcv9 ? ? ? 1 f km64 /usr/kernel/drv/sparcv9/random 0755 root sys 0 0 974625796 1 i checkinstall 524 35523 959230368 1 i copyright 1993 28176 959578214 1 i pkginfo 232 18552 974625796 1 i postinstall 533 42075 961503489 1 i postremove 399 31952 959672331 1 i preremove 552 43864 971840768 07070100000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000b00000000TRAILER!!!0707010c14e038000081a40000005a0000000e000000013a179c04000000e8000000000000000100000000000000000000000800000003pkginfoPSTAMP=200011191023 PKG=ANDIrand NAME=random-0.6 ARCH=sparc VERSION=0.6 CATEGORY=system DESC=random number generator CLASSES=none sed HOTLINE=http://www.cosy.sbg.ac.at/~andi/ VENDOR=Andreas Maier EMAIL=andi@cosy.sbg.ac.at BASEDIR=/ 0707010c14e392000081a40000005a0000000e000000013a179c040000034c000000000000000100000c0b000179f00000000700000003pkgmap: 1 293 1 d none /etc ? ? ? 1 e sed /etc/devlink.tab ? ? ? 660 56189 959671948 1 d none /etc/init.d ? ? ? 1 f none /etc/init.d/random 0744 root sys 1064 19347 971458215 1 d none /etc/rc0.d ? ? ? 1 s none /etc/rc0.d/K10random=../init.d/random 1 d none /etc/rc2.d ? ? ? 1 s none /etc/rc2.d/S90random=../init.d/random 1 d none /usr ? ? ? 1 d none /usr/kernel ? ? ? 1 d none /usr/kernel/drv ? ? ? 1 f none /usr/kernel/drv/random 0755 root sys 9780 9674 974625796 1 e none /usr/kernel/drv/random.conf 0644 root sys 42 3717 958888431 1 d km64 /usr/kernel/drv/sparcv9 ? ? ? 1 f km64 /usr/kernel/drv/sparcv9/random 0755 root sys 0 0 974625796 1 i checkinstall 524 35523 959230368 1 i copyright 1993 28176 959578214 1 i pkginfo 232 18552 974625796 1 i postinstall 533 42075 961503489 1 i postremove 399 31952 959672331 1 i preremove 552 43864 971840768 0707010c103df4000041ed0000005a0000000e000000023a179c0400000000000000000000000100001fff0003ffff0000000800000003install0707010c103e76000081a40000005a0000000e00000001392cb1a00000020c000000000000000100000e8500039c040000001500000003install/checkinstall# # checkinstall for random number generator # created by Willi Burmeister # # HISTORY # # 23.05.2000 wib created this file # 25.05.2000 wib check for karch # # # we only need 64 bit modules on Sun Ultra and SunOS 5.7 or later # KARCH=`uname -m` REV=`uname -r` case $KARCH in sun4u | sun4us) case $REV in 5.[0-6]) ;; *) CLASSES="$CLASSES km64" ;; esac ;; *) ;; esac cat > $1 < http://www.cosy.sbg.ac.at/~andi/ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, and the entire permission notice in its entirety, including the disclaimer of warranties. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. ALTERNATIVELY, this product may be distributed under the terms of the GNU Public License, in which case the provisions of the GPL are required INSTEAD OF the above restrictions. (This clause is necessary due to a potential bad interaction between the GPL and the restrictions contained in a BSD-style copyright.) THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. package stuff by Willi Burmeister 0707010c103c3a000081a40000005a0000000e00000001394f610100000215000000000000000100000e8500039c030000001400000003install/postinstall#!/bin/sh # # postinstall for random number generator # created by Willi Burmeister # # HISTORY # # 21.05.2000 wib created this file # 23.05.2000 wib added start of random start script # 20.06.2000 wib add_drv during jumpstart needs -b # # # PKG_INSTALL_ROOT is empty if we are NOT installing during jumpstart # if [ -z "${PKG_INSTALL_ROOT}" ]; then add_drv -m '* 0644 root sys' random /etc/init.d/random start else add_drv -b ${PKG_INSTALL_ROOT} -m '* 0644 root sys' random fi # # end of file # 0707010c103eaa000081a40000005a0000000e000000013933700b0000018f000000000000000100000e8500039c030000001300000003install/postremove#!/bin/sh # # postremove for random number generator # created by Willi Burmeister # # HISTORY # # 23.05.2000 wib created this file # 30.05.2000 wib removed /dev/{u}random0 lines # # # PKG_INSTALL_ROOT is set if removing during jumpstart # # we need to remove links from /dev rm -f ${PKG_INSTALL_ROOT}/dev/random rm -f ${PKG_INSTALL_ROOT}/dev/urandom # # end of file # 0707010c103c20000081a40000005a0000000e0000000139ed1d0000000228000000000000000100000e8500039c030000001200000003install/preremove#!/bin/sh # # preremove for random number generator # created by Willi Burmeister # # HISTORY # # 21.05.2000 wib created this file # 20.06.2000 wib rem_drv during jumpstart needs -b # 18.10.2000 wib 'exit 0' if rem_drv couldnot unload driver # # # PKG_INSTALL_ROOT is empty if we are NOT removing during jumpstart # if [ -z "${PKG_INSTALL_ROOT}" ]; then rem_drv random else rem_drv -b ${PKG_INSTALL_ROOT} random fi if [ $? -ne 0 ]; then echo "Oops, error while trying to remove driver" fi exit 0 # # end of file # 0707010c14e122000041ed0000005a0000000e000000043a179c0400000000000000000000000100001fff0003ffff0000000500000003root0707010c14e1d8000041ed0000005a0000000e000000033a179c0400000000000000000000000100001fff0003ffff0000000900000003root/etc0707010c14e35e000081a40000005a0000000e0000000139336e8c00000294000000000000000100000e8500039c040000001500000003root/etc/devlink.tab# # sed class script for random number generator # created by Willi Burmeister # # HISTORY # # 21.05.2000 wib created this file # 30.05.2000 wib removed 'type=ddi_pseudo;name=random \M0\N0' # # !remove # # remove random entry from /etc/devlink.tab # /^# added for random generator/d /^type=ddi_pseudo;name=random/d # # # !install # # remove random entry from /etc/devlink.tab # /^# added for random generator/d /^type=ddi_pseudo;name=random/d # # add random entry to /etc/devlink.tab # $a\ \# added for random generator $a\ type=ddi_pseudo;name=random;addr=0;minor=random \\M0 $a\ type=ddi_pseudo;name=random;addr=0;minor=urandom \\M0 0707010c14e052000041ed0000005a0000000e000000023a179c0400000000000000000000000100001fff0003ffff0000001000000003root/etc/init.d0707010c14e2c2000081a40000005a0000000e0000000139e746a700000428000000000000000100000e8500039c040000001700000003root/etc/init.d/random#!/bin/sh # # start script for random number generator # created by Willi Burmeister # # HISTORY # # 23.05.2000 wib created this file # 13.10.2000 wib check for /dev/urandom before init # random_seed=/var/tmp/random-seed case $1 in 'start') # Carry a random seed from start-up to start-up # Load and then save 512 bytes, which is the size of the entropy pool echo "Initializing random number generator..." if [ -h /dev/urandom ]; then if [ -f $random_seed ]; then cat $random_seed >/dev/urandom fi dd if=/dev/urandom of=$random_seed count=1 2>/dev/null chmod 600 $random_seed echo "done." else echo "driver not loaded!" fi ;; 'stop') # Carry a random seed from shut-down to start-up # Save 512 bytes, which is the size of the entropy pool echo "Saving random seed..." if [ -h /dev/urandom ]; then dd if=/dev/urandom of=$random_seed count=1 2>/dev/null chmod 600 $random_seed echo "done." else echo "driver not loaded!" fi ;; *) echo "usage: $0 {start|stop}" ;; esac 0707010c14e156000041ed0000005a0000000e000000033a179c0400000000000000000000000100001fff0003ffff0000000900000003root/usr0707010c14e1f2000041ed0000005a0000000e000000033a179c0400000000000000000000000100001fff0003ffff0000001000000003root/usr/kernel0707010c14e06c000041ed0000005a0000000e000000033a179c0400000000000000000000000100001fff0003ffff0000001400000003root/usr/kernel/drv0707010c14e0a0000081a40000005a0000000e000000013a179c0400002634000000000000000100000e8500039c040000001b00000003root/usr/kernel/drv/randomELF#Ü4( ã¿ ’" ² @” €¢ € °@ €¢ €°@Çàèã¿ @ €¢ €°@ Çàè’`‚@žã¿ €¦`€Jº@1¶Ð @’€¢ "€ Ð @”’  @–Çà‘è?ÿ@’¹.à’ 3´˜ ”–@š €¢ €Ð @’Çà‘è?ÿ’ ˜ ”– @š €¢ € @’ Ð @’Çà‘è?ÿ ’ ú& ” @– @@ÔÇà‘è Çà‘è?ÿã¿ €¦`€´@@1²Ð @’€¢ "€@ @’ Ð @’Çà‘è Çà‘è?ÿã¿ @“2 €¦`€€¦`€?ÿÒ&àÇà‘è @Р€¢ "€?ÿÄ @›Ä&àÇà‘è Çà‘èã¿ @Ð €¦ €“2 Çà‘è @Р€¢ €Çà‘è @™Çà‘è ã¿ @“2 @Р€¢ €Çà‘è @…Çà‘è ã¿ @“2 @Р€¢ €Çà‘è @q°@9èã¿`@“2 @Р €¢ €’ @ Çà‘è Ä` €  €´¿À’ @” @–€¢ €º ¶ ¸¶&à¸' º'`Ò Ôà@W€§`¿ÿù¶&àÄ €  ¿ÿë¿À@= Çà‘èã¿ @“2 @Р».`»?`€¢ €’`EÇà‘è €¢`€€¦ €Ò6à€À6à„ Ä' @Çà‘è 㿘@´² ’¿ü°@ €¢ €Ô¿ü’@@Çàè㿘@´² ’¿ü°@ €¢ €Ô¿ü’@@Çàèã¿ ¶° @Äà†à –`„  „ Ä&àˆ g hˆ ’ L‰)  ‘* ÈÀ’ `“*`ÐÀÒÀ ˆ€@ˆ ’ M’ `“*`ÒÀ  ’ 3’ `“*`ÒÀ ˆ ’ 4’ `“*`ÒÀ  ’ ’ `“*`ÒÀ ˆ ’ ’ `“*`ÒÀ  ’ ’ `“*`ÔÀ ˆ ” ”  •* ÔÀ …(  ÔÀˆ ÔÀ  ” •* Ô€ ‰1 ” Ô À” •* Ä€ ‰2 „Ä À @èã¿ ´° ’@” @’ Ä`Æ` €¢ @„€Æ` „€Æ`4„€‡( …0 „ÀÄ"`@’`&¿ÿóÄ`  žˆ ø –¡™2˜°ö ”¡Ö#Æïò  ’ Ü¶zØ £¡ž €¡ (€€¡ €„†.@„€š€ €…(`„„€š€€…(`€¡ <€ „†„€†À„€š€ €…(`„„€š€ …(`‡0`ˆ „€€¡ PÆ„€ ˜„€²‡7 š@…/ ¸¶€‚ žà¿ÿÔ€¡ (Ä „€ Ä& Ä „€Ä& Ä „€Ä& Ä  „€Ä&  Ä „€ Ä& Çàèã¾HÄ` €  €@ 0ô¸¢¶¡ðÑH´£;ójô'¾¬²£‰&.·° þò'¾° •º ð'¾´„ v¸` Ä'¾¸¾¬ö'¾¼ÿÿ€’º`¸ @€§`€¿ÿû¾¬Ò¾¬Ô¾¸ÿÿ&ľ¬Æ¾¸„€Ä'¾¬Ô¾¼Ò¾°ÿÿľ°¾¬’ ƾ¼” „€Ä'¾°Ä¾´‰0 ‡( †À„€Ä'¾´@–€¢ € Ä €  4¿ÿÐô'¾¬€¾¬¾¬@’!T Çà‘è;n ÈvÜAM²aXí¸ƒ ÖÖ£è›d°  âx [u]random devices v0.6%s%d: can't allocate state randomddi_pseudourandomddi_pseudo=== write(): invalied minor ÿñ      ÿñH´T%@0h@:¸ÄEŒlQH,YPdf˜8rÐp~t †€‘”D£\D°„$À DÒä ßèî%-;OZp€v‚Œ ¨’˜«¿Ìàèö!2>R]P ¨ckrandom-32random.ccb_opsrand_openrand_closerand_readrand_writerand_chpolldev_opsrand_getinforand_attachrand_detachmodldrvmodlinkagersadd_timer_randadd_pid_randextract_entropyadd_entropy_wordsSHATransformgetminorbzeroddi_remove_minor_nodemutex_enterddi_report_devbcopynulldevmutex_destroyddi_soft_state_freemutex_exitddi_soft_state_zalloc_infomod_installgethrtime_initnodevddi_get_soft_stateddi_prop_remove_allddi_get_nameddi_soft_state_finiuiomovemod_driveropsddi_prop_opddi_create_minor_nodemod_infoddi_get_instancedrv_getparmddi_soft_state_initmod_remove_finicmn_errmutex_init» <S4cg: WorkShop Compilers 5.0 00/03/28 Compiler Common 5.0 Patch 107357-09@(#)types.h 1.51 97/05/06 SMI@(#)feature_tests.h 1.13 97/06/26 SMI@(#)isa_defs.h 1.11 97/03/21 SMI@(#)machtypes.h 1.11 96/04/29 SMI@(#)int_types.h 1.4 96/09/25 SMI@(#)select.h 1.11 96/06/20 SMI@(#)param.h 1.48 97/06/26 SMI@(#)errno.h 1.16 95/07/04 SMI@(#)uio.h 1.28 97/06/27 SMI@(#)buf.h 1.38 97/02/07 SMI@(#)t_lock.h 1.43 97/04/04 SMI@(#)machlock.h 1.15 97/04/04 SMI@(#)sleepq.h 1.19 97/04/04 SMI@(#)turnstile.h 1.30 97/04/23 SMI@(#)pirec.h 1.12 97/03/14 SMI@(#)mutex.h 1.17 97/04/04 SMI@(#)rwlock.h 1.5 97/04/04 SMI@(#)semaphore.h 1.4 94/07/29 SMI@(#)thread.h 1.78 97/06/13 SMI@(#)condvar.h 1.8 97/03/14 SMI@(#)klwp.h 1.28 97/04/18 SMI@(#)signal.h 1.50 97/04/16 SMI@(#)unistd.h 1.29 96/06/05 SMI@(#)siginfo.h 1.39 96/06/28 SMI@(#)machsig.h 1.12 96/04/29 SMI@(#)time.h 2.52 96/11/15 SMI@(#)pcb.h 1.24 96/09/05 SMI@(#)regset.h 1.18 97/05/12 SMI@(#)msacct.h 1.7 93/07/13 SMI@(#)ucontext.h 1.16 96/04/24 SMI@(#)lwp.h 1.28 97/05/27 SMI@(#)synch.h 1.26 96/07/24 SMI@(#)page.h 1.102 97/05/04 SMI@(#)kstat.h 1.11 97/03/03 SMI@(#)modctl.h 1.40 96/07/28 SMI@(#)ioccom.h 1.10 92/07/14 SMI@(#)nexusdefs.h 1.13 94/08/09 SMI@(#)varargs.h 1.36 96/01/30 SMI@(#)va_list.h 1.6 96/01/26 SMI@(#)open.h 1.9 93/11/01 SMI@(#)kmem.h 1.23 97/05/14 SMI@(#)poll.h 1.24 97/04/18 SMI@(#)conf.h 1.53 97/05/09 SMI@(#)systm.h 1.73 97/05/11 SMI@(#)devops.h 1.35 96/10/29 SMI@(#)cred.h 1.20 96/12/06 SMI@(#)as.h 1.60 96/08/08 SMI@(#)watchpoint.h 1.2 97/05/09 SMI@(#)seg_enum.h 1.3 95/12/22 SMI@(#)copyops.h 1.1 97/05/09 SMI@(#)seg.h 1.50 97/04/07 SMI@(#)vnode.h 1.70 98/08/13 SMI@(#)resource.h 1.21 96/06/03 SMI@(#)faultcode.h 1.15 92/07/14 SMI@(#)hat.h 1.77 97/04/18 SMI@(#)dditypes.h 1.22 96/11/12 SMI@(#)ddidmareq.h 1.22 96/09/24 SMI@(#)ddimapreq.h 1.14 96/06/25 SMI@(#)mman.h 1.24 96/06/03 SMI@(#)ddipropdefs.h 1.10 95/01/12 SMI@(#)ddidevmap.h 1.4 97/03/26 SMI@(#)aio_req.h 1.2 94/11/11 SMI@(#)model.h 1.1 96/09/24 SMI@(#)cmn_err.h 1.23 96/06/10 SMI@(#)stat.h 1.34 96/06/03 SMI@(#)ddi.h 1.29 96/09/24 SMI@(#)map.h 1.19 96/09/24 SMI@(#)stream.h 1.73 97/05/29 SMI@(#)strmdep.h 1.8 92/07/14 SMI@(#)sunddi.h 1.78 97/11/24 SMI@(#)ddi_implfuncs.h 1.19 97/01/04 SMI@(#)ddi_isa.h 1.5 97/02/28 SMI@(#)devctl.h 1.3 96/10/15 SMI@(#)file.h 1.49 97/03/14 SMI@(#)user.h 1.47 97/06/26 SMI@(#)auxv.h 1.23 97/06/26 SMI@(#)proc.h 1.106 98/02/28 SMI@(#)timer.h 1.12 94/12/06 SMIacomp: WorkShop Compilers 5.0 99/12/04 C 5.0 patch 107289-05.text.rodata.plt.data.data1.bss.symtab.strtab.stab.index.comment.shstrtab.rela.text.rela.data.stab.indexstr( €0 €T €\ €€ €ˆ € 4  <ä \à \X PØ à  < 48 HP HT PÀ ¼ ° l  < t ¸ Ì „  ¤ Ð œ $ ð ø x È € € ˆ 0 Ø ( à >,/p6@6X?;¨<è<¼-èAèAÐ5 3Ì3|3,3„3ü3Ü3ø3h:(:(+@+ˆ+Ü,%|%¨B°'à4*#l#¼##¼#T# d77`0 0t= =¬&ø( ”$¸´`Ðh\˜,ŒPPh|H„tx2d2 22(2D22 2$2@209T)X)t8random.cXa ; O ; V=3.1 ; R=WorkShop Compilers 5.0 99/12/04 C 5.0 patch 107289-05/tmp/ifi/random-0.6; /opt/SUNWspro/bin/../SC5.0/bin/cc -D_KERNEL -O -o random-32.o -c random.c -W0,-xp4 ¨ Ü  ü`  \” ðy! l& l0#.œv6$ B8 ïK'zU¤D `!è8 k# »0707010c14e13c000081a40000005a0000000e00000001392779ef0000002a000000000000000100000e8500039c030000002000000003root/usr/kernel/drv/random.confname="random" parent="pseudo" instance=0; 0707010c103c88000041ed0000005a0000000e000000023a179c0400000000000000000000000100001fff0003ffff0000001c00000003root/usr/kernel/drv/sparcv90707010c103c06000081a40000005a0000000e000000013a179c0400000000000000000000000100001c98000376390000002300000003root/usr/kernel/drv/sparcv9/random07070100000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000b00000000TRAILER!!!