Mk: add descriptions via pkg-descr and start with quagga

This commit is contained in:
Franco Fichtner
2017-03-15 01:56:44 +01:00
parent 98ae2e96ba
commit aa69b4fde7
4 changed files with 12 additions and 5 deletions
+8 -3
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2015-2016 Franco Fichtner <franco@opnsense.org>
# Copyright (c) 2015-2017 Franco Fichtner <franco@opnsense.org>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
@@ -28,7 +28,7 @@ all: check
LOCALBASE?= /usr/local
PKG!= which pkg || echo true
PLUGIN_DESC!= git rev-list HEAD --max-count=1 | cut -c1-9
PLUGIN_DESC= pkg-descr
PLUGIN_SCRIPTS= +PRE_INSTALL +POST_INSTALL \
+PRE_DEINSTALL +POST_DEINSTALL
@@ -72,7 +72,6 @@ manifest: check
@echo "version: \"${PLUGIN_PKGVERSION}\""
@echo "origin: opnsense/${PLUGIN_PKGNAME}"
@echo "comment: \"${PLUGIN_COMMENT}\""
@echo "desc: \"${PLUGIN_DESC}\""
@echo "maintainer: \"${PLUGIN_MAINTAINER}\""
@echo "categories: [ \"${.CURDIR:S/\// /g:[-2]}\" ]"
@echo "www: \"${PLUGIN_WWW}\""
@@ -165,10 +164,16 @@ plist: check
done
@echo "${LOCALBASE}/opnsense/version/${PLUGIN_NAME}"
description: check
@if [ -f ${.CURDIR}/${PLUGIN_DESC} ]; then \
cat ${.CURDIR}/${PLUGIN_DESC}; \
fi
metadata: check
@mkdir -p ${DESTDIR}
@${MAKE} DESTDIR=${DESTDIR} scripts
@${MAKE} DESTDIR=${DESTDIR} manifest > ${DESTDIR}/+MANIFEST
@${MAKE} DESTDIR=${DESTDIR} description > ${DESTDIR}/+DESC
@${MAKE} DESTDIR=${DESTDIR} plist > ${DESTDIR}/plist
collect: check
+1 -1
View File
@@ -36,7 +36,7 @@ net/igmp-proxy -- IGMP-Proxy Service
net/l2tp -- L2TP server based on MPD5
net/pppoe -- PPPoE server based on MPD5
net/pptp -- PPTP server based on MPD5
net/quagga -- Plugin to manage the quagga routing daemon software which offers routing protocols like RIP, IS-IS and OSPF to guide your packets through the sea
net/quagga -- Quagga Routing Suite
net/relayd -- Relayd Load Balancer
net/upnp -- Universal Plug and Play Service
net/wol -- Wake on LAN Service
+1 -1
View File
@@ -1,6 +1,6 @@
PLUGIN_NAME= quagga
PLUGIN_VERSION= 0.0.1
PLUGIN_COMMENT= Plugin to manage the quagga routing daemon software which offers routing protocols like RIP, IS-IS and OSPF to guide your packets through the sea
PLUGIN_COMMENT= Quagga Routing Suite
PLUGIN_MAINTAINER= franz.fabian.94@gmail.com
PLUGIN_DEVEL = yes
+2
View File
@@ -0,0 +1,2 @@
Manage the Quagga Routing Software Suite, which offers routing protocols
like RIP, IS-IS and OSPF to guide your packets through the sea.