refs #1613 build debian package
parent
995f0e8002
commit
524e5183d0
|
@ -1 +0,0 @@
|
|||
Directorio de caché para el cliente
|
|
@ -1 +0,0 @@
|
|||
Directorio de imágenes para el cliente
|
|
@ -1 +0,0 @@
|
|||
Directorio de logs para el cliente
|
|
@ -0,0 +1,6 @@
|
|||
ogclient (0.1.0-1) stable; urgency=medium
|
||||
|
||||
* First debian package for the client files
|
||||
|
||||
-- OpenGnsys developers <info@opengnsys.es> Thu, 26 Feb 2025 13:22:29 +0100
|
||||
|
|
@ -0,0 +1 @@
|
|||
10
|
|
@ -0,0 +1,16 @@
|
|||
Source: ogclient
|
||||
Section: admin
|
||||
Priority: optional
|
||||
Maintainer: OpenGnsys developers <info@opengnsys.es>
|
||||
Build-Depends: debhelper (>= 7), po-debconf
|
||||
Standards-Version: 3.9.2
|
||||
Homepage: https://opengnsys.es/
|
||||
|
||||
Package: ogclient
|
||||
Section: admin
|
||||
Priority: optional
|
||||
Architecture: all
|
||||
Depends:
|
||||
samba, python3 (>=3.4) | python (>= 3.4), ${misc:Depends}, ${shlibs:Depends}
|
||||
Description: OpenGnsys client files
|
||||
This package provides the basic filesystem for clients.
|
|
@ -0,0 +1,26 @@
|
|||
Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
|
||||
Name: ogclient
|
||||
Maintainer: OpenGnsys developers
|
||||
Source: https://opengnsys.es
|
||||
|
||||
Copyright: 2014 Virtual Cable S.L.U.
|
||||
License: BSD-3-clause
|
||||
|
||||
License: GPL-2+
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
.
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
.
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.
|
||||
On Debian systems, the full text of the GNU General Public
|
||||
License version 2 can be found in the file
|
||||
`/usr/share/common-licenses/GPL-2'.
|
|
@ -0,0 +1,48 @@
|
|||
#!/usr/bin/make -f
|
||||
# -*- makefile -*-
|
||||
configure: configure-stamp
|
||||
configure-stamp:
|
||||
dh_testdir
|
||||
touch configure-stamp
|
||||
build: build-arch build-indep
|
||||
build-arch: build-stamp
|
||||
build-indep: build-stamp
|
||||
build-stamp: configure-stamp
|
||||
dh_testdir
|
||||
touch $@
|
||||
clean:
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
rm -f build-stamp configure-stamp
|
||||
dh_clean
|
||||
install: build
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_prep
|
||||
dh_installdirs
|
||||
mkdir -p debian/ogclient/opt/opengnsys/ogclient_log debian/ogclient/etc/samba
|
||||
cp -a client debian/ogclient/opt/opengnsys/ogclient
|
||||
mkdir -p debian/ogclient/opt/opengnsys/ogclient/images debian/ogclient/opt/opengnsys/ogclient/cache debian/ogclient/opt/opengnsys/ogclient/log
|
||||
install --owner root --group root --mode 0644 etc/samba/smb-client.conf debian/ogclient/etc/samba/
|
||||
find debian/ogclient -name '*.swp' -exec rm -f '{}' ';'
|
||||
binary-arch: build install
|
||||
# emptyness
|
||||
binary-indep: build install
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_installchangelogs
|
||||
dh_installdocs
|
||||
dh_installdebconf
|
||||
dh_installinit --no-start
|
||||
dh_python3=python
|
||||
dh_compress
|
||||
dh_link
|
||||
dh_fixperms
|
||||
dh_installdeb
|
||||
## ignore Qt*.so.4 errors
|
||||
dh_shlibdeps --exclude debian/ogclient/opt/opengnsys/ogclient/bin/browser --exclude debian/ogclient/opt/opengnsys/ogclient/bin/grub-probe1.99_i686
|
||||
dh_gencontrol
|
||||
dh_md5sums
|
||||
dh_builddeb
|
||||
binary: binary-indep
|
||||
.PHONY: build clean binary-indep binary install configure
|
|
@ -0,0 +1 @@
|
|||
3.0 (native)
|
|
@ -0,0 +1,15 @@
|
|||
[ogclient]
|
||||
comment = OpenGnsys Client
|
||||
browseable = no
|
||||
writeable = no
|
||||
locking = no
|
||||
path = /opt/opengnsys/ogclient
|
||||
guest ok = no
|
||||
|
||||
[oglog]
|
||||
comment = OpenGnsys Log
|
||||
browseable = no
|
||||
writeable = yes
|
||||
locking = no
|
||||
path = /opt/opengnsys/ogclient_log
|
||||
guest ok = no
|
Loading…
Reference in New Issue