• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

LICENSEH A D22-Mar-20131.3 KiB3022

MakefileH A D03-May-2022422 2116

READMEH A D22-Mar-20132.1 KiB6445

chucky.7H A D22-Mar-20131.5 KiB7056

chucky.cH A D22-Mar-20136.4 KiB268194

README

1chucky
2
3Copyright 2013 Waitman Gobble <ns@waitman.net>
4
5see LICENSE for details
6
7
8This program reads /var/db/pkg/local.sqlite and compares install timestamp with
9date in $FreeBSD header in the Makefile of the port. If there is no $FreeBSD
10header then it is assumed to be a beta port.
11
12 Command line switches:
13                -u      show ports with update status only
14                -o      show ports with current status only
15                -b      show ports with beta status only
16                -t      show timestamps (debug, etc)
17                -a      create shar of files (usefull with -a). output to stdout
18                -h      help
19		-i	ignore fread() errors*
20
21NOTE: shar files are created with absolute path (ie /usr/ports/src/dir)
22so executing them will restore to that path. Multiple shars are concatenated
23by chucky stripping the 'exit' command from the output. (ie there is no 'exit'
24in the shar output. the shar output is to stdout, if you want to save:
25
26# chucky -b -a > save.shar
27
28This will save all the ports marked 'beta' in the save.shar archive,
29in the cwd.
30
31Edit Makefile if you dont put stuff in /usr/local
32
33example:
34# chucky
35
36 {OK}		p:1359956798 i:1363325950       x11/xpr 1.0.4
37 {OK}		p:1342304958 i:1363325954       x11/xprop 1.2.1
38 {beta}		p:---------- i:1363045617       x11/xproto 7.0.22
39 {OK}		p:1362771552 i:1363325959       x11/xrandr 1.4.0
40 {updates}	p:1366304958 i:1363325962       x11/xrdb 1.0.9
41
42{OK} means there is no update available
43{beta} is a beta port
44{updates} means the version in /usr/ports is newer than install date
45
46the right columns show the port location, ie /usr/ports/x11/xrdb
47and the version currently installed on the system.
48
49depends on /var/db/pkg/local.sqlite which is managed by the pkg system.
50(see /usr/ports/ports-mgmt/pkg)
51
52*ignore fread errors: if you are working on developing ports outside the
53ports tree you may receive an error because the port is listed in the database
54but it does not exist in the ports tree. if you use the -i flag it will continue
55without an error message.
56
57
58contact me if you have Questions.
59Waitman Gobble
60San Jose California USA
61(510) 830 7975
62ns@waitman.net
63
64