Inactive maintainer package orphaning

Marco Atzeri marco.atzeri@gmail.com
Sun Feb 16 07:04:40 GMT 2025


On 16/02/2025 07:44, Mark Geisert via Cygwin-apps wrote:
> On 2/15/2025 6:42 AM, Jon Turney via Cygwin-apps wrote:
>> I've orphaned the following packages:
>>
>> chere                                        Dave Kilroy
>> ELFIO                                        Serge Lamikhov-Center
>> task                                         Federico Hernandez
>> tftp                                         Gernot Hillier
>>
>> The maintainers of which have been inactive for a long time, and 
>> didn't respond to my attempts to contact them.
>>
>> Consequently, these maintainers' (long unused) ssh keys are also 
>> disabled.
> 
> In the interest of helping with the Cygwin ecosystem, I'm willing to 
> take on these four packages.  Even if I can't update them immediately 
> I'm sure to be more responsive on the mailing lists than the current 
> maintainers.  I'll find some tuits around here somewhere.
> 

Hi Mark,

I was playing with tftp, attached my trial
the missing portion is the install one.

And of course the testing.

Regards
Marco
-------------- next part --------------
ORIG_PN=tftp-hpa
NAME="tftp"
VERSION=5.2
RELEASE=2+git20240610

LICENSE="MIT"
CATEGORY="Net"

DESCRIPTION="tftp server and client implementation by hpa"
HOMEPAGE="https://git.kernel.org/pub/scm/network/tftp/tftp-hpa.git/"
GIT_URI="https://git.kernel.org/pub/scm/network/tftp/tftp-hpa.git"
GIT_REV="2c86ff58dcc003107b47f2d35aa0fdc4a3fd95e1"
inherit git

PKG_NAMES="${PN} ${PN}-server"
tftp_CONTENTS="usr/bin/ usr/include usr/share/doc usr/share/man/man1/"
tftp_server_CONTENTS="usr/sbin/ usr/share/man/man8/ etc var"

src_compile() {
  	cd ${S}
	./autogen.sh
	cd ${B}
	# Even tho we run ${S}/configure, dependency structure of
	# tftp-hpa is borked, so we have to ensure that the files
	# can also be found in ${B}...
 	lndirs

	export ac_cv_header_windows_h=no
	export ac_cv_header_winsock_h=no
	export ac_cv_header_winsock2_h=no
	export CFLAGS="${CFLAGS} -I${B}"
	cygconf
	cygmake
}

src_test() {
	:
}

src_install() {
	cd ${B}
	cyginstall INSTALLROOT=${D}
	dodir /usr/share/doc/tftp
	dodoc INSTALL.tftp README.security

	dodir /usr/include/arpa
	insinto /usr/include/arpa
	doins ${S}/headers/arpa/tftp.h

	dodir /etc/xinetd.d
	keepdir /etc/xinetd.d
	insinto /etc/xinetd.d
	newins ${S}/tftp-xinetd tftp
	make_etc_defaults /etc/xinetd.d/tftp

	dodir /etc/inetd.d
	keepdir /etc/inetd.d
	insinto /etc/inetd.d
	newins ${C}/tftp-inetd tftp
	make_etc_defaults /etc/inetd.d/tftp

	dodir /var/lib/tftpboot
	keepdir /var/lib/tftpboot

	dobin ${C}/tftpd-config


	# make_etc_defaults uses 'tftp' not 'tftp-server'.  Fix it.
	mv ${D}/etc/postinstall/${PN}.sh ${D}/etc/postinstall/tftp-server.sh
	mv ${D}/etc/preremove/${PN}.sh   ${D}/etc/preremove/tftp-server.sh
}


More information about the Cygwin-apps mailing list