New package: ipsvd
This commit is contained in:
parent
12a4ed7a7e
commit
73959db951
|
@ -0,0 +1,47 @@
|
|||
chskshsgr must be built for the host.
|
||||
|
||||
--- a/src/Makefile
|
||||
+++ b/src/Makefile
|
||||
@@ -194,17 +194,22 @@
|
||||
case_diffb.o: case.h case_diffb.c compile
|
||||
./compile case_diffb.c
|
||||
|
||||
-chkshsgr: chkshsgr.o load
|
||||
- ./load chkshsgr
|
||||
+chkshsgr: chkshsgr.o loadhost
|
||||
+ ./loadhost chkshsgr
|
||||
|
||||
-chkshsgr.o: chkshsgr.c compile
|
||||
- ./compile chkshsgr.c
|
||||
+chkshsgr.o: chkshsgr.c compilehost
|
||||
+ ./compilehost chkshsgr.c
|
||||
|
||||
choose: choose.sh warn-auto.sh
|
||||
rm -f choose
|
||||
cat warn-auto.sh choose.sh >choose
|
||||
chmod 555 choose
|
||||
|
||||
+compilehost:
|
||||
+ cat warn-auto.sh > compilehost
|
||||
+ @echo 'exec cc -c $${1+"$$@"}' >> compilehost
|
||||
+ chmod 555 compilehost
|
||||
+
|
||||
coe.o: coe.c coe.h compile
|
||||
./compile coe.c
|
||||
|
||||
@@ -351,6 +356,15 @@
|
||||
sh print-ld.sh >load
|
||||
chmod 555 load
|
||||
|
||||
+loadhost:
|
||||
+ rm -f loadhost
|
||||
+ @echo > loadhost
|
||||
+ @echo 'systype="`cat systype`"' >> loadhost
|
||||
+ @echo 'cat warn-auto.sh' >> loadhost
|
||||
+ @echo 'main="$$1"; shift' >> loadhost
|
||||
+ @echo 'exec cc -o "$$main" "$$main".o $${1+"$$@"}' >> loadhost
|
||||
+ chmod 555 loadhost
|
||||
+
|
||||
lock_ex.o: compile hasflock.h lock.h lock_ex.c
|
||||
./compile lock_ex.c
|
||||
|
|
@ -0,0 +1,40 @@
|
|||
# Template file for 'ipsvd'
|
||||
pkgname=ipsvd
|
||||
version=1.0.0
|
||||
revision=1
|
||||
build_wrksrc="${pkgname}-${version}"
|
||||
short_desc="Set of internet protocol service daemons for Unix"
|
||||
maintainer="Krul Ceter <kruceter@proton.me>"
|
||||
license="BSD-3-Clause"
|
||||
homepage="http://smarden.org/ipsvd"
|
||||
distfiles="http://smarden.org/ipsvd/ipsvd-${version}.tar.gz"
|
||||
checksum=ef7a725bc85acb5d09ab57658385bb470b3e4da5a4ffc88b5da6c6bd37d01fad
|
||||
patch_args="-Np1 --directory=${build_wrksrc}"
|
||||
|
||||
do_configure() {
|
||||
echo "$CC $CFLAGS" > src/conf-cc
|
||||
echo "$CC $LDFLAGS -Wl,-z -Wl,noexecstack" > src/conf-ld
|
||||
}
|
||||
|
||||
do_build() {
|
||||
package/compile
|
||||
}
|
||||
|
||||
do_install() {
|
||||
# sslio and sslsvd are not compiled (matrixssl is required).
|
||||
rm -r man/{sslio,sslsvd}* doc/{sslio,sslsvd}*
|
||||
|
||||
for bin in command/*; do
|
||||
vbin "$bin";
|
||||
done
|
||||
|
||||
for man in man/*; do
|
||||
vman "$man";
|
||||
done
|
||||
|
||||
for doc in doc/*; do
|
||||
vdoc "$doc";
|
||||
done
|
||||
|
||||
vlicense package/COPYING
|
||||
}
|
Loading…
Reference in New Issue