forked from Lainports/freebsd-ports
net/xrdp: sort pkg-plist, update files/pkg-*.in
to sync them with net/xrdp-devel. And finally bump PORTREVISION which wasn't actually bumped despite the previous commit message.
This commit is contained in:
parent
df5ed26f95
commit
4ec35bd8e3
5 changed files with 82 additions and 80 deletions
|
|
@ -1,5 +1,6 @@
|
|||
PORTNAME= xrdp
|
||||
DISTVERSION= 0.10.2
|
||||
PORTREVISION= 1
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= https://github.com/neutribolabs/${PORTNAME}/releases/download/v${DISTVERSION}/
|
||||
|
|
@ -96,12 +97,13 @@ post-install:
|
|||
${INSTALL_SCRIPT} ${FILESDIR}/startwm.sh ${STAGEDIR}${ETCDIR}
|
||||
|
||||
post-stage:
|
||||
@${RM} ${STAGEDIR}${PREFIX}/etc/xrdp/rsakeys.ini
|
||||
@${RM} ${STAGEDIR}${PREFIX}/etc/xrdp/cert.pem
|
||||
@${RM} ${STAGEDIR}${PREFIX}/etc/xrdp/key.pem
|
||||
@${RM} ${STAGEDIR}${ETCDIR}/rsakeys.ini
|
||||
@${RM} ${STAGEDIR}${ETCDIR}/cert.pem
|
||||
@${RM} ${STAGEDIR}${ETCDIR}/key.pem
|
||||
.for f in sesman.ini startwm.sh reconnectwm.sh xrdp.ini xrdp_keyboard.ini \
|
||||
gfx.toml
|
||||
@${MV} ${STAGEDIR}${PREFIX}/etc/xrdp/$f ${STAGEDIR}${PREFIX}/etc/xrdp/$f.sample
|
||||
@${MV} ${STAGEDIR}${ETCDIR}/$f \
|
||||
${STAGEDIR}${ETCDIR}/$f.sample
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
|||
|
|
@ -11,9 +11,9 @@ case $2 in
|
|||
: nothing to do here
|
||||
;;
|
||||
POST-DEINSTALL)
|
||||
RSAKEYS=%%PREFIX%%/etc/xrdp/rsakeys.ini
|
||||
PRIVATEKEY=%%PREFIX%%/etc/xrdp/key.pem
|
||||
CERTIFICATE=%%PREFIX%%/etc/xrdp/cert.pem
|
||||
RSAKEYS=%%ETCDIR%%/rsakeys.ini
|
||||
PRIVATEKEY=%%ETCDIR%%/xrdp/key.pem
|
||||
CERTIFICATE=%%ETCDIR%%/xrdp/cert.pem
|
||||
|
||||
# if keys are generated during post-install script, remove it
|
||||
# but do not remove user's keys
|
||||
|
|
|
|||
|
|
@ -11,9 +11,9 @@ case $2 in
|
|||
: nothing to do here
|
||||
;;
|
||||
POST-INSTALL)
|
||||
RSAKEYS=%%PREFIX%%/etc/xrdp/rsakeys.ini
|
||||
PRIVATEKEY=%%PREFIX%%/etc/xrdp/key.pem
|
||||
CERTIFICATE=%%PREFIX%%/etc/xrdp/cert.pem
|
||||
RSAKEYS=%%ETCDIR%%/rsakeys.ini
|
||||
PRIVATEKEY=%%ETCDIR%%/key.pem
|
||||
CERTIFICATE=%%ETCDIR%%/cert.pem
|
||||
# make sure rsakeys and certificates are private
|
||||
umask 077
|
||||
# generate rsakeys.ini
|
||||
|
|
|
|||
|
|
@ -7,10 +7,10 @@ There is an rc.d script, so the service can be enabled by adding this line
|
|||
in /etc/rc.conf:
|
||||
|
||||
xrdp_enable="YES"
|
||||
xrdp_sesman_enable="YES" # if you want to run xrdp-sesman on the same machine
|
||||
xrdp_sesman_enable="YES"
|
||||
|
||||
Do not forget to edit the configuration files in "%%PREFIX%%/etc/xrdp"
|
||||
and the "%%PREFIX%%/etc/xrdp/startwm.sh" script.
|
||||
Do not forget to edit the configuration files in "%%ETCDIR%%"
|
||||
and the "%%ETCDIR%%/startwm.sh" script.
|
||||
|
||||
To enable audio redirection, install the following ports/packages to meet
|
||||
your environment.
|
||||
|
|
|
|||
|
|
@ -1,65 +1,9 @@
|
|||
bin/xrdp-dis
|
||||
bin/xrdp-dumpfv1
|
||||
bin/xrdp-genkeymap
|
||||
bin/xrdp-keygen
|
||||
bin/xrdp-sesadmin
|
||||
bin/xrdp-sesrun
|
||||
bin/xrdp-dumpfv1
|
||||
lib/libpainter.a
|
||||
lib/librfxencode.a
|
||||
include/ms-erref.h
|
||||
include/ms-fscc.h
|
||||
include/ms-rdpbcgr.h
|
||||
include/ms-rdpedisp.h
|
||||
include/ms-rdpeclip.h
|
||||
include/ms-rdpefs.h
|
||||
include/ms-rdpegdi.h
|
||||
include/ms-rdpele.h
|
||||
include/ms-rdperp.h
|
||||
include/ms-smb2.h
|
||||
include/painter.h
|
||||
include/rfxcodec_common.h
|
||||
include/rfxcodec_decode.h
|
||||
include/rfxcodec_encode.h
|
||||
include/xrdp_client_info.h
|
||||
include/xrdp_constants.h
|
||||
include/xrdp_rail.h
|
||||
include/xrdp_sockets.h
|
||||
libdata/pkgconfig/libpainter.pc
|
||||
libdata/pkgconfig/rfxcodec.pc
|
||||
libdata/pkgconfig/xrdp.pc
|
||||
libexec/xrdp/xrdp-droppriv
|
||||
lib/xrdp/libcommon.a
|
||||
lib/xrdp/libcommon.so
|
||||
lib/xrdp/libcommon.so.0
|
||||
lib/xrdp/libcommon.so.0.0.0
|
||||
lib/xrdp/libmc.a
|
||||
lib/xrdp/libmc.so
|
||||
lib/xrdp/libipm.a
|
||||
lib/xrdp/libipm.so
|
||||
lib/xrdp/libipm.so.0
|
||||
lib/xrdp/libipm.so.0.0.0
|
||||
lib/xrdp/libsesman.a
|
||||
lib/xrdp/libsesman.so
|
||||
lib/xrdp/libsesman.so.0
|
||||
lib/xrdp/libsesman.so.0.0.0
|
||||
lib/xrdp/libtoml.a
|
||||
lib/xrdp/libtoml.so
|
||||
lib/xrdp/libtoml.so.1
|
||||
lib/xrdp/libtoml.so.1.0.0
|
||||
lib/xrdp/libvnc.a
|
||||
lib/xrdp/libvnc.so
|
||||
lib/xrdp/libxrdp.a
|
||||
lib/xrdp/libxrdp.so
|
||||
lib/xrdp/libxrdp.so.0
|
||||
lib/xrdp/libxrdp.so.0.0.0
|
||||
lib/xrdp/libxup.a
|
||||
lib/xrdp/libxup.so
|
||||
lib/xrdp/libxrdpapi.so
|
||||
lib/xrdp/libxrdpapi.a
|
||||
lib/xrdp/libxrdpapi.so.0
|
||||
lib/xrdp/libxrdpapi.so.0.0.0
|
||||
libexec/xrdp/waitforx
|
||||
libexec/xrdp/xrdp-sesexec
|
||||
etc/pam.d/xrdp-sesman
|
||||
etc/rc.d/xrdp
|
||||
etc/rc.d/xrdp-sesman
|
||||
|
|
@ -67,7 +11,6 @@ etc/rc.d/xrdp-sesman
|
|||
%%ETCDIR%%/km-00000406.ini
|
||||
%%ETCDIR%%/km-00000407.ini
|
||||
%%ETCDIR%%/km-00000409.ini
|
||||
%%ETCDIR%%/km-00010409.ini
|
||||
%%ETCDIR%%/km-0000040a.ini
|
||||
%%ETCDIR%%/km-0000040b.ini
|
||||
%%ETCDIR%%/km-0000040c.ini
|
||||
|
|
@ -86,18 +29,77 @@ etc/rc.d/xrdp-sesman
|
|||
%%ETCDIR%%/km-00000813.ini
|
||||
%%ETCDIR%%/km-00000816.ini
|
||||
%%ETCDIR%%/km-0000100c.ini
|
||||
%%ETCDIR%%/km-00010409.ini
|
||||
%%ETCDIR%%/km-19360409.ini
|
||||
%%ETCDIR%%/pulse/default.pa
|
||||
@sample %%ETCDIR%%/gfx.toml.sample
|
||||
@sample %%ETCDIR%%/reconnectwm.sh.sample
|
||||
@sample %%ETCDIR%%/sesman.ini.sample
|
||||
@sample %%ETCDIR%%/startwm.sh.sample
|
||||
@sample %%ETCDIR%%/reconnectwm.sh.sample
|
||||
@sample %%ETCDIR%%/xrdp.ini.sample
|
||||
@sample %%ETCDIR%%/xrdp_keyboard.ini.sample
|
||||
@sample %%ETCDIR%%/xrdp.ini.sample
|
||||
include/ms-erref.h
|
||||
include/ms-fscc.h
|
||||
include/ms-rdpbcgr.h
|
||||
include/ms-rdpeclip.h
|
||||
include/ms-rdpedisp.h
|
||||
include/ms-rdpefs.h
|
||||
include/ms-rdpegdi.h
|
||||
include/ms-rdpele.h
|
||||
include/ms-rdperp.h
|
||||
include/ms-smb2.h
|
||||
include/painter.h
|
||||
include/rfxcodec_common.h
|
||||
include/rfxcodec_decode.h
|
||||
include/rfxcodec_encode.h
|
||||
include/xrdp_client_info.h
|
||||
include/xrdp_constants.h
|
||||
include/xrdp_rail.h
|
||||
include/xrdp_sockets.h
|
||||
lib/libpainter.a
|
||||
lib/librfxencode.a
|
||||
lib/xrdp/libcommon.a
|
||||
lib/xrdp/libcommon.so
|
||||
lib/xrdp/libcommon.so.0
|
||||
lib/xrdp/libcommon.so.0.0.0
|
||||
lib/xrdp/libipm.a
|
||||
lib/xrdp/libipm.so
|
||||
lib/xrdp/libipm.so.0
|
||||
lib/xrdp/libipm.so.0.0.0
|
||||
lib/xrdp/libmc.a
|
||||
lib/xrdp/libmc.so
|
||||
lib/xrdp/libsesman.a
|
||||
lib/xrdp/libsesman.so
|
||||
lib/xrdp/libsesman.so.0
|
||||
lib/xrdp/libsesman.so.0.0.0
|
||||
lib/xrdp/libtoml.a
|
||||
lib/xrdp/libtoml.so
|
||||
lib/xrdp/libtoml.so.1
|
||||
lib/xrdp/libtoml.so.1.0.0
|
||||
lib/xrdp/libvnc.a
|
||||
lib/xrdp/libvnc.so
|
||||
lib/xrdp/libxrdp.a
|
||||
lib/xrdp/libxrdp.so
|
||||
lib/xrdp/libxrdp.so.0
|
||||
lib/xrdp/libxrdp.so.0.0.0
|
||||
lib/xrdp/libxrdpapi.a
|
||||
lib/xrdp/libxrdpapi.so
|
||||
lib/xrdp/libxrdpapi.so.0
|
||||
lib/xrdp/libxrdpapi.so.0.0.0
|
||||
lib/xrdp/libxup.a
|
||||
lib/xrdp/libxup.so
|
||||
libdata/pkgconfig/libpainter.pc
|
||||
libdata/pkgconfig/rfxcodec.pc
|
||||
libdata/pkgconfig/xrdp.pc
|
||||
libexec/xrdp/waitforx
|
||||
libexec/xrdp/xrdp-droppriv
|
||||
libexec/xrdp/xrdp-sesexec
|
||||
sbin/xrdp
|
||||
sbin/xrdp-chansrv
|
||||
sbin/xrdp-sesman
|
||||
share/man/man1/xrdp-dis.1.gz
|
||||
share/man/man5/gfx.toml.5.gz
|
||||
share/man/man5/sesman.ini.5.gz
|
||||
share/man/man8/xrdp.8.gz
|
||||
share/man/man5/xrdp.ini.5.gz
|
||||
share/man/man8/xrdp-chansrv.8.gz
|
||||
share/man/man8/xrdp-dumpfv1.8.gz
|
||||
|
|
@ -106,18 +108,16 @@ share/man/man8/xrdp-keygen.8.gz
|
|||
share/man/man8/xrdp-sesadmin.8.gz
|
||||
share/man/man8/xrdp-sesman.8.gz
|
||||
share/man/man8/xrdp-sesrun.8.gz
|
||||
sbin/xrdp
|
||||
sbin/xrdp-chansrv
|
||||
sbin/xrdp-sesman
|
||||
%%DATADIR%%/README.logo
|
||||
share/man/man8/xrdp.8.gz
|
||||
%%DATADIR%%/ad24b.bmp
|
||||
%%DATADIR%%/ad256.bmp
|
||||
%%DATADIR%%/cursor0.cur
|
||||
%%DATADIR%%/cursor1.cur
|
||||
%%DATADIR%%/README.logo
|
||||
%%DATADIR%%/sans-10.fv1
|
||||
%%DATADIR%%/sans-18.fv1
|
||||
%%DATADIR%%/xrdp24b.bmp
|
||||
%%DATADIR%%/xrdp256.bmp
|
||||
%%DATADIR%%/xrdp_logo.bmp
|
||||
%%DATADIR%%/xrdp_logo.png
|
||||
%%DATADIR%%/xrdp-chkpriv
|
||||
%%DATADIR%%/xrdp24b.bmp
|
||||
%%DATADIR%%/xrdp256.bmp
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue