Sponsored Content
Operating Systems Linux Newbe Linux user with his first question... Post 40683 by jabol on Sunday 21st of September 2003 09:53:43 AM
Old 09-21-2003
I'm sure that there some script that generates such files. Just try to find it ( google.com, man rpm ).
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Total Newbe,how do I start????

I am totaly new at Unix, and have a job offer in about 6 months if I can get a handle on Unix comand lines and other needed things to get this job.Please help me I really want this job.I am about to finish my A+ cert., and have studied for the MCSE 4.0 (paid for a school and then Microsoft... (7 Replies)
Discussion started by: Chip1856
7 Replies

2. UNIX for Dummies Questions & Answers

newbe looking for extra help

Hi all, i'm new here and to Unix and have a question about more help then I am getting. I live basically in Portland, OR and am attending college and have to take some Unix classes for my degree. Well class is fine and the help from the instructor is ok but I would like to receive more help then... (5 Replies)
Discussion started by: lisdog58
5 Replies

3. UNIX for Advanced & Expert Users

Sendmail user question

Hi All I am trying to deal with a problem. Any suggestions would be helpful! I have sendmail running on a Redhat 8 box and is serving about 75 e-mail accounts. Version Info: OS:Red Hat Linux release 8.0 (Psyche) sendmail-8.12.8-9.80 sendmail-cf-8.12.8-9.80 There are a few users that... (0 Replies)
Discussion started by: skotapal
0 Replies

4. UNIX for Dummies Questions & Answers

Unix Newbe

Hi, First of all. I'm a Unix newbe and never worked with unix (but I have got Linux for a few months), but I'd like to know where to get Unix or if it's x86 compatibel and all those questions. I know...ridiculous questions, but I really wanna know this. So: Where do I get Unix? Is it compatible... (1 Reply)
Discussion started by: Kotzkroete
1 Replies

5. UNIX for Dummies Questions & Answers

newbe to linux and beryl

in new to the Linux os just install kubuntu with has beryl went through the whole deal with setting up everything and was wondering if anybody could help me figure out beryl i basically understand how it works but getting it to do the cube thing escape me help........:confused: (0 Replies)
Discussion started by: ksnovice
0 Replies

6. IP Networking

NEWBE Slice

I new to linux and am setting up a slice server. I actually made it to installing Apache but some how I messed up the ip tables. I cant access the server by sftp or putty. Im using the web interface at slice. I am logged in as a super user but cant do certain funtions. I guess i need to be logged... (0 Replies)
Discussion started by: DigitalExtreme
0 Replies

7. UNIX for Dummies Questions & Answers

Difference between : Locked User Account & Disabled User Accounts in Linux ?

Thanks AVKlinux (3 Replies)
Discussion started by: avklinux
3 Replies

8. UNIX for Advanced & Expert Users

Linux fdisk question (Oracle Enterprise Linux)

OS: Oracle Enterprise Linux 6.2 Hypervisor: VMWare workstation 9 I created a VM and attached a 7gb virtual disk to it. Using fdisk , I partioned the disk like below. The filesystems mounted on this is working fine. But I am seeing the message Partition n does not end on cylinder boundary.... (2 Replies)
Discussion started by: kraljic
2 Replies

9. UNIX for Advanced & Expert Users

Pam.d and make difference between AD User and local user on Linux

Hello, i configured rhel linux 6 with AD directory to authorize windows users to connect on the system and it works. i have accounts with high privileges (oracle for example) if an account is created on the AD server i would to block him. I looked for how to do, for the moment all the... (3 Replies)
Discussion started by: vincenzo
3 Replies
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)
All times are GMT -4. The time now is 05:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy