On 01/05/2013 20:02, Stuart Henderson wrote:
'make plist' only gets you part-way there, manual editing is still required.
Ta.
When I remove the @rcscript stuff from the PLIST & run this:
make clean=all && \
make clean=fake && \
make fetch-all && \
make checksum && \
make build && \
make fake && \
make plist || { sudo make plist; sudo chmod g+w pkg/PLIST; }
I get:
....
...
Installing /usr/ports/mystuff/net/vgrd/pkg/vgrd.rc as
/usr/ports/pobj/vgrd-1.13/fake-i386/etc/rc.d/vgrd
===> Updating plist for vgrd-1.13
Subpackage -: Stripping dirs from sysutils/libsysexits
Scanning destdir
Getting old lists
1st pass identifying files
Attaching annotations
Sorting out destdir files
make-plist: Bogus element outside of every prefix: /etc/rc.d/vgrd
So 'make plist' fails when the rc script is present in the fake tree,
while not mentioned in the PLIST.
What should I do now? Remove the rc script from pkg/?
Ta,
Craig.