LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old

Simple C: Beyond Bash Part 2 - Dependency lister for dir branch (recursive)

Posted 01-27-2012 at 06:09 AM by rainbowsally
Updated 08-06-2014 at 10:33 AM by rainbowsally

[Note to myself: Needs rewrite using libLQ.]

Simple C: Beyond Bash Part 2 - Dependency lister for dir branch (recursive)

CHANGELOG

* Sat Feb 18, 2012 -rs

find-deps version 1.2

In 'find_elf()' changed pipecmd to "find * -executable -o name *.so*" because some libs
may not have have their executable flag set, such as an unpacked from an rpm package that
doesn't have the perms set until install time....
Member
Posted in Uncategorized
Views 559 Comments 0 rainbowsally is offline
Old

How to see what is in an RPM without installing it?

Posted 08-31-2011 at 12:18 AM by hi2arun

Datz simple!
1. Create a temp directory
Code:
# mkdir x
2. Change directory
Code:
# cd x
3. Now extract the RPM
Code:
# rpm2cpio /path/of/ur/RPM/file.rpm | cpio -dmi
There u go! Now you have ur RPM xtractd in directory 'x'
Member
Posted in Uncategorized
Views 588 Comments 0 hi2arun is offline
Old

Mypaint-0.5.0 .spec

Posted 01-05-2011 at 07:41 AM by unSpawn

Mypaint is a open-source graphics application for use with a tablet. It kind of looks like Fractal Design Painter must have looked at alpha 0.1 stage. Nonetheless worth a try building a package. Here's a spec built, tested and installed on Centos 5.5 Intel. Note it doesn't build for x86_64 as I have none:
Code:
%define debug_packages  %{nil}
%define debug_package %{nil}
%define name mypaint
%define ver 0.5.0
%define rel 1
Name: %{name}
Summary:
...
Moderator
Posted in Uncategorized
Views 888 Comments 0 unSpawn is offline
Old

Rsyslog-4.6.3 .spec

Posted 07-28-2010 at 11:59 PM by unSpawn

Rsyslog is a Syslog replacement. Centos5U5 provides rsyslog-3.22.1-3.el5.i386 but the development branch is at 5.5.6 and the stable release is 4.6.3. Here's a .spec file that will build 4.6.3-1 (this wasn't derived from the 3.22.1 .src.rpm .spec so YMMV(VM) as usual):

Code:
%define debug_packages	%{nil}
%define debug_package %{nil}
%define name rsyslog
%define ver 4.6.3
%define rel 1

Name: %{name}
Summary: Enhanced system logging
...
Attached Files
File Type: txt init.rsyslog.txt (2.5 KB, 5 views)
Moderator
Posted in Uncategorized
Views 1143 Comments 0 unSpawn is offline
Old

FUSE LoggedFS .spec

Posted 06-13-2010 at 06:50 AM by unSpawn

LoggedFS is a fuse-based filesystem which can log every operations that happens in it. See example output in the auditd missing syscalls? thread.

Code:
%define debug_packages	%{nil}
%define debug_package %{nil}
%define name loggedfs
%define ver 0.5
%define rel 1
%define _prefix /usr/local
%define _sysconfdir /usr/local/etc
%define _docdir /usr/local/share/doc
%define _mandir /usr/local/share/man
%define _bindir /usr/local/bin
...
Moderator
Posted in Uncategorized
Views 1374 Comments 0 unSpawn is offline

  



All times are GMT -5. The time now is 12:11 AM.

Main Menu
Advertisement

My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration