File: prototype-maker.sh

package info (click to toggle)
syslog-ng 2.0.0-1etch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 1,844 kB
  • ctags: 2,014
  • sloc: ansic: 9,125; xml: 2,125; sh: 1,210; yacc: 741; lex: 278; makefile: 191; awk: 94; python: 85; perl: 49
file content (15 lines) | stat: -rwxr-xr-x 564 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
RUNPROTOTYPE="../prototype"
find opt/ -exec chown root:bin \{\} \;
strip opt/syslog-ng/sbin/syslog-ng
echo "i pkginfo" > $RUNPROTOTYPE
echo "i admin" >> $RUNPROTOTYPE
echo "i space" >> $RUNPROTOTYPE
# no dependency, at least for now
#echo "i depend" >> $RUNPROTOTYPE
echo "d none opt/syslog-ng 0755 root bin" >> $RUNPROTOTYPE
pkgproto -c application opt/syslog-ng/sbin >> $RUNPROTOTYPE
pkgproto -c application opt/syslog-ng/etc >> $RUNPROTOTYPE
pkgproto -c manpages opt/syslog-ng/man >> $RUNPROTOTYPE
pkgproto -c none opt/syslog-ng/doc >> $RUNPROTOTYPE