comms/aprsd: use pkg-message to show message on remove
This commit is contained in:
parent
9636cde221
commit
a732af5ee1
@ -1,6 +1,6 @@
|
||||
PORTNAME= aprsd
|
||||
PORTVERSION= 2.2.515
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= comms hamradio
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/2.2.5-15
|
||||
DISTNAME= aprsd-2.2.5-15
|
||||
@ -13,7 +13,7 @@ LICENSE= GPLv2
|
||||
BROKEN_FreeBSD_12_powerpc64= fails to link on powerpc64 elfv1: httpserver.o:(.text+0x1074): undefined reference to `convertUpTime(int)'
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
SUB_FILES= pkg-message pkg-deinstall
|
||||
SUB_FILES= pkg-message
|
||||
USE_RC_SUBR= aprsd
|
||||
|
||||
USERS= aprsd tnc
|
||||
|
@ -1,8 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
cat<<EOF
|
||||
If you really want to remove this package completely
|
||||
remove what is left in %%LOCALBASE%%/etc/aprsd /var/log/aprsd.
|
||||
Also be sure to remove user and groups aprsd and tnc
|
||||
and remember to remove aprsd from dialer group.
|
||||
EOF
|
@ -9,5 +9,13 @@ logs are kept in /var/log/aprsd
|
||||
To enable aprsd you need to add: aprsd_enable="YES" to /etc/rc.conf
|
||||
to run aprsd as UID aprsd add: aprsd_root="NO" to /etc/rc.conf
|
||||
EOM
|
||||
},
|
||||
{ type: remove
|
||||
message: <<EOM
|
||||
If you really want to remove this package completely
|
||||
remove what is left in %%LOCALBASE%%/etc/aprsd /var/log/aprsd.
|
||||
Also be sure to remove user and groups aprsd and tnc
|
||||
and remember to remove aprsd from dialer group.
|
||||
EOM
|
||||
}
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user