03-15-2013
Shc on SUN 5.10 SPARC
Hello,
I would like to use shc on SUN 5.10 SPARC and HP UX Itanium 11.31 so that I could do some encrypting on my shell scripts.
But on these machines I don"t have cc or gcc.
I find a man who can download shc.c and send me the binary files.
You can download it here :
www datsi fi upm es ~frosal
Just few minutes for you, and with that, you can encrypt your shell scripts (-rx is mandatory for scripts but I don't want than user read my scripts shc is a good solution).
Thank you very much for you help.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello everybody!!
I need your help again.
I am using Sun Ultra sparc 60 machine.Follwing are the types of files getting generated in /var/tmp.
"windu_sm_o aaaa,baaa,caaa,daaa" etc.
I am not able to locate which application is generating these files.
Can I straightway delete these files ? or... (1 Reply)
Discussion started by: vikasdeshmukh
1 Replies
2. UNIX for Advanced & Expert Users
Hello,
I'm having all kinds of trouble jumpstarting some SS20's.
After hunting around the newsgroups I find that this seems to be a fairly common problem with no real answer.
Here's a brief:
SS20, 50mhz, 256mb blah blah. - Client
E250 blah blah - J/start server.
10/100bt Network.... (4 Replies)
Discussion started by: itsupplies
4 Replies
3. Solaris
Hi ,
could you please clarify me the difference between sun sparc 32-bit and sun sparc 64-bit?
means on which processors these are supporting (pentium processors, sun sparc processors)
Regards,
Rajesh (1 Reply)
Discussion started by: pmrajesh21
1 Replies
4. Solaris
Hi,
I' trying to install O/S 5.9 on Sparc system Sunfire 280R. I downloaded CD install and CD 2 from Sun Website but later i dowloaded CD 2 that i forgot for my installation. All CD are in ISO formats.
I boot system at OK prompt then issue
OK boot cdrom
when it asks for CD 1, i removed... (7 Replies)
Discussion started by: lamoul
7 Replies
5. Solaris
Newbie question.
I've been running OpenSolaris on an Intel box for some time with great success.
I have just bought an old Sun Blade workstation with a corrupted version of Solaris 5 something on it.
The plan was to install OpenSolaris on it.
However beyond my skills, I see, as no Live CD (or... (10 Replies)
Discussion started by: lewtargett
10 Replies
6. Hardware
does anyone know where to look for that piece of metal attached to hard drive that inserts it into server (fire v125)? I've tried ebay, with no luck. (seller requires verified paypal address which is unpossible here) (0 Replies)
Discussion started by: orange47
0 Replies
7. Solaris
Hi all,
I have application running on sun server T5440 4x8x1.4 GHz, 64 GB RAM, application running very slow though load average too low. when I install my application on another server SUN M3000 (One CPU 1x8x2.5GHz, 8GB RAM), application run smoothly.
Here is my server T5440 info:
... (6 Replies)
Discussion started by: insatiable1610
6 Replies
8. Solaris
Dear all!
I've received 4 servers Sparc T4-2 on a rack, those servers was built in Solaris 11 ZFS bundled. Our Application is not coporated with the Sun 11, so, I must reinstall them.
However, whenever I ran cdrom in "ok prompt> bood cdrom", I received the line "Can not load cdrom". Recheck... (9 Replies)
Discussion started by: trantuananh24hg
9 Replies
9. Hardware
Hi all,
I managed to salvage form work an old Sun Sparc Ultra 30. I have had it stored (controlled storage) for a few years and decided to get it home and boot it up.
It starts up with a beep then I can hear disks spinning up, CDROM moving but nothing is displayed on the monitor.
Can... (2 Replies)
Discussion started by: robbo007
2 Replies
10. UNIX for Beginners Questions & Answers
-> start /SYS
Are you sure you want to start /SYS (y/n)? y
Starting /SYS
]-> show HOST
/HOST
Targets:
bootmode
diag
domain
Properties:
autorestart = reset
autorunonerror = false
bootfailrecovery = poweroff
... (29 Replies)
Discussion started by: z_haseeb
29 Replies
LEARN ABOUT LINUX
alien::package::rpm
Alien::Package::Rpm(3pm) User Contributed Perl Documentation Alien::Package::Rpm(3pm)
NAME
Alien::Package::Rpm - an object that represents a rpm package
DESCRIPTION
This is an object class that represents a rpm package. It is derived from Alien::Package.
FIELDS
prefixes
Relocatable rpm packages have a prefixes field.
METHODS
checkfile
Detect rpm files by their extention.
install
Install a rpm. If RPMINSTALLOPT is set in the environement, the options in it are passed to rpm on its command line.
scan
Implement the scan method to read a rpm file.
unpack
Implement the unpack method to unpack a rpm file. This is a little nasty because it has to handle relocatable rpms and has to do a bit
of permissions fixing as well.
prep
Prepare for package building by generating the spec file.
cleantree
Delete the spec file.
build
Build a rpm. If RPMBUILDOPT is set in the environement, the options in it are passed to rpm on its command line.
An optional parameter, if passed, can be used to specify the program to use to build the rpm. It defaults to rpmbuild.
version
Set/get version.
When retreiving the version, remove any dashes in it.
postinst
postrm
preinst
prerm
Set/get script fields.
When retrieving a value, we have to do some truely sick mangling. Since debian/slackware scripts can be anything -- perl programs or
binary files -- and rpm is limited to only shell scripts, we need to encode the files and add a scrap of shell script to make it
unextract and run on the fly.
When setting a value, we do some mangling too. Rpm maintainer scripts are typically shell scripts, but often lack the leading shebang
line. This can confuse dpkg, so add the shebang if it looks like there is no shebang magic already in place.
Additionally, it's not uncommon for rpm maintainer scripts to contain bashisms, which can be triggered when they are ran on systems
where /bin/sh is not bash. To work around this, the shebang line of the scripts is changed to use bash.
Also, if the rpm is relocatable, the script could refer to RPM_INSTALL_PREFIX, which is set by rpm at run time. Deal with this by
adding code to the script to set RPM_INSTALL_PREFIX.
arch
Set/get arch field. When the arch field is set, some sanitizing is done first to convert it to the debian format used internally. When
it's retreived it's converted back to rpm form from the internal form.
AUTHOR
Joey Hess <joey@kitenet.net>
perl v5.12.3 2011-06-11 Alien::Package::Rpm(3pm)