View previous topic :: View next topic |
Author |
Message |
Till Varoquaux n00b
Joined: 28 Oct 2004 Posts: 24
|
Posted: Tue Nov 09, 2004 8:44 pm Post subject: Portlog fix |
|
|
IMHO
This seems a cleaner alternative....
Code: |
PORT_LOGDIR="`sed -n 's:^PORT_LOGDIR=::p' /etc/make.conf`"
PORT_LOGDIR="$(echo $PORT_LOGDIR | sed -e's|^"\(.*\)"$|\1|g')"
|
|
|
Back to top |
|
|
Till Varoquaux n00b
Joined: 28 Oct 2004 Posts: 24
|
Posted: Wed Nov 10, 2004 12:25 pm Post subject: |
|
|
You might also consider adding this: makes a /etc/portage/packages.flag file that alows you to set different cflags for individall packages / package groups....
[edit]code had syntaxe error here is a thread with my own corrections....[/edit] |
|
Back to top |
|
|
Pythonhead Developer
Joined: 16 Dec 2002 Posts: 1801 Location: Redondo Beach, Republic of Calif.
|
|
Back to top |
|
|
Pythonhead Developer
Joined: 16 Dec 2002 Posts: 1801 Location: Redondo Beach, Republic of Calif.
|
|
Back to top |
|
|
Lokheed Veteran
Joined: 12 Jul 2004 Posts: 1295 Location: /usr/src/linux
|
|
Back to top |
|
|
Luxus Tux's lil' helper
Joined: 21 Nov 2002 Posts: 98 Location: Germany / Frankfurt
|
Posted: Mon Jan 24, 2005 2:16 am Post subject: |
|
|
what's happen with portal? it is a awesome app.. would great if the bugs get fixed |
|
Back to top |
|
|
Pythonhead Developer
Joined: 16 Dec 2002 Posts: 1801 Location: Redondo Beach, Republic of Calif.
|
Posted: Mon Jan 24, 2005 3:44 am Post subject: |
|
|
Luxus wrote: | what's happen with portal? it is a awesome app.. would great if the bugs get fixed :( |
I haven't had time to work on it. Too many other projects going on.
It was inspired by rtkmerge and the author of that just released a new version after being away from Gentoo for a year or so. I mailed him suggesting he use the new /etc/portage/package.* files like portal does, so maybe he'll add them before I get time to work on portal again. |
|
Back to top |
|
|
thebigslide l33t
Joined: 23 Dec 2004 Posts: 792 Location: under a car or on top of a keyboard
|
Posted: Tue Feb 15, 2005 11:53 pm Post subject: |
|
|
I have this: https://forums.gentoo.org/viewtopic-t-261580.html
done to all my systems. Holy frick does it ever make portage fast.
Could easily be made into an e-build. No license in the code, or I'd make one.
I just PM'd the guy and asked if I could make an e-build out of it. portage-cdb or some such. |
|
Back to top |
|
|
untiefe Apprentice
Joined: 12 Jan 2004 Posts: 230 Location: the nonexisting Bielefeld, Germany
|
|
Back to top |
|
|
Earthwings Bodhisattva
Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
Posted: Sat Mar 19, 2005 11:47 pm Post subject: |
|
|
Moved from DT&T and made sticky. |
|
Back to top |
|
|
Pythonhead Developer
Joined: 16 Dec 2002 Posts: 1801 Location: Redondo Beach, Republic of Calif.
|
Posted: Fri Mar 25, 2005 8:42 am Post subject: |
|
|
After my 134th edit of the top post 58,406 views, its finally time to retire this list.
Please visit the new script repository:
http://gentooexperimental.org/script/repo/list
It has all the scripts in the list (and more) available for direct download.
Use the feedback tab if you have any script additions or updates.
In addition to portage scripts the repository also has general sysadmin scripts (Gentoo-specific only). |
|
Back to top |
|
|
tacvbo n00b
Joined: 28 May 2003 Posts: 39 Location: México City
|
Posted: Wed Jul 06, 2005 10:17 pm Post subject: |
|
|
Wiiiii!!! Another unsupported and unoffical Gentoo cleaner...
...but, with new features!:
* Clean old distfiles in the $DISTDIR directory (/usr/portage/distfiles)
* Clean old binary packages files in $PKGDIR directory (/usr/portage/packages)
* Clean the $WORKDIR directory (/var/tmp/portage)
* Clean portage's log directory $PORT_LOGDIR (/var/log/portage)
See it's own forums thread here: https://forums.gentoo.org/viewtopic-t-337074.html
Grab it here: yacleaner-0.2 and please post your comments, patches and suggestions.
Code: |
$ ./yacleaner-0.2
yacleaner-0.2: please tell me what to do.
Usage:
yacleaner-0.2 [ options ] [ action ] < dist | binpkg | worktmp | log | all >
yacleaner-0.2 --help
Options: [ --ask | --nocolor | --pretend | --verbose ]
Actions: [ --delete ]
For more help try 'yacleaner-0.2 --help'
|
|
|
Back to top |
|
|
dagurasu n00b
Joined: 29 Apr 2005 Posts: 74
|
Posted: Tue Aug 23, 2005 2:07 am Post subject: |
|
|
OK, this didn't get much response, but now I see people asking for EXACTLY this, so I thought I may as well link it in:
https://forums.gentoo.org/viewtopic-t-360366-highlight-.html
It's a simple script to keep your installed ebuilds for you so portage won't forget about them, complain, and sometimes force you to or just unneccessarily upgrade things you didn't need or possibly want to have upgraded. You don't even have to know how to use an overlay... it takes care of it all for you.
There are some ramblings there... but my ramblings somewhere here:
https://forums.gentoo.org/viewtopic-t-372840-highlight-.html
are much more specific and much better about how I would make even cooler if I ever got around to it.
By the way, I hammerd it out kinda quick... so sorry if the spacings are all loony... I know it anoys some of you alot. It does work well though. |
|
Back to top |
|
|
TheCurse l33t
Joined: 21 Jun 2004 Posts: 670 Location: Köln
|
Posted: Tue May 09, 2006 1:33 pm Post subject: |
|
|
gcac cleans up the files in /etc/portage/package.* automatically.
Would be nice if you would add it to the list. |
|
Back to top |
|
|
JoKo Tux's lil' helper
Joined: 16 May 2004 Posts: 141 Location: Xanthi, Greece
|
Posted: Tue May 09, 2006 1:42 pm Post subject: |
|
|
TheCurse wrote: | gcac cleans up the files in /etc/portage/package.* automatically.
Would be nice if you would add it to the list. |
Could you be more specific? e.g, does it clean package.keywords from masked packages that went stable? |
|
Back to top |
|
|
TheCurse l33t
Joined: 21 Jun 2004 Posts: 670 Location: Köln
|
Posted: Tue May 09, 2006 4:50 pm Post subject: |
|
|
Yes, it deletes lines from packages that went stable, that are not installed, do not have the given use flag (and others I might have forgotten to mention).
This works for package.keywords, package.unmask, package.mask and package.use |
|
Back to top |
|
|
mpagano Developer
Joined: 27 Apr 2004 Posts: 197 Location: USA
|
Posted: Tue May 23, 2006 8:28 pm Post subject: |
|
|
I posted this a month ago, but just stumbled on this thread:
I thought it might be helpful for others that might not otherwise try this script to see some example output.
portpeek script
When I run portpeek -ac (show changes in all files unmask, mask or keyword) I get the following output
$ portpeek -ac
package.keywords:
Installed: sys-apps/portage-2.1_pre7-r5 Keywords ['~x86', '~x86-fbsd']
Available: sys-apps/portage-2.1_pre8-r4 Keywords: ['~x86', '~x86-fbsd']
package.unmask:
Installed: app-editors/vim-6.4 Keywords ['x86']
Available: app-editors/vim-7.0_beta Keywords: ['~x86', '~x86-fbsd']
Installed: dev-db/mysql-5.0.19-r1 Keywords ['~x86']
[color=red]Available: dev-db/mysql-5.1.7_beta [M] Keywords: ['-*']
package.mask:
No ebuild options found.
Done
The above shows I have portage-2.1_pre7-r5 unmasked and installed and shows there is another option to install if I want to unmask that specific version.
It also shows that I have vim 6.4 in unmask, yet it is not masked, so I could remove it from package.unmask if I want.
The mysql lines show I have a keyword unmasked mysql installed and there is another version I could unmask, but it is packaged masked.
Hope this is useful to someone.
Mike |
|
Back to top |
|
|
omp Retired Dev
Joined: 10 Sep 2005 Posts: 1018 Location: Glendale, California
|
|
Back to top |
|
|
Sadysta n00b
Joined: 20 May 2007 Posts: 1
|
|
Back to top |
|
|
Phlogiston Veteran
Joined: 27 Jan 2004 Posts: 1925 Location: Europe, Swizerland
|
Posted: Tue Jun 26, 2007 7:03 pm Post subject: |
|
|
This link is broken:
http://gentooexperimental.org/script/repo/list _________________ Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor |
|
Back to top |
|
|
hron n00b
Joined: 04 May 2006 Posts: 65 Location: Budapest, Hungary
|
Posted: Sat Jun 30, 2007 9:24 am Post subject: Genu's page not works |
|
|
I cannot download genu.
What happened? _________________ Garami Gabor Gyorgy
translator |
|
Back to top |
|
|
loftwyr l33t
Joined: 29 Dec 2004 Posts: 970 Location: 43°38'23.62"N 79°27'8.60"W
|
Posted: Wed Apr 23, 2008 12:26 am Post subject: |
|
|
This site and all about this post are dead. Can we get it unstuck so it can fall? _________________ My emerge --info
Have you run revdep-rebuild lately? It's in gentoolkit and it's worth a shot if things don't work well.
Celebrating 5 years of Gentoo-ing. |
|
Back to top |
|
|
|